[Bug] Redis plugin: handle space in string args

Description
Currently Redis plugin splits the overall string by whitespace and assumes first token to be cmd, and rest to be args. However, this fails in case a string arg is present which has spaces in it.
Context:
https://discord.com/channels/725602949748752515/760761686549463060/872097304734224414

Line number 72 in RedisPlugin.java can be improved with this solution: https://stackoverflow.com/questions/3366281/tokenizing-a-string-but-ignoring-delimiters-within-quotes

@awanishraj thanks a lot for pointing this out. I will take a look at it.


Settings Names have Been Updated

Fixes #11368
PASSWORD_REQUIRED_TEMPLATE -> WAGTAIL_PASSWORD_REQUIRED_TEMPLATE in https://github.com/wagtail/wagtail/blob/main/wagtail/urls.py#L20
DOCUMENT_PASSWORD_REQUIRED_TEMPLATE -> WAGTAIL_DOCUMENT_PASSWORD_REQUIRED_TEMPLATE in https://github.com/wagtail/wagtail/blob/main/wagtail/documents/wagtail_hooks.py#L191 & https://github.com/wagtail/wagtail/blob/main/wagtail/documents/views/serve.py#L140
Please check the following:

[ ] Do the tests still pass?[^1]
[ ] Does the code comply with the style guide?

[ ] Run make lint from the Wagtail root.

[ ] For Python changes: Have you added tests to cover the new/fixed behaviour?
[ ] For front-end changes: Did you test on all of Wagtail’s supported environments?[^2]

[ ] Please list the exact browser and operating system versions you tested:
[ ] Please list which assistive technologies [^3] you tested:

[ ] For new features: Has the documentation been updated accordingly?

Please describe additional details for testing this change.
[^1]: Development Testing
[^2]: Browser and device support
[^3]: Accessibility Target

@lb- would you mind reviewing these changes

Hello @lb! I had an amazing experience contributing to Wagtail, and I'm eager to take it a step further by participating in GSOC 24. I'm reaching out for some guidance to make the most out of this opportunity. Your assistance would mean a lot. Thank you!

Thanks @vinfinity7  we have now updated the issue with more clarity on the renaming here https://github.com/wagtail/wagtail/issues/11368
You should be good to continue and finalise this work now, a reminder that the backwards compatibility support and unit tests will need updating.
As for GSoC 2024, currently, we are not sure what's happening with that but feel free to join the #gsoc channel in slack to keep up to date.

Hey @vinfinity7 how are you going with this? I've noticed you've merged main into this branch a few times, are you still able to pursue this change with the suggested improvements?
It's ok if not, we can see if someone else can pick it up.

@lb- oh sorry , i completely forgot about this , will work tonight on this , my merging into main was automated 👍

Thanks for getting this started @vinfinity7 - I have a refinement coming to this branch to finish this off so that we can merge this in.
With #11854 & https://github.com/wagtail/wagtail/pull/11582 merged in for 6.1, it would be great to have these two settings updated also.
I will push up to your branch shortly with added unit tests (there were no existing tests for either setting), clean up of naming & deprecation checks and upgrade considerations.
I have manually tested the new settings names and the old ones, plus checked a warning message shows when the old ones are used. I have also manually checked that the override on a per page model basis of password_required_template still works as expected (there were tests for this).
FYI @gasman @laymonage


Feature/sponsors

Drafts a solution to #8

Implements a sponsors.json file
Adds light and dark versions of sponsor logos
Creates a Sponsors component that shows sponsor logos

It looks pretty good! What do you think of adding in arrows to let the user change to the next sponsor more quickly, or go back to previous one?

I like @fudgemasterultra's suggestion of a button to change sponsors forward and back, but it looks great in line with everything else!

Uh oh, this exposes a bug I didn't know we had. On iOS I'm unable to scroll. So this makes our content tall enough to cut off the top and bottom of the screen.  Might be a good follow-up bugfix, though?

I'll take a look at adding arrows. Should be easy enough.

Uh oh, this exposes a bug I didn't know we had. On iOS I'm unable to scroll. So this makes our content tall enough to cut off the top and bottom of the screen.  Might be a good follow-up bugfix, though?

@RyannosaurusRex Do you want me to fix mobile issues in this one or will that be seperate?


Apply fixes from StyleCI

This pull request applies code style fixes from an analysis carried out by StyleCI.

For more information, click here.

Fixed styles

Fixed styles


Link config flags in README

@BenjiLee please review (gonna do this for android too)

Current coverage is 45.09%

Merging #658 into master will not affect coverage as of 1b55c5f

@@            master    #658   diff @@
======================================
  Files          417     417
  Stmts        30900   30900
  Branches         0       0
  Methods
======================================
  Hit          13934   13934
  Partial          0       0
  Missed       16966   16966

Review entire Coverage Diff as of 1b55c5f

Uncovered Suggestions

+0.52% via ...deosViewController.m#1265...1424
+0.49% via ...ideoPlayerControls.m#1416...1568
+0.46% via ...tionViewController.m#986...1127
See 7 more...

Powered by Codecov. Updated on successful CI builds.

:+1:


Feat/Share data step 5

Purpose
Add share data step 5 for payment.
TODO

[ ] icons (info + keplr)
[ ] retrieve dataset title
[ ] i18n

🙅 Closing the PR because it does not respect naming conventions. Edit the branch name and submit a new PR.

🙋 Oops! This branch name does not follow the naming convention.

Please, see the following branch naming convention:

Branch naming convention
Purpose

