Update Channel snippets and templates

Channel CRD can be found here.
Snippets are saved in our snippets directory.
Templates are saved in our templates directory.
VSCode Snippet Guide.
VSCode Using Snippets.
Related issue: #21

Templates are a part of our ocmNewProject command, no vscode docs available.
We have multiple templates, each template as its own Channel manifest.

@TomerFi
I see that the new CRD supports "gates" and "matched labels" which are not mandatory fields. in addition, there are no official doc or examples in the OCM site.
do you think we need to add them to the snippets?

Well... we can push PRs to update OCM site too. :-)
Maybe, because these fields aren't mandated and not yet document, we can perhaps do it in another PR so we won't block #63 ?

Of course.  the changes are on another branch

@TomerFi I checked that issue with @mikeshng. the "gates" field is no longer in use, it is there for backward compatibility.
meaning there are no changes required for snippets or templates.


ROTATE_DISPLAY does not behave as expected

I am trying to create a kiosk in portrait orientation. I have set an environment variable ROTATE_DISPLAY=left but this appears to rotate the chromium window and relocate it's top-left corner to the new position but it does not appear to resize the window to 1080x1920, as expected. I have tried specifying the window size manually, via WINDOW_SIZE=1080,1920 but that appears to just change the black area of the screen to white, but not render content there.
Furthermore, the touch-panel doesn't appear to rotate with the screen, although I think I have a solution for this by including xserver-xorg-input-libinput and modifying 40-libinput.conf.
I am using a Raspberry Pi 4 (4GB).
I would be extremely thankful for any assistance on this - I've been hitting my head on a wall for nearly a week now!

hi there!
can you please provide some details regarding the screen you are using?

I am running into a similar problem.
While the (hdmi) display rotates, touch input is still rotated by 90°. Strange thing is that an external mouse behaves as expected.
Any Ideas on how to rotate the touch input as well?
Thank you!


Add web.alert-url parameter so we can run behind reverse-proxy

In our deployment of prometheus we make the dashboards available through a reverse-proxy, this means that the alerts that come up in Slack or PagerDuty need to contain a different URL from the one that Alertmanager runs on.
Setting web.external-url to this externally visible URL doesn't work (see #528).
If the new web.alert-url parameter isn't set we default to the web.external-url value, so this change should be transparent.

As I asked in #528, can you explain why web.external-url isn't sufficient here? It appears to perfectly meet your needs.

@brian-brazil We don't have a route from Prometheus to Alertmanager via the reverse proxy, so we need Alertmanager to still be listening on its local address.
e.g. Alertmanager is on server-01:9093, reverse proxied as monitoring.example.com.
Prometheus can't see that URL because it's private networked only so it needs to be configured with -alertmanager.url=http://server-01:9093.
If we set -web.external-url=monitoring.example.com then Prometheus can't talk to it any more as  it doesn't respond on server-01:9093.

Why wouldn't the AM respond on server-01:9093? It's still bound to that port.

alex@alex-VirtualBox:~/Workspaces/go/src/github.com/prometheus/alertmanager$ sudo docker run -v /tmp/alertmanager.yml:/etc/alertmanager/config.yml --net=host prom/alertmanager -config.file=/etc/alertmanager/config.yml -web.external-url=http://monitoring.example.com/some/path
time="2017-04-12T13:49:27Z" level=info msg="Starting alertmanager (version=0.5.1, branch=master, revision=0ea1cac51e6a620ec09d053f0484b97932b5c902)" source="main.go:101"
time="2017-04-12T13:49:27Z" level=info msg="Build context (go=go1.7.3, user=root@fb407787b8bf, date=20161125-08:14:40)" source="main.go:102"
time="2017-04-12T13:49:27Z" level=info msg="Loading configuration file" file="/etc/alertmanager/config.yml" source="main.go:195"
time="2017-04-12T13:49:27Z" level=info msg="Listening on :9093" source="main.go:250"

alex@alex-VirtualBox:~/Workspaces/go/src/github.com/prometheus/alertmanager$ curl localhost:9093
404 page not found

alex@alex-VirtualBox:~/Workspaces/go/src/github.com/prometheus/alertmanager$ curl http://localhost:9093/some/path
Moved Permanently.

It looks like the problem happens around this line: https://github.com/prometheus/alertmanager/blob/1e34f29532a251b728ddf304ebccd9234fcbd81a/cmd/alertmanager/main.go#L255
Since we're accessing Alertmanager as part of a dashboard, we have some path after the host, we don't want that additional path on the local Alertmanager routing.
Apologies for the slightly shoddy explanation above, I forgot the path element was what was causing us the problem :)

Using -web.external-url the alertmanager is correctly alerting with proper links that I can follow through my reverse proxy.  Prometheus is also able to correctly talk to my alertmanager and I can curl it perfectly fine from within the network using either localhost or over the local internal network.

@sstarcher As above, it works fine using a domain root e.g. http://example.com, but with additional path e.g. http://example.com/dashboard/prod it does not, the path is moved to http://localhost:9093/dashboard/prod` which is not the behaviour we want for our use case.

I have the same problem: Setting external-url to something which includes a path, will make the AM only respond on that path.
So if you set that to http:/example.com/foo, the AM sets up handlers at /foo. Now if the reverse proxy strips the path (which is common), the AM sees a request to / and returns 404. I think this is essentially the same as https://github.com/prometheus/prometheus/issues/1191 but for the AM.

Actually starting with the 0.7.0 release the Alertmanager has the -web.route-prefix flag in addition to the -web.external-url just like Prometheus, to be able to control the prefix of the internal http handlers and how Alertmanager is accessed.

Given that those two are now decoupled, I think this PR is actually not necessary anymore.

Oh I missed that, that's great. Yes I think then this PR can be closed.


Error in LexborHTMLParser

I found a bug in LexborHTMLParser
def test_css_first_first(parser):
    html = '
(1:1, 0:0, 0:0, 5:3)
'
    selector = "h2.list-details__item__partial"
    find_first = parser(html).css_first(selector)
    assert find_first.css_first(selector) is not None

This code works correctly in HTMLParser but incorrectly in LexborHTMLParser

Works in the lexbor engine:
Selectors: h2.list-details__item__partial
Found:
1)

Time: 0.000031

        html = '
(1:1, 0:0, 0:0, 5:3)
'
        selector = "h2.list-details__item__partial"
        find_first = parser(html).css_first(selector)
>       assert find_first.css_first(selector) is not None
E       AssertionError: assert None is not None
E        +  where None = <built-in method css_first of selectolax.lexbor.LexborNode object at 0x0000026604084640>('h2.list-details__item__partial')
E        +    where <built-in method css_first of selectolax.lexbor.LexborNode object at 0x0000026604084640> = <LexborNode h2>.css_first

app\tests\test_parser.py:460: AssertionError

@rushter
In lexbor Selectors you can control the behavior of the node search by changing the parameters.
That's how you get behavior like in Modest.

Okay, I will do it.

Should be fixed in the latest release.


Item padding should be a public property

Problem fixed with latest release. Can you please check the same once.


0050 - Pow(x, n)

Description of the Problem
Implement pow(x, n), which calculates x raised to the power n (i.e. xn).
Example 1:
Input: x = 2.00000, n = 10
Output: 1024.00000

Example 2:
Input: x = 2.10000, n = 3
Output: 9.26100

Example 3:
Input: x = 2.00000, n = -2
Output: 0.25000
Explanation: 2-2 = 1/22 = 1/4 = 0.25

Constraints:

-100.0 < x < 100.0
-231 <= n <= 231-1
-104 <= xn <= 104

Code
class Solution:
    def myPow(self, x: float, n: int) -> float:

Link To The LeetCode Problem
LeetCode

@vJechsmayr can i do this?


pip install error

When i installed the pyFlow use “pip install”,it's give the error like this:

PS D:\Code\imgui-node-editor-0.9.3\build\bin> pip install git+https://github.com/wonderworks-software/PyFlow.git@release
Collecting git+https://github.com/wonderworks-software/PyFlow.git@release
Cloning https://github.com/wonderworks-software/PyFlow.git (to revision release) to c:\users\administrator\appdata\local\temp\pip-req-build-b2ytwzpv
Running command git clone --filter=blob:none --quiet https://github.com/wonderworks-software/PyFlow.git 'C:\Users\Administrator\AppData\Local\Temp\pip-req-build-b2ytwzpv'
Downloading PyFlow/Logo.psd (5.3 MB)
Error downloading object: PyFlow/Logo.psd (7637348): Smudge error: Error downloading PyFlow/Logo.psd (763734832a0c331aa849283545b619a739bf2787568a3a4dae3a9fd57377b401): batch response: This repository is over its data quota. Account responsible for LFS bandwidth should purchase more data packs to restore access.

Errors logged to 'C:\Users\Administrator\AppData\Local\Temp\pip-req-build-b2ytwzpv.git\lfs\logs\20240412T150219.527985.log'.
Use git lfs logs last to view the log.
error: external filter 'git-lfs filter-process' failed
fatal: PyFlow/Logo.psd: smudge filter lfs failed
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'
error: subprocess-exited-with-error
× git clone --filter=blob:none --quiet https://github.com/wonderworks-software/PyFlow.git 'C:\Users\Administrator\AppData\Local\Temp\pip-req-build-b2ytwzpv' did not run successfully.
│ exit code: 128
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× git clone --filter=blob:none --quiet https://github.com/wonderworks-software/PyFlow.git 'C:\Users\Administrator\AppData\Local\Temp\pip-req-build-b2ytwzpv' did not run successfully.
│ exit code: 128
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.

it should be working now with the master branch!


Create Sketch component sheet

People love Sketch right? Let's make a version of our component sheet for sketch.
SVG, son!

+1


Could not create my-new-func function with template HTTP trigger. Error: No files were found to copy

npx create-nx-workspace@latest audit-logs-nx-plugin-monorepo

Need to install the following packages:
<EMAIL_ADDRESS>Ok to proceed? (y) y

 >  NX   Let's create a new workspace [https://nx.dev/getting-started/intro]

✔ Which stack do you want to use? · none
✔ Package-based monorepo, integrated monorepo, or standalone project? · integrated
✔ Enable distributed caching to make your CI faster · No

 >  NX   Creating your v17.1.1 workspace.

   To make sure the command works reliably in all environments, and that the preset is applied correctly,
   Nx will run "npm install" several times. Please wait.

✔ Installing dependencies with npm
✔ Successfully created the workspace: audit-logs-nx-plugin-monorepo.

cd audit-logs-nx-plugin-monorepo

npm install -D @nxazure/func

nx g @nxazure/func:init my-new-app

>  NX  Generating @nxazure/func:init

ATTENTION Some dependencies might not work well together. If something is not working, try to update @types/node, typescript or @azure/functions to the latest (preview for V4) versions.

removed 2 packages, and audited 418 packages in 648ms

47 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities
CREATE my-new-app/project.json
UPDATE .vscode/extensions.json
UPDATE package.json
CREATE my-new-app/tsconfig.json
CREATE my-new-app/tsconfig.build.json
CREATE tsconfig.base.json
CREATE my-new-app/package.json
CREATE my-new-app/host.json
CREATE my-new-app/local.settings.json
CREATE my-new-app/.funcignore
CREATE my-new-app/_registerPaths.ts

