Update Overall Pages/URL Structure

Now that we have near-complete content https://docs.google.com/document/d/1zn-6Nvp6K6g-QbNpGSWxTQLISVqvg8vxm50wlDjXfy8/edit?ts=5f2c096a&pli=1 we have new and changed pages, so new URLs.
For this issue
We want to have a working URL for every page of the site. Don't worry about content for the pages yet, placeholder is fine for now
A good way to see each page is via the Figma prototype: https://www.figma.com/proto/5ThSdBlZBcQnuyk15DWJNQ/Venture-Studio---Site?node-id=52%3A0&scaling=min-zoom
Outline. Some of these exist already, some are new, some are suggested URLs, but we there might be better ones

Home /
About /about
FAQ /faq
Ventures for Shared Prosperity /ventures-for-shared-prosperity

VSP / Focus area /ventures-for-shared-prosperity/focus-area
VSP / What we provide /ventures-for-shared-prosperity/what-we-provide
VSP / Apply /ventures-for-shared-prosperity/apply

Apply /apply 301 redirect to /ventures-for-shared-prosperity/apply

Couple things to note:

The /ventures-for-shared-prosperity and sub pages is something that we'll do for this cohort and for future cohorts. They're like mini sites within the main site
I think we're going to want a /cohorts page at some point to list all cohorts, but I'm not sure we need that there yet. If we end up sticking with the drop down menu we will, but that's still TBD

Reference

11ty docs for info on how pages, urls work in eleventy
Netlify redirect docs Also, we have a Netlify conf file in the root.

@will0101 Let me know if I can clarify anything or if you have any questions

Hey, I need access to the Google doc. Also, just so I'm clear on the task would you like me to create the new banner that's based off the Figma design or just add the links based on the version that I have?

Made a change to the description to be more clear. For this, we don't need to update the banner or footer nav. It's OK if we don't have visible links yet. For this work we only need to be able to manually type in the URL to see that there is a page there for each. So we're looking for the template files and directories set up for that to work

Thanks for clearing this up. I'll get started now.

Completed in #24


Add support for live metrics to pure .NET Core

https://github.com/Microsoft/ApplicationInsights-aspnetcore/pull/518 @netgh0st is working on this.


Failed to deploy Blazor wasm to azure github actions [Oryx could not find a 'build' or 'build:azure']

It keeps on saying theres an error with  oryx , i'm using the starter template from blazor, any help or suggestions would be greatly appreciated.
Thank you

I will try to help.
This text will be translated by an AI since my English is not good enough.
The steps I follow and work for me are:
I create a repository on GitHub.
I clone that repository on my computer.
I enter the directory.
I create a blazorwasm application with:
dotnet new blazorwasm -o "Client"
The name "Client" is important so that I don't have to change it later when I created the Static Web App.
I add the changes.
I commit the changes.
I push the changes.
I create the staticWebApplication on Azure.
Here it's important, after providing the details of your repository as you have done, "Build Details" appears, and under "Build Presets," set it to Blazor.
Everything else is the same if you have created the project and called it "Client."
I'm working on something a bit more advanced but it's not working yet at
https://github.com/Gabriel-Iban/blazorwasm-functions-cosmosdb
It's in Spanish but it may give you some ideas.
Let me know if I can help with anything else.


Upgrade ImageSharp dependency version

Also consider an implementation without such; https://github.com/windows-toolkit/WindowsCommunityToolkit/blob/205eedfc930e62dd8e21c8a8df63a9e75ba4955f/Microsoft.Toolkit.HighPerformance/Memory/ReadOnlySpan2D{T}.cs

Also consider an implementation without such; https://github.com/windows-toolkit/WindowsCommunityToolkit/blob/205eedfc930e62dd8e21c8a8df63a9e75ba4955f/Microsoft.Toolkit.HighPerformance/Memory/ReadOnlySpan2D{T}.cs

Do you mean removing ImageSharp as a whole and switching to Span2D for the api, or just adding them as extra methods? I've been thinking of eventually removing ImageSharp, but I would need a way to load at least some basic image format (like png or tga). Mipmaps are also generated with ImageSharp but I guess implementing my own resizing wouldn't be too much of a task.

Do you mean removing ImageSharp as a whole and switching to Span2D for the api, or just adding them as extra methods? I've been thinking of eventually removing ImageSharp, but I would need a way to load at least some basic image format (like png or tga). Mipmaps are also generated with ImageSharp but I guess implementing my own resizing wouldn't be too much of a task.

I would be willing to work with you on an Encoder / Decoder interface class which works with either Pipes, Sequences, Streams or whatever your preferred paradigm is; I had selected Stream for my previous such attempts for various reasons including Stream being able to read and write directly from such. The basic implementation of such would be light and there in allow for any type of encapsulated operation from a derived class.
I hate to minimize it to such but all an Encoder / Decoder is just a way of getting data in or out of memory such that it conforms to the expected bit patterns, adding formats after that is super trivial.
I am not saying my implementation is the best (it can definitely be improved performance wise for example) but it tis very general and allows for quite contrived scenarios such as specially formatted data (BRAG) in which format the alpha embeds audio data as well as the bits required for transparency information...
Resizing is also trival given that the filtering and subsampling techniques are what provide better or worse such scales I would intuit that a few basic such scalers would be created (See MagikHarp or Gyrados.. .I don't have the links off hand) and that implementation would serve as a good enough.
From there one can refine as much as required or implement an alternative such strategy using some of the components from adjacent parts of the image...
I am sure you know all this know and I waste my type inferring such....
May I infer, What do you see the biggest thing that ImageSharp provides you outside of the limited implementation of JPEG, PNG and GIF which it provides?
If that is all then just work on a basic implementation of those things and you have what you need...
I have the JPEG Part mostly in reader form, writing would be trivial... https://github.com/juliusfriedman/net7mma_core/blob/e7b228cfd6ce36401e11d1d1f31b29a4e9d41ba0/Codecs/Image/Jpeg/MarkerReader.cs
You are more than welcome to any of my code if it helps your project have less dependencies, you need not even bear the license where you got the code from if such makes it more palatable, I give thee full permissions.
All I would ask is that I would be able to move more of the Codec stuff to a library where we both maintain it, there are many variations of all such media and thinking we can provide something to encompass all such is ... ambitious enough to be Ludacris as to type.
My library was never focuses on codecs, I just wanted to provide it would be able to to be done in ALL managed code if you had the ambition to do so.
Hopefully none of that came across wrong.
Thank you for your library and let me know if I can be of any assistance.

I would be willing to work with you on an Encoder / Decoder interface class which works with either Pipes, Sequences, Streams or whatever your preferred paradigm is; I had selected Stream for my previous such attempts for various reasons including Stream being able to read and write directly from such. The basic implementation of such would be light and there in allow for any type of encapsulated operation from a derived class.
I hate to minimize it to such but all an Encoder / Decoder is just a way of getting data in or out of memory such that it conforms to the expected bit patterns, adding formats after that is super trivial.
I am not saying my implementation is the best (it can definitely be improved performance wise for example) but it tis very general and allows for quite contrived scenarios such as specially formatted data (BRAG) in which format the alpha embeds audio data as well as the bits required for transparency information...
Resizing is also trival given that the filtering and subsampling techniques are what provide better or worse such scales I would intuit that a few basic such scalers would be created (See MagikHarp or Gyrados.. .I don't have the links off hand) and that implementation would serve as a good enough.
From there one can refine as much as required or implement an alternative such strategy using some of the components from adjacent parts of the image...
I am sure you know all this know and I waste my type inferring such....
May I infer, What do you see the biggest thing that ImageSharp provides you outside of the limited implementation of JPEG, PNG and GIF which it provides?
If that is all then just work on a basic implementation of those things and you have what you need...
I have the JPEG Part mostly in reader form, writing would be trivial... https://github.com/juliusfriedman/net7mma_core/blob/e7b228cfd6ce36401e11d1d1f31b29a4e9d41ba0/Codecs/Image/Jpeg/MarkerReader.cs
You are more than welcome to any of my code if it helps your project have less dependencies, you need not even bear the license where you got the code from if such makes it more palatable, I give thee full permissions.
All I would ask is that I would be able to move more of the Codec stuff to a library where we both maintain it, there are many variations of all such media and thinking we can provide something to encompass all such is ... ambitious enough to be Ludacris as to type.
My library was never focuses on codecs, I just wanted to provide it would be able to to be done in ALL managed code if you had the ambition to do so.
Hopefully none of that came across wrong.
Thank you for your library and let me know if I can be of any assistance.

I really like the idea of a Stream-based encoder/decoder class. If you're willing to help, I created an discussion issue for it in #27.
ImageSharp is only used for the few basic formats and mipmap resizing. If I can implement my own Rgba32Image class that could at least do png and jpeg, then I can easily drop it as a dependency. Implementing a resizing algorithm is not an issue.
I'm not sure what you mean by the brain-interfacing and implant stuff, but I'm assuming you mean to use the BcEncoder as some sort of compression layer between the implant and some other device? I'm interested in hearing more about your use-case.

I really like the idea of a Stream-based encoder/decoder class. If you're willing to help, I created an discussion issue for it in #27.
ImageSharp is only used for the few basic formats and mipmap resizing. If I can implement my own Rgba32Image class that could at least do png and jpeg, then I can easily drop it as a dependency. Implementing a resizing algorithm is not an issue.
I'm not sure what you mean by the brain-interfacing and implant stuff, but I'm assuming you mean to use the BcEncoder as some sort of compression layer between the implant and some other device? I'm interested in hearing more about your use-case.

To be honest, how did the wall of text comment above talk about audio buffers, and abstract derivations for brain interlinks? This is BCn, and image compression. Nothing more, nothing less. What exactly do brain interfaces have to do with this in any way? Or audio for that matter?

To be honest, how did the wall of text comment above talk about audio buffers, and abstract derivations for brain interlinks? This is BCn, and image compression. Nothing more, nothing less. What exactly do brain interfaces have to do with this in any way? Or audio for that matter?

Umm its the most basic type of transform.. hence why you want TGA support et al. Right?

Umm its the most basic type of transform.. hence why you want TGA support et al. Right?

I think your ideas are way out of scope for this library, honestly. If you want to load TGA's and then decode the BC format in it, you can already do so. Just load the TGA with something else and decode its data with the DecodeRaw methods.
Also for which systems is Audio, Video? If you talk about systems that are not computers, I would like to reiterate, that such is out of scope for this library imo.
How the human brain seens and transforms images/data is also not really relevant to this specific library.

I think your ideas are way out of scope for this library, honestly. If you want to load TGA's and then decode the BC format in it, you can already do so. Just load the TGA with something else and decode its data with the DecodeRaw methods.
Also for which systems is Audio, Video? If you talk about systems that are not computers, I would like to reiterate, that such is out of scope for this library imo.
How the human brain seens and transforms images/data is also not really relevant to this specific library.

There might have been a bit of a misunderstanding. Tga (truetype targa) is an image format commonly used for raw textures in games. It does not contain any audio to my knowledge.

There might have been a bit of a misunderstanding. Tga (truetype targa) is an image format commonly used for raw textures in games. It does not contain any audio to my knowledge.

There might have been a bit of a misunderstanding. Tga (truetype targa) is an image format commonly used for raw textures in games. It does not contain any audio to my knowledge.

By default no it doesnt.

There might have been a bit of a misunderstanding. Tga (truetype targa) is an image format commonly used for raw textures in games. It does not contain any audio to my knowledge.

By default no it doesnt.

I think your ideas are way out of scope for this library, honestly. If you want to load TGA's and then decode the BC format in it, you can already do so. Just load the TGA with something else and decode its data with the DecodeRaw methods.
Also for which systems is Audio, Video? If you talk about systems that are not computers, I would like to reiterate, that such is out of scope for this library imo.
How the human brain sees and transforms images/data is also not really relevant to this specific library.

Dually noted and summarily overruled when I hear from @Nominom it will be different.
If you have any more questions let me know.
good day

I think your ideas are way out of scope for this library, honestly. If you want to load TGA's and then decode the BC format in it, you can already do so. Just load the TGA with something else and decode its data with the DecodeRaw methods.
Also for which systems is Audio, Video? If you talk about systems that are not computers, I would like to reiterate, that such is out of scope for this library imo.
How the human brain sees and transforms images/data is also not really relevant to this specific library.

Dually noted and summarily overruled when I hear from @Nominom it will be different.
If you have any more questions let me know.
good day

I really like the idea of a Stream-based encoder/decoder class. If you're willing to help, I created an discussion issue for it in #27.
ImageSharp is only used for the few basic formats and mipmap resizing. If I can implement my own Rgba32Image class that could at least do png and jpeg, then I can easily drop it as a dependency. Implementing a resizing algorithm is not an issue.
I'm not sure what you mean by the brain-interfacing and implant stuff, but I'm assuming you mean to use the BcEncoder as some sort of compression layer between the implant and some other device? I'm interested in hearing more about your use-case.

PNG? JPEG? Done. I mean both have been done to death in various forms depending on the profile and amount of proprietary extension you want to support...
I doubt you would need the writer but I intuit so much.
Thank you for your time and comments!

I really like the idea of a Stream-based encoder/decoder class. If you're willing to help, I created an discussion issue for it in #27.
ImageSharp is only used for the few basic formats and mipmap resizing. If I can implement my own Rgba32Image class that could at least do png and jpeg, then I can easily drop it as a dependency. Implementing a resizing algorithm is not an issue.
I'm not sure what you mean by the brain-interfacing and implant stuff, but I'm assuming you mean to use the BcEncoder as some sort of compression layer between the implant and some other device? I'm interested in hearing more about your use-case.

PNG? JPEG? Done. I mean both have been done to death in various forms depending on the profile and amount of proprietary extension you want to support...
I doubt you would need the writer but I intuit so much.
Thank you for your time and comments!


redirect to vSphere cloud provider docs in cloud providers page

Signed-off-by: Andrew Sy Kim<EMAIL_ADDRESS>The vSphere cloud provider has a docs site at https://cloud-provider-vsphere.sigs.k8s.io, we should redirect vSphere users there in the "Cloud Providers" page.

/assign @dvonthenen

/hold

/lgtm

@sftim thanks for the feedback, comments addressed

/hold cancel
Comments address, PTAL

Thinking about this more, I'm not 100% comfortable with “VMWare recommends X”. It'd be more in line with the style guide (and the rest of the page) to write “use X” instead.
However I don't know if that's enough of a concern to block a merge.

I agree, I think "VMware recommends" is too prescriptive for kubernetes.io docs. I think just :
For all vSphere deployments on vSphere >= 6.7U3, the external vSphere cloud provider is recommended

👍 ?

/approve
pending @sftim 's lgtm

@sftim updated wording per your suggestion, PTAL :)

/lgtm


feat: nyx integration

📝 Description
Integrate nyx
❓ Context

Impacted projects: LLC, LLD, LLM
Linked resource(s): https://ledgerhq.atlassian.net/browse/LIVE-7319

✅ Checklist

[x] Test coverage
[x] Atomic delivery
[x] No breaking changes

📸 Demo

🚀 Expectations to reach
Please make sure you follow these Important Steps.
Pull Requests must pass the CI and be internally validated in order to be merged.

Could you also add nyx in spec.ts and if possible add it to bridge.integration and his own dataset ?

code LGTM but there's some CI Failure (i didn't check)

