Billing address is lost when the user refreshes

Save billing address to cart
Summary description
Currently, cart's billing address is only saved in the client's state so it is lost when user reloads the page.
Rationale for why this feature is necessary
When user leaves the cart and reloads it, they should not need to fill in the billing address again. For Paypal payments in particular, when user is redirected to another page, the cart's billing address is completely lost.
Proposal

User experience: When a user clicks Save and continue on the Payment Method checkout action, save an object with billingAddress, and associated payment method data, like stripeToken.

Data: Create a onSetPaymentMethod mutation that triggers a setPaymentOptionMutation mutation

@ajporlante
The PayPal mock ups so far do not collect billingAddress at all: https://app.zeplin.io/project/5afc82f5e8d73e250ff9d855/dashboard?tag=PayPal
Does a user have to fill out and submit their billingAddress before they get redirected PayPal? Cos if so, we need a redesign from the UI side (along with making sure the Starter Kit saves and displays billingAddress).

Does a user have to fill out and submit their billingAddress before they get redirected PayPal?  - Yes. But this feature is not just about Paypal. I think this is a necessary feature even for Stripe or credit card payments in general.

@aldeed Was there a reason why we don't save PaymentMethod/billingAddress in the backend? Does this proposal sound good?

@machikoyasuda In general we're just avoiding storing anything in the database until we need it, and the billing address is part of each specific payment UI, so we don't need it until the payment is submitted at the very end.
@ajporlante First, I don't understand why we'd collect a billing address before redirecting to PayPal. I think we'd wait to see if PayPal gives us one when it redirects back, and if not, then collect it. Although I thought that was all part of the PayPal flow anyway.
Second, the billing address form/selection should be part of the specific payment method UI. It's not intended to be shared between payment methods. So if one payment method needs an address it should collect it but if another one doesn't it should not. If the UI / checkout components are not currently set up this way, we should change that.
So that means that the PayPal method will need its own checkout component, which can collect a billing address if necessary. When you implement that in the starter kit, ideally it should not prompt for the billing address until after redirected back from PayPal. if it's truly necessary to ask for a billing address before the PayPal flow, then you can save it in MobX and persist that part of the state in local storage.

@aldeed So even if a payment provider saves the billing address, it's not being recalled on refresh. So this seems like it still needs to be resolved directly in the starter kit. So while some payment methods may not save it, even if they do save it, currently we lose it if the user refreshes which seems like a fairly serious flaw.

@aldeed Why is this happening for billing address and not shipping address. Certainly there are fulfillment methods that don't require a shipping address and do require a billing address e.g. digital downloads.

@zenweasel Correct, I believe shipping address is collected as part of the fulfillment group based on which type of fulfillment you've chosen for that group. Currently there is only "shipping" type, but when "pickup" and "digital" are added, those wouldn't necessarily show the shipping address and method steps.
If you're asking why we store shipping address on a cart in the db but not billing address, it's because we made the decision (for security and privacy reasons) to no longer have the cart plugin be at all involved in payment data. The billing address, if one is needed, is only needed by the payment plugin, which doesn't come into play until you place the order at the end of checkout.

If any payment data needs to be persisted PRIOR TO placing the order, we leave it up to the payment plugin to determine the best and most secure way to do that.
If any payment data needs to be persisted ON the order, that's what the generic PaymentData object is for.

@ajporlante Can we close this issue? Has this been handled?

So what to do in cases where a redirect is required and the plugin doesn't handle the billing address?
This made we think of how to persist the required data for these redirect payments at all, as usually there is additional information needed. I believe before we used to expose routes on the backend for this that grab the necessary data and then redirect. But now I wonder if such redirects could also be securely handled in the cart page on the frontend, communicating necessary data to the backend over GraphQL then.
While this certainly requires additional logic like the routes with parameters for each plugin that doesn't matter here, what I'm thinking about would be some generalized client implementation pendingPayment, which could also include the billing address? (But should never include any authorized tokens that could be misused)
And regarding the Paypal example, I'm having issues with the way this works from the UX experience:
While I certainly get the logic of authorizing the payment first, doing whatever is necessary then like asking for the billing address and finally clicking the place order button, this could result in a lot of non-finished carts. A lot of users are used to completing a checkout by just following the Paypal flow.
Therefore I ended up making Paypal a simple radio option without a form, and then replaced the final checkout step to show the Paypal button instead of" Place order" if Paypal was selected. I am not using the redirect flow but a popup, as the Paypal docs suggest that other implementations are outdated.


How to obtain the relative coordinates of a dragged element (relative to its parent element)

problem
Hey, author
When dropping the drag item, obtain its relative coordinates。
operation

Code structure

Looking forward to your reply，thank you

@hhbusui
Using getElementRect will give you the exact location.
https://github.com/daybrush/moveable/issues/797#issuecomment-1321015856
The hitTest method will give you an idea of how much the hit is, but it's approximate.
moveable.hitTest(element); // 0 ~ 100

Thank you for your reply, which perfectly solved my problem.


(optionally) emit warning messages from C(++) compiler

Once rust-lang/cargo#2630 lands, it would be awesome if there was an option to tell gcc-rs to forward the warning messages produced by the c/c++ compiler, but prefixed with cargo:warning=, to the build script's standard out. This would be useful for getting and fixing error messages in C++ and C code which is compiled through the build plugin as a companion to rust code.

Indeed! I hope to do this by default once that lands

In rust 1.11, I believe cargo:warning is now stable. Should we just collect the standard error from the compiler processes, and print anything written to it with each line prefixed with cargo:warning=?


Convert SLEIGH parser from ANTLR to Tree-Sitter

Currently SLEIGH parser grammar implemented with ANTLR. But there exist much more modern and flexible parser generator framework - tree-sitter. Apart from the normal "static" parser Tree-sitter designed to be more error-forgiving and able to parse things on the fly being incremental, since the main design goal was to use it for the syntax parsing in the editors. It is able to generate high-performance C code with many various bindings.
Moreover, with the switch you will get the support of the SLEIGH files in the Visual Studio Code, NeoVim, Emacs, etc. It will simplify other tools integration as well.

I don't see Java listed in the available language bindings.

@astrelsky there is https://github.com/JetBrains/jsitter

Also exists other parsers:

Xtext
flex + bison

Fast-forward a few years, and Tree-Sitter became even more popular. Currently, the most updated Java bindings are https://github.com/bonede/tree-sitter-ng and are on Maven.

Our team just discussed the pros/cons of this and while we see some pros, it's not currently worth the time investment on our end.  I am going to close it to indicate that the team will not be working on this.


Azure policy recommendations can be included in this master article

[Enter feedback here]
This page consists of just 3 azure policy recommendations for VM out of many others which is typically available in Advisor recommendations. Why don't we just include a link of all other azure services category wise?
For example, we can start including the MS Cloud Governance / Azure Governance policy recommendations across storage, network components such as vnets, lbs, app gateways lbs etc or Container services or Aks etc.. I mean all possible Azure services which can be governed by an Azure policy and Microsoft thinks that it's customer's should or may include them in their Azure Cloudscape for better and MS recommended policy best practice guidelines..??
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 9873756d-1f51-478d-f352-231c2624a8a8
Version Independent ID: 6af6592e-f612-e80b-ce54-0dbab8a8f8c2
Content: Recommended policies for Azure services - Azure Policy
Content Source: articles/governance/policy/concepts/recommended-policies.md
Service: azure-policy
GitHub Login: @davidsmatlak
Microsoft Alias: davidsmatlak

#assign:davidsmatlak

@adey2019 Thanks for the feedback and suggestion to add more recommendations to the article. There's policy information for other services in the Azure Policy Samples and Azure Policy built-in policy definitions. There's also VM policy information at Azure Policy built-in definitions for Azure Virtual Machines.

#please-close


Invalid 404 after page reload and "back" nav

What version of Remix are you using?
1.2.2
Steps to Reproduce
Follow the instructions from the introduction tutorial until you have:
nchiang@eevee ~/repos/my-remix-app (master) $ tree app/
app/
├── entry.client.tsx
├── entry.server.tsx
├── post.ts
├── root.tsx
└── routes
    ├── index.tsx
    └── posts
        └── index.tsx

2 directories, 6 files

Make sure that you don't yet have a page for each individual post (i.e. going to /posts/my-first-post should—correctly—result in a 404). Then:

yarn && yarn dev
Open up http://localhost:3000 in Firefox (I'm not sure if this bug appears in Chromium-based browsers; I only tested with Firefox)
Click on the "Posts" link to go to http://localhost:3000/posts client-side
Click on one of the post links to go to, for example, http://localhost:3000/posts/my-first-post
Reload the page
See (correct) 404
Click the "back" button in your browser to navigate back to http://localhost:3000/posts
See (incorrect) 404 when there should instead be the "Posts" page

Expected Behavior
Navigating back from a 404 page to a page that exists shouldn't result in a 404 but should instead simply show the page that exists correctly.
Actual Behavior
See steps to reproduce.

Thank you for reporting this. It seems like a duplicate of #776, so let's track it there.


Break long lines in code examples.

The website only renders code blocks at 96 chars, and therefore long code lines get wrapped. Manually breaking the lines prevents the wrapping from occurring.

merged in 00fbd8fd527fd6ee0319361bf194cd51a1ac1bfb, thanks.


fscd run ok

for review

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.wangbin44 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Query performance question

Hi Luca
I have a query performance question for you.
Given the following vertices and edges classes and relations
A -- vertices --> B -- devices --> C -- outputports --> D -- port --> E -- stream --> F -- record --> G (field name)
A -- vertices --> B -- devices --> C -- inputports --> D -- port --> E -- stream --> F -- record --> G (field name)
The field name of G can have one of 2 values: "LogicalSource" and "LogicalDestination"
The edge between C and D can be labelled either "outputports" or "inputports"
I want to query all instances of F attached to one specific instance of A.
The instances of F must go in one of 2 collections depending on the value of the field name in the G instance connected to F.
I've done a test with a setup where there are 2K instances of F (evenly distributed between LogicalSource and LogicalDestination)
I've tried a fair amount of ways to query (SQL calls, traverse and pipeline variants) to get the best performance. The best query I've found is the following.
Do you have suggestions on a better query?
Thanks,
Daniel
   List<OrientVertex> logicalSources = new ArrayList<>();
   List<OrientVertex> logicalDestinations = new ArrayList<>();
   Map<String, List<OrientVertex>> grouped = new HashMap<>();

   GremlinPipeline pipe = new GremlinPipeline();
   pipe.start(graph.getVertex(rootId)).out("vertices")
  .out("devices").out("outputports","inputports").in("port").in("streams").groupBy(grouped, new PipeFunction<OrientVertex, String>() {
     @Override
     public String compute(OrientVertex v) {
        Iterable<Edge> edges = v.getEdges(Direction.IN, "record");
        if (!edges.iterator().hasNext()) {
           return "";
        }

        Edge e = edges.iterator().next();
        Vertex t = e.getVertex(Direction.OUT);
        return t.getProperty("name");
    }
   }, new PipeFunction<OrientVertex, OrientVertex>() {
     @Override
     public OrientVertex compute(OrientVertex v) {
        return v;
     }
   }).cap().next();

   logicalSources = grouped.get("LogicalSource");
   logicalDestinations = grouped.get("LogicalDestination");

I forgot to mention that the java code and the OrientDB and in the same VM (plocal connection).

