Error in Contact Manager tutorial

I've tried the Contact Manager tutorial twice today: ES Next and TypeScript. Both are giving the same error in the Building Out the Contact List section

SCRIPT438: Object doesn't support property or method 'load'
vendor-bundle.js (3674,341)

contact-manager.zip

I have errors on "Building Out the Default Route" section, instead of get an error 'cause no-selection is missing, I'm getting :
INFO [aurelia] Aurelia Started
vendor-bundle.js:12708 DEBUG [templating] importing resources for app.html ["bootstrap/css/bootstrap.css", "style.css"]
2 vendor-bundle.js:3675 Uncaught TypeError: h.load is not a function(anonymous function) @ vendor-bundle.js:3675(anonymous function) @ vendor-bundle.js:3661w @ vendor-bundle.js:3665callPlugin @ vendor-bundle.js:3673fetch @ vendor-bundle.js:3671check @ vendor-bundle.js:3671enable @ vendor-bundle.js:3677enable @ vendor-bundle.js:3681(anonymous function) @ vendor-bundle.js:3676(anonymous function) @ vendor-bundle.js:3661y @ vendor-bundle.js:3660enable @ vendor-bundle.js:3675init @ vendor-bundle.js:3670(anonymous function) @ vendor-bundle.js:3680
responsivevoice.js:50 RV: Voice support ready
vendor-bundle.js:1335 Unhandled rejection Error: Failed loading required CSS file: bootstrap/css/bootstrap.css
    at fixupCSSUrls (http://localhost:9000/scripts/vendor-bundle.js:22581:13)
    at http://localhost:9000/scripts/vendor-bundle.js:22620:16

Description
Similar error as chespinoza. Following contact manager tutorial. All works, but breaks when I add <require from="../node_modules/bootstrap/dist/css/bootstrap.css"></require> to app.html. See Fix below.
Console output
...
INFO [aurelia] Aurelia Started
DEBUG [templating] importing resources for app.html ["../node_modules/bootstrap/dist/css/bootstrap.css"]
Uncaught TypeError: h.load is not a function                         vendor-bundle.js:3675
Environment
Mac OS X 10.11.5
Vagrant 1.8.4
CentOS 7 Linux 3.10.0-327.4.5.el7.x86_64 (Running/hosting code here)
Node v4.4.7
Fix
Adding the snippet from tutorial to project/aurelia_project/aurelia.json to add in Jquery and Bootstrap to vendor bundle dependency means I only needed to:
<require from="bootstrap/css/bootstrap.css"></require>
And I could copy/paste dropdown menu from Bootstrap website and it worked!
My problem was that I didn't carefully look at the snippet that the tutorial adds, which creates a "name" for bootstrap, points to the node_modules directory, and also adds in bootstrap.min.js, so Aurelia is now wired up and the simple "require" makes Aurelia aware of bootstrap.css/js and JQuery.

You typed "style.css" vs "styles.css"
Apologies qujck, not sure what your specific issue is, but I'm posting this here because searching for "Aurelia Uncaught TypeError: h.load" lead me here.
Hope this helps someone! I'm just really excited about being able to use Bootstrap in Aurelia finally!

A little mistake, there is a section for the "contact-list.html" code named "no-selection.html".

...and also for the contact-detail.html that is named app.html

I fixed this by adding a the following import to main.ts.
import 'bootstrap';

I'm having a similar issue but its with this bit below in app.html
<require from="./styles.css"></require>
I get these console errors and am not sure what's happening.. Halp.
vendor-bundle.js:3740 Uncaught TypeError: h.load is not a function(anonymous function) @ vendor-bundle.js:3740(anonymous function) @ vendor-bundle.js:3726w @ vendor-bundle.js:3730callPlugin @ vendor-bundle.js:3738fetch @ vendor-bundle.js:3736check @ vendor-bundle.js:3736enable @ vendor-bundle.js:3742enable @ vendor-bundle.js:3746(anonymous function) @ vendor-bundle.js:3741(anonymous function) @ vendor-bundle.js:3726y @ vendor-bundle.js:3725enable @ vendor-bundle.js:3740init @ vendor-bundle.js:3735(anonymous function) @ vendor-bundle.js:3745 vendor-bundle.js:1384 Unhandled rejection Error: Failed loading required CSS file: styles.css     at fixupCSSUrls (http://localhost:9000/scripts/vendor-bundle.js:22646:13)     at http://localhost:9000/scripts/vendor-bundle.js:22685:16 From previous event:     at CSSResource.load (http://localhost:9000/scripts/vendor-bundle.js:22684:10)     at ResourceDescription.load (http://localhost:9000/scripts/vendor-bundle.js:18971:28)     at ResourceModule.load (http://localhost:9000/scripts/vendor-bundle.js:18920:37)     at http://localhost:9000/scripts/vendor-bundle.js:19281:43 From previous event:     at ViewEngine.importViewResources (http://localhost:9000/scripts/vendor-bundle.js:19250:52)     at ViewEngine.loadTemplateResources (http://localhost:9000/scripts/vendor-bundle.js:19220:19)     at http://localhost:9000/scripts/vendor-bundle.js:19168:41 From previous event:     at ViewEngine.loadViewFactory (http://localhost:9000/scripts/vendor-bundle.js:19152:67)     at ConventionalViewStrategy.loadViewFactory (http://localhost:9000/scripts/vendor-bundle.js:16572:25)     at HtmlBehaviorResource.load (http://localhost:9000/scripts/vendor-bundle.js:19905:29)     at http://localhost:9000/scripts/vendor-bundle.js:20438:18 From previous event:     at CompositionEngine.createController (http://localhost:9000/scripts/vendor-bundle.js:20426:71)     at CompositionEngine._createControllerAndSwap (http://localhost:9000/scripts/vendor-bundle.js:20405:19)     at CompositionEngine.compose (http://localhost:9000/scripts/vendor-bundle.js:20485:21)     at TemplatingEngine.compose (http://localhost:9000/scripts/vendor-bundle.js:20749:38)     at Aurelia.setRoot (http://localhost:9000/scripts/vendor-bundle.js:10340:21)     at http://localhost:9000/scripts/app-bundle.js:83:28 From previous event:     at Object.configure (http://localhost:9000/scripts/app-bundle.js:82:25)     at http://localhost:9000/scripts/vendor-bundle.js:9213:29 From previous event:     at config (http://localhost:9000/scripts/vendor-bundle.js:9212:48)     at handleApp (http://localhost:9000/scripts/vendor-bundle.js:9203:12)     at http://localhost:9000/scripts/vendor-bundle.js:9232:13 From previous event:     at http://localhost:9000/scripts/vendor-bundle.js:9230:40 From previous event:     at http://localhost:9000/scripts/vendor-bundle.js:9229:29 From previous event:     at run (http://localhost:9000/scripts/vendor-bundle.js:9225:26)     at Object.<anonymous> (http://localhost:9000/scripts/vendor-bundle.js:9252:3)     at Object.execCb (http://localhost:9000/scripts/vendor-bundle.js:3748:299)     at Object.check (http://localhost:9000/scripts/vendor-bundle.js:3737:50)     at Object.enable (http://localhost:9000/scripts/vendor-bundle.js:3742:58)     at Object.enable (http://localhost:9000/scripts/vendor-bundle.js:3746:433)     at Object.<anonymous> (http://localhost:9000/scripts/vendor-bundle.js:3741:436)     at http://localhost:9000/scripts/vendor-bundle.js:3726:140     at y (http://localhost:9000/scripts/vendor-bundle.js:3725:207)     at Object.enable (http://localhost:9000/scripts/vendor-bundle.js:3740:469)     at Object.init (http://localhost:9000/scripts/vendor-bundle.js:3735:154)     at http://localhost:9000/scripts/vendor-bundle.js:3745:308

I've had a same error. I fixed it by disabling sass in aurelia.json. Replace this section

"cssProcessor": {
    "id": "sass",
    "displayName": "Sass",
    "fileExtension": ".scss",
    "source": "src/**/*.scss"
}

to this

"cssProcessor": {
    "id": "none",
    "displayName": "None",
    "fileExtension": ".css",
    "source": "src/**/*.css"
}

@zfrankdesign I get the same errors and I have no idea whats wrong. One thing I've noticed is that
bootstrap.css is actually located at dist/css not just css as stated in this piece of code <require from="bootstrap/css/bootstrap.css"></require>
I really would like to complete this tutorial..

I was stuck at this part of the tutorial until I stopped the watch and run "au run --watch" again.

@matt-ankerson thanks a lot Matt, this actually works. Should have figured that out myself

I reworked this example because I thought putting the contacts directly in the code was a little unrealistic, for example:
let contacts = [    {      id:getId(),      firstName:'John',      lastName:'Tolkien'<EMAIL_ADDRESS>     phoneNumber:'867-5309'    },...
Instead, I wanted to simulate a json service so it looks like this instead:  let contacts = "./src/apiData.json"; json
This involves adding http-fetch-client and some other changes.  The entire project is here:
https://github.com/smoore4moma/contact-manager-http
BTW, I pretty much ran into all the same issues mentioned in this thread along the way.

None of the fixes in this thread are working for me. I'm also trying to use the Bootstrap CDN link directly and getting the same error.

@EisenbergEffect any feedback on this?  I too am stuck on this point in the tutorial.  What can we do to make the on-boarding experience better?

@stavarotti I can't say since I don't think anyone on our team has been able to reproduce this. It may be from not having installed bootstrap, needing to restart the watch task, having an incompatible version of npm or node, etc. I'm just guessing. As I said, we haven't been able to reproduce the problem.

aka "it works on my machine". I was really excited after getting caught up in all the hype around Aurelia. What a disappointment it has been. Couldn't get the demo to work and zero feedback from the team around this issue.

It works on thousands of people's machines. We're going to need more info if you want us to track down the problem because we cannot reproduce it. It could be your node version, your npm version. You could have missed an install step. It could be an environment problem on your machine, etc.

@EisenbergEffect, I've finally figured out the issue.
Problem
During project setup and when presented with the choice below:
What css processor would you like to use?

1. None (Default)
   Use standard CSS with no pre-processor.
2. Less
   Extends the CSS language, adding features that allow variables, mixins,
   functions and many other techniques.
3. Sass
   A mature, stable, and powerful professional grade CSS extension.
4. Stylus
   Expressive, dynamic and robust CSS.
5. Post CSS
   A tool for transforming CSS with JavaScript.

most, like I did, will gravitate towards a familiar choice.  Since the tutorial did not explicitly mention choosing option 1, I went with option 3 instead, which is the root cause of this issue.   This is because the preprocessor expects at least one Sass file to be passed to its render method and fails when nothing is passed.
Solution

Restart the CLI (may not be necessary) after installing bootstrap and jquery.  This is possibly a Heisenbug.
When choosing Sass, the file src/styles.css file must be changed to src/styles.scss.  The <require> statement in the template should remain unchanged.

Going forward
Should we update the tutorial to:

Explicitly state that the user should choose the default option for CSS?
Restart the CLI after installing dependencies?

@stavarotti Thank you! We will investigate the docs and make some improvements.

I had this problem then installed latest node and npm, and then from the tutorial page on the aurelia site:-
To get Bootstrap setup, we begin by installing the library itself with NPM. Execute the following on the command line to do this:
npm install bootstrap --save
Next, because Bootstrap uses jQuery, we want to install jQuery as well, like this:
npm install<EMAIL_ADDRESS>--save
then restarted the app as packages were updated and ran it again ... FIXED!

I believe we have addressed the issue in the tutorial now.


[FEATURE]: Show Result for anonymous users

Feature Summary
Make sure we show race results for a user who has not logged in to the website.
*we could try storing the result in local storage or passing it by query params.
Code of Conduct

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

Working on it.

@mauryapari i would love to work on this with you, if you can

hi @plbstl . you can take it up. I have created a PR for showing real data on the result page.
https://github.com/webdevcody/code-racer/pull/307
let me know if you have any questions.

Hi @plbstl. let me know if you have started something. we can connect. For now, I am also working on it.

okay. i just sent you a request on discord

hey @webdevcody. sorry, I am a bit busy this week. Please assign this to someone else. Thanks


Made scripts Windows compliant

Moved build.sh to package.json scripts.build
postinstall invokes 'npm install' on build-post-css
build invokes 'npm run build' on build-post-css
Included jspm dependency in build-post-css
Note: a postcss-bundle.js generated by build breaks the unit tests!!

Thanks for working on this. It's difficult for me to allocate a lot of time to this project but will look into it when I can.
Do you have any idea why the new build is breaking the unit tests?

It has to do with a file called svgo.yml that is looked up in the wrong location.
That particular code is commented out in the currently checked in postcss-bundle.js

Ah, that might have been something that was fixed manually. Thanks for clarifying.


Review support for types from sway-lib-std

We need to consider supporting types from the sway stdlib.
A good start would be to make a list of all types to be implemented.
Then understand if it's a matter of abi-typegen only or if something else (abi-coder?) is needed.
Please, refer to these requests made on the rust SDK:

https://github.com/FuelLabs/fuels-rs/issues/661
https://github.com/FuelLabs/fuels-rs/issues/688

Sway STD Lib:

https://github.com/FuelLabs/sway/tree/master/sway-lib-std/src

This issue might be split into smaller ones if needed.

Note — The code for type b512 is being implemented on #612 and should be mirrored on #570 (more).

When I did the initial work in #995, as it is a b256 wrapped in a struct and thus supported by the B256Coder/StructCoder, adding an Abi Coder type seemed unnecessary.

@camsjams Yes, I opened this issue long ago during the Typegen implementation when I was poorly familiarized with everything and all these types. I was unsure of what to implement or not.
@FuelLabs/sdk-ts Feel free to reopen if you notice something went unchecked.


Add TypeScript Bindings and Improve Documentation for OAuth Plugin

Changes in this PR
This pull request introduces several significant improvements to the OAuth plugin:

TypeScript Bindings:

Created TypeScript bindings for the OAuth plugin, enabling easier integration in TypeScript-based Tauri applications.
Implemented functions like start(), cancel(), onUrl(), and onInvalidUrl() for TypeScript users.

Updated Vanilla Example:

Added a new example using the Tauri V2 vanilla template.
Demonstrates usage of the OAuth plugin in both Rust and TypeScript contexts.
Includes UI elements to start OAuth servers and display results.

Improved README:

Enhanced project description and rationale.
Added clear installation instructions for both Rust and npm/yarn.
Provided usage examples in Rust and TypeScript.
Included a configuration section with code samples.
Added important security considerations.

Notes for Reviewers

Please pay special attention to the TypeScript bindings to ensure they correctly mirror the Rust functionality.
The vanilla example might benefit from additional error handling or edge case considerations.
We need to verify that all code examples in the README work as expected. Please test these examples to ensure they are accurate and functional.
An important next step is to publish the npm package for the TypeScript bindings. As i'm not familiar with this process, guidance or assistance with publishing to npm would be greatly appreciated.
Any suggestions for further improving the documentation or examples are welcome!

sorry for the delay here, i'll try to get back to you as soon as i can

Thank you for the suggestion. I've updated the code to export the methods directly.
I've also updated the README and usage examples to reflect this change. Please let me know if you'd like to see any further modifications.

Only the example needs to be updated for the new exports, then i think it's good to go. Thanks again :)

Oh, I forgot! But I’ve already fixed it, and at least on my PC everything works fine. Thanks for the reminder!


Questions relates to VueStorefront/Shopify

Hey there,
Sorry if this is the wrong place to ask questions. I'm impressed by the work you did so far. May I ask if I'm looking to use the Api client and composables packages for my customised UI theme, how do I process to embed them into my codebase? I understand it's a WIP project, just trying to play around with it, and see is there anything I can help to build.
Thanks

and may I ask is this project protected by any license?

Thanks for reaching out to us. If I'm not getting wrong, by customized UI theme, means a NUXT theme? If so, you can simply start from theme/nuxt.config.js. Please refer to "_https://github.com/vuestorefront/shopify/blob/master/packages/theme/nuxt.config.js_"
for more details, you can ping us on slack (#help) Thanks


Docs: Fix examples in Readme and API docs

I must be doing something really silly.
Given this Cargo.toml
[package]
name = "arrow_test"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
arrow = "51.0.0"
serde = "1.0.200"
serde_arrow = "0.11.2"

and this src\mail.rs
use arrow::datatypes::FieldRef;
use serde_arrow::schema::{SerdeArrowSchema, TracingOptions};

use serde::{Deserialize, Serialize};
fn main() {
    #[derive(Serialize, Deserialize)]
    struct Record {
        a: f32,
        b: i32,
    }

    let records = vec![
        Record { a: 1.0, b: 1 },
        Record { a: 2.0, b: 2 },
        Record { a: 3.0, b: 3 },
    ];

    // Determine Arrow schema
    let fields = Vec::<FieldRef>::from_type::<Record>(TracingOptions::default())?;

    // Build a record batch
    let batch = serde_arrow::to_record_batch(&fields, &records)?;
}

I get this output
   Compiling arrow_test v0.1.0 (C:\Users\jackc\AppData\Local\Temp\arrow_test)
error[E0425]: cannot find function `to_record_batch` in crate `serde_arrow`
   --> src\main.rs:22:30
    |
22  |     let batch = serde_arrow::to_record_batch(&fields, &records)?;
    |                              ^^^^^^^^^^^^^^^ not found in `serde_arrow`
    |
note: found an item that was configured out
   --> C:\Users\jackc\.cargo\registry\src\index.crates.io-6f17d22bba15001f\serde_arrow-0.11.2\src\lib.rs:316:68
    |
316 | ...om_record_batch, to_arrow, to_record_batch, ArrowBuilder};
    |                               ^^^^^^^^^^^^^^^

warning: unused import: `SerdeArrowSchema`
 --> src\main.rs:2:27
  |
2 | use serde_arrow::schema::{SerdeArrowSchema, TracingOptions};
  |                           ^^^^^^^^^^^^^^^^
  |
  = note: `#[warn(unused_imports)]` on by default

error[E0599]: no function or associated item named `from_type` found for struct `Vec<Arc<arrow::datatypes::Field>>` in the current scope
  --> src\main.rs:19:35
   |
19 | ...ields = Vec::<FieldRef>::from_type::<Record>(TracingOptions::default())?;
   |                             ^^^^^^^^^ function or associated item not found in `Vec<Arc<Field>>`

Some errors have detailed explanations: E0425, E0599.
For more information about an error, try `rustc --explain E0425`.
warning: `arrow_test` (bin "arrow_test") generated 1 warning
error: could not compile `arrow_test` (bin "arrow_test") due to 2 previous errors; 1 warning emitted

@jchidley I would say the docs are suboptimal. serde_arrow supports arrow only once you add the relevant featues. In your case arrow-51. It should work, if you modify your Cargo.toml to read
[package]
name = "arrow_test"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
arrow = "51.0.0"
serde = "1.0.200"

# !!! modified line:
serde_arrow = { version = "0.11.2", features = ["arrow-51"] }

I have a slightly different output now
warning: unused import: `SerdeArrowSchema`
 --> src\main.rs:2:27
  |
2 | use serde_arrow::schema::{SerdeArrowSchema, TracingOptions};
  |                           ^^^^^^^^^^^^^^^^
  |
  = note: `#[warn(unused_imports)]` on by default

error[E0599]: no function or associated item named `from_type` found for struct `Vec<Arc<arrow::datatypes::Field>>` in the current scope
  --> src\main.rs:19:35
   |
19 | ...ields = Vec::<FieldRef>::from_type::<Record>(TracingOptions::default())?;
   |                             ^^^^^^^^^ function or associated item not found in `Vec<Arc<Field>>`
   |
   = help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
   |
1  + use serde_arrow::schema::SchemaLike;
   |

error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
  --> src\main.rs:22:64
   |
5  | fn main() {
   | --------- this function should return `Result` or `Option` to accept `?`
...
22 |     let batch = serde_arrow::to_record_batch(&fields, &records)?;
   |                                                                ^ cannot use the `?` operator in a function that returns `()`
   |
   = help: the trait `FromResidual<Result<Infallible, serde_arrow::Error>>` is not implemented for `()`

Some errors have detailed explanations: E0277, E0599.
For more information about an error, try `rustc --explain E0277`.
warning: `serde_arrow_test` (bin "serde_arrow_test") generated 1 warning
error: could not compile `serde_arrow_test` (bin "serde_arrow_test") due to 2 previous errors; 1 warning emitted

can I get rid of the unused SerdeArrowSchema too?

Damn. The API changed, but the docs did not: you need to include SchemaLike, not SerdeArrowSchema. SchemaLike is a trait that adds the from_type helper function.

Also, I need the main function to return some kind of result (possibly with and error)? which I can't figure out.

Oh. That's independent from serde_arrow and general Rust issue. If you want to get started quickly, anyhow offers an easy to use error / result type that handles most cases (if you are building a library it's recommended to roll your own error type, e.g., via thiserror).

I now have this minimal working example:
use arrow::datatypes::FieldRef;
use serde_arrow::schema::{SchemaLike, TracingOptions};
use serde_arrow::Result;

use serde::{Deserialize, Serialize};
fn main() -> Result<()> {
    #[derive(Serialize, Deserialize)]
    struct Record {
        a: f32,
        b: i32,
    }

    let records = vec![
        Record { a: 1.0, b: 1 },
        Record { a: 2.0, b: 2 },
        Record { a: 3.0, b: 3 },
    ];

    // Determine Arrow schema
    let fields = Vec::<FieldRef>::from_type::<Record>(TracingOptions::default())?;

    // Build a record batch
    let batch = serde_arrow::to_record_batch(&fields, &records)?;

    println!("{:?}", batch);

    Ok(())
}

output:
RecordBatch { schema: Schema { fields: [Field { name: "a", data_type: Float32, nullable: false, dict_id: 0, dict_is_ordered: false, metadata: {} }, Field { name: "b", data_type: Int32, nullable: false, dict_id: 0, dict_is_ordered: false, metadata: {} }], metadata: {} }, columns: [PrimitiveArray<Float32>
[
  1.0,
  2.0,
  3.0,
], PrimitiveArray<Int32>
[
  1,
  2,
  3,
]], row_count: 3 }

Slightly cleaner and shorter example
use arrow::datatypes::FieldRef;
use serde::{Deserialize, Serialize};
use serde_arrow::schema::{SchemaLike, TracingOptions};

fn main() {
    #[derive(Serialize, Deserialize)]
    struct Record {
        a: f32,
        b: i32,
    }

    let records = vec![
        Record { a: 1.0, b: 1 },
        Record { a: 2.0, b: 2 },
        Record { a: 3.0, b: 3 },
    ];

    // Determine Arrow schema
    let fields = Vec::<FieldRef>::from_type::<Record>(TracingOptions::default()).unwrap();

    // Build a record batch
    let batch = serde_arrow::to_record_batch(&fields, &records).unwrap();

    println!("{:?}", batch);
}

Nice. Thanks for the update. I hope everythings works for you. If you run into any other issues (or the docs are unclear), feel free to leave a note :)

Updated the docs on main


Feature / Hud Command

Add the hud command:
https://learn.microsoft.com/en-us/minecraft/creator/commands/commands/hud?view=minecraft-bedrock-stable

Duplicate btw #97

Aah right, missed it


perf: convert to one RawSource in devtool to reduce JsCompatSource overhead

Summary
perf: convert to one RawSource in devtool to reduce JsCompatSource overhead
since we use ReplaceSource in code generation, there will store lots of Source, and transfer all these Source to js side when compilation.getAsset(), so we can consume all these Source in processAssets devtool stage and create one RawSource, only transfer this one RawSource to js side
webpack does the same

Test Plan

manually test on on-call project
(we need hmr benchmark and performance monitor 😭)

!bench

Can you describe on how did you test the perf change in your test plan?

updated

since we use ReplaceSource in code generation, there will store lots of Source, and transfer all these Source to js side when compilation.getAsset()...

What I do understand is that we converts the source to JsCompatSource on the Rust side. However, we only send the final result of source and map calculated on the Rust side to JS as follows: https://github.com/web-infra-dev/rspack/blob/1a3784073aa44045a73e14db4071237562fc9d9c/crates/node_binding/src/js_values/source.rs#L169.
Would you elaborate more on the performance gain?

I described wrong, this only avoid one time source map calculation when convert to JsCompatSource, will also update it in description


I can zap my own posts (multiple times)

Describe the bug
I can zap my own posts as many times as I like giving a false impression of a highly zapped post.
eg: https://primal.net/e/note1u9kan750cuz9w68gpyhzduu4kh82c8wmwqmdpy4kmt9650962h7s4303ek
Steps to reproduce
On the iOS app, Click the zap button on your own post.
 It works well on the web version, preventing the self-zap elegantly.

This is expected behaviour


problem with compute-wer.py

I'm running a speech recognition experiment where text is in UTF-8 format, containing also non-Latin characters. When I run the compute-wer.py to calculate the WER, there are problems with the alignment between reference text and recognized text. In each word which contains a non-Latin character, script inserts a space before the non-Latin character, which results in two words instead of one.
To reproduce the problem:
1.) Reference text file:
A_0001 ABCČDÖF
2.) Recognized text file:
A_0001 ABCČDÖX
3.) compute-wer.py command:
python3 tools/compute-wer.py --char=1 --v=1 --cs=0 reference-text recognized-text
4.) Output from compute-wer.py:
utt: A_0001
WER: 33.33 % N=3 C=2 S=1 D=0 I=0
lab: ABC ČD ÖF
rec: ABC ČD ÖX
5.) Correct result:
The recording A_0001 contains only one word, where the recognition error is in the last character (X recognized instead of F in reference). Thus, the correct WER should be 100%.
As it can be seen instead of only one word, compute-wer.py inserts space before each non-Latin character, producing three words, and then calculates the wrong WER of 33%.
This is just a small artificial example of my problem, generated for debugging. I can always reproduce it on a 1000 hours real dataset. I'm running Wenet on a Linux Ubuntu system using basically the Librispeech recipe from examples.
Please help me to find out, if I'm doing anything wrong or this presents a bug.

