windows10、 Python3.8、运行step1报错   raise AttributeError(name) from None AttributeError: _2D

(videoing) E:\video-retalking-main>python inference.py  --face examples/face/1.mp4  --audio examples/audio/1.wav  --outfile results/1_3.mp4
D:\project\envs\videoing\lib\site-packages\torchvision\transforms\functional_tensor.py:5: UserWarning: The torchvision.transforms.functional_tensor module is deprecated in 0.15 and will be removed in 0.17. Please don't rely on it. You probably just need to use APIs in torchvision.transforms.functional or in torchvision.transforms.v2.functional.
warnings.warn(
[Info] Using cpu for inference.
[Step 0] Number of frames available for inference: 135
[Step 1] Landmarks Extraction in Video.
Traceback (most recent call last):
File "inference.py", line 345, in
main()
File "inference.py", line 81, in main
kp_extractor = KeypointExtractor()
File "E:\video-retalking-main\third_part\face3d\extract_kp_videos.py", line 16, in init
self.detector = face_alignment.FaceAlignment(face_alignment.LandmarksType._2D)
File "D:\project\envs\videoing\lib\enum.py", line 384, in getattr
raise AttributeError(name) from None
AttributeError: _2D

You can change the error location to TWO_D

我有相同的报错信息，请问解决了吗


Optional class features showing up at lower levels

One of my players has a Ranger with some of the optional class features from Tasha's enabled. One of those is the 10th-level ability Nature's Veil that replaces Hide in Plain Sight. The character is only 3rd level but the feature is showing up on the imported version of the character even though they're not high-enough level to have it.
It doesn't show up on the D&D Beyond version of the character sheet in the Features & Traits section. I don't know how generic this is, whether it happens for other optional class features gained at higher levels. I just checked another character, a Druid, who has Cantrip Versatility. That doesn't kick in until 4th level but they're only 3rd and it's already on their character sheet.

Will be fixed v0.6.16


Fix @import in rule-sheet

This is just like 8e9a2ce but for @import, otherwise @import appears in another rule.

Thanks, published 0.0.6 with this patch.


The pageInfo pageCount now returns 1 if no results were found.

Previously it tried to compute the size by dividing by the number of results, which threw an error since you can't divide by 0.

Looks good to me!


Circuit solve vectorized doesn't work for all topologies

It's fine for square configurations where each busbar node is connected to one battery only but for jellyroll packs where current collectors are double sided it fails. Non-vectorized version works fine but is a bit slower.

Fixed by PR #124


Overly complicated example

Thanks for the feedback. I will update the example to be more concise and simple


[WIP] Transformer interface overhaul

Fixes #134.
Things left to do:

Determine if it is okay to assume that data streams with no iteration scheme will produce examples.
At the moment, transformers don't work on batches if they produce examples, and vice versa. We might want to bake in some default behaviour.
Test coverage.

@rizar @dwf I'd like to conclude this saga before Friday, July 17, as this is the last day I'll be available to work on that until the summer school and I'll be presenting Fuel at the summer school.
Do you think it would be possible for you to review this by then?

Once the checks pass I can review it pretty much immediately.

Okay, tests pass, but coverage has dropped noticeably, and there are a few Scrutinizer errors. I guess I'll start reviewing.

@dwf thank you for your time, I did not expect you to review this so quickly!
I'll look into bringing the coverage back up tomorrow.

Not quite done with the review but figured I'd give you what feedback I
could asap. I'll try and finish tonight.

I think I've more or less now read the entire PR. Sorry it took me so long, it's a big one.

@dwf I think I addressed all your comments.
You and I have a different definition of "a long time", because I'm pretty satisfied with the review time.

@dwf I went ahead and implemented the logic for default axis labels everywhere I could (which covers all classes you pointed out). Since at the moment there isn't anything enforced with axis labels and they're mostly there as documentation tools, I think we can let users override these default values without too much risk.

Tests are failing in Blocks because DataStream doesn't really allow passing no iteration scheme while produces_examples isn't set. It usually happens with IndexableDataset instances, and the workaround is to call dataset.get_example_stream() instead. I'll make a PR on the Blocks side of things to change that.

What if we defaulted DataStream (but not AbstractDataStream) to be an
example stream, like I proposed? I don't know if you replied to that.
On Fri, Jul 10, 2015 at 4:09 PM, vdumoulin<EMAIL_ADDRESS>wrote:

Tests are failing in Blocks because DataStream doesn't really allow
passing no iteration scheme while produces_examples isn't set. It usually
happens with IndexableDataset instances, and the workaround is to call
dataset.get_example_stream() instead. I'll make a PR on the Blocks side
of things to change that.
—
Reply to this email directly or view it on GitHub
https://github.com/mila-udem/fuel/pull/188#issuecomment-120528922.

Right, I completely forgot about that. It must have gotten buried somewhere in the comments on outdated commits.
I think it's a good idea.

@dwf The tests pass, woohoo!

Thanks for the hard work @vdumoulin. I think this is a big improvement.

+1, this PR is amazing!

Thank you for your feedback!


You Blocked This User / Error

Hello, i get this error. Idk how to fix it. Can you help me please? Thanks!

Start hamster bot

Start hamster bot

thanks!

@Poryaei sorry if i bored you. Now i get access token error

https://github.com/Poryaei/All-In-One/blob/main/app.py
Update pls

https://github.com/Poryaei/All-In-One/blob/main/app.py
Update pls

thank you so much, it works


feat: blobstore

An initial implementation of a BlobStore, fixes #52

Rebased on main

Read through this again today and did some cleanup and additional tests. Before merging I want to:
Additional tests

[ ] Cancel download at different stages
[ ] get() when data has not synced
[ ] createReadStream() when data has not sync

Ok for after merge

[ ] #81
[ ] #80

downloading multiple types and sizes
The behavior of download is somewhat confusing when someone tries to call it with these types and sizes:
blobstore.download({
  types: ['photo', 'audio']
  sizes: ['original', 'preview']
})

Silently ignore /audio/preview? Throw error? I'd lean toward throwing an error because this is a programmer mistake and we need to know /audio/preview doesn't exist.
It seems like there's not a clean solution to downloading multiple types with multiple sizes aside from doing something like:
{
  photo: ['original', 'preview'],
  audio: ['original']
}

Or maybe an array of objects with type and sizes properties.
The type checking could also know which sizes are appropriate for each blob type.
variant instead of size
Using variant instead of size might be useful for storing different representations of a blob.
Example: If we wanted to store a frame of a video to create a thumbnail we could have a thumbnail variant for videos and the variant term is more appropriate.
side note: template literal types
As an aside we could use template literal types for filepaths if that ever seems needed. Probably not but it's a fun types rabbit hole.

Thanks @sethvincent, this is helpful feedback. I made the suggested changes. Regarding template literals, yeah, definitely possible, although I think keeping the concept of "paths" as an implementation detail is helpful - it keeps the module focussed on what is needed for the Mapeo API.

Ok tests are added, this is good to merge from my perspective. @sethvincent go ahead and merge if you approve of the changes.

:tada:


Public facing API with tafseer

Assalamualaikum,
First let me start by asking Allah swt to grant you Jannatul Ferdous for your work.
Secondly, may I ask your API to be publicly available for developers. You have the API and you made great use of it. But you can multiply your rewards to infinity when you will allow others to use it and make use of it as well.
Thirdly, can you add the tafseer option as well just as the quran please.

Salam!
Thanks for reaching out! We do have an API and it's pretty much public, since we don't limit or have API keys, for now at least. You can find the repo here: https://github.com/quran/quran.com-api
We do need to add tafseer. We held off until we can provide English too

Jazakallah for your time for replying the query.
I have seen the API, but I was looking for something hosted so I can use my poor PHP knowledge to integrate with my wordpress plugin.
Unfortunately I don't know RUBY, I wish I knew so I could be a part of the project as well.
Is there any chance you can host the API somewhere?
Regards,
Mustafiz.

@mmrs151 never too late to try to learn! I learnt many things while doing the quran.com project and we highly encourage it! I'd be happy to guide you if you wish to learn it seriously.
It is hosted on api.qruan.com


chore(main): release maake-oob 0.1.3

:robot: I have created a release beep boop
0.1.3 (2024-03-05)
Bug Fixes

Reduce dependencies (e2307e1)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/icidasset/radical-edward/releases/tag/maake-oob-v0.1.3 :sunflower:


Integrate sigstore/sigstore-maven-plugin into repo

Move sigstore-maven-plugin in sigstore/sigstore-java
Make it a gradle module (and build with gradle :o! sorry)

TODO:

Integrate publishing
Update READMEs
Deprecate all old maven sigstore plugin repos

@vlsi there are some things with the gradle build logic I may not be completely following -- hoping you might have an idea if it looks okay.

@vlsi I'm going to get this moving along, feel free to keep commenting if you see anything. I'll make changes post-merge.


Create ebs.txt

I don't know what to write here. If anything is missing, please write here so I can read it and add it

@thegame4craft First stage of verification passed, official domain is eugen-bachmann-schule.de as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision. Proof of domain ownership: https://www.eugen-bachmann-schule.de/digitales-lernen


SQL Server supports user provided certs.

SQL Server can be configured to use a user provided certificate for TLS. Making change to reflect this in our docs

@vin-yu : Thanks for your contribution to the SQL documentation! The author, @BYHAM, has been notified to review your proposed change.

thank you @vin-yu  and @MitchellSternke


Tasks not found when app is configured using confg class

When setting up your app as per the getting started guide, and using a config class in INSTALLED_APPS, process_tasks does not find the tasks.
INSTALLED_APPS = [
    'polls.apps.PollsConfig',
    'django.contrib.admin',
    'django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.sessions',
    'django.contrib.messages',
    'django.contrib.staticfiles',
]

A tasks.py in polls won't be found as the autodiscover method in bacgground_tasks\tasks.py is iterating the apps and looking for modules, not classes. See first line in first try below.
def autodiscover():
    """
    Autodiscover tasks.py files in much the same way as admin app
    """
    import imp
    from django.conf import settings

    for app in settings.INSTALLED_APPS:
        try:
            app_path = import_module(app).__path__
        except (AttributeError, ImportError):
            continue
        try:
            imp.find_module('tasks', app_path)
        except ImportError:
            continue

        import_module("%s.tasks" % app)

Adding the following line as the first line inside the for loop will fix this issue:
app = app.split('.')[0]

Looks like this is a duplicate of #130


RequiredIf error message support with shared localizer(for multi-language) in MVC project

Hi,
I added ExpressiveAnnotations to my MVC project. That works fine but I have a problem with different languages for the error message.  If I use below notation in view model class for one attribute, the error message is shown different language. "RequiredAttribute_ValidationError" is exist shared localized file.
[Required(ErrorMessage = "RequiredAttribute_ValidationError")]
I use "[RequiredIf("name != null", ErrorMessage = "RequiredAttribute_ValidationError")]" notation in view model class, error message is shown as string "RequiredAttribute_ValidationError" in related field in Html page.
How to use "ExpressiveAnnotations" with multi-languages?

Hi oznurco,
You have to use ErrorMessageResourceType and ErrorMessageResourceName parameters to localize your error message.
[RequiredIf("name != null", ErrorMessageResourceType = typeof(Resources), ErrorMessageResourceName = "RequiredAttribute_ValidationError")]


Error 404 for non-existent gravatar

Issue Summary
On "Create your account" page when you enter email address that does not correspond to any gravatar you will ger error 404. You can label it "later".
Steps to Reproduce

Invite user whose email address is not in gravatar database
Invited user needs to click activation link from email to open "Create your account" page
Check the error in developer tools

Will probably produce the same error if you crate new blog and make first login to admin panel.
Technical details:

Ghost Version: beta2
Node Version: 6
Browser/OS: chrome
Database: mariadb
password authentication

Screenshot

https://www.gravatar.com/avatar/0a1e5b26fb907cf79382414dbf82e187?s=180&d=404

This isn't a bug but standard gravatar behaviour.


Make list of metrics/souces more prominent in the Readme

Echoing #5, this PR makes the list of sources more explicit and improves the formatting so that it is more obvious which metrics are supported by this repository.
The PR also makes the acknowledgment of the work in open-scm more prominent.

Thanks!
I've cherry-picked the Readme improvement https://github.com/openclimatedata/globalwarmingpotentials/pull/6/commits/e2d4998c7550621f0127d01e1d72f840e6eb8e9b
I don't think specific editor settings belong into project repos, they could go into your global .gitignore.
As for contributor acknowledgement i've tried to keep all history of the metric_conversions.csv file in this repo.
https://github.com/openclimatedata/globalwarmingpotentials/commits/main?after=4441f367e875dc285cee53a71e44190c29a54e39+69&branch=main
https://github.com/openclimatedata/globalwarmingpotentials/graphs/contributors


Fix multimovies

Source name
Multimovies
Source language
English ,Hindi
Source link
https://multimovies.xyz/
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a title with source name.
[X] I have updated all installed extensions.
[X] I have opened WebView and checked that the source website is down.
[X] I will fill out all of the requested information in this form.

Change the URL in extension settings, access it in Browse -> Anime Extensions -> scroll to multimovies and click settings, then click the gear.


Do not crash JobUpdater in case of couch issues

Created a new CouchConflictError exception. If that happens to JobUpdater, just skip these updates to the next cycle. I'll try to run basic tests, but I cannot simulate the exception since we have a single agent in the same team in testbed.
@ticoann , please review.

Thanks Alan, Actually, I think you need to import
https://github.com/dmwm/WMCore/blob/master/src/python/WMCore/Database/CMSCouch.py#L1004
instead of creating new Exception class. Isn't that the one is actually raised? Otherwise, patch looks good.

Oups, I didn't see that exception, sorry. Ok, just updated the patch. Please take one more look at it :-)
If everything is ok, then I'll create it to the master branch as well.

Everything looks fine to me. Thanks,

Ok, production agents have this patch in now. Thanks

Fixes #5817 , feel free to merge it


Gridmap warning

Godot version:
3.1 Stable
OS/device including version:
Ubuntu Linux. XFce
Issue description:
Warning  GridMap.theme/get_theme() is deprecated and will be removed in a future version. Use GridMap.mesh_library/get_mesh_library() instead shows up in Output tab. I'm not using it anywhere, must be inside engine. It actually does not have visible effect on game. It is rather case of annoying thing.
Steps to reproduce:
I have no idea. It sometimes shows, sometimes not. Seems random to me but I'm indeet using grid map to build level. There seems to be no other requestment to trigger warning than having active grid map.

Probably some of the levels you have are still using the old GridMap.theme inside the scene file, instead of the newer GridMap.mesh_library. Just resave those levels or replace the property name manually.
Something like s/theme =/mesh_library =/ should work.

Probably some of the levels you have are still using the old GridMap.theme inside the scene file, instead of the newer GridMap.mesh_library. Just resave those levels or replace the property name manually.
Something like s/theme =/mesh_library =/ should work.

Nope, I started developing in 3.1 Stable. Plus, it pops up sometimes which means it pops only when it is called.As I mentioned, I'm not using it anywhere, it must be inside engine. Everything was made in 3.1 stable. I suspect it is leftover from older versions of editor.

To show this warning only need to create and save empty gridmap

The problem is caused when the node saving code actually iterates over every property in the GridMap class to get values.
Since theme is still a part of the properties (although deprecated) the get_theme() method is called.
Solutions I can think of:

ignore the warning
Remove the theme from the properties - which kinda breaks compatibility (unsure)
Workaround to skip deprecated attributes from being called. (A lot of extra effort and modifications that don't feel worth it)


Repeated status line message

I'm getting the following message when using status_progress in Lualine:

The status line message appears to be displayed twice. This only happens for Lua, and not for Rust, Python etc.
I have just one language server configured though:
Language client log: ~/.cache/nvim/lsp.log
 Detected filetype:   lua

 1 client(s) attached to this buffer:

 Client: sumneko_lua (id: 1, pid: 86322, bufnr: [1])
 	filetypes:       lua
 	autostart:       true
 	root directory:  ~/gitrepos/dotfiles
 	cmd:             lua-language-server

 Configured servers list: ccls, svelte, tsserver, rust_analyzer, vimls, cssls, html, pyright, sumneko_lua, tailwindcss, dockerls

Any idea what might be going on here?

I think this has to do with my configuration (although I don't understand what exactly quite yet).

Hello! I encountered the exact same problem, could you give me any hint? @kdheepak

i meet the same, and i try to delete the workspace property. then it becomes correct. @lee-shun
here is my setting for sumneko_lua, Forgive me for being a rookie, i dont know the reason
require 'lspconfig'.sumneko_lua.setup {
    capabilities = capabilities,
    on_attach = on_attach,
    cmd = { "lua-language-server" },
    filetypes = { "lua" },
    log_level = 2,
    root_dir = function()
        return vim.fn.getcwd()
    end,
    settings = {
        Lua = {
            runtime = {
                version = "LuaJIT",
                -- path = runtime_path
            },
            diagnostics = {
                globals = { "vim" }
            },
            -- workspace = {
            --     library = vim.api.nvim_get_runtime_file("", true)
            -- },
            telemetry = {
                enable = false
            }
        }
    }
}


Fix arkapravoroy.css

Describe the bug
My works section is not properly aligned.
To Reproduce
Steps to reproduce the behavior:

Go to repo
Click on fork
Create new fork
Run arkapravo.html
Scroll down to My Works section

Expected behavior
Proper alignment for different screen sizes.
Screenshots

fixed


Is it possible to config Csharpier globally?

Is it possible to have one config file for every possible c# solution I'm working on? How to do that?

That isn't something officially supported but csharpier looks in parent directories for a configuration file. So if you were to place a .csharpierrc at c:/projects (assuming all your code is in subdirectories there) then that would accomplish what you want.


Create WorkExperienceCard UI Component

Release Type: UI Improvement

Fixes https://x-team-internal.atlassian.net/browse/XP-3732
Description
Card component used as work experience's summary
Checklist
Before submitting a Pull Request, please make sure the following is done:

[x] set yourself as an assignee
[x] set appropriate labels for a PR (In Review or In Progress depending on its status)
[ ] move respective JIRA issue to the PEER REVIEW column
[x] Flow typechecks passed (npm run flow)
[x] Snapshots tests passed (npm run jest) (NOTE: This is temporarily disabled. Skip it.)
[x] check cleanup tasks (https://github.com/x-team/xp/labels/cleanup) and take a suitable small one (if exists) in a related area of the current changes
[x] if added a new UI component that is meant to be used directly by other apps, remember to export that from the appropriate bundle file: src/index.js and/or src/registration.js
[x] component's documentation (.stories.js file) is changed or added accordingly to reflect any new or updated use cases and/or debug cases
[ ] if you've fixed a bug, make sure to also include a new story that will expose declarations with problematic data that caused the bug in the first place, so that we can assure that no regressions will pop up on future interactions
[x] if any snapshots have been changed, verify that component still works and looks as expected and update the changed snapshot (NOTE: This is temporarily disabled. Skip it.)
[x] manually tested the app by running it in several different browsers (Firefox, Chrome, Opera, Safari, MS IE/Edge, etc.) and checked nothing is broken and operates as expected!

Steps to Test or Reproduce
http://localhost:9001/?path=/story/core-components-workexperiencecard-component-debug--with-enddate
Impacted Areas in Application

xp-ui/src/components/ui/WorkExperienceCard.js
xp-ui/src/components/ui/WorkExperienceCard.stories.js
xp-ui/src/registration.js
xp-ui/src/index.js

Screenshots

not needed as we are going to focus both components here https://github.com/x-team/xp-ui/pull/530


Signalr Core Blazor Client

Before you open an issue
If the issue is with an ASP.NET Core document:

Do not open a new issue using this form.
Open the issue using the Open a documentation issue link and feedback form at the bottom of the article.

Using the Open a documentation issue link and form to open an issue adds article metadata for tracking, which indicates the article that you're commenting on.
If the issue is:

A simple typo or similar correction, you can submit a PR. See the contributor guide for instructions.
A general support question, consider asking on a support forum site.
A site design concern, create an issue at MicrosoftDocs/Feedback.
A problem completing a tutorial, compare your code with the completed sample.
A duplicate of an open or closed issue, leave a comment on that issue.

Issue description
Blazor Web App SignalR Client requires an access token yet I cannot obtain it inside a Blazor razor component
Software versions
Check the .NET target framework(s) being used, and include the version number(s).

[x ] .NET Core
[ ] .NET 5.0 or later
[ ] .NET Framework
[ ] .NET Standard

If using the .NET Core SDK, include dotnet --info output. If using .NET Framework without the .NET Core SDK, include info from Visual Studio's Help > About Microsoft Visual Studio dialog.

dotnet --info output or About VS info
I need to pass in my access token via the AccessTokenProvider when building my hub connection builder:
hubConnection = new HubConnectionBuilder()
.WithUrl(Navigation.ToAbsoluteUri("https://localhost:7288/chathub"), options =>
{
options.AccessTokenProvider = () => Task.FromResult(signalRToken); <= here
options.Headers.Add("BusinessId", MapInitialization!.BusinessId!.Value!.ToString());
options.Headers.Add("BusinessRole", MapInitialization?.SignalRRole!);
options.Headers.Add("DisplayName", MapInitialization?.SignalRDisplayName!);
options.Headers.Add("UserName", MapInitialization?.SignalRUserName!);
}).Build();
I can't find a way to obtain my access token in my cookie. I tried injecting the AuthenticationStateProvider, cascading an AuthenticationState parameter, cascading a HttpContext parameter, and cascading a HttpContextAccessor property but neither contains my cookie information.
<replace>

Hello @B-Richie ... It would be best to have opened this from the bottom of the Fundamentals > SignalR article or the Server > Additional Scenarios article in the Security node. It adds metadata to the issue and pings me.
No worries tho on metadata, etc. This issue is a duplicate of https://github.com/dotnet/AspNetCore.Docs/issues/31691.


[Feature request] Ability to add attachment at test-suite level

Hi Guys, I'd love to have a way to do this; is there any plans to support it in the future?
The rationale for the question is that we can attach documents (HTML) at the suite level that convey information about the entire test suite, this way the information appears only once. At the moment we are having to attach documents at the test-case level meaning we are replicating the same information.
Many thanks, Andy.

Allure 2 supports test fixtures, you will be able to make an attachment during set-up. In that case such attachment gonna be attached for all the test cases in the group. Unfortunately there is no way to support this in Allure 1.4.*
Allure 2 is pretty much ready for the release, now we working on updating integrations to support all the new features (the first adapters we gonna update is TestNG, JUnit and PyTest)

Thanks @baev! I'll keep my eye open for Allure 2.

@andye2004 what is your adapter btw?

@baev, can you please provide some ETA of Allure 2? We're planning to start using Allure in our projects. However, Roadmap seems to be a bit outdated and I'm not sure whether to wait for a new version or to start now.
(Btw, our adapter is TestNG and it's needed to integrate with TeamCity (possibly Jenkins, that's an open question).)

@baev We're using JUnit with the Allure JUnit adapter and a modified version of the Kirlionik cucumber adapter. Once the code for Allure 2 is available I can update our modified version of Kirlionik's adapter.

@baev
Our team is using RSpec Framework, what's the date for supporting RSpec?
Looking forward very much!

@wuhuizuo probably I'm not correctly undestanding your question but general Rspec support is here: https://github.com/allure-framework/allure-rspec

@vania-pooh
I mean:suite attachments supportting in RSpec.

Closing the issue as resolved. Related issues for adaptors:
RSpec https://github.com/allure-framework/allure-rspec/issues/76
JUnit https://github.com/allure-framework/allure-java/issues/12


Buildless-serverless refactor

Description
Changes proposed in this pull request:

Buildless-serverless refactor

Related issue(s)
Se also:

#1211

moved to https://github.com/kyma-project/serverless/pull/1343


编译BE节点出现如下报错，麻烦哪位大佬回答一下，谢谢

The boost library is missed. You can use the docker to compile the StarRocks.
https://github.com/StarRocks/docs/blob/main/development/Build_in_docker.md


Make upload template link more visible

As an authenticated user, I want to be able to easily understand how to download the template .csv file for uploading data to the cooperative.
Currently, the CSS doesn't make it very clear that the word "here" is a hypertext link that leads to the acartia-import-template.csv file. See this 10/31/2022 screenshot (in OSX/Chrome when authenticated as me):

I can help with that assign me please

Hi @SO-HYBE , thanks for offering to help!
Please fork and submit a pull request if you have some success. You are also welcome to propose a solution here and we can discuss. And/or let us know here if you have any questions.

@SO-HYBE we are moving to a fork of this repo. Come join us! Here is a link to the new version of this issue, which I'll now close...
https://github.com/salish-sea/acartia/issues/7


No header configuration variable in a Notification Rest

Home Assistant release with the issue:

0.65.6
Last working Home Assistant release (if known):
Operating environment (Hass.io/Docker/Windows/etc.):

Component/platform:

https://www.home-assistant.io/components/notify.rest/
Description of problem:
I can't use rest notification with headers, in the docs i don't found any configuration variable to describe header for my  http request.
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

Traceback (if applicable):

Additional information:

Not implemented for the rest notification platform.
Please use the forum for feature requests. Thanks


not enough points to transform

Hello !
Is there any set of parameters that it is possible to tweak when not enough matches are found to perform rigid/non-rigid transformations?
Does lowering the resolution even more can work ?
Thank you,
Best regards

Hi @NicolasNerr,
Glad to see you were able to resolve the installation issues. On this issue, there are a few things you could try. Lowering or even increasing the resolutions is a good place to start. Maybe try setting max_processed_image_dim_px to values between 500 and 2000 when creating the Valis object. Another easy thing to try would be to set create_masks=False when initializing the Valis object, since it could be that the masks valis creates are removing too much of the image, and potential matches are lost. This can be checked in the "masks" folder, where the region where the features are being detected will be outlined in green. If neither of those work, you could also try some different preprocessing methods.
Best,
Chandler


Module init fails at wrong key type

Hi, thanks for the great work!
I am trying to learn how to use JAX and treex, so I followed the tutorial.
class Linear(tx.Module):
    w: tx.Parameter[tx.Initializer, jnp.ndarray]
    b: tx.Parameter[jnp.ndarray]

    def __init__(self, din, dout):
        super().__init__()
        self.w = tx.Initializer(
            lambda key: jax.random.uniform(key, shape=(din, dout)))
        self.b = jnp.zeros(shape=(dout,))

    def __call__(self, x):
        return jnp.dot(x, self.w) + self.b

linear = Linear(3, 5).init(42)

However, I always get this assertion error.
---------------------------------------------------------------------------

AssertionError                            Traceback (most recent call last)

<ipython-input-7-4b5c9a5c519d> in <module>()
     12         return jnp.dot(x, self.w) + self.b
     13
---> 14 linear = Linear(3, 5).init(42)

3 frames

/usr/local/lib/python3.7/dist-packages/treex/module.py in next_key()
     57         def next_key() -> jnp.ndarray:
     58             nonlocal key
---> 59             assert isinstance(key, jnp.ndarray)
     60             next_key, key = jax.random.split(key)
     61             return next_key

AssertionError:

After digging into the code, I found out that jax.random.split(key) seems to return keys of type numpy.ndarray.
Replacing jnp.ndarray with np.ndarray still creates problems: key is originally of type jaxlib.xla_extension.DeviceArray.
I would love to make a PR, but I am not sure how to fix this.
Here's a Colab notebook that replicates the issue.

@lkhphuc I believe this should be fixed in treex==0.5.0


Refreshed access token experied

Always getting the error message 'Refreshed access token because it has expired.' after 1 second.

Was a problem with Spotify and not voice


The schedule of release

Any schedule to realise the code? Can't wait to use it.

Sorry for the delay! We've been so busy with many other things. March is the month. We'll keep you posted.
thanks for your patience!

THANKS A LOT Sincerely, Hangting Chen On 02/20/2021 20:12, Eduardo Fonseca wrote: Sorry for the delay! We've been so busy with many other things. March is the month. We'll keep you posted. thanks for your patience! — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

We just released the code, as well as slides and poster (for ICASSP) and a blog post.  We'll announce it on Monday.
Hope it's useful for your research!
Please let me know if you can run it smoothly. Thanks

Thanks for your reminder. We will test it and give the feedback. Sincerely, Hangting Chen On 05/02/2021 00:31, Eduardo Fonseca wrote: We just released the code, as well as slides and poster (for ICASSP) and a blog post. We'll announce it on Monday. Hope it's useful for your research! Please let me know if you can run it smoothly. Thanks — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.


Repeating texture/image

Is it possible to add a filter that triggers something like GL_REPEAT in the shader? Specifically I'd like to create some custom sprite shapes with DrawTriangles and texture them with a repeating texture.

Hi, thank you for asking!
Now Ebiten doesn't have this feature, so let me think to implement this.
As Ebiten creates automatic texture atlas, I cannot use GL_REPEAT directly. Probably I'd need to write a shader program to emulate this.

https://gaurav-dixitv.github.io/phaser/2017/07/27/texture-repeat.html has a good example. I think you're right that you'd need to modify the shader, I looked at it but it was a bit out of my depth. I think something like sampling the texture pixels modulo image width/height might work, not sure how hard that would be though.

I'm convinced that the tiling rendering would be useful. I'll embed the image rectangle info into vertices and, yes, emulate repeating texels by modulo calculation. I'd need to measure performance change (regression, maybe?) caused by adding extra data to vertices. I hope this change would not affect the performance very much.

Implemented. Note that I might rename the type Address later.


fix units

What does this PR do?
The metric unit for these are not requests. What these are suppose to be are dependent on the resource requested. Example being 1Mb requested or 1 core request if the request is for memory and cpu respectively.

Merging as Steven is OOO


Input field not updated on first click

Describe the bug
Testing this component out.
When entering text into the input field, a list of results are generated and displayed correctly.
If I click an item from the results, the input field isn't populated. However the second time I click the item, or any item of that particular result, the input field is being updated correctly.
I have only tested this on iOS
Reproduction - (required - issue will be closed without this)

click in input field
add text
click on one of the suggestions
see the input field didn't update
open up suggestion list again
click on the same or any other suggestions
see the input field update correctly

https://user-images.githubusercontent.com/83061036/236853671-f2c9255e-a0a9-4b8a-b6c6-512d6f9588bb.mov

Click to expand!
<GooglePlacesAutocomplete
  placeholder='Search'
  onPress={(data, details = null) => {
      console.log(data, details)
  }}
  query={{
       key: GOOGLE_PLACES_API_KEY,
       language: 'en',
  }}
/>

Additional context

Library Version: 2.5.1

React Native Version: 0.70.8

[ X] iOS

[ ] Android

[ ] Web

If you are using expo please indicate here:

[ X] I am using expo

Add any other context about the problem here, screenshots etc

I'm having the same issue and it only popped up recently

Any Solution?

I'm having the same issue.
I strongly hate this workaround, but this is the only way I found to fix it for now. I hope it gets fixed soon.
...
// Create a state to store the text
const [place, setPlace] = useState('');
...
return (
...
        <GooglePlacesAutocomplete
          placeholder="Search a place"
          onPress={(data) => {
            // without the setTimeout, it just doesn't update the component
            setTimeout(() => setPlace(data.description), 50);
          }}
          query={...}
          textInputProps={{
            value: place,
            onChangeText: setPlace,
          }}
        />
...
);

Does this help with your issue?  https://github.com/FaridSafi/react-native-google-places-autocomplete/issues/872#issuecomment-1479706211

Does this help with your issue? #872 (comment)

Doesn't work for me neither 😢

@FaridSafi @bell-steven

I made a workaround with updated input ref in useEffect. Hope I have helped you.
My component looks like this now:
const GooglePlacesInput: FC<Props> = () => {
  const ref = useRef<GooglePlacesAutocompleteRef | null>(null);
  const [selectedPlaceDescription, setSelectedPlaceDescription] = useState('');

  const handleChange = useCallback((data: GooglePlaceData) => {
    const { description } = data;

    setSelectedPlaceDescription(description);
  }, []);

  const onPress = useCallback((data: GooglePlaceData) => {
    setTimeout(() => {
      handleChange(data);
    }, 100);
  }, []);

  useEffect(() => {
    if (selectedPlaceDescription) {
      ref.current?.setAddressText(selectedPlaceDescription);
    }
  }, [selectedPlaceDescription]);

  return (
    <GooglePlacesAutocomplete
      ref={ref}
      debounce={200}
      enablePoweredByContainer={false}
      fetchDetails={false}
      listLoaderComponent={<ActivityIndicator />}
      minLength={2}
      onPress={onPress}
      placeholder='Search...'
      query={{
        key: 'XXXX,
        language: 'en',
      }}
    />
  );
};

@denysoleksiienko This is great! Thank you!


proposal: groupBy

Should it work with reduce?
[
  { foo: 'bar', bar: 'yo' },
  { foo: 'bar' },
  { foo: 'flux' },
  { foo: 'flux', qux: 100 }
].reduce(groupBy('foo'), {});
/* returns
{
  'bar': [
    { foo: 'bar', bar: 'yo' },
    { foo: 'bar' }
  ],
  'flux': [
    { foo: 'flux' },
    { foo: 'flux', qux: 100 }
  ]
}
*/

Note: It requires an initial value which makes it a less "plug and play".
Or just
groupBy(arr, 'foo')

@stoeffel @tomekwi @bkendall @podviaznikov thoughts?

I like groupBy(arr, 'foo'). It just shorter (minus .reduce and {}).
Akso I personally like functions that accept everything they need as parameters.

ooh maybe it should take a function:
reduce(groupBy(pluck('foo')), {})
// or
groupBy(arr, pluck('foo'))

+1 for taking a function.

do these helpers belong in 101?

@podviaznikov I like the reduce variant, because it's easier to understand.
groupBy and indexBy are quite high-level functions anyway. But I guess these are things we often need, and end up writing over and over again. So good fit for a swiss army knife such as 101.

The initial value can be avoided it we accept that [ ].reduce(groupBy('foo')); will throw an error.

No initial value generally behaves in a cunning unexpected way:
[
  { foo: 'bar', bar: 'yo' },
].reduce(groupBy('foo'));
/* returns
{ foo: 'bar', bar: 'yo' }
*/

[
  { foo: 'bar', bar: 'yo' },
  { foo: 'bar' }
].reduce(groupBy('foo'));
/* returns
{
  foo: 'bar',
  bar: [
    { foo: 'bar' }
  ]
}
*/

@tomekwi you can have a special case for index 0
[].reduce(function (a, b, index, arr) {});

Yeah, good idea. But I wonder what developers would expect of [{}, {a: 1}, {a: 2}].reduce(groupBy('a')) though – knowing how reduce works. Myself, I guess I'd pass the second argument to make it explicit anyway.
And you can't override this – can you:
[
  { foo: 'bar', bar: 'yo' },
].reduce(groupBy('foo'));
/* returns
{ foo: 'bar', bar: 'yo' }
*/

added a while ago..
<EMAIL_ADDRESS>


Delete unsupported samples

cc @anthonychu @fabiocav

@craigshoemaker  - please merge this in when you get a chance. Thanks!

@pragnagopa - done


Game broken

When attempting to access this at https://githubschool.github.io/github-games-slattman92/, I am getting a 404. This could be caused by a couple things:

GitHub pages needs to be enabled on master. You can fix this in the repository settings.
the index.html file is incorrectly named inde.html. We will fix this together in class.

Can you please fix the first bullet @slattman92?

Fixed bulled point 1 and bullet point 2


Category IOU - Two categories are highlighted in the search result when only one is selected

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Issue found when executing PR https://github.com/Expensify/App/pull/26501
Action Performed:

Go to staging.new.expensify.com
Go to the workspace chat as the invited member
Go to + > Request money
Enter an amount > Next
Select Insurance
Click on the Category
On the search field, type C

Expected Result:
Only the selected category, which is Insurance, is highlighted
Actual Result:
Both Home office and Insurance are highlighted
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android / native
[x] Android / Chrome
[x] iOS / native
[x] iOS / Safari
[x] MacOS / Chrome / Safari
[x] MacOS / Desktop

Version Number: 1.3.69-0
Reproducible in staging?: Yes
Reproducible in production?: No
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/78819774/badbec38-31fc-4dbb-b475-798050624f24
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub

:wave: Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open StagingDeployCash deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

Identify the pull request that introduced this issue and revert it.
Find someone who can quickly fix the issue.
Fix the issue yourself.

whoops sorry for the noise adele, i added a bunch of labels at once and think i hit a race condition.

how can I reproduce this on dev? I have tried to change Permission file but it's not working.

Category is a beta feature @bondydaa, can you add my email to beta list, so I can investigate further?

email-<EMAIL_ADDRESS>

I think related to this PR

going to remove help wanted for now until we are clear if that PR will fix or not, maybe we include a fix there or decide to fix in a new one.

okay looks like b/c this is behind a beta we'll have @rezkiy37 handle these then https://expensify.slack.com/archives/C01GTK53T8Q/p1694623628867629?thread_ts=1694621414.765469&cid=C01GTK53T8Q

Hi, I’m Michael (Mykhailo) from Callstack and I would like to work in this issue, because I am the author of the broken PR.

Working on the issue. Trying to have a proper initial focus index for all scenarios for the categories list.

Are we going to close this issue?

it should close once the PR is fully deployed to prod, looks like it's only on staging right now?

it should close once the PR is fully deployed to prod, looks like it's only on staging right now?

Got it. Yep, looks like it is only on staging now.

No one needs to be paid here. @burczu can you please add a regression test plan?

BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

[x]  [@burczu] The PR that introduced the bug has been identified. Link to the PR: https://github.com/Expensify/App/pull/26501
[x]  [@burczu] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment: Not necessary, it was fixed by the author of the original PR itself.
[x]  [@burczu] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion: n/a
[x]  [@burczu] Determine if we should create a regression test for this bug.
[x]  [@burczu] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
[ ]  [@anmurali] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:


Adding better error messages for materialized views

This commit adds more descriptive error messages for users when they try and use materialized views or refresh materialized views concurrently without a version of PostgreSQL that supports those operations (as mentioned in #110).
I thought about excluding checking for the possibility of an error in drop_materalized_view and refresh_materalized_view when concurrently is false, but for now I've decided to keep them in because they would be useful error messages for a user who was using those methods by mistake (like if they changed a particular relation from a materialized view to a view at one point and didn't change any code to refresh or drop those views).
This approach does duplicate some of the functionality that's in some protected methods in Rails, but allows us not to use those APIs and maintain compatibility with Rails 4.1.

115 is merged. Ready whenever you want to take a crack at it.

115 is merged. Ready whenever you want to take a crack at it.

Ok, I've re-implemented the better errors after rebasing 115.

This looks good. I had some style things I'd like to see cleaned up and a couple of suggestions for testing but this is close.

This looks great. Thanks @devonestes

Merged in e9b4bfb10aea633c49ed194d4b6119cade3822d6. :fireworks:


stale bot not working on Talk

Files/library use the needs info/discussion label to mark stale-able issues. This is the label that the stale workflow filters for.
However, Talk uses just needs info, and it's not picked up by the stale bot.
To fix this we have two options:
a) Change the workflow so it accepts either needs info or needs info/discussion
b) Change the labels so all three repos use the same one.
I prefer b), and would use just needs info in all three.
cc @tobiasKaminsky