Hi @ylopotun
if you do not need filtering in the middle this is probably the best query you can write for this use case.
What is the performance of this query on your db?

In our system and with the test case I've done, the query populates 2 collections of equal size. I've run 3 different tests. One returning 2K records split in the 2 collections, one return 10K results and one returning 200K results. For each test, the same query is called 10 time in a row. I'm giving you the performance for the first call and the average of the 10 calls (as expected first calls is slower).
1k/1k collections: First call 586ms   Average of 10 calls: 250ms
5k/5k collections: First call 1081ms  Average of 10 calls: 472ms
100K/100K collections: First calls: 8009ms  Average of 10 calls: 6881 ms
FYI, if I change the schema and create an edge between A and F and the edge allows removing the filtering, the times are significantly better as expected.
1k/1k collections: First call 156ms   Average of 10 calls: 54ms
5k/5k collections: First call 338ms  Average of 10 calls: 135ms
100K/100K collections: First calls: 2129ms  Average of 10 calls: 1498 ms
Thanks for confirmation that the query as written above, given the restriction, is probably the best.

Thanks for the details @Daniel-Valliere
I think I can close this, if you need further details or help please reopen


Update webpack to version 4.9.1

Closes #80

Pull Request Test Coverage Report for Build 375

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 96.667%

Totals

Change from base Build 371:
0.0%

Covered Lines:
78

Relevant Lines:
78

💛  - Coveralls


Example with selected value

Could you add an example that shows how to bind a value to the dropdown?  There's currently no documentation for this, excepted for the picked method.  I'd like to be able to do something like this:
<mat-dropdown id="rsvp" selected="{{selected}}">
      <mat-option value="YES" label="Yes"></mat-option>
      <mat-option value="NO" label="No"></mat-option>
      <mat-option value="MAYBE" label="No"></mat-option>
</mat-dropdown>

The property you are looking for is called "model" (from xp-input-behavior) and it represents the current value of an input (in this case the selected value).
<mat-dropdown id="rsvp" model="{{selected}}">
      <mat-option value="YES" label="Yes"></mat-option>
      <mat-option value="NO" label="No"></mat-option>
      <mat-option value="MAYBE" label="No"></mat-option>
</mat-dropdown>

We are currently working on a new documentation to highlight the behaviors used and possibly include all the other properties/methods/attribute that come with each behavior.


Expose validate command

Terraform has the validate command that can be run to simply validate the syntax of .tf file.
It would be great to be able to execute it without executing any of the other commands like plan, apply or destroy.

@msuterski Do you have thoughts on how you would implement this?
I was thinking of making some changes that may require a major release.  This would include:

Add validate key and default it to true
Have plan key default to true
Add apply key and default it to true

This would then keep current default behavior to apply if changes found.  It would also run all 3 commands by default.  Breaking change would be that a "dry run" would require apply: false to be set.
So then the following would validate, plan and apply
pipeline:
  terraform:
    image: jmccann/drone-terraform:latest

The following would "dry run" and validate and plan only:
pipeline:
  terraform:
    image: jmccann/drone-terraform:latest
    apply: false

The following would "validate" only:
pipeline:
  terraform:
    image: jmccann/drone-terraform:latest
    apply: false
    plan: false

@jmccann I think it should work. I'm a bit worried about apply defaulting to true. It is not now (semi-directly) and might cause problems. The other two are harmless.
I was thinking about exposing something like a command that would be one of them (or more in the future), but that would make it even more backwards incompatible.

I'll think about your suggestion more and maybe try it out ... I think I may like it better. 😛

This should be addressed with merge of #58


chore(deps): update terraform terraform-ibm-modules/cos/ibm to v7.3.1

This PR contains the following updates:

Package
Type
Update
Change

terraform-ibm-modules/cos/ibm (source)
module
patch
7.3.0 -> 7.3.1

Release Notes

terraform-ibm-modules/terraform-ibm-cos (terraform-ibm-modules/cos/ibm)
v7.3.1
Compare Source
Bug Fixes

