[Bug]: Lost of config on mains-powered devices

Checklist

[X]  I am not using Home Assistant. Or: a developer has told me to come here.
[X] I have checked the troubleshooting section and my problem is not described there.
[X] I have read the changelog and my problem is not mentioned there.

Deploy method
Docker
Z-Wave JS UI version
8.0.0
ZwaveJS version
10.2.0
Describe the bug
As recommended by Home Assistant support, I open the ticket here.
I have lost some part of the configuration after the latest Home Assistant + Z-Wave JS update, but only on all mains-powered devices.
For example a fibaro wall plug that was perfectly working now looks like this:

the vundefined is very weird. The network still seems to work, I can still receive messages and event from battery powered devices.
To Reproduce
I do not know how to describe the step to reproduce.
Expected behavior
mains-powered devices are fully configured and working!
Additional context
No response

Of course I have restart several times. I try to reinterview devices but it does not work
stastistics show only RX commands

Weirdly, some mains-powered devices such as this one can still communicate some value, for exemple the "power" is good in the UI, but not returned back to HA anyway

I have replaced the cheap USB hub I was using to connect the combee aeotec stick keys and now all devices are coming back. For some unknown reason, battery powered devices was still able to communicate fully, but mains-powered devices wasn'at able to send/receive commands, just keep receiving some of the power consumption messages. Of course associations or disassociations wasn't possible.
Now I have removed this usb hub, everything is coming back to normal !

This is interesting. Something for @AlCalzone


1.0.1 fails to compile with 1.40.0-nightly (6767d9b90 2019-10-11)

https://travis-ci.com/swc-project/node-swc/jobs/244953228#L210-L212
https://ci.appveyor.com/project/kdy1/node-swc/builds/28058332#L20

Error message:
error[E0658]: use of unstable library feature 'maybe_uninit'
 --> /Users/travis/.cargo/registry/src/github.com-1ecc6299db9ec823/ryu-1.0.1/src/buffer/mod.rs:4:5
  |
4 | use core::mem::MaybeUninit;
  |     ^^^^^^^^^^^^^^^^^^^^^^
  |
  = note: for more information, see https://github.com/rust-lang/rust/issues/53491
  = help: add #![feature(maybe_uninit)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'maybe_uninit'
  --> /Users/travis/.cargo/registry/src/github.com-1ecc6299db9ec823/ryu-1.0.1/src/buffer/mod.rs:27:13
   |
27 |     bytes: [MaybeUninit<u8>; 24],
   |             ^^^^^^^^^^^^^^^
   |
   = note: for more information, see https://github.com/rust-lang/rust/issues/53491
   = help: add #![feature(maybe_uninit)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'maybe_uninit'
  --> /Users/travis/.cargo/registry/src/github.com-1ecc6299db9ec823/ryu-1.0.1/src/buffer/mod.rs:41:30
   |
41 |         let bytes = unsafe { MaybeUninit::uninit().assume_init() };
   |                              ^^^^^^^^^^^^^^^^^^^
   |
   = note: for more information, see https://github.com/rust-lang/rust/issues/53491
   = help: add #![feature(maybe_uninit)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'maybe_uninit'
  --> /Users/travis/.cargo/registry/src/github.com-1ecc6299db9ec823/ryu-1.0.1/src/d2s.rs:24:5
   |
24 | use core::mem::MaybeUninit;
   |     ^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: for more information, see https://github.com/rust-lang/rust/issues/53491
   = help: add #![feature(maybe_uninit)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'maybe_uninit'
   --> /Users/travis/.cargo/registry/src/github.com-1ecc6299db9ec823/ryu-1.0.1/src/d2s.rs:196:43
    |
196 |     let mut vp_uninit: MaybeUninit<u64> = MaybeUninit::uninit();
    |                                           ^^^^^^^^^^^^^^^^^^^
    |
    = note: for more information, see https://github.com/rust-lang/rust/issues/53491
    = help: add #![feature(maybe_uninit)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'maybe_uninit'
   --> /Users/travis/.cargo/registry/src/github.com-1ecc6299db9ec823/ryu-1.0.1/src/d2s.rs:196:24
    |
196 |     let mut vp_uninit: MaybeUninit<u64> = MaybeUninit::uninit();
    |                        ^^^^^^^^^^^^^^^^
    |
    = note: for more information, see https://github.com/rust-lang/rust/issues/53491
    = help: add #![feature(maybe_uninit)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'maybe_uninit'
   --> /Users/travis/.cargo/registry/src/github.com-1ecc6299db9ec823/ryu-1.0.1/src/d2s.rs:198:43
    |
198 |     let mut vm_uninit: MaybeUninit<u64> = MaybeUninit::uninit();
    |                                           ^^^^^^^^^^^^^^^^^^^
    |
    = note: for more information, see https://github.com/rust-lang/rust/issues/53491
    = help: add #![feature(maybe_uninit)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'maybe_uninit'
   --> /Users/travis/.cargo/registry/src/github.com-1ecc6299db9ec823/ryu-1.0.1/src/d2s.rs:198:24
    |
198 |     let mut vm_uninit: MaybeUninit<u64> = MaybeUninit::uninit();
    |                        ^^^^^^^^^^^^^^^^
    |
    = note: for more information, see https://github.com/rust-lang/rust/issues/53491
    = help: add #![feature(maybe_uninit)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'maybe_uninit'
  --> /Users/travis/.cargo/registry/src/github.com-1ecc6299db9ec823/ryu-1.0.1/src/buffer/mod.rs:41:52
   |
41 |         let bytes = unsafe { MaybeUninit::uninit().assume_init() };
   |                                                    ^^^^^^^^^^^
   |
   = note: for more information, see https://github.com/rust-lang/rust/issues/53491
   = help: add #![feature(maybe_uninit)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'maybe_uninit'
   --> /Users/travis/.cargo/registry/src/github.com-1ecc6299db9ec823/ryu-1.0.1/src/buffer/mod.rs:100:23
    |
100 |         self.bytes[0].as_ptr()
    |                       ^^^^^^
    |
    = note: for more information, see https://github.com/rust-lang/rust/issues/53491
    = help: add #![feature(maybe_uninit)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'maybe_uninit'
   --> /Users/travis/.cargo/registry/src/github.com-1ecc6299db9ec823/ryu-1.0.1/src/buffer/mod.rs:112:23
    |
112 |         self.bytes[0].as_mut_ptr()
    |                       ^^^^^^^^^^
    |
    = note: for more information, see https://github.com/rust-lang/rust/issues/53491
    = help: add #![feature(maybe_uninit)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'maybe_uninit'
   --> /Users/travis/.cargo/registry/src/github.com-1ecc6299db9ec823/ryu-1.0.1/src/d2s.rs:222:25
    |
222 |             { vp_uninit.as_mut_ptr() },
    |                         ^^^^^^^^^^
    |
    = note: for more information, see https://github.com/rust-lang/rust/issues/53491
    = help: add #![feature(maybe_uninit)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'maybe_uninit'
   --> /Users/travis/.cargo/registry/src/github.com-1ecc6299db9ec823/ryu-1.0.1/src/d2s.rs:226:25
    |
226 |             { vm_uninit.as_mut_ptr() },
    |                         ^^^^^^^^^^
    |
    = note: for more information, see https://github.com/rust-lang/rust/issues/53491
    = help: add #![feature(maybe_uninit)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'maybe_uninit'
   --> /Users/travis/.cargo/registry/src/github.com-1ecc6299db9ec823/ryu-1.0.1/src/d2s.rs:233:37
    |
233 |             vp = unsafe { vp_uninit.assume_init() };
    |                                     ^^^^^^^^^^^
    |
    = note: for more information, see https://github.com/rust-lang/rust/issues/53491
    = help: add #![feature(maybe_uninit)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'maybe_uninit'
   --> /Users/travis/.cargo/registry/src/github.com-1ecc6299db9ec823/ryu-1.0.1/src/d2s.rs:234:37
    |
234 |             vm = unsafe { vm_uninit.assume_init() };
    |                                     ^^^^^^^^^^^
    |
    = note: for more information, see https://github.com/rust-lang/rust/issues/53491
    = help: add #![feature(maybe_uninit)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'maybe_uninit'
   --> /Users/travis/.cargo/registry/src/github.com-1ecc6299db9ec823/ryu-1.0.1/src/d2s.rs:273:25
    |
273 |             { vp_uninit.as_mut_ptr() },
    |                         ^^^^^^^^^^
    |
    = note: for more information, see https://github.com/rust-lang/rust/issues/53491
    = help: add #![feature(maybe_uninit)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'maybe_uninit'
   --> /Users/travis/.cargo/registry/src/github.com-1ecc6299db9ec823/ryu-1.0.1/src/d2s.rs:277:25
    |
277 |             { vm_uninit.as_mut_ptr() },
    |                         ^^^^^^^^^^
    |
    = note: for more information, see https://github.com/rust-lang/rust/issues/53491
    = help: add #![feature(maybe_uninit)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'maybe_uninit'
   --> /Users/travis/.cargo/registry/src/github.com-1ecc6299db9ec823/ryu-1.0.1/src/d2s.rs:284:37
    |
284 |             vp = unsafe { vp_uninit.assume_init() };
    |                                     ^^^^^^^^^^^
    |
    = note: for more information, see https://github.com/rust-lang/rust/issues/53491
    = help: add #![feature(maybe_uninit)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'maybe_uninit'
   --> /Users/travis/.cargo/registry/src/github.com-1ecc6299db9ec823/ryu-1.0.1/src/d2s.rs:285:37
    |
