fix multihop ttl to its default value in get_bgp_config()

This fixes the multihop_ttl value in get_bgp_config() when the multihop command is configured but without an specific ttl value. So the following configuration:
group internal {
    type internal;
    multihop;
    local-address <IP_ADDRESS>;
    neighbor <IP_ADDRESS> {
        description routerA;
        cluster <IP_ADDRESS>;
    }
    neighbor <IP_ADDRESS> {
        description routerB;
    }
}

returns a multihop_ttl value of 0
{
    "internal": {
        "apply_groups": [],
        "description": "",
        "export_policy": "",
        "import_policy": "",
        "local_address": "<IP_ADDRESS>",
        "local_as": 0,
        "multihop_ttl": 0,
        "multipath": false,
        "neighbors": {
                .....
}

when I believe it should be set to its default value. Now the problem is how to determine its default value (I ignore if that changes across platforms and versions), so I set it to the default value 64 (according to Junos documentation). Please let me know. Thanks
    "internal": {
        "apply_groups": [],
        "description": "",
        "export_policy": "",
        "import_policy": "",
        "local_address": "<IP_ADDRESS>",
        "local_as": 0,
        "multihop_ttl": 64,
        "multipath": false,
        "neighbors": {

Coverage decreased (-0.2%) to 78.55% when pulling 7efaa947c4649f5000af495826a482c8c02a8045 on ckishimo:devel-hop into b087b8b0ea90d0b8fb88a3315bc72e97b36d5d44 on napalm-automation:develop.

Coverage decreased (-0.2%) to 78.55% when pulling 7efaa947c4649f5000af495826a482c8c02a8045 on ckishimo:devel-hop into b087b8b0ea90d0b8fb88a3315bc72e97b36d5d44 on napalm-automation:develop.

Thanks @ckishimo


Fix for bad CRC in PNG exports (issue jgraph#97)

This does not fix the problem for me. Tested with "identify" (ImageMagick), I still get "zTXt: incorrect header check" error message.

Yes, you will get the "zTXt: incorrect header check", but without my fix you will get: "zTXt: CRC error".
There is some other issue with how the zTXt chunk is stored, and fixing that problem will most likely cause incompatibility problems. My fix fixes the CRC error.
Importing with python (PIL) works fine, using the commands in the issue report.
Also, if you review the code, you'll see that I replaced data[n] with data.charCodeAt(n), which is the correct way to get the char codes from a string in js:
> data = 'zTXt'
'zTXt'
> data[0] ^ 0
0
> data.charCodeAt(0) ^ 0
122

Have for instance a look at this:
https://stackoverflow.com/questions/18638900/javascript-crc32

Got it, thanks for the clarification! Will merge into the next release.

@alderg, if you want to fix the incorrect headercheck issue with png images you would need to replace deflateRaw/inflateRaw with deflate/inflate, but as I said, this will cause incompatibilities.
One possible solution would be to fix the export and rename the chunk to e.g. "mxGraphModel2", and keep both versions of the import.


Does not work on latest iOS safari

You can draw only straight lines on ios safari, tested on iphone 7 and later.

+1

Any update?


Additional fields not showing in the log object

I'm trying to add some fields to the global log, tried in both base and mixin, but the fields only get added locally, but when we deploy to a docker container, they don't show (the default json logs show though). And if I try to make a child, the fields get added under message instead of the higher level log object. Any ideas what can be done to add the fields after deployment to the higher level object?

false alarm, was a docker file issue, apologies about that

Ended up figuring out my issue. I'm making a standalone build using next.js 14.2 in a multi-stage Dockerfile, so I needed to:

make sure next-logger.config.js was copied to the runtime image, in the same folder as server.js
include next-logger and pino in serverComponentsExternalPackages in next.config.js (even though they're imported in the instrumentation file)


Wi-Fi Support

Hi there,
I added partially parsing for Wi-Fi packets, to use library with "wirelessly" sniffed data.
Data packet and most frequently used control packets (RTS, CTS and acknowledgements) is detailly added now. For others, only identifying is handled.

@kivanccakmak There are merge conflicts with this (and it appears there are no tests). Can you clean up the merge conflicts, squash the commits, and add tests? Thanks!

@kisom sure, I would.

Current coverage is 82.10% (diff: 100%)

Merging #22 into master will not change coverage

@@             master        #22   diff @@
==========================================
  Files            13         13
  Lines           531        531
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits            436        436
  Misses           95         95
  Partials          0          0

Powered by Codecov. Last update 916b484...525b8a0

@kisom I added unit tests and run, also solved conflicts. Nevertheless, something fails on Travis CI and I can't observe it, the link does not open on my PC. Also, how shall I squash commits, since I pushed them on my forked repo. Shall I create new pull request with single commit and all existing (and non conflicting:) changes? Thanks.

Obsoleted by #23.


enable wechaty.version with install dependencies

Solve #71

Interesting, this PR can not pass on my Macbook, however, it's ok with GitHub Actions.

Please help me to review this PR and approve it if it's good. @wechaty/python
Thank your very much!

Thank you very much!

@huan  I think it's excellent and so devops. getting me to learn.


DDNS Resolver for Initialise Client

Client now checks for Alphanumeric strings in connection settings using Regex and treats them as a DNS and attempts to connect to every IP attached to that DNS (Makes DDNS such as NoIP compatible with the Client)

Dynamic DNS will always give you 1 IP, or am I wrong? can you explain in what situation this method will be helpful, please?

@NYAN-x-CAT This would be useful for situations where a Domain name leads to multiple Potential hosts in which the client will attempt every one after the host before it has failed

Great work guys. Does this make it compatible with {.}bit domains hosted with a dnshost (that supports blockchain domains) like cloudns.net ?

@enkianu Yes, it should be compatible. Feel free to post your feedback.


Doubt: a node receives a data message but the best route to the destination is the node it received it from

Hi, @Jaimi5,
Sorry to bother you, I'd like to ask you a quick question about the routing protocol implementation. How do you avoid loops?
Context
Imagine you've got nodes A and B as part of a greater mesh network with other nodes. Node S, somewhere in the network, is sending a message to node R, which is far away. Nodes A and B are in the middle of the path between S and R.
Node A receives the data message mentioned above. The next hop field in the message is node A, so it now has to forward it towards node R. According to the routing table at A, the best hop to reach R is via B, so node A modifies the next hop accordingly and forwards the data message to B.
Issue
Node B receives the message from B headed towards R. However, for some reason (the node rebooted, the network is overloaded, routing table corruption... whatever), node B's routing table indicates that the best route towards R is via A.
If now node B forwards the message to A, they'll most likely be creating a loop.
Possible solutions
The issue above is a well-known problem in distance-vector routing protocols, for which different complementary solutions exist:

Upon receiving a message (in this case, at node B), check if the next hop in the routing table towards R is different to the node where the message arrived from; if they're the same, delete the message
Upon receiving a message (in this case, at node A), check whether that message had been already received from another path (if so, delete it)
Add a TTL/max_hop field to the data message, so that the message expires after a certain number of hops

Does LoRaMesher implement any of the above or other strategies to avoid/mitigate loops?
Thanks!

Thinking further the above, another possible approach would be to add a field to the packet header specifying the path metric or the path cost. If node B receives the packet mentioned above from node A with cost n, and the route towards node R has a higher cost than n, this means something wrong is happening there. I don't know if this is enough to avoid loops...
Also, loops can be not only node A => node B => node A => node B, but can involve more nodes.

Hi @rogerpueyo!
At this time, the only metric that is shared is the number of hops to reach a node. And only the best route is stored. For this reason, the nodes that have weak links are not allways reachables.
I am working now with another algorithm to send the snr between nodes and each one would choose the best route to a next hope. Moreover, in the future I would add more parammeters to the path cost. However, the loops in this algorithm could happend and the idea that you mention to share this metric inside the packet header would solve the issue.
In the next month, I hope I could finish this algorithm and test it in a real life network.
Do you have more ideas to improve the algorithm?
Thanks for the comment!

Hi, @Jaimi5,
Thanks for your reply. Let me please answer in-line. :-)

At this time, the only metric that is shared is the number of hops to reach a node. And only the best route is stored. For this reason, the nodes that have weak links are not allways reachables.

Nice, the hop-count metric is the safe one to start with.

I am working now with another algorithm to send the snr between nodes and each one would choose the best route to a next hope. Moreover, in the future I would add more parammeters to the path cost.

Excellent. Number of hops is the simplest, but not always the best metric.

However, the loops in this algorithm could happend and the idea that you mention to share this metric inside the packet header would solve the issue.

Loops are a difficult problem to solve, and there's plenty of literature regarding the topic. However, in your environment (i.e., scarce computational and airtime/bandwidth resources), I believe only few options will be available that are not overkill.
A simple strategy is to add an expiration timer to routes, and propagate routes between nodes including this timer. This way, when a node disappears from the network, after some time, the rest of members will forget about it. You "just" need to properly set this expiration timer, to make sure routes are not incorrectly deleted when a node with bad connection still is available, which is non-trivial. I believe this is already in your code, though.
While this does not avoid loops, I believe adding a TTL (i.e., a counter which is decreased on every hop) field to the each LoRaMesher packet header can help mitigating their effect. This ensures that, if a packet enters a loop, it is deleted sooner or later.

In the next month, I hope I could finish this algorithm and test it in a real life network.

If you find it convenient, please let me know about any progress.

Do you have more ideas to improve the algorithm?

If you want, we can discuss it (in person or via videoconference) in a couple of weeks.
Thanks!


Add schema roundtrip test

Tests that we can roundtrip a schema with all the supported types.

This should be ready for review.
I'm a bit unsure if there is a better way of making sure we test all the field types for Sync, but it should throw if we add more types, but we might consider adding something that fails if we add more collection types? 🤔

@clementetb I cannot assign you as reviewer since you started the PR, but you should probably also take a look.


Stop runaway thread

If Javalin initializes a server but then fails to start, there will be a runaway thread that doesn't get shutdown.
This PR sets a variable indicating we initialized the server and should attempt to stop/kill it if we fail to start.
This relates to #492. You might want to tweak how this is implemented. Ultimately, a public variable seems unnecessary (and possibly confusing) but I had to do it this way because of packages.

@jhult Why do you only want to call stop for the default-server?

Because I wanted to err on the side of caution. If we didn't initialize the server, maybe we should leave it alone.
I'll leave it to you if you want to add that check in or not.

I don't like the extra field, but you can put it as an attribute on the default server and check that?

Updates have been made

Great, thank you @jhult!


Algorithm for recommending project to users based on their preferences during the sign up

define these things
tags to filter for : programming languages, type of project
how to filter for those: filter backend, draw in from the cache, api calls.


Dashboard View - Expenses By Category

Closing issues related to things that still need to be more formally designed.


Try-It code lens does not work with "Fast Run"

See attached video. Observed with Update 6 GA.
https://github.com/wso2/ballerina-plugin-vscode/assets/1356214/9f657c92-9159-4ab6-b41d-9f59f65c48f2
Issues.

tryit disappear when clicking on run.
Had to reopen the file to click tryit
You can't stop running the service after closing the file (had to close it manually using kill -9)

Fixed in v4.3.0

This has has multiple issues. Only 1 is fixed. Reopening.

For 3:
I was able to fix by changing
diff --git a/compiler/ballerina-lang/src/main/java/io/ballerina/compiler/api/impl/SymbolFactory.java b/compiler/ballerina-lang/src/main/java/io/ballerina/compiler/api/impl/SymbolFactory.java
--- a/compiler/ballerina-lang/src/main/java/io/ballerina/compiler/api/impl/SymbolFactory.java	(revision e36fc7ac74a7b5aea2a9cabea6162bd1560a0a9a)
+++ b/compiler/ballerina-lang/src/main/java/io/ballerina/compiler/api/impl/SymbolFactory.java	(date<PHONE_NUMBER>991)
@@ -734,7 +734,7 @@
         methods.add(owner.initializerFunc);

         for (BAttachedFunction mthd : methods) {
-            if (method == mthd.symbol) {
+            if (mthd != null && method.getName().equals(mthd.symbol.getName())) {
                 if (mthd instanceof BResourceFunction) {
                     return ((BResourceFunction) mthd).accessor.value;
                 }

But this is not the file fix. The root cause is BObjectTypeSymbol.initializerFunc being null.

But this is not the file fix. The root cause is BObjectTypeSymbol.initializerFunc being null.
This is wrong, actually this is a per-exisitng logical bug in this code. But since null is always the last element, we never get the NPE.

Real issue is after codegen, symbols are different so we don't get method == mthd.symbol even when it should. So we reach the end of the list, exposing already existing null.


Implement observations/policy for 3D spatial (e.g. occupancy) data

Resources:

https://github.com/DLR-RM/stable-baselines3/blob/897e98c4e25645630cd755f04c9ad7975dc4d73c/docs/guide/custom_policy.rst
https://github.com/microsoft/O-CNN/tree/master/pytorch

Octree-based observations together with OctreeCnnPolicy were implemented as part of https://github.com/AndrejOrsula/drl_grasping/pull/54/commits/e5b55e8dda5e17bdb21c974039828994c4378641


Use asyncio for watcher, not watchdog

Codecov Report

Merging #19 (8884c73) into master (14686fc) will increase coverage by 4.30%.
The diff coverage is 94.64%.

@@            Coverage Diff             @@
##           master      #19      +/-   ##
==========================================
+ Coverage   95.33%   99.63%   +4.30%
==========================================
  Files          22       23       +1
  Lines         814      819       +5
==========================================
+ Hits          776      816      +40
+ Misses         38        3      -35

Impacted Files
Coverage Δ

wap/commands/watch.py
92.30% <66.66%> (+45.82%)
:arrow_up:

wap/watcher.py
98.00% <98.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 14686fc...8884c73. Read the comment docs.


SqlServerDsc: Unit tests are run in containers

Pull Request (PR) description

Changes to SqlServerDsc

To speed up testing in AppVeyor, unit tests are now run in two containers.

This branch has been in my fork for quite some time.
This Pull Request (PR) fixes the following issues
None
Task list

[x] Added an entry under the Unreleased section of the change log in the CHANGELOG.md.
Entry should say what was changed, and how that affects users (if applicable).
[ ] Resource documentation added/updated in README.md.
[ ] Resource parameter descriptions added/updated in README.md, schema.mof
and comment-based help.
[ ] Comment-based help added/updated.
[ ] Localization strings added/updated in all localization files as appropriate.
[ ] Examples appropriately added/updated.
[x] Unit tests added/updated. See DSC Resource Testing Guidelines.
[ ] Integration tests added/updated (where possible). See DSC Resource Testing Guidelines.
[x] New/changed code adheres to DSC Resource Style Guidelines and Best Practices.

This change is

Codecov Report

Merging #1236 into dev will increase coverage by <1%.
The diff coverage is n/a.

@@          Coverage Diff          @@
##            dev   #1236    +/-   ##
=====================================
+ Coverage    97%     98%   +<1%
=====================================
  Files        34      34
  Lines      4171    4171
=====================================
+ Hits       4083    4113    +30
+ Misses       88      58    -30


add endpoint for printing running config

Should you remove passwords from the config before encoding?

Nahhhh we don't need that! ;)    Good catch, incoming!


ModuleNotFoundError: No module named 'carla'

Hi,
I have downloaded and installed CARLA as mentioned in the readme file. However, while running the code ./leaderboard/scripts/run_evaluation.sh, it throws an error:
ModuleNotFoundError: No module named 'carla'.
I have already tried adding the path to the egg file in the leaderboard_evaluator.py.  Can anyone please help me with this?

Can you verify that CARLA_ROOT is set to the right path in leaderboard/scripts/run_evaluation.sh.


zklogin docs clarifications

Description
Clarifications for zklogin properties.
Test Plan
N/A
If your changes are not user-facing and not a breaking change, you can skip the following section. Otherwise, please indicate what changed, and then add to the Release Notes section as highlighted during the release process.
Type of Change (Check all that apply)

[ ] protocol change
[ ] user-visible impact
[ ] breaking change for a client SDKs
[ ] breaking change for FNs (FN binary must upgrade)
[ ] breaking change for validators or node operators (must upgrade binaries)
[ ] breaking change for on-chain data layout
[ ] necessitate either a data wipe or data migration

Release notes

cc @randall-Mysten @ronny-mysten, for important clarifications, please review and update docs soon.


Usability: Add descriptions to Filters

When a user opens the filter

the "Priority Level" and "Access Process" don't have any explaination of how what they are and how they are determined.

Make these changes

Add muted description text under each matching the prototype
Change "Prority Level" to "Suggested Priority"
Add "Learn More" links should link to the Methodology page. Ideally scrolling down the the associated section.
Remove the Info icons next to the headers

View Prototype

@thansidwell @Moylena I would like to work on this.


[Feature]: Optional use of joblib

Suggestion Description
For building Tensile as a RHEL package, the joblib package requires many packages that are not part of RHEL.
Instead of requiring joblib, try to import joblib and when it fails to fall back to the pre joblib code or even a single threaded option.
 It is inefficient to have two resource pools (make/ninja and joblib) manage the same set of resources (CPU cores, memory).
For example, if you have a 16-core CPU, then you could give Tensile 16 threads and also give Make 16 threads. However, that means the two job queues may use 32 threads total and this could be inefficient (or use too much memory). However, if you only have 16 cores and you give 8 to Tensile and 8 to Make, then you won't get to use all your cores on the parts of the build after Tensile completes.
I expect that it's much easier just to make joblib optional using a fallback like in #1970. That's would be a good start, but I hope we can eventually do better.

Ideally, the parallelism would be managed through the build system. It is inefficient to have two resource pools (make/ninja and joblib) manage the same set of resources (CPU cores, memory).

I completely agree, however, I don't see this sort of change being implemented soon so it is may still be in our interest to support a single-threaded option. In fact, Tensile's main parallelization entry point---ParallelMap here---claims to support a single-threaded option via the enable parameter. Unfortunately, it's experimental and in need of testing.
Profilability, is another consideration. In the past I've faced issues with certain profilers that can't cope with the process churn that joblib induces. It also obscures internal function calls making it hard to profile. Having a single threaded option could help us highlight bottlenecks
Another longer-term solution that I've considered is to establish a single fan-out fan-in design with joblib so that we don't continually spawn and terminate processes.
At the very least it's worth stabilizing the enable option and providing a fallback if joblib isn't installed.

We keep removing "optional" dependencies from the requirements files. This hasn't been a problem up to now but if requirements.txt does not contain joblib and we use the fallback then TensileCreateLIbrary will slow down considerably.

Replacing joblib in Parallel.py with multiprocessing imap (forkserver or spawn mode) works ok.

We have re-enabled single threaded mode and optional use of joblib. See L104 of Parallel.py. If joblib cannot be found, the program will default to single threaded execution.
@LunNova This is a good idea. Unfortunately, it's not on the roadmap right now. But I would be glad to support a PR for the update.
Closing this issue.


Release latest API docs changes from develop

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[x] Other non-breaking change (enhancement, tests, documentation, chore and the like)

And

[ ] This Pull Request DOES NOT target the main (production) branch on this repository (if so it must point to a feature branch or to the develop (staging) branch).
[x] I have read the CONTRIBUTING document.
[x] I have added/updated tests to cover my changes.
[x] All new and existing tests passed.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] There are no other open Pull Requests for the same update/change.

Proposed Changes

closes #59

Codecov Report

Merging #61 (f9ba84a) into main (d6f4418) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##               main      #61   +/-   ##
=========================================
  Coverage     98.06%   98.06%
  Complexity      237      237
=========================================
  Files            37       37
  Lines           465      465
  Branches         24       24
=========================================
  Hits            456      456
  Misses            1        1
  Partials          8        8

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d6f4418...f9ba84a. Read the comment docs.


Add Vale repetition rule

Summary
Add Vale repetition rule. Triggered by #4243
Testing
It will run in CI

Why switch spelling to warning? @mheap

@Guaris Accidental commit. I switched to warning to remove the results locally whilst testing repetition. Should be good to review now


Stability Upstream translated task

StabilityAI's implementations can be found here and are compatible with master branch. We'll need to adapt them to big-refactor.


Implement pipeline upload --replace

When running buildkite-agent pipeline upload --replace right now, you just get panic: Replace not implemented. Taking a look at the code this looks pretty trivial to implement. It would be exactly like prepend except without including the existing steps. Is there something I'm missing here? I guess that wouldn't account for the caveat that replace will not replace already-running steps, but AFAICT the steps are being run sequentially, so a later step should never be running anyway.

We've shipped v3 which currently doesn't have a local run tool; as you've seen there are complexities around keeping it up to date. We're looking at alternatives to local run that may provide longevity and less maintenance.


Fix turbinia and timesketch configurations.

Thanks for opening a Pull Request!
Here's a handy checklist to ensure your PR goes smoothly.

[ x] I signed Google's Contributor License Agreement
[x ] My code conforms to Google's python style.
[x ] My PR at a minimum doesn't decrease unit-test coverage (if applicable).
[ x] My PR has been functionally tested.
[ ] All of the tests pass.
[ na] I have submitted a corresponding PR for documentation in the forsetisecurity.org-dev branch and included this on this PR (if applicable).
[na ] My documentation has been functionally tested and used (if applicable).
[ na] I have submitted a corresponding PR in the Forseti Terraform module (if applicable).

These guidelines and more can be found in our contributing guidelines.

@berggren PTAL

@berggren Done! Ok sounds good 👍


component: upgrade the sample test used in template HTML

Work with the editorial team to come up with the best sample HTML that will be used in the component sample HTML.
This sample HTML is important because it is used in:

component preview state
screenshots demonstrating component design
readme where developers copy code for their own use
interactive previews that let developers play with the real component all by itself
documentation showing component along with the attributes, properties and events it uses
component gallery

The first version of components used sample code taken directly from the sites where we implemented these components. If we make the effort to choose generic sample content it will let developers focus on the component functionality rather than be distracted by our sample content which is often cannabis related

Built good examples of this in the component-gallery/rocket branch using the https://rocket.modern-web.dev/ framework and mdjs for component gallery interactive examples from live readme files


Unnecessary request for anonymous cart and account cart

Type: minor
Describe the bug
On a clean installation, request for the anonymous cart and account cart will be executed even though, they are explicitly directed not to by the skip param. This is a known issue with Apollo Client, https://github.com/apollographql/react-apollo/issues/3492. Revisit this after Apollo Client v3 is released and hopefully fixed.
To Reproduce
Steps to reproduce the behavior:

Start with fresh installation
Load product grid page
Observe the following query being executed:

anonymousCartByCartIdQuery
with params:
"cartId":null,
"cartToken":null

Expected behavior
This query should not execute on first executed until a user clicks on the "add to cart" button. See, https://github.com/reactioncommerce/example-storefront/blob/trunk/hooks/cart/useCart.js#L50 for details.
Desktop (please complete the following information):

OS: MacOS
Browser: Chrome
Version 83

As react-apollo is deprecated, here are some more recent related issues on apollo-client which is the library we're currerently experiencing that issue with:
https://github.com/apollographql/apollo-client/issues/6572
https://github.com/apollographql/apollo-client/issues/6507
v3.0.0 stable was released 4 hours ago, will check if that maybe contains a fix already.

@janus-reith sounds good and thank you for checking.

@willopez Yes I was thinking the same thing when I noticed it. Looking at the code, that itself probably won't solve it as the logic regarding onCompleted is happening after the query ran or was skipped accordingly, but at least it looks like they're currently working at that topic somehow.


Access an external variable from a lambda function

At present, the Pluto deducer lacks the capability to analyze and track the locations of accessed variables. Consequently, when a lambda function accesses a variable beyond its own scope, said variable will not be incorporated into the lambda.
import { HttpRequest, HttpResponse, Router } from "@plutolang/pluto";

// This will not be included in the generated compute module code.
const CONSTANT = "constant";
let variable = 1;

const router = new Router("router");

router.get("/path1", async (req: HttpRequest): Promise<HttpResponse> => {
  console.log(CONSTANT); // failed
  variable += 1;
  // ...
});

router.get("/path2", async (req: HttpRequest): Promise<HttpResponse> => {
  console.log(variable); // failed
  // ...
});

Our expectation is that the constant will be treated as a regular constant and included in the generated code. However, the variable may need to be transferred to a cloud resource, such as an object in an object store, in order to preserve its state information. This cloud resource for the variable needs to be present in the architecture reference.

After #73, developers can access the constants that located outside of the function code in the hander function. But, currently, only literal constants are supported.
Need support for accessing variables. Please note that these variables might be modified by other processes.

[ ] Support for variable variables access.


Added sample hybrid application

Adding a sample hybrid application that deploys to both Azure and Azure Stack. Requires an Internet-connected Azure Stack.

@knithinc This is ready for merging. Thanks so much!


Update Text

Can Possible Update Text or Font Size before generate png?

Hello, have you found a solution? I am also working on this problem and look forward to hearing from you if you can help.


BUG: Goto Definiton (F12) "Object reference not set" when in another project

TypeScript Version:  2.5/2.6.0
VisualStudio 15.4.1
Code
import * as Navigator from "../../Framework/Signum.React/Scripts/Navigator"

Since the installation of VS 15.4.1 using Go To Definition in almost any reference (ES6 modules) throws a Object referencen ot set to an instance of an object.

I have not been able to reproduce the error in a small project, so here is the complete one:
https://github.com/signumsoftware/southwind
and this is the tscondig.json:
{
  "compilerOptions": {
    "target": "es5",
    "sourceMap": false,
    "module": "esnext",
    "moduleResolution": "node",
    "jsx": "react",
    "noEmit": true,
    "strict": true,
    "baseUrl": ".",
    "lib": [
      "es2017",
      "esnext",
      "dom"
    ]
  },
  "exclude": [ "node_modules" ]
}

I can not seem to reproduce this locally.. do you see this on all machines?

True, clean clone from github solved the problem.
Maybe some file in node_modules was making the problem.
Thanks for the quick answer!


[Chat]Alert "No internet connection" is not shown at the participants chats when the Internet connection is lost.

Reproducible: always
Build found: 1.0.91
Preconditions
The "Car" app is opened
The Chat page is opened
Steps to reproduce

Go to the participant's chat.
Turn off the Internet connection
Observe the result.

Actual result
Alert "No internet connection" is not shown on the participant's chats when the Internet connection is lost.
Expected result
Alert "No internet connection" is shown on the participant's chats, when the Internet connection is lost.

https://user-images.githubusercontent.com/71496479/111695404-bd946880-883b-11eb-9985-601386ca1312.mp4

Is also reproducible for following Environment: Redmi Note 9 Pro, Android 12.0.3, app version 1.0.140
User Story: https://github.com/ita-social-projects/Car-Back-End/issues/45

ita-social-projects/Car-Front-End#418

Bug fixed.


Add a new method for querying the n th matching elements / fix #1104

fix #1104

Thanks, but I don't see this as a fit for jsoup. For one, that's not what nth-of-type means (see ref), and it's already effectively implemented in the :nth-of-type selector. And this impl is just an odd alias for Elements#eq.


adding make -j4 to Windows build

I think the AppVeyor setting your looking for is actually: skip_branch_with_pr: true
https://github.com/appveyor/ci/issues/882

Did that through the Appveyor project settings earlier, but it was still kicking off multiple builds. The latest commit only initiated one Appveyor build for the PR, which is what I wanted.

From looking at the AppVeyor docs it appears that if there is a .yml file in the repo it always overrides the settings in the web UI. Branches without pull requests won't be checked by the CI with master only.


Dwave VRP has vars that are not added to the model

Since vars aren't explicitly added (only when they appear in the objective or constraint), there are sometimes errors when removing them in the simplifying step (they're not even in the model).
Possible solutions are adding all the vars explicitly, ignoring the vars that don't exist in the simplification, etc.
An example input is this one
cvrp = DWaveSolver(
        2,
        None,
        [
            (456, 320),
            (228, 0),
            (912, 0),
            (0, 80),
            # (114, 80),
            # (570, 160),
            # (798, 160),
            # (342, 240),
            # (684, 240),
            # (570, 400),
            # (912, 400),
            # (114, 480),
            # (228, 480),
            # (342, 560),
            # (684, 560),
            # (0, 640),
            # (798, 640),
        ],
        [
            (0, 3, 5),
            (2, 1, 6),
        ],
        True,
        True,
    )

when this is fixed, test if is_result_feasible is needed in dwave

The bug was the x_var function being wrongly calculated


Convert to Markdown

Convert all recipes to markdown and update template.txt to reflect this change

All files have been converted to markdown and template.txt has been changed to template.md


Analysis for Celo Real World Builders Round

What is it?
What? PoC to demonstrate the use of OSO analytics using the development activity for grantees in the Real World Builders round.
https://docs.google.com/document/d/14_zbKPuAjhZJiGHTG2ek-FXdhe-9PLYWjDUt4eetyg4/edit?tab=t.0

PR for adding missing projects in the round: https://github.com/opensource-observer/oss-directory/pull/596


Switch SpringOne promo text to save the date

@danielramirez0 if we could merge this today, that would be great - thank you!


Github Action: Lint on PR to master

Let's first take care of the pre-commit hooks. And later you should think about eslint rules. Only then it makes sense to check whether or not a PR passes linting checks.

The pre-commit hooks are done and merged in master. The action seems to be working as well.

And later you should think about eslint rules.
Sounds good. I've just ensured that this github action is working. Once we're firm on eslint rules, we can have this branch tested and merged.

The action is actually WAAAAY more simple.
Please check https://github.com/AaruBama/memestr/pull/54

#54 fixes this!!!


mne.Info - offer more complete options for subject handedness

dear all,
first of all thanks for your amazing work!
I find in the api documentation that mne.Info objects currently only allow two options for a subjects handedness:
hand : int
Handedness (1=right, 2=left).
is there a specific reason for this? otherwise I would propose adding additional / more complete options:
hand : int
Handedness (0=n/a, 1=right, 2=left, 3=ambidextrous).
best, Dominik

We follow the official FIFF definitions, so we would need to add it there:
https://github.com/mne-tools/fiff-constants/blob/064604db8aeba310c76c93e7c76cc983257105b4/DictionaryTypes.txt#L453-L457
Okay if I transfer the issue there?

+1 on moving it over there.
btw I believe a similar adjustment could and should be made to the "sex" variable. Will open an issue over at fiff-constants too.

@larsoner yes, this would be great. thanks for forwarding this to the right address!
@hoechenberger +1 on adding "sex" options, I thought of this as well


Can starlight autogenerate entire content directory items to sidebar navigation?

What version of starlight are you using?
latest
What is your idea?
I am surprised by the Autogenerated groups feature provided by Starlight. It's a great feature that generates items in the Sidebar navigation as much as possible by convention rather than configuration. However, it seems that this only applies to subdirectories under the content directory, and cannot be directly applied to content.
starlight({
	sidebar: [
	    {
		    label: 'My Astro Crash Courses',
		    autogenerate: { directory: 'content' },
	    },
	],
});

For example, my tutorial documents are arranged in the following way:
src
└── content
  ├── astro-concepts
  │   ├── bar.md
  │   └── foo.md
  ├── how-to-use-astro.md
  └── index.md

So, I would like to be able to directly generate all corresponding Sidebar navigation based on the content directory.
If there are files that need to be ignored, we can name them with _ at the beginning of the file, similar to Astro, to prevent them from being generated.
src
└── content
  ├── astro-concepts
  │   ├── bar.md
  │   └── _foo.md  # ignore this doc!
  ├── how-to-use-astro.md
  └── index.md

As for some attributes in the sidebar configuration, such as label, we can set them directly in the frontmatter. In this way, we can minimize the amount of configuration code we have to write.
<!-- how-to-use-astro.md -->
---
label: 'Astro setup'  # manually overwrite the label by autogenerated.
---
# Hello, world!
...

Why is this feature necessary?
Because Starlight is built on Astro and uses a file-based routing design, I believe that by using a file naming convention similar to SSR with frontmatter, it is possible to minimize the need for manual configuration in the Sidebar navigation as much as possible.
Do you have examples of this feature in other projects?
No response
Participation

[ ] I am willing to submit a pull request for this issue.

Hi @100gle, yes! If you don’t set sidebar in your config file, this is exactly what Starlight will do. Here’s the docs on this behaviour: https://starlight.astro.build/guides/sidebar/#default-sidebar

I’ll close this as I think this feature is already available, but please feel free to let me know if I misunderstood and should re-open!


Remove service-dependent examples

Some example scripts rely on web sites out there to work. This is a maintenance burden, there is not even guarantee that it will work forever. The example code was necessary back when PhantomJS was relatively unknown and the documentation was minimal. This is not the case anymore these days and thus we should lean towards a set of maintenance-free example scripts.

:+1:
I've been working in the same direction on the test suite (right now the core testsuite only ever talks to localhost, but the ghostdriver test suite relies on all kinds of external websites to exist -- with the same HTML structure as they used to have, too).


cannot delete some records in distributed OrientDB

OrientDB Version: 3.0.30
Java Version: 1.8
OS: Linux
Expected behavior
All vertex can be deleted in a distributed master-master OrientDB setup
Actual behavior
Some vertex in a graph database cannot be deleted. I get this message in the web ui. This doesn't happen with all vertex
I get this error message, I always get the same message with same numbers
com.orientechnologies.orient.server.distributed.task.ODistributedOperationException: Request 2.36019 didn't reach the quorum of '3', responses: [node: node1588851204170 success,concurrent modification record (node node1588851204200): #59:2306 database version: 2779 transaction version: 2778,concurrent modification record (node node1588851204062): #59:2306 database version: 2779 transaction version: 2778] DB name="xxx"
Steps to reproduce
Run this query in the OrientDB web
delete vertex #49:27651;
Please let me know if you need more information

I've also noticed that deleting records at the same time than inserting can lead to deadlocks.


dual tariff

Hello,
Here in the Netherlands we can have a dual tariff subscription in which we have a peak and off peak tariff.
Can this code handle that and have 2 different sensors for both import and export  (meaning 4 in total)

Not without changes since the purpose of it is to handle the specific selection of data points used in Sweden (and a few other countries).
For the Netherlands you should be able to use the default builtin support in esphome.
https://esphome.io/components/sensor/dsmr.html

Thanks. Will try that 👍


[FIX] restructure and clarify _physio/_stim section

Today I needed to save some *_physio files for the first time and went through the BIDS specification on that topic in detail.
I think the section is currently quite disorganized and not formatted consistently with other BIDS sections.
I took a pass and performed:

a major restructuring of the paragraphs to accommodate a better "reading flow" from a user perspective
wording clarifications

The diff is quite large but I did not introduce new notions or change old ones (at least not to the best of my knowledge).
Please let me know if you agree that this PR improves the section ... or/and help me to make it  (even) better.

In derivatives, we've used / to as a general stand-in data type. If you want to be specific, you could go for <func|meg|eeg|ieeg|beh>/. I can't immediately find an example where we've done that, but I think it would be clear.

I like ``func|meg|eeg|ieeg|beh, but given that we may want to allow it for anatanddwias well (x-ref: https://github.com/bids-standard/bids-validator/issues/990#issuecomment-649627395),datatype` may be the shorter variant, and it's good to do the same as in derivatives.


Set dynamic queue priority

Currently dynamic queues have lowest priority. Is it possible to set a specific priority to all dynamic queues? My use case needs the dynamic queue to have the highest priority.

@akshayrawat do you have weighted or strict queues?
The priority of weighted queue is defined by how many times it's present in an array: Sidekiq::LimitFetch::Queues.instance_variable_get(:@queues).
The priority of strict queue is defined by its position in the same array.
Dynamic queues are pushed just once to the end of this array.
To increase its priority in weighted scenario you'll need to push it a few more times to get appropriate balance. To increase its priority in strict scenario you'll need to move it to the beginning of array.


clientTest is not use,so to delete

clientTest is not use,so to delete

Codecov Report

Merging #1895 into develop will increase coverage by 0.02%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##             develop    #1895      +/-   ##
=============================================
+ Coverage       55.3%   55.32%   +0.02%
  Complexity      2388     2388
=============================================
  Files            422      422
  Lines          14300    14300
  Branches        1702     1702
=============================================
+ Hits            7908     7912       +4
+ Misses          5678     5675       -3
+ Partials         714      713       -1

Impacted Files
Coverage Δ
Complexity Δ

...very/registry/zk/ZookeeperRegisterServiceImpl.java
64.56% <0%> (+0.78%)
25% <0%> (ø)
:arrow_down:

...server/store/file/FileTransactionStoreManager.java
57.91% <0%> (+0.94%)
29% <0%> (ø)
:arrow_down:


javascript in feed item html interpreted as text, shows as 'first sentence' in article list

Here's a screengrab:

Here's my test feed, https://endpointservice.web.app/notebooks/@jrus/feedtest2/recent
(It might not last)
Feed item content is like:

The idea is I want to show the thumbnail initially (loads fast), but then replace it with an embedded notebook when the thumbnail gets clicked.
I can easily change the feed to whatever would work. Is there any way to get a script (or other content) into the html of feed items without NNW thinking it constitutes the text content and trying to use it in the article list? Ideally I'd like to have no text preview in the article list at all for this feed.

Including "summary": "", "content_text": "" in the feed items does not seem to help.

I worked around this by putting the javascript in a separately served file.

I'm going to close this since it looks like you got it worked out. If we start having problems with incorrect content in the Timeline again, we can reopen this issue.

Arguably this is a bug either way; something inside a


[EPIC] Zero-ETL - Apache Iceberg Table Support

Is your feature request related to a problem?
Apache Iceberg is designed for managing large analytic tables in a scalable and performant way, using features like schema evolution, partitioning, and metadata management to optimize query performance. Despite these robust optimizations, the inherent latency of querying large datasets directly from S3 can be a pain point, especially for real-time analytics and interactive querying scenarios, when running complex or frequently accessed queries on large Iceberg tables.
TODO: current problem statement is more technical. need more feedback from real Iceberg customer.
What solution would you like?
Integrate current Flint’s query acceleration features with Iceberg to enhance performance:

Skipping Index: Implement Flint’s fine-grained skipping index to complement Iceberg’s metadata-based skipping, reducing the amount of data read and processed.
Covering Index: Allow Flint to create covering indices for frequently queried columns, decreasing the need to scan large S3 files and improving query response times.
Materialized Views: Support Flint’s materialized views backed by OpenSearch, enabling pre-computed results for complex queries, thus providing instant access and significantly reducing computation time.

TODO: evaluate missing features in https://github.com/opensearch-project/opensearch-spark/issues/367
What alternatives have you considered?
N/A
Do you have any additional context?
Known issues related:

https://github.com/opensearch-project/opensearch-spark/issues/298
https://github.com/opensearch-project/opensearch-spark/issues/334
https://github.com/opensearch-project/opensearch-spark/issues/339

Proof of Concept 1: Basic Integration of Flint Core Functionality with Iceberg Tables
Objectives
This PoC aims to evaluate the integration of Flint's core functionalities, including skipping index, covering index and materialized views, with Apache Iceberg tables.
The key questions to answer include:

Is a Flint skipping index helpful for Iceberg tables in certain case?
How can Flint track changes in Iceberg tables on the fly for covering index and materialized view?

Demo Query
This query demonstrates finding the top IP address pairs (source -> target) that have had their connections rejected in the past hour:
-- Identify the top IP address pairs with rejected connections in the last hour
SELECT
  src_endpoint.ip || '->' || dst_endpoint.ip AS ip_pair,
  action,
  COUNT(*) AS count
FROM vpc_flow_logs
WHERE action = 'REJECT'
  AND time_dt > (current_timestamp - interval '1' hour)
GROUP BY 1, 2
ORDER BY count DESC
LIMIT 25;

Indexing Support

Skipping Index

What data structures does Iceberg support at the table and file level that could be utilized by Flint?
Can the Flint skipping index rewrite rules work with Iceberg's metadata indexing capabilities?

Covering Index

Identify functional gap, such as struct type support
Identify performance gap similar as Issue https://github.com/opensearch-project/opensearch-spark/issues/334

Materialized View

Does MV on Iceberg tables have similar cold startup problem in Issue https://github.com/opensearch-project/opensearch-spark/issues/90

Index Maintenance

How does Flint track versions in Iceberg tables?
How does Flint handle data expiration or compaction in Iceberg tables?
How does Flint handle schema evolution in Iceberg tables?

Performance Benchmarking
Comparison of direct queries on Iceberg tables versus queries accelerated by Flint's skipping index.

Proof of Concept 2: Advanced Integration of Flint with Iceberg Tables
Enabling Full-Text Search Capability
This part of the PoC explores the implementation of full-text search capabilities in Flint, integrated with Iceberg tables. The primary goal is to enhance query capabilities with a focus on text search within specific fields. Below is a demonstration query:
-- Identify the number of HTTP status occurrences with requests containing 'Chrome' in the past hour
SELECT
  status,
  COUNT(*) AS count
FROM http_logs
WHERE MATCH(request, 'Chrome')
  AND timestamp > (current_timestamp - interval '1' hour)
GROUP BY status;

Changes required:

User-Defined Function (UDF) for Full-Text Search:

Implement a UDF that supports full-text search queries directly on Iceberg tables.

Query Rewrite with Covering Index:

Query rewriting mechanisms in Flint to utilize the covering index for enhanced performance in text search queries.

Search Pushdown to Covering Index Scan:

Enable search query conditions to be pushed down directly to OpenSearch DSL query on index.

Covering indexes provide full search and dashboard capabilities, but it require indexing of all involved columns. An alternative is a non-covering (filtering) index, which indexes only the columns used in filters, with each index entry pointing back to the row ID in the source table.
To implement this, we need to answer the following questions:

Is it feasible for users to create a non-covering index for the entire dataset?
How can SQL syntax be differentiated to specify the use of non-covering versus covering indexes?
If universal indexing isn’t viable, how can we enable on-demand index creation specific to individual queries?

Accelerating Iceberg Metadata Queries
The following SQL examples illustrate how Flint can be leveraged to accelerate queries against Iceberg's metadata, which is essential for schema management and data governance:
-- Example query to fetch historical metadata from an Iceberg table
TODO

Proof of Concept Conclusion [WIP]
Conclusion

Skipping Index

Iceberg does not support external skipping index from its current code structure
Flint's skipping index will be invalidated after Iceberg table data compaction
Iceberg's column stats (partition, min-max, value count, etc) is sufficient for analytical workloads without highly selective filtering conditions

Covering Index
Materialized View
Index Maintenance

Data expiration: Iceberg creates new snapshot to mark deleted and only supports append-only mode, so no microbatch generated
Data compaction: Iceberg generate an empty micro batch after compaction which should have no impact
Schema evolution: Schema is metadata-only change; Flint can provide ALTER statement to add or remove column, but this may impact the query rewrite correctness

High Level Design
High level design based on conclusion above, focus on core functionality and performance.
Zero-ETL Support
SparkSQL Query Acceleration
Index Maintenance

Architecture
Based on the conclusions above, the high-level design focuses on core functionality and performance.

Data Exploration
Users can create or direct query Iceberg table for ad-hoc data analytics.
Zero-ETL Support
Users can load raw or aggregated data directly into OpenSearch via covering indexes and materialized views, enabling full-text search and dashboard capabilities without the need for an Extract, Transform, Load (ETL) process.
Iceberg Data Types
TODO
Flint Enhancement

Covering index

https://github.com/opensearch-project/opensearch-spark/issues/384
https://github.com/opensearch-project/opensearch-spark/issues/339
https://github.com/opensearch-project/opensearch-spark/issues/334

Materialized view

https://github.com/opensearch-project/opensearch-spark/issues/90

SparkSQL Query Acceleration
Users continue to use the familiar SparkSQL interface and leverage OpenSearch's indexing capabilities to accelerate SparkSQL queries.
Data Skipping
TODO

Disable Flint's skipping index, as it is not supported by Iceberg.

Query Optimization
TODO

Users create covering index with required columns to accelerate SparkSQL queries
Users create materialized view to accelerate SparkSQL queries

Index Maintenance
TODO: Flint can provide ALTER statement to add or remove column, but this may impact the query rewrite correctness
Performance Test
TODO


Question: Modules structure

Official docs about module/components structure https://angular.io/guide/styleguide#overall-structural-guidelines
Do you plan to follow it?

This project has gone through a number of quite drastic restructures in it's history, in order to make things easier to understand.
The layout I'm using is:

Module Type (Semantic UI types, e.g. collections, modules, ...)

Module Name

index.ts - exports everything in the module
public.ts - exports only public facing module exports
${moduleName}.module.ts - NgModule definition
Export Type (Following Angular names, e.g. components, directives, services, ...)

...${fileName}.ts - Files that export one or more things of the type specified by the outer folder

I've used this layout for the following reasons:

Outer folders clearly use Semantic UI categories so people can quickly find what they need
Module folders are split into the name of what they are
Inside a module folder are barrel files (public.ts and index.ts that make it very easy to import modules into eachother without any crazy file rename fragility)
Files inside modules are categorized into sensible Angular based categories again to be able to quickly find what one needs

So to summarise, I believe I am following the styleguide to an extent, but find that it is not as a whole suitable for this library.
Let me know if you have any more questions, I hope I've answered you sufficiently 😄


How to enable experimental feature that prevents full WAL disks?

v0.8.2 release (latest) changelog specifies a new featue:

Prevent full WAL disks (experimental, disabled by default)

But I can't find any more info on the feature by reading the docs, or even looking at the commited files.
Also, I'm hoping this feature can help prevent: #320

Found it: https://github.com/timescale/timescaledb-kubernetes/blob/master/charts/timescaledb-single/values.yaml#L410


BOSH Google CPI error with snapshot_disk and payload unmarshalling

$ bosh restart db/0 --force
Restart db/*? (type 'yes' to continue): yes

Performing 'restart db/*'...

Director task 256
  Started preparing deployment > Preparing deployment. Done (00:00:00)

  Started preparing package compilation > Finding packages to compile. Done (00:00:00)

  Started updating instance db > db/<instance_guid> (0) (canary). Failed: CPI error 'Bosh::Clouds::CloudError' with message 'Extracting method arguments from payload: Unmarshalling action argument: json: cannot unmarshal number into Go value of type string' in 'snapshot_disk' CPI method (00:00:02)

Error 100: CPI error 'Bosh::Clouds::CloudError' with message 'Extracting method arguments from payload: Unmarshalling action argument: json: cannot unmarshal number into Go value of type string' in 'snapshot_disk' CPI method

Task 256 error

BOSH manifest for Concourse:
---
name: concourse
director_uuid: <director uuid>
releases:
- name: concourse
  version: 2.5.0
  url: https://bosh.io/d/github.com/concourse/concourse?v=2.5.0
  sha1: 0d1f436aad50bb09ac2c809cd6cb6df3e38a7767
- name: garden-runc
  version: 1.0.3
  url: https://bosh.io/d/github.com/cloudfoundry/garden-runc-release?v=1.0.3
  sha1: 0c04b944d50ec778f5b34304fd4bc8fc0ed83b2b

tls_key: &tls_key |
  <tls key>
tls_cert: &tls_cert |
  <tls cert>

instance_groups:
- name: web
  instances: 1
  vm_type: web
  azs:
  - z1
  - z2
  stemcell: trusty
  networks:
  - name: public
    default:
    - dns
    - gateway
  - name: vip
    static_ips:
    - <static ip>
  jobs:
  - name: atc
    release: concourse
    properties:
      external_url: <external url>
      publicly_viewable: true
      basic_auth_username: buildpacks
      basic_auth_password: "<auth password>"
      github_auth:
        client_id: <client id>
        client_secret: <client secret>
      postgresql_database: atc
      tls_cert: *tls_cert
      tls_key: *tls_key
      tls_bind_port: 443
  - name: tsa
    release: concourse
    properties: {}
- name: db
  instances: 1
  vm_type: database
  azs:
  - z1
  stemcell: trusty
  persistent_disk_type: database
  networks:
  - name: public
  jobs:
  - name: postgresql
    release: concourse
    properties:
      databases:
      - name: atc
        role: <role>
        password: <password>
- name: worker
  instances: 6
  vm_type: worker
  azs:
  - z1
  stemcell: trusty
  networks:
  - name: public
  jobs:
  - name: groundcrew
    release: concourse
    properties: {}
  - name: baggageclaim
    release: concourse
    properties: {}
  - name: garden
    release: garden-runc
    properties:
      garden:
        listen_network: tcp
        listen_address: <IP_ADDRESS>:7777
        network_mtu: 1432
update:
  canaries: 1
  max_in_flight: 3
  serial: false
  canary_watch_time: 1000-120000
  update_watch_time: 1000-120000
stemcells:
- alias: trusty
  os: ubuntu-trusty
  version: latest

BOSH cloud config:
azs:
- name: z1
  cloud_properties:
    zone: us-east1-c
- name: z2
  cloud_properties:
    zone: us-east1-d

vm_types:
- name: web
  cloud_properties:
    machine_type: n1-standard-2
    root_disk_size_gb: 20
    root_disk_type: pd-ssd

- name: database
  cloud_properties:
    machine_type: n1-standard-4
    root_disk_size_gb: 100
    root_disk_type: pd-ssd

- name: worker
  cloud_properties:
    machine_type: n1-standard-4
    root_disk_size_gb: 300
    root_disk_type: pd-ssd

- name: bosh-lite-worker
  cloud_properties:
    machine_type: n1-standard-16
    root_disk_size_gb: 300
    root_disk_type: pd-ssd
    tags: [bosh-lite-public]

compilation:
  workers: 3
  network: public
  reuse_compilation_vms: true
  az: z1
  cloud_properties:
    machine_type: n1-standard-4
    root_disk_size_gb: 100
    root_disk_type: pd-ssd
    preemptible: true

networks:
  - name: public
    type: manual
    subnets:
    - az: z1
      range: <ip range>
      gateway: <gateway>
      cloud_properties:
        network_name: concourse
        subnetwork_name: <subnetwork name>
        ephemeral_external_ip: true
        tags:
          - concourse-public
          - concourse-internal
    - az: z2
      range: <ip range>
      gateway: <gateway>
      cloud_properties:
        network_name: concourse
        subnetwork_name: <subnetwork name>
        ephemeral_external_ip: true
        tags:
          - concourse-public
          - concourse-internal

  - name: vip
    type: vip

disk_types:
- name: database
  disk_size: 100000 #mb

This is with BOSH Google CPI version 25.6.1. We were able to deploy the db VM as part of the Concourse deployment using this CPI version. However, during a re-deploy of the Concourse deployment, this error showed up and the DB VM did not recreate and ended up stopped. Any attempts to bosh recreate, bosh start, bosh restart the DB VM result in this error message.

We've encountered this issue again while recreating our Web VM for Concourse. The DB VM also tried to redeploy because our cloud config had been updated.

@RochesterinNYC I'm working to repro this. By any chance do you still have the task around? If so, could you please paste the output of bosh task X --debug?

@RochesterinNYC cancel that request for the debug logs. I've got this figured out and will have a release by Monday.

Awesome! Thanks. We'll be on the look out for that.

Alright, you should be all set with (25.6.2)[http://bosh.io/d/github.com/cloudfoundry-incubator/bosh-google-cpi-release?v=25.6.2). Feel free to re-open the issue if it doesn't work!


Memory Leak when instantiating Fabric multiple times

Bug description
As mentioned here I am trying to instantiate multiple Fabric instances in a loop (one per iteration). However, after every iteration, the memory consumption goes up.
Is there some fabric.teardown() like method that could help here? Could this memory increase be caused by something else?
This is the memory increase with 3 iterations:

For reference here you can see when a new iteration starts (step count resets):

What version are you seeing the problem on?
v2.0
How to reproduce the bug
I tried to make a self-contained example of my problem (derived from lit-gpt code but simplified to illustrate the problem). Parameters are just chosen to show the problem (using large enough network). devices set to 1 for debugging but also shows up for larger number.

import shutil
import warnings
from pathlib import Path
from types import SimpleNamespace

import lightning as L
import torch
import torch.nn as nn
import wandb
from lightning.fabric.accelerators.mps import MPSAccelerator
from lightning.fabric.strategies import DeepSpeedStrategy

def main():
    config = SimpleNamespace(
        input_size=1024,
        output_size=1024,
        hidden_size=8192,
        num_layers=5,
        devices=1,
        ds_config=None,
        precision="bf16-true",
        entity="x",
        wandb_project="project",
        run_name="memory_test",
        checkpoint_path=None,
        learning_rate=1e-4,
        weight_decay=1e-5,
        max_steps=1000,
        batch_size=64,
        log_interval=1,
        out_dir=Path("./out"),
    )

    batch_size_per_device = config.batch_size / config.devices
    micro_batch_size = 1
    config.gradient_accumulation_steps = int(batch_size_per_device // micro_batch_size)

    for epoch in range(3):
        config.checkpoint_path = run_epoch(config)

def run_epoch(config):
    # Load Fabric
    fabric = L.Fabric(
        devices=config.devices,
        strategy=(
            DeepSpeedStrategy(config=config.ds_config) if config.devices > 1 else "auto"
        ),
        precision=config.precision,
    )
    fabric.launch()
    fabric.seed_everything(1337 + fabric.global_rank)

    if fabric.global_rank == 0:
        wandb.init(
            entity=config.entity,
            project=config.wandb_project,
            name=config.run_name,
            config=config,
        )

    with fabric.device:
        torch.set_default_tensor_type(torch.HalfTensor)
        model = LargeMODEL(config).bfloat16()
        torch.set_default_tensor_type(torch.FloatTensor)
        # Load checkpoint if this is not the first epoch
        if config.checkpoint_path is not None:
            checkpoint_path = config.checkpoint_path
            checkpoint = torch.load(checkpoint_path)
            model.load_state_dict(checkpoint, strict=False)

    # Setup model and optimizer in fabric
    optimizer = torch.optim.AdamW(
        model.parameters(), lr=config.learning_rate, weight_decay=config.weight_decay
    )
    model, optimizer = fabric.setup(model, optimizer)

    train_data = load_datasets(config)

    # Train the model
    train(
        config,
        fabric,
        model,
        optimizer,
        train_data,
    )

    # Save the final checkpoint at the end of training
    save_path = config.out_dir / "model_trained.pth"
    fabric.print(f"Saving weights to {str(save_path)!r}")
    print(save_path)
    save_model_checkpoint(fabric, model, save_path)
    return save_path

def train(config, fabric, model, optimizer, train_data):
    step_count = 0
    max_iters = int(config.max_steps * config.gradient_accumulation_steps)
    for iter_num in range(max_iters):
        input_ids, targets = get_batch(fabric, train_data, config.batch_size)
        with fabric.no_backward_sync(
            model, enabled=((iter_num + 1) % config.gradient_accumulation_steps != 0)
        ):
            logits = model(input_ids)
            loss = loss_fn(logits, targets)
            fabric.backward(loss / config.gradient_accumulation_steps)
        if (iter_num + 1) % config.gradient_accumulation_steps == 0:
            optimizer.step()
            optimizer.zero_grad()
            step_count += 1
            fabric.call("on_train_batch_end", model=model)

        # Report performance to command line and wandb
        if step_count % config.log_interval == 0:
            if fabric.global_rank == 0:
                wandb.log(
                    {
                        "iter": iter_num,
                        "step": step_count,
                        "train/loss": loss,
                        "train/lr": optimizer.param_groups[0]["lr"],
                    }
                )

def save_model_checkpoint(fabric, model, file_path: Path):
    file_path = Path(file_path)
    # Ensure the directory exists
    file_path.parent.mkdir(parents=True, exist_ok=True)

    if isinstance(fabric.strategy, DeepSpeedStrategy):
        from deepspeed.utils.zero_to_fp32 import (
            get_fp32_state_dict_from_zero_checkpoint,
        )

        tmp_path = file_path.with_suffix(".tmp")
        fabric.save(tmp_path, {"model": model})
        fabric.barrier()
        if fabric.global_rank == 0:
            state_dict = get_fp32_state_dict_from_zero_checkpoint(tmp_path)
            torch.save(state_dict, file_path)
            shutil.rmtree(tmp_path)
    else:
        if fabric.global_rank == 0:
            state_dict = model.state_dict()
            torch.save(state_dict, file_path)
        fabric.barrier()

class LargeMODEL(nn.Module):
    def __init__(self, config):
        super(LargeMODEL, self).__init__()

        layers = []
        input_size = config.input_size
        for _ in range(config.num_layers):
            layers.append(nn.Linear(input_size, config.hidden_size))
            layers.append(nn.ReLU())
            input_size = config.hidden_size

        layers.append(nn.Linear(config.hidden_size, config.output_size))

        self.net = nn.Sequential(*layers)

    def forward(self, x):
        return self.net(x)

def load_datasets(config):
    # For the sake of this demonstration, let's return some random data
    data = torch.randn(1000, config.input_size), torch.randn(1000, config.output_size)
    return data

def get_batch(fabric, data, batch_size):
    input_ids, targets = data
    ix = torch.randint(len(data), (batch_size,))
    x, y = input_ids[ix], targets[ix]
    # Return the first batch_size samples from the dataset
    if isinstance(fabric.accelerator, MPSAccelerator):
        x, y = fabric.to_device((x, y))
    else:
        x, y = fabric.to_device((x.pin_memory(), y.pin_memory()))
    return x, y

def loss_fn(logits, targets):
    return ((logits - targets) ** 2).mean()

if __name__ == "__main__":
    # Uncomment this line if you see an error:
    # "Expected is_sm80 to be true, but got false"
    # torch.backends.cuda.enable_flash_sdp(False)
    torch.set_float32_matmul_precision("high")

    # from jsonargparse.cli import CLI
    warnings.filterwarnings(
        # false positive using deepspeed:
        # https://github.com/Lightning-AI/lightning/pull/17761#discussion_r1219705307
        "ignore",
        message="Remove `.no_backward_sync()` from your code",
    )
    main()

### Error messages and logs

No error message in the example code above. If the network size increases I get the following warning:

[WARNING] [stage3.py:1898:step] 14 pytorch allocator cache flushes since last step. this happens when there is high memory pressure and is detrimental to performance. if this is happening frequently consider adjusting settings to reduce memory consumption. If you are unable to make the cache flushes go away consider adding get_accelerator().empty_cache() calls in your training loop to ensure that all ranks flush their caches at the same time

If the size increases further or I use less GPUs I simply get an OOM error.

### Environment

<details>
  <summary>Current environment</summary>

`
#- Lightning Component (e.g. Trainer, LightningModule, LightningApp, LightningWork, LightningFlow):
#- PyTorch Lightning Version (e.g., 1.5.0): 2.0.6
#- Lightning App Version (e.g., 0.5.2): 2.1.0.dev0
#- PyTorch Version (e.g., 2.0): 2.1.0.dev20230801+cu118
#- Python version (e.g., 3.9): 3.10.10
#- OS (e.g., Linux): Linux
#- CUDA/cuDNN version: 11.8
#- GPU models and configuration: NVIDIA A100-SXM4-80GB
#- How you installed Lightning(`conda`, `pip`, source): pip
#- Running environment of LightningApp (e.g. local, cloud):

More info
No response
cc @carmocca @justusschock @awaelchli @borda

@vkakerbeck I copied your code and ran it for several minutes.
I get this for PyTorch 2.0.1

And I get this (similar as you reported but not quite the same) for PyTorch 2.1 nightly:

In absolute numbers, it seems that 2.1 nightly seems to use less memory overall, which is the good news. I'm not sure what the cause for your fluctuations and jumps are. I couldn't reproduce them despite using the same environment (A100, PyTorch 2.0.1 and 2.1 nightly, Python 3.10, Lightning 2.1dev). I'll let you know if I find anything else.

Thanks for looking into this! Did you run the code until completion? Does the spike in memory around 5 minutes on PyTorch 2.1 nightly correspond to when the next fabric instance is initialized?

Another way to reproduce the leaks. Leak-s because it looks like both VRAM and RAM leak :(
import lightning.fabric as lightning_fabric
import peft
import torch
import transformers
from lightning.fabric import strategies

DS_CONFIG = {
    "train_micro_batch_size_per_gpu": 1,
    "gradient_accumulation_steps": 16,
    "gradient_clipping": 1.0,
    "zero_allow_untested_optimizer": True,
    "bf16": {
        "enabled": True,
        "loss_scale": 0,
        "initial_scale_power": 16,
        "loss_scale_window": 1000,
        "hysteresis": 2,
        "min_loss_scale": 1
    },
    "zero_optimization": {
        "stage": 2,
        "allgather_partitions": True,
        "reduce_scatter": True,
        "reduce_bucket_size": 1e9,
        "allgather_bucket_size": 1e9,
        "overlap_comm": True,
        "contiguous_gradients": True
    }
}

def apply_lora(model: torch.nn.Module) -> torch.nn.Module:
    for _, param in model.named_parameters():
        param.requires_grad = False

    peft_config = peft.LoraConfig(
        task_type=peft.TaskType.CAUSAL_LM,
        target_modules=["q_proj", "k_proj", "v_proj", "o_proj"],
        r=8,
        lora_alpha=16,
        lora_dropout=0.0)
    return peft.get_peft_model(model, peft_config=peft_config)

for i in range(10):
    print("--" * 30 + "Attempt #{}".format(i) + "--" * 30)
    fabric = lightning_fabric.Fabric(
        precision='bf16',
        accelerator="gpu",
        strategy=strategies.DeepSpeedStrategy(config=DS_CONFIG))
    fabric.launch()
    with fabric.init_module(empty_init=True):
        model = transformers.AutoModelForCausalLM.from_pretrained(
            "meta-llama/Llama-2-7b-hf",
            quantization_config=transformers.BitsAndBytesConfig(
                load_in_4bit=True, bnb_4bit_quant_type="nf4"))
    model = apply_lora(model)
    optimizer = torch.optim.Adam(model.parameters(), lr=0.001)
    model, optimizer = fabric.setup(model, optimizer)


BitConverterNoAlloc unsafe code optimization

Currently BitConverterNoAlloc uses some union tricks to get around allocating memory.  Looking at the assembly generated this is actually not the most efficient thing in the world.  After running some tests I can get things to be much faster when using unsafe code.  Currently unity doesn't allow this naively, but it will soon!  Would be a good opportunity to do this upgrade!

Optimization merged!
https://github.com/leapmotion/UnityModules/pull/913


unable to restore rancher using backup operator with minio

Hi,
Following steps that I performed to restore my rancher local cluster to an old state.

Installed Rancher on k3s single node cluster
Installed Rancher backup operator in the local cluster with minio
Imported another k3s cluster in Rancher
Took the backup of local cluster with minio
Deleted the imported k3s cluster
Restored the backup that was taken before deleting downstream imported cluster.

Rancher Application took some time to start and after some time, the downstream imported cluster is visible but with unavailable status.

@nitin992vij , we'll need some more info to triage this.

Rancher version
OS of local and any downstream clusters

Rancher Version: V2.6.8
OS version: Red Hat Enterprise Linux 8.4

https://github.com/rancher/backup-restore-operator/issues/279#issuecomment-1496303937

Please see my comment here: https://github.com/rancher/backup-restore-operator/issues/279#issuecomment-1585072910


different languages

can you plz add different languages to the app so that people with different languages can use this app

If you need help with the translation to English or German, send me a message :)

I have added translations to Whilser's version. You can switch between english and russian.


[Question] How can I disable zoom out feature with PhotoView?

Hi:
It seems the zoom out feature on Galaxy S5 will cause exception ArrayIndexOutOfBoundsException. I can't track down where goes wrong in the code but I do hope if I could simply turn off the zoom out but only keeps the zoom in function. Could you kindly let me know how could I achieve that? Thank you!

See the README as to why you are getting this exception, whichever ViewGroup your PhotoView is in, you will need to extend it to apply the fix


Build and test with Travis CI?

Any interest in getting a build for node-segfault-handler put into Travis CI? In particular, it could be interesting for testing Node 4 as well as doing some kind of integration testing on OS X. If there is, I'll work on a pull request.

Hey @vielmetti that would be fantastic thanks

Also note it would be great to get some tests for travis to actually run
I did an initial one here https://github.com/No9/node-segfault-handler/blob/master/tests/child-test.js
But if you have something more in mind then please work away.

Noting that prebuild Prebuild https://github.com/mafintosh/prebuild would be handy in this area too.

This would be necessary (as well as with appveyor for windows) for #33, and I'd be happy to help :+1:

Hey @maxkorp I would love to get prebuilds in some shape or other into this.
I have found prebuild from @mafintosh "just works" but I haven't seen node-pre-gyp in action although I can see it is used in a lot of projects.
Sorry if I have this wrong but it seems like you want to use both prebuild and node-pre-gyp?
Can you outline the idea a little more as I don't want to waste anybodies time.
Thanks

saying we build on the CI servers normally (just like we would for testing), and then we can publish them using node-pre-gyp (and tie node-pre-gyp into the install lifecycle).


In tutorials part5, particleEmitter is not working with 3.1.1

https://phaser.io/tutorials/getting-started-phaser3/part5
ParticleEmitter is not working with 3.1.1

Another bug in section Making a Game in Phaser Tutorial in Part 6 - The Phaser Examples, the link Making a Game in Phaser 3 directs to 404.

Yes, sorry about this (see #3274) - all fixed in 3.1.2 which is now live on the site and published to the examples too, so should be good now. Also fixed that 404.


now: iOS outages, was: HACS breakage - There is no integration after installing version 7.1 with hacs

Hello, after I deleted the old version (because I couldn't upgrade to the new version in hacs), I added agittins/bermuda integration to hacs again. After the installation is complete. There is no new integration. I found that the entire b ermuda was downloaded into custom-components.
My solution is to directly download the bermuda file to custom-components. But there is no version number!

You should try to fix the initial problem with HACs, as you are making things worse by stomping around in the filesystem :-) But I understand the urge to just get things working!
The version number will probably be empty because you have installed the source files, not the packaged release that is in the zip file - only the release zip file has version numbers in it.
 When you say:

because I couldn't upgrade to the new version in hacs

what was the problem? If you couldn't see how to upgrade, the trick is to click the three-dots in the top-right corner and choose "re-download" - that then lets you choose which version you want to install, and gives you more options.
What's the full path of the custom_components folder you installed Bermuda into? As long as its the same one that HACS uses (/homeassistant/custom_components) then hopefully just re-downloading will fix it for you. If you've put the custom_components folder somewhere else you might need to clean up the changes you made before things will behave normally.
This isn't a Bermuda problem, but I'll leave the issue open for a bit in case you need some help sorting it out - let me know how you go!

Great - if you have trouble with HACS installing it there will probably be more info in the logs - it's quite possible there might be permissions issues depending on how you accessed the folder manually, but the log entries will probably help work anything out.

Okay, thank you very much. I downloaded bermuda again by adding agittins/bermuda to HACS. Then I downloaded it. Additionally. I did not delete my previous downloads. I used to download compressed files directly before. Then put the bermuda file in the custom_components path, as I mentioned before. After this operation, the integration can be added without a version number. Today, I downloaded it again from HACS without deleting the previous one. After this operation, the version number displayed 7.2. It seems to have succeeded. But could you please check if this operation is correct? Because after downloading HACS, the downloaded file bermuda-0.7.2 is in bermuda (which I added).
Also, it's the same issue as before. The phone will display 'not at home'. Actually, a phone frequently displays' away from home '. I have uploaded the log, please review it. Thanks again!
This is bermuda's file
This is a file and log showing frequent departures from home on the phone (iPhone 15 and iPhone 15 Pro)

config_entry-bermuda-01JCMWK8JXADAKZCRS7KH1MHQW-2.json

This is bermuda's file

HACS is a bit like a bloody nose - just keep your fingers out of it and it will be fine.
As long as it now shows the right version in Homeassistant, Settings, Devices and Services, Bermuda, then you should be all good.
Now, you have a separate issue, which is your iPhones going away for long periods.
Looking at your diagnostics, the intervals (how often Bermuda sees an advertisement) all look excellent - they are all around 1 to 2 seconds. This means that Bermuda, HA and your proxies all seem to be working very well.
I think the issue will be that iOS is shutting down the advertising when in certain power-saving modes. It seems there is not a good solution for this, other than to use the HA companion app "more often", and to have other things like app refresh, cloud sync, airdrop and other background services turned on, so that the bluetooth is more likely to be on all the time. I will tag the issue with the iOS dropouts so that if I do find a solution I can let you know, but for now it looks like there is nothing more that Bermuda can do, as it is your phones that are not transmitting.

Thank you very much! I checked Devices & Services > Bermuda, and the displayed version is as follows. It seems that Bermuda should be working fine.

Regarding the intermittent offline issue, let me provide some potential insights into the problem. I have two phones: an iPhone 15 and an iPhone 15 Pro, both running iOS version 18.0.1. The periods when they are intermittently marked as “not home” mostly occur between 9 PM and 1 AM. During the day, they run very well and remain stable. This timing information is provided in case it helps with the issue. Thank you!

Thanks for the extra info. I think this might be a common problem with later model iPhones, but I am not certain. So that I can gather more data from individuals, I am tracking the problem here: #375
You could try installing a COVID19 exposure tracking app, if one is available in your country, as they seem to advertise more reliably.
Another option would be to install the Room Assistant App via Testflight. I do not know if it is still current, it does not look like it has changed for 3 years. https://github.com/mKeRix/room-assistant-companion-ios
I don't have any other thoughts at this stage. Bermuda appears to be working fine, the problem appears to be the phones.


pythonPackages.sphinxcontrib-navtree: init at 0.3.0

Motivation for this change
Things done

[X] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
Built on platform(s)

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[X] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[X] Fits CONTRIBUTING.md.

@GrahamcOfBorg build python2Packages.sphinx-navtree python3Packages.sphinx-navtree

Success on x86_64-linux (full log)
Partial log (click to expand)
reading manifest template 'MANIFEST.in'
writing manifest file 'sphinx_navtree.egg-info/SOURCES.txt'
running build_ext

----------------------------------------------------------------------
Ran 0 tests in 0.000s

OK
/nix/store/fr3brkjhx8swk6g3ix32fd67jxs71jfz-python2.7-sphinx-navtree-0.3.0
/nix/store/qp3fs33g3fn2bxi6f71rbwq1gci0x50k-python3.6-sphinx-navtree-0.3.0

Success on aarch64-linux (full log)
Partial log (click to expand)
reading manifest template 'MANIFEST.in'
writing manifest file 'sphinx_navtree.egg-info/SOURCES.txt'
running build_ext

----------------------------------------------------------------------
Ran 0 tests in 0.000s

OK
/nix/store/v0cphrsdqk96bpjncca671xx5lg8h1hx-python2.7-sphinx-navtree-0.3.0
/nix/store/70474l1wypypkkn1wd83ajh602znygrf-python3.6-sphinx-navtree-0.3.0


A11y_MySQLextensionforAzureDataStudio_New deployment - Azure Database for MySQL_Functionality:"Select" button disappears when invalid filter resources value provided It does not reappear when valid value or no value is provided.

GitHub Tags:
#A11yFunctional; #A11yTCS; #DesktopApp; #GH-MySQLextensionforAzureDataStudio-Win32-Mar23; #MySQL extension for Azure Data Studio; #Win32; #Benchmark; #Functional;
Environment and OS details:
Azure Data Studio Version: 1.42.0 (user setup)
Windows 11 Enterprise Version	22H2
Installed on	28-12-2022
OS build	22621.1413
Experience	Windows Feature Experience Pack 1000.22639.1000.0
Pre-Requisite:

Install Azure data studio From here https://learn.microsoft.com/en-us/sql/azure-data-studio/download-azure-data-studio?view=sql-server-ver16&tabs=redhat-install%2Credhat-uninstall
Once installation done , Install MySQL Extension in Azure data studio
Tab Till  new connection and press enter
Enter a valid server name username and password and press connect

Repro Steps:

Launch Azure Data Studio.
Select the Connections icon (if not already selected) from left bar.
Click on the ellipses '...' and select "New Deployment"
In the Deployment options, select "Azure Database For MySQL" card.
Search for any invalid keyword, "Select" button will be disappears
6.Observe reappear when valid value or no value is provided or nor

Actual Result:
"Select" button disappears when invalid filter resources value provided It does not reappear when valid value or no value is provided.
Expected Result:
"Select" button disappears when invalid filter resources value provided It should reappear when valid value or no value is provided.
Attachment:

This issue is external to MySQL extension as it is a common UI of Azure Data Studio.


Added Romanian Language

No offense, looks like it's done with Google Translate. There are some basic errors in the translation that could've easily been solved. Also your build is failing

closing in favor of #894

No offense, looks like it's done with Google Translate. There are some basic errors in the translation that could've easily been solved

ok but!

fixed


Add ABA English to production users

Info provided by Ferran Juan from  ABA English at KubeCon

nice! :champagne:

Thank you guys!


Hint can't be ignored on the function level

$ hlint --version
HLint v2.0.9, (C) Neil Mitchell 2006-2017

fun = do
  do
    g
    h
    i
  do
    g
    h
    i
{-# ANN fun ("HLint: ignore Reduce duplication" :: String) #-}

=>
test.hs:3:5: Suggestion: Reduce duplication
Found:
  g
  h
  i

Why not:
  Combine with test.hs:7:5

1 hint

If i change the annotation to module instead of fun the warning is ignored as I expect. I also tried placing the fun annotation on top of the function without luck.
Is this a bug or am I making a mistake?

I think the duplication issues aren't wired through the normal ignore mechanisms. A bug!


fix: #2774 - moved items in EditProductPage

Impacted file:

edit_product_page.dart: moved up ingredients, categories and nutrition

What

In EditProductPage, moved up ingredients, categories and nutrition

Screenshot

Fixes bug(s)

Fixes: #2774

Codecov Report

Merging #2779 (495f42f) into develop (2ea0da3) will decrease coverage by 1.73%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           develop   #2779      +/-   ##
==========================================
- Coverage     8.86%   7.13%   -1.74%
==========================================
  Files          161     218      +57
  Lines         6623   10645    +4022
==========================================
+ Hits           587     759     +172
- Misses        6036    9886    +3850

Impacted Files
Coverage Δ

...kages/smooth_app/lib/widgets/attribute_button.dart
0.00% <0.00%> (-92.00%)
:arrow_down:

...s/smooth_app/lib/data_models/user_preferences.dart
8.73% <0.00%> (-23.57%)
:arrow_down:

packages/smooth_app/lib/themes/smooth_theme.dart
62.26% <0.00%> (-20.72%)
:arrow_down:

...p/lib/generic_lib/dialogs/smooth_alert_dialog.dart
15.11% <0.00%> (-19.10%)
:arrow_down:

...mooth_app/lib/data_models/product_preferences.dart
21.68% <0.00%> (-9.75%)
:arrow_down:

packages/smooth_app/lib/main.dart
14.65% <0.00%> (-3.24%)
:arrow_down:

.../smooth_app/lib/pages/onboarding/welcome_page.dart
0.00% <0.00%> (-3.13%)
:arrow_down:

.../smooth_app/lib/pages/onboarding/scan_example.dart
0.00% <0.00%> (-2.28%)
:arrow_down:

...ackages/smooth_app/lib/pages/scan/scan_header.dart
2.50% <0.00%> (-2.27%)
:arrow_down:

...p/lib/pages/onboarding/consent_analytics_page.dart
0.00% <0.00%> (-1.57%)
:arrow_down:

... and 237 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Add parameters to NetTCPIP for WS2022

Docs Build status updates of commit 661ee67:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/winserver2022-ps/nettcpip/Get-NetIPAddress.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/nettcpip/Get-NetIPv4Protocol.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/nettcpip/Get-NetIPv6Protocol.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/nettcpip/Get-NetRoute.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/nettcpip/Remove-NetRoute.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/nettcpip/Set-NetIPv4Protocol.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/nettcpip/Set-NetIPv6Protocol.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 4c2b313:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/winserver2022-ps/nettcpip/Get-NetIPAddress.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/nettcpip/Get-NetIPv4Protocol.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/nettcpip/Get-NetIPv6Protocol.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/nettcpip/Get-NetRoute.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/nettcpip/Remove-NetRoute.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/nettcpip/Set-NetIPv4Protocol.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/nettcpip/Set-NetIPv6Protocol.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

#sign-off

Docs Build status updates of commit 6303e67:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/winserver2022-ps/nettcpip/Get-NetIPAddress.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/nettcpip/Get-NetIPv4Protocol.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/nettcpip/Get-NetIPv6Protocol.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/nettcpip/Get-NetRoute.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/nettcpip/Remove-NetRoute.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/nettcpip/Set-NetIPv4Protocol.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

docset/winserver2022-ps/nettcpip/Set-NetIPv6Protocol.md
:white_check_mark:Succeeded
View (WindowsServer2022-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Companion APP with URL and hash

Hello, I'm trying to migrate things to have just one 'view' in the homepage lovelace.
I attempted to use the 'hash' directly in the URL of my camera notifications, but unfortunately, it doesn't work; it ignores the 'hash.'
Is there another way to achieve this?
service: notify.mobile_app_phone
data:
  title: "Motion Detected"
  message: "Someone."
  data:
    clickAction: '/lovelace/homepage#cameras'

I tested it with version v1.6.0-beta.4, and changed yaml to "bubble-pop-up.js?v1.6.0-beta.4" but doesn’t work.

Cant you just make a new view page 'mobileappdoorcam' and hide the view ?? Then you will still only have one view page and hidden pages. anyways that the way i did it..

mobileappdoorcam

I didn't quite understand what you did to make it work.

Cant you just make a new view page 'mobileappdoorcam' and hide the view ?? Then you will still only have one view page and hidden pages. anyways that the way i did it..

Yes

Hi! I've tried again, and it's working but only on a pop-up that don't have any trigger entity.
Edit: But I've just fixed this issue, just wait for the v2.2.2, and sorry for the very late answer 😅
Edit 2: The v2.2.2 is here!
https://github.com/Clooos/Bubble-Card/releases/tag/v2.2.2

it works, thanks man!


Update Request.php

Notice:  Undefined variable: request ...
Gets a variable from the $_REQUEST superglobal applying filters if needed. If no parameters are given the $_REQUEST superglobal is returned.

The pull request is merged. Thank you!


tests: boards: intel_s1000_crb: Fix build error.

A HID application can no longer write to the default
interrupt IN endpoint because the addresses are assigned
dynamically. Add hid_int_ep_write() function  and leave
it to the hid-core to call the usb_write() with the correct
endpoint address.
Signed-off-by: Savinay Dharmappa<EMAIL_ADDRESS>

Codecov Report

Merging #8718 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #8718   +/-   ##
=======================================
  Coverage   52.36%   52.36%
=======================================
  Files         195      195
  Lines       24696    24696
  Branches     5128     5128
=======================================
  Hits        12931    12931
  Misses       9695     9695
  Partials     2070     2070

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5aa09c6...c49d927. Read the comment docs.

@rgundi please review


Surfacetool generated mesh has lighting problem in final triangle

Godot version
3.4-stable
System information
Windows10/Quest2(Android) and GLES2/GLES3
Issue description
This problem shows up in my App where I have a sequence of points between which I draw thin rectangles so it looks like a series of line segments.
For some reason the lighting is calculated from the other side of the surface in a way that is not consistent with the triangles.
The triangles are complete diagonals from one corner to the opposite corner of the rectangle.
The lighting goes wrong in half of one of the triangles.

In fact the problem always occurs in part of the final triangle that is added to the SurfaceTool.

Steps to reproduce
see below.
When you run the minimal project it prints out the value of SurfaceTool.commit_to_arrays() to show that the normals are all correctly oriented:

ARRAY_FORMAT_VERTEX: [(0, -0.2, 0), (2, -0.2, 0), (0, 0.2, 0), (0, 0.2, 0), (2, -0.2, 0), (2, 0.2, 0)]
ARRAY_FORMAT_NORMAL: [(-0, -0, -1), (-0, -0, -1), (-0, -0, -1), (0, 0, -1), (0, 0, -1), (0, 0, -1)]

Minimal reproduction project
surfacetoolproblem.zip

Posting this issue just in case related, as that was to do with final triangles also: #52399

Yes, looks like a duplicate of https://github.com/godotengine/godot/issues/52399 which was fixed by https://github.com/godotengine/godot/pull/54768 which will be in the upcoming 3.4.1 release.
@goatchurchprime Can you please try RC3 and let us know if the issue is fixed for you. You can download RC3 here: https://downloads.tuxfamily.org/godotengine/3.4.1/rc3/

Yep, it's not there in 3.4.1/rc3

Duplicate of #52399


Excel sheet to json date issue: dd/mm/yyyy changed to mm/dd/yyyy

Hi,
In my excel file date format is dd/mm/yyyy but FileReader object is returning mm/dd/yyyy. I tried all fixes provided by you in Issue ID: #703 but did not work. I feel there is an issue with File reader. Here is my code snippet:
var cfb = XLSX.read(binary, {
type: 'binary',
cellDates: true,
dateNF: 'dd/mm/yyyy'
});
var sCSV = '';
var sCSVData = '';
if (cfb.SheetNames.length > 1) {
$scope.sheetExcess = true;
}
cfb.SheetNames.forEach(function (sheetName) {
sCSV = XLSX.utils.sheet_to_row_object_array(cfb.Sheets[sheetName], {raw: false});
sCSVData = XLSX.utils.sheet_to_json(cfb.Sheets[sheetName], {
header: 1
});
var xlData = sCSV;
Let me know if you see anything missing in my code.

XLSX.utils.json_to_sheet(output, { dateNF: "YYYY-MM-DD HH:mm:ss" });
you can change it to dateNf: "DD-MM-YYYY";

This seems to be same issue as #1005


[FLINK-9942][rest] Guard handlers against null fields

What is the purpose of the change
This PR fixes prevents some NPEs that could arise if fields in the request are set to null or are omitted.

merging.


[Question] Is it possible to declare Protocol with actor inheritance and @MainActor

Description

a protocol with actor inheritance can be annotated by @MainActor but it is not possible in my understanding.

example code

// this protocol can pass compilation though I can't declare actor which conform to `B`.
@MainActor
protocol B: Actor {}

Steps to reproduce

running above example code and check xcode can compile this code.

Expected behavior

I hope swift will say error against above code.

Environment

Swift compiler version info: swift 5.7.2
Xcode version info: Xcode 14.2
Deployment target: iOS 13

@ktoso Is this protocol indeed useless?

It's pretty useless yeah.
Only an actor can implement Actor, and @MainActor would mean conflicting isolation. Classes are not and should not be allowed to be : Actor (see also https://github.com/apple/swift/issues/62632 ).
So yeah pending some discussion it might be nice to ban such thing