"Meta" helm chart for easy beginner setup

Clear and concise description of the problem

When showing off woodpecker it would be nice to say it's only one helm install away (possibly even with a optional Gitea instance).

especially when working with "custom" tags (i.e. pull_XXXX, next- once that becomes a thing), keeping the agent and server in sync is benificcial if not required.

Suggested solution

Add a "meta" chart (chart of charts) referencing woodpecker-server and woodpecker-agent
Provide either a values.yaml via chart with common "ready to go" settings or write docs referencing or including a "demo" or "production-light" setup.
Write a Administrator Getting started

Alternative
Just do some nice docs helping towards an easy setup for non-versed users (be it Kubernetes, helm or woodpecker itself)
Additional context
It's just a nice to have, but would probably be a good addition after #1375 is done.
Validations

[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

Do we actually need to separate charts? In Kubernetes you need a single server and an agent, right? So we might simply migrate them to one chart. Only case there we would need to charts is if someone wants to use different clusters with the same server. 🤔
Creating a "chart of charts" as you describe sounds also interesting.

The chart of charts is what many projects use to integrate e.g. Mysql or minio into their setups without having to redo the entire work...
Regarding the one chart could also do it: Yes that would also work, we might need to add a switch basically server.enable or server.create and the same for the agent to still allow setting them up indipendantly.
A use case I would see is having your agents in a different namespace to prevent them from accessing the server secrets (in case of a bug in the way woodpecker handles secret mounts,... or secret mounts becoming a normal use case once the Kubernetes backend is getting more optimizations), as Kubernetes without external tooling cannot limit access on sub resource level.

One thing that just came to my mind is, that I currently have no idea on how a migration path for existing users would look. Since I'm motivated but not extremely versed with helm (we're exclusively using kustomize for our deployments at work and only use helm when it's a deliverable from outside...) I'll have to look into this before I can give a proper opinion on possible ways, while not or only minimally impacting existing users.


Remove analog pin labels from Pro Micro board

Fixes #1522
Remove the analog pin labels that shouldn't have been added in #1236. Dropdown now looks like this:

The fix looks great. Thank you Neil for the quick response.


The link to Azure SQL Database elastic capabilities video in next steps is broken

The link to the Azure SQL Database elastic capabilities video in Next steps is broken and given the retirement of MVA, a new link would be appreciated

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

ID: 4ea31120-0699-efed-c674-621ea8683f3a
Version Independent ID: f36998d8-78e9-d53d-feeb-e381c895eb6b
Content: Create and manage elastic pools - Azure SQL database
Content Source: articles/sql-database/sql-database-elastic-pool-manage.md
Service: sql-database
Sub-service: elastic-pools
GitHub Login: @oslake
Microsoft Alias: moslake

@davidgristwood Thank you for letting us know.
This issue is being assigned to the content author to update as appropriate.

@davidgristwood Microsoft Learn is working on a learning module to replace this one - it will be available here once it is done: https://docs.microsoft.com/en-us/learn
In the meantime, I am removing the link.

@Mike-Ubezzi-MSFT please close


Update glossary for DeveloperGuide

Updated glossary for JARVIS.
Resolves #23.

Codecov Report

Merging #36 (51d20e3) into master (9de2858) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #36   +/-   ##
=========================================
  Coverage     72.15%   72.15%
  Complexity      399      399
=========================================
  Files            70       70
  Lines          1232     1232
  Branches        125      125
=========================================
  Hits            889      889
  Misses          311      311
  Partials         32       32

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


WinForms and NetCore DownloadProgressWindow Labels Overlap Icon

The "Downloading APP" and "0 MB / 10 MB" labels are too far to the left and partially obscure the icon
For me the Window is not wide enough to display my product name and version number (I widened to 466 pixels)
The imgAppIcon SizeMode is set to AutoSize. This obliges one to guess its size and try to make an icon just big enough to fit.
This property (and, in my opinion the same for all icons and images) should be Zoom (I'll raise a separate issue for this)

I think this might influence issue #123 for folks with certain screen settings if they are using a larger icon file and expecting it to be resized to fit the box and that's why buttons disappear off the bottom of the form. I'm off to test this hypothesis

I have reworked the UIs for the download progress windows in WinForms (both for .NET Core and .NET Framework) to use a TableLayoutPanel, which should help alleviate the issues that you are seeing as well as fix text wrapping for the labels. The icon zooming is fixed per the other issue.


It is not working!

Sire!
It is not working as said. The latest version of flarum is not compatible with it.

We know. We've had issues when trying to update it as it wouldn't work properly, and haven't attempted it in a while.

Please update it to be compatible with the latest flarum, ie, 8-beta.

As I said, we've had issues when trying to update it to beta 8 because of the latex packages. We may attempt to update it again, but I can't promise that.


[stable/metabase] Adding helm namespace support

Signed-off-by: Fernando Navarijo<EMAIL_ADDRESS>
What this PR does / why we need it:
The metadata.namespace was not set when the --namespace helm flag was passed. Now, it's added in every manifest.
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[ ] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/chart])

/assign @prydonius

@fnavarijo helm and so substitutes namespace

@batazor Ok, but when the template is generated via helm template, the namespace is not injected in the metadata.namespace. It's not convenient to have this substitution for this cases?


Saving models using JIT

Saving models using JIT is better since it (a) does not require that zetta_utils be installed on worker nodes, and (b) whether the worker can run the command is not dependent on the version of zetta_utils (in case there is an architecture change for the network that changes variable names or behaviour). The downside is that the saved serialised files are harder to human-read, which is mitigated by having the JSON output of the architecture.
We should add JIT saving in lightning by default, if we can figure out a good way to get the correct input for torch.jit.trace.

@dodamih This is becoming urgent -- @nkemnitz is spending time in ad-hoc ways to convert his models to corgie.
Can you look at this and make a pull request ASAP? The place to start looking is https://github.com/ZettaAI/zetta_utils/blob/main/zetta_utils/training/lightning/trainers/default.py#L19

resolved via #130


unclear usage what disabled fuse

What were you trying to do (and why)?
brew install squashfuse
What happened (include all command output)?
➔ brew install squashfuse
Error: squashfuse has been disabled because it requires FUSE!

What did you expect to happen?
package installed. but what the 'disabled' message means? package as not installed?
Step-by-step reproduction instructions (by running brew commands)
But if I do brew edit squashfuse i see there was change:
  on_macos do
-    deprecate! date: "2020-11-10", because: "requires FUSE"
-    depends_on :osxfuse
+    disable! date: "2021-04-08", because: "requires FUSE"
  end

https://github.com/Homebrew/homebrew-core/commit/3e55d8bc2745bb0dfd5ae1fd80266c67ddc561c0

what I read out that it requires fuse, but fuse is present and installed:
$ brew search osxfuse
==> Casks
osxfuse ✔

If you meant "osxfuse" specifically:
It was migrated from homebrew/core to homebrew/cask.
You can access it again by running:
  brew tap homebrew/cask
And then you can install it by running:
  brew install --cask osxfuse

why would the formula disabled if it just depends on osxfuse formula/cask?

why would the formula disabled if it just depends on osxfuse formula/cask?

We are no longer supporting formulae that depend on this cask because it's not open source software and we won't install it in our CI as a result.

Found PR with the reasoning:

https://github.com/Homebrew/homebrew-core/pull/64491

it would help a lot if the brew would print message pointing to the discussion.
because really, users do not know your internals and policies, so this message is not helpful for them:

Error: squashfuse has been disabled because it requires FUSE!

better would be to:

Error: squashfuse has been disabled because it requires osxfuse, which is no longer available on homebrew core, see https://github.com/Homebrew/homebrew-core/pull/64491

@MikeMcQuaid can taps continue to use cask dependencies? like:
depends_on :osxfuse

https://github.com/Homebrew/homebrew-core/pull/64491 indicates to create taps, but how to specify cask dependency?
➔ brew install glensc/tap/squashfuse
Error: glensc/tap/squashfuse: Unsupported special dependency :osxfuse

Tried:
depends_on "osxfuse"

FAIL:
$ brew install glensc/tap/squashfuse
==> Installing squashfuse from glensc/tap
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
Error: No available formula with the name "osxfuse" (dependency of glensc/tap/squashfuse).
Found a cask named "osxfuse" instead. Try
  brew install --cask osxfuse

$ brew install --cask osxfuse
Warning: Cask 'osxfuse' is already installed.

To re-install osxfuse, run:
  brew reinstall osxfuse

You can just remove the depends_on :osxfuse. If you want the formula to check for a fuse install, see
https://github.com/Homebrew/brew/issues/9401
https://github.com/borgbackup/homebrew-tap
https://github.com/gromgit/homebrew-fuse


feat(tutorial): complete step 2

Closes #
{{short description}}
Changelog
New

{{new thing}}

Changed

{{change thing}}

Removed

{{removed thing}}

Please commit your updates to this PR.

@kellychurchill Pushed my updates and checks are complete.

👍 Looks good - 🎉 You are one step closer to completion of the Carbon React tutorial and earning the digital credential.


Any SSD implementation with mixnet small ?

SSD implementation to use it as an object detector with mixnet backbone would be an excellent option.
Waiting for your response.

You can build on top of this repo if you like. I won't be able to support or add it. I suggest the tensorflow official object detection repo.


[Microsoft.Web] Expose new property onto Swagger API

MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Changelog
Please ensure to add changelog with this PR by answering the following questions.

What's the purpose of the update?

[x] new service onboarding
[ ] new API version
[ ] update existing version for new feature
[ ] update existing version to fix swagger quality issue in s360
[ ] Other, please clarify

When you are targeting to deploy new service/feature to public regions? Please provide date, or month to public if date is not available yet.
When you expect to publish swagger? Please provide date, or month to public if date is not available yet.
If it's an update to existing version,  please select SDKs of specific language and CLIs that require refresh after swagger is published.

[ ] SDK of .NET (need service team to ensure code readiness)
[ ] SDK of Python
[ ] SDK of Java
[ ] SDK of Js
[ ] SDK of Go
[ ] PowerShell
[ ] CLI
[ ] Terraform
[ ] No, no need to refresh for updates in this PR

Contribution checklist:

[x] I commit to follow the Breaking Change Policy of "no breaking changes"
[x] I have reviewed the documentation for the workflow.
[x] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

[x] Ensure to check this box if one of the following scenarios meet updates in the PR, so that label “WaitForARMFeedback” will be added automatically to involve ARM API Review. Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs, all “removals” and “adding a new property” no more require ARM API review.

Adding new API(s)
Adding a new API version
Adding a new service

[x] Please ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

[x] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If there are following updates in the PR, ensure to request an approval from API Review Board as defined in the Breaking Change Policy.