deps: update terraform terraform-ibm-modules/cbr/ibm to v1.18.1 (#534) (8dcdde9)

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.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

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

This PR has been generated by Renovate Bot.

/run pipeline

:tada: This PR is included in version 2.11.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


feat:Added new aws rule to check S3 buckets are encrypted

Description
Policy implementation to check the aws S3 buckets are encrypted at rest to protect the contents.
Fixes # (issue)
Type of change
Please delete options that are not relevant.

[ ] New feature (non-breaking change which adds functionality)
[ ] This change requires a documentation update

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also
list any relevant details for your test configuration

[ ] Test A
[ ] Test B

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[x] The commit message/PR follows our guidelines

Other information:

@dheerajkholia-paladin  Added the missing rule json and db script.


/http-api/swagger.json is not CORS enabled

I have swagger UI on other server and I try to link with my node-red swagger API but CORS headers are not found on /http-api/swagger.json
curl -I http://myhost:1880/http-api/swagger.json
HTTP/1.1 200 OK
X-Powered-By: Express
Content-Type: application/json; charset=utf-8
Content-Length: 921
ETag: W/"399-O+kHybLKLLCZ4lh4LITBaw"
Date: Wed, 20 Jan 2016 19:58:17 GMT
Connection: keep-alive

Placing the configuration:
httpNodeCors: {
        origin: "*",
        methods: "GET,PUT,POST,DELETE"
    },

it still happens

Thanks for raising. The httpNodeCors configuration only gets applies to the HTTP In nodes - other things don't get it 'for free'. Will need to add in the proper handling for it in this node.

It doesn't look like CORS support has been added yet. This would greatly be appreciated.
(Allowing external access to the swagger UI tab instead would be even better! Should I raise that asa feature request or is it unlikely to be implemented?)


Is any user allowed to update any article?

Describe the bug
I'm building blog api with Nest and MikroORM for learning purposes and I'm using this repo for reference, it already helped me a lot, thank you for maintaining it!
I'm stuck at updating article endpoint, I simply can't figure out how to filter article by author id before updating it.
Here is the update method in this repository, it seems it doesn't have such check, so it looks like any user can update any article.
I can see there is a policy decorator in the controller, so it sounds like it performs some checks before running the controller. But how does that work, where are the checks, is it checking if the article belongs to the user or not - I can't figure this out.
Reproduction
no repro
System Info
System

Used Package Manager
pnpm
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guide.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
[X] The provided reproduction is a minimal reproducible of the bug.

I figured out how to filter by author in MikroORM, so no problems on my end, but it still may be a bug in this repo that there is no authorship check when updating an article.

I figured out how to filter by author in MikroORM, so no problems on my end, but it still may be a bug in this repo that there is no authorship check when updating an article.

Yeah . Implementing roles on CASL so that would be fixed when its completed.

If you have solved the authorship check, please point out where it is located.

You can check here : https://github.com/rubiin/ultimate-nest/blob/c26e9a08461ca5a4ee800e119a741cd961ccb80a/src/lib/casl/casl-ability.factory.ts#L29

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.


What is the correct way to uninstall your app from TV?

What is the correct way to uninstall your app from TV? Removed by standard means - now problems. I get root, the TV reboots, I go telnet, everything seems to be fine, I give reboot - reboot and there is no tenlet access. Problem.

I am not entirely sure what is the starting point here, what is the outcome, and what is your expected outcome?
If the issue is that after removal of Homebrew Channel you still have root telnetd exposed, then you can alleviate that by just removing the startup script at /media/cryptofs/apps/usr/palm/services/com.palmdts.devmode.service/start-devmode.sh. All paths that are related to Homebrew Channel and rooting are listed here: https://github.com/webosbrew/webos-homebrew-channel/issues/11


Footer collapse buttons are displayed on desktop browsers

Hi,
Browse to starter kit both from desktop and mobile device. On mobile, go to the footer of the page. Expand one of dropdown sections. Now look at the desktop browser and you'll see the collapse icon also displayed.
Seems like a bug.

maybe it's a bug in material design lite version, check your error in this page text-only template (almost the same template used in web-starter-kit) and report to be the case but in MDL issues.
I hope this helps :sweat_smile:

Thanks for the detailed report, @forforeach! It is bug, but in MDL as @Bound3R correctly states. It’s not immediately obvious, but it’s a duplicate of google/material-design-lite#1688. Closing this in favor of that issue :)


FullGroupJoin: add overloads with default ValueTuple selector

Closes #181

What about tests? Are those coming later?

I didn't add them because the methods are a single line and add zero complexity. OTOH, I should practice what I preach, so I will add the tests.


Use ExecutableFlow member variables to track and control flow-level retry

Why we need this
Part of the flow-retry feature, and it's improving the implementation:

Remove modifying the user-input ExecutionOptions, keep them as is
clearer model to count & control how many times can an execution retry, respectively for non- / terminal originalStatus

What's done

remove isExecutionRetried from ExecutionOptions because it doesn't distinguish type of retry, and retry count should be execution level info.
use systemRetriedTimes to count retries on dispatch/preparing/ready status executions (by default should retry by the system)
use customRetriedTimes to count retries on finalized status failed/execution_stopped defined by users

Tests done

updated unit tests
tested in a cluster:

Launched the original execution 786575:

Delete the k8s pod to trigger EXECUTION_STOPPED, and a new execution got retried:

The new execution has customRetriedTimes=1

To consider in a subsequent PR.
Since we're modifying user input to maintain backward compatibility (see below code block), can we also set FLOW_PARAM_MAX_RETRIES to 1 if the user didn't do it and add a log to record what was done?
if (Boolean.parseBoolean(
        flowParameters.getOrDefault(
            FlowParameters.FLOW_PARAM_ALLOW_RESTART_ON_EXECUTION_STOPPED, "false"))
    ){
      flowParameters.put(
          FlowParameters.FLOW_PARAM_ALLOW_RESTART_ON_STATUS,
          Status.EXECUTION_STOPPED.name() + "," +
              flowParameters.getOrDefault(FlowParameters.FLOW_PARAM_ALLOW_RESTART_ON_STATUS, "")
      );
      flowParameters.remove(FlowParameters.FLOW_PARAM_ALLOW_RESTART_ON_EXECUTION_STOPPED);
}

Also, as an alternative to automatically attempting 1 retry if the user didn't define the property FLOW_PARAM_MAX_RETRIES which can lead to confusion, can we make it a required property if FLOW_PARAM_ALLOW_RESTART_ON_STATUS is defined. For example: if FLOW_PARAM_ALLOW_RESTART_ON_STATUS is defined but not FLOW_PARAM_MAX_RETRIES we should return 404 - Bad request and a message like "FLOW_PARAM_MAX_RETRIES property is required when defining FLOW_PARAM_ALLOW_RESTART_ON_STATUS". WDYT?

Please consider the suggestion above in a subsequent PR.

Good advice! let me note down this task


Platform Driver Migration and Development

Task Title: Platform Driver Migration and Development - Research and Proposal
Objective:
The objective of this task is to evaluate and propose a strategy for migrating and developing platform drivers for Octoffers on three key job platforms: LinkedIn, Djinni, and Indeed. Each candidate is assigned a specific platform to research and provide insights into the feasibility and ease of automating vacancy submission.
Candidates and Assigned Platforms:

LinkedIn
Djinni
Indeed

Instructions:

Research Overview:

Conduct an in-depth analysis of the assigned job platform (LinkedIn, Djinni, or Indeed) with a focus on the process of automating vacancy submission.
Explore the existing API documentation, if available, and identify key features and endpoints relevant to job application automation.

Technical Feasibility:

Evaluate the technical feasibility of automating the process of submitting resumes with cover letters on the assigned platform.
Identify any challenges or limitations in automating vacancy submission, considering factors such as platform-specific restrictions, captcha handling, and session management.

Ease of Automation:

Describe the ease of automation for vacancy submission on the assigned platform. Consider aspects such as the clarity of the submission process, the presence of standardized HTML structures, and the availability of unique identifiers for form elements.

Dependencies and Compatibility:

Identify any dependencies or third-party libraries that may be required for automating vacancy submission on the assigned platform.
Assess the compatibility of the platform's automation with the existing Octoffers architecture, including the SQLite database and Python environment.

Security and Compliance:

Investigate security measures implemented by the platform and assess the implications for automated interactions.
Ensure that the proposed automation strategy complies with the platform's terms of service and does not violate any ethical or legal standards.

Proposal:

Provide a detailed proposal outlining the recommended approach for automating vacancy submission on the assigned platform.
Include a high-level architectural overview of the proposed platform driver, highlighting key components and interactions.

Submission Deadline:
All candidates are required to submit their research findings and proposals by [Specify Deadline].
Evaluation Criteria:
Submissions will be evaluated based on the thoroughness of research, technical feasibility assessment, and the clarity of proposed strategies. Candidates are encouraged to communicate any challenges and seek collaborative solutions.
Point of Contact:
For any clarifications or assistance, please contact @webgtx.

Djinni driver is ready for use
However I wouldn't say that djinni is completed, it does the job but there's still minors issues like:

useless columns in schema
possible inefficient workflow for apply/fetch actions

PR/ID: #4

Indeed driver is ready for use
I managed to bypass indeed antibot system, so far driver requires a lot of human actions but in general driver is usable

No issue was asgined for indeed driver because changes was forced pushed into the private master branch


Safearea pixels

On ios devices, we are not able to do fullscreen apps. Sometimes, I may need to use a safe area widget but library calculation does not care about safe area pixels. My expectation is when I wrap the page with the safe area, it should consider the rest of the page as full device pixel and it should resize everything depending on that.

Any update?

Any update?

I wrote my own extension which i get safearea pixels and calculate itself


Fix modernizr path in template

1. Why is this change necessary?
The path to the modernizr file is incorrect.
2. What does this change do, exactly?
Fixes the path to the modernizr file.
3. Describe each step to reproduce the issue or behaviour.
You get a 404 error message in dev tools.
4. Please link to the relevant issues (if any).
https://issues.shopware.com/issues/SW-26145
5. Which documentation changes (if any) need to be made because of this PR?

6. Checklist

[ ] I have written tests and verified that they fail without my change
[ ] I have squashed any insignificant commits
[ ] This change has comments for package types, values, functions, and non-obvious lines of code
[x] I have read the contribution requirements and fulfil them.

Hello,
thank you for creating this pull request.
I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/issues/SW-26723
Please use this issue to track the state of your pull request.


Advance Network Opeartor (ANO) Failed to get TX meta descriptor

I'm trying to run Advanced Networking Benchmark in doca container but I use dpdk config for GPUDirect after setting batch size 1 the below errors appeared:
[critical] [adv_network_dpdk_mgr.cpp:1512] Failed to get TX meta descriptor [critical] [adv_network_tx.cpp:74] Failed to get TX meta descriptor: 2 [error] [dpdk_bench_op_tx.h:192] Error returned from adv_net_get_tx_pkt_burst: 2
Does anyone know how I can fix this?

Ho @matin-karimpour have you tried increasing the batch size? Typically you wouldn't use the ANO for a batch size of 1 since the efficiency is very bad. Can you please paste your whole config?

Hi @matin-karimpour, can you describe the problem in detail of what you're trying to do? My understanding is you have two separate nodes where one is TX and one is RX. If you use a batch size of 1000 do you see the ethtool counters increasing on the TX side, but don't see it on the RX side? If you use 1 can you describe what is different on ethtool -S?

I would like to collect data from sensors for fault detection, perform some preprocessing on the edge device, and then send the data to the main server for final processing. For this purpose, I need to process and transmit the data quickly, so I plan to use GPU direct for real-time transmission.
As a first step in working with GPU direct, I'm trying to run the Advanced Networking Benchmark (ANO) application without modifying the code. To do this, I need to establish a connection between a TX and a RX on two different servers. However, the RX is unable to receive data from the TX. I want to emphasize that I'm running the application with the default code and have only made the necessary hardware configuration changes. To see what's going on on the TX side I changed the batch size to 1 and got the above error.
To test the RX, I sent a few packets using the ping command, and the RX successfully received them. My question is, why is the RX able to receive data sent via the ping command and a Python script I wrote (which sends data without GPU direct), but unable to detect data from the sender in this application? I hope my explanation has been clear.
Another question that has come up for me is, at what stage of development is TCP for ANO?

Another thing that I realized is that the RX side after a short period doesn't work anymore. it stopped when printing the log below.
[info] [gxf_executor.cpp:1874] Running Graph...
[info] [multi_thread_scheduler.cpp:299] MultiThreadScheduler started worker thread [pool name: default_pool, thread uid: 1]
[info] [multi_thread_scheduler.cpp:299] MultiThreadScheduler started worker thread [pool name: default_pool, thread uid: 2]
[info] [multi_thread_scheduler.cpp:299] MultiThreadScheduler started worker thread [pool name: default_pool, thread uid: 3]
[info] [multi_thread_scheduler.cpp:299] MultiThreadScheduler started worker thread [pool name: default_pool, thread uid: 0]
[info] [multi_thread_scheduler.cpp:299] MultiThreadScheduler started worker thread [pool name: default_pool, thread uid: 4]
[info] [multi_thread_scheduler.cpp:299] MultiThreadScheduler started worker thread [pool name: default_pool, thread uid: 5]
[info] [multi_thread_scheduler.cpp:299] MultiThreadScheduler started worker thread [pool name: default_pool, thread uid: 6]
[info] [multi_thread_scheduler.cpp:299] MultiThreadScheduler started worker thread [pool name: default_pool, thread uid: 8]
[info] [gxf_executor.cpp:1876] Waiting for completion...
[info] [multi_thread_scheduler.cpp:299] MultiThreadScheduler started worker thread [pool name: default_pool, thread uid: 9]
[info] [multi_thread_scheduler.cpp:299] MultiThreadScheduler started worker thread [pool name: default_pool, thread uid: 7]

As shown in the traffic network graph, there is some initial traffic on the NIC, and the RX can successfully count this data. However, after a while, it stops receiving data and can no longer receive any, even though my TX code is consistently sending data. Could you explain why this is happening?

Hi @matin-karimpour I've been out on vacation, so I apologize for the brief responses. The ANO sample app should work correctly on your system by only modifying the MAC/PCI address on both sides. You may have to modify the buffer size as well if your GPU has a small amount of memory, but that's not common and you should get a startup error if that's the case.
Can you paste both the TX and RX startup output? I want to make sure everything looks normal. Also, any details about your system (GPUs and NICs used), as well as how they're connected. Have you looked at ethtool -S on both sides to see what's leaving/coming?

Hi @cliffburdick , no problem at all! I hope you had a great vacation. Thanks for getting back to me. I using A4000 and Mellanox CX6 on both sides. My issue is not due to hardware configuration. when running the TX side ethtool -S doesn't change any stats values on both sides.
startup output for RX side:
[info] [main.cpp:32] Initializing advanced network operator
[info] [main.cpp:35] Using ANO manager dpdk
[info] [gxf_executor.cpp:247] Creating context
[info] [gxf_executor.cpp:1672] Loading extensions from configs...
[info] [adv_network_rx.cpp:40] AdvNetworkOpRx::initialize()
[info] [adv_network_common.h:544] Finished reading advanced network operator config
[info] [adv_network_mgr.cpp:35] Selecting DPDK as ANO manager
[info] [adv_network_dpdk_mgr.cpp:287] Attempting to use 1 ports for high-speed network
[info] [adv_network_dpdk_mgr.cpp:312] DPDK EAL arguments: adv_net_operator --file-prefix=nwlrbbmqbh -l 3,10,9 -a 07:00.1,txq_inline_max=0,dv_flow_en=1
EAL: Detected CPU lcores: 24
EAL: Detected NUMA nodes: 1
EAL: Detected shared linkage of DPDK
EAL: Multi-process socket /var/run/dpdk/nwlrbbmqbh/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: VFIO support initialized
EAL: Probe PCI driver: mlx5_pci (15b3:101d) device: 0000:07:00.1 (socket -1)
TELEMETRY: No legacy callbacks, legacy socket not created
[info] [adv_network_dpdk_mgr.cpp:119] Changing buffer size to 9384 for alignment
[info] [adv_network_dpdk_mgr.cpp:119] Changing buffer size to 9384 for alignment
[info] [adv_network_dpdk_mgr.cpp:119] Changing buffer size to 9384 for alignment
[info] [adv_network_dpdk_mgr.cpp:119] Changing buffer size to 9384 for alignment
[info] [adv_network_mgr.cpp:42] Registering memory regions
[info] [adv_network_mgr.cpp:103] Successfully allocated memory region Default_RX_CPU at 0x7fdb4a000000 with 480460800 bytes (51200 elements @ 9384 bytes)
[info] [adv_network_mgr.cpp:103] Successfully allocated memory region Default_RX_GPU at 0x7fdb2c000000 with 480460800 bytes (51200 elements @ 9384 bytes)
[info] [adv_network_mgr.cpp:103] Successfully allocated memory region Data_RX_GPU at 0x7fdb0e000000 with 480460800 bytes (51200 elements @ 9384 bytes)
[info] [adv_network_mgr.cpp:103] Successfully allocated memory region Data_TX_GPU at 0x7fdaf0000000 with 480460800 bytes (51200 elements @ 9384 bytes)
[info] [adv_network_mgr.cpp:113] Finished allocating memory regions
[info] [adv_network_dpdk_mgr.cpp:177] Successfully registered external memory for Data_TX_GPU
[info] [adv_network_dpdk_mgr.cpp:177] Successfully registered external memory for Data_RX_GPU
[info] [adv_network_dpdk_mgr.cpp:177] Successfully registered external memory for Default_RX_GPU
[info] [adv_network_dpdk_mgr.cpp:177] Successfully registered external memory for Default_RX_CPU
[info] [adv_network_dpdk_mgr.cpp:147] Mapped external memory descriptor for 0x7fdb4a000000 to device 0
[info] [adv_network_dpdk_mgr.cpp:147] Mapped external memory descriptor for 0x7fdb2c000000 to device 0
[info] [adv_network_dpdk_mgr.cpp:147] Mapped external memory descriptor for 0x7fdb0e000000 to device 0
[info] [adv_network_dpdk_mgr.cpp:147] Mapped external memory descriptor for 0x7fdaf0000000 to device 0
[info] [adv_network_dpdk_mgr.cpp:119] Changing buffer size to 9768 for alignment
[info] [adv_network_dpdk_mgr.cpp:119] Changing buffer size to 9768 for alignment
[info] [adv_network_dpdk_mgr.cpp:119] Changing buffer size to 9768 for alignment
[info] [adv_network_dpdk_mgr.cpp:119] Changing buffer size to 9768 for alignment
[info] [adv_network_mgr.cpp:42] Registering memory regions
[info] [adv_network_mgr.cpp:103] Successfully allocated memory region Default_RX_CPU at 0x7fdad2000000 with 500121600 bytes (51200 elements @ 9768 bytes)
[info] [adv_network_mgr.cpp:103] Successfully allocated memory region Default_RX_GPU at 0x7fdab4000000 with 500121600 bytes (51200 elements @ 9768 bytes)
[info] [adv_network_mgr.cpp:103] Successfully allocated memory region Data_RX_GPU at 0x7fda96000000 with 500121600 bytes (51200 elements @ 9768 bytes)
[info] [adv_network_mgr.cpp:103] Successfully allocated memory region Data_TX_GPU at 0x7fda78000000 with 500121600 bytes (51200 elements @ 9768 bytes)
[info] [adv_network_mgr.cpp:113] Finished allocating memory regions
[info] [adv_network_dpdk_mgr.cpp:177] Successfully registered external memory for Data_TX_GPU
[info] [adv_network_dpdk_mgr.cpp:177] Successfully registered external memory for Data_RX_GPU
[info] [adv_network_dpdk_mgr.cpp:177] Successfully registered external memory for Default_RX_GPU
[info] [adv_network_dpdk_mgr.cpp:177] Successfully registered external memory for Default_RX_CPU
[info] [adv_network_dpdk_mgr.cpp:147] Mapped external memory descriptor for 0x7fdad2000000 to device 0
[info] [adv_network_dpdk_mgr.cpp:147] Mapped external memory descriptor for 0x7fdab4000000 to device 0
[info] [adv_network_dpdk_mgr.cpp:147] Mapped external memory descriptor for 0x7fda96000000 to device 0
[info] [adv_network_dpdk_mgr.cpp:147] Mapped external memory descriptor for 0x7fda78000000 to device 0
[info] [adv_network_dpdk_mgr.cpp:378] DPDK init (07:00.1) -- RX: ENABLED TX: DISABLED
[info] [adv_network_dpdk_mgr.cpp:388] Configuring RX queue: Default (0) on port 0
[info] [adv_network_dpdk_mgr.cpp:427] Created mempool RXP_P0_Q0_MR0 : mbufs=51200 elsize=9768 ptr=0x17f304280
[info] [adv_network_dpdk_mgr.cpp:388] Configuring RX queue: Data (1) on port 0
[info] [adv_network_dpdk_mgr.cpp:427] Created mempool RXP_P0_Q1_MR0 : mbufs=51200 elsize=9768 ptr=0x17f309dc0
[info] [adv_network_dpdk_mgr.cpp:477] Setting port config for port 0 mtu:9384
[info] [adv_network_dpdk_mgr.cpp:567] Initializing port 0 with 2 RX queues and 0 TX queues...
[info] [adv_network_dpdk_mgr.cpp:583] Successfully configured ethdev
[info] [adv_network_dpdk_mgr.cpp:593] Successfully set descriptors
[info] [adv_network_dpdk_mgr.cpp:610] Setting up port:0, queue:0, Num scatter:1 pool:0x17f304280
[info] [adv_network_dpdk_mgr.cpp:631] Successfully setup RX port 0 queue 0
[info] [adv_network_dpdk_mgr.cpp:610] Setting up port:0, queue:1, Num scatter:1 pool:0x17f309dc0
[info] [adv_network_dpdk_mgr.cpp:631] Successfully setup RX port 0 queue 1
[info] [adv_network_dpdk_mgr.cpp:662] Successfully started port 0
[info] [adv_network_dpdk_mgr.cpp:665] Port 0, MAC address: A0:88:C2:B4:89:97
[info] [adv_network_dpdk_mgr.cpp:677] Enabling promiscuous mode for port 0
[info] [adv_network_dpdk_mgr.cpp:687] Adding RX flow ADC Samples
[info] [adv_network_dpdk_mgr.cpp:710] Setting up RX burst pool with 8191 batches
[warning] [adv_network_mgr.cpp:137] Extra MR section with name Data_TX_GPU unused in queues section
[warning] [adv_network_mgr.cpp:137] Extra MR section with name Default_RX_CPU unused in queues section
[info] [adv_network_dpdk_mgr.cpp:1052] Config validated successfully
[info] [adv_network_dpdk_mgr.cpp:1065] Starting advanced network workers
[info] [adv_network_dpdk_mgr.cpp:1116] Flushing packet on port 0
[info] [adv_network_dpdk_mgr.cpp:1137] Starting RX Core 10, port 0, queue 0, socket 0
[info] [adv_network_dpdk_mgr.cpp:1106] Done starting workers
[info] [adv_network_dpdk_mgr.cpp:1116] Flushing packet on port 0
[info] [dpdk_bench_op_rx.h:44] AdvNetworkingBenchDefaultRxOp::initialize()
[info] [adv_network_dpdk_mgr.cpp:1137] Starting RX Core 9, port 0, queue 1, socket 0
[info] [dpdk_bench_op_rx.h:67] AdvNetworkingBenchDefaultRxOp::initialize() complete
[info] [gxf_executor.cpp:1842] Activating Graph...
[info] [gxf_executor.cpp:1874] Running Graph...
[info] [multi_thread_scheduler.cpp:299] MultiThreadScheduler started worker thread [pool name: default_pool, thread uid: 0]
[info] [multi_thread_scheduler.cpp:299] MultiThreadScheduler started worker thread [pool name: default_pool, thread uid: 1]
[info] [multi_thread_scheduler.cpp:299] MultiThreadScheduler started worker thread [pool name: default_pool, thread uid: 2]
[info] [multi_thread_scheduler.cpp:299] MultiThreadScheduler started worker thread [pool name: default_pool, thread uid: 3]
[info] [multi_thread_scheduler.cpp:299] MultiThreadScheduler started worker thread [pool name: default_pool, thread uid: 4]
[info] [multi_thread_scheduler.cpp:299] MultiThreadScheduler started worker thread [pool name: default_pool, thread uid: 5]
[info] [multi_thread_scheduler.cpp:299] MultiThreadScheduler started worker thread [pool name: default_pool, thread uid: 6]
[info] [multi_thread_scheduler.cpp:299] MultiThreadScheduler started worker thread [pool name: default_pool, thread uid: 7]
[info] [multi_thread_scheduler.cpp:299] MultiThreadScheduler started worker thread [pool name: default_pool, thread uid: 8]
[info] [gxf_executor.cpp:1876] Waiting for completion...
[info] [multi_thread_scheduler.cpp:299] MultiThreadScheduler started worker thread [pool name: default_pool, thread uid: 9]

and TX startup output:
[info] [main.cpp:32] Initializing advanced network operator
[info] [main.cpp:35] Using ANO manager dpdk
[info] [gxf_executor.cpp:247] Creating context
[info] [gxf_executor.cpp:1672] Loading extensions from configs...
[info] [dpdk_bench_op_tx.h:80] AdvNetworkingBenchDefaultTxOp::initialize()
[info] [dpdk_bench_op_tx.h:114] Initialized 4 streams and events
[info] [dpdk_bench_op_tx.h:131] AdvNetworkingBenchDefaultTxOp::initialize() complete
[info] [adv_network_tx.cpp:43] AdvNetworkOpTx::initialize()
[info] [adv_network_common.h:544] Finished reading advanced network operator config
[info] [adv_network_mgr.cpp:35] Selecting DPDK as ANO manager
[info] [adv_network_dpdk_mgr.cpp:287] Attempting to use 1 ports for high-speed network
[info] [adv_network_dpdk_mgr.cpp:312] DPDK EAL arguments: adv_net_operator --file-prefix=nwlrbbmqbh -l 3,11 -a 07:00.1,txq_inline_max=0,dv_flow_en=1
EAL: Detected CPU lcores: 32
EAL: Detected NUMA nodes: 1
EAL: Detected shared linkage of DPDK
EAL: Multi-process socket /var/run/dpdk/nwlrbbmqbh/mp_socket
EAL: Selected IOVA mode 'PA'
EAL: VFIO support initialized
EAL: Probe PCI driver: mlx5_pci (15b3:101d) device: 0000:07:00.1 (socket -1)
TELEMETRY: No legacy callbacks, legacy socket not created
[info] [adv_network_dpdk_mgr.cpp:119] Changing buffer size to 9384 for alignment
[info] [adv_network_dpdk_mgr.cpp:119] Changing buffer size to 9384 for alignment
[info] [adv_network_dpdk_mgr.cpp:119] Changing buffer size to 9384 for alignment
[info] [adv_network_dpdk_mgr.cpp:119] Changing buffer size to 9384 for alignment
[info] [adv_network_mgr.cpp:42] Registering memory regions
[info] [adv_network_mgr.cpp:103] Successfully allocated memory region Default_RX_CPU at 0x7f68cc000000 with 480460800 bytes (51200 elements @ 9384 bytes)
[info] [adv_network_mgr.cpp:103] Successfully allocated memory region Default_RX_GPU at 0x7f60a2000000 with 480460800 bytes (51200 elements @ 9384 bytes)
[info] [adv_network_mgr.cpp:103] Successfully allocated memory region Data_RX_GPU at 0x7f6084000000 with 480460800 bytes (51200 elements @ 9384 bytes)
[info] [adv_network_mgr.cpp:103] Successfully allocated memory region Data_TX_GPU at 0x7f6066000000 with 480460800 bytes (51200 elements @ 9384 bytes)
[info] [adv_network_mgr.cpp:113] Finished allocating memory regions
[info] [adv_network_dpdk_mgr.cpp:177] Successfully registered external memory for Data_TX_GPU
[info] [adv_network_dpdk_mgr.cpp:177] Successfully registered external memory for Data_RX_GPU
[info] [adv_network_dpdk_mgr.cpp:177] Successfully registered external memory for Default_RX_GPU
[info] [adv_network_dpdk_mgr.cpp:177] Successfully registered external memory for Default_RX_CPU
[info] [adv_network_dpdk_mgr.cpp:147] Mapped external memory descriptor for 0x7f68cc000000 to device 0
[info] [adv_network_dpdk_mgr.cpp:147] Mapped external memory descriptor for 0x7f60a2000000 to device 0
[info] [adv_network_dpdk_mgr.cpp:147] Mapped external memory descriptor for 0x7f6084000000 to device 0
[info] [adv_network_dpdk_mgr.cpp:147] Mapped external memory descriptor for 0x7f6066000000 to device 0
[info] [adv_network_dpdk_mgr.cpp:119] Changing buffer size to 9768 for alignment
[info] [adv_network_dpdk_mgr.cpp:119] Changing buffer size to 9768 for alignment
[info] [adv_network_dpdk_mgr.cpp:119] Changing buffer size to 9768 for alignment
[info] [adv_network_dpdk_mgr.cpp:119] Changing buffer size to 9768 for alignment
[info] [adv_network_mgr.cpp:42] Registering memory regions
[info] [adv_network_mgr.cpp:103] Successfully allocated memory region Default_RX_CPU at 0x7f6048000000 with 500121600 bytes (51200 elements @ 9768 bytes)
[info] [adv_network_mgr.cpp:103] Successfully allocated memory region Default_RX_GPU at 0x7f602a000000 with 500121600 bytes (51200 elements @ 9768 bytes)
[info] [adv_network_mgr.cpp:103] Successfully allocated memory region Data_RX_GPU at 0x7f600c000000 with 500121600 bytes (51200 elements @ 9768 bytes)
[info] [adv_network_mgr.cpp:103] Successfully allocated memory region Data_TX_GPU at 0x7f5fee000000 with 500121600 bytes (51200 elements @ 9768 bytes)
[info] [adv_network_mgr.cpp:113] Finished allocating memory regions
[info] [adv_network_dpdk_mgr.cpp:177] Successfully registered external memory for Data_TX_GPU
[info] [adv_network_dpdk_mgr.cpp:177] Successfully registered external memory for Data_RX_GPU
[info] [adv_network_dpdk_mgr.cpp:177] Successfully registered external memory for Default_RX_GPU
[info] [adv_network_dpdk_mgr.cpp:177] Successfully registered external memory for Default_RX_CPU
[info] [adv_network_dpdk_mgr.cpp:147] Mapped external memory descriptor for 0x7f6048000000 to device 0
[info] [adv_network_dpdk_mgr.cpp:147] Mapped external memory descriptor for 0x7f602a000000 to device 0
[info] [adv_network_dpdk_mgr.cpp:147] Mapped external memory descriptor for 0x7f600c000000 to device 0
[info] [adv_network_dpdk_mgr.cpp:147] Mapped external memory descriptor for 0x7f5fee000000 to device 0
[info] [adv_network_dpdk_mgr.cpp:378] DPDK init (07:00.1) -- RX: DISABLED TX: ENABLED
[info] [adv_network_dpdk_mgr.cpp:477] Setting port config for port 0 mtu:64
[info] [adv_network_dpdk_mgr.cpp:486] Configuring TX queue: ADC Samples (0) on port 0
[info] [adv_network_dpdk_mgr.cpp:524] Created mempool TXP_P0_Q0_MR0 : mbufs=51200 elsize=9768 ptr=0x7f60ff304380
[info] [adv_network_dpdk_mgr.cpp:567] Initializing port 0 with 0 RX queues and 1 TX queues...
[info] [adv_network_dpdk_mgr.cpp:583] Successfully configured ethdev
[info] [adv_network_dpdk_mgr.cpp:593] Successfully set descriptors
[info] [adv_network_dpdk_mgr.cpp:653] Successfully set up TX queue 0/0
[info] [adv_network_dpdk_mgr.cpp:662] Successfully started port 0
[info] [adv_network_dpdk_mgr.cpp:665] Port 0, MAC address: A0:88:C2:B4:8A:1F
[info] [adv_network_dpdk_mgr.cpp:677] Enabling promiscuous mode for port 0
[info] [adv_network_dpdk_mgr.cpp:960] Applying tx_eth_src offload for port 0
[info] [adv_network_dpdk_mgr.cpp:710] Setting up RX burst pool with 8191 batches
[info] [adv_network_dpdk_mgr.cpp:750] Setting up TX ring TX_RING_P0_Q0
[info] [adv_network_dpdk_mgr.cpp:776] Setting up TX burst pool TX_BURST_POOL_P0_Q0 with 10240 pointers at 0x7f60ff30e5c0
[warning] [adv_network_mgr.cpp:137] Extra MR section with name Data_RX_GPU unused in queues section
[warning] [adv_network_mgr.cpp:137] Extra MR section with name Default_RX_CPU unused in queues section
[warning] [adv_network_mgr.cpp:137] Extra MR section with name Default_RX_GPU unused in queues section
[info] [adv_network_dpdk_mgr.cpp:1052] Config validated successfully
[info] [adv_network_dpdk_mgr.cpp:1065] Starting advanced network workers
[info] [adv_network_dpdk_mgr.cpp:1251] Starting TX Core 11, port 0, queue 0 socket 0 using burst pool 0x7f60ff30e5c0 ring 0x7f60fbcb3f80
[info] [adv_network_dpdk_mgr.cpp:1106] Done starting workers
[info] [gxf_executor.cpp:1842] Activating Graph...
[info] [gxf_executor.cpp:1874] Running Graph...
[info] [multi_thread_scheduler.cpp:299] MultiThreadScheduler started worker thread [pool name: default_pool, thread uid: 2]
[info] [multi_thread_scheduler.cpp:299] MultiThreadScheduler started worker thread [pool name: default_pool, thread uid: 0]
[info] [multi_thread_scheduler.cpp:299] MultiThreadScheduler started worker thread [pool name: default_pool, thread uid: 1]
[info] [gxf_executor.cpp:1876] Waiting for completion...
[info] [multi_thread_scheduler.cpp:299] MultiThreadScheduler started worker thread [pool name: default_pool, thread uid: 4]
[info] [multi_thread_scheduler.cpp:299] MultiThreadScheduler started worker thread [pool name: default_pool, thread uid: 3]

Hi @matin-karimpour can you please grab the latest ANO code and try again? We had a bad merge recently that caused duplicate initialization to happen.

I forgot to answer this question:

Another question that has come up for me is, at what stage of development is TCP for ANO?

That's a good question. TCP is typically never used for extremely high-rate traffic because of the large overhead in processing. There are exceptions to this, but in general, UDP is preferred to reduce the baggage TCP brings with it. You would not want a TCP stack running on the GPU, so you'd have to bifurcate the header and data into CPU and GPU memory such that there would be a large amount of synchronization and reassembly happening, retransmits, etc. For applications that need very high throughput with reliability you'd typically use something like RoCE which is built on top of UDP. This works for both CPU and GPU.
We have plans to integrate RoCE into the ANO using the same or a very similar API that exists today. If this is of interest to you please open an issue and we can track the progress.

Hi @matin-karimpour can you please grab the latest ANO code and try again? We had a bad merge recently that caused duplicate initialization to happen.

Hi @cliffburdick, thank you for your response. I have the same problem and it doesn't solve.

Thanks. I'm setting up the same test and will let you know the results.

Hi @matin-karimpour, can you please try to change the memory type to huge in the config and turn off gpu_direct on the TX side? Curious to know if packets start transmitting after that change.

Hi @matin-karimpour I pushed a few fixed here: https://github.com/nvidia-holoscan/holohub/pull/469
Can you please either try this PR or wait until it's merged tomorrow and try main?

Hi @cliffburdick, thanks for the updates. I'll check it out tomorrow in the main branch. I'll make sure to let you know about the result.

Hi @cliffburdick  sorry for my absence i wasn't in good shape so I couldn't check your updates.
I checked and ran the new version and faced the error below on the RX side:
mlx5_net: port 0 unable to allocate rx queue index 0
[critical] [adv_network_dpdk_mgr.cpp:611] rte_eth_rx_queue_setup: err=-12, port=0
[warning] [adv_network_mgr.cpp:137] Extra MR section with name Data_TX_GPU unused in queues section
[warning] [adv_network_mgr.cpp:137] Extra MR section with name Default_RX_CPU unused in queues section

what do I need to do to solve this issue?

Hi @matin-karimpour , can you please paste the entire output? -12 is ENOMEM, so no memory is available to allocate.

Hi @matin-karimpour @cliffburdick , is this issue still ongoing?


feat: Headless HSM - C Bridge

( See rendered )
Design of the integration between the Dinamo C Library and a Node.js client application used by the Headless Wallet.

Instead of using a C Bridge, #67 will instead use a Javascript library directly to interact with the HSM.


Fix: .zip file check on macOS 10.12

Instructions

Look for and complete the section relevant to your submission. Delete the others, including these Instructions.
{{cask_file}} represents the cask file you’re submitting/editing (if applicable).
If there’s a checkbox you can’t complete for any reason, that’s OK. Just explain in detail why you weren’t able to do so.

Changes to a cask
Editing an existing cask

[ ] Commit message includes cask’s name (and new version, if applicable).
[ ] brew cask audit --download {{cask_file}} is error-free.
[ ] brew cask style --fix {{cask_file}} left no offenses.

Adding a new cask

[ ] Checked there aren’t open pull requests for the same cask.
[ ] Checked there aren’t closed issues where that cask was already refused.
[ ] When naming the cask, followed the token reference.
[ ] Commit message includes cask’s name.
[ ] brew cask audit --download {{cask_file}} is error-free.
[ ] brew cask style --fix {{cask_file}} left no offenses.
[ ] brew cask install {{cask_file}} worked successfully.
[ ] brew cask uninstall {{cask_file}} worked successfully.

Changes to the core

[x] Followed hacking.md.

Issue: #22549

Tested the change locally
$ brew cask install qlcolorcode
==> Satisfying dependencies
==> Installing Formula dependencies from Homebrew
highlight ... already installed
complete
==> Downloading https://github.com/anthonygelibert/QLColorCode/releases/download/release-2.0.7/QLColorCode.qlgenerator.zip
Already downloaded: /Users/fibric/Library/Caches/Homebrew/qlcolorcode-2.0.7.zip
==> Verifying checksum for Cask qlcolorcode
==> Moving QuickLook Plugin 'QLColorCode.qlgenerator' to '/Users/fibric/Library/QuickLook/QLColorCode.qlgenerator'
🍺  qlcolorcode staged at '/usr/local/Caskroom/qlcolorcode/2.0.7' (0B)

``

https://github.com/caskroom/homebrew-cask/pull/22002


chore(default-theme): translate missing German translations

Changes
Translate German snippet that only have English placeholders
Checklist

[ ] the list of features is updated (if it's a feature and it's relevant)
[x] I followed contributing guidelines

thanks! :)