Your text contains chars like "Č" and "Ö". In this case, you can set "--char=0" in command "python3 tools/compute-wer.py --char=1 --v=1 --cs=0 reference-text recognized-text".
For details,  check the "characterize()" function in computer-wer.py.


[FEATURE] cli-java is creatable

Tomorrow:

fix all COOKIETEMPLE references
fix linting & adapt to cli-java
clean up the .cookiecutter.json files & harmonize the content to have all commons & specific ones in the respective files


Resolves #39 Improving Website UI

Change Log

Added a new stylesheet named introSection.css.
Revamped the whole website color scheme and made it more adoption friendly.
Added an intro section with an image ./Assets/Images/main-heading-body-bg.jpg and a heading.
Revamped the Pet Cards in the main body.

Didn't Resolve

Contact Form
Logo

Request to Maintainer

Please accept it for Hacktoberfest2022.
Thanks for letting me work on your repo.

can u add screenshots of changes u made

Of course ma'am. Pardon me for not providing those in the first place.
Here are the screenshots of the new UI ->


feat: add L1 execution tracking

Summary
Closes: https://github.com/snapshot-labs/sx-monorepo/issues/169
This PR adds full tracking for L1 execution from Starknet spaces, leveraging latest contracts.
L1 execution is tracked by checking status of L2 transaction (if it has status of ACCEPTED_ON_L1) and by using subgraph-api to also track actual execution on L1.
Entire execution is handled by Mana.
How to test