[ ] Removing API(s) in stable version
[ ] Removing properties in stable version
[ ] Removing API version(s) in stable version
[ ] Updating API in stable version with Breaking Change Validation errors
[ ] Updating API(s) in preview over 1 year

Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.
Please follow the link to find more details on PR review process.

    "multiSize": {

This seems to be better modeled as an enum.

Refers to: specification/web/resource-manager/Microsoft.Web/stable/2020-09-01/CommonDefinitions.json:117 in e82ad95. [](commit_id = e82ad955c815e631ecc9204847583bc6c5b1de0d, deletion_comment = False)

        "subscription": {

Is this a subscriptionId? If yes, please rename

Refers to: specification/web/resource-manager/Microsoft.Web/stable/2020-09-01/CommonDefinitions.json:309 in e82ad95. [](commit_id = e82ad955c815e631ecc9204847583bc6c5b1de0d, deletion_comment = False)

    "multiSize": {

This seems to be better modeled as an enum.
Refers to: specification/web/resource-manager/Microsoft.Web/stable/2020-09-01/CommonDefinitions.json:117 in e82ad95. [](commit_id = e82ad95, deletion_comment = False)

closing this pr since new PR will be more specific by only adding the new property and not the entire file


tiny core linux support

I checked and this is not in the issues.
TCL ( Tiny Core Linux ) boots in 28 MB ram and is lean and fast.
Would love to get this working with UTM.
https://www.theregister.com/2024/03/04/tiny_core_linux_15/

I was able to get it working on a m1 mac with this:

New Virtual Machine
Emulate
Instead of linux hit Custom: Other button
Download core or tinycore from here: http://tinycorelinux.net/downloads.html
Architecture x86_64
Memory 512mb
Disk size 1gb
Give the last screen a name like Tinycore Linux

Open up the settings for the machine

Go the QEMU tab disable UEFI boot

thank you @carolosf
will give it a go.


It opens external browser, not InappBrowser

When it call signIn, sign in window opened in external browser, it does not open inapp browser, plugin aready included in project

It's been a couple years since I touched this and I don't remember the details. I thought it pops up a new screen, and the window goes away when I complete the authorization dialog. If that is not happening, then something is wrong. @kaushik947 forked the project and might know more.


Recurring expenses

User story
Many users have recurring expenses that they need to submit at a regular interval. Some examples:

All Open Collective employees need to submit their invoices each month for the same amount
Many projects have recurring bills (hosting, domain, rent, etc). For online services, this need is now covered by virtual cards (but they're not available to all fiscal hosts).

Best solution for this problem

The interval should be configurable (we could start with week/month/year)
Some parts of the expense will be fixed:

Payee
Payout method

Some parts will eventually need to be updated by the user each time:

Attached files / receipts documents
Amount
Dynamic description (eg. include the month/year?)

MVP
TBD
Metrics
TBD
Documentation
TBD
Context

Initially requested in https://github.com/opencollective/opencollective/issues/938
Alternative to https://github.com/opencollective/opencollective/issues/3686
Alternative / related to https://github.com/opencollective/opencollective/issues/1862

Features:

[ ] Expense requires manual approval (use submit on behalf)

[ ] Use a new template than the one used on Submit on Behalf

[ ] Use abstracted Model to store recurring information

[ ] Create the correct associations (One-to-Many)
[ ] Update the merge accounts to update RecurringExpenses record
[ ] Update the ban collectives to delete RecurringExpenses record
[ ] If someone marks any recurring expense as SPAM, we delete the RecurringExpense record

[ ] User should be able to set the interval (weekly, monthly, quarterly), the start date, and the end date (optional).
[ ] User should be able to edit recurring expense information.

[ ] Shortcut: Always use the information from the last expense, this way the edits made this month will be reproduced next month.

[ ] User needs to be able to cancel recurring expenses. Probably also a space to list these expenses.

[ ] For MVP it could be a button on the Expense draft page to cancel the recurring feature. (https://github.com/opencollective/opencollective/issues/4715)

[ ] Daily cron work to process RecurringExpenses

MVP:

Checkbox on Step 2 or Summary that display the recurring fields
The filled expense is submitted at the time and the next expenses are sent as Invites on a selected date and interval.
Using Submit on Behalf could work

Design Requirements:

MVP: Recurring options fields. (Context: This is set one time per Expense)
Future: Page to manage Recurring Expenses (Edit, Delete)

Future Updates:

Tax forms: We can predict if any tax form will be required in the future. (e.g. after X months certain amount will be tax liable) We could be proactive about requesting these documents.
Fully automated recurring expenses could require better invoice generation.
Template variables in the Expense fields (title, description, additional information). {month}, year, day, collective name, expense number, recurring expense counter, VAT Number}
Automatically cancel and notify a recurring expense after N failed attempts.

From Babel user interview:

Definitely helpful.
Have internal repository to track expenses and recurring information.
Have to input some manual information, would need to include invoice later on.
Tiny modifications every time, would require editing.
Even some sort of reminder would already be helpful.

Dreambig:

Requiring multiple approval. (Currently tracking 3 person approval on spreadsheet before paying on OC)

Projected created at https://github.com/opencollective/opencollective/issues/5144.

@kewitz should we close this in favor of https://github.com/opencollective/opencollective/issues/5305? I don't think this one is still relevant


Repository's Packages.gz is out-of-date

steps

Use apt to install  sbt.

problem

The newest version of sbt from https://scala.jfrog.io/ui/native/debian/Packages.gz is 1.4.9.

expectation
please update the repository's Packages.gz.

See https://www.scala-sbt.org/1.x/docs/Installing-sbt-on-Linux.html#Ubuntu+and+other+Debian-based+distributions
echo "deb https://repo.scala-sbt.org/scalasbt/debian all main" | sudo tee /etc/apt/sources.list.d/sbt.list
echo "deb https://repo.scala-sbt.org/scalasbt/debian /" | sudo tee /etc/apt/sources.list.d/sbt_old.list

I don't know much about Debian, but I am guessing that the new package is now https://scala.jfrog.io/ui/native/debian/dists/all/main/binary-all/


Do not allow size 0 files to be uploaded

Closed in https://github.com/refgenomics/onecodex/commit/5192c28560cd75cfb3ebd2f4ed884bfa01cdfdf6


[Enhancement]: Adding a proper stylish homepage for the website.

Do you want to have the enhancement of existing game ? 😀 Describe yourself..
Game enhancement
The homepage is basically empty.I would love to style it and add nav bars and desgins accordingly.
Add a top to bottom arrow button too.
Describe the solution you'd like
Solution steps
Using html css and javascript to add navbars and styling the page. And adding arrow buttons to easily access the page.
Select program in which you are contributing
GSSoC24
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hey @theeayushkumar !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

/assign

/assign

Hey @AnushkaSharma04 ! , This issue is already assigned to @swastim01. 💗
You can work on other issues 🚀
If there is anything wrong you can contact us on Discord🕹👀

Hello @theeayushkumar, Time's up!⏰
Sorry for closing your issue!
But it's more than a week since we haven't received anything from your side 😢 .
Come up with new ideas, create a new issue and make sure you finish it within a week! 🔥
All the best! 🚀
Happy Hacking! 💗

Hey @theeayushkumar ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇


hack/versions: extract most from vendor.conf

This sets $what_VERSION and $what_REPO for runc, cni, containerd and
kubernetes based on vendor.conf, removing the need to duplicate things in
hack/versions.
With this update_hack_versions becomes redundant so remove it and both calls.
Since CONTAINERD_REPO is now unconditionally set we can also simplify the
fetching of vendor.conf in update-vendor.sh a bit, so do so. Further since
*_REPO are now unconditionally set we can support alternative clone paths for
all of these repos by adjusting checkout_repo to make the 3rd argument
non-optional and always passing it. Since CRITOOL_VERSION is not coming from
vendor.conf (since it is not used from Go code) we manually set
CRITOOL_REPO for consistency.
The final wrinkle is that k8s.io/kubernetes is has a Go specific redirect in
the form of HTML meta headers returned from https://k8s.io/kubernetes/?go-get=1
which point to the real repo to clone. Parsing that in shell is tricky so just
hardcode that.
Fixes #540.
Signed-off-by: Ian Campbell<EMAIL_ADDRESS>/cc @mikebrow

Force push to address conflict + moved code to utils.sh as suggested. Will look at CI failures if/when they happen again.
There might be scope for reusing some of this stuff in hack/test-cri.sh, mostly checkout_repo I guess.

Travis is happy after the rebase.
/retest
(I suspect i lack privs for that)

/retest

W0207 18:53:28.969] awk: not an option: -e
W0207 18:53:28.970] make: *** [_output/cri-containerd-1.0.0-beta.1-92-g46ee4f3.linux-amd64.tar.gz] Error 2

Looks like CI has a different awk to me. I have gawk (on my Debian box) I suspect CI has mawk. I'll try and repro locally with an explicit mawk.

Force pushed a rebase + mawk compatible invocation (tested locally by explicitly calling mawk, the error looked similar to above).

/test


InteractionAlreadyReplied

Describe the bug
InteractionAlreadyReplied
To Reproduce
When use delete/transcript/close command on some ticket channel it will said this (heppen when bot online for a while [Not sure])
Expected behavior
Ticket bot will thinking and no response
Screenshots

Logs
TypeError: Cannot read properties of undefined (reading 'id')
at Object.execute (C:\Users\HP\Desktop\BOT\Ticket\commands\Tickets\delete.js:87:37)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Object.execute (C:\Users\HP\Desktop\BOT\Ticket\events\interactionCreate.js:195:9)
Error [InteractionAlreadyReplied]: The reply to this interaction has already been sent or deferred.
at ChatInputCommandInteraction.reply (C:\Users\HP\Desktop\BOT\Ticket\node_modules\discord.js\src\structures\interfaces\InteractionResponses.js:102:46)
at Object.execute (C:\Users\HP\Desktop\BOT\Ticket\events\interactionCreate.js:198:27)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
code: 'InteractionAlreadyReplied'
}

Hello, I'm not sure which version of the bot you're currently using but some commits after the latest 1.3.0 release have a fix for this issue. This happens when you restart the bot while a ticket is still opened, it would cause cache issues and would no longer let you delete/transcript/close a ticket.
Please update to the latest commit to make use of the fix and sort that issue out, also make sure to update the configuration while upgrading because some changes happened as well.

Hey @mods-hd, please try redownloading all the files from the repository (not the release section) and update all of them then restart your bot after ensuring your configuration is also updated based on the commit changes and latest config.yml.example
The error you sent above does not match the lines of code I see in the latest versions of the files, so they are likely a bit behind. I cannot replicate the issue and I already fixed it in one of the commits a few days ago.
In case this somehow still happens again, please send logs from logs.txt next time since they give more useful information as well.


Hugo can not find resource cache when setting a path in baseURL

What version of Hugo are you using (hugo version)?

$ hugo version
hugo v0.97.0+extended darwin/arm64 BuildDate=unknown

Does this issue reproduce with the latest release?
This is an issue for any theme which has a resource cache, especially those generated by PostCSS.
To reproduce it, you can use https://github.com/wangchucheng/hugo-eureka-starters as an example site and set baseURL = example.com/test. To force Hugo to look for cache instead of regenerating it, I set useResourceCacheWhen = always. The theme works well without baseURL or without resource cache.
There will be an error message like: Error: Error building site: POSTCSS: failed to transform "css/eureka.css" (text/css): resource "css/test/css/eureka.css_5423b02c25971c3328ec4f49ccfb7444" not found in file cache when running hugo or hugo server.
Hugo tends to find resource cache in css/<base-path>/.... However, the resource cache was in css/.... It is not possible for theme creators to know what path a user will use, so it looks like this may be a bug.

I am having this problem all of a sudden too.
I can build locally, but I get a failed file cache error when I push to github for the action.

I checked, and the cache certainly works with a path in the baseURL, but I suspect the problem you see is

You have a theme with the cached resources committed to source control
That cache is not seen by projects with sub paths, which agree is unfortunate

To reproduce it, you can use https://github.com/wangchucheng/hugo-eureka-starters

I get the above failure in that starter even with a regular baseURL, which doesn't make a good test case.

To reproduce it, you can use https://github.com/wangchucheng/hugo-eureka-starters

I get the above failure in that starter even with a regular baseURL, which doesn't make a good test case.

Hi bep,
Thanks for your response! I got some feedback that this starter was not working with basic URL after Hugo 0.99.0, I have not looked into that (will do that soon) but this may not be the same reason as the one that has path in baseURL since the latter did not work even before Hugo 0.99.0. This starter can work with Hugo 0.97.0 at least as my CI uses this version.

I got some feedback that this starter was not working with basic URL after Hugo 0.99.0,

OK, now I see it.
We added a new option to PostCSS in that release. In "all" the other transformers, I think I use the input options from the user as a base to create the cache key, which makes it more stable (it doesn't change if we add/remove options).
In your case it means that you need to repopulate the cache with the new version, but as I'm going to make this more stable going forward, it will also mean that the hash will also change in the next version of Hugo.

Thanks, bep!

In your case it means that you need to repopulate the cache with the new version

Yes, it works great with regular baseURL after I updated the cache. It seems that I will do this again after Hugo 0.100 releases.
And FYI, the cache is still not working if baseURL contains path. Hugo still tries to find cache in css/<base-path>/... while the cache was in css/....

OK, so I am clueless here... I ran a hugo mod get -u
My config.yaml has this:
baseURL: https://thethousandkingdoms.com/
When I run hugo server -D, I get the following:
> hugo server -D
Start building sites …
hugo v0.89.3-C88CDB56+extended windows/amd64 BuildDate=2021-11-15T12:17:46Z VendorInfo=gohugoio
Error: Error building site: POSTCSS: failed to transform "css/eureka.css" (text/css): Error: Failed to find 'assets/css/site'
  in [
    C:\Users\tarun\ttk,
        C:\Users\tarun\OneDrive\Desktop\thethousandkingdoms\_vendor\wangchucheng.com\hugo-eureka
  ]
    at C:\Users\tarun\OneDrive\Desktop\thethousandkingdoms\node_modules\postcss-import\lib\resolve-id.js:35:13
    at async LazyResult.runAsync (C:\Users\tarun\OneDrive\Desktop\thethousandkingdoms\node_modules\postcss\lib\lazy-result.js:396:11)
    at async Promise.all (index 0)
Built in 1195 ms


X11 not found in macOS High Sierra

Hi,
I'm trying to build the macOS wheels but the configure step fails:
CMake Error at /usr/local/Cellar/cmake/3.9.6/share/cmake/Modules/FindX11.cmake:429 (message):
  Could not find X11
Call Stack (most recent call first):
  Rendering/OpenGL2/CMakeLists.txt:191 (find_package)

I'm under macOS High Sierra (10.13.1) where X11 is not included. I believe the problem comes from setting VTK_USE_X to ON in VTKPythonPackage/_skbuild/cmake-build/VTK-prefix/tmp/VTK-cache-Release.cmake (line 24).

Thanks for the note.
In the next few days, I will setup daily build for the VTK wheels (similar to what we have for ITK) and I will integrate your change.


uncertainty was rendered as an additional color channel?

Thank you very much for your work.
In the paper, there is a sentence at position 1, "Our method simulates spatially parameterized perturbations of the radiation field and uses a Bayesian Laplace"
Approximation to produce a volumetric uncertainty field, which can be rendered like an additional color channel
There is a sentence in position 2, "In little over a minute, we calculate a spatial uncertainty field that can be rendered as an additional color channel."
According to my understanding, the sentence at position 1 means that the uncertainty field is rendered using a certain technique, which is like an additional color channel. In my understanding, this technique does not mean adding an additional color channel
The sentence at position 2, in my understanding, means that the uncertainty field is rendered using a certain technique, which adds an additional color channel
My question is, which understanding is correct, and can you share how it is implemented in the code?
(I am a beginner and English is poor, and my question may be a simple one. Thank you very much for your help. This paragraph is written using translation software. If there are any discrepancies, please give me. Thank you very much for your help.)

Hi!
The first understanding is what we mean by an additional color channel. The uncertainty is rendered through volume rendering  (like color and depth channels), you can find the implementation of uncertainty volume rendering here. This function is then used in scripts/render_uncertainty.py here to make rendered videos, etc.


Error

Not sure why this might be, but I encounter this error when starting the bot:
  File "bot.py", line 173
    async def on_ready():
        ^

Any help is appreciated! :)

async def on_ready():
        await client.change_presence(game=discord.Game(name=data['BotStatus']))
        print('bot is ready \nCredits to Wadu')

Seems to be where the error is.

 async def redeem(ctx, arg1, arg2, arg3): is also throwing errors.

@noahmarshall12 did you end up figuring it out ?

I got the same errors

HI
you can fix ur problem with this
https://github.com/Rapptz/discord.py/issues/1125#issuecomment-373958519

Thanks for the help! I'll open a pull request with the correct changes. 👍


Repeated runs of UDFs over the same data

Discussions with @sk1p and HZDR team @SimeonEhrig  TODO GitHub handles:
Some algorithms, namely ePIE, require iterating over a potentially very large input data set top optimize a relatively small result function. LiberTEM could be useful as a convenient interface to handle I/O, merge and scatter operations as well as task scheduling, in particular on multiple nodes with multiple GPUs. This could be easier to use, more versatile and more robust than implementing it with MPI. Compared to vanilla Dask, the support for GPU processing in LiberTEM would be useful.
In particular, scenarios where all partitions fit collectively into the total GPU RAM in the cluster and where partitions have to be swapped in and out of fewer GPUs should be handled transparently by the back-end.
The UDF interface could be extended by including a termination test function. If this function indicates that the UDF is not terminated after merging, the UDF could be re-run with the current result buffer contents as initialization.
UDFMeta should give information on the current iteration index to implement behavior that depends on the current index, such as adapting a learning rate.

Just running an UDF repeatedly over the same data and having the iteration logic outside of LiberTEM worked well enough so far. Closing until specific needs come from the application side.


User experience of P2H in industry should be improved

As noted in #3164, it would be good to make the P2H in industry more intuitive to users.
It may be confusing to users that the Flexibility >> Excess electricity >> Conversion page has nothing on Power-to-heat in industry. I would re-introduce the slide for P2H in industry and add links to the various industrial subsectors with the message that users can set installed capacity there. Similarly, it would be good to link back to this Flex >> Excess electricity >> Conversion page from the various industrial subsectors. Since the Flexibility merit order does require users to choose the order in which surpluses should be used, they have to go to the Flex section anyway to make use of P2H in industry.
The description in the industrial subsectors might be improved by mentioning that P2H only lowers the energy demand of hydrogen and network gas-fired heaters.


Local Storage - Morning session code review

Great job so far, however, the local storage for the message input is not working, how can you fix it !!

Awesome! Everything seems good to me. Your code is clean along with applying the appropriate designs.

Thank you guys for the comments. @Mehdi-Rh , you are quite vigilant. I noticed the problem and I have solved it. Thanks again guys.


[TASK] Upgrade campaign class to use generic Fuel client

right now it's still using mcdev\node_modules\sfmc-fuelsdk-node\lib\objects\Campaign.js
with this.client.campaign and this.client.campaignAsset

turns out campaign is using the rest API internally already. have to check whats really wrong here

duplicated by #95


extra_sizes implemented

Resolves #228

Looks better now, thanks.
Still a lot in uint.rs, and I'm not sure the feature-gated sizes will be properly reflected in the rustdoc, but I can try fixing that in a followup.

Thanks!


[Feature request] HDD sync status in the copy station script (XXcopyStation.sh)

When I start a new "sync batch" with a lot of fresh HDDs it would be nice to get the current sync status every 10 minutes or so in percent of each HDD. With this information, it would be possible to remove already synced HDDs from the rack and get new ones in.

Will take a look again if we are closer to a 1.7.1rc2 - then we can test directly on a working copy station.


Use time.monotonic()

Hi!
Just some small improvements I spotted while inspecting this already beautifully lean lib.
Fixes #10, closes #13
How does your release flow work? Do you merge to default branch, git tag, and upload to Pypi from there? As an alternative to your versioneer setup, you could use setuptools_scm, designed for this specific purpose. See e.g. https://github.com/john-kurkowski/tldextract/pull/187
Description
time.monotonic() relates to the real time spent inside the main thread, and can not be altered externally by e.g.

ntp system time synchronisation (frequent, small impact)
automatic time zone changes (infrequent, big impact)
users manually changing system time (infrequent, big impact)

and is therefore preferred over time.time when measuring relative times (of a program).
Smaller improvements:

Remove init with unnecessary instance attribute assignment (time to load the extension itself is now representative due to explicit start() call)
Use slots for lower memory consumption of class instance(s)
Simplify stop(), reducing the amount of checks, instance attribute lookups and variable assignments (performance nits)
Remove, by definition, the need for the assert statement

@ddelange I'm definitely interested in having some help maintaining this library. Are you interested?

definitely would be down :) do you do uploads to pypi manually? if you can give me pypi write access, I could also add Github Actions into the mix to automatically deploy to pypi when a new release/tag is pushed to the repo on master branch

