sanitizer.js has issues on IE11

I have the following js error (IE11 - Win10)
TOOLTIP: Option "sanitizeFn" provided type "window" but expected type "(null|function)".
I think it's due to the change for XSS, it only happens on bootstrap 4.3.1, not 4.2.x

/CC @Johann-S

I @lekoala I cannot reproduce that error, can you share a reduce test case on CodePen or JSFiddle ?

@Johann-S well, as far as I can tell, neither CodePen or JSFiddle support IE11 anymore, which is fair in a modern world but doesn't help me showing what's wrong. It's not happening on 4.3.0 either, so it's has to do with 4.3.1.
So in order to test I made a simple html file. It works out of the box, but as soon as I add polyfill.io it doesn't work anymore. I also checked if it was due to the use of deferred scripts, but it's not the case, it seems really linked to polyfill.io and bootstrap 4.3.1.
So here is the test case
<!DOCTYPE html>

    <title>Bootstrap 4 Tooltip Issue IE11</title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">

        Hover over me

Ok so I created a CodePen with your code, and what I see it's if I remove Polyfill.io everything works fine on IE 11 see: https://s.codepen.io/Johann-S/debug/zbaJPV on IE 11
Maybe you should be more restrictive on what you need to polyfill, but here it seems it's note related to Bootstrap.

yes, when removing polyfill.io it works fine. The strange thing is that if you try with Bootstrap 4.3.0 and polyfill.io it works fine! I'm not sure it's a good thing that bootstrap breaks on a minor upgrade for people relying on polyfill.io (for browser as such as IE11, which need them).
so it has to do with a change between 4.3.0 and 4.3.1.

Please try to pinpoint which polyfill exactly is causing this.
While 4.3.1 a minor release, due to the security fixes, it was known it could break some things. And we can't exactly know all the use cases out there.
So, let's try and pinpoint what exactly is causing this and we'll how to proceed.

well i know that it is from the es6 bundle, not sure which polyfill though as there are many! i've opened an issue on polyfill.io tracker as well.

Cool, let us know if you have any results.

https://github.com/fullygit/fullygit

I have this same issue also

I have narrowed it down to the Array.from bundle

The polyfill I'm using is https://cdn.polyfill.io/v3/polyfill.js?features=Object.assign,Array.from,Element.prototype.matches,Object.entries,Array.prototype.includes
Breaks:
https://cdn.polyfill.io/v3/polyfill.js?features=Object.assign,Array.from,Element.prototype.matches,Object.entries,Array.prototype.includes
Works:
https://cdn.polyfill.io/v3/polyfill.js?features=Object.assign,Element.prototype.matches,Object.entries,Array.prototype.includes

@adamwinn: you should mention this to the referenced upstream issue, not here.

I'm running into this too, but I'm not so sure the bug is in the polyfill:  Array.from seems to work fine using the polyfill.  Perhaps sanitizeFn is feature detecting on Array.from, and assuming if that's available, that it's dealing with a modern browser that also has other features?

Ok, so it does turn out to be the polyfill, but it's the Symbol polyfill, weirdly enough; see https://github.com/Financial-Times/polyfill-library/issues/164 for details and a temporary workaround until the issue is fixed.

@EamonNerbonne: thanks for the debugging and the upstream PR!
I'm going to close this issue since we have now confirmed it's an upstream issue.

Upstream issue resolved.


model training on custom dataset

