bug: vim-plug incompatibility

Did you check docs and existing issues?

[X] I have read all the lazy.nvim docs
[X] I have searched the existing issues of lazy.nvim
[X] I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)
0.9.0
Operating system/version
windows
Describe the bug
This plug seems to be incompatible with vim-plug. This is probably a know issue, but doesn't show up under the known issues, I personally already have 50+ plugins installed with vim-plug , and I don't see how can I easily migrate to lazy.nvim.
Steps To Reproduce

Expected Behavior

Repro
-- DO NOT change the paths and don't remove the colorscheme
local root = vim.fn.fnamemodify("./.repro", ":p")

-- set stdpaths to use .repro
for _, name in ipairs({ "config", "data", "state", "cache" }) do
  vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end

-- bootstrap lazy
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
  vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", lazypath, })
end
vim.opt.runtimepath:prepend(lazypath)

-- install plugins
local plugins = {
  "folke/tokyonight.nvim",
  -- add any other plugins here
}
require("lazy").setup(plugins, {
  root = root .. "/plugins",
})

vim.cmd.colorscheme("tokyonight")
-- add anything else here

Yes, it's not a good idea to have two plugin managers active at the same time. lazy does not support that.

@eyalk11 You could use this adapter to keep your vim-plug config and still use Lazy

@eyalk11 You could use this adapter to keep your vim-plug config and still use Lazy

It was still too complicated, and I chose to give up on lazy.nvim because I always needed to maintain compatibility with vim


HTML a tag in markdown make the whole block show as link

[Enter feedback here]
Hi,
There are some html tag in markdown.
i.e. <a id="template-studio" />
This would effect the header and block content on web page.
Thanks

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

ID: e714a91f-14d9-21ed-ce3a-8263bf9a5e8e
Version Independent ID: 226b6de7-efca-38c5-2992-f27274382b9c
Content: Enterprise - UWP applications
Content Source: windows-apps-src/enterprise/index.md
Product: uwp
Technology: app-types
GitHub Login: @mcleanbyron
Microsoft Alias: mcleans

Thanks for bringing this to our attention. I have fixed the anchor link formatting so the article is now rendering as expected.


Error in /device-dynamic resource

A GET /device-dynamic does not return the count field (this is happening on Leader, where I am creating the device-dynamics). I am POSTing a new device-dynamic and cimi responds with 201. The resource is there if I directly GET by Id. But it is not shown on a GET /device-dynamic.
  "acl" : {
    "owner" : {
      "principal" : "ADMIN",
      "type" : "ROLE"
    },
    "rules" : [ {
      "principal" : "USER",
      "type" : "ROLE",
      "right" : "MODIFY"
    } ]
  },
  "resourceURI" : "http://schemas.dmtf.org/cimi/2/DeviceDynamicCollection",
  "id" : "device-dynamic",
  "operations" : [ {
    "rel" : "add",
    "href" : "device-dynamic"
  } ],
  "deviceDynamics" : [ ]
}

The same GET /device-dynamic on child returns the same as in leader, but adding the count field:
{
  "count" : 0,
  "acl" : {
    "owner" : {
      "principal" : "ADMIN",
      "type" : "ROLE"
    },
    "rules" : [ {
      "principal" : "USER",
      "type" : "ROLE",
      "right" : "MODIFY"
    } ]
  },
  "resourceURI" : "http://schemas.dmtf.org/cimi/2/DeviceDynamicCollection",
  "id" : "device-dynamic",
  "operations" : [ {
    "rel" : "add",
    "href" : "device-dynamic"
  } ],
  "deviceDynamics" : [ ]
}

fixed with https://github.com/mF2C/dataClay/pull/34#event-2111556259
@rosogon try dcproxy:2.5

Hi,
This exact case (creating a device-dynamic on a leader) is fixed with dcproxy:2.5.
Thanks @aqueralt and @cjdcordeiro.
Closing.


Write a Ruby program to check pangram string

Description
Write a Ruby program to check pangram string
A pangram is a sentence containing every letter in the English Alphabet.
Input  : The quick brown fox jumps over the lazy dog
Output : Pangram sentence

How to contribute

Save the solution in CheckPangramString.rb file
Add CheckPangramString.rb file in check-pangram-string folder

!assign


CLUtils tool to turn pdfs into txt files not allowed on PC due to decurity concerns

Hi there,
I tried to use the linked CLUtils tool to turn files into txt files to use Custom Entity Recognition. Unfortunatly, the tool was blocked due to security mistrust and I am working for Microsoft. Could you please update the article and include a service which is easiy to use to adopt the Custom Entity Recognition service?

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

ID: b1291cdb-e6d2-ff1f-644e-00afcec083a7
Version Independent ID: fb14b56c-e41b-3436-7446-10a2ebe367af
Content: Using Azure resources in custom NER - Azure Cognitive Services
Content Source: articles/cognitive-services/language-service/custom-named-entity-recognition/how-to/create-project.md
Service: cognitive-services
Sub-service: language-service
GitHub Login: @aahill
Microsoft Alias: aahi

@lafranke Thanks for reaching out. We will investigate and update the thread accordingly.

Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.

@lafranke can you tell us more about the block you're encountering? For example, screenshots or copy/paste of any error messages would be very helpful.

@lafranke can you tell us more about the block you're encountering? For example, screenshots or copy/paste of any error messages would be very helpful.

Hi @aahill , unfortunately, I do not have any images. Perhaps the description is enough.
The first problem I encountered was that I could not probably downlaod the file. My browser always blocked it and after a certain amount of re-forcing it (10 times or so), I was sent to a website where I had to put in my credentials and explain why I want to use this tool and why I trust it. After I somehow had it in my download folder, I tried to execute it. However, it never really opened/ran.
At this point, I just gave up and used Azure Computer Vision which worked great.
I hope this helps!

Thanks for letting us know about the issue! Since this is an issue with the tooling, I'll close and follow up with the team to:

See about other tools we might recommend
Let them know you ran into a blocker

#please-close


Cesium integration

The Cesium integration work happens in the cesium branch of the main ol3 repository.
I recently reviewed the code of this branch, the goal being reaching a state where the cesium branch can be merged into master.
My review comments are the following:

We need to sort out the circular dependency problem. Search
"view3d.js" in build.py.
Set ol.ENABLE_CESIUM to false by default. The ol3/cesium integration
code will add to the size of the build, so I'd suggest that this code
is not included in the default build.
Make sure the "cesium" example works when hosted. This will require
create an ol-cesium.js build if we ol.ENABLE_CESIUM defaults to false.
There are exports that we don't want: ellipsoid.export,
projection.exports (project and unproject),
cesiumimageryprovider.exports, view3d.exports.
At this point I don't think we want to expose/export View3D. I think
I'd even suggest to remove View3D entirely, and just have a
getCameraFromView2D function in the cesium renderer.  The
View2D:createView3D_ function indeed rather Cesium-specific to me (it
assumes a WGS84 ellipsoid).
ol.Ellipsoid includes new functions like cartesianToCartographic.
I've been wondering if Cesium has the same functions, and if we could
rely on Cesium instead of having our own. It sounds like duplicated
math code to me, but I may be wrong.
ol.Ellipsoid, ol.View2D:createView3D_, and
ol.vec.Mat3.fromQuaternion depend on goog.vec.Vec3 and goog.vec.Mat3.
Up to now, we've tried to depend on goog.vec.Vec4 and goog.vec.Mat4
only, to avoid pulling in too much code. Do we really need Vec3 and
Mat3, or could we just get by with just Vec4 and Mat4?
ol.renderer.cesium.ImageryProvider includes TODOs that seem to
deserve attention.
ol.renderer.cesium.ImageryProvider inherits from
Cesium.ImageryProvider. @twpayne said that it's a problem because we
can't build ol3 if Cesium is not present. It made sense when he said
that to me, but I'm not sure anymore. I think the compiler won't
complain as long as we have the cesium.js externs file. I may be
missing something. This is to be investigated. Also, I've been
wondering if inheriting is at all necessary here, as ImageryProvider
(https://github.com/AnalyticalGraphicsInc/cesium/blob/master/Source/Scene/ImageryProvider.js)
seems to just be an interface.
The current cesium code has limitations: it only supports tile
layers, and the EPSG:3857 projection (ol.projection.EPSG3857 is the
only projection implementing "project" and "unproject"). I think it's
ok to have limitations, but we should correctly handle the cases that
we don't support (e.g. by adding assertions).
We currently have two rendering loops in ol.renderer.cesium.Map.
Instead we should rely on the global ol3 loop (renderFrame). By
setting animate to true on the frameState we can have a continuous
loop, as the Cesium one.
There's currently no tests for the Cesium code. We need to figure
out where adding tests would make sense.

Want to back this issue? Place a bounty on it! We accept bounties via Bountysource.

See https://github.com/openlayers/ol3-cesium


Applying ApiExplorerSettings to controller not working and result into no specs

Versions

OS : Windows 10
.NET SDK: 8.0
Visual Studio 2022 Community Edition ( I think this is not mandatory)

Program.cs (Host)
public static void Main(string[] args)
{
	var builder = WebApplication.CreateBuilder(args);
	builder.Services.AddControllers();
	builder.Services.AddSwaggerGen();
	var app = builder.Build();
	if (app.Environment.IsDevelopment())
	{
		app.UseSwagger();
		app.UseSwaggerUI();
	}
	app.UseHttpsRedirection();
	app.UseAuthorization();
	app.MapControllers();
	app.Run();
}

WeatherforecastController.cs
[ApiController]
[ApiExplorerSettings(GroupName = "WeatherForecast")]
[Route("api/WeatherForecast")]
public class WeatherForecastGetController : ControllerBase
{
	private readonly ILogger<WeatherForecastGetController> _logger;

	public WeatherForecastGetController(ILogger<WeatherForecastGetController> logger)
	{
		_logger = logger;
	}

	[HttpGet()]
	public string Get()
	{
		return "Hello";
	}
}

Scenario

Remove the ApiExplorerSettings from Controller and it will display following.

Add the ApiExplorerSettings with Groupname. ( As specified in sample code above.)

@VictorioBerra I have provided .NET 8.0 as it is latest but I have tried with .NET 6.0 and I am getting same issue.

@VictorioBerra Hello, glad to see you here. Any news for this repo? Anything is ok? It has been a long time that hasn't seen a commit.

@VictorioBerra Hello, glad to see you here. Any news for this repo? Anything is ok? It has been a long time that hasn't seen a commit.

I am not a contributor to this repo, just a user.

This should be fixed in DotSwashbuckle

This is the expected behavior, as described in the readme. By default actions will only be selected for the Swagger document if ApiDescription.GroupName is null OR equal to the document name.
To change this default behavior you can provide a custom inclusion predicate, for example c.DocInclusionPredicate((docName, apiDesc) => { return true; });.
Another option would be to change the document name to match the group name. You would need to update the Swagger endpoint URL as well if you do this.


chore: sort imports

This PR makes use of the organize import feature of Biome by:

adding biome check --write . in the scripts.
simplifying ci:lint and ci:format scripts to a single ci script that uses all of biome ci capabilities.
simplifying format and lint github workflows to a single lint workflow

biome check has already been run on the codebase.
Regarding https://github.com/coinbase/onchainkit/pull/785#discussion_r1676286820 @Zizzamia. There are some limitations compared to prettier-plugin-sort-imports and eslint-plugin-import/order which allow to configure sorting rules in the config. This is currently not possible with Biome. There's an RFC open https://github.com/biomejs/biome/discussions/3015.
For now, grouping can be done by manually adding blank lines around imports https://biomejs.dev/analyzer/import-sorting/#grouped-imports. Imports order is determined by "how far" imported modules are, see https://biomejs.dev/analyzer/import-sorting/#how-imports-are-sorted.

Could it be possible if we run ESLint after Biome? and use that as a way to organize imports with the settings from Build Onchain Apps?
Also, I kind of like keep Lint and Format split, so when they fails folks know what it did failed.

Added back github workflows.
I just had a look at eslint and didn't managed to make it work without big tradeoffs.
BOAT uses a config file that is now deprecated by eslint in favor of "flag config files" (see there https://eslint.org/docs/latest/use/configure/configuration-files) and eslint-plugin-import doesn't work with it, there's an open issue https://github.com/import-js/eslint-plugin-import/issues/2556.
The native rule sort-imports works but doesn't support automatic fix fully. Running with --fix flag currently still shows 219 errors that need to be fixed manually. This rule is more simplistic than eslint-plugin-import with things like grouping that are not as much configurable.

Hey @roushou , I end up committing this with separate PRs. Thank you again for starting this thread, it was really useful.


[Feature] Cluster Class support in BYOH

As a cluster operator, if I want to create a workload cluster then I need to create a bunch of underlying resources such as KCP, MachineDeployments, and infrastructure or bootstrap templates for those resources which logically end up representing the cluster. Similarly if I want to create 100 similar clusters then every time I need to create the same type of resources but with different cluster specific values like name, etc.
And not only this, in case the user wants to upgrade the kubernetes version or wants to update replica count then he/she has to update at all the places one by one because the cluster configuration is spread around multiple components, and upgrading the version is hard as it requires changes to different fields in different resources. And this is a very tedious process and opens a lot of room for error.
We need a way through which we can create multiple clusters of similar shape without duplication and could easily configure cluster variables. So to achieve this flexibility, we can use CAPI’s Cluster Class feature.
To know more about, go through this documentation.
Why do we need to extend ClusterClass support in BYOH?
Before Cluster Class, Cluster API did not expose a native way to provision multiple clusters of the same configuration and it was very complex to alter the cluster configurations like scaling of the nodes, adding/removing sets of worker nodes and upgrading cluster kubernetes versions.
With the help of cluster class support, we can provision multiple BYO clusters of similar flavor. As BYOCluster is a cluster on a bare metal so we might not see multiple flavors like we have with other cloud providers (AWS and Azure). But we can leverage the Cluster class, to create multiple clusters of similar shape.
Also if we use cluster class to provision the cluster, then it would act as a single control point for the entire cluster. Scaling the nodes, adding/removing sets of worker nodes and upgrading cluster kubernetes versions would be achievable by editing the topology. This would facilitate the maintenance of existing clusters as well as ease the creation of newer clusters.
Tracking Issues

@anusha94 I will take this and add the tracking issues. But unable to assign it
/assign @shivi28

This feature is done, so marking this close


Add ability to open a git-flow pull request

I am often making pull requests from feature branches into staging and then staging into master. It would be super convenient to have a button that would open a PR from staging into master, as it's very repetitive to search for master each time.

Where would this button appear and what would it do exactly?

Yes exactly! The process for picking branches is annoying as you have to type to search, this could just be a fixed button or make the New Pull Request button have an optional drop-down to open a new "deploy" pr as we call them at work. Also as staging is the default branch the default options are more to merge master into staging, but should be the other way around.

as staging is the default branch the default options are more to merge master into staging, but should be the other way around

If it should be the other way around, master should be the default branch, right?
Either way this likely needs some configuration (what if someone wants dev->staging, stage->master, etc) and Refined GitHub doesn't do that. I suggest either using a bookmark or looking-for/developing a extension for all-things-git-flow

You could try suggesting to GitHub to sort branch selectors by usage, so staging and master will naturally float to the top.

Thanks, that sounds like a good idea


Wrong displaying when cluster number is zero

If the count of the cluster is 0, the map will show: 1 instead. We need to hide this 1 and pop up a message: no data found

To reproduce, please simply in put a nonexisting number, for example: {planter_id: 999999}

Some hints:

Please read our readme for more information/guide/tutorial.
Here is an engineering book in Greenstand.
To know more about our organization, visit our website.
If you want to join the slack community (some resources need the community member's permission), please leave your email address.

This is because the tile server doesn't return correct data


Jpa like query error

Method：
net.sf.jsqlparser.parser.CCJSqlParserUtil#parseStatements
SQL:
select jpa0_.id as id1_0_, jpa0_.address as address2_0_, jpa0_.agency_id as agency_i3_0_, jpa0_.contact_person as contact_4_0_, jpa0_.contact_phone as contact_5_0_, jpa0_.name as name6_0_, jpa0_.remark as remark7_0_ from agency_campus jpa0_ where jpa0_.name like ? escape ?
Error message：
net.sf.jsqlparser.parser.ParseException: Encountered unexpected token: "?" "?" at line 1, column 273. Was expecting one of: <S_CHAR_LITERAL>
help help!!
Version：3.2

A temporary solution：
1、When I tried to customize the column name, I did not parse the escape character, nor did I report an error。
2、@Query(value = "......",nativeQuery = true)

At the moment JSqlParser does not support this question mark for this escape part. Is this something you want to contribute. PRs are welcome. Or do you want to somehow support the implementation of this feature.


Render Urls Present Locally But Not Getting Built and Deployed to Azure Function App

I have a basic azure function, single http trigger that works correctly doing local debug and  openApi Render URL's are showing up and working fine locally as well. However, on deploying them to Azure Functions  only the single http trigger function appears. The OpenApi Render Urls/Functions are not there.
Env: 0.7.0-preview
.net core 3.1

@jonathandbyrd Thanks for the issue!
It’s expected behaviour, and you’ll still see the rendering pages like /api/swagger/ui or /api/swagger.json. But, please use v0.7.1-preview or later because v0.7.0-preview has a bug on rendering those pages on Azure.

@justinyoo thanks so much. Yes, its "hidden" I guess be default now? but upgrading to 0.7.1-preview worked.


SVG to Lottie

Hi 👋 . We've talked before.
I want to propose that there is a workflow for doing SVG to lottie because I couldn't find a satisfactory workflow for SVG-to-Lottie.
Thoughts, Questions, or jokes?

@fire good suggestion. it would be hard work actually,  we have a plan to unify rlottie runtime to thorvg first and then we will consider your request though we are not sure yet...
Anyhow, godot could replace rlottie (as far as I know your engine is using rlottie) later if thorvg support it as an extension such as other types of loaders in thorvg.

https://lottiefiles.com/svg-to-lottie?gclid=CjwKCAjw6fyXBhBgEiwAhhiZsq_GcTy448b-85Hz6W2LJADMo9Pq7Vskei0-PEetsunvkg5A3pPJ_BoCDbYQAvD_BwE


Documented values are wrong

For instance, I passed "none" to "PunctuationMode" as instructed. But I got an "InvalidPayload" code, because it turns out that the correct value is "None". As far as I can tell all of the values should be upper case, not lower case as you have documented them.

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

ID: 73fb7e76-fb80-c420-2efe-e3ca3a27b749
Version Independent ID: 07a42557-deb3-e4b3-3f14-f26a27be49c2
Content: How to use Batch Transcription - Speech Service - Azure Cognitive Services
Content Source: articles/cognitive-services/Speech-Service/batch-transcription.md
Service: cognitive-services
Sub-service: speech-service
GitHub Login: @PanosPeriorellis
Microsoft Alias: panosper

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

@RyanCantab Thank you for the feedback, I have created a fix for it and it should be alive soon. ^^

@RyanCantab
We will now proceed to close this thread. If there are further questions regarding this matter, please respond here and @YutongTie-MSFT and we will gladly continue the discussion.


Optimize search feature

The search feature could use some fixing. I don't know how it's implemented, so this may require discussion or somebody else to step in and fix it.

When searching for indel, I've noticed the following two issues;

[ ] The preview of the result is too large. I can't see the actual mention of "indel" in the preview. The preview renders the entire glossary page.
[ ] The search results aren't correct. "Indel" is used in many more pages (HGVS simple; delins pages on DNA, RNA, and protein; substitution pages on DNA, RNA, and protein; etc). It seems that searching for indel doesn't match (indel) or "indel".
(note: the term indel will soon be removed in many places, so the term will be less frequent in later code; see #142)

I looked into this a little; I'm not sure this is something we can address ourselves. It would likely require working with the MkDocs-Material maintainers. This issue thread  seems to focus on this specific challenge across implementations.

Thanks for checking this out, Alex!

I looked into this a little; I'm not sure this is something we can address ourselves. It would likely require working with the MkDocs-Material maintainers. This issue thread  seems to focus on this specific challenge across implementations.

Right... looks like we'll just have to wait until they rebuild that search feature, then. It'll maybe also solve the current mismatches that I mentioned.

One workaround, provided in this comment, addresses the issue:
.md-search-result .md-typeset {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  max-height: 120px; /* <- adjust to fit */
}

However, I think this just makes our results look worse by truncating the actual occurrences of the search term (...)

Hmmm... the CSS has no clue where the search term occurs, so it will just blindly truncate the boxes. In this example, you can still see a tiny bit of the term match on the "Older versions" page, but that's just luck. Perhaps, if we'd increase the size of the given max-height to something longer, it will show a bit more of those long results, but not excessively much. I do think it's a good workaround because matches on the glossary page make a search very difficult. Or, another possibility is that we break up long lists into separate lists. This may not change how the list is rendered much, but it should improve the search a lot. It will, however, require a massive amount of changes to work. I could test it out a bit on one page and see how it looks... what do you think?


explicitly rename system-files plug to system-files-logs

it's best practice to give a descriptive plug name since we're
specifying multiple attributes.

@zyxgnocchi since CI is still broken, can you please manually test this?


CFFL

CFFL

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_745bmsnvj3/clone/recipe/meta.yaml:16: pip_install_args: pip install should be run with --no-deps.
ERROR: /tmp/abs_745bmsnvj3/clone/recipe/meta.yaml:21: missing_wheel: For pypi packages, wheel should be present in the host section
ERROR: /tmp/abs_745bmsnvj3/clone/recipe/meta.yaml:38: http_url: http://github.com/vpelletier/python-libusb1 is not https
ERROR: /tmp/abs_745bmsnvj3/clone/recipe/meta.yaml:38: missing_dev_url: The recipe is missing a dev_url
ERROR: /tmp/abs_745bmsnvj3/clone/recipe/meta.yaml:38: missing_license_family: The recipe is missing the about/license_family key.
WARNING: /tmp/abs_745bmsnvj3/clone/recipe/meta.yaml:38: missing_description: The recipe is missing a description
ERROR: /tmp/abs_745bmsnvj3/clone/recipe/meta.yaml:38: missing_documentation: The recipe is missing a doc_url or doc_source_url
Errors were found


Fix wrong plain text language ID

Default spell.json plain text language ID was wrong.
Minor typo fixes.
Fix #44

Thanks that was a silly error I'll update the checker shortly 🎈


'Winget' command does not work

I've installed the App Installer package from the Microsoft Store, however, curiously, I can't run winget. When I do, I get: "'winget' is not recognized as an internal or external command, operable program or batch file."
Now, I've seen a lot of stuff about paths. Also curiously, though, "%USERPROFILE%\AppData\Local\Microsoft\WindowsApps" is already in my PATH.
And also curiously, I've searched the entire drive for any file beginning with "winget", and came up with nothing whatsoever.
I have a feeling this thing never installed, even though it says it did and even though it shows in the Store app as "This product is installed."
Any solution? Or is this true "beta-ware" that really sometimes just doesn't work, and I should just forget about it?

@djhalnon If you are not on a Windows Insider build or part of the Windows Package Manager Insider group, it is likely you received the version of the App Installer that does not include the winget client.
https://github.com/microsoft/winget-cli#installing-the-client
You can download and double-click the installer from the https://github.com/microsoft/winget-cli/releases page.
Any newer version of the App Installer published to the store will automatically be updated on your system (assuming no Group Policy is blocking the store).

Facing a similar problem here. Installed it from the releases page. Searching the C:\ Drive for 'winget' returns no search results apart from Microsoft Store Search cache files. No application exists in WindowsApps\ as well.
Out of curiosity, what does the AppInstallerCLI.exe executable do? Is that supposed to be winget?

FWIW, I didn't get winget either when I went to the store page. Said I already had App Installer. But the directly install link from the blog post seemed to force an update, and now I have it.

Facing the same issue.  Running winget produces no output in powershell.

@JoeLyga are you a Windows Package Manager Insider or running a Windows Insider build?
How did you install the "App Installer"?

为啥不直接从github下载最新版本

I'm also having the no output issue.

This seems to be the same issue as #502

The Windows Package Manager is distributed with the "App Installer". Make sure you have the correct version that includes the Windows Package Manager. In PowerShell:
PS C:\Users\denelon> Get-AppxPackage microsoft.DesktopAppInstaller

Name              : Microsoft.DesktopAppInstaller
Publisher         : CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
Architecture      : X64
ResourceId        :
Version           : 1.11.11451.0
PackageFullName   : Microsoft.DesktopAppInstaller_1.11.11451.0_x64__8wekyb3d8bbwe
InstallLocation   : C:\Program Files\WindowsApps\Microsoft.DesktopAppInstaller_1.11.11451.0_x64__8wekyb3d8bbwe
IsFramework       : False
PackageFamilyName : Microsoft.DesktopAppInstaller_8wekyb3d8bbwe
PublisherId       : 8wekyb3d8bbwe
IsResourcePackage : False
IsBundle          : False
IsDevelopmentMode : False
NonRemovable      : False
Dependencies      : {Microsoft.VCLibs.140.00.UWPDesktop_14.0.29231.0_x64__8wekyb3d8bbwe,
                    Microsoft.DesktopAppInstaller_1.11.11451.0_neutral_split.scale-100_8wekyb3d8bbwe}
IsPartiallyStaged : False
SignatureKind     : Store
Status            : Ok

Check to see that the version is greater than 1.11
If you do have the current version of the AppInstaller, the other areas to check are App Execution Alias settings as well as other troubleshooting steps in #502

I can confirm that the App Execution Alias is enabled and the Get-AppxPackage microsoft.DesktopAppInstaller gives the following results:
Name              : Microsoft.DesktopAppInstaller
Publisher         : CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
Architecture      : X64
ResourceId        :
Version           : 1.11.11451.0
PackageFullName   : Microsoft.DesktopAppInstaller_1.11.11451.0_x64__8wekyb3d8bbwe
InstallLocation   : C:\Program Files\WindowsApps\Microsoft.DesktopAppInstaller_1.11.11451.0_x64__8wekyb3d8bbwe
IsFramework       : False
PackageFamilyName : Microsoft.DesktopAppInstaller_8wekyb3d8bbwe
PublisherId       : 8wekyb3d8bbwe
IsResourcePackage : False
IsBundle          : False
IsDevelopmentMode : False
NonRemovable      : False
Dependencies      : {Microsoft.VCLibs.140.00.UWPDesktop_14.0.29231.0_x64__8wekyb3d8bbwe,
                    Microsoft.DesktopAppInstaller_1.11.11451.0_neutral_split.scale-125_8wekyb3d8bbwe,
                    Microsoft.DesktopAppInstaller_1.11.11451.0_neutral_split.scale-100_8wekyb3d8bbwe,
                    Microsoft.DesktopAppInstaller_1.11.11451.0_neutral_split.scale-400_8wekyb3d8bbwe}
IsPartiallyStaged : False
SignatureKind     : Store
Status            : Ok

Running winget just gives no output. Curiously, the winget.exe is 0 bytes in the WindowsApps folder.

I was able to fix this by updating my Environment Variables. Adding the full path C:\Users\%USERPROFILE%\AppData\Local\Microsoft\WindowsApps seems to resolve the no output issue despite %USERPROFILE%\AppData\Local\Microsoft\WindowsApps already existing.
For anyone having no output try adding C:\Users\%USERPROFILE%\AppData\Local\Microsoft\WindowsApps to your Path Environment Variable.

Curiously, I noticed that running the winget command in a terminal immediately after logging in seems to work. There is likely some interference with another application causing no output. Windows Terminal is installed as is WSL2 with Debian.

The zero byte file is expected. The App Execution Alias maps winget.exe to the true executable. It acts similar to a symlink in *nix. I haven't seen other reports of interactions with WSL2 or any of the other specific distributions, but I'll keep that in mind as others report similar issues.

I noticed that running the winget command in a terminal immediately after logging in seems to work. There is likely some interference with another application causing no output. Windows Terminal is installed as is WSL2 with Debian.

Just wanted to say that the same thing happened with me -- winget suddenly started working without me restarting or making any changes in the middle of a PowerShell session, and that I also have Windows Terminal and WSL2.

I'm having this same issue. When I look at my App Execution Alias folder (\AppData\Local\Microsoft\WindowsApps) I see the alias pointing here:
la---           3/29/2021  8:23 AM              0 winget.exe -> C:\Program Files\WindowsApps\Microsoft.DesktopAppInstaller_1.11.2521.0_x64__8wekyb3d8bbwe\AppInstallerCLI.exe

If I try to manually run the target of that alias I get:
The term 'C:\Program Files\WindowsApps\Microsoft.DesktopAppInstaller_1.11.2521.0_x64__8wekyb3d8bbwe\AppInstallerCLI.exe' is not recognized as a name of a cmdlet, function, script file, or executable program.

If I try to manually browse to that location and try to run the exe I get an access denied error like this:
PS C:\Program Files\WindowsApps\Microsoft.DesktopAppInstaller_1.11.11451.0_x64__8wekyb3d8bbwe> .\AppInstaller.exe
ResourceUnavailable: Program 'AppInstaller.exe' failed to run: Access is denied.At line:1 char:1
+ .\AppInstaller.exe
+ ~~~~~~~~~~~~~~~~~~.

This is odd because I am running an elevated Administrator PowerShell session when I get the access denied error. I think this might be the root cause for me.

Update : The winget command now works, and the executable is located in C:\Windows\System32. However, upon executing it, I get the following error
ResourceUnavailable: Program 'winget.exe' failed to run: The specified executable is not a valid application for this OS platform.At line:1 char:1
+ winget
+ ~~~~~~.

You're stale @msftbot, we need developer action, not bot auto-closing. If a human wants to close the issue they will. Maybe you should be auto-closed.

I think this issue should be permanently kept open until a strong fix is found. It would be great if the bot could have this issue excluded

To anyone having this issue: You don't have a system utility program like Glary installed, do you? I think if something like Glary is run, it can wreak havoc on critical files and settings needed by winget, thereby damaging winget to the point where there's nothing that can be done about it except initiate a "Reset this PC" operation from Settings > Update & security > Recovery.

@robinhood2014 No, I've never heard of Glary. The problem is common for anyone who is logged in to a regular user account and needs to run PowerShell using a separate admin account. This is true of any corporate environment that is following any basic security framework. Microsoft itself should be running this way so I would be surprised if they haven't run in to it internally.

@A9G-Data-Droid Well, I'm not in a corporate environment but I can say with certainty that it's good practice to have your own user account as a standard user, and have a separate administrator account; that way if a hacker tries to introduce malware into your system, he (or she!) will be discouraged by a UAC prompt requiring an administrator's password. Also, to everyone: Please don't rag on the @msftbot. Instead, let's consider removing the "Needs-Author-Feedback" flag.

@A9G-Data-Droid there are many reasons users may encounter problems executing winget. Generally this falls into a few areas.

The APP Installer on the host machine doesn't include the Windows Package Manager.
The App Installer isn't registered for the user (account) attempting to execute winget.
App Execution Alias isn't enabled for the Windows Package Manager.
Something is corrupt or has been modified related to the App Installer (or associated files / path)

When we can clearly isolate the issues and find consistent mechanisms to reproduce them, we work on fixing them, and/or we work on adding documentation. The original author of the issue hasn't responded to this issue to help clarify what they are experiencing and responding to questions.
The bot looks for the "Needs-Author-Feedback" label, and whether the author or another user from the community has responded to the issue. If no activity has happened after 7 days, the issue is labeled "No-Recent-Activity". If there is no activity 7 days after that, then the bot will automatically close the Issue.
This issue has a very broad scope. There isn't likely to be any single solution. With issues like this, we try to break them down into bite sized pieces we can tackle. Many other users with the same "winget command does not work" issues have been resolved, and may contain answers for an individual scenario. We try to keep actionable issues open until we can fix them.
Much of the content on this issue is more of a "discussion". We don't close discussions.
With this issue, I would try to help the original author as we work towards better answers / guidance. In many cases I get notifications when users comment on closed issues. We are very active here. I try to respond to any questions, or something actionable. Unfortunately, this issue is just too broad in scope to find a single solution.
My hope with this response is the list of currently known problem spaces will help others find something that resolves their particular issue.

When I run this command, I get this error:
❯ Get-AppxPackage microsoft.DesktopAppInstaller
Get-AppxPackage: The 'Get-AppxPackage' command was found in the module 'Appx', but the module could not be loaded. For more information, run 'Import-Module Appx'.

@djhalnon this issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 7 days. It will be closed if no further activity occurs within 7 days of this comment.

This is not fixed yet.

@aminya, what version of the App Installer do you have on your machine? Many of the challenges we see with the Windows Package Manager not running are either a version of the App Installer without the Windows Package Manager being installed, or they are related to the user accounts attempting to run winget.

How can I check the version? I am on Windows 11, so I assume everything should be up to date.

@aminya you can run
Get-AppxPackage microsoft.DesktopAppInstaller

in PowerShell.

You can get this error if you have Discord installed. Other applications may cause conflicts as well but I can confirm Discord was an issue for me.

Here is the result of the command:
❯ import-module appx -usewindowspowershell
WARNING: Module appx is loaded in Windows PowerShell using WinPSCompatSession remoting session; please note that all input and output of commands from this module will be deserialized objects. If you want to load this module into PowerShell please use 'Import-Module -SkipEditionCheck' syntax.

❯ Get-AppxPackage microsoft.DesktopAppInstaller

RunspaceId             : *******
Name                   : Microsoft.DesktopAppInstaller
Publisher              : CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
PublisherId            : *******
Architecture           : X64
ResourceId             :
Version                : 1.15.11694.0
PackageFamilyName      : Microsoft.DesktopAppInstaller_8wekyb3d8bbwe
PackageFullName        : Microsoft.DesktopAppInstaller_1.15.11694.0_x64__8wekyb3d8bbwe
InstallLocation        : C:\Program Files\WindowsApps\Microsoft.DesktopAppInstaller_1.15.11694.0_x64__8wekyb3d8bbwe
IsFramework            : False
PackageUserInformation : {}
IsResourcePackage      : False
IsBundle               : False
IsDevelopmentMode      : False
NonRemovable           : True
Dependencies           : {Microsoft.VCLibs.140.00.UWPDesktop_14.0.30035.0_x64__8wekyb3d8bbwe,
                         Microsoft.DesktopAppInstaller_1.15.11694.0_neutral_split.language-fa_8wekyb3d8bbwe,
                         Microsoft.DesktopAppInstaller_1.15.11694.0_neutral_split.scale-125_8wekyb3d8bbwe,
                         Microsoft.DesktopAppInstaller_1.15.11694.0_neutral_split.scale-100_8wekyb3d8bbwe}
IsPartiallyStaged      : False
SignatureKind          : Store
Status                 : Ok

I do have Discord installed. Not sure how that one is related, but I can try uninstalling it.

@billriess can you describe the scenario a bit more and how you came to identify Discord as a possible cause/correlation?

Can we remove the Needs-Author-Feedback flag? Who has this power?

What happens if you open up Command Prompt with administrator privileges and do path %LOCALAPPDATA%\Microsoft\WindowsApps? This will temporarily reset your Command Prompt's %PATH% variable until you close it, so there's no panic involved here by permanently resetting your %PATH% variable.

You don't have to modify your path to reach an executable.
You can just run the fully qualified path.
I gave my account explicit Full Control permissions to the WindowsApps folder.
This is what I see from command prompt:
C:\>%LOCALAPPDATA%\Microsoft\WindowsApps\winget.exe
The system cannot execute the specified program.

@denelon Instead of a troubleshooting guide you should ship a binary that works as expected. That would reduce the "noise" you're hearing about it. There should not be a broad issue with multiple causes.

Please re-open this issue. It is not still fixed.

@aminya feel free to create a new issue with specifics for the specifics for your scenario. Let the community know what you've attempted so we can help troubleshoot. The original author for this Issue has closed it.

I was with the same problem, winget wasn't works in PowerShell. Microsoft Store said that App Installer was already updated, but it wasn't.
Running the command Get-AppxPackage microsoft.DesktopAppInstaller I've the info that current version on my system was actually 1.4, while the current version is 1.16.
The way I've found to solve this problem was install the current stable version on official Windows Package Manager repository:
https://github.com/microsoft/winget-cli/releases/tag/v1.1.12653
This is the last stable version in 01/12/2021. To install you just need scroll to the bottom of the page in Assets field, and install the Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle. This will force update.

I was with the same problem, winget wasn't working in PowerShell. Microsoft Store said that App Installer was already updated, but it wasn't.
Running the command Get-AppxPackage microsoft.DesktopAppInstaller I've the info that version on my system was actually 1.4, while the current version is 1.16.
The way I've found to solve this problem was install the current stable version on official Windows Package Manager repository:
https://github.com/microsoft/winget-cli/releases/tag/v1.1.12653
This is the last stable version in 01/12/2021. To install you just need scroll to the bottom of the page in Assets field, and install the Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle. This will force update.

@seanmcd27 the App Installer version and the Windows Package Manager version only share the final part of the version:
PS C:\Users\denelon> winget --info
Windows Package Manager (Preview) v1.3.431-preview
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22563.1
Package: Microsoft.DesktopAppInstaller v1.18.431.0

The App Installer version for the Windows Package Manager 1.1.z release is 1.16.z

我也有同样的问题，是最近才出现的，以前从未出现，我还安装了wsl2运行Ubuntu 22

I am having the same issue here

go C:\Users"[YOUR_USERNAME]"\AppData\Local\Microsoft\WindowsApps
you will find winget there

@JoeLyga are you a Windows Package Manager Insider or running a Windows Insider build? How did you install the "App Installer"?

I was at Windows Package Manager Insider, how can i check it ?
It stoped to work a few days ago. Why ?

After latest app installer update I can't get winget to work
winget : The term 'winget' is not recognized as the name of a cmdlet, function, script file, or operable program. Check
the spelling of the name, or if a path was included, verify that the path is correct and try again.
I tried re-registering it, editing env. variables, updating everything.. nothing helps.

It seems for some reason we need to add this manually to PATH
%userprofile%\AppData\Local\Microsoft\WindowsApps\

Already did, it didn't do anything.

Already did, it didn't do anything.

It helped me.
I did this because of this
dir %userprofile%\AppData\Local\Microsoft\WindowsApps\ | findstr winget
16.08.2023  12:03                 0 winget.exe

Well i wish it helped me but doesn't seem to be working as it gives me same error that term winget is not recognized

Well i wish it helped me but doesn't seem to be working as it gives me same error that term winget is not recognized

cd %userprofile%\AppData\Local\Microsoft\WindowsApps
winget
works ?
show me dir command output if it's not.

It doesn't work, says the path doesn't exist.
cd : Cannot find path 'C:\WINDOWS\system32%userprofile%\AppData\Local\Microsoft\WindowsApps' because it does not exist.

cd %userprofile%\AppData\Local\Microsoft\WindowsApps

It should not be powershell, it should be cmd console while you trying to cd.
What do you mean? What "App execution alias" ?

cd %userprofile%\AppData\Local\Microsoft\WindowsApps

It should not be powershell, it should be cmd console while you trying to cd.
What do you mean? What "App execution alias" ?

Works fine in cmd.
App execution alias is exactly what it says, you can use search bar and see whats it like. I had winget com server, package manager and everything else disabled somehow even tho I didn't touch anything

cd %userprofile%\AppData\Local\Microsoft\WindowsApps

It should not be powershell, it should be cmd console while you trying to cd.
What do you mean? What "App execution alias" ?

Works fine in cmd. App execution alias is exactly what it says, you can use search bar and see whats it like. I had winget com server, package manager and everything else disabled somehow even tho I didn't touch anything

So you just enabled all that is about winget ? And that was the fix ?

Yea, I enabled everything related to it and now it works fine. I can post a picture if needed. But I never touched these settings, they disabled themselves after the update somehow

Yea, I enabled everything related to it and now it works fine. I can post a picture if needed. But I never touched these settings, they disabled themselves after the update somehow

Can confirm it was disabled too at my colleague PC.

I did this to fix it: New-Alias -Name winget -Value "C:\Users\User\AppData\Local\Microsoft\WindowsApps\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\winget.exe"


Transitive flag

Hi
Can you tell me what is the reason for having the transitive flag set to true when using your lib?

It makes your app depend on libraries this library depends on


Timber load at root

In addition to #997 - trying to fix issues.
Ref #979

Coverage remained the same at 87.977% when pulling 75497e3a2f4f3d802b7620f9a90971a204161d27 on cjb-autoload-root into 7ae6337f1811b2a274dc43c6434e48b464ec7746 on master.

Coverage remained the same at 87.977% when pulling 75497e3a2f4f3d802b7620f9a90971a204161d27 on cjb-autoload-root into 7ae6337f1811b2a274dc43c6434e48b464ec7746 on master.


Dark Reader compatibility

When the "Dark Reader" (https://darkreader.org) extension is enabled, the pages appear empty. I had a look at the domtree, it is empty as well.
I have no idea why it does that, usually it plays well with elm apps.
The funny thing is that if we enable the extension after the page initial load, it works as expected but then the navigation is not working, ie when we click a link the url changes but not the page itself.
I tested on both firefox and chromium, same issue.

That's strange. I don't know how darkreader works internally so it would be hard for me to debug this. It seems like the darkreader github repo tracks websites that don't work with their browser extension https://github.com/darkreader/darkreader/issues?q=label%3A"Broken+Website"+ . Maybe it would be better to post your issue there?
Also, would an alternative solution be for meetdown to support a dark mode directly or does darkreader do additional stuff?

Same behavior with the dark reader firefox extension: "dark background, light text on stylesheet processo. Invert is fine, simple css edits work for the individual pages but not for the search results page.

Providing a dark mode would be great indeed.
I will report the issue to darkreader too.
Still, I find it odd that it has such a behavior, which I never saw on another elm app, so it makes me curious.

Dark theme implemented! You can toggle it with the sun/moon emoji in the top right and the website should also automatically detect if the user has preferred theme set to dark.

I love it thanks!


Fastflow lightning CLI method config: No action for destination key OR 'Namespace' object has no attribute 'category'

Describe the bug
I use a custom dataset to train Fastflow with the new Lightning CLI Method. If I define 'category' in the config there is an Error:
anomalib: error: Parser key "data": Problem with given class_path "anomalib.data.Folder":
 - 'Configuration check failed :: No action for destination key "category" to check its value.'

When I comment 'category' out in the config, there is an other AttributeError:
File "/home/USERNAME/masterthesis/anomalib/anomalib/utils/cli/cli.py", line 142, in __set_default_root_dir
    category = config.data.init_args.category if config.data.init_args.keys() else ""
AttributeError: 'Namespace' object has no attribute 'category'

To Reproduce
Steps to reproduce the behavior:

Create config for Fastflow with custom Dataset:

# This is the config file for the new Anomalib CLI.
# To use this, run the following command:
# anomalib fit --config ./config/model/fastflow.yaml
ckpt_path: null
seed_everything: null
data:
  class_path: anomalib.data.Folder
  init_args:
    root: ./synthetic_data/anomalib_lego_dataset
    category: lego # not used in anomalib.data.Folder
    normal_dir: good
    abnormal_dir: abnormal
    task: segmentation
    mask_dir: ./synthetic_data/anomalib_lego_dataset/mask
    extensions: ['.jpg']
    normal_test_dir: null
    split_ratio: 0.2
    seed: 0
    image_size: [256,256] # options: [256, 256, 448, 384] - for each supported backbone
    train_batch_size: 16
    test_batch_size: 16
    num_workers: 8
    transform_config_train: null
    transform_config_val: null
    create_validation_set: true
    #tiling:
      #apply: false
      #tile_size: null
      #stride: null
      #remove_border_count: 0
      #use_random_tiling: False
      #random_tile_count: 16

model:
  class_path: anomalib.models.Fastflow
  init_args:
    input_size: [256, 256]
    backbone: wide_resnet50_2 # options: [resnet18, wide_resnet50_2, cait_m48_448, deit_base_distilled_patch16_384]
    pre_trained: true
    flow_steps: 8 # options: [8, 8, 20, 20] - for each supported backbone
    conv3x3_only: False # options: [True, False, False, False] - for each supported backbone
    hidden_ratio: 1.0 # options: [1.0, 1.0, 0.16, 0.16] - for each supported backbone

...

Call anomalib fit --config anomalib_model_config/fastflow_lightning.yaml
Output is:

anomalib: error: Parser key "data": Problem with given class_path "anomalib.data.Folder":
 - 'Configuration check failed :: No action for destination key "category" to check its value.'

Modify Config File by commenting 'category' out and call anomalib fit --config anomalib_model_config/fastflow_lightning.yaml
Output is:

File "/home/USERNAME/masterthesis/anomalib/anomalib/utils/cli/cli.py", line 142, in __set_default_root_dir
    category = config.data.init_args.category if config.data.init_args.keys() else ""
AttributeError: 'Namespace' object has no attribute 'category'

Expected behavior

Training should work by leaving out 'category'

Hardware and Software Configuration

OS: [Ubuntu 20.04]
NVIDIA Driver Version [515.65.01]
CUDA Version [11.7]
CUDNN Version [V10.1.243]

Thanks for reporting this @dominikgraf. New LightningCLI is still beta, and we expect this sort of issues. We'll try to fix it asap

Hey again, the bug is still present in the current version, so I took a second look.
The training works after I made a small change to anomalib/anomalib/utils/cli/cli.py and my config.
I removed 'category' from the config and removed the keys check in line 146 in cli.py:
Changed from:
146             category = config.data.init_args.category if config.data.init_args.keys() else ""
to:
146             category = ""

Thanks for your answer, @samet-akcay . I tried removing / commenting out 'category' as described in the lower part of my report:

Modify config file by removing / commenting out 'category' and call anomalib fit --config anomalib_model_config/fastflow_lightning.yaml again
Output is:

File "/home/USERNAME/masterthesis/anomalib/anomalib/utils/cli/cli.py", line 142, in __set_default_root_dir
    category = config.data.init_args.category if config.data.init_args.keys() else ""
AttributeError: 'Namespace' object has no attribute 'category'

To me it seems that, the check of 'keys()' is skipped for some reason.
Removing 'category' from my config did not solve the Error.


Hi, is there work still ongoing for TS0505B 5 channel RGBCW bulb?

I am looking to replace tuya firmware on 3 TS0505B bulbs. I am uncertain if the bulbs would be supported?
Thank you for your work!

Hello, sorry for late reply.
Unfortunately, i found what TSXXXX indexes from Tuya (like TS0505, etc) are unreliable. It's more like device class, but under same index can be different devices, even build on different zigbee chips.
So, i cannot guarantee what my firmware, which developed for LED controller, will be operational on your LED bulb.
Can you please provide zigbee MAC address of device, to verify it based on Telink chip, and link to Aliexpress or other store where I can get device for testing?

Link: https://www.aliexpress.com/item/1005004093785752.html
MAC: 0xa4c13853f145e1da

Ok, MAC starts from 0xA4C138, so it's Telink.
I ordered lamp, but keep in mind delivery time can be few weeks.

Do you have a paypal?

Hi, i finally got bulb from Aliexpress.
Disassemble it and, unfortunately, I was right - it have really different hardware.
Already supported LED controllers get PWM signals directly from Telink TLSR8258 chip and use mosfet for power commutation.
This bulb have SM2335EGH chip connected to Telink chip by I2C and LEDs controlled by it.
Unfortunately, i unable to find datasheet for this chip.
I found implementation for ESPHome/Tasmota https://github.com/esphome/esphome/blob/dev/esphome/components/sm10bit_base/sm10bit_base.cpp and will try to re-implement LED control using it, but it will be not fast.
@Cossid, may be you will be so kind to share datasheet for SM2335EGH?

I only originally found parts of the datasheets in Chinese, and originally translated them to English, but they were not perfect, I later found an English version for SM2235EGH, which is better.  That timing and data structures are the same, the only difference is the mA values, but the data representing the table is the same.
Here are those resources:
SM2235 English datasheet:
SM2235EGH datasheet.pdf
Chinese SM2335 power tables:
SM2335EGH_cn_page7
Additionally, since then, esp-iot has added drivers as well, for an alternate source: https://github.com/espressif/esp-iot-solution/tree/master/components/led/lightbulb_driver/drivers/sm2x35egh

@Cossid Thank you very much for help.
I understand correctly each time when brightness of LEDs changed, so I can determine maximum current of original firmware by capturing any i2c data packet?

Correct, you should be able to read the bytes and match them up.  Alternatively, being Tuya, you might be able to read configuration data from their storage key/value area.  They usually store it as 2235ccur for color current, and 2235wcur for white current.  It will be the raw byte value, though they sometimes use other names like ehccur and ehwcur or iicccur and iicwcur

So I bought a random Tuya Zigbee bulb on AliExpress and the model ended up being TS0505B, and it is recognized in Z2M as TS0505B_1_1.  It appears to be a PWM bulb, there is no LED driver (or even PWM driver) on the LED board, just 6 pins, B-, G-, R-, C-, W-, LV+
The module is ZTU which Tuya lists as Z2, but the manual clarifies that it is indeed a Telink TLSR8258F1KAT32
So be aware, there will be multiple versions with the same base model and will have different pinouts.


Vector math reflect() function is wrong?

I'm not math specialist but I think Vector reflect() math is wrong'ish.
When I'v checked the Godot source, code looked like this:
Vector2 Vector2::reflect(const Vector2 &p_vec) const {
return p_vec - *this * this->dot(p_vec) * 2.0;
}
It produced results that don't look like correct vector reflection.
Shouldn't formula be:
-(vec - vec.dot(normal) * 2 * normal)

Seems like it was originally written the other way around (intentionally?) with the wrong sign: -a.reflect(b) reflects b around a. Thanks once again for reporting these issues. Yes, assuming that p_vec is normalized. I'll submit a PR to replace it with
Vector2 Vector2::reflect(const Vector2 &p_n) const {
	ERR_FAIL_COND(p_n.is_normalized() == false);
	return 2.0 * p_n* this->dot(p_n)  - *this;
}

and update the docs that p_n must be normalized, and review potentially affected code. I'm hoping I can go over all the math library before 3.0.

Same problem in Vector3::reflect.

The documentation also needs to be rewritten:

Vector2 reflect ( Vector2 vec )
Like “slide”, but reflects the Vector instead of continuing along the wall.

Reflection is a mathematical operation which has nothing to do with walls or sliding.
Mathematically speaking, the name of Vector2::slide opaque to me (I understand the context, but still), which simply deletes one component of a vector along a normal (v - (v.n)n), and to me the current form reads "the other way around": n.slide(v) rather than v.slide(n).

I think this is actually the reflection that does involve "walls": think of the direction of a beam of light being reflected from a surface: n.reflect(direction), or a ball bouncing off from a surface.
I think we should first talk to @reduz about this. slide and reflect are all defined in such context, but reflect at least conflicts with mathematical reflection. We can add a proper reflection function, and rename one of those. We can discuss about ordering (n.reflect(v) versus v.reflect(n)).

I think "reflect light according to wall" or "reflect that vector according to this normal" is the intuitive way of arrangement. So v.reflect(n) or v.slide(n) is better IMO.

@tagcup thx for checking it out.
I also agree with @hubbyist v.slide(n) and v.reflect_wall(n) look more intuitive.


feat(profile): wire up profile to warp

What this PR does 📖

allow user to update Identity: status, profile picture, banner
identities for friends are refreshed every minute
the profile picture and status appear in the top bar
the pfp in the sidebar isn't implemented yet, and should probably be held off on until we decide if we will change the data model in state per discussions on the Uplink private discord channel.
same goes for other places that the profile picture and online status need to be wired up

Which issue(s) this PR fixes 🔨

Resolve #

Special notes for reviewers 🗒
Additional comments 🎤

the input box for user status remains green after "enter" is pressed. this eventually needs to be changed.
the user's Identity is now fetched from Warp (minor change). seems the other stuff - whether the user is online and their platform - can be determined at runtime and doesn't need to be saved.

Note: This should not merge until #375 has been merged into dev

Approved on my side, I did have some issues here and there where a friend would go missing and not appear for about 3 mins then it seemed like Warp finally loaded the User info. I think this is more of a network issue on my side because I tested on dev and had the same issues. When Warp was running really good then every function on this PR would work really well. I can create a ticket for the wiring pfp to the sidebar and other needed places if thats cool with you @sdwoodbury I did mention to Stu that I have ticket #362 that I will be adding more info about the green indicator around the input boxes.

Approved on my side, I did have some issues here and there where a friend would go missing and not appear for about 3 mins then it seemed like Warp finally loaded the User info. I think this is more of a network issue on my side because I tested on dev and had the same issues. When Warp was running really good then every function on this PR would work really well. I can create a ticket for the wiring pfp to the sidebar and other needed places if thats cool with you @sdwoodbury was waiting for the conclusion for the state discussion I did mention to Stu that I have ticket #362 that I will be adding more info about the green indicator around the input boxes.

Hard to really say if its an issue with warp or if its related to uplink. How often does this happen? Is it when you send, receive, or after accept a request that it disappears or not show up? Does anything appear in the logs?


Starting server/host after cancelling client connection attempt results in errors.

Describe the bug
Starting a server or host after cancelling a client connection attempt results in errors.
[IMPORTANT] How can we reproduce the issue, step by step:
Either open the Tanks example, or set up a minimal project that includes NetworkManagerHUD.
Reproducing the error for host:

Start the game and press the "Client" button.
Before the transport-level warning about connection timeout shows up (about 10 seconds), do the following:
2.a. Press the "Cancel Connection Attempt" button.
2.b. Press the "Host (Client + Server)" button.
Observe the error: "NetworkClient.AddPlayer: a PlayerController was already added. Did you call AddPlayer twice?"

Reproducing the error for server:

Start the game and press the "Client" button.
Before the transport-level warning about connection timeout shows up (about 10 seconds), do the following:
2.a. Press the "Cancel Connection Attempt" button.
2.b. Press the "Server Only" button.
Observe the error: "Skipped Connect message handling because connection is null."

Expected behavior
I'd expect the "Cancel Connection Attempt" button, which calls NetworkManager.StopClient(), to cancel the transport-level connection attempt (see Additional context!). As a result, I'd expect to see no errors and to have a started server or host.
Screenshots
https://s1.gifyu.com/images/ClientCancelledStartServerError.gif
Desktop (please complete the following information):

OS: Windows
Build target: standalone
Unity version: 2020.3.10f1
Mirror branch: 53.0.0
Transport: KCP (Telepathy results in null dereference errors in these cases.)

Additional context

If you wait (about 10 seconds after pressing "Cancel Connection Attempt", before pressing "Host (Server + Client)"/"Server Only") for the transport-level warning about connection timeout to appear, everything works as expected.
Transport-level warning message: "KCP: Connection timed out after not receiving any message for 10000ms. Disconnecting."

true story

true story
Current findings:
When you cancel connection attempt, StopClient is called, which flows down to KcpClient.Disconnect(). However, the client never connected, so the connected bool is false, which means connection?.Disconnection is never called.
The client is also observed to continue to try to connect despite cancellation -> if you cancel quickly and wait a while, the kcp time out message shows up anyway.
So I am deducing when you do the above and start host, the earlier client connection attempt connects to this Host session (this time successfully) -> I can see it clearly, if I do the above steps and debug in NetworkManager OnServerConnect(), the function is called twice, thus triggering the "Did you add 2nd player" error.

Which layer is this an issue in? The transport wrapper to KCP or the KCP logic itself?

Which layer is this an issue in? The transport wrapper to KCP or the KCP logic itself?

I think the wrapper. KCPClient.cs

in KCPClient.cs:
adding
else // if not connected
{
connection = null;
}
seems to solve the issue, but causes a new NRE error:
This is due to ClientDisconnect actually being called twice. Once by NetworkClient.Disconnect, and 2nd by NetworkClient.Shutdown.
Any idea why it should be called twice, or why these 2 have to call disconnect separately?

in KCPClient.cs: adding else // if not connected { connection = null; } seems to solve the issue, but causes a new NRE error because connection became null. This is due to ClientDisconnect actually being called twice. Once by NetworkClient.Disconnect, and 2nd by NetworkClient.Shutdown. Any idea why it should be called twice, or why these 2 have to call disconnect separately?

 I remember there was patches and refactoring to prevent this, but it seems it might be a (design?) issue that needs to be addressed again.
IMO ideally when NetworkClient.Shutdown is called and the client is active, then NetworkClient.Disconnect should be called and then continue with the Shutdown - don't try to disconnect twice. The easiest way of doing that would be to set a flag/boolean internally that gets checked in Shutdown - if the connection is already disconnected, there is no need to call NetworkClient.Disconnect. Although does Disconnect do anything for the host client? I can't remember...
Psuedocode:
Shutdown request
1) Is network client connected?
If yes - call network client disconnect routine, wait until disconnected. Continue with shutdown.
If no - continue with shutdown.
2) Shutdown process
Cleanup, reset, free resources, blah blah.
3) Go home. We're done here.

Closing as fixed (can no longer reproduce).

I can still reproduce this on Tanks and in my own project. My current workaround is to just wait for the timeout before letting the player try to host. Is there another solution that works better?


[BEAM-1590]: Roll forward #2140

Rolls forward DataflowRunner: experimental support for issuing FnAPI based jobs #2140
This reverts commit b31be1caef6a691006082e3e440d0b42ff1d4165.
Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

[ ] Make sure the PR title is formatted like:
[BEAM-<Jira issue #>] Description of pull request
[ ] Make sure tests pass via mvn clean verify. (Even better, enable
Travis-CI on your fork and ensure the whole test matrix passes).
[ ] Replace <Jira issue #> in the title with the actual Jira issue
number, if there is one.
[ ] If this contribution is large, please file an Apache
Individual Contributor License Agreement.

R: @dhalperi

Changes Unknown when pulling efdf49ed4e3974e586104782c3fc29fed9edf7fc on vikkyrk:moe into ** on apache:master**.

LGTM, merging


Highlight active line

See https://github.com/livebook-dev/livebook/issues/2500#issuecomment-1978421894.

@jonatanklosko is this supposed to be enabled by default? I just tried this branch and am not seeing the LOC highlight

@bcardarella you are probably running with MIX_ENV=prod, right? This uses the pre-built assets, which we build on CI. Try main :)


Slide disappears when clicking on pagination in a certain order

Check that this is really a bug

[X] I confirm

Reproduction link
https://djw.jp/test/swiper/
Bug description
Slide disappears when clicking on pagination in a certain order.
( loop: true, slidesPerView: 7, centeredSlides: true )
In Reproduction link, click #6 then #1, slidename[4] disappears.
Below is the code (only essential part) .

[1]

[2]

[3]

[4]

[5]

[6]

[7]

[8]

const swiper = new Swiper('.swiper', {
	loop: true,
	pagination: {
		el: '.swiper-pagination',
		clickable: true,
	},
	slidesPerView: 7,
	centeredSlides: true,
});

Expected Behavior
Slide to not disappear.
Actual Behavior
Slide disappears.
Swiper version
11.0.5
Platform/Target and Browser Versions
macOS 13.5.2, Chrome 119.0.6045.159
Validations

[X] Follow our Code of Conduct
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
[X] Make sure this is a Swiper issue and not a framework-specific issue

Would you like to open a PR for this bug?

[ ] I'm willing to open a PR

I think this is the same problem as this: https://github.com/nolimits4web/Swiper/issues/7167


Image not displayed

lagrange 1.1.3, gcc 8.3.0 on Debian.
Everything is fine except that inline image at  gemini://gemeaux.bortzmeyer.org/ (link "Une jolie image") is not displayed. When I select "View image", I just get an empty black space.
I see in the logs of the server that the image is fetched successfully (status code 20).
I can display images on other capsules but I do not see why this specific image fails. Lagrange does not display an error message.

@bortzmeyer
I checked this particular image (gemini://gemeaux.bortzmeyer.org/valleuse-antifer.jpg) and the Windows version of Lagrange displayed it just right, screen:

Currently I don't have Linux installed so I cannot test the Linux version of Lagrange.

@bortzmeyer My guess is that since this is a rather large image, copying it to an OpenGL texture for rendering failed for memory/texture max size/etc. reasons.
Any difference when running with the --sw command line option?
The image viewer currently doesn't try to resize images for viewing. More appropriate behavior would be for Lagrange to scale them down to the known valid maximum texture size, and also down to the size of the window if it happens to be smaller.

I checked this particular image (gemini://gemeaux.bortzmeyer.org/valleuse-antifer.jpg) and the Windows version of Lagrange displayed it just right, screen:

I was talking about inline display (using gemini://gemeaux.bortzmeyer.org/ and  then asking Lagrange to display inline).

@bortzmeyer My guess is that since this is a rather large image, copying it to an OpenGL texture for rendering failed for memory/texture max size/etc. reasons.

It worked on another Debian machine, with more memory, so, yes, it could be size-related.
But an error message "Out of memory for this huge image" could be a good idea.

Any difference when running with the --sw command line option?

Yes, it works, I see the image.


Add .exe executable

Please someone add a  .exe executable
Maybe using py2exe or something

It looks like there is a .spec file. Would you like help with running the spec file through like py2exe or pyinstaller and creating an .exe and uploading it to github?

Would you like for someone to run the spec file through py2exe or pyinstaller and then upload the exe file? Or is it that the spec file is not working correctly?


Reduce PingPerf Test granted Linux capabilities

For PingPerf test with Open Liberty <IP_ADDRESS>-beta, the additional linux capabilities required are checkpoint_restore,  net_admin and sys_ptrace.
With new version <IP_ADDRESS>-beta, net_admin and sys_ptrace (for restore) are no longer necessary, but the requirement for setpcap is added.
Plan to update these capabilities for pingPerf test.
Reference: https://openliberty.io/blog/2023/02/10/instant-on-beta-update.html

fyi @llxia @tajila

For the records, we need to keep sudo podman so far based on https://github.com/eclipse-openj9/openj9/issues/17513#issuecomment-1573871056


Adding gits untrack workflow

This functionality will enable us to untrack a previously tracked file

I have implemented this gits untrack functionality which moves file back to the working directory from the staging area. These untracked files will not be considered for the upcoming commits until they are tracked again.


ActivityIndicator size problem

Problem description
In the  new fetch() example script next things happening after a user clicking on the Reload Geo-Data button:

TextView and Reload Geo-Data button are getting destroyed
New ActivityIndicator appears
New data loaded from a remote server
New TextView and Reload Geo-Data button created
ActivityIndicator destroyed

So, on step 4 new TextView and Button appearing on the screen on the same time with the ActivityIndicator.
I can't screenshot that process because it's happening pretty fast, but basically, new page interface is appearing below ActivityIndicator(at the bottom of the page) and then "jumping" at the top of the page after ActivityIndicator is destroyed.
Expected behavior
I know that this particular issue is a result of the simple mistake in the example code.
But I think that ActivityIndicator widget can really use optional property like "fullscreen: 0/1".
Environment

Tabris.js version: 2.6.1
Device: Lenovo Tab 3
OS:  Android 6.0

Code snippet
https://github.com/eclipsesource/tabris-js/blob/master/examples/fetch/fetch.js

I believe that ActivityIndicator deserves at least example snippet in docs update. Because of the nature of that widget, I had a feeling that it should be hard-block for the whole screen to prevent the user from doing pretty much anything while the app is not ready.


Assignment 4: Twitterville v2 - alishaalam

@codepath @codepathreview

:+1: Nice work. A few notes after checking out the code:

Architecting the fragments (base class and extension classes) should be done such that you put as much code and logic as possible in the base class and then used abstract methods to define only the specific behavior where they differ, you have a lot of code duplication
Good to see you properly communicated the user to the user timeline fragment from the profile activity.
Nice to see you used the ViewPager to properly setup the tabs
Good to see you played with styling
Good job on the polished UI

Here's a detailed Project 4 Feedback Guide here which covers the most common issues with this submitted project. Read through the feedback guide point-by-point to determine how you might be able to improve your submission.
This week (Week 5), we are going to cover the last major piece to the Android puzzle and that is using the hardware and SDK components such as the camera, photo gallery, location, maps, etc. After that, Week 6 and week 7 we will be covering a few important intermediate topics such as more about styling and animation as well as testing.
Following the bootcamp, we are going to have a public demo day to celebrate the progress you've all made with our next batch of Android students and multiple companies attending to see the group projects that you all have built. We are going to help however we can over the next few weeks to get the team project apps in shape for that.


Reproduction of permissions errors on AWS spot instances

Description

This is a small reproduction of an error encountered when attempting to scale AWS spot instances with the latest version of Karpenter.
I've included a sample yaml for a deployment using spot. When scaled up, the pod lists as pending, and error messages appear in the karpenter logs:
2023-05-12T23:25:45.180Z        INFO    controller.provisioner  found provisionable pod(s)      {"commit": "06cb81f-dirty", "pods": 1}
2023-05-12T23:25:45.180Z        INFO    controller.provisioner  computed new node(s) to fit pod(s)      {"commit": "06cb81f-dirty", "newNodes": 1, "pods": 1}
2023-05-12T23:25:45.180Z        INFO    controller.provisioner  launching node with 1 pods requesting {"cpu":"1125m","pods":"3"} from types m5.large    {"commit": "06cb81f-dirty", "provisioner": "default"}
2023-05-12T23:25:47.874Z        ERROR   controller.provisioner  launching machine, creating cloud provider instance, with fleet error(s), AuthFailure.ServiceLinkedRoleCreationNotPermitted: The provided credentials do not have permission to create the service-linked role for EC2 Spot Instances.  {"commit": "06cb81f-dirty"}

Motivation and Context

This is in reference to open issue https://github.com/terraform-aws-modules/terraform-aws-eks/issues/2605
Breaking Changes

How Has This Been Tested?

[ ] I have updated at least one of the examples/* to demonstrate and validate my change(s)
[ x ] I have tested and validated these changes using one or more of the provided examples/* projects

[ ] I have executed pre-commit run -a on my pull request

Apologies - I had not yet created the linked role as detailed in the getting started guide so encountered a different error than is talked about in https://github.com/terraform-aws-modules/terraform-aws-eks/issues/2605
I'm going to close this, but will open another PR if I can understand the difference between the example permissions setup and the error I am experiencing.


The problem of Chinese translation

Description
Right click on the opening tab, [close all] option should be called [全部关闭], but now is [关闭关闭]。
DBeaver Version
DBeaver Community 22.2.5
Operating System
Windows 11
Database and driver
No response
Steps to reproduce
No response
Additional context
No response

Yes, it looks weird.

Hello @duzhaofa
Thanks for the bug report. This ticket is a duplicate of https://github.com/dbeaver/dbeaver/issues/17697
You can read more info about his problem there.


UI: Better YAML editor (e.g. Monaco, CodeMirror)

The current YAML editor is simple HTML text area. It can be convenient for certain people to launch workflows from the UI. Maybe a more feature-rich YAML editor could be useful.
A one I found powerful is https://microsoft.github.io/monaco-editor/index.html
Another very long-time popular one is https://codemirror.net/
What do you think?

One step ahead of you :) https://github.com/argoproj/argo/pull/3075

This seemed to have been a duplicate of #3027


adjust location for MNIST data

I just went through the exercise using the provided student workspaces, and the default location gives an error since it points to an unwritable directory. This change fixed it for me.

On additional review this change doesn't consistently fix the issue. Leaving the directory as ~/.pytorch/MNIST_data/ consistently generates a 403 error:
Downloading http://yann.lecun.com/exdb/mnist/train-images-idx3-ubyte.gz

---------------------------------------------------------------------------
HTTPError                                 Traceback (most recent call last)
<ipython-input-1-5cde4022c60c> in <module>()
      8                               ])
      9 # Download and load the training data
---> 10 trainset = datasets.MNIST('~/.pytorch/MNIST_data/', download=True, train=True, transform=transform)
     11 trainloader = torch.utils.data.DataLoader(trainset, batch_size=64, shuffle=True)

/opt/conda/lib/python3.6/site-packages/torchvision-0.2.1-py3.6.egg/torchvision/datasets/mnist.py in __init__(self, root, train, transform, target_transform, download)
     44
     45         if download:
---> 46             self.download()
     47
     48         if not self._check_exists():

/opt/conda/lib/python3.6/site-packages/torchvision-0.2.1-py3.6.egg/torchvision/datasets/mnist.py in download(self)
    112         for url in self.urls:
    113             print('Downloading ' + url)
--> 114             data = urllib.request.urlopen(url)
    115             filename = url.rpartition('/')[2]
    116             file_path = os.path.join(self.root, self.raw_folder, filename)

/opt/conda/lib/python3.6/urllib/request.py in urlopen(url, data, timeout, cafile, capath, cadefault, context)
    221     else:
    222         opener = _opener
--> 223     return opener.open(url, data, timeout)
    224
    225 def install_opener(opener):

/opt/conda/lib/python3.6/urllib/request.py in open(self, fullurl, data, timeout)
    530         for processor in self.process_response.get(protocol, []):
    531             meth = getattr(processor, meth_name)
--> 532             response = meth(req, response)
    533
    534         return response

/opt/conda/lib/python3.6/urllib/request.py in http_response(self, request, response)
    640         if not (200 <= code < 300):
    641             response = self.parent.error(
--> 642                 'http', request, response, code, msg, hdrs)
    643
    644         return response

/opt/conda/lib/python3.6/urllib/request.py in error(self, proto, *args)
    568         if http_err:
    569             args = (dict, 'default', 'http_error_default') + orig_args
--> 570             return self._call_chain(*args)
    571
    572 # XXX probably also want an abstract factory that knows when it makes

/opt/conda/lib/python3.6/urllib/request.py in _call_chain(self, chain, kind, meth_name, *args)
    502         for handler in handlers:
    503             func = getattr(handler, meth_name)
--> 504             result = func(*args)
    505             if result is not None:
    506                 return result

/opt/conda/lib/python3.6/urllib/request.py in http_error_default(self, req, fp, code, msg, hdrs)
    648 class HTTPDefaultErrorHandler(BaseHandler):
    649     def http_error_default(self, req, fp, code, msg, hdrs):
--> 650         raise HTTPError(req.full_url, code, msg, hdrs, fp)
    651
    652 class HTTPRedirectHandler(BaseHandler):

HTTPError: HTTP Error 403: Forbidden

Looking at the directory of files for these exercises, there's an MNIST_data directory as a peer to the notebook. Through some combination of closing and re-opening the notebook, and changing the directory location, I was able to get it to download and work. The change in this PR is the last value when the download worked. But I ran in to the same problem in the next exercise when trying to download the MNIST data. I still don't have a repeatable solution but I want to leve this PR open in the hope that someone else finds it.

Just tried restarting the kernel and it worked fine, so there may be some other issue here. In the mean time that seems to be a viable solution for others who try this course and have this issue.


[Example] instruction_tuning_sd examples add

Type of Change
Examples add
Description
Support all 4 models from the hugginface instruction-tuning-sd website.
* scratch-low-level-img-proc
* scratch-cartoonizer
* cartoonizer
* low-level-img-proc

Expected Behavior & Potential Risk
N/A
How has this PR been tested?
Manual Tests
Dependency Change?
N/A

Ready for merge. Please review.

we may talk to wenxin, to go thorough the performance data of instruction diffusion to PDT


Issue #168 resolved.

Added Debian 9 dependency command to COMPILE.md.  I uninstalled the fixes and ran the command as I have them written in COMPILE.md to make sure they work.

Thanks a lot!


[WIP]: polymorphic button types

currently the button doesn't support undeclared properties that should be allow. example - the Button should allow a type props.

i've attempted to update the prop typings to allow button or anchor props....but i can't figure it out. anybody else feel like taking a shot?

I'd love to give it a shot.

@danethurber what do you think of the latest commit.  I used Will's approach.  Seems to tsc ok, test ok, and get code completion ok.  I'm probably missing something. 🤷

+1


Update golang.org/x/sys to add linux/ppc support

This packages were recently updated to add support for Linux on
32-bit PowerPC (ppc), implemented by gccgo.
Signed-off-by: Ben Hutchings<EMAIL_ADDRESS>

/ok-to-test


About the filter initial conditions

Hello,is a great library. and now I need to implement   " y = filter(b,a,x,zi)"  like this in matlab,Do you know how to do it or have any library exists.Thank you very much
https://cn.mathworks.com/help/matlab/ref/filter.html#bt_vs4t-2_1

It was just about how to use initial conditions in your library

The MATLAB filter command and its design commands such as butter are generating direct N-th order IIR filters. This is pretty dangerous stability-wise and also precision-wise. Instead this IIR library generates directly from the complex conjugate pole/zero pairs 2nd order IIR coefficients to avoid both stability and rounding errors.
Having said that if you want to set the initial conditions of the IIR filter you can do that by directly setting the coefficients of the biqads. See Cascade.java:
/**
 *
 * The mother of all filters. It contains the coefficients of all
 * filter stages as a sequence of 2nd order filters and the states
 * of the 2nd order filters which also imply if it's direct form I or II
 *
 */
public class Cascade {

        // coefficients
        private Biquad[] m_biquads;

which in turn then can have a direct form I or direct form II structure which are again classes.
m_v1 and m_v2 are for example the state variables for the direct Form II which you can set to your convenience.


Add JARK Stack documentation into DoEKS Website

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

What is the outcome that you are trying to reach?

Describe the solution you would like

Describe alternatives you have considered

Additional context

Closing as duplicate #496


Add notes about generated code to CONTRIBUTING.md

Hopefully this should prevent @joeduffy from having to answer the same questions repeatedly!

Perfect!  Thank you 😄
@ellismg How do you want to propagate to other repos?


Infinite random sequences

Closes #56. Allows support for custom distributions.
InfRandVector probably isn't the best name.

If you don't export the name then this can be non-breaking?

Export removed


'"react-aria-components"' has no exported member named 'TextFieldProps'.

Provide a general summary of the issue here
The docs (https://react-spectrum.adobe.com/react-aria/TextField.html#reusable-wrappers) gives this example:
import type {TextFieldProps, ValidationResult} from 'react-aria-components';
🤔 Expected Behavior?
Importing "TextFieldProps" should not result in the error:
'"react-aria-components"' has no exported member named 'TextFieldProps'.
😯 Current Behavior
showing this error
💁 Possible Solution
No response
🔦 Context
I cannot wrap and re-export component
🖥 Steps to Reproduce
Using the below import - results in the error described above:
`import type {TextFieldProps, ValidationResult} from 'react-aria-components';
Version
latest
What browsers are you seeing the problem on?
Chrome
If other, please specify.
No response
What operating system are you using?
mac
🧢 Your Company/Team
No response
🕷 Tracking Issue
No response

I see it being exported here https://github.com/adobe/react-spectrum/blob/59b0762a74cfb22af10bb7fdda9d379a09e2773b/packages/react-aria-components/src/index.ts#L129 what version of RAC are you using? Can you try a newer version? Or can you reproduce in a codesandbox/stackblitz?

I deleted "node_modules" folder - then installed again - and problem was fixed


Tree shaking not working with RollupJS

Prerequisites

[X] I have searched for duplicate or closed issues
[X] I have validated any HTML to avoid common problems
[X] I have read the contributing guidelines

Describe the issue
I can't make tree shaking working using Bootstrap. If I try something like
import { Button } from 'bootstrap'

I get the whole library included in my bundle.
Reduced test cases
The Rollup.js configuration I'm using is the following:
// rollup.config.js

import { babel } from '@rollup/plugin-babel'
import scss from 'rollup-plugin-scss'
import uglify from '@lopatnov/rollup-plugin-uglify'
import nodeResolve from '@rollup/plugin-node-resolve'
import commonjs from '@rollup/plugin-commonjs'
import injectProcessEnv from 'rollup-plugin-inject-process-env'

export default [
  {
    input: 'demo.entry.js',
    output: {
      file: 'dist/js/demo.bundle.min.js',
      format: 'iife',
      compact: true
    },
    plugins: [
      babel({
        babelHelpers: 'bundled',
        exclude: 'node_modules/**',
      }),
      scss({
        output: 'dist/css/demo.min.css',
        outputStyle: 'compressed',
        sourceMap: true,
      }),
      nodeResolve(),
      commonjs(),
      injectProcessEnv({
        NODE_ENV: 'production',
      }),
      uglify()
    ],
  }
]

What operating system(s) are you seeing the problem on?
macOS
What browser(s) are you seeing the problem on?
Chrome
What version of Bootstrap are you using?
v5.1.3

You should import the individual component from the dist/js folder or try the newly added index.esm.js file.
Unsure how we can improve this, any suggestions welcome.

Hi @XhmikosR @julien-deramond,
index.esm.js is the problem. As you can declare in package.json, the index file for modules is dist/js/bootstrap.esm.js
  "module": "dist/js/bootstrap.esm.js",

This file contains class declarations and some code to make components working, however the whole Bootstrap gets imported when I try to do something like
import { Alert, Tooltip } from 'bootstrap'

I created a little demo here with a detailed README to show the problem I'm experiencing with the current version of Bootstrap and a possible solution using a patched version of the library. Basically I can't get tree shake working on my project unless I change the way you create the esm file (single index.esm.js and then a single file for each component, e.g. src/alert.js, src/tooltip.js)
Also I've created a PR (https://github.com/twbs/bootstrap/pull/37733) to fix this problem, if you think it's ok for you please review it and I'll be happy to make all the changes it needs. I removed the minified esm, I don't know if it's useful, I optimize the final code in the project where I use Bootstrap.
This approach has been also implemented and tested in Bootstrap-Italia the official library of the Italian Government to implement the current design specification

I ran into this too - https://stackoverflow.com/questions/75661065/bootstrap-javascript-in-webpack-5-only-working-as-esm
Maybe related to using babel-preset-env

Still current.

Try bootstrap-esm, I created it because of this issue; if this issue is resolved, I will deprecate bootstrap-esm.


Demuxer error

Environment

OS: Android
Scrcpy version: 2.6.1
Installation method: Windows release
Device model: Moto E20
Android version: 11

Describe the bug
Hi, I've been having "demuxer" errors for some reason. This happened right when I turned on my computer (Windows 10 x64).
Generally I use USB to connect my cell phone to my computer, but this time even TCP didn't help.
My terminal:
scrcpy 2.6.1 <https://github.com/Genymobile/scrcpy>
* daemon not running: starting now at tcp:5037
* daemon started successfully
INFO: ADB device found:
INFO: --> (usb) ZFS23XVX3N device moto_e20
C:\Users\Downloads\scrcpy-win64-v2.6.1\scrcpy-server... file pushed, 0 skipped. 12.5 MB/s (71112 bytes in 0.005s)
INFO: Renderer: direct3d
INFO: Texture: 720:1600
ERROR: Could not open audio device: WASAPI can't find request audio endpoint
ERROR: Demuxer error

What could be the error?

WASAPI can't find request audio endpoint

If you have no audio card, run scrcpy --no-audio.

WASAPI can't find request audio endpoint

If you have no audio card, run scrcpy --no-audio.

Yeah, I have, but my scrcpy stopped working out of nowhere.


Fix a statement leak resulting in a ton of warnings in the logs

Datasource '': JDBC resources leaked: 0 ResultSet(s) and 1 Statement(s)

The failure will be fixed in https://github.com/quarkus-qe/beefy-scenarios/pull/248


fix: removed extra lines in between

this help maintaining consistency.
Checklist:

[ ] I have read freeCodeCamp's contribution guidelines.
[ ] My pull request has a descriptive title (not a vague title like Update index.md)
[ ] My pull request targets the master branch of freeCodeCamp.
[ ] All the files I changed are in the same world language, for example: only English changes, or only Chinese changes, etc.

Closes #XXXXX

Hey @pradipta18choudhury
Thank you for opening this pull request.
This is a standard message notifying you that we've reviewed your pull request and have decided not to merge it. We would welcome future pull requests from you.
Thank you and happy coding.


Request resources through helm release files

Is your feature request related to a problem? Please describe.
The current helm release deployment will create statefulsets for Hyperledger Fabric peers/orderers. However, it won't allow for requesting and limiting resources. Editing the pod's specification gets overridden when a new helm release deployment gets through.
Describe the solution you'd like
An option to specify CPU and memory requests and limits. Even if the helm release file does the default size allocation upon creation, it shall allow an administrator to edit later.
Describe alternatives you've considered
Edit the statefulset everytime a helm release goes through.
Additional context
N/A

I will work on this issue


[BUG] pdm generate-schema in readme does not work

Bug Description
Readme states you can run pdm generate-schema.  This fails for me:
pdm generate-schema
Running <task generate-schema>: ['pdm', 'run', 'make', 'schema']

python scripts/generate_openapi_schema.py docs/openapi.json
Failed to load config file olsconfig.yaml: [Errno 2] No such file or directory: 'olsconfig.yaml'
Traceback (most recent call last):
  File "/Users/chirino/sandbox/road-core-service/ols/utils/config.py", line 114, in reload_from_yaml_file
    with open(config_file, encoding="utf-8") as f:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'olsconfig.yaml'

Traceback (most recent call last):
  File "/Users/chirino/sandbox/road-core-service/scripts/generate_openapi_schema.py", line 19, in <module>
    config.reload_from_yaml_file(cfg_file)
  File "/Users/chirino/sandbox/road-core-service/ols/utils/config.py", line 114, in reload_from_yaml_file
    with open(config_file, encoding="utf-8") as f:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'olsconfig.yaml'
make: *** [schema] Error 1

Ah thanks, I'm on it!


Add Shopify newsletter fallback

Adding Shopify newsletter form as default for the newsletter form. Once the merchant adds their MailChimp URL then we can switch the form over to use MailChimp. This way merchants will be collecting customers info in the early stages when they haven't set up their MailChimp account or even 5 years later when they finally discover MailChimp!
Review @karocena @cshold  :eyes:

Nice. Was just thinking about this last night.

I should have added this a while back. Thanks!


updating to client-go 1.7 breaks kube-inject

Due to a custom serializer in k8s, PR #966 breaks k8s 1.6 deployment:
error: error validating "STDIN": error validating data: found invalid field sizeLimit for v1.EmptyDirVolumeSource; if you choose to ignore these errors, turn validation off with --validate=false

@ayj proposed several options around this problem:

custom YAML/JSON marshaler
textual removal post-encoding
programmatic removal

convert typed resource to generic map[string]interface{} (https://github.com/fatih/structs)
remove offending key(s)
marshal generic map to YAML

Also filed upstream issue https://github.com/kubernetes/client-go/issues/257
cc @rshriram

@andraxylia @ayj the response I got is that client-go is not meant to be backwards compatible with older k8s. We might need to reimplement kube-inject.

Priority depends on whether we want to support k8s 1.6 server at all.

We will not support k8s < 1.7 because of the CRDs, so I will close this issue.


Logic for buy stock use case

Check if the request is a valid input
Check if the user balance is sufficient
If the request is valid, generate a new Transaction
The User should have a method addTransaction, and update their history as well as ask portfolio to add this transaction
Similarly, both TransactionHistory and Portfolio should have this method
Portfolio can verify if the stock exists, then ask UserStock to update quantity or create new one, while handle this, also check the new quantity, if it's 0, delete the stock

The only reason for TransactionHistory, Portfolio, and UserStock to change is when new transaction has been successfully made
TransactionHistory should have a simple method which append the new transaction
Portfolio should have a method handle different types of transaction (buy, sell, or short sell), and first check if the UserStock has existed. If so, call the UserStock to update it self (update quantity, cost, etc. Not sure whether it should just take the new quantity and purchased price as parameter or the whole transaction); if not, generate a new UserStock and append it to attribute
Everytime UserStock changes, it should automatically update its cost and total value