b) is fine by me.
Renaming should not cause any harm 👍

b) is fine by me. Renaming should not cause any harm +1

Renamed the tags in Files and library. PR to update workflow in #9


Fix frontend mobile

Codecov Report

Merging #857 into master will increase coverage by -0.02%.

@@            Coverage Diff            @@
##           master    #857      +/-   ##
=========================================
- Coverage   58.72%   58.7%   -0.02%
=========================================
  Files         113     113
  Lines        5936    5936
  Branches      722     722
=========================================
- Hits         3486    3485       -1
  Misses       2311    2311
- Partials      139     140       +1

Impacted Files
Coverage Δ

saleor/core/utils/random_data.py
85.18% <ø> (-0.42%)
:x:

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 613a90b...1579733. Read the comment docs.


Error updating artwork from Jellyfin and Emby

Hello again,
Getting a new error now and it's a bit easier to dump to stack here than discord.
Have attached the log for you. It continued for a bit and then seems stuck at 45% now.
I'm currently on version 0.1.4-1a68dd0-docker-vaapi
Do you think it's a corruption of my JellyFin library? I didn't have these issues at all until I managed to lock myself out of my admin account.
stack_ersataz.log

Confirmed working! Thanks!


feat: Add method to get double

This PR adds the support of double value from the flags.
Resolves #32