Hi,
I am trying to train a model, but getting the following error:
(venv) niclas@vm-verprobung:~/PycharmProjects/anomalib$ python tools/train.py --config anomalib/models/padim/config.yaml
2022-09-23 10:43:19,631 - pytorch_lightning.utilities.seed - INFO - Global seed set to 42
2022-09-23 10:43:19,632 - anomalib.data - INFO - Loading the datamodule
Traceback (most recent call last):
  File "tools/train.py", line 71, in <module>
    train()
  File "tools/train.py", line 53, in train
    datamodule = get_datamodule(config)
  File "/home/niclas/PycharmProjects/anomalib/venv/lib/python3.8/site-packages/anomalib/data/__init__.py", line 70, in get_datamodule
    mask_dir=config.dataset.mask,
  File "/home/niclas/PycharmProjects/anomalib/venv/lib/python3.8/site-packages/omegaconf/dictconfig.py", line 355, in __getattr__
    self._format_and_raise(
  File "/home/niclas/PycharmProjects/anomalib/venv/lib/python3.8/site-packages/omegaconf/base.py", line 231, in _format_and_raise
    format_and_raise(
  File "/home/niclas/PycharmProjects/anomalib/venv/lib/python3.8/site-packages/omegaconf/_utils.py", line 900, in format_and_raise
    _raise(ex, cause)
  File "/home/niclas/PycharmProjects/anomalib/venv/lib/python3.8/site-packages/omegaconf/_utils.py", line 798, in _raise
    raise ex.with_traceback(sys.exc_info()[2])  # set env var OC_CAUSE=1 for full trace
  File "/home/niclas/PycharmProjects/anomalib/venv/lib/python3.8/site-packages/omegaconf/dictconfig.py", line 351, in __getattr__
    return self._get_impl(
  File "/home/niclas/PycharmProjects/anomalib/venv/lib/python3.8/site-packages/omegaconf/dictconfig.py", line 442, in _get_impl
    node = self._get_child(
  File "/home/niclas/PycharmProjects/anomalib/venv/lib/python3.8/site-packages/omegaconf/basecontainer.py", line 73, in _get_child
    child = self._get_node(
  File "/home/niclas/PycharmProjects/anomalib/venv/lib/python3.8/site-packages/omegaconf/dictconfig.py", line 480, in _get_node
    raise ConfigKeyError(f"Missing key {key!s}")
omegaconf.errors.ConfigAttributeError: Missing key mask
    full_key: dataset.mask
    object_type=dict

I already tried the fixes in the issue: https://github.com/openvinotoolkit/anomalib/issues/481
Thanks in advance

fixed the issue. As it seems the mask parameter in the config.yaml cannot be commented out but has to be leaved empty to be used in a classification task.


bad vertically centered text from icons

Describe the bug
There is a small inconsistency in the vertical alignment between the text and the icons. Not sure if it is a proper issue or bad configuration from me.
To Reproduce
I attatch my configs files:
hyprpanel_config.json
hyprpanel_theme.json
Expected behavior
Icons and text vertically centered.
Screenshots

Desktop (please complete the following information):

Distribution: Arch Linux
Window Manager/Desktop Environment: Hyprland 0.45.0-1
Using agsv1

I think the issue here is that the font you've chosen seems to be misaligned on the horizontal axis. May I ask what font you're using?

Oh I see, actually i had None int he font section. Now I selected a particular one and it's solved!!! Thanks again!! :)


Topographic Data isn't appended correctly with Batch

Describe the bug
When generating the batches like in experiment 27, but for the production work with the preprepared batches, all the np_batch_processors work other than the Topographic one, where in xr.combine_by_coords an error of
ValueError: Every dimension needs a coordinate for inferring concatenation order
To Reproduce
Steps to reproduce the behavior:
import glob
import os
from pathlib import Path

import numpy as np

from power_perceiver.load_prepared_batches.prepared_dataset import PreparedDataset
from power_perceiver.load_prepared_batches.data_sources import PV, GSP, HRVSatellite, NWP
from power_perceiver.production.model import FullModel
import pandas as pd
from torch.utils.data import DataLoader

dataset = PreparedDataset([PV(history_duration=pd.Timedelta("90 min"),),
                           GSP(history_duration=pd.Timedelta("2 hours"),),
                           HRVSatellite(history_duration=pd.Timedelta("30 min"),),
                           NWP(history_duration=pd.Timedelta("1 hour"),)],
                          data_path=Path("/home/jacob/Development/power_perceiver/data_for_testing/"))
print(dataset)
dataloader = DataLoader(dataset, num_workers=0, batch_size=None)
batch = next(iter(dataloader))

Expected behavior
A clear and concise description of what you expected to happen.
Additional context
Add any other context about the problem here.

Using OCFDatapipes now, so closing this


Add OpenTK and MonoGame to dotnet-developer-projects.md

Added OpenTK and MonoGame libraries.

Thanks @thefiddler. Appreciated.


Feature: Support remapping zoom button on Microsoft Ergonomic 4000

Recently Karabiner added support for remapping keys in Microsoft Ergonomic 4000 Keyboard. But it does not have any option to remap the zoom key in the center of the keyboard. It would be great if we can add support for remapping this key to scroll up/down.

@tekezo I'd be happy to send in a patch for this, if you can help me on how to get started. :)

Is there any output by the zoom button in debug mode?
https://pqrs.org/osx/karabiner/document.html.en#debugmode
If not, unfortunately, Karabiner can not change the zoom button.

@tekezo Cant see anything in debug mode. :(

Thank you for confirmation.
If you want to use the zoom button, it is worth to try another drivers.
USB Overdrive:
http://www.usboverdrive.com/
ControllerMate:
http://www.orderedbytes.com/controllermate/

Thanks @tekezo. I used USB Overdrive. Works perfectly!


Crashes upon startup 1.18.2

Can't start MC with this mod installed.
Forge: 40.2.0
Version: 1.18.2
Mod version: blur-2.4.2+mc1.18.2-build.3
Crash log

Same thing here

Fixed


Thinking about Contributing to httprouter as My Graduation Project

Hi, my name is Yong Wang. And I am a graduate student from Sun Yat-sen University, China. Please excuse me for posting non-technical problems on Github Issues. I am about to graduate in June next year. So I have to work on my graduation project pretty soon. Some of my friends have already started. My supervisor is pretty open to what project I am into. I am proficient at Go. And I have a fair amount of working knowledge of API gateway from the github.com/fagongzi/gateway project when I was doing an internship at Tencent Games. I am looking to work on an open-source project where my work could eventually be concluded as my graduation thesis. I noticed that httprouter uses a compressing dynamic trie structure for efficient matching. And there are very good benchmarks. There is one requirement which is that my work on the graduation project needs to have at least two novel approaches to some problems. Is it feasible? If so, would you please suggest some problems that I can work on?
Looking forward to your replies. Any feedbacks are welcome.
Sincerely,
Yong

I don't have any suggestions, but I hope your graduation project is going well :)


Switch between kg and lbs?

Great work on this.
Could you add the ability to switch between lbs and kg for the various stats?
Thanks!

Hi! Thanks for creating the ticket.
I looked into this a bit and decided to follow the same approach as Garmin does under the hood: all weights are stored in grams and converted to whatever unit you have configured in your account when displayed.
I added a setting in the Account section to switch between metric & imperial.


[flutter_conductor] Update README

Add the required --increment= CLI option to the example invocation of conductor start, add a link to the release wiki.

@Hixie can I get a test exemption for this README only change?

No need, you only need a test exemption if the bot asks for one. :-)

No need, you only need a test exemption if the bot asks for one. :-)

cool

LGTM


Yaook in Hetzner Cluster Stacks

/kind feature
Describe the solution you'd like
Hetzner baremetal cluster stack can be used for infinite use cases. One of them is Yaook.
According to the Yaook docs, multiple requirements need to be installed, e.g. Ingress or Cert-Manager. Therefore, cluster addons need to be extended to include these requirements.
Related to #108

See branch feat/yaook_hetzner


Tanzue Manage Cluster UI unable to detect OS Image

Bug Report
After fresh install of Windows 11 with TCE 0.11.0, the UI to deploy cluster does not detect OS images.
Expected Behavior

When OS image drop down clicked, available OS images displayed. I have uploaded both photon OS and ubuntu, neither are found.

Deploy Windows 11, install docker desktop, WSL update, etc, run tanzu management-cluster create --ui and try to create management cluster, no OS image was found. I have tried 3 times, followed instructions exactly with no other errors/issues.

Environment Details

Build version (tanzu version): 0.11.0
Deployment (Managed/Unmanaged cluster): n/a
Infrastructure Provider (Docker/AWS/Azure/vSphere): vSphere 7.0.3 u3d
Operating System (client): Win 11 pro

Diagnostics and log bundle

Hi Michael - did you download the OVAs from Customer Connect. As it shows, you have tkg.2, but TCE is looking for tkg.3, so you don't have the necessary templates deployed in your environment.

Hey @michaelh704! Thanks for opening your first issue. We appreciate your contribution and welcome you to our community! We are glad to have you here and to have your input on Tanzu Community Edition.

Yep, I downloaded them from the link in the Prepare to Deploy a Cluster to vSphere section here: https://tanzucommunityedition.io/docs/v0.11/vsphere/
It links to: https://customerconnect.vmware.com/downloads/get-download?downloadGroup=TCE-0110

Hmm, I'm unable to reproduce this. I spun up a clean system and made sure I removed all existing templates from my vSphere environment. I then downloaded the v1.22.5 OVA from Customer Connect, deployed it to my environment, and converted it to a template. I then downloaded and installed the v0.11.0 release of TCE, ran tanzu management-cluster create --ui and walked through the wizard. When I got to the image selection step, it recognized the template that I had uploaded.
I see the file from your second screenshot, but can you confirm you've deployed that OVA and then converted it from a VM to a template?

it looks from the photo that you uploaded the ova to a datastore but instead you need todeploy a vm from the ova and then convert that VM to a template. currently it looks like its just a file on your datastore


Harmonise on() group access

Recent changes in Uni and Multi have introduced group shortcut methods (e.g., multi.onCancellation()) with invoke and invokeUni methods.
In order to harmonise the APIs, I propose to modify UniOnEvent and MultiOnEvent so that on() gives access to all groups: on().cancellation().invoke(...), on().completion().invokeUni(...), etc.

+1

Closing, was done in #233


Workers Quickstarts recommend deprecated cli command, deprecation notice link reported from cli broken

Which Cloudflare product does this pertain to?
Workers
Existing documentation URL(s)
https://developers.cloudflare.com/workers/get-started/quickstarts/
https://developers.cloudflare.com/workers/wrangler/deprecations/#generate
https://github.com/cloudflare/wrangler2
Section that requires update
Quickstarts
What needs to change?
Quickstarts on main site uses deprecated generate command to scaffold projects
How should it change?
Quickstarts should use modern wrangler commands
Additional information
Deprecation url returned from wrangler CLI using commands from Quickstart docs is broken
CLI:

Link: https://developers.cloudflare.com/workers/wrangler/deprecations/#generate

This is being fixed by #7728

Hi @valgaze , this error was probably encountered when generate was temporarily deprecated. We have since restored the command and updated the quickstarts page to correct instructions following #7728


dizqueTV Guide:  Add icon to play show/movie on-demand

The First Agunaut  Today at 9:27 AM
was curious if there was a way to add a button under [Watch Now] in my Dizque channels that says [Watch On Demand] and redirects to the same show/movie on my server, or plays the media directly from the server?
vexorian  Today at 10:03 AM
@The First Agunaut  I might be able to do that in the dizqueTV tv guide, but that guide is not for public consumption
MoRBiD MaNGLeR  Today at 12:20 PM
@The First Agunaut  @vexorian   I like this idea, even if only for the dTV guide.  But if implemented, it would be good if it’s only an icon. Vex, willing to do?  I can submit the GitHub item if proceeding.
@nwithan8 reacted with 🤘
vexorian  Today at 12:32 PM
It's good to have it in github even if it won't be done, because people will keep talking about it
it will probably be done for the web ui's guide

I'd be willing to take a stab at it. One issue, the URL to a Plex media item's page requires the machine identifier, which it doesn't seem like dizqueTV currently stores for each Plex server.


qa_crowbarsetup: Fix URL of crowbar_register for recent Cloud 6

The URL contains the architecture now.

+1

+1

:+1:


Replace Bastion Hosts with Azure VPN Gateway

Replace all 6 bastion hosts with an Azure VPN Gateway.  Completed all data sanitization and system disposal process / checklist
Required by 3/31 per the checklist 'SA&A Requirements Tracker - Outstanding Tasks_02-25-2021'

Done!


Moving Managing datasets FAQ

Apologies, but this FAQ should not go into the GTN. Most of this content is already covered in other FAQs that are being migrated. This is a nice effort for an additional narrative style FAQ but might be dropped completely. We can leave the PR open -- will need heavy editing if retained later (likely not -- or perhaps a few sub-sections only).

Decided to close this.
The area in the source FAQ can link in the hub to Galaxy FAQs in the GTN directly (but not a specific FAQ, instead just the top level). It should count as a "done" FAQ once the hub is updated.


Replace pass by value with reference

#1013

@pksingh78 see comment above

no more pass by value warnings


redirect from tries to acces front matter on static files

Investigating on this stackoverflow question I've found that redirect from tries to acces front matter on static files.
Reproduce :

new jekyll site (2.4)
a collection with static files like .js or .css
jekyll-redirect
jekyll build

Error : /var/lib/gems/1.9.1/gems/jekyll-redirect-from-0.6.2/lib/jekyll-redirect-from/redirector.rb:38:in has_alt_urls?': undefined method data' for #<Jekyll::StaticFile:0x00000001baa4e0> (NoMethodError)
The Redirector:generate method at generate_alt_urls(site, site.docs_to_write) receive both collection files + static files, then method Redirector:has_alt_urls tries to access the unexisting method on statik file.
This is not reproduced in gh-page configuration as the generate_alt_urls(site, site.docs_to_write) doesn't exist.

Another example with image and pdf files located withing collections directory, which gives the same error if using jekyll-redirect-from


chore: add all missing peer dependency statements

This allows for better deduping in client projects.
Might fix #4226

I'm afraid that this change is breaking. Example: https://github.com/kachkaev/njt/pull/549

I added optional status to all of them except react itself, is the build tooling not taking that into account?

It's odd because I tested it in pnpm and resolution worked as expected... will roll the change back.

Thanks for reverting! App build in https://github.com/kachkaev/njt/pull/549 worked after upgrading from 6.1.7 to 6.1.8 👍


Not working in F1 22 VR

As soon as the race starts, opening Reshade overlay causes the whole game to CTD. And this game desperately needs a sharpening filter. I tried both VRToolkit and newest official Reshade. Game acknowledges Reshade after renaming dxgi to dinput8, just like in last Codemasters VR title - Dirt Rally 2. (Steam version)
Anyone has an idea how to make this work? I hope it's the place to ask, I tried everything I could think of but so far no luck.

Sorry for the late reply.
Sadly I dont have the game to give you tips on how to solve it. If reshade is already picked up the log file (dxgi.log or dinput8.log) might give some clues why it has crashed.
Does it crash only in VR or also on the 2D gameplay with reshade and the same shaders activated?
When it crashes in VR, which reshade overlay are you opening. The one in the StreamVR dashboard like described here? https://vrtoolkit.retrolux.de/configuration.html
It might be best to ask in the reshade discord. There might be already a fix for it in dev branch or they dont know about the issue.

Thanks for your reply. Reshade works on 2D display. In VR it crashes when I open Reshade overlay in the SteamVR Dashboard. Here's my Reshade log from my last try.
ReShade.log
I just noticed it's from Reshade <IP_ADDRESS>0, but the same thing was happening with 5.2.2 and VRToolkit.

In the log file i could not see the reason why it crashed. Reshade simpliy exited and unloaded the hooks.
Do you try to just use the vrtoolkit package without any other shaders and checked if reshade is working itself in VR without opening the reshade dashboard? You can edit the reshade.ini and set a stonger sharpening preset like the generic_vr+.ini to better see if it is actually working.
Could be that the crash is only related to the Imgui rendering for the reshade steamvr dashboard widget.

The latest reshade 5.3.0 has fixed the crash issue on F1 22
https://reshade.me/releases/8153-5-3

Thx, great find, I'll check it out :)

Thanks for letting me know @kmj007 . Guess I need to update vrtoolkit package for easy usage again.


update docs related to protoc and optional syntax

Which issue does this PR close?

Closes #.
Rationale for this change

update docs related to protoc and optional syntax
What changes are included in this PR?

Are there any user-facing changes?

no user facing changes

Good to have you back @Jimexist !


Action can't find source code to report

I'm facing an error, followed the instruction, error says its permission but it doesn't matter the permission I set.
Here's the debug logs minus folder paths("redacted" is my main package), after this it jjust repeats the last few lines for every file in the project
https://pastebin.com/rcv95F7b
##.coveragerc
[run]

branch = True
dynamic_context = test_function
source = redacted
relative_files = True

[report]
precision = 2
sort = Miss
show_missing = True
ignore_errors = True

[html]
show_contexts = True

the generation works locally

I'm surprised to see a backslash in a path in your log: redacted\__init__.py. I'd tend to investigate where this comes from and fix that.
(is it possible that the .coverage file is created in a windows context? I believe this action hasn't been tested on windows-generated .coverage files. Does it mean we need to figure out a way to use .coverage files with \ inside an ubuntu docker ?)
If this helps you immediately, great. If you're still clueless, add some details on your error and we'll see if we can suggest something :)

Yes it is, and we need it since it is a program developed for windows, any suggestion is appreciated

I see the following in a changelog entry in the coverage docs:
https://coverage.readthedocs.io/en/7.2.3/changes.html#version-4-5-2018-02-03

The coverage combine command could get confused about path separators when combining data collected on Windows with data collected on Linux, as described in issue 618. This is now fixed: the result path always uses the path separator specified in the [paths] result.

Here's the related issue: https://github.com/nedbat/coveragepy/issues/618
Here's the related commit: https://github.com/nedbat/coveragepy/commit/69debd440daab9155cc2b2243f29a8a48f4404f9
Can you try specifying paths with forward slashes in your coverage config ? Does it work ? I'm afraid we're much in the territory of coverage here, and not of this action.

Thank you! Adding:
[paths]
source =
    */alteryx_xml_tool/alteryx_xml_tool
    *\alteryx_xml_tool\alteryx_xml_tool

to .coveragerc did the trick.
Maybe you could consider adding that to your docs or maybe even some handling in the code!
Thanks again.

@ArthurNRL Feel like doing a PR for updating the docs ?

@ewjoachim https://github.com/ArthurNRL/python-coverage-comment-action/pull/1 here it is


Add number of the dedicated nodes to the stats endpoint

make sure to include the nodes with 0 contracts, the nodes on a dedicated farm, and the rented ones

Work is done:
added the dedicated nodes count to the stats page


Binary Tree Right Side View

For a given binary tree returning the values of nodes that are appearing on the right side view from top to bottom

can you assign me this issue?

/assign


BUG: tel: link is broken with the new dynamic contacts system

Basically, when you insert urls dynamically with the Hugo template system, only http:, https: and mailto: are considered safe (see this page in the documentation for better context).
The solution is just to give the .url parameter to the safeURL function.
The issue is introduced in #170.

Im ok with safeUrl, user is responsible for value parameters and they are defined in config file, no risk of injection from outside.

I'm going to submit a pull request then.


Consider making this repository a template

So people could quickly start a new plugin without importing the whole history.
Ref: https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/creating-a-repository-from-a-template

Fixed


How to simulate a time in future?

Hi everybody,
a very cool tool ;-)
We want to simulate a time in future, i.e. to simulate gps week rollover. How can we do this? We need RINEX navigation file for GPS ephemerides, but this is only available as historic data. Can we just change the date inside?
Cheers,
Andreas

Use -T option.


Improve usability of FiltersAggregation

Currently it's only possible to use Anonymous Filters with the FiltersAggregation:
var q = await client.SearchAsync<Person>(s => s
    .Aggregations(aggs => aggs
        .Add("my_agg", agg => agg
            .Filters(a => a.Filters(new Buckets<Query>([
                Query.MatchAll(new MatchAllQuery()),
                Query.MatchAll(new MatchAllQuery())
            ])))
        )
    )
);

Using named filters throws an exception during deserialization of the results:
var q = await client.SearchAsync<Person>(s => s
    .Aggregations(aggs => aggs
        .Add("my_agg", agg => agg
            .Filters(a => a.Filters(new Buckets<Query>(new Dictionary<string, Query> // <- Dictionary instead of Array
            {
                { "a", Query.MatchAll(new MatchAllQuery()) },
                { "b", Query.MatchAll(new MatchAllQuery()) }
            })))
        )
    )
);

To improve usability, we have to automatically set the keyed argument to true, if the user requests named results.
Besides that, FiltersBucket currently misses the key field in the specification.
Related to #7844

Worth noting that NEST treated these as separate operations. "Filters" vs "NamedFilters". Coming across this threw a wrench in our migration efforts.

Is there a roadmap / timeframe for when this will be implemented? I know there's a workaround to simply not use named filters but wasn't sure of the position of the 'other' bucket in the results.

Is there a roadmap / timeframe for when this will be implemented? I know there's a workaround to simply not use named filters but wasn't sure of the position of the 'other' bucket in the results.

I'm currently in the procress of prioritizing the "usability" issues. Btw.: The order of the resulting buckets is always the same as for the input ones. Overflow/other should be on the very end.

Also, is there a time frame for when a fluent interface will be added for the specification of filter queries?

This is currently tracked in #7812


[MLIR] Mitigation dialect, ZNE op and lowering(global folding)

Before submitting
Please complete the following checklist when submitting a PR:

[ ] All new functions and code must be clearly commented and documented.

[ ] Ensure that code is properly formatted by running make format.
The latest version of black and clang-format-14 are used in CI/CD to check formatting.

[ ] All new features must include a unit test.
Integration and frontend tests should be added to frontend/test,
Quantum dialect and MLIR tests should be added to mlir/test, and
Runtime tests should be added to runtime/tests.

When all the above are checked, delete everything above the dashed
line and fill in the pull request template.

Context:
Description of the Change:
Benefits:
Possible Drawbacks:
Related GitHub Issues:

[sc-46449]


Handle institution configuration when upgrading the toolkit

If a new version of ADFSTookit introduces changes to the institution configuration the version of the default configurations should increase and we need a cmdlet to upgrade the current institution configuration.

Solved with v2.0.0


documentation on dependency injection provides a non working example

@Eronana can you provide us with a fix for this?
In the provided example it reads (README.md)
import { assert } from "chai";
import { Service } from "typedi";
import "../../di/typedi";
import { register, suite, test } from "../../index";

Here, the relative paths must be replaced by absolute package paths, e.g.
import "mocha-typescript/di/typedi";
import { register, suite, test } from "mocha-typescript";

The documentation also lacks the information that the user needs to add typedi to his or her dev/dependencies.

@Eronana ping

sorry for late response.
so you want me fix test/it/fixtures/di.typedi.suite.ts and copy fixed test code to document, right?

@Eronana the test is ok, the example in the readme is wrong.

Fixed with #115.


Adapt convolution for Nx3D kernels input

https://github.com/embedded-dev-research/itlab_2023/pull/154


Change visual template

Change visual template for something "more GraphingLib" (more modern, GL colors?)

Add QListView {{color: #ffffff;}} to custom.css
Same for the QSpinBox text.


Link spans trees between microservices

Hey guys, i have two microsservices, lets say A and B, being traced by opentelemetry.
Service A makes HTTP requests to service B and both creates spans but on different trace ids.
On the trace from A i can see all http requests made to B but cant see the operations made by B (database operations, another HTTP calls or functions) on the same tree. To achive that i need to access the trace created by B directly.
Is there a way to link both of them to the same traceId, since they are the same are born from the same span?

Here is an example of what i want to achieve:

[ ] This only affects the JavaScript OpenTelemetry library
[x] This may affect other libraries, but I would like to get opinions here first

Would you mind sharing your setup codes or a minium reproduction of the problem? From my first impression, the problem may related to missing propagators to inject necessary trace contexts into the request sent.

hi @legendecas  i am also trying the same and stuck at same place here is my code snippet with propogation but it still doesnt work. any inputs ?
https://github.com/open-telemetry/opentelemetry-js/issues/3529#issuecomment-1385492652


[QI2-1096] pennylane device implementation

I think we need a method to list all the backends for the user and get a backend by name


System.InvalidOperationException if configuration has dictionary with colon in key.

Hi.
I got a error when I tried to read an object from the configuration that was loaded from the json file.
I wrote simple config file:
testdata.json:
{
  "Urls": {
    "https://site.com": "here are description for site.com",
    "https://example.com": "here are description for example.com"
  }
}

And I wrote simple program for read that config file:
Program.cs
class Program
    {
        static void Main(string[] args)
        {
            var builder = new ConfigurationBuilder()
                .SetBasePath(Directory.GetCurrentDirectory())
                .AddJsonFile("testdata.json", true, true);

            var config = builder.Build();
            var initialData = config.Get<TestData>();

            foreach (var urlData in initialData.Urls)
            {
                Console.WriteLine($"{urlData.Key} - {urlData.Value}");
            }
        }
    }

    public class TestData
    {
        public Dictionary<string, string> Urls { get; set; }
    }

During the call to config.Get  (), I get an error System.InvalidOperationException: 'Cannot create instance of type 'System.String' because it is missing a public parameterless constructor.'
It happens in https://github.com/aspnet/Configuration/blob/rel/2.0.0/src/Microsoft.Extensions.Configuration.Binder/ConfigurationBinder.cs#L366
because keys of my configuration's dictionary contains colon.
ConfigurationPath has propery KeyDelimiter = ":", ConfigurationBinder uses it to separate individual keys in a path and because of this, the ConfigurationBinder.BindDictionary method tries to create an instance of the string instead of the KeyValuePair instance.
My main question.
Is this behavior as designed and I can not use colons in the dictionary keys?
Or it is a bug and I can try to fix this bug in ConfigurationBinder?

@neyromant Colons are reserved for special meaning in the keys, so they shouldn't be used as part of normal key values.


Add unit tests for notebook helpers

Signed-off-by: Joshua Li<EMAIL_ADDRESS>Description

add UT for notebook helpers
remove empty panel wrapper component

Issues Resolved
[List any issues this PR will resolve]
Check List

[ ] New functionality includes testing.

[ ] All tests pass, including unit test, integration test and doctest

[ ] New functionality has been documented.

[ ] New functionality has javadoc added
[ ] New functionality has user manual doc added

[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #269 (90ef3c4) into main (a6679f7) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##               main     #269   +/-   ##
=========================================
  Coverage     56.46%   56.46%
  Complexity      197      197
=========================================
  Files            37       37
  Lines          2026     2026
  Branches        231      231
=========================================
  Hits           1144     1144
  Misses          727      727
  Partials        155      155

Flag
Coverage Δ

opensearch-observability
56.46% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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 a6679f7...90ef3c4. Read the comment docs.


⚠ SolarOscp has degraded performance

In 2df0999, SolarOscp ($SOLAROSCP_URL) experienced degraded performance:

HTTP code: 200
Response time: 315 ms

Resolved: SolarOscp performance has improved in fda80c5 after 10 minutes.


[xstate/fsm] Guarded transitions throw "(intermediate value) is not a function" error

Description
I'm using @xstate/fsm with useMachine from @xstate/react/lib/fsm and trying to guard a transition by passing the guard implementation to useMachine but it throws an error when triggering the event.
Expected Result
No error.
Actual Result
(intermediate value)(intermediate value)(intermediate value) is not a function

Reproduction
Click the button in the following sandbox:
https://codesandbox.io/s/nervous-mayer-8k4s8?file=/src/App.js
Additional context
I'm probably doing something completely wrong here. Any help would be super appreciated 😬

Ah, interesting! Thank you for the quick reply. Can I ask what you mean my parameterized? 🙈
I thought you might have meant that they cannot be passed as opts to the useMachine hook but the comparison table says parameterized actions are not supported yet they work when I pass them via opts. My attempted process of elimination is failing me here 😅

Ah, interesting! Thank you for the quick reply. Can I ask what you mean my parameterized? 🙈
I thought you might have meant that they cannot be passed as opts to the useMachine hook but the comparison table says parameterized actions are not supported yet they work when I pass them via opts. My attempted process of elimination is failing me here 😅

@davidkpiano dont we call actions/guards/whatever with some params as parametrized smth? Like in here:
actions: {
  type: 'nameOfTheAction',
  someParam: 42
}

@jjenzz only actions can be provided in the second argument right now:
https://github.com/davidkpiano/xstate/blob/e0fd12ac43be4508579ccbf1edb3c4d6c544d515/packages/xstate-fsm/src/index.ts#L121-L123

@davidkpiano dont we call actions/guards/whatever with some params as parametrized smth? Like in here:
actions: {
  type: 'nameOfTheAction',
  someParam: 42
}

@jjenzz only actions can be provided in the second argument right now:
https://github.com/davidkpiano/xstate/blob/e0fd12ac43be4508579ccbf1edb3c4d6c544d515/packages/xstate-fsm/src/index.ts#L121-L123

@davidkpiano dont we call actions/guards/whatever with some params as parametrized smth? Like in here:
actions: {
  type: 'nameOfTheAction',
  someParam: 42
}

Ah, my mistake. Actions can be parameterized; guards cannot (yet).

@davidkpiano dont we call actions/guards/whatever with some params as parametrized smth? Like in here:
actions: {
  type: 'nameOfTheAction',
  someParam: 42
}

Ah, my mistake. Actions can be parameterized; guards cannot (yet).

Right - this issue is about not being able to "provide" a guard implementation in the second argument of the createMachine from @xstate/fsm,  like it can be done for the xstate itself:
createMachine({ /* ... */ }, {
  guards: {
    someGuard: () => true
  }
})

It seems that there might be some confusion about what this issue is about - I wasn't completely sure though because I wasn't sure if we both mean the same thing by "parametrized guards" (as if we stick to the example I have given this issue is not about parametrized guards in @xstate/fsm but rather about "provided guards", although we haven't really coined this term as much).

Right - this issue is about not being able to "provide" a guard implementation in the second argument of the createMachine from @xstate/fsm,  like it can be done for the xstate itself:
createMachine({ /* ... */ }, {
  guards: {
    someGuard: () => true
  }
})

It seems that there might be some confusion about what this issue is about - I wasn't completely sure though because I wasn't sure if we both mean the same thing by "parametrized guards" (as if we stick to the example I have given this issue is not about parametrized guards in @xstate/fsm but rather about "provided guards", although we haven't really coined this term as much).

This issue is about not being able to "provide" a guard implementation in the second argument of the createMachine

Exactly. That is the example I've shown in the CodeSandbox. I'm not passing any params as far as I know to the guard, just providing the implementation in the useMachine options.
Should that be working or would this be a feature request?

This issue is about not being able to "provide" a guard implementation in the second argument of the createMachine

Exactly. That is the example I've shown in the CodeSandbox. I'm not passing any params as far as I know to the guard, just providing the implementation in the useMachine options.
Should that be working or would this be a feature request?

Feature request. It should be fairly easy to implement and given that we support both guards and provided actions I think it would only make sense to support provided guards as well. Would you maybe like to contribute PR to this feature? Might be worth waiting for @davidkpiano's green light first though.

Feature request. It should be fairly easy to implement and given that we support both guards and provided actions I think it would only make sense to support provided guards as well. Would you maybe like to contribute PR to this feature? Might be worth waiting for @davidkpiano's green light first though.

Feature request. It should be fairly easy to implement and given that we support both guards and provided actions I think it would only make sense to support provided guards as well. Would you maybe like to contribute PR to this feature? Might be worth waiting for @davidkpiano's green light first though.

I'm working on an implementation for the @xstate/fsm side right now 🏃

Feature request. It should be fairly easy to implement and given that we support both guards and provided actions I think it would only make sense to support provided guards as well. Would you maybe like to contribute PR to this feature? Might be worth waiting for @davidkpiano's green light first though.

I'm working on an implementation for the @xstate/fsm side right now 🏃

Since on the next branch, we discontinued @xstate/fsm package (see here) - I think that this issue can be closed now as it's no longer applicable.
@xstate/fsm continues to work so you don't need to refactor your code if you care about its lightweight bundlesize.


Rip out haproxy PROXY command?

haproxy's textual PROXY protocol doesn't provide a way to say whether they're using SSL/TLS or not. Because of this, I think we should just rip it out rather than worry too closely about it. We could add a "DoesThisSupportTLS?" bool to the PROXY handler, but eh it's just easier to rip out given that the range of TLS support Go offers should be enough for most clients out there today.

Done as of 43e28e2fef85fd9c96b228dde6d2c866e466eae3


Update Compound/forks to 1.3.0

Updating Compound v2 / compound-forks to schema 1.3.0
Compound fork test: https://thegraph.com/hosted-service/subgraph/dmelotik/bastion-protocol?version=pending / https://okgraph.xyz/?q=dmelotik%2Fbastion-protocol
Compound-v2: https://okgraph.xyz/?q=QmNQdqoFddCLveRTFpP6s1AgdowouYodqqBfST8yHdiUB5

[x] Update once https://github.com/messari/subgraphs/pull/331 is in master
[x] add this change too https://github.com/messari/subgraphs/pull/330

This is great! Would you be able to incorporate these as well: https://github.com/messari/subgraphs/pull/330

and this: https://github.com/messari/subgraphs/pull/331

I am hoping #317 can be merged before the schema upgraded to 1.3.0

Would you be able to merge compound-v2 into compound-forks (i.e. add it as a fork)? It will make things easier to maintain going forward?

Great work 🔥


WIP: Properly handle advertise address locality

Current encryption code does not take into account the
case where the advertise address is a local to the host

Also check for advertise address when deriving the
list of ipsec nodes

Signed-off-by: Alessandro Boch<EMAIL_ADDRESS>

LGTM

In docker 1.12 specifying both --listen-addr and --advertise-addr works only if the advertise address is not local to the host. It only covers the use case of public outside of the box advertise address with one to one natting to the local private address.
Therefore the use-case this PR attempts to fix cannot happen, closing.


[GSSOC'23]Adding CSS on search button

I am a GSSoC contributer and want to fix the issue.

I would like to work on this issue, can you assign it to me :)

I  can  easily   fix this  issue  : )   when you hover on search button its color  also  changes
before ------------------

After  hovering ----------------

Please  consider  this  under  GSSOC_23  [contributor]   : )

I am a GSSOC Contributor and I would like to work on this issue. Want to make a sliding hover effect on Button . So  Please Assign me this task :)


Dead Link Checking Shell Script using Travis

[x] I can work upon this.

All the best !

But you have to add this repo to Travis CI first.

Ensure to do it on Ruby

Okay, will update once done.


fix(dev): vite base and qrl segment fixes

fixes nx monorepo path lookup in dev mode
fix vite prefix for css etc
fix qrl segment path encoding for windows in dev mode
only pass parent filename since path is always the same
simplify resolveId path handling
change starter to only add service worker in production
add base url to manifest

How long can this be taken till the pull request is accepted and we can easy use this fix?
This fix does not solve all off my useOn... problems but a lot.

@frankroc2022 it seems in good shape now, I'd just like some more confirmations that it works for everyone

@frankroc2022 in meantime you can use the continuous build created from this PR. We structured a multi steps approval inside of the core team to reduce regressions like the one we had with v1.6.0.
Thanks for your patience.

@frankroc2022 it seems in good shape now, I'd just like some more confirmations that it works for everyone

@wmertens I've used the continuous build, but I get this error:

For reference, I've added a button:
<div onClick$={() => console.log('1')}>click me</div>

Just tried this version.
Got the following error:
Failed to fetch dynamically imported module: http://localhost:5173/%40fsC%3A%5Csrc%5Cgithub%5Cmilkyway%5Cweb%5Cnode_modules%5Cqwik-speak%5Clib/useqwikspeak_resumecontext_6bh92hvek8o.js?_qrl_parent=use-qwik-speak.qwik.mjs
Here are some logs with qwikVite({ debug: true }):

Details
Qwik Speak Resolved locale: pt
[QWIK PLUGIN: 804] load() Not found C:/src/github/milkyway/web/i18n/pt/app.json
[QWIK PLUGIN: 804] load() Not found C:/src/github/milkyway/web/i18n/pt/home.json
[QWIK PLUGIN: 804] load() Not found C:/src/github/milkyway/web/i18n/pt/listing.json
[QWIK PLUGIN: 804] load() Not found C:/src/github/milkyway/web/i18n/pt/product.json
[QWIK PLUGIN: 804] load() Not found C:/src/github/milkyway/web/i18n/pt/runtime.json
[QWIK PLUGIN: 804] transform() Not transforming C:/src/github/milkyway/web/i18n/pt/app.json
[QWIK PLUGIN: 804] transform() Not transforming C:/src/github/milkyway/web/i18n/pt/home.json
[QWIK PLUGIN: 804] transform() Not transforming C:/src/github/milkyway/web/i18n/pt/product.json
[QWIK PLUGIN: 804] transform() Not transforming C:/src/github/milkyway/web/i18n/pt/listing.json
[QWIK PLUGIN: 804] transform() Not transforming C:/src/github/milkyway/web/i18n/pt/runtime.json
[QWIK PLUGIN: 804] resolveId(824) Start /@fs/C:/src/github/milkyway/web/node_modules/vite/dist/client/client.mjs { from:
 'C:\\src\\github\\milkyway\\web\\index.html', for: 'client' }
[QWIK PLUGIN: 804] resolveId(824) Not resolved /C:/src/github/milkyway/web/node_modules/vite/dist/client/client.mjs C:/src/github/milkyway/web/index.html
[QWIK PLUGIN: 804] resolveId(825) Start /@fs/C:/src/github/milkyway/web/node_modules/vite/dist/client/client.mjs { from:
 'C:\\src\\github\\milkyway\\web\\index.html', for: 'client' }
[QWIK PLUGIN: 804] resolveId(825) Not resolved /C:/src/github/milkyway/web/node_modules/vite/dist/client/client.mjs C:/src/github/milkyway/web/index.html
[QWIK PLUGIN: 804] load() Not found C:/src/github/milkyway/web/node_modules/vite/dist/client/client.mjs
[QWIK PLUGIN: 804] transform() Not transforming C:/src/github/milkyway/web/node_modules/vite/dist/client/client.mjs
[QWIK PLUGIN: 804] resolveId(826) Start /@fs/C:/src/github/milkyway/web/node_modules/vite/dist/client/env.mjs {
  from: 'C:/src/github/milkyway/web/node_modules/vite/dist/client/client.mjs',
  for: 'client'
}
[QWIK PLUGIN: 804] resolveId(826) Not resolved /@fs/C:/src/github/milkyway/web/node_modules/vite/dist/client/env.mjs C:/src/github/milkyway/web/node_modules/vite/dist/client/client.mjs
[QWIK PLUGIN: 804] load() Not found C:/src/github/milkyway/web/node_modules/vite/dist/client/env.mjs
[QWIK PLUGIN: 804] transform() Not transforming C:/src/github/milkyway/web/node_modules/vite/dist/client/env.mjs
[QWIK PLUGIN: 804] resolveId(827) Start /%40fsC%3A\src\github\milkyway\web\src/root_component_useondocument_p6osfoenwte.js?_qrl_parent=root.tsx { from: 'C:\\src\\github\\milkyway\\web\\index.html', for: 'client' }
[QWIK PLUGIN: 804] resolveId(827) Resolved C:/src/github/milkyway/web/@fsC:/src/github/milkyway/web/src/root_component_useondocument_p6osfoenwte.js from transformedOutputs
[QWIK PLUGIN: 804] resolveId(828) Start /%40fsC%3A\src\github\milkyway\web\src/root_component_useondocument_p6osfoenwte.js?_qrl_parent=root.tsx { from: 'C:\\src\\github\\milkyway\\web\\index.html', for: 'client' }
[QWIK PLUGIN: 804] resolveId(828) Resolved C:/src/github/milkyway/web/@fsC:/src/github/milkyway/web/src/root_component_useondocument_p6osfoenwte.js from transformedOutputs
[QWIK PLUGIN: 804] load() transforming QRL parent C:/src/github/milkyway/web/@fsC:/src/github/milkyway/web/src/root.tsx
[QWIK PLUGIN: 804] resolveId(829) Start C:/src/github/milkyway/web/@fsC:/src/github/milkyway/web/src/root.tsx { from: 'C:\\src\\github\\milkyway\\web\\index.html', for: 'client' }
[QWIK PLUGIN: 804] resolveId(829) falling back to default resolver
[QWIK PLUGIN: 804] resolveId(830) Start C:/src/github/milkyway/web/@fsC:/src/github/milkyway/web/src/root.tsx { from: 'C:\\src\\github\\milkyway\\web\\index.html', for: 'client' }
[QWIK PLUGIN: 804] resolveId(830) falling back to default resolver
[QWIK PLUGIN: 804] load() Not found C:/src/github/milkyway/web/@fsC:/src/github/milkyway/web/src/root.tsx
[QWIK PLUGIN: 804] resolveId(831) Start /%40fsC%3A\src\github\milkyway\web\node_modules\qwik-speak\lib/useqwikspeak_resumecontext_6bh92hvek8o.js?_qrl_parent=use-qwik-speak.qwik.mjs { from: 'C:\\src\\github\\milkyway\\web\\index.html', for: 'client' }
[QWIK PLUGIN: 804] resolveId(831) Resolved C:/src/github/milkyway/web/@fsC:/src/github/milkyway/web/node_modules/qwik-speak/lib/useqwikspeak_resumecontext_6bh92hvek8o.js from transformedOutputs
[QWIK PLUGIN: 804] resolveId(832) Start /%40fsC%3A\src\github\milkyway\web\node_modules\qwik-speak\lib/useqwikspeak_resumecontext_6bh92hvek8o.js?_qrl_parent=use-qwik-speak.qwik.mjs { from: 'C:\\src\\github\\milkyway\\web\\index.html', for: 'client' }
[QWIK PLUGIN: 804] resolveId(832) Resolved C:/src/github/milkyway/web/@fsC:/src/github/milkyway/web/node_modules/qwik-speak/lib/useqwikspeak_resumecontext_6bh92hvek8o.js from transformedOutputs
[QWIK PLUGIN: 804] load() transforming QRL parent C:/src/github/milkyway/web/@fsC:/src/github/milkyway/web/node_modules/qwik-speak/lib/use-qwik-speak.qwik.mjs
[QWIK PLUGIN: 804] resolveId(833) Start C:/src/github/milkyway/web/@fsC:/src/github/milkyway/web/node_modules/qwik-speak/lib/use-qwik-speak.qwik.mjs { from: 'C:\\src\\github\\milkyway\\web\\index.html', for: 'client' }
[QWIK PLUGIN: 804] resolveId(833) falling back to default resolver
[QWIK PLUGIN: 804] resolveId(834) Start C:/src/github/milkyway/web/@fsC:/src/github/milkyway/web/node_modules/qwik-speak/lib/use-qwik-speak.qwik.mjs { from: 'C:\\src\\github\\milkyway\\web\\index.html', for: 'client' }
[QWIK PLUGIN: 804] resolveId(834) falling back to default resolver
[QWIK PLUGIN: 804] load() Not found C:/src/github/milkyway/web/@fsC:/src/github/milkyway/web/node_modules/qwik-speak/lib/use-qwik-speak.qwik.mjs
Qwik Speak warn Locale not resolved. Fallback to default locale: en
[QWIK PLUGIN: 804] load() Not found C:/src/github/milkyway/web/i18n/en/app.json
[QWIK PLUGIN: 804] load() Not found C:/src/github/milkyway/web/i18n/en/home.json
[QWIK PLUGIN: 804] load() Not found C:/src/github/milkyway/web/i18n/en/listing.json
[QWIK PLUGIN: 804] load() Not found C:/src/github/milkyway/web/i18n/en/product.json
[QWIK PLUGIN: 804] load() Not found C:/src/github/milkyway/web/i18n/en/runtime.json
[QWIK PLUGIN: 804] transform() Not transforming C:/src/github/milkyway/web/i18n/en/product.json
[QWIK PLUGIN: 804] transform() Not transforming C:/src/github/milkyway/web/i18n/en/listing.json
[QWIK PLUGIN: 804] transform() Not transforming C:/src/github/milkyway/web/i18n/en/app.json
[QWIK PLUGIN: 804] transform() Not transforming C:/src/github/milkyway/web/i18n/en/home.json
[QWIK PLUGIN: 804] transform() Not transforming C:/src/github/milkyway/web/i18n/en/runtime.json
15:02:30 [vite] Internal server error: Missing Qwik City Env Data for help visit https://github.com/QwikDev/qwik/issues/6237
      at AsyncFunction.QwikCityProvider_component_TxCFOy819ag [as resolved] (C:\src\github\milkyway\web\node_modules\@builder.io\qwik-city\index.qwik.mjs:659:11)
      at AsyncFunction.invokeApply (C:\src\github\milkyway\web\dist-dev\tsc-out\packages\qwik\src\core\util\implicit_dollar.js:3665:22)
      at AsyncFunction.invoke (C:\src\github\milkyway\web\dist-dev\tsc-out\packages\qwik\src\core\util\implicit_dollar.js:3658:22)
      at C:\src\github\milkyway\web\dist-dev\tsc-out\packages\qwik\src\core\util\implicit_dollar.js:7297:21
      at maybeThen (C:\src\github\milkyway\web\dist-dev\tsc-out\packages\qwik\src\core\util\implicit_dollar.js:384:54)
      at C:\src\github\milkyway\web\dist-dev\tsc-out\packages\qwik\src\core\util\implicit_dollar.js:7289:25
      at C:\src\github\milkyway\web\dist-dev\tsc-out\packages\qwik\src\core\util\implicit_dollar.js:1043:25
      at safeCall (C:\src\github\milkyway\web\dist-dev\tsc-out\packages\qwik\src\core\util\implicit_dollar.js:373:21)
      at executeComponent (C:\src\github\milkyway\web\dist-dev\tsc-out\packages\qwik\src\core\util\implicit_dollar.js:1043:10)
      at renderSSRComponent (C:\src\github\milkyway\web\dist-dev\tsc-out\packages\qwik\src\core\util\implicit_dollar.js:1405:20)
Qwik Speak warn Locale not resolved. Fallback to default locale: en
15:02:30 [vite] Internal server error: Missing Qwik City Env Data for help visit https://github.com/QwikDev/qwik/issues/6237
      at AsyncFunction.QwikCityProvider_component_TxCFOy819ag [as resolved] (C:\src\github\milkyway\web\node_modules\@builder.io\qwik-city\index.qwik.mjs:659:11)
      at AsyncFunction.invokeApply (C:\src\github\milkyway\web\dist-dev\tsc-out\packages\qwik\src\core\util\implicit_dollar.js:3665:22)
      at AsyncFunction.invoke (C:\src\github\milkyway\web\dist-dev\tsc-out\packages\qwik\src\core\util\implicit_dollar.js:3658:22)
      at C:\src\github\milkyway\web\dist-dev\tsc-out\packages\qwik\src\core\util\implicit_dollar.js:7297:21
      at maybeThen (C:\src\github\milkyway\web\dist-dev\tsc-out\packages\qwik\src\core\util\implicit_dollar.js:384:54)
      at C:\src\github\milkyway\web\dist-dev\tsc-out\packages\qwik\src\core\util\implicit_dollar.js:7289:25
      at C:\src\github\milkyway\web\dist-dev\tsc-out\packages\qwik\src\core\util\implicit_dollar.js:1043:25
      at safeCall (C:\src\github\milkyway\web\dist-dev\tsc-out\packages\qwik\src\core\util\implicit_dollar.js:373:21)
      at executeComponent (C:\src\github\milkyway\web\dist-dev\tsc-out\packages\qwik\src\core\util\implicit_dollar.js:1043:10)
      at renderSSRComponent (C:\src\github\milkyway\web\dist-dev\tsc-out\packages\qwik\src\core\util\implicit_dollar.js:1405:20) (x2)

@wmertens just tested it and it seems like it's fixing the constant error, but when I change something and HMR it goes straight into the following error:

And it goes away when I manually refrech...
If it helps, it seems like it's failing to load the segment of an event handler QRL of the following code:
      window:onScroll$={() => {
        windowScrolled.value = window.scrollY > 0;
      }}

@nelsonprsousa thank you, looks like it's not handling absolute paths in windows correctly. I'll try to fix.
@shairez is this with qwik-ui?

Is it possible to use @wmertens fix commit with npm? Or only with pnpm?

@frankroc2022 the instructions literally use npm :-)
npm i https://pkg.pr.new/@builder.io/qwik@6629

Thx. I did it wrong.
It fixes all my vite hmr dev problems. Nice!

@nelsonprsousa I think it's fixed for windows now, can you try?

@nelsonprsousa I think it's fixed for windows now, can you try?

I tried again but got the same error.
"@builder.io/qwik-city@https://pkg.pr.new/@builder.io/qwik-city@6629":
  version: 1.6.0-dev20240704222606

Any ideia if this is the correct version?

@nelsonprsousa no the version should have today's date like dev20240708

@nelsonprsousa no the version should have today's date like dev20240708

Let me run yarn cache clear and check again. I suspected as well 😅

Yeap, that was it, now I have:
"@builder.io/qwik-city@https://pkg.pr.new/@builder.io/qwik-city@6629":
  version: 1.6.0-dev20240708174604
  resolution: "@builder.io/qwik-city@https://pkg.pr.new/@builder.io/qwik-city@6629"

But still with same error 🤔

@nelsonprsousa does it still say stuff like Not found C:/src/github/milkyway/web/@fsC:/src/github/milkyway? so C: twice in there?

@nelsonprsousa does it still say stuff like Not found C:/src/github/milkyway/web/@fsC:/src/github/milkyway? so C: twice in there?

Webpage:
Failed to fetch dynamically imported module: http://localhost:5173/%40fsC%3A%5Csrc%5Cgithub%5Cmilkyway%5Cweb%5Cnode_modules%5Cqwik-speak%5Clib/useqwikspeak_resumecontext_6bh92hvek8o.js?_qrl_parent=use-qwik-speak.qwik.mjs

Console:
TypeError: Failed to fetch dynamically imported module: http://localhost:5173/%40fsC%3A%5Csrc%5Cgithub%5Cmilkyway%5Cweb%5Csrc/root_component_useondocument_p6osfoenwte.js?_qrl_parent=root.tsx

Weirdly enough, the first error is this one:
Missing Qwik City Env Data for help visit https://github.com/QwikDev/qwik/issues/6237

Than it just get replaced in like 0.1 seconds

actually, http://localhost:5173/%40fsC is wrong, it should say have the @ like http://localhost:5173/@fsC, that's a recent commit, but even then it should say  http://localhost:5173/@fs/C, so it's still wrong.

actually, http://localhost:5173/%40fsC is wrong, it should say have the @ like http://localhost:5173/@fsC, that's a recent commit, but even then it should say  http://localhost:5173/@fs/C, so it's still wrong.

Just deleted node_modules folder.
Got:
Failed to fetch dynamically imported module: http://localhost:5173/@fsC%3A%5Csrc%5Cgithub%5Cmilkyway%5Cweb%5Cnode_modules%5Cqwik-speak%5Clib/useqwikspeak_resumecontext_6bh92hvek8o.js?_qrl_parent=use-qwik-speak.qwik.mjs

Today 2024-07-08 I run npm i https://pkg.pr.new/@builder.io/qwik@6629. Just I run npm list, it showed:
<EMAIL_ADDRESS>Then I changed in package.json
<EMAIL_ADDRESS>"https://pkg.pr.new/@builder.io/qwik@6629",
to
<EMAIL_ADDRESS>"https://pkg.pr.new/@builder.io/qwik@6629#dc466d6", (latest commit so far)
Now npm list shows:
<EMAIL_ADDRESS>I rechecked it.
To be clear I only have the problem once after enter npm run dev.
I get this error for [...catchall] and without [...catchall].

@frankroc2022

"error loading dynamically imported module"
look in your browser console for errors like "outdated optimized dep", and maybe add those modules to optimizeDeps.exclude

"error loading dynamically imported module: http://localhost:5173/src/components/ts/global_component_useondocument_1nxsaijurq4.js?_qrl_parent=global.tsx"
console:
http://localhost:5173/src/components/ts/global_component_useondocument_1nxsaijurq4.js?_qrl_parent=global.tsx
504 Outdated Optimize Dep
But how I can add my component to:
optimizeDeps: {
      // Put problematic deps that break bundling here, mostly those with binaries.
      // For example ['better-sqlite3'] if you use that in server functions.
      exclude: [],
    }

?

 Can you check the package.json, and/or recreate node_modules to be sure?
The build artifact looks correct to me...

I've also been having this problem non-stop the last few days but updated my package.json to use the latest commit from this PR:
<EMAIL_ADDRESS>"https://pkg.pr.new/@builder.io/qwik@f086139",
<EMAIL_ADDRESS>"https://pkg.pr.new/@builder.io/qwik-city@f086139",

seems to have fully resolved it! Thanks a bunch!
re: @builder.io/qwik-city/vite, I had an issue with that when I only had the qwik package locked to the commit. Once I added qwik-city as well, that went away.

yarn cache killed me again. Sorry @wmertens, it is working now as expected 🚀
Thank you!

@nelsonprsousa can you test the latest update?
@frankroc2022 can you look into global.tsx, are you importing anything there?

I have still the same problem even with 1.7.0.
global.tsx
`import { $, component$, Resource, useContext, useOnDocument, useResource$, useStore, useStylesScoped$ } from<EMAIL_ADDRESS>import { useLocation } from<EMAIL_ADDRESS>import styles from '../navigation/navigation-overlay.css?inline';
import { Image } from "@unpic/qwik";
import { GlobalContext } from '~/routes/layout';
export default component$(() => {
useStylesScoped$(styles);
useOnDocument(
'DOMContentLoaded',
$(() => {
console.log('global - document - DOMContentLoaded');
  // if (pathname) {
  //   const url = location.url.href;
  //   const hash = window.location.hash.split('#').pop();

  //   if (!hash) {
  //     window.location.href = location.url.href += '#kontent';
  //     history.replaceState(null, '', url);
  //   }

  // }
})

)
...`
Error in Firefox 127.0.2 (64-bit) Linux in Oracle VM VirtualBox for Windows 11:
http://localhost:5173/src/components/ts/global_component_useondocument_1nxsaijurq4.js?_qrl_parent=global.tsx
504 Outdated Optimize Dep
The error comes only after npm run dev, after refresh page the error is gone.
The error only exist for useOnDocument with DOMContentLoaded but not for useOnDocument scroll.
The error only exist for useOnWindow with load but not for useOnWindow resize.
Here my package.json:
{   "name": "my-qwik-basic-starter",   "description": "Demo App with Routing built-in (recommended)",   "engines": {     "node": "^18.17.0 || ^20.3.0 || >=21.0.0"   },   "engines-annotation": "Mostly required by sharp which needs a Node-API v9 compatible runtime",   "private": true,   "trustedDependencies": [     "sharp"   ],   "trustedDependencies-annotation": "Needed for bun to allow running install scripts",   "type": "module",   "scripts": {     "build": "qwik build",     "build.client": "vite build",     "build.preview": "vite build --ssr src/entry.preview.tsx",     "build.server": "vite build -c adapters/netlify-edge/vite.config.ts",     "build.types": "tsc --incremental --noEmit",     "deploy": "netlify deploy --build",     "dev": "vite --mode ssr",     "dev.debug": "node --inspect-brk ./node_modules/vite/bin/vite.js --mode ssr --force",     "fmt": "prettier --write .",     "fmt.check": "prettier --check .",     "lint": "eslint \"src/**/*.ts*\"",     "preview": "qwik build preview && vite preview --open",     "start": "vite --open --mode ssr",     "qwik": "qwik"   },   "devDependencies": {<EMAIL_ADDRESS>"^1.7.0"<EMAIL_ADDRESS>"^1.7.0",     "@netlify/edge-functions": "^2.9.0",     "@types/eslint": "^8.56.10",     "@types/node": "^20.14.10",     "@typescript-eslint/eslint-plugin": "^7.16.0",     "@typescript-eslint/parser": "^7.16.0",     "@unpic/qwik": "^0.0.46",     "autoprefixer": "^10.4.19",     "eslint": "^8.57.0",     "eslint-plugin-qwik": "^1.7.0",     "netlify-cli": "^17.33.0",     "postcss": "^8.4.39",     "prettier": "^3.3.2",     "prettier-plugin-tailwindcss": "^0.6.5",     "tailwindcss": "3.4.4",     "typescript": "5.5.3",     "undici": "*",     "vite": "^5.3.3",     "vite-tsconfig-paths": "^4.3.2"   },   "dependencies": {     "@babel/runtime": "^7.24.7",     "@netlify/functions": "^2.8.1",     "intl-segmenter-polyfill": "^0.4.4"   } }

Thx. I did it wrong. It fixes all my vite hmr dev problems. Nice!
But what triggered these problems qwik or browser changes? I had these problems also with qwik v.1.5.7 and many other versions I tested.

This was my mistake. I never downgraded to 1.5.7 or older because of my mistake in package.json, I had:
^1.5.7
but it had to be ~1.5.7. Sry for that. For me 1.5.7 was the last working version.
Error since then:
"error loading dynamically imported module"
In 1.6.0 when site auto refreshes.
In 1.7.0 only when site is loaded for the first time.

1.7.1 solved all my problems, thx!

1.7.1 works


Run: auto validate if --app-port is usable

Describe the proposal
If --app-port is set & not usable (for example: other application has already occupied the port), applications will fail
We should check before running child applications instead.

@yaron2 @mukundansundar WDYT?

-app-port is the port the app is listening on, in which case if the user's app tries to listen on this port, it should fail. I recommend we keep it like that and let whatever server the user is handling to report the error.

Thanks @yaron2. Close this issue now.


Enabling zones-edit for the first time results in crash

TypeError: Cannot read property 'reduce' of undefined
    at Object.plugin.start (/usr/local/src/signalk-server-node.master/node_modules/signalk-zones/index.js:81:33)
    at router.post (/usr/local/src/signalk-server-node.master/lib/interfaces/plugins.js:131:14)
    at Layer.handle [as handle_request] (/usr/local/src/signalk-server-node.master/node_modules/express/lib/router/layer.js:95:5)
    at next (/usr/local/src/signalk-server-node.master/node_modules/express/lib/router/route.js:131:13)
    at Route.dispatch (/usr/local/src/signalk-server-node.master/node_modules/express/lib/router/route.js:112:3)
    at Layer.handle [as handle_request] (/usr/local/src/signalk-server-node.master/node_modules/express/lib/router/layer.js:95:5)
    at /usr/local/src/signalk-server-node.master/node_modules/express/lib/router/index.js:277:22
    at Function.process_params (/usr/local/src/signalk-server-node.master/node_modules/express/lib/router/index.js:330:12)
    at next (/usr/local/src/signalk-server-node.master/node_modules/express/lib/router/index.js:271:10)
    at /usr/local/src/signalk-server-node.master/node_modules/body-parser/lib/read.js:129:5
_http_outgoing.js:356
    throw new Error('Can\'t set headers after they are sent.');

You also have zones-edit and signalk-zones in package.json

I believe this is fixed.


Add support for frame_type and frame_description in JRuby

This commit refactors the experimental JRuby support such that
we can return roughly the same values for 'frame_type' and
'frame_description' in JRuby that we see in MRI.
This still has some limitations due to the following bugs:
https://github.com/pry/pry/issues/1205
https://github.com/pry/pry-stack_explorer/issues/20
But should be an improvement over the previous implementation.

what's the status on this?

@Ch4s3 @cprice404 As per previous discussions with @headius, it's probable that binding_of_caller support for JRuby 9k is not viable.
This PR was tested on JRuby 1.7.x, if this is useful for anybody we can merge it. But the real deal would be to take a look at JRuby 9k compatibility and decide if someone can make the effort or put a disclaimer on README.

gotcha. I hadn't seen the discussions with @headius. It might be useful, I've moved to 9k so I could really only use it as a jumping off point for investigating 9k compatibility, but other folks might get some use out of it.

@Ch4s3 See the discussion at https://github.com/banister/binding_of_caller/issues/47#issuecomment-52505824
A different approach is needed for binding_of_caller to work on JRuby 9k, if it's even possible. For now, I don't have the knowledge of how to implement it or if it's possible in the current runtime.

@cprice404 Is this patch still useful, do you use JRuby 1.7.x support for binding_of_caller?
If not we should focus on JRruby support for the current version only.

The feature request is still relevant :)  It would be a pretty big deal for us if we could get this working properly for our users.  That said, I haven't had time to keep poking at it, and would have no problem with the decision to cut bait on JRuby 1.7.x and focus on JRuby 9k.

@badosu thanks. It seems I had forgotten that discussion. I'm actually using "binding_of_caller", "0.7.3.pre1" with JRuby 9K in dev and it works just fine without JIT. is the JIT compatible implementation the block for a full 7.3 release?

@Ch4s3 To be frank I don't know. It's been some years since I last mantained binding_of_caller

@badosu Interesting. I'd love to help out, but I'm a pretty mediocre C programmer. I wonder, since b_o_c is rails dep if there's some opportunity to recruit some talented folks to help maintain the gem. I wonder if @banister would be open to putting out a call for new maintainers?

@Ch4s3 Usually, binding_of_caller 'just works' on MRI and previously it was the only supported platform. When there is a bug oftenly the reporter is able to figure out and contributes the fix.
Our problem curently is that JRuby has a lot of demand for b_o_c but we don't have a seasoned JRuby contributor to make it work properly.

@badosu I'll ask around and see if anyone can help out. Maybe we can setup a new issue with a todo list?

@Ch4s3 To be frank, I don't know if there need to be a structure around this.
If there is someone interested in contributing, let the person contribute, our most commented issue at this moment is making b_o_c working and reliable on JRuby, if that's possible and the person is able to deliver the result that is needed I would be grateful to be replaced as mantainer.


fpath "leaking" into other account when switching users

Problem Summary
My setup is as follows: both my normal user and my root account have plugins that are managed  via zplug. When I am in zsh as a normal user and I switch to the root user using "su", I always get the following error:
zsh compinit: insecure directories and files, run compaudit for list. Ignore insecure directories and files and continue [y] or abort compinit [n]?
This happens as soon as there is one plugin that modified the fpath. I noticed that if I do "echo $fpath" in the root account, it contains paths of my normal user, hence the error.
Next to that, I also noticed that if I do "echo $ZPLUG_HOME" as the root user, it is still pointing to the normal user zplug directory, which seems strange as well.
System Information

uname -a
Linux angua 4.8.0-1-amd64 #1 SMP Debian 4.8.5-1 (2016-10-28) x86_64 GNU/Linux

zsh version
zsh 5.2 (x86_64-debian-linux-gnu)

zplug version/commit
2.3.2 (version from debian repositories)

Minimal zshrc
Create a minimal reproducing set of configurations for this issue. Please
remove all unnecessary parts!

zplug "plugins/pip", from:oh-my-zsh

if ! zplug check --verbose; then
    printf "Install? [y/N]: "
    if read -q; then
        echo; zplug install
    fi
fi

zplug load

Steps to Reproduce

Use the above .zshrc for the regular and the root user
Open a zsh session for the normal user
Switch to the root user by executing 'su'

That's a normal behavior when you switch users. Try the following snippet:
$ export FOOBAR='foo'
$ su
# echo $FOOBAR
foo

If you do sudo su I think this doesn't happen.

If it can help someone, I have a solution:

Having the chomd to 755 for these files (compaudit | xargs chmod g-w)
Restore the FPATH value as it was before zplug
Unset ZPLUG_REPOS and ZPLUG_CACHE_DIR

Then the su command works as expected.
Here is a piece of my config file as an example:
# Save FPATH (for fix)
oldFPATH=$FPATH

# Plugin manager (Zplug)
export ZPLUG_HOME=$ZDOTDIR/zplug/
if [[ ! -a ${ZPLUG_HOME} ]]; then
   git clone  --recursive https://github.com/zplug/zplug $ZPLUG_HOME
fi
source ${ZPLUG_HOME}/init.zsh

# Plugins list
source ${ZDOTDIR}/plugins_list.zsh
# Plugins configuration
source ${ZDOTDIR}/plugins_conf.zsh

# Install plugins if there are plugins that have not been installed
if ! zplug check --verbose; then
    printf "Install? [y/N]: "
    if read -q; then
        echo; zplug install
    fi
fi

# Then, source plugins and add commands to $PATH
zplug load

# Fix for zplug

# restore fpath
FPATH=$oldFPATH

# unset some zplug variable for user switch
unset ZPLUG_REPOS ZPLUG_CACHE_DIR

[...]


Checking for missing packages?

Is there a way to check for missing packages? This is a nice feature of NeoBundle, in order to make sure everything in .vimrc has been installed.

@fortes I believe you want PlugStatus.

@starcraftman Awesome, not sure how I missed that! Is there a way to have it autoclose the window that pops?

This is probably what you want:
if !empty(filter(copy(g:plugs), '!isdirectory(v:val.dir)'))
  autocmd VimEnter * PlugInstall | q
endif

@fortes q instantly closes it. Otherwise, you need some solution like junegunn's.

@junegunn I think we can close this one, doesn't seem to have any more questions.


Disable caching for tasks failing task type validation

With all the new things we learn after https://github.com/gradle/build-cache/issues/283 is implemented we can disable caching for some more unsafe tasks.

This is now implemented via #15306.


Update issue templates

Created issue templates
Resolves #229
Summary
Creates issue forms that make it easier for people to submit different types of issues
Type of change

[x] Bug fix (added a non-breaking change which fixes an issue)
[x] New feature (added a non-breaking change which adds functionality)
[x] Updated documentation (updated the readme, templates, or other repo files)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)

How Has This Been Tested?

[ ] Ran tests with composer test
[ ] Added or updated test cases to test new features

Looks good, I think the file extensions need to be .yml instead of .md though

Looks good, I think the file extensions need to be .yml instead of .md though
I think there are also still some leftover lines from the md format that aren't supposed to be there in yml format

Ok, I'll make the change


Add diagrams to kubernetes.io/docs/contribute/ section

This is a Feature Request
Add diagrams to the K8s docs/contribute section.
What would you like to be added

Add simple flowchart-type diagram describing the website docs pipeline to kubernetes.io/docs/contribute/
Add flowchart or graph describing new contributor workflow to kubernetes.io/docs/contribute/new-content/overview/
Add one or more diagrams describing the open PR tasks to kubernetes.io/docs/contribute/new-content/open-a-pr/

Diagrams will be created using Mermaid. See  https://kubernetes.io/docs/test/#visualizations-with-mermaid
Why is this needed

Diagrams help visualize tasks, components, and actions to perform along with their relationship to one another for new and existing contributors.
Demystifies the docs contribution process by a) showing the "big picture"; b) putting "names to faces" for the multiple software components
Use of mermaid simplifies diagram edits/updates.