Alright, I'll add you as a collaborator on the repo along with PyPI perms, doing it now.

Actually @ddelange I am apparently not the person who added the PyPI package!

@amitu could you add us as maintainers on the pypi package so we can release a new version?

@cpcloud I've sent @amitu an email on his personal gmail in an attempt to reach him.
If we can't reach him for 6 weeks, we can open an issue with a PEP 541 request: https://www.python.org/dev/peps/pep-0541/#reachability
In the meantime, I didn't find a PyPi account for cpcloud. Do you have one/can you create one?

@ddelange apologies for delayed reply. Who do I give access to?

Hi @amitu! No worries. As @cpcloud doesn't have a pypi account (yet?), can you add just ddelange for now?

My pypi account is Charles.Cloud

I have invited both of you as managers. Let me know if someone wants to take over the ownership.

Thanks @amitu :)


Update steampipe-plugin-sdk to v1.4.1. Closes #5

Integration test logs

Logs
Add passing integration test logs here

Example query results

Results
Add example SQL query results here (please include the input queries as well)

Closing this PR and tracking it here - https://github.com/turbot/steampipe-plugin-shodan/pull/11 as a part of maintenance schedule


Plugin for Module Environment

Hi, someone knows if there is some plugins for Environment Modules. If the answar is no, is it possible to point some references about how to create plugins and/or commands for auto completion?