👋  ESLint config has been unified on develop after we merged https://github.com/LedgerHQ/ledger-live/pull/3622 – this will improve the project consistency, remove eslint dependencies duplicates, and overall simplify the maintenance. This comes with a prettier library upgrade and unification of the prettierrc too, so you likely have conflicts with develop.
Hopefully, here is the procedure to easily fix this. please proceed as follow:
Step 1: sync your branch with develop up to the config changes:
2 cases

if your branch were continuously rebased with develop and don't have any merge commit, you can do

git rebase aa1e0ebc0a0498b4350754899b6a368fbd42e811

otherwise prefer

git merge aa1e0ebc0a0498b4350754899b6a368fbd42e811

then, apply the config
pnpm i
pnpm lint:fix --force

if there are remaining errors that lint couldn't fix, please fix them and pnpm lint again.
then commit in your branch.
git commit -a -m "chore: lint fixes"

Step 2: finalize the rebase/merge with develop
2 cases

if your branch were continuously rebased with develop and don't have any merge commit, you can do

git pull --rebase origin develop

otherwise prefer

git merge origin/develop

you should now be up to date. 👍

Thanks and sorry for the inconvenience,
gre


embedded link messages

hello is there any way to get the link hidden behind the embedded text? i tried to read common.py but couldn't figure out how to extract the url from raw message.
any help would be appreciated, thanks. :)

any news on this?


Order should save current user email

Fixes #604

Current coverage is 62.58% (diff: 80.00%)

Merging #605 into master will increase coverage by 0.49%

@@             master       #605   diff @@
==========================================
  Files            97         97
  Lines          4394       4391     -3
  Methods           0          0
  Messages          0          0
  Branches        452        451     -1
==========================================
+ Hits           2728       2748    +20
+ Misses         1574       1549    -25
- Partials         92         94     +2

Powered by Codecov. Last update a19e5e0...f262315

@patrys i cleaned code


Webform libraries

Summary
Included the webform libraries in the composer build.
Metadata

Question
Answer

Did you use a meaningful pull request title?
yes

Did you apply meaningful labels to the pull request?
yes

Did you perform a self review first?
yes

Documentation reflects changes?
no

CHANGELOG reflects changes?
yes

Unit/Functional tests reflect changes?
n/a

Did you perform browser testing?
yes

Risk level
Low

Relevant links
RIG-185

Ok looks good!
/approved


uninitialized constant Bosh::Registry::InstanceManager::Aws::AWS (NameError)

Hi,
Im getting the following error when I run bosh-bootstrap deploy
/usr/local/share/ruby/gems/2.0/gems/bosh-registry-1.3177.0/lib/bosh/registry/instance_manager/aws.rb:43:in initialize': uninitialized constant Bosh::Registry::InstanceManager::Aws::AWS (NameError)         from /usr/local/share/ruby/gems/2.0/gems/bosh-registry-1.3177.0/lib/bosh/registry/config.rb:35:in new'
from /usr/local/share/ruby/gems/2.0/gems/bosh-registry-1.3177.0/lib/bosh/registry/config.rb:35:in configure'         from /usr/local/share/ruby/gems/2.0/gems/bosh-registry-1.3177.0/lib/bosh/registry/runner.rb:8:in initialize'
from /usr/local/share/ruby/gems/2.0/gems/bosh-registry-1.3177.0/bin/bosh-registry:21:in new'         from /usr/local/share/ruby/gems/2.0/gems/bosh-registry-1.3177.0/bin/bosh-registry:21:in <top (required)>'
from /usr/local/bin/bosh-registry:23:in load'         from /usr/local/bin/bosh-registry:23:in '
bosh-registry -c /tmp/d20160116-25380-r0sf4x/bosh_registry_yml20160116-25380-neprch failed, exit status=1
/usr/local/share/ruby/gems/2.0/gems/rake-10.5.0/lib/rake/file_utils.rb:66:in block in create_shell_runner': Command failed with status (1): [bosh -n micro deploy --update-if-exists /r...] (RuntimeError)         from /usr/local/share/ruby/gems/2.0/gems/rake-10.5.0/lib/rake/file_utils.rb:57:in call'
from /usr/local/share/ruby/gems/2.0/gems/rake-10.5.0/lib/rake/file_utils.rb:57:in sh'         from /usr/local/share/ruby/gems/2.0/gems/bosh-bootstrap-0.18.1/lib/bosh-bootstrap/cli/helpers/bundle.rb:18:in block in run'
from /usr/local/share/ruby/gems/2.0/gems/bundler-1.11.2/lib/bundler.rb:219:in block in with_clean_env'         from /usr/local/share/ruby/gems/2.0/gems/bundler-1.11.2/lib/bundler.rb:199:in with_original_env'
from /usr/local/share/ruby/gems/2.0/gems/bundler-1.11.2/lib/bundler.rb:205:in with_clean_env'         from /usr/local/share/ruby/gems/2.0/gems/bosh-bootstrap-0.18.1/lib/bosh-bootstrap/cli/helpers/bundle.rb:16:in run'
from /usr/local/share/ruby/gems/2.0/gems/bosh-bootstrap-0.18.1/lib/bosh-bootstrap/microbosh.rb:54:in block in deploy_or_update'         from /usr/share/ruby/2.0/fileutils.rb:125:in chdir'
from /usr/share/ruby/2.0/fileutils.rb:125:in cd'         from /usr/local/share/ruby/gems/2.0/gems/bosh-bootstrap-0.18.1/lib/bosh-bootstrap/microbosh.rb:52:in deploy_or_update'
from /usr/local/share/ruby/gems/2.0/gems/bosh-bootstrap-0.18.1/lib/bosh-bootstrap/microbosh.rb:42:in block in deploy'         from /usr/share/ruby/2.0/fileutils.rb:125:in chdir'
from /usr/share/ruby/2.0/fileutils.rb:125:in cd'         from /usr/local/share/ruby/gems/2.0/gems/bosh-bootstrap-0.18.1/lib/bosh-bootstrap/microbosh.rb:40:in deploy'
from /usr/local/share/ruby/gems/2.0/gems/bosh-bootstrap-0.18.1/lib/bosh-bootstrap/cli/commands/deploy.rb:77:in perform_microbosh_deploy'         from /usr/local/share/ruby/gems/2.0/gems/bosh-bootstrap-0.18.1/lib/bosh-bootstrap/cli/commands/deploy.rb:24:in perform'
from /usr/local/share/ruby/gems/2.0/gems/bosh-bootstrap-0.18.1/lib/bosh-bootstrap/thor_cli.rb:11:in deploy'         from /usr/local/share/ruby/gems/2.0/gems/thor-0.19.1/lib/thor/command.rb:27:in run'
from /usr/local/share/ruby/gems/2.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in invoke_command'         from /usr/local/share/ruby/gems/2.0/gems/thor-0.19.1/lib/thor.rb:359:in dispatch'
from /usr/local/share/ruby/gems/2.0/gems/thor-0.19.1/lib/thor/base.rb:440:in start'         from /usr/local/share/ruby/gems/2.0/gems/bosh-bootstrap-0.18.1/bin/bosh-bootstrap:13:in <top (required)>'
from /usr/local/bin/bosh-bootstrap:23:in load'         from /usr/local/bin/bosh-bootstrap:23:in '
By the looks of it there seems to be some issue with the version of "aws-sdk".
here is the output of the gem list command:
aws-sdk (2.2.11, 2.2.0, 1.60.2)
aws-sdk-core (2.2.11, 2.2.0)
aws-sdk-resources (2.2.11, 2.2.0)
aws-sdk-v1 (1.60.2)
bosh_aws_cpi (2.1.0)
fog-aws (0.6.0)
I'm running this command from an AWS Linux AMI (amzn-ami-hvm-2015.09.1.x86_64-gp2 (ami-c9b572aa) in Tokyo.

