predict_coordinates suggestions

would it be better to do this as a multilabel regression?
currently each dimension is predicted separately

I think it would make sense to predict both together, rather than independently, since some variable could theoretically change independently across the two axes. Have you been able to find any literature on this problem? It's not something I've ever tried to do before, but it seems like there are probably some known best practices.

or precise location within 2-D physical space, such as the built environment

Not something you need to deal with now, but would 3-D physical space ultimately make more sense to support, with the second and third dimensions being optional?
The latitude and longitude parameter names might make more sense as something like axis1_category and axis2_category (still with the same default values) if you're thinking that you'd like to use this for built environments, etc, where lat/long probably aren't the right axes. Or, just focus the docs for the moment on predicting lat/long. In either case, I think _category should be part of the parameter names for consistency with your other methods, and so it's more clear to users what these values are supposed to be.

would it be better to do this as a multilabel regression?
currently each dimension is predicted separately

@benkaehler , could you offer some advice on this? I think multilabel/multioutput regression could theoretically increase accuracy if covariation between each target is taken into account. As far as I can tell from the sklearn docs, MultiOutputRegressor does not do this, however, so we may be stuck.

Hi Everyone, my understanding is that scikit-learn doesn't offer anything more sophisticated than providing multiple independent regressors for multioutput problems.
An alternative (that I didn't get time to look into for the feature-classifier) is to use structured learning. Apparently there are several possible libraries to use for structured learning, but I though the best-looking Python one was pystruct. It does have some licensing issues though.
Let me know if you would like me to look into it any further, or if you find a better solution!

It does have some licensing issues though

From pystruct's github page, it appears to be BSD-2. Would this be incompatible with BSD-3?

It's not pystruct that's the problem, it's the libraries that it relies upon. See pystruct/pystruct#192 for details.

Have changed latitude and longitude to axis1_category and axis2_category.
Utilizing pystruct is still unresolved... will leave this issue open while I explore options for structured learning.

it appears to be BSD-2. Would this be incompatible with BSD-3?

No, it is compatible.

predict_coordinates is being removed from this plugin, so I am deleting this issue.


svg font: Input buffer has corrupt header: svgload_buffer: bad dimensions

Version: "sharp": "^0.29.2",
Problem description: Cannot support svg font
Error: Input buffer has corrupt header: svgload_buffer: bad dimensions
E.g:

You've attached a screenshot rather than an image file, which makes it hard for someone else to reproduce, but my best guess is that you need to add either a width and height or a viewBox to the <svg> element.

I hope this information helped. Please feel free to re-open with a sample image (and not a screenshot) if further assistance is required.

Just a little extra info on this. I am having the same issue with the following SVG file:

This does work with sharp v0.23.4 but not with sharp v0.30.3. This SVG also doesn't have a width/height/viewbox but I tried adding one and then it does work. Somehow this doesn't feel quite right though as this is not a requirement on SVG's (the svg validates fine without it). So it seems like something has changed in the svg processing lib that has made it stricter...


feat(creator): Added Kotlin version of Creator

Btw, I'd definitely squash this PR while merging ;-)

Hey! No force-pushing you said. ;-) You just threw several of my commits away.

Ah shit, I rebased with master and may have forgotten to pull first, sorry :(

Luckily I noticed before I pulled so cherry-pick came to the rescue :-)


remote debuging - need to reenter address all the time

Hi!
Is it always necessary to reenter the address of a remote computer when doing a remote debuging via attach to process ... ?
The address I am entering does not later appear on a selection list and it has to be reentered each time remote debuging is used, even if VS is not closed etc. If this is not my fault it would be very useful to have the address available at least on a selection list or e.g saved it somewhere in a profile.
This would certainly speed-up the debuging in remote mode.
Keep doing a great job!
Bartek

Unfortunately, this is the default behavior of VS. We have #239 that would fix it just for PTVS. Alternatively, there's https://github.com/erlandranvinge/ReAttach, which tries to tackle this problem universally, but it doesn't support custom transports yet (but I'm sure a pull request would be welcome ;) )


[Semaphore Integration] Issue 2: Integrate SemaphoreKeyPts into Soroban

As part of the core contracts we need to migrate the SemaphoreVerifierKeyPts to Soroban.
Follow this resource: https://github.com/ZencypherSolutions/semaphore-stellar-docs/blob/main/research/SemaphoreKeyPts-implementation.md

Hi @evgongora , please can I be assigned this? This would be my first time contributing to this repo and I’d love to be given the opportunity.

hey @evgongora Mind if I work on this one?
please kindly assign :)

holla @evgongora can i take on this issue?

My background
As a member of the Dojo Coding community, I have experience in web2 and traditional technologies, as for web3 I have only been working for a few months and I have managed to make a contribution, however, it is not an impediment for me to do my best in this issue, I will devote the necessary effort to contribute to the OSS.
How I plan on tackling this issue
To solve this issue, I will perform the following steps:

Study and analyze the resource provided.
Identify the purpose of the contracts.
Migrate the SemaphoreVerifierKeyPts to Soroban.
Deliver the prototype for the maintainers to give me feedback.

Can I work on this, please?

To migrate the SemaphoreVerifierKeyPts contract to Soroban, you will need to adapt the existing Solidity-based implementation to fit within the Soroban framework on the Stellar blockchain.

Hello @evgongora please can I be assigned to this issue

I’d like to help with this.
1.	Review the Existing SemaphoreVerifierKeyPts Implementation:
Study the provided documentation at SemaphoreKeyPts Implementation. Familiarize yourself with the structure, logic, and purpose of SemaphoreVerifierKeyPts to ensure a smooth migration.
2.	Understand Soroban’s Contract Environment:
Soroban, Stellar’s smart contract platform, uses Rust-based contracts with WebAssembly (Wasm) execution. Check Soroban’s documentation for any key differences in handling cryptographic operations or data structures compared to the environment SemaphoreVerifierKeyPts was originally written for.
3.	Identify Required Adjustments:
•	Data Structures: Ensure compatibility of data structures used in SemaphoreVerifierKeyPts with Soroban, especially any cryptographic keys or points.
•	Cryptographic Functions: Verify if Soroban’s standard library has built-in cryptographic functions needed for SemaphoreVerifierKeyPts. If not, consider importing compatible libraries, or adapting existing ones, as Soroban supports a limited subset of Rust’s no_std.
•	Event Emissions and Logging: Soroban uses events for logs or notifications. Ensure that SemaphoreVerifierKeyPts events (if any) are migrated to Soroban’s event system.
4.	Translate Code to Soroban-Compatible Rust:
•	Write or adapt SemaphoreVerifierKeyPts to Rust for Soroban, focusing on translating any functions, structures, or cryptographic operations to their Soroban equivalents.
•	Soroban has constraints around memory and processing, so optimize the code where possible.
5.	Testing the Migration:
•	Unit Tests: Use Soroban’s testing framework to verify that the core logic of SemaphoreVerifierKeyPts works as expected after migration.
•	Integration Tests: Test the contract within a Soroban development environment to ensure it integrates correctly with other Soroban contracts or modules in the project.
6.	Documentation and Code Review:
•	Document any changes made during migration for future reference.
•	Conduct a code review to ensure all functionality is preserved and performs well on Soroban.
ETA: 2 Weeks

May I take this issue on? To migrate SemaphoreVerifierKeyPts to Soroban, we need to adapt its structure to Soroban’s specific environment and Stellar's protocol constraints. This process involves reconfiguring cryptographic proof verifications and key handling from the Semaphore library to fit Soroban’s smart contract capabilities. The document at SemaphoreKeyPts implementation provides a guide on re-implementing key points within Stellar’s decentralized framework, including necessary modifications for proof logic, parameter adjustments, and data storage compatible with Soroban’s WASM-based runtime.

Can I try solving this issue?

Hey @sasasamaes! Any update on this? :)

Hey @sasasamaes! Any update on this? :)

Hi @evgongora  I’m finalizing the implementation and testing phase, and I plan to open a pull request :D thanks!


Factor webapp into class

This appears to be how to factor out the webapp into a class
I don't love that the handler methods seem to need to be static methods on the class, instead of stand-alone functions, but if I don't do that, the compiler complains about them not being in scope...?

Oops I didn't test this, it doesn't work.
Reverting.

OK now it works 37e15c9fbdb6ce23d24a02fff5bba7c20e2c1719


Increase maximum alignment for data objects

Feature
Currently an u8 is used to represent the alignment. This means that the biggest power of two that fits in the alignment specifier is 128 bytes. I propose to use at least an u16 for alignment.
Benefit
A rustc test depends on 256 byte alignment. There is also code that requires much bigger alignments like 4096 bytes or even bigger.
Implementation
Replace u8 with u16 to specify alignment in cranelift-module.
Alternatives
None

Could you leave it as u8 and reinterpret it to be log2 of the required alignment?  That would restrict the expressable alignments to powers of 2 ; is that a problem?

That would also work. I don't think any object file format supports non power of 2 alignments anyway.


chore: add plugin developer guide

Which problem is this PR solving?

This is the first attempt on plugin developer guide. Please provide your comments and suggestions.

/cc @OlivierAlbertini @markwolff @vmarchaud

Should we provide a link related to our tests (where we create some fake plugins) ?

Sure, I like the idea. Done in dcf4f5979d464336c06e11ba155650ddd25e50ea.


请求地址

经测试，只可以请求https，不支持请求http。。

可以的，你不可以请求应该是因为android限制了只能https

@15600717002 @SHIELD7 ???

Use english please!
Google Translate

After testing, only https can be requested, but http is not supported.
Yes, you can’t request it because android restricts only https

Thanks for solving


INFO — Open Task 1 Future Enhancement Issues after 3.1.0

From j1939-84 created by ericthomasswenson: Equipment-and-Tool-Institute/j1939-84#1097
21 Functional
15 UI / Report Readability
19 To be closed with 3.1.0
—
55 on future enhancement label
Task 1 Future Enhancement Issue Review.docx
Close when Task 1 issues are complete.
Draft-3-1-resolved-issues.docx

The following have firm criteria and are ready to implement
https://github.com/Equipment-and-Tool-Institute/j1939-84/issues/1036
https://github.com/Equipment-and-Tool-Institute/j1939-84/issues/1033
https://github.com/Equipment-and-Tool-Institute/j1939-84/issues/1024
https://github.com/Equipment-and-Tool-Institute/j1939-84/issues/973
https://github.com/Equipment-and-Tool-Institute/j1939-84/issues/958
https://github.com/Equipment-and-Tool-Institute/j1939-84/issues/957
https://github.com/Equipment-and-Tool-Institute/j1939-84/issues/889
https://github.com/Equipment-and-Tool-Institute/j1939-84/issues/869
https://github.com/Equipment-and-Tool-Institute/j1939-84/issues/849
https://github.com/Equipment-and-Tool-Institute/j1939-84/issues/819
https://github.com/Equipment-and-Tool-Institute/j1939-84/issues/813
https://github.com/Equipment-and-Tool-Institute/j1939-84/issues/811
https://github.com/Equipment-and-Tool-Institute/j1939-84/issues/766


Filter Odata

