Feature: Ability to use multiple extends

Hello,
I would like to add the ability to use multiple extends. This was requested as a feature at my company as we are using Monorepo with many different projects (that are not separate git submodules), and using just one YML to manage all of those projects makes it become some GOD huge and unreadable file.
With this PR in effect, you can define and use multiple extends like this:
extends:
  - landing/lefthook-landing.yml
  - backend/lefthook-backend.yml

@Arkweid 🙏

Thx for PR @Evilweed !
I will check it one current week, and if all ok going to made new release.

@Evilweed looks fine! Could you add any tests? :)

@Arkweid

Tests are added;
It was also tested manually, and it is backward compatible - you can either add 1 extend or multiple in array :)

@Arkweid

Tests are added;
It was also tested manually, and it is backward compatible - you can either add 1 extend or multiple in array :)

Gj! Merged.

Yay!

Just to clarify: This is not an extend but an inherit (left join), correct? When we have one root lefthook.yml that extends both a node js server and client project, they will overwrite one another and not both execute? I.e. when the command "format" is used in both like so:
# client/lefthook.yml
pre-commit:
  commands:
    format: # <-----------
      glob: "*.{js}"
      run: npm ....

# server/lefthook.yml
pre-commit:
  commands:
    format: # <-----------
      glob: "*.{ts}"
      run: yarn ....

# lefthook.yml
extends:
  - client/lefthook.yml
  - server/lefthook.yml

What will happen in this case to format? Do I need to tell engineers to make sure that commands are globally unique in the mono repo? Would be great if this is a true extend also with the ability to scope the ymls globs once to folders.
Couldn't find anything in the documentation — just evaluating lefthook right now and stumbled over this PR. For now I wrote this in an evaluation project:
# Workspace Specific Git Hooks (using lefthook)
#
#   This file is registered in:
#   infrastructure/development/githooks.yml
#
# Warning about Adding Hooks
#
#   (1) Make sure to use the glob pattern to limit the githook to this
#       workspace only. Do "platform/browser/**/*.{js,ts,...}" not "*.{js..".
#       Otherwise the hook applies and conflicts outside this workspace folder.
#   (2) Use unique command names to avoid overwriting other githooks from other
#       workspaces with the same name. I.e. "platform-browser-prettier" instead
#       of just "prettier", which would be also used by a node.js server folder.
#

pre-commit:
...

@D1no , you are right, this is more like a merge respecting the fields from the extends. The latter extend will overwrite the previous extends in your example. It's up to user to control this behavior.
I guess that you'd expect your example to finally show something like this?
# result
pre-commit:
  commands:
    format:
      - glob: "*.{js}"
        run: npm ....
      - glob: "*.{ts}"
        run: yarn ....

If you feel the need for that please create a separate feature request. And I'll add it to my radar if many people want it because it feels like a big change in the lefthook design.
By the way, if you want to test what you get after all extends use lefthook dump command – it will print the config file after applying all extends.


Keyboard hides on cell update

I have a requirement where I need to expand the text view based on the text height.
Here I am using TextViewRowFormer and onTextChanged callback I calculate the text size and update the row and text view height but keyboard hides after cell update.
Can you please guide me a way to solve this?

I would suggest looking into those two files and see if you can find anything that might be releasing the keyboard.

Closing due to inactivity.


ImportExportModelAdmin doesn't exist.

unclear how to add import_export feature.

nvm, had to import:
from import_export.admin import ImportExportModelAdmin


Remove keys type

Description
Include a description for your changes, including the motivation
behind them.
Checklist

[x] I've read CONTRIBUTING.md

[x] I've considered how to best test these changes (property, unit,
manually, ...) and concluded: that the documentation now displays properly

- [ ] I updated the CHANGES.md file

You're right about the haddock docs looking bad with this type hidden... Not the brightest idea I had.
However, I don't think this type should be exposed here. If we want to expose it, either do it in XMonad.Prelude and replace the occurrences, or, better yet, maybe from core.

There might also be an argument for just removing this alias.  We're only using it in two places, really, so it might just unnecessarily confuse people

I mean... fair.

LGTM, just change the commit message to something more descriptive

Thanks


Fix Accordion container ID (Resolve #360)

@delta1186 We consider applying this fix instead of adding the INamingContainer interface to the AccordionPane.
There is no breaking change, because client IDs are not altered, while the ItemCommand event is successfully fired.

@delta1186
We consider that you are satisfied with this change, so I merge this pull request and close #361
Feel free to comment if you have any info regarding this fix.


Use toolrun to provide sources

Overview
This PR adds the ability to retrieve AST sources  from ToolRun instances, thus decoupling source and transformation.
Note that the EvalParams object is going to be filled out as more features get added. For now, all that matters is that we can get validate that an AST's required fields are complemented by putative ToolRun instances

Looks good.


Nested TabViews

How can I create nested tab views as TikTok does it?

@alexrequelme Have you found a solution for this?

@PedroBern is there a way to achieve this?


new fixes about remote urls for img.

can you add changes about remote url for img to npm package ?
Thank you!

can you add changes about remote url for img to npm package ?
Thank you!

The latest version already contains those fixes! Have fun. :smile_cat:


Fix SetInputSubString for zero-length input

SetInputSubString  did not set the input to empty, if it was given an empty string, or len=0

@Alexey-T

I looked at the patch, seems valid.

now part of #325


How initialize for use Bearer token?

How initialize for use Bearer token?
I don't understand how use it.

@DudeFactory if you use Angular2-Token with the devise token auth gem, bearer token authentication is enabled by default. So just follow the guide to install devise token auth here and then install Angular2-Token an described in the readme.
Hope I got your question right and thank you for your feedback!

Im closing this issue because no response in 7 days. If you have any further questions please send them via Gitter.


If user inputs text into the rate movie input field, app crashes

User should only be able to input numbers into the text field.

fixed


[BUG] when put resource input empty string, get resource via SDK met "Value cannot be an empty string. (Parameter 'resourceId')" error

Library name and version
Azure.ResourceManager.AppContainers Version=1.1.0-beta.1
Describe the bug
when PUT containerApp env contains property equal to empty string, then get containerApp env via SDK will fail with error  "Value cannot be an empty string. (Parameter 'resourceId')"
Expected behavior
SDK get containerApp env succeed.
Actual behavior
get containerApp env via SDK will fail with error  "Value cannot be an empty string. (Parameter 'resourceId')"
Reproduction Steps

PUT containerAPp env with below sample payload

https://management.azure.com/subscriptions/xxxx/resourceGroups/xxxx/providers/Microsoft.App/managedEnvironments/xxxx?api-version=2022-10-01

{"location": "eastus2", "tags": null, "properties": {"daprAIInstrumentationKey": null, "vnetConfiguration": {"infrastructureSubnetId": "", "runtimeSubnetId": "", "internal": false}, "appLogsConfiguration": {"destination": "log-analytics", "logAnalyticsConfiguration": {"customerId": "xxxxx", "sharedKey": "xxxxx"}}, "customDomainConfiguration": null, "workloadProfiles": null, "InfrastructureResourceGroup": null, "zoneRedundant": false}}

Get via SDK

ContainerAppManagedEnvironmentResource env = client.GetContainerAppManagedEnvironmentResource(envId);

response with stacktrace
System.ArgumentException: Value cannot be an empty string. (Parameter 'resourceId')
   at Azure.Core.Argument.AssertNotNullOrEmpty(String value, String name)
   at Azure.Core.ResourceIdentifier..ctor(String resourceId)
   at Azure.ResourceManager.AppContainers.Models.ContainerAppVnetConfiguration.DeserializeContainerAppVnetConfiguration(JsonElement element)
   at Azure.ResourceManager.AppContainers.ContainerAppManagedEnvironmentData.DeserializeContainerAppManagedEnvironmentData(JsonElement element)
   at Azure.ResourceManager.AppContainers.ManagedEnvironmentsRestOperations.GetAsync(String subscriptionId, String resourceGroupName, String environmentName, CancellationToken cancellationToken)
   at Azure.ResourceManager.AppContainers.ContainerAppManagedEnvironmentResource.GetAsync(CancellationToken cancellationToken)

Environment
No response

Hi @yungezz , It's kind of expected behavior, the infrastructureSubnetId is a ResourceIdentifier type value, the value should not be empty. On the other hand, if we don't have the value while creating the resource, I sugget not to set the value, not to empty.

hi @HarveyLink the API allows empty string, so user could set value to be empty. How to prevent user from it?


Revise README.md

Resolving issue #14 suggests that the current README.md is out of date with the current API design

Thanks @atkindel.  I've assigned this to @vineetbansal

Updated README. Modified examples and their order to be clearer. Probably better for someone to read through to make sure it's clear enough.

Thanks @vineetbansal.  That looks pretty clear to me.


Added node in Backend Frameworks/Library

Added node in Backend Frameworks/Library

hey, @dhruvjain896 please resolve the PR

Hi @debrajhyper merge conflicts are resolved now.


"Dropdown" question type: implement bare bones

This question type creates a dropdown with multiple choices available. Applicants may pick one or more choices.

If we have time, we can automatically add search bars atop long dropdown lists to help filter.
Make it possible for UAT admins to create, and for applicants to fill out, questions of this type. Answers should be saved to a database. Configuration options and validation criteria aren't necessary yet.
Context: https://github.com/seattle-uat/universal-application-tool/wiki/Question-type-requirements-notes

See this wiki page to learn how to add a new question type to the codebase!


Proposal: extend taskrun.status.steps to have container name

Recently while introducing some minor changes in steps status details, it broked some functionality across CLI, Dashboard and other projects integration.
Maybe because those integration tries to extract some attributes related to the pod base on TaskRun.Status fields i.e extracting the container name from step's name for fetching the logs for TaskRun.Status.Steps.
It would be nice to extend TaskRun.Status.Step attribute to include sufficient information, so that integrations do not need to worry about the change in API internals.
Or
An alternative is to keep the container and step name same.

@hrishin Could you give more details on the sufficient information? With what kind of information do we mean having sufficient?
Per keep the container and step name same, it may resolve this issue in a straightforward way, but what if we want to retrieve information other than just container name?
To me, it is better to have a list of the fields or objects we can access the get the necessary information, instead of forcing the step name.

@houshengbo at this moment container.name is missing as part of taskrun.status.step in our experience.

Per keep the container and step name same, it may resolve this issue in a straightforward way

That's what ideally we can do it now unless there is a need to keep container name different from a step name.
However, changing this would require some form of consensus because it could break the existing integration which leverages step-prefix in order to derive container name.

but what if we want to retrieve information other than just container name?

I'm not sure if we need other fields at the moment. One such requirement is getting addressed in #1025.
@bobcatfish @vdemeester @andrew-su  @skaegi

/assign @hrishin

Per keep the container and step name same, it may resolve this issue in a straightforward way

I think the only reason these are different right now is to try to make it obvious which containers are steps and which are added by the tekton controller. I wouldn't mind changing this so that the container names and step names are the same (and maybe it would make more sense to preface the names of the containers tekton adds instead? e.g. tekton-)
But I think adding the container names to the statuses is the most future proof solution - that way we can make changes like this later with minimal impact to users :D

But I think adding the container names to the statuses is the most future proof solution - that way we can make changes like this later with minimal impact to users :D

Agreed!


HELP ! Swagger link

Hello,
Sorry for this stupid question, but I don't find the swagger link.
Can someone tell me how to open the swagger page ?
Thanks a lot

go to localhost:5001/swagger


chore: bump to php 8 to allow laravel 9

Agree!

See https://github.com/optimistdigital/nova-translations-loader/pull/12#issuecomment-1067024683


Renewal Expiry Date Issue if Account has already expired.(Agent Panel)

Description of the bug
Renewal Expiry Date Issue if Account has already expired.
To Reproduce
Steps to reproduce the behavior:

Go to 'https://www.pulseptt.com/agent.html'
Login with valid credential:- 1. User name: john 2. Password: 12345678
navigate to License Management.
Click on Update License order.
Select Order id from the drop-down menu.
Select Update type:- Renew.
See error.

Expected behavior
New Expiry Date (for Accounts with current Expiry Date < Today) = Current Date + Renewal Time.  For Others, New Expiry Date = Current Expiry Date + Renewal Time
Desktop (please complete the following information):

OS: Windows 10
Browser :Version 100.0.4896.60 (Official Build) (64-bit)
Version [0.1.1]

This Bug has not Resolved.


Requested value 'SECTION' was not found.

On importing assets from Figma into Unity using the Figma Downloader, both the branch refresh and Download button yields a
Newtonsoft.Json.JsonSerializationException: Error converting value "SECTION" to type 'Cdm.Figma.NodeType' exception.
Here is the full print out:
UnityEngine.Debug:LogError (object)
Cdm.Figma.Editor.FigmaDownloaderAssetEditor/<DownloadFilesAsync>d__26:MoveNext () (at ./Library/PackageCache/com.cdm.figma@fca65130ed/Editor/FigmaDownloaderAssetEditor.cs:248)
System.Runtime.CompilerServices.AsyncTaskMethodBuilder:SetException (System.Exception)
Cdm.Figma.Editor.FigmaDownloaderAssetEditor/<DownloadAndSaveFigmaFileAsync>d__30:MoveNext () (at ./Library/PackageCache/com.cdm.figma@fca65130ed/Editor/FigmaDownloaderAssetEditor.cs:366)
System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<Cdm.Figma.FigmaFile>:SetException (System.Exception)
Cdm.Figma.FigmaDownloader/<DownloadFileAsync>d__10:MoveNext () (at ./Library/PackageCache/com.cdm.figma@fca65130ed/Runtime/FigmaDownloader.cs:42)
System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<Cdm.Figma.FigmaFile>:SetException (System.Exception)
Cdm.Figma.FigmaDownloader/<DownloadFileAsyncInternal>d__11:MoveNext () (at ./Library/PackageCache/com.cdm.figma@fca65130ed/Runtime/FigmaDownloader.cs:106)
UnityEngine.UnitySynchronizationContext:ExecuteTasks () (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/UnitySynchronizationContext.cs:107)

I see that #72 has a similar issue, which was fixed on an update. Is this happening for anyone currently using this tool, or is it an oversight on my part?

Hi @stuurge,
It looks like Section node is new to Figma Design or we missed it.
I fixed the issue but Section node type is not supported (is not imported in Unity)
In the next version you will be able to download and import your file without any error.
As workaround, you can remove the section nodes from your Figma design.
Thanks for the report!


add BasicAuthentication for elasticsearch

for issue #417 BasicAuthentication for elasticsearch in .net core version?

i will submit pr again


exec =it bash fails

I see in the Dockerfile that you are installing bash:
The command docker exec -it containername bash results in this message:
rpc error: code = 2 desc = oci runtime error: exec failed: container_linux.go:247: starting container process caused "exec: "bash": executable file not found in $PATH"
Is there a path error of some sort?
Tom

Ok.  I see you put in bash so it could be used during the installation and then removed it.  So...I am using 'sh'


Design recommendation

Material design
Material color chooser, cdn chooser and font chooser should have a material designed select element.
What do you think @theIYD?

was kind of thinking for a while. dont worry, this goes on my todo list.
Thanks 👍


After adding a quote to cart these items cannot be deleted from cart

Actual Behavior
After adding a quote to cart the items cannot be deleted.

Expected Behavior
There is a delete button to delete cart items that are added from a quote.

Steps to Reproduce the Bug
Steps to reproduce the behavior:

Login as a b2b customer
Create a quote request and submit it
In the ICM backoffice create a quote response
Add your quote to the basket (see #947)
Go to cart: There is no delete button to remove these items, the user has to order them

Environment Details

Desktop: *

OS: [e.g. iOS]
Browser [e.g. chrome, safari], Version [e.g. 22]
Project Code Version

Smartphone: *

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari], Version [e.g. 22]
Project Code Version

Additional Context, like Screenshots, Log File Snippets etc.

AB#71909

Deleting a quote item from cart should delete also all other items of this quote.


Lightgbm-and-catboost--model

Added the the same pull request
#15
due to some technical issue arised in my branch i was showing issue so i used codespace so that i have no choice other than new branch so new pr arrived

This is the branch where i used to update the model

pls assign label and merge the code if you like it


Adding validation code for OpAccessChain.

Result Type must be an OpTypePointer. Its Type operand must be the
type reached by walking the Base’s type hierarchy down to the last
provided index in Indexes, and its Storage Class operand must be the
same as the Storage Class of Base.

Base must be a pointer, pointing to the base of a composite object.

Indexes walk the type hierarchy to the desired depth, potentially down
to scalar granularity. The first index in Indexes will select the
top-level member/element/component/element of the base composite. All
composite constituents use zero-based numbering, as described by their
OpType... instruction. The second index will apply similarly to that
result, and so on. Once any non-composite type is reached, there must
be no remaining (unused) indexes. Each of the Indexes must:

be a scalar integer type,
be an OpConstant when indexing into a structure.

Rebased, squashed, and pushed into master as bab1aad85.
Note that Travis CI Mac OSX buildbots were stalled for ~3 days.  So bypassing that check.


Xcode 8 Beta 6, Swift 3: ParameterEncoding QueryComponents Type Issue

In ParameterEncoding.queryComponents() method, value is checked against Bool (see below pasted code). But in Swift 3 if value is of type NSNumber, this check will always succeed. So even though value might contain NSNumber of value, say 25, queryComponent will always return 1.
Proposed Fix:  if let bool = value as? Bool, !(value is NSNumber)
        } else if let bool = value as? Bool {
            components.append((escape(key), escape((bool ? "1" : "0"))))
        } else {
            components.append((escape(key), escape("\(value)")))
        }