I'm sorry this project isn't maintained anymore :/ I'll mark it as such soon; sorry for wasting your time.
On Sat, Jan 16, 2016 at 10:38 PM, Yohan Wadia<EMAIL_ADDRESS>wrote:

Hi,
Im getting the following error when I run bosh-bootstrap deploy
/usr/local/share/ruby/gems/20/gems/bosh-registry-131770/lib/bosh/registry/instance_manager/awsrb:43:in initialize': uninitialized constant Bosh::Registry::InstanceManager::Aws::AWS (NameError)         from /usr/local/share/ruby/gems/20/gems/bosh-registry-131770/lib/bosh/registry/configrb:35:in new'
from /usr/local/share/ruby/gems/20/gems/bosh-registry-131770/lib/bosh/registry/configrb:35:in configure'         from /usr/local/share/ruby/gems/20/gems/bosh-registry-131770/lib/bosh/registry/runnerrb:8:in initialize'
from /usr/local/share/ruby/gems/20/gems/bosh-registry-131770/bin/bosh-registry:21:in new'         from /usr/local/share/ruby/gems/20/gems/bosh-registry-131770/bin/bosh-registry:21:in <top (required)>'
from /usr/local/bin/bosh-registry:23:in load'         from /usr/local/bin/bosh-registry:23:in '
bosh-registry -c /tmp/d20160116-25380-r0sf4x/bosh_registry_yml20160116-25380-neprch failed, exit status=1
/usr/local/share/ruby/gems/20/gems/rake-1050/lib/rake/file_utilsrb:66:in block in create_shell_runner': Command failed with status (1): [bosh -n micro deploy --update-if-exists /r] (RuntimeError)         from /usr/local/share/ruby/gems/20/gems/rake-1050/lib/rake/file_utilsrb:57:in call'
from /usr/local/share/ruby/gems/20/gems/rake-1050/lib/rake/file_utilsrb:57:in sh'         from /usr/local/share/ruby/gems/20/gems/bosh-bootstrap-0181/lib/bosh-bootstrap/cli/helpers/bundlerb:18:in block in run'
from /usr/local/share/ruby/gems/20/gems/bundler-1112/lib/bundlerrb:219:in block in with_clean_env'         from /usr/local/share/ruby/gems/20/gems/bundler-1112/lib/bundlerrb:199:in with_original_env'
from /usr/local/share/ruby/gems/20/gems/bundler-1112/lib/bundlerrb:205:in with_clean_env'         from /usr/local/share/ruby/gems/20/gems/bosh-bootstrap-0181/lib/bosh-bootstrap/cli/helpers/bundlerb:16:in run'
from /usr/local/share/ruby/gems/20/gems/bosh-bootstrap-0181/lib/bosh-bootstrap/microboshrb:54:in block in deploy_or_update'         from /usr/share/ruby/20/fileutilsrb:125:in chdir'
from /usr/share/ruby/20/fileutilsrb:125:in cd'         from /usr/local/share/ruby/gems/20/gems/bosh-bootstrap-0181/lib/bosh-bootstrap/microboshrb:52:in deploy_or_update'
from /usr/local/share/ruby/gems/20/gems/bosh-bootstrap-0181/lib/bosh-bootstrap/microboshrb:42:in block in deploy'         from /usr/share/ruby/20/fileutilsrb:125:in chdir'
from /usr/share/ruby/20/fileutilsrb:125:in cd'         from /usr/local/share/ruby/gems/20/gems/bosh-bootstrap-0181/lib/bosh-bootstrap/microboshrb:40:in deploy'
from /usr/local/share/ruby/gems/20/gems/bosh-bootstrap-0181/lib/bosh-bootstrap/cli/commands/deployrb:77:in perform_microbosh_deploy'         from /usr/local/share/ruby/gems/20/gems/bosh-bootstrap-0181/lib/bosh-bootstrap/cli/commands/deployrb:24:in perform'
from /usr/local/share/ruby/gems/20/gems/bosh-bootstrap-0181/lib/bosh-bootstrap/thor_clirb:11:in deploy'         from /usr/local/share/ruby/gems/20/gems/thor-0191/lib/thor/commandrb:27:in run'
from /usr/local/share/ruby/gems/20/gems/thor-0191/lib/thor/invocationrb:126:in invoke_command'         from /usr/local/share/ruby/gems/20/gems/thor-0191/lib/thorrb:359:in dispatch'
from /usr/local/share/ruby/gems/20/gems/thor-0191/lib/thor/baserb:440:in start'         from /usr/local/share/ruby/gems/20/gems/bosh-bootstrap-0181/bin/bosh-bootstrap:13:in <top (required)>'
from /usr/local/bin/bosh-bootstrap:23:in load'         from /usr/local/bin/bosh-bootstrap:23:in '
By the looks of it there seems to be some issue with the version of "aws-sdk"
here is the output of the gem list command:
aws-sdk (2211, 220, 1602)
aws-sdk-core (2211, 220)
aws-sdk-resources (2211, 220)
aws-sdk-v1 (1602)
bosh_aws_cpi (210)
fog-aws (060)
I'm running this command from an AWS Linux AMI (amzn-ami-hvm-2015091x86_64-gp2 (ami-c9b572aa) in Tokyo
Reply to this email directly or view it on GitHub:
https://github.com/cloudfoundry-community/bosh-cloudfoundry/issues/281


When compiling dynamic async import(), webpack always return package under default property

Bug report
Webpack will always transpile await import('module') into a syntax that returns {default: module} even if the importing module doesn't have a default export.
What is the current behavior?
import assert from 'node:assert';

async function handler() {
  const { Readable } = await import('node:stream');
  assert(typeof Readable !== 'undefined', 'Readable is undefined.');
}

void handler();

Real world use case, I'm using a package which does dynamic import, and I'm unable to bundle it with webpack for this solely reason: https://github.com/puppeteer/puppeteer/issues/8531.
I tried to use a loader like this one: https://github.com/morganney/magic-comments-loader to add /*webpackIgnore: true*/ to any dynamic imports, but it's super slow, unfortunately.
If the current behavior is a bug, please provide the steps to reproduce.

Install repo: https://github.com/rdsedmundo/webpack-bug-dynamic-import-default
Run npm test.

What is the expected behavior?
I realize this may be expected behavior due to design limitations (found a few references to this on the documentation as outlined below), but I was wondering if there are any workarounds on this besides marking the package as an external. It feels overkill that no matter which package it is, if they try to use a dynamic import on this fashion, then we automatically need to skip bundling it completely.
https://webpack.js.org/guides/code-splitting/

The reason we need default is that since webpack 4, when importing a CommonJS module, the import will no longer resolve to the value of module.exports, it will instead create an artificial namespace object for the CommonJS module. For more information on the reason behind this, read webpack 4: import() and CommonJs.

https://webpack.js.org/guides/lazy-loading/

Note that when using import() on ES6 modules you must reference the .default property as it's the actual module object that will be returned when the promise is resolved.

Other relevant information:
webpack version: 5.75.0
Node.js version: 18.13.0
Operating System: macOS 13.1
Additional tools: N/A

This is a bit of an unsavory user experience. This needs a bit of discussion to see how this could be addressed.

We need to potentially change how this is accessed as default only/not. Potentially bug.

I spent quite a while digging before finding this issue. For other people searching, I'll include the error produced by puppeteer, to hopefully lead them straight to an explanation:
TypeError: Readable is not a constructor

As far as I can tell, this stems from legacy nodejs behavior regarding the stream-module. When using require, the returned module is a function (this is not the case with import('stream'), which is also confusing in and off itself). Since functions are objects too, properties like Readable can still be accessed without issue. Without this legacy behavior, modules such as send, which is used widely in server-libraries, breaks completely, so hacks with externals, alias etc. to only expose the non-legacy exports cannot be used.
The problem arises when webpack tries to create a fake namespace object for the module. Since the module is not an object, but a function, it is assumed that it should instead be treated as the default-export. It's hard to see a simple fix that will allow webpack to create fake namespace objects for legacy modules and not break on this, except if all native modules could be excepted from the fake namespace behavior. Maybe it could look for custom properties on function-exports as well, but there might be tons of ways this could break for other modules.
The solution I ended up with is a god-awful hack, but it works: a babel plugin to inject /* webpackIgnore: true */-comments into dynamic imports where the source matches a predefined list. If there's interest, I may publish it as a module, or someone else with experience creating and maintaining babel plugins may do so freely. It's unlikely to have real applications outside of this single issue, but you never know.
/**
 * Add webpackIgnore-comments to dynamic imports matching a specific list.
 * Primarily useful for avoiding problematic handling of the `stream` module by
 * webpack.
 *
 * Provide a list of targeted modules as the `ignore`-option.
 *
 * Related webpack-issue: https://github.com/webpack/webpack/issues/16757
 */
module.exports = ({ template, types }) => ({
	visitor: {
		Import(path, { opts: { ignore = [] } = {} }) {
			// Check if import statement seems to be completely straightforward, single string argument, no leading comments
			if (path.parent.arguments.length !== 1) return
			const source = path.parent.arguments[0]
			if (!types.isStringLiteral(source) || source.leadingComments) return
			// Check if module should be ignored
			if (!ignore.includes(source.value)) return
			types.addComment(source, 'leading', ' webpackIgnore: true ')
		}
	}
})

Usage in babel config (I would recommend a JS config, so require.resolve can be used for an absolute path to the plugin-file):
["./path-to-ignore-plugin", { ignore: ["stream"] }]

Make sure that your babel-loader is run on puppeteer-files (and any other modules with the same issue).

@TheLarkInn would you mind linking the discussion here if you have already created it? I couldn't seem to find it.