Nope, no plugin for Environment Modules. Seems like it would be useful.
We don't have a "how to create a plugin" guide exactly, as far as I know. There's a few Wiki pages that could be useful.
https://github.com/robbyrussell/oh-my-zsh/wiki/Contribution-Technical-Practices
https://github.com/robbyrussell/oh-my-zsh/wiki/Coding-style-guide
https://github.com/robbyrussell/oh-my-zsh/wiki/Design
If you're going to do installation discovery, check for the Homebrew installation on Macs, too. There's a Homebrew formula for Environment Modules (brew install modules). And make sure the README for the plugin references the main project page and explains what it is. That's an awful generic sounding name. :)

Yes, this is a bad name, thank you for the references.
I din't understand what you want to say with "If you're going to do installation discovery..." but I know how to install it and I also have the whole modules environment ready.
I was thinking that will be usefull to have a plugin for the modules autocompletion. I will try to code something.
Ah, I am using linux, not osx.

"Installation discovery": It's not about installing it per se, but about how to find where it's installed and load it in to your zsh session conveniently and portably. Depending on how you install Environment Modules, it could end up in different locations on your system. So to load it, you need to know where to find the file. One useful thing a plugin can do is look in several well-known locations to see if and where Environment Modules is installed on the current machine, and then automatically load it from one of the locations it finds. That way, all someone needs to do to use Environment Modules is install it on their machine and put modules (or whatever we end up calling it) in their $plugins list, and it will get loaded in to their session. The autojump plugin has a good example of this where it looks in several locations for the autojump installation and then loads it from whatever it finds.
For example, you probably have it installed in the location that either your Linux distribution's package manager put it, or the default installation location if you built it from source. Other Linux distros might have a different installation path. And if I installed it on my OS X box using brew install modules, it might end up somewhere different again. Having the plugin discover where it's installed means users don't have to put hardcoded paths in their ~/.zshrc file, and that file can be easily synced across different systems.
Yeah, completion would be useful. Completion definitions and installation discovery are two of the main features that OMZ provides. There are two approaches you could take. It looks like modules comes with bash completion definitions, and zsh has a compatibility layer that can load them in. So you can just pull them in from the modules installation. Or you could code up zsh-specific completion definitions, which would be more work, but would probably end up being more powerful, since zsh has a more sophisticated completion system. (If they're good, and the upstream project is active, you could even get them backported to the main project.)
If you coded it up to work on Linux, then I or someone else who runs OS X could tweak it to run there, too.

Thank you for this big answare! I think it is just required to query the Environment Variables for Modules. Look my setup.
lheck@saturn:~ » echo $MODULESHOME
/usr/local/Modules/3.2.10

lheck@saturn:~ » echo $MODULEPATH
'/usr/local/Modules/modulefiles:/home/lheck/Dropbox/Scripts/Modules/Staturn

I din't notice before that autocomplete for modules are already working in my notebook using a stantard instalation. At my work, it is on different path and it still autocompletes :) . We don't need to code!
Isn't it working on OSX?

That begs the question of how $MODULESHOME and $MODULEPATH get set. Those aren't provided by zsh or the OS by default, at least on OS X; you need to run the Environment Modules init script in your shell startup sequence to set those. Maybe your Linux distro included zsh startup hooks for them as part of the installation? I had to add it to my ~/.zshrc manually on OS X to get it to load.

I am doing with the Environment Modules init script as you said. With source /soft64/Modules/current/init/zsh in .zshrc.  And the same for the other shells I have like bash and (t)csh. I think this is the right way to do that, isn't it?

Yes. That will work fine for a single installation. Having something do installation discovery would be useful if you wanted to use the same ~/.zshrc file on multiple machines, where Environment Modules might be installed in different locations on different machines.

This is a good point but I think you should know your environment. You can have a single '.zshrc' but  tou always need to know the environment. With this, you can make the selection considering the hostname or something.

I'm closing this for lack of follow-up.


update base on release-3.1.0

FixedPointType for liquid based on release-3.1.0

Add Fixed72x16 for liquid and adapt to console release-3.1.0 by yangshuo(Intern)


Beaker API namespace is an empty object when accessed from a local file

Describe the Bug
The beaker namespace is an empty object when it is accessed from a local HTML or JavaScript file.
To Reproduce

Drag-drop a local HTML file into Beaker
Open the Developer Console
Evaluate beaker. An emty object will be returned.

Expected Behavior
The Beaker APIs should be accessible from local files. This is crucial for app development using an external workflow.
Environment

OS: Windows 10
Beaker Version: 1.0.0-prerelease.3

@metanomial we need to decide whether file:/// should be able to do this. It's difficult to assign perms to file:/// because it's a global namespace, and I'd rather use the folder-sync solution we're developing for local dev.

@pfrazee if you decide against, please do not leave the empty beaker namespace exposed to local files. Evaluating beaker != null is a common check to determine if the Beaker API is available for use in cross-protocol sites.

Sure

Done


OR-Tools v9.3 not working with Gurobi 9.5.2

What version of OR-Tools and what language are you using?
Version: v9.3
Language: C++
Which solver are you using (e.g. CP-SAT, Routing Solver, GLOP, BOP, Gurobi)
Gurobi
What operating system (Linux, Windows, ...) and version?
Windows 10
What did you do?
Steps to reproduce the behavior:

Install Gurobi 9.5.2
Setup OR-Tools v9.3 with VS 2022
Solve a basic MIP Problem
See error

What did you expect to see
Solution
What did you see instead?
WARNING: Logging before InitGoogleLogging() is written to STDERR
I0715 20:09:32.871677 15656 environment.cc:736] Found the Gurobi library in 'C:\gurobi952\win64\bin\gurobi95.dll.
F0715 20:09:32.872823 15656 dynamic_library.h:68] Check failed: function_address != nullptr Error: could not find function GRBtunemodeladv in C:\gurobi952\win64\bin\gurobi95.dll
*** Check failure stack trace: ***