hi,
the js-grid show my records, from odata web api, but filter not working.
this is my code:
`        $("#jsGrid").jsGrid({
height: "auto",
width: "100%",
        filtering: true,
        editing: false,
        sorting: true,
        paging: true,
        autoload: true,
        pageloading: true,

        pageSize: 2,
        pageButtonCount: 5,

        controller: {
            loadData: function () {
                var d = $.Deferred();

                $.ajax({
                    url: "http://localhost:64841/odata/OperatoriOdata",
                    dataType: "json"
                }).done(function (response) {
                    d.resolve(response.value);
                });

                return d.promise();
            }
        },

        fields: [
            { name: "name", type: "text" },
            { type: "control" }
        ]
    });`

any help ?
br
Max

Well, you need to define loadData(filter) instead of loadData() and then.. do something with the filter object. Check out the docs.

very nice :)
sorry.. but it's possible create a custom filter ??
br
Max

What do you mean by a "custom filter"?

example:
it's possible add in head column a range box for date o number ?
br
Max

Each field (i.e. column) has a method called filterTemplate() that you can implement to create any kind of filter input box/control.

Good :)
Very nice


Add the ability to inject labels on the kustomization controller pods

Also remove an unused variable. This should make it possible to use Azure Workload Identity for Flux.

The template doesn't seem to use $pod_labels, so the variable seems ineffective.

@lassizci thanks for catching that. Fixed now


No shadow/divider between headers

What I could see now is that when 2 headers encounter themselves the shadow of the top one disappears. Is this intentionally? In the Google i/o app the shadow remains while one header pushes the other one.

This is intentional. I may look into making an option to change that behavior in the next release.


Add Fine Rotation

Adds capability to rotate image + and - 45 degrees rather than flip fully with slider.
Adds capability to crop-rotate, which will zoom/crop the image as it is rotated to maintain frame.

This mimics Apple’s native implementation

merged 👍

awesome, thanks for the great code!


Doesn't seem to work on Android

Hi, I can't get it to work. When I set the brightness inside my app, I can get the value I set it to right away, but it just doesn't dim the brightness. I tested it on Google Nexus 7 (Android 6.0.1) and RN version 0.44.0. Is there something I am missing?
deviceBrightness.setBrightnessLevel(0.2);
deviceBrightness.getBrightnessLevel()
  .then((brightness) => {
    console.log(brightness); // prints 0.2
  });

Hi @filiphosko ,
Funfortunately, I don't have the devices for testing. However, I'd like let you know that I will ask friends for help and try to reproduce and fix this issue ASAP.
Thanks for reporting!


Upgraded electron to '12.0.5'.

Description
Upgraded electron to 12.0.5. This might need a bit more of testing from other contributors and on different OS combinations.
CAVEAT: Though Ferdi runs fine after starting, the window doesn't appear on macOs till I move focus away from Ferdi into another app, and then refocus (Cmd+Tab) onto Ferdi.
Motivation and Context
Trying to stay on the latest released version of electron for speed and security benefits.
Checklist:

[x] My pull request is properly named
[x] The changes respect the code style of the project ($ npm run lint)
[x] I tested/previewed my changes locally

@vraravam thanks!

@kytwb - thanks for merging - but, i was hoping for someone to validate the caveat that I had listed in the above description. @arioki1 - would you be willing to try this out in your machine please?

@vraravam First of all, thanks for keeping Ferdi up to date! :)
I'm trying to run Ferdi with Electron 12.0.5 and nodejs 12.22.0 on Arch Linux. However, my attempts at both running from the source tree (with npm run dev/npm run start) as well as from an installable package using system Electron fail.
In the devloper console, I have the errors
VM75 renderer_init.js:13 (electron) The remote module is deprecated. Use https://github.com/electron/remote instead.
log @ VM75 renderer_init.js:13
VM75 renderer_init.js:93 Unable to load preload script: /home/kris/urandom/ferdi/build/sentry.js
(anonymous) @ VM75 renderer_init.js:93
VM75 renderer_init.js:93 TypeError: electron_1.crashReporter.start is not a function
    at RendererBackend._installNativeHandler (backend.ts:102)
    at new RendererBackend (backend.ts:21)
    at new BaseClient (baseclient.ts:67)
    at new RendererClient (client.ts:22)
    at Object.initAndBind (sdk.ts:19)
    at Object.init (index.ts:18)
    at Object.specificInit (dispatch.ts:122)
    at Object.init (sdk.ts:57)
    at Object.<anonymous> (VM76 sentry.js:9)
    at Object.<anonymous> (VM76 sentry.js:12)
(anonymous) @ VM75 renderer_init.js:93
app.js:3 Uncaught ReferenceError: require is not defined
    at app.js:3
index.html:15 Uncaught ReferenceError: process is not defined
    at index.html:15
VM75 renderer_init.js:113 Electron Security Warning (Insecure Content-Security-Policy) This renderer process has either no Content Security
    Policy set or a policy with "unsafe-eval" enabled. This exposes users of
    this app to unnecessary security risks.

For more information and help, consult
https://electronjs.org/docs/tutorial/security.
This warning will not show up
once the app is packaged.
(anonymous) @ VM75 renderer_init.js:113

Closest I could find is https://github.com/nodejs/node/issues/33741 , so it seems Electron is trying to treat src/app.js as a JSM module? The issue https://github.com/laurent22/joplin/issues/4859 also seems related and also involves Arch.
On the other hand, building from f71e17f3f6b5ca63bdce7d08a70cc35a6109e2fa works fine, so this seems to be an issue related to Electron 12 only.

thanks @kris7t - I will initiate a PR to revert this one. As I mentioned in the caveatt up in the description field - there is at least 1 other known issue with this upgrade on MacOS.


Uncaught AnthropicError: running in a browser-like environment

Checked other resources

[X] I added a very descriptive title to this issue.
[X] I searched the LangChain.js documentation with the integrated search.
[X] I used the GitHub search to find a similar question and didn't find it.
[X] I am sure that this is a bug in LangChain.js rather than my code.
[X] The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package).

Example Code
import { ChatAnthropic } from "@langchain/anthropic";
import { ChatPromptTemplate } from "@langchain/core/prompts";
import { z } from "zod";
import { zodToJsonSchema } from "zod-to-json-schema";

console.log("Anthropic API Key is:", import.meta.env.VITE_ANTHROPIC_API_KEY);

const calculatorSchema = z.object({
  operation: z
    .enum(["add", "subtract", "multiply", "divide", "average"])
    .describe("The type of operation to execute."),
  numbers: z.array(z.number()).describe("The numbers to operate on."),
});

const weatherSchema = z
  .object({
    location: z.string().describe("The name of city to get the weather for."),
  })
  .describe(
    "Get the weather of a specific location and return the temperature in Celsius."
  );

const tools = [
  {
    name: "calculator",
    description: "A simple calculator tool.",
    input_schema: zodToJsonSchema(calculatorSchema),
  },
  {
    name: "get_weather",
    description: "Get the weather of a location",
    input_schema: zodToJsonSchema(weatherSchema),
  },
];

const model = new ChatAnthropic({
  apiKey: import.meta.env.VITE_ANTHROPIC_API_KEY,
  model: "claude-3-opus-20240229",
}).bind({
  tools,
});

const prompt = ChatPromptTemplate.fromMessages([
  [
    "system",
    "You are a helpful assistant who always uses tools to ensure you provide accurate, up to date information.",
  ],
  ["human", "{input}"],
]);

// Chain your prompt and model together
const chain = prompt.pipe(model);

const response = await chain.invoke({
  input:
    "What is the current weather in new york, and san francisco? Also, what is the average of these numbers: 2273,7192,272,92737?",
});

console.log(JSON.stringify(response, null, 2));
const App: React.FC = () => {
  return (
    <>

Anthropic API

App Component {JSON.stringify(response, null, 2)}

    </>
  );
};

export default App;

Error Message and Stack Trace (if applicable)
chunk-QMHROIDE.js?v=6aec3b6c:2214 Uncaught AnthropicError: It looks like you're running in a browser-like environment, which is disabled to protect your secret API credentials from attackers. If you have a strong business need for client-side use of this API, please open a GitHub issue with your use-case and security mitigations.
    at new Anthropic (chunk-QMHROIDE.js?v=6aec3b6c:2214:13)
    at ChatAnthropic.completionWithRetry (chunk-QMHROIDE.js?v=6aec3b6c:5709:26)
    at ChatAnthropic._generateNonStreaming (chunk-QMHROIDE.js?v=6aec3b6c:5634:33)
    at ChatAnthropic._generate (chunk-QMHROIDE.js?v=6aec3b6c:5672:19)
    at chunk-QMHROIDE.js?v=6aec3b6c:3167:90
    at Array.map (<anonymous>)
    at ChatAnthropic._generateUncached (chunk-QMHROIDE.js?v=6aec3b6c:3167:61)
    at async ChatAnthropic.invoke (chunk-QMHROIDE.js?v=6aec3b6c:3056:20)
    at async _RunnableSequence.invoke (chunk-MNCD2AJQ.js?v=6aec3b6c:12814:21)
    at async App.tsx:54:18

Description
I am following a simple example as shown above. I have configured the API key in the vite config. When I run the program, the API key is displayed in the console. However, I'm getting an error when trying to make a request to the Anthropic endpoint. OpenAI's requests are functioning well.
Recently, Anthropic implemented CORS feature as mentioned here. So, is this error potentially due to the missing property in the interface? Please clarify.
System Info
macOS mini Apple M2 14.6.1 (23G93)
node v22.7.0
<EMAIL_ADDRESS>

Yes, we should set this field - if you're up for a PR we'd love that, otherwise, will have a look 👍

I believe that this will just require a dependency upgrade, as Anthropic SDK itself provides dangerouslyAllowBrowser Option in ClientOptions field, which langchain uses!
I have a small diff ready at https://github.com/rootCircle/langchainjs/tree/deps/%40anthropic-ai/sdk, passed all the tests locally, should I proceed?

Yes please!

Thanks! Did it in #6796!


Add "_aligned_free" on the Windows platform

All the memory blocks allocated with "_aligned_malloc" must be
deallocated using the "_aligned_free" function.
Signed-off-by: Pavel Samolysov<EMAIL_ADDRESS>

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @Amanieu (or someone else) soon.
Please see the contribution instructions for more information.

@bors r+

:pushpin: Commit 5942b3fefd55241aa25c01685a8f475d39a78dbe has been approved by Amanieu

:hourglass: Testing commit 5942b3fefd55241aa25c01685a8f475d39a78dbe with merge e4d222513e82ce14d80c58ae7b0e4a973ba582c7...

:sunny: Test successful - checks-actions, checks-cirrus-freebsd-11, checks-cirrus-freebsd-12, checks-cirrus-freebsd-13
Approved by: Amanieu
Pushing e4d222513e82ce14d80c58ae7b0e4a973ba582c7 to master...


Parsing kernel debug arguments manually

Right now we use serde_yaml which is quite overkill. So it is better to parse it manually because the file structure that we are using is very simple.

Issues with latest PR: Drive paths don't work (D:\path)
Newlines at end of file break parser.

Could you show  .kernel-debug file so I can see?

Now we have used serde_yaml for keeping file metedata so we have no reason to do this anymore.


Application details page, sandbox and subscription tabs not show correct content

Description:
Application details page, sandbox and subscription tabs not show correct content
And also don't provide expected functions like subscription delete etc.

Seems like a duplicate of https://github.com/wso2/product-apim/issues/1956 , shall we keep continue the discussion there ?

subscription tabs information is also not rendering correctly. Subscriptions view and remove is not possible with current UI.

This is already fixed in APIM 3.2.0 hence closing the issue


Thanks

MEDIA_URL is used for this.