I encountered the same issue. When using Nest.js and Puppeteer, following the Nest.js documentation, if I start with the nest start command, there are no problems. However, if I build using nest build --webpack, I get a runtime exception like the following:
2023-12-11T15:06:29.808Z [PrintSync] [ERROR] Readable is not a constructor TypeError: Readable is not a constructor
    at getReadableFromProtocolStream (/path-to-project/dist/npm/puppeteer-core.js:24018:12)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async CdpPage.createPDFStream (/path-to-project/dist/npm/puppeteer-core.js:18260:16)
    at async CdpPage.pdf (/path-to-project/dist/npm/puppeteer-core.js:18264:26)
    at async PrintPdfPipelineStep.printPdf (/path-to-project/dist/npm/290.js:5664:25)
    at async PrintPdfPipelineStep.doPerform (/path-to-project/dist/npm/290.js:5687:22)
    at async /path-to-project/dist/npm/290.js:3460:28
    at async PrintPdfPipelineStep.performAndCatch (/path-to-project/dist/npm/290.js:3451:20)
    at async PrintPdfPipelineStep.perform (/path-to-project/dist/npm/290.js:3459:16)
    at async steps.reduce.Promise.resolve.content (/path-to-project/dist/npm/290.js:3508:34)
    at async /path-to-project/dist/npm/290.js:3505:30
    at async PipelineStepSets.performWithContext (/path-to-project/dist/npm/290.js:3499:16)
    at async PipelineStepSets.doPerform (/path-to-project/dist/npm/290.js:3502:16)
    at async /path-to-project/dist/npm/290.js:3460:28
    at async PipelineStepSets.performAndCatch (/path-to-project/dist/npm/290.js:3451:20)
    at async PipelineStepSets.perform (/path-to-project/dist/npm/290.js:3459:16)

If I add the following configuration in webpack.config.js, then there are no issues at all. After observing the compiled output files, it is evident that after adding the configuration, Puppeteer and its dependencies are not included in the compilation process, and no compiled files are generated. Instead, the packages are still referenced from the node_modules directory. I suspect this is why nest start can run without any problems.
externals: {
  puppeteer: "require('puppeteer')"
},

I encountered the same issue. When using Nest.js and Puppeteer, following the Nest.js documentation, if I start with the nest start command, there are no problems. However, if I build using nest build --webpack, I get a runtime exception like the following:
2023-12-11T15:06:29.808Z [PrintSync] [ERROR] Readable is not a constructor TypeError: Readable is not a constructor
    at getReadableFromProtocolStream (/path-to-project/dist/npm/puppeteer-core.js:24018:12)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async CdpPage.createPDFStream (/path-to-project/dist/npm/puppeteer-core.js:18260:16)
    at async CdpPage.pdf (/path-to-project/dist/npm/puppeteer-core.js:18264:26)
    at async PrintPdfPipelineStep.printPdf (/path-to-project/dist/npm/290.js:5664:25)
    at async PrintPdfPipelineStep.doPerform (/path-to-project/dist/npm/290.js:5687:22)
    at async /path-to-project/dist/npm/290.js:3460:28
    at async PrintPdfPipelineStep.performAndCatch (/path-to-project/dist/npm/290.js:3451:20)
    at async PrintPdfPipelineStep.perform (/path-to-project/dist/npm/290.js:3459:16)
    at async steps.reduce.Promise.resolve.content (/path-to-project/dist/npm/290.js:3508:34)
    at async /path-to-project/dist/npm/290.js:3505:30
    at async PipelineStepSets.performWithContext (/path-to-project/dist/npm/290.js:3499:16)
    at async PipelineStepSets.doPerform (/path-to-project/dist/npm/290.js:3502:16)
    at async /path-to-project/dist/npm/290.js:3460:28
    at async PipelineStepSets.performAndCatch (/path-to-project/dist/npm/290.js:3451:20)
    at async PipelineStepSets.perform (/path-to-project/dist/npm/290.js:3459:16)

If I add the following configuration in webpack.config.js, then there are no issues at all. After observing the compiled output files, it is evident that after adding the configuration, Puppeteer and its dependencies are not included in the compilation process, and no compiled files are generated. Instead, the packages are still referenced from the node_modules directory. I suspect this is why nest start can run without any problems.
externals: {
  puppeteer: "require('puppeteer')"
},

The issue has been finally resolved as follows, instead of using the standard import in the reference.
Original:
import puppeteer, {Browser, PaperFormat, PDFOptions, Viewport} from 'puppeteer';

Change to:
import {Browser, PaperFormat, PDFOptions, Viewport} from 'puppeteer-core/lib/cjs/puppeteer/puppeteer-core.js';
import puppeteer from 'puppeteer/lib/cjs/puppeteer/puppeteer.js';

it works for me. @rdsedmundo


Protractor 3.0.0 does not find angularTestResult.ver for Angular 1.3.8?

I read in a previous issue and FAQs, protractor supossed to have support for Angular 1.0.6/1.1.4 an higher versions.
I 'm using protractor 3.0.0, trying to test AngularJS v1.3.8 app that lives in html tag seems Protractor cannot find Angular version inside angularTestResult protractor object.
Since I read protractor team was about to add some special capabilities to get this working on Angular 2, I'm wondering if these new capabilities could be causing conflicts with angular 1.x.x versions. Any info about it?
OS: Windows 10
Browser: Chrome
Tried to run tests with Selenium: webdriver-manager, selenium standalone server 2.48, Chromedriver. Problem persists.
I'm printing the follwing error from protractor:
Failed: Angular could not be found on the page http://localhost:3000/#/login : angular never provided resumeBootstrap
Looking for Ng App at html. Mean Reason is Angular Version obtained:  undefined

Hi there!
Your question is better suited for StackOverflow or Gitter. Please ask a question there with the 'protractor' tag or post in the Gitter Channel to get help.
From the the getting help section of the README:

Please ask usage and debugging questions on StackOverflow (use the "protractor" tag) or in the Angular discussion group. (Please do not ask support questions here on Github.)

@Tsux there should be no issues with angular 1.3 apps - we've added capabilities for Angular2, but those are in addition to still working with angular 1.3. The important error message is that "angular never provided resumeBootstrap" - I'm not sure where the "Mean Reason" error message is coming from. That looks like it may be from some framework you're using on top of Protractor?
Please post a link to your question on SO or Gitter and we'll take a look there.


[Release-1.5] Add TCP MX Alpn in UpstreamTlsContext for clusters that specify http2_protocol_options

[Release-1.5] Add TCP MX Alpn in UpstreamTlsContext for clusters that specify http2_protocol_options
Cherry-pick : https://github.com/istio/istio/pull/23929

@gargnupur: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

lint_istio_release-1.5
b29e51bdfe534ad7c6f6d88502c0e365e514aae4
link
/test lint_istio_release-1.5

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest


Build Pokemon Search App

Pokémon search is a feature on the page with Pokémon collection that allows a Trainer create a filtered view of their Pokémon. This feature was introduced in update to version 0.67.1 All search terms are case-insensitive and spacing is not necessary (except for filtering by proper names of Pokémon, attacks and tags).
In this project used
HTML file
CSS file
JavaScript file
Linters

@royajamal
Hello dear please deploy your project 😃


How to install theme using key name?

I installed Fresns on a localhost, and i want to install moments through Key Name.
because the installation is not working through CL.

The Application Marketplace has been implemented and plugins and themes can be installed using the unikey, now you can install and use Fresns v2.8.

PS: The official Community and Developer Centre are not yet live, so please wait until next week for them to go live.


Counters for specific use-cases

Hello Team,
I want to create a counter and increment it only when a certain event occurs.
How can I do that? In the example given for http_requested_languages_total , the counter is incremented for every request.
Can you selectively only call the increment function? What would be the best way to go about this?

I assume you can do something like this:
def instrumentator(info: Info):
     if some_condition:
          # Dont do anything
          return
     # Otherwise we increment
     COUNT_METRIC.inc()

@oysteins10
I have created a metric in this manner
@staticmethod
    def invalid_doc_type_counter():
        METRIC = Counter(
            "invalid_doc_type_count",
            "Number of times invalid doc type issue came up",
            labelnames=("handler",)
                         )
        METRIC.labels("info.modified_handler").inc()

And I am trying to call it in another function in this manner

        if not filtered_det:
            #Invalid doc type counter
            Counters.invalid_doc_type_counter()
            raise ValueError("Invalid Doc Type")

When I hit the /metrics endpoint
invalid_doc_type_count_total{handler="info.modified_handler"} 1.0 <---This value remains at one and doesn't change


Feature Suggest: SplayTreeSet can set the comparation after construction.

Here is the scenario case.
I have a model like this:
class Foo() {
  const Foo(this.id, this.date);

  final BigInt id;
  final int date;
  final bool pinned;
}

I need to show it in 2 different sort:

Sort by date.
Sort by pinned then date.
(This is actually simplification, the real case are much more complicated)

The easiest implementation ofcourse by saving the whole List of Foo.
List<Foo> foos = [];

add();

sortOne();
sortTwo();

Every time method sort called it will loop the foos model, and do the comparation.
It works. But now i need to increase the performance.
So the easiest thing is to use somekind of mapper.
So i change the foos as:
Map<BigInt, Foo> foos = {};

Which means, now foos are mapper of foo.id => foo.
Then add the mapper for the sorter.
SplayTreeSet<BigInt> sorts = SplayTreeSet<BigInt>((BigInt a, BigIntb) {
  return  foos[a].date.compareTo(foos[b].date);
});

Everytime add() called, it will add the foos mapper and the sorts mapper.
The foos are unordered and the sorts are ordered.
The sorts will be automatically ordered when some foo.id added.
But This will throw error, because the foos instance has been accessed in the sorts initializer.
Is it possible to give ability for SplayTreeSet to change the comparater after the construction some thing like this:
SplayTreeSet<BigInt> sorts = SplayTreeSet<BigInt>();

void init() {
  sorts.setComparator((BigInt a, BigInt b) {
    ...
  });
}

We do not want to allow you to set the comparator of a SplayTreeSet after it has been created.
It's not impossible, we could allow it. It would mean that all the elements had to be reordered with the new comparator when you set it, which means it's basically equivalent to creating a new set. Slightly fewer allocations, but the same number of comparisons.
We'd have to detect if you try to set the comparator while doing a splay operation or reordering, and probably stop you.
We'd have to decide what happens if the new comparator considers some existing elements as equal. (Should one of them be removed? Which one?)
Because of that, the advantage of allowing you to assign the comparator isn't very big, and does not pay for the extra complexity.
I recommend just creating a new set instead. Or maintaining two sets, one which each ordering.


Create _Directorys const

@ZacarieCarr
Was getting an error when running mango download...
ReferenceError: _Directorys is not defined
    at downloadThemeFiles (/usr/local/lib/node_modules/@shopackify/mango/bin/lib/download/download.js:11:27)

Defining this const seems to fix it.

Thanks @darryn.
looks like once I’ve changed everything to spawn from a local bin directory instead of a pre-existing resolved command, I’ve forgot to require the directory util in this file.
I’ll merge and release this today.


Same filename

[x] Have you signed the Contributor License Agreement?
[x] Are you working against an Issue?

Resolves #249

This causes files with the same name to be downloaded with the numeric filenames that Windows uses elsewhere

Microsoft Reviewers: Open in CodeFlow

/azp run

@ryfu-msft I can't seem to figure out why it is failing the UpdateWithArchitectureOverrides test. I'm not seeing anywhere in the code that it would depend on the path to the downloaded file in the tests, unless I'm overlooking it?