Comments
Hacked a non-mermaid, high-level mockup of the K8s website docs process to serve as an example.
https://github.com/chrismetz09/mermaidHacks/blob/main/k8s-super-high-level-docs-environment.png

You might like to crib a diagram from https://youtu.be/pprMgmNzDcw?t=353 @chrismetz09
/triage accepted
/sig contributor-experience
/sig docs

Before pounding new diagrams into a PR, wanted to preview a few to gather feedback/suggestions. Here is one that could be placed at the top of https://kubernetes.io/docs/contribute/:
.
To see/edit the mermaid code for this figure, check out live-editor link
If mermaid is new, check out K8s Docs Mermaid Notes

@chrismetz09 I think this is a good idea. I've been wanting to look for opportunities to add diagrams to the Kubernetes docs as well. I'll check out your mermaid instructions.

My feeling: some diagrams are going to be better than no diagrams, unless those some diagrams are very misleading.

Live-editor mermaid diagram links:
gettting started new contrib
First contribution prep
new content prep
Review process
Changes Github
working with fork
open pr from fork

These diagrams look great!

@chrismetz09 I also prefer diagrams to lengthy texts in certain contexts. However, the one you pasted above isn't clear to me. It is a little confusing actually. For example, the "sign up" box contains three activities, but I don't think there is a flow through them. Similarly, the activities in the "Review" box do NOT form a flow. Please think twice.