Thanks for the reply. It helps a lot.


Configure SASS absolute path to be consistent with our other imports

Our absolute imports usually look like this:
@renderer/containers/test.tsx
In our sass files, to @use other modules, we currently have to do it like this:

Configure our settings such that we can either:

import like @use '@renderer/styles/layout' to make it consistent with our other imports;

OR:

have the import start at @renderer/styles, so we just need to do @use 'layout'

I have started working on this, will update the progress before 27th EOD.

I have started working on this, will update the progress before 27th EOD.

I made a PR for this, we can now import the module as @use 'layout'.
Please let me know if this is what we are expecting. @angle943

I made a PR for this, we can now import the module as @use 'layout'.
Please let me know if this is what we are expecting. @angle943

@leelatanniru ah oops, your PR actually worked. It was my Webstorm issue :(
I sent you 1000 coins :)

Thank you 👍😊


feat: add kafka reporter without cds

add kafka reporter just like SkyWalking Python Agent implement

Hi @matianjun1 Please check the test first , and I think a kafka-reporter E2E test should be added, using skywalking-infra-e2e.

The kafka-reporter dependence on Shopify/sarama, if submit code to go2sky-plugins,  go2sky can still maintain less dependence, what do you think? @wu-sheng @matianjun1 @dmsolr

Make sense to me. SkyWalking Kafka reporter for Java is in the reporter plugin list too.

Make sense.

@matianjun1 Please follow the recommendation.


Implemented /deselect command

This command allows to clear the selection in use.

Is there any particular use case for this?

Well, currently I'm hooking BS to BedcoreProtect to rollback some selected areas. It could happens to forgot to select a new one area and the player continues to rollback the old one but implementing Selection::clear() and, why not, in some cases a useful command that resolves the problem.

Obviously I think it is useful also in other cases. I often forget that I had previously selected an area but with the command I would be on the safe side.

Fair enough! The 3.x line is on a feature freeze though, so I'd prefer if this could go to the 4.0.0 branch. Would you mind doing that.

Sure, I'll do that.


(fix) Tests fixed for new template library

Signed-off-by: Jerome Simeon<EMAIL_ADDRESS>

Coverage increased (+5.9%) to 95.622% when pulling 4453619ddc179d55b541abcb4449c6c0cafb983f on jeromesimeon:js-fix-post-library-publish into f367b9491f027c66271830a288bda7069fe8cf04 on accordproject:master.


Support for WAN I-ESI (EVPN all-active multihoming gateway)

Enhancement summary
When trying to configure EVPN all-active GW the following ESI is defined under address-family evpn:
https://www.arista.com/en/support/toi/eos-4-29-0f/16349-evpn-vxlan-all-active-multihoming-gateway
   address-family evpn
...
      !
      evpn ethernet-segment domain all
         identifier 0011:1111:1111:1111:1111
         route-target import 00:01:00:01:00:01

Looking to configure this natively via eos_cli_config_gen.
Which component of AVD is impacted
eos_cli_config_gen
Use case example
Configure EVPN all-active multihoming gateway.
Describe the solution you would like
Support for configuring the WAN ESI ID and RT as shown above.
Describe alternatives you have considered
No response
Additional context
No response
Contributing Guide

[X] I agree to follow this project's Code of Conduct

Hi,
I'm also interested in support of multihoming evpn gateway.
It seems, it's close to another open issue : https://github.com/aristanetworks/avd/issues/2314.


[Bug] Font Family inconsistentcy between Home and Contributor Page

Description
Problem
I have checked the Font Family of the navbar elements of both home page and Contributor page
And i've found that there is difference in font family applied of the navigation bar elements.
Screenshots
Home Page

Contributors Page

I have underlined the elements with red color
Checklist

[X] I have checked the existing issues.
[X] I follow Contributing Guidelines of this project.
[ ] I am a IWOC'24 contributor.
[ ] I am a JWOC'24 contributor.
[X] I am a SWOC'24 contributor.

Code of Conduct

[X] I agree to follow this project's "Code of Conduct".

Please assign this issue to me because i have figured out the problem and can fix it quickly
Thank you

Proceed @amansgith


Ensuring SavedModel is in inference mode

Click to expand!
Issue Type
Support
Have you reproduced the bug with TF nightly?
Yes
Source
source
Tensorflow Version
2.11
Custom Code
Yes
OS Platform and Distribution
Debian GNU/Linux 10
Mobile device
No response
Python version
3.7
Bazel version
No response
GCC/Compiler version
9
CUDA/cuDNN version
No response
GPU model and memory
No response
Current Behaviour?
I am saving a model via model.save from Keras, then later loading the graph in C++ and running inference through it.
How can I ensure that the graph is in inference mode? In C++, I can only invoke the graph via feed and fetch names, and there is no feed name for the is_training parameter. This is important for batchnorm.
I've copied the output from saved_model_cli below.
Standalone code to reproduce the issue
signature_def['__saved_model_init_op']:
  The given SavedModel SignatureDef contains the following input(s):
  The given SavedModel SignatureDef contains the following output(s):
    outputs['__saved_model_init_op'] tensor_info:
        dtype: DT_INVALID
        shape: unknown_rank
        name: NoOp
  Method name is:

signature_def['serving_default']:
  The given SavedModel SignatureDef contains the following input(s):
    inputs['args_0'] tensor_info:
        dtype: DT_FLOAT
        shape: (-1, 19, 19, 7)
        name: serving_default_args_0:0
    inputs['args_1'] tensor_info:
        dtype: DT_HALF
        shape: (-1, 1)
        name: serving_default_args_1:0
  The given SavedModel SignatureDef contains the following output(s):
    outputs['output_1'] tensor_info:
        dtype: DT_FLOAT
        shape: (-1, 362)
        name: StatefulPartitionedCall:0
    outputs['output_2'] tensor_info:
        dtype: DT_FLOAT
        shape: (-1, 2)
        name: StatefulPartitionedCall:1
    outputs['output_3'] tensor_info:
        dtype: DT_FLOAT
        shape: (-1, 19, 19, 1)
        name: StatefulPartitionedCall:2
    outputs['output_4'] tensor_info:
        dtype: DT_FLOAT
        shape: (-1, 800)
        name: StatefulPartitionedCall:3
    outputs['output_5'] tensor_info:
        dtype: DT_FLOAT
        shape: (-1, 1)
        name: StatefulPartitionedCall:4
  Method name is: tensorflow/serving/predict

Concrete Functions:
  Function Name: '__call__'
    Option #1
      Callable with:
        Argument #1
          board_state: TensorSpec(shape=(None, 19, 19, 7), dtype=tf.float32, name='board_state')
        Argument #2
          game_state: TensorSpec(shape=(None, 1), dtype=tf.float16, name='game_state')
        Argument #3
          DType: bool
          Value: True
    Option #2
      Callable with:
        Argument #1
          board_state: TensorSpec(shape=(None, 19, 19, 7), dtype=tf.float32, name='board_state')
        Argument #2
          game_state: TensorSpec(shape=(None, 1), dtype=tf.float16, name='game_state')
        Argument #3
          DType: bool
          Value: False

  Function Name: '_default_save_signature'
    Option #1
      Callable with:
        Argument #1
          args_0: TensorSpec(shape=(None, 19, 19, 7), dtype=tf.float32, name='args_0')
        Argument #2
          args_1: TensorSpec(shape=(None, 1), dtype=tf.float16, name='args_1')

  Function Name: 'call_and_return_all_conditional_losses'
    Option #1
      Callable with:
        Argument #1
          board_state: TensorSpec(shape=(None, 19, 19, 7), dtype=tf.float32, name='board_state')
        Argument #2
          game_state: TensorSpec(shape=(None, 1), dtype=tf.float16, name='game_state')
        Argument #3
          DType: bool
          Value: False
    Option #2
      Callable with:
        Argument #1
          board_state: TensorSpec(shape=(None, 19, 19, 7), dtype=tf.float32, name='board_state')
        Argument #2
          game_state: TensorSpec(shape=(None, 1), dtype=tf.float16, name='game_state')
        Argument #3
          DType: bool
          Value: True

  Function Name: 'infer_float'
    Option #1
      Callable with:
        Argument #1
          board_state: TensorSpec(shape=(None, 19, 19, 7), dtype=tf.float32, name='board_state')
        Argument #2
          game_state: TensorSpec(shape=(None, 1), dtype=tf.float32, name='game_state')

  Function Name: 'infer_mixed'
    Option #1
      Callable with:
        Argument #1
          board_state: TensorSpec(shape=(None, 19, 19, 7), dtype=tf.float16, name='board_state')
        Argument #2
          game_state: TensorSpec(shape=(None, 1), dtype=tf.float16, name='game_state')

Relevant log output
No response

Hi @p3achyjr ,
Apologies for the delayed response. If the model uses dropout or another technique in which the forward pass differs between training and inference (like batch normalization), the __call__ method takes an optional, Python-valued training= argument that defaults to False but can be set to True
You can use ExportArchive to write SavedModel artifacts (e.g. for inference or for training). Please refer an attached example here.
Thanks!

Sorry about the delay on all my issues. Thanks for getting back, this is really helpful :)


WIP

This change is

Old PR: https://reviewable.io/reviews/starkware-libs/blockifier/1628#-

Tests for this PR: https://reviewable.io/reviews/starkware-libs/blockifier/1639#-

What do you suggest?

(The error appears when trying to call the function)

I'm not sure it matters much, as the main changes are in get_actual_state_changes (and get_actual_revertible_state_changes because Rust doesn't allow overloading).

OK, I was wrong, now this patch doesn't pass the (new) tests anymore


404 at /docker-for-windows/)

I found a broken link : https://docs.docker.com/docker-for-windows/)
I arrived on this page through: https://www.youtube.com/