Okay, after doing some digging I think I found the issue. When I run the test for the first time (clearing out any previously downloaded test installers), I see this:

For the UpdateWithArchitectureOverride, we actually run the update command twice, once without the architecture override, and once with the architecture override. Because of this, we should expect the DownloadFileAsync() function to be called twice. I found it odd that the 2nd instance always produced a file with 0KB, which is why the error message shows something weird like Unable to read beyond the end of the stream.
Based on this post, it appears that after copying from a stream, the pointer is left at the last position and needs to be rewind back to 0. I think that should help resolve the issue.
            using var targetFileStream = File.OpenWrite(targetFile);
            var contentStream = await response.Content.ReadAsStreamAsync();
            contentStream.Position = 0;
            await contentStream.CopyToAsync(targetFileStream);

Okay, after doing some digging I think I found the issue. When I ran the test for the first time (clearing out any previously downloaded test installers), I see this:

For the UpdateWithArchitectureOverride, we actually run the update command twice, once without the architecture override, and once with the architecture override. Because of this, we should expect the DownloadFileAsync() function to be called twice. I found it odd that the 2nd instance always produced a file with 0KB, which is why the error message shows something weird like Unable to read beyond the end of the stream.
Based on this post, it appears that after copying from a stream, the pointer is left at the last position and needs to be rewind back to 0. I think that should help resolve the issue.
            using var targetFileStream = File.OpenWrite(targetFile);
            var contentStream = await response.Content.ReadAsStreamAsync();
            contentStream.Position = 0;
            await contentStream.CopyToAsync(targetFileStream);

So, that makes the tests pass, but it also causes this error when actually running the client -
Failed to download installer.
System.NotSupportedException: Specified method is not supported.
   at System.Net.Http.HttpBaseStream.set_Position(Int64 value)
   at Microsoft.WingetCreateCore.PackageParser.DownloadFileAsync(String url, Nullable`1 maxDownloadSize)
   at Microsoft.WingetCreateCLI.Commands.BaseCommand.DownloadPackageFile(String installerUrl)
   at Microsoft.WingetCreateCLI.Commands.UpdateCommand.UpdateManifestsAutonomously(Manifests manifests)
   at Microsoft.WingetCreateCLI.Commands.UpdateCommand.ExecuteManifestUpdate(List`1 latestManifestContent, CommandExecutedEvent commandEvent)
   at Microsoft.WingetCreateCLI.Commands.UpdateCommand.Execute()
   at Microsoft.WingetCreateCLI.Program.Main(String[] args)

/azp run

Azure Pipelines successfully started running 1 pipeline(s).

##[warning]There was a failure in sending the provision message: Unexpected response code from remote provider InternalServerError
,##[warning]There was a failure in sending the provision message: Unexpected response code from remote provider InternalServerError
,##[warning]There was a failure in sending the provision message: Unexpected response code from remote provider InternalServerError
,##[warning]There was a failure in sending the provision message: Unexpected response code from remote provider InternalServerError
,##[warning]There was a failure in sending the provision message: Unexpected response code from remote provider InternalServerError
,##[error]Provisioning request delayed or failed to send 5 time(s). This is over the limit of 3 time(s).

/azp run

Hmm, weird... looking into this.

/azp run

I wonder if it has something to do with the commit history? I can try rebasing and force pushing

/azp run

Hmm. Thats weird

Now it's trying to run it on https://github.com/microsoft/winget-create/commit/6ebb719c43926a72712bce48d49c40b2f49a94a6 which isn't the latest commit

Trying in #262


Improve error message when docker is not running

Describe the bug
When docker service is not running yet, you get an error that is not very descriptive of the current issue. Perhaps tern should check if docker is running or installed would be enough.
To Reproduce
Steps to reproduce the behavior:

Stop docker service
Run tern command

Error in terminal
tern report -f cyclonedxjson -i debian:jessie -o tern-bom.json
2021-10-27 12:48:45,622 - DEBUG - __main__ - Starting...
2021-10-27 12:48:45,623 - DEBUG - prep - Setting up...
2021-10-27 12:48:45,623 - DEBUG - run - Starting analysis...
Traceback (most recent call last):
  File "/Users/hectorj2f/ternenv/lib/python3.9/site-packages/urllib3/connectionpool.py", line 699, in urlopen
    httplib_response = self._make_request(
  File "/Users/hectorj2f/ternenv/lib/python3.9/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File<EMAIL_ADDRESS>line 1279, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File<EMAIL_ADDRESS>line 1325, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File<EMAIL_ADDRESS>line 1274, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File<EMAIL_ADDRESS>line 1034, in _send_output
    self.send(msg)
  File<EMAIL_ADDRESS>line 974, in send
    self.connect()
  File "/Users/hectorj2f/ternenv/lib/python3.9/site-packages/docker/transport/unixconn.py", line 30, in connect
    sock.connect(self.unix_socket)
FileNotFoundError: [Errno 2] No such file or directory

thanks @rnjudge! It works for me now.


Add 3D printed case

add case
update readme to include links to known cases

Thanks for the additions. Have you printed and tested that the case fits as expected?

Not me, but @hazels-garage printed it (almost-final-version). I just designed it by request from https://www.reddit.com/r/ErgoMechKeyboards/comments/19c7bn2/commission_casebuilders/ :)


[FancyZones Editor] XamlStyler formatting

Summary of the Pull Request
Format FancyZones Editor XAML files with and remove pipeline exclusion.

PR Checklist

[x] Closes: https://github.com/microsoft/PowerToys/issues/28644
[ ] Communication: I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected
[ ] Tests: Added/updated and all pass
[ ] Localization: All end user facing strings can be localized
[ ] Dev docs: Added/updated
[ ] New binaries: Added on the required places

[ ] JSON for signing for new binaries
[ ] WXS for installer for new binaries and localization folder
[ ] YML for CI pipeline for new test projects
[ ] YML for signed pipeline

[ ] Documentation updated: If checked, please file a pull request on our docs repo and link it here: #xxx

Detailed Description of the Pull Request / Additional comments

Validation Steps Performed

/azp run


Fix: change default curency_rates (gitlab helpdesk issue 203)

change default curency_rates to support copying or creating an order from other modules (such as copy sale opportunity to sale order)

updated


extra-index-url config parameter works like the index-url

pyproject.toml
$ cat pyproject.toml
[tool.uv.pip]
extra-index-url = [
    "https://example.com/simple/"
]

uv venv --seed
... an error about unable to find / download pip,setuptool and wheel
Version
$ uv --version
uv 0.3.5

What is the error you're seeing? Do you need index-strategy = "unsafe-first-match"?

See https://docs.astral.sh/uv/pip/compatibility/#packages-that-exist-on-multiple-indexes for more context.

Hi,
I've read the doc, OK...


Support OneDrive

Hey,
First of all, thanks for this cool library.
I need OneDrive support, because that's what my company uses.
Is this aligned with the interests of this library?
Thanks

Hi @4brunu,
It would make sense to add support for OneDrive, even if right now it's not planned to do so, I'll keep it in mind or if you feel like contributing via a Pull Request, go for it!


Auth error with oidc login kubectl plugin

Current and expected behavior
I have kubeconfig with next user field:
users:
- name: oidc-keycloak
  user:
    exec:
      apiVersion: client.authentication.k8s.io/v1beta1
      command: kubectl
      args:
        - oidc-login
        - get-token
        - --oidc-issuer-url=<keycloak url>
        - --oidc-client-id=kubernetes
        - --oidc-client-secret=<our secret>
      env: null
      provideClusterInfo: false

And receive the next error during initialization (the same code as in examples/kubectl.rs):
Error: auth error: auth exec command '"kubectl" "oidc-login" "get-token" "--oidc-issuer-url=<keycloak url>" "--oidc-client-id=kubernetes" "--oidc-client-secret=<our secret>"' failed with status exit code: 2: Output { status: ExitStatus(ExitStatus(2)), stdout: "", stderr: "error: One of the values isn't valid for an argument\n" }

Possible solution
No response
Additional context
Windows OS
Rust version:
stable-x86_64-pc-windows-msvc (default)
rustc 1.64.0 (a55dd71d5 2022-09-19)

Environment
Client Version: v1.25.0
Kustomize Version: v4.5.7
Server Version: v1.22.14
Configuration and features

kube = { version = "0.75.0", features = ["runtime", "derive"] }
k8s-openapi = { version = "0.16.0", features = ["v1_25"] }

Affected crates
No response
Would you like to work on fixing this bug?
maybe

That looks like an error from oidc-login. Does the same kubeconfig work with regular kubectl?

Yes it does. For me it looks like command is not executed properly, arguments are provided in an erroneous way. If I execute oidc login with these params directly- I receive the response

If the command works locally then it sounds like something that would be straight-forward to fix when cross referencing with where we shell out:
https://github.com/kube-rs/kube/blob/e104bea2233b5bd0977aab444b8c5a36181b4791/kube-client/src/client/auth/mod.rs#L463-L488
and what kubectl does (as documented by the upstream ExecConfig) via kubectl -v=9
I don't see anything obvious in our implementation.. Command::args just passes the yaml on verbatim. Maybe it doesn't print to stdout, but stderr? Maybe something about inherited evars? Maybe oidc-login also has a verbose flag to identify why it is failing?
A solution/fix/investigation would be appreciated!

The thing is I am not good in rust and just learning it in my spare time (main stack for several ages is in typescript). Not good at debugging opensource for now. For now, I think flags are not passed to execution of the command properly, but can't check that

Does the PR above fixed the issue @atassis ? Should be available on kube-re 0.77.0

It will take me some time to check it, I am too overwhelmed by different stuff. But I will definitely check it and answer later

FWIW, interactive OIDC works fine with kube-rs, but I only tested with https://github.com/int128/kubelogin

We have users complaining about OIDC not refreshing. Checking the code I really don't see any refreshing mechanism for OIDC
https://github.com/metalbear-co/mirrord/issues/1460

Upon further inspection, there appears to be two issues here.
The above config in this issue is using exec with oidc-login shellout which should still work using existing structures, but it's possible that there's something wrong with the way the exec is done - it has probably not been tested for a lot of different use cases. If this doesn't work, then it's a bug.
On the other hand there's also #1223 which would not use exec but rather auth-provider (see https://kubernetes.io/docs/reference/access-authn-authz/authentication/#option-1-oidc-authenticator ), and that we definitely do not have support for yet.

As a progress note, we now have support for oidc refresh under the kube/oidc feature from #1229 resulting from the previous comment. Previously we had oidc bearer token handling only.
This is not expected to fix the issue above as it using an exec provider, but we also don't know if anything is even actually wrong on our side here. As a side-note, it might be possible to change the kubeconfig structure to use the oidc provider rather than exec (since it's called oidc-keycloak), or tweak the kubeconfig a bit (see there are some blogposts on this).
Anyway, going to close this for now. Feel free to reopen with more information.


asprof make jvm8 crashed, when JavaThread Attach Listener running