Tx for looking at the diagram @tengqm. Idea of diagrams was to "greet" new contributors with a simple/simple/simple diagram that articulates the accompanying text. Mermaid is somewhat limited and there were screensize and font size issues to deal with.
Not sure what you mean by flow. Use the mermaid live-editor and craft up an example. That would definitely help.

@chrismetz09 By "flow", I mean the arrows between boxes are confusing. If there is an arrow between 'A' and 'B', I'd assume there is a "happen-before" relationship. In other words, I have to complete 'A' as a prerequisite for 'B'. However, this is not the case with some of the boxes. Users may choose to start from 'A', or 'C'.

https://mermaid-js.github.io/mermaid/#/?id=git-graph-exclamation-experimental describes a different kind of graph that might be useful too.


Support Kubernetes upgrade without volume down

Longhorn version: v0.5.0
Rancher version: 2.2.8
We have noticed that when we do a Kubernetes upgrade, often times any workloads that have a Longhorn persistent volume will get disconnected from the volume.
We just upgraded one cluster from Kubernetes 1.12.7 to 1.14.6.
We left 3 workloads with Longhorn volumes running to test with, and stopped all other workoads.
Of the 3, one workload re-attached, and continued working without issues.
The other 2 volumes show state Attaching from the Longhorn UI, and the workloads do not see the data.
Both of the volume pods show Unavailable status from Rancher.
This presents a real problem for us because we are having to scale down our production workloads every time there is a Kubernetes upgrade, which seems to be every few weeks for vulnerability patches.
We are using RKE to do the cluster upgrades.
First erroring workload has PV name pvc-5b6620c5-c9f1-11e9-9b4e-005056980a6a
Logs from Longhorn pods matching 5b6620c5-c9f1-11e9-9b4e-005056980a6a:
pvc-5b6620c5-c9f1-11e9-9b4e-005056980a6a-e-a5ee1852: State: Unavailable, rancher/longhorn-engine:v0.5.0
time="2019-08-29T17:33:22Z" level=info msg="launcher: controller 95dddbdc-d55c-40f1-a08c-a6870dad3007 started"
time="2019-08-29T17:33:22Z" level=info msg="Starting with replicas [\"tcp://<IP_ADDRESS>:9502\" \"tcp://<IP_ADDRESS>:9502\" \"tcp://<IP_ADDRESS>:9502\"]"
time="2019-08-29T17:33:22Z" level=info msg="Connecting to remote: <IP_ADDRESS>:9502"
2019/08/29 17:33:22 Get http://<IP_ADDRESS>:9502/v1/replicas/1: dial tcp <IP_ADDRESS>:9502: connect: connection refused