Run VITE_ENABLED_NETWORKS=s,sep,sn-sep yarn dev:full.
Have Safe on Ethereum Sepolia ready.
Deploy new space with your safe added as treasury and EthRelayer strategy (make sure you enter /#/create page with Starknet logged in, otherwise there might be some issues with enabling your space automatically), set it up with shorter voting time.
Write down address of your L1AvatarExecutionStrategy contract on L1 from transaction that was deployed.
Go to Safe app and using Zodiac module enable that contract from step 4 as custom module.
Create new proposal, vote on it, wait (might need extra time to wait as blocks need to be updated on Starknet).
Click Execute transactions.
Refresh, you will see info about that L1 transaction needs to be received, it will take long time (10-12 hours).
Later on, come back, it should see that it was received and give you option to execute queued transactions.
Click that button.
Refresh, it will give you link to L1 transaction where it was executed.

I will deploy all subgraphs before merging this PR so master will work once merged.


Leftover project name after project deletion

Describe the bug
After removing a project completely from PyPI ("pycrossword"), the deleted project's name is still found by the search engine as existing (most probably because the internal database doesn't reindex immediately on project removal). Such behavior doesn't allow me to re-upload the updated package with that project name, for PyPI 'sees' the project as still in existence.
Searching for 'pycrossword' reveals 1 active project...

...which when clicked produces Error 404

Expected behavior
I expected PyPI to free the project name automatically immediately on deleting the project from my projects, since no other project with that name exists.
To Reproduce

Deleted the "pycrossword" project from My Projects.
Currently, I've got no projects:

Try to upload the "pycrossword" package:

python -m twine upload --verbose -u __token__ -p <MYAPITOKEN> <DIST>

twine aborts saying:

400 This filename has already been used, use a different version.
See https://pypi.org/help/#file-name-reuse

PyPI has deleted the project, and the search cache had a bit of delay.
If you'd like to publish a new version of the package, you'll need to increment the version number. Even if you've deleted the project, you can't reuse previously used versions for a given distribution type.


Deprecate the /Resource and /DomainResource endpoints

In our DSTU2 implementation, we allowed a user to search on [base]/Resource to invoke whole-system search.
In #261 we made it possible to search via GET on [base]/ or by POST on [base]/_search.
However, we never actually removed the ability to interact with the /Resource and /DomainResource endpoints.
We should remove the /DomainResource and document the /Resource endpoint as deprecated.  Once complete, we should open a separate task for removing the Resource endpoint as well.
Potentially relates to https://github.com/IBM/FHIR/issues/2445

I decided to deprecate these endpoints for 4.9.0 which basically just means:

logging a warning when we serve requests at these endpoints
adding this to the release notes under the deprecated section

Running with the latest code from the main branch on my local system, I executed the following search requests:
GET [base]/Resource?_id=test
GET [base]/DomainResource?_id=test
POST [base]/Resource/_search?_id=test
POST [base]/DomainResource/_search?_id=test
In all cases, I verified that one of the following two WARNING messages was issued as appropriate:
[WARNING ] Use of abstract resource types like 'Resource' in FHIR URLs is deprecated and will be removed in a future release
[WARNING ] Use of abstract resource types like 'DomainResource' in FHIR URLs is deprecated and will be removed in a future release
Issue verified and closed.