well known.


WIP: add mps support to transformers

Naive addition of MPS support for the transformers service.
At the moment the service crashes python when load is high, still looking into what qualifies as high but it seems like pytorch is crashing python due to some MPS issue.
The issue manifests as some embeddings are vectorized with calculated NaN values, this initially led to exceptions being thrown from ASGI, now that we catch them it blows up less spectacularly but still does.

No longer relevant due to next PR


Chore/sync main

PR Details

Description

Related Issue

Motivation and Context

How Has This Been Tested

Types of changes

[ ] Docs change / refactoring / dependency upgrade
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist

[ ] My code follows the code style of this project.
[ ] I have updated changeset
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.2 out of 3 committers have signed the CLA.:white_check_mark: yimingjfe:white_check_mark: caohuilin:x: nyqykkYou have signed the CLA already but the status is still pending? Let us recheck it.


Concurrent ExecuteWorkflow will gen same RunId

Expected Behavior
Concurrent ExecuteWorkflow will gen different RunId
Actual Behavior
Concurrent ExecuteWorkflow will gen same RunId
Steps to Reproduce the Problem
1.git clone https://github.com/temporalio/money-transfer-project-template-go
2.modify start/main.go, add 'for range' contain "options := client.StartWorkflowOptions{" and "printResults(transferDetails, we.GetID(), we.GetRunID())"
3.go run start/main.go
4.see stdout, "we.GetID()" is the same.
Specifications

Version:
Platform:

GetID is the workflow ID, GetRunID is the run ID. Regardless, running that way reuses the ID, which is supposed to be unique. The default ID reuse policy (see start workflow options) does not error but intention.
Multiple workflow runs should use unique workflow IDs. Of course reusing an ID on a failed workflow by default creates a new run ID.

GetID is the workflow ID, GetRunID is the run ID. Regardless, running that way reuses the ID, which is supposed to be unique. The default ID reuse policy (see start workflow options) does not error by intention.
Multiple workflow runs should use unique workflow IDs. Of course reusing an ID on a failed workflow by default creates a new run ID.

Got it! Thank you very much.