pvc-5b6620c5-c9f1-11e9-9b4e-005056980a6a-r-186a38c9: State: Running, rancher/longhorn-engine:v0.5.0
time="2019-08-29T17:33:15Z" level=info msg="Listening on data <IP_ADDRESS>:9503"
time="2019-08-29T17:33:15Z" level=info msg="Listening on sync agent <IP_ADDRESS>:9504"
time="2019-08-29T17:33:15Z" level=info msg="Listening on control <IP_ADDRESS>:9502"
time="2019-08-29T17:33:15Z" level=info msg="Listening on sync <IP_ADDRESS>:9504"

pvc-5b6620c5-c9f1-11e9-9b4e-005056980a6a-r-423305da State: Running, rancher/longhorn-engine:v0.5.0
time="2019-08-29T17:33:21Z" level=info msg="Listening on data <IP_ADDRESS>:9503"
time="2019-08-29T17:33:21Z" level=info msg="Listening on sync agent <IP_ADDRESS>:9504"
time="2019-08-29T17:33:21Z" level=info msg="Listening on control <IP_ADDRESS>:9502"
time="2019-08-29T17:33:21Z" level=info msg="Listening on sync <IP_ADDRESS>:9504"

pvc-5b6620c5-c9f1-11e9-9b4e-005056980a6a-r-bc74375d State: Running, rancher/longhorn-engine:v0.5.0
time="2019-08-29T17:33:34Z" level=info msg="Listening on data <IP_ADDRESS>:9503"
time="2019-08-29T17:33:34Z" level=info msg="Listening on sync agent <IP_ADDRESS>:9504"
time="2019-08-29T17:33:34Z" level=info msg="Listening on control <IP_ADDRESS>:9502"
time="2019-08-29T17:33:34Z" level=info msg="Listening on sync <IP_ADDRESS>:9504"