nx g @nxazure/func:new my-new-func --project=my-new-app --template="HTTP trigger"

>  NX  Generating @nxazure/func:new

Could not create my-new-func function with template HTTP trigger. Error: No files were found to copy
    at copyFiles (/Users/xxx/dev/xxx-nx-plugin-monorepo/node_modules/@nxazure/func/src/generators/new/generator.js:41:15)
    at /Users/xxx/dev/xxx-nx-plugin-monorepo/node_modules/@nxazure/func/src/generators/new/generator.js:69:13
    at Generator.next (<anonymous>)
    at /Users/xxx/dev/xxx-nx-plugin-monorepo/node_modules/tslib/tslib.js:169:75
    at new Promise (<anonymous>)
    at Object.__awaiter (/Users/xxx/dev/xxx-nx-plugin-monorepo/node_modules/tslib/tslib.js:165:16)
    at default_1 (/Users/xxx/dev/xxx-nx-plugin-monorepo/node_modules/@nxazure/func/src/generators/new/generator.js:57:20)
    at /Users/xxx/dev/xxx-nx-plugin-monorepo/node_modules/nx/src/command-line/generate/generate.js:241:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async handleErrors (/Users/xxx/dev/xxx-nx-plugin-monorepo/node_modules/nx/src/utils/params.js:9:16)

 >  NX   No files were found to copy

   Pass --verbose to see the stacktrace.

I created the workspace for integrated monorepo and for typescript.
I also updated the packages:
@types/node 18.18.9
@azure/functions 4.0.1
Any idea what I am doing wrong?
Thank you.

Hi @michal-husak,
I am currently working on adjusting the package to the new V4 version of azure functions.
It looks like the latest change in the tools broke some functionality.
I'll ping here once the new version is out.

Please try again with version 1.1.0 and the latest Azure function tools and reopen the issue if this happens again.


LLaMA-3 issues when used with vLLM

I tried these two quantization approaches:
model_path = '/home/catid/models/Meta-Llama-3-70B-Instruct'
quant_path = 'cat-llama-3-70b-q128-w4-gemvfast'
quant_config = { "zero_point": True, "q_group_size": 128, "w_bit": 4, "version": "gemv_fast" }

model_path = '/home/catid/models/Meta-Llama-3-70B-Instruct'
quant_path = 'cat-llama-3-70b-q128-w4-gemvfast'
quant_config = { "zero_point": True, "q_group_size": 128, "w_bit": 4, "version": "gemv" }

Both result in the same error in vLLM:
  File "/home/catid/sources/vllm/vllm/model_executor/layers/linear.py", line 558, in weight_loader
    loaded_weight = loaded_weight.narrow(input_dim, start_idx,
RuntimeError: start (0) + length (14336) exceeds dimension size (8192).
(RayWorkerWrapper pid=45548) ERROR 04-20 03:14:37 worker_base.py:153] Error executing method load_model. This might cause deadlock in distributed execution.

gemm works fine though

GEMVFast is not implemented in vLLM yet

I'm planning a PR to implement this functionality in vLLM
https://github.com/vllm-project/vllm/pull/3289

I'm planning a PR to implement this functionality in vLLM

Is there an alternative to implementing continuous batching with GEMVFast? I'd really like to generate a new separate instance while simultaneously generating old batch without waiting for the old batch

Currently, there is no option for it. You will have to wait until other software packages support it.

@catid
What RAM do you use for that?
My 31GB gets overfilled when quantizing the model


General CLI: Functions Naming Convention

CLI tx and query functions should all use kebab(spine)-case.
For example, we should have add-did-doc rather than addDidDoc.

Closed by #114


Consider adding the marker* properties to the TemplateResult class for easier snapshot testing

I threw together a quick Jest snapshot test today and realized that it would be great to be able to easily mock / force a static value for marker and nodeMarker to make string output deterministic in tests. For the Jest fans, a snapshot test would look something like:
import {
    html
} from "lit-html/lit-html.js";

const render = (props) => html`<div>${props.foo}</div>`;

it('renders correctly', () => {
    const asString = render({ foo: ""}).getHTML();
    expect(asString).toMatchSnapshot();
}

However, since the marker changes for each test run, the snapshot would very rarely (essentially never) match. There are ways to work around this as-is (for example asString = asString.replace(/lit\-[0-9]+/, "SNAPSHOT_TOKEN");), but something a little more supported would be great, and adding marker to the prototype or as an instance property should make it cleaner.
Unless I missed something and there's a simple way to get the string output of a TemplateResult :)

To get the string output of a TemplateResult, you can just render it:
const container = document.createElement('container');
const renderTemplate = (data) => html`<div>${data.foo}</div>`;

render(renderTemplate({foo: ''}, container);

// innerText respects styling, so comments and hidden elements are not included
const text = container.innerText;
assert.equals(text, whatever);

Yeah, the idea here was to get it without rendering, since Jest by default doesn't run in a DOM environment, and even when run in jsdom there's no custom element support. There's some decent work going into a Jest and Puppeteer environment, but so far it's not as user friendly as I'd like.
For now the workaround I mentioned works well enough that this isn't a big concern.

Seems like what you want is TemplateResult#strings, which is equal to the template literal strings form the source. You can join them with your own consistent marker like so:
const renderTemplate = (data) => html`<div>${data.foo}</div>`;
const result = renderTemplate({foo: ''});
assert.equal(result.strings.join('MARKER'), '
MARKER
');
assert.deepEquals(result.values, ['']);

Aha, precisely that. Thanks!


maps:from_list does not handle deep proplists

to_maps seems to be a quite generic function.
it can be done on the caller side to avoid forcing otp 17 (or later) dependency for this app.

Right, it wasn't generic when I started.


[ios] update RCTEventEmitter usage

@michaelkruglos I think this undo's your change from https://github.com/BranchMetrics/react-native-branch-deep-linking/pull/25
Upon cursory testing #import <React/RCTEventEmitter.h> does not work. Does this syntax require different header search paths?


Revert "Bump undici from 6.6.2 to 6.15.0"

Reverts timrogers/gh-migration-audit#168

undici 6.13.0 onwards is broken for older Node versions like the one we use in our packaged binary: https://github.com/nodejs/undici/issues/3123


Fixes Issue #50

Below are the additions in this PR

Added explanation for directory structure in the repository
Added table with available algorithms in the repo with programming languages and category
Added note in contribution section asking contributors to update the available resources section

@rohitbabugaddeti Could you update README.md in language sub folders also

@Kumar-laxmi  I could. But I feel it becomes redundant. And the issue #50 also highlights about adding it in main Readme

@rohitbabugaddeti Or do one thing that in Available Languages each language could be a Hyperlink to the the program file in repository.
Example: In Huffman Coding -> In available language you can make:
C
C++
Python

@rohitbabugaddeti Or do one thing that in Available Languages each language could be a Hyperlink to the the program file in repository. Example: In Huffman Coding -> In available language you can make: C, C++, Python

Yeah, this makes sense. Will try to do it.

@Kumar-laxmi  Please check now
I identified issue #60  while doing this and hence renamed files to fix it

@rohitbabugaddeti Also include Kadane's Algorithm, Red-Black Tree in the table and Depth First Search in the README.md table.

@rohitbabugaddeti Also include Kadane's Algorithm, Red-Black Tree in the table and Depth First Search in the README.md table.

@Kumar-laxmi  please ask other contributors to add them. Possibly the one's who contributed those algorithms. If I do this now, by the time we merge it, someone might add something else and it goes on. Let's not get into that loop.


feat(alert): use a custom component in an alert

Short description of what this resolves:
This adds the ability to provide a custom component to the alert controller, similar to popover. This gives the possibility to easily create small dialogs, where ionic provides the title and buttons and the client code just needs to provide the content view.
Example:
alertController.create({
    title: "title",
    component: InnerComponent,
    navParams: {say: "hello"},
    buttons: [{
        text: "OK",
        handler: (component: InnerComponent) => this.doSomething(component)
    }]
}).present();

@Component({template: "inner component: {{text}}"})
export class InnerComponent {
    text: string

    constructor(navParams: NavParams) {
        this.text = navParams.get("say")
    }
}

Ionic Version: 3.x

@mausibris this is perfect! and it works really well! I will try to merge it soon :)
Thanks a lot for the PR!!

I am adding a new API to create custom Alerts:
this.alertCtrl.create()
  .setTitle("My Alert")
  .setCustom(InnerComponent, {parameter: "hi", user: "ionic"})
  .present();

looks good. I like it

@manucorporat Hi, is this planned for any time soon?

Very beautiful and helpful feature

@mausibris can you fix the conflicts?

@danielsogl I could do this by the end of the week. I'm traveling right now...

I closed the PR accidentally (and then opened again).
Sorry if it's not appropriate, but I wanted to ask if the more likely comes into the 3.x version or in 4.x

Hello and thank you for contributing to Ionic! We have been working on porting all of the Ionic components to web components and have recently updated master to reflect this. This significant change has caused this pull request to break. While we really appreciate the time and effort you put into creating this, we are not able to merge it because of the newly introduced conflicts. We are extremely sorry about this. We will not be merging any more features in to v3. If this is a feature and you have the time, please resubmit this PR against the master branch. If this is a critical security issue in v3, we would greatly appreciate it if you would resubmit the PR against the new v3 branch. Thanks so much for your time!


Build and deploy ARM-based containers

Now that ECS Fargate supports ARM containers, we can supposedly see 40 percent better price-performance at 20 percent lower cost. I believe all of the languages we're likely to use can compile to ARM, so Fargate support for ARM was our last remaining roadblock.
Taking a cursory look at the required steps, it'd involve:

Adding a docker/setup-qemu-action step so that the build environment can emulate ARM
Telling the docker/build-push-action step to build for ARM
Telling Fargate that we're deploying using ARM (It looks like a 1 line change to the task definition, but I imagine that'd require plumbing some configuration through one or more TF modules)

I'd like to think the overall impact to our build/deployment times should be small.

Dockerfiles for ARM-based containers may require a little modification for those using architecture-specific binaries, like for OracleDB.

Linux ARM-based binaries are available for Oracle Instant Client nowadays. I don't think that should be a blocker any more.


Data race in use of Vec::push?

In CI #34, the rust thread sanitizer reports data race in Vec::push.
I have trouble finding the exact cause of this error since the Vec used in Arena is guarded by parking_lot::RwLock be race-free and Arena does not employ any unsafe blocks to access the vec.
Edit:
Here is the link to the code Arena::try_reserve that the thread sanitizer reported to have data race.
It utilizes the upgradable read lock functionality provided by parking_lot to reduce the critical section as much as possible.
Edit 2:
The same data race is reported by thread sanitizer again here.
Edit 3:
This thread sanitizer error can now be reproduced on my computer.

To reproduce this error, check out branch Issue#1

Same behavior also happens in NobodyXu/bag, I am pretty sure this is either a bug in parking_lot::RwLock implementation or a false positive.

According to the issue I opened in parking_lock, this is likely a false positive.
Besides, I've updated this crate to use arc-swap instead.


Signature not show in pdf after sign

Hi, when i sign my pdf with cms, I did't see the signature in this. How to show it? Thanks!

pdf-dump.py shows the signature ByteRange and the signature itself.
From readers only, Acrobat Reader is able to display the signature panel.
It is possible to put a picture with a signature on the page, but I have not implemented this option.

Hello!
I'm having a similar issue. I followed the pdf-sign-cms.py example but I can't verify the signature on hthe .pdf generated using a viewer as Acrobat Reader. It seems that it doesn't contain a signature.
Also I used sigpdf but it says that the document doesn't have a valid signature.
Can you send me a .pdf that you generated using endesive that contains a valid signature? Or the signatures generated by endesive are only verifiables by endesive itself?
I needed to modify a bit the example because I'm using an HSM using python-pkcs11 library in order to sign the document.
PS: I'm talking about a "byte-level signature". I don't care if it "shows" something on the document.

Instead of a words
https://raw.githubusercontent.com/m32/endesive/master/examples/pdf-signed-cms-ar-screenshot.jpg

You will generate the same files after running the examples

It is possible to put a picture with a signature on the page, but I have not implemented this option.

@m32 I want to be able to show the signature on the page. Are you planning to implement this?

I would also like to see the signature on linux but at the same time I do not want to use many libraries. In addition, I would like the signature to be non-editable and unprintable, and I do not know how to do that

hi. i have encountered the following issue: PDF-1.4 doesn't get the signature (generated with PyPDF2 version 1.26.0), while PDF-1.5 or PDF-1.7 (of same file generated through CTRL+P Save as PDF) does. do you know why would it be so?

I do not understand where ctrl-p is in pypdf and how it affects the signing  process?
Any example or traceback ?

Hi,
It's working here....
Did you want to see the signature in the document text, like a water mark?

I do not know how to add a non-editable and non-printable note with information about the certificate, and the subsequent signing should extend it (?) while signing pdf

I would also like to see the signature on linux but at the same time I do not want to use many libraries. In addition, I would like the signature to be non-editable and unprintable, and I do not know how to do that

Hi. I am also interested in this option. If you do not plan to implement it, can you indicate how it would be done to make your own implementation?

The pdf_annotations library helped me create a visible signature that does not print :), you need to add two elements in the signature parameters:
b'signature ': b' some description to appear on the pdf document '
b'signaturebox ': (0, 0, 100, 100) - where to put it on the first page