@justinabrahms any objections to merging this PR?


ActualFPS() doesn't display more FPS with VsyncOff (DirectX)

Ebitengine Version
v2.6.0-alpha.4
Operating System

[X] Windows
[ ] macOS
[ ] Linux
[ ] FreeBSD
[ ] OpenBSD
[ ] Android
[ ] iOS
[ ] Nintendo Switch
[ ] Xbox
[ ] Web Browsers

Go Version (go version)
1.18.3
What steps will reproduce the problem?
package main

import (
	"fmt"
	"log"

	"github.com/hajimehoshi/ebiten/v2"
	"github.com/hajimehoshi/ebiten/v2/ebitenutil"
)

type Game struct{}

func (g *Game) Update() error {
	return nil
}

func (g *Game) Draw(screen *ebiten.Image) {
	ebitenutil.DebugPrint(screen, fmt.Sprintf("FPS %.2f", ebiten.ActualFPS()))
}

func (g *Game) Layout(outsideWidth, outsideHeight int) (int, int) {
	return 1920, 1080
}

func main() {
	ebiten.SetVsyncEnabled(false)
	if err := ebiten.RunGameWithOptions(&Game{}, &ebiten.RunGameOptions{
		GraphicsLibrary: ebiten.GraphicsLibraryDirectX,
	}); err != nil {
		log.Fatal(err)
	}
}