Second erroring workload has PV name pvc-d309e862-92de-11e9-9a36-0050569885a2
Logs from Longhorn pods matching d309e862-92de-11e9-9a36-0050569885a2:
pvc-d309e862-92de-11e9-9a36-0050569885a2-e-f85f58f4: State Unavailable, rancher/longhorn-engine:v0.5.0
time="2019-08-29T17:33:34Z" level=info msg="launcher: controller e5f51adf-af4c-4ae6-ac61-900c52da3693 started"
time="2019-08-29T17:33:34Z" level=info msg="Starting with replicas [\"tcp://<IP_ADDRESS>:9502\" \"tcp://<IP_ADDRESS>:9502\" \"tcp://<IP_ADDRESS>:9502\"]"
time="2019-08-29T17:33:34Z" level=info msg="Connecting to remote: <IP_ADDRESS>:9502"
2019/08/29 17:34:04 Get http://<IP_ADDRESS>:9502/v1/replicas/1: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)

pvc-d309e862-92de-11e9-9a36-0050569885a2-r-f7b0acca: State Running, rancher/longhorn-engine:v0.5.0
time="2019-08-29T17:33:23Z" level=info msg="Listening on data <IP_ADDRESS>:9503"
time="2019-08-29T17:33:23Z" level=info msg="Listening on sync agent <IP_ADDRESS>:9504"
time="2019-08-29T17:33:23Z" level=info msg="Listening on control <IP_ADDRESS>:9502"
time="2019-08-29T17:33:23Z" level=info msg="Listening on sync <IP_ADDRESS>:9504"

