[feat] close app if not admin

This PR partially addresses #67 by adjusting the following:

Adds logging to let the user know that the application is not running under admin
Kills the application after user presses a key in console window

ToDo:

Implement some sort of GUI element to allow the user to restart with admin if they do not have Console enabled
OR
Implement auto-restart if the application detects incorrect permission levels set
Update README/wiki if the user encounters this error during development, with how to fix it

The app should now automagically restart if it does not have admin privileges. This option does not prompt the user for a restart as I felt that it creates unnecessary work for both the developers (we'd have to implement a button/notification system) as well the user.

Hi @Cryotechnic,
As per my recent comment in this issue: #67, I've made a branch to implement the "Run as admin" prompt in the Main() method level so the app is running as admin from the start.
You can check out the commit here: https://github.com/neon-nyan/Collapse/commit/c3bb1a4699d187073057cbbc48448f3f43688aca
Preview
https://user-images.githubusercontent.com/30566970/210075039-e1c95dd0-6e9d-4815-87c4-b126f8a3b642.mp4

Hey, sorry for the delayed response. As we are coming into the new year, I have family commitments so I have had less time to work on this project. I should have some time later today to properly test this feature. Thank you for your help with this!

Ok got the chance to take a look at it on my end. Everything seems to work as intended if you run it after compilation, as the window appears normally. That being said, if you run it in Debug in VS2022, the Program.cs method has no way of knowing what the previous scope of the application is, which I believe is the reason as to why it fails.
Demo:
https://user-images.githubusercontent.com/9833218/210125581-d05f9e26-2dcd-460a-903b-86ccbcc3f1d7.mp4
Screenshot of error:

While I do not believe that this is critical to the app working well, it would be nice if we could take this issue into account should a developer want to test it themselves.
Another question I have is if it would be possible to style it as a WinUI MessageBox rather than a built-in Microsoft one. This is again, not a requirement, but just to keep our design language consistent.
Aside from that, everything looks great!

Seems like the arguments from the Main() to the admin check code method doesn't get concatenate properly and causing the app to not recognize it as a valid list of arguments.
Anyway, I don't see a line where it sets the Arguments property while initializing ProcessStartInfo() inside of the Process() or did you not commit the changes yet? 🤔

Another addition. Since we should necessarily to run this launcher as administrator from the start, can we also implement this admin check method on the Main() level (as based on this commit: https://github.com/neon-nyan/Collapse/commit/c3bb1a4699d187073057cbbc48448f3f43688aca)

Seems like the arguments from the Main() to the admin check code method doesn't get concatenate properly and causing the app to not recognize it as a valid list of arguments.
Anyway, I don't see a line where it sets the Arguments property while initializing ProcessStartInfo() inside of the Process() or you haven't commit the changes yet? 🤔

I'm assuming you fixed this in c3bb1a4699d187073057cbbc48448f3f43688aca? Asking since I see the Arguments added to the codebase, unless you want it for ApplyUpdate as well?

Yep, the recent commit contains changes to add the Arguments to pass it from an external Process call.
So, the goal of that commit is actually giving the "administrator check" on the Main() method instead of implementing it to each particular method. So the app will be launched as an administrator from the beginning.

Yep, the recent commit contains changes to add the Arguments to pass it from an external Process call.
So, the goal of that commit is actually giving the "administrator check" on the Main() method instead of implementing it to each particular method. So the app will be launched as an administrator from the beginning.

Does this mean that we're good to merge this then or is there anything missing? A bit confused XD

For now, I think it's enough. The rest will be added by me.
I will be merging this in an hour or so.


Silent Failure when data model contains methods

Hi,
I tried the extension on an UI5 app we have and noticed that some of the nodes in our tree couldn't be inspected. After some debugging, I noticed in /scripts/content/main.js@L91 detectEvent.detail is null if any of the property in detectEvent.detail is a function. For a better understanding of the problem, please read: http://stackoverflow.com/questions/28699159/customevent-detail-tainted.
My suggestion to fix this problem would be to add a function at /scripts/modules/injected/message.js@L13 that does a copy of the detail without the functions.
Cheers,
Jean-Francois

H iJean-Francois,
The issue is fixed. Thank you for your findings.
Regards,
Stefan Minchev


Fixing grammatical error.

Should use possessive pronoun 'its'.
Reference: http://grammarist.com/spelling/its-its/

Good catch, thanks.


Add JavaScript in 14 minutes interactive tutorial by Jeremy Thomas

What does this PR do?
Add resource
For resources
Description
"JavaScript in 14 minutes", interactive tutorial by Jeremy Thomas
Why is this valuable (or not)?
This simple tool explains the basics of the JavaScript language, step by step, in a clear, direct and dynamic way, inviting you to interact with the browser and the console.
At the end of the guide, you will have received an overview of the language's main concepts (functions, variables, conditionals and loops) and of the main data types (strings, numbers, objects, arrays and booleans).
How do we know it's really free?
It's available directly from the author's website.
For book lists, is it a book? For course lists, is it a course? etc.
It's an interactive tutorial.
Checklist:

[x] Read our contributing guidelines.
[x] Search for duplicates.
[x] Include author(s) and platform where appropriate.
[x] Put lists in alphabetical order, correct spacing.
[x] Add needed indications (PDF, access notes, under construction).
[x] Used an informative name for this pull request.

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

Thank you for the work tou guys do for the community. Glad to contribute!


Remove step mapconfig overviews adapter

Please, @oleurud. Could you do some DR of what I changed??


Refactor XO python

@chenette Is breaking it up into multiple files friendly from a documentation perspective? (Hoping yes.)

@vaporos - I'm not sure what "it" refers to in "...breaking it up into multiple files...".  This PR is code only, right?

@vaporos I have fixed according to your comments. In the fix it was hard to keep two of the commits separate, so the "Refactor to use XoState" and "Refactor validation rules" commits are now one commit.


feat: Version pinning

There was a small issue during recent deployment wherein the typescript version clashes with the types/node package. The compiler does some type checking during build and was throwing the following error:

node_modules/@types/node/events.d.ts(109,43): error TS2370: A rest parameter must be of an array type.

We should have anyway pinned the versions of the dependencies. This PR takes care of that.

Version pinning of dependencies will be addressed at a later time.


Publication edit: live expansion of contributor when opening modal contributor makes it impossible to fix it

Describe the bug
When you open the edit modal for a contributor in the tab "People and affiliations" of a publication,
then some will fail with a requestId. Some ugent contributors are no longer part of the authority
database, and the code tries to fetch them in order to live update the status "active".
To Reproduce
Steps to reproduce the behavior:

Go to https://backoffice.biblio.ugent.be/publication/357086?redirect-url=%2Fpublication&show=contributors
Click on edit button for author "Anneleen De Cock"
An error modal pops up saying "Biblio could not complete the action. .."

Expected behaviour
Isn't better to mark these records with some warnings,
rather than stopping people from fixing it themselves?
It is less error prone than trying to fix it on the command line.
Screenshots

I don't have a clear view on what the impact is here. @netsensei has assisted in building this temporary feature. Do you have any input here?

I just spoke with Matthias; we are aware this is not the best solution. But we need the person service to fix this in a durable way. This is why we now have a mechanism to at least report the issue, it doesn't mean we have to fix it right now or in the command line. We can then prioritise accordingly. We can talk about it next week with the entire team?

Will not fix with long-term strategy for people service.


Rails 5.0+ Support (Drops Rails 4.2 Support)

Upgraded CASino to support Rails 5.0+
Fixed tests
Addressed deprecations
Added Appraisals to test multiple versions of Rails
Dropped Rails 4.2 support because integration tests require keyword arguments and this isn't supported by Rails 4.2
Additional fixes

Please submit PRs to our branch for CASino maintenance: https://github.com/identification-io/CASino

Coverage increased (+0.04%) to 97.236% when pulling f473af13b78470e66cc01ed6c158027ecc05cb2e on identification-io:master into ff29323b8a9692a82dcc498498761675ee44701d on rbCAS:master.

Coverage increased (+0.04%) to 97.236% when pulling f473af13b78470e66cc01ed6c158027ecc05cb2e on identification-io:master into ff29323b8a9692a82dcc498498761675ee44701d on rbCAS:master.

Coverage increased (+0.04%) to 97.236% when pulling f473af13b78470e66cc01ed6c158027ecc05cb2e on identification-io:master into ff29323b8a9692a82dcc498498761675ee44701d on rbCAS:master.

Coverage decreased (-0.1%) to 97.103% when pulling c2330777c8354323428424bad79a7476452bda02 on identification-io:master into ff29323b8a9692a82dcc498498761675ee44701d on rbCAS:master.

Coverage decreased (-0.1%) to 97.103% when pulling 2e989ae46af682a92e9df227d30ff36e111d83d3 on identification-io:master into ff29323b8a9692a82dcc498498761675ee44701d on rbCAS:master.

Coverage decreased (-0.1%) to 97.103% when pulling 2e989ae46af682a92e9df227d30ff36e111d83d3 on identification-io:master into ff29323b8a9692a82dcc498498761675ee44701d on rbCAS:master.

Coverage increased (+0.02%) to 97.226% when pulling 01cd1b46cde606fe67668f1bb1eb9bb6cdd9bc82 on identification-io:master into ff29323b8a9692a82dcc498498761675ee44701d on rbCAS:master.

Coverage increased (+0.02%) to 97.226% when pulling 01cd1b46cde606fe67668f1bb1eb9bb6cdd9bc82 on identification-io:master into ff29323b8a9692a82dcc498498761675ee44701d on rbCAS:master.

Coverage increased (+0.02%) to 97.226% when pulling 723dd0d1db59a18105e7f1031a33bfe607383e5b on identification-io:master into ff29323b8a9692a82dcc498498761675ee44701d on rbCAS:master.

Hey folks. What's the status of this PR? Any luck it can be finished and merged some time soon?

What's the status of this?

@abutterf I don't think this gem is maintained anymore.

Yes, @joelvh is correct. I tried but failed to find someone to take over the project.


when i rename the "const name = ref('')" in vue3, it change other files, its wrong

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version:
OS Version:

Steps to Reproduce:
in vue3, i rename 'name' of  'const name = ref('--')', but it changed other files, i only want change this file.
follow is rename preview

Vue support is provided by extensions. Please file an issue against them


The data is not synchronized correctly when using pull:'clone' under group property

The following jsfiddle shows the problem.
https://jsfiddle.net/hqxranrd/6/
You may try to drag item from list 1 to list 2. While sortable.js works fine and display the correct item, you can see from the list below that the data is not synchronized as the lists above.

@cytsunny Thanks for reporting the issue and documenting the problem with a fiddle. I just commit a fix for this problem. Here is afiddle with the working version: https://jsfiddle.net/dede89/u5ecgtsj/ . I will publish a new Vue.Dragable.For version later today or tomorrow.

Version published: 1.0.7!


[azcore] Add text [un]marshalling support to ResourceID

It would be handy for ResourceID to support the encoding.TextMarshaler and encoding.TextUnmarshaler interfaces so that, for example, JSON data that includes a resource ID string can be unmarshaled directly to a ResourceID struct (and vice versa for marshaling).

[x] The purpose of this PR is explained in this or a referenced issue.
[x] The PR does not update generated files.

These files are managed by the codegen framework at Azure/autorest.go.

[x] Tests are included and/or updated for code changes.
[x] Updates to module CHANGELOG.md are included.
[x] MIT license headers are included in each file.

My suggestion is still valid.  Please leave open.

Mind rebasing on main?


Ingestion UI is not proper on connection details tab

Affected module
UI
Describe the bug
Ingestion UI is not proper on the connection details tab
To Reproduce

Navigate to Services page from settings dropdown
Click on add service
Fill the mandatory details and proceed to connection details page
We are unable to see the fields to add necessary connection details

https://user-images.githubusercontent.com/67048554/163468426-49702139-235c-4e11-946d-8698b7b630be.mp4
Expected behavior
Ingestion UI should be proper on connection details tab
Version:

OpenMetadata version: 0.9.0

Additional context
NA

@darth-coder00


Update URL Whitelist

It seems that the URL in Sandboxes has changed and is not included in "force.com"

now i dont see the extension :(

@Asitt100 this should be resolved. Can you check.

Thank you!On Jun 28, 2024, at 10:45 AM, Warren Walters @.***> wrote:
@Asitt100 this should be resolved. Can you check.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>


[FEAT] Add to Chocolatey

Is your feature request related to a problem? / 你想要的功能和什么问题相关？
I would like to download always the latest version but there is no way to do so.
Describe the solution you'd like. / 你想要的解决方案是什么？
If you could add ChatALL as a Chocolatey package (as you did with homebrew), it could solve this issue :)
Describe alternatives you've considered. / 你考虑过的其他方案是什么？
No response
Additional context / 其他信息
No response

Duplicate of 508


Do i need to add tabs url in inputs ?

Hello there
I see in the options you have homebrew-core and homebrew-cask, If i wanted to add more tabs lets say cask fonts do i need to add a new input with homebrew-cask-font then add its url like so :
  Inputs={

    homebrew-cask-font = {
      url = “github:homebrew/homebrew-cask-fonts”;
      flake = false;
    }
  }

then add it to the tabs option
tabs = {
  “homebrew/homebrew-core”;
  “homebrew/homebrew-cask”;
  “homebrew/homebrew-cask-fonts”;
}

is that’s correct or I’m misunderstanding?

You only need to add taps as Flake inputs if you set nix-homebrew.mutableTaps = false. When mutableTaps is false, all taps must be specified directly in the nix-homebrew configuration. In that case, your flake.nix would look something like the following:
{
  inputs = {
    # nixpkgs, nix-darwin, etc are omitted for brevity
    nix-homebrew = {
      url = github:zhaofengli-wip/nix-homebrew;
      inputs.nixpkgs.follows = "nixpkgs";
    };
    homebrew-bundle = {
      url = github:homebrew/homebrew-bundle;
      flake = false;
    };
    homebrew-core = {
      url = github:homebrew/homebrew-core;
      flake = false;
    };
    homebrew-cask = {
      url = github:homebrew/homebrew-cask;
      flake = false;
    };
    # additional taps as inputs
  };

  outputs = {…}: {
    darwinConfigurations = {
      mac = nix-darwin.lib.darwinSystem {
        modules = [
          inputs.nix-homebrew.darwinModules.nix-homebrew
          {
            nix-homebrew = {
              enable = true;
              taps = {
                "homebrew/homebrew-bundle" = inputs.homebrew-bundle;
                "homebrew/homebrew-cask" = inputs.homebrew-cask;
                "homebrew/homebrew-core" = inputs.homebrew-core;
                # any additional taps
              };
              mutableTaps = false;
            };
          }
        ];
      };
    }
  };
}


Lang choice

Enable users to choose language (ENG/RUS)
Basically a feature to make the game better.
Need:

Mark the words by tr().
Change JSON files into eng.
Make ts files for eng -> eng and eng -> rus.
Include them in qmake and enjoy!.

Feature implemented!
https://github.com/LLIEPJIOK/Walker_game/assets/109169672/d6b23898-f44c-47a1-af6c-eac9d5738671


LB-IPAM: Add flag to ignore services without LBClass set

The existing behavior of LB-IPAM was to assume LB-IPAM is responsible for services without an LBClass set. This made sense since LB-IPAM is aimed at environments where traditional LB controllers are not available and there were still supported k8s deployments that did not support LBClass.
All supported k8s deployments now support LBClass, and users have reported situations where the default LB controller has to be assigned to a controller other than LB-IPAM due to the other controller not respecting LBClasses. Therefor, it is advantages to have the option to tell LB-IPAM to ignore services without an LBClass set and only manage services with an LBClass that we own.
This PR adds this functionality, by default we still have the old behavior, but the --lbipam-require-lb-class flag / lbIPAM.requireLBClass helm option can be set to true to make LB-IPAM ignore services without an LBClass set.
Fixes: #33319
Add a flag that instruct LB-IPAM to only allocate IPs for services with .Spec.LoadBalancerClass specified

/test

/test

Is this feature already unified?
I searched on Helm chart and couldn't find such parameters

@iceman2077 The setting was replaced with defaultLBServiceIPAM https://github.com/cilium/cilium/blob/e073b088e3e8c9d828b9def320152ca2fb748bcf/install/kubernetes/cilium/values.yaml#L1929
See https://github.com/cilium/cilium/pull/35074

Yes, This PR is available in 1.17.0-pre.0. Then the change to defaultLBServiceIPAM takes effect in  1.17.0-pre.2. Both are pre-release images for testing but not production ready.
The v1.17.0 release will be the first production image with this feature.


v0n00ne@m-c02f606jml87 ~ % dotnet zsh: command not found: dotnet

Problem encountered on https://dotnet.microsoft.com/learn/dotnet/hello-world-tutorial/install
Operating System: macos
Provide details about the problem you're experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.

v0n00ne@m-c02f606jml87 ~ % dotnet
zsh: command not found: dotnet

Hi @vinothannavul! Did you install the SDK? If so, did you open a new command prompt after the installation?


Overview issue [Nicolas Travnicek]

Introduction
Hi, my name is Nicolas Travnicek and I am a PhD in Biotechnology.
Describe your research in 2-3 sentences to someone that is not from your field (please avoid abbreviations) My research focuses on biocatalysis. This includes the engineering (modification) of enzymes to enable reactions  which were not able to execute with the natural enzyme. Goal is to open up new reactions and to increase the sustainabilty of chemical reactions.
My research entails the following aspects:
Fill out Yes or No's to the aspects that apply to your research project.

Research Aspect
Answer

Use/collect personal data (health data, interviews, surveys)
No

Use/collect experimental data (lab experiments, measurements with instruments)
Yes

Collaborate with industry
No

Write/develop software as the main output of the project
No

Use code (as in programming) for data analysis
No

Work with large data (images, simulation models)
Yes

Other:
N/A

Reflections on the importance of RDM videos
I completely agree with the statements made in the video. Proper organization of data is essential to ensure reproducibility. I experienced the same issues while reproducing data which were reported in literature. Since all the reported data were poorly described and no deeper insights to the results were given, I spent a huge amount of time on trying to reproduce these results because my data showed huge deviations from the ones described in the paper. Consequently, I spent a huge amount of time trying to reproduce the results which was simply impossible since I did not get the results reported in literature. If the researchers in the paper would have explained and reported all their data, I would not have faced those problems from the beginning and had saved myself a lot of time.
What would you like to learn during this course?
Are there any things in particular that you would like to get out of this course? Do you have any goals that you would like to work on?
Checklist assignments
Use the checklist below for yourself to check off your progress in this course.

[x] Assignment 1: creating a GitHub issue (the overview issue) (before 15 February, 10:00)
[x] Respond to the GitHub issue #101
[x] Assignment 2: Data Flow Map 1 (share a link in this issue before 22 February 13:00). Link:
[x] Provide feedback to at least one Assignment 2 from another participant
[ ] Respond to the GitHub discussion #103
[ ] Respond to the GitHub discussion #102
[ ] Assignment 3: Data Flow Map 2 (share a link in this issue before 5 March 13:00). Link:
[ ] Provide feedback to at least one Assignment 3 from another participant
[ ] Assignment 4: Data Management Plan (before 8 March, 13:00)
[ ] Respond to the GitHub discussion #104 if you have any questions (optional)
[ ] Assignment 5: Data Flow Map 3: submit your slide (before 11 March, 17:00)

Hi @nicolastravnicek! Thanks for already submitting your overview assignment! If you remove the #<!--  signs before and after your answers, they will show up in the submitted assignment. I removed it for you for the first answer as an example. Please let me know if you have any issues with that and we can go over it together!

Attached you will find the link to my second assignment
https://surfdrive.surf.nl/files/index.php/s/Mq4rTzHWfusplXp

Thanks for sharing your assignment 2 @nicolastravnicek! It looks clear!
A question:

You use the closed access flag for all your data: why is this? In the overview assignment above you do not indicate that you work with industry? Why is the data confidential?

And some suggestions:

Files stored locally on your laptop or measurement computers are not backed up, unless you're using network drives! Which network drive is the section using for the data?
You mention labbooks in your notes but not in the data workflow: do you work with a lab book? If so it would be better to see that as a separate dataflow for the next assignment.

Hi @nicolastravnicek ! Thanks for sharing your assignment, looks clear and very concise. I do have two questions:

Is this the only data you will be dealing with over the whole course of the project, or only just now?
How do you make the distinction about what is important enough to write electronically down versus 'only'  in your labjournal? Wouldn't it be saver to somehow have an electronic back-up of your whole labjournal? Possibly scanning the pages every now and then, or using e-Labjournal?

Hi Nicolas! Thanks for sharing your Data Flow Map. It is concise.
Do you store confidential data only on your private laptop? If yes, I would suggest having a secure backup of it. @nicolastravnicek

The second assignment can be found here:
https://surfdrive.surf.nl/files/index.php/s/Mq4rTzHWfusplXp
(basically the same link as for the first assignment)

Thanks for sharing assignment 3 @nicolastravnicek! It looks clear! And thanks for your feedback as well @SiemEerden: great point about file formats and also the risks of file format conversions!
I'm still interested why all of your data is flagged as confidential? Even if you're part of a consortium at least part of your data (underlying articles and thesis chapters) should be allowed to be shared (as seems to be the case for the first dataset in slide 5?)
Some other thoughts/comments, of which the last point is particular important:

I like the self explanatory file naming style in the slides!
Regarding documentation: do you also not work with protocols and/or labnotes?
For slide 6 the questions are about publicly sharing data and preserving data for the long term: your local laptop is not a solution for this. Project Drive is indeed better for long term preservation but does not provide public access. GitHub can indeed be publicly available, but it is not the same as a data repository as it does not have a long term preservation policy and it also doesn't assign DOIs to repositories (needed for data and code to be FAIR!). I'd recommend to have another look at the Data Publication materials!

Hi Nicolas! Nice stucture for assignments 2 and 3. Looks very clear to me!


你好，请问如何输入其他尺寸的图片呢？

Hi, to adapt for various input sizes, you can change the value of h and w when initializing a TVConv instance.


Added documentation for voters

the builtin voters should also be documented, to show their features (the RouteVoter can vote based on several routes for insrance)

@Nek- please finish the work on this PR

ping @Nek-

continued in #246


Terminal can not be opened

When using ctrl +“`” ,The error that the terminal process failed to launch: A native exception occurred during launch (EBUSY: resource busy or locked, open '\.\pipe\winpty-conin-20396-1-1d74886f463399d-44a6ba0bc730ad2fe95aded095bf6f14') will show
VScode version：1.56.2
platform information：windows10

@wengzhenyucode please add version and platform information from Help,/About

Do you have anti-virus software that could be blocking the terminal? If so try following the instructions in https://code.visualstudio.com/docs/supporting/troubleshoot-terminal-launch
/label "needs more info" integrated-terminal


cannot list events when kubernetes event source starts

Expected Behavior
Service account is used to authenticate to k8s API server and role/rolebinding are enforced.
Actual Behavior
Despite properly setup role/rolebinding for a k8s event source setup in a specific namespace, the test-events pod started by the kuberneteseventsource cannot get the list of events.
I believe that the culprit is:
https://github.com/knative/eventing-sources/blob/master/pkg/adapter/kubernetesevents/adapter.go#L54
Which does not load the SA secrets to get bearer token.
Steps to Reproduce the Problem
Do:
1.https://github.com/knative/docs/tree/master/eventing/samples/kubernetes-event-source
In a non default namespace where the SA has no admin privileges.
Additional Info
Use this:
https://github.com/kubernetes/client-go/blob/master/rest/config.go#L315

so not quite, the error seems to happen when the container starts:
E1121 05:46:05.177269       1 reflector.go:205] github.com/knative/eventing-sources/pkg/adapter/kubernetesevents/adapter.go:72: Failed to list *v1.Event: Get https://<IP_ADDRESS>:443/api/v1/namespaces/sebgoa/events?limit=500&resourceVersion=0: dial tcp <IP_ADDRESS>:443: connect: connection refused
E1121 05:46:06.195181       1 reflector.go:205] github.com/knative/eventing-sources/pkg/adapter/kubernetesevents/adapter.go:72: Failed to list *v1.Event: Get https://<IP_ADDRESS>:443/api/v1/namespaces/sebgoa/events?limit=500&resourceVersion=0: dial tcp <IP_ADDRESS>:443: connect: connection refused
E1121 05:46:07.196217       1 reflector.go:205] github.com/knative/eventing-sources/pkg/adapter/kubernetesevents/adapter.go:72: Failed to list *v1.Event: Get https://<IP_ADDRESS>:443/api/v1/namespaces/sebgoa/events?limit=500&resourceVersion=0: dial tcp <IP_ADDRESS>:443: connect: connection refused

But it seems related to a network error.
The k8s source cannot post events to the channel
[libprotobuf ERROR src/istio/mixerclient/report_batch.cc:83] Mixer Report failed with: UNAVAILABLE:upstream request timeout
[2018-11-21T05:46:08.252Z] "POST / HTTP/1.1" 404 NR 0 0 0 - "-" "Go-http-client/1.1" "cc5ea337-e972-916b-b6e4-06c8494b0c87" "testchannel-channel.sebgoa.svc.cluster.local" "-"
[2018-11-21T05:46:08.264Z] "POST / HTTP/1.1" 404 NR 0 0 0 - "-" "Go-http-client/1.1" "b0d110bd-073f-9468-8cf3-8834f3224b4f" "testchannel-channel.sebgoa.svc.cluster.local" "-"
[2018-11-21T05:46:08.271Z] "POST / HTTP/1.1" 404 NR 0 0 0 - "-" "Go-http-client/1.1" "bc2655ee-1a0e-91a3-8146-9139328b5d7d" "testchannel-channel.sebgoa.svc.cluster.local" "-"
[2018-11-21T05:46:08.279Z] "POST / HTTP/1.1" 404 NR 0 0 0 - "-" "Go-http-client/1.1" "19a98529-44df-96e2-8fae-870d98bd5c82" "testchannel-channel.sebgoa.svc.cluster.local" "-"
[2018-11-21T05:46:08.286Z] "POST / HTTP/1.1" 404 NR 0 0 0 - "-" "Go-http-client/1.1" "496229ff-e019-99b4-a49c-45224d954b82" "testchannel-channel.sebgoa.svc.cluster.local" "-"
[2018-11-21T05:46:08.295Z] "POST / HTTP/1.1" 404 NR 0 0 0 - "-" "Go-http-client/1.1" "c382797f-d333-96a5-b4df-745de4a423a4" "testchannel-channel.sebgoa.svc.cluster.local" "-"
[2018-11-21T05:46:08.303Z] "POST / HTTP/1.1" 404 NR 0 0 0 - "-" "Go-http-client/1.1" "f0c6e3e3-5b50-9921-9dd0-5a699f97bbf3" "testchannel-channel.sebgoa.svc.cluster.local" "-"
[2018-11-21T05:46:08.312Z] "POST / HTTP/1.1" 404 NR 0 0 0 - "-" "Go-http-client/1.1" "cc9fc8ec-5a37-951b-8a2c-f74737c53924" "testchannel-channel.sebgoa.svc.cluster.local" "-"
[2018-11-21T05:46:08.320Z] "POST / HTTP/1.1" 404 NR 0 0 0 - "-" "Go-http-client/1.1" "938ef037-16fc-9411-9e93-ff1265a88671" "testchannel-channel.sebgoa.svc.cluster.local" "-"
[2018-11-21T05:46:08.328Z] "POST / HTTP/1.1" 404 NR 0 0 0 - "-" "Go-http-client/1.1" "27039bc8-6d47-9715-8fc6-c3355055f3f5" "testchannel-channel.sebgoa.svc.cluster.local" "-"
[2018-11-21T05:46:08.335Z] "POST / HTTP/1.1" 404 NR 0 0 0 - "-" "Go-http-client/1.1" "a7715244-deb2-9b53-8b46-43a95823a029" "testchannel-channel.sebgoa.svc.cluster.local" "-"
[2018-11-21T05:46:08.343Z] "POST / HTTP/1.1" 404 NR 0 0 0 - "-" "Go-http-client/1.1" "2a742c03-f0b3-9794-8344-07e35a840fe3" "testchannel-channel.sebgoa.svc.cluster.local" "-"
[2018-11-21T05:46:08.352Z] "POST / HTTP/1.1" 404 NR 0 0 0 - "-" "Go-http-client/1.1" "ac98ffbc-bf89-993e-b48b-3437537e8548" "testchannel-channel.sebgoa.svc.cluster.local" "-"
[2018-11-21T05:46:08.359Z] "POST / HTTP/1.1" 404 NR 0 0 0 - "-" "Go-http-client/1.1" "dd4f5458-10f8-98b4-be87-a1b56749a19e" "testchannel-channel.sebgoa.svc.cluster.local" "-"
[2018-11-21T05:46:08.367Z] "POST / HTTP/1.1" 404 NR 0 0 0 - "-" "Go-http-client/1.1" "f138a569-77e4-98f4-9914-bc78ecfe39ba" "testchannel-channel.sebgoa.svc.cluster.local" "-"
[2018-11-21T05:46:08.374Z] "POST / HTTP/1.1" 404 NR 0 0 0 - "-" "Go-http-client/1.1" "cbbe55a4-7093-94e5-bf0e-e80df510ee07" "testchannel-channel.sebgoa.svc.cluster.local" "-"
[2018-11-21T05:46:08.381Z] "POST / HTTP/1.1" 404 NR 0 0 0 - "-" "Go-http-client/1.1" "a7a6d911-d804-94ce-9ec7-be22261cf8e8" "testchannel-channel.sebgoa.svc.cluster.local" "-"
[2018-11-21T05:46:08.389Z] "POST / HTTP/1.1" 404 NR 0 0 0 - "-" "Go-http-client/1.1" "3bf1de8c-b027-90cf-a888-1cfedfd4c363" "testchannel-channel.sebgoa.svc.cluster.local" "-"
[2018-11-21T05:46:08.397Z] "POST / HTTP/1.1" 404 NR 0 0 0 - "-" "Go-http-client/1.1" "2a7436f0-2eaa-94fa-aac3-e243d7f4240a" "testchannel-channel.sebgoa.svc.cluster.local" "-"
[2018-11-21T05:46:08.404Z] "POST / HTTP/1.1" 404 NR 0 0 0 - "-" "Go-http-client/1.1" "6bb09d55-6034-9b42-9921-41874df28083" "testchannel-channel.sebgoa.svc.cluster.local" "-"
[2018-11-21T05:46:08.411Z] "POST / HTTP/1.1" 404 NR 0 0 0 - "-" "Go-http-client/1.1" "0f6180db-6f0e-987a-800f-cd8256204f0b" "testchannel-channel.sebgoa.svc.cluster.local" "-"
[2018-11-21T05:46:08.419Z] "POST / HTTP/1.1" 404 NR 0 0 0 - "-" "Go-http-client/1.1" "4f74f80d-00dc-9a6a-9635-01933db7bad1" "testchannel-channel.sebgoa.svc.cluster.local" "-"
[2018-11-21T05:46:08.427Z] "POST / HTTP/1.1" 404 NR 0 0 0 - "-" "Go-http-client/1.1" "0bfc7e31-b448-9749-aae5-4919d830ecd6" "testchannel-channel.sebgoa.svc.cluster.local" "-"
[2018-11-21T05:46:08.435Z] "POST / HTTP/1.1" 404 NR 0 0 0 - "-" "Go-http-client/1.1" "2030cd6b-a6bc-90a0-bffb-f3c793e67796" "testchannel-channel.sebgoa.svc.cluster.local" "-"
[2018-11-21T05:46:08.442Z] "POST / HTTP/1.1" 404 NR 0 0 0 - "-" "Go-http-client/1.1" "c084ab8f-ccdc-92f9-a16b-639abb34aacd" "testchannel-channel.sebgoa.svc.cluster.local" "-"
[2018-11-21T05:46:08.452Z] "POST / HTTP/1.1" 404 NR 0 0 0 - "-" "Go-http-client/1.1" "1e0e0928-57d0-935c-86a3-3f7b51a39aa0" "testchannel-channel.sebgoa.svc.cluster.local" "-"
[2018-11-21T05:46:08.460Z] "POST / HTTP/1.1" 404 NR 0 0 0 - "-" "Go-http-client/1.1" "1d7f3a08-36b2-9ec9-9e04-41907d052f77" "testchannel-channel.sebgoa.svc.cluster.local" "-"
[2018-11-21T05:46:08.467Z] "POST / HTTP/1.1" 404 NR 0 0 0 - "-" "Go-http-client/1.1" "618f5155-89f0-9b12-ac82-fe10d0c6c051" "testchannel-channel.sebgoa.svc.cluster.local" "-"
[2018-11-21T05:46:08.475Z] "POST / HTTP/1.1" 404 NR 0 0 0 - "-" "Go-http-client/1.1" "5de8bc36-7a7d-93d9-86f1-29155202edce" "testchannel-channel.sebgoa.svc.cluster.local" "-"
[2018-11-21T05:46:08.482Z] "POST / HTTP/1.1" 404 NR 0 0 0 - "-" "Go-http-client/1.1" "39af1057-a433-9069-9f41-c3db241b02c9" "testchannel-channel.sebgoa.svc.cluster.local" "-"
[2018-11-21T05:46:08.490Z] "POST / HTTP/1.1" 404 NR 0 0 0 - "-" "Go-http-client/1.1" "b87ca9e6-2ad7-9e51-8458-b69a14e58a93" "testchannel-channel.sebgoa.svc.cluster.local" "-"
[2018-11-21T05:46:08.497Z] "POST / HTTP/1.1" 404 NR 0 0 0 - "-" "Go-http-client/1.1" "3cb39cba-b1b3-9cc0-a5c0-6da777d2af7a" "testchannel-channel.sebgoa.svc.cluster.local" "-"
[2018-11-21T05:46:08.503Z] "POST / HTTP/1.1" 404 NR 0 0 0 - "-" "Go-http-client/1.1" "4c30406b-584c-9c0a-bb96-851f62100823" "testchannel-channel.sebgoa.svc.cluster.local" "-"
[2018-11-21T05:46:08.511Z] "POST / HTTP/1.1" 404 NR 0 0 0 - "-" "Go-http-client/1.1" "59c30281-3ca0-99a7-aff2-f225a090cf5e" "testchannel-channel.sebgoa.svc.cluster.local" "-"
[2018-11-21T05:46:08.524Z] "POST / HTTP/1.1" 404 NR 0 0 0 - "-" "Go-http-client/1.1" "b9753de5-42c9-9dc8-95b3-178e16d2bea7" "testchannel-channel.sebgoa.svc.cluster.local" "-"
[2018-11-21T05:46:08.532Z] "POST / HTTP/1.1" 404 NR 0 0 0 - "-" "Go-http-client/1.1" "46ed2b67-5f6c-9d1c-be49-8938b7450e81" "testchannel-channel.sebgoa.svc.cluster.local" "-"
[2018-11-21T05:46:08.540Z] "POST / HTTP/1.1" 404 NR 0 0 0 - "-" "Go-http-client/1.1" "341bfb55-7642-94ec-8878-790c39dac6a7" "testchannel-channel.sebgoa.svc.cluster.local" "-"
[2018-11-21T05:46:08.547Z] "POST / HTTP/1.1" 404 NR 0 0 0 - "-" "Go-http-client/1.1" "93294a75-7d0e-98a7-8558-ec8f3d893f2b" "testchannel-channel.sebgoa.svc.cluster.local" "-"
[2018-11-21T05:46:08.554Z] "POST / HTTP/1.1" 404 NR 0 0 0 - "-" "Go-http-client/1.1" "851ae9b0-03c3-91c0-bb69-2a0755121138" "testchannel-channel.sebgoa.svc.cluster.local" "-"
[2018-11-21T05:46:08.560Z] "POST / HTTP/1.1" 404 NR 0 0 0 - "-" "Go-http-client/1.1" "8222a6c3-b684-9d43-9992-5dd10aba959a" "testchannel-channel.sebgoa.svc.cluster.local" "-"
[2018-11-21T05:46:08.569Z] "POST / HTTP/1.1" 404 NR 0 0 0 - "-" "Go-http-client/1.1" "7f8cd927-8097-9d59-8772-83812dcf7167" "testchannel-channel.sebgoa.svc.cluster.local" "-"
[2018-11-21T05:46:08.579Z] "POST / HTTP/1.1" 404 NR 0 0 0 - "-" "Go-http-client/1.1" "96d78d3c-7ee4-9e5b-9928-f9b8b07c3853" "testchannel-channel.sebgoa.svc.cluster.local" "-"
[2018-11-21T05:46:08.586Z] "POST / HTTP/1.1" 404 NR 0 0 0 - "-" "Go-http-client/1.1" "230eb2a7-27ac-961b-89c2-1776d4719977" "testchannel-channel.sebgoa.svc.cluster.local" "-"
[2018-11-21T05:46:08.597Z] "POST / HTTP/1.1" 404 NR 0 0 0 - "-" "Go-http-client/1.1" "7cfaddf3-bb04-9c22-b61b-68d22b3f87e7" "testchannel-channel.sebgoa.svc.cluster.local" "-"
[2018-11-21T05:46:08.606Z] "POST / HTTP/1.1" 404 NR 0 0 0 - "-" "Go-http-client/1.1" "9c614456-83f3-9189-9d65-583eed64f528" "testchannel-channel.sebgoa.svc.cluster.local" "-"
[2018-11-21T05:46:08.615Z] "POST / HTTP/1.1" 404 NR 0 0 0 - "-" "Go-http-client/1.1" "a81cd498-f49a-9d70-86b8-0d1ba8d5d298" "testchannel-channel.sebgoa.svc.cluster.local" "-"
[2018-11-21T05:46:08.622Z] "POST / HTTP/1.1" 404 NR 0 0 0 - "-" "Go-http-client/1.1" "b25d4f4d-4497-9eb4-8406-32dc15be1d94" "testchannel-channel.sebgoa.svc.cluster.local" "-"
[2018-11-21T05:46:08.629Z] "POST / HTTP/1.1" 404 NR 0 0 0 - "-" "Go-http-client/1.1" "a8447c3f-32b8-9e62-8283-3311c71e882a" "testchannel-channel.sebgoa.svc.cluster.local" "-"
[2018-11-21T05:46:08.635Z] "POST / HTTP/1.1" 404 NR 0 0 0 - "-" "Go-http-client/1.1" "963e0d0b-92d1-946f-8392-80aa556bc42e" "testchannel-channel.sebgoa.svc.cluster.local" "-"
[2018-11-21T05:46:08.644Z] "POST / HTTP/1.1" 404 NR 0 0 0 - "-" "Go-http-client/1.1" "48971196-6368-914b-8d9f-028d319f5b20" "testchannel-channel.sebgoa.svc.cluster.local" "-"
[2018-11-21T05:46:08.650Z] "POST / HTTP/1.1" 404 NR 0 0 0 - "-" "Go-http-client/1.1" "24edad93-07b5-9ac2-ac06-375db17503b2" "testchannel-channel.sebgoa.svc.cluster.local" "-"
[2018-11-21T05:46:08.658Z] "POST / HTTP/1.1" 404 NR 0 0 0 - "-" "Go-http-client/1.1" "15bb0518-b6d0-9a5e-b28a-5de1c67eb5a3" "testchannel-channel.sebgoa.svc.cluster.local" "-"
[2018-11-21T05:46:08.666Z] "POST / HTTP/1.1" 404 NR 0 0 0 - "-" "Go-http-client/1.1" "f6905741-d617-9e8b-a9e6-2643ba2537f2" "testchannel-channel.sebgoa.svc.cluster.local" "-"
[2018-11-21T05:46:08.674Z] "POST / HTTP/1.1" 404 NR 0 0 0 - "-" "Go-http-client/1.1" "92bfde56-06f5-9aef-b4b9-ee8fc373d575" "testchannel-channel.sebgoa.svc.cluster.local" "-"
[2018-11-21T05:46:08.681Z] "POST / HTTP/1.1" 404 NR 0 0 0 - "-" "Go-http-client/1.1" "766d593c-a77a-9535-8638-dbff9397581c" "testchannel-channel.sebgoa.svc.cluster.local" "-"
[2018-11-21T05:46:08.688Z] "POST / HTTP/1.1" 404 NR 0 0 0 - "-" "Go-http-client/1.1" "a9997ec8-429f-912c-8ffc-e53864dbe0fa" "testchannel-channel.sebgoa.svc.cluster.local" "-"
[2018-11-21T05:46:08.698Z] "POST / HTTP/1.1" 404 NR 0 0 0 - "-" "Go-http-client/1.1" "33d855c3-48da-9051-be87-02df5f74cc33" "testchannel-channel.sebgoa.svc.cluster.local" "-"
[2018-11-21T05:46:08.707Z] "POST / HTTP/1.1" 404 NR 0 0 0 - "-" "Go-http-client/1.1" "3f59e323-afc3-9d34-9d6c-a408dcb53d7c" "testchannel-channel.sebgoa.svc.cluster.local" "-"
[2018-11-21T05:46:08.715Z] "POST / HTTP/1.1" 404 NR 0 0 0 - "-" "Go-http-client/1.1" "03365add-de05-960a-83f7-e726477d5b3a" "testchannel-channel.sebgoa.svc.cluster.local" "-"
[2018-11-21T05:46:08.722Z] "POST / HTTP/1.1" 404 NR 0 0 0 - "-" "Go-http-client/1.1" "82e5e552-78bb-9e5c-aa82-8dbf643a62af" "testchannel-channel.sebgoa.svc.cluster.local" "-"
[2018-11-21T05:46:08.732Z] "POST / HTTP/1.1" 404 NR 0 0 0 - "-" "Go-http-client/1.1" "6f81b70b-3c4b-9bd6-bd6d-15af93a10fd3" "testchannel-channel.sebgoa.svc.cluster.local" "-"
[2018-11-21T05:46:08.739Z] "POST / HTTP/1.1" 404 NR 0 0 0 - "-" "Go-http-client/1.1" "74ae2c86-d302-918a-924b-b02753087b5b" "testchannel-channel.sebgoa.svc.cluster.local" "-"
[2018-11-21T05:46:08.752Z] "POST / HTTP/1.1" 404 NR 0 0 0 - "-" "Go-http-client/1.1" "f8ac9b12-982f-9fd4-8414-a81edf2b0480" "testchannel-channel.sebgoa.svc.cluster.local" "-"
[2018-11-21T05:46:08.759Z] "POST / HTTP/1.1" 404 NR 0 0 0 - "-" "Go-http-client/1.1" "bb9f1ef5-b08b-9192-8255-a28a3637c500" "testchannel-channel.sebgoa.svc.cluster.local" "-"
[2018-11-21T05:46:08.767Z] "POST / HTTP/1.

Strangely, 8 hours later, the problem disappeared...

Sorry, are there two bugs here, or was the SA a red herring? Just trying to figure out if there are problems receiving events from K8S -> Receive Adapter (Should have error messages in logs that it is unable to talk to K8S to set up a watch for k8s events.

I think the SA is a red herring after all.
the real error is in the istio-proxy logs shown above, where it cannot post to the channel svc

Hi, @sebgoa
I just tested, and I see this in the source container:
oc logs -f testevents-ktlnv-g9lcj-fb7f7568-9wx6d -c source
E1122 21:26:51.121654       1 reflector.go:205] github.com/knative/eventing-sources/pkg/adapter/kubernetesevents/adapter.go:72: Failed to list *v1.Event: Get https://<IP_ADDRESS>:443/api/v1/namespaces/myproject/events?limit=500&resourceVersion=0: dial tcp <IP_ADDRESS>:443: connect: connection refused

I do get events~
Also, this is in the istio-proxy logs:
[2018-11-22 21:26:51.764][21][info][upstream] external/envoy/source/server/lds_api.cc:80] lds: add/update listener '<IP_ADDRESS>_8080'
[2018-11-22 21:26:51.765][21][info][upstream] external/envoy/source/server/lds_api.cc:80] lds: add/update listener '<IP_ADDRESS>_9093'
[2018-11-22 21:26:51.766][21][info][upstream] external/envoy/source/server/lds_api.cc:80] lds: add/update listener '<IP_ADDRESS>_15010'
[2018-11-22 21:26:51.767][21][info][upstream] external/envoy/source/server/lds_api.cc:80] lds: add/update listener '<IP_ADDRESS>_9091'
[2018-11-22 21:26:51.767][21][info][upstream] external/envoy/source/server/lds_api.cc:80] lds: add/update listener 'virtual'
[2018-11-22 21:26:51.793][21][info][config] external/envoy/source/server/listener_manager_impl.cc:908] all dependencies initialized. starting workers
[2018-11-22T21:26:52.151Z] "POST / HTTP/1.1" 202 - 906 0 2 0 "-" "Go-http-client/1.1" "cf592957-1d55-99fb-b7e0-d4bb24347ecd" "testchannel.myproject.channels.cluster.local" "<IP_ADDRESS>:8080"
[2018-11-22T21:26:52.154Z] "POST / HTTP/1.1" 202 - 938 0 1 0 "-" "Go-http-client/1.1" "170f92f7-5ef3-9fa8-aaae-d6f1d6d9f7df" "testchannel.myproject.channels.cluster.local" "<IP_ADDRESS>:8080"
[2018-11-22T21:26:52.157Z] "POST / HTTP/1.1" 202 - 877 0 0 0 "-" "Go-http-client/1.1" "ff5fa452-5aa7-9696-9621-8a3e6b0fb9b6" "testchannel.myproject.channels.cluster.local" "<IP_ADDRESS>:8080"
[2018-11-22T21:26:52.158Z] "POST / HTTP/1.1" 202 - 877 0 0 0 "-" "Go-http-client/1.1" "c3580b1d-9a94-955a-83bd-c9927da243c2" "testchannel.myproject.channels.cluster.local" "<IP_ADDRESS>:8080"
[2018-11-22T21:26:52.159Z] "POST / HTTP/1.1" 202 - 997 0 1 0 "-" "Go-http-client/1.1" "f1971105-8b76-9251-b9e7-9f1b0fad60ea" "testchannel.myproject.channels.cluster.local" "<IP_ADDRESS>:8080"
[2018-11-22T21:26:52.162Z] "POST / HTTP/1.1" 202 - 1008 0 0 0 "-" "Go-http-client/1.1" "a445bb35-32d6-994f-919d-aff365eaaabc" "testchannel.myproject.channels.cluster.local" "<IP_ADDRESS>:8080"
[2018-11-22T21:26:52.163Z] "POST / HTTP/1.1" 202 - 877 0 0 0 "-" "Go-http-client/1.1" "05e409b1-8deb-9407-b49d-fe2c525e9a2f" "testchannel.myproject.channels.cluster.local" "<IP_ADDRESS>:8080"
[2018-11-22T21:26:52.164Z] "POST / HTTP/1.1" 202 - 877 0 0 0 "-" "Go-http-client/1.1" "286f9efa-10d5-98e1-b433-b3f271354519" "testchannel.myproject.channels.cluster.local" "<IP_ADDRESS>:8080"

all 202s here

@sebgoa , can you repro this consistently? Is this related to the chats on slack about long (hours?) of not being able to connect, then suddenly things start working?

Yes, it is related. I just modified the description of the issue.
There are clearly logs that complain we cannot get to the events. But these are logged early when the container starts, most likely because the mesh is not in place yet.
But still, it takes a long time for events to flow. I will test again.

Great, it would be great to isolate it to the following bits:

start to being able to receive events from API server
from step 1 to being able to send them to the Channel
from step 2 to being able to see them in the receiving function.

that's on GKE ( I don't plan to run prod on raspberry pi's :) )

Hi i am experiencing this exact same issue where my events 404 trying to hit the sink, this issue disappears when i redeploy the sink and the event into the default namespace. I am also using GKE.


Support for Rendering Glyphs with Non 1:2 Aspect Ratio

Thank you for this excellent terminal library! I'm currently working on rendering Chinese characters and emojis. However, I'm encountering an issue where the default assumption seems to be that the glyphs should have a 1:2 width-to-height ratio, but this isn't the case for many fonts, especially when rendering CJK characters or emojis.
I noticed that ab_glyph::ScaleFont.h_advance takes a GlyphId parameter, which suggests that the glyph's advance width is not fixed. Is there a recommended way to handle the rendering of glyphs that do not adhere to the 1:2 width-to-height ratio? Any guidance or best practices would be greatly appreciated!

Thank you very much for your issue.
This is true for the current situation. Supporting non-standard Latin characters is a very tempting feature. However, the main work at the moment is in more complete support the control functions of the terminal based on Xterm Control Sequences (including rollback buffers, [possible] mouse support and so on). Thus better management for glyph rendering may be postponed until after this refinement work.
This issue will not close until the feature is complete.

Hi, I'm glad I've made a little progress on the rendering of characters such as CJK.
AFAIK that the terminal manages character display in terms of cells, with half-width characters using one cell and full-width characters using two cells (the first cell uses the space of both cells when rendering, while the second cell is labelled as a placeholder and will be skipped when rendering).
Because of this special cell-based management model, I cannot use common text layout crates such as glyph_brush_layout.
I have made this terminal library support full-width characters as described above for cell. The current drawback is the determination of whether or not a character need to use two cells.
I currently use the unicode-width crate to determine directly, but it has the problem that ab_glyph returns the Replacement Character U+FFFD when the character does not exist in the font file, and the width of the character varies from font to font. For example, two cells are needed in SourceHanMonoSC, while only one is needed in Source Code Pro (you can use (h_advance / raster_height) > 0.5 to determine if two cells are needed). But unicode-width returns the actual width of the original character.
The solution is to call ab_glyph when creating the cell to calculate the actual character width. But this introduces additional computation and lock-hogging overheads, especially in the case of manual flush, where the number of cell creations is much larger than the number of actual renderings, and thus leads to a sizable performance degradation. According to the test, using the time find /usr command on my machine for benchmarking, the time taken increased from the original 1.4s to over 4s.
This issue might be tackled in a later version.
So if you just need a common layout solution, you can try to use glyph_brush_layout directly. Or check out cosmic-text, which is a complete solution for text rendering and supports no_std.

Thank you very much for your work! This is obviously not a very "clean" job, but it's better to have it than not! After all, CJK typesetting, punctuation squeezing and glyph adjustment are obviously not necessary for a terminal, and these things should be handled by more advanced typesetting software.
Regarding how to distinguish between full-width and half-width characters, I think if only U+FFFD is a problem, you can just hard-code the glyph of U+FFFD and use the same display regardless of the font. After all, I think there should be very few glyphs with different aspect ratios. The article I found suggests that the width of U+FFFD is actually related to the context, if only handling these special cases can improve performance, it would be great!


Can I get block related info when listening event?

I can listen to substrate events by following example_event_callback, but I can't find how to get block info (such as block height or block hash) about the event.
Is there a way to get such info?

Hmm, as far as I know, you can't unless there is a specific event from the some (e.g. system) pallet, which does exactly that.

I see, thanks


Add Material-Design-Discord to Theme List

Please check if what you want to add to beautiful-discord-community/resources list meets quality standards before sending pull request. Thanks!
Please provide package links to:

github.com repo: https://github.com/Oliyy/Material-Design-Discord
embed url: https://rawgit.com/Oliyy/Material-Design-Discord/master/theme.css

Make sure that you've checked the boxes below before you submit PR:

[x] I have added my package in alphabetical order
[x] I know that this package was not listed before
[x] I have added @import compatible link (ex. rawgit.com) to the repo and to my pull request
[x] I have read Contribution guidelines.

Thanks for your PR, you're awesome! :+1:

Fixed all check errors that I know of


call getter for property if getter exists.

What steps will reproduce the problem?
class Person {
    private $test = 'asefasef';

    public function getTest()
    {
        return 123123;
    }

}
$testValue = \Yiisoft\Arrays\ArrayHelper::getValue($person, 'test');

What is the expected result?
use getter method, output:
123123
What do you get instead?
Fatal error: Uncaught Error: Cannot access private property Person::$test in /usr/src/myapp/vendor/yiisoft/arrays/src/ArrayHelper.php:250
Stack trace:

Additional info
If u use Symfony\Component\PropertyAccess\PropertyAccess you will get output:
123123
and maybe add some configuring options like in PropertyAccess:

$propertyAccessorBuilder->enableMagicCall(); // enables magic __call
$propertyAccessorBuilder->enableMagicGet(); // enables magic __get
$propertyAccessorBuilder->enableMagicSet(); // enables magic __set
$propertyAccessorBuilder->enableMagicMethods(); // enables magic __get, __set and __call

$propertyAccessorBuilder->disableMagicCall(); // disables magic __call
$propertyAccessorBuilder->disableMagicGet(); // disables magic __get
$propertyAccessorBuilder->disableMagicSet(); // disables magic __set
$propertyAccessorBuilder->disableMagicMethods(); // disables magic __get, __set and __call

Q
A

Version
1.0.?

PHP version
7.4

Operating system

One use case is objects validation via specifying path to the property i.e. owner.name to try calling $object->getOwner()->getName().

It's kind of black magic. Yii 3 avoids it.
IMHO ArrayHelper must not deal with object methods. It's not just an ability for user to shoot off his leg, it's a provocation.
In case of validation it's ok either to implement DataSet in the validatable object directly, or create a wrapper with this interface. But it is not ok to magically call object methods without a guarantee these methods don't change state or call some services like these:
class Test {
    private $prop = 1;

    public function getProp()
    {
        return $this->prop++;
    }
}

class Test2 {
    private $prop = null;

    public function getProp()
    {
        if ($this->prop === null) {
            $infrastructure = $this->httpService->deployInfrastructureFor($this);
            $this->prop = $this->infraRepository->save($infrastructure);
        }

        return $this->prop;
    }
}

It's kind of black magic. Yii 3 usually avoids it.
IMHO ArrayHelper must not deal with object methods. It's not just an ability for user to shoot off his leg, it's a provocation.
In case of validation it's ok either to implement DataSet in the validatable object directly, or create a wrapper with this interface. But it is not ok to magically call object methods without a guarantee these methods don't change state or call some services like these:
class Test {
    private $prop = 1;

    public function getProp()
    {
        return $this->prop++;
    }
}

class Test2 {
    private $prop = null;

    public function getProp()
    {
        if ($this->prop === null) {
            $infrastructure = $this->httpService->deployInfrastructureFor($this);
            $this->prop = $this->infraRepository->save($infrastructure);
        }

        return $this->prop;
    }
}

Yes i agree with you, and i suggest remove from ArrayHelper ability to deal with objects and make separated package for this.
Remove methods html* from ArrayHelper, because this methods dont deal with arrays. Maybe make HtmlHelper

I'm agree with you about html* methods, it's more about yiisoft/strings. But let's keep one issue for 1 theme :)

I'm agree with you about html* methods, it's more about yiisoft/strings. But let's keep one issue for 1 theme :)

Yes, you right!


fix(minify): support minified client packages

The getArgumentNames function was fixed to resolve a few issues with minification as detailed below.
Whitespace
getArgumentNames tests for specific code pieces but assumes whitespace that may be removed by minification.  The tests are changed to use regex’s that make the space optional.
class extend vs class
After minification code arises like the following:
class{constructor(e,t,r,n,i,a,o){this.id=e,this.aliases=t,this.caCertificate=r,this.hash=n,this.inception=i,this.deviceCount=a,this.data=o}}

Notice the lack of extends after class. This causes the class extends test to fail and causes a syntax error for the missing class name. This regex was altered to make the test for extends or the {, which causes replacement with class JacksonClass as required.
Connection with issue(s)
Resolve issue #7
Testing and Review Notes
All test pass.
To Do
Adding proper tests for this scenario requires minifying a client class that uses decorators from this package. Alternatively a number of strings of pre-minified code could be added, testing them against getArgumentNames directly.
For example:
const names = getArgumentNames('class{constructor(e,t,r,n,i,a,o){this.id=e,this.aliases=t,this.caCertificate=r,this.hash=n,this.inception=i,this.deviceCount=a,this.data=o}}')

expect(names).toEqual(['e','t','r','n','I','a','o']);

Which of these methods is best and should be implemented is a decision left for the package maintainer.

Note that this only fixes the Invalid keyword errors that arise after minification.  Minification also renames parameters of functions so some method of manually specifying the parameter is still required.
Our code uses JsonProperty with explicit names (e.g. JsonProperty({ value: 'id' })) so this fixes our issues but this should be noted in the documentation or some method of recovering the argument names that works with minification should be implemented.

The fix in this PR solved our deserialization issues (which appeared when switching to a PROD configuration with minification) and this should definitively be merged.
In the meantime, we have to poll from (@outfoxx/jackson-js).
Thank you @kdubb for the fix.
And thank you @pichillilorenzo for jackson-js !


[BUG] No files in data directory when running in Docker

Describe the bug
The script does not create output files in the data folder when running in Docker. The output in the terminal looks normal when you start the container attached. Was tested in 2 Linux distributions.
To Reproduce
Steps to reproduce the behavior:
The guide "Running EnigmaCracker in Docker" was followed.
Expected behavior
log files should be available in data folder
OS:

Fedora 40 6.11.6-200.fc40.x86_64
Ubuntu 24.04.1 6.8.0-1010-raspi

Fixed it myself, please check
https://github.com/yaron4u/EnigmaCracker/pull/67


round batch should start with first element.

when set round_batch=True, we should start with first element. Current document is not correct.
Please refer to mxnet/src/iter_batchloader.h for details of loading strategy.
# round_batch=True
[[ 1.  2.  3.]
 [ 2.  3.  4.]
 [ 3.  4.  5.]]
[[ 4.  5.  6.]
 [ 1.  2.  3.]
 [ 2.  3.  4.]]
# round_batch=False
[[ 1.  2.  3.]
 [ 2.  3.  4.]
 [ 3.  4.  5.]]
[[ 4.  5.  6.]
 [ 2.  3.  4.]
 [ 3.  4.  5.]]

@Roshrini


Support USDC deposit to savings through PSMActions

Closes FRO-739

Powered by Maker. No slippage & fees for DAI.

The badge should mention USDC not DAI 😄


Level Down: Dices used by characters doesn't vanish according to actual level.

Hi,
I believe that's new issue as this I recall working at version <IP_ADDRESS> (but my memory could be faulty about that).

Dices attached to screenshot, doesn't vanish when level down is clicked.

Level down was on short rest before reason why. Won't fix this as too much trouble for such a small visual glitch. It isn't like people are leveling down on every rest.


cleanup(rules): initial tagging of sandbox or incubating rules round2

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind design

/kind documentation

/kind failing-test

/kind feature

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area rules

/area registry

/area build

/area documentation

What this PR does / why we need it:
Initially tag remaining rules either w/ sandbox or incubating maturity. First pass, will be re-balanced and corrected as needed after each rule has been tagged alongside general improvements to rules conditions, descriptions or output fields consistency changes that will follow.
@LucaGuerra I bucketed more rules here as all of the write rules require much more work to lay the foundation to effectively operationalize them. And this statement goes beyond just noise. Hence a subsequent bump to incubating should come with some more refinements.
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: incertum
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [incertum]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

LGTM label has been added.  Git tree hash: 734a1f0a4457f4ae02b589161f1f93e22c146bb5

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: incertum, LucaGuerra
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [LucaGuerra,incertum]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


False statistics for profiles

Information in users page are not accurate:
example: after visiting the main page, I searched for my handle.
the results are totally inaccurate.
It stated that I only have 1 repo (48 actually) and it stated that i use Java (not a single line in those 48 repos is written in Java) without mentioning the incorrect rank.
link: http://www.git-awards.com/users/search?login=celyes

the project is dead for past three years or so


How to implement efficient Join between two RecordBatch?

Describe the usage question you have. Please include as many useful details as  possible.
For the purpose of achieving a row-likes data processing style, I transformed my data into a vector, where each RecordBatch essentially represents a single row of data. Therefore, the format of my data is as follows:

How can I merge  two RecordBatches into a single RecordBatch when there are duplicate fields, for example, R<A,B,C>, S<A,C,D> ==> D<A,B,R.C,S.C,D>?
Component(s)
C++

Hello.
Why are you representing data as a single row? If it's not necessary, you might be able to proceed as follows.
I think if you use the RecordBatch with schema, you can operate join using Acero.
Based on what I know, ExecBatchFromJson is usually used for testing. Anyway when you do a join operation, it works like this.
code snippet
  BatchesWithSchema input_left;
  input_left.batches = {ExecBatchFromJSON({int32(), int32()}, R"( [
                   [1, 24],
                   [2, 34],
                   [3, 25]
                 ] )")};
  input_left.schema = schema({field("col_1", int32()), field("col_2", int32())});

  BatchesWithSchema input_right;
  input_right.batches = {ExecBatchFromJSON({int32(), int32()}, R"( [
                   [2, 24],
                   [2, 34],
                   [3, 25]
                 ] )")};
  input_right.schema = schema({
      field("col_1", int32()),
      field("col_2", int32()),
  });

  // Hash join options for inner join
  HashJoinNodeOptions join_opts{
      JoinType::INNER,
      /*left_keys=*/{"col_1"},
      /*right_keys=*/{"col_1"}, literal(true), "_l", "_r", false};

  // Creating join declaration
  Declaration left{"source",
                   SourceNodeOptions{input_left.schema,
                                     input_left.gen(/*parallel=*/true, /*slow=*/false)}};
  Declaration right{
      "source", SourceNodeOptions{input_right.schema,
                                  input_right.gen(/*parallel=*/true, /*slow=*/false)}};
  Declaration join{"hashjoin", {std::move(left), std::move(right)}, join_opts};

  ASSERT_OK_AND_ASSIGN(auto actual, DeclarationToExecBatches(std::move(join), false));

  std::cout << "Actual schema: " << actual.schema->ToString() << std::endl;
  for (const auto& batch : actual.batches) {
    std::cout << "Batch: " << batch.ToString() << std::endl;
  }

  /**
   * Actual schema: col_1_l: int32
    col_2_l: int32
    col_1_r: int32
    col_2_r: int32
    Batch: ExecBatch
    # Rows: 3
    0: Array[2,2,3]
    1: Array[34,34,25]
    2: Array[2,2,3]
    3: Array[34,24,25]
   */

Then, if you need to, you can do a project operation to pick out only the rows you need.
The code you're looking at is used for unit testing. If this approach suits your purpose, you may need to write code like the following:

Read data and create a RecordBatch.
Use this RecordBatch to perform a join operation.
(If necessary) Obtain only the needed rows by performing a project operation on the result of the join.

I hope this information is helpful.

My goal is to implement an in-memory query engine using the Arrow data format. The unit of data transfer between operators is in terms of RecordBatches (RB). This is easily achievable for non-blocking operators. However, I encountered challenges when implementing Join. The Join operation involves randomly accessing all data, building a hash table, and then probing to generate results. I am using the basic data formats provided by Arrow and do not want to use Acero, as I have my own thread management and resource control. I don't want to add another layer of Acero when implementing JOIN. If operations on RecordBatches are efficient enough, I can implement it on my own. In fact, I have already implemented Radix-HashJoin, but the efficiency is too slow.
The main time-consuming phase is in the probing and result generation stage, as it involves merging two RecordBatches. Below is my merging code：
void join_two_record_batch(std::shared_ptr<arrow::RecordBatch>& left,                             int16_t left_col_nums,                             int16_t left_col,                             std::shared_ptr<arrow::RecordBatch>& right,                             int16_t right_col_nums,                             int16_t right_col) {   auto schema = left->schema();   int offset = right_col_nums;   for(int i = 0; i < left_col_nums; i++) {     if(i == left_col_nums) {       continue;     }     auto filed = schema->field(i);     std::string filed_name = "r." + filed->name();     auto column = left->column(i);     right = right->AddColumn(offset, filed_name, column).ValueOrDie();     offset++;   } }
If you have better ideas, perhaps we can discuss them.


improve topic hierarchy configuration process

wis2box should make it easy for a user to send out their data on a topic structure that is compliant with
https://github.com/wmo-im/wis2-topic-hierarchy/tree/hierarchy-not-on-readme/topic-hierarchy
the current implementation makes it really hard as:

hierarchy is hardcoded in wis2box/resources/data_mappings.yml
same hierarchy needs to be repeated in 'metadata discovery publish' and 'api add-collection' steps, increasing chance of issue due to typo
examples used in documentation and github-action use incorrect topic-structure
documentation overall could be improved, I would recommend update quickstart to be a more generic quickstart-recipe rather than one relying on files already created

Update: way forward will be implemented in wis2box-guide

done, documentation was updated and metadata simplified.


#67 delete key and delete menu functionality consistency

#67

love it, forgot about that one! i can do a little PR for this later if you haven't done it already


How to search using exact match?

When searching for references of console.log, I'm also getting some fuzzy matches. Is it possible to search for exact match?

When I was using fzf, it has a command :RG and I just add ' for searching an exact match 'console.log'

vim-clap does not support the extended search syntax like fzf. The workaround is to press one more space to use the substring matcher.

@liuchengxu I think that works for now. Thanks!
Are there any plans for supporting something similar to fzf?

That takes quite an effort and I'm busy recently. It's on the schedule but no ETA :(.

Closing this in the favor of #492.


Read from superclass when @serialized_uploaders not present

Hi @timsly, I have encountered the same problem @cserb appears to have solved in PR(#5) although I am not sure why he duplicated the data. In the event when serialised uploader is added to hstore where it previously did not exist, ActiveModel::MissingAttributeError is raised.
This PR address specific problem.

Hi @Krule sorry for late response.
But what is the use case for this PR, if it's still valid of course?

Closing this one in favor of #15


Fix when multiple sim plots are on the same row, they are not shrinking when the window narrows

Fixes #969.

I defer to @calina-c to review this

Cherry-picked here: https://github.com/oceanprotocol/pdr-backend/pull/979


[17.1.6] unbound-checkconf returns errors

I ran unbound-checkconfig when messing around to get cname support.
But even with my changes not applied I get a warning.
root@exosphere:~ # unbound-checkconf
/var/unbound/unbound.conf:28: error: unknown keyword 'serve-expired'
/var/unbound/unbound.conf:28: error: stray ':'
/var/unbound/unbound.conf:28: error: unknown keyword 'no'

don't do it ;)
https://forum.opnsense.org/index.php?topic=5039.msg20101#msg20101

Is there an unbound-checkconf that gets shipped with the opnsense one?

Found it!

For reference:
# /usr/local/sbin/unbound-checkconf

maybe we can remove unbound from the base system, but I'm not sure

+1 on removing the system one


Support for reference return values (Visual Basic)

How will the function FindNext look in VB? Will it be:
Function FindNext(StartWithString as String, ByRef Found as boolean) as Ref String

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

ID: b79aab2e-8c3d-2878-14ff-064e098db357
Version Independent ID: 0b7fbd1d-eb37-c6f8-25cc-100a63e7623b
Content: Ref Return Values (Visual Basic)
Content Source: docs/visual-basic/programming-guide/language-features/procedures/ref-return-values.md
Product: dotnet-visualbasic
GitHub Login: @KathleenDollard
Microsoft Alias: kdollard

As the article states in the introduction:
"Visual Basic does not allow you to author methods with reference return values, but it does allow you to consume reference return values. "
So there's no VB equivalent for that.


Potential bug: Propagating App Service environment variables through IFeatureManager

Hi,
I am experiencing some weird behaviour utilizing IFeatureManager on a regular Linux S1 App Service with Azure App Configuration integration via managed identity.
In short, it seems like IFeatureManager propagates some configuration of our App Service instance when no Feature Toggles are defined in Azure App Configuration for our application.
We have two scenarios for our usage:

An application has one or more feature flags enabled in Azure App Configuration
An application has  no feature flags enabled in Azure App Configuration

We are exposing the feature flags via a configurations endpoint for our frontend application. Our feature flags are not sensitive information, but only for UX.
Our feature flags will only be defined in Azure App Configuration for deployed Azure environments. Locally, we handle it differently.
Problem
What we experience are the following three things:

An environment has one or more feature flags enabled:

Feature flag is correctly exposed to our frontend.

An environment has disabled feature flags:

We do not expose any feature flags - This is fine behaviour as well.

We have not deployed any feature flags (Where the problem lies):

This is problematic. We do not want to expose what seems to look like App Service configuration for our feature flags. It seems weird to me, that this is exposed via IFeatureManager. I can read in the documentation that IFeatureManager exposes environment settings as well, but I wouldn't expect it to do so, unless explicitly defined.
Our application code for Azure App Configuration looks like the following:
webApplicationBuilder.Services.AddFeatureManagement();

if (appConfigEndpoint != null) {
    webApplicationBuilder.Configuration.AddAzureAppConfiguration(options =>
        options.Connect(
            new Uri(appConfigEndpoint),
            new ManagedIdentityCredential(managedIdentityId))
    .UseFeatureFlags(featureFlagOptions => featureFlagOptions.CacheExpirationInterval = TimeSpan.FromMinutes(5)));
}

We expose our Feature Flags to our frontend via the following:
var featureDictionary = new Dictionary<string, bool>();

IAsyncEnumerable<string> availableFeatures = _featureManager.GetFeatureNamesAsync();

await foreach (string feature in availableFeatures) {
    if (await _featureManager.IsEnabledAsync(feature)) {
        featureDictionary.Add(feature, true);
    }
}

return featureDictionary;
As for now, we have a work-around, but we were a bit surprised by this behaviour. In our case, it werent critical information which was exposed, but if it had been a connectionstring or similar, that would have been problematic.
My question therefore is, whether this is intentional behaviour? If so, what is your recommended way of handling a scenario where you only sometimes have feature flags defined and needs to expose them?
Please let me know, if you need anything further information.
Thanks in advance

Hello @aatrisgn,
It's not clear to me what's happening here. Just so we're on the same page, here's what should be happening:

AddAzureAppConfiguration adds the Dotnet Provider.

The Provider takes items from App Configuration's Servers, and places them into the Configuration for the app.
Other things might add to this Configuration, like appsettings.json or Environment variables via calls on the ConfigurationBuilder like .AddEnvironmentVariables()

When calling FeatureManagement.GetFeatureNamesAsync() it:

Calls GetAllFeatureDefinitionsAsync on the IFeatureDefinitionProvider from DI. This could be the problem, if you have a custom IFeatureDefintionProvider. If you don't have a custom one, it uses our ConfigurationFeatureDefinitionProvider.
Our ConfigurationFeatureDefintionProvider looks in the Configuration and returns the section named "FeatureManagement". If there is no section named "FeatureManagement", it simply returns the Configuration. This could be the problem, if you leave out the "FeatureManagement" section, it's likely assuming top level for the feature flags

For your situation, I'm assuming the issue is the latter. In order for the functionality you want, you should add an empty "FeatureManagement" section when there are no Feature Flags defined.
Hope this helps!

Hi!
Thanks for getting back to me on this.
Your explanation makes sense in comparison to what we experienced.
I am a little bit curious why it is that the FeatureManagement returns the configuration if there is no feature-section present? If I use the feature manager and do not specify any feature section, I would suspect the feature manager to return an empty collection of values and not the configuration.
Maybe I am overlooking something, but why would FeatureManager return configurations when no feature-section is found?
Thanks in advance
Have a great day :)

It's a design choice that might be causing more harm than good. There's some more details in https://github.com/microsoft/FeatureManagement-Dotnet/issues/144

Fixed in 3.0


need to double-check adding trailing slashes in htaccess

It seems to work, until it doesn't. Also, verify sharing (e.g. tumblr bookmarklet) works

currently stripped it out, because it doesn't work the way I expect. Should try to figure it out rather than copying stuff from the internet.

I'm not using it, because everything seems to be working and I don't care for SEO (which is apparently why people want it). Closing until someone tells me they can't find something because they didn't include a slash.


Export column headings

project community parter should be ID instead of name to match data.
Same in all tables

@pallavi0902  as QA tester.


The nomcom settings page does not let the chair set the "accepting volunteers" option

Right now, the secretariat has to set this option on the chair's behalf (using the admin). It should appear on the form at /nomcom/yyyy/private/edit-nomcom/ as well.

I suspect the first_call_for_volunteers date should also be set if the chair is the first to turn is_accepting_volunteers on.


Numbering of agenda does not reset item_number of hidden items

How to reproduce?

create agenda items A, B and C
click number agenda button -> 1. A, 2. B, 3. C
set "B" to hidden
click number agenda button -> 1. A, 2. B, 2. C

Expected result: 1. A, B, 2. C
The item_number of all hidden items (here "B") has to removed.

I tested my test case from #1892. Works now as expected.


Leaflet: Replaced PhantomJS Dependency with Firefox

PhantomJS is an unmaintained project, Replaced phantomjs with firefox in karma.conf.js.
Increased the capture timeout to 10000 ms as for aarch64 it is not able to capture the browser in 5000 ms.
Updated the travis.yml as well to run the package with firefox.

Hi,
While I agree we should get rid of unmaintained PhantomJS, I'd prefer to replace it with other headless runner, since it doesn't require to have specific browser installed

Sure @cherniavskii I agree with you.
I have checked the package with firefox browser in the headless environment if you agree I can update the PR with the required changes.

@cherniavskii Please review the changes I have added the firefox headless support in the package.

Hi @ossdev07
Thanks for taking your time updating a PR.
I've checked out your branch, but it requires Firefox to be installed.
I'd rather keep PhantomJS for now, and eventually replace it with puppeteer, which downloads chromium binary automatically.
This is blocked by failing tests though (see #5845).
I'm gonna try to fix those test, or skip them in Chrome (they're failing for a long time anyway).
Would you like to give puppeteer a try?
As for CI - we already have tests running in Firefox in Travis CI.

@cherniavskii I do agree with you that for using firefox headless, firefox binary needs to be downloaded.
But the puppeteer does not have support for all the architectures i.e it does not support aarch64 because the chromium binary which gets downloaded at puppeteer/.local-chromium/linux-637110/chrome-linux is of x86-64 because of which the package does not support aarch64.
 file chrome
chrome: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, not stripped

For providing multi-architecture support for the package I was suggesting to use firefox headless, please do share your thoughts on this.

Updated the travis.yml as well to run the package with firefox.

As I see from upper discussion, Leaflet maintainers are not ready to replace current testing flow yet.
But may be we can facilitate adoption of this PR (and/or #6852), if we keep PhantomJS, but also setup alternative testing frameworks in parallel, as optional explicit npm-commands.
@cherniavskii @ossdev07 ?

@johnd0e If it seems more feasible to use phantomjs along with the other testing frameworks then we can use phantomjs as an optional dependency too. Please suggest what are your thoughts on this.

Well, one of available frameworks still need to be main.
I propose to adopt new ones in steps, e.g.:

set new as optional, to allow everyone to test them thoroughly
eventually, after leaflet maintainers will be ready, they'll make it as main

See #7115

Superceded by #7115


bump version to v0.3.6

Is this a new chart

NOTE: We're experiencing a high volume of PRs to this repo and reviews will be delayed. Please host your own chart repository and submit your repository to the Helm Hub instead of this repo to make them discoverable to the community. Here is how to submit new chart repositories to the Helm Hub.

What this PR does / why we need it:
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #

Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

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

/ok-to-test

@rohannayakwadi
Would you mind to sign DCO and bump the chart to latest version please? Thank you.

@rohannayakwadi
Would you mind to sign DCO and bump the chart to the latest version please? Thank you.

Anything holding this PR back?

Seems like there is no attempts to fix the failing tests

/dco-check

@rohannayakwadi can you sign-off your commit please?


Getting a timeout error on a deleted connection throws unhandled error

I made a new connection, and when I got no response after 10 seconds, I deleted it. A few seconds later, the app had shut down, and when I checked the command prompt for a traceback:
2016-10-27 06:58:19 [INFO] The Lounge v2.1.0 is now running
2016-10-27 06:58:19 [INFO] Available on: http://localhost:9000/ in private mode
2016-10-27 06:58:19 [INFO] Press ctrl-c to stop

2016-10-27 06:58:19 [INFO] User 'roger' loaded
events.js:141
      throw er; // Unhandled 'error' event
      ^

Error: connect ETIMEDOUT <IP_ADDRESS>:6667
    at Object.exports._errnoException (util.js:873:11)
    at exports._exceptionWithHostPort (util.js:896:20)
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1077:14)

Presumably this is an edge case that wasn't accounted for.

We're aware of this issue and there are multiple ones open already.

Ack, my apologies.
On Thu, Oct 27, 2016, 12:27 AM Pavel Djundik<EMAIL_ADDRESS>wrote:

We're aware of this issue and there are multiple ones open already.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/thelounge/lounge/issues/723#issuecomment-256567330,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFo6dXTYnhG-i2Pmog2dqUeDbuw3B1Ljks5q4FJtgaJpZM4KiA7h
.


Slow connection clean up after ed25519 handshake failure

Specification
There is an odd delay when cleaning up the QUICConnection after a tls handshake error. After the client checks the server's certs and fails it, it sends the CC frame to close the connection. for a RSA cert the server enters draining and then the close state very quickly. But for a ed25519 cert the server processes the CC frame, waits an odd 3-ish seconds using the timeout(), onTimeout() timing mechanism and then enters the close state.
I don't see a reason why this would behave differently for an ed25519 cert compared to an RSA one. I've been over the internal logic and I think I'm handling all the events when and as intended. This 3 second delay is clearly being set after processing the CC frame with recv() on the server side AND doing processing a send(). This is also after both sides have entered the draining state, so no new packets are going to be sent between them.
Unless this is intended behaviour for handshakes with ed25519 certs, I can only assume this is some kind of bug. I've posed an upstream issue for this at  https://github.com/cloudflare/quiche/issues/1488.
Additional context

Related https://github.com/cloudflare/quiche/issues/1488
Related #9

Tasks

Determine the cause of this delay.
Fix the problem.

It's also for ECDSA keypair.

This is understood why now. It does happen under specific circumstances. Not a bug on our side. Fixed by !26.


[stable/kapacitor] Use an existing secret for the InfluxDB auth

What this PR does / why we need it:
Sometimes you need to check in the values.yaml in a repo
and you don't want to expose the secrets. With the existingSecret
option you can use an existing Kubernetes secret with the keys
influxdb-user and infuxdb-password to set the corresponding
environment variables in Kapacitor. The keys are the same as the
ones used in the influxdb-auth secret created by the InfluxDB
Helm chart.
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

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

/assign @jackzampolin

/assign @deepaksood619

/assign @aisuko

/ok-to-test

@afausti Please join the Kubernets/charts channel on Slack, and copied the PR address into the channel, there need someone who is the @helm member can have the permission to merge the PR.

The channel address please see the Slack address on the README.md at the project homepage.

bump, PRs are piling up for this chart @Aisuko do you need a hand? add me as an owner if you want

I will make a discussion with helm members with merging this PR.

@afausti It's so long time. Thanks for your patient. I believe we can merge this after resolving the conflict.

Thanks @Aisuko, I've bumped the minor version of the chart as discussed above. It is now 1.2.0.

Thanks


ci: Set hubble.relay.retryTimeout=5s

I noticed CI seemed to flake on hubble-relay being ready. Based on the logs it was due to it being unable to connect to its peers.
Based on the sysdump the endpoints did eventually come up, so I think it just needs to retry more often, and the default is 30s so lower it to 5s in CI.
An example of such a CI run: https://github.com/cilium/cilium/actions/runs/8729875690/job/23952676116?pr=31973.
I've added some temporary commits to test the changes, which I'll remove after I verify the correct options are being used.

Run cilium install --chart-directory=install/kubernetes/cilium --helm-set=debug.enabled=true --helm-set=bpf.monitorAggregation=none --helm-set=dnsProxy.proxyResponseMaxDelay=250ms --helm-set=hubble.relay.retryTimeout=5s --helm-set=image.repository=quay.io/cilium/cilium-ci --helm-set=image.useDigest=false --helm-set=image.tag=a49b5e5d68d4e233ba37117eb7b3e0f0ac1a0a5a --helm-set=operator.image.repository=quay.io/cilium/operator --helm-set=operator.image.suffix=-ci --helm-set=operator.image.tag=a49b5e5d68d4e233ba37117eb7b3e0f0ac1a0a5a --helm-set=operator.image.useDigest=false --helm-set=clustermesh.apiserver.image.repository=quay.io/cilium/clustermesh-apiserver-ci --helm-set=clustermesh.apiserver.image.tag=a49b5e5d68d4e233ba37117eb7b3e0f0ac1a0a5a --helm-set=clustermesh.apiserver.image.useDigest=false --helm-set=hubble.relay.image.repository=quay.io/cilium/hubble-relay-ci --helm-set=hubble.relay.image.tag=a49b5e5d68d4e233ba37117eb7b3e0f0ac1a0a5a --helm-set=hubble.relay.image.useDigest=false --helm-set=hubble.relay.enabled=true --helm-set=cni.chainingMode=portmap --helm-set-string=kubeProxyReplacement=true --helm-set=loadBalancer.l7.backend=envoy --helm-set=tls.secretsBackend=k8s --helm-set=envoy.enabled=false --wait=false

I can see it specified the right option but the test succeeded and there's no sysdumps; so I can't actually confirm it was added to the configmap, but it should be.

Removing the tmp commit so this can be marked as ready for review.

@chancez should we also backport to stable, to prevent similar flakes there?

@julianwiedmann seems reasonable and easy? Do we just apply the necessary labels for that?

@julianwiedmann seems reasonable and easy? Do we just apply the necessary labels for that?

yep. Looks like the helm-default action doesn't exist in older releases, so leaving it up to you whether we want manual backports for those as well :).


Pannellum 2.5.3 - 6080 x 3040 images just shown as black on iPhone 6 iOS 12.4

Hi Matthew
Just a little feedback regarding 2.5.3 supporting images larger than 4096 x 2048 pixels by splitting them into two smaller images.
It was a feature I was very excited about, but does not appear to be working on my iPhone 6 with iOS 12.4.  I made a test using a 6080 x 3040 image, but is just shows a black screen, see https://www.virtualmountains.co.uk/X/2_5_3_Test.html.
It works fine on a PC which was happy to display larger panoramas.
If you want any extra info, let me know.
Kind regards
Derek

It seems that the WebGL texture size limits also apply to the size of non-WebGL <canvas> elements. From the developer console (iOS simulator, via Saucelabs), a warning (which isn't detectable from JavaScript):

Canvas area exceeds the maximum limit (width * height > 16777216).

This should be fixable be using a smaller <canvas> and drawing the image twice, once each at different offsets, instead of what is currently being done, which is to make a <canvas> the size of the image, draw the image once, and then create WebGL texture from sub-regions of the <canvas>.

I think I've fixed the issue, but I don't have a physical device to test on (the fix works on the iOS simulator).
@DStillingfleet Can you see if https://mpetroff.net/files/iostest/ works for you? If it does, I'll push the changes and remove the test from my server.

Hi Matthew
Yes, you’ve fixed it.  It’s working 👍.
Best wishes and many thanks
Derek
Sent from my phone.

On 3 Sep 2019, at 21:45, Matthew Petroff<EMAIL_ADDRESS>wrote:
I think I've fixed the issue, but I don't have a physical device to test on (the fix works on the iOS simulator).
@DStillingfleet Can you see if https://mpetroff.net/files/iostest/ works for you? If it does, I'll push the changes and remove the test from my server.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Fixed in c3cf33a5db6b160a514e4fb31d20dc91550a9838. I'm considering temporarily backing out df4c45dd332921b96fb3fa021cdab4dd06f75d96 and releasing 2.5.4, since this is a silent failure, and that commit is the only significant change since 2.5.3.

Sounds like a good idea.

On 04 September 2019 at 23:08 Matthew Petroff<EMAIL_ADDRESS>wrote:
Fixed in c3cf33a https://github.com/mpetroff/pannellum/commit/c3cf33a5db6b160a514e4fb31d20dc91550a9838 . I'm considering temporarily backing out df4c45d https://github.com/mpetroff/pannellum/commit/df4c45dd332921b96fb3fa021cdab4dd06f75d96 and releasing 2.5.4, since this is a silent failure, and that commit is the only significant change since 2.5.3.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/mpetroff/pannellum/issues/785?email_source=notifications&email_token=AC47ZDDURCY2WFP54JPPYQTQIAWXNA5CNFSM4IRNJLIKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD55FCSY#issuecomment-528109899 , or mute the thread https://github.com/notifications/unsubscribe-auth/AC47ZDDJCWPCNJDED5UY4V3QIAWXNANCNFSM4IRNJLIA .

Excellent, thank you. Some Virtual English Tea on it’s way.😄
Sent from my phone.

On 10 Sep 2019, at 16:25, Matthew Petroff<EMAIL_ADDRESS>wrote:
I just released 2.5.4 with the fix.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.


Not able to install deis on Travis.

I'm getting the following error on Travis:
Installing deploy dependencies
!!! Deis support is experimental !!!
pip install --user deis==1.6.0
You are using pip version 6.0.8, however version 6.1.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Collecting deis==1.6.0
  Downloading deis-1.6.0.tar.gz
    Traceback (most recent call last):
      File "<string>", line 20, in <module>
      File "/tmp/pip-build-AcvuUw/deis/setup.py", line 30, in <module>
        with open('requirements.txt') as f:
    IOError: [Errno 2] No such file or directory: 'requirements.txt'
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

      File "<string>", line 20, in <module>

      File "/tmp/pip-build-AcvuUw/deis/setup.py", line 30, in <module>

        with open('requirements.txt') as f:

    IOError: [Errno 2] No such file or directory: 'requirements.txt'

    ----------------------------------------
    Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-AcvuUw/deis

My bad--forgot to add requirements.txt to the MANIFEST.in file in 574b4d8f911bc5e7a9765c21a1e45264af5862f2.


Actions: add detailed form input validation reference

Description (required)

Update input type to be any ZodType
Add subheading for input validation when accepting form inputs
Add discriminated union example

Related issues & labels (optional)

Closes #
Suggested label:

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

Locale
File
Note

en
reference/api-reference.mdx
Source changed, localizations will be marked as outdated.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.


Update C# README

Update outdated links.
Fix incorrect naming (e.g. for the NuGet package)
Remove dangling quote.

this would have saved me a bit of time


{Network} Connection monitor V2 preview

Temporary hotfix https://github.com/Azure/azure-cli/issues/9432

This checklist is used to make sure that common guidelines for a pull request are followed.

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

If this PR is for a new extension or change to an existing extension, use the following to try out the changes in this PR:
docker run -it microsoft/azure-cli:latest
export EXT=<NAME>
pip install --upgrade --target ~/.azure/cliextensions/$EXT "git+https://github.com/haroldrandom/azure-cli-extensions.git@connection-monitor-v2#subdirectory=src/$EXT&egg=$EXT"

add to S165.