Upgrade BAF HL Indy code to helm version 3

Description
As a developer I want to update the BAF HL Indy code so that the platform deployment works with helm3 and helm-operator version 3 upgrade.
Acceptance Criteria

Develop on the latest feature/helm3 branch
Automated network deployment of BAF HL Indy and testing done
Network cleanup using reset network playbook
Test using existing molecule test cases and fix them if required
Update and test the application code

Application upgrade for helm3 will be done in a separate issue


Have assigned user appear in same string in case list

Currently, the partner and user are shown in two separate labels in the case list. The suggestion is to have it appear as Partner (User) in a single label.

@justinvdm Ready for review.
@rowanseymour Pinging you for vision on this.

👍 when travis is happy

@justinvdm @rowanseymour Comments addressed, ready for another review.


Code & Play allowing anonymous players

Able to play anonymously.
Beat level 4, show what you get with signup.
After beating a level, if not signed up, custom language talking about prizes you could win.
Should work for US, Germany, UK, Mexico, India locations. (India semi-working.)

Coverage remained the same at 49.862% when pulling a40453aebd063cd25513e2ec457e3ecbfc06cce5 on anonymous-code-play into ba2584ef48b3110ead7a1381e29488bfe6db47fc on master.


[Usage]: I want to know how to use argument "--max-num-seqs".