285 |             vm = unsafe { vm_uninit.assume_init() };
    |                                     ^^^^^^^^^^^
    |
    = note: for more information, see https://github.com/rust-lang/rust/issues/53491
    = help: add #![feature(maybe_uninit)] to the crate attributes to enable

That error is not from 1.40.0-nightly, since MaybeUninit was stabilized in Rust 1.36.0.
$ rustup update nightly-2019-10-12

$ rustc +nightly-2019-10-12 --version
rustc 1.40.0-nightly (6767d9b90 2019-10-11)

$ cargo +nightly-2019-10-12 build
   Compiling ryu v1.0.1 (/git/ryu)
    Finished dev [unoptimized + debuginfo] target(s) in 0.58s

If it's from an older nightly -- we don't support old nightlies in general. With nightly the expectation is that you are upgrading the compiler every night if you are pulling in library updates.


Can this script query a nested JSON?

Hi, I'm having trouble querying all the columns in a nested JSON. Is it possible to get all the results for a json like the one below in line with the rest of the data?
    "surveyResults":[{
            "entityName":"Cabin",
            "entityId":5290,
            "organizationId":6582,
            "surveyName":"Post Stay Survey 1",
            "surveyId":22881,
            "userName":"Jet",
            "userPhoneNumber":null,
            "surveyQuestion":[{
                        "questionText":"Q.1.How likely are you to recommend this cabin to your friends?",
                        "answer":"9"},
                        {"questionText":"Q.2.I met new people during my stay",
                        "answer":"Somewhat Agree "},
                        {"questionText":"Q.3.What room type did you stay in?",
                        "answer":"Glamping or Tepee"....

By the way, thanks for the help in advance.

Just to clarify - what is the result you expect to see when querying this json data?

thanks for getting back to me, I figured it out :)
I was getting all the columns, but only the first question and answer... so I changed the query to something like this: questionText^.^.^.entityName,questionText^.^.^.entityId...  etc. ,questionText,
answer.
I also managed to run it as a script rather than a custom function because it was timing out.
Thanks a lot for creating this :)


Consider using EnvironmentPostProcessor instead of the bootstrap context to add property sources

If that were the case, would this project even need to exist?

I didn't find a compelling reason yet to keep the project in the form it exists (see https://github.com/spring-projects/spring-boot/issues/8779). I see two things that play into this decision:

Credential rotation (requesting new credential after the previous expired) requires some instrumentation of existing components (i.e. proxying a JDBC data source/MongoDB client/Cassandra client to route calls to the instance with the active credentials, configuring the appropriate AWS credential provider) and that code has to live somewhere
The current form of just specifying properties and that's it is well received. Integrating these parts into Boot directly (see https://github.com/spring-projects/spring-boot/issues/8779) might affect the velocity of integrating changes.

I'm confused as to why move this to boot? It hasn't traditionally done this sort of thing?

If this is being considered, I'd like it to be known before dalston. I don't see why we'd release a new project only to remove it later. @dsyer @dussab @wilkinsona

Maybe I assumed too much from your first response. It sounded a bit as if it would head towards a similar direction.
I chatted with Andy today about Vault and he pointed out EnvironmentPostProcessor. We got to the point that it could make sense to integrate Spring Vault in Boot 2.0 directly but it's not something I'm sure about for now.

I struggle to see how moving part of this to boot would be beneficial.

It's not dependent on a move to Boot, but I think that avoiding a context hierarchy is beneficial.

I'm confused as to why move this to boot? It hasn't traditionally done this sort of thing?

Spring Vault is a non-Cloud Spring project. Providing auto-configuration for it is a perfect fit for Boot. we'd just need to figure out what that would mean for this project

This project doesn't depend on Spring Vault.

Well now I'm confused. I got the impression from @mp911de earlier today that there was definitely a connection

No, I didn't remember correctly. It was removing of vault client that I was thinking of.

So moving spring-vault autoconfiguration to boot makes sense.

Thanks for all the comments and clarifications.

So, back to the original issue, I don't think we would want to move away from using the bootstrap context, as this project would become a snowflake compared to s-c-config client, s-c-consul & s-c-zookeeper. Bootstrap also gives us the refresh scope which we see as potentially useful for credential rotation.

Spring Cloud Vault does depend on Spring Vault. We cut the dependency to Spring Vault for Spring Cloud Config server.

Thanks for the reminder. I missed refresh scope entirely. In that case and to not cause a snowflake project I'm going to close this issue.


doc: add envtest setup info  (0.19.x)

Description of the change:

Add steps to configure env test and allow users to follow up the common steps.

Motivation for the change:
Without this info, users are unable to run docker-build. They will face an issue because is missing the binaries that are shipped with kb. Related to: https://github.com/operator-framework/operator-sdk/pull/3510 and to close the issue #3461
Checklist
If the pull request includes user-facing changes, extra documentation is required:

[ ] Add a new changelog fragment in changelog/fragments (see changelog/fragments/00-template.yaml)
[ ] Add or update relevant sections of the docs website in website/content/en/docs

I was looking for this info :) Can you provide any references or more examples of working with sigs.k8s.io/controller-runtime/pkg/envtest?

Hi @jsanda,
The changes in the doc here just address how to set up it. However, see that it has a link for https://book.kubebuilder.io/reference/writing-tests.html where you can find additional info. Also, if you have additional requirements as well,  could you please raise an issue in the repo?

it is blocked by : https://github.com/operator-framework/operator-sdk/pull/3510
/blocked


Downloaded folder can't be located

I'm trying to run TimesNet on the weather dataset following the instructions in the Readme file.
After run ./scripts/long_term_forecast/Weather_script/TimesNet.sh the bash informs No such file or directory: './dataset/weather/weather.csv'
I have downloaded the dataset from the link provided, and put it initially in the root. I then tried to put it in other folders, but it seems unable to be located.
Please, let me know what I'm doing wrong. I'm excited to try the library with my own datasets.
Thank you!

Please, disconsider my question. I already solved it. Turns out a simple os updating fixed inconsistencies in the terminal and the bash.


Polldata gets corrupted

2020-01-06 06:38:08 info: tf2-automatic v2.5.0 is starting...
2020-01-06 06:38:08 error: tf2-automatic crashed! Please create an issue with the following log:
package.version: 2.5.0; node: v10.18.0 linux x64}
Stack trace:
SyntaxError: Unexpected number in JSON at position 82318
at JSON.parse ()
at /root/Waflson/app/utils/files.js:38:27
at /root/Waflson/node_modules/graceful-fs/graceful-fs.js:115:16
at FSReqWrap.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:53:3)
2020-01-06 06:38:08 error: Create an issue here: https://github.com/Nicklason/bot-framework/issues/new
2020-01-06 06:38:08 warn: Exiting...

might not be related but here is the error before the corruption.
TypeError: Cannot read property 'our' of undefined
at TradeOffer.module.exports [as summarize] (/root/Waflson/app/utils/offer/summarize.js:14:68)
at /root/Waflson/app/handler/trades.js:759:64
at /root/Waflson/app/utils/isBanned.js:17:16
at err (/root/Waflson/node_modules/async/dist/async.js:2959:19)
at wrapper (/root/Waflson/node_modules/async/dist/async.js:272:20)
at iterateeCallback (/root/Waflson/node_modules/async/dist/async.js:425:28)
at /root/Waflson/node_modules/async/dist/async.js:325:20
at result (/root/Waflson/node_modules/async/dist/async.js:2957:17)
at Request. (/root/Waflson/app/utils/isBanned.js:54:16)
at Request._callback (/root/Waflson/node_modules/lodash/lodash.js:10050:25

The error has been fixed, hopefully this fixes the polldata corruption.


"Well this is embarrassing." Bug in custom example

Currently the custom example simply displays "Well this is embarrassing." when you click on the Layout->Style Panel.

Quick fix is merged :)


Admin user role changed to authenticated after email verified

After registering the first user which is an admin role, the user receives a verification email, after verifying, the user's role changes from admin to authenticated.

need to change to email verification logic, check if the user is admin or not, only none admin user change the role to authenticated


Bubbleprof v.6.0.0 interactivity broken

Using Bubbleprof v6.0.0 I am unable to drill down into any bubbles, it's essentially a static image. In the browser console (Chrome and Firefox), there are errors thrown when clicking any bubble. The problem seemed to be with d3 and there was a PR merged yesterday https://github.com/clinicjs/node-clinic-bubbleprof/pull/375 that upgraded D3 to a different major version.
This is in Chrome:
Uncaught TypeError: Cannot read property 'x' of undefined
    at module.exports.nodeLinkPosition (15507.clinic-bubbleprof.html:1980)
    at module.exports.nodeLinkDraw (15507.clinic-bubbleprof.html:1980)
    at module.exports.draw (15507.clinic-bubbleprof.html:1980)
    at module.exports.changeVisibility (15507.clinic-bubbleprof.html:1980)
    at BubbleprofUI.<anonymous> (15507.clinic-bubbleprof.html:1980)
    at BubbleprofUI.EventEmitter.emit (15507.clinic-bubbleprof.html:1980)
    at BubbleprofUI.highlightNode (15507.clinic-bubbleprof.html:1980)
    at SVGGElement.<anonymous> (15507.clinic-bubbleprof.html:1980)
    at SVGGElement.<anonymous> (15507.clinic-bubbleprof.html:1980)
nodeLinkPosition @ 15507.clinic-bubbleprof.html:1980
nodeLinkDraw @ 15507.clinic-bubbleprof.html:1980
draw @ 15507.clinic-bubbleprof.html:1980
changeVisibility @ 15507.clinic-bubbleprof.html:1980
(anonymous) @ 15507.clinic-bubbleprof.html:1980
EventEmitter.emit @ 15507.clinic-bubbleprof.html:1980
highlightNode @ 15507.clinic-bubbleprof.html:1980
(anonymous) @ 15507.clinic-bubbleprof.html:1980
(anonymous) @ 15507.clinic-bubbleprof.html:1980