The worker.Options (aliased to https://pkg.go.dev/go.temporal.io/sdk/internal#WorkerOptions) have options for max concurrent executions. You can probably set MaxConcurrentWorkflowTaskExecutionSize for one workflow at a time (but would still need to set the same for activities if you want to limit those).
Limiting workflow execution count may not always be the best way. All real work happens in activities so most of the time it would be there you'd want to limit.
Also if it's easier, feel free to ask questions in our forum at https://community.temporal.io/ or slack at https://temporal.io/slack.

The worker.Options (aliased to https://pkg.go.dev/go.temporal.io/sdk/internal#WorkerOptions) have options for max concurrent executions. You can probably set MaxConcurrentWorkflowTaskExecutionSize for one workflow at a time (but would still need to set the same for activities if you want to limit those).
Limiting workflow execution count may not always be the best way. All real work happens in activities so most of the time it would be there you'd want to limit.
Also if it's easier, feel free to ask questions in our forum at https://community.temporal.io/ or slack at https://temporal.io/slack.

Thank you. I have no question now.


Add serializeOperation to @orbit/jsonapi

depends on #639
In the future we will probably want serializeQueryExpression and serializeRequest
with something like (hypothetical code):
serializeRequest(request: Request): ResourceOperationsDocument {
  const operations = request.operations.map(operation => {
    if (isQueryExpression(operation)) {
      return this.serializeQueryExpression(operation);
    } else {
      return this.serializeOperation(operation);
    }
  });
  return { operations };
}

serializeOperation should be needed no matter what

This is ready for review

Thanks @tchak! Getting close to full operations support :)


Create a full iOS version and generate a test app image in the apk branch

Create a full iOS version with flutter and generate a test app image in the apk branch

hi, can i get more info of this?

hi, can i get more info of this?

This might be a bit too broad. Let me break it down into multiple issues and link them to this thread today.

yeah sure!


Regarding scipy<=0.13.0

Hello ResidentMario! Great project and great project&user names!
I ran into issues using missingno with scipy.version <= 0.13.0.  It turns out in those versions scipy.cluster.hierarchy.dendrogram doesn't take ax as a kwarg, thus breaking up when trying to plot a dendrogram with missingno.
And I noticed that dependency version issue isn't pointed out anywhere. Maybe there's a place for it in setup.py?
Keep it up!

Thanks for the report. scipy 0.13.0 is a relatively old version of scipy, which appears to currently be on version 0.18. Hence why I didn't know where the breakage occurs.
I don't see a change to that ax argument in the 0.13.1 patch notes. Perhaps you meant <0.13.0 (patch notes)?
I'll take a look at adding version dependencies to setup.py. Need to get to the other issues for this repo too.

Hey ResidentMario! Sorry if I worded it wrong somehow. I believe the issue boils down to this:
0.13.0 doesn't take ax kwarg: https://github.com/scipy/scipy/blob/1cc8beed5362ed290f5a8ddf4e99db49b4de6286/scipy/cluster/hierarchy.py#L1687
0.18.0 takes ax kwarg: https://github.com/scipy/scipy/blob/master/scipy/cluster/hierarchy.py#L1776
0.14.0b1 is the first appearance of the ax kwarg I could find: https://github.com/scipy/scipy/blob/9dc196c81e82551884d8d7adc8ac5b0de80c3ea4/scipy/cluster/hierarchy.py#L1687

I'm going to go ahead and close this as being too far gone in the past. You really shouldn't be using versions of scipy this old anymore, TBH.


it cause an exception when query http plugin data with fullName

Before submitting a bug report, please verify that you are using the most current version of Drill.
Describe the bug
i create a http plugin named "http" and then use "use http" command to switch schema.
i query http Data with "select * from http.sunrise"，It report except
To Reproduce
Steps to reproduce the behavior:

create plugin with name "http"
use http
select * from http.sunrise;

Expected behavior
apache drill> select * from http.sunrise;
+----------------------------------------------------------------------------------+--------+
|                                     results                                      | status |
+----------------------------------------------------------------------------------+--------+
| {"sunrise":"5:42:47 AM","sunset":"5:52:15 PM","solar_noon":"11:47:31 AM","day_length":"12:09:28","civil_twilight_begin":"5:21:47 AM","civil_twilight_end":"6:13:15 PM","nautical_twilight_begin":"4:56:00 AM","nautical_twilight_end":"6:39:02 PM","astronomical_twilight_begin":"4:30:08 AM","astronomical_twilight_end":"7:04:54 PM"} | OK     |
+----------------------------------------------------------------------------------+--------+
1 row selected (2.967 seconds)
Error detail, log output or screenshots
Error: CONNECTION ERROR: API 'http' does not exist in HTTP storage plugin 'http'
Drill version
1.22.0
Additional context
http plugin config
{
"type": "http",
"connections": {
"sunrise": {
"url": "https://api.sunrise-sunset.org/json",
"requireTail": false,
"method": "GET",
"params": [
"lat",
"lng",
"date"
],
"authType": "none",
"inputType": "json",
"xmlDataLevel": 1,
"postParameterLocation": "QUERY_STRING",
"verifySSLCert": true
}
},
"timeout": 5,
"retryDelay": 1000,
"proxyType": "direct",
"authMode": "SHARED_USER",
"enabled": true
}

index ef6368d63..de764db2e 100644
--- a/contrib/storage-http/src/main/java/org/apache/drill/exec/store/http/HttpSchemaFactory.java
+++ b/contrib/storage-http/src/main/java/org/apache/drill/exec/store/http/HttpSchemaFactory.java
@@ -85,7 +85,7 @@ public class HttpSchemaFactory extends AbstractSchemaFactory {
HttpAPIConnectionSchema subSchema = subSchemas.get(name);
if (subSchema != null) {
return subSchema;

 } else if (tables.containsKey(name)) {

 } else if (tables.containsKey(name) || plugin.getName().equals(name)) {
   return null;
 } else {
   throw UserException

@shfshihuafeng I don't think this is a bug.  You are first running the query USE http which sets the root at http.  Then you're running a SELECT ... FROM http.sunrise.   So at that point, the plugin is looking for a path: http.http.sunrise which does not exist.
I'd bet that if you either skipped the USE query or ran a SELECT ... FROM sunrise it would work.

@cgivre You are right, but when use http, the default schema is http, when we use another data source schema, will report error.

It think this is not right.

@cgivre

@cgivre
It is correct to query data with full schema Name from other data sources

@shfshihuafeng
So are you saying the behavior with USE is inconsistent?  I want to make sure I understand the issue.

@cgivre
There are two problems with this

behavior with USE is inconsistent
when i enter the scehma with 'use',data can not be queried

I think that I have exactly the same problem. It seems that after you change schema to http storage schema you cannot run any SQL.

➜  tmp cat bootstrap-storage-plugins.json
{
"storage": {
"http": {
"type": "http",
"cacheResults": false,
"enabled": true,
"timeout": 5,
"connections": {
"sunrise": {
"url": "https://api.sunrise-sunset.org/json",
"requireTail": false,
"method": "GET",
"dataPath": "results",
"headers": null,
"params": [
"lat",
"lng",
"date"
],
"authType": "none",
"userName": null,
"password": null,
"postBody": null
}
}
}
}
}
➜  tmp docker run -it --rm --name drill -v "${HOME}"/tmp/bootstrap-storage-plugins.json:/opt/drill/conf/bootstrap-storage-plugins.json apache/drill
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
Apache Drill 1.21.1
"Drill must go on."
apache drill> !schemas
+--------------------+---------------+
|    TABLE_SCHEM     | TABLE_CATALOG |
+--------------------+---------------+
| cp.default         | DRILL         |
| dfs.default        | DRILL         |
| dfs.root           | DRILL         |
| dfs.tmp            | DRILL         |
| http               | DRILL         |
| information_schema | DRILL         |
| sys                | DRILL         |
+--------------------+---------------+
apache drill> SELECT version FROM sys.version;
+---------+
| version |
+---------+
| 1.21.1  |
+---------+
1 row selected (2.638 seconds)
apache drill> SELECT sunrise, sunset FROM http.sunrise WHERE lat = 36.7201600 AND lng = -4.4203400 AND date = 'today';
+------------+------------+
|  sunrise   |   sunset   |
+------------+------------+
| 6:32:42 AM | 5:30:55 PM |
+------------+------------+
1 row selected (2.506 seconds)
apache drill> use http;
+------+----------------------------------+
|  ok  |             summary              |
+------+----------------------------------+
| true | Default schema changed to [http] |
+------+----------------------------------+
1 row selected (0.219 seconds)
apache drill (http)> SELECT sunrise, sunset FROM sunrise WHERE lat = 36.7201600 AND lng = -4.4203400 AND date = 'today';
Error: CONNECTION ERROR: API 'http' does not exist in HTTP storage plugin 'http'
[Error Id: 574dff2e-53ac-47c8-a4dc-f4368f5d60ea ] (state=,code=0)
apache drill (http)> SELECT sunrise, sunset FROM http.sunrise WHERE lat = 36.7201600 AND lng = -4.4203400 AND date = 'today';
Error: CONNECTION ERROR: API 'http' does not exist in HTTP storage plugin 'http'
[Error Id: ff623dec-3ecc-4eed-9caa-bad804694ea9 ] (state=,code=0)
apache drill (http)> SELECT version FROM sys.version;
Error: CONNECTION ERROR: API 'sys' does not exist in HTTP storage plugin 'http'
[Error Id: fd4309e5-8883-4219-b0b7-3beec7147b96 ] (state=,code=0)
apache drill (http)> use sys;
Error: CONNECTION ERROR: API 'sys' does not exist in HTTP storage plugin 'http'
[Error Id: 08a3b91a-a216-4088-8fc2-e0bc0d79bfc1 ] (state=,code=0)
apache drill (http)> !schemas
+--------------------+---------------+
|    TABLE_SCHEM     | TABLE_CATALOG |
+--------------------+---------------+
| cp.default         | DRILL         |
| dfs.default        | DRILL         |
| dfs.root           | DRILL         |
| dfs.tmp            | DRILL         |
| http               | DRILL         |
| information_schema | DRILL         |
| sys                | DRILL         |
+--------------------+---------------+
apache drill (http)> !reconnect
Reconnecting to "jdbc:drill:zk=local"...
apache drill> SELECT version FROM sys.version;
+---------+
| version |
+---------+
| 1.21.1  |
+---------+
1 row selected (0.24 seconds)
apache drill> !quit
➜  tmp

Only exception is that if you name HTTP storage and connection with same name (eg. schema sunrise and connection sunrise) you can query data using both schema.connection and connection but you still can't query any other schema using anotherschema.connection.

➜  tmp cat bootstrap-storage-plugins.json
{
"storage": {
"sunrise": {
"type": "http",
"cacheResults": false,
"enabled": true,
"timeout": 5,
"connections": {
"sunrise": {
"url": "https://api.sunrise-sunset.org/json",
"requireTail": false,
"method": "GET",
"dataPath": "results",
"headers": null,
"params": [
"lat",
"lng",
"date"
],
"authType": "none",
"userName": null,
"password": null,
"postBody": null
}
}
}
}
}
➜  tmp docker run -it --rm --name drill -v "${HOME}"/tmp/bootstrap-storage-plugins.json:/opt/drill/conf/bootstrap-storage-plugins.json apache/drill
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
Apache Drill 1.21.1
"Say hello to my little Drill."
apache drill> !schemas
+--------------------+---------------+
|    TABLE_SCHEM     | TABLE_CATALOG |
+--------------------+---------------+
| cp.default         | DRILL         |
| dfs.default        | DRILL         |
| dfs.root           | DRILL         |
| dfs.tmp            | DRILL         |
| information_schema | DRILL         |
| sunrise            | DRILL         |
| sys                | DRILL         |
+--------------------+---------------+
apache drill> SELECT version FROM sys.version;
+---------+
| version |
+---------+
| 1.21.1  |
+---------+
1 row selected (2.235 seconds)
apache drill> SELECT sunrise, sunset FROM sunrise.sunrise WHERE lat = 36.7201600 AND lng = -4.4203400 AND date = 'today';
+------------+------------+
|  sunrise   |   sunset   |
+------------+------------+
| 6:32:42 AM | 5:30:55 PM |
+------------+------------+
1 row selected (2.545 seconds)
apache drill> use sunrise;
+------+-------------------------------------+
|  ok  |               summary               |
+------+-------------------------------------+
| true | Default schema changed to [sunrise] |
+------+-------------------------------------+
1 row selected (0.188 seconds)
apache drill (sunrise)> SELECT sunrise, sunset FROM sunrise.sunrise WHERE lat = 36.7201600 AND lng = -4.4203400 AND date = 'today';
+------------+------------+
|  sunrise   |   sunset   |
+------------+------------+
| 6:32:42 AM | 5:30:55 PM |
+------------+------------+
1 row selected (1.146 seconds)
apache drill (sunrise)> SELECT sunrise, sunset FROM sunrise WHERE lat = 36.7201600 AND lng = -4.4203400 AND date = 'today';
+------------+------------+
|  sunrise   |   sunset   |
+------------+------------+
| 6:32:42 AM | 5:30:55 PM |
+------------+------------+
1 row selected (1.143 seconds)
apache drill (sunrise)> SELECT version FROM sys.version;
Error: CONNECTION ERROR: API 'sys' does not exist in HTTP storage plugin 'sunrise'
[Error Id: 8cb31758-252b-4949-a30e-100b469d2476 ] (state=,code=0)
apache drill (sunrise)> use sys;
Error: CONNECTION ERROR: API 'sys' does not exist in HTTP storage plugin 'sunrise'
[Error Id: 3d1e62b3-f395-4509-9001-5a47376e6063 ] (state=,code=0)
apache drill (sunrise)> !schemas
+--------------------+---------------+
|    TABLE_SCHEM     | TABLE_CATALOG |
+--------------------+---------------+
| cp.default         | DRILL         |
| dfs.default        | DRILL         |
| dfs.root           | DRILL         |
| dfs.tmp            | DRILL         |
| information_schema | DRILL         |
| sunrise            | DRILL         |
| sys                | DRILL         |
+--------------------+---------------+
apache drill (sunrise)> !quit
➜  tmp


Refactor PDTS into PDXX superclass

In preparation for work on PDWS, shift common PDTS&PDWS elements into a PDXX superclass

Compiles on 702. If experimental is OFF, just ignore the UT, no errors (same as #4683)

Sure, though this is part of the original code, I tried to keep this a clean refactor of class hierarchy. Have added a quick fix to keep it green on all systems.
I want to rework the unit testing part my plan is to do this under PDWS and retrofit it to PDTS.


It takes a long time to run "sam.loadimage" ,How to reduce running time?

Inference by cpu,the image size is 2000*2000,It takes a long time to run "sam.loadImage(image)",about3minutes，why is it happen?How can I improve the running speed？thanks for your answer!

The MobileSAM model is much faste, compared to the original SAM.


fix(input): fix URL validation being too strict

Background:
Prior to ffb6b2f, there was a bug in URL_REGEXP, trying to match the hostname as \S+ (meaning
any non-space character). This resulted in never actually validating the structure of the URL (e.g.
segments such as port, path, query, fragment).
Then ffb6b2f and subsequently e4bb838 fixed that bug, but revealed URL_REGEXP's "strictness" wrt
certain parts of the URL.
Since browsers are too lenient when it comes to URL validation, this commit relaxes the "strictness"
of URL_REGEXP, focusing more on the general structure, than on the specific characters allowed in
each segment.
Note 1: URL_REGEXP still seems to be stricter than browsers in some cases.
Note 2: Browsers don't always agree on what is a valid URL and what isn't.
Fixes #13528

For anyone interested, I used this pen to visuallize how each browser's validation compares to ours for the URLs used in the test.

The regex looks good to me. Couple of minor comments to address.

@petebacondarwin, I added a test to the first commit. PTAL

LGTM


Get-Package returns $null a.k.a. MSI Package Provider missing

This might be expected functionality as it appears that the msi and msu package providers are not installed by default. But I am not sure if these are intentionally not available on Powershell Core.
Steps to reproduce
Get-Package

Expected behavior
See all software installed on machine with updates
Actual behavior
none

Environment data

> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      6.0.1
PSEdition                      Core
GitCommitId                    v6.0.1
OS                             Microsoft Windows 10.0.15063
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Should this be moved to https://github.com/OneGet/oneget?

@StevenBucher98 can this be moved/closed since the cmdlet isn't in this repository?