Describe the bug
hello, i use client-go and spdy library enter a java application container from an agent container, which at the same node of java container to execute asprof, but jvm crashed sometimes after a few seconds,  because a segment fault
container exit code 137  and java process received a SIGSEGV signal
Expected vs. actual behavior
I think JavaThread "Attach Listener"  may happened a exception; maybe make check_match function of ld-linux-x86-64.so.2  accessed a illegal memory address！
asprof command: ./asprof -d 60 -f xxx.html -e ctimer --all-user --fdtransfer

latest terminal log:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f54ae1d7570, pid=1, tid=0x00007f53a8430700
#
# JRE version: OpenJDK Runtime Environment (8.0_322-b06) (build 1.8.0_322-b06)
# Java VM: OpenJDK 64-Bit Server VM (25.322-b06 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [ld-linux-x86-64.so.2+0x9570]  check_match.9525+0x10
#
# Core dump written. Default location: /home/admin/core or core.1
#
# An error report file with more information is saved as:
# /home/admin/hs_err_pid1.log
2024-11-26 16:51:10.420 DEBUG [,] [DubboServerHandler-<IP_ADDRESS>:20880-thread-400] org.apache.dubbo.remoting.transport.DecodeHandler:59 -  [DUBBO] Decode decodeable message org.apache.dubbo.rpc.protocol.dubbo.DecodeableRpcInvocation, dubbo version: 1.2.11-SNAPSHOT, current host: <IP_ADDRESS>
#
# If you would like to submit a bug report, please visit:
#   https://bugzilla.redhat.com/enter_bug.cgi?product=Red%20Hat%20Enterprise%20Linux%207&component=java-1.8.0-openjdk
#
Profiling started

[error occurred during error reporting , id 0xb]
...

[Too many errors, abort]
...

Reproduction Steps
No response
Additional Information/Context
jvm error log of thread
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007fcc9f3c5570, pid=1, tid=0x00007fcb95b35700
#
# JRE version: OpenJDK Runtime Environment (8.0_322-b06) (build 1.8.0_322-b06)
# Java VM: OpenJDK 64-Bit Server VM (25.322-b06 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [ld-linux-x86-64.so.2+0x9570]  check_match.9525+0x10
#
# Core dump written.  Do you have a full hs_err.log? You may send it privately to <support @ profiler.tools> if you wish.
I see that an application runs in a container. What is an OS inside a container? Also CentOS?
Also, can you check if the latest nightly release works?
Thanks.

@chacha923 Did you check if the issue happens with nightly builds?
It's likely that the problem was caused by the fact that most of shared libraries (including libjvm.so and libc.so) were deleted while the application was running - note (deleted) in the crash dump.

I'm closing the issue in the lack of further debugging details. The probem is apparently caused by external factors, such as deletion of shared libraries while an application is running.
Feel free to reopen if you have additional information on how to reproduce the issue.


Incompatible with Bottleneck

I'm having an issue where Lolex seems to be incompatible with Bottleneck, a popular rate-limiting package. Bottleneck schedules callbacks using setTimeout, and if I mock those calls using Lolex, only the first callback gets called for some reason.
I initially thought it might be a Bottleneck issue, but then I proceeded to replace Lolex with my own API-compatible implementation, and the problem went away (for my example code).
Maybe I'm misunderstanding Lolex. At any rate, thanks.

Not sure what you are using lolex for. Lolex is supposed to take control over setTimeout and friends. That is its purpose, so that you can have full control over timers. But it is not a mocking or stubbing library: that is the work of sinon. If you want to control time, but not let lolex affect the internal workings of your library you need to cache references to the globals you are using.  Not seeing an issue with lolex here.

I'm aware of the need for caching. I think you misread the issue description. This is what happens:

clock = lolex.install()
setTimeout(fn1, 0) (from Bottleneck)
setTimeout(fn2, 0) (from Bottleneck)
clock.tick(0)

If fn2 doesn't get called, isn't that a bug?

Maybe take a look at my original example as well. The calls to limiter.schedule() make Bottleneck perform the setTimeout that seems to be causing trouble.

Thanks for the code example. That is a much clearer description. "Callback did not get called" could mean a whole lot of things, and I assumed you referred to something else than you example code did. This does indeed look like a bug ...

I apologize for the confusion. Probably should've copy-pasted my entire explanation from the Bottleneck issue rather than linking to it.
Anything I can do to help debug? Bottleneck is originally in CoffeeScript, making it a little clunky to debug, but since injecting my own Lolex-compatible code fixed it, I still think we should be looking at Lolex code.

@timdp Help is always appreciated. You could try cloning the repo and add some tests to see if you are able to trigger it in a clean environment. https://github.com/sinonjs/lolex/blob/master/test/lolex-test.js#L305 is supposed to cover your case, but perhaps we have an issue with the special case of ´time=0´?

A setTimeout of 0 is supposed to be equivalent to setImmediate, and same thing for a setTimeout of a negative number.

@SGrondin Does Bottleneck use negative numbers?
I was thinking it might be due to something like setTimeout(() => setTimeout(f, 0), 0). That, or the combination of setTimeout and promises (bluebird or native) acting up, especially if your Promise uses setImmediate or process.nextTick internally.
Anyway, I'll test soon.

Bottleneck doesn't call a setTimeout inside of another setTimeout (but your user code might) and it never calls setTimeout with a negative number. By default, it uses Bluebird if it's installed in your project and native promises otherwise. There's no setImmediate or nextTick anywhere in the code.

Still trying to get to the bottom of this, but what I've found so far is that core-js (added by Babel) insists on using its own Promise implementation in my transpiled code because most promises don't fully adhere to the spec. My goal is to replace every Promise with pinkie, which uses setImmediate, which I can delegate to lolex.

Looked into this a bit. Not sure what is happening, but there is one thing that sticks out. No new timers are scheduled after the first call completes. You can check this with clock.timers.

Although we don't have a good test code to show this problem, and so this has not been verified to be an actual Sinon problem, I suspect that the async changes in #102 and #105 might fix the issue. As we have very little to go by I am going to close this as missing information required to dig into this, but it would be cool if @timdp could check out the new version of lolex with the asyncTick feature to see if that fixes things (in a few days).


[Server] CPU issue when adding tracks to playlists

What version of Music Assistant has the issue?
2.0.0b73
The problem
There seems to be an issue with CPU use when adding tracks to playlists via the GUI. On my system, a single track added to a playlist will add to the m3u file right away but will take CPU usage from 2-4% in normal operation, to over 50% for a few minutes before coming back down.
If I add another track to a playlist in that time, it will not appear in the m3u file, CPU usage will hit 100% but it does seem to come back down eventually at which point the track appears in the m3u.
I found this after trying to add ~30 tracks to a playlist (one at a time due to the multiple add bug) and all failed except the first although that may be because I restarted MA after noticing the CPU issue, at which point it had been at 100% for over 5 minutes.
I've tried this with different playlists and tracks, and had the same results.
How to reproduce

Check CPU use
Use the GUI to add a track to a playlist
Watch CPU use spike before eventually coming back down

Relevant log output
No response
Additional information
No response
What version of Home Assistant Core are your running
2023.10.3
What type of installation are you running?
Home Assistant OS
On what type of hardware are you running?
Generic x86-64 (e.g. Intel NUC)

Looping back to this. How big in GB is all your music?

Currently 20.92 GB. Good timing, I've been digitising more of my CD collection over the last few days so will have a fair chunk more to add at some point as well 😆

Let us know if it is still happening and if so what hardware are you using

Just done some quick tests. After adding tracks I see a brief spike in power usage, from baseline 15W up to 30W for a few seconds before coming back down, and also on CPU where it looks like goes from baseline 5% up to 15% before coming down over the course of a couple of minutes. No impact on system performance AFAICT.
Looks like all the tracks get added right away though, and seems to be similar behaviour between a single track and batches (I tried 1, 2, 4 and 10).
Hardware wise not actually a NUC specifically but similar specs on an old laptop running HAOS as a Proxmox VM, just in case some obscure system-related stuff shows up.
So looks like whatever was causing my specific issue is mitigated if not eliminated - I assume some level of increased resources is to be expected as long as it doesn't impact anything negatively. I can do more testing though if it's helpful.

No that sounds fine. Report again if you have further issues,


python2.7 安装agent出现ImportError: No module named guppy