This is in Firefox:
Uncaught TypeError: nodePosition is undefined
    nodeLinkPosition file:///Users/mike/projects/node-clinic-bubbleprof-demo/.clinic/15507.clinic-bubbleprof.html:1980
    nodeLinkDraw file:///Users/mike/projects/node-clinic-bubbleprof-demo/.clinic/15507.clinic-bubbleprof.html:1980
    draw file:///Users/mike/projects/node-clinic-bubbleprof-demo/.clinic/15507.clinic-bubbleprof.html:1980
    changeVisibility file:///Users/mike/projects/node-clinic-bubbleprof-demo/.clinic/15507.clinic-bubbleprof.html:1980
    nodeLinkElements file:///Users/mike/projects/node-clinic-bubbleprof-demo/.clinic/15507.clinic-bubbleprof.html:1980
    emit file:///Users/mike/projects/node-clinic-bubbleprof-demo/.clinic/15507.clinic-bubbleprof.html:1980
    highlightNode file:///Users/mike/projects/node-clinic-bubbleprof-demo/.clinic/15507.clinic-bubbleprof.html:1980
    d3NodeGroups file:///Users/mike/projects/node-clinic-bubbleprof-demo/.clinic/15507.clinic-bubbleprof.html:1980
    listener file:///Users/mike/projects/node-clinic-bubbleprof-demo/.clinic/15507.clinic-bubbleprof.html:1980
    onAdd file:///Users/mike/projects/node-clinic-bubbleprof-demo/.clinic/15507.clinic-bubbleprof.html:1980
    each file:///Users/mike/projects/node-clinic-bubbleprof-demo/.clinic/15507.clinic-bubbleprof.html:1980
    on file:///Users/mike/projects/node-clinic-bubbleprof-demo/.clinic/15507.clinic-bubbleprof.html:1980
    initializeFromData file:///Users/mike/projects/node-clinic-bubbleprof-demo/.clinic/15507.clinic-bubbleprof.html:1980
    <anonymous> file:///Users/mike/projects/node-clinic-bubbleprof-demo/.clinic/15507.clinic-bubbleprof.html:1980
    emit file:///Users/mike/projects/node-clinic-bubbleprof-demo/.clinic/15507.clinic-bubbleprof.html:1980
    setData file:///Users/mike/projects/node-clinic-bubbleprof-demo/.clinic/15507.clinic-bubbleprof.html:1980
    [33]</</< file:///Users/mike/projects/node-clinic-bubbleprof-demo/.clinic/15507.clinic-bubbleprof.html:1980
    setTimeout handler*[33]</< file:///Users/mike/projects/node-clinic-bubbleprof-demo/.clinic/15507.clinic-bubbleprof.html:1980
    [33]< file:///Users/mike/projects/node-clinic-bubbleprof-demo/.clinic/15507.clinic-bubbleprof.html:1980
    o file:///Users/mike/projects/node-clinic-bubbleprof-demo/.clinic/15507.clinic-bubbleprof.html:1980
    r file:///Users/mike/projects/node-clinic-bubbleprof-demo/.clinic/15507.clinic-bubbleprof.html:1980
    <anonymous> file:///Users/mike/projects/node-clinic-bubbleprof-demo/.clinic/15507.clinic-bubbleprof.html:1980

On the Clinic public uploads page, there are bubble charts that use Bubbleprof v5.0.0 that seem to work fine. I tried to clinic upload the results, but the upload command just shows the help menu

Looks like the reason clinic upload didn't work was because of this https://github.com/clinicjs/node-clinic/commit/99269cc567f2f0b3330bf83b53e4211c7b486e84
The docs changes must not have propagated to the website yet 🤔

Yeah the website has not been updated yet.

I'll take a look at the bubbleprof error later on this afternoon.

Seems to work again after revert. Thanks @jasnell enjoy the holiday


Feature Guide - Code Splitting

Stub.
Feel free to comment here if you have ideas on what this guide should cover. Link to potential resources too.

Based on my experience with code splitting for different single page and multi page apps, here's an idea on how it can be structured to be more applicable to a developer looking for info on code splitting (and the different types and reasons).
Note: Is CommonChunkPlugin or the vendor chunk concept something that belongs with code splitting, or is this more specific to the concept of on-demand chunks and require.ensure/System.import?
Potential Outline

Reasons for code splitting

On-demand routing for Single Page Apps
Improved development build times (only building changed chunks)
Aggressive cacheability of long-lived/shared code (common/vendor chunk)

On-demand chunks

specific reasons/benefits (on-demand routing, complex/infrequent logic, authentication security)
how to create one

note that this happens in the source not in webpack configs

examples

System.import example
require.ensure example
any other examples?
live examples with available source code?
show example network requests to convey the real concept? gif/video?

Improving development build times (is this a thing?)

some build time results with/without code splitting in dev mode when changing a file

Vendor/commons chunking

vendor vs commons chunk

when to use each / both

explicitly including vendor code (vendor chunk)

how to know what to include (generated chunk logs)
example config and chunk output

automatically including common code (commons chunk)

example config and chunk output
configuration / tuning

Great outline and ideas! Thanks.
I can see there are bits like Improving development build times (is this a thing?) that could easily become little articles of their own.
I've been prototyping an enhanced structure that would handle that through a "how to" style miniguide. In that structure this issue would map as "how to split code". Perhaps "how to load code on demand" would be another good split. Doing this would keep the articles short and focused.

Note: Is CommonChunkPlugin or the vendor chunk concept something that belongs with code splitting, or is this more specific to the concept of on-demand chunks and require.ensure/System.import?

It would be good to cover here as it comes up with vendor/commons chunking. That's how I do it in my book.

@bendman - How about info on ExtractTextPlugin here? It collects all the css chunks and puts them into a single file right?

@pksjce I feel like that should be linked to from code-splitting, but maybe discussed in detail on its own page or section with plugins.  What about briefly discussing it here along the lines of "Code Splitting Non-JS Sources".


warn the user if the api key is not set yet

Otherwise the user is left to wonder why the completions are not showing up (could have multiple reasons)


Tooltip windows are redrawn when clicked

Hi
I'm using the new IAsync* QuickInfo API. Thanks for the help in here.
I'm not sure where to ask for help on this issue: my tooltip windows are redrawn when UserControls are clicked.

Minimal code can be found here. This behavior can also be observed with the older QuickInfo API.
Questions: would this be the place to ask this question. How to prevent that the tooltip is redrawn, or how to debug this.

@HJLebbink can you share a repro project?

@gundermanc It can be found in https://github.com/HJLebbink/vsix-bug-quickinfosession

Great, thanks! I'll take a look soon.

@gundermanc If you need any help, let me know

I've Asked this question on msdn:
https://social.msdn.microsoft.com/Forums/en-US/d0683090-0a81-46c7-9c52-2c4abf1aba31/trying-to-debug-popup-behavior?forum=vsx