That URL looks correct (but should redirect to https://docs.docker.com/desktop/windows/) does it not redirect for you?

Let me close this ticket; I've seen some other reports coming through YouTube; perhaps the YouTube app doesn't follow the redirects?


Improve developer documentation

Changes to the Development documentation to reflect current implementation.
Small change to the bump-version to make it work (tested on python 3.10.4).
Also Fixes #305
@redhat-cop/mdt

/LGTM


dhcpcd: no valid interfaces found

When dhcpcd is started by the runit (busybox init) service, it says no valid interfaces found and just stops there, the service has to be restarted manually for it to detect my wifi adapter, but this is not the case with eudev:
no such user dhcpcd
dhcpcd-9.4.0 starting
dev: loaded udev
DUID 00:01:00:01:27:5e:0a:a4:d0:39:42:49:f3:14
no valid interfaces found
no interfaces have a carrier

I'm not sure if this is directly related to libudev-zero, but might be related to dhcpcd starting before mdev is initialised, any ideas ?

might be related to dhcpcd starting before mdev is initialised

This. Technically, libudev-zero should signal dhcpcd about new devices via hotplugging. Ensure that you have properly working hotplugging support.
There is also a possibility of race condition between dhcpcd and mdev which can lead to impossibility to detect net devices due to permission issues. Try to run dhcpcd as root or implement proper synchronization to mdev.

Hmm, hotplugging seems to be working fine, dhcpcd is running as root.

implement proper synchronization to mdev

How does one go about this ?

How does one go about this ?

Ah, sorry I forgot about that dhcpcd should be always run as root. You don't need it. This synchronization is needed for e.g. root-less Xorg which is usually(or rarely, it depends on init implementation) fails to initialize drm devices at startup due to access rights. I'll probably add some docs about it to readme.
Does the dhcpcd working if compiled without udev support?

Just compiled it without udev support, works great now.

@illiliti Do you plan to tackle this in libudev-zero ? If not, I'll close the issue.

Yes, I'll investigate this further later


Volume control

From device. Only while main activity is open.
check mediaSessionCompat.setPlaybackToRemote
might be a broaadcastreceiver i can add
see MediaSessionManager

https://stackoverflow.com/questions/30262934/what-audio-stream-flag-to-set-to-adjust-chromecast-volume
https://developers.google.com/android/reference/com/google/android/gms/cast/framework/media/widget/ControlButtonsContainer
https://developers.google.com/android/reference/com/google/android/gms/cast/framework/media/uicontroller/UIMediaController. allows ui controls to be bound to cast session

not done
https://developers.google.com/cast/docs/design_checklist/sender#sender-control-volume

[ ] couldn't get stream volum UI to appear for cast See CuerVolumeController.kt

not done
https://developers.google.com/cast/docs/design_checklist/sender#sender-control-volume

[ ] couldn't get stream volum UI to appear for cast See CuerVolumeController.kt


Typed ...rest parameters with generics

Is it possible to add type info to the rest parameters in a way that each individual parameter can have a different type?
This works, but with this there can be any number parameters, and all have to have the same type:
function myFunction<T>(...args:T[]) {
}
myFunction<number>(1, 3);

It would be really useful if I could force the exact number of arguments and the types for each one, but all this within generics, so something like this (but this is obviously syntactically wrong):
function myFunction<T>(...args:T) {
}

interface MyParams {
    [0]:string;
    [1]:number;
}

myFunction<MyParams>("a", 1)

An example use case is writing an observer class that the user could specify the arguments of the listener functions for:
class Observer<T> {
    addListener(...args:T) {
    }
}

If this is not supported, what do you recommend using instead? I can use any[] of course, or living with the constraint of having a fixed number of fixed typed parameters.

@RyanCavanaugh @DanielRosenwasser, I believe I've found a situation in which a tuple doesn't cut the mustard. In this case, I'm trying to extend the types for a third-party library redux-loop (redux middleware that uses elm as its inspiration for handling async & other side effects).
This lib extends the redux reducer to return both the state object and a Cmd, which can fire an action, run a function, batch multiple child Cmds, etc. They have an example reducer here.
I'd like to extend their types for Cmd.run, which allows a user to specify a function to be ran, along with args to be passed to that function, and "action creators" to be called on success or failure:
Cmd.run(fetchUser, {
  successActionCreator: userFetchSuccessfulAction,
  failActionCreator: userFetchFailedAction,
  args: ['123']
})

Currently, there is no type safety between the arguments of the function to be run and the value of the args option. Nor is there type safety between the return value of the function, and the arguments of the successActionCreator option.
The current interface for Cmd.run looks like:
static readonly run: <A extends Action>(
  f: Function,
  options?: {
    args?: any[];
    failActionCreator?: ActionCreator<A>;
    successActionCreator?: ActionCreator<A>;
    forceSync?: boolean;
  }
) => RunCmd<A>;

I'd like to do something that enforces a match between inputs and outputs of f, options.args, and options.successActionCreator. Something like:
static readonly run: <A extends Action, Args, Result>(
  f: (...args: Args) => Result,
  options?: {
    args?: Args;
    failActionCreator?: () => A;
    successActionCreator?: (result?: Result) => A;
    forceSync?: boolean;
  }
) => RunCmd<A>;

However, trying this, I get the error that brought me to this issue:
A rest parameter must be of an array type.

Is there a way I can accomplish this type safety, without altering redux-loop?
Additionally, it would be swell if I could use Args and Result to indicate where values should match within the Cmd.run type, without requiring the user to pass explicit types in through a generic. But I don't know a way to indicate two types should match, without actually defining them (either as generics, or as specific types).

Digging further, I ran across this proposal for Variadic Kinds which directly addresses this issue. It looks like I may have to hold out hope for that. But if anyone has clever workarounds in the meantime, I wouldn't complain.


Video 7, Dynamic Fibonacci outputs incorrect result.

Hi Bangash,
Thank you for reaching out to us.
The author displays the incorrect output on purpose to show a common error, and then proceeds to fix it and show the correct result. Could you please have a look at the video and let me know if this is the incorrect part you are referring to?
Thanks.


Binding not found for drawble

magick-wasm version
0.0.24
Description
I created some of drawable classes like point, line. It seem the bind available in the API .. but calling it throw error No Binding found
Steps to Reproduce

Copy DrawbleText class to new file, rename DrawablePoint, change x, y according to export in api native
Export * from index.ts
add method to into drawing-wand to call API

Images

I really don't understand what you are trying to do?

Actually, i tried to draw stroke and line, but i tried to interface a simple binding but it doesnt work, do you mind show me how ?

It is still unclear for me what you did exactly and caused that error message. I just made this commit that probably explains what you missed: https://github.com/dlemstra/magick-wasm/commit/82851f19e8cc614772775942e9a903b43f142f79.
p.s. Next time please use a discussion instead of an issue when you have questions about this project.


Correct width attributes in img tags

This PR resolves issue https://github.com/corona-warn-app/cwa-website/issues/3217 "Wrong syntax for image width in FAQs" by removing the unit px from the width specification of the img tags in the following FAQ articles:

https://www.coronawarn.app/en/faq/results/#interoperability_countries
https://www.coronawarn.app/de/faq/results/#interoperability_countries
https://www.coronawarn.app/en/faq/results/#rat_what_if_positive_result
https://www.coronawarn.app/de/faq/results/#rat_what_if_positive_result

Thank you for the report and the fix @MikeMcC399. Approved the changes. I haven't gotten a chance to look for more instances of this issue. Feel free to create a new issue or update this pr, in case there are indeed more.
LGTM!

@brianebeling

I haven't gotten a chance to look for more instances of this issue. Feel free to create a new issue or update this pr, in case there are indeed more.

I searched with regex width=\s*\d+px as I mentioned in https://github.com/corona-warn-app/cwa-website/issues/3217 in the rest of the web, and indeed there is one instance at:

https://www.coronawarn.app/en/blog/2022-02-23-cwa-2-18/ and
https://www.coronawarn.app/de/blog/2022-02-23-cwa-2-18/

however for the moment I am concentrating on the FAQ pages. I will make a note to come back to the blog later.

PR https://github.com/corona-warn-app/cwa-website/pull/3219 is the follow-up for the related issues outside of the FAQs


chore(deps): update dependency helmet to v6

This PR contains the following updates:

Package
Type
Update
Change

helmet (source)
dependencies
major
^2.0.0 -> ^6.0.0

Release Notes

helmetjs/helmet
v6.0.1
Compare Source
Fixed

crossOriginEmbedderPolicy did not accept options at the top level. See #390

v6.0.0
Compare Source
Changed

Breaking: helmet.contentSecurityPolicy no longer sets block-all-mixed-content directive by default
Breaking: helmet.expectCt is no longer set by default. It can, however, be explicitly enabled. It will be removed in Helmet 7. See #310
Breaking: Increase TypeScript strictness around some arguments. Only affects TypeScript users, and may not require any code changes. See #369
helmet.frameguard no longer offers a specific error when trying to use ALLOW-FROM; it just says that it is unsupported. Only the error message has changed

Removed

Breaking: Dropped support for Node 12 and 13. Node 14+ is now required

v5.1.1
Compare Source
Changed

Fix TypeScript bug with some TypeScript configurations. See #375 and #359

v5.1.0
Compare Source
Added

Cross-Origin-Embedder-Policy: support credentialless policy. See #365
Documented how to set both Content-Security-Policy and Content-Security-Policy-Report-Only

Changed

Cleaned up some documentation around Origin-Agent-Cluster

v5.0.2
Compare Source
Changed

Improve imports for CommonJS and ECMAScript modules. See #345
Fixed some documentation

v5.0.1
Compare Source
Changed

Fixed some documentation

Removed

Removed some unused internal code

v5.0.0
Compare Source
Added

ECMAScript module imports (i.e., import helmet from "helmet" and import { frameguard } from "helmet"). See #320

Changed

Breaking: helmet.contentSecurityPolicy: useDefaults option now defaults to true
Breaking: helmet.contentSecurityPolicy: form-action directive is now set to 'self' by default
Breaking: helmet.crossOriginEmbedderPolicy is enabled by default
Breaking: helmet.crossOriginOpenerPolicy is enabled by default
Breaking: helmet.crossOriginResourcePolicy is enabled by default
Breaking: helmet.originAgentCluster is enabled by default
helmet.frameguard: add TypeScript editor autocomplete. See #322
Top-level helmet() function is slightly faster

Removed

Breaking: Drop support for Node 10 and 11. Node 12+ is now required

v4.6.0
Compare Source
Added

helmet.contentSecurityPolicy: the useDefaults option, defaulting to false, lets you selectively override defaults more easily
Explicitly define TypeScript types in package.json. See #303

v4.5.0
Compare Source
Added

helmet.crossOriginEmbedderPolicy: a new middleware for the Cross-Origin-Embedder-Policy header, disabled by default
helmet.crossOriginOpenerPolicy: a new middleware for the Cross-Origin-Opener-Policy header, disabled by default
helmet.crossOriginResourcePolicy: a new middleware for the Cross-Origin-Resource-Policy header, disabled by default

Changed

true enables a middleware with default options. Previously, this would fail with an error if the middleware was already enabled by default.
Log a warning when passing options to originAgentCluster at the top level

Fixed

Incorrect documentation

v4.4.1
Compare Source
Changed

Shrink the published package by about 2.5 kB

v4.4.0
Compare Source
Added

helmet.originAgentCluster: a new middleware for the Origin-Agent-Cluster header, disabled by default

v4.3.1
Compare Source
Fixed

helmet.contentSecurityPolicy: broken TypeScript types. See #283

v4.3.0
Compare Source
Added

helmet.contentSecurityPolicy: setting the default-src to helmet.contentSecurityPolicy.dangerouslyDisableDefaultSrc disables it

Changed

helmet.frameguard: slightly improved error messages for non-strings

v4.2.0
Compare Source
Added

helmet.contentSecurityPolicy: get the default directives with contentSecurityPolicy.getDefaultDirectives()

Changed

helmet() now supports objects that don't have Object.prototype in their chain, such as Object.create(null), as options
helmet.expectCt: max-age is now first. See #264

v4.1.1
Compare Source
Changed

Fixed a few errors in the README

v4.1.0
Compare Source
Added

helmet.contentSecurityPolicy:

Directive values can now include functions, as they could in Helmet 3. See #243

Changed

Helmet should now play more nicely with TypeScript

Removed

The HelmetOptions interface is no longer exported. This only affects TypeScript users. If you need the functionality back, see this comment

v4.0.0
Compare Source
See the Helmet 4 upgrade guide for help upgrading from Helmet 3.
Added

helmet.contentSecurityPolicy:

If no default-src directive is supplied, an error is thrown
Directive lists can be any iterable, not just arrays

Changed

This package no longer has dependencies. This should have no effect on end users, other than speeding up installation time.
helmet.contentSecurityPolicy:

There is now a default set of directives if none are supplied
Duplicate keys now throw an error. See helmetjs/csp#73
This middleware is more lenient, allowing more directive names or values

helmet.xssFilter now disables the buggy XSS filter by default. See #230

Removed

Dropped support for old Node versions. Node 10+ is now required
helmet.featurePolicy. If you still need it, use the feature-policy package on npm.
helmet.hpkp. If you still need it, use the hpkp package on npm.
helmet.noCache. If you still need it, use the nocache package on npm.
helmet.contentSecurityPolicy:

Removed browser sniffing (including the browserSniff and disableAndroid parameters). See helmetjs/csp#97
Removed conditional support. This includes directive functions and support for a function as the reportOnly. Read this if you need help.
Removed a lot of checks—you should be checking your CSP with a different tool
Removed support for legacy headers (and therefore the setAllHeaders parameter). Read this if you need help.
Removed the loose option
Removed support for functions as directive values. You must supply an iterable of strings

helmet.frameguard:

Dropped support for the ALLOW-FROM action. Read more here.

helmet.hidePoweredBy no longer accepts arguments. See this article to see how to replicate the removed behavior. See #224.
helmet.hsts:

Dropped support for includeSubdomains with a lowercase D. See #231
Dropped support for setIf. Read this if you need help. See #232

helmet.xssFilter no longer accepts options. Read "How to disable blocking with X-XSS-Protection" and "How to enable the report directive with X-XSS-Protection" if you need the legacy behavior.

v3.23.3
Compare Source
Changed

helmet.expectCt is no longer a separate package. This should have no effect on end users.
helmet.frameguard is no longer a separate package. This should have no effect on end users.

v3.23.2
Compare Source
Changed

helmet.dnsPrefetchControl is no longer a separate package. This should have no effect on end users.

v3.23.1
Compare Source
Changed

helmet.ieNoOpen is no longer a separate package. This should have no effect on end users.

v3.23.0
Compare Source
Deprecated

helmet.featurePolicy is deprecated. Use the feature-policy module instead.

v3.22.1
Compare Source
Changed

Rewrote internals in TypeScript. This should have no effect on end users.

v3.22.0
Compare Source
Changed

Updated helmet-csp to v2.10.0

Add support for the allow-downloads sandbox directive. See helmet-csp#103

Deprecated

helmet.noCache is deprecated. Use the nocache module instead. See #215

v3.21.3
Compare Source
Changed

Updated helmet-csp to v2.9.5

Updated bowser subdependency from 2.7.0 to 2.9.0
Fixed an issue some people were having when importing the bowser subdependency. See helmet-csp#96 and #101

v3.21.2
Compare Source
Changed

Updated helmet-csp to v2.9.4

Updated bowser subdependency from 2.6.1 to 2.7.0. See helmet-csp#94

v3.21.1
Compare Source
Fixed

Updated helmet-csp to v2.9.2

Fixed a bug where a request from Firefox 4 could delete default-src from future responses
Fixed tablet PC detection by updating bowser subdependency to latest version

v3.21.0
Compare Source
Added

Updated x-xss-protection to v1.3.0

Added mode: null to disable mode=block

Changed

Updated helmet-csp to v2.9.1

Updated bowser subdependency from 2.5.3 to 2.5.4. See helmet-csp#88

v3.20.1
Compare Source
Changed

Updated helmet-csp to v2.9.0

v3.20.0
Compare Source
Changed

Updated helmet-csp to v2.8.0

v3.19.0
Compare Source
Changed

Updated dns-prefetch-control to v0.2.0
Updated dont-sniff-mimetype to v1.1.0
Updated helmet-crossdomain to v0.4.0
Updated hide-powered-by to v1.1.0
Updated x-xss-protection to v1.2.0

v3.18.0
Compare Source
Added

featurePolicy has 19 new features: ambientLightSensor, documentDomain, documentWrite, encryptedMedia, fontDisplayLateSwap, layoutAnimations, legacyImageFormats, loadingFrameDefaultEager, oversizedImages, pictureInPicture, serial, syncScript, unoptimizedImages, unoptimizedLosslessImages, unoptimizedLossyImages, unsizedMedia, verticalScroll, wakeLock, and xr

Changed

Updated expect-ct to v0.2.0
Updated feature-policy to v0.3.0
Updated frameguard to v3.1.0
Updated nocache to v2.1.0

v3.17.0
Compare Source
Added

referrerPolicy now supports multiple values

Changed

Updated referrerPolicy to v1.2.0

v3.16.0
Compare Source
Added

Add email to bugs field in package.json

Changed

Updated hsts to v2.2.0
Updated ienoopen to v1.1.0
Changelog is now in the Keep A Changelog format
Dropped support for Node <4. See the commit for more information
Updated Adam Baldwin's contact information

Deprecated

helmet.hsts's setIf option has been deprecated and will be removed in hsts@3. See helmetjs/hsts#22 for more

The includeSubdomains option (with a lowercase d) has been deprecated and will be removed in hsts@3. Use the uppercase-D includeSubDomains option instead. See helmetjs/hsts#21 for more

v3.15.1
Compare Source
Deprecated

The hpkp middleware has been deprecated. If you still need to use this module, install the standalone hpkp module from npm. See #180 for more.

v3.15.0
Compare Source
Added

helmet.featurePolicy now supports four new features

v3.14.0
Compare Source
Added

helmet.featurePolicy middleware

v3.13.0
Compare Source
Added

helmet.permittedCrossDomainPolicies middleware

v3.12.2
Compare Source
Fixed

Removed lodash.reduce dependency from csp

v3.12.1
Compare Source
Fixed

expectCt should use comma instead of semicolon as delimiter

v3.12.0
Compare Source
Added

xssFilter now supports reportUri option

v3.11.0
Compare Source
Added

Main Helmet middleware is now named to help with debugging

v3.10.0
Compare Source
Added

csp now supports prefix-src directive

Fixed

csp no longer loads JSON files internally, helping some module bundlers
false should be able to disable a CSP directive

v3.9.0
Compare Source
Added

csp now supports strict-dynamic value
csp now supports require-sri-for directive

Changed

Removed connect dependency

v3.8.2
Compare Source
Changed

Updated connect dependency to latest

v3.8.1
Compare Source
Fixed

csp does not automatically set report-to when setting report-uri

v3.8.0
Compare Source
Changed

hsts no longer cares whether it's HTTPS and always sets the header

v3.7.0
Compare Source
Added

csp now supports report-to directive

Changed

Throw an error when used incorrectly
Add a few documentation files to npmignore

v3.6.1
Compare Source
Changed

Bump connect version

v3.6.0
Compare Source
Added

expectCt middleware for setting the Expect-CT header

v3.5.0
Compare Source
Added

csp now supports the worker-src directive

v3.4.1
Compare Source
Changed

Bump connect version

v3.4.0
Compare Source
Added

csp now supports more sandbox directives

v3.3.0
Compare Source
Added

referrerPolicy allows strict-origin and strict-origin-when-cross-origin directives

Changed

Bump connect version

v3.2.0
Compare Source
Added

csp now allows manifest-src directive

v3.1.0
Compare Source
Added

csp now allows frame-src directive

v3.0.0
Compare Source
Changed

csp will check your directives for common mistakes and throw errors if it finds them. This can be disabled with loose: true.
Empty arrays are no longer allowed in csp. For source lists (like script-src or object-src), use the standard scriptSrc: ["'none'"]. The sandbox directive can be sandbox: true to block everything.
false can disable a CSP directive. For example, scriptSrc: false is the same as not specifying it.
In CSP, reportOnly: true no longer requires a report-uri to be set.
hsts's maxAge now defaults to 180 days (instead of 1 day)
hsts's maxAge parameter is seconds, not milliseconds
hsts includes subdomains by default
domain parameter in frameguard cannot be empty

Removed

noEtag option no longer present in noCache
iOS Chrome connect-src workaround in CSP module

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Renovate Ignore Notification
As this PR has been closed unmerged, Renovate will ignore this upgrade and you will not receive PRs for any future 6.x releases. However, if you upgrade to 6.x manually then Renovate will reenable minor and patch updates automatically.
If this PR was closed by mistake or you changed your mind, you can simply rename this PR and you will soon get a fresh replacement PR opened.


Track more data when using the CLI

When doing any action with the CLI, include the following metadata to the event:

the ECS version is passed as metadata.
scene coordinates
scene hash
a unique "anonId"  to identify the machine of the content creator
a hash of the scene's path on the local machine, to identify the scene

That way we can track stats of what versions are used in the world, by also aggregating by parcel coords
Let's send this data when:

running preview
creating with dcl init
running build
deploying
creating a workspace

Other data:

If a deployment fails, we also want to have a flag saying that it failed. Deployment failures is a great metric to track. Ideally also with the corresponding error message.

If a build fails, or a preview fails to run, we also want that data w the error message

When creating a scene (or project), would be great to know what kind of project and what template they chose

Nice to have: somehow know if when running a preview there are multiple tabs open to test multiplayer. Maybe send an event whenever the mock server is handling more than one player

Duplicate with https://github.com/decentraland/sdk/issues/529


Extension hides header text

Right after the extension loads, the "Create Great Architecture with Archicad" (#mainVideoTitle) text disappears on this site: https://graphisoft.com/ The text can be highlighted when it is readable.

Thanks for letting me know! Not exactly sure why it was doing that, but since the site doesn't appear to use anchors on their headers anyway (so the extension can't generate links for them), I just disabled the extension for that site.

Let me know if you have any other issues with that site or any others.

Actually the site does use anchors but not for all headers. There is a mainVideoTitle ID on the earlier reported text. And the IDs are there on this page too: https://graphisoft.com/resources-and-support/system-requirements

I don't have time to look into this at the moment, but I'll reopen it so it doesn't get lost.

This should be fixed, after they approve it in the store. When it updates, it'll come through as version 1.3.0. It doesn't blend in super well on that site, since the font color is black, but then they apply some kind of background gradient thing on top of it... I couldn't inherit that into the icon itself.

Works well now, thanks! The new icons are nice.


docs: v11 size token updates for Tag component

This PR updates the size tokens on the Style tab for the Tag component.

Closing because these changes have already been added in #2418


🚀 Feature Request: Serverless docker containers

Describe the solution
Title explains it all, I do not know how practical it is I would go crazy for it though

I'm not sure what this is specifically asking for, so I'm going to close this for now. Feel free to open a new issue with more specific details if this is still something you need!


Make dartpad fully featured online editor like codesandbox

There are a number of features offered by codesandbox (and others) that would be great additions to DartPad. Feel free to suggest specific ones.


feat: quickstart version

Description
Feature:
Release quickstart flavour for POC and demos
Fixes:
Fix chrony sync issues( update ibm power linux sap ansible collection to 1.1.3)
Release required?

[ ] No release
[ ] Patch release (x.x.X)
[x] Minor release (x.X.x)
[ ] Major release (X.x.x)

Release notes content

Run the pipeline
If the CI pipeline doesn't run when you create the PR, the PR requires a user with GitHub collaborators access to run the pipeline.
Run the CI pipeline when the PR is ready for review and you expect tests to pass. Add a comment to the PR with the following text:
/run pipeline

Checklist for reviewers

[ ] If relevant, a test for the change is included or updated with this PR.
[ ] If relevant, documentation for the change is included or updated with this PR.

Merge actions for mergers

When merging, use a relevant conventional commit message that is based on the PR contents and any release notes provided by the PR author. The commit message determines whether a new version of the module is needed, and if so, which semver increment to use (major, minor, or patch).
Merge by using "Squash and merge".

/run pipeline

/run pipeline

:tada: This PR is included in version 1.2.0 :tada:
The release is available on:

GitHub release
v1.2.0

Your semantic-release bot :package::rocket:


series.allowSelect not working

Version

Development Environment

Current Behavior

// Write example code

Expected Behavior

It has been fixed after 3.0.0 version.


[VL] Enable rint function

What changes were proposed in this pull request?
Enable rint function.
How was this patch tested?
UT.

cc @PHILO-HE  and @rui-mo , thanks.


Added Spanish translation to .html files in webosu/es

Thanks for the translation! This won't work right away for relative path reasons. So maybe I can put them in a separate mirror later..


Large multi page PDFs increase in processing time expotentially.

Hello,
I am using pypdfocr on Windows. It is a great tool when compiled into an easy to use EXE. Anyways, I have passed about 600 images into the tool marking start and end time. Large pdf images (300+) pages take quite long (about 3-5 hours).  While 200 page images take about 45 minutes.  My theory is that the issue is caused by the merge peice of pypdf. I will have to debug, but it seems to only occur after ghost script, and teaseract complete. This is indicated by the growing then restart of file size. Any ideas on how we can make the processing time linear??? I will begin investigating the pypdf piece of the process. Thank you again for this tool Virantha. It's accuracy and simplicity is truely a pleasure to use.

I apologize for the Mis spelled title.... T is supposed to be "multi page" not multi lateral... Still looking for a way to fix it

Okay... I think I traced where the time delay is coming from....
It is coming from the  def overlay_hocr_pages(self, dpi, hocr_filenames, orig_pdf_filename):  function
The issue is with this FOR loop
for orig_pg, text_pg_filename in zip(self.iter_pdf_page(orig), text_pdf_filenames):
        text_file = open(text_pg_filename, 'rb')

        text_pg = self.iter_pdf_page(text_file).next()

        orig_rotation_angle = int(orig_pg.get('/Rotate', 0))

        if orig_rotation_angle != 0:

            logging.info("Original Rotation: %s" % orig_pg.get("/Rotate", 0))

            self.mergeRotateAroundPointPage(orig_pg, text_pg, orig_rotation_angle, text_pg.mediaBox.getWidth()/2, text_pg.mediaBox.getWidth()/2)

            # None of these commands worked for me:

                #orig_pg.rotateCounterClockwise(orig_rotation_angle)

                #orig_pg.mergeRotatedPage(text_pg,text_rotation_angle)

        else:

            orig_pg.mergePage(text_pg)

        orig_pg.compressContentStreams()

        writer.addPage(orig_pg)

        with open(pdf_filename, 'wb') as f:

            # Flush out this page merge so we can close the text_file

            writer.write(f)

        text_file.close()

    orig.close()

It takes a LONG LONG time to complete for large images.
Watching the compiled PDF it will grow to over 1.5GB... go back down to 10mb then grow again to 1.52GB etc. It seems to do this for each page on the PDF.
Any ideas how we can speed up the merge??

I pushed a fix to the develop branch.  Please try it out and let me know if it improves things.  I don't have any large pdfs to test this.

Thank you for the update Virantha, I am attempting to run some larger files in the exe now.
I apologize for the delayed response. I just a had a son so I was offline for a little while there.
I'll test and let you know how the results go.
I can attempt to provide a sample of 2-3 pdf's if you wish to test as well.
Thank you,
Matt

Virantha, can you please re-compile and re-upload the exe version with the merge pdf change?? I compared the file to the one uploaded previously and it seems the file sizes are exactly the same. I apologize, I am having a difficult time finding where the pypdf2 change had been placed.

@matt12eagles I've updated the package to 0.9.0 and released the .exe  (I don't usually build exe's from my non-release branches).  Give it a shot now.

Just ran.... and WOW the merge is much much faster.
A 64 page document that used to take 1 hour and 10 minutes.... just finished in 12 minutes and 35 seconds.
Excellent job and thank you for your great work!!

Great, glad it's better.  Marking this issue as closed.
ps: Congrats on the son!  (have two myself)


channels and messages API

Message handler implementation and other APIs to fetch channels and messages data
Does this PR need a docs update or release note?

[ ] :no_entry: No

Type of change

[ ] :sunflower: Feature

Issue(s)

#

Test Plan

[ ] :muscle: Manual
[ ] :zap: Unit test
[ ] :green_heart: E2E

@ryanfkeepers please let me know other reviews on this PR. I will move forward with other PRs once this code is stabilised. it will save re-basing and confusions due to changes here.

Yes. Still missing test-cases for messages and replies. I will add that in coming PRs.


check: Application profile definition

Problem description

L313 ApplicationProfile definition:
shouldn't the applicationProfileId be required?
would an (optional) name (freely chosen by the API user) make sense?
Expected behavior

make applicationProfileId mandatory
discuss whether  an (optional) name (freely chosen by the API user) make sense, and implement it if agreed.

Alternative solution

Additional context

application profile id as well as the object to define the thresholds have been marked as required.

fixed in a02c36e


Update examples in Patterns and Components

This PR adds examples to all of the Components and Patterns that could be added before the Frontend update.

can't comment on words, but implementation is fine with known issues of image widths on mobile, input lengths.
@dashouse do you want @amyhupe to check for words?

I didn't actually need to add any words as most of the examples were taken from existing defaults.
I think we're going to do a proper content review once it's all in there.


BCP-7: Add Profile Support

ref: https://github.com/beyondstorage/beyond-ctl/issues/6

We can add special treatment for fs. For example:
beyondctl cp local_dir test_s3:qqqq

If src/dst doesn't include a profile name like local_dir here, we can treat it as fs://<pwd>/local_dir. So the real command will become:
beyondctl cp fs:/path/to/local_dir test_s3:qqq

In the further, we will introduce interactive profile creation:
> beyondctl profile add
It looks like you didn't input connection string, use interactive creation instead.
Please input the name.
> xxxx
Please choose the service type.
> s3
Please input the credential.
S3 support following credential protocol:
- hmac: "hmac:access_key:secret_key"
- env
> hmac:access_key:secret_key
Please input endpoint. (Input enter to use default value)
>
Profile xxxxx has been created, you can use it in the following ways:

    beyondctl ls xxxxx
    beyondctl ls xxxxx:/abc
    byonndctl cp file xxxxx:/abc/xxxxx

I think this should be supported by another proposal.

I think this should be supported by another proposal.

Yep, Maybe we can keep it in the Rationale for an idea?

ping @JinnyYi & @abyss-w for review.


Can you set Content-type="text/html" for file without extension?

I want use URL like this "http://example.com/abc" instead of "http://example.com/abc.html",
Can you add an option to set Content-Type to text/html for files without extension?

I have a related problem... web assembly files (*.wasm extensions) need to use content-type application/wasm to avoid error on Google Chrome, but the current type being used is binary/octet-stream. Is there any way to replace the content-type of specific files?

looks like you can do that with the optional args flag

You can achieve this with the args flag as @zmays mentioned. As an example:
    - name: Deploy html files without extension and content type
      uses: jakejarvis/s3-sync-action@master
      with:
        args: --acl public-read --follow-symlinks --delete --include '*' --exclude '*.*' --content-type text/html
      env:
        AWS_S3_BUCKET: ${{ env.BUCKET_NAME }}
        AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
        AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
        AWS_REGION: 'eu-west-1'

This excludes all files with extension (something.some_extension), and upload all files without an extension (in this case, all files without the .html extension), and set the content-type to text/html for this files.
Since you can't upload all files with this content type (like js files), if you also want to upload all the other assets, you can upload all the files before this with other step and including all files with extension:
    - name: Deploy all files
      uses: jakejarvis/s3-sync-action@master
      with:
        args: --acl public-read --follow-symlinks --include '.*.'
      env:
        AWS_S3_BUCKET: ${{ env.BUCKET_NAME }}
        AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
        AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
        AWS_REGION: 'eu-west-1'


Off by one error in properties with underscore prefix

interface Foo {
  _brand: 'Foo' // One underscore
}

interface Bar {
  __brand: 'Bar' // Two underscores
}

interface Baz {
  ___brand: 'Baz' // Three underscores
}

type FooBrand1 = Foo['_brand']

type BarBrand2 = Bar['__brand'] // [ts] Property '__brand' does not exist on type 'Bar'.
type BarBrand3 = Bar['___brand']

type BazBrand3 = Baz['___brand'] // [ts] Property '___brand' does not exist on type 'Baz'.
type BazBrand4 = Baz['____brand']

Duplicate of #15334 or maybe related.

Yep, sorry for the dupe ticket, closing.


chore(ci): release main

:robot: I have created a release beep boop
html: 0.11.1
0.11.1 (2024-10-10)
Bug Fixes

match the id of select with for attr (#280) (44f5d0d)

react: 0.15.1
0.15.1 (2024-10-10)
Bug Fixes

match the id of select with for attr (#280) (44f5d0d)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/ogcio/govie-ds/releases/tag/html-v0.11.1 :sunflower:

:robot: Release is at https://github.com/ogcio/govie-ds/releases/tag/react-v0.15.1 :sunflower:


Double Title for "general shortcuts"

The Title "General Shortcuts" Appears twice with the same text. Screenshot: https://imgur.com/a/C5UxPIa

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

ID: c7708ebf-b89b-168e-de02-bb00e9223318
Version Independent ID: 48a20484-21fe-cbd3-7b84-f1992002eb63
Content: Microsoft Edge (EdgeHTML) Developer Tools - Microsoft Edge Development
Content Source: microsoft-edge/devtools-guide.md
Product: microsoft-edge
Technology: devtools
GitHub Login: @erikadoyle
Microsoft Alias: edoyle

Closed. https://github.com/MicrosoftDocs/edge-developer/pull/499


Incorrect property inheritance

Properties seem to be inherited incorrectly in Scour. Here's the declaration in the example file gnome-dev-pcmcia.svg:
<g
[...] id="text5059"
style="[...];fill:none;stroke:black;stroke-width:0.99067909px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1">
<path
[...] id="path3675"
style="[...];fill:white;fill-opacity:1;stroke:none;[...]" />
But the path ends up with stroke:black due to incorrect inheritance rules. The text PCMCIA, described by the above-named path in the example file, is then black instead of white.
[Inferred information from bug 702423]
Scour version used = trunk r206
Command line used = scour.py --disable-style-to-xml -i INFILE -o OUTFILE

(by louis-simard-deactivatedaccount)
[Test case imported from bug 702423]

(by louis-simard-deactivatedaccount)

(by louis-simard-deactivatedaccount)
Set to Confirmed because I see what the changed declaration is.
Priority set to High because this bug corrupts documents.

(by vish)
In addition to the gnome-dev-pcmcia.svg, i found 3 other icons which were similarly affected:
/../devices/48/gnome-dev-jazdisk.svg
/../devices/48/gnome-dev-media-cf.svg
/../devices/48/gnome-dev-zipdisk.svg
All of them with text problems.

(by vish)

(by eduard-braun2)
Another testcase, same problem:

"stroke:none" is stripped from path 2, therefore it inherits the black stroke from the parent.

(by jazzynico)
Upstream report: https://github.com/codedread/scour/issues/22

Already imported as #22.


nm.applier: Prioritize master interfaces activaction

The master interfaces must be activated first, otherwise
NetworkManager fails with errors such as:
"""
NetworkManager[858]:
[1565960861.2223] manager: Activation of  requires master
device
"""
Depends on: #491

@EdDev should I replicate the vdsm functional test that triggered this as an nmstate unit test?
It would:

create a nic w/ IP configuration
create a bond w/out IP configuration as master of nic create in the previous step
create a bridge having the bond created in the previous step as its only port

Coverage remained the same at ?% when pulling c8bef8092b87e994cd15d150a52e522cb7a5b304 on maiqueb:activate_masterless_masters_only into c079c06b877cae186c524c5c833b32bb876f326b on nmstate:master.

ci test please


docs: new CONTRIBUTORS file

I'm trying to make this as clean as possible; as of right now we need to complete more of the project to finish this up.
Once more people start seeing the project and it's in alpha stages, we'll be good to go on finishing this.

I think we should be good to merge after ec8583d. @heyitspuggo want to review?

Looks good. Let me look over it.

Oh and: Please add a Verified SSH key to your profile. Soon enough, I'll make it a requirement.

One more thing: make sure to add that we will be running over each commit with an Action that lints it. If the linting fails, the PR will be requested to be fixed, @324Luke

@heyitspuggo I'll add this to the document.

Oh and: Please add a Verified SSH key to your profile. Soon enough, I'll make it a requirement.

Sure.


test DocumentManager.setReadTransform

I'm not seeing any functional tests for DocumentManager.setReadTransform.  I'm thinking we should add some.

I've added a unit test to make sure the feature is tested on this side.

I added two more scenarios to the unit test.  They work as-is, but I'm not sure the current behavior is the right behavior.  I've started an email thread to discuss.


API status ettor

Hi,
The API status field indicates an error although the Github service and API is up and running.

Bug Report Dump (Auto-generated)

Version 1.27.2<PHONE_NUMBER>)
Device: iPhone 8 Plus (iOS 12.2)
TestFlight: false

This has been fixed in the TestFlight beta


feat: add outline to PDF generation

Adds support for PDF outline (TOC) only for old Headless Chrome (headless:true).
Related crbug: crbug/840455
Closes #11510, Closes https://github.com/puppeteer/puppeteer/issues/1778

I am not seeing any bookmarks created when trying to use this on my PDFs. I added outline: true to the await page.pdf({ }); and I added headless: true to the const browser = await puppeteer.launcn({ });
Is there something more which is needed? How can I troubleshoot this please?
Thanks!

I'm having the same issue: not getting the outline when adding outline:true and setting headless:true.

Use headless: 'shell' as this is only supported for the old headless which is no longer the default.

thanks :-)

Nice, thank you @OrKoN
Too bad page numbers in footers are broken in headless:shell - it seems that it's either a choice between having bookmarks or having page numbers 🙈 - per #12361

@dannybeckett Here is Chromium bug that tracks the outline property - https://issues.chromium.org/issues/41387522#comment48
To learn more about shell (chrome-headless-shell) refer to https://developer.chrome.com/blog/chrome-headless-shell.

With Pass GenerateDocumentOutline through new headless (in Chrome 126.0.6450.0 and later) things like  chrome --headless=new --print-to-pdf --no-pdf-header-footer --generate-pdf-document-outline=true now work and emit a document outline. Passing generateDocumentOutline: true through the Chrome Devtools Protocol also works (here in puppeteer exposed as outline: true).


Odd care behavior same as issue #1436

I'm still suffering from that case,
the only workaround i managed to help me was export TERM=eterm-color
i'm on 1809 and still suffers from that. xterm-256color doesn't seem to cut to it
Here is an example of how it looks like on my windows 10 1809 17763.253
connecting to centos 7.6.1810

I do have to point out this didn't happen on Debian system i sshed into.
So something to do with centos<->wsl
I tried to update the terminfo according to the wget command, but it didn't help
the only solution was changing TERM variable
Would love to hear anyone's thoughts or help about it.
Thanks
Originally posted by @avielc in https://github.com/Microsoft/WSL/issues/1436#issuecomment-480570997

Does this happen in Command Prompt? You are using Cmder.

this

@Biswa96  yes, it happens if i open bash as well, or command prompt.
@therealkenc - why did you close it mate?
I tried adding my post on there, but the issue won't open.
It is an issue after all.

why did you close it mate?

In the link provided, to the issue you cited.

If you have further asks/issues, please file new issues on our Console GitHub Repo.

This was also noted in the issue template, which you deleted.

If this is a console issue (a problem with layout, rendering, colors, etc.), please post to the console issue tracker.


Enhacement: Disable dates

Is it possible to develop a possibility of passing a list of dates that would like to block?
Example:
const myCalendar = new HelloWeek({
    ...
    disableDates: [
        '2018-09-11', '2018-09-13', '2018-09-14'
    ],
    ...
});

Hi @fontebasso yes, its possible, a i have a list of new features and that its one.

Hi again @fontebasso the version 0.1.0 its available.
Now you can define disable dates and also interval of days.
eg:
disableDates: [     '2018-04-17', '2018-04-19', '2018-04-23' ],
or
disableDates: [     ['2018-04-16', '2018-04-24'],     ['2018-05-16', '2018-05-22'] ]
Attention: You only can define dates with this format if you have the formatoption, in alternative you can use timestamp.

Awesome, thanks!


[WFLY-19455] Upgrade reactive messaging

https://issues.redhat.com/browse/WFLY-19456 for the Reactive Messaging upgrade
https://issues.redhat.com/browse/WFLY-19457 for the JCTools upgrade.
See the Jiras for the diffs. The JCTools upgrade is needed because the SmallRye Mutiny version pulled in by the Reactive Messaging upgrade relies on a new class in JCTools introduced after its current 4.0.3 version.

<--- THIS SECTION IS AUTOMATICALLY GENERATED BY WILDFLY GITHUB BOT. ANY MANUAL CHANGES WILL BE LOST. --->

Wildfly issue links:

WFLY-19455

<--- END OF WILDFLY GITHUB BOT REPORT --->
More information about the wildfly-bot[bot]

Thanks @kabir and @ehsavoie


Allow Panamax to execute jobs via Dray

This pull request introduces several new items into Panamax, all around the concept of running jobs via CenturyLinkLabs/Dray.
Workflows to be executed are stored in YAML template files read in as JobTemplate subclass instances with the panamax:job_templates:load rake task.  Currently the only subclass is ClusterJobTemplate. The templates are parsed so that each step of the workflow is added as a JobTemplateStep for that JobTemplate.
By POSTing to the new /jobs route, a Job can be created from a JobTemplate and subsequently posted to a running Dray service.  The Dray service will return a job key, and subsequent GET requests to the /jobs/:key route will return details of the job by fetching the job data from Dray.

Found another occurrence of "stevedore", but fixing that and merging Alex's fixes from https://github.com/CenturyLinkLabs/panamax-api/pull/262 == :+1:

:+1:

@dharmamike feel free to slice and dice my commits as you see fit before merging


KeyError: b'V' in FIELDS_DEFINITIONS

FIELDS_DEFINITIONS is missing b'V' for Vertica-specific messages.

I believe this is a duplicate of #210.


Soundflower 64ch

Yesterday I updated my Mac to Mojave and Toast Titanium 17. I suspect the latter got rid of Soundflower 64ch, but left the 2-channel flavour in place. Is there a way to reinstall the 64-channel Soundflower device?

they still make Toast???   anyway that sounds really weird and i don't think is even possible.  if you open up Audio MIDI Setup, does it really only show the 2 ch version?  -- makes me think you don't have the right version.  i would uninstall following the instructions here: https://github.com/mattingalls/Soundflower  and then run the 2.0b installer


110 - building package workflow

Solves #110
Hi all, this PR includes adds local build of the package and few other changes to improve workflow. Let me know if you have any feedback. Thanks, -- Miguel

Thanks @p-j-smith  and @paddyroddy for your feedback, I think I have addressed your comments in the previous commit. Let me know if you have further comments. Thanks, --Miguel

Thanks @paddyroddy  for approving this one. Let me know @p-j-smith  if you have further comments as to then automatically allow this one to merge. Thanks, --MIguel


Demo breadcrumb missing CSS

In the demo website, you provide a breadcrumb demo that has a really basic style, I guess it is not the correct behavior. Here is a picture of the result you're showing:

Link: http://ngofficeuifabric.com/demos/uifBreadcrumb/

Issue with the fabric 2.1.0 release where the breadcrumb styles are missing from the Fabric distribution. This is fixed in 2.2.0 so when we ensure our directives are not affected by updating the fabric version & use 2.2.0, this issue will get fixed automatically. Therefore we won't fix it now.

Also an issue with how we are rendering this component as Fabric changed their rendering. See #260.

Closing the loop on this... the challenge was that Fabric changed the implementation of breadcrumb & their CSS which caused issues with our rendering (ref #260). This has been fixed in PR #261

The demo will get updated in the next release.


use lz4, limit s3mi concurrency, switch from dash to bash

Using lz4 catches corrupt downloads, causing them to be retried, so the job doesn't crash.
S3mi concurrency above 2 is not reliable;  concurrent attempts 3, 4, etc will wait up to 15 seconds for a s3mi slot to free up then proceed with regular aws cp.
Turns out docker's default shell is the exquisitely weird DASH;  switch from that to BASH in order to get easier pipefail semantics for correct error recovery with lz4 etc.   Also generally best to have the docker container shell be the same one that developers are using when testing the code.

Testing here https://staging.idseq.net/samples/12782    Expect a few iterations before it's all correct.
Saw more examples of corrupt downloads lately, so planning to switch EVERYTHING to lz4 as that would ensure we retry a download that produces a corrupt reference file instead of crashing the batch job or silently yielding incorrect results.   Also planning to convert rapsearch index to lz4.

This appears to work well in staging.   Inclined to merge tomorrow (Sunday).

Most of this past testing.   The experimental stage didn't, in the most recent run, due to accidental revert of staging;  but it passed in prior runs.   Taking a small risk by deploying this.


Update how-to-test-attack-path-and-security-explorer-with-vulnerable-…

…container-image.md
Guide does not work if a cluster does not exists

#sign-off

Due to the upcoming Ignite conference, all merging and publishing is on hold until the morning of 11/15.
This PR is ready for merge on 11/15.
#label: "event-triaged-to-10AM"
#label: "missed-content-complete"


Frontend: Reconnect WS

Websocket does not properly reconnect upon browser reload in viewer. This should be fixed at some point.

I cannot really reproduce this issue. If I reload my browser, WebSocket reconnects as expected.
What exactly is the issue here?

Then this issue got fixed along the way...
I guess there were instances, where no websocket reconnection was established.

Okay! So I'll close the issue and we re-open it (with more details) if the problem resurfaces.


Change ping to an explicit message rather than ws protocol frame

The current recommendation from Slack is to use a message to ping the websocket servers in addition to the protocol specific ping frames (the ws library can handle this all on its own and there's no need for code). Thus the ping code here was redundant since it was sending the same type of ping the server would have already been sending and the botkit client would have already been ponging. With this change, I also hope to resolve possible issues related to pings being an unmasked message and people getting abnormal terminations after that message was sent.

this PR is redundant now, so i'll clean up house a bit :)


Visibility graph ignoring boundary or holes in some cases

Hello!
It seems that visibility graph ignoring outer boundary or holes in some cases and it leads to impossible shortest paths.
Example with ignored boundary

Example with ignored hole

One more example with ignored boundary

Pickle files to reproduce issue
maps.zip
MacOS Monterey 12.5
Python 3.8.9
extremitypathfinder 2.2.2

Thanks for reporting this. Can you try with version 2.2.1 please? I might have introduced this behavior in the last release by mistake.
Side request: The examples you gave are very good test environments. Would you mind sharing some scenarios?

With version 2.2.1 it works fine. Thank you for quick response!
I would like to share this scenarios, but i need to clarify the legal details first, i will answer you in few days.

Glad it works. I will remove release 2.2.2 soon.
There is no need to use exactly this data. Feels free to obfuscate in whatever way required. Any kind of additional test  data would be highly appreciated. Thank you

I got approved for sharing data. There are about 20 maps like this that I can share.

I got approved for sharing data. There are about 20 maps like this that I can share.

Could you add a PR with just including these maps?


#390:M2_REPO variable as VariableDefinitionPath

Fixes: #390

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
3 unchanged lines in 2 files lost coverage.
Overall coverage increased (+0.004%) to 60.257%

Files with Coverage Reduction
New Missed Lines
%

com/devonfw/tools/ide/context/IdeContext.java
1
48.78%

com/devonfw/tools/ide/variable/VariableDefinitionPath.java
2
50.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.004%

Covered Lines:
4720

Relevant Lines:
7538

💛  - Coveralls


C++ interop support for multiple C++ runtimes

C++ interop should support both code that uses the msvc++ runtime and code that uses libc++.
This is accomplished by entering a special libc++ import context when loading a set of specified Clang modules that depend on libc++ instead of msvc STL.

[x] preload 'ucrt' without libc++ context when transitioning into libc++ context.
[x] rename the imported 'std' modules in the imported libc++ module map.
[x] rename the imported 'std' namespace in the imported libc++.
[x] NOT NEEDED: resolve the decl conflicts between imported libc++ and msvc STL.
[x] adjust the import paths correctly when transitioning into libc++ context.
[x] NOT NEEDED: reset the import paths when leaving the libc++ context.
[x] Verify that libc++ module reference don't pass through the Swift module boundary

https://github.com/apple/swift/pull/72843


Migrate Microsoft.Bot.Builder.Dialogs.Declarative.Tests project to xUnit

Fixes# 4095
Description
This PR migrates all Microsoft.Bot.Builder.Dialogs.Declarative.Tests tests from MSTest to xUnit.
Detailed Changes

Removed MSTest packages from the .csproj.
Replaced [TestMethod] with [Fact].
Changed Asserts.
Replaced Assert.Fail with thown new XunitException.
Removed TestContext.
Replaced ClassInitialize method with a class' constructor to execute tests' shared code.
Used constants instead of variables where applicable.
Used var instead of the specific type.
Removed redundant parenthesis.

Also, we did the following changes in:

JsonLoadTests:

Added the Dispose method to clean up after each test execution.
Added the test name as parameter in BuildTestFlow and BuildQnAMakerTestFlow to pass it to InitializeAdapter method instead of TestContext.TestName

SchemaMergeTests:

Replaced [DataTestMethod] with Theory

Startup:

Replaced [AssemblyInitialize] with the AssemblyFixture feature of Xunit.

Testing
The following image shows the tests passing after the changes.

Promoted


Rate Limit?

What is the rate limit for the duckduckgo ai chat?

Keep it to a maximum of one message per second and it shouldn't trigger the rate limit


[BEAM-6932] SamzaRunner: migrate to use new Samza 1.1.0 liraries

Update SamzaRunner to use the latest Samza release libraries (1.1.0).

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

Run Java PreCommit

Run Python PreCommit

Run Python PreCommit


When release 4.0 version?

I am trying to deploy yolov8 in zcu104 with vitis ai 3.5, but it is not well supported. So if 4.0 version good for zcu104 and yolov8 model? When will you update 4.0 version?
Thank you for your reply.

Hi @wangguoqing129,
You can use the VIA 3.5 Library examples for yolov8, but you will need to rebuild the ZCU104 DPU for VAI3.5.
This is not officially supported by AMD, but I do I have git repo to build the DPU_TRD that I'm attaching.
You will need Vivado 2023.2 and Petalinux 2023.2 to build this.
You will need a .prototxt file to run the via yolov8 examples, here's an example for yolov8m
model {
kernel {
mean: 0.0
mean: 0.0
mean: 0.0
scale: 0.00392157
scale: 0.00392157
scale: 0.00392157
}
model_type : YOLOv8
yolo_v8_param {
stride:8
stride:16
stride:32
max_boxes_num:30000
max_nms_num:300
num_classes: 80
detect_layer_name: "n0_cat__ret_263_fix"
detect_layer_name: "n1_cat__ret_278_fix"
detect_layer_name: "n2_cat__ret_293_fix"
conf_thresh: 0.3
nms_threshold: 0.7
}
}
VAI-3.5-ZUP-DPU-TRD-main.zip

@claganier @jimheaton will confirm (I believe that he attempted this, but I am uncertain of the answer).  However, I am still concerned that the activation type will be a bit of a blocker for you (per my email).  @jimheaton have you ever attempted to deploy YOLOv8 on the DPUCZ?

Hi @claganier, You should be able to use a similar method to convert the KV260 to VAI 3.5.
What you would need to do is take the KV260 bsp, uncompress it, and modify the  contained Vivado project to add the DPU and generate the xsa. This is what the first step in the repo was doing for the ZCU104 and 102 boards.
Once you have the .xsa, you can build Linux using the flow in the repo, with the only change would be using the KV260 bsp.
The way the KV260 boots is different than the ZC104 that the repo was designed for, so their may be some changes needed in how to wic image is created.
When I have some time, I can try porting the KV260 to VAI 3.5, but it  might be few weeks.

Thanks @jimheaton!  @claganier also please note that you will need Jim's Vitis AI Library patch that can be found here:  https://github.com/Xilinx/Vitis-AI/files/15419306/vitis-ai-library.zip

Hi @quentonh, Yes I believe that I did get this to run on the ZCU102 using the vai-library sw examples after migrating to VAI 3.5.

Posting my "thoughts" on YOLOv8 deployment on the DPUCZ, FWIW:

Having thought about this a little more, I realize now that the DPUCZ supports Hard Swish.  You may be able to use Hard Swish in place of Hard SiLU.  You can see [here](https://pytorch.org/docs/stable/generated/torch.nn.SiLU.html) that the SiLU activation function is also known as the Swish function.   Note the curve of the transfer function.  I believe that Hard SiLU is simply an approximation of SiLU, but for the moment I cannot find the transfer function for Hard SiLU.

In 2019, the MobileNetv3 paper introduced a new non-linear activation type called h-Swish, or Hard Swish, or hard_swish that was intended to be easier to compute and easier to quantize.  Why does this matter?  It matters because Hard Swish is in fact a piecewise approximation of SiLU:  [Hardswish — PyTorch 2.4 documentation](https://pytorch.org/docs/stable/generated/torch.nn.Hardswish.html)  Note the similarity between the Hard Swish and SiLU transfer functions.  They are not identical, but overall, it is a reasonable approximation of SiLU.

Now, if you quickly look at the computations for tf.keras.activations.hard_silu  |  TensorFlow v2.16.1, you will see that in fact it is nearly identical to the hard_silu function.

So, in fact, HardSiLu and HardSwish, SiLU and SiLU are “approximately” the same.

You can thus try to swap the HardSiLU activation type in YOLOv8 with HardSwish activation type, re-train your network and attempt to deploy it on the DPUCZ.  What I cannot promise you is that the Hard Swish activation type will be supported by the quantizer and compiler IF the preceding and succeeding layer types found in YOLOv8 do not appropriately merge with that activation.  This may require more extensive modification than simply swapping out the activation in the network.  Leveraging the Vitis AI 3.5 (not 3.0) Model Inspector may help you better evaluate the compatibility of the network before attempting to optimize accuracy through extensive re-training.

Net result, this will likely require some effort, but I believe it may be a potential option.  Note that when activations are swapped, there is often some loss of accuracy.  In some cases, the user can modify the network further (potentially increasing the depth of the network or increasing the input resolution) to compensate.

@claganier Sorry!    The patch is only required for Zynq-7000, and not for Zynq Ultrascale+.

Hi @jimheaton, thank you for these instructions to setup VAI 3.5 on the Kria KV260.
I have setup Vivado on my machine and have tried going about the modification but am facing a few issues:

I downloaded the xilinx-kv260-starterkit-2024.1.bsp from https://www.xilinx.com/support/download/index.html/content/xilinx/en/downloadNav/embedded-design-tools.html, is this the correct BSP file required?
I have tried to open the hardware project file in Vivado (2023.2 as mentioned in your previous message) but the KV260 project seems to have been created with a more recent version of Vivado. Should I upgrade to a more recent Vivado version or should I use another BSP ?
Would you be able to provide instructions regarding how to add the DPU and generate the XSA? I do not have experience with Vivado and am struggling to see how I would go about that.

Thank you

Hi @claganier,
I  used 2023.2 so you need to download the 2023.2 bsp.
Once you have the design opened in Vivado, you would want to connect the DPU similar to whats shown in the DPU Vivado TRD: https://github.com/user-attachments/files/16415791/VAI-3.5-ZUP-DPU-TRD-main.zip

Hello @jimheaton, thank you for getting back to me. I have tried using the repo you provided, and did the following modification:

Modified main.tcl to accept KV260 as board name – setting the project board to “xilinx.com:kv260_som:part0:1.4”
Added a kv260.xdc file based on the default.xdc from xilinx-kv260-starterkit-2023.2:

# Copyright (C) 2022, Xilinx, Inc.
# Copyright (C) 2022, Advanced Micro Devices, Inc.
# SPDX-License-Identifier: Apache-2.0

set_property BITSTREAM.GENERAL.COMPRESS TRUE [current_design]

#Fan Speed Enable
set_property PACKAGE_PIN A12 [get_ports {fan_en_b}]
set_property IOSTANDARD LVCMOS33 [get_ports {fan_en_b}]
set_property SLEW SLOW [get_ports {fan_en_b}]
set_property DRIVE 4 [get_ports {fan_en_b}]

Created a blank dpu_kv260.tcl file

With these modifications I am getting the following error when running the vivado -mode batch -source main.tcl -tclargs kv260:
INFO: [IP_Flow 19-234] Refreshing IP repositories
INFO: [IP_Flow 19-1700] Loaded user IP repository '/home/colin/Downloads/VAI-3.5-ZUP-DPU-TRD-main/hw/dpu_ip'.
INFO: [IP_Flow 19-2313] Loaded Vivado IP repository '/tools/Xilinx/Vivado/2023.2/data/ip'.
# source dpu_${board}.tcl
# save_bd_design
ERROR: [BD 5-104] A block design must be open to run this command. Please create/open a block design.
ERROR: [Common 17-39] 'save_bd_design' failed due to earlier errors.
    while executing "save_bd_design"   (file "main.tcl" line 25)

I am not sure what is the error - if I was meant to have dpu_kv260.tcl filled up with material (if so not sure what would go in there as zcu102 and zcu104 are different), or if another error occurred.
Thank you very much for you help.


drag a link from web browser seems not to work

copy/paste works, but drag and drop not, tried with FF and chrome

I could not reproduce your Firefox attempt (worked fine for me).
For your Chrome attempt, it seems that you're not actually dragging a URL, but the title of the video (it's visible in the tooltip next to the cursor for a few frames of the video). Also, be aware that the program needs the protocol part of the URL (https://) to be present in order to recognize the dropped text as an URL.

tried again, 3 different browsers. works as expected. sorry.