Hi @savsgio we can test this

Is there any way to link the annotation to the signature?
This way, when you click on the image or the annotation, the signature information will be available.
Thank you !!

Yes it is possible (popup dialog) but I wanted a static element without the possibility of editing, printing and without the need to click to see it.

What would I have to do to link it?

Could you share with us some example, please?

@luuminhfpt

Don't worry we need that under windows with adobe acrobat

from issue #24 - use annotation as button to open acrobat signature panel
In cms.py
line 206
replace /FreeText by /Widget
and add
/SM(TabletPOSinline) at line 217

Hi, when i sign my pdf with cms, I did't see the signature in this. How to show it? Thanks!

I have had the same problem. And I have discovered that it is because of the pdf version.
With version 1.4, you see the signature panel, but with a later version, no.

@martin-rubio-palao pdf-lineized.pdf has version 1.6 and is linearized, try to sign this file - the signatures are shown correctly. It is not a matter of the pdf version.

@m32
How was the pdf-linearized.pdf of the example generated? My signed pdfs do not appear in the Adobe Reader signature panel.

Image of a document that didn't work

Image of a document that worked

@jadsonbr I have no idea how pdf-linerized. was generated. Pictures with document properties will not tell me anything, the content of the document is important. I can only help if you share your pdfs.

Thanks for the library, it's helping me a lot.
Below are the documents that I took the tests. I hope you can help me with this question.
document that worked
document that didn't work