C:\Windows-Agent-master>python agent.py install
Traceback (most recent call last):
File "agent.py", line 14, in
from utils.threads import (APIThread, BasicCollectThread, IISCollectThread,
File "C:\Windows-Agent-master\utils\threads.py", line 4, in
from api.http import app
File "C:\Windows-Agent-master\api\http.py", line 5, in
from guppy import hpy
ImportError: No module named guppy
C:\Windows-Agent-master>

did you installed the requirements before start ? And you can also check the env variable to check if windows-agent proper configured.


docs(core): fix typos and rephrase passages

📥 Proposed changes
Clean up language a bit in core documentation. We should probably add quite a bit more information here.
☑ Submission checklist

[x] I have read the CONTRIBUTING doc
[x] yarn build works locally with my changes
[x] I have added tests that prove my fix is effective or that my feature works
[x] I have added necessary documentation (if appropriate)

Looks fine!

Looks fine!

@all-contributors please add @Gorild for documentation and review


Reorganization of project files

As I started working on my next contribution I noticed that most of my commits aren't really related to the feature I want to implement, so I decided to PR them first and use that as a starting point. This also has the benefit that my next PR won't be too big.
Things I've done in this PR:

Added MiniScript as a nuget package (depends on https://github.com/JoeStrout/miniscript/pull/62)

This should also allow dependabot to create PRs for new MiniScript releases

Added first bit of i18n localization
Made loading assets cross-platform compatible as shown here: SV-Wiki
Reorganized project files to make it easier to navigate
Merged SalableBot into BotObject
Added a debug key to solve all tasks instantly (this is only present in debug builds)
Created ModDataExtensions (10ea3412b967865589fee11efd8187346de833b8) - I'm still unhappy with them and might remove them again. Removed.
Added ModData class to manage save data (for now it's only used during conversion).
Added customized FarmerBot to make things easier when workarounds are needed.

I'll mark this PR as ready for review as soon as the MiniScript PR has been dealt with and when I'm happy with the state of my PR.
I hope that I was able to conform to your code style for most of my commits.

There are two things that don't work right now:

You can't drop items into empty slots in a bot. (I'm not sure if this also happens in the current version)
The scythe is not able to cut grass for some reason, but all other tools can.

What is left to do:

[ ] Try to fix the bugs.
[ ] Add a new intrinsic to change the name of the bot.
[ ] If the bot contains items (not counting initial tools) either drop them or stop the bot from getting picked up.

This PR got a lot bigger than I wanted, so I marked it as ready for review now, as most things are already done and only some small changes need to be made.

Turns out there already was an assignOverride key present for name. I just changed the affected property to BotName which is internal to the mod.
This way we can keep the item name the same and not deal with finding out which variable we would need to use. (Since either DisplayName or Name gets used by the game depending on the language.)

Good fix.  And good catch on the wiki page, too (now corrected)!

I have no idea why the scythe works now, but I just tested it again and didn't encounter any problems.
But that also means: This PR is finally completely ready!

OK, I confess, I'm disinclined to review 92 new/changed files.  :)  I've read through your comments and it all sounds reasonable, and I believe you do good work, so in it goes!  If anything breaks we can fix it later.  Thank you for all your hard work!


Adding new Cell storage implementation and restructure Cell storage related files

grouping Cell storage related classes into common sub directory: src/terminal/cell/
rename Cell to ThinCell
adding new DenseCell but only making use of it for indicator status line (for now)
adding Cell configuration file <terminal/cell/CellConfig.h> as single central shared place to determine what type of cell to use for which buffer (good for easy reconfiguration).

I'm not sure Thin is a good name.

I'm not sure Thin is a good name.

Naming is one of the hardest things in Tech. I am open for proposals. The actual struct is indeed thin though, because it's laying out all the lesser used properties to CellExtra.

SimpleCell?
SimplifiedCell?
ReducedCell?
BasicCell?
EasyCell?

Simle, Simplified, Basic, are all not correct (IMHO), because that's not what they are. Reduced could remotely make sense as it's reducing the storage size of the main cell instance by layering off the lesser used ones, but that makes it no way near simple or basic, nor easy.

Reduced could remotely make sense as it's reducing the storage size of the main cell instance by layering off the lesser used ones

CompactCell?
CompressedCell?

I'll keep the code changes due to being a good refactor for cleaner code, but the initial attempt to get the alt-screen faster with that failed. I'll research into that direction later as it's now really trivial to exchange one cell type of another for each type of screen individually.


Logo for your consideration

Thanks for taking the time to join the panel at the Town Hall last night. While I've only dabbled in React Native; Syr seems to be representation of where all the panelists think the React Native is heading.
While I can't contribute in any meaningful way perhaps this logo I knocked up this morning could be of some use.
I tried her necklace as logo first, but this crown came out the other side of the creative process. Not as clever as the Syr/Sow/Freyja thing you've got going on. I think it will blend a little better within it's ecosystem.
Thanks again for the insights yesterday and all the best with this project.
P.S I have the time today to integrate the logo into your repo if needs be.

Coverage remained the same at 44.947% when pulling 6daa55b9995da425ca19f60cbb95003ae9e8b156 on edwinwebb:logos into 77c3f54505757fdd570f7ef06fe55cb63e04f5df on dmikey:master.

This is awesome! I totally agree that this logo will fit better in terms of being a forward ecosystem. I'm giving this a thumbs up!


Pandafy data

alternative route to same goal. Now using panda multiindex DataFrame underneath.

Up to this point:
The panda-based solution works as well.
Pros:

Code is more readable
Stacking arrays is much more flexible ("left", "right", "inner", "outer" joins are possible)
Stacking arrays is much faster.
Cons:
Slicing became much slower! --> Maybe adapt slicing more to pandas implementation?

After a lot of profiling I decided against a Pandas implementation (too slow slicing) --> See #11 .


52 add costs page

Costs (projecting spend) page added.
Some edits to costs.py and models.py to include summary table and proportion adjustments
Able to edit placement costs
Able to edit placement proportions - these should sum to 1 per category
Charts added - area charts for costs and children
Forecast breakdown
Logic to show/hide adjustment options depending on if you have made adjustments. make adjustments on 'adjust forecast' page

again, year_one_filter feels over-written - can we not just filter the existing summary tables to the first year's quarters and sum the table (2 lines of code instead of 6)?

Because the summary tables work on annual quarters rather than from the first date, always doing a quarter, returning year one costs by filtering to the first 4 quarters might not return a full year of costs

One big benefit of this is that the values remain floats, so you can work out summary_table_difference as just one summary table minus the other, without creating another summary table from the costs.summary table and subtracting these.

I have updated this code but it was remaining float as you didn't have the string column so not changed anything in the view.

@MichaelHanksSF

again, year_one_filter feels over-written - can we not just filter the existing summary tables to the first year's quarters and sum the table (2 lines of code instead of 6)?

Because the summary tables work on annual quarters rather than from the first date, always doing a quarter, returning year one costs by filtering to the first 4 quarters might not return a full year of costs

One big benefit of this is that the values remain floats, so you can work out summary_table_difference as just one summary table minus the other, without creating another summary table from the costs.summary table and subtracting these.

I have updated this code but it was remaining float as you didn't have the string column so not changed anything in the view.

Thanks. On the first point, does this mean that the table that shows quarters also won't show two years' of costs?
On the second, not sure what you mean, perhaps we can discuss?

Thanks. On the first point, does this mean that the table that shows quarters also won't show two years' of costs?
On the second, not sure what you mean, perhaps we can discuss?

The table that shows quarters currently just quarters the full forecast. We could add logic to restrict this - more than two years stretches the screen out. There is this text at the beginning of the cost breakdown - "Please note that if your prediction start and end dates do not align with the beginning and end of calendar quarters then the first and last quarter in the following tables will not represent a total quarter figure."
On the second - the bootstrap tables work by iterating through the values, so require the placements to be in a column. Your example code drops this column which is what enables one to be subtracted from the other. I could write a new table tag function that also iterates through the index. This would mean having two of these functions so more code there but would mean we can just subtract one from the other. Lets discuss if this doesn't make sense.


Formulaic Assemblicator does not automatically reuse non-consumable when crafting

Issue description:
Formulaic Assemblicator does not reuse non-consumable when crafting. This may not be a bug, but when I place the non-consumable crafting items from Harvestcraft (mortar and pestle, bakeware, pot, ect.) as part of the recipe, the device moves the non-consumable to the output.
Steps to reproduce:

Place wheat and mortar and pestle into the powered Formulaic Assemblicator so that the interface produces a green check in place of a red x.

Place blank crafting formula into its slot, and encode it.

Turn on auto-mode. Mortar and pestle is placed into output slot.  It is still reusable, but requires a recursive pipe connection to automate production of flour.

**Forge: 1.12.2-<IP_ADDRESS>55
**Mekanism: 1.12.2-<IP_ADDRESS>3
**Pam's+HarvestCraft+1.12.2t

Definitely seems like something that could stay there in auto mode


unsafeHead

An unsafeHead :: ShortText -> Char function in Data.Text.Short.Unsafe would be useful in a situation I'm in. Would you take a PR for this?

@andrewthad what's wrong with https://hackage.haskell.org/package/text-short-0.1.3/docs/Data-Text-Short-Partial.html#v:head ? :-)

I don't recall what I originally needed this for, but head is probably fine, and I suspect that GHC will optimize away the length check if I've guarded on the length elsewhere. I'll reopen this if I realize that GHC does not optimize this in certain situations.


Optimize and tweak the new Camera icons

Before

After

The reduction of the top part is a bit arbitrary I guess, but I think it was way too exaggerated, gave me goose egg vibes

What's the reason of the gizmo one to look different?

The ClippedCamera3D icon can be removed as that node was removed in 4.0.

Oh? I thought I've seen it, must've been the CR one

Tweaked the camera gizmo for a slightly less massive hole in the middle, and removed ClippedCamera

Why have the asterisks on the CameraAttributes switched color between Physical and Practical?

Oop, swapped when copy pasting.
This is a new icon in 4.2 though, and blue is more associated with physics anyway (it's the physics shape color) so I'm lazy to change it unless asked P:


question: knex query as json format and json format to knex query

We have a requirement where as the SQL select query is build on a visual tools in the browser,
then store the query as JSON format into DB at the  backend, then execute the query on the node.js on need basics.
I have few questions, please help to validate.

Will knex work on browser?
Can I convert knex query into JSON format so that the JSON shall be stored into DB record as it is.
Can I take JSON generated on item 2 above, get back knex query for execution .

If we could not do item 1 to 3,  can you please recommend alternative library if that exists. Right now, we use loopback, it has options for queries in JSON format, but we are exploring other options which has strong community support.

Unlikely. Which DB are you using?
I don't think query serialization is a feature that we currently support. However, are are definitely open for PRs that would implement something along these lines.

Unfortunately, I'm not aware of other solutions that support this use-case.

Knex can be used in a browser for query building purposes. In your case closest thing probably would be to build queries in browser and then send toSQL() or toSQL().toNative() result to backend and execute those as raw queries.
Knex builders doesn't support any inspection / serialization capabilities so if you want to create query builder instance from serialized form, there is no way to do it.


What does "Settle" mean?

RE: Account Overview > Balances
Guys, this is exactly what I have been preaching about on the forum since day one. Users will request more and more features over time. These features eventually get added, but will also clutter up the UI so bad that nobody knows what does what.
It took me a decade to refine my Tek9 Pro eBusiness software to the point where my grandma could use it, even after we had added over 400 new features.
The only way to have 400 new features in our existing UI is start using color, breadcrumbs, a lighter theme, Outlined menu flow, more tooltips, and PLEASE, for the love of my grandma, think of her (and the degraded quality of her vision!) when you release a new UI.

Settling is a core mechanic of Bitshares 2.0 market pegged assets. It lets you request settlement of your assets (USD, CNY, etc) at feed price 24hrs later. It is a way of ensuring holders of bit assets can get them converted to BTS at a fair price regardless of the current market status.

Ok, well how is my grandma supposed to know that? Right now, it's just a button that doesn't explain any of that to her. I want mass adoption of BitShares.

Your grandma will have to use another wallet in my opinion, something built from the ground up to be simple and accessible, which will not provide access to all features like this reference implementation has to do.

@kenCode-de settling is sort of a hornets nest right now anyway. Ultimately, I'd hope this could go to a buy/sell BTS screen which I've UX'd but this issue won't be solved in even the next month. There are a lot of politics on this topic.


Fix EndFragment text at the end of the pasted text

Pre-merge checklist

[x] accompanying tests are written and passing
[x] npm run install passes with no errors
[x] npm run lint passes with no errors

Description of changes
Remove unwanted nodes from content, in this case, comments.
Reason for changes or related GitHub issue
Fixes https://github.com/aem/docs-soap/issues/35
@aem

Codecov Report

Merging #36 into master will decrease coverage by 1.26%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #36      +/-   ##
==========================================
- Coverage   92.53%   91.27%   -1.27%
==========================================
  Files           4        4
  Lines         134      149      +15
  Branches       28       30       +2
==========================================
+ Hits          124      136      +12
- Misses         10       13       +3

hi @pablopunk - i'm back from my vacation now, taking a look at this now


Why There is no Output in Print("Hello World")??

i already install hydrogen in package install. there's no mistake while i installed it but. why there's no output in my preview code.

i want my code just like this example. have a preview on the right side of the code

What command did you try to run? Checkout our documentation for different ways to execute code.

Did you follow our installation instructions and have a supported kernel installed on your system?

Could you enable debug messages (as described here) and post a screenshot of the dev console, please?

@lgeiger

this is the error when i press shift + enter for information, i use windows 10  64 bit with anaconda version 3.4.4 includes python.

Do you have jupyter installed and are you able to run jupyter kernelspec list --json from the command line?

@lgeiger yess i do.


Error: A server with the specified hostname could not be found

Luke,
Sorry for not getting back to you before you closed issue 10.    I feel like quotable worked when you first linked the codepen and code sandbox, but after several more attempts it is not working for me over the past couple of days.
I tried FF Dev, Chrome and Safari browsers.
[Error] Error while parsing the 'sandbox' attribute: 'allow-presentation' is an invalid sandbox flag. (RwNVeQG, line 851)
[Error] Failed to load resource: A server with the specified hostname could not be found. (random, line 0)
[Error] Unhandled Promise Rejection: TypeError: A server with the specified hostname could not be found.
	(anonymous function) (RwNVeQG:66)
	asyncFunctionResume
	(anonymous function)
	promiseReactionJob

Here are some screenshots of the errors from Safari/codepen.
https://res.cloudinary.com/jastuccio/image/upload/v1577771339/quotable github errors/Screen_Shot_2019-12-31_at_00.24.40.png
https://res.cloudinary.com/jastuccio/image/upload/v1577771338/quotable github errors/Screen_Shot_2019-12-31_at_00.25.23.png

I found this in a search about the sandbox error:

http://stackoverflow.com/a/33542435:
This error can be safely ignored, the script will continue to run fine. These are two new flags which have been implemented in Chrome 46 (the current stable release). If you're testing in a browser that doesn't support them, you'll see that error (which is really just a warning).
The allow-modals flag is required because Chrome will, by default, block modal dialogs within a sandboxed iframe. Adding this flag allows modals to work in your apps scripts

.

I am looking into this... will respond shortly

I'm still not sure what's causing this. This issue only effects certain users, not everyone.
I found that when I connect to VPN on my local machine, I get this error 100% of the time. I also get this error 100% of the time over certain wifi networks, but not others.
Will update you as soon as I have more info.

If you are experiencing this issue you may see different error messages depending on what API client you are using.
In chrome,

Thanks Luke.  I'd like to help whoever diagnoses this.  Have you posted on dev.to or someplace to find someone?

I am on MacOS 10.15.2
disabled privacy badger for chrome
turned VPN off and on
tried Opera

Here is a screenshot of the error from the codepen sample.

Its after 10pm here and I am out of brainpower for the night. 😊

Try using this domain and see if it works as expected.
https://quotable.dev/random

@jastuccio
There was an issue with the DNS configuration for the quotable.io domain which was preventing it from resolving with DNSSEC-aware resolvers.
Fixing that seems to have solved the problem. The API now works from any network/device and while connected to VPN. Please confirm if this is true on your end.

Also, these sites are no longer showing api.quotable.io as down...
https://www.isitdownrightnow.com/api.quotable.io.html
https://downforeveryoneorjustme.com/api.quotable.io

Luke,
Both demos and the url are working for me today.  I tested with the VPN also no issues.  Good job!
https://api.quotable.io/random
codesandbox demo
codepen demo

@lukePeavey I am experiencing the following error message when connected to a particular network. Just like what @jastuccio had.
GET https://api.quotable.io/random net::ERR_NAME_NOT_RESOLVED
Please let me know if you need other info.

same here:
nslookup api.quotable.io
Server:		<IP_ADDRESS>
Address:	<IP_ADDRESS>#53
** server can't find api.quotable.io: SERVFAIL
I have tried a few different DNS servers, none if them can resolve it.

A while back - I started to safeguard for a quote server outage.
I saved the quote each time I called it, so that I could read a "cached version" should internet be down or service not accessible. I also use this as an option not to overload the quote severs.
have a look here: https://github.com/noonasGit/quote_client

that issue is still a problem today (fails on my wired network, but works on my phone with wifi turned off.... weird

that issue is still a problem today (fails on my wired network, but works on my phone with wifi turned off.... weird)

did you solve it ?


docs links check

We want to check links to detect stale external links and anchors that we didn't get right or that changed.

one commit msg has typo:
skips URLs that only consist of an anchorm

one commit msg has typo:
skips URLs that only consist of an anchorm

Fixed. I put that in to keep reviewers on their toes and to check whether they read the commit messages :grin:

@okartau is it okay now?

yes. I think too it is good idea to get rid of TOC


Inconsistent registry locations

The document configure-authoritative-time-server.md has five registry locations listed in it but they are inconsistent:

four registry locations include the registry value name in them.
fifth registry location does not include the registry value name and only lists keys.

This could be fixed to be consistent either by adding the registry value name to the fifth registry location or by taking out the registry value name from the four registry locations.
I opted for the latter approach since the registry locations are listed as "the following registry subkey" and the registry value name is listed separately.

@bluikko : Thanks for your contribution! The author(s) have been notified to review your proposed change. @Deland-Han

@bluikko : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Error when creating Win2016Core_G2.vhdx or Win2016NanoHV_G2.vhdx

Requirements (what I have):

WS2016 VL ISO: SW_DVD9_Win_Server_STD_CORE_2016_64Bit_English_-4_DC_STD_MLF_X21-70526.ISO
\WSLab\ParentDisks\1607\2020-11:

windows10.0-kb4576750-x64_c4e0b5e0f0835db971a40058aa17ae9a0d2f1e2a.msu
windows10.0-kb4586830-x64_30c6444c0319caa72579a4c59e2e93d756dc9f21.msu
downloaded with: \WSLab\ParentDisks\DownloadLatestCUs.ps1

Then I run:
\WSLab\ParentDisks\CreateParentDisk.ps1 for Windows Server 2016 DataCenter without GUI
and got this:

Please select ISO image
GAC    Version        Location                                                                                ---    -------        --------                                                                                True   v4.0.30319     C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_<IP_ADDRESS>__b77a5c561934e089... File D:\ISOs\Windows Server\Windows Server 2016 VL\SW_DVD9_Win_Server_STD_CORE_2016_64Bit_English_-4_DC_STD_MLF_X21-70526.ISO selected                                                                                Please select msu packages you want to add to image. Click cancel if you don't want any.                                True   v4.0.30319     C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_<IP_ADDRESS>__b77a5c561934e089... Following patches selected:                                                                                V:\WSLab\ParentDisks\1607\2020-11\windows10.0-kb4576750-x64_c4e0b5e0f0835db971a40058aa17ae9a0d2f1e2a.msu                V:\WSLab\ParentDisks\1607\2020-11\windows10.0-kb4586830-x64_30c6444c0319caa72579a4c59e2e93d756dc9f21.msu
Server 2016 ISO Selected. Do you want to build NanoServer? Y/N: N
Please type VHD name (if nothing specified, Win2016Core_G2.vhdx is used:
Please type size of the Image in GB. If nothing specified, 60 is used:
Windows(R) Image to Virtual Hard Disk Converter for Windows(R) 10
Copyright (C) Microsoft Corporation.  All rights reserved.
Version 10.0.14278.1000.amd64fre.rs1_es_media.160201-1707
INFO   : Looking for the requested Windows image in the WIM file
INFO   : Creating sparse disk...
INFO   : Mounting VHDX...
INFO   : Initializing disk...
INFO   : Creating EFI system partition...
INFO   : Formatting system volume...
INFO   : Setting system partition as ESP...
INFO   : Creating MSR partition...
INFO   : Creating windows partition...
INFO   : Formatting windows volume...
INFO   : Windows path (H:) has been assigned.
INFO   : Windows path (H:) took 1 attempts to be assigned.
INFO   : System volume location: G:
INFO   : Applying image to VHDX. This could take a while...
INFO   : Image was applied successfully.
INFO   : Making image bootable...
INFO   : Drive is bootable.  Cleaning up...
INFO   : Adding Windows Packages to the Image
INFO   : Package path: V:\WSLab\ParentDisks\1607\2020-11\windows10.0-kb4576750-x64_c4e0b5e0f0835db971a40058aa17ae9a0d2f1e2a.msu
INFO   : Package path: V:\WSLab\ParentDisks\1607\2020-11\windows10.0-kb4586830-x64_30c6444c0319caa72579a4c59e2e93d756dc9f21.msu
WARNING: Failed to add package
V:\WSLab\ParentDisks\1607\2020-11\windows10.0-kb4586830-x64_30c6444c0319caa72579a4c59e2e93d756dc9f21.msu
WARNING: Add-WindowsPackage failed. Error code = 0x800f081f
ERROR  : An error occurred applying the Unattend.xml file from the .msu package.
For more information, review the log file.
INFO   : Log folder is C:\Users{user}\AppData\Local\Temp\Convert-WindowsImage\ed7b0cc5-d9dc-45f1-b573-757a7af47f36
INFO   : Done.
Dismounting ISO Image
Attached          : False
BlockSize         : 0
DevicePath        :
FileSize          :<PHONE_NUMBER>
ImagePath         : D:\ISOs\Windows Server\Windows Server 2016 VL\SW_DVD9_Win_Server_STD_CORE_2016_64Bit_English_-4_DC_
STD_MLF_X21-70526.ISO
LogicalSectorSize : 2048
Number            :
Size              :<PHONE_NUMBER>
StorageType       : 1
PSComputerName    :
Job Done. Press enter to continue...

In \WSLab\ParentDisks i have: ed7b0cc5-d9dc-45f1-b573-757a7af47f36.vhdx (I've deleted it manually)
Without CUs it's ending successfully
Same scenario for Win2016NanoHV_G2.vhdx

Issue creating Parent Disk when script is run directly under root path.
If I run the Create_ParentDisk PS script and the script is located at the root of a disk, it will failed with error:
Cannot bind argument to parameter 'Path' because it is an empty string.

I folks, sorry for late reply. The CU was not applied because you should also apply SSU (Servicing Stack Update) I think. Give it a try - DownloadLatestCU.ps1 will do the job for downloading both SSU and CUs. @jsporbert I'll keep your issue in mind and detect it (and if root, it will not continue and let you know)


Results wrapper

Relates to #259
The only thing I dislike is to keep short name for deprecated method: e.g getTimeEntries() vs getTimeEntriesResultsWrapper(). Commits like 682e8a614006753ae809455baa56f1c1d6ff3f6e simply remove old methods getAssignee() with new ones getAssigneeName() and getAssigneeId() but I want to ask before propose a break in compatibility.
Even more I don't know if a single commit is preferred.
I can rebase and squash after code review

thank you for submitting this.  I also appreciate that you take backward compatibility into consideration.
let's drop the old methods since this will go to the new major version - 3.0.0 and the compatibility is less of a concern now.
when all done, please squash into 1 commit.

note - I extracted ResultsWrapper to a separate file in another commit just now.

I have done all fixes, and squashed it. I will fix the conflict with ResultWrapper rebasing it. One second

Done

super! thank you, @albfan


Correctly determine channel for APIs with dependencies.

When considering dependencies, we were incorrectly choosing the "most released" channel as the channel an API became available. This was causing some issues as, for example, action.openPopup is still restricted to dev but it has a dependency of the action key in the manifest which has existed in stable for a while.
Fixing this should make the openPopup API correctly appear as restricted to dev, and also fix some other similar issues across the generated types.
I ran the tool and compared the generated types with the last published version of this package. There are only a dozen or so lines changed and the changes look reasonable, matching up to the versioning information I was able to find looking at when those APIs become available in the Chromium source.

This relates to https://github.com/GoogleChrome/developer.chrome.com/issues/2602. It should be fixed once this change propagates through but I'm not going to link the two so we can keep the DCC PR open until we've confirmed.