What is the expected result?
ActualFPS() going higher than my display refresh rate (here 240 but it's capped)
What happens instead?
239 fps
Anything else you feel useful to add?
No response

I don't have a display with 240Hz so unfortunately I cannot test this.

Seems to be introduced by https://github.com/hajimehoshi/ebiten/commit/78d3e4273b0daee8f82dc20debf5fa4e68da5955 from git bisect

Hmm, allowing tearing had a potential risk as the commit describes. I'm looking for another way to disable vsync.

@Zyko0 Would this change work on your machine?
diff --git a/internal/graphicsdriver/directx/graphics_windows.go b/internal/graphicsdriver/directx/graphics_windows.go
index 80d1c0e94..a8e4c0d5f 100644
--- a/internal/graphicsdriver/directx/graphics_windows.go
+++ b/internal/graphicsdriver/directx/graphics_windows.go
@@ -40,7 +40,7 @@ const (
        noStencil
 )

-const frameCount = 2
+const frameCount = 3

 func pow2(x uint32) uint32 {
        if x > (math.MaxUint32+1)/2 {

Would this change work on your machine?

No, this doesn't change anything unfortunately :/

Hmm? This change affect grahics_windows.go, right?

Ah you mean that frameCount is used only for *12_windows.go? Then you are right..

After testing on last version, it appears I was wrong about the origin
It appears in windowed mode, and it's not related to any driver (directx or opengl)

Admitting tearing would fix this issue, but I think this would cause another issue. I'll leave this open, but I might not fix this.

https://github.com/microsoft/DirectX-Graphics-Samples/blob/master/Samples/Desktop/D3D12Raytracing/src/D3D12RaytracingHelloWorld/DeviceResources.cpp#L520

Recommended to always use tearing if supported when using a sync interval of 0.

Hmm..

@Zyko Please take a look at the latest commit: 6f41a05264ffdb84f50cf42f90e2c0e613eb0f06


Support Angular 8

Angular 8 is out. Would be great to verify support and update package.json.

Would love to see support for Angular 8 as well 👍


super-dense-coding tutorial

This notebook demonstrates Super Dense Coding (SDC) in quantum computing.
ch-algorithms/superdensecoding.ipynb

 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.

Do you mean the images/ directory  ch-algorithm ? If yes, I will need to pull another request for that right?


[magnum-auto-healer] fix for stuck nodes in Ready,SchedulingDisabled after repair by reboot

What this PR does / why we need it:
is a proposal to solve the problem with worker nodes getting stuck in Ready,SchedulingDisabled after repair by reboot
Which issue this PR fixes(if applicable):
fixes #2053
Special notes for reviewers:
Build an image for magnum-auto-healer from the code with these changes, use this image in the magnum k8s cluster and simulate a failure on one of the cluster's working nodes, as follows:
sudo systemctl stop kubelet
and confirm that repair by reboot now works fine, and the problems described in issue #2053
Release note:
NONE

/ok-to-test

any updates?

I am not expert at magnum-auto-headler...bug guess you need fix CLA first..

How can we fix the CLA and move on without any action from @Kleku81?

How can we fix the CLA and move on without any action from @Kleku81?

pull the PR then resubmit ,and make Kleku81 as co-auther might work..

Works on this case has been moved to PR 2279.


react-router v4 docs need better introduction, structure, and more standard and simple examples

I was looking at v4 docs - it seems like docs are packed full of good documentation of some kind, but it seems like it's poorly organized or uses a wrong format (without providing context or apparently assuming that a user is already knowledgeable about react router 4 api).
Perhaps docs need a basic introduction section, similar to https://github.com/ReactTraining/react-router/blob/v3/docs/Introduction.md - that would take a user from having several react containers/pages linked into a web site?
/ - > Index
/inbox -> Inbox
/about -> About
Perhaps a basic Introduction section with more description, reference to json based configuration and other more standard and basic ways of building web applications/sites would be a better start than what is currently under https://reacttraining.com/react-router/web/guides/philosophy.

A PR is the best way to change things. Just complaining about docs doesn't really do anything.

Sorry, I was being short. I haven't yet had my coffee.
Regardless, issues aren't very actionable when it comes to documentation. A PR is the best form for getting things done because it gives us actual content to discuss. There is no perfect solution, but something is better than nothing.

Just wanted to add that I had a similar experience to OP today. The docs look really slick, but really don't contain enough detail to be helpful. I also think OP goes quite a bit further than complaining, and gives maintainers some good ideas of where they could fill gaps.
IMHO the onus of improving the docs rests on people who are intimately familiar with and built the actual technology (maintainers), not people trying to learn about how the technology works.
Closing an issue and requiring a PR communicates that either you don't actually agree with OP that the docs need significant improvement or you just don't care enough to carry on a conversation about it.


[CONFERENCE] Python Brasil 2022

Conference Name
Python Brasil 2022
URL
Pycon Brasil 2022
Conference Dates
17-10-2022 - 23-10-2022
Conference Type
both
Conference Location
Manaus, Brasil
CFP URL
No response
CFP End Date
No response
Conference Description
Python Brasil 2022 is the largest conference on Python programming language in Brazil and Latin America.
There will be 7 days of immersion where participants can contribute to free software projects, participate in training and acquire new knowledge with renowned developers of the community. The program is organized as follows: Tutorials (15.10 and 16.10), Lectures and Keynotes (17.10 to 22.10) and Sprints (23.10).
The 2022 edition is being organized by the Python community of Manaus / AM (PyNorte) with the support of APyB (Python Brazil Association).

Thank you for adding this event! \n We'll happily consider it for the next episode. \n\n The Issue autocloses but we'll be reviewing it at https://github.com/users/kjaymiller/projects/4/views/3


AVRO-3342 Updated CodeGenUtil to standard documentation styling

Jira

[ ] My PR addresses the following Avro Jira issues and references them in the PR title. For example, "AVRO-1234: My Avro PR"

https://issues.apache.org/jira/browse/AVRO-3342

Tests

[ ] My PR does not need testing for this extremely good reason: non functional change

Commits

[ ] My commits all reference Jira issues in their subject lines. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters (not including Jira issue reference)
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

Documentation

[ ] In case of new functionality, my PR adds documentation that describes how to use it.

All the public functions and the classes in the PR contain Javadoc that explain what it does

Thank you, @KyleSchoonover !


Add basic monitoring and alerting to fuzzy and archie

Issue summary

Currently, fuzzie and archie have no alerting and monitoring. It'd be great to know if these machines are knocked out or close to being out of disk space.
We can use New Relic for this.
Other information and links

Answered on Slack, a script is fine for now.

@samuelarogbonlo The agents should not have been installed with root privileges. Running the NR agent as root is unjustified unless I miss something.

See https://newrelic.com/blog/how-to-relic/non-root-user-infrastructure-agent

Sure, I don't see why not.


migrate to decimal package

Following up to https://github.com/noojee/money.dart/issues/54#issuecomment-970085733 here's an attemp to use the decimal package.
(IMHO this package should be merged into money2 directly and remained an implementation detail of money2 inside src/)

@al4n thanks for the PR.
I will need a few days to work through the implications.
My  preference is to not re-implement the decimal package  and this looks like it might be a reasonable middle ground.
The things that jump out at me.
Fixed needs to be a public package as its original intent was to provide a method to pass in exchange rates which is part of the public api.
Additionally a core objective I had was to provide a consistent interface between money and whatever decimal package was used so the user didn't have to learn to differing api. I think you approach will over come this concern.
I have a minor concern that the decimal package is less performant given the use of two big ints but I think the reality is that for 99% of money users this just isn't a consideration.
I need to get my head around whether the differing approach to handling scale will create any unexpected rounding issues.
This centres around that if I have a value 1.20 and I'm doing some maths on it I don't want the underlying maths to be done on the value 1.201 as the underlying implementation is storing additional precision.  I've not had enough time with your code to understand how you have dealt this but it should be resolvable if you haven't already addressed it.
Summary: I'm very open to the proposal, give me few days to dig into the details.
I believe fixed will need to be a public package.

If a user of the money package could do something like this, then that would be awesome:
String amount  = '201.03'; //value may be coming from json
String ccy = 'USD'; //value may be coming from json

Money m1 = Money(amount, ccy);
Money m2 =m1*100; //arithmetic operations involving ints or BigInt
Money m2 = m1*m2; //arithmetic operations involving only Money
String digitalAmount = m1.toDigitalString(); //assigns '201.3' to digitalAmount
String formattedAmount =  m1.toString();  //assigns '$201.3' to formattedString

Multiplying money X money actually makes no sense. Your are multiplying it
by a quantity.
Part of the reason for introducing fixed is to allow you to multiply money
by a fixed scale quality.
I don't know what toDigitalstring is supposed to do but the rest is already
supported.
On Thu, 18 Nov 2021, 2:18 am pryshrm, @.***> wrote:

If a user of the money package could do something like this, then that
would be awesome:
String amount  = '201.03'; //value may be coming from json
String ccy = 'USD'; //value may be coming from json
Money m1 = Money(amount, ccy);
Money m2 =m1100; //arithmetic operations involving ints or BigInt
Money m2 = m1m2; //arithmetic operations involving only Money
String digitalAmount = m1.toDigitalString(); //assigns '201.3' to digitalAmount
String formattedAmount =  m1.toString();  //assigns '$201.3' to formattedString
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/bsutton/fixed/pull/2#issuecomment-971680735, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAG32OEU6YFCWJ6UJCQ76YLUMPBSRANCNFSM5IEA7SHA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

I think I realised what the digital method is, you want to format the
string without a $.
That is what the format method is for.
m.format('#.#')
On Thu, 18 Nov 2021, 2:18 am pryshrm, @.***> wrote:

If a user of the money package could do something like this, then that
would be awesome:
String amount  = '201.03'; //value may be coming from json
String ccy = 'USD'; //value may be coming from json
Money m1 = Money(amount, ccy);
Money m2 =m1100; //arithmetic operations involving ints or BigInt
Money m2 = m1m2; //arithmetic operations involving only Money
String digitalAmount = m1.toDigitalString(); //assigns '201.3' to digitalAmount
String formattedAmount =  m1.toString();  //assigns '$201.3' to formattedString
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/bsutton/fixed/pull/2#issuecomment-971680735, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAG32OEU6YFCWJ6UJCQ76YLUMPBSRANCNFSM5IEA7SHA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

@a14n time permitting I will pull this tonight.
Greatly appreciate the effort and feedback.

If I can create Money using Money(Decimal amount, String ccy) without providing a formatter, then I should be able to split money back into its original constituents without providing a formatter. So, I would expect ( by expect, I mean, as a user of Money package,  not as in I am demanding it..lol very thankful for what you already have created), it to have two methods to get those two items back - a simple numeric string (the toDigitalString or a better name) and the currency code.
Providing formatter pattern to get would pollute the package user's code. For example, I am getting the amount and ccy from a REST API in JSON format and I am expected to send amount and ccy back in the same for to the back end. Usage of Money is entirely a front end thing.
Money*Money may not make much sense but Money + Money would easily make sense. My point is, basic mathematical operations (+ - * /) should be supported.

but the rest is already supported.

You mean, this works now?
String amount  = '201.03'; //value may be coming from json
String ccy = 'USD'; //value may be coming from json
Money m1 = Money(amount, ccy);


openLlama support

Hey, nice launch! Since LLama and its variant vicuna has commercial restriction and huggingface released openllama https://huggingface.co/openlm-research/open_llama_7b_preview_200bt. Can you support it?

#224


Release 1.3.0

@adf-ncgr Please delete the 1.3.0 release you made and follow this checklist. Edit: You'll also need to delete the 1.3.0 tag otherwise a new automated build won't occur when you tag the release again.

[ ] Create a branch for the release
[ ] Update the dependencies. The dependabot PR backlog is not comprehensive and doesn't include transitive dependencies, and merging them one at a time tends to break things, so the best way to do this is manually with npm.
[ ] Bump the intermineVersion in data-sources/intermine/api/index.ts if appropriate.
[ ] Update the base image version in the Dockerfile if necessary (this should be the most recent node LTS version) and do a test build and run of the Docker image on you local machine so you know if something is going to go off the rails before the automated build action on GitHub.
[ ] Update the GHCR image tag in compose.prod.yml to the imminent release version
[ ] Bump the "version" number in package.json.
[ ] Open a PR that merges the release branch into main.
[ ] Merge the release PR after it passes testing and review.
[ ] Tag a corresponding release on GitHub. This will trigger an automated Docker image build on GitHub. If the build succeeds it will be automatically published to GHCR.

thanks, I didn't see this release checklist when I was looking earlier but likely I got confused by all the things I've been touching as part of this seemingly innocuous task. Good practice for me, sorry for the headaches it may be causing you.

NB: this looks like it will be involved and time-consuming enough that I'm likely not going to get to it for a while. But I've deleted the release/tag for now.

It looks like the 1.3.0 container image is still on the GitHub container registry. I'm not sure if this needs to be deleted or if tagging another 1.3.0 release will overwrite. It's probably worth looking into before re-tagging the release...

Guessing it will overwrite but that may be wishful thinking. Skimming the documentation did not enlighten me much but will keep this in mind for when I get back to it.

Seems to have done the wished-for thing (ie overwriting, or at least moving the tag); verified that the image pulled with v1.3.0 has the updated dependencies. Closing


Deleting a file in the root folder (res://) scrolls filesystem dock all the way to the top

Tested versions
Reproduces in:

v4.3.rc1.official [e343dbbcc]
v4.2.2.stable.official [15073afe3]

System information
Windows 10.0.22631 - Vulkan (Forward+) - dedicated AMD Radeon RX 7700 XT (Advanced Micro Devices, Inc.; 32.0.11021.1011) - AMD Ryzen 7 5700X3D 8-Core Processor (16 Threads)
Issue description
When I delete a file in the root folder using the filesystem dock, the dock selects res:// and scrolls all the way to the top. Deleting a file in a subfolder acts the same as deleting a node in the scene tree - it leaves the selection empty and the scroll position isn't changed.
This bugs me because I don't want to scroll back down to continue what I was doing.
Steps to reproduce

Open MRP
Set window size so that the filesystem dock scrolls
Scroll filesystem dock to the bottom
Delete a file

Minimal reproduction project (MRP)
delete-from-root.zip

I'll try to fix this.

Is this the same issue as https://github.com/godotengine/godot/issues/92652?

Possibly... although I think this scrolling is coming from FileSystemDock::_create_tree, if that's the root cause it's not the same one. I wrote some details about it in the contributor chat editor channel.

When you delete a file i res:// it selects the res:// folder.
But when you delete a file in a subfolder it doesn't select any of the files (focus is on the container?) so if you navigate with keyboard and press down it scrolls back to the top.
Screencast_20240728_005030.webm
Maybe its the same cause? And would it be better if it selected the next file below or above, so scroll stays at same place and you can navigate with keyboard where you was too.

Maybe its the same cause? And would it be better if it selected the next file below or above, so scroll stays at same place and you can navigate with keyboard where you was too.

It's kind of the same cause. It always clears the selection, it's just that in the case of res:// it also selects the root.
I think selecting a file next to the deleted one could be nice, but I'm guessing that would need to be a proposal. Clearing selection on deletion seems to be the standard way to do things across the editor.


Resolve all before filtering debug console (include nested search results)

#4338 Issue Type: Feature Request
Currently it doesn't support searching in nested items.

Basically dup of https://github.com/Microsoft/vscode/issues/66971
Since when we have this for the explorer we can have it for the debu console
Not sure how feasabile though since expanding everything might be computanionaly heavy on the debug adapter


[Feature Request] Use views for menu builder

Would it be possible in future to use views for the menu builder.
That makes it way more customizable.
EDIT: If approved, then I do not mind making it into a pull request.

What do you mean by "use views"?

@fletch3555: https://laravel.com/docs/5.3/views

@marktopper I think what @fletch3555 asked means what did you mean by "use views for the menu builder". How do you want to use views in the menu builder? Can you please explain your question to us?

I will try to make a pull request this weekend to show what I mean.
It's like Laravel's Pagination template moved to using views.
Read how it works now.

I also just noticed another small issue with the current way that the menus are builded.
There are no eager loading, so it could take a while to load for sites having many menus with many sub menus.

First implement, currently only for the menu of admin_menu-type.
#154


saturating_mul missing

Is the lack of saturating_mul in num::Saturating on purpose, or a mistake, or should it live somewhere else?

It's historical -- that method was not added in std until rust 1.7.  And while our minimum rust is now beyond that, it would still be a breaking change for us to add this to Saturating.  We could break out separate traits per-op though, like the wrapping ops do -- SaturatingMul etc.

Sure!
I guess it should take references, for consistency with the existing WrappingOp and CheckedOp traits, although that won't be consistent with Saturating.  Design is hard, legacy code is messy...


New status API & a couple new functionalities

Super nice! Do you have a sec to build a test case for the actions API? Also, could you add the new API to /docs/source/cortex_xdr_client.api.rst and the new model to /docs/source/cortex_xdr_client.api.models.rst so the auto-generated documentation is updated?


Support Direct Import in the open source lib

Description
Support Direct Import in the open source lib
Add infer parameter to control memory inference behavior
Added a new optional boolean parameter 'infer' to the add() method that allows
controlling whether inference should be used when adding memories. When infer=False,
the method will directly embed and store the raw messages without performing any
inference or deduction, providing a faster and simpler memory storage option.
This gives users more flexibility in how memories are processed and stored.
The default value is True to maintain backward compatibility.
Another change: to make the UT could run locally, I have to fix the test_proxy.py
Type of change

[x] New feature (non-breaking change which adds functionality)

How Has This Been Tested?
Replaced the high-level mocking of _add_to_vector_store with detailed component-level
mocks to provide better test coverage and validation of internal behaviors.

[x] Unit Test

Checklist:

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

Maintainer Checklist

[ ] closes #xxxx (Replace xxxx with the GitHub issue number)
[ ] Made sure Checks passed

 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.


build: more fixes for CircleCI cross-build setup

Closes #20479
Even with #20484 I was seeing intermittent failures on master.

Upgrade the Docker installation on the executor instead of bolting the buildx plugin onto whatever happens to be there
Install all binfmt platforms instead of just arm64
Don't hard-code specific platforms when creating the buildx builder
Don't share as many caches between jobs

Ugh, spoke too soon. Failed job popped up here.

Ugh, spoke too soon. Failed job popped up here.

We might be intermittently running into docker/buildx#495

We might be intermittently running into docker/buildx#495

Closing this for now to reduce spam

Closing this for now to reduce spam


if scroll.enabled===true, then DateRange won't initially show the month of selected date range! it shows Feb 1920

DateRange won't initially show the month of selected date range! it shows Feb 1920
same as https://github.com/Adphorus/react-date-range/issues/190 but for DateRange

[BUG] Bug Reproduce Steps
import { DateRange } from "react-date-range";
export default function dateRange() {
return (<DateRange
showDateDisplay={false}
direction="vertical"
scroll={{ enabled: true }}
showMonthAndYearPickers={false}
/>);
}
[BUG] Expected behaviour
It should show the selected Month.
Environment
Package Version:^1.0.0-beta
React version:^16.12.0
Node version:6.13.7
Browser: Chrome

As far as I can see the same issue does not occur in the latest version (1.0.1) I'm closing this.


Optimize memory for selector cache

Slight, minor perf boost, but it avoids closures (nice for memory).

Anathema!

@pygy I'm guessing you're reacting to the source comment? 😄

Totally had to look that word up, BTW.

Before we start any further heavy optimization stuff I would like to settle on an actual perf benchmark (or suite of benchmarks) that could be used to actually prove perf improvements. Not that I distrust @isiahmeadows excellent work, I just want to be able to quantify things.

@tivac FWIW, the primary benefit in this one is reduced memory in accessing selectors. But I do agree that a perf benchmark would be immensely useful.
Maybe, the dbmonster example could be converted? Or maybe, the TodoMVC benchmark ported?

Just throwing ideas at the wall.

@isiahmeadows There's also https://github.com/krausest/js-framework-benchmark
I agree with @tivac's general sentiment regarding measurements. JS engines have sufficiently complex optimization heuristics to defy intuition, and things that look faster on paper may not be in practice.

@pygy I'm aware. I did previously notice a slight boost in the dbmonster framerate, but nothing dramatic. I didn't really check the memory, though.

I put together a benchmark here.
https://jsperf.com/old-m-vs-new-m/1
Seems to be a little bit faster


GTMGatherInputStream.h: No such file or directory

Hello,
When trying to run the sample of GooglePhotos and after setting the signing certificates to be able to run it, I'm getting GTMGatherInputStream.h: No such file or directory. what should i do ?

When you did the git clone, was it recursive?  The Deps directory contains git modules reference to pull in dependencies, and if you don't have the sub projects, that could be the problem.

@thomasvl , i imported the Deps but manually, forgot to do it. Thanks


Feature Request - Duplicate tab (Basic)

Summary
Add "Duplicate Tab" option to open same profile in different tab

How sould you be able to trigger the duplication of a tab?

So, what do you mean by "duplicate"? I have a few ways to interpret this:

"Simple": same thing as opening a new tab of the same profile via the drop down menu
"Partial State Copy": new tab has the same profile but is in the same directory (if applicable). This is similar to #1437
"Full State Copy": keep the command history intact and be in the same directory

Also, if there's interest in the latter two, what are some things in the "state" that should be maintained?
NOTE: I think we wouldn't be able to do the last one today, but we can definitely make strides towards it in the long run :)

@dnagl, triggering could be using Keyboard combo such as Ctrl+Shift+D
@carlos-zamora , excellent breakdown, I was thinking simple - option 1 just duplicating the current profile.
However, I see no reason 2, 3 can't be in the long run Roadmap too as you noted.

Personally, I think this would be a great thing to have as an onption in a flyout menu when you right-click on a tab. Similar to when you right-click a tab in Edge.

@J00MZ I am with you that this is a bigger feature and to provide a simple implmentation to duplicate a tab with the current used profile would be the first step in the right direction.
@carlos-zamora A flyout menu would be a good idea. However, this functionality should be available also by using a keyboard shorcut.
Maybe I am able to provide a simple implementation of this feature request and bring it into the master of the project with a pull request.

@dnagl Yup! We're on the same page. And we can't do the flyout menu until #760 gets resolved anyways.
I'd very much appreciate it if you implement this. 😊 Let me know if you have any questions! (and definitely add me as a reviewer so I get a notification when it comes in)

@carlos-zamora  "Simple" + custom shortcut is good enough
@J00MZ if has the "Simple" way, can use commandline in profile.json to implement "Full State Copy"

@xmm1989218 I've used the command line in profile.json for similar stuff, such as defaulting to a specific directory which has my custom .bashrc, but I'd classify it as a "hack", not feature.

@J00MZ your right. it is hack. if has many ssh-host will seem ugly. it just works at light startup job

@carlos-zamora I have some problems to get the keybindings to work properly. Maybe you could have a look at the code in my repository and the last commit on the featurebranch. When I am pressing CTRL+SHIFT+D the method AppKeyBindings::TryKeyChord gets called but there is no element in _keyShortcuts for the keybinding
Repository

Would a duplicate Tab maintain the same history and current output?

@mdtauk see @carlos-zamora reply re the options this could be implemented.

@carlos-zamora I cannot add you as a reviewer to the pull request. Am I missing some permissions for this action?

Huh. I guess you do need permissions for that. Found it though. I'll try and get to it tomorrow. Thanks!

It seems that new tab and duplicate tab features work the same way for me when I use it for WSL. E.g. they both create a new tab and nothing else.
I SSHed into a server using Ubuntu, duplicated the tab, SSH session is not carried over. I switched to a directory and duplicated the tab, the directory was set to the default startingDirectory which is //wsl$/Ubuntu/home/coskun.
So why would I use the duplicate feature? No pun intended, just trying to understand what is the advantage of using the duplicate feature over creating a new tab.

@CoskunSunali
The duplicate tab feature defaults to the profile you are using now.
Opening a new tab defaults to your default profile.
If you use various different profiles in Terminal, it's very convenient to duplicate your current working one rather than the default one.

@J00MZ That totally makes sense. Thank you for the insights.

Sorry for the spam. Are there any plans for implementing state duplication? E.g. carrying over the SSH session?

@CoskunSunali No, because that would likely be neigh impossible to do in a general sense. How would we duplicate an instance of vim for example? What if the foreground process has opened some sort of file for exclusive access - how could we duplicate that process?
If there's a way this can be done safely and generally I'm all ears for proposed technical solutions, but I don't think it's something that's possible, so I'm not going to be investigating it.

@zadjii-msft and @J00MZ Thanks a lot for your time replying and explaining. Appreciated.


Backup Solutions

Zach's notes:
Linux -
installing freefilesync is different, it needs to be unzipped in a specific way, and saying "customize as needed, isn't good for a non-tech person, nor SOP. The IT person setting things up needs clarity. For instance, what folders should be backed up?

It would make sense to show how to add freefilesync onto the 'favorites' tab if needed

Google workspace (If we are wanting an auto backup to google drive, there is software needed. Google Drive for Desktop is for windows, IDK what is the standard for linux)

It may be that having a separate SOP for IT and for users would be good. One would show start to finish setting up a new computer for use (IT) the other would show how to operate the systems as the user.

I have put possible solutions in my SOP and have taken the criticism from my teammates to improve upon my SOP

I have no finished with all the required issues and have only a comment regarding google drive and how it is not able to be downloaded for linux but aside from that everything seems good and easy to follow


Permission problems in general

When you run sudo docker-compose run artisan vendor:publish ... and you publish some configuration file for example, it will create files as root and after edit i can't save it through my IDE since it's not created as me (linux user).
My idea is to re-run some kind of chown and chmod combination script after each container operation but it does not seem like a way to go. Any suggestions?

I found a solution so i'm gonna share with the rest of community here. Adding next line to docker-compose file might help you out:
services:
    artisan:
        ...
        user: 1000:1000

You can put uid of any user you want actually.

One more tip, instead 1000:1000 you can use variable ${CUID} and then run composer like this:
'CUID=$(id -u):$(id -g) docker-compose up'


Add more detail to connection approach in sqlite3.rst

Addresses https://github.com/pallets/flask/issues/4954 by adding a little more detail to documentation.
This should make it clear that one connection per request is a simple approach to using SQLite 3 but not necessarily the only one, or the best in terms of efficiency (opening connections may have significant overhead, especially in the context of web requests where ms can be taken into account).

Thanks, however I don't think this is necessary for the purpose of these docs.

As is, the docs imply the one correct approach to using SQLite with Flask is to create a database connection for each HTTP request, which is not the case. SQLite is thread safe by default, see here: https://github.com/python/cpython/pull/101351
I would urge you to reconsider in the least clarifying that the approach in the documentation is simply a suggestion and that alternatives exist.


Connecting IPV6

Hi Martin,
I found this very useful for connecting to SQL Server.
For IPV4 connections, I used
In client connect:@"server:port" - XXX.XXX.XXX.XXX:XXXX & its working perfectly.
I have specific IPV6 address & port for the server & still I am not able to connect the same in IPV6. Also I use freeTDS 1.00.15 & it supports IPV6 too.
Is there something which I need to do or am I missing something?

Hm, I'm not sure. Are you saying you are able to connect to your database server using FreeTDS directly from a computer on the same network?

I am able to connect only in my SQL Server using that specific IPV6 address & port.
For IPV6 connections, I tried - client connect:@"server:port" - XXXX:XXXX:X:X::X:XXXX & http://[XXXX:XXXX:X:X::X]:XXXX
Is there any format to specify for IPV6?
Using your repository, I get error - Unable to connect: Adaptive Server is unavailable or does not exist (Severity 9).

Can you try connecting directly using the FreeTDS binary directly?

Just installed FreeTDS using Homebrew & checked in terminal. Still I get the same issue in IPV6 whereas IPV4 is working perfectly.
So does this mean I need to change settings in FreeTDS to support IPV6 or I need to check my SQL server?

Can you confirm which version of FreeTDS you have installed? Looks like you need v0.95 and above to support IPV6:
http://stackoverflow.com/questions/34883036/remote-connection-to-sql-server-with-freetds-and-ipv6

There was some server side issue.
client connect:@"server:port" - XXXX:XXXX:X:X::X:XXXX format is working fine now.
Thanks.

Happy to hear!


运行generate.sh后一直报model为NoneType

操作系统： CentOS Linux 7
GPU: 3090，一张
python版本：3.8.16
库的版本和requirements.txt中一致
llama-7b-hf数据提前下好了
cuda版本：11.4
nvcc --version：
nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2021 NVIDIA Corporation Built on Sun_Aug_15_21:14:11_PDT_2021 Cuda compilation tools, release 11.4, V11.4.120 Build cuda_11.4.r11.4/compiler.30300941_0
报错信息：
CUDA SETUP: CUDA runtime path found: ...................../.conda/envs/py38/lib/libcudart.so
CUDA SETUP: Highest compute capability among GPUs detected: 8.6
CUDA SETUP: Detected CUDA version 118
CUDA SETUP: Loading binary ...................../python3.8/site-packages/bitsandbytes/libbitsandbytes_cuda118.so...
Namespace(lora_path='Chinese-Vicuna/Chinese-Vicuna-lora-7b-belle-and-guanaco', model_path='decapoda-research/llama-7b-hf', use_local=0, use_typewriter=1)
Chinese-Vicuna/Chinese-Vicuna-lora-7b-belle-and-guanaco/adapter_model.bin
Loading checkpoint shards:   0%|          | 0/33 [00:00<?, ?it/s]
Loading checkpoint shards:   3%|▎         | 1/33 [00:02<01:20,  2.51s/it]
Loading checkpoint shards:   6%|▌         | 2/33 [00:02<00:40,  1.32s/it]
Loading checkpoint shards:   9%|▉         | 3/33 [00:03<00:28,  1.06it/s]
Loading checkpoint shards:  12%|█▏        | 4/33 [00:03<00:22,  1.32it/s]
Loading checkpoint shards:  15%|█▌        | 5/33 [00:04<00:18,  1.52it/s]
Loading checkpoint shards:  18%|█▊        | 6/33 [00:04<00:16,  1.67it/s]
Loading checkpoint shards:  21%|██        | 7/33 [00:05<00:14,  1.79it/s]
Loading checkpoint shards:  24%|██▍       | 8/33 [00:05<00:13,  1.87it/s]
Loading checkpoint shards:  27%|██▋       | 9/33 [00:06<00:12,  1.94it/s]
Loading checkpoint shards:  30%|███       | 10/33 [00:06<00:11,  1.98it/s]
Loading checkpoint shards:  33%|███▎      | 11/33 [00:07<00:10,  2.02it/s]
Loading checkpoint shards:  36%|███▋      | 12/33 [00:07<00:10,  2.03it/s]
Loading checkpoint shards:  39%|███▉      | 13/33 [00:08<00:09,  2.04it/s]
Loading checkpoint shards:  42%|████▏     | 14/33 [00:08<00:09,  2.06it/s]
Loading checkpoint shards:  45%|████▌     | 15/33 [00:09<00:08,  2.06it/s]
Loading checkpoint shards:  48%|████▊     | 16/33 [00:09<00:08,  2.07it/s]
Loading checkpoint shards:  52%|█████▏    | 17/33 [00:10<00:07,  2.07it/s]
Loading checkpoint shards:  55%|█████▍    | 18/33 [00:10<00:07,  2.08it/s]
Loading checkpoint shards:  58%|█████▊    | 19/33 [00:11<00:06,  2.08it/s]
Loading checkpoint shards:  61%|██████    | 20/33 [00:11<00:06,  2.09it/s]
Loading checkpoint shards:  64%|██████▎   | 21/33 [00:12<00:05,  2.09it/s]
Loading checkpoint shards:  67%|██████▋   | 22/33 [00:12<00:05,  2.09it/s]
Loading checkpoint shards:  70%|██████▉   | 23/33 [00:13<00:04,  2.10it/s]
Loading checkpoint shards:  73%|███████▎  | 24/33 [00:13<00:04,  2.09it/s]
Loading checkpoint shards:  76%|███████▌  | 25/33 [00:14<00:03,  2.08it/s]
Loading checkpoint shards:  79%|███████▉  | 26/33 [00:14<00:03,  2.08it/s]
Loading checkpoint shards:  82%|████████▏ | 27/33 [00:14<00:02,  2.09it/s]
Loading checkpoint shards:  85%|████████▍ | 28/33 [00:15<00:02,  2.09it/s]
Loading checkpoint shards:  88%|████████▊ | 29/33 [00:15<00:01,  2.09it/s]
Loading checkpoint shards:  91%|█████████ | 30/33 [00:16<00:01,  2.09it/s]
Loading checkpoint shards:  94%|█████████▍| 31/33 [00:16<00:00,  2.10it/s]
Loading checkpoint shards:  97%|█████████▋| 32/33 [00:17<00:00,  2.09it/s]
Loading checkpoint shards: 100%|██████████| 33/33 [00:17<00:00,  2.05it/s]
Loading checkpoint shards: 100%|██████████| 33/33 [00:17<00:00,  1.84it/s]
Downloading (…)/adapter_config.json:   0%|          | 0.00/370 [00:00<?, ?B/s]
Downloading (…)/adapter_config.json: 100%|██████████| 370/370 [00:00<00:00, 110kB/s]
Downloading adapter_model.bin:   0%|          | 0.00/16.8M [00:00<?, ?B/s]
Downloading adapter_model.bin:  62%|██████▏   | 10.5M/16.8M [00:02<00:01, 4.31MB/s]
Downloading adapter_model.bin: 100%|██████████| 16.8M/16.8M [00:03<00:00, 4.52MB/s]
Downloading adapter_model.bin: 100%|██████████| 16.8M/16.8M [00:03<00:00, 4.47MB/s]
Traceback (most recent call last):
File "generate.py", line 110, in
model.eval()
AttributeError: 'NoneType' object has no attribute 'eval'
求助，谢谢！

还是peft版本的问题，见这个issue
（其实类似的问题把报错信息在项目中搜一下说不定就有解决方案了）

好的，谢谢！我试试


Uncaught Error: EINVAL: invalid argument, open '~/Sites/start/Gemfile'

[Enter steps to reproduce below:]

...
...

Atom Version: 1.12.2
Electron Version: 1.3.6
System: Mac OS X 10.9.5
Thrown From: Atom Core
Stack Trace
Uncaught Error: EINVAL: invalid argument, open '/Users/heiditong/Sites/start/Gemfile'
At /Users/heiditong/Downloads/Atom.app/Contents/Resources/app.asar/src/pane.js:1030

Error: EINVAL: invalid argument, open '/Users/heiditong/Sites/start/Gemfile'
    at Error (native)
    at Object.fs.openSync (fs.js:640:18)
    at Object.module.(anonymous function) [as openSync] (ELECTRON_ASAR.js:168:20)
    at Object.fs.writeFileSync (fs.js:1343:33)
    at Object.writeFileSync (/Users/heiditong/Downloads/Atom.app/Contents/Resources/app.asar/node_modules/fs-plus/lib/fs-plus.js:281:17)
    at File.module.exports.File.writeFileSync (/Users/heiditong/Downloads/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/node_modules/pathwatcher/lib/file.js:285:19)
    at File.module.exports.File.writeFileWithPrivilegeEscalationSync (/Users/heiditong/Downloads/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/node_modules/pathwatcher/lib/file.js:463:21)
    at File.module.exports.File.writeSync (/Users/heiditong/Downloads/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/node_modules/pathwatcher/lib/file.js:380:12)
    at TextBuffer.module.exports.TextBuffer.saveAs (/Users/heiditong/Downloads/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:1140:19)
    at TextBuffer.module.exports.TextBuffer.save (/Users/heiditong/Downloads/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:1124:19)
    at TextEditor.module.exports.TextEditor.save (/Users/heiditong/Downloads/Atom.app/Contents/Resources/app.asar/src/text-editor.js:871:26)
    at Pane.module.exports.Pane.saveItem (/Users/heiditong/Downloads/Atom.app/Contents/Resources/app.asar/src/pane.js:738:18)
    at Pane.saveItem (/Users/heiditong/Downloads/Atom.app/Contents/Resources/app.asar/src/pane.js:3:59)
    at Pane.module.exports.Pane.saveActiveItem (/Users/heiditong/Downloads/Atom.app/Contents/Resources/app.asar/src/pane.js:721:19)
    at Workspace.module.exports.Workspace.saveActivePaneItem (/Users/heiditong/Downloads/Atom.app/Contents/Resources/app.asar/src/workspace.js:693:35)
    at atom-workspace.core:save (/Users/heiditong/Downloads/Atom.app/Contents/Resources/app.asar/src/register-default-commands.js:222:32)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Users/heiditong/Downloads/Atom.app/Contents/Resources/app.asar/src/command-registry.js:259:29)
    at /Users/heiditong/Downloads/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:59
    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Users/heiditong/Downloads/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:584:16)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Users/heiditong/Downloads/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:379:22)
    at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeyEvent (/Users/heiditong/Downloads/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:106:36)
    at HTMLDocument.<anonymous> (/Users/heiditong/Downloads/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:3:59)

Commands
     -0:00.4.0 core:backspace (atom-text-editor.editor.is-focused)
     -0:00.0 core:save (atom-text-editor.editor.is-focused)

Config
{
  "core": {
    "telemetryConsent": "no"
  }
}

Installed Packages
# User
atom-dark-syntax, v0.27.0 (inactive)
atom-dark-ui, v0.52.0 (inactive)
atom-light-syntax, v0.28.0 (inactive)
atom-light-ui, v0.45.0 (inactive)
base16-tomorrow-dark-theme, v1.3.0 (inactive)
base16-tomorrow-light-theme, v1.3.0 (inactive)
one-dark-ui, v1.6.2 (active)
one-light-ui, v1.6.2 (inactive)
one-dark-syntax, v1.5.0 (active)
one-light-syntax, v1.5.0 (inactive)
solarized-dark-syntax, v1.0.5 (inactive)
solarized-light-syntax, v1.0.5 (inactive)
about, v1.7.0 (active)
archive-view, v0.62.0 (active)
autocomplete-atom-api, v0.10.0 (active)
autocomplete-css, v0.13.1 (active)
autocomplete-html, v0.7.2 (active)
autocomplete-plus, v2.31.4 (active)
autocomplete-snippets, v1.11.0 (active)
autoflow, v0.27.0 (inactive)
autosave, v0.23.1 (active)
background-tips, v0.26.1 (active)
bookmarks, v0.42.0 (active)
bracket-matcher, v0.82.2 (active)
command-palette, v0.39.0 (inactive)
deprecation-cop, v0.54.1 (active)
dev-live-reload, v0.47.0 (active)
encoding-selector, v0.22.0 (active)
exception-reporting, v0.40.0 (active)
find-and-replace, v0.202.2 (inactive)
fuzzy-finder, v1.4.0 (active)
git-diff, v1.1.0 (active)
go-to-line, v0.31.0 (inactive)
grammar-selector, v0.48.2 (active)
image-view, v0.60.0 (active)
incompatible-packages, v0.26.1 (active)
keybinding-resolver, v0.35.0 (active)
line-ending-selector, v0.5.0 (active)
link, v0.31.2 (inactive)
markdown-preview, v0.158.8 (active)
metrics, v1.1.1 (active)
notifications, v0.65.1 (active)
open-on-github, v1.2.1 (inactive)
package-generator, v1.0.1 (inactive)
settings-view, v0.243.1 (active)
snippets, v1.0.4 (active)
spell-check, v0.68.4 (active)
status-bar, v1.4.1 (active)
styleguide, v0.47.2 (active)
symbols-view, v0.113.1 (inactive)
tabs, v0.103.0 (active)
timecop, v0.33.2 (active)
tree-view, v0.210.0 (active)
update-package-dependencies, v0.10.0 (active)
welcome, v0.35.1 (active)
whitespace, v0.35.0 (active)
wrap-guide, v0.38.2 (active)
language-c, v0.54.0 (active)
language-clojure, v0.22.1 (active)
language-coffee-script, v0.48.0 (active)
language-csharp, v0.12.1 (active)
language-css, v0.40.1 (active)
language-gfm, v0.88.0 (active)
language-git, v0.15.0 (active)
language-go, v0.43.0 (active)
language-html, v0.46.1 (active)
language-hyperlink, v0.16.1 (active)
language-java, v0.24.0 (active)
language-javascript, v0.122.0 (active)
language-json, v0.18.3 (active)
language-less, v0.29.6 (active)
language-make, v0.22.2 (active)
language-mustache, v0.13.0 (active)
language-objective-c, v0.15.1 (active)
language-perl, v0.37.0 (active)
language-php, v0.37.3 (active)
language-property-list, v0.8.0 (active)
language-python, v0.45.1 (active)
language-ruby, v0.70.2 (active)
language-ruby-on-rails, v0.25.1 (active)
language-sass, v0.57.0 (active)
language-shellscript, v0.23.0 (active)
language-source, v0.9.0 (active)
language-sql, v0.25.0 (active)
language-text, v0.7.1 (active)
language-todo, v0.29.1 (active)
language-toml, v0.18.1 (active)
language-xml, v0.34.12 (active)
language-yaml, v0.27.1 (active)

# Dev
No dev packages

No repro steps.


[BEAM-4808][SQL] add e2e test for BeamSqlLine.

Add integration tests for BeamSqlLine.

Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

It will help us expedite review of your Pull Request if you tag someone (e.g. @username) to look at it.
 Can you take another look?

 I created a separate JIRA to track tests for GROUP BY WINDOWING: https://issues.apache.org/jira/browse/BEAM-5054.

SUCCESS
--none--

run java postcommit

run java precommit

run java postcommit

run java postcommit

@XuMingmin Could you review/merge this PR?

@amaliujia surely, reading now