Integration stopped working yesterday

Describe the bug
Yesterday (18.12.2021) I've noticed that the integration stopped working.
Latest working release
v1.0.62
Debug logs
This is what my basic logs show:
2021-12-19 15:13:48 WARNING (MainThread) [skodaconnect.connection] Failed to aquire information about vehicle with VIN TMBER...
2021-12-19 15:13:48 ERROR (MainThread) [custom_components.skodaconnect.config_flow] Fetch vehicles failed with error: No vehicles were found for given account!
2021-12-19 15:13:48 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request
    resp = await request_handler(request)
  File "/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py", line 504, in _handle
    resp = await handler(request)
  File "/usr/local/lib/python3.9/site-packages/aiohttp/web_middlewares.py", line 117, in impl
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 60, in security_filter_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 98, in forwarded_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 28, in request_context_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 78, in ban_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 181, in auth_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 137, in handle
    result = await result
  File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 148, in get
    return await super().get(request, flow_id)
  File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 96, in get
    result = await self._flow_mgr.async_configure(flow_id)
  File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 267, in async_configure
    raise ValueError(
ValueError: Show progress can only transition to show progress or show progress done.

Please tell me if debug logs are needed, or even something more? And if this even is a bug or just some API errors (eg. Skodas fault).
Installation:

HAOS VM (on Ubuntu Server 20.04 host)

It does not seem a bug in the integration, but a bug in the API of Skoda Connect itself. In the browser Skoda Connect shows my garage / cars perfectly, but the Skoda Connect smartphone app can not find any car. Also adding the cars again does not work. Since this issue in the smartphone app, I experience the same issue in HA.

This kind of issue are related to the service itself and not the integration. VW Group does maintenance or something during weekends since I've noticed most issues start then.
Usually it resolves itself in a couple of days.

Ups... forgot to check the mobile app before posting... just checked if it works via the web.
Sorry for that - my mobile app also has an empty garage.


Hotfix/rubocop

Here's a few minor fixes and an update to .rubocop_todo.yml to clean up Travis builds.

:+1:


(WIP)add google_organization_policy

@sergeylanzman  i am managing Existing GCP organisation with lot of folders in it, I really want to use to organisation policies terraformer plugin to import all of my exisiting policies into the tf.state.  Please advise how to test this particular commit, or if i use the latest build is it included in it.
Cheers


update: cosign v1.5.1 to v1.5.2

Fixes no issue
Description

updating cosign to latest version

Checklist

[x] PR is rebased to/aimed at branch develop
[x] PR follows Contributing Guide
[x] Added tests (if necessary)
[x] Extended README/Documentation (if necessary)
[x] Adjusted versions of image and Helm chart in values.yaml and Chart.yaml (if necessary)

Codecov Report

Merging #556 (412cb3a) into develop (0b3e8ea) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop     #556   +/-   ##
========================================
  Coverage    94.40%   94.40%
========================================
  Files           22       22
  Lines         1125     1125
========================================
  Hits          1062     1062
  Misses          63       63

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 0b3e8ea...412cb3a. Read the comment docs.


Custom colour drop down

I was wondering if it is possible to add a custom colour scheme to the DEM BIL file. I see that in the leaflet-raw-dem.js file you can add another colour to the list but when I try that it isn't displaying on the drop down menu.

Yes, you should be able to extend the color drop-down by adding properties to the L.colors object/map (see js/colors.js). Where the key is the name for the drop-down and the value is an array of colors in one of the formats supported by chroma.js, see chroma.scale, or a ColorBrewer key.
For example by adding this to index.html, right before loading js/index.js:
  <script>
    L.colors['RGB'] = ['#ff0000','#00ff00', '#0000ff'];
  </script>

Mapzen has just released gobal terrain tiles for Tangram as a preview, probably the way to go:
https://mapzen.com/blog/elevation/

@nrenner Thank you! I really like this plug-in and it is probably the best use for easily visualizing elevation.


Stuck at "Testing Objects for properties"

Challenge Name

Issue Description

Browser Information

Browser Name, Version:
Operating System:
Mobile, Desktop, or Tablet:

Your Code

Screenshot

@greedyvgeek thanks for the issue but if you get stuck or have questions with a challenge in the future, please first ask questions to the Help Room. GitHub issues are for noting problems with the site, not challenges help. Happy coding!


Updating LAMB optimizer to v3

While LAMB v1 had the debiasing step as follows :

LAMB v3, no longer comprises of the same:

Also even pre-PR, I observed that
let num = debias1 * state[StateKeys.avgGrad]!

while it should've been :
let num =  state[StateKeys.avgGrad]! / debias1

since the pythonic version, would look something like:
 step = (exp_avg/debias1) / ((exp_avg_sqr/debias2).sqrt()+eps)

Thanks!


[DO NOT MERGE] Add publications groups 1 and 2 details

For the release of publications we need to expand the list of document types users can create and give information about attachments to publications.

Adding a "DO NOT MERGE" flag as these shouldn't be merged until we can release Publications.

Decided to close this since it's no longer active work, due to the project being paused.


Memory Leak in locateOnScreen' Function During Repeated Calls

When using the locateOnScreen function in a loop to continuously search for an image on the screen, the memory usage of the Python process increases significantly over time.
Steps to Reproduce:

Use locateOnScreen in a loop to search for an image on the screen.
Monitor the memory usage of the Python process.

import pyautogui
import time

def find_and_click_button(button_image_path, empty_checkbox_image_path, checked_checkbox_image_path, accuracy_wanted, boxes_to_click):
    click_count = 0
    button_location = ''

    while True:
        # Locate the button on the screen
        button_location = pyautogui.locateOnScreen('button.png', confidence=accuracy_wanted)

        if button_location:
            # click the checkboxes
            click_checkboxes(empty_checkbox_image_path, checked_checkbox_image_path, boxes_to_click, accuracy_wanted)

            # Get the center of the button
            button_center = pyautogui.center(button_location)

            # Click the button
            pyautogui.click(button_center)

            # Remove previous logs
            os.system('cls')

            # Show log of clicking event
            click_count += 1
            print('Total trades: ', click_count)

            # Sleep for a short duration before searching again
            time.sleep(3)
        else:
            # If button is not found, wait for a short duration before trying again
            time.sleep(3)

Expected Behavior:
The memory usage should remain relatively constant over time, given that the same operation is being performed in each iteration of the loop.
Actual Behavior:
The memory usage increases significantly over time. In my tests, I observed an average increase of approximately 6MB every 5 seconds.
This is what is I see using psutil:

Using memory profiler I could figure out that the 'locateOnScreen' function has an increment, which should be zero:

Environment:
Python Version: 3.10.6
pyautogui Version: 0.9.53
Operating System: Windows-10-10.0.22621-SP0
Additional Information:

The images being searched for are small, with a total size of around 6KB.
The issue persists even after explicitly invoking Python's garbage collector using gc.collect().


Mark devicelab test Mac android microbenchmark as flaky

Test mac_android_microbenchmarks is 3.24% flaky for the past 15 days.
Issue: https://github.com/flutter/flutter/issues/83939

@keyonghan When was this last actually a failure?  I mostly see infra flakes:
https://ci.chromium.org/p/flutter/builders/prod/Mac_android microbenchmarks/1367
https://ci.chromium.org/p/flutter/builders/prod/Mac_android microbenchmarks/1379
https://ci.chromium.org/p/flutter/builders/prod/Mac_android microbenchmarks/1390
https://ci.chromium.org/p/flutter/builders/prod/Mac_android microbenchmarks/1366

@keyonghan When was this last actually a failure? I mostly see infra flakes:

Again I missed the blue test timeout.

Merging to unblock the tree.


typo

Thanks for reporting this and sorry for not replying before now.
I've made a large update to this project which now makes this change redundant so I'm going to close this.


Bug: "Certificate Expiry Notification" reset when restoring/importing monitors

⚠ Please verify that this bug has NOT been raised before.

[X] I checked and didn't find similar issue

🛡 Security Policy

[X] I agree to have read this project Security Policy

Description
I recently moved my uptime-kuma from one machine to another.
So I backed up my monitors into a .json file on the old machine and then restored them again on the new machine.
I have switched off the "Certificate Expiry Notification" in most of my monitors.
However, when restoring, all monitors had this option activated.
I have checked the .json file - all data is correct exported.
When restoring the expiryNotification": false in the .json will be ignored and the default setting expiryNotification": true is used.
👟 Reproduction steps
Backup/Export a list of monitors through webinterface into .json
Import/Restor the .json file through webinterface
👀 Expected behavior
Backup/Export settings should match Restored/Imported settings.
😓 Actual Behavior
Backup/Export settings do not match Restored/Imported settings.
🐻 Uptime-Kuma Version
1.17.1
💻 Operating System and Arch
Debian 11
🌐 Browser
FF, Chrome, Edge
🐋 Docker Version
20.10.17
🟩 NodeJS Version

📝 Relevant log output
No response

Obsolete as the backup feature has been dropped in #3892.

Chiming in with a more in-depth explanation:
Please see https://github.com/louislam/uptime-kuma/issues/2141#issuecomment-1272360952

In 1.18.3, the backup feature was deprecated due to [being left] unmaintained.

Backup & Restore with JSON has been deprecated and issues will not be fixed due to the amount of problems it has been causing for our users and us.
The current design is just not maintainable, causing countless bugs.
In v2.0 the deprecated backup tool is being removed because of this reason.
Please consider using SQL, API based[^1] or infrastructure based[^2] backup instead.
New approaches to these features should use SQLite dump or MariaDB dump respectively. (Here is our contribution guide)
You can subscribe to these issues meanwhile:

#2496
#477

[^1]: using the third-party API: https://uptime-kuma-api.readthedocs.io/en/latest/
[^2]: see https://github.com/louislam/uptime-kuma/issues/477#issuecomment-1557966187 for a setup example


Tiny badge icon

Trying a new tiny badge layout. 😅
Also normalised the naming and location of logo assets. @Sherlouk The SVGs folder in Resources shouldn't really even be deployed, it's only there to generate the image data in images.scss. Anything that's rendered publicly should go in Public.

The SVGs folder in Resources shouldn't really even be deployed

Aye - I checked the Dockerfile and saw they were included so thought it fair game, especially as other logos were present there. I understand the desire to keep them in Public/ though 👍

I wonder if there's caching on the shields.io site? I just deployed this version to staging to test it but I'm still getting the old logo.

We cache for 6 hours 🙂  Should be able to try a different package though?

OK, I'm a bit happier with these. I went back to the larger number of boxes but with a bigger swift bird in the middle. Looks as good as it's going to in that space.
Safari:

Chrome:

I'll merging this into your PR @Sherlouk and then I'll merge that one


Add CLI

Part of #1

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (d251a45) to head (1ef588e).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff            @@
##              main       #15   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           15        15
  Lines          475       475
=========================================
  Hits           475       475

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Add description to cipherpipe github repo

Please provide a one-line description of the project to the repo.

Done.


Need to capitalize organizations

search=Microsoft&searchFields=organizations returns: "Unknown field 'organizations' in search field list.\r\nParameter name: searchFields". Need to do: search=Microsoft&searchFields=Organizations

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

ID: 6457a3e2-f09a-00ee-7d5a-561879553d42
Version Independent ID: ffd1cbfe-286d-b8cf-a7d4-84a9fda22efd
Content: Quickstart: Learn cognitive search AI enrichment in Azure portal - Azure Search
Content Source: articles/search/cognitive-search-quickstart-blob.md
Service: search
GitHub Login: @HeidiSteen
Microsoft Alias: heidist

@roalexan
Thanks for your feedback! We will investigate and update as appropriate.

@roalexan, Apologies for the delay! I have assigned the issue to the content author to review further and update the document as appropriate. Thanks again for sharing your valuable feedback.

@roalexan @AjayKumar-MSFT   This was fixed weeks ago. Must have missed circling back on this issue to close it.  Thank you very much for filing the issue.  Closing now since there is no further action.
#please-close


Dungeon related mods

Would be nice if you can also implement everything from CoomfyDungeon as part of your dungeon flows

Dynamic Scrap Amount & Map Size Generation based on number of players
Dungeon Generation to more spreaded out map, instead of a deeper map

since CoomfyDungeon not get updated from "2 months ago" and maybe incompatibility with latest LLL
https://thunderstore.io/c/lethal-company/p/Coomfy/CoomfyDungeon/

I'm not very familiar with the dungeon generation, so making it deeper/more spread out is a bit difficult for me. I think the dynamic scrap amount and map size is useful, but how would you configure it?

then that is the challenge for you in the future roadmap, imagine playing multiplayer with maze like map (spreaded out map) it's a chaos just by the factor of the map itself
for dynamic scrap & map i think single configure is enough since it's correlated with each other (e.g)
## Dynamic Scrap Amount & Map Size Generation based on number of players
# Setting type: Boolean
# Default value: false
DynamicScrapAndMapGeneration = false

or if you want more challenge you can add more algorithm like based on (e.g TotalDays, TotalQuotas, Weather, etc)
## Dynamic Scrap Amount & Map Size Generation based on?
# Setting type: GenerationType
# Default value: None
# Acceptable values: None, TotalPlayers, TotalDays, TotalQuotas, Weather
DynamicScrapAndMapGeneration = None

I have already started shifting away from using the r2modman configuration, but I need to know what particular settings and numbers users are interesting in changing.
For the example you provided, it has some options, but if a user were to select TotalPlayers, how much larger should the map be? What algorithm would you use to determine how much more scrap to add, and what other variables would it be dependent on? There's a lot of different ways to customize the game, and if it's not clearly specified then it is difficult to choose the correct way.

for me disable, min and max (e.g maxScrapAmount, maxMapSize) (performance reason) is enough configuration.
for performace reason there is already better solution so (min and max) is optional in my case
https://thunderstore.io/c/lethal-company/p/fumiko/CullFactory/
because it's called dynamic user should not touch as many as possible
how much larger should the map be? use min/max settings
what other variables would it be dependent on? no need
There's a lot of different ways to customize the game? agree, but no need in my case
other than that i'm cannot help if you ask about formula, but i can give you reference from other mods that has similiar behaviour
https://thunderstore.io/c/lethal-company/p/Coomfy/CoomfyDungeon/
https://thunderstore.io/c/lethal-company/p/LethalOrg/ProgressiveDeadline/
https://thunderstore.io/c/lethal-company/p/MigisFring/ScaledPenalties/
https://thunderstore.io/c/lethal-company/p/zMods/DynamicScrapsAmount/
or wait other people opinion


Separate FORWARD and INPUT chains in Felix

This resolves #196.
The effect of this patch is to stop adding felix-FROM-ENDPOINT to the INPUT chain of the filter table in iptables, and instead to add another top-level chain that contains only rules that affect inbound packets. This creates a split between the endpoint security rules (which apply only to forwarded packets) and the rules that affect traffic intended to reach the host.
Right now this is set up to be extremely secure, but we may want to relax it slightly. ICMP packets from guests leap to mind as a possible exemption we'll want to grant.
I have to drop a few extra commits that will move some other rules from where they are to this new INPUT chain. In particular, the metadata rule needs to move in.
I haven't had a chance to live test this yet, and the UT coverage here isn't great, so I suggest not merging it until someone gets a chance to live-test it. Nevertheless, review would be welcome, particularly from @plwhite and @fasaxc.

It'll almost certainly be easiest to review this change as separate commits working towards the final goal, rather than looking at the diff as a whole.

@Lukasa sounds like a good idea, I'll try to give it a look-over today.

Ok, I've done a quick bit of live test and this appears to function fine, without explosions and death (by which I mean DHCP continues to work).

Temporarily assigning to @plwhite to review as he's got the right time zone, though @plwhite should feel free to reassign if it's inconvenient.

One comment from me in the code.  Only other thought is, will this break ping and ssh from the host to the VM, which I think we've agreed is a feature.

Only other thought is, will this break ping and ssh from the host to the VM, which I think we've agreed is a feature.

No, conntrack ought to save those. It may not save ping, but I already asked whether we should add an ICMP exemption here.

I'm a bit confused, but I think the right design is as follows.
Prior to this fix, we have felix-INPUT that references all the tap interfaces.
After the fix we should have felix-INPUT that contains :

conntrack rules (so ssh and ping to guests can work)
DHCP rules
Metadata rules

Somewhat to my surprise, that is all that should be in felix-INPUT; we should just not have any of the reference to felix-FROM-ENDPOINT.
I am about to review on this basis.

OK, so I think it will be simpler to keep going and finish this with just the minimal rules above - which means deleting some code that does unnecessary stuff. But that is a simpler, safer and more correct solution so I think we should hold off.
Back to you @Lukasa (but @fasaxc, if you have any comments let me know!).

@Lukasa I think @plwhite meant to assign to you.

@Lukasa +1 for ICMP exception from the host, I think.  That's useful.

@fasaxc Can you clarify: do you mean an exception allowing ICMP traffic host -> guest? Because I was talking about an exception allowing ICMP guest -> host.

Ok, rebased on top of the ip-in-ip work.

Hmm, seems like the pull request build job is busted. @matthewdupre, you might want to take a look at that...

@Lukasa I was meaning host to guest.  It's really useful to be able to ssh or ping the guest from the host.

@Lukasa I don't understand how pull-request-build is broken?  It's passed, the console output looks fine, and there are packages in the right place.  What am I missing?

Yah, sorry, that was an old message. We fixed it. =)