Issue has been fixed in 72958d0e.


URL for Windows challenge

Hi @MohammadYounes. Is it possible to have a URL that launches the Windows challenge popup? Or have the [Windows] button display? Thanks.

Hi,
You can add this to account controller:
[AllowAnonymous]
public ActionResult WindowsLogin(string returnUrl)
{
    return new ChallengeResult("Windows", Url.Action("ExternalLoginCallback", "Account", new { ReturnUrl = returnUrl }));
}

Thanks.


Feature Request: Be able to specify files to download in like an text file

You can already use the -files=... parameter to selectively download files. Is there any use case where this is not enough?

well it would take forever to choose the files then

The feature is intended to be used if you only want to download a few files. Why'd you want to download a lot of files, but not all?

The feature is intended to be used if you only want to download a few files. Why'd you want to download a lot of files, but not all?

idk


Fix wrong apksigner extension problem

https://github.com/appium/appium-adb/pull/277 related commit.
I found still apksigner.bat.exe  is called on Windows due to systemCallMethods.getBinaryNameForOS logic, and I confirmed this fix called apksigner.bat correctly on my Windows PC.

Thanks, I'll add it to https://github.com/appium/appium-adb/pull/277


Feature request: Add categories to article list columns

Many feeds supply <category>foo</category> elements for categories/tags that apply to the articles.  It'd be great if these could be displayed (comma separated?) as a column that can be displayed alongside the article subject, author, date, etc.

Still want


add a new job template to just build the master branch, and setup alm…

…ighty core
this will allow us to validate master, on demand, and trigger downstream tasks like promote-to-deploy etc

validates on the cli, merging based on that ( since I dont have any other way to test this atm )


VI Events plugin bug

Hello.
I've detected that "23 VI Events.ps1" plugin doesn't actually do what it is supposed.
This plugin makes use of Get-VIEventPlus function, implemented on "00 Connection Plugin for vCenter.ps1" plugin. This function accepts a "EventType", which is an "event" (like "VmCloneFailedEvent") and not a "Category" (like "error").
The purpose of "23 VI Events.ps1" plugin is to provide error events, by calling the function and pass a "Category" of "error". That's exactly what you pass, but has explained, that's not what the function admits.
The result is that no Error events are displayed.
My fix was to implement an extra argument called "EventCat" on the function Get-VIEventPlus, and incorporate it on the "EventFilterSpec" object, for "Category" filtering, and then change the plugin and call the function passing the same "error" string but for the argument "EventCat" and not the "EventType".
The report now shows a table with vCenter error events.
Even though, on the vCenter web console I can still see vCenter error events that aren't being displayed on the report, which is odd. Plus, I'd like to have more error events listed, transversely to all vSphere items like VMs, storages, etc etc, but the existing plugins only report Windows vCenter error events and not the vCenter virtual appliance error events, like we use. But this is another story.
Anyway, congrats for such report and thank you all for such work.

Thanks for reporting that issue, and your solution.
Why don't you submit your solution as a PR?

Hi Luc!
I see the point. It's just that I don't really know how to do it, I don't even have Git installed on the computer. But I can send you the changed files some way, so you can submit the changes.
Thank you.


Animation Name:  Loaders

Description : 10 different type of loaders that can used in  wesite and web game

### screenshot section


[CARBONDATA-2369] Add a document for Non Transactional table with SDK writer guide

[CARBONDATA-2369] Add a document for Non Transactional table with SDK writer guide
As per PR#2131 [CARBONDATA-2313]
Be sure to do all of the following checklist to help us incorporate
your contribution quickly and easily:

[ ] Any interfaces changed? No

[ ] Any backward compatibility impacted? No

[ ] Document update required? yes, updated

[ ] Testing done -- NA

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/5239/

LGTM

retest this please

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/4190/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/4195/

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/4506/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/5354/

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/4518/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/4213/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/5380/

LGTM

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/4226/

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/4532/


Feat/adding bill metrics

Added new metrics github_workflow_usage :
# HELP github_workflow_usage Number of billable seconds used by a specific workflow during the current billing cycle. Any job re-runs are also included in the usage. Only apply to workflows in private repositories that use GitHub-hosted runners.
# TYPE github_workflow_usage gauge
github_workflow_usage_seconds{id="2862037",name="Create Release",node_id="MDg6V29ya2Zsb3cyODYyMDM3",repo="xxx/xxx",state="active",os="MACOS"} 0
github_workflow_usage_seconds{id="2862037",name="Create Release",node_id="MDg6V29ya2Zsb3cyODYyMDM3",repo="xxx/xxx",state="active",os="UBUNTU"} 706.609
github_workflow_usage_seconds{id="2862037",name="Create Release",node_id="MDg6V29ya2Zsb3cyODYyMDM3",repo="xxx/xxx",state="active",os="WINDOWS"} 7193.223

@Labbs I added some metrics, I was thinking to add as well in the future pagination support and at least an histogram reporting the time taken by the jobs to run. What do you think?

The pagination against which metrics?
Otherwise to add more metrics, no worries.

As far as I understand currently the exporter is fetching data without dealing with pagination, therefore if there are too many jobs or runs those will be not fetched.
The GitHub API provides a vast wealth of information for developers to consume. Most of the time, you might even find that you're asking for too much information, and in order to keep our servers happy, the API will automatically paginate the requested items.