feat/**
A new feature

fix/**
A bug fix

build/**
Changes that affect the build system (npm, mavem, poetry)

ci/**
Changes to the CI configuration

docs/**
Documentation only changes

style/**
Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)

refactor/**
Code changes that neither fixe a bug nor adds a feature

perf/**
Code changes that improve performance

test/**
When adding tests or correcting existing tests

chore/**
Other changes that don't modify source

🙅 Closing the PR because it does not respect naming conventions. Edit the branch name and submit a new PR.


Bash script is unable to run because of the gradle setup

The bash script included in this repository, mentioned on the README.adoc have problems with it's gradle setup, it fetches what it needs, but dies in gradle exception, with no further stacktrace.
Using the example text that is on the README (and producing a docbook with the asciidoctor code snippet right bellow), the build starts, fetches gradle, but dies on a exception, with no further information, only a wikipage for gradle, that seens not much helpful to deal with this problem. With asciidoctor-fopub/fopub example.xml --stacktrace, the following is printed to the stdout:
_https://pastebin.com/iCXrAvPt_
This test is running under a ubuntu temporary container, ran with podman run --rm -it ubuntu bash, installing only the necessary tools to run this tool. Basic information for the environment:
NAME="Ubuntu"
VERSION="20.04.1 LTS (Focal Fossa)"
ID=ubuntu
Shell: bash 5.0.17
Kernel: 5.15.41-gentoo

This project is no longer being actively maintained. If you'd like to propose a fix for this problem, I will review and merge it.

In case it helps, changing the version of gradle (changed 'gradle-4.9-bin.zip' to 'gradle-4.10-bin.zip' in 'gradle/wrapper/gradle-wrapper.properties') solved the issue for me.

If you'd like to make a PR with this change, I'll see that it gets merged.


PF5 migration

https://issues.redhat.com/browse/RHINENG-5937
https://issues.redhat.com/browse/RHINENG-11509

Codecov Report
Attention: Patch coverage is 96.42857% with 1 line in your changes missing coverage. Please review.

Please upload report for BASE (master@aa8a92f). Learn more about missing BASE report.

Files with missing lines
Patch %
Lines

.../components/Condition/ConditionFieldWithFormik.tsx
75.00%
1 Missing :warning:

Additional details and impacted files

@@            Coverage Diff            @@
##             master     #405   +/-   ##
=========================================
  Coverage          ?   90.75%
=========================================
  Files             ?      117
  Lines             ?     2499
  Branches          ?      491
=========================================
  Hits              ?     2268
  Misses            ?      222
  Partials          ?        9

Files with missing lines
Coverage Δ

src/components/Condition/ConditionField.tsx
90.90% <100.00%> (ø)

src/components/Icons/EnabledPolicyIcon.tsx
100.00% <100.00%> (ø)

src/components/Policy/ActionsForm.tsx
92.00% <100.00%> (ø)

src/components/Policy/AddTriggersDropdown.tsx
100.00% <100.00%> (ø)

src/components/Policy/EmptyState/Section.tsx
100.00% <ø> (ø)

src/components/Policy/PolicyWizard.tsx
94.21% <100.00%> (ø)

src/components/Policy/PolicyWizardFooter.tsx
100.00% <100.00%> (ø)

src/components/Policy/PolicyWizardTypes.ts
60.00% <ø> (ø)

src/components/Policy/Table/PolicyTable.tsx
83.49% <100.00%> (ø)

...c/components/Policy/WizardSteps/ConditionsStep.tsx
93.02% <100.00%> (ø)

... and 4 more

:exclamation: Outdated dependencies error

Installed version of react-dom (17.0.2) is older than required version (18.0.0)
Installed version of react (17.0.2) is older than required version (18.0.0)
Installed version of @redhat-cloud-services/frontend-components-config (4.6.40) is older than required version (6.0.0)

Please update the commit message to fit the new schema https://www.conventionalcommits.org/en/v1.0.0/


Update GH action for building multi platform images

Add multi-platform GH action for docker images.

Current failure: https://github.com/networkfusion/libdragon/actions/runs/9044729060/job/24853688450


Disable QUIC

Cloudflare uses QUIC (a transport over UDP) to detect IP addresses. When using a proxy that does not support proxying UDP traffic, Cloudflare can detect the real IP address and blocks the user from accessing may services. Disabling QUIC can solve this issue.
Also, considering that disabling QUIC does not bring a noticeable impact, I think it is sufficient to disable it globally without the need to include it in the settings page.

Thank you for contribution. Looks good for me.
I have only one curious: are there any bots affected by the QUIC check?

I did a quick search and found that Python and Node.js don't have native support for HTTP/3 yet. And based on the HTTP/3 usage report by Cloudflare, this protocol accounts for less than 20% of API traffic, so it seems like it has a long way to go.

Dunno the relationship between QUIC and http 3. But the PR seems no harm and perhaps useful sometime.
Thank you very much. The PR will be included in next release.

HTTP/3 is an application layer protocol that runs on QUIC (a transport layer protocol). And QUIC runs on UDP.
As for your concern about the benefit of disabling QUIC. In my environment, the proxy is set on the router and does not proxy UDP traffic by default (as far as I know, some proxy services do not support UDP either). I have to disable QUIC in Chrome to access ChatGPT. And this solution also applies to Electron.

Thank you for explanation. Now I got its benefits.


Create tr.json

Added Turkish (Türkçe) language

will keep open so i won't forget to add this in as part of a larger languaging update later in jan 2024 most likely. thanks!

hi! i'm preparing a larger language update and aim to release it by the end of the week. there are about 90 more strings to translate, would you be interested in completing the translation?


Add Docker File

Hey,
I think it would be much better if we also ship prod ready project along with docker to dockerize the whole app.

New CLI Command: A devcli dockerize command that generates Docker-related files in the project, checking for existing files to avoid overwriting.

since I don't have much knowledge about making a custom command like you have done for mongo and redux but I will incorporate them in the existing scripts such that they will automatically be built alongside the application so user still have the option to either run both the backend and frontend manually or just hit the command in root docker-compose up

Let’s aim for Dockerfiles for both, plus a devcli dockerize command to set up Docker files automatically. Your idea to have both manual and docker-compose up options is perfect!
but you can take idea from mongodb and redux command codes.

i'll try that but cli option will be second priority and do add the hacktober tag

if you like the tool consider giving a star!

@pantharshit007
https://github.com/manishraj27/mern-project-cli/compare/main...pull/8/head
The problem is you have made changes to mongoDb connect command as well in that you changed dbname statically the previous command took dynamic dbname.
Your initializeDocker.js is perfect after i made some changes in it you can see in the link there.
I need only this file in your pr request.

@pantharshit007
i have cherry picked the initializeDocker.js file after making some changes in the code.
Since i used my own local branch to test your pr and pushed only that file i cant merge your whole pr.
But i want to give credit to you for creating initializeDocker.js
so give your email.
or if you can break just raise one more pr with just initializeDocker.js and index.js than it would be perfect.
below is your code with few changes.
`import fs from 'fs-extra';
import path from 'path';
import chalk from 'chalk';
export default function initializeDockerCommand(program) {
program
.command('create-dockerfiles')
.description(
'Generate Dockerfiles for backend and frontend, and docker-compose.yml in root'
)
.action(() => {
const currentDir = process.cwd();
  // Check if backend and frontend directories exist
  const backendDir = path.join(currentDir, 'backend');
  const frontendDir = path.join(currentDir, 'frontend');

  const hasBackendDir = fs.existsSync(backendDir);
  const hasFrontendDir = fs.existsSync(frontendDir);

  if (!hasBackendDir || !hasFrontendDir) {
    console.error(chalk.red('❌ Required directory structure not found.'));
    console.log(
      chalk.yellow(
        '📁 Please ensure both "backend" and "frontend" directories exist in the current directory.'
      )
    );
    return;
  }
  // Dockerfile for backend
  const backendDockerfileContent = `# Use the official Node.js image

FROM node:20-alpine
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
EXPOSE 5000
CMD ["npm", "run", "dev"]
;       const dockerIgnore = node_modules
dist`;
  // Dockerfile for frontend
  const frontendDockerfileContent = `# Use the official Node.js image

FROM node:20-alpine
Set the working directory
WORKDIR /app
Copy package.json and package-lock.json
COPY package*.json ./
Install dependencies
RUN npm install
Copy the rest of the application files
COPY . .
Expose the port
EXPOSE 3000
Start the application in development mode
CMD ["npm", "start"]
`;
  // docker-compose.yml content
  const dockerComposeContent = `# version: "3.8"

services:
backend:
build: ./backend
ports:
- "5000:5000"
volumes:
- ./backend:/app
environment:
DB_URL: mongodb://mongo:27017/mydatabase # you can change db name here to your liking
# this doesnt work since for that we need .env on same level
# DB_URL: mongodb://mongo:27017/${DB_NAME}
frontend:
build: ./frontend
ports:
- "3000:3000"
volumes:
- ./frontend:/app
environment:
REACT_APP_API_URL: http://localhost:5000/api
depends_on:
- backend # Ensure the backend is started before the frontend
mongo:
image: mongo:latest
ports:
- "27017:27017"
volumes:
- mongo_data:/data/db
volumes:
mongo_data:
`;
  // Create backend Dockerfile & .dockerignore
  const backendDockerfilePath = path.join(backendDir, 'Dockerfile');
  const backendDockerIgorefilePath = path.join(backendDir, '.dockerignore');
  try {
    fs.writeFileSync(backendDockerfilePath, backendDockerfileContent);
    fs.writeFileSync(backendDockerIgorefilePath, dockerIgnore);
    console.log(chalk.green('✅ Backend Dockerfile created successfully.'));
  } catch (error) {
    console.error(
      chalk.red(`❌ Failed to create Backend Dockerfile: ${error.message}`)
    );
    return;
  }

  // Create frontend Dockerfile & .dockerignore
  const frontendDockerfilePath = path.join(frontendDir, 'Dockerfile');
  const frontendDockerIgorefilePath = path.join(
    frontendDir,
    '.dockerignore'
  );
  try {
    fs.writeFileSync(frontendDockerfilePath, frontendDockerfileContent);
    fs.writeFileSync(frontendDockerIgorefilePath, dockerIgnore);
    console.log(
      chalk.green('✅ Frontend Dockerfile created successfully.')
    );
  } catch (error) {
    console.error(
      chalk.red(`❌ Failed to create Frontend Dockerfile: ${error.message}`)
    );
    return;
  }

  // Create docker-compose.yml in root
  const dockerComposePath = path.join(currentDir, 'docker-compose.yml');
  try {
    fs.writeFileSync(dockerComposePath, dockerComposeContent);
    console.log(chalk.green('✅ docker-compose.yml created successfully.'));
  } catch (error) {
    console.error(
      chalk.red(`❌ Failed to create docker-compose.yml: ${error.message}`)
    );
  }

  // Final success message
  console.log(chalk.cyan('\n🎉 Docker files created successfully!'));
});

}
`
https://github.com/manishraj27/mern-project-cli/commit/c395d1821b05d09c8600c62c70b5e1b1f6f4ff36

@manishraj27  I wll update these changes in Existing PR

we can close this issue here you can add this tag hactoberfest-accepted
I want to say one thing the reason I made the db name static is because we are using static name here https://github.com/manishraj27/mern-project-cli/blob/aba2d1335e592b2712bc465cf43a98c1162beb63/commands/initializeDocker.js#L84C37-L84C47
so now you can do one thing grab the root directory name and dynamically add that in place of database name in docker-compose.yml file and remove those comments. This will do the trick
@manishraj27


Relicensing tundra under MIT license

Hey,
In order to make it easier for tundra to be adopted, I'd like to investigate the possibility of relicensing tundra under the MIT license, so that people writing other frontends for tundra do not have to worry about the GPL requirements travelling to the frontend code.
I've talked with @deplinenoise about it, and he supports the idea if I do the legwork of chasing down all contributors.
This issue does that.   My question to all people that have landed a PR into the tundra repo:  Would you be willing to license the code you've contributed under the MIT license, so that we can make the entire repo MIT.  I hope you will, tundra is an amazing build system and I'd love to be able to use it everywhere.  If you do, simply replying on this issue with "I license all my contributions in the tundra repository under the MIT license" would suffice.
Thanks, Lucas
@leidegre
@jsvennevid
@jonaskje
@jwtowner
@uucidl
@rudkx
@emoon
@bmharper
@greatwolf
@teddemunnik
@mattrudder
@Patuti
@twoscomplement
@aras-p

I license all my contributions in the tundra repository under the MIT license.

I license all my contributions in the tundra repository under the MIT license.

I license all my contributions in the tundra repository under the MIT license.

I license all my contributions in the tundra repository under the MIT
license
On Wed, Mar 21, 2018 at 8:38 PM, Jesse Towner<EMAIL_ADDRESS>wrote:

I license all my contributions in the tundra repository under the MIT
license.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/deplinenoise/tundra/issues/306#issuecomment-375140995,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAJTIt-S9OPTKieE2eqrbVw4_39rYQDvks5tgvKVgaJpZM4S2K4J
.

I license all my contributions in the tundra repository under the MIT license.

I license all my contributions in the tundra repository under the MIT license

I license all my contributions in the tundra repository under the MIT license.

I license all my contributions in the tundra repository under the MIT license.

I license all my contributions in the tundra repository under the MIT license.

I license all my contributions in the tundra repository under the MIT license.
-Jonas

On 21 Mar 2018, at 23:39, Lucas Meijer<EMAIL_ADDRESS>wrote:
Hey,
In order to make it easier for tundra to be adopted, I'd like to investigate the possibility of relicensing tundra under the MIT license, so that people writing other frontends for tundra do not have to worry about the GPL requirements travelling to the frontend code.
I've talked with @deplinenoise about it, and he supports the idea if I do the legwork of chasing down all contributors.
This issue does that. My question to all people that have landed a PR into the tundra repo: Would you be willing to license the code you've contributed under the MIT license, so that we can make the entire repo MIT. I hope you will, tundra is an amazing build system and I'd love to be able to use it everywhere. If you do, simply replying on this issue with "I license all my contributions in the tundra repository under the MIT license" would suffice.
Thanks, Lucas
@leidegre
@jsvennevid
@jonaskje
@jwtowner
@uucidl
@rudkx
@emoon
@bmharper
@greatwolf
@teddemunnik
@mattrudder
@Patuti
@twoscomplement
@aras-p
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

I license all my contributions in the tundra repository under the MIT license.

I license all my contributions in the tundra repository under the MIT license.

I license all my contributions in the tundra repository under the MIT license.


Cannot turn off Azure Service Bus / Azure storage verbose logging without turning off all logging.

What categories do I need to use to disable verbose logging from Azure Storage & Azure Service Bus?
I still need to see my own log messages, so I don't want to turn off all logging.
Setting default logging level to warning is un-acceptable because I need to see my own log messages.
What  are used by Azure Storage for logging?
Disabling "Azure.Messaging.ServiceBus": "Warning" works for some of Service bus, but the following are still happening and filling up the logging space.
[2022-10-29T23:48:14.431Z] Request [ecee2d31-f6ba-490e-b86b-fe8979a59c33] PUT http://<IP_ADDRESS>:10000/devstoreaccount1/azure-webjobs-hosts/locks/seapc5325-539085522/host?comp=lease
[2022-10-29T23:48:14.433Z] x-ms-lease-action:renew
[2022-10-29T23:48:14.434Z] x-ms-lease-id:000000000000000000000000FF3C008C
[2022-10-29T23:48:14.435Z] x-ms-version:2020-08-04
[2022-10-29T23:48:14.436Z] Accept:application/xml
[2022-10-29T23:48:14.437Z] x-ms-client-request-id:ecee2d31-f6ba-490e-b86b-fe8979a59c33
[2022-10-29T23:48:14.438Z] x-ms-return-client-request-id:true
[2022-10-29T23:48:14.438Z] User-Agent:azsdk-net-Storage.Blobs/12.9.0,(.NET 6.0.0-rc.2.21480.5; Microsoft Windows 10.0.19042)
[2022-10-29T23:48:14.439Z] x-ms-date:Sat, 29 Oct 2022 23:48:14 GMT
[2022-10-29T23:48:14.440Z] Authorization:REDACTED
[2022-10-29T23:48:14.441Z] client assembly: Azure.Storage.Blobs
[2022-10-29T23:48:14.447Z] Response [ecee2d31-f6ba-490e-b86b-fe8979a59c33] 200 OK (00.0s)
[2022-10-29T23:48:14.455Z] Server:Azurite-Blob/3.20.1
[2022-10-29T23:48:14.456Z] ETag:"0x21434D0E431EEC0"
[2022-10-29T23:48:14.457Z] x-ms-lease-id:000000000000000000000000FF3C008C
[2022-10-29T23:48:14.458Z] x-ms-client-request-id:ecee2d31-f6ba-490e-b86b-fe8979a59c33
[2022-10-29T23:48:14.459Z] x-ms-request-id:c32a2347-e162-4218-9fcc-2b691a6893b5
[2022-10-29T23:48:14.460Z] x-ms-version:2021-10-04
[2022-10-29T23:48:14.461Z] Date:Sat, 29 Oct 2022 23:48:13 GMT
[2022-10-29T23:48:14.462Z] Connection:keep-alive
[2022-10-29T23:48:14.465Z] Keep-Alive:REDACTED
[2022-10-29T23:48:14.472Z] Last-Modified:Sat, 29 Oct 2022 23:41:13 GMT
[2022-10-29T23:48:14.473Z] Content-Length:0
[2022-10-29T23:48:14.474Z]

host.json
{
  "version": "2.0",
  "functionTimeout": "00:30:00",
  "logging": {
    "logLevel": {
      "default": "Information",
      "Azure.Messaging.ServiceBus": "Warning",
      "Function": "Error",
      "Host": "Error",
      "Host.Aggregator": "Error",
      "Host.Results": "Error",
      "Microsoft": "Warning",
      "Microsoft.EntityFrameworkCore": "Warning",
      "System": "Error"
    }
  },

Label prediction was below confidence level 0.6 for Model:ServiceLabels: 'Storage:0.34285802,Service Bus:0.26426625,Azure.Core:0.1295001'

Thanks for reaching out.
Could you tell us which language you used?
This can help us route to the right team.

We are also seeing huge volume of these sort of messages in the application insights. We use python but i think this is a general problem with storage/webjobs and not language specific thing. Modifying hosts.json doesn't work as so many people have pointed out - see @pjmvp message above, https://github.com/Azure/azure-functions-host/issues/8973


Add ONNX and reorder HEP to ML bridge tools list

Add ONNX to HEP to ML bridge tools and reorder the list so that lwtnn, ONNX, and sklearn-porter are near each other.

@cranmer LGTM! :+1: :shipit:  Thanks very much for the PR and sorry that I just now saw it.


assignee dialog default focus should be in the username

Currently is like this:

It should be better if the change assignee dialog were like this

It's now the case in master, you can change the assignee with the keyboard arrows by example.
Thanks.


Template Wave_functions class

bors try

This looks good to me. @AdhocMan can you also have a look when you have time?

Thanks Simon! USE_FP32 variable name looks good. Manual compilation is not a problem because @manhin321 does a lot of experimental stuff. Once we see how the mixed precision works, we can introduce fp32 tests for our CI/CD.

bors try


How to freeze all the adapters and just fine-tune the parameters of BERT?

I want to further fine-tune the BERT  after I get the pretrained adapters , which means I want to fine-tune BERT without changing any parameters in adapters. Is there any way to achieve this goal?

Hey @leopoldwhite,
While there is no built-in function to achieve exactly this, you might iterate through the weights of an adapter to freeze it weights, e.g.:
model.add_adapter("test_adapter")

# Makes sure to unfreeze all model weights
model.freeze_model(False)

for _, d in model.get_adapter("test_adapter").items():
    for _, module in d.items():
        for param in module.parameters():
            param.requires_grad = False

Hey @leopoldwhite,
While there is no built-in function to achieve exactly this, you might iterate through the weights of an adapter to freeze its weights, e.g.:
model.add_adapter("test_adapter")

# Makes sure to unfreeze all model weights
model.freeze_model(False)

for _, d in model.get_adapter("test_adapter").items():
    for _, module in d.items():
        for param in module.parameters():
            param.requires_grad = False

Thank you so much , my problem is perfectly solved by your proposal.


enhancement: remove useless if-condition

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


Added sbi_get_misa()

See issue #40.
To restate, the Privileged ISA Spec says it all:

We require that lower privilege levels execute environment calls instead of reading CPU
registers to determine features available at each privilege level. This enables virtualization layers
to alter the ISA observed at any level, and supports a much richer command interface without
burdening hardware designs.

The RISC-V feature string is much more richer and future proof compared to a single unsigned long misa CSR. Due to this reason we are parsing RISC-V feature string from device tree in various S-mode software (e.g. Linux, U-Boot, EDK2, Xvisor, KVM RISC-V, and many more).
In future, ACPI will also include RISC-V feature string which S-mode software can use.
I don't see why we need this SBI call.
Regards,
Anup

I didn't realize that you were using the device tree for this.  Perhaps some commentary in the SBI spec would reduce confusion here.
I will note that (especially for small systems such as a booloader) it is much simpler to test bits in a binary register such as misa than to extract (or possibly generate/modify) them from a string-valued feature string; this becomes more true the older an architecture gets; cf. the x86 CPUID command, which is (mostly) binary and not string based, or the ARM CPUID architecture,, which also uses binary encoding.
Also, you argument applies just as well to the three static CSRs that are exposed by the SBI: machid, mimpid, mvendorid:  these could just as well be transported by the device tree.
I find leaving out misa inconsistent.

The RISC-V feature string does not include machid, mimpid, mvendorid so that's why we have these calls from SBI v0.2 onwards.
Regards,
Anup

My suggestion above would be to add these items to the device tree RISC-V binding, which is decidedly more flexible than the SBI API.
So in addition to the existing riscv,isa string valued node, you would also have rsicv,marchid, riscv,mvendorid, riscv,mimpid, and (posssibly) riscv,misa binary nodes in the device tree.

Closing this PR as I commented on #48


[Hot Fix] Remove 'bower_component' from caching list in travis cfg file

What is this PR for?
After #2042 merged, cached bower_components/ causes CI failure like
"message": "Unable to find suitable version for d3" (bower installation failure)

[ERROR] [{
[ERROR]   "code": "ECONFLICT",
[ERROR]   "name": "d3",
[ERROR]   "picks": [
[ERROR]     {
[ERROR]       "endpoint": {
[ERROR]         "name": "d3",
[ERROR]         "source": "d3",
[ERROR]         "target": "~3.3.13"
[ERROR]       },
[ERROR]       "canonicalDir": "/home/travis/build/apache/zeppelin/zeppelin-web/bower_components/d3",
[ERROR]       "pkgMeta": {
[ERROR]         "name": "d3",
[ERROR]         "version": "3.3.13",
[ERROR]         "main": "d3.js",
[ERROR]         "scripts": [
[ERROR]           "d3.js"
[ERROR]         ],
...

It can be resolved in each contributors' travis account by deleting all cache in their repository like this, but current Zeppelin master is under Apache travis account. So we need to clear the cache by removing zeppelin-web/bower_components in caching list in .travis.yml.
Let's see the master branch's CI turns to green light :)
What type of PR is it?
Hot Fix
What is the Jira issue?
No Jira issue for this
How should this be tested?
No need to test
Screenshots (if appropriate)
Questions:

Does the licenses files need update? no
Is there breaking changes for older versions? no
Does this needs documentation? no

CI is green now. I'm merging this to master as a hotfix.

@Leemoonsoo It passed! https://travis-ci.org/apache/zeppelin/builds/208472931

Will create a PR for putting it back.


improve the offset params in lead/lag function could use 0

Proposed changes
before limit the offset param must > 0,
could follow mysql behavior >=0
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


Update exemple

What this PR does / why we need it:
fixing the example for slack notification
Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[ ] Variables are documented in the README.md

/assign @bencer

/lgtm
/approve

/lgtm


[realm-core-13.19.0] No built-in scheduler implementation

How frequently does the bug occur?
Every run
Description
I have a KMP app and I'm trying to use Realm in it.
When the following code is executed, I get the "No built-in scheduler..." error ever so briefly flash across the screen (had to video it to see what was happening).
`val configuration = RealmConfiguration.create(schema = setOf(PelletLot::class))
val realm = Realm.open(configuration)
fun saveNewLot(newPellotLot: PelletLot) {
realm.writeBlocking {
    val pellotLot = copyToRealm(newPellotLot)

    Napier.d("PellotLot: " + pellotLot.lotNumber + " saved off.")
}

}`
Stacktrace & log output
The only output I could see was that the error occurs at scheduler.cpp line 134

Can you reproduce the bug?
Yes
Reproduction Steps
Rerun the code.
Version
1.11.0
What Atlas App Services are you using?
Local Database only
Are you using encryption?
No
Platform OS and version(s)
Kotlin 1.9.22 Android 34 for a Desktop app running on Windows 11
Build environment
Android Studio version: ...2023.2.1
Android Build Tools version: ...35-rc1
Gradle version: ...8.5

@darrinps It has been fixed in 1.11.1

I can still reproduce it.
I changed to version 1.11.1 as can be see here.

Executing the following code still caused the same error. Note that the error wasn't caught in the try/catch. I had to video the execution to see it.
`   fun saveNewLot(newPellotLot: PelletLot) {
Logger.d("Saving new lot with Key: ${newPellotLot.dateOfInput} lotNumber: ${newPellotLot.lotNumber}")
val configuration = RealmConfiguration.create(schema = setOf(PelletLot::class))
Logger.d("About to open Realm Configuration: $configuration")

try {

    val realm = Realm.open(configuration)   //<---- ERROR OCCURS HERE

    Logger.d("Realm opened: : ${realm.toString()}")

    realm.writeBlocking {
        val pellotLot = copyToRealm(newPellotLot)

        //.d("PellotLot: " + pellotLot.lotNumber + " saved off.")
    }

    realm.close()

} catch (ex: Exception) {
    Logger.e("Exception caught: " + ex.message)
    Logger.e("Stack trace: " + ex.stackTraceToString())
}

}`

Here is the error reported.


feat(cdk/overlay): connected-overlay directive should have input for disabling escape close

#19420

@jelbourn @crisbeto Can you, please, review it again?
(All comments resolved)


Efficient array serialization

Hello,
we've currently considering protocol buffers for serializing the data. But they seem to be slow while deserializing using java and don't have support for int16 (or int8) as Cap'n Proto does. Cap'n Proto documentation says nothing about arrays, but only lists. As our data mostly consists of short-arrays and need a very fast access to them, lists are inappropriate for us.
Can you help us to learn whether Cap'n Proto does support array serialization in java?
Thanks in advance.
Alexey

Cap'n Proto lists are just dynamically-sized arrays. Accessing their elements is fast, though it does need to go through a list pointer. I recommend trying them and measuring whether the performance is good enough for you. If you want to avoid the list-pointer indirection, then you probably are interested in inline lists, a proposed future feature of Cap'n Proto. Although inline lists don't exist yet in Cap'n Proto, you can fake them by manually creating fields for each element of the list, like this:
struct Foo {
    array0 @0 :Int16;
    array1 @1 :Int16;
    array2 @2 :Int16;
    array3 @3 :Int16;
}

Also, you may be interested in reading this discussion from last year.

Thanks for your reply! I was first busy on giving msgpack a try. But now I would really love to try capn proto out. Unfortunately I don't get capnpc-java after I installed Capn Proto. Can you maybe give me a hint what I'm doing wrong? I've tried both, installing via downloading the tar and then also checking the git source.

Unfortunately I don't get capnpc-java after I installed Capn Proto

capnpc-java depends on capnproto, but is not included with it. Once you've installed capnproto you'll need to build capnpc-java from source by running make at the root directory of the capnproto-java repository. If you try that and you get errors, please post what the errors are.

Ok, thanks for that. That was easier than i thought. I was kind of
confused...
Now just another one question: I get it to work now, what is your intended
way to add the capnpoto package to our project? Should I just manually copy
it from the runtime? How is it going to be updated then? all manually?
(sorry for the questions, but I just don't get it. Maven repository would
have been somehow easier.)
2015-08-24 14:29 GMT+02:00 David Renshaw<EMAIL_ADDRESS>
Unfortunately I don't get capnpc-java after I installed Capn Proto
capnpc-java depends on capnproto, but is not included with it. Once you've
installed capnproto you'll need to build capnpc-java from source by running
make at the root directory of the capnproto-java repository. If you try
that and you get errors, please post what the errors are.
—
Reply to this email directly or view it on GitHub
https://github.com/dwrensha/capnproto-java/issues/38#issuecomment-134172585
.

Unfortunately, I know very little about Java packaging and build systems. I know that sbt package will create a Jar, and I have a setup where I've been uploading snapshot releases to OSS Sonatype (see https://github.com/dwrensha/capnproto-java/issues/16), which you can get here: https://oss.sonatype.org/content/repositories/snapshots/org/capnproto/runtime/0.1.0-SNAPSHOT/

Oh yeah. That is really nice. Maybe you could provide this information on
the documentation page?
Now, another one question: if I want to send that message by zeromq, I
found this thread here somehow helpful:
http://stackoverflow.com/questions/32041315/how-to-send-capn-proto-message-over-zmq
But I'm not sure if there is such a method for java?!
2015-08-24 15:57 GMT+02:00 David Renshaw<EMAIL_ADDRESS>
Unfortunately, I know very little about Java packaging and build systems.
I know that sbt package will create a Jar, and I have a setup where I've
been uploading snapshot releases to OSS Sonatype (see #16
https://github.com/dwrensha/capnproto-java/issues/16), which you can
get here:
https://oss.sonatype.org/content/repositories/snapshots/org/capnproto/runtime/0.1.0-SNAPSHOT/
—
Reply to this email directly or view it on GitHub
https://github.com/dwrensha/capnproto-java/issues/38#issuecomment-134213156
.

I got an array representation using write(BufferedOutputStream, MessageBuilder) and retrieving the ButeArray from it and turning it into byte[]. But for zeromq you need to subscribe to certain filters. Meaning like first byte of the message?!
Can you help me retrieve this information?
Cheers
On Mon, Aug 24, 2015 at 6:01 PM, Alexey Egorov
<EMAIL_ADDRESS>wrote:

Oh yeah. That is really nice. Maybe you could provide this information on
the documentation page?
Now, another one question: if I want to send that message by zeromq, I
found this thread here somehow helpful:
http://stackoverflow.com/questions/32041315/how-to-send-capn-proto-message-over-zmq
But I'm not sure if there is such a method for java?!
2015-08-24 15:57 GMT+02:00 David Renshaw<EMAIL_ADDRESS>
Unfortunately, I know very little about Java packaging and build systems.
I know that sbt package will create a Jar, and I have a setup where I've
been uploading snapshot releases to OSS Sonatype (see #16
https://github.com/dwrensha/capnproto-java/issues/16), which you can
get here:
https://oss.sonatype.org/content/repositories/snapshots/org/capnproto/runtime/0.1.0-SNAPSHOT/
—
Reply to this email directly or view it on GitHub
https://github.com/dwrensha/capnproto-java/issues/38#issuecomment-134213156
.

Ok, I've done it and got the whole stuff running.
I don't know whether it could be interesting to provide such a code as an
example (not that this is a best solution, but it is somehow a way to use
Cap'n Proto with ZeroMQ in Java and would be a nice-to-have explanation on
usage. :)
2015-08-24 18:46 GMT+02:00 Alexey Egorov<EMAIL_ADDRESS>
I got an array representation using write(BufferedOutputStream,
MessageBuilder) and retrieving the ButeArray from it and turning it into
byte[]. But for zeromq you need to subscribe to certain filters. Meaning
like first byte of the message?!
Can you help me retrieve this information?
Cheers
On Mon, Aug 24, 2015 at 6:01 PM, Alexey Egorov <
<EMAIL_ADDRESS>wrote:

Oh yeah. That is really nice. Maybe you could provide this information on
the documentation page?
Now, another one question: if I want to send that message by zeromq, I
found this thread here somehow helpful:
http://stackoverflow.com/questions/32041315/how-to-send-capn-proto-message-over-zmq
But I'm not sure if there is such a method for java?!
2015-08-24 15:57 GMT+02:00 David Renshaw<EMAIL_ADDRESS>
Unfortunately, I know very little about Java packaging and build
systems. I know that sbt package will create a Jar, and I have a setup
where I've been uploading snapshot releases to OSS Sonatype (see #16
https://github.com/dwrensha/capnproto-java/issues/16), which you can
get here:
https://oss.sonatype.org/content/repositories/snapshots/org/capnproto/runtime/0.1.0-SNAPSHOT/
—
Reply to this email directly or view it on GitHub
https://github.com/dwrensha/capnproto-java/issues/38#issuecomment-134213156
.

Cool, I'm glad you've got it working. I agree that it could be good to use your code as an example, perhaps in the documentation (the gh-pages branch) or in the examples/ directory. Did you manage to make any measurements with your comparison to msgpack and protobuf? I'd be curious to hear about how well capnproto-java fared.

The comparisons seemed well concerning CPU time as I sent the messages without serialization by getting segments and sending them as ByteBuffers. So while we were able to get around 1500 messages/second serialized and put into ZeroMQ with protocol buffers, we achieved around 2300 messages/second with Cap'n Proto. Our message contains some telescope image data, so they are pretty big.
BUT the negative side effect is the size of the messages (of course). I would love to get it to run with the serialization, but if I get it right, SerializePacked uses WritableByteChannel and thus meaning I would have to out FileDescriptor.out (as in the example) that is no-go somehow or I would have to create a new file to which all the serialized output will be written and then read it in to get the byte array to be send through ZeroMQ...
So maybe I'm getting it wrong, but it would be nice to understand how one is able to not use WritableByteChannel or to use it without writing into files or file descriptors... Maybe one can use something like ChannelBuffer from netty? Or generally an opportunity to write into any kind of buffer!?

So maybe I'm getting it wrong, but it would be nice to understand how one is able to not use WritableByteChannel or to use it without writing into files or file descriptors...

Note that org.capnproto.ArrayOutputStream implements WritableByteChannel. However, sounds like that's not exactly what you want, because it requires you to preallocate the whole buffer. So I suppose that you need an implementation of WritableByteChannel that is backed by a growing buffer. Maybe that's even what netty's ChannelBuffer is? In any case, I don't imagine it would be difficult to implement one.

ArrayOutputStream is a very good hint! :) I added another class that just can construct a bigger buffer in case the original one is too small, but in general it is fine now. netty's ChannelBuffer could be a good try to test the speed and timing... But for now I'm good with it. :+1:
Also adding such an example is a nice idea... at least to know what classes are there to be used for different cases as the example with FileDescriptor is far not my favourite...
I can provide you some plots later on our comparison with protobuf and msgpack.


Investigate secrets problem

Possible solution: check summon tool out.

@vileme showed me that this is really unnecessarily while we using heroku. The token is just stored in the environment variable in heroku, and i think it's pretty nice and it should work like that


Add "Table of Contents" in CONTRIBUTING.md

This can help improve readability in CONTRIBUTING doc.

I would have put Introduction part before table of content since it is short. But this is maybe a personal choice and not shared with every one. For the rest LGTM.

LGTM


Bad minification. Some injection is not done correctly

When using lumx.min.js version v1.0.0rc2 and using the lx-select directive
Error: $injector:unpr
Unknown provider: eProvider <- e
Something seems not properly injected in the file select_directive.js
Line 158:
    LxSelectSelectedController.$inject = ['$interpolate', '$sce'];
    function LxSelectController($interpolate, $sce) {....}
    ....
    function LxSelectSelectedController() {....}

I'd say that line 158 should be:
LxSelectController.$inject = ['$interpolate', '$sce'];

I'd also recommend that your demo page would use minified versions of all libraries. At the moment, jquery, velocity, moment, angular.. are not using the min version.


1247 configure/review page redesign

Description
This PR introduces some updates to the configure and review pages, tweaking the section header components. To accomplish this, two new complex components were introduced:

Tooltip - powered by Floating UI (popperJS 3.0)

In addition to the above, there are some refactoring on how theming works across Zarf UI, with the introduction of using the html data-theme property until such time that Unicorn UI's theming is fully mature.
Related Issue
Fixes #1247
Type of change

[x] New feature (non-breaking change which adds functionality)

Checklist before merging

[ ] Test, docs, adr added or updated as needed
[x] Contributor Guide Steps followed


Add Fedora 41 among images we test against

Pull Request Checklist

[x] implement the feature
[x] extend the test coverage

/packit test

Unrelated failures, merging.


[QUESTION] IAM Policy for IoT specific resource for kinesis video stream

Hi KVS team,
Following this doc Controlling Access to Kinesis Video Streams Resources Using AWS IoT, I successfully stream video to the thing name channel based on the following IAM policy
Resource: "arn:aws:kinesisvideo:*:*:stream/${credentails-iot:ThingName}/*"

However, it fails to send video to the corresponding channels if I change the policy to
Resource:
    - "arn:aws:kinesisvideo:*:*:stream/${credentails-iot:ThingName}_1/*"
    - "arn:aws:kinesisvideo:*:*:stream/${credentails-iot:ThingName}_2/*"

Is there a way to stream video to multiple different but specific channels?
Thanks.

@MushMal Could you please take a look at my question? Thanks.

@MushMal Could you please take a look at my question? Thanks.

I assume you are referring to a stream rather than a channel. Each IoT certificate can be used for a single stream resource as the stream corresponds to the thing name.
I would also recommend contacting your AWS technical account manager for these types of questions as we might have limited knowledge of the IAM/IoT

I assume you are referring to a stream rather than a channel. Each IoT certificate can be used for a single stream resource as the stream corresponds to the thing name.
I would also recommend contacting your AWS technical account manager for these types of questions as we might have limited knowledge of the IAM/IoT

Closing since the question is answered. Feel free to reopen if you have any more questions.

Closing since the question is answered. Feel free to reopen if you have any more questions.


show wrong tab

See this gif :

Same as #12.
Currently I'm looking 4 a solution. If you know how to fix it send me a pull request or use v1.1.0 meanwhile


gPTP: frdm_k64f : can not converge time

Describe the bug
we set up one pc and run https://github.com/Avnu/gptp.git I attached the windows package
Debug.zip
then we set up frdm_k64f board connect with PC though direct connect ethernet cable.
To Reproduce
Steps to reproduce the behavior:

mkdir build; cd build
cmake -DBOARD=frdm_k64f ..
make
make flash

Expected behavior
the time calculation complete and converged
Impact
PTP usage.
Logs and console output
[00:06:55.751,000] <wrn> net_gptp: Reset Pdelay requests
[00:06:56.756,000] <wrn> net_gptp: Reset Pdelay requests
[00:06:57.760,000] <wrn> net_gptp: Reset Pdelay requests
[00:06:58.764,000] <wrn> net_gptp: Reset Pdelay requests
[00:06:59.769,000] <wrn> net_gptp: Reset Pdelay requests
[00:07:00.773,000] <wrn> net_gptp: Reset Pdelay requests
[00:07:01.777,000] <wrn> net_gptp: Reset Pdelay requests
[00:07:02.782,000] <wrn> net_gptp: Reset Pdelay requests
[00:07:03.786,000] <wrn> net_gptp: Reset Pdelay requests
[00:07:04.790,000] <wrn> net_gptp: Reset Pdelay requests
[00:07:05.794,000] <wrn> net_gptp: Reset Pdelay requests
[00:07:06.799,000] <wrn> net_gptp: Reset Pdelay requests
[00:07:07.803,000] <wrn> net_gptp: Reset Pdelay requests
[00:07:08.807,000] <wrn> net_gptp: Reset Pdelay requests
[00:07:09.812,000] <wrn> net_gptp: Reset Pdelay requests
[00:07:10.816,000] <wrn> net_gptp: Reset Pdelay requests
[00:07:11.820,000] <wrn> net_gptp: Reset Pdelay requests
[00:07:12.825,000] <wrn> net_gptp: Reset Pdelay requests
[00:07:13.829,000] <wrn> net_gptp: Reset Pdelay requests
[00:07:14.833,000] <wrn> net_gptp: Reset Pdelay requests
[00:07:15.837,000] <wrn> net_gptp: Reset Pdelay requests
[00:07:16.842,000] <wrn> net_gptp: Reset Pdelay requests
[00:07:17.846,000] <wrn> net_gptp: Reset Pdelay requests
[00:07:18.850,000] <wrn> net_gptp: Reset Pdelay requests
[00:07:19.855,000] <wrn> net_gptp: Reset Pdelay requests
[00:07:20.859,000] <wrn> net_gptp: Reset Pdelay requests
[00:07:21.863,000] <wrn> net_gptp: Reset Pdelay requests
[00:07:22.868,000] <wrn> net_gptp: Reset Pdelay requests
[00:07:23.872,000] <wrn> net_gptp: Reset Pdelay requests

[00:00:00.003,000] <wrn> net_if: iface 0x20000f40 is down
[00:00:00.007,000] <inf> net_config: Initializing network
[00:00:00.007,000] <inf> net_config: Waiting interface 1 (0x20000f40) to be up...
[00:00:01.005,000] <wrn> net_gptp: Reset Pdelay requests
[00:00:01.008,000] <wrn> net_if: iface 0x20000f40 is down
[00:00:02.010,000] <wrn> net_gptp: Reset Pdelay requests
[00:00:02.012,000] <wrn> net_if: iface 0x20000f40 is down
[00:00:03.001,000] <inf> net_config: Interface 1 (0x20000f40) coming up
[00:00:03.001,000] <inf> eth_mcux: ETH_0 enabled 100M full-duplex mode.
[00:00:03.001,000] <inf> net_config: IPv4 address: <IP_ADDRESS>
[00:00:03.014,000] <wrn> net_gptp: Reset Pdelay requests
[00:00:03.102,000] <inf> net_config: IPv6 address: 2001:db8::1
uart:~$ net gptp 1
Port id    : 1 (DISABLED)
Interface  : 0x20000f40 [1]
Clock id   : 02:04:9f:ff:fe:31:96:09
Version    : 2
AS capable : no

Configuration:
Time synchronization and Best Master Selection enabled        : yes
The port is measuring the path delay                          : no
One way propagation time on the link attached to this port    : 0 ns
Propagation time threshold for the link attached to this port : 100000 ns
Estimate of the ratio of the frequency with the peer          : 1
Asymmetry on the link relative to the grand master time base  : %ld
Maximum interval between sync messages                        : %lu
Maximum number of Path Delay Requests without a response      : 3
Current Sync sequence id for this port                        : 24570
Current Path Delay Request sequence id for this port          : 50891
Current Announce sequence id for this port                    : 15514
Current Signaling sequence id for this port                   : 22146
Whether neighborRateRatio needs to be computed for this port  : yes
Whether neighborPropDelay needs to be computed for this port  : yes
Initial Announce Interval as a Logarithm to base 2            : 0
Current Announce Interval as a Logarithm to base 2            : 0
Initial Sync Interval as a Logarithm to base 2                : -4
Current Sync Interval as a Logarithm to base 2                : -4
Initial Path Delay Request Interval as a Logarithm to base 2  : 0
Current Path Delay Request Interval as a Logarithm to base 2  : 0
Time without receiving announce messages before running BMCA  : 1 ms (3)
Time without receiving sync messages before running BMCA      : %lu ms (1)
Sync event transmission interval for the port                 : %lu ms
Path Delay Request transmission interval for the port         : %lu ms
BMCA default priority1                                        : 248
BMCA default priority2                                        : 248

Runtime status:
Current global port state                                : DISABLED
Path Delay Request state machine variables:
Current state                                    : WAIT_RESP
Initial Path Delay Response Peer Timestamp       : %lu
Initial Path Delay Response Ingress Timestamp    : %lu
Path Delay Response messages received            : 0
Path Delay Follow Up messages received           : 0
Number of lost Path Delay Responses              : 3
Timer expired send a new Path Delay Request      : 0
NeighborRateRatio has been computed successfully : 0
Path Delay has already been computed after init  : 1
Count consecutive reqs with multiple responses   : 0
Path Delay Response state machine variables:
Current state                                    : INITIAL_WAIT_REQ
SyncReceive state machine variables:
Current state                                    : DISCARD
A Sync Message has been received                 : no
A Follow Up Message has been received            : no
A Follow Up Message timeout                      : no
Time at which a Sync Message without Follow Up
                             will be discarded   : %lu
SyncSend state machine variables:
Current state                                    : INITIALIZING
A MDSyncSend structure has been received         : no
The timestamp for the sync msg has been received : no
PortSyncSyncReceive state machine variables:
Current state                                    : DISCARD
Grand Master / Local Clock frequency ratio       : 0.000000
A MDSyncReceive struct is ready to be processed  : no
Expiry of SyncReceiptTimeoutTimer                : no
PortSyncSyncSend state machine variables:
Current state                                    : TRANSMIT_INIT
Follow Up Correction Field of last recv PSS      : %ld
Upstream Tx Time of the last recv PortSyncSync   : %lu
Rate Ratio of the last received PortSyncSync     : 0.000000
GM Freq Change of the last received PortSyncSync : 0.000000
GM Time Base Indicator of last recv PortSyncSync : 0
Received Port Number of last recv PortSyncSync   : 0
PortSyncSync structure is ready to be processed  : no
Flag when the half_sync_itv_timer has expired    : no
Has half_sync_itv_timer expired twice            : no
Has syncReceiptTimeoutTime expired               : no
PortAnnounceReceive state machine variables:
Current state                                    : RECEIVE
An announce message is ready to be processed     : no
PortAnnounceInformation state machine variables:
Current state                                    : POST_DISABLED
Expired announce information                     : yes
PortAnnounceTransmit state machine variables:
Current state                                    : POST_IDLE
Trigger announce information                     : no

Statistics:
Sync messages received                 : 0
Follow Up messages received            : 0
Path Delay Request messages received   : 0
Path Delay Response messages received  : 0
Path Delay messages threshold exceeded : 0
Path Delay Follow Up messages received : 0
Announce messages received             : 0
ptp messages discarded                 : 0
Sync reception timeout                 : 0
Announce reception timeout             : 0
Path Delay Requests without a response : 173
Sync messages sent                     : 0
Follow Up messages sent                : 0
Path Delay Request messages sent       : 174
Path Delay Response messages sent      : 0
Path Delay Response FUP messages sent  : 0
Announce messages sent                 : 0

pc side application output

Environment (please complete the following information):

OS: (e.g. Linux,)
Toolchain (e.g Zephyr SDK, ...)
Commit SHA or Version used: a8a92ce59276d9bc4000eb34ae622e827863ffb9

@mmahadevan108 , @MaureenHelm

I see this issue in release 2.3 as well.

@mmahadevan108 , you can assign to me, as I have better SDK team support.

I find this is not dirver issue, as from wireshark, I can see the ptpv2 package, the problem now is that:

connect board to PC
PC is running the gptp application, and its in master mode keep sending sync package, but no pdelay followup send. the board is running in DISABLED, with no pdelay follow up resp send, then it keeps resend pdelay package.
connect two frdmk64 board, the two board both switch to master mode, and sending sync package.
connect frdmk64f with mimxtr1060_evk, the behaviour is the same as connect frdmk64 to PC.

so I guess there are some state machine confliction while connection with different accuracy timer instance.


Use generic type for load_tapes

With this fix, the returned type annotation of load_tapes matches the first argument. Otherwise, it would be annotated as generic Tape type.
 tapes: list[FormFillerTape] = load_tapes(FormFillerTape, input_dialogues_path)

Replaced with #107


Merge prTesting_201908060901 branch to master branch

Docs Build status updates of commit 44dcb3b:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details
Dependent Files

split/updateTestRef.md
:white_check_mark:Succeeded

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


[easy] remove reference to hh_single_type_check in release notes

It's primarily a testing/development tool for Hack itself, and not
included in our packages, or by 'make install'.

Additionally, --patches is incomplete, and has been renamed to --rewrite


How to add an event on the calendar?

It looks like this is a private agenda injected as an iframe on our code. Could we somehow enable more people to edit it?
For example, I already see some potential for a few additional events (e.g. World Metrology Day, Adopt-a-JSR Day for Utrecht JUG, etc.).

You need a Google Calendar, but I'm not sure, if this can be shared like Google Docs with others to edit. The calendar is for UoM only, not a private calendar.

It seems the only way with Google Calendar is to invite other guests who are able to edit an event. Just did it for the adopt event.


error - PHP could not be spawned

please help me to solve this error in atom

please see the image above to see the error and please help me

Thanks for reaching out!  I think that error is coming from a community package e.g. one of these PHP auto-complete packages perhaps?

https://github.com/Azakur4/autocomplete-php/issues/11
https://github.com/Peekmo/atom-autocomplete-php/issues/305

Since the issue is coming from a community package, you should open an issue for that repository if one doesn't exist already.
Additionally, for future issues it would be super helpful if you can fill out the issue template, it provides a lot of useful baseline information for us when triaging issues.


support the ';' line separator character, aka statement separator

I'm now trying to send more smaller PRs - this is the first one that moves us towards being able to assemble all the currently skipped examples from the binutils-esp32ulp test suite (to resolve #49).
The esp32ulp_all.s code has a nop; statement in it, and this commit adds support for the ; which functions as a statement separator. (See the commit message of ce005e3 for more detail).
Side-note: Currently, due to the way labels are handled/detected, there must be a space between a ; and the next statement, if there is another statement on the same line. The way labels are handled is another thing to be fixed (see esp32ulp_all.s:2, where a statement follows the colon without whitespace), so a future commit may address that issue.

LGTM, merged!


NB1: Perhaps a figure at the end of joint/conditional distribution?

It's this figure:

Minus the "marginal distribution" portion.

great idea!

Added in https://github.com/ericmjl/bayesian-stats-modelling-tutorial/commit/9976277f8fa5d695138697b6e840a66b2267cfdc


File size increasing 10 times after registrations

Hello,
The file size of the registration image using VALIS is almost 10 times larger than the original WSI. I checked the source code of VALIS, but could not find the cause.
e.g.
Original (ndpi format): 2.7GB ---> Registration (ome.tiff format): 26.3GB
I have two questions.

Is there an optional argument for VALIS to solve this problem?
Is it possible to resize them when saving registration images to reduce image size?

The code used to run the program is as follows
registrar = registration.Valis(
        src_dir=None,
        dst_dir=save_path,
        name=name,
        img_list=img_list,
        reference_img_f=reference_slide,
        align_to_reference=True,
)
rigid_registrar, non_rigid_registrar, error_df = registrar.register()
registrar.warp_and_save_slides(
        dst_dir=save_path,
        crop='reference',
)

Best regards,

Yikes, that is a big difference! Since you're cropping the new image to have to the reference image's shape, the new WSI should have a similar file size as the reference image. This makes me think the larger file size may be due to the image compression method. The default is lzw compression, but perhaps jpeg compression would be better? Valis uses pyvips to save the images, and so a full list of the compression methods can be found here. To use a different compression method, just set  compression="jpeg" (or whichever method you prefer) when calling registrar.warp_and_save_slides.
Regarding your second question, yes, it is possible to reduce the image size before saving. There are actually several ways this could be done. The easiest way would be to set the the level argument when calling registrar.warp_and_save_slides, where level is the pyramid level resolution, so 0 is the full size image, and larger values will get lower resolution images. You can see how many pyramid levels there are, and the size of each one, by looking at each Slide object's slide_dimensions_wh attribute (the Slide objects can be accessed in the Valis object's slide_dict attribute). Alternatively, if you'd like more control over the size of each image, then you could resize each registered image before saving, but this would need to be done outside registrar.warp_and_save_slides, and you would also need to create the ome-xml for each image before saving as an ome.tiff. If you're interested in this approach, I can put together some example code for you. I would normally just do it, but I'm in the process of setting up a new laptop and so it might take a little longer to get it to you. Still happy to put it together if you're interested though.
Best,
Chandler


Contact us -> Book demo

📝 Changed routes:

/account-abstraction
/contact-us

(view full size)
(view full size)

Commit f0747e18dff49f851e54996f1f62ca1c64c5de2f (https://thirdweb-qxprdrvbt.thirdweb-preview.com).


How to get the final HDR image for visualization?

Is the code
img = io.imread_uint16_png(img_path, alignratio_path)
img = np.clip(np.tanh(img), 0, 1) * 255
img = img.round().astype(np.uint8)
cv2.imwrite(save_path, cv2.cvtColor(img, cv2.COLOR_RGB2BGR))

enough for converting output to HDR image?

@CaptainEven Hello, if your data are paired, you can use the μ-law tone-mapping provided by the competition organizer (we also use this tone-mapping method in this repo). Otherwise, you should use the tone-mapping algorithms without reference for visualization. The abovementioned script is only used for an approximate visualization.

@chxy95 Thanks for the replying!


Syntax highlighting issue for swift inline comment in a markdown code block with indention

Issue Type: Bug

create a markdown file, with .md file extension
type in a swift code block begin with indention, for example, within a list item. (check example content below)
type in an inline comment start with //, now all code line behind that line would be rendered as comment.
remove the indention before code block marker of ```, you should see a different highlighting, which is the expecting way for inline comment.

===example content begin===
- list item
- list item
- list item with a code block
  ```swift
  var linebefore = 1
  //inline comment cause all code below highlighted as comment
  var lineafter = 1
  ```

===example content end===
VS Code version: Code 1.55.0 (c185983a683d14c396952dd432459097bc7f757f, 2021-03-30T16:01:05.981Z)
OS version: Darwin x64 20.3.0

This seems like another example of https://github.com/microsoft/vscode/issues/34525


Feature Request: STFT

Backpropagatable STFT(short time fourier transform) is used in Parallel WaveNet[1] and other papers like [2]. Chainer has backpropagatable FFT function(#4241). So we have to implement window function and hopping. Do you have plan to support STFT?
[1] OORD, Aaron van den, et al. Parallel WaveNet: Fast High-Fidelity Speech Synthesis. arXiv preprint arXiv:1711.10433, 2017.
[2] CHOROWSKI, Jan, et al. On Using Backpropagation for Speech Texture Generation and Voice Conversion. arXiv preprint arXiv:1712.08363, 2017.

Thank you for the request. Currently we have no concrete plan to implement STFT, but it is nice to have one in Chainer. We really appreciate for such contributions.


Bounding box move down (in the y axis) by one pixel when mouse is released to draw

Using latest master code

I am also facing this issue. It is quite frustrating to use.

@meatball-guy Any suggestion for better tools?

I also got this problem.
When you want to label some small objects, the box will shift down or shift right by one pixel.
Steps to reproduce:

Using Crtl + Wheel zoom in to max scale.
Using Crtl + Wheel zoom out 9 times.
Press "w" to draw a box.
When you release the mouse you should see the shift.

And I traced the bug a little bit.
I think it may caused by different drawing functions labelimg using while/after creating the box.
Before you release you mouse left button, the shape is not add to canvas.shapes list yet. So canvas class draws the box using p.drawRect(leftTop.x(), LeftTop.y(), rectWidth, rectHeight)
However after the the mouse is release, the shape is insert to canvas.shapes. And canvas will call each shape's own paint() function to draw the box. In shape.paint(), it using QpainterPath API to draw the the vertex and lines separately. These two functions may have different behaviors.
I hope somebody familiar with QT can look into this issue.

Is there a solution later? I download from July's version.

I found that this happens when the viewing ratio ends at 1, 2, 6 and 7. But I don't know how can solve this problem.

I found that this happens when the viewing ratio ends at 1, 2, 6 and 7. But I don't know how can solve this problem.

I think it's ok.
def addZoom(self, increment=10):
    zoom_adj=str(self.zoomWidget.value() + increment)
    if zoom_adj[-3]=='1' or zoom_adj[-3]=='2' or zoom_adj[-3]=='6' or zoom_adj[-3]=='7':
        self.setZoom(self.zoomWidget.value() + increment + 1)
    else:
        self.setZoom(self.zoomWidget.value() + increment)


header has a value 'null' that is not equal to the supplied origin.

Hello,
I've got the lastest version of webview plugin.
I'm using ionic 3.
I created a custom hostname and allow-origin :
    <preference name="Hostname" value="my-app" />
    <allow-navigation href="http://my-app/*" />

And I got this message :

Access to XMLHttpRequest at 'http://<IP_ADDRESS>/api/v1/get/page/1' from origin 'http://my-app' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: The 'Access-Control-Allow-Origin' header has a value 'null' that is not equal to the supplied origin.

The CORS rules are fine. If i use the default http://localhost it works.
I don't know why i have has a value **'null'** . What can cause the value to be null ?
thanks

Nobody ?

I'm sorry the error was from my server, I had to authorize http://my-app, but it happens just after my upgrade of webview plugin this is why I thought it was related.


[Question]: Connection closed

Your question
Hello! I am using .net core with mstest I want to add generic function to create the page to reuse in multiple pages
Sample generic function
        public async Task<IPage> GetPageAsync()
        {
            using var playwright = await Playwright.CreateAsync();
            _browser = await playwright.Chromium.LaunchAsync(new BrowserTypeLaunchOptions { Headless = false });
            var page = await _browser.NewPageAsync();
            return page;
        }

and I am trying to use like here
       [TestMethod]
        [DataRow("standard_user", "secret_sauce")]
        public async Task Login_WithValidUser_NavigatesToProductPageAsync(string user, string password)
        {
            //Arrange
            var page = await GetPageAsync();
            LoginPage loginTests = new LoginPage(page);

but I got an exception
Test method sauceDemo.Pages.LoginTests.Login_WithValidUser_NavigatesToProductPageAsync threw exception:
Microsoft.Playwright.PlaywrightException: Connection closed (Connection disposed) when I tried to access any element in the page

That's not going to work, as you're disposing playwright after leaving the GetPageAsync method.
We haven't provided the docs for it yet, but I'd strongly recommend using the Playwright.MSTest package. Here's an example of how to use it: https://github.com/microsoft/playwright-dotnet/blob/main/src/Playwright.TestingHarnessTest/SimpleSmokeTests.MSTest.cs
If you ~want~ need to roll your own, you can follow our pattern https://github.com/microsoft/playwright-dotnet/blob/main/src/Playwright.MSTest/PlaywrightTest.cs#L56

Do you have a sample with the POM? with the samples is not clear for me how setup the test with different browsers, and is different to the POM sample


Flex 3007 Convert ProtocolSequenceNumber fitnesse tests to cucumber

test this please

retest this please

retest this please

This pull request makes the build fail.

retest this please

This pull request makes the build fail.

Retest this please

retest this please

This pull request makes the build fail.

This pull request makes the build fail.

This pull request makes the build fail.

This pull request makes the build fail.

This pull request makes the build fail.

This pull request makes the build fail.

This pull request makes the build fail.

This pull request makes the build fail.

This pull request makes the build fail.

This pull request makes the build fail.

retest this please

All is well.


helpers: use <IP_ADDRESS> instead of localhost

Changes the output text for a successful running site from using
https://localhost:5000 to https://<IP_ADDRESS>:5000, making it consistent
with output from Flask. Also, Safari is not happy to go to localhost
with SSL and changing certificates.

Coverage increased (+0.04%) to 78.107% when pulling 6a3c4f3295d41cee1d6e58bcc62cb663fa9f2c37 on lnielsen:text-fix into 73ecbf63ddf3a74bccff49ece8d32d8774b5f507 on inveniosoftware:master.

Coverage increased (+0.04%) to 78.107% when pulling 6a3c4f3295d41cee1d6e58bcc62cb663fa9f2c37 on lnielsen:text-fix into 73ecbf63ddf3a74bccff49ece8d32d8774b5f507 on inveniosoftware:master.

Close in favour of #136


ArchivedCString and CStr cannot be validated

These types can be serialized and deserialized just fine, but they can't be validated. This is blocked by some missing impls in bytecheck.

Fixed by 4da0675f47b2e4053826a8266751ff7f0431e48d


can't find libtinfo.so.6  when install kernel-collector

What happened?
Description
It doesn't work, when I try to install rpm packege
libtinfo.so.6(NCURSES6_TINFO_5.0.19991023)(64bit) is needed by opentelemetry-ebpf-kernel-collector-0.10.2-1.x86_64

Steps to Reproduce
rpm -ivh opentelemetry-ebpf-kernel-collector-0.10.2-1.x86_64.rpm

ll /usr/lib64  | grep libtinfo.so
lrwxrwxrwx.  1 root root       15 Feb 10  2022 libtinfo.so.6 -> libtinfo.so.6.2
-rwxr-xr-x.  1 root root   191616 Feb 10  2022 libtinfo.so.6.2

Expected Result
how to install rpm package?
Actual Result
eBPF Collector version
0.10.2-1.x86_64
Environment information
Environment
Almalinux 5.14.0-284.30.1.el9_2.x86_64
eBPF Collector configuration
No response
Log output
error: Failed dependencies:
	libtinfo.so.6(NCURSES6_TINFO_5.0.19991023)(64bit) is needed by opentelemetry-ebpf-kernel-collector-0.10.2-1.x86_64

Additional context
No response

Hi @evanzhang87. This should ideally work out of the box.. Can you verify your LD_LIBRARY_PATH contains the directory that holds the shared library? Or add it with
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib64

(NB: the command above might contain typos, have not tested)

It doesn't works.  😩
env | grep LD_LIBRARY_PATH
LD_LIBRARY_PATH=/usr/lib64
rpm -i opentelemetry-ebpf-kernel-collector-0.10.2-1.x86_64.rpm
error: Failed dependencies:
	libtinfo.so.6(NCURSES6_TINFO_5.0.19991023)(64bit) is needed by opentelemetry-ebpf-kernel-collector-0.10.2-1.x86_64

ldd -v /usr/lib64/libtinfo.so.6
	linux-vdso.so.1 (0x00007ffc655f1000)
	libc.so.6 => /usr/lib64/libc.so.6 (0x00007f036ca00000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f036cc78000)

	Version information:
	/usr/lib64/libtinfo.so.6:
		libc.so.6 (GLIBC_2.3) => /usr/lib64/libc.so.6
		libc.so.6 (GLIBC_2.14) => /usr/lib64/libc.so.6
		libc.so.6 (GLIBC_2.33) => /usr/lib64/libc.so.6
		libc.so.6 (GLIBC_2.16) => /usr/lib64/libc.so.6
		libc.so.6 (GLIBC_2.4) => /usr/lib64/libc.so.6
		libc.so.6 (GLIBC_2.3.4) => /usr/lib64/libc.so.6
		libc.so.6 (GLIBC_2.2.5) => /usr/lib64/libc.so.6
	/usr/lib64/libc.so.6:
		ld-linux-x86-64.so.2 (GLIBC_2.2.5) => /lib64/ld-linux-x86-64.so.2
		ld-linux-x86-64.so.2 (GLIBC_2.3) => /lib64/ld-linux-x86-64.so.2
		ld-linux-x86-64.so.2 (GLIBC_PRIVATE) => /lib64/ld-linux-x86-64.so.2

Maybe my lib has some problems?

I'm relying on some web searches so this might be completely wrong. But this might be caused by your libtinfo not containing NCURSES6 info. It seems that:
From this comment:

Most Linux distributions have standardized on providing libtinfo.so.6 (either directly or as a symlink to libncursesw.so.6).

If you don't have libncurses, maybe installing it would help (sudo apt-get install libncurses6). If it's installed, maybe symlinking libtinfo as in the comment above might help (you probably want to make the change reversible as you test.
Another option is to build the RPM for AlmaLinux specifically, happy to review a PR for that.

I try to run with docker, it reports a new error.
CONTAINER ID  IMAGE                                              COMMAND               CREATED        STATUS                      PORTS       NAMES
98d2632cbe34  docker.io/otel/opentelemetry-ebpf-reducer:v0.10.2  --port 8000 --pro...  6 seconds ago  Exited (139) 5 seconds ago              reducer
[root@iZuf68ovynt5bsqnddfe9wZ ~]# docker logs 98d2632cbe34
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
+ [[ ! -e ./debug-info.conf ]]
+ install_dir=/srv
+ reducer=/srv/opentelemetry-ebpf-reducer
+ data_dir=/var/run/ebpf_net
+ dump_dir=/var/run/ebpf_net/dump
+ mkdir -p /var/run/ebpf_net /var/run/ebpf_net/dump
+ '[' -n '' ']'
+ '[' -n '' ']'
+ exec /srv/opentelemetry-ebpf-reducer --port 8000 --prom <IP_ADDRESS>:7010
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
[root@iZuf68ovynt5bsqnddfe9wZ ~]# uname -r
5.14.0-70.17.1.el9_0.x86_64
[root@iZuf68ovynt5bsqnddfe9wZ ~]# cat /proc/version
Linux version 5.14.0-70.17.1.el9_0.x86_64 (mockbuild@6ca68ce3fdd54b118cd3e494113faf16) (gcc (GCC) 11.2.1 20220127 (Red Hat 11.2.1-9), GNU ld version 2.35.2-17.el9) #1 SMP PREEMPT Tue Jun 28 14:55:40 EDT 2022

Looks like memory allocation failed. Are you running on a system with high memory pressure?

also just a note that it seems like running loaded libtinfo successfully from the container -- it would have failed earlier if there was a problem with libtinfo.
And another question -- seems like you ran the docker image of the reducer, not the kernel collector? asking because the original issue was with the kernel collector...

另外请注意，似乎从容器成功运行加载的 libtinfo —— 如果 libtinfo 出现问题，它会更早失败。
还有另一个问题——好像你运行的是reducer的docker镜像，而不是内核收集器？询问是因为最初的问题与内核收集器有关......

Kernel-collector works well with docker, and this is my memory usage.
[root@iZuf68ovynt5bsqnddfe9wZ ~]# docker ps -a
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
CONTAINER ID  IMAGE                                                       COMMAND               CREATED        STATUS                           PORTS       NAMES
98d2632cbe34  docker.io/otel/opentelemetry-ebpf-reducer:v0.10.2           --port 8000 --pro...  2 weeks ago    Exited (139) About a minute ago              reducer
c27521ffed92  docker.io/otel/opentelemetry-ebpf-kernel-collector:v0.10.2                        7 seconds ago  Up 7 seconds                                 kernel-collector
[root@iZuf68ovynt5bsqnddfe9wZ ~]# free -m
               total        used        free      shared  buff/cache   available
Mem:            1774         491         453           2         830        1110
Swap:              0           0           0
[root@iZuf68ovynt5bsqnddfe9wZ ~]# docker logs reducer
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
+ [[ ! -e ./debug-info.conf ]]
+ install_dir=/srv
+ reducer=/srv/opentelemetry-ebpf-reducer
+ data_dir=/var/run/ebpf_net
+ dump_dir=/var/run/ebpf_net/dump
+ mkdir -p /var/run/ebpf_net /var/run/ebpf_net/dump
+ '[' -n '' ']'
+ '[' -n '' ']'
+ exec /srv/opentelemetry-ebpf-reducer --port 8000 --prom <IP_ADDRESS>:7010
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
+ [[ ! -e ./debug-info.conf ]]
+ install_dir=/srv
+ reducer=/srv/opentelemetry-ebpf-reducer
+ data_dir=/var/run/ebpf_net
+ dump_dir=/var/run/ebpf_net/dump
+ mkdir -p /var/run/ebpf_net /var/run/ebpf_net/dump
+ '[' -n '' ']'
+ '[' -n '' ']'
+ exec /srv/opentelemetry-ebpf-reducer --port 8000 --prom <IP_ADDRESS>:7010
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc

It doesn't works. 😩
env | grep LD_LIBRARY_PATH
LD_LIBRARY_PATH=/usr/lib64
rpm -i opentelemetry-ebpf-kernel-collector-0.10.2-1.x86_64.rpm
error: Failed dependencies:
	libtinfo.so.6(NCURSES6_TINFO_5.0.19991023)(64bit) is needed by opentelemetry-ebpf-kernel-collector-0.10.2-1.x86_64

ldd -v /usr/lib64/libtinfo.so.6
	linux-vdso.so.1 (0x00007ffc655f1000)
	libc.so.6 => /usr/lib64/libc.so.6 (0x00007f036ca00000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f036cc78000)

	Version information:
	/usr/lib64/libtinfo.so.6:
		libc.so.6 (GLIBC_2.3) => /usr/lib64/libc.so.6
		libc.so.6 (GLIBC_2.14) => /usr/lib64/libc.so.6
		libc.so.6 (GLIBC_2.33) => /usr/lib64/libc.so.6
		libc.so.6 (GLIBC_2.16) => /usr/lib64/libc.so.6
		libc.so.6 (GLIBC_2.4) => /usr/lib64/libc.so.6
		libc.so.6 (GLIBC_2.3.4) => /usr/lib64/libc.so.6
		libc.so.6 (GLIBC_2.2.5) => /usr/lib64/libc.so.6
	/usr/lib64/libc.so.6:
		ld-linux-x86-64.so.2 (GLIBC_2.2.5) => /lib64/ld-linux-x86-64.so.2
		ld-linux-x86-64.so.2 (GLIBC_2.3) => /lib64/ld-linux-x86-64.so.2
		ld-linux-x86-64.so.2 (GLIBC_PRIVATE) => /lib64/ld-linux-x86-64.so.2

Maybe my lib has some problems?

@evanzhang87 does this issue solved? I have the same issue with you!

I recommend running the docker images, since contributions to the project have mostly focused on them..


⚠ Processors has degraded performance

In f0eaba0, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 65 ms

Resolved: Processors performance has improved in cda41c6.


pubInfos are allowed to be null

if (pubInfos != null) {
v.add(pubInfos);
}
See https://tools.ietf.org/html/rfc4211#section-6.3
https://github.com/bcgit/bc-java/blob/e04ee7fd0aba1427f300b2675adc9b016d854c05/core/src/main/java/org/bouncycastle/asn1/crmf/PKIPublicationInfo.java#L77

Thanks for the report, fixed as part of 397.


Updating-Details- Headwindsim.HeadwindInstaller 1.3.2

Something validation-error on #103890. Which is caused by x86.

Microsoft Reviewers: Open in CodeFlow

Hello @BrandonWanHuanSheng,
The package manager bot determined that the metadata was not compliant.
Please verify the manifest file is compliant with the package manager 1.4 manifest specification. Make sure the ID is of the form publisher.appname and that the folder structure is manifests\partition\publisher\appname\version. Note: The path and "PackageIdentifier" are case sensitive. Be sure to use a tool like VSCode to make sure the manifest YAML syntax is correct.
You could also try our Windows Package Manager Manifest Creator or the YamlCreate script.
For details on the specific error, see the details link below in the build pipeline.
Template: msftbot/validationError/manifest/metadata

It look like I still fixing


[backport] Refactor array testing decorators

Backport of #2818

[automatic post] Jenkins, test this please.

Jenkins CI test (for commit 21bf3388a379ed387723e8aeea64841c66567143, target branch v7) succeeded!

LGTM


How can i inject a bean to my own Validator implementation?

Hello community,
I'm facing a problem when i trying to implement my own validator.
I needed inject a spring-managed bean to my own Validator impl, tried the setter-way like what i did with custom filter but no luck.
Thanks.
openjdk 11
dubbo 3.0.7

Is your application run with dubbo-config-spring or dubbo-spring-boot-starter? If so, Dubbo will try to inject field from spring context.
org.apache.dubbo.config.spring.extension.SpringExtensionInjector


Update checkboxes for filtering for qualifications [WIP]

Screenshot (WIP)

Checkboxes updated:

Latest pass:

Some variations of the filter on the left of the results page:


Raster.crop does not reproject the bounding box of a Raster object provided as cropGeom

It's all in the title! I'm not sure why this behaviour would be intended?
We should create a polygon of the bounding box and reproject it to the same crs than Raster before cropping.

New bug related to this: if a Vector is provided as cropGeom in a different CRS, the Vector is not reprojected to the same CRS as the Raster and so the cropping fails.


Better and responsive UI for the Homepage.

I have completed the issue assigned to me #18, Please review it and accept it after adding all the labels.
Below are the Images of new UI, the footer is not visible in the ss but they are down below.

hey @Ayush215mb , There is an issue with your PR. Every time a new password is generated, the page reloads, which did not happen previously.

I haven't changed any function syntax but still I will look into it.

@jinx-vi-0 check it now, I have added event.preventdefault in the generate password function which was missing before.
Now it will not get refreshed on clicking.

@jinx-vi-0 also don't forget to add the labels here, in the hacktober website this PR is still showing not participating so please add it before merging.
I already got my one merged PR wasted because the owner hadn't added labels so hacktober didn't count that, so please do it here before merging.

@jinx-vi-0 can you tell me the issues??

Please review the recently closed issue. Most of the mentioned issues arose after your pull request.

issue #52 I can understand as I didn't checked that it was animation so i have added save icon instead of the previous one.
issue#51 is not true, after clicking on the generate password the generated password is written on the password field so anyone can write it .


add user to a room

how to add a new user to a room? thanks

I guess we need the update room method. You want to make a PR?

got it, thanks

Released in v1.5.2.


Dark and Light Mode[GSSoC'23]

Dark and Light Mode Option should be given.
Please assign this to me
Under GSSoC'23

please assign me this issue I have knowledge of this functionality.

Please assign me this Issue, I have done it in my projects, I can do this

kindly send me the updated UI image to look at so I can better decide whom to assign and the conversation is moving to #10


Do closed task more appreciable

Hello again :)
Could you do closed tasks more appreciable ?
I attached screenshot with current situation
Strikethrough line almost invisible.
Thanks in advance,

I think fbae203 should do it :wink:


Update French translations to make them more consistent

Hi! Just discovered about your app and it looks awesome :-)
I've tweaked the French translations so as to make them more consistent (usage of "you" plural vs singular, consistently use the same word for a given translation) and to use more idiomatic sentences. Hope that's useful!
Keep up the good work :muscle:

@surli thanks for much! Please see https://github.com/mrzmyr/pixy-mood-tracker-app/discussions/202


08/14/2018 03:52 : Create Pull Request for branch master -> prTesting1_2018081403

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/updateTestCon1.md
:white_check_mark:Succeeded

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


Better floating fieldset management

Some form fields are taller than others which creates disjointed placement when they are floated in CSS. It might be worth halving each form array and rendering both splits as parent floats rather than applying a float directly on the form fields themselves.

Not sure about doing it this way ^. I think there should be some expectation that fields are adjacent to one another.


[HELP REQUIRED] in logging request

I am new to Golang and exploring Krakend.
I am trying to log the complete request and response payloads but am not able to do so.
This is my krakend.json
{
  "version": 2,
  "extra_config": {
    "github_com/devopsfaith/krakend-gologging": {
      "level": "INFO",
      "prefix": "[KRAKEND]",
      "syslog": true,
      "stdout": true,
      "format": "logstash"
    },
    "github_com/devopsfaith/krakend-metrics": {
      "collection_time": "60s",
      "proxy_disabled": false,
      "router_disabled": false,
      "backend_disabled": false,
      "endpoint_disabled": false,
      "listen_address": ":8090"
    }
  },
  "timeout": "10000ms",
  "cache_ttl": "300s",
  "output_encoding": "json",
  "name": "gtest",
  "port": 8002,
  "endpoints": [
    {
      "endpoint": "/v2/xyz/details/{id}",
      "method": "GET",
      "extra_config": {},
      "output_encoding": "json",
      "concurrent_calls": 1,
      "querystring_params": [
        "*"
      ],
      "headers_to_pass": [
        "*"
      ],
      "backend": [
        {
          "url_pattern": "/v2/xyz/details/{id}",
          "encoding": "json",
          "sd": "static",
          "extra_config": {},
          "host": [
            "https://api.mysite.com"
          ],
          "disable_host_sanitize": true
        }
      ]
    }
  ]
}

Logs
Sysout:
[GIN] 2019/10/09 - 17:47:24 | 200 |  8.610076523s |       <IP_ADDRESS> | GET      /v2/xyz/details/12345678?_ab=987654
Syslog:
Oct  9 17:44:57 My-MacBook-Pro krakend[10352]: {"@timestamp":"900-10-09T17:44:57.155+00:00", "@version": 1, "level": "WARNING", "message": "{"@timestamp":"2019-10-09T17:44:57.155014+05:30","@version":1,"host":"localhost","level":"WARNING","message":"unable to create the usage report client: Post https://usage.krakend.io/session: context deadline exceeded","module":"[KRAKEND]"}", "module": "KRAKEND"}
I am not able to find the details in documentation.

hi @pardhasm
first of all, the logger does not inspect the request and responses the gateway is dealing with.
there is a component (https://github.com/devopsfaith/krakend-spew) for doing that on custom builds, but it's not included into the CE due its huge impact on performance.
when you need to do this kind of inspection on production, I'd suggest you to use tcpdump.
I'm closing this due duplication with https://github.com/devopsfaith/krakend-ce/issues/65

@kpacha can you please help with any resources for using tcpdump . I'm new to both krakend and Golang.
Currently
[GIN] 2019/10/09 - 17:47:24 | 200 | 8.610076523s | <IP_ADDRESS> | GET /v2/xyz/details/12345678?_ab=987654  is being logged.
Can any other details be added to this? (Headers, keys, etc.,)

tcpdump is a network tool not related with krakend or golang
some examples: https://sites.google.com/site/jimmyxu101/testing/use-tcpdump-to-monitor-http-traffic
for a more detailed article: https://www.middlewareinventory.com/blog/tcpdump-capture-http-get-post-requests-apache-weblogic-websphere/
cheers!

@kpacha Thanks for the info. Do we have anything similar to https://docs.konghq.com/hub/kong-inc/syslog/#log-format

you can't do that with just enabling the logger component, but you can use the tracing feature (https://www.krakend.io/docs/logging-metrics-tracing/tracing/). Such feature supports the logger as an exporter for both metrics and traces

Thank you. Will try and get back

@kpacha Tried enabling logger. My kraken.json below
"version": 2,
"extra_config": {
"github_com/devopsfaith/krakend-gologging": {
"level": "DEBUG",
"prefix": "[KRAKEND]",
"syslog": true,
"stdout": true,
"format": "logstash"
},
"github_com/devopsfaith/krakend-metrics": {
"collection_time": "60s",
"proxy_disabled": false,
"router_disabled": false,
"backend_disabled": false,
"endpoint_disabled": false,
"listen_address": ":8090"
},
"github_com/devopsfaith/krakend-opencensus": {
"sample_rate": 100,
"reporting_period": 1,
"exporters": {
"logger": {}
}
},
"github_com/devopsfaith/krakend-logstash": {
"enabled": true
}
},
"timeout": "3000ms",
"cache_ttl": "300s",
"output_encoding": "json",
"name": "gtest",
"port": 8002,
"endpoints": [
{
"endpoint": "/v2/xyz/details/{id}",
"method": "GET",
"extra_config": {
"github.com/devopsfaith/krakend-ratelimit/juju/router": {
"maxRate": 0,
"clientMaxRate": 0,
"strategy": "ip"
}
},
"output_encoding": "no-op",
"concurrent_calls": 1,
"querystring_params": [
""
],
"headers_to_pass": [
""
],
"backend": [
{
"url_pattern": "/v2/xyz/details/{id}",
"encoding": "no-op",
"sd": "static",
"extra_config": {},
"host": [
"https://api.mysite.com"
],
"disable_host_sanitize": true
}
]
}
]
}
I'm running krakend on mac.
Sysout :
[GIN] 2019/10/10 - 11:58:17 | 200 |  121.874818ms |             ::1 | GET      /v2/xyz/details/8362541147651098A?_dc=1570618769954
Syslog :
Oct 10 11:56:41 Pardhas-MacBook-Pro krakend[2480]: {"@timestamp":"1000-10-10T11:56:41.419+00:00", "@version": 1, "level": "DEBUG", "message": "{"@timestamp":"2019-10-10T11:56:41.419276+05:30","@version":1,"host":"localhost","level":"DEBUG","message":"CEL: no extra config detected for pipe /v2/cam/details/:id","module":"[KRAKEND]"}", "module": "KRAKEND"}
Oct 10 11:56:41 Pardhas-MacBook-Pro krakend[2480]: {"@timestamp":"1000-10-10T11:56:41.419+00:00", "@version": 1, "level": "INFO", "message": "{"@timestamp":"2019-10-10T11:56:41.419349+05:30","@version":1,"host":"localhost","level":"INFO","message":"JOSE: singer disabled for the endpoint /v2/cam/details/:id","module":"[KRAKEND]"}", "module": "KRAKEND"}
Oct 10 11:56:41 Pardhas-MacBook-Pro krakend[2480]: {"@timestamp":"1000-10-10T11:56:41.419+00:00", "@version": 1, "level": "INFO", "message": "{"@timestamp":"2019-10-10T11:56:41.419377+05:30","@version":1,"host":"localhost","level":"INFO","message":"JOSE: validator disabled for the endpoint /v2/cam/details/:id","module":"[KRAKEND]"}", "module": "KRAKEND"}
Not sure what I am missing

@pardhasm Have you found a solution yet?


SmolLM family

https://huggingface.co/collections/HuggingFaceTB/smollm-6695016cad7167254ce15966
tried to add this myself, kept running into issues:

prompt template didn't work so I tried quantising with llama.cpp because maybe this is an issue with ollama auto-quantising
here was my NOT WORKING prompt template for anyone trying:

<|im_start|>user
{{ .Prompt }}<|im_end|>
<|im_start|>assistant

llama.cpp didn't work because the model page doesn't have a tokenizer.model file
Anyone more experienced than me, please help :sob:

Also, the HF page recommends using the following parameters:
PARAMETER temperature 0.6
PARAMETER top_p 0.92

it seems that the HF inference on all of their model pages is broken...

This is roughly the same output I was getting with the chatMl prompt template (which I gave above)

I'm looking at adding this model to the library at the moment. It can convert and run using the Ollama conversion. Here is how I ran it:

Download the weights from HuggingFace.
Create a Modelfile in the repo directory that I just downloaded:

FROM .
PARAMETER stop <|im_start|>
PARAMETER stop <|im_end|>
PARAMETER temperature 0.6
PARAMETER top_p 0.92

TEMPLATE """{{ if .System }}<|im_start|>system
{{ .System }}<|im_end|>
{{ end }}{{ if .Prompt }}<|im_start|>user
{{ .Prompt }}<|im_end|>
{{ end }}<|im_start|>assistant
{{ .Response }}<|im_end|>
"""

Use the Ollama CLI to convert:

ollama create -f Modelfile smollm

Run the model:

ollama run smollm

The model seems to be trained for very specific instructions in its instruct form:
> hello
Let $a,b \in (0,\infty)$ and $f$ be defined as: $$ f(x) = \begin{cases} x^{-1/2}\ln(1+ax^2) & \text{if } x>0 \\ 0 & \text{if } x=0 \end{cases}$$

The derivative of $f$ is given by: $$ f'(x) = \begin{cases} -\frac{a}{4}x^{-3/2}\ln(1+ax^2)+\frac{1}{2}(1+ax^2)\frac{2x}{1+ax^2} & \text{if } x>0 \\ 0 & \text{if } x=0
\end{cases}$$

The second derivative of $f$ is: $$ f''(x) = \begin{cases}
-\frac{3a}{8}\left(\ln(1+ax^2)-\frac{1}{ax^2}\right)+\frac{5}{4}(1+ax^2)\left(\frac{1-x^2}{ax^4}-2+\frac{7}{9}a\right) & \text{if } x>0 \\ 0 & \text{if } x=0 \end{cases}$$

The second derivative of $f$ is not equal to zero for all values of $x$. In fact, the second derivative has a local minimum at $x=-\frac{\ln(3)}{2a}$.

>>> List the steps to bake a chocolate cake from scratch.
Steps to bake a chocolate cake:

1. Gather ingredients (flour, sugar, cocoa powder, baking soda, salt, eggs, butter, milk, vanilla extract).
2. Preheat oven and prepare pans.
3. Combine dry ingredients in one bowl and wet ingredients in another.
4. Mix both mixtures together.
5. Pour batter into prepared pans.
6. Bake cake for 15-20 minutes or until toothpick inserted into center comes out clean.

Anyone have any tips or does this seem about right? Given the size of the model this is about what I'd expect.

It can convert and run using the Ollama conversion.

I also ran it using the Ollama conversion but kept getting this output, so I thought maybe something is wrong? After all - ollama convertion doesn't work on everything.

It's interesting, this model will answer all kinds of questions reasonably well but if you say "hi", "hello", "greetings" or anything like a normal chat start then it responds with unrelated maths.   I tried via system prompt to tell it to interact in a conversational style etc... but it still goes crazy when you say hi :-)

Added the SmolLM model on my own (with quants and all sizes)
https://ollama.com/duckyblender/smollm
Either this model is really strange or something is wrong. Maybe it's normal for such a small model.

FYI, I've just joined HF and I asked my teammate the same question. Turns out, the dataset does not include normal daily talks, so it's normal for the model to behave like this. Hopefully there will be better data to train in the future.

They released v0.2 which solves this issue. I'll be updating the model on my Ollama profile soon! (link above)


Group by Apply should operate on Dask dataframe instead of Pandas

Group by apply currently appears to expect a pandas dataframe, however, this has limited usefullness in cases where the groupings can't fit in memory.
It would be better if apply could accept a dask dataframe (which can be cast down into a pandas dataframe in cases where you know that it will fit in memory).
Better yet, developing a concept of a nested dataframe would encapsulate this idea even better as it would be less destructive (though admittidly it is a bit more ambitious in scope).

Thanks for opening the issue. Could you edit the post to include a small example to ensure that we're all on the same page? This is something I've wondered about myself.
The current setup (apply gives the user-defined function pandas objects) perhaps works well when the UDF was written for pandas and you're updating your code to use dask.
I also thought that there were cases where the function would be called more than once per group, but I'm not seeing that right now.
Do you have any suggestions for how this could be improved? I'm not sure that we can just outright change .apply to pass dask rather than pandas objects. Perhaps we add this as a different method?

Better yet, developing a concept of a nested dataframe would encapsulate this idea even better as it would be less destructive (though admittidly it is a bit more ambitious in scope).

I'm not sure I understand this suggestion.

I was wondering if the kwargs split_out or split_every could be implemented in apply. But I am still trying to work out how apply currently works.

So say for example you had a function that grouped the dataframe by a value with high cardinality in order to save files segmented by a particular column value like:
def write_file(df: DataFrame, label_column: str):
   partition_value = grp[label].unique()[0]
   grp.to_csv(f"{self.output_path}{label_column}={partition_value}.csv")
   return None

df.groupby(col).apply(self.df_to, col, meta=('x', 'f8')).compute()

Right now DataFrame is assumed to be a pd.DataFrame, but it would be nice if it could be a dask.DataFrame as well, you can see in this case you would need to deconstruct dask dataframes "to_csv" (which is what I'm currently faced with).   This type of operation would typically return partitions with a large number of values, so would not play well if df is a pandas DF.
Eventually it would be nice to also be able to subsegment those grouped part files [col=value.part0, col=value.part1], so this change would make that easier (in user code).
As far as NestedDataFrames I won't go into too much detail, but it would be the nested analogue of DataFrameGroupBy.  You could treat it like a matrix (i,j) where i represents the partiition corresponding to the group by and j corresponds to the partition within the dask dataframe that constitutes that partition row.   You would then partition on sets of (i,j) and distribute those to workers.   It would be similar to the Dask analogue to multi-indexing:  https://pandas.pydata.org/pandas-docs/stable/user_guide/advanced.html , which appears to be in progress here:  https://github.com/dask/dask/issues/1493

Another related issue:  https://github.com/dask/dask/issues/6070

I was able to get around this issue by just casting the pandas dataframe back to a dask dataframe within write_file but I'm still working through the performance impact.

I just came across this issue again and now I'm wondering if it might make more sense to use set_index to reorganize the data by the column that you are grouping by. Another option would be to use groupby.get_group and iterate through all the groups. That would make more sense when you have a low cardinality in your by column.