Pass both documents through some validator, working.pdf has acceptable errors, not-working.pdf has their mass. Acrobat Reader with a signed document behaves differently than with an unsigned one - it is more restrictive. This could also be another reason :(
The file:working.pdf is not valid, error(s) :
4.1.2 : Transparency error, ca entry in a ExtGState is invalid
7.1 : Error on MetaData, Missing Metadata Key in catalog
The file:not-working.pdf is not valid, error(s) :
1.4.8 : Trailer Syntax error, A Catalog shall not contain the OCPProperties entry
4.1.3 : Transparency error, BlendMode value isn't valid (only Normal and Compatible are authorized)
4.1.2 : Transparency error, CA entry in a ExtGState is invalid
4.1.2 : Transparency error, ca entry in a ExtGState is invalid
4.1.3 : Transparency error, BlendMode value isn't valid (only Normal and Compatible are authorized)
2.2.1 : Invalid graphics transparency, Group has a transparency S entry or the S entry is null [COSDictionary{COSName{Length}:COSInt{150};COSName{BBox}:COSArray{COSFloat{-10.7183};COSFloat{397.708};COSFloat{556.819};COSFloat{-9.28613};};COSName{Group}:COSObject{COSDictionary{COSNam.....

The PDF that worked was generated from a word document, but what didn't work was generated from Adobe illustrator CS6 software. Exactly the one generated by Adobe's own system has more problems?
Could you tell me what the requirements are for me to have a document with a signature panel normally?

I don't know this definition, so I can't answer.
Validator shows incompatibilities with PDF/A, so apparently Adobe software is not compatible with it.

@m32 ok, thanks for your time and the library.

@jadsonbr - thanks for reporting next bug, the xref array does not overwrite the item at position 1


Jim/profilecaching

A fairly significant reworking of user profile caching.  All caching is now in UserProfileManager, with XMLRPC and db queries from UserProfileManagerData. Reworked all the locking and cache structures to use only two locks, one for "level 1" caching ("Data" objects) which is UserProfileData and UserAgentData objects, and one for "level 2" CachedUserInfo objects ("Info").  Caching within OSG1UserDataPlugin has been removed, and the interface to UserProfileManager made more consistent and new lighter methods added to convert Key2Name and Name2Key, which was the most common operation and previously heavier.  Several mismatch bugs with regards to which locks were used previously have been fixed, and now profile updates and forced refreshes no longer clear the cache then force a refresh, but leave it in place until the new data is available, then replace the profile with the update. This means the old data is still available while the new data is fetched, which may be important for Name2Key and Key2Name conversions, and others such as group role abilities.  As soon as the I/O completes, the profile will be updated with the fresh data. The refresh on crossings is now done asynchronously, and the groups checks use in-memory data only, so at least one forced profile update (XMLRPC call) and one complex db query to fetch group info has been eliminated from crossings.  There are no known I/O calls during crossings now.

Canceling the pull request; still testing, login User server now, and finding issues still. Fixing.

Okay, the last commit to ensure there's a UserAgentData for any UserProfileData fixes the User server problem where the usage was a bit different than on regions. Ready for a pull.

This was really tough to review due to the number of changes. We'll need extra testing love.


Have added one question to HTML quiz set. starting from line 1529.

Checklist:

[ x ] I have read freeCodeCamp's contribution guidelines.
[x ] My pull request has a descriptive title (not a vague title like Update index.md)

Closes #XXXXX

I have added HTML questions to html quiz data , the second commit for correcting a syntax mistake by adding curly bracket at the end.

Hello
I did a second commit by fixing the curly bracket syntax, I have also mentioned in the comment .
Can you please check and let me know .
Thanks
Hina

From: Jessica Wilkins @.>
Sent: Sunday, October 2, 2022 6:43 PM
To: freeCodeCamp/Developer_Quiz_Site @.>
Cc: Hina M. @.>; Author @.>
Subject: Re: [freeCodeCamp/Developer_Quiz_Site] Have added one question to HTML quiz set. starting from line 1529. (PR #159)
@jdwilkin4 requested changes on this pull request.

In src/data/html-quiz.tshttps://github.com/freeCodeCamp/Developer_Quiz_Site/pull/159#discussion_r985279605:

@@ -1525,5 +1525,18 @@ const htmlQuiz = [
"The  tag is used to make text italic without adding extra emphasis. It is commonly used for text that is set off from normal prose, like foreign words or thoughts. ",
Link: "https://devdocs.io/html/element/i",
},

{
Question:

 "In HTML, responsive text size can be set with a" "vw" "unit, which means the",

Answer: "",
Distractor1: "",
Distractor2: "",
Distractor3: "",
Explanation:

 "The text size can be set with a vw unit, which means the viewport width.Viewport is the browser window size.Example 1vw = 1% of viewport width"

    Link: "https://www.w3schools.com/html/html_responsive.asp",

Please fix this syntax error so it can be ready for review
—
Reply to this email directly, view it on GitHubhttps://github.com/freeCodeCamp/Developer_Quiz_Site/pull/159#pullrequestreview-1127679691, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AZE44WL2WZHIBZVYRYX6OTDWBHJWPANCNFSM6AAAAAAQ3AHZ54.
You are receiving this because you authored the thread.Message ID: @.***>

@hmmalic
Make sure to push up your changes to github so we can see it here on the PR.

Going to close this PR due it inactivity.
If you would like to contribute in the future, please create a new PR 👍


Update free-programming-books-ko.md

What does this PR do?
Add resource : Add '파이썬 코딩 도장'(Python Coding Dojo) to free-programming-books-kr.md
For resources
Description
book '파이썬 코딩 도장'(Python Coding Dojo)
Why is this valuable (or not)?
Excellent free book to learn python
How do we know it's really free?
The author put the book on the website and said it's free
For book lists, is it a book? For course lists, is it a course? etc.
It's a book
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!

Lots and lots of intrusive ads here. Have you tried reading this book. Is it available on other sites?

Lots and lots of intrusive ads here.

It is indeed. This is the web site of the author of the book.
Have you tried reading this book.
Yes, It was a good one
Is it available on other sites?
No. The author wrote 'do not copy'


Strategy for unit testing plugins using credentials?

Greetings,
I'm working on the Phabricator Differential plugin (https://github.com/uber/phabricator-jenkins-plugin) and recently converted to using this plugin. I'm working on adding more tests to my plugin and wondering if there is a documented testing strategy.
Basically, I want to be able to make credentials available for the duration of a run. My code looks something like this:
@Rule public JenkinsRule j = new JenkinsRule();

@Test
public void testThing() throws Exception {
  FreeStyleProject p = j.createFreeStyleProject();
  p.getBuildWrappersList().add(wrapper); // an instance of my BuildWrapper

  // add the credentials here...

  FreeStyleBuild build = p.scheduleBuild2(0).get();
  assertEquals(Result.SUCCESS, build.getResult());
}

I've tried something like the following, but am probably doing it all wrong:
  CredentialsStore store = new SystemCredentialsProvider.UserFacingAction().getStore();
  store.addCredentials(Domain.global(), TestUtils.getDefaultConduitCredentials());

Is there a document somewhere that I am missing? I have poked around the source code to try and find the best way to do this.
Thanks.

Best bet is just to use a @TestExtension public static class MyProvider extends CredentialsProvider {}

please use the Jenkins JIRA for issue tracking


Alpine does not install ca-certificates-java as part of openjdk-1.8

i'm trying to create a docker image with an openjdk8 base. my install is this
RUN echo "@community http://nl.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories && \  apk add --update openjdk8@community && \  rm -rf /var/cache/apk/*
but ca-certificates-java in not installed, which leads to problems down the road.
i tried downloading the package from Debian and unpacking the relevant file trees to /etc and /use/share. however, update-ca-certificates still cannot find any certs to update:
WARNING: ca-certificates.crt does not contain exactly one certificate or CRL: skipping
help.

Hmm, I found an issue upstream for this functionality. But I wonder if as a workaround you can import the certificates with something like:
keytool -importcert -file /etc/ssl/certs/ca-certificates.crt -keystore /usr/lib/jvm/java-1.8-openjdk/jre/lib/security/cacerts -keypass changeit

not sure if this is OS dependent, but i had to add -storepass (changeit) as well as -noprompt, so it can be done during docker build. so:
keytool -importcert -keypass changeit -file /etc/ssl/certs/ca-certificates.crt -keystore /usr/lib/jvm/java-1.8-openjdk/jre/lib/security/cacerts -noprompt -storepass changeit
checking now.

Yea, the keytool may be different from Oracle and OpenJDK. I was testing on Oracle Java. Looking at it again, it also looks like this may only do one CA key at a time, so it would probably have to loop on ca-* certs in /etc/ssl/certs. But it doesn't seem like something that should be terribly difficult. The store basically just needs the same CAs that are from ca-certificates.

so, it did not solve my problem.
i am creating an openjdk image to be used as bases for TypeSafe Activator. openjdk8 is used as a base image, and then i create an Activator image. but when i run it and it starts getting its stuff, i get errors of this kind and then it fails:
Server access Error: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target url=https://repo.typesafe.com/typesafe/ivy-releases/com.typesafe/npm_2.10/1.1.0/ivys/ivy.xml
importing only ca-certificates.cert did not resolve it. running in a loop and importing all keys in /etc/ssl/certs hangs after a few...
/ # cd /etc/ssl/certs/
/etc/ssl/certs # for file in ls; do keytool -importcert -keypass changeit -file $file -keystore /usr/lib/jvm/java-1.8-openjdk/jre/lib/security/cacerts -noprompt -storepass changeit -al
ias $file; done

both Dockerfiles are here:
https://github.com/ehudkaldor/dockerfiles

It is probably easiest to just take a working keystore from somewhere and distribute it with the Dockerfile and add to the image at build time. Then the default CMD or ENTRYPOINT would add something like -Djavax.net.ssl.trustStore=/tmp/workingcakeystore -Djavax.net.ssl.trustStorePassword=changeit. Is this feasible?

I am working on this and will probably have something working this week. The plan is to create a trigger that updates the java cacert store using p11-kit.

that would be great! thank you.
On Wed, Jan 13, 2016 at 1:45 PM ncopa<EMAIL_ADDRESS>wrote:

I am working on this and will probably have something working this week.
The plan is to create a trigger that updates the java cacert store using
p11-kit.
—
Reply to this email directly or view it on GitHub
https://github.com/gliderlabs/docker-alpine/issues/128#issuecomment-171445734
.

this should now be fixed upstream in alpine 3.3.

it works! thank you.

Thanks @ncopa :beers:


Implemented GoogleTest into CMakeLists for issue #39, closes #40

I'm still working on getting the test files done but figured I'd pull first as part of the task since the tests are taking me much longer than planned. I'm opening this pull request to be merged in case anyone else wants to play around with tests on their branches and lend some help.
Followed this tutorial:
https://github.com/google/googletest/blob/main/googletest/README.md

This requires you to update your CMake, I managed to do it outside of the VM to test.

If you are still working on this I'm not sure that it should be merged yet with the master branch. We could keep it on your branch and test on your branch until we have it figured out.

I'm closing this PR for now, but we can always open it again once the functionality is complete.


Change password cli options

Docker pushes on Travis fail.
Check if changing cli options fix this.

Need to  create updated PR to consider env vars


XMLName element has invalid  xml tag

After convert, I get this kind of struct type
type MyType struct {
	XMLName xml.Name `xml:myType`

        Name `xml:"name"`
        Address `xml:"address"`
        // etc.
}

It procudes lint warning struct field tag 'xml:myType' not compatible with reflect.StructTag.Get: bad syntax for struct tag value since it needs double quotes around myType.
So instead of xml:myType it should be xml:"myType"
Fields inside struct has correct xml tag, only the XMLName element has bad syntax tag.

Do we want to introduce the lint you mention in the CI?

Thank You!


reorganizing executables into a bin directory

Moves executables into src/bin so that cargo can find and run them. I think this is the Rust-ier way to do this. Also updates readme with modified instructions.
Related: You may want to check out Criterion for benchmarking and/or hyperfine.

I have a lot to learn. Thanks for the tips and the PR!

:+1:  To be clear, I'm pretty sure your method was totally fine? IDK, this src/bin thing is how I've set up my Advent of Code the past few times I've done it in Rust. Keeps the top directory cleaner at least.


Check wether system stops at each waypoint for multicopters

We need to make sure that the system does not stop on a waypoint unless it has to.

Definitely an issue right now. Might be related to the changes which differentiated between max speed and cruise speed. We might need to do the limits on max speed but command cruise speed.

Not a problem.


Remove // style comments from source code.

We need to do this periodically because they sneek in.

Does the codebase compile with gcc's -ansi flag? If yes, you could add that to the CI and let gcc do the complaining. See https://gcc.gnu.org/onlinedocs/gcc/C-Dialect-Options.html.

Same here, I'll add it to the travis CI


Messing launch image??

I'm running fastlane beta on a react-native app and am getting an error about missing launch images.  The app has a launch screen, provided by react-native so didn't think it needed a launch image.
Is the error correct and do I need to provide a 320x568 launch image?  Even those dimensions don't seem right according to this and this.
This is the error:

[18:15:16]: [Transporter Error Output]: ERROR : "Your binary is not optimized for iPhone 5 - New iPhone apps and app updates submitted must support the 4-inch display on iPhone 5 and must include a launch image referenced in the Info.plist under UILaunchImages with a UILaunchImageSize value set to {320, 568}. Launch images must be PNG files and located at the top-level of your bundle, or provided within each .lproj folder if you localize your launch images. Learn more about iPhone 5 support and app launch images by reviewing the 'iOS Human Interface Guidelines' at 'https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/MobileHIG/IconsImages/IconsImages.html#//apple_ref/doc/uid/TP40006556-CH14-SW5' and the 'iOS App Programming Guide' at 'https://developer.apple.com/library/ios/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/App-RelatedResources/App-RelatedResources.html#//apple_ref/doc/uid/TP40007072-CH6-SW12'."

This is not a fastlane issue, but has something to do with your project. Make sure to provide all necessary launch images before building and uploading your application


amqpcpp update to 4.1.7

Library name: amqpcpp
New version number: 4.1.7
https://github.com/CopernicaMarketingSoftware/AMQP-CPP/releases/tag/v4.1.7

! [icon_com partyjoy weparty_14] (https://github.com/microsoft/vcpkg/assets/166659172/250aaead-53b6-4b0b-9a1d-39ece8eebc77)Can you make an order? How to buy or ship in a banned country?


ENH: extends input parameters and changes notebook layout

These changes allow more input parameters and the cluster informations are also directly written as output in a notebook cell.

I moved the template folder into the script folder, so that everything that is relevant for the scripts to run smoothly is in the script folder. The idea is that this script folder is all a person needs on their local machine. But I'm very much open to move the template folder also somewhere else :-)

This is fantastic @miykael! I'm going to merge it without checking because I trust you (and I'm on my phone on the train)! I'll build the new binder later today and check that everything works well :)


WIP: Implement Kyber on v2 Release

TO DO:

[x] C++-ify code

[x] replace raw arrays with std::tuple or std::array
[x] replace out-parameters w/ return values
[x] use templates instead of code duplication
[x] use methods instead of POD-structs + freestanding functions
[ ] doxygen docstrings
[x] use const& instead of raw pointers or pass-by-value
[x] use operator overloading (e.g. polyvec_add)
[x] remove pointer arithmetics as much as possible

[ ] Documentation & Copyright

[ ] Mention that this implementation is "inspired" / "based on" or "adapted from" the reference implementation

[ ] Modularization

[ ] Allow to enable Kyber "Normal" and Kyber "90s" modes independently as Botan modules

[x] code smells

[x] *this = ... O.O
[ ] include guards: botan uses #ifndef-style, not #pragma once
[ ] commented code

[x] error handling

[x] use Botan exceptions

[ ] code style

[ ] run Botan Astyle

[ ] code reuse

[x] load_be, store_le (for big/little endian)
[ ] AES modes of operation (in Test RNG)

[ ] scope

[ ] remove kyber 90s for now?
(maybe leave comments to future-us for obvious entry points)

[ ] tests

[ ] implement a test that uses Kyber through the PK_En/Decryptor_* interface

Obsoleted by official PR :tada:


[Raffle] Add condition that makes nitro boosters exclusive

What cog are you making a feature request for?
Raffle
Describe what you would like to see:
I'd like to see a condition added where only Nitro boosters can join a raffle, without having to use the roles_needed_to_enter condition.

This is not really necessary after thinking about it.


router__link--active is missing

router__link--active is missing, for routes with multiple namespaces.
It is also missing when the route is ending with a /

will be fixed in #8, because then there are no multiple namespaces anymore


Output ltsv delimiter

Is your feature request related to a problem? Please describe.
delimiter does not use in format ltsv output
https://docs.fluentd.org/formatter/ltsv#delimiter
https://docs.fluentd.org/formatter/ltsv#label_delimiter
apiVersion: logging.banzaicloud.io/v1beta1
kind: Output
metadata:
  name: my-syslog
  namespace: ingress-nginx
spec:
  syslog:
    format:
      type: ltsv
      delimiter: '='        # <--- don't save CRD
      label_delimiter: ';'  # <--- don't save CRD
    host: my-syslog
    port: 601
    transport: tcp

Describe the solution you'd like
I want to change the default delimiter and label_delimiter in ltsv output
Describe alternatives you've considered
If you just take the standard fluentd installation

It looks like fluentd does not support all RFC5424 fields. https://github.com/kube-logging/logging-operator/blob/e0331c4b508ff54e8b0958d29ace7e8d7427674b/pkg/sdk/logging/model/output/syslog.go#L67
We miss many of them, see https://docs.fluentd.org/formatter/ltsv.

If you are using syslog output I would recommend using the syslog-ng aggregator


[APMMeasurement didInitializeComponments] main thread hangs

Description
Sdk version：
Firebase  9.5.0
Google-Mobile-Ads-SDK 9.8.0
GoogleAppMeasurement: Firebase/GoogleAppMeasurement
We find the problems in hangs of Xcode 14.0 organizer, it hangs the main thread for a long time.

Reproducing the issue
No response
Firebase SDK Version
9.5.0
Xcode Version
13.4
Installation Method
CocoaPods
Firebase Product(s)
AB Testing, Analytics, Crashlytics, In-App Messaging, Performance, Remote Config
Targeted Platforms
iOS
Relevant Log Output
No response
If using Swift Package Manager, the project's Package.resolved

Expand Package.resolved snippet

Replace this line with the contents of your Package.resolved.

If using CocoaPods, the project's Podfile.lock

Expand Podfile.lock snippet

Replace this line with the contents of your Podfile.lock!

Thanks for reaching out, @linziyiwj. Could you provide the detailed steps in reproducing the issue as well as the complete stack trace?

Looks like the lock is necessary for this initialization logic, but we could potentially speed it up by using os_unfair_lock.

Unfortunately I have not been able to reproduce this block yet.
It is only reported in Xcode hangs. And only the above stack information

Thanks for reaching out, @linziyiwj. Could you provide the detailed steps in reproducing the issue as well as the complete stack trace?

@rizafran Unfortunately I have not been able to reproduce this block yet.
It is only reported in Xcode hangs. And only the above stack information

Looks like the lock is necessary for this initialization logic, but we could potentially speed it up by using os_unfair_lock.

@morganchen12 Sorry, I don't quite understand it. Can you explain it in detail. Thank you very much!!!

@linziyiwj I believe @morganchen12 was talking about a possible change in our internal implementation.

@linziyiwj I believe @morganchen12 was talking about a possible change in our internal implementation.

@paulb777  Please ask when will the version be updated to deal with this problem，Hope to have a solution as soon as possible

cc: @htcgh

Hi @linziyiwj, could you please provide all stack traces? It would help us to know where our internal worker thread is blocked. Thanks.

@linziyiwj
Just want to be sure, it's not a dead lock, right? It's just that the main thread gets blocked for 1 second, right? Please correct me if I misunderstood.
It seems that the worker thread holds the lock while initializing internal components, and the main thread is waiting for the initialization finished.
One quick suggestion, you may want to call FirebaseApp.configure() as soon as possible to allow FirebaseAnalytics initialize earlier and unblock the main thread sooner.

It is only reported in Xcode hangs. And only the above stack information

Sorry，It is only reported in Xcode hangs. And only the above stack information

Hi @linziyiwj, could you please provide all stack traces, including all other threads? It would help us to know where our internal worker thread is blocked. Thanks.

@tsunghung Unfortunately I have not been able to reproduce this block yet.
It is only reported in Xcode hangs. And only the above stack information

@linziyiwj Just want to be sure, it's not a dead lock, right? It's just that the main thread gets blocked for 1 second, right? Please correct me if I misunderstood. It seems that the worker thread holds the lock while initializing internal components, and the main thread is waiting for the initialization finished. One quick suggestion, you may want to call FirebaseApp.configure() as soon as possible to allow FirebaseAnalytics initialize earlier and unblock the main thread sooner.
@tsunghung yes, It's just that the main thread gets blocked for 1 second. And We called [FIRApp configure] when  - (BOOL)application:(UIApplication *)application willFinishLaunchingWithOptions:(NSDictionary<UIApplicationLaunchOptionsKey,id> *)launchOptions on the main thread , No lock held

@linziyiwj
Author
linziyiwj commented 7 minutes ago
Hi @linziyiwj, could you please provide all stack traces, including all other threads? It would help us to know where our internal worker thread is blocked. Thanks.
@tsunghung Unfortunately I have not been able to reproduce this block yet.
It is only reported in Xcode hangs. And only the above stack information
@linziyiwj
Add heading textAdd bold text, <Cmd+b>Add italic text, <Cmd+i>

According to the call stack, we created a patch, which will be released in Firebase 10.0. Hopefully, it would fix this issue.

Hi everyone, Firebase 10 has been released and should resolve this issue. Please don't hesitate to reach out if the issue persists.


cli: catch DebuggerNotFound and say something nice

"DebuggerNotFound" is already decently informative. Providing a message with that error might not be a bad idea, but changing it to IOError removes information and makes the error less helpful rather than more. "Check your wiring" also strikes me as misleading. I'm less sure about this, but I feel that most people wouldn't immediately associate the USB cable from their computer to the LUNA with the word "wiring". A better message might be something like "Failed to connect to on-board debugger. Is your board plugged in?"

Thanks @Qyriad I found the error misleading.  I removed my venv and recreated everything twice thinking it was a class that was missing an implementaton, not a piece of hardware that was not connected.
I took the text directly from https://github.com/greatscottgadgets/apollo/blob/master/apollo_fpga/ecp5.py#L463 I agree it's not great but it is consistent.
Can I suggested we at least rename the exception to something like DebuggerHardwareNotFound ?


Fix --cache-file implementation

When running this command, the cache file is not found
gh stars --user 'link-' --cache-file '/tmp/.cache' --find 'es6' --debug

INFO: 2023/05/13 17:00:53 root.go:91: Debug mode is enabled
INFO: 2023/05/13 17:00:53 root.go:92: Parameters provided  --user link-
--cache-file /tmp/.cache --find es6 --debug
INFO: 2023/05/13 17:00:53 root.go:239: Attempting to fetch the total number of
starred repos for user link-
INFO: 2023/05/13 17:00:53 root.go:269: CacheKey generated:
d856442b086a3c61b6593f22bf91804c91cbb53bfb585aa9217550f8c0271a5c
INFO: 2023/05/13 17:00:53 root.go:282: Cache file provided as input:
/tmp/.cache
ERROR: 2023/05/13 17:00:53 root.go:106: Not able to get starred reposopen
/tmp/.cache: no such file or directory

This is a non issue, file should exist and be writable already. The tool should not create a file that's passed as a parameter.


Question about the original POC

I was thinking about something with the original way you did the POC:
I know that you set up the lxserver to listen on the bus directly, but couldn't you really easily rewrite lxlaunch to do the listening instead?  Basically, since lxlaunch takes the stdout of the associated LX process and just dumps it out to a Windows console, couldn't you instead make it so lxlaunch sniffs that output instead of dumping it to screen and grabs it to do an NTCreateProcess()?
Basically instead of using TCP like some of the solutions do, you just have a bridge program on the LX side called, say, lxbridge that opens a unix socket and have lxexec just kick properly formatted stuff into that socket.
So you would do something like CPLXLaunch (CreateProcessLXLaunch), which launches the linux binary lxbridge and then listens back over the attached console. Then just run lxexec yourPE.exe, which just connects by socket to the lxbridge, which then emits some text over stdout back into CPLXLaunch, which then creates the process.  Also, since all files on /mnt/c are permission 777, you could have CPLXLaunch load up the lxbridge executable from inside of its own folder.
I know that this would be totally insecure, and it would be obsolete now given that this is going to be officially supported with winrun, but was there a reason why you did it with the original LXServer/LXClient approach (requiring admin on both sides of the bus) in the original POC?

Yes, the explicit stated goal was to demonstrate use of the ADSS IPC mechanism -- which at the time was admin only. In RS2, LxLaunch can launch a custom ELF binary which then sets up an 'anonymous' IPC pipe between the two, and I'll demonstrate that.


Rename e2e-testing repo and umbrella chart

To tractus-x-umbrella

FYI
Hi @almadigabor in case you want to add something

was changed with https://github.com/eclipse-tractusx/.eclipsefdn/pull/59


Fix nodenames in the docs

Things added/changed:

Fix nodenames in the docs.

A few missing nodes are missing in the list. Might want to add those in the future.

I think the aliases caused some confusion because they follow a different naming scheme. Would you please be so nice to add a link to those? https://github.com/minetest-mods/maptools/blob/master/aliases.lua#L8

I think the aliases caused some confusion because they follow a different naming scheme. Would you please be so nice to add a link to those? https://github.com/minetest-mods/maptools/blob/master/aliases.lua#L8

Sure, sorry for the very late reply.
Should I add a link to the aliases in the Markdown file or?

The alias code is very easy to read, hence I think that linking to the source file directly is enough to document the available aliases. No need to bloat the documentation with that.


DFP-34X-2C2 and UniFi UDM-SE No Connectivity

Anyone have any experience using this GPON with a Ubiquity UDM-SE? Whether inserted directly into the USM-SE, a media converter or a Ciena and plugged into the WAN port on the UDM-SE I get no connectivity. If I plug that cable from the media convert or the Ciena into my laptop and assign and set my WAN IP there, everything works fine.
I have one VLAN (200) that I care about. I have tried both managing it on the GPON, as well as setting it to passthrough mode and setting it on the UDM-SE. Neither way works.
I can't figure what that UDM-SE is picking up that is breaking things that a directly connected laptop isn't. There's not much that's configurable on the UDM pretty much just IP, gateway, default subnet and default dscp marking if relevant.
My ISP definitely does not support removing their router from the mix so contacting their support is out of the question.

first thing,
have you properly cloned from old ONT to the Stick? PLOAM Password, S/N, etc...
once you get O5, try check MIB 84, 131 and 171:
omcicli mib get 84
omcicli mib get 131
omcicli mib get 171

paste output here

I believe I have everything cloned correctly. I get to 05 state and I'm assuming that my test with directly connecting my laptop to the GPON stick and successfully getting an internet connection wouldn't work if there was something wrong there.
Here's the result of the commands you asked for. I'm taking an educated guess here that 200 is the data VLAN because it's the only one that got me a connection in the laptop experiment when I plugged it into the VLAN settings on the GPON stick. I don't know what the rest of the data means though.
I also have an Alcatel G-010S-A stick I could try. But I can't figure out how to change the software version on it. There's a link on https://hack-gpon.org/ to instructions, but the instructions have been removed for some reason. Takedown request from Alcatel??
I'm dealing with an Alcatel OLT so it's very picky about the cloning details right.
`# m omcicli mob  ib get 84
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
VlanTagFilterData
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
=================================
EntityID: 0x1202
FilterTbl[0]: PRI 0,CFI 0, VID 200
FwdOp:  0x10
NumOfEntries: 1
=================================
=================================
EntityID: 0x120b
FilterTbl[0]: PRI 0,CFI 0, VID 200
FwdOp:  0x10
NumOfEntries: 1
=================================
# m omcicli mib get 131
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
OltG
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
=================================
EntityId: 0x00
OltVendorId: 0x414c434c
EquipId:
Version:
ToDInfo:
Sequence number of GEM superframe: 0x0
Timestamp: secs 0, nanosecs 0
=================================
# omcicli mib get 171
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ExtVlanTagOperCfgData
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
=================================
EntityId: 0x101
AssociationType: 2
ReceivedFrameVlanTagOperTableMaxSize: 0
InputTPID: 0x8100
OutputTPID: 0x8100
DsMode: 0
ReceivedFrameVlanTaggingOperTable
AssociatedMePoint: 0x101
DscpToPbitMapping:
0x000000
0x249249
0x492492
0x6db6db
0x924924
0xb6db6d
0xdb6db6
0xffffff

Parsed DscpToPbitMapping:
dscp: 0 => pbit: 0
dscp: 1 => pbit: 0
dscp: 2 => pbit: 0
dscp: 3 => pbit: 0
dscp: 4 => pbit: 0
dscp: 5 => pbit: 0
dscp: 6 => pbit: 0
dscp: 7 => pbit: 0
dscp: 8 => pbit: 1
dscp: 9 => pbit: 1
dscp: 10 => pbit: 1
dscp: 11 => pbit: 1
dscp: 12 => pbit: 1
dscp: 13 => pbit: 1
dscp: 14 => pbit: 1
dscp: 15 => pbit: 1
dscp: 16 => pbit: 2
dscp: 17 => pbit: 2
dscp: 18 => pbit: 2
dscp: 19 => pbit: 2
dscp: 20 => pbit: 2
dscp: 21 => pbit: 2
dscp: 22 => pbit: 2
dscp: 23 => pbit: 2
dscp: 24 => pbit: 3
dscp: 25 => pbit: 3
dscp: 26 => pbit: 3
dscp: 27 => pbit: 3
dscp: 28 => pbit: 3
dscp: 29 => pbit: 3
dscp: 30 => pbit: 3
dscp: 31 => pbit: 3
dscp: 32 => pbit: 4
dscp: 33 => pbit: 4
dscp: 34 => pbit: 4
dscp: 35 => pbit: 4
dscp: 36 => pbit: 4
dscp: 37 => pbit: 4
dscp: 38 => pbit: 4
dscp: 39 => pbit: 4
dscp: 40 => pbit: 5
dscp: 41 => pbit: 5
dscp: 42 => pbit: 5
dscp: 43 => pbit: 5
dscp: 44 => pbit: 5
dscp: 45 => pbit: 5
dscp: 46 => pbit: 5
dscp: 47 => pbit: 5
dscp: 48 => pbit: 6
dscp: 49 => pbit: 6
dscp: 50 => pbit: 6
dscp: 51 => pbit: 6
dscp: 52 => pbit: 6
dscp: 53 => pbit: 6
dscp: 54 => pbit: 6
dscp: 55 => pbit: 6
dscp: 56 => pbit: 7
dscp: 57 => pbit: 7
dscp: 58 => pbit: 7
dscp: 59 => pbit: 7
dscp: 60 => pbit: 7
dscp: 61 => pbit: 7
dscp: 62 => pbit: 7
dscp: 63 => pbit: 7
=================================
=================================
EntityId: 0x102
AssociationType: 2
ReceivedFrameVlanTagOperTableMaxSize: 0
InputTPID: 0x8100
OutputTPID: 0x8100
DsMode: 0
ReceivedFrameVlanTaggingOperTable
INDEX 0
Filter Outer   : PRI 15,VID 4096, TPID 0
Filter Inner   : PRI 8,VID 200, TPID 5, EthType 0x00
Treatment Outer   : PRI 15,VID 0, TPID 0, RemoveTags 1
Treatment Inner   : PRI 0,VID 200, TPID 2
INDEX 1
Filter Outer   : PRI 15,VID 4096, TPID 0
Filter Inner   : PRI 8,VID 0, TPID 5, EthType 0x00
Treatment Outer   : PRI 15,VID 0, TPID 0, RemoveTags 1
Treatment Inner   : PRI 0,VID 200, TPID 2
INDEX 2
Filter Outer   : PRI 15,VID 4096, TPID 0
Filter Inner   : PRI 15,VID 200, TPID 5, EthType 0x00
Treatment Outer   : PRI 15,VID 0, TPID 0, RemoveTags 0
Treatment Inner   : PRI 0,VID 200, TPID 2
INDEX 3
Filter Outer   : PRI 14,VID 4096, TPID 5
Filter Inner   : PRI 14,VID 4096, TPID 0, EthType 0x00
Treatment Outer   : PRI 15,VID 0, TPID 0, RemoveTags 3
Treatment Inner   : PRI 15,VID 4096, TPID 3
INDEX 4
Filter Outer   : PRI 15,VID 4096, TPID 0
Filter Inner   : PRI 14,VID 4096, TPID 5, EthType 0x00
Treatment Outer   : PRI 15,VID 0, TPID 0, RemoveTags 3
Treatment Inner   : PRI 15,VID 4096, TPID 2
AssociatedMePoint: 0x102
DscpToPbitMapping:
0x000000
0x249249
0x492492
0x6db6db
0x924924
0xb6db6d
0xdb6db6
0xffffff

Parsed DscpToPbitMapping:
dscp: 0 => pbit: 0
dscp: 1 => pbit: 0
dscp: 2 => pbit: 0
dscp: 3 => pbit: 0
dscp: 4 => pbit: 0
dscp: 5 => pbit: 0
dscp: 6 => pbit: 0
dscp: 7 => pbit: 0
dscp: 8 => pbit: 1
dscp: 9 => pbit: 1
dscp: 10 => pbit: 1
dscp: 11 => pbit: 1
dscp: 12 => pbit: 1
dscp: 13 => pbit: 1
dscp: 14 => pbit: 1
dscp: 15 => pbit: 1
dscp: 16 => pbit: 2
dscp: 17 => pbit: 2
dscp: 18 => pbit: 2
dscp: 19 => pbit: 2
dscp: 20 => pbit: 2
dscp: 21 => pbit: 2
dscp: 22 => pbit: 2
dscp: 23 => pbit: 2
dscp: 24 => pbit: 3
dscp: 25 => pbit: 3
dscp: 26 => pbit: 3
dscp: 27 => pbit: 3
dscp: 28 => pbit: 3
dscp: 29 => pbit: 3
dscp: 30 => pbit: 3
dscp: 31 => pbit: 3
dscp: 32 => pbit: 4
dscp: 33 => pbit: 4
dscp: 34 => pbit: 4
dscp: 35 => pbit: 4
dscp: 36 => pbit: 4
dscp: 37 => pbit: 4
dscp: 38 => pbit: 4
dscp: 39 => pbit: 4
dscp: 40 => pbit: 5
dscp: 41 => pbit: 5
dscp: 42 => pbit: 5
dscp: 43 => pbit: 5
dscp: 44 => pbit: 5
dscp: 45 => pbit: 5
dscp: 46 => pbit: 5
dscp: 47 => pbit: 5
dscp: 48 => pbit: 6
dscp: 49 => pbit: 6
dscp: 50 => pbit: 6
dscp: 51 => pbit: 6
dscp: 52 => pbit: 6
dscp: 53 => pbit: 6
dscp: 54 => pbit: 6
dscp: 55 => pbit: 6
dscp: 56 => pbit: 7
dscp: 57 => pbit: 7
dscp: 58 => pbit: 7
dscp: 59 => pbit: 7
dscp: 60 => pbit: 7
dscp: 61 => pbit: 7
dscp: 62 => pbit: 7
dscp: 63 => pbit: 7
=================================
=================================
EntityId: 0x103
AssociationType: 2
ReceivedFrameVlanTagOperTableMaxSize: 0
InputTPID: 0x8100
OutputTPID: 0x8100
DsMode: 0
ReceivedFrameVlanTaggingOperTable
AssociatedMePoint: 0x103
DscpToPbitMapping:
0x000000
0x249249
0x492492
0x6db6db
0x924924
0xb6db6d
0xdb6db6
0xffffff

Parsed DscpToPbitMapping:
dscp: 0 => pbit: 0
dscp: 1 => pbit: 0
dscp: 2 => pbit: 0
dscp: 3 => pbit: 0
dscp: 4 => pbit: 0
dscp: 5 => pbit: 0
dscp: 6 => pbit: 0
dscp: 7 => pbit: 0
dscp: 8 => pbit: 1
dscp: 9 => pbit: 1
dscp: 10 => pbit: 1
dscp: 11 => pbit: 1
dscp: 12 => pbit: 1
dscp: 13 => pbit: 1
dscp: 14 => pbit: 1
dscp: 15 => pbit: 1
dscp: 16 => pbit: 2
dscp: 17 => pbit: 2
dscp: 18 => pbit: 2
dscp: 19 => pbit: 2
dscp: 20 => pbit: 2
dscp: 21 => pbit: 2
dscp: 22 => pbit: 2
dscp: 23 => pbit: 2
dscp: 24 => pbit: 3
dscp: 25 => pbit: 3
dscp: 26 => pbit: 3
dscp: 27 => pbit: 3
dscp: 28 => pbit: 3
dscp: 29 => pbit: 3
dscp: 30 => pbit: 3
dscp: 31 => pbit: 3
dscp: 32 => pbit: 4
dscp: 33 => pbit: 4
dscp: 34 => pbit: 4
dscp: 35 => pbit: 4
dscp: 36 => pbit: 4
dscp: 37 => pbit: 4
dscp: 38 => pbit: 4
dscp: 39 => pbit: 4
dscp: 40 => pbit: 5
dscp: 41 => pbit: 5
dscp: 42 => pbit: 5
dscp: 43 => pbit: 5
dscp: 44 => pbit: 5
dscp: 45 => pbit: 5
dscp: 46 => pbit: 5
dscp: 47 => pbit: 5
dscp: 48 => pbit: 6
dscp: 49 => pbit: 6
dscp: 50 => pbit: 6
dscp: 51 => pbit: 6
dscp: 52 => pbit: 6
dscp: 53 => pbit: 6
dscp: 54 => pbit: 6
dscp: 55 => pbit: 6
dscp: 56 => pbit: 7
dscp: 57 => pbit: 7
dscp: 58 => pbit: 7
dscp: 59 => pbit: 7
dscp: 60 => pbit: 7
dscp: 61 => pbit: 7
dscp: 62 => pbit: 7
dscp: 63 => pbit: 7
=================================
=================================
EntityId: 0x104
AssociationType: 2
ReceivedFrameVlanTagOperTableMaxSize: 0
InputTPID: 0x8100
OutputTPID: 0x8100
DsMode: 0
ReceivedFrameVlanTaggingOperTable
AssociatedMePoint: 0x104
DscpToPbitMapping:
0x000000
0x249249
0x492492
0x6db6db
0x924924
0xb6db6d
0xdb6db6
0xffffff

Parsed DscpToPbitMapping:
dscp: 0 => pbit: 0
dscp: 1 => pbit: 0
dscp: 2 => pbit: 0
dscp: 3 => pbit: 0
dscp: 4 => pbit: 0
dscp: 5 => pbit: 0
dscp: 6 => pbit: 0
dscp: 7 => pbit: 0
dscp: 8 => pbit: 1
dscp: 9 => pbit: 1
dscp: 10 => pbit: 1
dscp: 11 => pbit: 1
dscp: 12 => pbit: 1
dscp: 13 => pbit: 1
dscp: 14 => pbit: 1
dscp: 15 => pbit: 1
dscp: 16 => pbit: 2
dscp: 17 => pbit: 2
dscp: 18 => pbit: 2
dscp: 19 => pbit: 2
dscp: 20 => pbit: 2
dscp: 21 => pbit: 2
dscp: 22 => pbit: 2
dscp: 23 => pbit: 2
dscp: 24 => pbit: 3
dscp: 25 => pbit: 3
dscp: 26 => pbit: 3
dscp: 27 => pbit: 3
dscp: 28 => pbit: 3
dscp: 29 => pbit: 3
dscp: 30 => pbit: 3
dscp: 31 => pbit: 3
dscp: 32 => pbit: 4
dscp: 33 => pbit: 4
dscp: 34 => pbit: 4
dscp: 35 => pbit: 4
dscp: 36 => pbit: 4
dscp: 37 => pbit: 4
dscp: 38 => pbit: 4
dscp: 39 => pbit: 4
dscp: 40 => pbit: 5
dscp: 41 => pbit: 5
dscp: 42 => pbit: 5
dscp: 43 => pbit: 5
dscp: 44 => pbit: 5
dscp: 45 => pbit: 5
dscp: 46 => pbit: 5
dscp: 47 => pbit: 5
dscp: 48 => pbit: 6
dscp: 49 => pbit: 6
dscp: 50 => pbit: 6
dscp: 51 => pbit: 6
dscp: 52 => pbit: 6
dscp: 53 => pbit: 6
dscp: 54 => pbit: 6
dscp: 55 => pbit: 6
dscp: 56 => pbit: 7
dscp: 57 => pbit: 7
dscp: 58 => pbit: 7
dscp: 59 => pbit: 7
dscp: 60 => pbit: 7
dscp: 61 => pbit: 7
dscp: 62 => pbit: 7
dscp: 63 => pbit: 7
=================================
`

Finally figured it out! First off don't bother trying to use this stick directly with the USM-SE, it's a lost cause and will simply loop boot. You'll need a media converter, a switch or in my case I put it in a Ciena 3903. The second part was changing the values below.
OMCI_CUSTOM_ME = 65792
OMCI_VEIP_SLOT_ID = 14
OMCI_VENDOR_PRODUCT_CODE = 0

Then I configured VLAN 200 on both the Ciena and the UDM-SE and I was good to go.
I don't really understand why I was able to connect a single device and seemingly have it work with these values apparently being incorrect. It was clear from studying the OMCI logs though that something was seriously broken.
Now I just hope after all this work that my ISP doesn't notice my "rogue" SFP and ban my port! ;-)

Now I just hope after all this work that my ISP doesn't notice my "rogue" SFP and ban my port! ;-)

ISP will notice no matter what, I got this from ISP when using the Stick:


Update key rotation doc

Description
Add a couple tips to the key rotation doc:

remember to update signer address on proxy
dont forget to refresh bls key

Y'all might want to look at the lint failure for this one


Show some basic information when running start-from-init

Preflight Checklist

[X] I could not find a solution in the existing issues, docs, nor discussions
[X] I have joined the ZITADEL chat

Describe your problem
When starting ZITADEL following the docker compose guide, I'm sometimes not sure if the right version was applied (uses latest). Also when changing external domains etc, I might not be able to access the Console as described in our docs.
It would be helpful to post some basic information to stdout so the user gets some basic properties and urls.
Describe your ideal solution
It would be great to get some basic information and urls at startup, so I don't have to figure them out on my own. These could include:

Version
url to console
url to check healthz
Security notice (eg, using tlsMode disabled)

Version
2.29.0
Environment
Self-hosted
Additional Context
When using ZITADEL in combination with cockroachdb, then I get the crdb output at startup, which shows me some basic information and warnings that seem helpful.

Hi @mffap, how about this?

When showing the URLs, I can offer the port and if the url is http or https (based on tls/external secure) but can't provide hostname or IP address.

Hi @mffap, how about this?

The URL is created using the ExternalDomain and ExternalPort from the configuration.

Uh I would love to see this! 🚀

Hi @mffap, how about this?

The URL is created using the ExternalDomain and ExternalPort from the configuration.

That looks even better than I've imagined 😊
The two flags are spot on. Will new users understand the risk involved?
I'm a fan of giving some recommendations (eg, running with insecure configuration, check the production setup guide: https://zitadel.com/docs/self-hosting/manage/production). But for me also fine to roll with it as is for a start!
Thanks for the work! As always, much appreciated

Glad you like it 😄 @mffap and @fforootd
I agree @mffap the more help we provide the better, so let me prepare those texts and will submit them to you for reviewing
If you don't mind I can also use some colors in the console 😃

If you don't mind I can also use some colors in the console 😃

No worries, go ahead

@mffap and @fforootd how about this new look?:


Failed to load static file for page: /qa/opportunities ENOENT: no such file or directory, open '/var/task/.next/server/pages/qa/opportunities.html'

Attempting to directly access some paths returns a 500 Internal Server Error, with the error Failed to load static file for page: /qa/opportunities ENOENT: no such file or directory, open '/var/task/.next/server/pages/qa/opportunities.html'
The example above would normally be accessible at /qa/opportunities, and it is accessible without issue in my development environment (localhost:3000/qa/opportunities).
Notably, this issue only occurs on the deployed stage if one types the URL into the browser (or refreshes the page). If you navigate from a <Link /> component provided by Next.js, then the issue does not occur and the page can be accessed.
Looking at the output of the open-next command, the open-next\server\.next folder is missing the html files for most of the routes:

The above folders are empty as you can see; when in reality, there are quite a few routes in them. To illustrate, compared this to the output of just running the standard Next build command; the .next folder has all the html files I expected (including opportunities):

Note that the open-next cache does appear to have the right files too:

Other routes are redacted above for confidentiality reasons.
Environment
Next.js 14.1.0
OpenNext 2.3.6
Deployed via SST to the AWS af-south-1 region

Looking through the open-next codebase, I can see that these html files are removed purposely as they are static, and are to be served by the cache. They are indeed cached, as from the 3rd screenshot in the original post. Is this an issue with SST then, that the cache is not being properly served?

Are you using getStaticProps for this route ? ISR ?
Are you building on windows ?

Nope, not using either getStaticProps, ISR or getServerSideProps.
Note that this same issue occurs on all the other "cached" routes as well.
Sorry, forgot to mention the build environment - Windows 11 22H2.

I have a feeling this is a windows path issue (nextjs bug.) Can you try building in WSL?

It's definitely an issue with windows.
There is several issues here (next has some issue with windows path, and i'm pretty sure the open-next plugins does not apply properly on windows as well)
If the plugin don't work it explains why it tries to load the file using the filesystem cache handler instead our own.

Sorry for the delay - needed to install and configure WSL with node, AWS credentials, etc.
Building and deploying in WSL resulted in routes that now work as expected: /qa/opportunities does not return a 500 Internal server error but loads properly. Thanks for the help!
Where does this leave us with the Windows path handling issue? Is it something that could be looked at? Building in WSL is not a problem (albeit a lot slower), but given that my environment is Windows, it would be more convenient to have that option.

At the moment i don't think we should put too much effort into windows support for a couple of reasons:

It works on WSL
There is issue in next itself, so even if we fix things here, people might still experience trouble (and they will potentially be a lot harder to identify)
V3 is near, and it includes a big refactor of the code as well as a lot of changes to the plugin system. It probably make more sense to wait for V3 to start working on fix for windows

Personally i won't work on windows support (i don't have a good windows machine), but maybe in the future someone will be willing to work on this

I'll close all the windows related issue in favor of https://github.com/sst/open-next/issues/385


Jquery Context Menu expands past the top of the browser

I have been trying to work through an issue where I have been using the jquery context menu, but the menu expands past the top of the browser, if you browser is very small.   The top items in the menu get truncated.  It doesn't appear to be an issue if you are at the bottom of the page, it doesn't get truncated that way.   The simple demos on the site can easily demonstrate this issue.   http://medialize.github.io/jQuery-contextMenu/demo.html
Any ideas on how I can prevent this, I tried the position function without much luck.  I also tried adding a scrollbar to the menu via a css style which isn't ideal and still gets truncated at the top of the page.
Thanks,
Here is my example
$(function(){

    var singleTargetItems = {
        // standard menu items
        edit: {name: "EDIT", url: "doEdit", method: setIDsForPopUpMenu},
        copy: {name: "COPY", url: "doCopy", method: setIDsForPopUpMenu},

copy1: {name: "COPY", url: "doCopy", method: setIDsForPopUpMenu},
copy2: {name: "COPY", url: "doCopy", method: setIDsForPopUpMenu},
copy3: {name: "COPY", url: "doCopy", method: setIDsForPopUpMenu},
copy4: {name: "COPY", url: "doCopy", method: setIDsForPopUpMenu},
copy5: {name: "COPY", url: "doCopy", method: setIDsForPopUpMenu},
copy6: {name: "COPY", url: "doCopy", method: setIDsForPopUpMenu},
copy7: {name: "COPY", url: "doCopy", method: setIDsForPopUpMenu},
copy8: {name: "COPY", url: "doCopy", method: setIDsForPopUpMenu},
copy9: {name: "COPY", url: "doCopy", method: setIDsForPopUpMenu},
copy10: {name: "COPY", url: "doCopy", method: setIDsForPopUpMenu},
copy11: {name: "COPY", url: "doCopy", method: setIDsForPopUpMenu},
copy12: {name: "COPY", url: "doCopy", method: setIDsForPopUpMenu},
copy13: {name: "COPY", url: "doCopy", method: setIDsForPopUpMenu},
copy14: {name: "COPY", url: "doCopy", method: setIDsForPopUpMenu},
};
$.contextMenu({
selector: "tr.context-menu-target",
build: function($trigger, e) {
return {
callback: function(key, options) {
var ctx = getMenuItems()[key];
var url = ctx.url;
var method = ctx.method;
var ids = options.$trigger.attr("popupIds");
method.call(this, ids, url);
},
items: getMenuItems(),
};
}
});
    function getMenuItems() {
            stdItems = singleTargetItems;
            var allItems = $.extend({}, stdItems, customItems);
            return allItems;
    }

I have noticed there is a check to make sure the menu doesn't extend past the end of the page, but there is no check to see if by doing this it extends past the top of the browser window.
Line 135 in the jquery.context.menu.js is the check that flips the menu from going from the current position down to be from the current position upwards but this then forces the menu beyond the top of the screen.  I think there needs to be a few more checks to see if this situation will occur
position: function(opt, x, y) {
...
...
if (offset.top + height > bottom) {
offset.top -= height;
}
...


MissingReferenceException: The object of type 'MixedRealityControllerVisualizer'

Describe the bug
While testing WMR in the editor, after the scene is stopped, a missing ref exception is thrown:
MissingReferenceException: The object of type 'MixedRealityControllerVisualizer' has been destroyed but you are still trying to access it.
Your script should either check if it is null or you should not destroy the object.
Microsoft.MixedReality.Toolkit.Input.MixedRealityControllerVisualizer.get_GameObjectProxy () (at Assets/MixedRealityToolkit.SDK/Features/UX/Scripts/Controllers/MixedRealityControllerVisualizer.cs:17)
Microsoft.MixedReality.Toolkit.WindowsMixedReality.Input.WindowsMixedRealityDeviceManager.RemoveController (UnityEngine.XR.WSA.Input.InteractionSource interactionSource) (at Assets/MixedRealityToolkit.Providers/WindowsMixedReality/WindowsMixedRealityDeviceManager.cs:682)
Microsoft.MixedReality.Toolkit.WindowsMixedReality.Input.WindowsMixedRealityDeviceManager.Disable () (at Assets/MixedRealityToolkit.Providers/WindowsMixedReality/WindowsMixedRealityDeviceManager.cs:530)
Microsoft.MixedReality.Toolkit.BaseDataProviderAccessCoreSystem.UnregisterDataProvider[T] (T dataProviderInstance) (at Assets/MixedRealityToolkit/Services/BaseDataProviderAccessCoreSystem.cs:281)
Microsoft.MixedReality.Toolkit.Input.MixedRealityInputSystem.Disable () (at Assets/MixedRealityToolkit.Services/InputSystem/MixedRealityInputSystem.cs:325)
Microsoft.MixedReality.Toolkit.MixedRealityToolkit+<>c.<DisableAllServices>b__64_0 (Microsoft.MixedReality.Toolkit.IMixedRealityService service) (at Assets/MixedRealityToolkit/Services/MixedRealityToolkit.cs:948)
Microsoft.MixedReality.Toolkit.MixedRealityToolkit.ExecuteOnAllServices (System.Collections.Generic.IEnumerable`1[T] services, System.Action`1[T] execute) (at Assets/MixedRealityToolkit/Services/MixedRealityToolkit.cs:1014)
Microsoft.MixedReality.Toolkit.MixedRealityToolkit.ExecuteOnAllServicesReverseOrder (System.Action`1[T] execute) (at Assets/MixedRealityToolkit/Services/MixedRealityToolkit.cs:1006)
Microsoft.MixedReality.Toolkit.MixedRealityToolkit.DisableAllServices () (at Assets/MixedRealityToolkit/Services/MixedRealityToolkit.cs:948)
Microsoft.MixedReality.Toolkit.MixedRealityToolkit.OnDisable () (at Assets/MixedRealityToolkit/Services/MixedRealityToolkit.cs:634)

To reproduce
Steps to reproduce the behavior:

Switch platform to UWP
Plug in WMR headset
Play the HandInteractionExample scene - with VR the controllers
Stop the scene - see the MissingReferenceException

Your Setup (please complete the following information)

Unity Version: 2018.4.11
MRTK Version: v2.2.0

Target Platform (please complete the following information)

WMR immersive

Cannot repro in the latest test packages so I am going to remove the Release Blocker tag for now

I ran into this too and a couple of things come together to produce this bug:

It only happens when stopping play mode
it might only happen when Unity's random order of OnDestroy destroys the Proxy gameobject before the device manager
The worst part of it is this:

                if (controller.Visualizer != null &&
                    controller.Visualizer.GameObjectProxy != null)

The first check evaluates Visualizer to "null" (string version) because it"s an interface and although it's a MonoBehaviour uses System.Object == operator and not Unity.Object ==, which leads to this fail.
I don't know if this has been dealt with already, but this is a bug that can always happen with null checks on interfaces...
https://forum.unity.com/threads/fun-with-null.148090/

Wanted to link my general issue #5981  when it comes to interfaces


Fix file upload EOS bug.

Per the .NET Stream API, Read returns zero ONLY on end-of-stream.
Thus, the file upload should not continue after the inner read/write
loop terminates without error.
Stream.Length should not be relied upon for this purpose, as many
implementations of Stream may be buffered, and there is no guarantee
that the length of the Stream is the size of the file.
Resolves #174

Good PR, but could you make sure your code uses the same whitespace character as the project? You're using spaces, and the project uses tabs, which makes reading the diff a big pain :)
In reality, this PR just added 4 break; calls, but it looks like the change was MUCH more extensive

Could you apply the same fix to the DownloadInternal and DownloadInternalAsync methods in the same way? They have the same problem (with a poor attempt to overcome it).
I'm just testing a private build of the library where I removed the readToEnd variable entirely, and replaced it with break statements, same as in your code. Hoping it'll fix the issue we're seeing.
I'd create a PR of my own, but I just did the same thing you did, so want to give proper credit to you :)

@artiomchi Absolutely! I'll make the changes as soon as I am able.

@artiomchi I cleaned up the commit to remove some of the whitespace changes you referred to. I hope that makes it clearer.
Unfortunately, after further investigation, I don't think adding the unconditional break to file downloads is a good idea (and also isn't likely the source of your problem).
Unlike the upload case, we know the expected file length as reported by the server. The readToEnd flag correctly covers the case under which me must rely on the EOS signal to finish the download.
That being said, it's still an error to continue to read from the stream after it returns zero. I have modified the download methods to throw an exception and attempt to resume the download in this case. I would be interested to see if that solves your issue.
Best of luck!

@bgroenks96 ah, I see, that's a great observation! I'll apply this patch instead of mine then. Thanks for that!
Unfortunately, I learned that a lot of the FTP servers that we have to connect to are pretty bad. To the point that AutoActive and AutoPassive modes don't work (server and client negotiate to a newer transfer mode, that the server reports as being supported, but it really doesn't), so I have to force it to use PASV and PORT instead. At this point I wouldn't be surprised if they sent the wrong file size as well :)

Thank you very much @artiomchi and @bgroenks96 for this fix! Much appreciated!


Add python3.13, drop python3.8

add the change proposed in https://github.com/Diaoul/subliminal/pull/1150 comment and that was forgotten.


Pressing back after dismissing keyboard in find in page close find in page view

Issue URL:  #686
Steps to test this PR:

Navigate to Find in page
Click on back button on browser

there was a little problem i'll open a new one


Expose webhook deployment container port

What this PR does / why we need it:
Without this I am unable to reach the port inside the cluster from another pod. cert-manager itself complains about being unable to reach the webhook:
E0414 23:20:49.230665       1 controller.go:140] cert-manager/controller/clusterissuers "msg"="re-queuing item  due to error processing" "error"="Internal error occurred: failed calling webhook \"webhook.cert-manager.io\": Post https://cert-manager-webhook.cert-manager.svc:443/mutate?timeout=4s: context deadline exceeded" "key"="letsencrypt-prod"

Testing it from another random pod results in similar failure:
% keti -n pihole pihole-776dd9464b-9gmfd bash
root@pihole-776dd9464b-9gmfd:/# nc -v cert-manager-webhook.cert-manager.svc 443
nc: connect to cert-manager-webhook.cert-manager.svc port 443 (tcp) failed: Connection timed out
root@pihole-776dd9464b-9gmfd:/#

Adding the explicit port makes everything happy:
root@pihole-776dd9464b-9gmfd:/# nc -v cert-manager-webhook.cert-manager.svc 443
Connection to cert-manager-webhook.cert-manager.svc 443 port [tcp/*] succeeded!

^C
root@pihole-776dd9464b-9gmfd:/# exit

For reference, this is a multiarch baremetal k3s cluster with calico as CNI.
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:
Release note:

Expose webhook deployment container port

Hm, these containerPort entries should not be influencing the availability of pod endpoints, and I'm fairly sure that if your CNI/something is doing this, it could cause your cluster to fail conformance tests...

I know right! This really baffled me, but I could verify this behaviour in both directions by removing/readding that stanza. I mention calico because that is not out of the box with k3s — the cluster I'm replacing was running flannel where this behaviour was not present. But calico is used quite extensively, so I'm at a loss to explain it.

/retest

I know right! This really baffled me, but I could verify this behaviour in both directions by removing/readding that stanza. I mention calico because that is not out of the box with k3s — the cluster I'm replacing was running flannel where this behaviour was not present. But calico is used quite extensively, so I'm at a loss to explain it.

I wonder if you're using some kind of service mesh here too? Otherwise, it seems like Calico in certain modes may require all ports to be named on each Pod for traffic routing to work.. not sure. My personal cluster running Calico has not run into this, but I have a really basic installation/no special configuration!
/lgtm
/approve
/kind cleanup

I wonder if you're using some kind of service mesh here too? Otherwise, it seems like Calico in certain modes may require all ports to be named on each Pod for traffic routing to work.. not sure. My personal cluster running Calico has not run into this, but I have a really basic installation/no special configuration!

Interesting, now that you mention it... I have enabled the eBPF tech preview of the latest calico version, and that's about the only difference. Potentially a regression on their side?


Merge Interfaces-basehtml with interfaces

Merge Interfaces-basehtml with interfaces

Great guys!

5d548cc13bf1eb802afe68b8dec39eedbb82cbd6
Changed the named to a more standard notation.


Syllabus vs. Summary Only One Should Rein Supreme

In CourtListener, we have syllabus in our data model, and it's described as:

"A summary of the issues presented in the case and the outcome."

In Juriscraper, we collect summaries. I could put a hard-coded mapping in CourtListener that says basically:
syllabus=summary

But that's lame and unfortunate. Is there a legal distinction here that's important? The solution I'd like to put in place is to choose syllabus as our preferred word and to update Juriscraper to same.

Well, this mapping is officially coded into CourtListener and we're pulling summaries into the syllabus field. I guess we should go back through and rename all the summary fields in Juriscraper as syllabus fields, and then remove the mapping.

@grossir - this seems like it is tied into your current project.

It is, but the OpinionCluster model has both summary and syllabus
https://github.com/freelawproject/courtlistener/blob/c201742bcc48ede07aa52fea11fb78fde5dc41bd/cl/search/models.py#L2483-L2490
https://github.com/freelawproject/courtlistener/blob/c201742bcc48ede07aa52fea11fb78fde5dc41bd/cl/search/models.py#L2454C6-L2459
Currently, scraped "summaries" go into OpinionCluster.syllabus
But OpinionCluster.summary is populated by the importers /  manual input pages "summary" key
https://github.com/freelawproject/courtlistener/blob/c201742bcc48ede07aa52fea11fb78fde5dc41bd/cl/scrapers/management/commands/cl_scrape_opinions.py#L108-L122

Currently, scraped "summaries" go into OpinionCluster.syllabus

I could rename all scraped "summaries" to "syllabus" and keep the ingestion as it has been

But OpinionCluster.summary is populated by the importers /  manual input pages "summary" key

And leave this part as it is.

Well, to add to the confusion, when we have a syllabus, we display it under the "Summary of Opinion" header
            {% if cluster.syllabus %}

Summary of Opinion

{{ cluster.syllabus | safe }}

            {% endif %}

The Harvard imports are correct.  We need to probably display all of it. Nicely


ref #1363 -- make sure that $post::comments() takes custom comment class

Ticket: #1363

Coverage decreased (-0.03%) to 97.556% when pulling 3bff324a15bc1f1742f64ced8d3ef5a388fd13ec on 1363/custom_comment into 5287510b9cb6918a4222e5a5ecdaf11962692caa on master.

Codecov Report

Merging #1364 into master will decrease coverage by 0.02%.
The diff coverage is 85.71%.

@@             Coverage Diff              @@
##             master    #1364      +/-   ##
============================================
- Coverage     97.84%   97.81%   -0.03%
- Complexity     1407     1408       +1
============================================
  Files            45       45
  Lines          3293     3297       +4
============================================
+ Hits           3222     3225       +3
- Misses           71       72       +1

Impacted Files
Coverage Δ
Complexity Δ

lib/Post.php
100% <100%> (ø)
209 <0> (ø)
:x:

lib/CommentThread.php
94.54% <66.66%> (-1.76%)
20 <11> (+1)

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 5287510...3bff324. Read the comment docs.

Coverage increased (+0.003%) to 97.59% when pulling eeb546645870a214a80dbebd10adfd5b49bac7d7 on 1363/custom_comment into 5287510b9cb6918a4222e5a5ecdaf11962692caa on master.

Coverage increased (+0.003%) to 97.59% when pulling 7368460f1c3d7ecb2793a776afafb802b7b99aee on 1363/custom_comment into 5287510b9cb6918a4222e5a5ecdaf11962692caa on master.


Allow CORS

This PR allows CORS IP addresses to be entered in the lnd.conf similar to rpclisten and restlisten.  However, the protocol (HTTP/HTTPS) needs to be specified.

Isn't that was the Gopkg.lock is for?

sure the gopgk.lock is fixing the dependancy to a certain commit. But what happends if another developer also uses this dependancy later and decides to change to a newer version of it. this version might break your code but we won't see that since there is not tests included. I guess in the setting of CORS this is unlikely since only api changes would occure and thouse would be seen at compiletime I guess so maybe I was a little bit too cautios. Other oppinions?

I can certainly add test cases for the version.  Are there any other such tests that I can copy the style from?  I'm not as familiar with go.

Will be done in https://github.com/lightningnetwork/lnd/pull/4141