When I look at the second workload in the list above from the Longhorn UI, it shows only one replica running, but the top section of the box was grey instead of blue.  I scaled down the workload, and then scaled it back up again.  Once the workload started, Longhorn showed the one replica as Running, and then it started to rebuild one of the other replicas.  Once the first replica finished, it started rebuilding the second replica.
The first replica in the above list shows 3 replicas as running from the Longhorn UI, but the boxes are also grey instead of blue.  I am certain that if I scale down the workload and bring it back up, that the replicas will all start working again.  I'm leaving it in this state in case anyone needs to get logs from the system.

@shubb30 Thanks for the reporting. We haven't looked into the Kubernetes upgrade yet, but I assume if the overlay networking is down, Longhorn volume would be down.
We need to look into the details of how Kubernetes upgrades to understand more about the impact to Longhorn. I think it's easy to reproduce it in our lab so feel free to recover your current workloads.

Thanks @yasker.  It's RKE that's doing the upgrade, and I'm sure you are right that it is taking down the networking during the upgrade.
I would understand that if the network were to go down that it might cause an interruption, but what I am worried about is that Longhorn does not self-heal in this scenario.  In just about every other case we have encountered, Longhorn is able to fix itself except for this one.

Done as a part of https://github.com/longhorn/longhorn/issues/851


Need babel-runtime but the the version is not the latest

When I install babel-runtime, the latest version is 6.3.19. Then I install vue-loader, there is an warning:
<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
It seems that version 5.8.0 is needed here. So my question is, if I install 6.3.19, could that block my project?

https://github.com/vuejs/vue-loader/issues/96#issuecomment-162910917


main.jsbundle does not exist

Please provide all the information requested. Issues that do not follow this format are likely to stall.
Description

Use xcode to archive the new build,
Xcode throw the error

echo 'error: File /Users/robert/Library/Developer/Xcode/DerivedData/Kolbev-bphgvwixleedtdevmalrlelxeekn/Build/Intermediates.noindex/ArchiveIntermediates/Kolbev/BuildProductsPath/Release-iphoneos/Kolbev.app/main.jsbundle does not exist. This must be a bug with'
error: File /Users/robert/Library/Developer/Xcode/DerivedData/Kolbev-bphgvwixleedtdevmalrlelxeekn/Build/Intermediates.noindex/ArchiveIntermediates/Kolbev/BuildProductsPath/Release-iphoneos/Kolbev.app/main.jsbundle does not exist. This must be a bug with
echo 'React Native, please report it here: https://github.com/facebook/react-native/issues'
React Native, please report it here: https://github.com/facebook/react-native/issues
exit 2

React Native version:
System:
OS: macOS 11.5.2
CPU: (12) x64 Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz
Memory: 914.61 MB / 16.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 12.22.1 - ~/.nvm/versions/node/v12.22.1/bin/node
Yarn: 1.22.4 - /usr/local/bin/yarn
npm: 6.14.12 - ~/.nvm/versions/node/v12.22.1/bin/npm
Watchman: Not Found
Managers:
CocoaPods: 1.10.1 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 14.5, DriverKit 20.4, macOS 11.3, tvOS 14.5, watchOS 7.4
Android SDK:
API Levels: 21, 22, 23, 24, 25, 26, 27, 28, 29, 30
Build Tools: 23.0.3, 25.0.2, 25.0.3, 27.0.3, 28.0.3, 29.0.0, 29.0.2, 29.0.3, 30.0.2
System Images: android-27 | Google APIs Intel x86 Atom, android-29 | Google APIs Intel x86 Atom
Android NDK: Not Found
IDEs:
Android Studio: 4.2 AI-202.76<IP_ADDRESS>86908
Xcode: 12.5.1/12E507 - /usr/bin/xcodebuild
Languages:
Java: 1.8.0_201 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 17.0.2 => 17.0.2
react-native: 0.65.1 => 0.65.1
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found

Have you found any solutions?  This is only happening when running in release or staging mode, not debug

I also encountered this error when making an archive build. 😔
Environment
node: 14.17.6
react: 17.0.2
react-native: 0.65.1
realm: 10.7.0

@taduyde and @tonypangs did this issue also begin after upgrading react-native from an older version or is this happening fro you with a fresh npx react-native init NewProject on 0.65.1?