ah yes exact. I just tested and the API returns 25 runs (for +16k runs).
The max result per page is 100.
The paginate option is limited to a part of API:

list runs
list runners
list workflows
list workflow runs
list jobs


[T3A4][T09-A1]GaryGoh

@garygjy   Some comments added. Please close the PR after reading comments.


Not able to install Pyfhel module in Windows 10

Description
I am trying to install Pyfhel module in Windows 10 laptop but I am facing some error.
Setup:

OS: Windows10
Python: Python 3.11.3
C compiler version: [MSC v.1934 64 bit (AMD64)]
Pyfhel Version: 3.4.2

Error (output when I used pip install Pyfhel):
Collecting Pyfhel
Using cached Pyfhel-3.4.2.tar.gz (1.0 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [61 lines of output]
Compiling Pyfhel\Pyfhel.pyx because it changed.
Compiling Pyfhel\PyCtxt.pyx because it changed.
Compiling Pyfhel\PyPtxt.pyx because it changed.
Compiling Pyfhel\PyPoly.pyx because it changed.
[1/4] Cythonizing Pyfhel\PyCtxt.pyx
[2/4] Cythonizing Pyfhel\PyPoly.pyx
[3/4] Cythonizing Pyfhel\PyPtxt.pyx
[4/4] Cythonizing Pyfhel\Pyfhel.pyx
running egg_info
writing Pyfhel.egg-info\PKG-INFO
writing dependency_links to Pyfhel.egg-info\dependency_links.txt
writing requirements to Pyfhel.egg-info\requires.txt
writing top-level names to Pyfhel.egg-info\top_level.txt
cimporting numpy version '1.26.4'
reading manifest file 'Pyfhel.egg-info\SOURCES.txt'
Traceback (most recent call last):
File "C:\Users\hp\OneDrive\Desktop\private-major-menu-based-main\venv\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 353, in
main()
File "C:\Users\hp\OneDrive\Desktop\private-major-menu-based-main\venv\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\hp\OneDrive\Desktop\private-major-menu-based-main\venv\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\hp\AppData\Local\Temp\pip-build-env-onxdkfj7\overlay\Lib\site-packages\setuptools\build_meta.py", line 177, in get_requires_for_build_wheel
return self._get_build_requires(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\hp\AppData\Local\Temp\pip-build-env-onxdkfj7\overlay\Lib\site-packages\setuptools\build_meta.py", line 159, in get_build_requires
self.run_setup()
File "C:\Users\hp\AppData\Local\Temp\pip-build-env-onxdkfj7\overlay\Lib\site-packages\setuptools\build_meta.py", line 174, in run_setup
exec(compile(code, file, 'exec'), locals())
File "setup.py", line 666, in
setup(
File "C:\Users\hp\AppData\Local\Temp\pip-build-env-onxdkfj7\overlay\Lib\site-packages\setuptools_init.py", line 155, in setup
return distutils.core.setup(**attrs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\hp\AppData\Local\Temp\pip-build-env-onxdkfj7\overlay\Lib\site-packages\setuptools_distutils\core.py", line 148, in setup
return run_commands(dist)
^^^^^^^^^^^^^^^^^^
File "C:\Users\hp\AppData\Local\Temp\pip-build-env-onxdkfj7\overlay\Lib\site-packages\setuptools_distutils\core.py", line 163, in run_commands
dist.run_commands()
File "C:\Users\hp\AppData\Local\Temp\pip-build-env-onxdkfj7\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 967, in run_commands
self.run_command(cmd)
File "C:\Users\hp\AppData\Local\Temp\pip-build-env-onxdkfj7\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 986, in run_command
cmd_obj.run()
File "C:\Users\hp\AppData\Local\Temp\pip-build-env-onxdkfj7\overlay\Lib\site-packages\setuptools\command\egg_info.py", line 298, in run
self.find_sources()
File "C:\Users\hp\AppData\Local\Temp\pip-build-env-onxdkfj7\overlay\Lib\site-packages\setuptools\command\egg_info.py", line 305, in find_sources
mm.run()
File "C:\Users\hp\AppData\Local\Temp\pip-build-env-onxdkfj7\overlay\Lib\site-packages\setuptools\command\egg_info.py", line 540, in run
self.add_defaults()
File "C:\Users\hp\AppData\Local\Temp\pip-build-env-onxdkfj7\overlay\Lib\site-packages\setuptools\command\egg_info.py", line 584, in add_defaults
self.read_manifest()
File "C:\Users\hp\AppData\Local\Temp\pip-build-env-onxdkfj7\overlay\Lib\site-packages\setuptools\command\sdist.py", line 195, in read_manifest
self.filelist.append(line)
File "C:\Users\hp\AppData\Local\Temp\pip-build-env-onxdkfj7\overlay\Lib\site-packages\setuptools\command\egg_info.py", line 482, in append
path = convert_path(item)
^^^^^^^^^^^^^^^^^^
File "C:\Users\hp\AppData\Local\Temp\pip-build-env-onxdkfj7\overlay\Lib\site-packages\setuptools_distutils\util.py", line 128, in convert_path
raise ValueError("path '%s' cannot be absolute" % pathname)
ValueError: path '/Users/alberto.ibarrondo/Technocracy/workspace/Pyfhel/Pyfhel/Afhel/Afseal.cpp' cannot be absolute
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.

Hmmm, this is a new one. In the meantime, you can install it in your system using WSL

Ok

bump.
unable to install on windows 11 for py 3.9, 3.10, 3.11

`  Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [55 lines of output]
Compiling Pyfhel\Pyfhel.pyx because it changed.
Compiling Pyfhel\PyCtxt.pyx because it changed.
Compiling Pyfhel\PyPtxt.pyx because it changed.
Compiling Pyfhel\PyPoly.pyx because it changed.
[1/4] Cythonizing Pyfhel\PyCtxt.pyx
[2/4] Cythonizing Pyfhel\PyPoly.pyx
[3/4] Cythonizing Pyfhel\PyPtxt.pyx
[4/4] Cythonizing Pyfhel\Pyfhel.pyx
running egg_info
writing Pyfhel.egg-info\PKG-INFO
writing dependency_links to Pyfhel.egg-info\dependency_links.txt
writing requirements to Pyfhel.egg-info\requires.txt
writing top-level names to Pyfhel.egg-info\top_level.txt
cimporting numpy version '1.24.4'
reading manifest file 'Pyfhel.egg-info\SOURCES.txt'
Traceback (most recent call last):
File "D:\anaconda\envs\pycrcnn\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 353, in
main()
File "D:\anaconda\envs\pycrcnn\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "D:\anaconda\envs\pycrcnn\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
File "C:\Users\61431\AppData\Local\Temp\pip-build-env-5fh2mzvk\overlay\Lib\site-packages\setuptools\build_meta.py", line 177, in get_requires_for_build_
wheel
return self._get_build_requires(
File "C:\Users\61431\AppData\Local\Temp\pip-build-env-5fh2mzvk\overlay\Lib\site-packages\setuptools\build_meta.py", line 159, in get_build_requires
self.run_setup()
File "C:\Users\61431\AppData\Local\Temp\pip-build-env-5fh2mzvk\overlay\Lib\site-packages\setuptools\build_meta.py", line 174, in run_setup
exec(compile(code, file, 'exec'), locals())
File "setup.py", line 666, in
setup(
File "C:\Users\61431\AppData\Local\Temp\pip-build-env-5fh2mzvk\overlay\Lib\site-packages\setuptools_init.py", line 155, in setup
return distutils.core.setup(**attrs)
File "C:\Users\61431\AppData\Local\Temp\pip-build-env-5fh2mzvk\overlay\Lib\site-packages\setuptools_distutils\core.py", line 148, in setup
return run_commands(dist)
File "C:\Users\61431\AppData\Local\Temp\pip-build-env-5fh2mzvk\overlay\Lib\site-packages\setuptools_distutils\core.py", line 163, in run_commands
dist.run_commands()
File "C:\Users\61431\AppData\Local\Temp\pip-build-env-5fh2mzvk\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 967, in run_commands
self.run_command(cmd)
File "C:\Users\61431\AppData\Local\Temp\pip-build-env-5fh2mzvk\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 986, in run_command
cmd_obj.run()
File "C:\Users\61431\AppData\Local\Temp\pip-build-env-5fh2mzvk\overlay\Lib\site-packages\setuptools\command\egg_info.py", line 298, in run
self.find_sources()
File "C:\Users\61431\AppData\Local\Temp\pip-build-env-5fh2mzvk\overlay\Lib\site-packages\setuptools\command\egg_info.py", line 305, in find_sources
mm.run()
File "C:\Users\61431\AppData\Local\Temp\pip-build-env-5fh2mzvk\overlay\Lib\site-packages\setuptools\command\egg_info.py", line 540, in run
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
`

`  Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [55 lines of output]
Compiling Pyfhel\Pyfhel.pyx because it changed.
Compiling Pyfhel\PyCtxt.pyx because it changed.
Compiling Pyfhel\PyPtxt.pyx because it changed.
Compiling Pyfhel\PyPoly.pyx because it changed.
[1/4] Cythonizing Pyfhel\PyCtxt.pyx
[2/4] Cythonizing Pyfhel\PyPoly.pyx
[3/4] Cythonizing Pyfhel\PyPtxt.pyx
[4/4] Cythonizing Pyfhel\Pyfhel.pyx
running egg_info
writing Pyfhel.egg-info\PKG-INFO
writing dependency_links to Pyfhel.egg-info\dependency_links.txt
writing requirements to Pyfhel.egg-info\requires.txt
writing top-level names to Pyfhel.egg-info\top_level.txt
cimporting numpy version '1.24.4'
reading manifest file 'Pyfhel.egg-info\SOURCES.txt'
Traceback (most recent call last):
File "D:\anaconda\envs\pycrcnn\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 353, in
main()
File "D:\anaconda\envs\pycrcnn\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "D:\anaconda\envs\pycrcnn\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
File "C:\Users\61431\AppData\Local\Temp\pip-build-env-5fh2mzvk\overlay\Lib\site-packages\setuptools\build_meta.py", line 177, in get_requires_for_build_
wheel
return self._get_build_requires(
File "C:\Users\61431\AppData\Local\Temp\pip-build-env-5fh2mzvk\overlay\Lib\site-packages\setuptools\build_meta.py", line 159, in get_build_requires
self.run_setup()
File "C:\Users\61431\AppData\Local\Temp\pip-build-env-5fh2mzvk\overlay\Lib\site-packages\setuptools\build_meta.py", line 174, in run_setup
exec(compile(code, file, 'exec'), locals())
File "setup.py", line 666, in
setup(
File "C:\Users\61431\AppData\Local\Temp\pip-build-env-5fh2mzvk\overlay\Lib\site-packages\setuptools_init.py", line 155, in setup
return distutils.core.setup(**attrs)
File "C:\Users\61431\AppData\Local\Temp\pip-build-env-5fh2mzvk\overlay\Lib\site-packages\setuptools_distutils\core.py", line 148, in setup
return run_commands(dist)
File "C:\Users\61431\AppData\Local\Temp\pip-build-env-5fh2mzvk\overlay\Lib\site-packages\setuptools_distutils\core.py", line 163, in run_commands
dist.run_commands()
File "C:\Users\61431\AppData\Local\Temp\pip-build-env-5fh2mzvk\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 967, in run_commands
self.run_command(cmd)
File "C:\Users\61431\AppData\Local\Temp\pip-build-env-5fh2mzvk\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 986, in run_command
cmd_obj.run()
File "C:\Users\61431\AppData\Local\Temp\pip-build-env-5fh2mzvk\overlay\Lib\site-packages\setuptools\command\egg_info.py", line 298, in run
self.find_sources()
File "C:\Users\61431\AppData\Local\Temp\pip-build-env-5fh2mzvk\overlay\Lib\site-packages\setuptools\command\egg_info.py", line 305, in find_sources
mm.run()
File "C:\Users\61431\AppData\Local\Temp\pip-build-env-5fh2mzvk\overlay\Lib\site-packages\setuptools\command\egg_info.py", line 540, in run
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
`

`  Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [55 lines of output]
Compiling Pyfhel\Pyfhel.pyx because it changed.
Compiling Pyfhel\PyCtxt.pyx because it changed.
Compiling Pyfhel\PyPtxt.pyx because it changed.
Compiling Pyfhel\PyPoly.pyx because it changed.
[1/4] Cythonizing Pyfhel\PyCtxt.pyx
[2/4] Cythonizing Pyfhel\PyPoly.pyx
[3/4] Cythonizing Pyfhel\PyPtxt.pyx
[4/4] Cythonizing Pyfhel\Pyfhel.pyx
running egg_info
writing Pyfhel.egg-info\PKG-INFO
writing dependency_links to Pyfhel.egg-info\dependency_links.txt
writing requirements to Pyfhel.egg-info\requires.txt
writing top-level names to Pyfhel.egg-info\top_level.txt
cimporting numpy version '1.24.4'
reading manifest file 'Pyfhel.egg-info\SOURCES.txt'
Traceback (most recent call last):
File "D:\anaconda\envs\pycrcnn\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 353, in
main()
File "D:\anaconda\envs\pycrcnn\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "D:\anaconda\envs\pycrcnn\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
File "C:\Users\61431\AppData\Local\Temp\pip-build-env-5fh2mzvk\overlay\Lib\site-packages\setuptools\build_meta.py", line 177, in get_requires_for_build_
wheel
return self._get_build_requires(
File "C:\Users\61431\AppData\Local\Temp\pip-build-env-5fh2mzvk\overlay\Lib\site-packages\setuptools\build_meta.py", line 159, in get_build_requires
self.run_setup()
File "C:\Users\61431\AppData\Local\Temp\pip-build-env-5fh2mzvk\overlay\Lib\site-packages\setuptools\build_meta.py", line 174, in run_setup
exec(compile(code, file, 'exec'), locals())
File "setup.py", line 666, in
setup(
File "C:\Users\61431\AppData\Local\Temp\pip-build-env-5fh2mzvk\overlay\Lib\site-packages\setuptools_init.py", line 155, in setup
return distutils.core.setup(**attrs)
File "C:\Users\61431\AppData\Local\Temp\pip-build-env-5fh2mzvk\overlay\Lib\site-packages\setuptools_distutils\core.py", line 148, in setup
return run_commands(dist)
File "C:\Users\61431\AppData\Local\Temp\pip-build-env-5fh2mzvk\overlay\Lib\site-packages\setuptools_distutils\core.py", line 163, in run_commands
dist.run_commands()
File "C:\Users\61431\AppData\Local\Temp\pip-build-env-5fh2mzvk\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 967, in run_commands
self.run_command(cmd)
File "C:\Users\61431\AppData\Local\Temp\pip-build-env-5fh2mzvk\overlay\Lib\site-packages\setuptools_distutils\dist.py", line 986, in run_command
cmd_obj.run()
File "C:\Users\61431\AppData\Local\Temp\pip-build-env-5fh2mzvk\overlay\Lib\site-packages\setuptools\command\egg_info.py", line 298, in run
self.find_sources()
File "C:\Users\61431\AppData\Local\Temp\pip-build-env-5fh2mzvk\overlay\Lib\site-packages\setuptools\command\egg_info.py", line 305, in find_sources
mm.run()
File "C:\Users\61431\AppData\Local\Temp\pip-build-env-5fh2mzvk\overlay\Lib\site-packages\setuptools\command\egg_info.py", line 540, in run
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
`

curious why that value is hardcoded :
File "C:\Users\admin\AppData\Local\Temp\pip-build-env-m7l7tcdu\overlay\Lib\site-packages\setuptools_distutils\util.py", line 128, in convert_path
raise ValueError("path '%s' cannot be absolute" % pathname)
ValueError: path '/Users/alberto.ibarrondo/Technocracy/workspace/Pyfhel/Pyfhel/Afhel/Afseal.cpp' cannot be absolute
[end of output]


[Enhancement][opensearch] tpl function for securityconfig.yaml

add tpl function to render securityconfig.yaml
{{- range $key, $val := .Values.securityConfig.config.data }}
  {{ $key }}: |
    {{- $val | nindent 4 }}

change to
    {{- tpl $val | nindent 4 }}

like in configmap.yaml

Hey @itshikanov can you add some details on what issue was occurred with existing implementation? Also please feel free to raise a PR.
Thank you

I can try working on this issue @prudhvigodithi


feat(formatter): accept input from stdin

Resolves #1096. This PR makes it possible for the formatter to take input from stdin and emit formatted text into stdout (unless --check is specified, of course).
However, to make this work, I had to make some additional changes:

The original code prints to stdout for progress when verbosity is set, but this can interfere with the formatted code output. I changed them to all use stderr. The official man page states that stderr can be used for diagnostics not just errors:
$ man stderr
---- SNIP ----
Under  normal  circumstances  every  UNIX  program has three streams opened for it when it starts up, one for input, one for output, and one for printing diagnostic or error messages.
---- SNIP ----

In fact, curl always sends the progress to stderr since it needs to output to stdout. We have the exact same issue here. So I changed it. Only the diff (when --check is used) and the formatted text can get on stdout now.

I couldn't reuse the format_file code since it calls a function get_syntax_root_and_diagnostics_from_file() that's exclusive for reading from files. I had to make another almost-identical function for formatting &str, causing code duplication.

At this point I figured I might just do a bit more refactoring to clean it up. So I did these too:

I abstracted away the input source (and thus output target) with an Input type, and refactored the format_file() code to use it;

I created more readable/maintainable return types FormatResult and FormatError instead of just returning bool.

It looks like I made more changes than strictly necessary. So that's a brief explaination for that. I hope you forgive me for rewriting almost the whole file.

This change is

OK it looks like you guys have additional clippy lints enabled. Lemme fix that up real quick.

OK CI happy now :)

I'm pretty sure you meant the "squash and merge" option on GitHub. But just in case, there's no action needed from my side right?


⚠ GitLab Server has degraded performance

In ae1ad16, GitLab Server (https://gitlab01.its-telekom.eu) experienced degraded performance:

HTTP code: 200
Response time: 11489 ms

Resolved: GitLab Server performance has improved in 91854b0.


How does rails-assets behaves with dipendences?

My Gemfile is like this:
source 'https://rails-assets.org' do
  gem 'rails-assets-angular-isotope'
end

What should I require in my application.js? Only angular-isotope or also all it's dipendences?
Including only angular-isotope returns javascript errors at startup (like it's not including some...)

They will be required as rubygems and available in Sprocket's load path, but you need to require each dependency individually. This is because bower packages often have invalid/extra dependencies set.
So the answer is:

Check on what angular-isotope depends on with bundle list
Add those dependencies in correct order in application.js


Add release notes for march 2024 release

All changed packages have been documented.

You can try these changes at https://cadlplayground.z22.web.core.windows.net/prs/2986/
Check the website changes at https://tspwebsitepr.z22.web.core.windows.net/prs/2986/


[Notes] AttributeError: 'NoneType' object has no attribute 'id'

Traceback:
Exception during loading of package
Traceback (most recent call last):
  File "C:\Users\User\T.D.L\lib\site-packages\redbot\core\core_commands.py", line 172, in _load
    await bot.load_extension(spec)
  File "C:\Users\User\T.D.L\lib\site-packages\redbot\core\bot.py", line 1561, in load_extension
    await lib.setup(self)
  File "C:\Users\User\AppData\Local\Red-DiscordBot\Red-DiscordBot\data\tdl\cogs\CogManager\cogs\notes\__init__.py", line 11, in setup
    cog = await Notes.initialize(bot)
  File "C:\Users\User\AppData\Local\Red-DiscordBot\Red-DiscordBot\data\tdl\cogs\CogManager\cogs\notes\notes.py", line 80, in initialize
    await self.to_cache()
  File "C:\Users\User\AppData\Local\Red-DiscordBot\Red-DiscordBot\data\tdl\cogs\CogManager\cogs\notes\notes.py", line 52, in to_cache
    guild.id: {
AttributeError: 'NoneType' object has no attribute 'id'

Anyways, sorry for another Issue today 😓

Should be fixed by 17d4a73be7f0a78d40b138865911b141df5f9b45


assignment not respecting RHS signedness

I'm using nmigen commit 69ed4918b8b9fc8617064bbfacb92feb720006f2
I expect nmigen to behave more like most other programming languages in that when converting from a smaller RHS type to a larger LHS type, the sign/zero extension is decided based on the RHS. The expected behavior matches what was decided for #464
Code:
from nmigen import Signal, Module, signed, unsigned, Const
from nmigen.sim import Simulator, Delay

m = Module()
inp = Signal(unsigned(8))
out = Signal(unsigned(16))

m.d.sync += out.eq(inp.as_signed())

sim = Simulator(m)

sim.add_clock(1e-6)

def process():
    yield inp.eq(0xFF)
    yield
    yield
    inp_v = yield inp
    expected = Const.normalize(inp_v, signed(8))
    expected = Const.normalize(expected, unsigned(16))
    out_v = yield out
    print(hex(inp_v), hex(expected), hex(out_v))
    assert expected == out_v

sim.add_sync_process(process)
sim.run()

Output:
0xff 0xffff 0xff
Traceback (most recent call last):
  File "nmigen-bug.py", line 26, in <module>
    sim.run()
  File "/home/jacob/projects/libreriscv/nmigen/nmigen/sim/core.py", line 165, in run
    while self.advance():
  File "/home/jacob/projects/libreriscv/nmigen/nmigen/sim/core.py", line 156, in advance
    return self._engine.advance()
  File "/home/jacob/projects/libreriscv/nmigen/nmigen/sim/pysim.py", line 315, in advance
    self._step()
  File "/home/jacob/projects/libreriscv/nmigen/nmigen/sim/pysim.py", line 304, in _step
    process.run()
  File "/home/jacob/projects/libreriscv/nmigen/nmigen/sim/_pycoro.py", line 123, in run
    self.coroutine.throw(exn)
  File "/home/jacob/projects/libreriscv/nmigen/nmigen/sim/_pycoro.py", line 64, in run
    command = self.coroutine.send(response)
  File "/home/jacob/projects/libreriscv/nmigen/nmigen/sim/core.py", line 90, in wrapper
    yield from process()
  File "nmigen-bug.py", line 23, in process
    assert expected == out_v
AssertionError

Expected output:
0xff 0xffff 0xffff

@programmerjake I believe this is actually a sim/synth mismatch, since it translates to the following Verilog:
module top(inp);
  wire [15:0] \$1 ;
  input [7:0] inp;
  wire [15:0] out;
  assign \$1  = + $signed(inp);
  assign out = \$1 ;
endmodule


Saving and Loading Model

Hello,
Thank you for your wonderful work on this model!  Very interesting.  I'm working to save and then load the model for future evaluations.
Considering Keras' guide on saving/loading here:
https://keras.io/getting-started/faq/#how-can-i-save-a-keras-model
I've tried this code:
from keras.models import load_model
model.save('my_model.h5')
model_loaded = load_model('my_model.h5')

But I get the following error:
Traceback (most recent call last):
  File "/home/python/envs/python3.6/lib/python3.6/site-packages/IPython/core/interactiveshell.py", line 2881, in run_code
    exec(code_obj, self.user_global_ns, self.user_ns)
  File "<ipython-input-124-9911263901fe>", line 1, in <module>
    model2 = load_model('my_model.h5')
  File "/home/python/envs/python3.6/lib/python3.6/site-packages/keras/models.py", line 243, in load_model
    model = model_from_config(model_config, custom_objects=custom_objects)
  File "/home/python/envs/python3.6/lib/python3.6/site-packages/keras/models.py", line 317, in model_from_config
    return layer_module.deserialize(config, custom_objects=custom_objects)
  File "/home/python/envs/python3.6/lib/python3.6/site-packages/keras/layers/__init__.py", line 55, in deserialize
    printable_module_name='layer')
  File "/home/python/envs/python3.6/lib/python3.6/site-packages/keras/utils/generic_utils.py", line 143, in deserialize_keras_object
    list(custom_objects.items())))
  File "/home/python/envs/python3.6/lib/python3.6/site-packages/keras/models.py", line 1353, in from_config
    model.add(layer)
  File "/home/python/envs/python3.6/lib/python3.6/site-packages/keras/models.py", line 492, in add
    output_tensor = layer(self.outputs[0])
  File "/home/python/envs/python3.6/lib/python3.6/site-packages/keras/engine/topology.py", line 617, in __call__
    output = self.call(inputs, **kwargs)
  File "/home/python/envs/python3.6/lib/python3.6/site-packages/keras/layers/core.py", line 663, in call
    return self.function(inputs, **arguments)
  File "/home/python/envs/python3.6/lib/python3.6/site-packages/wtte/wtte.py", line 85, in output_lambda
    a, b = _keras_unstack_hack(x)
NameError: name '_keras_unstack_hack' is not defined

Which I find strange because the function _keras_unstack_hack clearly exists in the wtte.py.
I'm running Ubuntu 16.04.3 and Python 3.6, with Keras v 2.1.3.

Alas, I should always check if updating fixes it.  I updated through pip install wtte --ignore-installed and now it's working.  I'll close and leave this bug as reference for others. Thanks again!

Sorry for all the comments. Still getting the above error.  Reinstalling seemed to work, then fail after rebooting.

Hi thank you I'm glad you appreciate it!
See  #8749, basically, keras can't save custom layers it's not wtte-specific. Saving weights is fine, just create do model.save_weights(path) and  run the same script you used to create the model before model.load_weights(path).
I'm sure there's other pickling-options but I haven't tried good luck!

Thanks for the response.
I see how to do it now.  I didn't see that Keras issue, thanks for pointing it out.  I'll close this issue.


dice_coefficient supports single character strings

Found a failure when finding the dice coefficient of two single character strings,
which produces a result of NaN.

good catch, thanks!

Could you please bump the version of the package?
As of right now, npm update gets me version 0.2.1,
which doesn't contain this fix.
Or perhaps I need to do something else?
I modified my package.json to include:
        "natural": "0.2.x",

then I ran:
npm update natural

I was able to get the version with my update by modifying my package.json to reference the commit ID:
        "natural": "NaturalNode/natural#053c79c302",

sorry for the delay on this guys will try to bump it soon just trying to pack a few more things it to the next patch


[Feature Request] save symbol as well in gluon

I start to use gluon but I found it cannot save the model into the symbol file. Is it possible to implement this function?

Only hybridblock can be serialized to symbol. Normal blocks can only be pickled

how to serialize hybridblock?

you can call the .save_params() function on it.

Yes. I tried .save_params() function, it only saves the params. I cannot find the symbol file :(.

@ShownX ah sorry for missing that. To get the symbol out of a block, just feed the block with a symbol of the intended put variable. Something like block(sym.Variable('data')) and then you can use symbol.save.

Suppose I wrote the following code:
net = gluon.nn.HybridSwquential()
net.add(gluon.nn.Dense(512))

Is it possible to save net definition to a symbol file? I cannot find the API like you said above. What I only find is net.save_params() to save weights.

You can call net(mx.sym.Variable('data')) and the returned value is a symbol, with which you can save with the symbol API.

I see. Thanks.


The in-source testing doesn't works with the sfc

Describe the bug
//App.vue
<script setup lang="ts">
function add(...args: number[]) {
  return args.reduce((a, b) => a + b, 0);
}

if (import.meta.vitest) {
  const { it, expect } = import.meta.vitest;
  it("add", () => {
    expect(add()).toBe(0);
    expect(add(1)).toBe(1);
    expect(add(1, 2, 3)).toBe(6);
  });
}
</script>

// Terminal
 FAIL  src/App.vue [ src/App.vue ]
Error: Failed to parse source for import analysis because the content contains invalid JS syntax. Install @vitejs/plugin-vue to handle .vue files.

Reproduction

// vitest.config.ts
import { defineConfig } from "vitest/config";

export default defineConfig({
  define: {
    "import.meta.vitest": "undefined",
  },
  test: {
    includeSource: ["src/**/*.{js,ts,jsx,tsx,vue}"],
  },
});

System Info
System:
    OS: Windows 10 10.0.22000
    CPU: (16) x64 Intel(R) Core(TM) i7-10870H CPU @ 2.20GHz
    Memory: 5.87 GB / 15.83 GB
  Binaries:
    Node: 18.2.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.19 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 8.12.2 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Spartan (44.22000.120.0), Chromium (103.0.1264.37)
    Internet Explorer: 11.0.22000.120
  npmPackages:
    vitest: ^0.16.0 => 0.16.0

Used Package Manager
pnpm
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

I tried using the official vue initial project, it work. I think it is astro's problem
Should I close this issue?

I think you are trying to ask a question. This is not a place for that. If you need help with setting up, please join Discord or ask in Discussions


Fix rubitrack 4.3.5

Thanks @adidalal for #26938; I missed the fact that rubiTrack was already updated again.
The app name of rubiTrack has ' Pro' suffix since version 4. Without it, the cask doesn't install properly (which would have been also the case for my PR #26937).

If there’s a checkbox you can’t complete for any reason, that's okay, just explain in detail why you weren’t able to do so.
After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} reports no offenses.
[x] The commit message includes the cask’s name and version.

Thanks @adidalal and @vitorgalvao - that was quick! 👏


Export raw PCAP

Current:

Exporting PCAP content is available via the dashboard and scripting, only for L4 streams that include dissected messages.
L4 streams that do not include dissected messages are discarded.

Required:

Provide a way to to export raw PCAP content
PCAP content may include L4 streams with no dissected messages (e.g. encrypted, SSH, Telnet, other)
PCAP content that can be viewed in Wireshark or analyzed by network detection systems
There should be a way to consolidate all PCAP files from all Workers

One option for a solution would include:

Before master.pcap restarts, copy it with a temporary name (e.g. previous_master.pcap)
Trigger a hook that includes the path to the latest copy of the master.pcap file before it was restarted (e.g. previous_master.pcap)
Assumption: Helper operation will end before a new previous_master.pcap file is generated
To consolidate all PCAPs, we can use the same approach we use with --pcap docker mode, where we download all files, use Kuebsahrk's dashboard to view (whatever can be dissected) and use the PCAP save functionality to save the consolidated PCAP to disk, assuming it will not discard any PCAP content.

This feature request is based on several conversations, including this one: https://kubeshark.slack.com/archives/C04BNKU5SNM/p1689863019963849

Not relevant anymore


Correct process for properly importing large number of user accounts

I am porting 800k user accounts from an old mysql database into a postgresql database with clearance.
My original approach for this was to iterate over each account and create a new user from inside of Rails. This seemed to work, but was extremely slow (several days).
My new approach is to export the data from mysql to a csv, then import it using postgres's COPY FROM. This is much faster (several minutes), but two of the columns are problematic.
Setting both 'encrypted_password' and 'remember_token' were being handled for me in the slow approach, but I'm not sure what to do for them in the new one.
Is there some safe default value I can give these that won't be a security issue?
For the 'encrypted_password', it doesn't need to match their old password. I am handling authentication with old passwords using a different scheme until they log in once, in which case it will update 'encrypted_password' and start using that. So really I don't even want this to be functional until it has been overwritten.
Sorry for the long winded question - I know just enough about security to know that I should seek advice from more experienced people.

Can't give a detailed answer right now but instead some hints:

Set the encrypted_password to a valid string but invalid encrypted password during the COPY FROM.
Set remember_token to the empty string.
After the users are in, resetting their password will set these correctly.

All that said, this is just changing the DBMS. You could continue to use the existing data as-is without resetting it. You can change the password strategy in Clearance to whichever you need (the default is bcrypt).

Sorry again that I can't give a more detailed response right now. Let me know if this sets you in a right direction, or whether I misunderstood entirely

That's perfect! I wasn't sure if it was safe to use things like the empty string for the remember_token.
I didn't want to keep using our old password strategy, as it is dated and insecure - we want to transition to a new system ASAP.
For an invalid bcrypt password:
https://en.wikipedia.org/wiki/Bcrypt#Versioning_History
From this, it sounds like as long as I don't start the encrypted_password field with $, it should properly not function, since all hashes start with a $ symbol to identify the algorithm.
So I guess the empty string would work here, too?
Thanks again!

Empty should work, yup!
Note that I haven't tried this, so please report back on how it goes.

Closing on assumption that this approach helped you, feel free to re-open if not.


Cleaned up commented out code

Hello!
We are currently testing a bot that automatically refactors SonarQube issues (https://github.com/Refactoring-Bot/Refactoring-Bot). We would like to collect some data on the acceptance rate of automated refactorings. This is an automated pull request created by the bot, it will not be able to react to comments. Please accept or deny this pull request, based on its usefulness. If you decide to reject it, please briefly describe your reason (e.g. false positive). Regardless of your decision, we will not send you any further requests. Thank you!
Best regards,
Justin Kissling

Thanks for the feedback! :)


⚠ Bofrost.es has degraded performance

In 57d0876, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1589 ms

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


Doc: Correct/clarify when set_local_parent() is required and when not

Before starting a LocalSpan, a scope of parent span should be set using Span::set_local_parent(). Use LocalSpan::enter_with_local_parent() to start a LocalSpan, and then, it will become the new local parent.

If no local parent is set, the enter_with_local_parent() will do nothing.

However, the asynronous example does not invoke Span::set_local_parent(), and yet it works i.e. does not 'do nothing'.

It's because in_span does set the local parent for the inner future:

Besides, it will set the span as the local parent at every poll so that LocalSpan becomes available inside the future. Under the hood, it call Span::set_local_parent when the executor poll it.

Updated doc in https://github.com/tikv/minitrace-rust/pull/153


RuntimeError: CUDA out of memory.

Hi,
Thanks for creating this tool and providing the code. I am able to run the prediction on the example sequences, but when I am trying to make a prediction for my usecase, I run into 'CUDA out of memory errors'.
Here's the entire error message:
Traceback (most recent call last):
File "/home/akash.bahai/RoseTTAFold2NA/network/predict.py", line 346, in
pred.predict(inputs=args.inputs, out_prefix=args.prefix, ffdb=ffdb)
File "/home/akash.bahai/RoseTTAFold2NA/network/predict.py", line 226, in predict
self.run_model(Ls, msa_orig, ins_orig, t1d, t2d, xyz_t, xyz_t[:,0], alpha_t, "%s%02d"%(out_prefix, i_trial))
File "/home/akash.bahai/RoseTTAFold2NA/network/predict.py", line 270, in _run_model
logit_s, logit_aa_s, logit_pae, init_crds, alpha_prev, _, pred_lddt_binned, msa_prev, pair_prev, state_prev = self.model(
File "/home/akash.bahai/.conda/envs/RF2NA/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1130, in _call_impl
return forward_call(*input, **kwargs)
File "/home/akash.bahai/RoseTTAFold2NA/network/RoseTTAFoldModel.py", line 93, in forward
pair, state = self.templ_emb(t1d, t2d, alpha_t, xyz_t, pair, state, use_checkpoint=use_checkpoint)
File "/home/akash.bahai/.conda/envs/RF2NA/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1130, in _call_impl
return forward_call(*input, **kwargs)
File "/home/akash.bahai/RoseTTAFold2NA/network/Embeddings.py", line 190, in forward
templ = self.templ_stack(templ, xyz_t, use_checkpoint=use_checkpoint) # (B, T, L,L, d_templ)
File "/home/akash.bahai/.conda/envs/RF2NA/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1130, in _call_impl
return forward_call(*input, **kwargs)
File "/home/akash.bahai/RoseTTAFold2NA/network/Embeddings.py", line 132, in forward
templ = self.block[i_block](templ, rbf_feat)
File "/home/akash.bahai/.conda/envs/RF2NA/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1130, in _call_impl
return forward_call(*input, **kwargs)
File "/home/akash.bahai/RoseTTAFold2NA/network/Track_module.py", line 95, in forward
pair = pair + self.drop_row(self.row_attn(pair, rbf_feat))
File "/home/akash.bahai/.conda/envs/RF2NA/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1130, in _call_impl
return forward_call(*input, **kwargs)
File "/home/akash.bahai/RoseTTAFold2NA/network/Attention_module.py", line 453, in forward
pair = self.norm_pair(pair)
File "/home/akash.bahai/.conda/envs/RF2NA/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1130, in _call_impl
return forward_call(*input, **kwargs)
File "/home/akash.bahai/.conda/envs/RF2NA/lib/python3.8/site-packages/torch/nn/modules/normalization.py", line 189, in forward
return F.layer_norm(
File "/home/akash.bahai/.conda/envs/RF2NA/lib/python3.8/site-packages/torch/nn/functional.py", line 2503, in layer_norm
return torch.layer_norm(input, normalized_shape, weight, bias, eps, torch.backends.cudnn.enabled)
RuntimeError: CUDA out of memory. Tried to allocate 4.01 GiB (GPU 0; 31.75 GiB total capacity; 22.47 GiB already allocated; 3.67 GiB free; 27.22 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation.  See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF
This error is happening in the last step of the pipeline i.e. end-to-end prediction. I am using a V100 with 32 GB of memory.
The length of the RNA is ~1300 NT's and and the protein is  ~700 amino acids. Can you please estimate the size of the GPU memory required for such an usecase?

Did you solve the question? Even when we buy a 40 GB NVIDIA GPU, it still has the problem.

same issue

Hi,
@ChrisLou-bioinfo How long is the sequence that you are trying to predict? Is it working for shorter sequences?
@GanQiao1990 Are you able to run it now?  I could get it working for shorter sequences, but it didn't work for longer ones (>1000 residues).

RNA(1485nt),Protein(348AA)
I attempted to set the max_split_size_mb parameter to 24, but it appears to be ineffective.

Hi, @ChrisLou-bioinfo How long is the sequence that you are trying to predict? Is it working for shorter sequences?
@GanQiao1990 Are you able to run it now? I could get it working for shorter sequences, but it didn't work for longer ones (>1000 residues).

Yep, i could run by using the shorter sequence, but it's could be out of memery by using the long sequence.

Hi, @ChrisLou-bioinfo How long is the sequence that you are trying to predict? Is it working for shorter sequences?
@GanQiao1990 Are you able to run it now? I could get it working for shorter sequences, but it didn't work for longer ones (>1000 residues).

Yep, i could run by using the shorter sequence, but it's could be out of memery by using the long sequence.

我正在用cpu运行没有报错，可能时间会长一点，但愿作者能升级一下出现OOM以后自动用CPU。

OK, I even tried on an A100 with 80GB VRAM... it is not working for the ~5k bp RNA and ~500 AA Protein. If we are to chunk the sequences, are we going to have to redo the sequence prep?


Add openvino stable diffusion pipeline documentation

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


DaVinci om subgraph visualize

.
solve the problem of DaVinci om subgraph visualization.
hwhiaimodel-subgraph.zip

this model:
hwhiaimodel-subgraph.zip.
subgraph before changes:
.
subgraph after changes:
.

It can select subgraph.


FileNotFoundError: [Errno 2] No such file or directory: '/data/Dilip/models/llama-2-7b-chat-hf/build.json'

When will this issue will be resolved?

I'm having the same error, I really don't get where does this build.json come from

@dilip467  I got the same error. It seems that the engine will be built when you pull the model from HF hub. For local model, you have to build it using the file llama.py. It works with my model

@Quang-elec44 TensorRT-LLM Llama implementation: error: unrecognized arguments: output /  I am getting error related output argument irrespective any path i give

@dilip467 Here is what I did: python llama.py TinyLlama/TinyLlama-1.1B-Chat-v0.3 tiny-llama-built ...

@dilip467 You should load the model using transformers and save it using save_pretrained method with the argument safe_serialization=True. After that, you will get the *.safetensors checkpoint

@dilip467 I got the same error. It seems that the engine will be built when you pull the model from HF hub. For local model, you have to build it using the file examples/text-generation/llama.py. It works with my model

@Quang-elec44 After building trt engine, Llama model always generates same token 55295. Have you ever encountered this problem? My build command is as follows
python llama.py  Chinese-Alpaca-2-7B/  llama/fp8 --max-batch-size 4 --max-prompt-length 256 --max-new-tokens 256 --fp8

@liangxuZhang I'm not able to build the engine with --fp8 so I am not sure whether this argument causes the problem or not. You can try building the engine without --fp8 and then test again.

Hi Guys, I am getting the same error. Please let me know your suggestions on how to resolve it.
model = AutoModelForCausalLM.from_pretrained(

File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/utils/_validators.py", line 118, in _inner_fn
return fn(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/hub_mixin.py", line 157, in from_pretrained
return cls._from_pretrained(
File "/opt/optimum-nvidia/src/optimum/nvidia/models/base.py", line 60, in _from_pretrained
return model_class.from_pretrained(
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/utils/_validators.py", line 118, in _inner_fn
return fn(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/hub_mixin.py", line 157, in from_pretrained
return cls._from_pretrained(
File "/opt/optimum-nvidia/src/optimum/nvidia/runtime.py", line 157, in _from_pretrained
with open(engine_folder.joinpath(OPTIMUM_NVIDIA_CONFIG_FILE), "r") as trt_config_f:
FileNotFoundError: [Errno 2] No such file or directory: '/save/nvoptimum/model/build.json'


[META][Windows CI] Getting windows gradle check to green

Coming from #1448, here is the meta issue tracking all failing tasks/tests on windows gradle check that need to be resolved in order to get gradle check to green.

[x] #4925
[x] #4939
[x] #4940
[ ] ResourceAwareTasksTests - these just hang for me in intellij.
[x] HierarchyCircuitBreakerServiceTests.testFallbackG1RegionSize
[x] PluginsServiceTests.testPluginLoadFailure & PluginsServiceTests.testPluginFromParentClassLoader
[x] ShardIndexingPressureConcurrentExecutionTests
[ ] :build-tools:integTest - symlink tests failing for non-admin user

Cannot run opensearch as root - Grouping failures caused by running as admin:
Should be fixed on reverting #4656

Running as Administrator is blocked with https://github.com/opensearch-project/OpenSearch/pull/4656. Enforced here.  I bypassed this check and get the following failures in :server:test.  (re-ran a few times to fliter out flaky tests)
HierarchyCircuitBreakerServiceTests.testFallbackG1RegionSize
PluginsServiceTests.testPluginLoadFailure
PluginsServiceTests.testPluginFromParentClassLoader

@mch2 @Poojita-Raj Docker tests and running gradle check with admin

Listing project wise stats here, ignored means it is already ignored, not a new ignore.
rest-api-spec - 1,152 passed, 27 ignored.

@mch2 what was your process for bypassing the admin check if you don't mind me asking? Did you incorporate it into a script or did you manually run the tests and just not the check file?

Ran check from intellij with admin:
passed: 15,861
ignored: 113
Failed: 9
The 9 that fail are in ShardIndexingPressureConcurrentExecutionTests.

from command line this test passes:
./gradlew :server:test --tests "org.opensearch.indices.breaker.HierarchyCircuitBreakerServiceTests.testFallbackG1RegionSize"

It consistently fails from intellij.

@scrawfor99 for now i've simply bypassed the check in initializeNatives with Constants.WINDOWS == false.  We need a better solution here but it helped identify tests that still pass even with admin.
Working on getting a list of failures without admin.

Tested PluginsServiceTests.testPluginLoadFailure & PluginsServiceTests.testPluginFromParentClassLoader on admin/non-admin user with @vibrantvarun and they passed.

Picked up _JAVA_OPTIONS: -Djava.net.preferIPv4Stack=true

> Configure project :plugins:repository-hdfs
hdfsFixture unsupported, please set HADOOP_HOME and put HADOOP_HOME\bin in PATH

> Configure project :qa:os
Cannot add task 'destructiveDistroTest.docker' as a task with that name already exists.
=======================================
OpenSearch Build Hamster says Hello!
  Gradle Version        : 7.5.1
  OS Info               : Windows Server 2022 10.0 (amd64)
  JDK Version           : 11 (Amazon Corretto JDK)
  JAVA_HOME             : C:\Program Files\Amazon Corretto\jdk11.0.16_9
  Random Testing Seed   : 28955231E4B19E1A
  In FIPS 140 mode      : false
=======================================

> Task :server:test
Picked up _JAVA_OPTIONS: -Djava.net.preferIPv4Stack=true
OpenJDK 64-Bit Server VM warning: Ignoring option --illegal-access=warn; support was removed in 17.0
WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by org.opensearch.bootstrap.BootstrapForTesting (file:/C:/Users/Varun/project1/OpenSearch/test/framework/build/distributions/framework-3.0.0-SNAPSHOT.jar)
WARNING: Please consider reporting this to the maintainers of org.opensearch.bootstrap.BootstrapForTesting
WARNING: System::setSecurityManager will be removed in a future release
WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by org.gradle.api.internal.tasks.testing.worker.TestWorker (file:/C:/Users/Varun/.gradle/wrapper/dists/gradle-7.5.1-all/1ehga6e77gqps5uk2kc5kf1vc/gradle-7.5.1/lib/plugins/gradle-testing-base-7.5.1.jar)
WARNING: Please consider reporting this to the maintainers of org.gradle.api.internal.tasks.testing.worker.TestWorker
WARNING: System::setSecurityManager will be removed in a future release

BUILD SUCCESSFUL in 14s
42 actionable tasks: 1 executed, 41 up-to-date

Picked up _JAVA_OPTIONS: -Djava.net.preferIPv4Stack=true
Starting a Gradle Daemon, 1 stopped Daemon could not be reused, use --status for details
cache fileHashes.bin (C:\Users\Varun\project1\OpenSearch\.gradle\7.5.1\fileHashes\fileHashes.bin) is corrupt. Discarding.

> Configure project :plugins:repository-hdfs
hdfsFixture unsupported, please set HADOOP_HOME and put HADOOP_HOME\bin in PATH

> Configure project :qa:os
Cannot add task 'destructiveDistroTest.docker' as a task with that name already exists.
=======================================
OpenSearch Build Hamster says Hello!
  Gradle Version        : 7.5.1
  OS Info               : Windows Server 2022 10.0 (amd64)
  JDK Version           : 11 (Amazon Corretto JDK)
  JAVA_HOME             : C:\Program Files\Amazon Corretto\jdk11.0.16_9
  Random Testing Seed   : AA86F954220D0020
  In FIPS 140 mode      : false
=======================================

> Task :server:test
Picked up _JAVA_OPTIONS: -Djava.net.preferIPv4Stack=true
OpenJDK 64-Bit Server VM warning: Ignoring option --illegal-access=warn; support was removed in 17.0
WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by org.opensearch.bootstrap.BootstrapForTesting (file:/C:/Users/Varun/project1/OpenSearch/test/framework/build/distributions/framework-3.0.0-SNAPSHOT.jar)
WARNING: Please consider reporting this to the maintainers of org.opensearch.bootstrap.BootstrapForTesting
WARNING: System::setSecurityManager will be removed in a future release
WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by org.gradle.api.internal.tasks.testing.worker.TestWorker (file:/C:/Users/Varun/.gradle/wrapper/dists/gradle-7.5.1-all/1ehga6e77gqps5uk2kc5kf1vc/gradle-7.5.1/lib/plugins/gradle-testing-base-7.5.1.jar)
WARNING: Please consider reporting this to the maintainers of org.gradle.api.internal.tasks.testing.worker.TestWorker
WARNING: System::setSecurityManager will be removed in a future release

BUILD SUCCESSFUL in 40s
42 actionable tasks: 2 executed, 40 up-to-date

Tested ShardIndexingPressureConcurrentExecutionTests in isolation. Looks like a flaky test as it was not failing. Marking it as done.
./gradlew :server:test --tests "org.opensearch.index.ShardIndexingPressureConcurrentExecutionTests.*"

Failing for non - Administrator users:

Task :build-tools:integTest

org.opensearch.gradle.tar.SymbolicLinkPreservingTarIT > testTarDoNotPreserveFileTimestamps FAILED
java.nio.file.FileSystemException at SymbolicLinkPreservingTarIT.java:66
org.opensearch.gradle.tar.SymbolicLinkPreservingTarIT > testTar FAILED
java.nio.file.FileSystemException at SymbolicLinkPreservingTarIT.java:66
org.opensearch.gradle.tar.SymbolicLinkPreservingTarIT > testBZip2Tar FAILED
java.nio.file.FileSystemException at SymbolicLinkPreservingTarIT.java:66
org.opensearch.gradle.tar.SymbolicLinkPreservingTarIT > testGZipTar FAILED
java.nio.file.FileSystemException at SymbolicLinkPreservingTarIT.java:66
org.opensearch.gradle.tar.SymbolicLinkPreservingTarIT > testGZipTarDoNotPreserveFileTimestamps FAILED
java.nio.file.FileSystemException at SymbolicLinkPreservingTarIT.java:66
org.opensearch.gradle.tar.SymbolicLinkPreservingTarIT > testBZip2TarDoNotPreserveFileTimestamps FAILED
java.nio.file.FileSystemException at SymbolicLinkPreservingTarIT.java:66
org.opensearch.gradle.tar.SymbolicLinkPreservingTarIT > testBZip2Tar FAILED
java.nio.file.FileSystemException at SymbolicLinkPreservingTarIT.java:66
org.opensearch.gradle.tar.SymbolicLinkPreservingTarIT > testBZip2TarDoNotPreserveFileTimestamps FAILED
java.nio.file.FileSystemException at SymbolicLinkPreservingTarIT.java:66
org.opensearch.gradle.tar.SymbolicLinkPreservingTarIT > testTar FAILED
java.nio.file.FileSystemException at SymbolicLinkPreservingTarIT.java:66
org.opensearch.gradle.tar.SymbolicLinkPreservingTarIT > testTarDoNotPreserveFileTimestamps FAILED
java.nio.file.FileSystemException at SymbolicLinkPreservingTarIT.java:66
org.opensearch.gradle.tar.SymbolicLinkPreservingTarIT > testGZipTar FAILED
java.nio.file.FileSystemException at SymbolicLinkPreservingTarIT.java:66
org.opensearch.gradle.tar.SymbolicLinkPreservingTarIT > testGZipTarDoNotPreserveFileTimestamps FAILED
java.nio.file.FileSystemException at SymbolicLinkPreservingTarIT.java:66
org.opensearch.gradle.tar.SymbolicLinkPreservingTarIT > testBZip2Tar FAILED
java.nio.file.FileSystemException at SymbolicLinkPreservingTarIT.java:66
org.opensearch.gradle.tar.SymbolicLinkPreservingTarIT > testTar FAILED
java.nio.file.FileSystemException at SymbolicLinkPreservingTarIT.java:66
org.opensearch.gradle.tar.SymbolicLinkPreservingTarIT > testTarDoNotPreserveFileTimestamps FAILED
java.nio.file.FileSystemException at SymbolicLinkPreservingTarIT.java:66
org.opensearch.gradle.tar.SymbolicLinkPreservingTarIT > testGZipTarDoNotPreserveFileTimestamps FAILED
java.nio.file.FileSystemException at SymbolicLinkPreservingTarIT.java:66
org.opensearch.gradle.tar.SymbolicLinkPreservingTarIT > testBZip2TarDoNotPreserveFileTimestamps FAILED
java.nio.file.FileSystemException at SymbolicLinkPreservingTarIT.java:66
org.opensearch.gradle.tar.SymbolicLinkPreservingTarIT > testGZipTar FAILED
java.nio.file.FileSystemException at SymbolicLinkPreservingTarIT.java:66
org.opensearch.gradle.tar.SymbolicLinkPreservingTarIT > testGZipTarDoNotPreserveFileTimestamps FAILED
java.nio.file.FileSystemException at SymbolicLinkPreservingTarIT.java:66
org.opensearch.gradle.tar.SymbolicLinkPreservingTarIT > testBZip2Tar FAILED
java.nio.file.FileSystemException at SymbolicLinkPreservingTarIT.java:66
org.opensearch.gradle.tar.SymbolicLinkPreservingTarIT > testTarDoNotPreserveFileTimestamps FAILED
java.nio.file.FileSystemException at SymbolicLinkPreservingTarIT.java:66
org.opensearch.gradle.tar.SymbolicLinkPreservingTarIT > testBZip2TarDoNotPreserveFileTimestamps FAILED
java.nio.file.FileSystemException at SymbolicLinkPreservingTarIT.java:66
org.opensearch.gradle.tar.SymbolicLinkPreservingTarIT > testGZipTar FAILED
java.nio.file.FileSystemException at SymbolicLinkPreservingTarIT.java:66
org.opensearch.gradle.tar.SymbolicLinkPreservingTarIT > testTar FAILED
java.nio.file.FileSystemException at SymbolicLinkPreservingTarIT.java:66
45 tests completed, 24 failed

Task :build-tools:integTest FAILED

For Symlink tests here is the summary so far:
Symlink creation in windows needs elevated permissions: https://docs.oracle.com/javase/7/docs/api/java/nio/file/FileSystemException.html
So we can solve the problem in 3 ways:

Run as non-admin, instead of creating a symlink, copy the directory/content to the place we need.
Run as admin and enable symlink permissions(very likely through Java Options).
Skip symlinks on windows.
I
would prefer the first approach as we would still continue to do the tests with regular permissions. You can check for file permissions using @Before annotation for each test and if the permissions dont exist for creating a symlink you could copy the directory.
Here are few solutions which other repositories took:
https://github.com/golang/dep/issues/773
https://github.com/srikanth-lingala/zip4j/issues/278
https://github.com/pypa/flit/issues/599
https://github.com/admb-project/admb/issues/272

@saratvemulapalli The question is, do we support symlinks on windows? that's pretty unusual AFAIK, I would be fine with (3) as well

Dumping all Files.createSymbolicLink locations:
Src:
SymbolicLinkPreservingUntarTransform.java - looks to be bypassed with https://github.com/opensearch-project/OpenSearch/pull/1433
Test code:
PidFileTests.java
SymbolicLinkPreservingTarIT.java
EvilSecurityTests.java
PluginCliTests.java

@dblock @saratvemulapalli I think we can safely go the skip route for SymbolicLinkPreservingTarIT because we skip other distros on windows and only build a zip - have opened a PR here.
All other instances of createSymbolicLink are already skipped.

BwcTest is the only task within check consistently failing for me now - the following passes (had to retry a few times to rule out flakiness).
./gradlew check -x bwcTest

BwcTest fails because. do not have windows builds for prior versions.

@mch2 Is it worth trying to produce a 1-time windows reference build manually with an older version to ensure we exercise the upgrade path in tests before we ship anything?

I didn't realize bwcTest isn't actually fully executed within check, only a subset, from our docs:

When running ./gradlew check, minimal bwc checks are also run against compatible versions that are not yet released.

I was able to just get a full passing check on 2.4 so looking to see if that subset is sufficient.  If not then yeah we should do a manual build and run all of bwcTest.

Looking at a successful check run on a 2.4 backport.  The bwc tests are running against 1.3.7 and 2.3.1.  The tests clone & compile the previous major & minor where running bwcTest alone does not for the additional versions it checks.
The following are passing for me on windows. - will edit this as they complete.
./gradlew :qa:mixed-cluster:1.3.7#mixedClusterTest


fix a race condition in selecting a unique download path

Selecting a unique path was decoupled from the actual file creation,
so it was possible for two threads to select the same "unique" path.
I fixed this by creating a unique NSFileManager instance, which we
lock while performing directory lookups and file creation. Even though
this instance is not used when SandCastle is called to detect name
collisions, we can still rely on locking it as an abstract resource
to ensure correctness of the unique path selection code. Any time
we try to read the file list from disk, or modify it (via creation
or deletion) we lock the fileManager instance. I created an accessor
for it in SDSafariDownload so that SDDownloadManager could use it, but
ideally the unique path selection code should be localized to a single
location. If we didn't rely on setting download.filename within
SDDownloadManager, and instead always do this in SDSafariDownload
instances, there would be no need for the accessor.

Why did you send a pull request from an existing branch in this repository?
SDM is end-of-life and won't be taking any issues/pull requests. Feel free
to subsume these changes into your repo.
On May 30, 2016 5:17 PM, "herrmannw22"<EMAIL_ADDRESS>wrote:

Selecting a unique path was decoupled from the actual file creation,
so it was possible for two threads to select the same "unique" path.
I fixed this by creating a unique NSFileManager instance, which we
lock while performing directory lookups and file creation. Even though
this instance is not used when SandCastle is called to detect name
collisions, we can still rely on locking it as an abstract resource
to ensure correctness of the unique path selection code. Any time
we try to read the file list from disk, or modify it (via creation
or deletion) we lock the fileManager instance. I created an accessor
for it in SDSafariDownload so that SDDownloadManager could use it, but
ideally the unique path selection code should be localized to a single
location. If we didn't rely on setting download.filename within
SDDownloadManager, and instead always do this in SDSafariDownload
instances, there would be no need for the accessor.
You can view, comment on, or merge this pull request online at:
https://github.com/DHowett/safaridownloader/pull/1
Commit Summary

fix a race condition in selecting a unique download path

File Changes

M extension/SDDownloadManager.mm
https://github.com/DHowett/safaridownloader/pull/1/files#diff-0 (4)
M extension/SDSafariDownload.h
https://github.com/DHowett/safaridownloader/pull/1/files#diff-1 (1)
M extension/SDSafariDownload.mm
https://github.com/DHowett/safaridownloader/pull/1/files#diff-2 (48)

Patch Links:

https://github.com/DHowett/safaridownloader/pull/1.patch
https://github.com/DHowett/safaridownloader/pull/1.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/DHowett/safaridownloader/pull/1, or mute the thread
https://github.com/notifications/unsubscribe/AALjBgE-MVTweRItkOoBaeIDeeksvbefks5qG34ngaJpZM4IqFkn
.


Not able to build with build-bpf

can you please see the issue.

https://docs.solana.com/cli/install-solana-cli-tools#windows


perf: update sdk version

Tips: if there is a package-lock.json file inside the sample, you also need to update it~

Tips: if there is a package-lock.json file inside the sample, you also need to update it~

Good catch. I found package-lock.json file in todo-list-with-azure-backend sample, I think it will be better to remove these files?


Update composer-post-update-cmd.json

Use @php instead of php as in the composer.json of Laravel.

Although, in the final application, it may indeed not be important to execute these commands, as a result of which errors can be suppressed.

Thanks for clarifying this. My thought was to "sync" this snippet with the official composer.json that is being referenced. And if for some reason we need to output errors during development, we just delete the @.


Why are you asking for so many github privileges when trying to login?

These seem a bit excessive.
Gists
Read and write access
This application will be able to read and write your public and secret gists.
Learn more
Repositories
Public and private
This application will be able to read and write all public and private repository data. This includes the following:
Code
Issues
Pull requests
Wikis
Settings
Webhooks and services
Deploy keys
Collaboration invites

It's a known issue #677. For what it's worth, the code of concern hasn't changed in ~5 years. The site isn't asking for any more privileges today.


tar.exe fails on Windows, causing extracting and compressing caches to fail

Logs from my build:
https://github.com/magneticflux-/jvm-shared-memory/runs/2871870352?check_suite_focus=true

Here's a copy of the logs in case they would be removed:
Save local-build-cache
  Warning: ~/.gradle-cache-action/local-build-cache-contents.json: C:\Users\runneradmin/.gradle-cache-action/local-build-cache-contents.json.1-gradle-build-cache-Windows--gradle-7.1-defaultbranch-afb187ad32e20fde1160cb7fbbea73eb92e66560
   does not exist
  local-build-cache: there are missing layers: [1-gradle-build-cache-Windows--gradle-7.1-defaultbranch-afb187ad32e20fde1160cb7fbbea73eb92e66560
  ]
  local-build-cache: creating single-layer cache image
  local-build-cache: uploading 99 KiB, 10 files as 1-gradle-build-cache-Windows--gradle-7.1-defaultbranch-7145459264c39d74f4e63ac7413de63c1e5587bb

Save dependencies-gradle
  dependencies-gradle: creating single-layer cache image
  dependencies-gradle: uploading 89 MiB, 379 files as 1-dependencies-gradle-Windows-defaultbranch-33370c38578be98f4c5e8f8ab2f7515fe6150f15
  C:\Windows\System32\tar.exe -z -cf cache.tgz -P -C D:/a/jvm-shared-memory/jvm-shared-memory --files-from manifest.txt
  tar.exe: Couldn't open C:/Users/runneradmin/.gradle/caches/modules-2/metadata-2.97/module-artifact.bin: Permission denied
  tar.exe: Error exit delayed from previous errors.
  Warning: Error while uploading 1-dependencies-gradle-Windows-defaultbranch-33370c38578be98f4c5e8f8ab2f7515fe6150f15: Tar failed with error: The process 'C:\Windows\System32\tar.exe' failed with exit code 1
  1-index-dependencies-gradle: uploading 143 B, 1 files as 1-index-dependencies-gradle-Windows-defaultbranch-33370c38578be98f4c5e8f8ab2f7515fe6150f15
  C:\Windows\System32\tar.exe -z -cf cache.tgz -P -C D:/a/jvm-shared-memory/jvm-shared-memory --files-from manifest.txt
  Cache saved successfully


Disassemble (lv_assemble -d) should store external png files for ICON, icl4, and icl8

Is your feature request related to a problem? Please describe.
Disassembled icons in text form just are not that usable.
Describe the solution you'd like
If the output is a file, then create .png files like testing.vi -> testing.yaml, testing_ICON#30.png.
The text source would have the name of the file.
When assembling, it would pull in the .png and convert it back to the binary type.
Describe alternatives you've considered
Draw the icons in ascii art in the text file.
Additional context
None

I wrote some code that uses pylavi to convert the icon data to png file. Let me know if you’d like to see that.

Hey Jim,
It’s been a whirlwind the last 6 months. I would love to see the code you
have to create PNGs.
Marc Page
Sent from My iPhone While driving and eating Taco Bell
On Wed, Feb 28, 2024 at 11:05 AM Jim Kring @.***> wrote:

I wrote some code that uses pylavi to convert the icon data to png file.
Let me know if you’d like to see that.
—
Reply to this email directly, view it on GitHub
https://github.com/marcpage/pylavi/issues/39#issuecomment-1969447883,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFJ3RO4JVMY4QDIXPYB363YV5PVDAVCNFSM6AAAAAAV3IW57KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRZGQ2DOOBYGM
.
You are receiving this because you authored the thread.Message ID:
@.***>


Extract out 'issues:' from pr body

This extracts out the issues: from a pr body.
Example:
changelog: Foo
issues: [bar](url), foo again

Returns -> foo. Issue(s) [bar](url), foo again

 Support links to issues that the PR fixes

Didn't we say that we should use fixes: to re-use what GH already uses to auto close issues that are fixed by the PR?


Support export from multiple Grafana organizations

the only way to do that would be to join multiple tokens/provide multiple env vars with number suffix
it'd be more clear, transparent and explicit to just run more instances of the exporter
added in:
https://github.com/cstanislawski/grafana-db-exporter/commit/ff1b4ad66b2f07000a17d3b703861ee8d3538c93
which has been consolidated in:
https://github.com/cstanislawski/grafana-db-exporter/commit/969d92245099f6019ffc0b16101d13d136b42df7


Unable to clone the repo

Hey,
On trying to clone the repo with,
$ git clone https://github.com/ncase/trust.git
I receive a warning, as follows:
Cloning into 'trust'...
remote: Counting objects: 856, done.
remote: Compressing objects: 100% (21/21), done.
remote: Total 856 (delta 9), reused 14 (delta 6), pack-reused 829
Receiving objects: 100% (856/856), 7.19 MiB | 441.00 KiB/s, done.
Resolving deltas: 100% (427/427), done.
Checking connectivity... done.
warning: remote HEAD refers to nonexistent ref, unable to checkout.
This is on a Mac OS X with git version 2.8.1

This is expected git behaviour, and a result of this repo not having a master branch. Simply cd to the folder, and run git checkout gh-pages.

Thanks!
Any reason in particular why the branch is not called master by default in this repo?

The branch is called gh-pages because that's what Github needs to automatically turn it into a webpage!
And I didn't add a second, backup master branch because, uh, I'm lazy and do not have good git practices

@ncase I think you can change the branch used for GitHub Pages under repository settings. 😄

Alright, the issue's been (finally) fixed! Because I only had one branch, I couldn't use GitHub's repo settings to update the default branch... so, I had to create a new "master" branch, push that, then set the default to the "master" branch, then set the default back to the "gh-pages" branch, then delete "master".
Total hack but git clone git@github.com:ncase/trust.git works now, without throwing the "warning: remote HEAD refers to nonexistent ref, unable to checkout" warning!


Allow plural outputs to be cached

When @OutputFiles or @OutputDirectories is used with an Iterable (instead of a Map), we previously disabled caching without much explanation. The original reason for this was that we expected a difference in cardinality of outputs between the task producing the output and the one consuming it. However, if we represent each entry in the collection as an indexed property, then unmatched cardinality will produce a different cache key anyway. Thus there's no need for this limitation.

Branch build: https://builds.gradle.org/viewQueued.html?itemId=15290212

I've added a new non-caching reason NON_CACHEABLE_TREE_OUTPUT.
I also disabled caching if any tree appears in the output for the following reasons:

it's easier to explain to users,
it's unlikely that people would want to use an unfiltered DirectoryFileTree (which is an internal type anyway) as an output,
we don't support DirectoryFileTree as an @OutputDirectory either (we actually throw an exception).

I've updated our horrible user guide chapter about task inputs with the changes.

Branch build: https://builds.gradle.org/viewQueued.html?itemId=15343943

This will need to be mentioned in https://github.com/gradle/dotcom/issues/1399, too.

Branch build: https://builds.gradle.org/viewQueued.html?itemId=15349354

Based on @facewindu's feedback I removed the old enum value.


Reference links aren't resolved

Hello, thanks for the neat plugin!
If you include reference links in the premonition container [x][y], where y is defined at the end of the document, the markdown-to-html converter does not render the link; i believe this could be because when rendering the content of the blockquote, only the blockquote text is fed to the markdown converter (i.e. without the link definition). (I use kramdown.)
> warning "not linked"
> This should have been a [link][example].

[example]: https://www.example.com/

yields

not linked

This should have been a [link][example].

Workaround: don't use reference links in the premonition containers; but this requires our authors to know about this limitation. Perhaps there are ways to make the markdown converter aware of some wider context?

Thanks for reporting this. Haven't actually crossed my mind that this could be a problem. I will look into this and see if I can come up with a fix.

Some of these features (reference links, footnotes, etc) were important to me, so I went ahead and wrote my own plugin for content blocks to solve this problem. It's quite rudimentary right now, and not very configurable for the moment, so be warned!
@lazee, the section called "How does it work?" in the README of my plugin explains the approach, and may be a source of inspiration for a fix. The key idea is that the Markdown content of a block shouldn't be parsed separately from the rest of the document.
If premonition fixes this issue, I would be happy to archive/deprecate my plugin and recommend premonition instead.

@MaximeKjaer Cool, I will definitely look into this!
If you are interested, I'll be happy to let you in on the project itself. Probably a lot of cool stuff that are yet to be added :)

Sure, I can help out on the project! Can't promise a ton of time in the coming weeks, but when I do have time, I'm up for it.

Back to the issue :)
The initial reason for rendering inside Premonition instead of a fall-through strategy, was that I needed to insert variables into the render. But I will see if I can come up with another approach.

Removing the rendering within premonition is actually not that simple. Instead I have introduced support for reference links, like this: #19


Output format / metadata

what kind of output (and in what format) should we provide the user. Simon's initial thought would be that for any pair of GCF and Spectrum (or group of spectra, see #10) we will have a number of scores, some of which can be considered significant. This could be output in a form that could be loaded into Cytoscape where significant scores form edges between GCF and spectrum / spectral group objects? Open to suggestions here, and I’m sure Justin’s input would be valuable.

I just made a pull request with an extended and updated version of my data_linking classes and functions.
This also contains a new function to create a network from selected links (based on a score of choice). This network is then exported as graphml file which can be imported in cytoscape.
What's still missing is the export of additional annotations. That will be done next...