Your current environment
Versions of relevant libraries:
[pip3] mypy-extensions==1.0.0
[pip3] numpy==1.26.4
[pip3] nvidia-nccl-cu12==2.20.5
[pip3] torch==2.3.0
[pip3] transformers==4.40.2
[pip3] triton==2.3.0
[pip3] vllm_nccl_cu12==<IP_ADDRESS>.4.0
[conda] numpy                     1.26.4                   pypi_0    pypi
[conda] nvidia-nccl-cu12          2.20.5                   pypi_0    pypi
[conda] torch                     2.3.0                    pypi_0    pypi
[conda] transformers              4.40.2                   pypi_0    pypi
[conda] triton                    2.3.0                    pypi_0    pypi
[conda] vllm-nccl-cu12            <IP_ADDRESS>.4.0             pypi_0    pypi
ROCM Version: Could not collect
Neuron SDK Version: N/A
vLLM Version: 0.4.2
I run the llama3-8b model on 2*A100s.

Hello! I am utilizing vLLM OpenAI-Compatible RESTful API server.
I understand that argument "--max-num-seqs" means the sequences that the API server can process simultaneously.
Changing it to 2 will process two requests at the same time, and the third request will be delayed.
However, if I set the value to 256 (default) or a value higher than 6, it does not work.
Did I understand something wrong?
Even if GPU usage is reduced through --max-model-len or --gpu-memory-utilization, the same issue persists.
Respectfully
How would you like to use vllm
I want to run inference of a [specific model](put link here). I don't know how to integrate it with vllm.