I have a question about quickInfo tooltips with content that implement IInteractiveQuickInfoContent (See https://github.com/HJLebbink/vsix-bug-quickinfosession). The bug of the jumping quickInfo content (see gif above) only occurs when the tooltip is resized, trigging the tooltip to be redrawn at the current mouse position.
Question: Is this behavior supposed to be like this, or is it a bug?


[AGE-162] Add instrumentation for OpenAI

We would like instrumentation for the OpenAI library. First we need to assess the different options. I see the following implementation patterns:

Monkey patching (I think baserun do that)
Providing another implementation (Langfuse and helicone do that)
Providing a wrapper (Langsmith does that)

From SyncLinear.com | AGE-162

Solution used in Logfire:
import openai
import logfire

client = openai.Client()

logfire.instrument_openai(client)

response = client.chat.completions.create(
    model='gpt-4',
    messages=[
        {'role': 'system', 'content': 'You are a helpful assistant.'},
        {'role': 'user', 'content': 'Please write me a limerick about Python logging.'},
    ],
)
print(response.choices[0].message)

@jp @abram Cancelled for now, we first need to determine the cost and tradeoffs of implementing Otel (and getting all the integrations for free).


Timeout setting config values in tests

module 'couchdb_os_daemons_tests'

  OS Daemons tests

    couchdb_os_daemons_tests:116: should_check_daemon...ok

    couchdb_os_daemons_tests:122: should_check_daemon_table_form...ok

    couchdb_os_daemons_tests:129: should_clean_tables_on_daemon_remove...[0.015 s] ok

    couchdb_os_daemons_tests:136: should_spawn_multiple_daemons...[0.137 s] ok

    couchdb_os_daemons_tests:153: should_keep_alive_one_daemon_on_killing_other...[0.227 s] ok

    [done in 2.781 s]

  OS Daemon requests CouchDB configuration

    *** context setup failed ***

**in function gen_server:call/2 (gen_server.erl, line 180)

in call from couchdb_os_daemons_tests:setup/1 (test/couchdb_os_daemons_tests.erl, line 55)

**exit:{timeout,{gen_server,call,

                     [config,

                      {set,"os_daemon_settings","max_retries","2",true,nil}]}}

  OS Daemon process error tests

https://travis-ci.org/apache/couchdb/jobs/255828929
No logs uploaded:
COUCHAUTH credentials unavailable! Unable to upload logfiles.

Weird that the config:set call there persists to disk, and we never revert that setting. We shouldn't need to write to disk at this point.
https://github.com/apache/couchdb/commit/789f75dcfc00cdf1d807edac59f90f705c94a4ae says this is new as of 7 days ago, and since we've never seen this failure before, I'll add the false and issue a PR.


squid:S2065, squid:S1488 - Fields in non-serializable classes should …

This pull request is focused on resolving occurrences of Sonar rule squid:S2065, squid:S1125 - Fields in non-serializable classes should not be "transient", Local Variables should not be declared and then immediately returned or thrown
You can find more information about the issue here:
https://dev.eclipse.org/sonar/coding_rules#q=squid:S2065
https://dev.eclipse.org/sonar/coding_rules#q=squid:S1488
Please let me know if you have any questions.
M-Ezzat

Can't merge this. The transient is needed for XStream2 deserialization.


Possible typo in udev files

[jtonello] A user is attempting to get the balena-dash to read from an attached USB, but he's getting errors. Is it possible that the /usr/src/app~/ path is a typo in photos/udev/usb.rules and photos/udev/copy.sh?

[jtonello] This issue has attached support thread https://jel.ly.fish/#/8ba7d3a0-47ae-4561-9789-90a2f8704091

Fix in branch fix-photos-container, however there is still an error: the udev rule expects copy.sh to be in /usr/src/app~/udev/copy.sh but the Dockerfile copies it to /usr/src/app/udev/copy.sh.
I'll fix and test this soon.


Report size is too big, is there a way to summarize it?

Hello, first and foremost thanks a lot for the tool 🙏
In the project I work on the report is always way bigger than GitHub's limit. Constantly leading to failures and reports that are incomplete and not so actionable besides the annotations. Example:
$GITHUB_STEP_SUMMARY upload aborted, supports content up to a size of 1024k, got 8815k. For more information see https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-markdown-summary

The project is very modular, with 100+ modules and 8k+ unit tests, and due to the size of it the resulting test report only has a few modules shown.
I already limited as much as possible the output, by setting both show-passed-tests and show-code-coverage to false 👇 , but it's still quite over the limit
with:
  title: Test results
  show-passed-tests: false
  upload-bundles: never
  path: ./fastlane/test_output/Some-Workspace-merged.xcresult
  token: ***
  show-code-coverage: false

Question
Would you/or anybody that uses it be interested in a summarized report? That could be useful for similar large scale projects.
My suggestion would be to simplify the "Test Summary" section to do not list all test classes but rather the amount of successes and failures in the module level and potentially hide the Test Details section.
Example
SomeTestTarget

// device and SDK info also repeats often if using the same across the whole test suite, perhaps there could be an option to
// hide it or have a single entry for it when showing a summarized version of the report
Device: iPhone 14, 16.4 (20E247)
SDK: Simulator - iOS 16.4, 16.4

Total Success Failure Skipped Expected Failure Total time
340   337     2	      1	       0                2s

Similar issues
This may potentially be a duplication of https://github.com/kishikawakatsumi/xcresulttool/issues/145

I want to hide "details" and "summary", because I only care about code coverage.


Radarr issue

Hello,
seems I'm getting an issue if i try to run Radarr with a different PUID/PGID.
I'm running Radarr in a k8s cluster
/entrypoint.sh: line 26: /config/config.xml: Permission denied
[Info] Bootstrap: Starting Radarr - /app/bin/Radarr - Version <IP_ADDRESS>27
[Info] AppFolderInfo: Data directory is being overridden to [/config]
[Debug] Bootstrap: Console selected
[Info] AppFolderInfo: Data directory is being overridden to [/config]
[Info] AppFolderInfo: Data directory is being overridden to [/config]
[Error] Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingProvider: An error occurred while reading the key ring.

[v<IP_ADDRESS>27] System.UnauthorizedAccessException: Access to the path '/config/asp' is denied.
 ---> System.IO.IOException: Permission denied
   --- End of inner exception stack trace ---
   at System.IO.FileSystem.CreateDirectory(String fullPath)
   at System.IO.DirectoryInfo.Create()
   at Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository.GetAllElementsCore()+MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository.GetAllElements()
   at Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager.GetAllKeys()
   at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingProvider.CreateCacheableKeyRingCore(DateTimeOffset now, IKey keyJustAdded)
   at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingProvider.Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.ICacheableKeyRingProvider.GetCacheableKeyRing(DateTimeOffset now)
   at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingProvider.GetCurrentKeyRingCore(DateTime utcNow, Boolean forceRefresh)

[Trace] DiskProviderBase: Directory '/config' isn't writable. Access to the path '/config/radarr_write_test.txt' is denied.
[Fatal] Microsoft.AspNetCore.Hosting.Diagnostics: Application startup exception

[v<IP_ADDRESS>27] NzbDrone.Common.Exceptions.RadarrStartupException: Radarr failed to start: AppFolder /config is not writable
   at NzbDrone.Common.EnvironmentInfo.AppFolderFactory.Register() in ./Radarr.Common/EnvironmentInfo/AppFolderFactory.cs:line 56
   at NzbDrone.Host.Startup.Configure(IApplicationBuilder app, IStartupContext startupContext, Lazy`1 mainDatabaseFactory, Lazy`1 logDatabaseFactory, DatabaseTarget dbTarget, ISingleInstancePolicy singleInstancePolicy, InitializeLogger initializeLogger, ReconfigureLogging reconfigureLogging, IAppFolderFactory appFolderFactory, IProvidePidFile pidFileProvider, IConfigFileProvider configFileProvider, IRuntimeInfo runtimeInfo, IFirewallAdapter firewallAdapter, IEventAggregator eventAggregator, RadarrErrorPipeline errorHandler) in ./Radarr.Host/Startup.cs:line 226
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Span`1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at Microsoft.AspNetCore.Hosting.ConfigureBuilder.Invoke(Object instance, IApplicationBuilder builder)
   at Microsoft.AspNetCore.Hosting.ConfigureBuilder.<>c__DisplayClass4_0.<Build>b__0(IApplicationBuilder builder)
   at Microsoft.AspNetCore.Hosting.GenericWebHostBuilder.<>c__DisplayClass15_0.<UseStartup>b__1(IApplicationBuilder app)
   at Microsoft.AspNetCore.Mvc.Filters.MiddlewareFilterBuilderStartupFilter.<>c__DisplayClass0_0.<Configure>g__MiddlewareFilterBuilder|0(IApplicationBuilder builder)
   at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)

[Fatal] ConsoleApp: EPIC FAIL!

[v<IP_ADDRESS>27] NzbDrone.Common.Exceptions.RadarrStartupException: Radarr failed to start: AppFolder /config is not writable
   at NzbDrone.Common.EnvironmentInfo.AppFolderFactory.Register() in ./Radarr.Common/EnvironmentInfo/AppFolderFactory.cs:line 56
   at NzbDrone.Host.Startup.Configure(IApplicationBuilder app, IStartupContext startupContext, Lazy`1 mainDatabaseFactory, Lazy`1 logDatabaseFactory, DatabaseTarget dbTarget, ISingleInstancePolicy singleInstancePolicy, InitializeLogger initializeLogger, ReconfigureLogging reconfigureLogging, IAppFolderFactory appFolderFactory, IProvidePidFile pidFileProvider, IConfigFileProvider configFileProvider, IRuntimeInfo runtimeInfo, IFirewallAdapter firewallAdapter, IEventAggregator eventAggregator, RadarrErrorPipeline errorHandler) in ./Radarr.Host/Startup.cs:line 226
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Span`1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at Microsoft.AspNetCore.Hosting.ConfigureBuilder.Invoke(Object instance, IApplicationBuilder builder)
   at Microsoft.AspNetCore.Hosting.ConfigureBuilder.<>c__DisplayClass4_0.<Build>b__0(IApplicationBuilder builder)
   at Microsoft.AspNetCore.Hosting.GenericWebHostBuilder.<>c__DisplayClass15_0.<UseStartup>b__1(IApplicationBuilder app)
   at Microsoft.AspNetCore.Mvc.Filters.MiddlewareFilterBuilderStartupFilter.<>c__DisplayClass0_0.<Configure>g__MiddlewareFilterBuilder|0(IApplicationBuilder builder)
   at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
   at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
   at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
   at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
   at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.Run(IHost host)
   at NzbDrone.Host.Bootstrap.Start(String[] args, Action`1 trayCallback) in ./Radarr.Host/Bootstrap.cs:line 78
   at NzbDrone.Console.ConsoleApp.Main(String[] args) in ./Radarr.Console/ConsoleApp.cs:line 43

Press enter to exit...
Non-recoverable failure, waiting for user intervention...

My deployment yaml file
apiVersion: apps/v1
kind: StatefulSet
metadata:
  name: radarr
  namespace: media
  labels:
    app: radarr

spec:
  selector:
    matchLabels:
      app: radarr
  serviceName: radarr
  replicas: 1
  template:
    metadata:
      labels:
        app: radarr

    spec:
      securityContext:
          runAsUser: 1030
          runAsGroup: 100
      containers:
      - name: radarr
        #image: ghcr.io/onedr0p/radarr:<IP_ADDRESS>27
        imagePullPolicy: Always
        ports:
        - containerPort: 7878
          name: tcp
        volumeMounts:
        - mountPath: /config
          name: radarr

        env:
        - name: TZ
          value: Europe/London
        - name: PUID
          value: "1030"
        - name: PGID
          value: "100"

      volumes:
      - name: radarr
        persistentVolumeClaim:
          claimName: radarr

securityContext:
        fsGroup: 100
        fsGroupChangePolicy: OnRootMismatch
        runAsGroup: 100
        runAsUser: 1030

Try using this config for the security context

Also those PGID and PUID env vars don't do anything, you can remove them


Field names inconsistent with docker-compose

A couple field names were wrong

I need to add tests before this can be merged.

Updated PR to add some tests
@aduermael @gdevillele

LGTM

LGTM


'Simplified parameter set' approach does not create a public IP for the new VM

Under section 'Your own gallery' it says:

You can use the simplified parameter set to quickly create a VM from an image. The simplified parameter set uses the VM name to automatically create some of the required resources, like vNet and public IP address, for you.

When the New-AzVM command from the accompanying PowerShell code sampe is run, it does not create a public IP.
(Also, the code as shown is missing a backtick on the line where the -Image option is located.)
At the same time, the detailed full-parameter-set approach is not necessary either.  You don't need to individually create the network pieces ahead of time.  Simply naming them in the New-AzVM command is sufficient.  If the named resource does not exist, New-AzVM will create the missing resource.
HTH.

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

ID: c95cf419-74ae-f6d1-5c3e-01f988fdd9c4
Version Independent ID: 6dfe7480-2c45-2be9-3f3d-8ee97f62cc62
Content: Create a VM from a generalized image in a gallery - Azure Virtual Machines
Content Source: articles/virtual-machines/vm-generalized-image-version.md
Service: virtual-machines
Sub-service: gallery
GitHub Login: @sandeepraichura
Microsoft Alias: saraic

@sabuncumurat
Thanks for bringing this to our attention. I'm going to assign this to the document author so they can take a look at it accordingly.

Thanks for your contribution to our documentation
We are moving to a new user feedback system. As part of that effort, we are creating a content request in our backlog to address this gap and are closing this GitHub issue. The updated content will be published shortly.

Please continue to provide feedback about the documentation. We appreciate your contributions to our community.
#please-close


not found the symbold.zip of  the lates version (241c87ad800beeab545ab867354d4683d5bfb6ce) at stable branch

I can't find the symbol.zip of libflutter.so at https://console.cloud.google.com/storage/browser/flutter_infra/flutter/241c87ad800beeab545ab867354d4683d5bfb6ce;tab=objects?prefix=&forceOnObjectsSortingFiltering=false

@JamesChenGithub you may want to use the new bucket https://console.cloud.google.com/storage/browser/flutter_infra/flutter/
Where did you get the link from? was it from the web page?

Please reopen if the problem persists.


Synctrayzor crash after wakeup from sleep, persists when trying to re launch.

System.Exception: Unable to find Syncthing at path F:\Syncthing\SyncTrayzorPortable-x64\syncthing.exe
at SyncTrayzor.SyncThing.SyncThingProcessRunner.Start() in c:\Users\Antony\Documents\projects\SyncTrayzor\src\SyncTrayzor\SyncThing\SyncThingProcessRunner.cs:line 94
at SyncTrayzor.SyncThing.SyncThingManager.d__14.MoveNext() in c:\Users\Antony\Documents\projects\SyncTrayzor\src\SyncTrayzor\SyncThing\SyncThingManager.cs:line 178
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at SyncTrayzor.Utils.SafeSyncthingExtensions.d__0.MoveNext() in c:\Users\Antony\Documents\projects\SyncTrayzor\src\SyncTrayzor\Utils\SafeSyncthingExtensions.cs:line 20
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at SyncTrayzor.Pages.ShellViewModel.d__10.MoveNext() in c:\Users\Antony\Documents\projects\SyncTrayzor\src\SyncTrayzor\Pages\ShellViewModel.cs:line 85
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.b__4(Object state)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

The syncthing.exe really isn't there. It exists one dir up but that might be cause I unpacked synctrayzor inside the syncthing dir (so that might be the old syncthing.exe). I am using the "custom home" for the syncthing files.
What looks weird for me it's that it's quoting the location of what looks like your files?
Restarting synctrayzor throws the same error.
There is no syncthing process still running.
LOG:

2015-05-25 12:28:13.0115 [Debug] SyncTrayzor.SyncThing.SyncThingManager: Request to set state: Stopped -> Starting
2015-05-25 12:28:13.0366 [Debug] SyncTrayzor.SyncThing.SyncThingManager: Setting state: Stopped -> Starting
2015-05-25 12:28:13.0366 [Info] SyncTrayzor.SyncThing.SyncThingProcessRunner: Starting syncthing: F:\Syncthing\SyncTrayzorPortable-x64\syncthing.exe
2015-05-25 12:28:13.3366 [Error] SyncTrayzor.Bootstrapper: An unhandled exception occurred System.Exception Unable to find Syncthing at path F:\Syncthing\SyncTrayzorPortable-x64\syncthing.exe Void Start()    at SyncTrayzor.SyncThing.SyncThingProcessRunner.Start() in c:\Users\Antony\Documents\projects\SyncTrayzor\src\SyncTrayzor\SyncThing\SyncThingProcessRunner.cs:line 94
at SyncTrayzor.SyncThing.SyncThingManager.d__14.MoveNext() in c:\Users\Antony\Documents\projects\SyncTrayzor\src\SyncTrayzor\SyncThing\SyncThingManager.cs:line 178
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at SyncTrayzor.Utils.SafeSyncthingExtensions.d__0.MoveNext() in c:\Users\Antony\Documents\projects\SyncTrayzor\src\SyncTrayzor\Utils\SafeSyncthingExtensions.cs:line 20
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at SyncTrayzor.Pages.ShellViewModel.d__10.MoveNext() in c:\Users\Antony\Documents\projects\SyncTrayzor\src\SyncTrayzor\Pages\ShellViewModel.cs:line 85
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.b__4(Object state)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler) System.Exception: Unable to find Syncthing at path F:\Syncthing\SyncTrayzorPortable-x64\syncthing.exe
at SyncTrayzor.SyncThing.SyncThingProcessRunner.Start() in c:\Users\Antony\Documents\projects\SyncTrayzor\src\SyncTrayzor\SyncThing\SyncThingProcessRunner.cs:line 94
at SyncTrayzor.SyncThing.SyncThingManager.d__14.MoveNext() in c:\Users\Antony\Documents\projects\SyncTrayzor\src\SyncTrayzor\SyncThing\SyncThingManager.cs:line 178
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at SyncTrayzor.Utils.SafeSyncthingExtensions.d__0.MoveNext() in c:\Users\Antony\Documents\projects\SyncTrayzor\src\SyncTrayzor\Utils\SafeSyncthingExtensions.cs:line 20
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at SyncTrayzor.Pages.ShellViewModel.d__10.MoveNext() in c:\Users\Antony\Documents\projects\SyncTrayzor\src\SyncTrayzor\Pages\ShellViewModel.cs:line 85
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.b__4(Object state)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
2015-05-25 12:28:13.4166 [Debug] SyncTrayzor.Services.UpdateManagement.UpdateNotificationClient: Fetched updates response: <UpdateNotificationResponse data= error=>
2015-05-25 12:28:13.4166 [Info] SyncTrayzor.Services.UpdateManagement.UpdateChecker: No updates available

Cheers

So SyncTrayzor.exe exists in F:\Syncthing\SyncTrayzorPortable-x64, but syncthing.exe doesn't? If so, that means you must have deleted syncthing.exe from that location, since it's included there in the portable zip.
SyncTrayzor won't work if you delete files included in its zip.
It's normal for stack traces to include the locations of files as they were when the project was built.

I know stuff like that is usually human error but I am pretty sure I didn't delete it. It was running fine past days without me accessing said dir and after waking up the pc today the problem appeared.
I used one of the backups so it's running but it's weird. Checked AV incase it somehow decided it was the enemy of all mankind and quarantined it but nope.
Guess close the ticket until (if) it happens again?

Maybe a syncthing upgrade broke it? If the restored-from-backup syncthing.exe wants to auto-upgrade, let it, and see if that reproduces the issue.

that's what ones of the things I checked. The backup is the latest version.

In that case I'd be inclined to agree with you and suspect some over-ebthusiastic anti-malware program.
Let's see if it happens again. Leave the issue open: I'll put a better error message in for this scenario.

Alright, will do thanks!
ps: Unless my AV settings changed it doesn't straight delete files it quarantines them and if I am not mistaken it also notifies / prompts me.

Weird. SyncTrayzor will never delete that file on its own, and it does require it, so something external must have happened.

Just in case: AV quarantining typically does delete the file from disk. Also check you don't have more than one AV running

Yea but it would list it in the quarantine list / logs. And ofcourse not running 2 AVs :P

If you use 360 Total Security and the 32-bit version of Syncthing it normally detects it as a virus, as it does with any 32-bit Go application I've tested... I have reported it to them and seems to be fixed in the latest version so if you use that try updating.

Thx but I guess what I said above would still happen: there would (should) be some kinda of entry on the logs.
Using Avast btw.

I'm assuming that this hasn't re-appeared?
I've got a better error message in there now, so I'll close this. Feel free to re-open if the issue re-appears.


1 easter egg and spruced up contributers page; addresses #571

For some reason a lot of the nav links were broken for me so I fixed them.
Added an easter egg on index page :)
Spruced up the Contributers page to make it look sort of nicer.  I'm super great with colors but Pfft.

Seems to be a merge conflict, probably because we merge a lot of pull requests :) I'll happily
merge this one aswell if you have time fixing it :)

Oh sure... I'll take a look and see what I can do to clean it up.

I think I'm set... it said to "Commit merge"  so.. I did LOL... everything is clean (I hope!).


BUG - Permissions error when re-building container

We experience an error when attempting to update the running prod contianers.
When rebuilding the zorak_bot container from a new image, the container does not have permissions to read from the existing mongo container.
[Some-USERr@###-###-##-##]$ docker-compose -f dc-prod.yaml up -d Building zorak error checking context: 'no permission to read from '/srv/prod/db/WiredTiger.turtle''. ERROR: Service 'zorak' failed to build : Build failed
Currently the fix is to open the permissions on the db folder, which allows all users access, but I dont like this.
Possible solution is to run the containers both as the same user from the dockerfile

Could possibly be an issue with files being sent to docker that are unnecessary from the /db directory. Possible fix: add to .dockerignore?


Result of "Find" hard to read

I experience the result of a "Find" very difficult to read, largely because of the unaligned text. I suggest we left align the context string and right align the location url as GoLand does. See figs.
And for a within file search just show the name of the file rather than the fuller path.

Especially hard to read when the lines wrap so we might want to consider solutions for that, there are a few.

good suggestion -- this should be easy.  although we do have a general convention that the link is first on the left, as in compile errs etc, so I would prefer to just keep that, so really just aligning the find text.

That should be really easy, just trim.

see how it looks now.. tab + trim


Banshee still spawning in overworld

Based on our conversations the Banshees are supposed to be in the Midnight realm.

fixed!


workaround for TPR installation test

this test has a race condition in it if we pretend that types
are installed later.

For the order:
serviceBrokerTPR,
serviceClassTPR,
servicePlanTPR,
serviceInstanceTPR,
serviceInstanceCredentialTPR,

If we were to pretend the last two fail to install, our get count may
rack up faster than expected by the time we get to the last TPR. We
may run out of increments and have a successful install when we are
trained to have a failing create.

We are trying to have explicit TPR failures, so we can expect them at
the end of the test.

Depending on the first two (in the list order) failing ensures that
they will pass the first GET gate before any other GET calls have a
chance to run.

I also tried the opposite of my suggestion (pretending on instance and instancecredential), and it failed every time.

flake seen in #1273 among other places.

I think this is the same test I ran into issue with when I did the first round of class renaming - and I never understood how it ever worked.

flake in #1260
https://service-catalog-jenkins.appspot.com/job/service-catalog-PR-testing2/2242

LGTM

Don't need it anymore! Yay! People must have enjoyed the flake!


src is set after load, lazyload class present, image not painting

occasionally, across mobile, desktop and heavy often in IE 11, the images are lazyloaded (verified in network), and the src property is set to the correct image path (verified in DOM), but the image never paints/renders. this could be something to do with my implementation (doubtful, but possible), but the inconsistent behavior leads me to think it's something else. Have you seen this? I'll try to get a confirmed repro scenario, but for now, IE10 and IE11 struggle to display an image after lazyloading.
ideas?

No, I haven't something like this and also not heard of. The only thing I heard of was this: https://github.com/aFarkas/lazysizes/issues/136
But I couldn't replicate. Can you give me a link so that I can check this? Thanks.

seems to be the result of having dev tools open and a browser issue not rending the image after src is set.

@argyleink
Thx, for reporting. I also checked your site and couldn't replicate it using IE11 and Chrome.
I would advice, that you don't use lazysizes for your hero image. This is a crucial image and is always above the fold. lazyloading should be more treated as a resource prioritization tool. Images that are crucial and above the fold shouldn't be lazyloaded, while other should. This way the crucial images can load much faster. lazysizes also does a lot to improve this. For example it first only checks whether images are in view and if not it starts to preload images below the fold, so that the user doesn't have to wait as soon as he scrolls there. But you can improve this your own by simply not using lazysizes on this image.
There might be sometimes some exceptions, for example: I often also still use lazysizes for crucial above the fold images, because the data-sizes="auto" feature gives me separation of concerns and allows me to implement responsive images easily in any environment. But in your case you simply just use a data-src so you could switch to src back again.

superb advice

after further investigation, it could have been related to browser caching also..


Video quiz button rename

Pre-Submission Checklist

[ x] Your pull request targets the staging branch of FreeCodeCamp.
[ ] Branch starts with either fix/, feature/, or translate/ (e.g. fix/signin-issue)
[ ] You have only one commit (if not, squash them into one commit).
[ ] All new and existing tests pass the command npm run test-challenges. Use git commit --amend to amend any fixes.

Type of Change

[ x] Small bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds new functionality)
[ ] Breaking change (fix or feature that would change existing functionality)
[ ] Add new translation (feature adding new translations)

Checklist:

[ x] Tested changes locally.
[ ] Closes currently open issue (replace XXXX with an issue no): Closes #XXXX

Description

Reworded the video quiz button from "Take me to the Questions" to "Go to Quiz"

@brainyfarm Thanks but this copy is fine as is.
Happy Coding


0.4.1 broke source map on node.js

We are using webpack and babel.
We add source-map-support with:
 plugins: [
    new webpack.BannerPlugin(
`var sourceMapsSupport = require('source-map-support');
sourceMapsSupport.install();
var newrelic;
if (process.env['NEW_RELIC_ENABLED']){
  newrelic = require('newrelic');
}`, { raw: true, entryOnly: true }),

Everything work fine on 0.4.0 but not on 0.4.1 or 0.4.2. It looks like that
https://github.com/evanw/node-source-map-support/pull/130 broke it.

This is no good :(
Can you explain how it breaks? Is the it pointing to the wrong source (maybe a few lines off)?

closing because of inactivity


Fix SMPP reconnection on enquire link failed

We need schedule Reconnection Task here, not just only one attempt to reconnect

Merged.


The Resolve feature

Would it be worth considering functionality for two, or even three stage resolution. For example, if the developer working on the issue marks the issue as resolved, this will then need to be QA’d and then marked as resolved. Once with the client, they will need a way to signal their sign off. While this could be done with comments, it would be simpler in viewing terms to simply review the list of issues and their resolved/active status.

At the moment, once an issue has been "resolved" by the developer, it will automatically become assigned to the client, which they will be able to see in their "assigned to me" list. They are then able to review the change, and if happy that it's been implemented, "close" the issue. There are currently 5 status, new, assigned, awaiting client, resolved, and closed. Does this answer your question or are you looking for a feature implementation here?

I was thinking along the lines of not wanting to have issues trickling back to the client piecemeal, as some clients would probably immediately try to check them before the latest version had been uploaded to the review area. Ideally, I think the developer working on the issue fixes needs to be able to resolve the issue without it automatically being assigned back to the client to enable a bulk assigning of cases/issues back to the client once the QA had been done. Also anyone doing the QA would need to see that all of the cases/issues had been completed and were ready for review, on the logs at the moment, we have the three columns to facilitate this. Rather than just having a resolved status, perhaps having three, 'Resolved' 'Reviewed' 'Completed' in addition to the 'New', 'Assigned' and 'Awaiting Client'. The first two to be internal statuses, and the third to be the one that assigns the case back to the client for their sign off. The first three would need to be independent of the second three, so a case could be 'Completed' & 'Awaiting Client'. Happy to chat through if this isn't making sense!

No that makes perfect sense, I'll have a think and chat with Alan about this, as I want to keep it as simple as possible without adding too many possible issue states. It's also possible that we could just have a QA group to assign the issue to. Once a developer has finished instead of resolving he can just assign to QA (similar to how Kineo's Trac system works if you've used that). Then at QA it can be batch assigned to the client. I'll definitely have a think but wan't to limit the complexity for Sponge as well as the client. In an ideal world each time it goes to each department they would just do their changes and hit "complete" and it would go off to wherever it needs to. Perhaps we should make all of the issues locked until we're happy they're all done and just have a generic "amends completed" button for project managers. Good points, thanks again for your feedback!

Alan had the idea of locking projects until they were "finished" as far as we are concerned. For example, a client submits their changes, and when they are ready to be worked on the PM will lock the version (and all of the changes associated with it) so the devs can work on them. During this time clients won't be able to close the issues until it is "unlocked" and a new version has been published (for which new issues will be logged against). Still need to think more into a concrete implementation of this, but I feel like this might be a more elegant way to approach it.

For the moment we're going to see how clients use it, if they end up getting ahead of themselves we'll open a new issue and implement it, but for now we'll see how it goes.


Support WECHATY_PUPPET_SERVICE_TOKEN

Add WECHATY_PUPPET_SERVICE_TOKEN support for all our Polyglot Wechaty projects.
Make WECHATY_PUPPET_HOSTIE_TOKEN an alias for WECHATY_PUPPET_SERVICE_TOKEN, and print a warning message to let the user know it was deprecated with it has been set.

Learn more from https://github.com/wechaty/wechaty/issues/2123

It's necessary for python-wechaty to change WECHATY_PUPPET_HOSTIE_TOKEN  to WECHATY_PUPPET_SERVICE_TOKEN .
There are some changes for python-wechaty:

[ ] changes in python-wechaty-puppet-hostie:  Make WECHATY_PUPPET_HOSTIE_TOKEN an alias for WECHATY_PUPPET_SERVICE_TOKEN, and print a warning message to let the user know it was deprecated with it has been set.
[ ] rename token in README of python-wechaty-puppet-hostie
[ ] rename token in README of python-wechaty-getting-started

There are a few more details I need to work on, and I will do it as soon as possible.
BTW, welcome some developers to join us to imporve python-wechaty.  If you are interested, you can try to fix the changes above and become our contributors.

It's necessary for python-wechaty to change WECHATY_PUPPET_HOSTIE_TOKEN  to WECHATY_PUPPET_SERVICE_TOKEN .
There are some changes for python-wechaty:

[ ] changes in python-wechaty-puppet-hostie:  Make WECHATY_PUPPET_HOSTIE_TOKEN an alias for WECHATY_PUPPET_SERVICE_TOKEN, and print a warning message to let the user know it was deprecated with it has been set.
[ ] rename token in README of python-wechaty-puppet-hostie
[ ] rename token in README of python-wechaty-getting-started

There are a few more details I need to work on, and I will do it as soon as possible.
BTW, welcome some developers to join us to imporve python-wechaty.  If you are interested, you can try to fix the changes above and become our contributors.

When we get endpoint from server, the address was https://api.chatie.io/v0/hosties/{token}. But when Hostie became Service,should the url, fetching the endpoint of server, be changed to https://api.chatie.io/v0/services/{token}? @huan

When we get endpoint from server, the address was https://api.chatie.io/v0/hosties/{token}. But when Hostie became Service,should the url, fetching the endpoint of server, be changed to https://api.chatie.io/v0/services/{token}? @huan

Hi @wj-Mcat , thanks for asking this question.
The short answer is: NO, we shouldn't.
In our Wechaty Ecosystem Concepts, the Hostie is a runtime that provides the service for Wechaty, so we will keep using the https://api.chatie.io/v0/hosties/{token} for now.
P.S. We are planning to describe our RESTful APIs in OpenAPI Specification, which is an Interface Description Language under Linux Foundation, former Swagger. I believe our API will be improved greatly after the specification has been implemented.

Hi @wj-Mcat , thanks for asking this question.
The short answer is: NO, we shouldn't.
In our Wechaty Ecosystem Concepts, the Hostie is a runtime that provides the service for Wechaty, so we will keep using the https://api.chatie.io/v0/hosties/{token} for now.
P.S. We are planning to describe our RESTful APIs in OpenAPI Specification, which is an Interface Description Language under Linux Foundation, former Swagger. I believe our API will be improved greatly after the specification has been implemented.


Webhook charts and values amended to deploy successfully

helm chart created
Webhook values and charts amended to to deploy webhook successfully using the helm command and values.yaml

A good opportunity to squash the commits: https://robots.thoughtbot.com/git-interactive-rebase-squash-amend-rewriting-history
Would be nice to a) not have "fresh", "new" and "blah" as commit messages and b) be able to roll back the change with a single/small set of commits.


Handle indexers

Be able to Mock an indexer.
a branch is already in progress for this: https://github.com/daveoftheparty/speedy-moq/compare/indexers

closed by #55


Problems with environment files merging

Environment files merging functionality in set-env.ts file leads to issues in resulting environment.ts file.
When using below attached common(standard) and dev  environment files, the merge process runs weirdly and I cannot get resulting environment.ts file to produce expected results.
Source/resulting files (extension renamed from .ts to .txt)
environment.common.txt
environment.dev.txt
environment.txt
Expected:

Have values from dev environment file to override common values, in some cases the value gets overriden, in some "merged" (suspecting that the arrays get merged)
Have to define only the values you expect to override
As per README file, the dev file should be created from template file, without imports (?)

Currently having following issues with this aproach:

You have to provide a full copy of environment file for dev, which makes "merge" process unnecessary, trying to skip anything in dev config leads to startup errors
If I try to configure dev to use only 2 languages - resulting configuration contains all languages + the 2 requested, eventually ending up as full list of languages configured
even worse for "browseBy/types" - these get a duplicated UI elements in communities and collections

I've transferred this issue over to dspace-angular as it's a front-end configuration ticket.
In terms of the merging of configs, it looks like we are simply using the default behavior of deepmerge.   Best as I can tell, that default behavior looks like it combines arrays (no overwriting values).  We might want to consider whether the overwriteMerge behavior would make more sense for these configurations -- as that seems like it aligns better with the expectations laid out in this ticket.
Thoughts on this @artlowel?  It looks like the current behavior came in during our switch to Angular CL in #625

I agree that the current behavior should be changed. But it is difficult to have a solution for arrays that works in all cases. If you overwrite, indeed you'll need to add everything you want to keep. But that is also the way it works for arrays in local.cfg in dspace 6 as well.
An alternative could be to merge based on index. But in that case, what if you want to remove an option from environment.common.ts, such as the languages in @Aziris' example. If the array in your local file is shorter, it would just override the first few options and be padded with the remaining options in environment.common.ts. And what would we do when you want to keep everything but override the 3rd element in the list for example? Add a few undefined's first?
We could also write a merge function that checks for an id property on the array elements, and merges the ones with matching ids, in that case you could set something with a specific id to undefined if you wanted to get rid of it. But in that case we might as well swap from an array to an object where the keys function as ids anyway.
So considering all of these, my preference would be to use overwriteMerge, and to go over everything that's currently an array to see if we're not better off converting it in to an object.

@artlowel : I agree with your suggestions here that we should look towards a "tweaked" version of overwriteMerge.  Do you have any rough guesses on how much effort this would be?   In my opinion, this seems like something we should attempt to improve now (in beta5), so that configuration works more as expected in 7.0....rather than delaying this for a 7.1, which would make for a possibly awkward upgrade between 7.0 to 7.1.
So, that said, do you agree with adding this to beta 5?  If so, would you be comfortable giving this an estimate?

@tdonohue I'm not sure what you mean by 'tweaked'? My suggestion was to use overwriteMerge as is, but to minimize the problem of having to copy values from the default config by verifying if there are config options that are currently arrays but don't need to be (because the order isn't important), and if so turn them in to objects.
This can be done in an estimated 2h

@artlowel : Apologies, I completely misstated your position/proposal.  I meant to reference your note to "go over everything that's currently an array to see if we're not better off converting it in to an object" -- which is similar to "tweaking" the configuration to align better with overwriteMerge.  I must've been typing that reply in a hurry and shortened it to something that doesn't make sense (as it also doesn't make sense to me now...I realize you were not trying to modify the behavior of overwriteMerge).
In any case, I like your proposal to switch to overwriteMerge & review our existing configurations to align better with that.  Thanks also for the estimate, I've added it to this ticket.


fix recursive handling of links

@bparees PTAL

Gabe, could you explain, why find+chmod is better than chmod -R? Is find+chmod will do the same as chmod -R --no-dereference? Just interesting to know.

@bparees and I found that chmod -R was not identifying links.  See https://github.com/openshift/jenkins/issues/101

removal of -R pushed

lgtm


Please add Denton, TX

Hi, thanks for your interest in adding your city to the website. Emails on defund12.org are all written by community members. To add your city, you must provide:

Email addresses (at least one) of the government officials you’d like to receive the message
Detailed message concerning the budgeting decisions at stake in your community

Until you provide this content, we cannot post your city.
Messages should follow our email style guidelines. Remember that messages must be specific to your locale and focused on defunding the police. If your message is copied from an external source, please provide a link to the original source.
Your request will be closed until you reply with the necessary content. Thank you!

Hi @brookejoelle96, thanks for your request to add Denton to the site! We have an open request at #838. It looks like that email still needs work, so if you’d like to add to or edit the messaging, please visit that issue.
For future reference, all emails on defund12.org are all written by community members. To add your city, you must provide:

Email addresses (at least one) of the government officials you’d like to receive the message
Detailed message concerning the budgeting decisions at stake in your community

Until you provide this content, we cannot post your city.
Thank you!


Force Nokogiri security upgrade

Nokogiri had security vulnerabilities in versions >= 1.6.0, < 1.6.8. Since Blacklight requires ~> 1.6, it seems good to force engine users to use 1.6.8 or greater.
Our production instance upgraded in a deployment some time ago.

Looks good!


go_1_17: 1.17.10 -> 1.17.11, go_1_18: 1.18.2 -> 1.18.3

Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

Release-21.11 only has 1.17.

1_18 can go to master but with the number of rebuilds from 1_17 it should go to staging.


request server

hi
I'm on a server with a lot of data is an array. I want whenever I applied for twenty  data show in table view can i use plugin ??

Hey, this library isn't what you're looking for, but if you're using a UITableView or UICollectionView you can call your code in the cellForItemAtIndexPath (or row, if you're using UITableView) method by checking if the indexPath is the last item of your datasource (or the n-th last item, depending on when you want to load more items).
Just make sure you're doing asynchronous requests, so you're not blocking the creation of the cell.

thank @niklaskorz  :)


Develop

Release Notes:

Added Bech32 Capability
Minor bug fixes

Release:
v1.20.0

rebasing new PR


clean way to add non-persistable fields?

I want to initialize my model with extra attributes that are inferred from persisted fields
For example, let's say I have birthdate and I want to calculate age. There is no reason to store both fields, so I can do the following:
import datetime
from typing import Optional

from pydantic import EmailStr

from redis_om import HashModel

class Customer(HashModel):
    first_name: str
    last_name: str
    email: EmailStr
    join_date: datetime.date
    birth_date: datetime.date
    bio: Optional[str]

def __init__(self, **kwargs):
    super().__init__(**kwargs)
    self.age = helper_func.get_age_from_birthdate(self.birthdate)

The problem is with the above approach is "age" gets persisted.
I can do the following:
class Customer(HashModel):
    first_name: str
    last_name: str
    email: EmailStr
    join_date: datetime.date
    birth_date: datetime.date
    bio: Optional[str]

def populate_extra_fields(self):
    self.age = helper_func.get_age_from_birthdate(self.birthdate)

c = Customer.get(id)
c.populate_extra_fields()

But then on subsequent .save() the age field gets persisted. I will have to re-fetch to update the model without age getting persisted, e.g:
# BAD: (age gets persisted)
c = Customer.get(id)
c.populate_extra_fields()
if c.age > 35:
    c.first_name = "melder"
    c.save()

# GOOD: (age does not get persisted)
c = Customer.get(id)
c.populate_extra_fields()
if c.age > 35:
    c = Customer.get(id)
    c.first_name = "melder"
    c.save()

Is this simply outside the scope of the library or how it should be used? Would it better to write a wrapper to handle these extra fields?

Ok so I tried the wrapper approach and it seems to work. Here an example:
class CustomerWrapper:
    """
    Wrapper to extend redis_om functionality since its behavior is somewhat magical.
    Best strategy is to keep the models as concise as possible.
    """
    class Customer(HashModel):
        """
        Customer model
        """
        first_name:  str
        last_name:   str
        email:       EmailStr
        join_date:   datetime.date
        birth_date:  datetime.date
        bio:         Optional[str]

    customer_fields = list(Customer.__fields__.keys())

    def __init__(self, _customer):
        self.customer = _customer
        self.age = None

        for k, v in vars(self.customer).items():
            if k in self.customer_fields:
                setattr(self, k, v)

        self.age = helper.birthdate_to_age(self.birth_date)

    @classmethod
    def parse(cls, **kwargs):
        return { k: kwargs[k] for k in cls.customer_fields if k in kwargs }

    @classmethod
    def new(cls, **kwargs):
        return cls(cls.Customer(**cls.parse(kwargs)))

    def save(self, **kwargs):
        for k, v in (kwargs or vars(self)).items():
            if k in self.customer_fields:
                setattr(self, k, v)
                setattr(self.customer, k, v)
        self.customer.save()
        return self

def new(**kwargs):
    return CustomerWrapper.new(**kwargs)

customer_data = { 'firstname': "melder", ... }

customer = new(**customer_data).save()
print(customer.age)

So CustomerWrapper should behave similarly to Customer, and Customer methods can be extended in CustomerWrapper or by accessing them through the "customer instance field", e.g:
c = customer.customer.get(id)

@simonprickett seems like this would be a great example for us to highlight in some documentation but isn't currently an issue

@sav-norem Yea feel free to close this. But I'd update the docs with a warning that all instance vars of the OM get persisted.
I'm still relatively new to python so if I have the time I'll look into implementing this as a decorator and package it as a separate plugin module- unless you have a better approach in mind and can offer guidance. Let me know how I can help.


Windows Defender said "a.exe" had trojan virus...

I used to cmake to build the repository into a separate directory and when I built it, windows defender said it had "Trojan..:Fuery.." in my directory and in CompilerldC/a.exe. And then I went to VirusTotal to scan it and here are the results:

I deleted the repository and my directory. Just wanted to make sure this was checked and I am just somebody who doesn't know how to use computer.

the exact name was : Trojan:Win32/Fuery.C!cl

I used the command cmake -G "MinGW Makefiles"

Or this seems to be a package from chocolatey package "CMake" that is making the issue. After I built, I go into CMakefiles and then the version of the compiler I have, 3.17.1, and then to CompilerldC. The folder seems to have a.exe which is very malicious. I don't know if this comes from "CMake" or glfw.

I think this is a cmake issue so ill close this...


Add CAN support for FRDM-K64F board

This PR enables CAN for the FRDM-K64F board.

@MaureenHelm  @henrikbrixandersen already asked for a config flag for the LOM bit.
Additionally we need to set the SRXDIS bit to get the same behavior as the STM32 CAN controller.


Update of contents

Description of the issue
As always, a few errors are in the data and new data needs to be added. This is a issue to collect the data.

Check spelling of Resie / ReSie
Update graphics of EnerCalc

Workflow checklist

[ ] I am aware of the workflow in CONTRIBUTING.md
[ ] I have created a branch for my feature

Include Tools:
SimStadt
geopandas
Basemap
QGis

Update info on GHEtool
What is GHEtool
GHEtool is a tool for borefield calculations, pioneering with novel methodologies and easy, professional reporting. The methods are open-source, built by the community, in order to harness the power of shared knowledge, transparency, and accelerated innovation. That’s how we’ve developed the most detailed, comprehensive, and user-friendly tool for you – accessible directly from the cloud. With GHEtool Cloud, you can design borefields with confidence, whether you’re working on small-scale projects or complex masterplans.
Area of application
Research/Teaching, Industry, Service
User interface
Web-based user interface
Target group
Construction experts, Engineers, Drilling companies, ESCO
Accessibility
Chargeable, open-source
General type of tool
Framework/digital tool
Focus of the application
Technical
Published
Yes
Year of publication
2020
Sources of information
https://ghetool.eu/
https://www.youtube.com/@GHEtool-borefield-sizing
Level of development
5
Programming language
Python, js, vue, sql
Spatial scale of use cases
Building, facility, district

[ ] Double check number of tools

[ ] Integration LoadProfileGenerator


[sourcekitd] Remove calls to llvm::Initialize*

Explanation: We added some calls to llvm::Initialize functions that turned out to be unnecessary. These bloated the binary size of sourcekitd, and in particular our thin client-side library, taking it from ~350 KB to over 20 MB because it required statically linking in most of LLVM.
Scope: Affects binary size of sourcekitd and (theoretically) time to startup.
Radar: rdar://problem/31902757
Risk: Low; removes unnecessary calls.  If they were needed we expect it would have caused test failures in our code-completion PCH tests.
Testing: Existing regression tests pass after removal of code.

LGTM!

@swift-ci please test


Shared Repository Forum

keyword_TIWG resolution_wontfix   |    by<EMAIL_ADDRESS>
Robin will be holding a forum on the shared repository 14/8/15

Issue migrated from trac:202 at 2024-01-31 17:45:27 +1100

<EMAIL_ADDRESS>changed status from new to closed

<EMAIL_ADDRESS>changed resolution from `` to wontfix

<EMAIL_ADDRESS>commented

Meeting did not go ahead, continuing internal discussions on practices


Small Bugfix - #168

The new check put in didn't check for nil filenames, meaning you couldn't create new files. Just made a small change to fix that. Fixes #168 .

Good catch! Thank you.


resnet model in tf slim does not take is_training param

Compare the resnet_v2 model to the vgg model. The vgg model takes is_training whereas the resnet model does not. This param should be taken and passed to the batch_norm layers.
The docs for the v1 model do reference is_training, but I don't see it used.

I guess you do something like this:
with slim.arg_scope(resnet_v2.resnet_arg_scope(is_training)):
  ....

Not sure if docs can be improved here?

Tangential: I'm surprised you can reference tf.contrib.framework.arg_scope as tf.contrib.slim.arg_scope. We're going to have to do something about that. I filed #4950.
Maybe the is_training param should be deprecated on the vgg model and display a warning to use tf.contrib.framework.arg_scope instead. I'm going to mark this as contributions welcome if anyone wants to send us a PR with that cleanup. CC: @sguada

I am going to send a PR shortly.

See https://github.com/tensorflow/models/blob/master/slim/nets/resnet_v2.py which is going to replace this soon.

Passing is_training=False during inference messes up the output for the resnet_v1 model. Tried doing
with slim.arg_scope(resnet_v2.resnet_arg_scope(is_training)):  but getting
 with slim.arg_scope(resnet_arg_scope(is_training)): NameError: name 'is_training' is not defined
How exactly does one go about passing the is_training parameter to the model ? BTW, will a pre-trained checkpoint be released for resnet_v2?

you need to define is_training
with slim.arg_scope(resnet_arg_scope(is_training=False)):

@sguada what's the status on this? Can we close this or is there still something being requested?

I also have an experience similar to @dhaneshr : Passing is_training=False messes up the output (resnet_v2 with TFv1.2.0). That means the feed-forward pass diverges to large numbers, and sometimes even to NaN. I wonder if that's a problem of slim or layers.
I train my own ResNet model, which successfully converges after a few epochs. However, after I save the model and then recover it for inference, everything seems wrong, even with images used during training. If I do is_training=True the outpus are mostly random (caused by BatchNormalization). When I recover the model for additional training epochs, it works just fine, and keeps the accuracy improving. I checked the weights of the network, and they're alright.
It seems like the flag is_training=False is not being passed correctly somewhere, and the BatchNormalization layers fail to keep the activations bounded. Does anybody have a suggestion for fixing this? Or maybe I'm missing something?

@jccaicedo I'm suffering the same problem, have you got any solution?

I'm suffering the same problem

I am meeting the same problem. I have tried to decrease my loss in training, however,in testing I find the outout is all messed!   @jccaicedo  Have you found any way out?

It is most likely somethings (e.g. batchnorm) are not set properly for is_training=False. However, since this is a departure from our official models, I would recommend using the official resnet models (https://github.com/tensorflow/models).
I am closing this bug now. If you have similar issues for the official models, please feel free to filea separate bug.


UIConstraintBasedLayout Error

[x] I have read the Getting Started section
[x] I have already searched for the same problem

Environment

Technology
Version

Flutter version
3.7.7

Plugin version
^0.4.0

Android version

iOS version
16.1.1

macOS version

Xcode version

Device information:
Description
Expected behavior:
Will attempt to recover by breaking constraint
Current behavior:
<NSLayoutConstraint:0x28039f6b0 'IB_Trailing_Trailing' H:[_UIModernBarButton:0x162d7e640]-(>=8)-|   (active, names: '|':_UIButtonBarButton:0x162d7e410 )>
Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
Steps to reproduce

This
Than that
Then

Images
Stacktrace/Logcat

"I searched for a solution, but I keep encountering an error related to iOS BaseLayout."

"Despite my efforts to find a solution, I'm consistently facing an error with iOS BaseLayout."

"I'm having trouble with iOS BaseLayout, as I keep receiving an error message despite my attempts to resolve it."

"I've been trying to troubleshoot the issue, but I can't seem to fix the error that keeps occurring with iOS BaseLayout."