Fix missing schema in table alias in pkEQ and pkIN clauses

#326

Thanks for spotting.
Kindly add a note in CHANGELOG.md with attribution (thanks @adatob)


Explore alternative ways to install OMPL

Purpose

Likely needed to #31 with minimal hassle

Resources

https://ompl.kavrakilab.org/download.html
https://ompl.kavrakilab.org/installation.html
https://ompl.kavrakilab.org/python.html

Not a priority

Haven't decided whether to use OMPL for the new project
No member uses an ARM computer

https://moveit.ros.org/ includes a ompl and a bunch of other stuff, but only works on Ubuntu 20.04 and above. Exploring in the develop branch


Last guzzle response

Adding method that return last guzzle response.

$history = new History();
$client = new Client()->getEmitter()->attach($history);
...
$lastRequest = $history->getLastRequest();

@yamaha252 has provided the correct way to achieve this.


v0.1.7 release

Codecov Report

Merging #47 (e0cd3de) into release/0.1 (41371ed) will increase coverage by 2.63%.
The diff coverage is 100.00%.

@@               Coverage Diff               @@
##           release/0.1      #47      +/-   ##
===============================================
+ Coverage        90.21%   92.85%   +2.63%
===============================================
  Files                2        2
  Lines               92       84       -8
===============================================
- Hits                83       78       -5
+ Misses               9        6       -3

Impacted Files
Coverage Δ

pytest_pyvista/pytest_pyvista.py
92.68% <ø> (+2.68%)
:arrow_up:

pytest_pyvista/__init__.py
100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Please merge and release at will.

Took care of the release for https://github.com/pyvista/pyvista/pull/4018


Go operator-sdk : is it possible to create mutating web hook for deployment type

Type of question
How to implement a specific feature
Question
Using operator-sdk CLI is it possible to create an admission(mutating) webhook for k8s Deployment workload.?
Its possible to create web hooks for the CRs those are create using operator-sdk CLI in the same project. But I have requirement to create a mutating webhook for k8s Deployment object under the operator project
What did you do?

What did you expect to see?

What did you see instead? Under which circumstances?

Environment
Operator type:
/language go
Kubernetes cluster type:
minikube
$ operator-sdk version
operator-sdk version: "v1.22.2", commit: "da3346113a8a75e11225f586482934000504a60f", kubernetes version: "1.24.1", go version: "go1.18.4", GOOS: "linux", GOARCH: "amd64"
$ go version (if language is Go)
go version go1.20.6 linux/amd64
$ kubectl version
Client Version: v1.28.1
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.27.4

Operator SDK (and Kubebuilder) doesn't support scaffolding validating/mutating webhooks for default k8s types by default. But it can be done by making some changes manually to the kubebuilder markers that use controller-gen. Here is a documentation on scaffolding admission WHs for pods (it would be similar for deployment): https://book.kubebuilder.io/reference/webhook-for-core-types. Also, controller runtime has an example for this in its repo: https://github.com/kubernetes-sigs/controller-runtime/blob/main/examples/builtins/mutatingwebhook.go


Fix small typo in Microsoft Store PWA details page

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/progressive-web-apps/microsoft-store.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Thanks again for catching this @cglong !