you've since closed this issue, do you have some information on how to actually estimate GPU usage correctly using a combination of these parameters?

Yes please. If you can explain how the KV cache memory, GPU memory is affected with max num seq set to 5/10/20/50/256.


linux: Support for Persistent Devices and Setting Owner/Group

Linux Support for Persistent Devices and Setting Owner/Group
Description
Adds Support for Persistent Devices in Linux. In addition, it adds the complementary feature of settings the device owner and group.
Example Usage of Persist:
config := water.Config{
    DeviceType: water.TUN,
}
config.Name = PersistentTun0
config.Persist = true
intf, err := water.New(config)

Interface will persist after execution:
$ ip addr show PersistentTun0
8: PersistentTun0: <NO-CARRIER,POINTOPOINT,MULTICAST,NOARP,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 100
    link/none

You can then re-attach to the interface by simply executing the same code. If you re-attach with the Persist option set to False, the interface will be deleted after the program finishes execution.
Example Usage of Owner/Group:
config := water.Config{
    DeviceType: water.TUN,
}
config.Name = OwnedTun0
config.Owner = 1000
config.Group = 2000
intf, err := water.New(config)

The interface will now be have the owner and group set accordingly:
$ cat /sys/class/net/OwnedTun0/owner
1000
$ cat /sys/class/net/OwnedTun0/group
2000

Of course, you can combine this with persistent option to create interfaces that can be controlled by users other than root.

Other Code Changes
These are additional changes made to help facilitate the new feature:

Separated Linux and Darwin PlatformSpecificParams:

Reason: Darwin does not support Persistent and Owned Interfaces like Linux does.

Removed Deprecated New Functions and Simplification of Existing Creation Code:

Reason: I decided to pass in Config directly to newTap and newTun so we could more easily capture additional parameters other than Name. This would have made it kludgy to support the old NewTap and NewTun functions.

Thanks for this great library! It has saved us a lot of time implementing TUN devices in Go. I hope my contributions back are helpful.
Resolves #6

This change is

Updated Example Usage of Owner/Group:
config := water.Config{
    DeviceType: water.TUN,
}
config.Name = OwnedTun0
config.Permissions = &water.DevicePermissions{
    Owner: 1000,
    Group: 1000
}
intf, err := water.New(config)

Absolutely, I've already been my fork on one of our internal projects to play around with the changes. :+1:

Awesome. Thanks a lot Matt!


Fix Pathname#binread return type

Motivation

Pathname#binread is nil when the file is empty, or when the offset exceeds the length of the file

This causes no problems for Stripe's codebase, likely because we're not using Pathname#binread, so I'll merge for now.
That being said, I notice some potentially lurking problems:

Pathname#binread is implemented by simply calling File.binread(...) on this path name. But Sorbet's definition for neither File.binread nor IO.binread mention that the return value might be nil.
You mention some conditions for when this method returns nil:

I can't reproduce the "when the file is empty" case. For me, an empty file returns "" not nil.
For the offset case, we may want to overload this signature to reflect that if you do not pass an offset parameter, that the result cannot be nil (if that truly is the case).

In any case, I can reproduce that this method sometimes returns nil, so I'm fine simply merging this change as is and fixing forward for those other problems as desired.

Right, like you mention when you pass a specific offset, it returns nil. But if the file was empty and you omit the parameter, it will be empty string:
❯ touch empty.txt

❯ ruby -e 'p(File.binread("empty.txt"))'
""

❯ ruby -e 'require "pathname"; p(Pathname("empty.txt").binread)'
""

So I was pointing out that if there are certain situations where we can know that Ruby will not return nil (like maybe: when no offset has been passed), it would be nice to have the signature reflect the non-nil result.

Ah, that makes sense. Now that I think about the former is more just a special case of the latter as I phrased things.


schema migration (sequelize) errors

Once the code is checked out, run the following
export DATABASE_URL=postgres://root:root@localhost:5432/database_name && sequelize db:migrate
The error messages:
queryInterface.sequelize.query('CREATE FUNCTION public.delete_expired_tokens_func()\n' +
      'RETURNS trigger\n' +
      'LANGUAGE \'plpgsql\'\n' +
      'COST 100\n' +
      'VOLATILE NOT LEAKPROOF\n' +
      'AS $BODY$\n' +
      'BEGIN\n' +
      'DELETE FROM tokens WHERE created_at < NOW() - INTERVAL \'8 days\';\n' +
      'DELETE FROM tokens WHERE id IN(SELECT id FROM tokens WHERE client_id = new."client_id" AND "user" = new."user" ORDER BY created_at DESC OFFSET 20);\n' +
      'RETURN NULL;\n' +
      'END;\n' +
      '$BODY$;');
      queryInterface.sequelize.query('CREATE TRIGGER delete_expired_tokens_trigger\n' +
        'AFTER INSERT\n' +
        'ON public.tokens\n' +
        'FOR EACH ROW\n' +
        'EXECUTE PROCEDURE public.delete_expired_tokens_func();');

Environment:
Ubuntu 18.04 LTS, Node8.11.2 and PostgreSQL 9.5

This issue is not relevant anymore, we've moved to mysql and dont have triggers anymore.

Ok, thanks.


Support fully-qualified --package arguments

We use Kani in zerocopy, and pass --package zerocopy in CI. However, on our 0.7 branch, we are encountering this failure:
error: There are multiple `zerocopy` packages in your project, and the specification `zerocopy` is ambiguous.
Please re-run this command with one of the following specifications:
  path+file:///home/runner/work/zerocopy/zerocopy#0.7.35
<EMAIL_ADDRESS>error: Failed to execute cargo (exit status: 101). Found 0 compilation errors.

This seems to be due to Kani having a transitive dependency on zerocopy 0.7. However, Kani does not support passing either suggested syntax as an argument to the --package flag. If Kani supported --package path+file:///home/runner/work/zerocopy/zerocopy#0.7.35, it would allow us to fix this failure.

Thank you for reporting this bug. We are trying to reproduce and investigate on our side.

Hi @joshlf, I was able to reproduce the issue by cloning the version of the PR above, and this is indeed an issue with how we are handling the package argument.
FYI, the ambiguity seems to be coming from the rand package that is one of your dev-dependencies:
$ cargo tree | head -n 15
zerocopy v0.7.35 (/tmp/zerocopy)
└── byteorder v1.5.0
[dev-dependencies]
├── assert_matches v1.5.0
├── elain v0.3.0
├── itertools v0.11.0
│   └── either v1.13.0
├── rand v0.8.5
│   ├── libc v0.2.159
│   ├── rand_chacha v0.3.1
│   │   ├── ppv-lite86 v0.2.20
│   │   │   └── zerocopy v0.7.35  <------------------- Here!!

Running cargo build fails with the same issue:
$ cargo build --package zerocopy --features __internal_use_only_features_that_work_on_stable
error: There are multiple `zerocopy` packages in your project, and the specification `zerocopy` is ambiguous.
Please re-run this command with one of the following specifications:
  path+file:///tmp/zerocopy#0.7.35
<EMAIL_ADDRESS>

Ah yeah I suppose it's not actually Kani itself that has the zerocopy dep, but it's just that we need to be able to pass an unambiguous package spec via Kani.
Thanks for looking into this!


Community: Adding PredictionGuardEmbeddings Class for embeddings generation with Prediction Guard

*[x] PR title: "community: add Prediction Guard embeddings endpoint"

*[x] PR message:

Description: This PR introduces the PredictionGuardEmbeddings class. This enables users to generate embeddings through the Prediction Guard ecosystem.
Issue: None
Dependencies: None
Twitter handle: @predictionguard

*[x] Add tests and docs: Notebooks and integration tests are added and working for the new integration feature.

*[x] Lint and test: Linting tests are all passing.

@efriis

Hey! This adds a net-new community integration or feature, which has been replaced by dedicated integration packages. I'll close this PR, and would recommend reopening with just docs updates, as well as registering your package in libs/packages.yml! We'll be able to review simple PRs that only modify these two things much faster :)
Here's the guide, and if you have questions, feel free to leave them in the comments on those pages so others can see them! https://python.langchain.com/docs/contributing/how_to/integrations/


Wrong Time when bootup, for few seconds

https://github.com/Montecri/GPSTimeServer/blob/b72ee8c58b891f41e3a836fae0de9ad482129ad0/src/main.cpp#L385
That is implausible, why greater than 3000. So there is wrong the time for few seconds when booting up!
if (age < 1000) is the better way, the issue is gone. ;)
cu

Good catch! Will fix it today Thank you!

Hi @mmarkin !
@cheise suggestion above makes sense. I've updated the main tree. Please feel free to do the same on the Dual Display tree.
Thanks & Regards,

Cristiano

Fixed as of today.


add validation of query parameters

Such that users see an informative message when they enter query parameters that are wrong for the given app.

code state: https://github.com/ardc-fair-checklist/ssg/tree/0b86ac1748a47e9af19528d0c6d5a449a4405cb2
https://ardc-fair-checklist.github.io/ssg/software/v0.2/?f=00000 yields

https://ardc-fair-checklist.github.io/ssg/software/v0.2/?f=000000&a=0000&i=00&r=00000 yields:

https://ardc-fair-checklist.github.io/ssg/software/v0.2/?f=000000&a=0000&i=00&r=00000a yields:

https://ardc-fair-checklist.github.io/ssg/software/v0.2/?f=000000&a=0000&i=00&r=000009 yields:

Calling this done.


Encryption - cross platform

I've been using moor on some side projects for a while and love it. I've recently moved the project across to ffi/web so I can support web plus android & ios. That works great too.
I'm looking at migrating the project for my main work across from sqlite to moor as there's a requirement for a web app, but we are using the encrypted version of sqlite.
I've read here https://moor.simonbinder.eu/docs/other-engines/encryption/ about encryption, but that's talking about using FlutterQueryExecutor but if moving to ffi and web is it possible to have encryption also?

The encrypted executor uses sqflite_sqlcipher as implementation, which supports iOS, Android and macOS. If you don't need another OS or a moor_ffi-only feature, using that would probably be the best approach.
At the moment, we don't support an encrypted version of moor_ffi. The actual implementation would be rather straightforward (just switch the sqlite shared library to SQLCipher and set a password pragma). It looks like I'd have to publish precompiled shared libraries for SQLCipher though.
Using SQLCipher on the web would probably be a hassle, but you can encrypt the stored data yourself. In the next moor version, you could provide your own MoorWebStorage implementation that encrypts on the way.

is encryption supported on web ?

No it's not at the moment, although it may be worth noting that it provides little benefit in browsers. Your data is already origin-private, so other websites don't have access to it. And someone controlling the browser would have access to the unencrypted database when it's loaded in memory either way.


ProfilerNotRunningError: Cannot stop profiling. No profiler is running. raised using profiler in tf.function

