index-envs: refactor a lot and add SkewBinarySlab

The main payload here is a variant of SkewBinary that can handle
"slab-consing". But I wanted to test and benchmark it properly, which
led to a bunch of refactoring.
Summary: it works, and it is significantly faster in the slab-based
workflows.

Construction is massively faster (but perhaps I made the workflow
too favourable).
Querying is somewhat faster.

But then again, our benchmarks still don't seem to be testing the right
thing, since RelativizedMap continues to beat everything...
Probably more room for improvement here, but it's in a good state and I
think it's worth committing it.

Pre-submit checklist:

Branch

[ ] Tests are provided (if possible)
[ ] Commit sequence broadly makes sense
[ ] Key commits have useful messages
[ ] Relevant tickets are mentioned in commit messages
[ ] Formatting, materialized Nix files, PNG optimization, etc. are updated

PR

[ ] (For external contributions) Corresponding issue exists and is linked in the description
[ ] Self-reviewed the diff
[ ] Useful pull request description
[ ] Reviewer requested

Did you try to do the one element cons with a one element Vector?

Yeah I did and it was slower, I'll add a note.

Did you try to do the one element cons with a one element Vector?

I am also curious!

Shall we run a / benchmark here to see if we regressed?

This doesn't change the environment used by the machine at the moment, so it won't show anything.


status bar rating buttons fill fix

Rating buttons in "now playing" status bar always showed as outlined even if thumbed up/down, due to an issue with a svg fill not working properly
Filled the background using css and the existing sprites
Fixes #429

Are those sprite URLs (like sprites_extended_d5d41cbe37133fce94c32acca2b8435c21125ddb.png) coming from Google?  Feels like something that'd be easy to break if so.  Maybe there's some way to dynamically detect the correct URL?

It's actually been playing on my mind that this was a bit of a short sighted solution. Though any method that uses the Google sprite sheet in our own custom is probably a bad idea - I can't help feeling that it's just as likely they'll rearrange the sprite images as it is they'll rename the file (most likely, changing the sheet will trigger the rename at their end so either way, it's bound to break eventually).
I've ended up grabbing a copy of the sprite sheet to reference, so at least I know the image won't change.
I started playing with the idea of completely replacing those rating button graphics with our own, allowing for more control over colouring in custom themes (hence the commented out css) but I'm going to revisit this another time as part of a separate PR

This LGTM until it's revisited in another PR, so :shipit:

Made a quick tweak to change the referenced image from http > https. For sanity's sake, I'll merge once travis has done it's thing :+1:


Update API version to 2.1.0.

Closes #3104.
JerryScript-DCO-1.0-Signed-off-by: Csaba Osztrogonác<EMAIL_ADDRESS>

Minor comment: IMHO "Closes #3104" would look better in the commit message, as the referenced issue is not a bug to be fixed.

Good point, I fixed the commit message.


Built-in XSLT extension has 'brackets' setting that prevents bracket-matching for embedded XPath 1.0-3.1

VSCode Version: 1.47
OS Version: All

Steps to Reproduce:
Write language extension for 'xsl' that tokenizes XSLT and XPath. Bracket-matching for brackets {}, [], and () cannot be made to work regardless of brackets setting. Assumption is that this is because of the 'brackets' setting in VSCode's vscode/extensions/xml/xsl.language-configuration.json overriding a more useful brackets setting in an external extension.
Does this issue occur when all extensions are disabled?: No, it just prevents XSLT language extensions working properly.
Proposed options to fix:

(preferred by OP) Remove built-in XSLT language support as this actually only provides generic XML syntax highlighting and prevents VS Code users being made aware that XSLT language support is available in an extension.

(less disruptive) Keep built-in XSLT language support but fix brackets setting to be:

	"brackets": [
		["{", "}"],
		["[", "]"],
		["(", ")"]
	],

Instead of the existing (intended for XML tags):
	"brackets": [
		["<", ">"]
	]

Ok to add {}, () and []. But XSLT also has a XML syntax. Why remove "<", ">" ?

It would help to remove "<",">" because these character's can't be nested like the other bracket characters I listed. Therefore, from my perspective as an XSLT developer, they aren't really that useful as there's no ambiguity about what XML tag your cursor is within.
Also, auto-completion snippets (see screenshot) are likely to be used frequently by XSLT extensions like mine. The faint vertical-lines in these snippets are less likely to be seen clearly with the added noise of the "<",">" bracket-highlighting.

I kept < > and added [""],for consistency with XML.

It occurs to me now that there's also potentially a more serious issue with matching '<' and '>' for XML tags in XSLT:
The '>' is legal in an XML attribute and also in an XPath expression, so the '<' at the beginning of a start tag with an XPath attribute may incorrectly match with the '>' in the XPath instead of the '>' at the end of the start tag. I'm not sure if the bracket matching algorithm caters for this?

As this has the 'insiders-released' branch, I tried my extension, modified to use the 'xsl' language id.
I then tried it on the following version:
Version: 1.48.0-insider
Commit: 8c426f9f3b6b18935cc6c2ec8aa6d45ccd88021e
Date: 2020-07-23T05:40:23.559Z
Electron: 9.1.0
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: <IP_ADDRESS>-electron.0
OS: Darwin x64 18.7.0
The only bracket matching I got for XSLT/XPath was for the '<' characters. They at least they weren't affected by XPath expression such as input > $0 but it still makes the extension unusable.
I realise now that there are other parts of VSCode's XSLT configuration that must be contributing to this issue (and quite probably others also), the cause of which I don't fully understand.
To avoid the need for the VSCode team to be experts in the XSLT language (not the most popular language I admit), it's probably best if I avoid conflict with the built-in language configuration by sticking with a language ID other than 'xsl'.
There are a limited number of XSLT language-aware extensions so, if users require cross-extension compatibility,  I'm hoping I can persuade their maintainers of these extensions to switch from using the 'xsl' language ID also.
That said, I genuinely appreciate the attempts of the VSCode team to help resolve an issue for a not-so popular language.

"($input > 0)" is classified a s string, and bracket matching will ignore what's in strings (or regexes, or comments).

I agree, it is classified by the XSL built in extension as a string, but it is clearly not a string to the XSLT parser, it is part of the XPath language that is embedded in XSLT. My extension uses semantic highlighting instead of a TM grammar. Also XPath expressions may also be embedded in text nodes, which are not classified as a string.

You can still call it a string, but with well defined syntax as content.
But I see, the problem is that we can't teach our bracket matcher about other scopes to ignore.
I would keep the grammar, keep calling it a string and use semantic highlighting on the syntax inside.

If I follow your advice, keeping the 'xsl' TM grammar but using semantic highlighting, users of the extension are left with these two problems:

The 'xsl' TM grammar marks an entire XPath expression within XML attributes or CDATA sections as a string token. The bracket matcher does not 'see' the semantic tokens inside the string token. Bracket characters { ( and [ and their matching pair-values } ) and ] within an XPath expression are disregarded.
There is a case where the TM grammar does not mark an entire XPath expression as a string, when the expression is included in a Text-Value-Template in an XML text-node. In this case, the listing of '>' as a bracket interferes with true bracket-matching within the expression as shown in the screenshot below:

In the above screenshot, the cursor is placed just before the > char in the expression string(foo > bar), the expected behaviour would be for the (and)brackets to be highlighted, but instead, it is the<and>` of the following XML close-tag that is highlighted by the bracket matcher.
If the cursor is placed just after the '>' char in the same expression we get the expected and correct behaviour where the ( and ) are highlighted as being the enclosing matching brackets:

Thus to keep bracket-matching behaviour correct, I must unfortunately continue avoiding use of the 'xsl' language id for my extension. The benefits of this approach still seem to outweigh the disadvantages which include:

My extension continues to be incompatible with any other XSLT extensions that only support the 'xsl' language id.

A developer opening an XSLT file with a 'xsl' extension will not be made aware by Visual Studio Code recommendations that there is an XSLT programming-language extension available for this file type.


Allows Skills to Store Info About Blogs, Tutorials, Webpages...

Fixes #5

Changes made. Should be good to go 👍


Basic terraform vendoring and scripts. No automated variable generati…

…on yet.
So @alexbrand can start on the controller integration.

Thanks @emmetthitz
Merging as we are both blocked by this, even though CI is failing.


In filterByAttribute don't convert option values' special characters to…

… HTML entities. When filtering a page list using a select attribute option with special characters (ie. &) it will always return zero results. The input will be "Foo & Bar", but the filter applied to the query will be "Foo & Bar".

Nice catch.


IntelliSense not working  for razor, css, html files in VS 2022 Version 17.1.0 Preview 1.0

When I open .razor, .css, .html files, the visual studio shows the following error in the status bar. It happens with any Blazor projects
Task Failed - Activating language client HtmlLanguageClient: HtmlLanguageClient failed to initialize.  Please report a problem via Help -> Send Feedback -> Report a Problem.  Status = Sending 'initialize' request.  Exception = StreamJsonRpc.ConnectionLostException: The JSON-RPC connection with the remote party was lost before the request could complete.
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at StreamJsonRpc.JsonRpc.d__149.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at StreamJsonRpc.JsonRpc.d__1391.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Microsoft.VisualStudio.LanguageServer.Client.JsonRpcExtensionMethods.<SendMethodRequestAsync>d__12.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageClientInstance.d__101.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageClientInstance.d__100.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageClientInstance.d__100.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.Threading.ThreadingTools.d__9.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.LanguageServer.Client.RemoteLanguageClientInstance.d__107.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject)
Additional information from windows event viewer:
Application: Microsoft.WebTools.Languages.LanguageServer.Host.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.ArgumentOutOfRangeException
at System.String.Substring(Int32, Int32)
at Microsoft.WebTools.Languages.LanguageServer.HostAppDomainManager.HostAppDomainManager.InitializeNewDomain(System.AppDomainSetup)
at System.AppDomain.CreateAppDomainManager()
Faulting application name: Microsoft.WebTools.Languages.LanguageServer.Host.exe, version: <IP_ADDRESS>55, time stamp: 0x968d4d58
Faulting module name: KERNELBASE.dll, version: 10.0.22000.282, time stamp: 0x15492aba
Exception code: 0xe0434352
Fault offset: 0x000000000004466c
Faulting process id: 0x3460
Faulting application start time: 0x01d7d4f09d68fb53
Faulting application path: c:\program files\microsoft visual studio\2022\preview\common7\ide\extensions\microsoft\web tools\languages\LanguageServers\Microsoft.WebTools.Languages.LanguageServer.Host.exe
Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll
Report Id: 71e29395-78d5-4380-9453-5f8b481854b2
Faulting package full name:
Faulting package-relative application ID:

@kganil thank you for your report! Would you mind clicking top right of Visual Studio and hitting "Report a Problem"?

Doing this flow will help us better understand what's going on in your scenario. /cc @ToddGrun & @jimmylewis

The same is reported earlier using the same option
https://developercommunity.visualstudio.com/t/HtmlLanguageClient:-HtmlLanguageClient-f/1555895

@kganil thank you for sharing! I'm going to close this one out for now in favor of the linked one; however, I'll also make a comment internally on the issue and reverse link to this one + ensure it's patched to the correct team.
Thank you again @kganil!


Update os platform matrix for .NET 5

Reorganize the OS tables per prior discussions. The proposed container and package manager information will be in a subsequent PR.
/cc @jamshedd @richaverma1

Nice. This looks really good.
I'm wondering if we need a "Support changes compared to .NET Core 3.1". We discussed dropping support for Windows ARM32 and Oracle Linux. I think being explicit about that would be a good idea and make this document more valuable/easy to consume.
Given the importance of this document, we should send it to our Tactics group before merging.

Any chances of providing a JSON file with this information?
That would tie in with GH-4775, because the platform name and supported-version matrix would essentially allow generating all valid TFMs for net5.0.

I merged the existing changes, in preparation for our preview 6 release. They are good. We always had a plan to make multiple changes to this file. I'll let @leecow look apply the remaining feedback in the next set of updates.


[BUG] Menu icon not functional in argumented reality page in small screen.

Description
Describe the bug:
When you go to argumented reality page and try to open menu/navbar by clicking on menu icon it's not responding.
Expected behavior:
On small screen devices Menu icon should respond to the user's click to open the menu so that user can navigate to options available in it.
Actual behavior:
No response to the click event on the menu icon in small screen device.
Reproduction Steps
Steps to reproduce the behavior:
Go to 'Argumented reality page'
Click on 'menu icon'.

Kindly assign this issue to me.
#ssoc

Go for it!


OS X "Hide" does not hide the application

v1.3.1
CMD+H is the default shortcut to hide applications (remove them from display without minimizing to dock). "Hiding" YakYak correctly moves the focus to the next window but does not actual remove the YakYak window from display.

Nevermind... working fine now. Guess it was just a fluke! Thanks for a killer app.


Release v1.0

Description:

Changed page background color to black.
Changed game text color to green.

Created new pull


⚠ Boutique - Ascentia has degraded performance

In 8b77118, Boutique - Ascentia (https://store.ascentia.fr/) experienced degraded performance:

HTTP code: 522
Response time: 15552 ms

Resolved: Boutique - Ascentia performance has improved in 52adfd0.


HTTP Basic Auth for feeds

Use Case
I have some feeds that are hidden behind HTTP basic auth.
Encoding the user and password in the URL is prohibitive because the data shows up in logs.
Feature Request

Provide means to configure username and password for HTTP basic auth in the 'Edit Feed' dialog
Use this data in the feed scraper

Since commit bddca15b69692bd055c507f2469e68dca1e56098, a separate username/password fields have been added for feeds. As of now, this is not extended to the content scraper but contributions are welcome.


New post: adding a visa sponsorship row to the course page

 Design history: Add 'Visa sponsorship' row to summary list at the top of course pages on Find


[2021] Prefix subject columns on trainees table with "course_"

Context
https://trello.com/c/4PJ1vOc5/2021-prefix-subject-columns-on-trainees-table-with-course
Changes proposed in this pull request

Rename Trainee#subject to Trainee#course_subject_one
Rename Trainee#subject_two to Trainee#course_subject_two
Rename Trainee#subject_three to Trainee#course_subject_three

 Prefix subject columns on trainees table with "course_"


Show gitsings in nivm-scrollbar

Is your feature request related to a problem? Please describe.
Its hard  to  spot places that were changed without having to scroll through whole file
Describe the solution you'd like
Would be great if nvim-scrollbar would allow have git-signs integration - where it would show modifier places on scroll view
Describe alternatives you've considered
I believe there is nothing like this
Additional context
I would imagine this would look something like this:

Don't know if it's pertinent but I started working on an handler for that purpose, got this far.
-- new marks
GitAdd = {
  text = { "█" },
  priority = 5,
  color = palette.blue[1],
  cterm = nil,
  highlight = "CursorColumn",
},
GitDel = {
  text = { "█" },
  priority = 5,
  color = palette.red[1],
  cterm = nil,
  highlight = "CursorColumn",
},
GitChg = {
  text = { "█" },
  priority = 5,
  color = palette.orange[1],
  cterm = nil,
  highlight = "CursorColumn",
},

-- custom handler -- not working right now
require('scrollbar.handlers').register('git', function()
  local hunks = require('gitsigns').get_hunks()
  local lines = {}

  if hunks == nil then
    return lines
  end

  for _, hunk in pairs(hunks) do
    for i = 1, #hunk.added, 1 do
      table.insert(lines, {
        line = hunk.added[i].start + (i - 2),
        type = "GitAdd",
      })
    end
    for i = 1, #hunk.removed, 1 do
      table.insert(lines, {
        line = hunk.removed[i].start + (i - 2),
        type = "GitDel",
      })
    end
  end

  return lines
end)

I'm fairly new to Lua and nvim programming, code might look bad, just wanted to relaunch the topic

@Betelgeuse1 Thanks for sharing this code snippet, I was just trying to do the same thing.
For those who would also like to get GitChange highlight, you can rely on the non public function of gitsign require('gitsigns.hunks').calc_signs

View Code
local gitsign = require('gitsigns')
local gitsign_hunks = require('gitsigns.hunks')

require('scrollbar.handlers').register('git', function(bufnr)
    local nb_lines = vim.api.nvim_buf_line_count(bufnr)
    -- NOTE: change to corresponding marks from scrollbar setup
    local colors_type = {
        add = 'GitAdd',
        delete = 'GitDelete',
        change = 'GitChange',
        changedelete = 'GitChange'
    }

    local lines = {}
    local hunks = gitsign.get_hunks(bufnr)
    if hunks then
        for _, hunk in ipairs(hunks) do
            hunk.vend = math.min(hunk.added.start, hunk.removed.start) + hunk.added.count + hunk.removed.count
            local signs = gitsign_hunks.calc_signs(hunk, 0, nb_lines)
            for _, sign in ipairs(signs) do
                table.insert(lines, {
                    line = sign.lnum,
                    type = colors_type[sign.type]
                })
            end
        end
    end
    return lines
end)

I implemented it in https://github.com/petertriho/nvim-scrollbar/pull/60. I hope it will land soon


Cannot load resource "@DHDoctrineAuditBundle/Controller/"

Hi there,
I've installed the bundle as mentioned in the documents.
After adding the routes for Audit Viewer I get the following error:
 Cannot load resource "@DHDoctrineAuditBundle/Controller/". Make sure the "DHDoctrineAuditBundle" bundle is correctly registered and loaded in the application kernel class. If the bundle is register
  ed, make sure the bundle path "@DHDoctrineAuditBundle/Controller/" is not empty.

bundles.php
    DH\DoctrineAuditBundle\DHDoctrineAuditBundle::class => ['all' => true],
config/routes/dh_doctrine_audit.yaml
dh_doctrine_audit:
  resource: "@DHDoctrineAuditBundle/Controller/"
  type: audit

composer.json
   "damienharper/doctrine-audit-bundle": "^3.4",

I've no idea, why it's not working.
Any help is appreciated.
Markus

Just found it by myself.
The official documentation shows the following configuration:
dh_doctrine_audit:
    resource: "@DHDoctrineAuditBundle/Controller/"
    type: audit

If you're using the following, it's working
dh_doctrine_audit:
  resource: "@DHDoctrineAuditBundle/Controller/"
  type: annotation

@markus-fischbacher Glad you found a fix yourself ;)
I suppose you read the doc from master branch which is currently under heavy development for next major version 4.0.
The doc of the latest "stable" version 3.4.0 is located in 3.x branch. Click here to view the section related to the viewer.

@DamienHarper yes, you‘re right. I read the master branch documentation. Thanks for the clarification. BTW it’s a cool bundle. I‘m curious about the new version.


[stable/wordpress] Update mariadb dependency

Describe the bug
I'm trying to use an existing claim for mariadb, but this bug is preventing me to do so
https://github.com/helm/charts/issues/10322 (basically the pod for mariadb doesn't start). This is a mariadb bug which was fixed with this pr https://github.com/helm/charts/pull/10378, but the wordpress chart is not using the release of mariadb which contains the fix. I updated the dependency locally and it works fine.
Which chart:
wordpress
Anything else we need to know:
Thank you in advance for your support. :)

Hi @andreisergiu98
Thanks for reporting it. I just created a PR to update the requirements.lock file


Unable to install from private Python Feeds in Docker Build Context

Package Name:  azure-ai-ml
Package Version: 1.15.0
Operating System: Launching from Windows, However Error in Docker build.
Python Version: 3.11.8

Describe the bug
I have set up a private workspace connection in order to connect to a private python feed as described in the docs here. I know this is working, because when I create an environment with internal packages, using a conda file, as described in the aforementioned docs I am able to install our private packages.
However, when I try to build a docker container which installs from this internal feed, it fails. Here is my Docker file.
FROM mcr.microsoft.com/azureml/openmpi4.1.0-ubuntu20.04

RUN python -m pip install --extra-index-url https://<Link to internal antifactory> our_internal_package==1.0.0

And then here is how I create the environment.
from azure.ai.ml import MLClient
from azure.ai.ml.entities import BuildContext, Environment
from azure.identity import AzureCliCredential

cred = AzureCliCredential()
ml_client = MLClient.from_config(credential=cred, path="config.json")

env_docker_context = Environment(
    build=BuildContext(path="environment"),
    description="Environment created from a Docker context.",
)

However, whenever this environment is built, I get the following error in my build context output.
2024-04-02T13:07:15:     username, password, save = self._prompt_for_password(parsed.netloc)
2024-04-02T13:07:15:   File "/opt/miniconda/lib/python3.10/site-packages/pip/_internal/network/auth.py", line 455, in _prompt_for_password
2024-04-02T13:07:15:     username = ask_input(f"User for {netloc}: ") if self.prompting else None
2024-04-02T13:07:15:   File "/opt/miniconda/lib/python3.10/site-packages/pip/_internal/utils/misc.py", line 251, in ask_input
2024-04-02T13:07:15:     return input(message)
2024-04-02T13:07:15: EOFError: EOF when reading a line

This error is because my docker build is trying to log into this internal repo, instead of using the existing workspace connection which should allow it to authenticate automatically.
As I mentioned before, when I build an environment, with a conda.yml file, passing the conda_file="path to yaml" to the Environment class , the connection to the private repository just works. Looking at the output of the build context I see the following docker file is being used...
FROM mcr.microsoft.com/azureml/openmpi4.1.0-ubuntu20.04@sha256:ce9c0d7c5b4371de7ee00881624b5cdd2e1503edf7ce40b1d31c1dde4131dccb
USER root
RUN mkdir -p $HOME/.cache
WORKDIR /
COPY azureml-environment-setup/99brokenproxy /etc/apt/apt.conf.d/
RUN if dpkg --compare-versions `conda --version | grep -oE '[^ ]+$'` lt 4.4.11; then conda install conda==4.4.11; fi
COPY azureml-environment-setup/mutated_conda_dependencies.yml azureml-environment-setup/mutated_conda_dependencies.yml
RUN ldconfig /usr/local/cuda/lib64/stubs && conda env create -p /azureml-envs/azureml_7459a71437df47401c6a369f49fbbdb6 -
f azureml-environment-setup/mutated_conda_dependencies.yml && rm -rf "$HOME/.cache/pip" && conda clean -aqy && CONDA_ROO
T_DIR=$(conda info --root) && rm -rf "$CONDA_ROOT_DIR/pkgs" && find "$CONDA_ROOT_DIR" -type d -name __pycache__ -exec rm
 -rf {} + && ldconfig
# AzureML Conda environment name: azureml_7459a71437df47401c6a369f49fbbdb6
ENV PATH /azureml-envs/azureml_7459a71437df47401c6a369f49fbbdb6/bin:$PATH
ENV AZUREML_CONDA_ENVIRONMENT_PATH /azureml-envs/azureml_7459a71437df47401c6a369f49fbbdb6
ENV LD_LIBRARY_PATH /azureml-envs/azureml_7459a71437df47401c6a369f49fbbdb6/lib:$LD_LIBRARY_PATH
COPY azureml-environment-setup/spark_cache.py azureml-environment-setup/log4j.properties /azureml-environment-setup/
RUN if [ $SPARK_HOME ]; then /bin/bash -c '$SPARK_HOME/bin/spark-submit  /azureml-environment-setup/spark_cache.py'; fi
ENV AZUREML_ENVIRONMENT_IMAGE True
CMD ["bash"]

Looking through this, I it looks like there are likely several networking things going on/proxies being used that allow the connections to the internal repository to be set up. However, I don't know what's in some of these files, such as the 99brokenproxy file. Could these files be shared somewhere, so that we  could build custom docker containers, and connect to internal repositories? Building a environment with a conda.yml is not flexible enough for our needs.
To Reproduce
Steps to reproduce the behavior:

Create a simple Dockerfile, like in my above example, and try to install a package from an private python feed.

Expected behavior
Because the workspace connection is setup, I would expect the docker build context to be able to directly authenticate to the private python feed.

Could you check if this is helpful: https://github.com/Azure/azure-sdk-for-python/issues/29942

No, this only pertains to Conda environments. As I stated in my original post, that works, it specifically environments built with docker scripts that do not work with private repos.
Is there no way that the scripts used in the conda images docker build process can be provided to the public?

I looked into this further does not look like it is supported today. We may consider adding this feature depending on   future priorities. If you are premium customer, please feel free to log ticket for this. In the meantime, I added to our backlog for later consideration.

When you say a premium customer, you just mean I should open a support ticket in the portal?


feat (LLM-testing): Add directories and files related to LLM security testing.

These prompts are crafted to challenge the models in various ways, including but not limited to their ability to follow ethical guidelines, maintain data privacy, resist generating harmful or sensitive content, and avoid being exploited to perform unauthorized tasks.

Please feel free to change the directory location or name to something more appropriate!

Scalable Extraction of Training Data from (Production) Language Models.pdf

Thanks for making a pull request! Some of these prompts look really interesting. They will certainly be of use to AI security engineers.

Theres now a merge conflict now @emmanuel-londono

@ItsIgnacioPortal  Thanks for your suggestions; I've applied them!
@g0tmi1k Conflicts should be resolved!

I've opened a final pull-request in your fork of SecLists. After that PR is merged, I believe this PR will be ready for merging. Again, thank you for contributing @emmanuel-londono!

@ItsIgnacioPortal Merged!


[BUG] java.lang.IllegalStateException: Failed to create model for minecraft:skull

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
Game crashes with "java.lang.IllegalStateException: Failed to create model for minecraft:skull" error during lauch and before the main menu screen after installing EnderIO version 6.0.8 or newer. Log files from a custom modpack and a testing modpack containing only the EnderIO mod included with bug report.
Expected Behavior
Minecraft main menu screen loads.
Steps To Reproduce

Install EnderIO 6.0.8 or newer it an existing or newly created modpack.
Launch game.

Environment
- OS: Windows 10
- Java version: 17.0.3
- Minecraft version: 1.20.1
- Forge version: forge-47.1.43
- EnderIO Version: 6.0.8 or newer
- Launcher version: CurseForge v. <IP_ADDRESS>35

Anything else?
-=-=- Custom Modpack -=-=-
crash-2023-07-31_03.53.34-client.txt
latest.log
-=-=- EnderIO ONLY -=-=-
crash-2023-07-31_04.13.44-client.txt
latest.log

Issue was fixed with Alpha-6.0.11


CDK With Existing VPC

Hi,
I love this project and I am looking into deploying this in my environment. I am new to the CDK, but it looks like this can only be used if you are creating a new VPC, is that right? If not, could you give me a quick example of how to do that? It could be something good to add to the docs (apologies if I missed it!)

Hi - you should be able to use fromLookup

@oschwartz10612 Thanks for this! This is definitely worth rolling into the docs!

Okay, great! I will open a PR real quick and we can work there.


Thanks Guys!

Accidentally stumbled upon this gem, just what I was looking for today :-)

Hi @mikeerickson, glad you like! Let us know if you run into any issues with it. :smile:


Add WavReader::seek_sample method

This adds a method to WavReader that allows the user to seek to a given
sample position within the file.
This method requires that the inner reader R implements io::Seek.
The given sample position represents the number of samples from the
beginning of the audio data. Thus the given sample position should not
exceed the length of the file in samples (returned by len()). The
behaviour when seeking beyond len() depends on the reader's Seek
implementation.
A test for the new method is included at the bottom of the module.
This closes #18.

Looks good to me, thanks for doing this!
One note: I think it might be more convenient for seek to take a time point rather than a sample number. If you implement something like a seek bar by seeking to a fraction of reader.len(), you might end up at a sample that is not a multiple of the number of channels. In the case of a stereo file that would effectively swap the channels. When seeking to a time, maximum value would be reader.duration() - 1 rather than reader.len(). What do you think?

Would it be a good idea to have different seek modes? Like seek from start, from end and from current position? In the same fashion that libsndfile uses? Either over separate functions or via a flag?

@ruuda I'm happy to go either way - I guess the trade-off with using a a time-based seek is that the user wouldn't be able to seek to a specific channel index. That said, they could still reach it by seeking and then iterating to the channel. Maybe use-cases for this are rare enough that it wouldn't be an issue anyway!
@zyvitski I'm happy to add this. Perhaps we could declare a SeekFrom enum (following the std::io::SeekFrom convention) to use as an argument to seek_sample? I'm not sure if we should use io::SeekFrom itself as the documenntation for it specifically say that the values refer to byte offsets, whereas ours would refer to sample offsets.

I would just make a new enumerated unless there is a compelling reason to use the other?

Yes, apologies, I meant to say "I don't think we should" rather than "I'm not sure if we should".

I am tempted to say that simpler is better. For any kind of audio player, would probably need to track the time or sample number anyway, so you can use that to compute a relative offset.

@ruuda I've added a commit that changes the implementation to work via duration rather than length. The docs and tests have been updated accordingly.

Thanks! Should I make a new release for this?

@ruuda that would be much appreciated! 😌

Hound v3.3.0, which includes this change, is now on crates.io. I renamed the method to just seek to avoid confusion about what constitutes a sample.


Better rendering for code blocks in reference section

Ideas:

Use bold to indicate required keys (e.g. name: in dbt_project.yml)
Rather than using < lt and gt signs > to indicate that a value should be replaced (which is currently inconsistently used), render it with grey italics. Potentially with a more subtle hyperlink to a list of datatypes (?)

This will required changes to the "linky code  block" we've been using so far

We will answer these questions in a style guide. Stay tuned!


Can't add tasks

After naming the session, it advances to the next breadcrumb, but the 'Add task' form does not appear.

Please double check that the backend is working

Not a bug with adding tasks - according to Wojciech. He says that it is incorrectly handling negative responses during session creation.


Warn when using '@_implementationOnly' inconsistently in a module

I thought it would be useful to allow some uses of a module to be @_implementationOnly and others to not be in case someone wanted to change from one to the other gradually, but it turns out that if you're trying to make an import implementation-only, you want to know everywhere you used it.
I'm not super happy with doing this once per batch, as opposed to once-per-file or guaranteed once-per-module, but it seems like the best compromise between "this is a cross-file check" and "you still need the source files around to do it, so it can't be done during module merging".
rdar://problem/50748157

@swift-ci Please smoke test

@swift-ci Please smoke test


Database Export button

The cache script is already dumping the database to this URL: https://firebasestorage.googleapis.com/v0/b/redcoralmap.appspot.com/o/state.json?alt=media
However, many browsers show this file as a JSON preview (that is, intimidating and scary code with English names from the perspective of our stakeholders). We should add a button that downloads this file without that preview in the admin panel. I wonder if you could use the download tag on an <a> element to download the file immediately instead of showing the browser's preview? https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/download
We should add this link to the admin panel.

In addition to a link to the database export, we should include a link to the analytics page, too: https://net.tsuni.dev/redcoralmap.web.app


Release 1.0.0a8

Released at https://pypi.org/project/pup/1.0.0a8/.
Closing.

Released at https://pypi.org/project/pup/1.0.0a8/.
Closing.


Very cool app

Hello, great application, I put a PDF to test and it worked perfectly, but how do I delete the files I put so it doesn't start with Windows anymore?

Hi. Thanks for your comments.
Actually the application only has the functionality to add an item of your choice (in this case, a PDF file) to the Windows Startup. It doesn't have the functionality to disable or remove the item.
I will add that functionality in the next release as per this issue, but I answer now to this issue to give you a solution:
You must use a task manager to disable or delete the item, or you can simply open the Windows Registry (using regedit.exe, which is located at the path: C:\Windows\regedit.exe) and delete the related value to the PDF file that you will find in one of the following keys (depending on how you added the item):

HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run

Thanks buddy, when you release the next update I'll put a video about your app on my YouTube channel :) to help you, if you could put the language in Brazilian Portuguese, I'd be grateful
Channel name Odorizzi

I'm working on the changes from time to time. The new functionality is already implemented and almost finished. Probably in two or three more days from now I will be able to update the changes in the source code of the repository and publish the new release with all these changes applied; I still need to add multilanguage support.
You have a very interesting channel with so much audience, and it would be an honor for me if this humble program has some visibility. Thank you so much!.
When the program is ready I hope you will try it to know your opinion. There will probably be some mistranslated words to correct in Portuguese.

how do I delete the files I put so it doesn't start with Windows anymore?

if you could put the language in Brazilian Portuguese

The changes were implemented, please check Version 1.3 release.
After a file is added to Windows Startup, you can delete it by following these steps:

Click on the "Startup List" button to list the current Windows startup entries.

Choose the entry you want to remove from Windows startup, and click on "Delete Entry" button.

Click "Yes" on the question dialog to confirm the entry deletion.

Please feel free to reopen and continue this conversation if you find any issues in the usage, or in the Portuguese translation, or for anything else.
Thanks for the enhancement suggestions, and for everything else. Enjoy it!.

Perfect buddy, it's very nice and beautiful, great translation, thank you very much, only when you stretch the screen you get this BUG hahaha just to warn you

And another friend, if you can solve this FALSE POSITIVE too, otherwise people will be afraid to download it

When you click on ITEM BUILDER and SEND TO ITEM BUILDER nothing happens, just to warn you

For some reason the layout logic of that control is not resumed on your computer (after parsing and adding the registry values to the control), causing those ugly black lines. It may be fixed in the v1.3.1 release.
Not sure about the "Item Builder" and "Send to Item Builder" button issues that you are experiencing (I can't reproduce those issues on my computer), but it could be related with the other issue above. In any case I've added some additional error handlings in the source-code, so it could also had been fixed in v1.3.1 release. Please, check it.
About the AV false positives, it is very difficult for me to determine what is causing it. But considering that the application performs Windows registry (read/write) manipulation, it would be hard to replace the way that the application performs those operations in order to get rid of false positives for all the AVs.
I will wait for your feedback, thank you.

When I click on these buttons nothing happens, I'm using Windows 10

When I click on these buttons nothing happens, I'm using Windows 10

I'm also on Windows 10 (22H2, 64-Bit). I'll show you which is the expected behavior:

I was not able to reproduce or figure out what is preventing those buttons from working on your computer, however, in version 1.3.2 I've added a "Compact Mode " Check box that should serve as a final workaround:

¿Could you confirm it works for you?. Thank you for your patience!.

Now it's working properly, my friend, with the compact mode activated and deactivated, it works in both, only this error is appearing.
Then, with administrator mode activated, the error disappears.
Windows 10 22h2 latest version

the rest is perfect :)

Just showing everything working properly
Errors:
Language doesn't translate everything
Error appears if not run as administrator, with administrator it is normal

with the compact mode activated and deactivated, it works in both

It's strange that the button problem has been solved, but I'm glad to hear that now it works for you!

Just showing everything working properly
Errors: Language doesn't translate everything Error appears if not run as administrator, with administrator it is normal

The translation problem was an oversight, my fault, I did not included the translation files in that release. It's already solved in the latest release.
I have applied other changes to solve (or rather, to avoid) the problem of registry read/write errors when the user does not have enough (administrator) privileges.
It's important to note that the application must be run with administrator privileges if wants to add keys to the "HKEY_LOCAL_MACHINE" registry path (using "All users" button in the application).
Definitely this time everything should work as expected, please try version 1.3.4.

Perfect buddy, everything is working correctly now, there are just two details
When adding a program, file, document in the builder item, after adding it you must clear the fields to add a new program, etc...
And another:
The programs, files, documents that the user has added, in the startup list should be separated so that it is easier for the user to find what they have added and make changes such as deleting, looking in regedit etc... maybe put in a new tab the new files and those that are from the Windows system leave as is
Compact mode can be removed, my friend
I'm being annoying <3 but it's to improve, the rest is working very well

Compact mode can be removed, my friend

I'm afraid that reverting the changes might cause a breaking change on your computer, and thus, maybe causing problems for other users too.
Could you please test the "Item Builder" and "Startup List" buttons in this build before I officially apply the changes to a new release?:
v1.3.5 Portable WITHOUT COMPACT MODE.zip

When adding a program, file, document in the builder item, after adding it you must clear the fields to add a new program,

Already fixed in version 1.3.5. Thank you!.

The programs, files, documents that the user has added, in the startup list should be separated so that it is easier for the user to find what they have added and make changes such as deleting, looking in regedit etc... maybe put in a new tab the new files and those that are from the Windows system leave as is

Yes, I also think that the ideal would be to only show a list with the entries added by the program. That's what I would have liked from the beginning, and I've been toying with the idea, but unfortunately I can't make that distinction without adding some distinctive element to the name of the Windows registry entries added by the program such as a special prefix or suffix, and that would be very intrusive.
Maybe in the future I can figure out a way that doesn't involve altering the name of the registry keys added by the program, but for now I can't.

I'm being annoying <3 but it's to improve, the rest is working very well

You are not being annoying, you flatter me with your interest in this program. Any other proposal you may have in mind, do not hesitate to comment it.

Perfect buddy, everything is working properly now
Just one observation, when editing a file it duplicates instead of deleting the old one, for example:
I put an image with the name Odorizzi, I'm going to edit the image to Odorizzi2, you're left with the two images Odorizzi and Odorizzi2 you should delete Odorizzi and keep only Odorizzi2
The rest is perfect buddy, when you launch the official one, let me know, I'll put the video on my channel.
there could be a button to clear the recent ones so they don't get too polluted
The buttons are all working properly

Other types of programs that subscribers ask for on my Channel and that are hard to find and that are free/paid
An application that increases the volume of Windows beyond what is allowed, something very simple with a volume bar above 100%
A real-time translator for Windows that translates any application, image, files and games on the Windows screen
Fix YouTube, Twitch, Facebook etc. chat at the top of the screen while playing the game in full screen - this is what many LiveStream users want so they can read the chat.
Here's a tip :) if you do, I'll help you spread the word.
Translated with DeepL.com (free version)

I put an image with the name Odorizzi, I'm going to edit the image to Odorizzi2, you're left with the two images Odorizzi and Odorizzi2 you should delete Odorizzi and keep only Odorizzi2

I understand what you mean. I will add a dialog to let the user confirm deletion of the previous registry entry before adding the new edited one.

there could be a button to clear the recent ones so they don't get too polluted

Good idea, I'll implement that too.
I will also think about ways to distinguish the keys generated by the program, permanently, and separate them in a new tab. It may take me more than a few days.
Thank you for trying the version without compact mode.
See you soon!

Just one observation, when editing a file it duplicates instead of deleting the old one, for example:
I put an image with the name Odorizzi, I'm going to edit the image to Odorizzi2, you're left with the two images Odorizzi and Odorizzi2 you should delete Odorizzi and keep only Odorizzi2

there could be a button to clear the recent ones so they don't get too polluted

A new release have been published with the improvements applied!. 😄

Other types of programs that subscribers ask for on my Channel and that are hard to find and that are free/paid

Certainly they sound very interesting ideas, but they could be very challenging to develop. I will investigate from time to time.
Thanks for your feedback!

https://youtu.be/WpE3X4VsuVA Perfect, I posted the video about your application friend :) everything is working correctly, I just did a test with the OBS STUDIO program I tested with the shortcut and the .exe and it gave this error when starting windows, just so you know

Amazing video!, thanks a lot. I hope some of your subscribers could find this program useful!

It is not a problem related to File2Startup. There are simply some programs that when executed by the shell cannot locate their working directory.
Here you can see that the same problem occurs by simply trying to run the OBS process from CMD:
https://obsproject.com/forum/threads/solved-cant-run-obs-studio-from-cmd.73257/
That occurs because the user is not running OBS from its main, working directory.

SOLUTION (shortcut file)
In the shortcut it is mandatory to specify the working directory (where the obs32.exe / obs64.exe file is located), as indicated in this official article:
https://obsproject.com/kb/launch-parameters
In my case it will look like this:

Then the shortcut file will start at Windows startup correctly when added with File2Startup.

SOLUTION (CMD)
An alternative to adding a shortcut file in File2Startup, is to add a CMD entry with the following configuration:
File: C:\Windows\System32\cmd.exe
Arguments: /C " PUSHD "%ProgramFiles%\obs-studio\bin\64bit" && Start /B "" "obs64.exe" "

Note: Ensure to change %ProgramFiles%\obs-studio\bin\64bit if needed, to point to the directory path where you have OBS installed.


Gazelle support does not respect partial sync subtree

Description of the bug:
When I configure the gazelle support and run a partial sync on my project, gazelle runs against the whole project instead of the subtree I have selected the partial sync on.
What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.

setup gazelle support by adding gazelle_target: //:gazelle to the project view file .ijwb/.bazelproject.
right-click a subtree of the project that contains some of the files gazelle should operate on, then click "Partial Sync"

Gazelle will generate BUILD files outside the subtree selected for the partial sync.
Which Intellij IDE are you using? Please provide the specific version.
IntelliJ IDEA 2023.1 (Ultimate Edition) Build #IU-231.8109.175, built on March 28, 2023 Licensed to Chad Mcelligott Subscription is active until February 16, 2024. Runtime version: 17.0.6+10-b829.5 aarch64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. macOS 13.2.1 GC: G1 Young Generation, G1 Old Generation Memory: 16384M Cores: 10 Metal Rendering is ON Registry:     debugger.new.tool.window.layout=true     ide.experimental.ui=true     scala.erase.compiler.process.jdk.once=false  Non-Bundled Plugins:     com.jetbrains.plugins.ini4idea (231.8109.199)     net.sjrx.intellij.plugins.systemdunitfiles (223.230322.126)     org.intellij.plugins.hcl (231.8109.91)     com.vexus2.intellij.marked (0.2)     org.jetbrains.plugins.go-template (231.8109.91)     name.kropp.intellij.makefile (231.8109.91)     org.sylfra.idea.plugins.linessorter (1.0.1)     org.jetbrains.plugins.go (231.8109.175)     com.intellij.kubernetes (231.8109.91)     com.codename1.plugin.intellij (7.03)     String Manipulation (9.7.1)     reasonml (0.110-2023.1)     com.intellij.lang.jsgraphql (3.4.0)     me.mbolotov.cypress (1.5.2)     org.intellij.scala (2023.1.15)     MavenRunHelper (<IP_ADDRESS>64.0)     Pythonid (231.8109.175)     net.seesharpsoft.intellij.plugins.csv (3.1.0-231)     mobi.hsz.idea.gitignore (4.5.0)     com.google.idea.bazel.ijwb (2<IP_ADDRESS>.1-api-version-231)     ru.adelf.idea.dotenv (2023.1)  Kotlin: 231-1.8.20-IJ8109.175
What programming languages and tools are you using? Please provide specific versions.
go version go1.19.1 darwin/arm64
What Bazel plugin version are you using?
2<IP_ADDRESS>.1-api-version-231
Have you found anything relevant by searching the web?
No response
Any other information, logs, or outputs that you want to share?
No response

Hello!
Unfortunately, this is a known limitation. It will actually run against (roughly) whatever you have specified in directories.
The main reason is how gazelle operates.
Let's say you have the following directory structure:
├── a
│   ├── BUILD.bazel # defines //a:a_lib
│   └── a.go
└── b
    ├── BUILD.bazel # defines //b:depends_on_a
    └── b.go

And say that //b:depends_on_a needs a:a_lib to build.
Let's say you rename a to c, and then run a partial sync on c.
If we only ran gazelle on c, we'd run the equivalent of bazel run //:gazelle -- c, so //b:depends_on_a wouldn't be updated to depend on c.
There's an argument to be made about running gazelle on the contents of targets, not directories,  but I'm not sure it would be such a big performance gain.

No problem! Have a great day.


Edited images (GrapheneOS foto editor) are moved to subdirectory

Pixel 6a, latest OS build (as of 2022-09-23)
GIVEN: shot an image with GrapheneOS camera app which is stored under the dedault folder /DCIM/Camera
WHEN I open the image with GrapheneOS camera app
AND I push in the edit shortcut
AND I make any changes on the image within the GrapheneOS foto editor
AND I push the save button (to save my changes on the image)
THEN the editor app throws an error "An unexpected error occured after editing"
AND the original image will be moved to /DCIM/Camera/.aux folder (which was not existant before)
AND the modified image is not accessible by the camera app any more (but with another file explorer)

GrapheneOS Camera includes an edit action to edit the image in an external editor app. There's no editor included in GrapheneOS Camera. I suggest that you install a different editor if you're having issues with AOSP Gallery. GrapheneOS doesn't make our own gallery app or image editor app.


Incompatibility custom:state-switch with custom:bubble-card

I, excuse for my bad english.
I use custom:state-switch and custom:bubble-card on the same page to have different views via hash.
With the latest update, the hash set via state-switch disappears immediately after being set, preventing me from viewing the corresponding section.
This event does not occur in the companion app.
Ex. code
- type: custom:state-switch
entity: hash
default: Pippo
states:
Pippo:
type: vertical-stack
cards:
- type: ...........
...........
- type: vertical-stack
cards:
- type: custom:bubble-card
card_type: pop-up
hash: "#AirClimate"
name: ..........

OS: Microsoft Windows 10
Browser/App: chrome
Bubble Card version: 2.2.4
Home Assistant version: 2024.8.3
State Switch version: 1.9.5

Thank you! 🍻

Update:
The problem only appears after the first Bubble card call.
On edge the problem is the same


Frame selection is broken several versions already

Scenario:

Click one frame
Press Shift + Left or Right to select next frames
Select as much as you need

Expected result:
Selection is extended is much as you need to edit your record
Actual result:
After few frames selection is lost, need to reselect again, usually just about 10 frames can work properly
This was worked fine several versions before, I dunno what happend

Hey @zoulja can you see if I'm doing something different than you? I'm holding shift while pressing left/right and I don't see such behavior on version 2.32.1.

Not sure what and how goes wrong but I observe this issue every time 😔

@zoulja you do anything different than on the above video?

There's something wrong with the virtualization of the list (as seen in another issue ticket).
Maybe it's the same reason behind the bug that you people found.

@zoulja you do anything different than on the above video?

Nope, scenario is the same.
And it seems in some cases backward selection works better than forward

@zoulja Can you try it with v2.34?

Hello @NickeManarin!
It seems to be ok now, thanks a lot for your efforts!


Give every repo a "branches" branch (to be used similarly to git's reflog)

There is no way to watch the list of branches, or to watch all commits on a repo. This effectively gives you both.
Specifically what I'm proposing: every repo would, in addition to (usually) master and stats branches, have a branches branch. This would contain a single file for each branch in the repo, with the contents of the file being the ID of the branch's current HEAD commit. Changes to branches would also result in a new commit on the branches branch. Alternatively, if we don't want to retain the full history of every branch pointer, the per-branch files could just be empty -- in that case, new commits on the branches branch would only be required when branches were created or deleted.
This would be particularly useful for the dash to greatly simplify update fetching (instead of having to track the dependency graph of whatever data is on the page and poll for that, this would allow just setting a watch and getting updates)
Beyond being generally useful for all data repos, watching the list of branches on the __spec__ repo is also an effective way to watch the list of pipelines

In addition to the use-cases above, just being able to see the history of a branch would be quite useful when they're being used in advanced ways to trigger processing (as documented in https://docs.pachyderm.io/en/latest/cookbook/deferred_processing.html )

I think being able to watch for branches being created makes sense, I'm not sure if a branches branch is a good way to implement this, it seems like kind of an abuse of the abstraction layers. A way to watch all commits also makes sense.


clean-repo-sidebar hides some links in readme

Please ensure:

[X] The bug is caused by Refined GitHub. It doesn't happen if I disable the extension.
[X] The bug happens after clearing extension cache. The "Clear cache" button below can also be found at the bottom of the options page.

Example URLs
https://github.com/panva/jose
Extension version
22.2.13
Browser(s) used
Chrome, M1 macOS Big Sur
Description
With clean-repo-sidebar disabled 👍

With clean-repo-sidebar enabled 👎, rendered links inside this list are hidden by an injected stylesheet

No relevant console output.
Include in this issue:

[X] Screenshots/video/gif demonstrating the bug, if it’s visual
[X] Console errors, if any

Caused by #5405

More info, only links with href that include the #readme anchor are affected seem to be affected.

@panva Thanks for the detailed report and the screenshots!
I have "hotfixed" this, so if you manually clear the extension cache ("Clear cache" button at the bottom of the options page) it should be back to normal. (It might take a few seconds for the CSS to be downloaded).

Thanks for the report @panva and sorry about the bug 😅


sync chart to release.daocloud.io

What type of PR is this?

/kind enhancement
What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

/lgtm


DocC announcement banner

Any suggestions on wording are welcome unless they make it longer! 😂

Deploying as 2.66.1


Add auto completion support to zsh

For more info visit -> https://github.com/creationix/nvm/issues/1707
Credit goes to @pecigonzalo for figuring out the issue, I just did the work to put it in the install script and made sure that it did not conflict with bash.
Just run the install script in zsh to see working. Also please test that the install script still works in bash :)

So updating the tests commit is me, I don't know why it shows as if I'm another user?

@JemiloII all the other commits have your "jemiloii.com" email address; the last one has your gmail. If you add your gmail to your github account, then it will connect the commit properly.

Nice work, I'll give it a look later today, I did not implement a solution yet as loading it might interfere with other things, as load order is important for this.


Wrap a story with a Layout Route

Hi there,
I am struggling with writing stories for components that assume an ancestor Route that renders its contents inside an . Hoping I can describe my situation and get big brains to find a solution.
I have a very simple and plain ComponentX that renders some styled HTML, no data fetching or even routing needed. It has a single, simple story.
I also have a GlobalStyles component responsible for the task of applying global styles (such as a dark background color to the ). Likely irrelevant, but  uses the css-in-js library Emotion to apply styles to the document . This component does not accept children, but rather renders an  and is meant to be used as a layout route.
export const Global = () => (
  <>
    <EmotionGlobalCss  styles={{ body: { backgroundColor: 'black' } }} />
    <Outlet />
  </>
);

Now, ComponentX is meant to be used by various pages in a dark-themed website. I expect the application to render a Route tree akin to this:
  <Router>
    <Routes>
      <Route element={<GlobalStyles/>} >
        <Route path="login">
          <Route index element={<Login />} />
          <Route path="multifactor" element={<Mfa />} />
        </Route>

Not pictured: the  and  pages call ComponentX.
Now, I've struggled mightily with creating a custom Storybook decorator that wraps each Story with this  <Route element={<GlobalStyles/>} > component. How can this be accomplished, whether with or without this Storybook addon?
(I also realized that I can make  a simple wrapper component and throw it around the , but 1) I may use this pattern to create stories for other components that assume other, intermediate layout routes, and 2) I'm just stubborn and want to solve this problem.
Sincere thanks for your time 🙏

If anyone finds this issue, I posted the same question at StackOverflow:
https://stackoverflow.com/questions/74722305/how-can-you-wrap-a-story-with-a-react-router-layout-route

Since your question have been answered on SO, I'm gonna close this one. Feel free to reopen if you still have an issue ;)


[SMALLFIX] Disable the HDFS cache in HDFS under storage file system

Disables the HDFS client cache when constructing the HDFS under storage file system, so that the configuration passed in will be effective.
Otherwise an application may create an HDFS client directly or indirectly, and that will shadow the configurations during the under storage file system construction.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/11305/Build result: FAILURE[...truncated 669 lines...][JENKINS] Archiving /home/jenkins/workspace/Alluxio-Pull-Request-Builder/underfs/local/target/alluxio-underfs-local-1.3.0-SNAPSHOT.jar to org.alluxio/alluxio-underfs-local/1.3.0-SNAPSHOT/alluxio-underfs-local-1.3.0-SNAPSHOT.jar[JENKINS] Archiving /home/jenkins/workspace/Alluxio-Pull-Request-Builder/underfs/local/target/alluxio-underfs-local-1.3.0-SNAPSHOT-sources.jar to org.alluxio/alluxio-underfs-local/1.3.0-SNAPSHOT/alluxio-underfs-local-1.3.0-SNAPSHOT-sources.jar[JENKINS] Archiving /home/jenkins/workspace/Alluxio-Pull-Request-Builder/keyvalue/server/pom.xml to org.alluxio/alluxio-keyvalue-server/1.3.0-SNAPSHOT/alluxio-keyvalue-server-1.3.0-SNAPSHOT.pom[JENKINS] Archiving /home/jenkins/workspace/Alluxio-Pull-Request-Builder/underfs/gcs/pom.xml to org.alluxio/alluxio-underfs-gcs/1.3.0-SNAPSHOT/alluxio-underfs-gcs-1.3.0-SNAPSHOT.pom[JENKINS] Archiving /home/jenkins/workspace/Alluxio-Pull-Request-Builder/core/common/pom.xml to org.alluxio/alluxio-core-common/1.3.0-SNAPSHOT/alluxio-core-common-1.3.0-SNAPSHOT.pom[JENKINS] Archiving /home/jenkins/workspace/Alluxio-Pull-Request-Builder/core/common/target/alluxio-core-common-1.3.0-SNAPSHOT.jar to org.alluxio/alluxio-core-common/1.3.0-SNAPSHOT/alluxio-core-common-1.3.0-SNAPSHOT.jar[JENKINS] Archiving /home/jenkins/workspace/Alluxio-Pull-Request-Builder/core/common/target/alluxio-core-common-1.3.0-SNAPSHOT-sources.jar to org.alluxio/alluxio-core-common/1.3.0-SNAPSHOT/alluxio-core-common-1.3.0-SNAPSHOT-sources.jar[JENKINS] Archiving /home/jenkins/workspace/Alluxio-Pull-Request-Builder/core/common/target/alluxio-core-common-1.3.0-SNAPSHOT-tests.jar to org.alluxio/alluxio-core-common/1.3.0-SNAPSHOT/alluxio-core-common-1.3.0-SNAPSHOT-tests.jar[JENKINS] Archiving /home/jenkins/workspace/Alluxio-Pull-Request-Builder/underfs/s3/pom.xml to org.alluxio/alluxio-underfs-s3/1.3.0-SNAPSHOT/alluxio-underfs-s3-1.3.0-SNAPSHOT.pom[JENKINS] Archiving /home/jenkins/workspace/Alluxio-Pull-Request-Builder/assembly/pom.xml to org.alluxio/alluxio-assemblies/1.3.0-SNAPSHOT/alluxio-assemblies-1.3.0-SNAPSHOT.pom[JENKINS] Archiving /home/jenkins/workspace/Alluxio-Pull-Request-Builder/shell/pom.xml to org.alluxio/alluxio-shell/1.3.0-SNAPSHOT/alluxio-shell-1.3.0-SNAPSHOT.pom[JENKINS] Archiving /home/jenkins/workspace/Alluxio-Pull-Request-Builder/underfs/oss/pom.xml to org.alluxio/alluxio-underfs-oss/1.3.0-SNAPSHOT/alluxio-underfs-oss-1.3.0-SNAPSHOT.pom[JENKINS] Archiving /home/jenkins/workspace/Alluxio-Pull-Request-Builder/keyvalue/client/pom.xml to org.alluxio/alluxio-keyvalue-client/1.3.0-SNAPSHOT/alluxio-keyvalue-client-1.3.0-SNAPSHOT.pom[JENKINS] Archiving /home/jenkins/workspace/Alluxio-Pull-Request-Builder/underfs/hdfs/pom.xml to org.alluxio/alluxio-underfs-hdfs/1.3.0-SNAPSHOT/alluxio-underfs-hdfs-1.3.0-SNAPSHOT.pom[JENKINS] Archiving /home/jenkins/workspace/Alluxio-Pull-Request-Builder/underfs/swift/pom.xml to org.alluxio/alluxio-underfs-swift/1.3.0-SNAPSHOT/alluxio-underfs-swift-1.3.0-SNAPSHOT.pom[JENKINS] Archiving /home/jenkins/workspace/Alluxio-Pull-Request-Builder/underfs/s3a/pom.xml to org.alluxio/alluxio-underfs-s3a/1.3.0-SNAPSHOT/alluxio-underfs-s3a-1.3.0-SNAPSHOT.pom[JENKINS] Archiving /home/jenkins/workspace/Alluxio-Pull-Request-Builder/examples/pom.xml to org.alluxio/alluxio-examples/1.3.0-SNAPSHOT/alluxio-examples-1.3.0-SNAPSHOT.pom[JENKINS] Archiving /home/jenkins/workspace/Alluxio-Pull-Request-Builder/core/server/pom.xml to org.alluxio/alluxio-core-server/1.3.0-SNAPSHOT/alluxio-core-server-1.3.0-SNAPSHOT.pom[JENKINS] Archiving /home/jenkins/workspace/Alluxio-Pull-Request-Builder/keyvalue/common/pom.xml to org.alluxio/alluxio-keyvalue-common/1.3.0-SNAPSHOT/alluxio-keyvalue-common-1.3.0-SNAPSHOT.pom[JENKINS] Archiving /home/jenkins/workspace/Alluxio-Pull-Request-Builder/underfs/pom.xml to org.alluxio/alluxio-underfs/1.3.0-SNAPSHOT/alluxio-underfs-1.3.0-SNAPSHOT.pom[JENKINS] Archiving /home/jenkins/workspace/Alluxio-Pull-Request-Builder/underfs/glusterfs/pom.xml to org.alluxio/alluxio-underfs-glusterfs/1.3.0-SNAPSHOT/alluxio-underfs-glusterfs-1.3.0-SNAPSHOT.pom[JENKINS] Archiving /home/jenkins/workspace/Alluxio-Pull-Request-Builder/integration/pom.xml to org.alluxio/alluxio-integration/1.3.0-SNAPSHOT/alluxio-integration-1.3.0-SNAPSHOT.pom[JENKINS] Archiving /home/jenkins/workspace/Alluxio-Pull-Request-Builder/keyvalue/pom.xml to org.alluxio/alluxio-keyvalue/1.3.0-SNAPSHOT/alluxio-keyvalue-1.3.0-SNAPSHOT.pomchannel stopped
Test FAILed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/11306/
Test PASSed.

Merged build finished. Test PASSed.

@yupeng9 Thanks for fixing this. Could we also add a test that UnderFileSystem get(String path, Object ufsConf) won't ignore updated configuration?

LGTM

@aaudiber thanks for the review. UnderFileSystem get(String path, Object ufsConf) is different, because it accesses the cache managed by Alluxio. The fix in this PR is to disable the cache in HDFS client.

ok, we probably want to fix that some day but I'm fine with not worrying about it in this PR.

LGTM

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/11307/
Test PASSed.

@aaudiber yeah, it seems UnderFileSystem get(String path, Object ufsConf) only uses the path as the key in cache. Not sure if it's intentional. @calvinjia ?


Add Batch build-linux

Hi,
Could you add this 3 batch?
build-linux.sh build with args if no args it build all firmware's stage1 and stage2.
build-linux-auto.sh just edit vars and execute.
build-linux-prompt.sh build with firmware prompt.
All of these can build all firmware's stages.
See Code for more infos

i was trying to psuh that also lol :P i did this.
#!/bin/bash
Please use ./build.sh with the Firmware version ie. 900/1100 etc.
make -C stage1 FW=1100 clean && make -C stage1 FW=$1
make -C stage2 FW=1100 clean && make -C stage2 FW=$1


Make currency clear when submitting expenses

The expenses submission screen does not mention currency. As a result, it's easy to overlook that it's USD. Ideally one would be forced to choose a currency so no mistakes can be made, with the system performing any necessary conversions. At the very least though, it should be clear that USD are being used.

thanks for the feedback Kent! We'll be working on expenses next.
cc/ @asood123


SCB-995 Implement Saga Console API's

This set of API's has been implemented to expose the saga events through API's which can be used by Saga Dashboard.
This PR is in continuation of the https://github.com/apache/incubator-servicecomb-saga/pull/317
API Documentation for these API's are available here
Postman Collection for these API 's are available here
An Alpha-Server image with these changes are available here for test.
Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Make sure there is a JIRA issue filed for the change (usually before you start working on it).  Trivial changes like typos do not require a JIRA issue.  Your pull request should address just this issue, without pulling in other changes.
[x] Each commit in the pull request should have a meaningful subject line and body.
[x] Format the pull request title like [SCB-XXX] Fixes bug in ApproximateQuantiles, where you replace SCB-XXX with the appropriate JIRA issue.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Run mvn clean install to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
[x] If this contribution is large, please file an Apache Individual Contributor License Agreement.

Coverage decreased (-1.9%) to 89.896% when pulling 9ea0bc1122380b3fbe165c17870fad5894fb188e on asifdxtreme:master into 1e7d762e448dad8dda25a8a9b3b12071b808ee47 on apache:master.

@asifdxtreme  Please add unit test for the code.

@asifdxtreme Please add unit test for the code. I also added some comments on the query API.

@WillemJiang thanks for the suggestion, I will add the duration parameter in the findTransaction API by which user can find the list of all transactions in happened in that duration.
One more thing, here in this complete set of API's I consider Global Transactions as 1 transaction and not the sub transactions, means if there is 5 Global transactions and each global transactions have 3 sub-transactions then the totalTransaction count as per my API will be 5 and not 15.


Using the Helm SDK when no kubeconfig is available

Currently when using helm SDK, a RESTClientGetter is needed. This is trivial when a kubeconfig file is available. However when the program only have access to the CA, token/certs and url in memory, it becomes a bit more complicated.
In fact the program needs to implement the following interfaces:

ToRESTConfig() (*rest.Config, error)
ToDiscoveryClient() (discovery.CachedDiscoveryInterface, error)
ToRESTMapper() (meta.RESTMapper, error)

Of course it can still be done with some magic, but then it is also needed to create a new abstraction over the namespace with the ToRawKubeConfigLoader() method.
A fix would be to add a Namespace field to the kube client in order to lighten a bit the custom implementation written to use Helm3 without a kubeconfig

Is there a reason this was closed? Unless I'm mistaken, I don't see how #7373 addresses this in any way?
I think the intention of this issue was that it requires a lot of boilerplate to set up the Helm SDK in an environment where a standard kubeconfig doesn't exist, and so it would be a huge benefit to have an easier way to bootstrap the SDK.

Merging #7373 automatically closes this issue as @Sh4d1 mentioned “Fixes #7377 (kind of)”. GitHub checks for the presence of “closes” or “fixes” proceeded by an issue number to mark issues as automatically closed once the PR is merged.
Re-opening.

Is anyone planning to work on this, or shall I close this one out as inactive? Haven't seen any activity on this ticket for months.

We're still looking forward to improvements made in this area. Checking out the latest improvements made to the Helm SDK and upgrading to the latest 3.x version is near the top of our backlog.
I will report back soon.

We're still looking forward to improvements made in this area.

There have been no changes to this particular area of the code, which is why I'm reaching out.
I am asking if anyone from the community has looked into submitting a pull request to help improve this area, or if anyone may be able provide more insight on how they worked around this in their own projects.
Marking this as "help wanted" to signify that we aren't looking into this, but we are looking for guidance from the community to help make improvements in this area of the code, either in the form of pull requests or documentation.

@bacongobbler I am interesting on this.

I was looking into the codebase for the places where the RESTClientGetter interface is being used and if we could get rid of it altogether and convert it into rest.Config and use that everywhere in the client sdk code , like a native kubernetes go client (one you create using client go library) and possibly everywhere else as well.
Something like

Helm cli reads kubeconfig -> Helm code converts it into rest.Config -> Passes it to the helm sdk
Code using helm sdk creates/gets rest.Config -> Passes it to the helm sdk

Places where RESTClientGetter is used
Interface
type RESTClientGetter interface {
	// ToRESTConfig returns restconfig
	ToRESTConfig() (*rest.Config, error) // NO NEED
	// ToDiscoveryClient returns discovery client
	ToDiscoveryClient() (discovery.CachedDiscoveryInterface, error)
	// ToRESTMapper returns a restmapper
	ToRESTMapper() (meta.RESTMapper, error) // NOT USED ANYWHERE
	// ToRawKubeConfigLoader return kubeconfig loader as-is
	ToRawKubeConfigLoader() clientcmd.ClientConfig
}

ToDiscoveryClient()
https://github.com/helm/helm/blob/4f7b9fcb67424008a839845397838b491036ca61/pkg/action/action.go#L242
// helm/pkg/action/action.go:237
237: // capabilities builds a Capabilities from discovery information.
238: func (c *Configuration) getCapabilities() (*chartutil.Capabilities, error) {
239: 	if c.Capabilities != nil {
240: 		return c.Capabilities, nil
241: 	}
242: 	dc, err := c.RESTClientGetter.ToDiscoveryClient()
243: 	if err != nil {
244: 		return nil, errors.Wrap(err, "could not get Kubernetes discovery client")
245: 	}

https://github.com/helm/helm/blob/4f7b9fcb67424008a839845397838b491036ca61/pkg/action/install.go#L151
// helm/pkg/action/install.go:149
149: 		// Invalidate the local cache, since it will not have the new CRDs
150: 		// present.
151: 		discoveryClient, err := i.cfg.RESTClientGetter.ToDiscoveryClient()
152: 		if err != nil {
153: 			return err
154: 		}

We might need to implement a function that returns discoveryClient ourselves.
ToRawKubeConfigLoader()
https://github.com/helm/helm/blob/4f7b9fcb67424008a839845397838b491036ca61/pkg/cli/environment.go#L150
// helm/pkg/cli/environment.go:148
148: // Namespace gets the namespace from the configuration
149: func (s *EnvSettings) Namespace() string {
150: 	if ns, _, err := s.config.ToRawKubeConfigLoader().Namespace(); err == nil {
151: 		return ns
152: 	}
153: 	return "default"
154: }

https://github.com/helm/helm/blob/4f7b9fcb67424008a839845397838b491036ca61/pkg/kube/client.go#L134
// helm/pkg/kube/client.go:130
130: func (c *Client) namespace() string {
131: 	if c.Namespace != "" {
132: 		return c.Namespace
133: 	}
134: 	if ns, _, err := c.Factory.ToRawKubeConfigLoader().Namespace(); err == nil {
135: 		return ns
136: 	}
137: 	return v1.NamespaceDefault
138: }

If we could find a way to get the namespace through some other way (maybe store it in some struct or allow it to be passed as a parameter), we can get rid of ToRawKubeConfigLoader().
https://github.com/helm/helm/blob/4f7b9fcb67424008a839845397838b491036ca61/pkg/kube/factory.go#L30
// helm/pkg/kube/factory.go:28
28: type Factory interface {
29: 	// ToRawKubeConfigLoader return kubeconfig loader as-is
30: 	ToRawKubeConfigLoader() clientcmd.ClientConfig
31: 	// KubernetesClientSet gives you back an external clientset
32: 	KubernetesClientSet() (*kubernetes.Clientset, error)

Same here. If ToRawKubeConfigLoader is only being used for getting the namespace, we should be able to get rid of this method altogether (unless I am missing something).
From my limited knowledge of the codebase, I think if we make the above changes, we should be able to get rid of the RESTClientGetter interface and use the rest.Config instead.
Note

If there are other places where the methods are being used, like if the RESTClientGetter is required for some library function which is outside Helm codebase, then we might have a problem.
I have a limited understanding of the codebase and I might be completely wrong in some places.

I am interested in this issue as well @bacongobbler. Maybe @lemonli and I can work on this together.

Unstale.

I use the helm sdk in my program, now i want to use rest.Config not kubeconfig, i already implement RESTClientGetter interface.
But ToDiscoveryClient() (discovery.CachedDiscoveryInterface, error) function  return CachedDiscoveryInterface struct, i want not use cached, whether the helm sdk support discovery.DiscoveryInterface ?

Unstale.

Unstale.

Unstale.

Refer this
https://medium.com/analytics-vidhya/using-helm-with-amazon-eks-without-a-kubeconfig-733f44a31b1d

I was able to find a solution for my case where I have the kubeconfig as a string and want to initialize the client without writing to a file. I followed the Medium article and came up with this solution
settings := helmCli.New()

restConfig, err := clientcmd.RESTConfigFromKubeConfig([]byte(kubeconfig))
if err != nil {
	return nil, nil, err
}

namespace := "default"
actionConfig, err := GetActionConfig(ctx, namespace, restConfig)

where we have the function
func GetActionConfig(ctx context.Context, namespace string, config *rest.Config) (*helmAction.Configuration, error) {
	log := ctrl.LoggerFrom(ctx)
	logf := func(format string, v ...interface{}) {
		log.V(4).Info(fmt.Sprintf(format, v...))
	}

	actionConfig := new(helmAction.Configuration)
	cliConfig := genericclioptions.NewConfigFlags(false)
	cliConfig.APIServer = &config.Host
	cliConfig.BearerToken = &config.BearerToken
	cliConfig.Namespace = &namespace
	// Drop their rest.Config and just return inject own
	wrapper := func(*rest.Config) *rest.Config {
		return config
	}
	cliConfig.WithWrapConfigFn(wrapper)
	if err := actionConfig.Init(cliConfig, namespace, "secret", logf); err != nil {
		return nil, err
	}
	return actionConfig, nil
}

hi, @bacongobbler, I have a plan to integrate client-go clientcmd client config into this, I have tested it work on azure kubernetes cluster.
type RESTClientGetter struct {
	Namespace    string
	ClientConfig clientcmd.ClientConfig
}

func NewRESTClientGetter(namespace string, clientConfig clientcmd.ClientConfig) *RESTClientGetter {
	return &RESTClientGetter{
		Namespace:    namespace,
		ClientConfig: clientConfig,
	}
}

func (c *RESTClientGetter) ToRESTConfig() (*rest.Config, error) {
	config, err := c.ClientConfig.ClientConfig()
	if err != nil {
		return nil, err
	}

	return config, nil
}

func (c *RESTClientGetter) ToDiscoveryClient() (discovery.CachedDiscoveryInterface, error) {
	config, err := c.ToRESTConfig()
	if err != nil {
		return nil, err
	}

	// The more groups you have, the more discovery requests you need to make.
	// given 25 groups (our groups + a few custom conf) with one-ish version each, discovery needs to make 50 requests
	// double it just so we don't end up here again for a while.  This config is only used for discovery.
	config.Burst = 100

	discoveryClient, _ := discovery.NewDiscoveryClientForConfig(config)
	return memory.NewMemCacheClient(discoveryClient), nil
}

func (c *RESTClientGetter) ToRESTMapper() (meta.RESTMapper, error) {
	discoveryClient, err := c.ToDiscoveryClient()
	if err != nil {
		return nil, err
	}

	mapper := restmapper.NewDeferredDiscoveryRESTMapper(discoveryClient)
	expander := restmapper.NewShortcutExpander(mapper, discoveryClient)
	return expander, nil
}

func (c *RESTClientGetter) ToRawKubeConfigLoader() clientcmd.ClientConfig {
	return c.ClientConfig
}

Unstale.

We are also waiting for a fix for this

Unstale.

Unstale.

Unstale.

Unstale.
I am facing the same problem now.
We have created a rest.Config from (env/kubeconfig/user input) in the beginning of the program. Now we have to pass the kubeconfig file to other module because helm SDK need it (While we already pass the rest.Config). But it seems that helm client only need rest.Config and namespace info,  the kubeconfig file itself is not necessary.

Unstale.

Unstale.

Unstale.

Has there been any movement on this? I'd also like this feature


fix(metamodel-export): NPE when a language has no structure aspect

Also replaced all the other usages of the !! operator in that class.

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


from tensorflow.python.keras.metrics import Metric ImportError: cannot import name 'Metric'

Ubuntu 18.04
import tensorflow as tf
mnist = tf.keras.datasets.mnist

(x_train, y_train),(x_test, y_test) = mnist.load_data()
x_train, x_test = x_train / 255.0, x_test / 255.0

model = tf.keras.models.Sequential([
  tf.keras.layers.Flatten(),
  tf.keras.layers.Dense(512, activation=tf.nn.relu),
  tf.keras.layers.Dropout(0.2),
  tf.keras.layers.Dense(10, activation=tf.nn.softmax)
])
model.compile(optimizer='adam',
              loss='sparse_categorical_crossentropy',
              metrics=['accuracy'])

model.fit(x_train, y_train, epochs=5)
model.evaluate(x_test, y_test)

/usr/bin/python3.5 /home/c/.PyCharmCE2018.2/config/scratches/scratch.py
Traceback (most recent call last):
File "/home/c/.PyCharmCE2018.2/config/scratches/scratch.py", line 1, in
import tensorflow as tf
File "/home/c/.local/lib/python3.5/site-packages/tensorflow/init.py", line 22, in
from tensorflow.python import pywrap_tensorflow  # pylint: disable=unused-import
File "/home/c/.local/lib/python3.5/site-packages/tensorflow/python/init.py", line 81, in
from tensorflow.python import keras
File "/home/c/.local/lib/python3.5/site-packages/tensorflow/python/keras/init.py", line 24, in
from tensorflow.python.keras import activations
File "/home/c/.local/lib/python3.5/site-packages/tensorflow/python/keras/activations/init.py", line 22, in
from tensorflow.python.keras._impl.keras.activations import elu
File "/home/c/.local/lib/python3.5/site-packages/tensorflow/python/keras/_impl/keras/init.py", line 21, in
from tensorflow.python.keras._impl.keras import activations
File "/home/c/.local/lib/python3.5/site-packages/tensorflow/python/keras/_impl/keras/activations.py", line 24, in
from tensorflow.python.keras._impl.keras.utils.generic_utils import deserialize_keras_object
File "/home/c/.local/lib/python3.5/site-packages/tensorflow/python/keras/_impl/keras/utils/init.py", line 34, in
from tensorflow.python.keras._impl.keras.utils.multi_gpu_utils import multi_gpu_model
File "/home/c/.local/lib/python3.5/site-packages/tensorflow/python/keras/_impl/keras/utils/multi_gpu_utils.py", line 22, in
from tensorflow.python.keras._impl.keras.engine.training import Model
File "/home/c/.local/lib/python3.5/site-packages/tensorflow/python/keras/_impl/keras/engine/init.py", line 21, in
from tensorflow.python.keras._impl.keras.engine.base_layer import InputSpec
File "/home/c/.local/lib/python3.5/site-packages/tensorflow/python/keras/_impl/keras/engine/base_layer.py", line 28, in
from tensorflow.python.estimator import util as estimator_util
File "/home/c/.local/lib/python3.5/site-packages/tensorflow/python/estimator/init.py", line 25, in
import tensorflow.python.estimator.estimator_lib
File "/home/c/.local/lib/python3.5/site-packages/tensorflow/python/estimator/estimator_lib.py", line 22, in
from tensorflow.python.estimator.canned.baseline import BaselineClassifier
File "/home/c/.local/lib/python3.5/site-packages/tensorflow/python/estimator/canned/baseline.py", line 50, in
from tensorflow.python.estimator import estimator
File "/home/c/.local/lib/python3.5/site-packages/tensorflow/python/estimator/estimator.py", line 34, in
from tensorflow.python.estimator import model_fn as model_fn_lib
File "/home/c/.local/lib/python3.5/site-packages/tensorflow/python/estimator/model_fn.py", line 29, in
from tensorflow.python.keras.metrics import Metric
ImportError: cannot import name 'Metric'

Not sure where to start with how to solve the issue. Any input is awesome.  There is a "metrics" file with the path (tensorflow.python.keras.metrics) in my .local folder in Ubuntu under python 3.5. the folder, however, only has a file and a folder in it.

I don't believe this is an issue with tensorflow-rocm. I would try reinstalling tensorflow-rocm in a clean virutalenv or conda environment.
I didn't have any issue running your script.

thank you. I follow the directions here. I am still not able to get pycharm to recognize it. no matter which python interpreter i use. Can i ask how you are able to execute the script. many thx of course.

AMD is hosting both Debian and RPM repositories for the ROCm 1.9.x packages at this time.
The packages in the Debian repository have been signed to ensure package integrity.
Ubuntu Support - installing from a Debian repository
First make sure your system is up to date
sudo apt update
sudo apt dist-upgrade
sudo apt install libnuma-dev
sudo reboot
Add the ROCm apt repository
For Debian based systems, like Ubuntu, configure the Debian ROCm repository as follows:
wget -qO - http://repo.radeon.com/rocm/apt/debian/rocm.gpg.key | sudo apt-key add -
echo 'deb [arch=amd64] http://repo.radeon.com/rocm/apt/debian/ xenial main' | sudo tee /etc/apt/sources.list.d/rocm.list
The gpg key might change, so it may need to be updated when installing a new release. If the key signature verification is failed while update, please re-add the key from ROCm apt repository. The current rocm.gpg.key is not avialable in a standard key ring distribution, but has the following sha1sum hash:
f7f8147431c75e505c58a6f3a3548510869357a6 rocm.gpg.key
Install
Next, update the apt repository list and install the rocm package:
Warning: Before proceeding, make sure to completely uninstall any previous ROCm package:
sudo apt update
sudo apt install rocm-dkms
Next set your permissions
With move to upstreaming the KFD driver and the support of DKMS, for all Console aka headless user, you will need to add all your users to the 'video" group by setting the Unix permissions
Configure Ensure that your user account is a member of the "video" group prior to using the ROCm driver. You can find which groups you are a member of with the following command:
groups
To add yourself to the video group you will need the sudo password and can use the following command:
sudo usermod -a -G video $LOGNAME
You may want to ensure that any future users you add to your system are put into the "video" group by default. To do that, you can run the following commands:
echo 'ADD_EXTRA_GROUPS=1' | sudo tee -a /etc/adduser.conf
echo 'EXTRA_GROUPS=video' | sudo tee -a /etc/adduser.conf
Once complete, reboot your system.
Upon Reboot run the following commands to verify that the ROCm installation waas successful. If you see your GPUs listed by both of these commands, you should be ready to go!
/opt/rocm/bin/rocminfo
/opt/rocm/opencl/bin/x86_64/clinfo
Note that, to make running ROCm programs easier, you may wish to put the ROCm libraries in your LD_LIBRARY_PATH environment variable and the ROCm binaries in your PATH.
echo 'export LD_LIBRARY_PATH=/opt/rocm/opencl/lib/x86_64:/opt/rocm/hsa/lib:$LD_LIBRARY_PATH' | sudo tee -a /etc/profile.d/rocm.sh
echo 'export PATH=$PATH:/opt/rocm/bin:/opt/rocm/profiler/bin:/opt/rocm/opencl/bin/x86_64' | sudo tee -a /etc/profile.d/rocm.sh

I am installing the following from here: https://github.com/ROCmSoftwarePlatform/tensorflow-upstream
now:
https://github.com/ROCmSoftwarePlatform/tensorflow-upstream/issues/236#issuecomment-437644068


vimproc: Improve build determinism

The makefile changes the name of the library that it builds based on
the presence or absence of /lib*/ld-linux*.so.2, which means it can
break when building on non-NixOS systems.

Please submit PR here [1] to fix that issue.
[1] https://github.com/jagajaga/vim-addon-vim2nix/blob/master/additional-nix-code/vimproc.vim


Videogpt 1.0 requires torch~=1.7.1

Hi, great works!
I have the version conflict with videogpt and torch.
Downloaded the code from VideoGPT, and running pip install -e  .      But videogpt 1.0 requires torch version ~=1.7, which is different from the previously installed torch==1.13.1+cu117.
Looking forward to your reply! Thx

The problem was solved by referring to this issue #37


support esbuild

feat: support esbuild system - replace need for npm ✨
chore(dev-deps): use prettier-plugin-packagejson
fix: drop alfy dependency - all logic implemented over this repo

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

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


Feedback for Xiaomi page

No description provided.

https://github.com/urbandroid-team/dont-kill-my-app/issues/552#issue-1551804519


add a zip error message to the documentation

Added some text, looks like this now:

Codecov Report

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

@@           Coverage Diff           @@
##           master    #2919   +/-   ##
=======================================
  Coverage   95.29%   95.29%
=======================================
  Files          73       73
  Lines       13997    13997
=======================================
  Hits        13339    13339
  Misses        658      658

Continue to review full report at Codecov.

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


Figure out how to disambiguate method, trait method, and generic trait method calls

I think we probably want to handle this in type-based rewrites


os: Readlink returns incorrect path when a Junction path starts with \?\ on Windows

What version of Go are you using (go version)?
go version go1.8.1 windows/amd64

What operating system and processor architecture are you using (go env)?
set GOARCH=amd64
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOOS=windows

What did you do?
When a directory junction points to a path in the NT Namespace (See this MSDN page for details) that starts with \\?\ os.Readlink strips the leading \\?\ which results in returning an invalid path.
This requires cmd to create the Junction, so doesn't seem to work on play.golang.org. I've uploaded a repro to https://github.com/darrenstahlmsft/ReadJunction
To run the repro, run mountvol.exe which will print out:
Possible values for VolumeName along with current mount points are:

    \\?\Volume{7d396648-0527-4fed-9cae-5d961ec7311a}\
        C:\

Replace the folderPath in main.go with the retrieved volume GUID path then run main.go.
What did you expect to see?
When run in go1.7.5 this works as expected and returns:
$ go run main.go
Junction created for test_junction <<===>> \\?\Volume{7d396648-0527-4fed-9cae-5d961ec7311a}\

Readlink returned: \\?\Volume{7d396648-0527-4fed-9cae-5d961ec7311a}\

What did you see instead?
When run in go1.8.1 the returned path is invalid:
$ go run main.go
Junction created for test_junction <<===>> \\?\Volume{7d396648-0527-4fed-9cae-5d961ec7311a}\

Readlink returned: Volume{7d396648-0527-4fed-9cae-5d961ec7311a}\

/cc @jstarks

@darrenstahlmsft this is a reasonable request, but I do not know how to fetch the information you require.
At this moment we use Windows DeviceIoControl call with FSCTL_GET_REPARSE_POINT parameter to fetch symlink target (see syscall.Readlink function). I tried calling  DeviceIoControl with your example, and I get \??\Volume{790f333b-6087-11e4-82c0-806e6f6e6963}\. How do I convert that into \\?\Volume{790f333b-6087-11e4-82c0-806e6f6e6963}\, as you expect? What are the rules? Maybe you could ask your colleagues at Microsoft.
How did you encountered this problem? What is it that you are trying to do?
Maybe you should use path/filepath.EvalSymlinks instead?
The path/filepath.EvalSymlinks will not work for your scenario at this moment, but I beleive I know how to make it work.
Thank you.
Alex

@alexbrainman \??\Volume{790f333b-6087-11e4-82c0-806e6f6e6963}\ is the NT path for the volume. For the case of a path beginning with \??\Volume it can be manually converted to \\?\Volume. I'll look into seeing if there is a better way to generalize this, or a different way to get symlink targets that returns a DOS path rather than an NT path. The old behaviour (pre 1.8.x) of returning the \??\ path is preferable to the current implementation at the very least.
I am using a slightly forked version of filepath.EvalSymlinks that allows for paths starting with \\?\. See (https://github.com/moby/moby/blob/master/pkg/symlink/fs_windows.go).

For the case of a path beginning with ??\Volume it can be manually converted to \?\Volume

So we should just replace \??\Volume at the start with \\?\Volume? Do you have some reference for that?

I'll look into seeing if there is a better way to generalize this, or a different way to get symlink targets that returns a DOS path rather than an NT path.

That would be nice. Thank you.

The old behaviour (pre 1.8.x) of returning the ??\ path is preferable to the current implementation at the very least.

Did os.Readlink change during go1.8? What change are you referring to? Regardless, I don't think we could change os.Readlink or syscall.Readlink now. But maybe we could just return whatever DeviceIoControl(...FSCTL_GET_REPARSE_POINT...) returns as is? Add new syscall.ReadlinkNTName or something?

I am using a slightly forked version of filepath.EvalSymlinks that allows for paths starting with \?.

Well, if your problem is filepath.EvalSymlinks, then tell me more about what is broken with  filepath.EvalSymlinks. Just provide some examples.
I was planing to change filepath.EvalSymlinks to use GetFinalPathNameByHandle instead (see https://blogs.msdn.microsoft.com/oldnewthing/20100212-00/?p=14963/ for details). That will not need to use broken os.Readlink.
Alex

@alexbrainman Using GetFinalPathNameByHandle is definitely the right approach. I think that should resolve @darrenstahlmsft's issues.
Unfortunately it's Vista+ only, so you'll have to fall back to the old behavior for XP (it's still supported, right?).

@alexbrainman Using GetFinalPathNameByHandle is definitely the right approach. I think that should resolve @darrenstahlmsft's issues.

Thank you for confirming. I am happy to retrofit this issue to fixing filepath.EvalSymlinks. But can you provide some examples of where filepath.EvalSymlinks is broken, please? I have some ideas, but nothing I can put into a test that will run on our builders.
Also I noticed GetFinalPathNameByHandle can return "paths with drive letter" or "nt paths". We should use the former for compatibility reasons. But sometimes (see #18555) paths inside container lead to "nt path" only. If we ask for "paths with drive letter", the GetFinalPathNameByHandle fails. But it succeeds if we ask for "nt path". Should

filepath.EvalSymlinks fail for these?
filepath.EvalSymlinks return "nt path" for these?
filepath.EvalSymlinks fail for these, but we provide new syscall.EvalSymlinksNTPath (or whatever name) that always return "nt path"?

Unfortunately it's Vista+ only, so you'll have to fall back to the old behavior for XP (it's still supported, right?).

I am not worried about XP. XP does not support symlinks and Docker. And there aren't many XP users left. We will leave XP as is.
Alex

Sorry for the delays in following up; I missed Alex's response.
The easiest case where this is broken is when you have an NTFS volume mounted to a mount point (e.g. C:\foo) without having a separate drive letter for it. In this case, as I understand it EvalSymlinks on this path will fail. I don't know how to set this up easily in your test environment, unfortunately. You could create, format, and mount a VHD, but this will require administrative privileges and some fiddling to get right. I'm not aware of any call that would fail with a desktop or server OS in its default clean-install configuration.
Regarding #18555, I suspect you should just fail if the drive letter option doesn't work. We want to fix this at the Windows level so that GetFInalPathNameByHandle just works. This will take a little while for us to fix, but I don't think Go should encode a workaround for what's really a Windows container bug.

I don't know how to set this up easily in your test environment, unfortunately.

Fair enough. We already have plenty of filepath.EvalSymlinks tests. We would have to rely on them.

I suspect you should just fail if the drive letter option doesn't work.

SGTM

I don't think Go should encode a workaround for what's really a Windows container bug.

SGTM
I also changed this issue description. Hopefully new description covers what you want.
Alex


Update repositories.txt

Change library URL
It is currently listed in the Library Manager as
https://github.com/eoh-jsc/mvp-lib
It is now:
https://github.com/eoh-jsc/era-lib

Hi @hung-eoh. I see that the bot detected that the library name was changed from "EoH Platform" to "ERa":
https://github.com/eoh-jsc/era-lib/commit/1932785cefb1647c55e1d46c4d7e1eef70f61ee5#diff-f267f9ae2f5d5d56a1dbb305e95d40d4408d9ee7f71357f1f67fb18c29b7f082
Because it is the sole unique identifier, libraries are locked to the name they had at the time of the original submission. The registered name can be changed, but this is only done by the explicit request of the library maintainer.
Please tell me whether you would also like the registered name to be updated in addition to the URL.

Aha! I just noticed https://github.com/arduino/library-registry/issues/2025. That will serve as the name change request. I'll prepare the registry side changes right now.

Aha! I just noticed #2025. That will serve as the name change request. I'll prepare the registry side changes right now.

Thank you so much

Hello again @hung-eoh. I am confirming your request.
Unlike submissions, this type of request is still handled manually. The Library Manager index maintainer occasionally comes through to clear all the outstanding requests. They will merge this pull request when it is done. You will get a notification from GitHub at that time.
After that, you can monitor the indexing of the library via its dedicated logs web page.
Information about that here:
https://github.com/arduino/library-registry/blob/main/FAQ.md#can-i-check-on-library-releases-being-added-to-library-manager

Done in https://github.com/arduino/library-registry/pull/2026#issuecomment-1308493649