@fasaxc @plwhite Argh, this languished with me. I think this is good to go, so can I get another round of review please?

One comment to deal with, otherwise looking good.
I also note that you do not include conntrack rules in this chain. I think that is in fact correct, despite my earlier remarks which were completely mad.

The missing conntrack was an accident. I think we want it though, so I'll add conntrack back in.

Changes made.


Add logging and progress bar

Fixes #22

Just going to merge (assuming tests pass, as they do locally) -- I just added this to get some feedback when running locally during development, e.g. for #47

Codecov Report

Merging #60 (e6a218a) into main (c94be94) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #60   +/-   ##
=======================================
  Coverage   76.05%   76.05%
=======================================
  Files          13       13
  Lines         309      309
=======================================
  Hits          235      235
  Misses         74       74

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


WIP: dict based config

This will lookup config settings in b:config, g:config, and has support
for context (for filetype and bufnr) (where context.maker is also
looked at in the end).
The idea is to prefer the new format, and fallback to looking up the current scheme.
I am not sure if it should be deprecated really, since it allows for easier one-shot configs (let g:neomake_someft_maker_args vs g:neomake['ft:someft']['maker']['args'], where you have to initialize the dict(s).
g:neomake['ft:someft']['maker']['args'] is not really supported in this PR as of now.
My main intention for this is with the automaking, where I would like to have some config namespace, i.e. g:neomake.automake would allow to override other settings in the automake context.
TODO:

[ ] ensure that it behaves like neomake#utils#GetSetting
[ ] doc

I'm not sure what I think of this yet.  It does deal with the issue of long and numerous config variables, but in exchange for complexity.  It's not bad as long as the complexity isn't passed to the user.
The passing of a context is a little weird, too.  Couldn't these dicts be wrapped to have some helper functions?  Like maker.get()?  It could abstract the problem with nested dicts with something like maker.get('foo.bar.baz', 'default') or maker.set('foo.bar.baz', 'qux').  Or, neomake#config#get('foo.bar.baz', 'default').
Users could still use:
let g:neomake = {
\   'foo': {'bar': {'baz': 'qux'}},
\   'python': {
\     'enabled_makers': ['flake8'],
\     'flake8': {'ignore': ['E501']},
\   },
\ }

call neomake#config#set('foo', {'bar': {'baz': 'qux'}})
let g:bar = neomake#config#get('foo.bar')

The key lookup would be backward compatible so that foo.bar.baz -> g:neomake_foo_bar_baz.  Then deprecation could just be done by documenting the new config style and not mentioning the old style.

Thanks for your feedback again!

in exchange for complexity

What I want to have here is to also handle extra contexts, like e.g. when automaking (#1167) is used vs. manual invocation: the context will be there in general (because it should also have an influence on error level reporting - some things should be displayed as errors when manually invoked, but not when automatically linting  - ref: https://github.com/neomake/neomake/issues/1165).
neomake#config#get('foo.bar.baz', 'default') is a good idea indeed (especially for setting).
But then it's still a matter of context(s): currently this is just assumed as a prefix (and even b: settings expect a ft prefix, i.e. b:neomake_ft_foo_maker - although the ft part should be assumed to be the one of the buffer after all).
Therefore my idea was to have certain prefixes like automake and ft:&ft, which would be looked up in the dict before.
The ft: prefix is meant to distinguish it from other global settings.

Maybe I'm not yet seeing the idea like you are.  From my perspective, neomake#config#get('python.enabled_makers') is just as isolated as ft:python.enabled_makers would be.  Are you saying that ft: would be for built-in Neomake settings?
neomake#config#get('automake.python.enabled_makers') would naturally fit into the dict:
let g:neomake = {
\   'automake': {
\     'python': {
\       'enabled_makers': ['flake8'],
\     },
\   },
\ }

Thinking out loud: automake:python as a key is a weird detail.  The advantage I see for using it would be that someone couldn't accidentally reset everything with let g:neomake.automake = {}, but that would be user error (if unintentional).  The disadvantage is that you couldn't use let g:neomake.automake:python.enabled_makers = ['flake8'], which might be an annoyance.

Maybe I'm not yet seeing the idea like you are. From my perspective, neomake#config#get('python.enabled_makers') is just as isolated as ft:python.enabled_makers would be.

It has the potential to conflict if a filetype has the same name as a setting.
This is the case already when using automake as the namespace for automake related settings (#1167).
g:neomake.automake.enabled_makers should override g:neomake.enabled_makers there in general, and g:neomake.ft.automake.enabled_makers would configure the makers for the automake filetype.
g:neomake.automake.ft.automake.enabled_makers would configure the makers for automaking in anautomake file.
(I am using a sub-dict ft here for what was ft:automake before).

@tweekmonster
Pushed some changes, how do you like them?
I would like to get this straight and then use it with #1167.

Squashed, and will merge it once it is green.


Promisify doesn't encapsulate ncp properly in node-pre-gyp-fix

When using electron-rebuild to rebuild node-serialport module the output directory (e.g. node_modules\serialport\build\Release\node-v47-win32-ia32) would alternate between empty and correctly containing the .node file.
I did a bit of debugging and it seems to be caused by interaction between ncp and the main promise chain. When ncp.js tries to copy into a directory with an existing .node file it will remove the file and then copy it in, which in turn calls fs.unlink() with a callback. However, the await in node-pre-gyp-fix doesn't know about this async call and fires immediately, causing the process to exit. On my machine, it'd exit after the file has been deleted but before the new file is copied in, which would give me an empty directory. Removing process.exit() fixes this bug as it allows the fs.unlink() callback to finish.

This is the same as https://github.com/electron-userland/electron-packager/issues/252, I'd take a PR to replace ncp

This issue should not exist in the new version of electron-rebuild


Lab 7> Excercise 3: Add Conditional Formatting > Task 1> Step 10

Module: 7. Design a Report in Power BI Desktop, Part 2
Lab/Demo: 07
Task: 01
Step: 10
ormat Style
IS
In the Background Color – Color window, in the Format By dropdown list, select Field Value.
Should be:
In the Background Color – Color window, in the Format Style dropdown list, select Field Value.

MOC Labs Review has solved this issue with pull request #67.

This has been resolved with the latest update.


The table "Setting | Suggested value | Description" is missing values

Feedback 1
In section "5. In On Success - Action to execute, select Send speech response." and section "6. In On Failure - Action to execute, select Send speech response" there is a table that is supposed to describe what values you enter (similar to previous sections in this how-to-guide). The tables have the headers "Setting | Suggested value | Description". In these sections, the table is missing the value I enter in the Simple Editor - First Variation. The table only mentions the Action to execute. Please also add what I should enter in the Simple Editor, so I can copy and paste it in, instead of looking at the screen capture and typing it in (which may results in mistakes)
Feedback 2
Remove these unneeded "using" statements from the sample code we build in this section:
using Windows.Foundation;
using Windows.Storage.Streams;
Feedback 3
"Headers | Key: app, Value: a unique name for your app"
Seems like my unique app name should be globally unique, right? otherwise I may get the room status of someone else who done this tutorial?
If so, we should mention that it should be globally unique and make some suggestions how to decide on the app name (e.g. add a series of random digits)

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

ID: 77760c1a-55c1-8c92-55f8-55e4e486bc25
Version Independent ID: 9da54731-fb5a-a0fa-2e3f-8a76f506317a
Content: Set up web endpoints (Preview) - Azure Cognitive Services
Content Source: articles/cognitive-services/Speech-Service/how-to-custom-commands-setup-web-endpoints.md
Service: cognitive-services
Sub-service: speech-service
GitHub Login: @xiaojul
Microsoft Alias: xiaojul

@dargilco we will review your feedback and get back to you shortly. Thanks.

@xiaojul please review above feedback including [57894], [57895]. Thanks.

Fixed in PR https://github.com/MicrosoftDocs/azure-docs-pr/pull/120632.
#please-close


Update batch acquisition

Codecov Report

Merging #23 (39fe50a) into main (3af7a64) will decrease coverage by 0.18%.
The diff coverage is 14.28%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             main      #23      +/-   ##
==========================================
- Coverage   92.43%   92.25%   -0.18%
==========================================
  Files          19       19
  Lines        1573     1576       +3
==========================================
  Hits         1454     1454
- Misses        119      122       +3

Flag
Coverage Δ

unittests
92.25% <14.28%> (-0.18%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

gpax/acquisition.py
59.75% <14.28%> (-2.27%)
:arrow_down:

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


Add support for Addresses(v2)

Can you add support for Addresses V2 to the SDK?
e,g await shippo.addressesV2.create({})

Hi @jbool24 ! Could you articulate the issue your support team encountered with the v1 product? I would love to learn more.
We will prioritize the Address V2 SDK generation on the team's roadmap in the interim. Thanks!

@BryanEddy5 Certainly, v1 caused false positives on many addy validations to the apartment level. There were error/warning messages in the validation_results.messages array that should have been displayed to our end-users to take manual steps to remedy the address to the apt/suite level. However, the API returned is_valid = true AND is_complete = true signalling according to the documentations instructions that the address was a valid deliverable address.
Specifically this line is key:

It is also worth noting that if the address object you created is missing information necessary for creating a shipment, the is_complete field will be false.

Because the documentation does not mention this third possible failure mode we encountered where an important message could require manual human handling but both values are truthy, our logic missed the message and therefor our application did not signal our operators to check and fix the addresses with apartment or suite level information.
The code to check for a valid response is something like this
if (!address.validation_results.is_valid || !address.is_complete) {
// handle this as an error and notify end user
}

All of our calls to the Shippo API are async and handled as background tasks which is why its critical that we receive the correct information about any type of incomplete or undeliverable orders. If address validation api requests return with the truthy conditions mentioned above, our system never flags it to trigger a notification to our users. Later down the runtime life-cycle we use "single call" label purchase flow in background tasks with these pre-validated addresses. But this caused an incident where many labels were purchased for undeliverable incomplete addresses. Our Carrier had to fix each one and applied a surcharge per unit (per label) for that service in order to deliver these time sensitive deliveries without returning them first. Having the "bad" shipments returned was not an option as all our shipments are time sensitive. They is zero margin for a "late" delivery.
This should be considered a bug in the API because logic could argue if there are any warnings or error message types in that array that should be either incomplete or invalid.
We have made adjustments on our side to check if there are ANY messages in there now to make sure our users see this information as actionable and requiring human intervention. However, this still leaves room for potential errors.

@jbool24 I appreciate the detailed reply. Much of what you are mentioning are the motivations behind the creation of the Address Validation V2 product.
I'm always interested in hearing from our customers on the various APIs and your information has helps validate other findings we have.
The V1 product has some legacy defects that unfortunately have behavior many of our customers are dependent upon (Hyrum's Law 🥲 )  that prevents us from making large changes to the current behavior.
Have you tested the Address Validation V2 product as of yet? Would love to hear more of your experience.

@BryanEddy5 This is what Solutions Support has advised and why we are interested in the timing of delivery of the v2 Addy API into the v2 js/ts client sdk.
Being able to provide input params to that segment of the client library in order to choose v1 or v2 of the underlying API calls that the client is making should be considered to ease the transition for anyone still actively of porting from v1.7.1 node sdk to ^v2.0.0 javascript sdk. Many legacy users didn't even know that the shippo namespace on NPM moved the underlying repo to this one.
No, we have not tested version 2 yet. Not very trusting of its viability just yet because we need more information to ensure this could not be repeated if we invest in the rework project to upgrade to both the newest Address API version and the new client sdk. After risk assessment and analysis of v2 and we found that the new API also uses URL params for transient validation calls. Another breaking change from POST body payloads of the legacy client. We will not use Address Book functionality in Shippo.
Additionally, policy will require us now to add and maintain a full anti-corruption layer if we are going to move forward with our relationship to mitigate future risk of Shippo changing anything in this sdk -- accidentally or inadvertently. So this has escalated to a much larger issue than just our false positive address validations incident.
Something to also bring to your awareness is the undocumented breaking changes of the v2.0.0 client sdk. It breaks the client data contract by switching to camelCase over underscore separators for every Shippo object's property names. Because this is a major version bump from 1 to 2 the community understood there would be potential breaks but there are no docs or guides anywhere here on github repos or the docs website with this notice.
I understand camelCase is more aligned to javascript but the raw API still returns underscore separated properties and all of our legacy code base (and other projects I've spoken with) have used those underscore separated DTO contract to manually monkey patch the old v1.7.1 nodejs sdk (which was unsupported for a long time). Our project also had to be enriched with local TS definitions that aligned to the API payloads with underscore separations.
This v2 sdk will requires a full rework of our integration code and because all the related issues caused financial damages we were forced by policy to inform and involve admins up the chain of command. It has escalated to a much large risk to integrate with Shippo.
We would love to have some official information about the changes decisions and proof of its stability and corrective actions for how v2 truely solves the short commings you mention of version 1.

@jbool24 In an effort to keep this issue on point I'd like to separate out these points that you brought up as they are related to V1 and implementation rather than Addresses(V2). Please reach out to your Shippo Account Manager and we can coordinate addressing anything that has come up with your v1 implementation. I'll be happy to work through your implementation.  Please provide tracking numbers and or shipment/address object_ids so we can dive into your issue with more detail. Additionally we can work through how V2 could be used outside of the SDK [to be used with the current shipment/rating flow / transactions]
For anyone who finds this thread/issue that currently our supported javascript SDK does not have the ability to use Address V2 but it is being prioritized.

We will prioritize the Address V2 SDK generation on the team's roadmap in the interim. Thanks!

Wondering if there is any update here, has Address V2 been added to the SDK? As well as the new types for Address V2? I can't seem to find them in the library.


[PHPStanRules] Improve CheckTypehintCallerTypeRule : skip non private and multiple usages

Non private can be used outside/derived class, while multiple usecase can make the following case:
if ($var instanceof PropertyFetch) {
      $this->call($var);
}

if ($var instanceof MethodCall) {
      $this->call($var);
}

as noted at https://github.com/rectorphp/rector/pull/4727/files#r532124867

All checks have passed 🎉 @TomasVotruba it is ready for review.

Thank you


fix meshmodel duplicates

Notes for Reviewers
This PR fixes #
Signed commits

[ ] Yes, I signed my commits.

Codecov Report
Patch coverage has no change and project coverage change: -4.23 :warning:

Comparison is base (e6f50bd) 16.47% compared to head (28ce8b8) 12.24%.

:exclamation: Current head 28ce8b8 differs from pull request most recent head eb1b4f5. Consider uploading reports for the commit eb1b4f5 to get more accurate results

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #7299      +/-   ##
==========================================
- Coverage   16.47%   12.24%   -4.23%
==========================================
  Files         118      118
  Lines       16301    16294       -7
==========================================
- Hits         2685     1995     -690
- Misses      13129    13977     +848
+ Partials      487      322     -165

Flag
Coverage Δ

gointegrationtests
?

unittests
12.24% <0.00%> (+<0.01%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

server/cmd/main.go
0.00% <0.00%> (ø)

server/handlers/component_handler.go
0.00% <0.00%> (ø)

server/handlers/relationship_handlers.go
0.00% <ø> (ø)

mesheryctl/internal/cli/root/system/status.go
1.51% <0.00%> (-53.79%)
:arrow_down:

mesheryctl/internal/cli/root/system/start.go
1.53% <0.00%> (-53.69%)
:arrow_down:

mesheryctl/internal/cli/root/system/stop.go
2.00% <0.00%> (-46.50%)
:arrow_down:

mesheryctl/internal/cli/root/system/update.go
1.65% <0.00%> (-42.98%)
:arrow_down:

mesheryctl/internal/cli/root/system/logs.go
4.00% <0.00%> (-42.67%)
:arrow_down:

mesheryctl/internal/cli/root/system/restart.go
2.66% <0.00%> (-42.67%)
:arrow_down:

mesheryctl/internal/cli/root/root.go
25.49% <0.00%> (-40.20%)
:arrow_down:

... and 6 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

What was the cause of this issue?

What was the cause of this issue?

There were two issues. One of which was my oversight, where components of all modelVersion were present inside a specific ModelVersion due to an incorrect filter.

Thanks. It'd be nice to see this logic moved out of main.go and into an import function.

Perhaps, something that @Azanul can work on. Having said that, I having seen any progress on a connection state machine just yet, though.

Perhaps, something that @Azanul can work on.

Sure

Having said that, I having seen any progress on a connection state machine just yet, though.

I'm assuming that's a "haven't". The connection state machine 🔮 presents itself to mortals when they're ready for it.


BAckground Page Error

I have never see this issue, but it seems this article may help you to understand it.
https://support.microsoft.com/en-us/kb/875352


Error when running updateHostsFile.py

Hi, since yesterday I believe I am getting this error when running the below command:
sudo python3 updateHostsFile.py -e fakenews gambling
Traceback (most recent call last):
  File "updateHostsFile.py", line 27, in <module>
    import lxml  # noqa: F401
ModuleNotFoundError: No module named 'lxml'

Hello @neilrooney and welcome here !
This issue is because we update the updateHostFile.py recently.
To quote what Steven said here:

March 3, 2018: As a result of some recent commits this release introduces breaking changes for those who are building their own hosts files.
Please see the readme under the Generate your own unified hosts file section where you may need to install new dependencies.

To quote the readme:

Note if you are using Python 3, please install the dependencies with:
pip3 install --user -r requirements.txt

Note if you are using Python 2, please install the dependencies with:
pip2 install --user -r requirements_python2.txt

Note we recommend the --user flag which installs the required dependencies at the user level. More information about it can be found on pip documentation.
To run unit tests, in the top level directory, just run:
python testUpdateHostsFile.py

Have a nice day,
Nissar.

Thanks a million @funilrys. All working now.


Update style-guide.md

Added some guidelines for link text. Please review

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
For 1.11 Features: set Milestone to 1.11 and Base Branch to release-1.11
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
NOTE: After opening the PR, please un-check and re-check the "Allow edits from maintainers" box so that maintainers can work on your patch and speed up the review process. This is a temporary workaround to address a known issue with GitHub.>
Please delete this note before submitting the pull request.

/assign @heckj

/lgtm

@steveperry-53 PTAL

/hold
/assign
This is useful information for the persnickety writers among us, but I'm reluctant to add anything to the style guide until we have a clearer sense of what's really useful and needed.
We've got a larger project in the works to revisit the style guide -- perhaps this recommendation could be ported to an issue or even a working gdoc to be considered in the larger context.


Use poetry for dependency and venv management

Poetry brings convenience of development to a new level. It allows to create and maintain more powerful project automation relatively simply.
Corsair was created before I started to use poetry extensively, so I want to fix this and make project more manageable for myself.

Support is added to dev2 branch.


Decomposition, Refactoring, CLI, and Testing

Why
The action is intended to automate our deployments via CLI/SDK, and so should likely directly wrap that interface to lower impedance mismatch.
What
The inputs to the CLI/SDK should be specified in the action's YAML config and runtime args, then the outputs should then be sent to APIs via, eg, the node fetch interface. There should likely be minimal custom logic here, that should itself be tested.

This is how it works now. Done.


rosdep: add python-typing

typing module allows to add valuable typehints to Python 2 code .
Ubuntu: https://packages.ubuntu.com/bionic/python-typing
Debian: https://packages.debian.org/buster/python-typing
Fedora: https://apps.fedoraproject.org/packages/python2-typing
Arch: https://www.archlinux.org/packages/community/any/python2-typing/
Gentoo: https://packages.gentoo.org/packages/dev-python/typing

Thanks!


hello I would like to collaborate with your project serving as a translator to Spanish which is my native language

Discussed on the sync call.
The best place to start would be creating an unofficial translation of the tutorial, which we could link to from the tutorial, with the caveat that it was a community project, and not guaranteed to be up-to-date with the latest tutorial content from the canonical English version.


Implement the intersection type and add support for readonly object fields

Purpose
$title.
NOTE - the changes in the PR are done upon the changes in https://github.com/ballerina-platform/ballerina-lang/pull/23302. Keeping that PR open so that reviewing will be easier.
Fixes #23259 - Add Intersection Type support
Fixes #23552 - Support readonly object fields
This PR also fixes #23557 - Runtime error when creating a record value of a type with readonly fields that have a default value
Approach
Intersection type support - A new BType has been introduced - BIntersectionType. While the type for something like map<int> & readonly x; will be a BIntersectionType, the effective type is used for expressions. e.g., for map<int> y = x;; the type of the var ref x will be a map<int> with its readonly flag on.
The issue with record field defaults not being set in immutable types has been fixed by adding the original def as a type reference in the newly defined type def.
Check List

[x] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[x] Added necessary tests

[x] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Codecov Report

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

@@           Coverage Diff           @@
##           master   #23586   +/-   ##
=======================================
  Coverage   14.59%   14.59%
=======================================
  Files          51       51
  Lines        1411     1411
  Branches      219      219
=======================================
  Hits          206      206
  Misses       1189     1189
  Partials       16       16

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 d0bfffd...c51dae2. Read the comment docs.


Cannot access path param value if a query param and path param have the same name

If the query param and path param have the same name, path param value cannot be retrieved. Even with attaching annotations.
Sample code -
import ballerina.net.http;
import ballerina.lang.messages;

@http:BasePath {value:"/hello"}
service HelloService {

    @http:Path {value:"/{version}"}
    @http:GET {}
    resource sayHello (message m, @http:PathParam {value:"version"} string pathParam,
                       @http:QueryParam {value:"version"} string queryParam) {
        message response = {};
        messages:setStringPayload(response, "PathParam: " + pathParam + " , QueryParam: " + queryParam);
        reply response;
    }
}

Request - http://localhost:9090/hello/1.0?version=2.0
Response - PathParam: 2.0 , QueryParam: 2.0

This functionality is no longer supported. We cannot specify query params in the resource signature anymore. Hence closing this issue as this is not valid anymore.


Collaboration?

Hello, wondering if your team would like some help with building a more secure way to blog?  @vincentritter ?

Sorry, this is a little vague to be an issue. Feel free to re-open if you have something specific for the Micro.blog app.


.Net: Add netstandard2.0 build of Microsoft.SemanticKernel.Connectors.Onnx

@stephentoub it looks like there is some issue with Onnx integration tests:


No data from mein-senec anymore

Since february 4th at about 9 pm I don’t get any data anymore by mein-senec. Local data works great. Integration does not show a problem. But there are no numbers shown anymore.
Maybe it happend with the last update. I am on 2024.1.1.
Anyone else with similar issues?

Sorry, I forgot to post the log.
Logger: custom_components.senec.pysenec_ha
Source: custom_components/senec/pysenec_ha/init.py:2527
Integration: SENEC.Home (documentation, issues)
First occurred: 10. Februar 2024 um 12:22:20 (1705 occurrences)
Last logged: 11:51:58
APP-API: Error when handling response '<ClientResponse(https://app-gateway-prod.senecops.com/v1/senec/anlagen) [200 None]> <CIMultiDictProxy('X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': '0', 'X-Frame-Options': 'DENY', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Date': 'Mon, 12 Feb 2024 10:42:38 GMT')> ' -
It is shortend because of personal data following.

1'st suggestion - update to the latest version
2'nd suggestion - remove the WEBAPI Integration and add it again...

Thank you! I thought 2024.1.1 ist the latest version. I get no never on hacs even if I turn on beta.

Thank you! I thought 2024.1.1 ist the latest version. I get no never on hacs even if I turn on beta.

then there is still 2'nd and 3'rd suggestion to go...

I'll take No. 3 then. ;-)

check, if the 2024.2.1 will solve this issue... If yes - please close the issue - TIA


SDL 2.0.9 dll has memory leak

Hi,
I found an issue with SDL that sdl2d.dll (debug) built by vcpkg has memory leak.
But the dll I built by VS2017 15.8 (project files generated by cmake) has no memory leak.
This is the source to reproduce the leak:
#ifdef _DEBUG
#define _CRTDBG_MAP_ALLOC
#include <stdlib.h>
#include <crtdbg.h>
#endif

#define SDL_MAIN_HANDLED
#include "sdl2/SDL.h"
// sdl2d.lib is linked implicitly by vcpkg integration

int main(int argc, char*argv[])
{
#ifdef _DEBUG
	_CrtSetDbgFlag(_CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF);
#endif

	/* Initialize SDL */
	if (SDL_Init(SDL_INIT_VIDEO) < 0) {
		SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "Couldn't initialize SDL: %s\n", SDL_GetError());
		return (1);
	}

	SDL_Quit();

	return 0;
}

Dump output:
Detected memory leaks!
Dumping objects ->
{410} normal block at 0x000001C578D0BA90, 776 bytes long.
Data: <                > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
{409} normal block at 0x000001C578D03980, 88 bytes long.

By using your code, I am unable to reproduce this issue on the latest sdl2 version.
Here is my log:
'ConsoleApplication5.exe' (Win32): Loaded 'C:\Users\vzay\source\repos\ConsoleApplication5\Debug\ConsoleApplication5.exe'. Symbols loaded.
'ConsoleApplication5.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ntdll.dll'. Cannot find or open the PDB file.
'ConsoleApplication5.exe' (Win32): Loaded 'C:\Windows\SysWOW64\kernel32.dll'. Cannot find or open the PDB file.
'ConsoleApplication5.exe' (Win32): Loaded 'C:\Windows\SysWOW64\KernelBase.dll'. Cannot find or open the PDB file.
'ConsoleApplication5.exe' (Win32): Loaded 'C:\Users\vzay\source\repos\ConsoleApplication5\Debug\SDL.dll'. Cannot find or open the PDB file.
'ConsoleApplication5.exe' (Win32): Loaded 'C:\Users\vzay\source\repos\ConsoleApplication5\Debug\SDL2d.dll'. Symbols loaded.
'ConsoleApplication5.exe' (Win32): Loaded 'C:\Windows\SysWOW64\user32.dll'. Cannot find or open the PDB file.
'ConsoleApplication5.exe' (Win32): Loaded 'C:\Windows\SysWOW64\user32.dll'. Cannot find or open the PDB file.
'ConsoleApplication5.exe' (Win32): Loaded 'C:\Windows\SysWOW64\winmm.dll'. Cannot find or open the PDB file.
'ConsoleApplication5.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\user32.dll'
'ConsoleApplication5.exe' (Win32): Loaded 'C:\Windows\SysWOW64\win32u.dll'. Cannot find or open the PDB file.
'ConsoleApplication5.exe' (Win32): Loaded 'C:\Windows\SysWOW64\gdi32.dll'. Cannot find or open the PDB file.
'ConsoleApplication5.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcrt.dll'. Cannot find or open the PDB file.
'ConsoleApplication5.exe' (Win32): Loaded 'C:\Windows\SysWOW64\gdi32full.dll'. Cannot find or open the PDB file.
'ConsoleApplication5.exe' (Win32): Loaded 'C:\Windows\SysWOW64\winmmbase.dll'. Cannot find or open the PDB file.
'ConsoleApplication5.exe' (Win32): Loaded 'C:\Windows\SysWOW64\advapi32.dll'. Cannot find or open the PDB file.
'ConsoleApplication5.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcp_win.dll'. Cannot find or open the PDB file.
'ConsoleApplication5.exe' (Win32): Loaded 'C:\Windows\SysWOW64\cfgmgr32.dll'. Cannot find or open the PDB file.
'ConsoleApplication5.exe' (Win32): Loaded 'C:\Windows\SysWOW64\sechost.dll'. Cannot find or open the PDB file.
'ConsoleApplication5.exe' (Win32): Loaded 'C:\Windows\SysWOW64\rpcrt4.dll'. Cannot find or open the PDB file.
'ConsoleApplication5.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ucrtbase.dll'. Cannot find or open the PDB file.
'ConsoleApplication5.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ucrtbase.dll'. Cannot find or open the PDB file.
'ConsoleApplication5.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\ucrtbase.dll'
'ConsoleApplication5.exe' (Win32): Loaded 'C:\Windows\SysWOW64\sspicli.dll'. Cannot find or open the PDB file.
'ConsoleApplication5.exe' (Win32): Loaded 'C:\Windows\SysWOW64\imm32.dll'. Cannot find or open the PDB file.
'ConsoleApplication5.exe' (Win32): Loaded 'C:\Windows\SysWOW64\cryptbase.dll'. Cannot find or open the PDB file.
'ConsoleApplication5.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ole32.dll'. Cannot find or open the PDB file.
'ConsoleApplication5.exe' (Win32): Loaded 'C:\Windows\SysWOW64\bcryptprimitives.dll'. Cannot find or open the PDB file.
'ConsoleApplication5.exe' (Win32): Loaded 'C:\Windows\SysWOW64\combase.dll'. Cannot find or open the PDB file.
'ConsoleApplication5.exe' (Win32): Loaded 'C:\Windows\SysWOW64\vcruntime140.dll'. Cannot find or open the PDB file.
'ConsoleApplication5.exe' (Win32): Loaded 'C:\Windows\SysWOW64\oleaut32.dll'. Cannot find or open the PDB file.
'ConsoleApplication5.exe' (Win32): Loaded 'C:\Windows\SysWOW64\shell32.dll'. Cannot find or open the PDB file.
'ConsoleApplication5.exe' (Win32): Loaded 'C:\Windows\SysWOW64\version.dll'. Cannot find or open the PDB file.
'ConsoleApplication5.exe' (Win32): Loaded 'C:\Windows\SysWOW64\SHCore.dll'. Cannot find or open the PDB file.
'ConsoleApplication5.exe' (Win32): Loaded 'C:\Windows\SysWOW64\windows.storage.dll'. Cannot find or open the PDB file.
'ConsoleApplication5.exe' (Win32): Loaded 'C:\Windows\SysWOW64\shlwapi.dll'. Cannot find or open the PDB file.
'ConsoleApplication5.exe' (Win32): Loaded 'C:\Windows\SysWOW64\kernel.appcore.dll'. Cannot find or open the PDB file.
'ConsoleApplication5.exe' (Win32): Loaded 'C:\Windows\SysWOW64\profapi.dll'. Cannot find or open the PDB file.
'ConsoleApplication5.exe' (Win32): Loaded 'C:\Windows\SysWOW64\powrprof.dll'. Cannot find or open the PDB file.
'ConsoleApplication5.exe' (Win32): Loaded 'C:\Windows\SysWOW64\fltLib.dll'. Cannot find or open the PDB file.
'ConsoleApplication5.exe' (Win32): Loaded 'C:\Windows\SysWOW64\vcruntime140d.dll'. Cannot find or open the PDB file.
'ConsoleApplication5.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ucrtbased.dll'. Cannot find or open the PDB file.
'ConsoleApplication5.exe' (Win32): Loaded 'C:\Windows\SysWOW64\uxtheme.dll'. Cannot find or open the PDB file.
'ConsoleApplication5.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msctf.dll'. Cannot find or open the PDB file.
'ConsoleApplication5.exe' (Win32): Loaded 'C:\Windows\SysWOW64\dwmapi.dll'. Cannot find or open the PDB file.
'ConsoleApplication5.exe' (Win32): Loaded 'C:\Windows\SysWOW64\KBDUS.DLL'. Cannot find or open the PDB file.
'ConsoleApplication5.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\KBDUS.DLL'
'ConsoleApplication5.exe' (Win32): Loaded 'C:\Windows\SysWOW64\KBDUS.DLL'. Cannot find or open the PDB file.
'ConsoleApplication5.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\KBDUS.DLL'
The thread 0x1d94 has exited with code 0 (0x0).
The thread 0x2748 has exited with code 0 (0x0).
The thread 0x3f40 has exited with code 0 (0x0).
The program '[16028] ConsoleApplication5.exe' has exited with code 0 (0x0).

So, Can you update vcpkg, rebuild sdl2 and repro it?
Thanks.

Since time I reported, I switched using of SDL built via vcpkg to directly built by MSVC, never come back, and more, I moved from MSVC 2017 to MSVC 2019.

This happened to me after I switched SDL from nuget to vcpkg. Any updates?

I still cannot reproduce this issue, can anyone give me another sample code?
Thanks.

We haven't been able to repro this; if more information comes up, or this issue appears again, please reopen.


GitHub files

Adding the .github repo that @tjotala created. There's no related Jira ticket as this is not user-facing code.

Closing this as the .github repo has org-wide effects, so no need to merge this into project repos.


Support the Netflix hystrix SSE heartbeat stream for Spring Retry's circuit breaker

Please support the Netflix hystrix SSE heartbeat stream for Spring Retry's circuit breaker. Would be nice if  @EnableCircuitBreaker worked here, too. While you're at it, would you please also bring in spring-boot-starter-aop by default since Spring retry doesn't by default and it's needed in common use-cases.

I'm pretty sure @dsyer took a shot at the hystrix metrix with spring retry. @EnableCircuitBreaker would be responsibility of https://github.com/spring-cloud/spring-cloud-commons/issues/21. Maybe a spring-cloud-starter-spring-retry could have the aop starter?


Mapping Pumpkin microSD user data partition

PR Overview:

Adding /home/microsd directory to point to the user data partition on the microSD card (Partition 2. Partition 1 is the upgrade partition)
Fixing post-image.sh and the buildroot configuration to be portable

Documentation:
This partition is already documented.
Integration Tests:
None

 Map microSD user partition