@taduyde and @tonypangs did this issue also begin after upgrading react-native from an older version or is this happening fro you with a fresh npx react-native init NewProject on 0.65.1?

Hi @BenjErgizerBunny , both, from old and also use this command "npx react-native init NewProject"

I fixed this solution on my side.
It is becos the node version on xcode shell is below 14 which is not aligned with global environment.
(probably conflict of nvm and node)
You can check its version in xcode by adding node -v to react-native-xcode.sh
then inspect the version number in xcode error message.
To upgrade xcode node version, run
sudo npm install -g n
n install stable

I fixed this solution on my side.
It is becos the node version on xcode shell is below 14 which is not aligned with global environment.
(probably conflict of nvm and node)
You can check its version in xcode by adding node -v to react-native-xcode.sh
then inspect the version number in xcode error message.
To upgrade xcode node version, run
sudo npm install -g n
n install stable

I have same issue, and on global env i use node 14.17.3  the same in xcode 14.17.3. So i guess this trouble not in the node versions mismatch.

I've hit this as well.
0.64.2 - Debug and Archive both work
0.65.1 - Debug works; however, Archive generates an error while creating the bundle during the "node /node_modules/react-native/cli.js bundle --entry-file index.js --platform ios --dev false --reset-cache --bundle-output..." cmd
If I run the command directly in my terminal, it is successful.

Thought I'd toss in... just a little above the error for me, there are a couple lines of errors during the bunding:

Watchman:  watchman --no-pretty get-sockname returned with exit code=1, signal=null, stderr= 2021-10-09T15:12:52,310: [] while computing sockname: failed to create /usr/local/var/run/watchman/username-state: No such file or directory```

might be a `watchman` issue?

If you've installed node via brew, you can fix it by changing this line in Xcode Build Phases->Bundle React Native code and images: export NODE_BINARY=node to this one: export NODE_BINARY=/usr/local/opt/node/bin/node

This solved the issue for me!

If you've installed node via brew, you can fix it by changing this line in Xcode Build Phases->Bundle React Native code and images: export NODE_BINARY=node to this one: export NODE_BINARY=/usr/local/opt/node/bin/node

THIS WORKED FOR ME THANK YOU!!!!

this command helped me npx react-native bundle --entry-file index.js --platform ios --dev false --bundle-output ios/main.jsbundle --assets-dest ios

For those encountering this issue, it is probably coming from the /* Bundle React Native code and images */ section of your project.pbxproj
This is configured with a shellScript, typically export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh
The error specifically comes form this line here
https://github.com/facebook/react-native/blob/2fdbf6a10fe67fa3209a51a1105a97c16991f561/scripts/react-native-xcode.sh#L185-L189
It is prompted with the $BUNDLE_FILE does not exist while not making a dev build.
In my case this is because this line failed for me:
https://github.com/facebook/react-native/blob/2fdbf6a10fe67fa3209a51a1105a97c16991f561/scripts/react-native-xcode.sh#L153-L162
The error it gave wasn't shown during the xcode build, by adding an echo at the start of line 153 to get the command it was running then run it manually.
In my case the error was
error The resource `/Users/wsedlacek/Code/temp/example/index.js` was not found.

In my project I didn't have a index.js as I was using a monorepo, so the ENTRY_FILE needed to be configured.
So I added ENTRY_FILE=apps/template/src/main.ts to prefix the react-native-xcode.sh command in the project.pbxproj and my issue was solved.

I fixed this by removing main.jsbundle from Copy Bundle Resources under Build Phases in Xcode

This was happening to me using Expo 46 and EAS. I spent 3 days trying to resolve it. A combination of things I found on StackOverflow and here helped. Step 5 was essential and critical for having successful EAS builds. Everything else after are for those using the latest version of Expo and React Native, and can't compile locally or on Expo's EAS server.

ran "react-native bundle --entry-file index.js --platform ios --dev false --bundle-output ios/main.jsbundle --assets-dest ios"
Added "main.jsbundle" to the Xcode workspace.
Selected "Build Phases" and expanded "Copy Bundle Resources"
Dragged (or you can click the + icon) main.jsbundle into the section
I searched my repo for "main.jsbundle" and saw it was in the ".gitignore" and I removed all instances of it from the file.
Now that the repo wasn't excluding the main.jsbundle file in uploads and zips, it was able to compile!

For Expo 45+ and/or React-Native 0.69.4 users:

Since the latest version of React-Native deprecated ViewPropTypes, I ran "yarn add deprecated-react-native-prop-types"

Then I created a folder called "scripts" as a subdirectory of "src"

I located the "index.js" file in "node_modules/react-native" and copied it into my new "src/scripts" folder

In the "src/scripts/index.js" file, I replaced the Deprecated Prop Types around lines 436 with:
// Deprecated Prop Types
get ColorPropType(): $FlowFixMe {
return require("deprecated-react-native-prop-types").ColorPropType;
},
get EdgeInsetsPropType(): $FlowFixMe {
return require("deprecated-react-native-prop-types").EdgeInsetsPropType;
},
get PointPropType(): $FlowFixMe {
return require("deprecated-react-native-prop-types").PointPropType;
},
get ViewPropTypes(): $FlowFixMe {
return require("deprecated-react-native-prop-types").ViewPropTypes;
},
};

I then added the postinstall package to run commands after yarn is completed "yarn add postinstall"

I added this script to copy the edited index.js to the node_modules/react-native folder after yarn install completes

"patch-react-native": "PATCH_PATH=$(pwd)/script_patches/react-native/index.js && NODE_PATH=$(pwd)/node_modules/react-native/index.js && cp $PATCH_PATH $NODE_PATH"

Next add a postinstall script: "postinstall": "yarn patch-react-native"
Now with all of these steps I provided, I was able to build locally and on the eas server since the index.js files is getting replaced.

Hopefully, all of this can help future devs, or at least bits and pieces. This was a 55 hours journey, and I really want to help those who were forced to upgrade due to 3rd party libraries. For me, it was the integration of the Square Reader SDK.
Lastly, I really wish I had all of the urls, and usernames to provide thanks, and give credit, to. It was a lot of googling with trial and error.

this command helped me npx react-native bundle --entry-file index.js --platform ios --dev false --bundle-output ios/main.jsbundle --assets-dest ios

That's exactly what helped me too.

It looks like react-native doesn't use /opt/homebrew/bin/watchman.
I added a symbolic link like this this fixed my issue.
ln -s  /opt/homebrew/bin/watchman /usr/local/bin/watchman

If i generate the bundle with "npx react-native bundle --entry-file index.js --platform ios --dev false --bundle-output ios/main.jsbundle --assets-dest ios" new, i get the error
error Failed to load configuration of your project. info Run CLI with --verbose flag for more details.
I i add "--verbose", no information given.

@iSaBo96 I have experienced this issue when missing dependencies in my package.json.
You can try to run react-native config as documented here: https://github.com/react-native-community/cli/blob/main/docs/commands.md#config
If the config doesn't look right, or has an error running that command check that your package.json and react-native.config.js are configured properly. If you are using nx then make sure you have run nx sync-deps <project-name>

if you are using a monorepo/yarn workspaces you're going to want to define the PROJECT_ROOT at the top of your Bundle React Native code and images script
export PROJECT_ROOT=$PWD/..

that's the build phase that was failing for me and this fixed it ^

yeaaah thank you !

export NODE_BINARY=node
export PROJECT_ROOT=$PWD/..
../node_modules/react-native/scripts/react-native-xcode.sh

thanks!!!

There are numerous reasons why you can get such an error "main.jsbundle does not exist". I got it when I my code had syntax errors (missing commas in styled-component entities), and I had to build the app with RN CLI instead of Xcode to see these errors.

I see that you have found a very good solution by creating a main.jsbundle file and adding it to the project.
But I also tried to find a different way with the intention of not creating a file but editing the $NODE_BINARY variable.
I use the output of the which node command to copy the result and replace it in the following location:
"$NODE_BINARY" $NODE_ARGS "$CLI_PATH" $BUNDLE_COMMAND \ $CONFIG_ARG \ --entry-file "$ENTRY_FILE" \ --platform "$BUNDLE_PLATFORM" \ --dev $DEV \ --reset-cache \ --bundle-output "$BUNDLE_FILE" \ --assets-dest "$DEST" \ $EXTRA_ARGS \ $EXTRA_PACKAGER_ARGS
change to
which node  =>  PATH_TO_NODE/node/v16.15.1/bin/node
"PATH_TO_NODE/node/v16.15.1/bin/node" $NODE_ARGS "$CLI_PATH" $BUNDLE_COMMAND \ $CONFIG_ARG \ --entry-file "$ENTRY_FILE" \ --platform "$BUNDLE_PLATFORM" \ --dev $DEV \ --reset-cache \ --bundle-output "$BUNDLE_FILE" \ --assets-dest "$DEST" \ $EXTRA_ARGS \ $EXTRA_PACKAGER_ARGS
Hope it useful.

if you are using a monorepo/yarn workspaces you're going to want to define the PROJECT_ROOT at the top of your Bundle React Native code and images script
export PROJECT_ROOT=$PWD/..

that's the build phase that was failing for me and this fixed it ^

I'm using nx, do you know how to fix this issue with nx monorepo

I recently upgraded my React Native project from 0.64.0 to 0.73. I'm also getting this issue.

I fixed this by removing main.jsbundle from Copy Bundle Resources under Build Phases in Xcode

Such a simple solution, this is what exactly helped me, thanks a lot @JDMathew

After added "main.jsbubdle" in iOS manually all latest changes are not update on file save and metro server disconnect after app successfully launched,Any solution...?
Thanks in advance

My fix was:
npx react-native bundle --entry-file index.js --platform ios --dev false --bundle-output ios/main.jsbundle --assets-dest ios
Thanks to the: https://github.com/facebook/react-native/issues/32108#issuecomment-1449824810


Fix RSDL-CSDL conversion to accommodate cases where a singleton is introduced for a keyless type.

@mikepizzo @ralfhandl  the spec still refers to a singleton needing to be a entity type. http://docs.oasis-open.org/odata/odata-csdl-xml/v4.01/odata-csdl-xml-v4.01.html#sec_Singleton .
What am I missing? How can we generate a CSDL for this?

If a type is used in a singleton, it is an entity type, but it doesn't need to have a key.

The consequence is that a (RSDL) structured type without a key will be translated to a complex type. But even though it might not change structurally, by adding it as a single-valued property in the service (a singleton) it will be suddenly translated to an entity type.
I do not think it be a technical problem. But it might be a surprise to some users.

În OData v5 we will combine entity types and complex types into "structured types", merge navigation properties and properties, and combine $expand and $select into $expect 😄


Container children must be wrapped in a <Tabs.Tab ... /> component

I'm encountering an issue when trying to create a reusable component that contains Tabs.Tab as a wrapper and displays all the children. The Tabs.Container component is expecting its children to be directly wrapped in Tabs.Tab components, but this requirement seems to cause an error when using a reusable component.
export const ReviewsTab = ({ children }) => {
  return (
    <Tabs.Tab name="Reviews" label="Reviews">
      {children}
    </Tabs.Tab>
  );
};

const Foo = () => {
  <Tabs.Container>
    <ReviewsTab>
      <Text>Foo</Text>
    </ReviewsTab>
  </Tabs.Container>
};

Feature request

Create a reusable component that contains Tabs.Tab as a wrapper and renders all the children.
Use this reusable component in a parent component where Tabs.Container is used.

Current behavior
It throws an error: "Container children must be wrapped in a <Tabs.Tab ... /> component"

same problem here :(

You can create a reusable component like this:
<Tabs.Tab label={t`Collections`} name="collections">
  <TabCollections />
</Tabs.Tab>

const TabCollections = () => {
  return (
    <Tabs.FlatList />
  );
};