[BSC#1107545] Migrate subnet pillar name v2.1 -> v3

In v3, the subnet ID is stored in the same Pillar for all public clouds, then arranged into the appropriate pillar structure by InternalApi::V1::PillarsController#cloud_framework_contents
In v2.1, AWS had a different name for the subnet ID (for Azure & GCP, the name is consistent); therefore it is necessary to modify the pillar, if already assigned, in order to prevent losing the customer's entered data.
Backport of https://github.com/kubic-project/velum/pull/650

Ah, @jordimassaguerpla pointed me at the master branch PR - https://github.com/kubic-project/velum/pull/650

Adding the no bugzilla ref label. This is in the commit message. May our regexp not cope with capital BSC?

This is ready to be released

@MaximilianMeister : please check the updates are properly handling the patch, and if you could point me to some doc where the procedure for that patch is explained, I'd appreciate it.


Add alphanumeric check for filter as names are alphanumeric.

a step further to throw ParseException if key phrase is not a alphanumeric phrase? Can do this in parse of FilterCommand utilising ParserUtil. This is a optional step to improve AB3 imo.

Originally posted by @UdhayaShan1 in https://github.com/AY2324S2-CS2103T-W10-1/tp/pull/104#pullrequestreview-1941377997
It will be nice to have a clearer exception to the user by telling him to write a word

Thanks @UdhayaShan1, can I clarify you mean to add unit tests to check if the keyphrase parameter is alphanumeric?
Meaning check that no other symbols: "@#$%^&*", and if so return an error message to user to keep to alphanumeric characters?
Also just wondering got some people name got "@" or "s/o","d/o" HAHHAHA shld we take into account?

standardise with name check


Refactor code to generate protoc-gen-pipeline

instead of Astounding

git build -o protoc-gen-pipeline works in the shortrun.


Add actions CI

Now completed, although some axios tests are failing. (It turns out they fail in a clean install, which I hadn't spotted.)


Missing documentation

I believe a better PowerShell / CLI / ARM examples are needed, since that is the most used technique in real products.
For example, you could add this:
Using CLI:
az monitor diagnostic-settings create
--name "$DiagnosticsSettingsName"
--resource "/subscriptions/$SubscriptionId/resourceGroups/$ResourceGroup/providers/Microsoft.Network/azureFirewalls/$FwName"
--workspace $WorkspaceName
--logs [{"category": "AzureFirewallApplicationRule","enabled": true,"retentionPolicy": null},{"category": "AzureFirewallNetworkRule","enabled": true}]
--metrics ....

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

ID: e93c6e39-7dc5-57e7-600b-84ab4b9d9ebb
Version Independent ID: efc1c01c-cb15-4f71-a43d-2be78bee2938
Content: Tutorial - Monitor Azure Firewall logs and metrics
Content Source: articles/firewall/tutorial-diagnostics.md
Service: firewall
GitHub Login: @vhorne
Microsoft Alias: victorh

@crgarcia12 Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.

@dbradish-microsoft Is this something we could help with

This information is in https://docs.microsoft.com/en-us/azure/firewall/firewall-diagnostics
#please-close

This information is in https://docs.microsoft.com/en-us/azure/firewall/firewall-diagnostics
#please-close


Submission of wallet-framework-dotnet project proposal

@ntsbs : Could you please update this branch so that we can merge the project proposal?

Approved by TAC on October 4, 2023


Add indexed to variables used to filter results later on

https://github.com/OpenFinanceIO/smart-securities-standard/blob/6b5df9e405955f46385bdf840c970e45a1af9277/contracts/SimplifiedLogic.sol#L29

Closed by #21


Support bootstrap 4 alpha 6

Alpha 6 has been released, we should upgrade to support it in a new minor version (or major?). Working on a PR.

Released 2.1.0


Bump version

Codecov Report

Merging #10 (1590689) into main (f0ad387) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main       #10   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            4         4
  Lines          138       138
=========================================
  Hits           138       138

Impacted Files
Coverage Δ

abcattrs/__init__.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Question: Show compilation flag

Hi Spin Team,
When I use spin build -v, I would like to display the compilation flags (like clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /opt/homebrew/Caskroom/miniforge/base/envs/dipy-39-x86/include -fPIC -O2 -isystem /opt/homebrew/Caskroom/miniforge/base/envs/dipy-39-x86/include -I/opt/homebrew/Caskroom/miniforge/base/envs/dipy-39-x86/include/python3.9 -c test.c -o test.o -msse2 -mfpmath=sse )
but currently, it is hidden.
is there a way to do that? What do I miss?
Thank you for your feedback

Thanks for the report @skoudoro. I've made a PR to address your concern.

Thank you for this !
looking forward for the future minor release. it will help me to understand some of my CI's in https://github.com/dipy/dipy/pull/2715. instead of doing it manually.

Go ahead and try v0.6: https://github.com/scientific-python/spin/releases/tag/v0.6


Output JSONs to contain proper nulls and lists

Itamar,
I don't write access for some reason so I can't merge this pull request. I'm creating a pull request with the updated output though.
Noga


define the default value for the cwd

Signed-off-by: Lai Jiangshan<EMAIL_ADDRESS>

On Mon, Dec 28, 2015 at 07:50:21PM -0800, Lai Jiangshan wrote:

define the default value for the cwd

I think the root directory is a good default on Linux when the
container creates/joins a different mount namespace (and that seems to
be the default used by nsenter(1)).  However, when you don't
create/join a different mount namespace, I think it makes more sense
to preserve the current working directory and not call chdir(2) at
all.  That will allow your host-mount-namespace config.json process to
access data and such from your bundle directory by looking in its
working directory.

I think the root directory is a good default on Linux when the
the user may not be the root. "home directory" seems to be good one,
but it is a little hard for the runtime resolves the "home directory".
it requires parsing the /etc/passwd like #191. If #191 is accepted,
it is really good to define the default value of the cwd as "home directory".

currently, both runc&runv use "/" as the default value.

On Tue, Dec 29, 2015 at 10:03 AM W. Trevor King<EMAIL_ADDRESS>wrote:

On Mon, Dec 28, 2015 at 07:50:21PM -0800, Lai Jiangshan wrote:

define the default value for the cwd

I think the root directory is a good default on Linux when the
container creates/joins a different mount namespace (and that seems to
be the default used by nsenter(1)). However, when you don't
create/join a different mount namespace,

I really really want to avoid codifying special behavior. We either do one,
the other, or just require someone to be explicit. My preference would be
require the CWD be set, then "/".

I think it makes more sense
to preserve the current working directory and not call chdir(2) at
all. That will allow your host-mount-namespace config.json process to
access data and such from your bundle directory by looking in its
working directory.

I can see the use case but this is a little to magical IMHO.

On Tue, Dec 29, 2015 at 03:36:24AM -0800, Brandon Philips wrote:

I really really want to avoid codifying special behavior.

I think this falls under my preferred “don't do anything if this isn't
set” 1, which is how I've handled this in ccon with a pivot-root
caveat 2.  I just checked with ccon, and using setns(2) to join a
mount namespace lands you in / (regardless of whether you pivoted root
in that namespace).  So I don't think “we only attempt to apply this
setting if it's set” is codifying special behavior.

I think we don't need to add this specifically for Linux.

After reviewing in your OCI f2f we think this should be a required field so that runtimes don't default to something different if it is optional or different platforms have different defaults.  By allowing the user to specify this then there is no question what the cwd will be for their container.


iFrame Widget Disappears On Refresh

Environment
Docker
Version
0.15.3
Describe the problem
When i add an iFrame widget and change the size of it, add any link and refresh the Homarr Dashboard the whole iFrame Widget disappears.
Logs
Exporting hostname...
Migrating database...
yarn run v1.22.19
$ ts-node ./migrate.ts
Done in 1.96s.
Starting production server...
Listening on port 7575 url: http://9e0f8300bd25:7575
ℹ Instance is using a database on the file system. Checking if file '/data/db.sqlite' is writable...
ℹ Database is writeable
ℹ Instance is using a database on the file system. Checking if file '/data/db.sqlite' is writable...
ℹ Database is writeable
ℹ Instance is using a database on the file system. Checking if file '/data/db.sqlite' is writable...
ℹ Database is writeable
user Jayden is trying to log in. checking password...
user Jayden successfully authorized
ℹ Local icons repository directory exists and contains 0 icons
ℹ Local icons repository directory exists and contains 0 icons
Error: 'sharp' is required to be installed in standalone mode for the image optimization to function correctly. Read more at: https://nextjs.org/docs/messages/sharp-missing-in-production
ℹ Saving updated configuration of 'default' config.
ℹ Local icons repository directory exists and contains 0 icons
ℹ Saving updated configuration of 'default' config.
ℹ Local icons repository directory exists and contains 0 icons
ℹ Local icons repository directory exists and contains 0 icons
ℹ Saving updated configuration of 'default' config.
ℹ Saving updated configuration of 'default' config.
ℹ Saving updated configuration of 'default' config.
ℹ Saving updated configuration of 'default' config.
ℹ Saving updated configuration of 'default' config.
ℹ Saving updated configuration of 'default' config.
ℹ Saving updated configuration of 'default' config.
ℹ Saving updated configuration of 'default' config.
ℹ Saving updated configuration of 'default' config.
ℹ Saving updated configuration of 'default' config.
ℹ Saving updated configuration of 'default' config.
ℹ Saving updated configuration of 'default' config.
ℹ Saving updated configuration of 'default' config.
ℹ Local icons repository directory exists and contains 0 icons
ℹ Local icons repository directory exists and contains 0 icons
ℹ Local icons repository directory exists and contains 0 icons
ℹ Saving updated configuration of 'default' config.
ℹ Local icons repository directory exists and contains 0 icons
Error: 'sharp' is required to be installed in standalone mode for the image optimization to function correctly. Read more at: https://nextjs.org/docs/messages/sharp-missing-in-production
ℹ Local icons repository directory exists and contains 0 icons
ℹ Saving updated configuration of 'default' config.
ℹ Local icons repository directory exists and contains 0 icons
ℹ Saving updated configuration of 'default' config.
Error: 'sharp' is required to be installed in standalone mode for the image optimization to function correctly. Read more at: https://nextjs.org/docs/messages/sharp-missing-in-production
Error: 'sharp' is required to be installed in standalone mode for the image optimization to function correctly. Read more at: https://nextjs.org/docs/messages/sharp-missing-in-production
ℹ Local icons repository directory exists and contains 0 icons
Error: 'sharp' is required to be installed in standalone mode for the image optimization to function correctly. Read more at: https://nextjs.org/docs/messages/sharp-missing-in-production
ℹ Local icons repository directory exists and contains 0 icons
ℹ Local icons repository directory exists and contains 0 icons
Error: 'sharp' is required to be installed in standalone mode for the image optimization to function correctly. Read more at: https://nextjs.org/docs/messages/sharp-missing-in-production
ℹ Local icons repository directory exists and contains 0 icons
Error: 'sharp' is required to be installed in standalone mode for the image optimization to function correctly. Read more at: https://nextjs.org/docs/messages/sharp-missing-in-production
ℹ Local icons repository directory exists and contains 0 icons
ℹ Local icons repository directory exists and contains 0 icons
Error: 'sharp' is required to be installed in standalone mode for the image optimization to function correctly. Read more at: https://nextjs.org/docs/messages/sharp-missing-in-production
ℹ Local icons repository directory exists and contains 0 icons
Context
https://github.com/ajnart/homarr/assets/155933759/2415e06a-5407-499e-95a1-df355f2c0302
Please tick the boxes

[X] I confirm that I attached the proper logs
[X] I've read the docs
[X] I've checked for duplicate issues
[X] I've tried to debug myself

I just realised, I didn't click Exit and save to exit edit mode


Add parsing and decoding for byte arrays

Codecov Report

Merging #1385 into master will decrease coverage by 0.02%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #1385      +/-   ##
==========================================
- Coverage   86.09%   86.07%   -0.03%
==========================================
  Files          74       74
  Lines        2532     2535       +3
  Branches      105      105
==========================================
+ Hits         2180     2182       +2
- Misses        352      353       +1

Impacted Files
Coverage Δ

...jawn/src/main/scala/io/circe/jawn/JawnParser.scala
100% <100%> (ø)
:arrow_up:

...rc/main/scala/io/circe/numbers/BiggerDecimal.scala
85.38% <0%> (-0.59%)
:arrow_down:

.../core/shared/src/main/scala/io/circe/Decoder.scala
85.25% <0%> (-0.27%)
:arrow_down:

...re/shared/src/main/scala/io/circe/JsonNumber.scala
96.38% <0%> (ø)
:arrow_up:

...les/core/shared/src/main/scala/io/circe/Json.scala
80% <0%> (+0.6%)
:arrow_up:

Continue to review full report at Codecov.

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


Generate overloads that accept parameters of type ReadOnlySpan rather than string

Related issue: https://github.com/ImGuiNET/ImGui.NET/issues/397
Allowing to pass ReadOnlySpan<char> instead of string can reduce a lot of memory allocations on the heap. For example, this allocates 32 bytes:
int value = Random.Shared.Next(0, 10000);
ImGui.Text(value.ToString());

Of course, 32 bytes isn't much, but when you are drawing a lot of text, every frame, this quickly adds up to a lot of allocations resulting in many garbage collections.
With this PR it becomes possible to do things like this:
int value = Random.Shared.Next(0, 10000);
value.TryFormat(_charBuffer, out _);
ImGui.Text(_charBuffer.AsSpan());

This doesn't allocate any memory (tested with GC.GetAllocatedBytesForCurrentThread).
I've made changes to the code generator; no manual changes were done to the generated files. I've also tested the Text method with the ReadOnlySpan<char> overload in the ImGui.NET.SampleProgram. Do I need to do any more manual testing? Also, if this gets released, which version number do I pick?
Please let me know if I've missed anything.

this is amazing!!! just 1 small feedback before i can merge it.
The way this PR does it is not ideal since it's going to break everyones project who is using imgui.net (including mine, author of this lib, etc etc). This is because this PR replaced the old string overloads with the new span ones. IMO, they should be added as an extra set of methods.
Also, in a different PR/Issue, i am thinking of supporting ReadOnlySpan<byte> as well, that will reduce the unnecessary  UTF16->UTF8 conversions (basically the following block can be removed). Again, not part of this PR.
                filename_byteCount = Encoding.UTF8.GetByteCount(filename);
                if (filename_byteCount > Util.StackAllocationSizeLimit)
                {
                    native_filename = Util.Allocate(filename_byteCount + 1);
                }
                else
                {
                    byte* native_filename_stackBytes = stackalloc byte[filename_byteCount + 1];
                    native_filename = native_filename_stackBytes;
                }
                int native_filename_offset = Util.GetUtf8(filename, native_filename, filename_byteCount);
                native_filename[native_filename_offset] = 0;

The way this PR does it is not ideal since it's going to break everyones project who is using imgui.net (including mine, author of this lib, etc etc). This is because this PR replaced the old string overloads with the new span ones. IMO, they should be added as an extra set of methods.

Are you sure it's breaking? There is an implicit conversion from string to ReadOnlySpan, so I believe everything should still compile. https://learn.microsoft.com/en-us/dotnet/api/system.string.op_implicit?view=net-7.0

functions accepting ReadOnlySpan can accept strings, so its all fine actually.

sounds good, on the weekend, I am going to test it and then get this merged. thank you!

I have released version  v1.89.5b since cimgui isn't updated to 1.89.6.

Thanks for the merge! I think I broke the CI because the code generator was updated to .NET 7. Will have a look.

I think this should fix the CI. https://github.com/ImGuiNET/ImGui.NET/pull/408/files


Reimplementation of CameraHints

Leave the old functionality but deprecate it using [deprecated] in the description and "deprecated": true in the JSON schema. The old functionality can use your fixed script object, however.
Because of the name conflict, you'll have to change your new implementation to cameraHintsV2 or similar

does that mean I need to go back and re-add the patches I gutted out?


"args" called in function main() in embeddings.py even though not defined

Running pipeline.sh with user-specific input throws this error:
Traceback (most recent call last):
  File "/home/jupyter/ProteinNPT/scripts/pipeline.py", line 128, in <module>
    run_embeddings(
  File "/home/jupyter/ProteinNPT/scripts/embeddings.py", line 213, in main
    df = cleanup_ids_assay_data(df,indel_mode=args.indel_mode, target_seq=target_seq)
NameError: name 'args' is not defined

Deleting all occurrences of "args." in main() in embeddings.py solves the job

Thank you!


Create Real-time OLAP tutorial

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?


add fill time sheet html

add fill time sheet html

next time please provide an image so I don't have to clone the repo and check it

Not good enough.


 Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.
The current behavior
not work
The expected behavior
can work
OS
mac
Node version
v20.5.0.
Browser
CHrome

you might want to look at this https://react.dev/blog/2022/03/08/react-18-upgrade-guide
the migration from 17 to 18 is not straightforward because of concurrent rendering

Regrettably, the mentioned feature is not supported at present and is not included in our current plans. However, we would be delighted to review your pull request if you would like to contribute.


chore: add CODEOWNERS with "terraform" and "kubernetes" teams

@timja do you want to be added to the "terraform" team?

yes please


In 02-manual-operations.md Compute Engine API needs to be enabled

In 02-manual-operations.md the instruction:

glcoud compute instance create

will/may fail with a message to enable "enable Compute Engine API". The error message also gives the fix which is to follow the link and enable the API: https://console.developers.google.com/apis/api/compute.googleapis.com/overview?project=xxxxxxxxxxxx then retry

yep, I'm aware of it. If you have any suggestions on what we can add to the tutorial to avoid this error from happening or make it less confusing for people, that would be awesome. I will give it a thought too. Although, I think this error is not so critical as it gives you a solution on how to fix it.

I agree, if I see a fix I'll let you know. More familiar with AWS than GCP.

You also need billing setup (a credit card) even on Free Tier now if you try to create compute resource.


Enable .NET code analysis

Contributes to dotnet/docs#22727.
This PR enables .NET code analysis on all .csproj files in the repo. This PR enables the default analysis mode + all security rules enabled as build errors.

I verified that the code analysis runs at build time using the directory.build.props file.


[RFC] Use uninitialized dealloc in swift_deallocError

Current of implementation swift_deallocError produce assertion in code like this
import Foundation

func empty(_ error: Error?) {
}

func crash(_ error: NSError?) {
  empty(error)
}

crash(nil)

Assertion is here https://github.com/apple/swift/blob/master/stdlib/public/runtime/HeapObject.cpp#L678
assert(object->refCounts.isDeiniting());

When swift_deallocError called box have unowned count = 1, strong count = 0 and deiniting = false.
I am not sure is it correct way to avoid assertion, and would it work properlly in all cases. So would be cool if somebody looks into this.

I don't think this is the correct fix, since the error is initialized. @mikeash, have we seen anything like this?

I wasn't aware of any problems with this, but this does look like the correct fix. The SWIFT_OBJC_INTEROP version of swift_deallocError is:
/// destroyed.
void
swift::swift_deallocError(SwiftError *error, const Metadata *type) {
  object_dispose((id)error);
}

This fix adjusts the non-interop version to match. Assuming the ObjC version is correct (I imagine someone would have noticed by now if it weren't) this should be good.

My mistake! Can you add a test for this, then, Anton? test/stdlib/ErrorBridged.swift seems to be a good place.

Whoops, my poor Markdown skills resulted in most of the comment being hidden. Since it describes that the function is intended to deallocate an error object which has already been destroyed, that's kind of important!

@jrose-apple As I see test/stdlib/ErrorBridged.swift REQUIRES: objc_interop but this code instead executes only if interop disabled. Do you know some another good place for test? Or just create new test?

Ah, right. Well, we can't test NSError specifically in the Swift repo because swift-corelibs-foundation isn't available in the Swift tests, but this seems like a problem that would occur with any Error, or maybe any class that conforms to Error (as opposed to the usual struct or enum). If that's the case, then adding it to test/stdlib/Error.swift is probably good.

problem that would occur with any Error
With any error marked as @objc. But @objc also require to import Foundation

I was wrong simple enum errors also produce assertions. But I am still not clear how to test it.
Just add code which leads to assertion to test/stdlib/Error.swift and if assert occurs test fail?

The test should automatically fail on crash by default, so you should be able to make a simple test case that just triggers the failure case and returns. You can try running it with and without your fix to make sure it fails when it's supposed to.

You can have perhaps a separate PR against swift-corelibs-Foundation to add a test there, which is where we plan to have bridging tests for non-ObjC bridging.

Looks like original issue already fixed in master by https://github.com/apple/swift/pull/18937
Compiler does not emit deallocError at all in this case.
Maybe still actual in some other cases but I don't them.

cc @jckarter.
@mikeash, maybe we should just test this manually, by calling swift_deallocError directly? Or should it be an error to call it on an uninitialized buffer?

It can't be called on a completely uninitialized buffer. It calls through to either object_destroy (when ObjC interop is enabled) or swift_deallocObject which requires that they be deinitialized/uninitialized but otherwise valid objects.

@mikeash Can you look into this?
Original code which leads to issue:
import Foundation

func empty(_ error: Error?) { }
func crash(_ error: NSError?) { empty(error) }

SIL generated by swift-DEVELOPMENT-SNAPSHOT-2018-08-26-a-ubuntu16.04:
sil hidden @$S4test5crashyy10Foundation7NSErrorCSgF : $@convention(thin) (@guaranteed Optional<NSError>) -> () {
// %0                                             // users: %5, %4, %1
bb0(%0 : $Optional<NSError>):
  debug_value %0 : $Optional<NSError>, let, name "error", argno 1 // id: %1
  %2 = alloc_existential_box $Error, $NSError     // users: %10, %6, %3
  %3 = project_existential_box $NSError in %2 : $Error // user: %9
  retain_value %0 : $Optional<NSError>            // id: %4
  switch_enum %0 : $Optional<NSError>, case #Optional.some!enumelt.1: bb2, case #Optional.none!enumelt: bb1 // id: %5

bb1:                                              // Preds: bb0
  dealloc_existential_box %2 : $Error, $NSError   // id: %6
  br bb4                                          // id: %7

// %8                                             // user: %9
bb2(%8 : $NSError):                               // Preds: bb0
  store %8 to %3 : $*NSError                      // id: %9
  %10 = enum $Optional<Error>, #Optional.some!enumelt.1, %2 : $Error // user: %11
  br bb3(%10 : $Optional<Error>)                  // id: %11

// %12                                            // users: %15, %14
bb3(%12 : $Optional<Error>):                      // Preds: bb4 bb2
  // function_ref empty(_:)
  %13 = function_ref @$S4test5emptyyys5Error_pSgF : $@convention(thin) (@guaranteed Optional<Error>) -> () // user: %14
  %14 = apply %13(%12) : $@convention(thin) (@guaranteed Optional<Error>) -> ()
  release_value %12 : $Optional<Error>            // id: %15
  %16 = tuple ()                                  // user: %17
  return %16 : $()                                // id: %17

bb4:                                              // Preds: bb1
  %18 = enum $Optional<Error>, #Optional.none!enumelt // user: %19
  br bb3(%18 : $Optional<Error>)                  // id: %19
} // end sil function '$S4test5crashyy10Foundation7NSErrorCSgF'

SIL generated by swift-DEVELOPMENT-SNAPSHOT-2018-09-04-a-ubuntu16.04:
// crash(_:)
sil hidden @$S4test5crashyy10Foundation7NSErrorCSgF : $@convention(thin) (@guaranteed Optional<NSError>) -> () {
// %0                                             // users: %3, %2, %1
bb0(%0 : $Optional<NSError>):
  debug_value %0 : $Optional<NSError>, let, name "error", argno 1 // id: %1
  retain_value %0 : $Optional<NSError>            // id: %2
  switch_enum %0 : $Optional<NSError>, case #Optional.some!enumelt.1: bb2, case #Optional.none!enumelt: bb1 // id: %3

bb1:                                              // Preds: bb0
  br bb4                                          // id: %4

// %5                                             // user: %8
bb2(%5 : $NSError):                               // Preds: bb0
  %6 = alloc_existential_box $Error, $NSError     // users: %9, %7
  %7 = project_existential_box $NSError in %6 : $Error // user: %8
  store %5 to %7 : $*NSError                      // id: %8
  %9 = enum $Optional<Error>, #Optional.some!enumelt.1, %6 : $Error // user: %10
  br bb3(%9 : $Optional<Error>)                   // id: %10

// %11                                            // users: %14, %13
bb3(%11 : $Optional<Error>):                      // Preds: bb4 bb2
  // function_ref empty(_:)
  %12 = function_ref @$S4test5emptyyys5Error_pSgF : $@convention(thin) (@guaranteed Optional<Error>) -> () // user: %13
  %13 = apply %12(%11) : $@convention(thin) (@guaranteed Optional<Error>) -> ()
  release_value %11 : $Optional<Error>            // id: %14
  %15 = tuple ()                                  // user: %16
  return %15 : $()                                // id: %16

bb4:                                              // Preds: bb1
  %17 = enum $Optional<Error>, #Optional.none!enumelt // user: %18
  br bb3(%17 : $Optional<Error>)                  // id: %18
} // end sil function '$S4test5crashyy10Foundation7NSErrorCSgF'

As you can see alloc_existential_box moved into .some branch and dealloc_existential_box is eliminated. So no more issue in this case.
But I dont know is any other code can produce dealloc_existential_box for empty box

@jckarter thanks for example

Test added. Can anyone trigger ci?

@swift-ci Please test

Build failed
Swift Test OS X Platform
Git Sha - c59d755b004564e406551be9aa6d30625e837b9e

Build failed
Swift Test Linux Platform
Git Sha - c59d755b004564e406551be9aa6d30625e837b9e

All right, merging. Thanks, Anton!


Error from server (BadRequest): Upgrade request required with ALB

What kind of request is this (question/bug/enhancement/feature request):
BUG
Steps to reproduce (least amount of steps as possible):
Set up with ALB in Kubernetes
metadata:
  annotations:
    alb.ingress.kubernetes.io/actions.ssl-redirect: '{"Type": "redirect", "RedirectConfig":
      { "Protocol": "HTTPS", "Port": "443", "StatusCode": "HTTP_301"}}'
    alb.ingress.kubernetes.io/certificate-arn: REDACED
    alb.ingress.kubernetes.io/listen-ports: '[{"HTTP": 80}, {"HTTPS":443}]'
    alb.ingress.kubernetes.io/scheme: internet-facing
    kubernetes.io/ingress.class: alb

Result:
kubectl exec -it echoheaders-85bbd669fd-v7b2p -- bash
Error from server (BadRequest): Upgrade request required
Cluster information

Cluster type (Hosted/Infrastructure Provider/Custom/Imported): EKS
Machine type (cloud/VM/metal) and specifications (CPU/memory): t2.large
Kubernetes version (use kubectl version): 1.14.8

https://github.com/rancher/rancher/issues/17963

https://dev.to/aws-builders/kubectl-execport-forward-with-aws-alb-and-nginx-ingress-controller-4fn0


layouts css style

layout element具有默认class _nuxt和_layout，但是没有地方修改，导致我的page使用height:100%的时候并没有任何作用，目前只能使用
*{height:inherit}或者div{positon:absolute}改变对照父级，来处理这种情况

I see two options:

Add a custom app.html file? https://nuxtjs.org/docs/concepts/views/#document-apphtml inline style with a head <style> element in <head>
Import a global stylesheet in nuxt.config.js

For both cases, add your CSS properties to __nuxt and __layout.

you said it hasn't been changed, does that work for you? you can change as custom selector, check this https://nuxtjs.org/docs/configuration-glossary/configuration-global-name/

We are approaching the Nuxt 2 EOL date (June 30, 2024) - see this article for more information. I'm closing this issue as it's marked as a Nuxt 2 related enhancement and it's not a critical issue.
That doesn't mean it might not be relevant for Nuxt 3. If it is, please feel free to open a new issue (or just comment, and I can reopen it). 🙏
Thank you for your understanding and for your contribution to Nuxt! 🎉


Flutter web issue with script type=module on deployment

Steps to Reproduce

Create a flutter web project which uses firebase
Follow https://codewithandrea.com/tips/flutter-firebase-web-config-gitignore/ to modularize the firebase initialise app
Run it in debugger
Build and deploy the same
Expected results:

It should have worked exactly the same on debugger and deploy.
Actual results:
This solution works when running in local using the debugger but when built and deployed, firebase not initialised error gets thrown. console.log(firebase) inside that script worked but when i used that variable , it was undefined.
I think this is a flutter issue if it works on dart vm but not when built
Also after a  bit of searching I found module variables have to be attached to window to be treated as a global variable and this produced a very weird issue, I can now access the firebase and firebaseConfig variables on deployment, but when i run firebase.initializeApp(firebaseConfig) it says the app already exists despite throwing an error that its not initialized

Body of index.html is attached below
<body>
  <!-- This script installs service_worker.js to provide PWA functionality to
       application. For more information, see:
       https://developers.google.com/web/fundamentals/primers/service-workers -->
  <script>
    if ('serviceWorker' in navigator) {
      window.addEventListener('flutter-first-frame', function () {
        navigator.serviceWorker.register('flutter_service_worker.js');
      });
    }
  </script>

  <!--These versions are tricky official docs versions might not work-->
  <!--These versions are tricky official docs versions might not work-->
  <script src="https://www.gstatic.com/firebasejs/8.2.1/firebase-app.js"></script>
  <script src="https://www.gstatic.com/firebasejs/8.2.1/firebase-analytics.js"></script>
  <script src="https://www.gstatic.com/firebasejs/8.2.1/firebase-auth.js"></script>
  <script src="https://www.gstatic.com/firebasejs/8.0.1/firebase-firestore.js"></script>

  <script src="./firebase-config.js"></script>
  <script type="module">
    // Your web app's Firebase configuration
    // For Firebase JS SDK v7.20.0 and later, measurementId is optional

    import { firebaseConfig } from './firebase-config.js';

    // Initialize Firebase
    firebase.initializeApp(firebaseConfig);
    firebase.analytics();

    window.firebaseConfig = firebaseConfig;
    window.firebase = firebase;
  </script>
  <script type="text/javascript">
      window.flutterWebRenderer = "html";
  </script>
  <script src="main.dart.js?version=0.1.0" type="application/javascript"></script>
</body>

Logs

[  +98 ms] executing: [C:\Softwares\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +102 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +2 ms] b1395592de68cc8ac4522094ae59956dd21a91db
[   +1 ms] executing: [C:\Softwares\flutter/] git tag --points-at b1395592de68cc8ac4522094ae59956dd21a91db
[  +81 ms] Exit code 0 from: git tag --points-at b1395592de68cc8ac4522094ae59956dd21a91db
[        ] 2.0.4
[  +52 ms] executing: [C:\Softwares\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +61 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [C:\Softwares\flutter/] git ls-remote --get-url origin
[  +63 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[ +121 ms] executing: [C:\Softwares\flutter/] git rev-parse --abbrev-ref HEAD
[  +72 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[ +182 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[  +21 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +107 ms] executing: C:\Users\harin\AppData\Local\Android\sdk\platform-tools\adb.exe devices -l
[  +72 ms] List of devices attached
[   +7 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +3 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +109 ms] Multiple devices found:
[  +34 ms] Chrome (web) • chrome • web-javascript • Google Chrome 89.0.4389.128
[   +2 ms] Edge (web)   • edge   • web-javascript • Microsoft Edge 89.0.774.77
[   +3 ms] [1]: Chrome (chrome)
[        ] [2]: Edge (edge)
[   +2 ms] Please choose one (To quit, press "q/Q")
[        ] :
[+8550 ms] 1
[  +18 ms] Skipping pub get: version match.
[  +64 ms] Found plugin cloud_firestore at C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\cloud_firestore-0.16.0+1\
[  +10 ms] Found plugin cloud_firestore_web at C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\cloud_firestore_web-0.3.0+2\
[  +19 ms] Found plugin file_picker at C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\file_picker-2.1.7\
[   +2 ms] Found plugin firebase_auth at C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_auth-0.20.1\
[   +3 ms] Found plugin firebase_auth_web at C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_auth_web-0.3.3\
[   +2 ms] Found plugin firebase_core at C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core-0.7.0\
[   +4 ms] Found plugin firebase_core_web at C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core_web-0.2.1+3\
[   +2 ms] Found plugin firebase_storage at C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_storage-7.0.0\
[   +4 ms] Found plugin firebase_storage_web at C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_storage_web-0.1.1+3\
[  +10 ms] Found plugin flutter_plugin_android_lifecycle at
C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_plugin_android_lifecycle-1.0.11\
[  +22 ms] Found plugin image_picker at C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\image_picker-0.6.7+22\
[ +120 ms] Found plugin cloud_firestore at C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\cloud_firestore-0.16.0+1\
[   +4 ms] Found plugin cloud_firestore_web at C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\cloud_firestore_web-0.3.0+2\
[  +12 ms] Found plugin file_picker at C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\file_picker-2.1.7\
[   +2 ms] Found plugin firebase_auth at C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_auth-0.20.1\
[   +2 ms] Found plugin firebase_auth_web at C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_auth_web-0.3.3\
[   +1 ms] Found plugin firebase_core at C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core-0.7.0\
[   +3 ms] Found plugin firebase_core_web at C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core_web-0.2.1+3\
[   +2 ms] Found plugin firebase_storage at C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_storage-7.0.0\
[   +2 ms] Found plugin firebase_storage_web at C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_storage_web-0.1.1+3\
[   +5 ms] Found plugin flutter_plugin_android_lifecycle at
C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_plugin_android_lifecycle-1.0.11\
[  +12 ms] Found plugin image_picker at C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\image_picker-0.6.7+22\
[ +157 ms] Launching lib\main.dart on Chrome in debug mode...
[ +160 ms] Updating assets
[ +189 ms] Manifest contained wildcard assets. Inserting missing file into build graph to force rerun. for more information see #56466.
[   +5 ms] Waiting for connection from debug service on Chrome...
[  +29 ms] Found plugin cloud_firestore at C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\cloud_firestore-0.16.0+1\
[   +3 ms] Found plugin cloud_firestore_web at C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\cloud_firestore_web-0.3.0+2\
[  +11 ms] Found plugin file_picker at C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\file_picker-2.1.7\
[   +2 ms] Found plugin firebase_auth at C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_auth-0.20.1\
[   +3 ms] Found plugin firebase_auth_web at C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_auth_web-0.3.3\
[   +2 ms] Found plugin firebase_core at C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core-0.7.0\
[   +3 ms] Found plugin firebase_core_web at C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core_web-0.2.1+3\
[   +1 ms] Found plugin firebase_storage at C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_storage-7.0.0\
[   +2 ms] Found plugin firebase_storage_web at C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_storage_web-0.1.1+3\
[   +5 ms] Found plugin flutter_plugin_android_lifecycle at
C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_plugin_android_lifecycle-1.0.11\
[  +10 ms] Found plugin image_picker at C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\image_picker-0.6.7+22\
[  +69 ms] Found plugin cloud_firestore at C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\cloud_firestore-0.16.0+1\
[   +3 ms] Found plugin cloud_firestore_web at C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\cloud_firestore_web-0.3.0+2\
[   +7 ms] Found plugin file_picker at C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\file_picker-2.1.7\
[   +1 ms] Found plugin firebase_auth at C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_auth-0.20.1\
[   +2 ms] Found plugin firebase_auth_web at C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_auth_web-0.3.3\
[   +1 ms] Found plugin firebase_core at C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core-0.7.0\
[   +3 ms] Found plugin firebase_core_web at C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core_web-0.2.1+3\
[   +1 ms] Found plugin firebase_storage at C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_storage-7.0.0\
[   +2 ms] Found plugin firebase_storage_web at C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_storage_web-0.1.1+3\
ld\.dart_tool\package_config.json -Ddart.vm.profile=false
-Ddart.vm.product=false --enable-asserts --track-widget-creation --filesystem-root
C:\Users\harin\AppData\Local\Temp\flutter_tools.253e5d20\flutter_tools.1fcab193 --filesystem-scheme org-dartlang-app --initialize-from-dill
build\c7922d95bf4a2462b75c84a97c312edb.cache.dill.track.dill --platform file:///C:/Softwares/flutter/bin/cache/flutter_web_sdk/kernel/flutter_ddc_sdk.dill
--no-sound-null-safety
[  +19 ms] <- compile org-dartlang-app:/web_entrypoint.dart
Terminate batch job (Y/N)? y
PS C:\Codes\Uniworld> flutter run --verbose
[  +91 ms] executing: [C:\Softwares\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +94 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] b1395592de68cc8ac4522094ae59956dd21a91db
[   +1 ms] executing: [C:\Softwares\flutter/] git tag --points-at b1395592de68cc8ac4522094ae59956dd21a91db
[  +72 ms] Exit code 0 from: git tag --points-at b1395592de68cc8ac4522094ae59956dd21a91db
[        ] 2.0.4
[  +53 ms] executing: [C:\Softwares\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +58 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [C:\Softwares\flutter/] git ls-remote --get-url origin
[  +54 ms] Exit code 0 from: git ls-remote --get-url origin
[   +1 ms] https://github.com/flutter/flutter.git
[  +93 ms] executing: [C:\Softwares\flutter/] git rev-parse --abbrev-ref HEAD
[  +53 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[ +100 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[   +2 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +4 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +70 ms] executing: C:\Users\harin\AppData\Local\Android\sdk\platform-tools\adb.exe devices -l
[  +52 ms] List of devices attached
[   +5 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +3 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +98 ms] Multiple devices found:
[  +32 ms] Chrome (web) • chrome • web-javascript • Google Chrome 89.0.4389.128
[   +2 ms] Edge (web)   • edge   • web-javascript • Microsoft Edge 89.0.774.77
[   +2 ms] [1]: Chrome (chrome)
[        ] [2]: Edge (edge)
[   +2 ms] Please choose one (To quit, press "q/Q")
[        ] :
[+2934 ms] 1
[  +15 ms] Skipping pub get: version match.
[  +69 ms] Found plugin cloud_firestore at C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\cloud_firestore-0.16.0+1\
[  +10 ms] Found plugin cloud_firestore_web at C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\cloud_firestore_web-0.3.0+2\
[  +19 ms] Found plugin file_picker at C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\file_picker-2.1.7\
[   +2 ms] Found plugin firebase_auth at C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_auth-0.20.1\
[   +4 ms] Found plugin firebase_auth_web at C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_auth_web-0.3.3\
[   +2 ms] Found plugin firebase_core at C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core-0.7.0\
[   +4 ms] Found plugin firebase_core_web at C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core_web-0.2.1+3\
[   +2 ms] Found plugin firebase_storage at C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_storage-7.0.0\
[   +4 ms] Found plugin firebase_storage_web at C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_storage_web-0.1.1+3\
[  +11 ms] Found plugin flutter_plugin_android_lifecycle at
C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_plugin_android_lifecycle-1.0.11\
[  +23 ms] Found plugin image_picker at C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\image_picker-0.6.7+22\
[ +119 ms] Found plugin cloud_firestore at C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\cloud_firestore-0.16.0+1\
[   +5 ms] Found plugin cloud_firestore_web at C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\cloud_firestore_web-0.3.0+2\
[  +14 ms] Found plugin file_picker at C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\file_picker-2.1.7\
[   +2 ms] Found plugin firebase_auth at C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_auth-0.20.1\
[   +3 ms] Found plugin firebase_auth_web at C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_auth_web-0.3.3\
[   +2 ms] Found plugin firebase_core at C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core-0.7.0\
[   +2 ms] Found plugin firebase_core_web at C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core_web-0.2.1+3\
[   +2 ms] Found plugin firebase_storage at C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_storage-7.0.0\
[   +3 ms] Found plugin firebase_storage_web at C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_storage_web-0.1.1+3\
[   +6 ms] Found plugin flutter_plugin_android_lifecycle at
C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_plugin_android_lifecycle-1.0.11\
[  +13 ms] Found plugin image_picker at C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\image_picker-0.6.7+22\
[ +183 ms] Launching lib\main.dart on Chrome in debug mode...
[ +173 ms] Updating assets
[ +210 ms] Manifest contained wildcard assets. Inserting missing file into build graph to force rerun. for more information see #56466.
[   +4 ms] Waiting for connection from debug service on Chrome...
[  +35 ms] Found plugin cloud_firestore at C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\cloud_firestore-0.16.0+1\
[   +3 ms] Found plugin cloud_firestore_web at C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\cloud_firestore_web-0.3.0+2\
[  +11 ms] Found plugin file_picker at C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\file_picker-2.1.7\
[   +1 ms] Found plugin firebase_auth at C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_auth-0.20.1\
[   +3 ms] Found plugin firebase_auth_web at C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_auth_web-0.3.3\
[   +2 ms] Found plugin firebase_core at C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core-0.7.0\
[   +3 ms] Found plugin firebase_core_web at C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core_web-0.2.1+3\
[   +1 ms] Found plugin firebase_storage at C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_storage-7.0.0\
[   +3 ms] Found plugin firebase_storage_web at C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_storage_web-0.1.1+3\
[   +4 ms] Found plugin flutter_plugin_android_lifecycle at
C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_plugin_android_lifecycle-1.0.11\
[  +11 ms] Found plugin image_picker at C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\image_picker-0.6.7+22\
[  +74 ms] Found plugin cloud_firestore at C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\cloud_firestore-0.16.0+1\
[   +3 ms] Found plugin cloud_firestore_web at C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\cloud_firestore_web-0.3.0+2\
[  +10 ms] Found plugin file_picker at C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\file_picker-2.1.7\
[   +1 ms] Found plugin firebase_auth at C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_auth-0.20.1\
[   +2 ms] Found plugin firebase_auth_web at C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_auth_web-0.3.3\
[   +1 ms] Found plugin firebase_core at C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core-0.7.0\
[   +2 ms] Found plugin firebase_core_web at C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core_web-0.2.1+3\
[   +1 ms] Found plugin firebase_storage at C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_storage-7.0.0\
[   +3 ms] Found plugin firebase_storage_web at C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_storage_web-0.1.1+3\
[   +5 ms] Found plugin flutter_plugin_android_lifecycle at
C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_plugin_android_lifecycle-1.0.11\
[  +12 ms] Found plugin image_picker at C:\Softwares\flutter\.pub-cache\hosted\pub.dartlang.org\image_picker-0.6.7+22\
[ +120 ms] <- reset
[  +10 ms] C:\Softwares\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev
C:\Softwares\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root C:\Softwares\flutter\bin\cache\flutter_web_sdk/
--incremental --target=dartdevc --debugger-module-names --experimental-emit-debug-metadata -DFLUTTER_WEB_AUTO_DETECT=true --output-dill
C:\Users\harin\AppData\Local\Temp\flutter_tools.5e41b38e\flutter_tool.d0af6921\app.dill --libraries-spec
file:///C:/Softwares/flutter/bin/cache/flutter_web_sdk/libraries.json --packages C:\Codes\Uniworld\.dart_tool\package_config.json -Ddart.vm.profile=false
-Ddart.vm.product=false --enable-asserts --track-widget-creation --filesystem-root
C:\Users\harin\AppData\Local\Temp\flutter_tools.5e41b38e\flutter_tools.d4978147 --filesystem-scheme org-dartlang-app --initialize-from-dill
build\c7922d95bf4a2462b75c84a97c312edb.cache.dill.track.dill --platform file:///C:/Softwares/flutter/bin/cache/flutter_web_sdk/kernel/flutter_ddc_sdk.dill
--no-sound-null-safety
[  +43 ms] <- compile org-dartlang-app:/web_entrypoint.dart
[+27213 ms] Waiting for connection from debug service on Chrome... (completed in 27.6s)
[   +1 ms] Synced 39.2MB.
[        ] <- accept
[        ] Caching compiled dill

[√] Flutter (Channel stable, 2.0.4, on Microsoft Windows [Version 10.0.19042.928], locale en-IN)
    • Flutter version 2.0.4 at C:\Softwares\flutter
    • Framework revision b1395592de (2 weeks ago), 2021-04-01 14:25:01 -0700
    • Engine revision 2dce47073a
    • Dart version 2.12.2

[√] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at C:\Users\harin\AppData\Local\Android\sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: C:\Softwares\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Android Studio (version 4.1.0)
    • Android Studio at C:\Softwares\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[√] Connected device (2 available)
    • Chrome (web) • chrome • web-javascript • Google Chrome 89.0.4389.128
    • Edge (web)   • edge   • web-javascript • Microsoft Edge 89.0.774.77

• No issues found!

Hi @Hari-07
I can't find any  type="module" references related to  Flutter
From what I can see, the issue is related to a FlutterFire plugin rather than to Flutter itself. Please open the issue in the dedicated repository.
Closing, as this isn't an issue with Flutter itself.
If you disagree, please write in the comments,  providing your flutter doctor -v, your pubspec.yaml, a minimal reproducible code sample that does not use 3rd party plugins, your complete flutter run -v logs running the minimal code sample
and I will reopen it.
Thank you


Adding new rebus puzzles

Associated Issue: #121
Summary of Changes

Added 12 new rebus puzzles

Pull Request Test Coverage Report for Build 518

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 87.143%

Totals

Change from base Build 514:
0.0%

Covered Lines:
158

Relevant Lines:
180

💛  - Coveralls


Added function to get donwloaded size

Thanks! Could the rustfmt be held off for another time though?

Oh, yes. Sorry. My IDE runs rust format automatically. Ill fix it

Hopefully that works better

Awesome, thanks!


Add function copy_examples()

It would be nice if such a function would be available to make it easier for the end user to run the examples without using git.

Implemented and tested.


Use Routes.MockRepoApi when testing

Summary of changes
Asana Ticket: Configure test env to use Routes.MockRepoApi anywhere we currently call Routes.Repo
This way we have a mock repo for routes and we don't need to make unnecessary calls.

I think the codecov report might be another "false positive"  😞

I think the codecov report might be another "false positive"  😞


Adding delete action to input/output LWRPs

It'd be useful to have a delete action on the input and output LWRPs when cleaning up an old one.

Thanks, can you add a note to the CHANGELOG under unreleased?  https://github.com/NorthPage/telegraf-cookbook/blob/master/CHANGELOG.md#unreleased
Then I'll merge it up!

@fishnix added!
Thanks!


[Draft] Merge horizon-v2.28.2 back into master

What
Self-explanatory.
Why
Self-explanatory.
This is a very precarious merge (lots of conflicts were resolved) so I'd appreciate multiple eyes on it for sanity checking.

Borked this up, ignore!


How do I build js and css without random number?

Is there a way I can build production css and js file without the random generated number at the file?
For example, every time I build I get something like this main.a31171f1.css and main.a31171f1.js. I need this because I want to be able to fix that in my index.html.
Thanks.

You can see here for what it is and why it is useful https://webpack.github.io/docs/long-term-caching.html.
You could edit your build script to run a shell script afterwards and rename them.

Yes, I'm not sure why you need to remove those "random generated number" (also, it is not random, it is a hash based on your file content, which is, as @tbillington explained, useful for caching)
Beside tbillington's solution, you can also eject or fork CRA and make your change in the config file (like this line is what cause the hash in the name of CSS file)

Thanks, the reason is that because we use DFP and it takes about 15 min for DFP to change the HTML. So, we just upload the main.js and main.css to S3 and serve from there instead. Thanks for the suggestion I'll eject CRA and do that.

@noppanit Just for posterity, my build looks like this
"build": "react-scripts build && npm run build:clean",
"build:clean": "cd build && mv static/js/*.js main.js && mv static/css/*.css main.css && rm -r static",

@tbillington Thanks! that's exactly what I ended doing.

Instead of removing hashes and thus potentially breaking your website for people who have cached some of the files but not the others, could you merge the old and new build folders? Since the hashes are based on content, you won't have name clashes. Keep old files together with new files for a single deploy, then do the same for the next deploy. And you don't need to eject; just add your custom script to scripts section in package.json.
  "deploy": "node scripts/my-custom-deploy-script.js"

Thanks a lot! I'll try that.

Just wanted to salt this discussion with my hash: I also need some hash-less filenames, because I digest  the static files with Phoenix, which does the hashing itself. The asset-manifest doesn't work here, so maybe you should reconsider a option for hash-less filesnames.
Renaming is a workaround, but ... does CRA support Chunks? If yes, renaming would be painful.

@Valentin-Seehausen: is this what you mean? https://github.com/facebookincubator/create-react-app/blob/59acae6ab26424837f881751eb261519d133e98f/packages/react-scripts/config/webpack.config.prod.js#L76

Jap, code splitting. Ok, so CRA supports it secretly? :)
-> So renaming is not a long-term solution. How do I handle this hashing issue?

One way I got around dealing with this issue and putting the output where I want is to just
mv -f src/file-hash.js  dest/file-what-i-want
in my npm scripts after the build. I don't know if this is the best way, but It seems to work for me and just a quick hacky suggestion

When you run build, a file called asset-manifest.json (if I recall correctly) appears in the build folder. It contains the list of all files. You can use read it in a post build step and then do anything you like (such as use that info for rewriting Chrome extension manifest).
Hope this helps.

@gaearon @danieldram thanks for the quick replies!
For using the asset-manifest, I would still need to set a watch on it if I intend to use r-c-a npm start right?
What I'm saying is, when I edit some code, and webpack runs and all my new code gets dumped into build/, I'd still need a way to trigger a change to my chrome manifest.json file - that would be that part that would read the new values in asset-manifest and use them accordingly.

The asset manifest only gets created on npm run build. There are no physical files created during npm start anyway, so three is nothing to copy. For a watching mode that write on disk in development, please track https://github.com/facebookincubator/create-react-app/issues/1070.

Using Mr. Abramov's mention of asset-manifest.json, I created this script a person could run if they use node.js:
const fs = require('fs');

// Put manifest.json contents into an Object
let manifest = JSON.parse(fs.readFileSync('build/manifest.json', 'utf8'));

// Get hashes from asset-manifest.json
const hashes = JSON.parse(fs.readFileSync('build/asset-manifest.json', 'utf8'));

// Update manifest with extracted hashes
manifest.content_scripts[0].css[0] = hashes['main.css'];
manifest.content_scripts[0].js[0] = hashes['main.js'];

// Write updated manifest.json
fs.writeFileSync('build/manifest.json', JSON.stringify(manifest, null, 2));

Something that I was able to do with React Rewired (https://github.com/timarney/react-app-rewired). I will say that if you are really overriding a lot in the future, it might be worth ejecting.
`// config-overrides.js
module.exports = {
webpack: function(config, env) {
if (env === "production") {
//JS Overrides
config.output.filename = 'static/js/[name].js';
config.output.chunkFilename = 'static/js/[name].chunk.js';
  //CSS Overrides
  config.plugins[4].filename = 'static/css/[name].css';

  //Media and Assets Overrides
  config.module.rules[1].oneOf[0].options.name = 'static/media/[name].[ext]';
  config.module.rules[1].oneOf[3].options.name = 'static/media/[name].[ext]';
}

return config;

}
};`


package upgrading

i saw the msi project you did which is really nice.

once you make a nice package, you will also need to upgrade the packages deployed.
I have seen many of them, but i noticed this one is really well done and because its part of syncthing its very well battle tested.
https://github.com/syncthing/syncthing/tree/master/lib/upgrade
This can be used to upgrade Desktop apps as well as servers.
What do you think ?
--

also on another area because i build desktop apps with golang, i have started to use a new alternative to Electron. Its called Gallium.

https://github.com/alexflint/gallium
i think that maybe you might want to integrate this too since your building a golang centric stack.

About upgrade,
I think this should be extracted into its own module.
So that you can bootstrap your app with it, or call an handler following some triggers, to realize the upgrade.
Note their upgrade system is based solely on zip-like archives.
Regarding gallium, its an awesome project, thanks for the tip! I only regret it is so fat, 92Mb :x
Would be great to check on gallium-bundle command to understand how the osx bundling works.
https://github.com/alexflint/gallium/blob/master/cmd/gallium-bundle/bundle.go
thanks for sharing, its nice opening for future updates.

thanks for the feedback. nice tips.
About them using zip archives. Yes i think it will get changed soon. We are still getting the basic going.


Autoinstall will throw an error in Vue 3.

Vue 3 no longer provides a use() function on the global Vue object - plugins are installed on app instances.
So this line will throw an error:
https://github.com/vue-a11y/vue-focus-loop/blob/006081317c9c4605b4d41a36111f4dd5c8242236/src/plugin.ts#L13

🤦♂ I didn't even remember that.
Thanks @LinusBorg

🤦♂ I didn't even remember that.
Thanks @LinusBorg


Cleaned mic analysis code and manifest file

In this pr the manifest file is cleaned, and the figures and documentation are slightly updated. Any constructive feedback is appreciated when reviewing.

Thanks @jenna-tomkinson for the review. Merging now


Mention how to contribute to CNCF in the landscape guide

Some people check the CNCF landscape to find out projects that are interesting to them for contribution.
Can we have a link to https://contribute.cncf.io/contributors/getting-started/ somewhere in the guide?
A text that targets people who are looking for projects to contribute to?

sure, send a PR? it could be in the intro section
https://landscape.cncf.io/guide
On Thu, May 18, 2023 at 12:20 AM Ali Ok @.***> wrote:

Some people check the CNCF landscape to find out projects that are
interesting to them for contribution.
Can we have a link to
https://contribute.cncf.io/contributors/getting-started/ somewhere in the
guide?
A text that targets people who are looking for projects to contribute to?
—
Reply to this email directly, view it on GitHub
https://github.com/cncf/landscape/issues/3197, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAPSIJAY7W5ACWL5PQVA3TXGXETRANCNFSM6AAAAAAYGCXJ5M
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

--
Cheers,
Chris Aniszczyk
https://aniszczyk.org

@caniszczyk Are you suggesting it should be somewhere on the https://landscape.cncf.io/ page?

@Lucif3r-in - adding it on the Landscape Guide page would be ideal.

@onlydole We can add OpenSource Contribution below Summary: Cloud Native Landscape and display it in the sidebar. Will that be good? I would like to work on this.
I observed the arrow toggles for dropdowns are not working in the sidebar!!

@Lucif3r-in I would have a new entry under the "Introduction" section,  after "How to use this guide".
Thanks for your contribution in advance.

I observed the arrow toggles for dropdowns are not working in the sidebar!!
I guess image was used for the dropdown arrows so they are of different sizes according to the text it follows.

Feel free to create a ticket for that and to work on it separately.

@aliok I was trying to start server but it's taking eternity. Adding the section to guide.md will automatically add it to sidebar or I have to add it somewhere? If that would be the case I would just push the content.

Does this look good? @aliok

@Lucif3r-in I think it looks good 🎉  Please create a PR so that folks can add comments.

@aliok Please check PR #3206


TDL loaded driver gets unloaded

Hallo, i'm trying to load the dummy-driver with TDL.
(cmd as admin: Furutaka dummy.sys)
The dummy driver gets loaded and prints a debugmessage to windbg.
But when i look after that into driverview or processhacker, the driver isnt loaded.
It seems, that the driver gets unloaded by the system?
I also can't communicate with the driver.
How can i fix this problem?
The System is Windows 10 x64 (1703 - 15063.540).
Thank you for building this awesome Tool!

You must be don't understand purpose of this loader or how it work. It doesn't use Windows loader to map driver, so why it should be listed in Windows loader list?

well since the last issue is a little out of context (the msg above) & since i have tested tdl on multiple platforms & native machine's & vm's. i can inform you that on win 10.0.15063 (latest stable release) it WORKS PERFECTLY  well while using dummy.sys (NO PROBLEMS AT ALL!). but if you try to load dummy2.sys, then it KeBugCheckEx with irql_not_less_or_equal. from the dmp file this is due to a WRITE & EXECUTE  error to a pageble/invalid address & it persists on any native machine/vm that i have tested. given a link to the minidmp zipped & the debugging session in plain text. THIS IS NOT AN ISSUE but sharing my testing on this project. idk if you addressed that already, anyways i admire your work very much, and i think that this project is important as it simply bypass one of windows major 'security features' and i think that there should exist at least one of those for every win update. ty for making this project an open source! link: (github download http://tiny.cc/1iebny the zipped dmp + session)

https://github.com/hfiref0x/TDL/issues/15


Which is the ultimate metric for the Semantic image segmentation track?

The script gives several averages: first the all class average (show on confusion_matrix.png), then an average over groups (shown on confusion_matrix_meta_2.png) and finally an average over less groups (shown on confusion_matrix_meta_1.png). Which of these 3 averages is the most important, which should we optimize for?

The final metric for image segmentation is the average IoU over all evaluated categories. It is showed on confusion_matrix.png from now on.
Due to a bug, it averaged over all categories until yesterday, so please ensure that you are on the latest version before optimizing

Great, thanks for clarification!


Ownership grants

Hello!

Vote on this issue by adding a 👍 reaction
If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)

Issue details
I can see that ownership grants are only applied to a handful of resources.
For example:

RoleOwnershipGrant
UserOwnershipGrant

I'm wondering if there are plans for adding ownership grants to other resources?
It would be very useful for declaring who the owner is for databases, warehouses, schemas, functions, etc.
Affected area/feature
I suspect it will mean defining new *OwnershipGrant files similar to this RoleOwnershipGrant.py. I'd be keen to get some pointers. Thank you.

Hi @jty-cva! Is what you're asking for different from FunctionGrant, DatabaseGrant, and similar types? Sorry if I misunderstood your question.

Hi @thomas11 ! Thanks for the response.
I believe they are different because DatabaseGrant grants PRIVILEGES.
Following Snowflake docs, there is a distinction between:

Granting privileges
Granting ownership of a resource

I could be wrong, I don't think this will work:
grant = snowflake.DatabaseGrant("grant",
    database_name="db",
    privilege="OWNERSHIP", # ownership is not a privilege
    roles=[
        "role1",
        "role2", # ownership can only be given to one role, a list is not the right type
    ],
    shares=[
        "share1",
        "share2",
    ],
    with_grant_option=False)

Hey @jty-cva, I haven't used the Snowflake provider myself but it seems that "OWNERSHIP" is actually a valid privilege. See, for instance, the SchemaGrant docs. It could be that roles should then only have a length of 1, I'd need to verify that separately. Maybe you could try it out? Thanks!

Thanks let me get back to you on this!

I can confirm the ownership grants work for databases, schemas, and warehouses. If privilege is set to OWNERSHIP, they perform the grant ownership action.
Closing this now.


[SPARK-11432][GraphX] Personalized PageRank shouldn't use uniform initialization

Changes the personalized pagerank initialization to be non-uniform.

Jenkins, add to whitelist.

Can one of the admins verify this patch?

Jenkins, ok to test.

Merged build triggered.

Merged build started.

Test build #44711 has started for PR 9386 at commit d7f2edc.

Test build #44711 has finished for PR 9386 at commit d7f2edc.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/44711/
Test PASSed.

Seems that the implementation of personalized page rank doesn't follow the twitter's paper entirely when initializing the initial page rank. In the paper, only the source node should be activated. This PR addresses this issue.
+cc @dwmclary @ankurdave @rxin @jegonzal for more feedback.
Thanks.

If I recall, we specifically decided against a conditional in the BSP function at that point because the branching might causes hotspots.  If that's still a concern, maybe @jegonzal can comment.  Otherwise, this looks good to me -- nice catch.

I think the branching should be fine since it's just initialization.

Yes, I agree, it shouldn't add overhead.
Sent from my iPhone

On Nov 2, 2015, at 4:35 PM, DB Tsai<EMAIL_ADDRESS>wrote:
I think the branching should be fine since it's just initialization.
—
Reply to this email directly or view it on GitHub.

This is actually a pretty serious error since it could lead to mass being accumulated on unreachable sub-graphs.  The performance implications of the above branch should be negligible.

Jenkins, ok to test.

Merged build triggered.

Merged build started.

Test build #44875 has started for PR 9386 at commit ebf0726.

Test build #44875 has finished for PR 9386 at commit ebf0726.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/44875/
Test PASSed.

LGTM. Thanks, merged into master.

Many thanks @dbtsai

I backported this patch to branch-1.5 and 1.4.


Bugfix field-file preview

The field preview on collection entries page for field-file is broken. This PR fixes it.

Thanks!


Rotating a Sprite2D in the AnimationPlayer in v4.3.beta1 from 0 to 360 does not work

Tested versions
Reproduce in v 4.3.beta1.
It does work in 4.2.2
System information
Windows 11 - Godot 4.3.beta1
Issue description
Sprite does not rotate from 0 to 360 degrees using the AnimationPlayer.
Steps to reproduce
Using a Node2D with a Sprite2D and an AnimationPlayer as a child add the rotation as a track to the AnimationPlayer.
Add a tkey for the start and the end for lets say 0.5 seconds.
Start key = 0 degrees
End key = 360 degrees.
Set replay true
Expectation: Rotates in circles.
Result: Stands still.
Minimal reproduction project (MRP)
MRP422.zip
MRP431.zip

To work around this you can add a key in the middle on 180 degrees and set the last one to -360 degrees.

I believe this is expected behavior as it will take the shortest path between the two values, and therefore not move at all, 360 degrees and 0 degrees are the same rotation
Just to confirm does it also happen with, for example 359 degrees?

When using anything from 181 to 359 it will rotate the total amount in the opposite direction so 355 would be like a 5 degrees momvement in the opposite direction. 181 would be 179 in the opposite direction.

Not sure if this has to be a seperate issue but when you set the roation to anything but interpolation mode it just starts rotating uncontrolably.

Reproduce in v 4.3.beta1.
It does work in 4.2.2

The behavior between the provided MRPs differs because of different interpolation modes:

MRP422.zip
MRP431.zip

Meaning both provided MRPs test the behavior for different settings, and hence different results are expected.

For "linear" animating from 0 to 360 resulting in full circle rotation is correct.
For "linear angle" animating from 0 to 360 resulting in no rotation is correct.

So I don't see incorrect behavior here.

What has changed between the versions is the default interpolation mode when creating the track for the rotation property. As in the MRPs:

in v4.2.2.stable.official [15073afe3] it's "linear",
in v4.3.beta1.official [a4f2ea91a] it's "linear angle".

It's changed since v4.3.dev2.official [352434668], seems intentinally introduced by #86630. @TokageItLab


Error detected while processing TextChangedI Autocommands for "*":

so i'm on nixos-unstable and i have a file called init.lua in that file i have this line
vim.keymap.set("n", "<leader>ff", builtin.find_files, {})

so in this line u can see those "{}" if i remove them and then i  type "{" it gives me this long error

I think I got this too:
Error detected while processing TextChangedI Autocommands for "*":
Error executing lua callback: Vim:E220: Missing }.
stack traceback:
        [C]: in function 'getcompletion'
        ...cal/share/nvim/lazy/cmp-cmdline/lua/cmp_cmdline/init.lua:136: in function 'exec'
        ...cal/share/nvim/lazy/cmp-cmdline/lua/cmp_cmdline/init.lua:202: in function 'complete'
        .../will/.local/share/nvim/lazy/nvim-cmp/lua/cmp/source.lua:326: in function 'complete'
        /home/will/.local/share/nvim/lazy/nvim-cmp/lua/cmp/core.lua:299: in function 'complete'
        /home/will/.local/share/nvim/lazy/nvim-cmp/lua/cmp/core.lua:169: in function 'callback'
        /home/will/.local/share/nvim/lazy/nvim-cmp/lua/cmp/core.lua:229: in function 'autoindent'
        /home/will/.local/share/nvim/lazy/nvim-cmp/lua/cmp/core.lua:161: in function 'on_change'
        /home/will/.local/share/nvim/lazy/nvim-cmp/lua/cmp/init.lua:340: in function 'callback'
        ...local/share/nvim/lazy/nvim-cmp/lua/cmp/utils/autocmd.lua:49: in function 'emit'
        ...local/share/nvim/lazy/nvim-cmp/lua/cmp/utils/autocmd.lua:23: in function <...local/share/nvim/lazy/nvim-cmp/lua/cmp/utils/autocmd.lua:22>

Looks related: https://github.com/hrsh7th/cmp-cmdline/issues/73

I think I got this too:
Error detected while processing TextChangedI Autocommands for "*":
Error executing lua callback: Vim:E220: Missing }.
stack traceback:
        [C]: in function 'getcompletion'
        ...cal/share/nvim/lazy/cmp-cmdline/lua/cmp_cmdline/init.lua:136: in function 'exec'
        ...cal/share/nvim/lazy/cmp-cmdline/lua/cmp_cmdline/init.lua:202: in function 'complete'
        .../will/.local/share/nvim/lazy/nvim-cmp/lua/cmp/source.lua:326: in function 'complete'
        /home/will/.local/share/nvim/lazy/nvim-cmp/lua/cmp/core.lua:299: in function 'complete'
        /home/will/.local/share/nvim/lazy/nvim-cmp/lua/cmp/core.lua:169: in function 'callback'
        /home/will/.local/share/nvim/lazy/nvim-cmp/lua/cmp/core.lua:229: in function 'autoindent'
        /home/will/.local/share/nvim/lazy/nvim-cmp/lua/cmp/core.lua:161: in function 'on_change'
        /home/will/.local/share/nvim/lazy/nvim-cmp/lua/cmp/init.lua:340: in function 'callback'
        ...local/share/nvim/lazy/nvim-cmp/lua/cmp/utils/autocmd.lua:49: in function 'emit'
        ...local/share/nvim/lazy/nvim-cmp/lua/cmp/utils/autocmd.lua:23: in function <...local/share/nvim/lazy/nvim-cmp/lua/cmp/utils/autocmd.lua:22>

Looks related: #73

bleh finally someone


Im/remove constant padding

Small PR to remove constant padding and always assume padding is set correctly by the decoder. By default border padding in decoder now matches border padding in encoder - please let me know @Runjing-Liu120 if you have any suggestions! I will really especially appreciate you review of sleep.py/encoder.py/decoder.py. Thanks! (you can ignore the other diffs)
I also added slen as metadata for the batch (this is ultimately necessary to get locs to be consistent)
Note: Everything is passing in the GPU. I removed one test that will be easier to do once #135 is closed.

Thanks for the helpful review @Runjing-Liu120 !


Update sbt-pack to 0.14

Updates org.xerial.sbt:sbt-pack from 0.13 to 0.14.
GitHub Release Notes - Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.xerial.sbt", artifactId = "sbt-pack" } ]

labels: sbt-plugin-update

Superseded by #74.


Bug: SwapInfo includes msat amount in field named paid_sats

As the title describes, I found that the swap info struct being returned from list_payments provides the paid msat amount instead of the sat amount.
After a quick inspection of the source code, indeed, the msat amount is being persisted in the db into a column named paid_sats.
It should be a trivial fix. It's just a matter of deciding if it makes sense to fix it by persisting the sat amount of changing the column name and variables to paid_msats.

I leaning toward changing the column name since we have the lightning payment in msat?


Add blog post on DeCodeCafe podcast

@rahulkhinchi03 and @Vyom-Yadav, please take a look and check the links. Please feel free to make any changes to it as soon as you accept the invitation to collaborate :grin:
My website is based on the default GitHub Pages template, which I have modified little by little to suit my needs over time. It uses Jekyll and Kramdown to render the original Markdown source into a proper HTML page. For instance, the original template doesn't allow for more than one author, which I added in f0ab5c2.
To test locally, simply clone the repo and follow the instructions I put in the README.md file. Please don't hesitate to ask me anything to make this blog post happen!
TODO:
[ ] refine the authors comma-separated list generator to remove the space before commas

Thanks for the feedback! I've just pushed a commit to fix the Markdown formatting for links in the first paragraph. I use this Markdown cheatsheet btw: https://commonmark.org/help/

Let's wait for @Vyom-Yadav 's feedback before merging it.

Sure, I will review it in few hours, going to the gym rn 😄


typo Remediation means taking a proscribed action . should be prescribed

[Enter feedback here]

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

ID: badda2b8-bdb2-0518-18e4-35940e506c9b
Version Independent ID: b7045ea1-ca2a-5bd3-0149-f7baed6fe6cf
Content: Remediate malicious email that was delivered in Office 365 - Office 365
Content Source: microsoft-365/security/office-365-security/remediate-malicious-email-delivered-office-365.md
Service: o365-seccomp
GitHub Login: @MSFTTracyP
Microsoft Alias: tracyp

@replyxf Thank you for your feedback. We have made changes to the document via PR#https://github.com/MicrosoftDocs/microsoft-365-docs/pull/3263
Thanks
Sri

@msbemba Thank you very much for the contribution and updating the documentation with PR. @replyxf Hope this update is helpful for you. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


RuntimeException: Window couldn't find content container view GestureTracker.trackGestures

We have started getting this crash in our app

All of these crashes are happening on Android 6.0 devices. We recently set target SDK to 29, not sure if it could have any issues or not

hi @shah-nishant Please try the latest version https://github.com/mixpanel/mixpanel-android/releases/tag/v5.8.6. It has a fix for it. Thanks for bringing it up.

hi @shah-nishant Please try the latest version https://github.com/mixpanel/mixpanel-android/releases/tag/v5.8.6. It has a fix for it. Thanks for bringing it up.

I'm closing this one now, please feel free to reopen it if the problem still exists.

I'm closing this one now, please feel free to reopen it if the problem still exists.


Decide how to present match day information

Description of Problem:
When the matches for today are posted as a message, I want to be able to read all of the information associated with all of those matches all in one place, so I can plan my viewing schedule for that day.
Context
Discord only provides the bare rudiments of formatting control, and, specifically problematic for this bot, doesn't provide any way to display tabular data.  This is problematic because a table is the natural way to present a potentially long list of soccer matches, each of which has multiple data elements (date, time, competition / league, home team, away team, link to match, etc.).
Potential Solutions:

Post an image containing the match table.

Post a rich text (PDF, HTML) attachment containing the match table.

Post each match as a separate plain text message.

Consider a different design, whereby "match reminders" are posted a fixed interval (e.g. one hour) before a match, rather than posting a full "match day schedule" once per day.

Comparison Matrix

Criteria
Post an Image
Post a File
Post Plain Text Message per Match
Switch to "Match Reminders" UX

Full control over layout
Yes
Yes
No
No

Text is clickable/copyable
No*
Yes
Yes
Yes

Information is visible directly in Discord
Yes
No
Yes
Yes

Allows a full day of viewing to be planned
Yes
Yes
Yes
No

Works well on small-screen devices
Yes
No
Yes
Yes

"Spamminess" (a measure of message size and number of messages sent close together in time)
Low
Very low
Very high
Medium - lots of messages in total, but distributed over time

Additional coding complexity
High
High
Low
Medium

*a hack for this might be to include a QR code of each match link in the image

After discussing with the admin team, we decided to try posting a rich text file attachment on a daily basis, and then in addition posting plain text message reminders prior to each match.
Hopefully this combination strikes a good balance between utility ("I can plan my daily viewing schedule" and convenience/readability ("I can read the information the bot posts on my mobile device").


Fix/agreement generator tests

This PR adds the missing tests for AgreementGenerator in #295.

@PaoloCifariello , @kiuby88 : Could you have a look?

Current coverage is 41.61%

Merging #297 into master will decrease coverage by -6.53% as of e5add9d

@@            master    #297   diff @@
======================================
  Files          219     365    +146
  Stmts         9045   13234   +4189
  Branches      1322    1660    +338
  Methods          0       0
======================================
+ Hit           4355    5507   +1152
- Partial        355     429     +74
- Missed        4335    7298   +2963

Review entire Coverage Diff as of e5add9d

Powered by Codecov. Updated on successful CI builds.

Thanks a lot @rosogon for completing #295 and adding some test, even though it was not your responsability...


Add autoreconnect feature

Hi,
I've implemented a new option to the GraphiteClient object. It will try to reconnect automatically to the server when autoreconnect is set to True. Of course the default is False.
By default, it will try to reconnect 3 times with 1 second of interval. If you have opinion on these default, let me know as I'm not sure if these are the best. After these tries, an error will be thrown like before if GraphiteClient didn't reconnect successfully.
I splited the _send function to allow more modularity, I hope you don't mind.
Finally, I added tests for this function, based on what you've done for async feature.
I hope you like the idea, but feel free to tell me what dislike you.

@daniellawrence Any chance that you look at this pull request soon ?

I'll review this tonight, thanks for the help so far :)
On 15 January 2016 at 09:58, Alexandre Bonnetain<EMAIL_ADDRESS>wrote:

@daniellawrence https://github.com/daniellawrence Any chance that you
look at this pull request soon ?
—
Reply to this email directly or view it on GitHub
https://github.com/daniellawrence/graphitesend/pull/41#issuecomment-172035102
.

Added a comment about renaming "fct" to something more descriptive.
Also flake8 triggered too many blank lines - ./graphitesend/graphitesend.py:435:1: E303 too many blank lines (3)

Both should be easy fixes :)

@daniellawrence I changed what you asked

@daniellawrence Are you still working on graphitesend lately ?

@daniellawrence Thank you for merging ! Would it be possible that you publish the changes on Pypi ?

Hey @Shir0kamii,
Released your changes (thanks again!) as 0.6.0, Also added in https://github.com/daniellawrence/graphitesend/blob/master/HOW_TO_RELEASE.md, which should help speed up this in the future.
#42 has the details.
Thanks again!


2019-03-05 12:24:39.106 18565-18583/org.tensorflow.lite.demo W/System.err: java.lang.ArrayIndexOutOfBoundsException: length=10; index=-2147483648

When i run the tfLite demo app in my mobile I am getting the following error:
2019-03-05 12:24:39.106 18565-18583/org.tensorflow.lite.demo W/System.err: java.lang.ArrayIndexOutOfBoundsException: length=10; index=-2147483648

Please provide following information. Thanks!
System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary):
TensorFlow version (use command below):
Python version:
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version:
GPU model and memory:

You can collect some of this information using our environment capture script
You can also obtain the TensorFlow version with
python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"
Describe the current behavior
Describe the expected behavior
Code to reproduce the issue
Provide a reproducible test case that is the bare minimum necessary to generate the problem.
Other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.

Automatically closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks!

@aravindchaluvadi
I'm also facing this issue while running custom model with the app.
Have you resolve this ?


Validate entry names eagerly in evaluate2.sh

It should be detected at the beginning of the script, whether all passed entry names are valid, i.e. whether a calculate_average_<entry>.sh exists. And if not, abort the script before running anything.

CC @hundredwatt

To piggyback on this one, the sdk install step should be robust against an empty prepare file. I think right now the grep call fails and aborts the script when it doesn't match anything (can be reproduced by running evaluate2.sh baseline.

Confirmed, if prepare_$fork.sh is present, but has no sdk use ..., then read -r version fails and exits:
+ for fork in '"$@"'
+ '[' -f ./prepare_baseline.sh ']'
+ grep -h '^sdk use' ./prepare_baseline.sh
+ cut '-d ' -f4
+ read -r version


Bug: Command line flag for using remote relay chain on Hydra node doesn't work

Hello,
I tried to run HydraDX collator with relay-chain-rpc-url flag to specify a remote relay chain RPC to be used instead of the embedded one but the node process crashes on startup.
Here is the full config
ExecStart=/usr/local/bin/polkadot \
  --name Polkadotters \
  --telemetry-url 'wss://telemetry.polkadot.io/submit/ 0' \
  --telemetry-url 'wss://telemetry.hydradx.io:9000/submit/ 0' \
  --base-path '/var/lib/hydradx' \
  --prometheus-external \
  --collator \
  --relay-chain-rpc-url ws://<IP_ADDRESS>:9944 \

And here is the log describing the error. I can provide more information if needed but I guess the issue is pretty self-explanatory. Is this caused by an older version of Substrate that doesn't support the flag? Is there any plan to add such support? Thank you

Thank you for reporting this issue. It should be resolved in the next release.


Implement sensor fusion filter

There is an advanced Kalman filter formulation that can handle all the requirements positional tracking for the Rift:

Extract orientation information from IMU information
Interpolate position from IMU information
Integrate corrections to position and orientation based on sporadic camera observations

is the trickiest requirement, but it can be met by using lagged co-varience matrices as described in https://www.researchgate.net/publication/251994970_Delayed-state_sigma_point_Kalman_filters_for_underwater_navigation

I'm planning to use an Unscented Kalman Filter for the overall structure

589ea6d2c8c31e20b76b0fcb61a6b9a01fd73ad6 and 674b0bf022e1a5aec27beaf29752b4cb345eebac are the first steps toward sensor fusion:

Adding blind position interpolation to the sensor fusion
and
New / changed fusion.h API for adding IMU and camera/tracker observations as separate events
respectively

There is a working Kalman filter implementation of tracking in https://github.com/thaytan/OpenHMD/tree/rift-kalman-filter. It's still pretty experimental.

There is a working Kalman filter implementation of tracking in https://github.com/thaytan/OpenHMD/tree/rift-kalman-filter. It's still pretty experimental.

Gone from pretty experimental to "working pretty well" in the meantime, and has completely replaced the simple fusion filter for CV1. Closing this one.


Readme file for Samples directory

Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
It would be useful to add a Readme file, in the Samples directory, which lists the samples in an order which devs think is a good order to learn Filament. Additionaly, a line about what each sample is about would also be helpful.
Describe alternatives you've considered
The other alternative is to look at all the code and try to find an some order to go about the samples.
OS and backend
Not OS specific.

What we really need to do is rewrite the samples. They're really more test apps for development than true samples. In particular the foundation they rely on (samples/app) is quite messy.

Agreed, our Desktop samples are in bad shape.  I wrote a small doc that draws out a plan for this, but implementing the plan has fallen by the wayside.

I'll work with what's currently there. When you guys get a change to do some rewriting, I'll update my knowledge/code based on the new samples. I appreciate the response.