Hello. I'm trying to use profiling in my custom tf.function, but I'm getting the following error calling tf.summary.trace_export
tensorflow.python.eager.profiler.ProfilerNotRunningError: Cannot stop profiling. No profiler is running.
I followed the tutorial in https://www.tensorflow.org/tensorboard/graphs and I realized the error is raised in the tutorial too in line tf.summary.trace_export(       name="my_func_trace",       step=0,       profiler_outdir=logdir). I ran it using google colab in remote enviroment so I guess is a bug in version 2.4
Does anybody another way to achieve it?

I've just tried the google colab script using tensorflow 2.2 with !pip install tensorflow==2.2 and it runs perfectly, it also works well in 2.3, when I come back to tensorflow 2.4 it fails again so it's a problem in the 2.4 version.

I've just tried the google colab script using tensorflow 2.2 with !pip install tensorflow==2.2 and it runs perfectly, it also works well in 2.3, when I come back to tensorflow 2.4 it fails again so it's a problem in the 2.4 version.

I've just tried the google colab script using tensorflow 2.2 with !pip install tensorflow==2.2 and it runs perfectly, it also works well in 2.3, when I come back to tensorflow 2.4 it fails again so it's a problem in the 2.4 version.

I've just tried the google colab script using tensorflow 2.2 with !pip install tensorflow==2.2 and it runs perfectly, it also works well in 2.3, when I come back to tensorflow 2.4 it fails again so it's a problem in the 2.4 version.

@JacdDev
The issue was fixed in TF nightly version. Please, find the gist here.Please, verify once and close the issue. Thanks!

@JacdDev
The issue was fixed in TF nightly version. Please, find the gist here.Please, verify once and close the issue. Thanks!

@ravikyram
The code runs perfectly using tf-nightly, but when I try to visualize the tensorboard panel running %tensorboard --logdir logs/func it trows the following error, I don't know if they are related or it is a different issue:
ERROR: Failed to launch TensorBoard (exited with 1).
Contents of stderr:
2021-01-04 08:57:20.911634: W tensorflow/stream_executor/platform/default/dso_loader.cc:60] Could not load dynamic library 'libcudart.so.11.0'; dlerror: libcudart.so.11.0: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/local/nvidia/lib:/usr/local/nvidia/lib64
2021-01-04 08:57:20.911700: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
Traceback (most recent call last):
File "/usr/local/bin/tensorboard", line 8, in
sys.exit(run_main())
File "/usr/local/lib/python3.6/dist-packages/tensorboard/main.py", line 71, in run_main
app.run(tensorboard.main, flags_parser=tensorboard.configure)
File "/usr/local/lib/python3.6/dist-packages/absl/app.py", line 300, in run
_run_main(main, args)
File "/usr/local/lib/python3.6/dist-packages/absl/app.py", line 251, in _run_main
sys.exit(main(argv))
File "/usr/local/lib/python3.6/dist-packages/tensorboard/program.py", line 283, in main
return runner(self.flags) or 0
File "/usr/local/lib/python3.6/dist-packages/tensorboard/program.py", line 299, in _run_serve_subcommand
server = self._make_server()
File "/usr/local/lib/python3.6/dist-packages/tensorboard/program.py", line 436, in _make_server
deprecated_multiplexer,
File "/usr/local/lib/python3.6/dist-packages/tensorboard/backend/application.py", line 149, in TensorBoardWSGIApp
experimental_middlewares,
File "/usr/local/lib/python3.6/dist-packages/tensorboard/backend/application.py", line 257, in init
"Duplicate plugins for name %s" % plugin.plugin_name
ValueError: Duplicate plugins for name projector

@ravikyram
The code runs perfectly using tf-nightly, but when I try to visualize the tensorboard panel running %tensorboard --logdir logs/func it trows the following error, I don't know if they are related or it is a different issue:
ERROR: Failed to launch TensorBoard (exited with 1).
Contents of stderr:
2021-01-04 08:57:20.911634: W tensorflow/stream_executor/platform/default/dso_loader.cc:60] Could not load dynamic library 'libcudart.so.11.0'; dlerror: libcudart.so.11.0: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/local/nvidia/lib:/usr/local/nvidia/lib64
2021-01-04 08:57:20.911700: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
Traceback (most recent call last):
File "/usr/local/bin/tensorboard", line 8, in
sys.exit(run_main())
File "/usr/local/lib/python3.6/dist-packages/tensorboard/main.py", line 71, in run_main
app.run(tensorboard.main, flags_parser=tensorboard.configure)
File "/usr/local/lib/python3.6/dist-packages/absl/app.py", line 300, in run
_run_main(main, args)
File "/usr/local/lib/python3.6/dist-packages/absl/app.py", line 251, in _run_main
sys.exit(main(argv))
File "/usr/local/lib/python3.6/dist-packages/tensorboard/program.py", line 283, in main
return runner(self.flags) or 0
File "/usr/local/lib/python3.6/dist-packages/tensorboard/program.py", line 299, in _run_serve_subcommand
server = self._make_server()
File "/usr/local/lib/python3.6/dist-packages/tensorboard/program.py", line 436, in _make_server
deprecated_multiplexer,
File "/usr/local/lib/python3.6/dist-packages/tensorboard/backend/application.py", line 149, in TensorBoardWSGIApp
experimental_middlewares,
File "/usr/local/lib/python3.6/dist-packages/tensorboard/backend/application.py", line 257, in init
"Duplicate plugins for name %s" % plugin.plugin_name
ValueError: Duplicate plugins for name projector

@JacdDev
Please, refer the link, link1 and see if it helps you. Thanks!

@JacdDev
Please, refer the link, link1 and see if it helps you. Thanks!

@ravikyram
Thanks, the problem was solved unistalling tensorboard before installing tf-nighlty as said in this comment

@ravikyram
Thanks, the problem was solved unistalling tensorboard before installing tf-nighlty as said in this comment


python310Packages.pulumi-aws: 5.19.0 -> 5.21.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.pulumi-aws is: "Pulumi python amazon web services provider"
meta.homepage for python310Packages.pulumi-aws is: "https://github.com/pulumi/pulumi-aws"
meta.changelog for python310Packages.pulumi-aws is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 5.20.0 with grep in /nix/store/3dzqh0nmi70if3ns2prrr8njfhgaixc6-python3.10-pulumi-aws-5.20.0
found 5.20.0 in filename of file in /nix/store/3dzqh0nmi70if3ns2prrr8njfhgaixc6-python3.10-pulumi-aws-5.20.0

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath
python310Packages.pulumi-aws
python39Packages.pulumi-aws

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/3dzqh0nmi70if3ns2prrr8njfhgaixc6-python3.10-pulumi-aws-5.20.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python310Packages.pulumi-aws https://github.com/r-ryantm/nixpkgs/archive/aebcc3892f302080f2027f51faa477dee0a0a93b.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/3dzqh0nmi70if3ns2prrr8njfhgaixc6-python3.10-pulumi-aws-5.20.0
ls -la /nix/store/3dzqh0nmi70if3ns2prrr8njfhgaixc6-python3.10-pulumi-aws-5.20.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

2 packages built:

python310Packages.pulumi-aws
python39Packages.pulumi-aws

Maintainer pings
cc @costrouc for testing.

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.pulumi-aws is: "Pulumi python amazon web services provider"
meta.homepage for python310Packages.pulumi-aws is: "https://github.com/pulumi/pulumi-aws"
meta.changelog for python310Packages.pulumi-aws is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 5.21.1 with grep in /nix/store/d5qk9ncqfdnryrkzgpa85gbps4azbn0r-python3.10-pulumi-aws-5.21.1
found 5.21.1 in filename of file in /nix/store/d5qk9ncqfdnryrkzgpa85gbps4azbn0r-python3.10-pulumi-aws-5.21.1

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath
python310Packages.pulumi-aws
python39Packages.pulumi-aws

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/d5qk9ncqfdnryrkzgpa85gbps4azbn0r-python3.10-pulumi-aws-5.21.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python310Packages.pulumi-aws https://github.com/r-ryantm/nixpkgs/archive/bdae7aae5646c1cbe775001e3e275c5e6716732f.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/d5qk9ncqfdnryrkzgpa85gbps4azbn0r-python3.10-pulumi-aws-5.21.1
ls -la /nix/store/d5qk9ncqfdnryrkzgpa85gbps4azbn0r-python3.10-pulumi-aws-5.21.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

2 packages built:

python310Packages.pulumi-aws
python39Packages.pulumi-aws

Maintainer pings
cc @costrouc for testing.


Visual studio auto install

is there anyway in visual studio to make it automatically check if a pkg is installed if not install it from visual studio when it is opened or even at build time?

@paveb85394, please reopen this issue if it still be a question for you.


Update not working?

Hiya!
I love markdown-toc, but currently the 'update' function does not seem to be working. Its keypress gets bound correctly, but nothing happens :(
Toggle to dispose/reinstate does the trick, but update would be nicer :)
0.4.2 running on atom 1.32.2
toc that doesn't update follows:

Revision History

Introduction
Components
Connections
Interfaces
LXTM Server

LXTM Server Distribution
LXTM Server Deployment
Running the LXTM server
Running the Heartbeat Compressor
Running the Unavailability Calculator
Running the Web Dashboard
LXTM Server Config file

How it Should Work

Compressor
Unavailability Calculator
Maintenance Patterns
Web UI

I came to this repo because of this issue. Since there's a ton of old open issues and no recent commits, I've moved to this alternative and don't have issues with keyboard shortcuts: https://github.com/mcpride/atom-mdtoc

I also created PR 113 to deal with this: https://github.com/nok/markdown-toc/pull/113


ARTEMIS-2823 Apply default datasource configs if not overridden

@uomik ;) was still missing something this one before the release


Configure per action desktop/mobile

First off, great plugin! loving this on mobile especially.
This is not crucial, but a nice to have :-)
Would it be possible to configure on a per command basis if it is visible on mobile or desktop or both?
Use: on  mobile it is hard  to get to the close document command, lots of tapping. but with your plugin I add this as a command and its always visible. However on desktop, this means i have the commands for closing document listed twice.

Thanks!
That would be possible, but I‘m opposed to implementing it directly in the buttons chooser for two reasons:

I don‘t use it on desktop, I only added support for it on request (see #6), and I don‘t want to maintain additional complexity that I’m not using.
I hook into the file-open event which gets fired each time a new pane gets opened, the file in the current pane changes or a different pane gets clicked. Then I check for every button whether it‘s there. I don‘t really want to make it more complex and check more conditions. The performance might not be that important with only this plugin, but the more plugins start hooking into events, it might lead to lags in the future. I‘m not exactly sure of performance implications, but I‘d like to keep it as lean as possible. I used to check whether a pane was already opened (the ID stays the same for each pane) by keeping track of the ID in a set, but that proved to be unreliable as soon as non-markdown panes were involved.

If you look at the DOM, you can see that there are multiple buttons, depending on the pane, that are hidden with display: none. I give the buttons distinct classes based on their command ID, so you should be able to hide them with a snippet.
Example:
.is-desktop .view-action .switcher:open {
    display: none;
}

I didn‘t check that selector yet and I‘ll also add one more class to make removing the buttons onunload independent of the settings by request of Licat. You can add such a snippet already and the class I‘m adding shouldn‘t break the snippets, but I would wait until I have released the new version.
What I could imagine to do is adding a new setting to automatically add such css rules based on a dropdown menu to either do nothing/hide on desktop/hide on mobile, if the setting to enable them on desktop is enabled. That also makes it less complex for users who only want to use it on mobile.
That being said, I don‘t know whether it is more resource-intensive to apply the CSS or check extra conditions. Considering that Obsidian adds these buttons anyway and hides them with display: none, I think it is better to do that with CSS.
What do you think?

Although the extra checks would only happen for new panes.. Hmm..
In any case, I don't want another suggester for selecting it, I want to keep the initial configuration as simple as possible.
Also, if I don't add this before approval, then it could be a breaking change to many users, depending on how I design it.
The CSS option I could always add at a later point without breaking people's workflow.

You can make changes while waiting approval, just make sure the current "Release" is stable. I can't say what the best implementation is, but it will be useful.
I do always say though, build what you use. Nothing works better than when you work with it yourself for shaking the features down.
Thanks for considering this request.

I've looked at the DOM now, there is no .is-desktop class. There is .is-mobile, so my CSS approach wouldn't work.

You can make changes while waiting approval, just make sure the current "Release" is stable.

Yes, what I meant is that I'd need to decide now how to implement it because I don't want to introduce breaking changes once it's approved.

I'll think about it, there might be a simple way after all.


'Task' object has no attribute 'first_available_file'

I have to say this issue is old, like 8 days ( https://github.com/ceph/ceph-ansible/issues/1003  )
I'm planning to configure some clusters using ansible including ceph clusters. and I've thought ceph-ansible would be great.
but a few errors occurred; fixed them one by one but the last one wasn't easy enough for me to fix.
what I did :

$ git clone https://github.com/ceph/ceph-ansible/
$ cd ceph-ansible
$ sudo apt-get install libyaml-dev libpython2.7-dev libffi-dev libssl-dev
$ sudo ./install-ansible.sh
$ pip install --upgrade setuptools
$ rm -rf ansible
$ sudo ./install-ansible.sh
edited /etc/ansible/hosts
followed the wiki ( https://github.com/ceph/ceph-ansible/wiki )
(and tried stable-2.2, stable-2.1, stable-2.0, stable-1.9 of the ansible git repository in vain and found out that these versions all just show different error messages not succeeding)

The error messages with current devel branch after issuing 'cd ~/ceph-ansible && ansible-playbook ~/ceph-ansible/site.yml' and to see the details 'ansible-playbook -vvv --limit @/home/doeals0/ceph-ansible/site.retry ~/ceph-ansible/site.yml' :

TASK [ceph.ceph-common : generate ceph configuration file] *********************
task path: /home/doeals0/ceph-ansible/roles/ceph-common/tasks/main.yml:230
 ESTABLISH SSH CONNECTION FOR USER: ansibled
 SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssap
i-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=ansibled -o ConnectTimeout=10 -o ControlPath=/home/doeals0/.ansible/cp/ansible-ssh-%h-%p-%r p
eta-s-227 '/bin/sh -c '"'"'( umask 77 && mkdir -p "echo $HOME/.ansible/tmp/ansible-tmp-1476772273.61-127685044050676" && echo ansible-tmp-1476772273.61-12
7685044050676="echo $HOME/.ansible/tmp/ansible-tmp-1476772273.61-127685044050676" ) && sleep 0'"'"''
<0-h0> ESTABLISH SSH CONNECTION FOR USER: ansibled
<0-h0> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keye
x,hostbased,publickey -o PasswordAuthentication=no -o User=ansibled -o ConnectTimeout=10 -o ControlPath=/home/doeals0/.ansible/cp/ansible-ssh-%h-%p-%r 0-h0 '/
bin/sh -c '"'"'( umask 77 && mkdir -p "echo $HOME/.ansible/tmp/ansible-tmp-1476772273.62-28507860882019" && echo ansible-tmp-1476772273.62-28507860882019=
"echo $HOME/.ansible/tmp/ansible-tmp-1476772273.62-28507860882019" ) && sleep 0'"'"''
An exception occurred during task execution. The full traceback is:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/ansible-2.3.0-py2.7.egg/ansible/executor/task_executor.py", line 122, in run
res = self._execute()
File "/usr/local/lib/python2.7/dist-packages/ansible-2.3.0-py2.7.egg/ansible/executor/task_executor.py", line 488, in _execute
result = self._handler.run(task_vars=variables)
File "/home/doeals0/ceph-ansible/plugins/actions/_v2_config_template.py", line 481, in run
_status, _vars = self._load_options_and_status(task_vars=task_vars)
File "/home/doeals0/ceph-ansible/plugins/actions/_v2_config_template.py", line 419, in _load_options_and_status
faf = self._task.first_available_file
AttributeError: 'Task' object has no attribute 'first_available_file'
fatal: [peta-s-227]: FAILED! => {
"failed": true,
"msg": "Unexpected failure during module execution.",
"stdout": ""
}
An exception occurred during task execution. The full traceback is:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/ansible-2.3.0-py2.7.egg/ansible/executor/task_executor.py", line 122, in run
res = self._execute()
File "/usr/local/lib/python2.7/dist-packages/ansible-2.3.0-py2.7.egg/ansible/executor/task_executor.py", line 488, in _execute
result = self._handler.run(task_vars=variables)
File "/home/doeals0/ceph-ansible/plugins/actions/_v2_config_template.py", line 481, in run
_status, _vars = self._load_options_and_status(task_vars=task_vars)
File "/home/doeals0/ceph-ansible/plugins/actions/_v2_config_template.py", line 419, in _load_options_and_status
faf = self._task.first_available_file
AttributeError: 'Task' object has no attribute 'first_available_file'
fatal: [0-h0]: FAILED! => {
"failed": true,
"msg": "Unexpected failure during module execution.",
"stdout": ""
}
to retry, use: --limit @/home/doeals0/ceph-ansible/site.retry
PLAY RECAP *********************************************************************
0-h0                       : ok=29   changed=0    unreachable=0    failed=1
peta-s-227                 : ok=30   changed=0    unreachable=0    failed=1

the machine was configured:
with Debian Jessie.
I'm totally new to this world of administration so any help would be appreciated much.
Best Wishes
From Korea

I assume that ceph-ansible developers are aware of this change in ansible : "The first_available_file option on tasks has been deprecated. Users should use the with_first_found option or lookup (‘first_found’, …) plugin." from https://docs.ansible.com/ansible/porting_guide_2.0.html#deprecated

Yup, this is pretty much a duplicate of where I got to.
I would note that I have actually now gotten this to work this evening, but it involved me going back to 2.0. In my install-ansible.sh I amended the ansible checkout to read git clone -b stable-2.0 https://github.com/ansible/ansible.git, and voila.

@analbeard that seems the right way to move on for the moment.
As I wrote I had tried stable-2.0 but by just doing 'git checkout stable-2.0' and read some error messages and moved on to another branch...
This time, I cloned ansible with stable-2.0 and did run the 'git submodule update --init --recursive' and got it; though I was just hit by another issue :(

Can we close this then?

@leseb it's still going to be a problem with v2.1 and upwards - _v2_config_template.py uses functions which no longer exist. I can take a stab at fixing it, but it'll be akin to someone flailing wildly and happening on the solution more by good luck that judgement ;)

Hum yes please do, don't hesitate to ping @cloudnull when it comes to config_template as he is the maintainer/main dev of if.

@leseb and @analbeard please review https://github.com/ceph/ceph-ansible/pull/1048 when you have a chance as we're patched the config_template to allow for 2.2 compatibility.

Commented the PR, but that works under 2.2 for me. Thanks!


bug in 20220728

Windows, nvidia 3060Ti
test image https://github.com/nihui/realcugan-ncnn-vulkan/blob/master/images/0.jpg
[0 NVIDIA GeForce RTX 3060 Ti]  queueC=2[8]  queueG=0[16]  queueT=1[2]
[0 NVIDIA GeForce RTX 3060 Ti]  bugsbn1=0  bugbilz=0  bugcopc=0  bugihfa=0
[0 NVIDIA GeForce RTX 3060 Ti]  fp16-p/s/a=1/1/1  int8-p/s/a=1/1/1
[0 NVIDIA GeForce RTX 3060 Ti]  subgroup=32  basic=1  vote=1  ballot=1  shuffle=1
[1 Intel(R) UHD Graphics 630]  queueC=0[1]  queueG=0[1]  queueT=0[1]
[1 Intel(R) UHD Graphics 630]  bugsbn1=0  bugbilz=0  bugcopc=0  bugihfa=0
[1 Intel(R) UHD Graphics 630]  fp16-p/s/a=1/1/1  int8-p/s/a=1/1/1
[1 Intel(R) UHD Graphics 630]  subgroup=32  basic=1  vote=1  ballot=1  shuffle=1

-m models-se -s 2 -f jpg

-m models-pro -s 2 -f jpg

works well for cpu and Intel(R) UHD Graphics 630

I'm having the same issue (RTX A6000). It doesn't seem to be loading the model; it just rapidly outputs garbage. CPU mode works fine, but it's of course very, very slow.

reproduced

https://github.com/Tencent/ncnn/pull/4093

release package refreshed

It works now.


Can't fetch fonts

Add <uses-permission android:name="android.permission.INTERNET" /> in manifest file
EDIT: It is actually cause by typo in MaterialApp ThemeData 😂😅

Didn't use custom fonts after aee7de2c94be45fd48916efb2734fa8319b31b65 (NeumorphicApp replaces MaterialApp)


⚠ Bofrost.at has degraded performance

In c2e030a, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2243 ms

Resolved: Bofrost.at performance has improved in 5d12bdc.


Add plotly into requirements.txt

plotly is missing in requirements.txt
(By the way, thank you for the great work!!)

Nice catch, thank you!


useDefaultProps doesn't work props are frozen and cannot be overridden

https://github.com/mui-org/material-ui-pickers/blob/91dcbaffba239f981613801c6d6294bdcee1c6ca/lib/src/_shared/withDefaultProps.tsx#L5
Props should be cloned.
Proposed fix:
export function useDefaultProps<T>(props: T, { name }: { name: string }) {
  const theme = useTheme();
  const localProps = {...props};
  // OR
  const localProps = _.cloneDeep(props);
  return getThemeProps<any, T, string>({
    props: localProps,
    theme,
    name,
  });
}

[x] The issue is present in the latest release.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯
Cannot add property {{ propertyName }}, object is not extensible

Expected Behavior 🤔
No error.

Steps to Reproduce 🕹

https://codesandbox.io/s/material-ui-pickers-playground-forked-z68eu?file=/App.js
Steps:

extend the theme with props
use picker component
Type error will occur
TypeError Cannot add property InputProps, object is not extensible

Context 🔦
Trying to set up default props for material-ui/pickers via the theme.

Your Environment 🌎

Tech
Version

@material-ui/core
vnext

@material-ui/pickers
vnext

React
v16.13.1

Do you have a live reproduction?

Now I have
https://codesandbox.io/s/material-ui-pickers-playground-forked-z68eu?file=/App.js
but I don't know why is it needed. I have proposed a fix which does work.

I don't understand anything from the message you are communicating. Could you follow the issue template? What's the issue? What's the solution?

@oliviertassinari
I am not really sure what was the issue. I have opened issue with the proposed fix right on the line of code where the issue is.
I have opened PR with the fix and failing test, feel free to close is or approve it. I just wanted to help.

@rajzik Awesome, thanks for the pull request, it's a lot clearer now. The getThemeProps() helper is not used correctly. The props option should be cloned before provided.

@oliviertassinari Sure no problem.

Duplicate with https://github.com/mui-org/material-ui/issues/23675