Redesign base particle filter class.

Decision needs to be made regarding the particle filter construction
Currently: Particle types contain a state_vector and weight (and parent). These are wrapped in a ParticleState which is just a list. Particle predictors and updaters work by operating the (transition, measurement) functions on these state_vectors. This won’t work with transition/measurement functions that take State, rather than StateVector types.
This might  be changed in either of two ways. Probably the easiest is to adjust Particle so as to take a State rather than StateVector. The problem with that is going to be a large amount of redundant logic. If the State contains stuff external to the state_vector (metadata, transformation functions, etc) that will be replicated needlessly for each particle in the ParticleState
Better would be to construct a ParticleState which is more than a list. Instead it’s an analogue of a base state which it “particlizes”, preserving the metadata and functions and merely replicating the state vector N times. It would carry functions which calculate weighted mean and covariance of particles.
Would affect/address #130 and #26.

So are you thinking that ParticleState contains a list of state vectors, and weights. And then have a property/method that generates a list/iterable of "Particle", each of which is a subclass of State, copying ParticleStates metadata, timestamps, etc.?

are you thinking that ParticleState contains a list of state vectors, and weights..
Yes, I think that's a basic description of what a particle state is.

then have a property/method that generates a list/iterable of "Particle",
Not sure this part is best. Particle is currently just an object which holds state_vector and weight. Making it a subclass of State allows the models to work unmodified after #155 but presumably introduces a lot of bloat as you replicate and process a State for each and every state_vector.

More efficient I think would be adapting the sensor and transition models to understand how to deal with a ParticleState. They then wouldn't need to copy "static" parameters every time an operation  is undertaken.
It might be as simple as telling models to expect a list of state_vectors and to return their operation on each member of that list. If we set State with a default state_vector as a list of one item and a default weight of 1, we might not need to define ParticleState with any additional logic. ?

In any case ParticleState should inherit from State. It doesn't currently.

We have incorporated some extra information into each particle. Our multi model version of the StoneSoup particle filter requires an additional attribute in the Particle class called dynamic_model. This is an integer representing the transition model used to generate the current state within the particle.
Additionally, we have implemented a Rao-Blackwellised algorithm for tracking and classification. Particles here possess a vector of probabilities requiring that the particle class have another attribute called rao_probabilities. The vector of probabilities represents the probability of each model producing the current state within the particle. There is the possibility that along with this, we many need to record the model number that generated that particle state too.
An additional application which is currently being worked on outside of Stone Soup, is the fixed-lag SMC algorithm. The aim is to incorporate this algorithm into Stone Soup in the future. Each particle stores a path of states over time, together with a path of model numbers that represent the models used to generate the states. The period of time stored in the particle is variable. There is still only one weight associated with the particle, but the weight represents the probability of the entire path of states over time. In Matlab or Python we would store the path in each particle as a matrix.

A bit belatedly, I'm convening a 'Particle Conference'. If you (or you think others) should participate, please assign yourself (or assign those others*) to this issue.
I assume this will take the form of some sort of video conference/web teaming effort. As there's inevitably some divergence in what each of our systems and networks can cope with, could you please let me have any preferences and restrictions regarding which tools to use. Also, if anyone has any bright ideas, please do pipe up. I, for one, would like some sort of joint whiteboard facility, but don't have any experience of such.
Once that's done I'll send round some prospective times/dates and then whatever meeting invites are appropriate.
*if it turns out you can't do the assignment, just let me know and I can grab them.

Despite appearances, I've not entirely neglected this topic.
Thoughts:

Adjust the current ParticleState such that the [Particle] list is replaced by a 2d StateVector where individual samples are columns of this matrix. Problem is that StateVector is currently constrained to be nx1. Options are (a) loosen the restriction on StateVector, (b) create a ParticleStateVector class or (c) use np.array

I imagine the ParticlePredictor would be a fairly direct analogue of the xKalmanPredictors to generate $p(x_k|x_{{k-1})$ from $p(x_k)$.

ParticleUpdater will update the weights based on input prediction. Most sensibly this would be accomplished via Importance Sampling which would require a prediction ($p(x_k|x_{{k-1})$), a measurement likelihood $p(z_k|x_k)$ and a proposal distribution $\pi(x_k|x_{0:k-1}, z_{0:k})$, selectable by the user. A question we might want to consider is if we generate an abstract ParticleUpdater class from which will derive a SequentialImportanceSamplingUpdater (SISUpdater) in order to allow versions of the particle filter which don't do importance sampling.

In any practical implementation we'll be doing resampling. But I think it should remain optional and tuneable. This might be best accomplished by way of a new Sampler or Resampler class. I guess a Sampler would take a distribution as input and then return a requested number of points from that distribution. Methods for doing this exist in numpy via various .rvs() methods. So simple samplers might just be wrappers for this. We should allow for the possibility of more sophisticated ones though. The Resampler class would be distinct but related in that its objective is to take a set of samples and return a new set of samples with less sample impoverishment. Samplers might be useful all over the place.

Adjust the current ParticleState such that the [Particle] list is replaced by a 2d StateVector where individual samples are columns of this matrix. Problem is that StateVector is currently constrained to be nx1. Options are (a) loosen the restriction on StateVector, (b) create a ParticleStateVector class or (c) use np.array

I've been looking at creating a StateVectors class to solve a problem (which actually came from Particle Filter, but actually wider issue). I'll aim to share what I've done soon.

I think we can close this now, as some points covered by #365 and #132 (includes change to make resampling optional). Suggest we open new issue(s) for any outstanding issues.


⚠ Bofrost.lu has degraded performance

In 7867cd5, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1084 ms

Resolved: Bofrost.lu performance has improved in 4df9301 after 6 minutes.


Regarding feature used of SEED in NIPS23 paper

For the results reported in the paper [Learning Topology-Agnostic EEG Representations with Geometry-Aware Modeling], the results are exceedingly high. Did you use the moving averaged features provided by SEED datasets? If so, the subject-dependent experiment becomes very unreasonable, because such methods generally assumes the full trial is of the same class, basically data leakage problem as denoted in The perils and pitfalls of block design for EEG classification experiments.

Many thanks for your interests in our paper. Sorry for the late reply because it took us some time to check the material you provided.
Choice of dataset and fair comparison with baselines.
We choose to use SEED as the dataset for our experiment because 1) SEED has a very different channel configuration with the large pretraining dataset (TUEG) while being reasonably large as a downstream task. 2) SEED seems to be widely used by previous studies thus it's convenient to make comparison. 3) SEED provides a DE feature officially which can reduce the burden of temporal modeling while focusing on transferring across channel configurations.
We indeed use the DE feature provided officially in our experiments. You can find the preprocess code here which is merely a transformation of the data format. This setting is shared across all the baselines used in our experiments to ensure fair comparison.
Concerning the SEED "Moving Average Problem"
Upon careful examination of the study "The Perils and Pitfalls of Block Design for EEG Classification Experiments" (hereinafter referred to as the "Question Paper" or QP) you provide, we have identified a primary concern related to the block design methodology utilized in the referenced study, "Deep Learning Human Mind for Automated Visual Classification" (hereinafter referred to as the "Origin Paper" or OP).
In the Origin Paper, the authors implemented an experimental protocol wherein 40 object classes from the ImageNet database, with 50 images per class, were presented as visual stimuli to six participants during EEG recordings. A block design was used, whereby each participant was exposed to 40 blocks of stimuli, each block comprising 50 images from a single object class, ensuring each image was presented exactly once. Consequently, all participants viewed the same set of 2,000 images in total. (Adapted from the Question Paper)
The Question Paper subsequently proposed a series of experiments to challenge the Origin Paper's findings, suggesting that the reported high accuracy might be attributable to the model "learning arbitrary long-term static mental states during a block rather than dynamic brain activity." This assertion was based on the observation that trials sharing the same label were derived from identical blocks. Hence, using moving average is making learning long-term static mental states easier, which is unreasonable for OP.
However, in SEED experiment, each subject takes 15 trails. One trial contains a movie clip with a label in one of three [netural, positive, negative]. The order of trails is near random. The training/test split is 9/6. One training sample and one validation sample with the same labels come from different trials, Hence we are not learning features for static mental states within one trial.  Though it conducts moving average within one trial, it tends to eliminate the noise but not extract features for static mental states. And to the best of our understanding, information in the test set will not be exposed during training.
We hope we correctly understand and properly addressed your concerns. We welcome constructive feedback and are open to adjustments based on further insights and discussions, thus we leave this issue open for a while in case you would like to provide more details about the concern or have further questions.

Thank you for your reply and I highly appreciate your time in looking into it!
I think your argument on the "Pitfall" problem was correct. As long as your experiment protocols follow "One training sample and one validation sample with the same labels come from different trials," there is no "Pitfall" problem here.
However, as I looked into the provided preprocessing code, I realized that you are using the "de_LDS" features, which refers to the differential entropy feature with Linear Dynamical System from the paper "Off-line and on-line vigilance estimation based on linear dynamical system and manifold learning" [EMBC 2010]. I have not fully understood how the LDS did the normalization/smoothing, but I highly doubt there are issues with the normalization techniques. I also tried extracting DE features from raw signals of the SEED dataset myself instead of using the provided normalized features, the performance dropped to very low scores. If you check out the many other papers on EEG emotion classification for datasets without such normalization techniques, e.g., DEAP, MAHNOB, the binary accuracies should be around 60%, e.g., "TSception: Capturing Temporal Dynamics and Spatial Asymmetry From EEG for Emotion Recognition" [TAC 2023], very far from the over 95% on SEED. For competitions/contests that highlight online inference, the aforementioned normalization techniques generally do not hold, and the performance also dropped sharply from offline to online testing, e.g., "Comparison of cross-subject EEG emotion recognition algorithms in the BCI Controlled Robot Contest in World Robot Contest 2021".
In the end, I am not doubting your results nor your proposed method in the paper, but I highly suggest that you fully look into the data preprocessing steps, instead of using the provided features, and reexamine if 99% accuracy is possible, considering the difficulty of EEG emotion classification task. Intriguingly, one side of papers claim > 95% while the other side claims only barely above random guess. There must be one side that is doing wrong.

Thank you very much for exposing this issue and let us be aware of it. It sounds possible that there may be one side doing wrong, but it also sounds possible that LDS is a crucial yet legal part of EEG preprocessing as long as it won't violate any machine learning principles. Note that some studies (e.g. https://ieeexplore.ieee.org/document/9204431/) also claimed an over 90% accuracy on binary classification tasks like DEAP and DREAMER.
We are sorry that we can't draw a conclusion yet before we gain a deeper understanding. However, on the one hand, we'll continue investigating this problem. On the other hand, we're planning to test MMM on more datasets besides SEED, as well as to enable it upon raw EEG signals. We'll keep this repo updated.
If you have further questions, please let us know. I'll leave this issue open for a few more days.


Alienware m17 issue

while running alienfx lite this is printed on terminal : Device found: 187c:0550
But GUI says controller not found and programs shuts

Got the same problem on Alienware M17 R5.
Console outpus was :
$ sudo /usr/local/bin/alienfx-lite
Device found: 187c:0550

Pop-up was :

For reference, here are the build information:
$ cd ~/AlienFxLite

$ git describe
v1.2-7-gf649bc6

$ mkdir build && cd build

$ cmake .. && make
-- The CXX compiler identification is GNU 4.8.5
-- Check for working CXX compiler: /bin/c++
-- Check for working CXX compiler: /bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- The C compiler identification is GNU 4.8.5
-- Check for working C compiler: /bin/cc
-- Check for working C compiler: /bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Found PkgConfig: /bin/pkg-config (found version "0.27.1")
-- checking for module 'libusb-1.0'
--   found libusb-1.0, version 1.0.21
-- Found JNI: /usr/lib/jvm/jre/lib/amd64/libjawt.so
-- Found Java: /bin/java (found version "<IP_ADDRESS>")
-- Configuring done
-- Generating done
-- Build files have been written to: /home/gom/AlienFX/AlienFxLite/build
Scanning dependencies of target Alien64
[ 25%] Building CXX object CMakeFiles/Alien64.dir/src/cpp/main.cpp.o
Linking CXX shared library lib/libAlien64.so
[ 25%] Built target Alien64
Scanning dependencies of target AlienFX
[ 50%] Building Java objects for AlienFX.jar
[ 75%] Generating CMakeFiles/AlienFX.dir/java_class_filelist
[100%] Creating Java archive AlienFX.jar
[100%] Built target AlienFX
Scanning dependencies of target Images_to_jar
[100%] Built target Images_to_jar
Scanning dependencies of target Lib_to_jar
[100%] Built target Lib_to_jar

$ sudo make install
[ 25%] Built target Alien64
[100%] Built target AlienFX
[100%] Built target Images_to_jar
[100%] Built target Lib_to_jar
Install the project...
-- Install configuration: ""
-- Installing: /usr/local/share/alienfx-lite/AlienFX.jar
-- Up-to-date: /usr/local/bin/alienfx-lite


Export selected domains only export one domain

Hi, thanks for this great app!
When I select multiple domains and chose "export selected domains" it only exports one of them, but not all. It should put each domain in a subfolder.
Using itunes-backup-explorer-1.2.jar and java 17.0.5 2022-10-18 LTS.

Hey @Dobatymo!
Sorry for taking so long to reply. Sadly, I cannot reproduce this issue. In case it is still relevant for you, could you reopen this and give me some more details?

Which OS do you use?
Which domains did you select?
Please download version 1.3 and run the program using java -jar itunes-backup-explorer-1.3.jar in a terminal. Then post the log output after exporting the domains if there is any.


Can't start with F5 using IIS Express

File new project -> AspNet Core -> F5, works fine, turn on SSL binding, still works.
When I do the same when migrating from RC2 I get:
An error occured attempting to determine the process id of dotnet.exe which is hosting your application. One or more errors occured.
I can start without debugging (ctrl+F5) and then attach the debugger without a problem. Using kestrel works fine as well.
I don't get any log messages even though logging is enabled.

I've totally removed the source folder and done a clean checkout, still same problem. Something's obviously different from the file new project, can't tell what though. xproj, web.config, global.json and project.json looks identical.

How to reproduce:

File new project
Enable SSL
Copy SSL URL to App URL
F5

I have the same issue when upgrading from RC2 to RTM.

I had the same issue. Tried similar steps

shut down vs
deleted .vs folder
deleted project.lock.json

- deleted ./Properties/launchSettings.json
opened the project (that was previously rc2) and F5 worked finally!

Nevermind. I hadn't copied the ssl url into the app url.
Once I did, the error is back.
If the App Url has https:// no matter what, the error occurs.
Whether SSL is enabled or not.

Re: https://github.com/aspnet/Home/issues/1607

When you start the site without debugging and load the page in IE do you get a certificate error?

Yes. Certificate error when running without debug.

Try these instructions and see if it A) fixes your cert error in IE, and B) fixes your debug error.
https://blogs.msdn.microsoft.com/robert_mcmurray/2013/11/15/how-to-trust-the-iis-express-self-signed-certificate

I installed the IIS Express localhost cert and the problem is fixed for both the cert error and debugging.
Thanks!
I did have to switch to IE briefly as both Chrome and Edge wouldn't give me the option to install the cert, only view it. Once installed, chrome still shows a certificate error (net::ERR_CERT_AUTHORITY_INVALID) but debugging is still ok.

@mikecowgill Chrome appears to be caching the cert. The error goes away eventually.

Thanks! It works!

Cool, works with localhost CA installed in trusted root, thanks! Perhaps worth mentioning this in breaking changes.

Awesome! This worked for me as well

@shirhatti

https://support.microsoft.com/en-us/kb/3180222

This worked for me, thank you.

@Tratcher thank you. https://support.microsoft.com/en-us/kb/3180222 worked (just ran the powershell script)

A simple solution, worked for me was press ctrl+shift+w (View in Browser) then VS asked automatically to trust and install the certificate, without any script.

We had similar issue.  Turns out the error is because the Web Server Settings / App URL is being checked into source control and each developer has his own unique URL (dev1.foo.com vs dev2.foo.com).  Can't use localhost because of cookie flow issues.  Would be nice if there was an option to make that a per user setting vs a global setting.

Got the same error today. Somehow the sslPort property was set to 0 in the launchSettings.json..... I changed it back to the ssl port and everything worked fine again.

Hi, I'm getting this error, the support link no longer exists, and I cannot click to install the certificate because the page never even launches.

I ran into this again after installing VS2017 Update 3 Preview 3 side by side with VS2017 Update 2.
I believe what fixed it (I tried a lot of different things) was to delete the IIS Express cert entirely from the certificate manager (I had previously added it to the trusted root), and then repair IIS Express 10 from the Programs and Features (Add/Remove Programs). After which found the cert again in the Certificate manager's Personal Certificates section. Move the IIS Express Development Certificate for localhost to Trusted Root Certificate Authorities and it all works again.

Nick Albrecht, your solution worked for me.  I didn't have to uninstall the cert, just dragged it into the Trusted Root Certificate Authorities and it worked.  Thanks.

Where is this >> Move the IIS Express Development Certificate for localhost to Trusted Root Certificate Authorities

Please perform the following steps:

Do a search for Certificates, and choose "Manage Computer Certificates" from the results.
Expand both the Personal and Trusted Root Certification folders on the left sidebar.
Select the Certificates folder under Personal.
Drag and drop the localhost certificate found there onto the Certificates folder under Trusted Root Certification.

Thanks jeremyhoesly , your instructions worked perfectly for me.

I had redirect rules from http to https (for production) in my web.config.  Had forgot to deactivate them when running locally.

I am currently getting this error and I do not have a certificate error, nor do I have SSL enabled.  My app is hosted in IIS (not IISExpress).
web.Config:

launchSettings.json:

Does anyone have any guidance on what I might need to check?

Solved by deleting the .vs folder

solved by deleting redirect rule from web.config
 <!-- IIS URL Rewrite to redirect HTTP to HTTPS -->
        <rule name="HTTP to HTTPS redirect" stopProcessing="true">
          <match url="(.*)" />
          <conditions>
            <add input="{HTTPS}" pattern="off" ignoreCase="true" />
          </conditions>
          <action type="Redirect" redirectType="Permanent" url="https://{HTTP_HOST}/{R:1}" />
        </rule>

I had the same issue. Tried similar steps

shut down vs
deleted .vs folder
deleted project.lock.json

- deleted Properties/launchSettings.json

re-added enable ssl

opened the project (that was previously rc2) and F5 worked finally!

This worked for me. thanks.


MacOS - Which is the best place for the proxy application?

Which is the best place for the application?
/Library/Application Support/DNSCrypt2
/usr/local/bin/DNSCrypt2
/usr/local/sbin/DNSCrypt2
/usr/local/lib/DNSCrypt2
or irrelevant?
Thx!

It's irrelevant. I just keep it in my home directory. It can be anywhere, really.

Thx:)


In Android, the pipeline doesn't work

I am developing an Android app.
It contains multiple modules.
So when I run the test, test results are generated on multiple folders.
./gradlew test

like:
rootprj/app/build/test-results/...
rootprj/domain/build/test-results/...
rootprj/data/build/test-results/...

So the pipeline is failed with Could not find any files for test-results/**/*.xml

Did you try wildcards for the modules part of the paths?
  with:
    files: "rootprj/**/build/test-results/**/*.xml"

Please reopen if you are still seeing problems.


fix(helm binary): updates link to download helm binary instead of source

Looks like you combined the changes for #417 and #397 in this PR. Gotta keep 'em separated.


THREAD WARNING: exec() call to Camera.takePicture blocked the main thread for 291ms. Plugin should use CordovaInterface.getThreadPool().

Bug Report
this is happening one specific type of android device, but might indicate a bigger issue.
CAT S31 running android 8.1.0
Problem
camera does not return image
What is expected to happen?
It normally returns the image
What does actually happen?
W/PluginManager: THREAD WARNING: exec() call to Camera.takePicture blocked the main thread for 291ms. Plugin should use CordovaInterface.getThreadPool().
D/CordovaActivity: Paused the activity.
D/CordovaWebViewImpl: >>> loadUrl(javascript:cordova.plugins.backgroundMode._setActive(true);cordova.plugins.backgroundMode.on('activate', null);cordova.plugins.backgroundMode.fireEvent('activate',null);)
D/YoikScreenOrientation: execute action: screenOrientation
D/YoikScreenOrientation: Requested ScreenOrientation: portrait-primary
W/Adreno-ES20: <core_glFinish:34>: glFinish skipped: 0
W/Adreno-ES20: <core_glFinish:34>: glFinish skipped: 0
W/Adreno-ES20: <core_glFinish:34>: glFinish skipped: 0
D/CordovaActivity: Stopped the activity.
W/Adreno-ES20: <core_glFinish:34>: glFinish skipped: 0
W/Adreno-ES20: <core_glFinish:34>: glFinish skipped: 0
D/CordovaActivity: Incoming Result. Request code = 33
D/CordovaInterfaceImpl: Sending activity result to plugin
D/CordovaActivity: Started the activity.
D/CordovaActivity: Resumed the activity.
Information

Command or Code

Environment, Platform, Device

Version information

Checklist

[ ] I searched for existing GitHub issues
[ ] I updated all Cordova tooling to most recent version
[ ] I included all the necessary information above

W/PluginManager: THREAD WARNING: exec() call to Camera.takePicture blocked the main thread for 291ms. Plugin should use CordovaInterface.getThreadPool().

Has nothing to do with the camera taking a picture or not. All this states that that method is on the main thread and it blocked it for ~300ms, so it should probably be moved off of the main thread so the phone can still feel responsive.
What's more interesting is:

D/CordovaActivity: Stopped the activity.

I'm not 100% sure if this is the low memory android quirk as I never actually encountered this situation myself but...

Android uses intents to launch the camera activity on the device to capture images, and on phones with low memory, the Cordova activity may be killed. In this scenario, the result from the plugin call will be delivered via the resume event. See the Android Lifecycle guide for more information. The pendingResult.result value will contain the value that would be passed to the callbacks (either the URI/URL or an error message). Check the pendingResult.pluginStatus to determine whether or not the call was successful.

https://github.com/apache/cordova-plugin-camera#android-quirks
Let me know if this helps.

W/PluginManager: THREAD WARNING: exec() call to Camera.takePicture blocked the main thread for 291ms. Plugin should use CordovaInterface.getThreadPool().

Has nothing to do with the camera taking a picture or not. All this states that that method is on the main thread and it blocked it for ~300ms, so it should probably be moved off of the main thread so the phone can still feel responsive.
What's more interesting is:

D/CordovaActivity: Stopped the activity.

I'm not 100% sure if this is the low memory android quirk as I never actually encountered this situation myself but...

Android uses intents to launch the camera activity on the device to capture images, and on phones with low memory, the Cordova activity may be killed. In this scenario, the result from the plugin call will be delivered via the resume event. See the Android Lifecycle guide for more information. The pendingResult.result value will contain the value that would be passed to the callbacks (either the URI/URL or an error message). Check the pendingResult.pluginStatus to determine whether or not the call was successful.

https://github.com/apache/cordova-plugin-camera#android-quirks
Let me know if this helps.

We are getting the same 'D/CordovaActivity: Stopped the activity', related to #345

Solved by changing the camera app.  We isolated this issue to snapdragon based devices, tested with Open Camera, and the issue went away.

@alindzon are you going to tell all your users to change the camera app?

I consider it a work around until the real issue is resolved.  So the short answer is if a client needs to use our photo feature, then they have to install Open Camera to make it work on those devices.  We have an open case with bullitt-group.com  about the issue since they make some of the phones in question and as a manufacturer they can deal with Qualcomm.  Their S31 and S61 have Snapdraggon and have this issue.  Their S41 uses a different processor, and no issue.
We tested on Google pixel that uses the snapdraggon, same issue, one that does not, no issue.
Seems to be something Qualcomm did.

Same issue on Xiaomi MI devices with Qualcomm Snapdragon 712

I would be shocked if there were any devices running Snapdragon work.  The S31 uses Qualcomm MSM8909 Quad core, the S61 uses Qualcomm SD630 Octacore 2.2GHz.  Bet the entire family uses the same libraries which are messed up in some way.

We do not have any issues on the Pixel 2 and Pixel 3A.
On the MI devices, it happens randomly though, not always.

But how would using Open Camera solve the issue? We are experiencing the same, with Open Camera no crashes, with the stock camera a lot of issues.

Hello, any news about this issue, i'm having it on a specific device :/


Search enhancement: item & dependencies

This is an idea I think would benefit from more discussion, but I want to put it out there.
Workflow
I will often search for a measure in a large model with intention to inspect or change it. In a complex model, it is quite likely that there will be multiple measure dependencies, and often multiple levels of dependencies. I may have to inspect or modify a dependency of the measure, rather than the measure itself. Or, if there are many measures that depend on my measure of interest, I will want to inspect those to ensure my change doesn't break anything downstream.
Currently, I try to come up with a literal substring which is in all of the measures I'm concerned with, but this depends on:

Me knowing the full dependency tree already
The related measures sharing a unique substring

The first item is not too difficult in a small enough model. The second is often impossible.
Suggestion
When searching, add additional controls to allow:

Search for object and items it depends upon
Search for object and items which depend on it
Both (1) and (2).
Maybe something to control how many levels of dependency in each direction are displayed?

I know that you can sort of get here now with the dependency viewer, but this is a separate window and you still see all the irrelevant measures in the expanded tree view.
I would be happy to discuss further to figure out something that will be useful, or to hear feedback of other potential solutions to deal with the challenge of making edits to a tree of dependencies.

Great suggestion, and I'm certainly open for discussion/improvements in this area. My largest concern is adding too many new controls, buttons, etc. to the main UI, making it too cluttered. That's primarily why I initially decided to have the dependency tree in a separate window (you can still work in the main UI why the dependency tree window is open). UX is really not my strong suit, so if anyone has some experience in this area and would like to contribute - please speak up!
Today, you can navigate to dependent measures by placing the cursor over any measure reference in the DAX expression you're currently looking at, and hitting F12 ("Go to definition"). You can then use the little arrows at the top right corner to navigate back and forth (or use ALT+Left/Right arrow).
I imagine something like "Peak definition", in addition to "Go to definition" would be very useful - imagine putting the cursor over a measure reference, hitting some shortcut key, and then the DAX expression of whatever measure is under the cursor is shown in a little tooltip or popup box.
Regarding searching, Dynamic LINQ mode kind of lets us do this today, albeit it's not very intuitive to use, and you have to know the syntax:

The following search expression will find all measures that are being referenced (directly) by [Total Sales]::ObjectType = "Measure" and ReferencedBy.Measures.Any(Name="Total Sales")

The following expression will find all measures that depend (directly) on [Total Sales]::ObjectType = "Measure" and DependsOn.Measures.Any(Name="Total Sales")

The following expression will find all measures that depend (directly and indirectly) on [Total Sales]::ObjectType = "Measure" and DependsOn.Deep().Any(Name="Total Sales")

Also, results are returned in list form, so in the last case you don't get a visual representation of the dependencies between objects.
Admittedly, this is not ideal for the workflow you describe. Maybe a better option would be a new toggle button "Measure Dependency Mode", in addition to the current 3 search result options (hierarchical by parent, hierarchical by child, flat list). Once you choose this "Measure Dependency Mode", the search engine will only search among measures. The results could then be displayed in a way that would let you expand each measure to navigate to both upwards and downward dependencies. So something like this, if I search for "Sales", with the possibility of drilling both up and down within every measure at the root of the tree:

There are some very good ideas in your response, and I'll follow up more later. The thing that stands out as probably easy to implement and which could help the workflow a low, although still being rather manual, would be having a popup with another measure's definition in it (preferably editable).
With such a popup, I could pull up several measures onto my screen and work on one while looking at the others. If the popup is editable, I could easily refactor by pulling code from one measure to another. For such a popup, I think the full expression editor would be great. Perhaps even the properties pane. DAX Studio and SSMS and Visual Studio all have an interface that I think would work well. I don't know how much effort it would be to implement it. This is a tabbed interface that allows tabs to be pulled out of the main window. I've included a snip below. If the current Expression Editor and properties pane could be tabbed and given an interface like this that allows me to view multiple and arrange them as windows on my desktop, I think I'd be a very happy camper, even if the search functionality I described isn't there.
As a start, a peek or even a view-only popup would be great. But multiple windows, each editable would be superb.

There are some very good ideas in your response, and I'll follow up more later. The thing that stands out as probably easy to implement and which could help the workflow a low, although still being rather manual, would be having a popup with another measure's definition in it (preferably editable).
With such a popup, I could pull up several measures onto my screen and work on one while looking at the others. If the popup is editable, I could easily refactor by pulling code from one measure to another. For such a popup, I think the full expression editor would be great. Perhaps even the properties pane. DAX Studio and SSMS and Visual Studio all have an interface that I think would work well. I don't know how much effort it would be to implement it. This is a tabbed interface that allows tabs to be pulled out of the main window. I've included a snip below. If the current Expression Editor and properties pane could be tabbed and given an interface like this that allows me to view multiple and arrange them as windows on my desktop, I think I'd be a very happy camper, even if the search functionality I described isn't there.
As a start, a peek or even a view-only popup would be great. But multiple windows, each editable would be superb.

Yeah, I had a feeling this discussion would head towards some major UI overhaul. And you're not the first to bring it up :-) In fact, I considered something like this around 2 years ago (issue #36), but I guess the tool wasn't as popular back then, so I didn't receive a lot of responses at the time.
I'd like to have full support for dragging, dropping and docking windows and DAX "documents", similar to Visual Studio and other tools. The only problem is that this is not something that's supported out of the box in a WinForms application - I'd have to include a 3rd party lib to achieve this, and all the good quality docking frameworks cost $$$... if anyone can pull some strings, or have any suggestions in this regard, I'm all ears! (I'm not going to write my own docking code... life's simply too short)

Darren Gosbell has got a UI like I've described in the free DAX Studio.
It seems like the Output window for a measure is 1/3-1/2 of the way to workable. I'm not sure about what the level of effort would be for the changes required. If I use an Advanced Script to Output() a measure, I get an independent window that

allows me to edit the measure which was output
does not include the Expression Editor
takes exclusive focus and prevents me from interacting with the primary Tabular Editor window
can only have one instance

My thought is that if you could change items (2) and (3) and (4) above, it would achieve much of what we are discussing. I know that item (3) is do-able based on the dependency view and BPA window and how they do not prevent interaction with the primary window. That leaves (2) and (4) as my unknowns. Would that be a feasible approach?
Obviously it's ignoring the search entirely.

DAX Studio is written in WPF, not in Windows Forms - the same approach cannot be used in Tabular Editor without a big rewrite. IMHO, it is not even necessary in the short term.
A Script Window is a good idea for both Tabular Editor and DAX Studio (for different reasons), but there is a big background work to get a proper foundation. The UI is a detail at that point.

So I was playing around today with an open source WinForms docking framework called DockPanelSuite which is in active development. It turned out to be quite easy to set up, and it actually looks and feels phenomenal. I even get theming-support right out of the box (Blue, Light and Dark themes - very similar to VS2015). The thing I like most about it, is that the footprint is very low (the DockPanelSuite library is just a single 300 KB DLL).
Here's how the main UI looks with the Blue VS2015 theme of DockPanelSuite:

Just like in VS, you can rearrange the UI elements however you like. Is this what you had in mind @greggyb ?

The primary goal is not the ability to rearrange UI elements, but to have multiple instances of the Expression Editor open simultaneously, so I can see multiple measures simultaneously. Ideally I could edit the measures in each of these instances of the expression editor, but even a view-only instance would be helpful.
A very quick and dirty mockup is shown below, using DAX Studio. I have created several instances of query panes. Each of these query panes can be edited and evaluated separately.

Yeah, that's exactly the reason why I want to have a proper UI docking framework first. Without it, the best I can do is just opening up lots of tabs in the upper right portion of the screen, which would not solve the requirement of viewing multiple measure expressions simultaneously. So far I've got this:

You bring up a new expression editor by double-clicking on an object. Still needs some more work (for example, the Tab should show the name of the object instead of "Expression Editor"), but I think this is the right direction to go.

Yes, that is beautiful!
I have many additional thoughts as I look at this. I'll share them just to give you food for thought as well, but I don't have a good feel for the relative difficulty, and I also can't even give you a good ordered ranking of them. I want to be clear that I'm not thinking of these as immediate needs or things required for rolling out tabs like you've shown. Just sharing some thoughts.

Properties pane should probably represent either of the below. Both make sense to me.

The properties of the measure (or whatever else exists) in the focused tab
The properties of the item selected in the TOM explorer

If opening a tab can be a scriptable action, I could imagine opening up all dependencies or all depends-on measures based on the current selection - this could just be a custom action and wouldn't need any support beyond being able to open a tab for a measure from an advanced script

An obvious enhancement would probably be trying to do some sort of smart layout for the opened tabs. I expect this would be easy to start and near-impossible to perfect.

It may make sense to make a selector in advanced scripting for "Open measures" (I'm not sure on the name) so that you could make a script that works on Open.Measures similar to how you can do Selected.Measures
Would the script editor be positionable similarly?
Could I have two TOM Explorers open simultaneously? I'm thinking for a very large model, I could have two explorers open which are simply focused on different tables in the model.

Expanding on above, something like Visual Studio's Solution Explorer's "Scope view to this object" could be interesting, to scope to a table or a folder. This is well beyond tabs.
Maybe instead of scope to this, you could have independent searches on each TOM Explorer?

Some excellent ideas there! Here are my thoughts:

Properties pane should reflect the object that currently has focus - this is the most intuitive way, I believe.
It should be easy to let a script open up a new expression editor tab. But the smart layout thing is something I dread... :-)
Instead of Open.Measures, I think I will provide an UI toggle option that lets you decide whether the Selected-object should point to the current selection in the TOM Explorer (default), or the currently open expression tabs - that way, you don't need to modify your scripts.
The script editor can be rearranged just like any other editor window, and you will also be able to open multiple script editors.
Having multiple TOM Explorers makes a lot of sense (especially if you can scope them to a specific perspective, filter them independently, or scope to a specific parent object). However, this is more complicated due to the UI interactions that are possible within the Explorer, so this is lower priority for now.

Definite agree on the properties behavior you laid out there. I think that is most intuitive.
On the Selected object, perhaps instead of a toggle to change behavior of the script, a button to "Select open tabs". It gives an easy way to operate on the open tabs, and also lets you preserve the existing semantic. I say this, because some of the most frequently misunderstood UI elements I've seen are toggles, rather than actions. The first two examples that jump to mind are both in PBI - the drilldown toggle (original drilling experience), which changes the behavior of left-click; and the visual interactions toggle, which turns on additional UI elements in visual headers. These have definitely caused a lot of issues in trainings I've given, and bias me against toggles.

That's a much better suggestion than what I came up with. Thanks!

Thank you for all your work on Tabular Editor. It's a great tool and I appreciate it!


Editor Making UnWanted Edits

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version:
OS Version:

Steps to Reproduce:

Highlight content for copying
close VSCODE
2.restart VSCODE

The result is that it combines the content of two files open into one thus making unwanted editor changes.

Whoops forgot some things:
OS is MS Windows 10
,
VSCODE version is the Insiders recent edition

/needsMoreInfo


[FEAT] : logic of the todo website

✏ Description
the logic of the app could be like :-

addTodo when '+' button is clicked
removeTodo the todo when task is checked
getTodo if any when the site loads

📸 Screenshots
No response

i would like to work on this

yeah awesome, go for it :star_struck:


Epic 2.16 Frontend for Presentation Generator

Frontend Implementation: Presentation Generator Tool

Overview
Upon completion of Issue #117 for developing the Presentation Generator, the FE functionality can be implemented. This issue focuses on the frontend implementation to provide a seamless and user-friendly interface for generating and customizing slide presentations tailored to educators' needs.
Details from Backend Issue (#117):
The Presentation Generator tool enables users to create structured, visually engaging presentations by specifying inputs such as grade level, number of slides, and content topic. The backend generates logical slide content tailored to the user’s input while adhering to the specified parameters.

Scope of Work

Tool Description
The Presentation Generator tool will allow users to input parameters (e.g., grade level, number of slides, topic) and view generated presentations in a structured layout. Users will have the option to export the generated content as text or PPTX files.

Design Implementation
The frontend should adhere to the provided design mockups to ensure a user-friendly and visually appealing interface.
Design Mockup

API Integration

Use the backend API endpoint to fetch generated slide content.
Ensure seamless communication between the frontend and backend for slide generation, customization, and export functionality.

Features to Implement

Input Form: Build an interactive form for users to input parameters like grade level, number of slides, and topic.
Slide Preview: Display generated slide content in a structured, scrollable preview.
Export Functionality: Add options to export slides as text.
Validation: Implement frontend validation to ensure inputs meet required formats and criteria.

Acceptance Criteria

[ ] The frontend matches the design mockup and provides a seamless user experience.
[ ] The input form correctly sends data to the backend API.
[ ] Generated presentations are displayed in a structured and user-friendly format.
[ ] Export functionality (text) works as expected.
[ ] The tool is responsive and functional across devices and browsers.

Resources

Design Mockup
Backend API Documentation
Backend Issue (#117)

Notes
This issue depends on the backend implementation. Frontend developers should refer to the API documentation to test the integration and ensure the generated presentations are accurate and meet user expectations.

Hi,
It seems the backend feature for the Presentation Generator (app/features/presentation_generator) hasn’t been implemented yet. Could you confirm if this is correct? If it has been implemented, please let me know.

Hi I would like to work on this issue

Hi, I'm currently working on this issue as well

I have implemented the Presentation Generator feature and opened a pull request (#210)
I kindly request your review and feedback. Let me know if any further updates are needed.


Create pull request template to remind us of updating CHANGELOG

We had a chat and we think adding a pull request template might help us remember to update the changelog.

We seem to be getting on OK without this for now, will reopen if it becomes an issue.


Add switch between QNH and QNE

No event in FSUIPC nor Offset

https://docs.flybywiresim.com/pilots-corner/a32nx-briefing/a32nx_api/#efis-control-panel
https://forums.flightsimulator.com/t/how-to-update-localvariables/376360/4
Switching mode isn't possible with simConnect it needs a WASM module to interact with LVAR


Update H2 Database to 2.0.206 to address CVE-2021-42392.

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-42392

Thanks for pointing this out!


Make it possible to see the YAML of an API definition

As a dev I want to see the actual YAML of the deployed or published API definition

@olensmar  do you mean something else other than the CRD?

yes - i meant just the openapi definition - not the CRD that contains it - although this is perhaps more relevant for the public/post-processed definition

Thank you!

https://github.com/kubeshop/kusk-gateway/projects/5#card-81136493

@mortada-codes do you need more information about this?

https://github.com/kubeshop/kusk-gateway-dashboard/pull/120


Inject Sentry as dependancy

I'm trying to dependancy inject Sentry, but without any luck.
	function __construct(User $user, \Cartalyst\Sentry\Facades\Laravel\Sentry $sentry)
	{
		$this->user   = $user;
		$this->sentry = $sentry;
	}

If I try to call a method on the Sentry object like $this->sentry->login($user);
I get the following error:
Call to undefined method Cartalyst\Sentry\Facades\Laravel\Sentry::login()
Any idea? :)
Thanks!

Thanks, its helped me :+1:


lnrpc.ConnectPeerRequest : Timeout does not seem to work at times

Background
refer #4123  and #4452 which seem to fix this issue. However, I noticed that the call does not respect the timeout and takes 3+ minutes.
Call
response = stub.ConnectPeer(request = ln.ConnectPeerRequest(addr=address, perm=False, timeout=5))
Result
Mon Sep  5 11:07:46 2022 : ... Attempting connection to peer.alias='MidasMulligan' inactive_peer='03fd21fdee8e9adc070b53a0bca8685cbc0b97f27b72f364723dcc54b4164ab21b' host='322e5mbonli3h4r4la6ox2gt2cm534k7uk3cbl6yr34rtxyfnj6mdiid.onion:9735'
Mon Sep  5 11:11:39 2022 : .... Error reconnecting MidasMulligan inactive_peer='03fd21fdee8e9adc070b53a0bca8685cbc0b97f27b72f364723dcc54b4164ab21b' str(e)='<_InactiveRpcError of RPC that terminated with:\n\tstatus = StatusCode.UNKNOWN\n\tdetails = "dial proxy failed: socks connect tcp <IP_ADDRESS>:9050->322e5mbonli3h4r4la6ox2gt2cm534k7uk3cbl6yr34rtxyfnj6mdiid.onion:9735: unknown error general SOCKS server failure"\n\tdebug_error_string = "{"created":"@1662376299.194364800","description":"Error received from peer ipv4:<IP_ADDRESS>:10009","file":"src/core/lib/surface/call.cc","file_line":966,"grpc_message":"dial proxy failed: socks connect tcp <IP_ADDRESS>:9050->322e5mbonli3h4r4la6ox2gt2cm534k7uk3cbl6yr34rtxyfnj6mdiid.onion:9735: unknown error general SOCKS server failure","grpc_status":2}"\n>'

Your environment

version of lnd

{
    "version": "0.15.1-beta commit=v0.15.1-beta",
    "commit_hash": "fd1a95bf322cdd1c743a1554f8e470fbf9a5e564",
    "identity_pubkey": "03c5528c628681aa17ab9e117aa3ee6f06c750dfb17df758ecabcd68f1567ad8c1",

which operating system (uname -a on *Nix)
Linux umbrel 5.10.17-v8+ #1421 SMP PREEMPT Thu May 27 14:01:37 BST 2021 aarch64 GNU/Linux

Steps to reproduce
This happens only at times. I could not find a specific pattern.
Tell us how to reproduce this issue. Please provide stacktraces and links to code in question.
Expected behaviour
Time out should be respected.
Actual behaviour
At times time call gets stuck.

Another example
umbrel@umbrel:~/utils/mylndg/lndg $ time lncli connect 037c0bb263a4fe95f0ed598b50cf51e5732a6bc1c48d1c81c5e89f2442939dffdd@<IP_ADDRESS>:55596 --timout 30s

real	2m2.672s
user	0m2.016s
sys	0m0.318s

I think we may need more documentation about this.
The timeout does not applies to the request itself, when the client calls ConnectPeer until it gets a response from the server, but to the dial connection establishment. If there is name resolution So everything else is not counted in that timeout: noise protocol, handshake, waiting for acquiring locks, etc..
I will check to ensure that timeouts apply when using tor dials.
In your second example I think you are using the default timeout (2 min) because of a bad param name --timout 30s instead of --timeout 30


Add a GH workflow to publish the openhexa-pipelines image

This workflow is triggered manually by the user. The tag is taken from the inputs of the workflow and is used to create tags as follows:
Input: 1.1.3
Tags: blsq/openhexa-pipelines:latest, blsq/openhexa-pipelines:1.1.3, blsq/openhexa-pipelines:1.1, blsq/openhexa-pipelines:1, blsq/openhexa-pipelines:
This is required to not use the latest image in production without testing it in demo.
⚠ This workflow needs the DOCKERHUB_USERNAME & DOCKERHUB_PASSWORD to be set in the settings of the repository

@qgerome can we delete this branch?


Please add required attribute just like HTML 5 for TextFormField

Please add required attribute just like HTML 5 for TextFormField which would append "red color asterisk: to labelText and also basic validation for empty text or according to keyboard type
eg: if keyboardType: TextInputType.emailAddress then email validation if required: true

you can use https://github.com/OndrejKunc/flutter_dynamic_forms
for dynamic create and submit forms, also demo contain what you wont in easy way
in vanilla Flutter you must use Controller

you can use https://github.com/OndrejKunc/flutter_dynamic_forms
for dynamic create and submit forms, also demo contain what you wont in easy way
in vanilla Flutter you must use Controller

an how to achieve red color asterisk: to labelText

an how to achieve red color asterisk: to labelText

Hi @Siddhesh1992
It seems you are asking for assistance on personal code. Please see https://flutter.dev/community for resources and asking questions like this,
you may also get some help if you post it on Stack Overflow and if you need help with your code, please see https://www.reddit.com/r/flutterhelp/
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you

Hi @Siddhesh1992
It seems you are asking for assistance on personal code. Please see https://flutter.dev/community for resources and asking questions like this,
you may also get some help if you post it on Stack Overflow and if you need help with your code, please see https://www.reddit.com/r/flutterhelp/
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you

I was just proposing feature request as its a basic task adding red color asterisk
because I didn't got easier solution for this
labelText: "pincode ", //red asterick  something one liner
https://github.com/flutter/flutter/issues/55285
https://stackoverflow.com/questions/53785525/how-to-set-a-red-asterisk-for-sign-of-is-mandatory-field-in-flutter
                        TextFormField(
                          hintText: "pincode",
                          labelText: "pincode *", //red asterick * something one liner
                          controller: pincodeController
                          errorText: pincodeError,
                          decoration: InputDecoration(
                          hintStyle: hintStyle,
                          counterText: "",
                          prefixIcon: prefixIcon,
                          border: new OutlineInputBorder(
                            borderRadius: const BorderRadius.all(
                              const Radius.circular(10.0),
                            ),
                          ),
                          filled: true,
                          fillColor: Colors.white70,
                          onChange: (value) async {
                          //http
                          },
                          validator: (value) {}
                          onSaved: (value) {

                          },

I was just proposing feature request as its a basic task adding red color asterisk
because I didn't got easier solution for this
labelText: "pincode ", //red asterick  something one liner
https://github.com/flutter/flutter/issues/55285
https://stackoverflow.com/questions/53785525/how-to-set-a-red-asterisk-for-sign-of-is-mandatory-field-in-flutter
                        TextFormField(
                          hintText: "pincode",
                          labelText: "pincode *", //red asterick * something one liner
                          controller: pincodeController
                          errorText: pincodeError,
                          decoration: InputDecoration(
                          hintStyle: hintStyle,
                          counterText: "",
                          prefixIcon: prefixIcon,
                          border: new OutlineInputBorder(
                            borderRadius: const BorderRadius.all(
                              const Radius.circular(10.0),
                            ),
                          ),
                          filled: true,
                          fillColor: Colors.white70,
                          onChange: (value) async {
                          //http
                          },
                          validator: (value) {}
                          onSaved: (value) {

                          },

you may also get some help if you post it on Stack Overflow and if you need help with your code, please see https://www.reddit.com/r/flutterhelp/
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you

Hi @Siddhesh1992
This is already possible.
It seems you are asking for assistance on personal code. Please see https://flutter.dev/community for resources and asking questions like this,
you may also get some help if you post it on Stack Overflow and if you need help with your code, please see https://www.reddit.com/r/flutterhelp/
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you

I was just proposing feature request as its a basic task adding red color asterisk
because I didn't got easier solution for this
labelText: "pincode ", //red asterick like  something one liner
#55285
https://stackoverflow.com/questions/58850122/how-to-add-red-asterisk-in-label-of-textformfield-in-flutter
https://stackoverflow.com/questions/53785525/how-to-set-a-red-asterisk-for-sign-of-is-mandatory-field-in-flutter
                    TextFormField(
                      hintText: "pincode",
                      labelText: "pincode *", //red asterick * something one liner
                      controller: pincodeController
                      errorText: pincodeError,
                      decoration: InputDecoration(
                      hintStyle: hintStyle,
                      counterText: "",
                      prefixIcon: prefixIcon,
                      border: new OutlineInputBorder(
                        borderRadius: const BorderRadius.all(
                          const Radius.circular(10.0),
                        ),
                      ),
                      filled: true,
                      fillColor: Colors.white70,
                      onChange: (value) async {
                      //http
                      },
                      validator: (value) {}
                      onSaved: (value) {

                      },

you may also get some help if you post it on Stack Overflow and if you need help with your code, please see https://www.reddit.com/r/flutterhelp/
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you

Hi @Siddhesh1992
This is already possible.
It seems you are asking for assistance on personal code. Please see https://flutter.dev/community for resources and asking questions like this,
you may also get some help if you post it on Stack Overflow and if you need help with your code, please see https://www.reddit.com/r/flutterhelp/
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you

I was just proposing feature request as its a basic task adding red color asterisk
because I didn't got easier solution for this
labelText: "pincode ", //red asterick like  something one liner
#55285
https://stackoverflow.com/questions/58850122/how-to-add-red-asterisk-in-label-of-textformfield-in-flutter
https://stackoverflow.com/questions/53785525/how-to-set-a-red-asterisk-for-sign-of-is-mandatory-field-in-flutter
                    TextFormField(
                      hintText: "pincode",
                      labelText: "pincode *", //red asterick * something one liner
                      controller: pincodeController
                      errorText: pincodeError,
                      decoration: InputDecoration(
                      hintStyle: hintStyle,
                      counterText: "",
                      prefixIcon: prefixIcon,
                      border: new OutlineInputBorder(
                        borderRadius: const BorderRadius.all(
                          const Radius.circular(10.0),
                        ),
                      ),
                      filled: true,
                      fillColor: Colors.white70,
                      onChange: (value) async {
                      //http
                      },
                      validator: (value) {}
                      onSaved: (value) {

                      },


make sdk compatible to new auth flow

@s-urbaniak Did only delete the files for you. I would have let them in as zombieCode


Utilise a flashing record Led ?

Damn.
I have my Allsky installed in a pipe running off a portable battery.
Last night it didn't record anything because maybe the power wasn't plugged in to the Pi?
Just wondering if there is a way to add a Record Led that flashes when the Allsky is recording?
Where would I add the code?  I am a evolving aging novice !

I just connected a Led to a spare GPIO and using it as an external status Led. Disconnecting the internal one with an amendment in the config file.

@pomgonewalkabout, can this issue be closed?  It sounds like you implemented a LED.  Can you share whatever changes to the Allsky software you made?


tests: run tests against node v6

Version 6.0.0 is out!

Do we still care about v5? It looks like only v4 and v6 are LTS.

Coverage remained the same at 100.0% when pulling 84c198fb4c2282adae3c48988c7b79d939a57330 on stephenplusplus:spp--travis-node-v6 into e9e4170d0bb24045e5f53fdf389fa954c5debfbe on GoogleCloudPlatform:master.

Later, 5!

Coverage remained the same at 100.0% when pulling f2d1139c0fe198aaad7de2d83b0207f4f4b74778 on stephenplusplus:spp--travis-node-v6 into e9e4170d0bb24045e5f53fdf389fa954c5debfbe on GoogleCloudPlatform:master.


Update index.go

Changed some lines for code structuring

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Accept dot inside intrinsic name in header

The current rule doesn't accept a dot inside the intrinsic name in header, but there are multiple intrinsics that has dots inside their names, such as %GeneratorFunction.prototype.prototype%.
This allows the solution (A) in https://github.com/tc39/ecma262/issues/3230

If that solution ends up not being adopted (I personally don't think there's a problem that needs solving, and I think the solution is less readable), would this change be needed?

Closing given https://github.com/tc39/ecma262/pull/3234 is superseded by https://github.com/tc39/ecma262/pull/3238 with %GeneratorPrototype%, which doesn't have a dot inside %.


Fix Thymeleaf Rendering Error by Handling Undefined Variables

Resolved the Thymeleaf rendering error: "Exception evaluating OGNL expression: 'centerRegion.components'" (found in "mimir:/site/layouts/triple/triple.html" - line 11, col 12). Implemented a check for null or undefined variables before template parsing. Added a safeguard to assign empty arrays to variables if they are null or undefined, preventing Thymeleaf from throwing errors when a region is empty at render time.

mimir-1857


[BUG]: Pagination issue at  "Admin | Sync Template v2 (Custom Connectors)" flow template

Describe the bug
When trying to Activate the Sync Template flow "Admin | Sync Template v2 (Custom Connectors)" and save it, I got en error:
The pagination policy of workflow run action 'Find_connector_record' of type 'ApiConnection' at line '1' and column '6222' is not valid. The value specified for property 'minimumItemsCount' exceeds the maximum allowed. Actual: '10000'. Maximum: '5000'.
Component (please tell us which flow or app you are experiencing issues with):

Solution - Core
Version - 1.60
Flow - Admin | Sync Template v2 (Custom Connectors)

To Reproduce
Steps to reproduce the behavior:

Go to the make.powerapps.com,
In the left navigation, select Solutions, and then select Center of Excellence - Core Components.
Select the flow "Admin | Sync Template v2 (Custom Connectors)", to go to the flow details page.
Select Save As.
After all connectors are OK, click Continue
You get en error.

I cannot export and import the Flow as a workaround. I got this error during the import of the ZIP file:
The request failed with error: '{"error":{"code":"PackageFlowMissingConnectionMap","message":"Flow resource '27f36964-b573-4497-93ae-6bd5cee3756f' missing mapping for connections 'shared_commondataservice_1,shared_commondataservice,shared_office365users,shared_powerappsforadmins,shared_commondataservice_4'."}}'. The tracking Id is '26603cdb-19c3-480b-906b-6af41f7c4d45'.

Duplicate of #428
Hello. This is a known issue, and we are releasing a fix in the next few days.
Thanks for using CoE!


Scenario 3: Extreme weather conditions (Emergency Responders, Highways officers)

Extreme weather conditions(Emergency Responders, Highways officers): Test the application's ability to plan a route under extreme weather conditions including, snow, rain, flooding, and wildfires. Verify that the application considers road closures and traffic delays caused by weather when providing an optimal route and can suggest alternative routes if necessary. Additionally, test the application's ability to optimize charging stops based on the weather.

@alixcote  - this item was recently brought forward. just confirming the Route Planner web service currently does not reflect weather conditions.

@NicoledeGreef It does not right now take into account road closures and traffic delays, but we do have a demo showing the use of Open511 data, so it could be something we look at in the future.


Generate OPA policies based on security context

Is your feature request related to a problem? Please describe.
like generating PSP, generate OPA policies based on security context
Describe the solution you'd like
Similar to generating PSP. Per image/namespace
Describe alternatives you've considered
N/A
Additional context
N/A

completed in #46


added task runner cmd; in-memory task logger; log…

direct-to-task runner
in-memory task logger
log-based task logger

I don't like having both worker run and worker start as shown in this PR.  Once #203 is merged these commands will become node run and worker run to match the Go convention started by os/exec where Run blocks and Start doesn't.

Probably going to close this PR in favor of #220.  That PR allowed this to be tested more thoroughly.

Closed in favor of #220


'alpine-arm64' is not a valid VS Code target

Testing #133868
The test issue lists it, but vsce 1.100.0 complains:

It would seem to make sense to support it since this platform was added for 1.61 to the server builds.

Sounds reasonable. Leaving @joaomoreno as owner of vsce


community-operators [N] [CI] crane-operator (1.4.3)

Signed-off-by: Rayford Johnson<EMAIL_ADDRESS>

/test deploy-operator-on-openshift

/test all

/merge possible


docs: improve OG, Twitter types

Issue or need
Same as #824 for Twitter & Open Graph types

Proposed changes
See #824

Quick reminders

🤝 I will follow Code of Conduct
✅ No existing pull request already does almost same changes
👁 Contributing docs are something I've taken a look at
📝 Commit messages convention has been followed
💬 TSDoc comments have been added or updated indicating API visibility if API surface has changed.
🧪 Tests have been added if needed. For instance, if adding new features or fixing a bug. Or removed if removing features.
⚙ API Report has been updated if API surface is altered.

#827  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @davidlj95 and the rest of your teammates on  Graphite


Perhaps a Bug: MX_DMA_Init(); must happens before MX_USART3_UART_Init();

Issue template

Hardware description: nucleo_stm32f767zi
RTOS: FreeRTOS
Installation type: micro_ros_setup
Version or commit hash: galactic

Steps to reproduce the issue
change main.c , compile and flash.
  /* Initialize all configured peripherals */
  MX_GPIO_Init();
  MX_USART3_UART_Init();
  MX_DMA_Init();
  MX_USB_OTG_FS_PCD_Init();

Expected behavior
smoke test success.
Actual behavior
transport of serial failed, with no output of agent
Additional information
In auto-generated code by cubemx(6.4), MX_DMA_Init(); happens after MX_USART3_UART_Init();
Originally posted by @ZhenshengLee in https://github.com/ZhenshengLee/ros2_mcu/issues/2#issuecomment-1063611974

Not a micro-ROS issue


[Feature Request] support template bool for rtl and other boolean properties.

Problem Statement
$ is not a valid usage in JSON, so it has problem to convert the template data to bool directly.
"rtl": ${bool($rtl)}

Proposed solution
n/a
Alternatives or Workarounds
No response

Ditto for int() to be used with value, min, and max for number fields.

Is this a regression? I'm not sure if this is a new feature request or a bug since this PR seems to address it:
https://github.com/microsoft/AdaptiveCards/pull/4351

See https://github.com/microsoft/AdaptiveCards/issues/4350 as well

@JeanRoca Given the dates, I’m guessing it’s a regression. Not sure if it is extended to int(), but if it isn’t it should be.

I think this might be just Designer issue. let me try using in code. There will a lot more issues filed if this doesn't work.

Hey, I verify that it does work in code.

I've updated the feature request with a proposed solution.

This also happens when trying to set image height and width using the data payload.
Card JSON
{
    "type": "AdaptiveCard",
    "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
    "version": "1.5",
    "body": [
        {
            "type": "TextBlock",
            "text": "Image test:",
            "wrap": true
        },
        {
            "type": "Image",
            "url": "https://pbs.twimg.com/profile_images/3647943215/d7f12830b3c17a5a9e4afcc370e3a37e_400x400.jpeg",
            "width": "${imageSize}",
            "height": "${imageSize}"
        }
    ]
}

Data JSON
{
    "imageSize": "100px"
}


Merge StartingBehavior code into TaskStartActor

This was really just unnecessary abstraction used only in one class.
I did not touch the implementation, I really just moved the code to a different class (to ease the review).

there is a follow-up PR with some scheduler fixes here https://github.com/mesosphere/marathon/pull/6754 building on top of this PR


Nice to have quick and easy heal

Before getting out of dungeon, we need to heal injured members and this is a minor hassle.  It would be nice if we have one quick command to heal all injured members, by automatically using healing spells.

Implemented auto-heal command in the camp menu.


Azure Data Studio — Run Button Dimming

Context: I'm running some simple queries in Azure Data Studio to query and manipulate data in a local instance of SQL Server 2019.
Question: When I query the table via "Select", the Run button is accessible. As soon as I Truncate the table, the Run button dims & is no longer accessible --__-- Why!? Once the button dims seems I'm unable to execute any other queries in the same query window afterwards. SMH.
I expect this button to be easily accessible, similarly to SQL Server Management studio. I read through the docs and dont see anything about this button dimming issue. Can someone please share any tips/tricks they know on how to fix this issue?
https://stackoverflow.com/questions/60638170/azure-data-studio-run-button-dimming

The run button becomes disabled when the query is executing. The cancel button will then become enabled. Is this what you are experiencing?

The issue seems to have resolved itself. Not sure how or why but seems to be working now.


Local Rate limit Filter - Dynamic Descriptor

Title: Local Rate limit Filter - Token Bucket per User
Description:
I am looking to use the local rate limit filter to apply limits at a per user basis on a given route. I was looking to use ether filter state or request metadata to do so. Looking at the documentation I am not able to find examples of how to use a key from filter state or metadata as a descriptor. Does anyone know if it's even possible to set a dynamic value here? Thanks!
[optional Relevant Links:]

Any extra documentation required to understand the issue.

Update - tried doing something like the following using a key from our filter state and it did not work. Looks like substitution format strings are not recognized. I see there are some older issues opened with the same ask. Is there any particular reason why this is not supported? Also looks like the network local ratelimit filter does not have the option to specify descriptors at all
`
filter_enforced:
runtime_key: local_rate_limit_enforced
default_value:
numerator: 100
denominator: HUNDRED
descriptors:
- entries: # https://github.com/envoyproxy/envoy/issues/19895
- key: client_ip
value:  "%FILTER_STATE(talon_operation_event.SourceIp)%"
token_bucket:
max_tokens: 100
tokens_per_fill: 100
fill_interval: 1s
`

The entry value of descriptor should be a raw string value. The local rate limit filter will generate a value based on the https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/route/v3/route_components.proto#config-route-v3-ratelimit configuration and the generated value will be used to match the value in the descriptors.

The entry value of descriptor should be a raw string value. The local rate limit filter will generate a value based on the https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/route/v3/route_components.proto#config-route-v3-ratelimit configuration and the generated value will be used to match the value in the descriptors.

Okay, so substitution format string is not supported in descriptor value for local ratelimit filter. I see there are some older issues with this ask. Do you know if anyone has attempted to take a stab at implementing this? or if there is a reason why this should not be supported.

Basically, the entries keys and values is used to identify a rate limit rule uniquely. So, I don't know in which case it should be a variable. What is the final effect and what scenario will need it?

Basically, the entries keys and values is used to identify a rate limit rule uniquely. So, I don't know in which case it should be a variable. What is the final effect and what scenario will need it?

Trying to find a way to create a separate token bucket per identitifier based on a given request metadata field. For example, if I wanted to allow 10k RPS per userId.

From the configuration perspective, keep the value be absent means we want to do rate limit for every unique value, like 10k PRC per user id or per user ip.
See https://github.com/envoyproxy/ratelimit?tab=readme-ov-file#example-8
But it's not supported for now for local rate limit because the possible uncontrollable memory overhead and the implementation complexity.
@kyessenov do you think this requirement make sense? should we try to add it to local rate limit?


[Feature Request] Validate file size before writing to archive

There have been several instances where a download fails resulting in a zero-byte file, but podcast-dl writes the URL to the archive. The result is that the failed download is not attempted again on subsequent runs.
Would it be possible to validate the downloaded file against the <enclosure> length and/or <itunes:duration> value in the xml file before writing to the archive file? Validating duration may require a ffprobe or similar dependency but file size should be easier to achieve.
P.S. thanks for your work on this project — it has been incredibly useful :)

Hey @wangxu94!
That sounds a bit annoying. Definitely will try to add a better check/cleanup of those failed downloads. A couple questions that will help me track it down:

Would you mind outputting the version number? Using --version should return it.
Does podcast-dl log a warning and/or delete the zero-byte file when this happens?
If able, mind sharing one of the podcast feeds where you've seen this happen? Does it seem random?

Hey @wangxu94!
That sounds a bit annoying. Definitely will try to add a better check/cleanup of those failed downloads. A couple questions that will help me track it down:

Would you mind outputting the version number? Using --version should return it.
Does podcast-dl log a warning and/or delete the zero-byte file when this happens?
If able, mind sharing one of the podcast feeds where you've seen this happen? Does it seem random?

Thanks for replying!

This happened on 4.1.1. I have just upgraded to 4.1.2 this morning so can't say for sure whether it happens on that version.
It does not delete the zero-byte file. The meta.json file is written correctly. Unfortunately I don't know whether it logs a warning because I was running it on a cron job piped to /dev/null. I will write the output to a logfile now and get back to you if I see this happen again.
I've seen this behaviour on multiple feeds, including a private patreon feed and a public podbean feed.

Thanks for replying!

This happened on 4.1.1. I have just upgraded to 4.1.2 this morning so can't say for sure whether it happens on that version.
It does not delete the zero-byte file. The meta.json file is written correctly. Unfortunately I don't know whether it logs a warning because I was running it on a cron job piped to /dev/null. I will write the output to a logfile now and get back to you if I see this happen again.
I've seen this behaviour on multiple feeds, including a private patreon feed and a public podbean feed.

Thanks a bunch for the info!
The script currently does a very simple check using fs.statSync to determine the size and log an error if it's empty. My current guess is that it's behaving differently when running as a background task, but it's definitely something I would like to support.
Let me do some testing and see what I can find. 🧪

Thanks a bunch for the info!
The script currently does a very simple check using fs.statSync to determine the size and log an error if it's empty. My current guess is that it's behaving differently when running as a background task, but it's definitely something I would like to support.
Let me do some testing and see what I can find. 🧪

Ah yes, I see now that you do have a file size check. Thanks for looking into this, I'll report back with logs if I notice this behaviour again.

Ah yes, I see now that you do have a file size check. Thanks for looking into this, I'll report back with logs if I notice this behaviour again.

Oh! Sorry, one more quick question: are you running it with the built binary or Node? If you're using Node 12 (either the binary or locally), I could package the script with Node 14. If it doesn't appear again it might be a bug in the OS-level hooks in Node 12.
Just another avenue to check! Let me know if you're interested.

Oh! Sorry, one more quick question: are you running it with the built binary or Node? If you're using Node 12 (either the binary or locally), I could package the script with Node 14. If it doesn't appear again it might be a bug in the OS-level hooks in Node 12.
Just another avenue to check! Let me know if you're interested.

Hey sorry for the late reply! I am running the built binary.

Hey sorry for the late reply! I am running the built binary.

Ah! That's really interesting. It makes me think that the permissions around how the script is being run are preventing the empty files from being deleted on your system by the script, but it's good that they're not being written out to the archive when it's empty.
At the moment I don't think it is an issue with the archive check. The script by default will skip any local collisions, so if the next run of podcast-dl encounters one of the zero-byte files that haven't been cleaned up, it'll skip that download just because it sees it locally.
Since you're using --archive, enabling the --override flag as well might be a good solution if you're not able to figure out the permissions issue. The script will continue to skip items found in the archive but will write over those zero-byte files.

Ah! That's really interesting. It makes me think that the permissions around how the script is being run are preventing the empty files from being deleted on your system by the script, but it's good that they're not being written out to the archive when it's empty.
At the moment I don't think it is an issue with the archive check. The script by default will skip any local collisions, so if the next run of podcast-dl encounters one of the zero-byte files that haven't been cleaned up, it'll skip that download just because it sees it locally.
Since you're using --archive, enabling the --override flag as well might be a good solution if you're not able to figure out the permissions issue. The script will continue to skip items found in the archive but will write over those zero-byte files.

I see. The folders are all owned by the user running the script, so I'm not sure why there would be a permissions issue. Thanks for suggesting the --override flag though — that should solve the problem for me.
Thanks for your help, and feel free to close this issue if there is nothing else on your end :)

I see. The folders are all owned by the user running the script, so I'm not sure why there would be a permissions issue. Thanks for suggesting the --override flag though — that should solve the problem for me.
Thanks for your help, and feel free to close this issue if there is nothing else on your end :)

Cool! Glad that works out for now. Definitely let me know if you run into anything in the logs that doesn't look right.
Always happy to see someone using the script. 🚀

Cool! Glad that works out for now. Definitely let me know if you run into anything in the logs that doesn't look right.
Always happy to see someone using the script. 🚀


pendingRequests accessed from different queues

I observed URLSessionDelegate and AVAssetResourceLoaderDelegate methods are called from different queues, and they both access pendingRequests.

Thanks for pointing out!

This can be a cause for #13

You are welcome :-)

@neekeetab Any update on this? It's definitely cause of crashes and currently, after we added CachingPlayerItem to our project, it's the biggest crash on Fabric. 😞

I’m sorry for the crashes. Most likely it’s due to the race conditions. Adding a private queue may do it

Is there a solution to this? My users are reporting crashes and this is cause. I'd help out but I'm not that good at multithreaded swift code. Really need a fix.


moved dependency

I think you need the plugin you inherit from in prod dependencies

Hi, this makes absolutely sense. I'll merge it immediately.


Refactored 'index.js'

Modified codes more readable.

Maybe readable for you, but the author has written it according to his own style, so I don't see a reason why would he change it to your style of coding.


Traefik 1.7 does not connect to marathon if marathon is not already running

Do you want to request a feature or report a bug?
Bug
What did you do?
I have a working configuration for a single marathon host docker container and a single traefik docker container.
Traefik docker instance is started before the marathon docker instance, but does not connect to the the marathon host when the marathon docker container has started up.
The log shows:
time="2020-03-25T12:18:40Z" level=error msg="Failed to retrieve Marathon applications: all the Marathon hosts are presently down"
The Docker container seems techically dead, however the status is still running, meaning the traefik has not exited.
What did you expect to see?
I expected the traefik container to keep retrying the marathon host until it responded
OR
I expected the traefik docker image to stop with an exit code and message like "Failed to retrieve Marathon applications: all the Marathon hosts are presently down.
What did you see instead?
No action what so ever. The docker container appears to do nothing.
Output of traefik version: (What version of Traefik are you using?)
Running a docker image with the tag v1.7
v1.7
What is your environment & configuration (arguments, toml, provider, platform, ...)?
################################################################
# Mesos/Marathon configuration backend
################################################################
[web]
address = ":webport"
# Enable Marathon configuration backend.
[marathon]
# Marathon server endpoint.
# You can also specify multiple endpoint for Marathon:
endpoint = "marathonurl:marathonport"
# Enable watch Marathon changes.
#
# Optional
# Default: true
#
watch = true

# Default domain used.
# Can be overridden by setting the "traefik.domain" label on an application.
#
# Required
#
domain = "mymachine.my.domain"

# Expose Marathon apps by default in Traefik.
#
# Optional
# Default: true
#
exposedByDefault = true

The above config sensitive data have been masked.

@misterjimp I gave it a go but it works well for me.
Running zookeeper + marathon locally with the official docker images
Traefik setup flags
docker run -it --net traefik -p 80:80 -v /var/run/docker.sock:/var/run/docker.sock traefik:v1.7 --api --marathon.endpoint=http://marathon:8080 --marathon.watch --marathon.exposedbydefault --entryPoints='Name:http Address::80 Compress:true' --debug

Logs
INFO[2020-03-25T18:29:34Z] Starting provider *marathon.Provider {"Watch":true,"Filename":"","Constraints":[],"Trace":false,"TemplateVersion":2,"DebugLogGeneratedTemplate":false,"Endpoint":"http://marathon:8080","Domain":"","ExposedByDefault":true,"GroupsAsSubDomains":false,"DCOSToken":"","MarathonLBCompatibility":false,"FilterMarathonConstraints":false,"TLS":null,"DialerTimeout":5000000000,"ResponseHeaderTimeout":60000000000,"TLSHandshakeTimeout":5000000000,"KeepAlive":10000000000,"ForceTaskHostname":false,"Basic":null,"RespectReadinessChecks":false}
WARN[2020-03-25T18:29:34Z] clientTLS is nil
ERRO[2020-03-25T18:29:34Z] Failed to retrieve Marathon applications: all the Marathon hosts are presently down
DEBU[2020-03-25T18:29:34Z] Received nil configuration from provider "marathon", skipping.

DEBU[2020-03-25T18:31:18Z] Received provider event type: deployment_info, event: &{deployment_info %!s(*marathon.StepActions=&{[{StartApplication  /test}]}) 2020-03-25T18:31:18.846Z %!s(*marathon.DeploymentPlan=&{0a2a492f-4269-4221-8672-d5ddcbb0c5ef 2020-03-25T18:31:18.464Z <nil> <nil> [0xc000669960 0xc0006699a0]})}
DEBU[2020-03-25T18:31:18Z] originLabelsmap[]
DEBU[2020-03-25T18:31:18Z] allLabelsmap[:map[]]
DEBU[2020-03-25T18:31:18Z] Received provider event type: deployment_step_success, event: &{deployment_step_success %!s(*marathon.StepActions=&{[{StartApplication  /test}]}) 2020-03-25T18:31:18.852Z %!s(*marathon.DeploymentPlan=&{0a2a492f-4269-4221-8672-d5ddcbb0c5ef 2020-03-25T18:31:18.464Z <nil> <nil> [0xc000669d20 0xc000669da0]})}
DEBU[2020-03-25T18:31:18Z] Backend backend-test: no load-balancer defined, fallback to 'wrr' method
DEBU[2020-03-25T18:31:18Z] Configuration received from provider marathon: {"backends":{"backend-test":{"loadBalancer":{"method":"wrr"}}},"frontends":{"frontend-test":{"entryPoints":["http"],"backend":"backend-test","routes":{"route-host-test":{"rule":"Host:test"}},"passHostHeader":true,"priority":0,"basicAuth":null}}}

I left an intentional new line between the Traefik error message and successful connect, 2 minutes later, when I started the Marathon container on the configured address/service name.
Double check that the marathon address you used (marathonurl:marathonport) is being correctly updated after Marathon is started. You can use nslookup to have a quick look at the address list returned by the service name.

Thank you very very much for the very rapid response.
I will verify this tomorrow morning.
If you are correct you saved us a lot of trouble. But why does it differ
between using the configuration file and supplying all the config in the
docker run call?
Thank you so much!
Regards /Jimmi
On 2020-03-25 19:47, Douglas De Toni Machado wrote:

@misterjimp [1] I gave it a go but it works well for me.
Running zookeeper + marathon locally with the official docker images
TRAEFIK SETUP FLAGS
docker run -it --net traefik -p 80:80 -v
/var/run/docker.sock:/var/run/docker.sock traefik:v1.7 --api
--marathon.endpoint=http://marathon:8080 --marathon.watch
--marathon.exposedbydefault --entryPoints='Name:http Address::80
Compress:true' --debug
LOGS
INFO[2020-03-25T18:29:34Z] Starting provider *marathon.Provider
{"Watch":true,"Filename":"","Constraints":[],"Trace":false,"TemplateVersion":2,"DebugLogGeneratedTemplate":false,"Endpoint":"http://marathon:8080","Domain":"","ExposedByDefault":true,"GroupsAsSubDomains":false,"DCOSToken":"","MarathonLBCompatibility":false,"FilterMarathonConstraints":false,"TLS":null,"DialerTimeout":5000000000,"ResponseHeaderTimeout":60000000000,"TLSHandshakeTimeout":5000000000,"KeepAlive":10000000000,"ForceTaskHostname":false,"Basic":null,"RespectReadinessChecks":false}
WARN[2020-03-25T18:29:34Z] clientTLS is nil
ERRO[2020-03-25T18:29:34Z] Failed to retrieve Marathon applications:
all the Marathon hosts are presently down
DEBU[2020-03-25T18:29:34Z] Received nil configuration from provider
"marathon", skipping.
DEBU[2020-03-25T18:31:18Z] Received provider event type:
deployment_info, event: &{deployment_info
%!s(*marathon.StepActions=&{[{StartApplication  /test}]})
2020-03-25T18:31:18.846Z
%!s(*marathon.DeploymentPlan=&{0a2a492f-4269-4221-8672-d5ddcbb0c5ef
2020-03-25T18:31:18.464Z   [0xc000669960 0xc0006699a0]})}
DEBU[2020-03-25T18:31:18Z] originLabelsmap[]
DEBU[2020-03-25T18:31:18Z] allLabelsmap[:map[]]
DEBU[2020-03-25T18:31:18Z] Received provider event type:
deployment_step_success, event: &{deployment_step_success
%!s(*marathon.StepActions=&{[{StartApplication  /test}]})
2020-03-25T18:31:18.852Z
%!s(*marathon.DeploymentPlan=&{0a2a492f-4269-4221-8672-d5ddcbb0c5ef
2020-03-25T18:31:18.464Z   [0xc000669d20 0xc000669da0]})}
DEBU[2020-03-25T18:31:18Z] Backend backend-test: no load-balancer
defined, fallback to 'wrr' method
DEBU[2020-03-25T18:31:18Z] Configuration received from provider
marathon:
{"backends":{"backend-test":{"loadBalancer":{"method":"wrr"}}},"frontends":{"frontend-test":{"entryPoints":["http"],"backend":"backend-test","routes":{"route-host-test":{"rule":"Host:test"}},"passHostHeader":true,"priority":0,"basicAuth":null}}}
I left an intentional new line between the Traefik error message and
successful connect, 2 minutes later, when I started the Marathon
container on the configured address/service name.
Double check that the marathon address you used
(marathonurl:marathonport) is being correctly updated after Marathon
is started. You can use nslookup to have a quick look at the address
list returned by the service name.
--
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub [2], or unsubscribe
[3]. [ { "@context": "http://schema.org", "@type": "EmailMessage",
"potentialAction": { "@type": "ViewAction", "target":
"https://github.com/containous/traefik/issues/6578#issuecomment-604019790",
"url":
"https://github.com/containous/traefik/issues/6578#issuecomment-604019790",
"name": "View Issue" }, "description": "View this Issue on GitHub",
"publisher": { "@type": "Organization", "name": "GitHub", "url":
"https://github.com" } } ]
Links:
[1] https://github.com/misterjimp
[2]
https://github.com/containous/traefik/issues/6578#issuecomment-604019790
[3]
https://github.com/notifications/unsubscribe-auth/AMAWZU2DDA3BWX5CA76TS4LRJJGVTANCNFSM4LTNIMCA

--
Jimmi Wimmersjö

Allright!
So have tried this this morning and it works fine.
So what probably was happening was that when the docker service died (which contained traefik, marathon and zookeeper) then the mesos-master service also went down (we had configured it with depends on docker since zookeeper was running in docker) and when the docker service was restarted it restarted the containers (--restart until-stopped flag) however the mesos-master was not started.
This caused the marathon to keep restarting due to the missing master and hence the traefik never got the configuration from marathon.
Though from the browser perspective (marathon) everything looked fine.
This can be shutdown, sorry for taking your time.
Thank you for a fast response.
Regards /Jimmi


phpPackages.mailparse: 3.0.2 -> 3.0.3

Motivation for this change
Mailparse was not yet compatible with PHP 7.3, but version 3.0.3 is.
Things done

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

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build php71Packages.mailparse php72Packages.mailparse php73Packages.mailparse


No yaml library in Microk8s namespace

Summary
Missing yaml library in microk8s namespace causes traceback with charmed-microk8s
https://github.com/canonical/charm-microk8s/issues/39
What Should Happen Instead?
If we have a script within the microk8s namespace that imports the  yaml library. We should ensure
the python3-yaml package is installed to avoid import errors.
Reproduction Steps
Deploy microk8s with juju with 3 nodes.
Observe nodes failing to join the cluster:
Unit         Workload  Agent  Machine  Public address  Ports                     Message
microk8s/4*  active    idle   4        <IP_ADDRESS>    80/tcp,443/tcp,16443/tcp
microk8s/5   blocked   idle   5        <IP_ADDRESS>    80/tcp,443/tcp,16443/tcp  join failed, will try again
microk8s/6   blocked   idle   6        <IP_ADDRESS>    80/tcp,443/tcp,16443/tcp  join failed, will try again

They are trying to run microk8s using the binary within the snap filesystem:
https://github.com/canonical/charm-microk8s/blob/master/src/microk8scluster.py#L349
Which results in a traceback:
/snap/microk8s/3272/usr/bin/python3 /snap/microk8s/3272/scripts/cluster/join.py <IP_ADDRESS>:25000/8d6aa24d3303a524650ef65dc72b0711/e467b5354473
Traceback (most recent call last):
  File "/snap/microk8s/3272/scripts/cluster/join.py", line 18, in <module>
    import yaml
ModuleNotFoundError: No module named 'yaml'

The library is available on the host, so we can use microk8s join without specifying the path to the snap binary. That works fine, but trying to execute from within the namespace causes the issue.
ubuntu@ubuntu:~$ juju ssh microk8s/5 -- /snap/microk8s/current/usr/bin/python3
Python 3.6.9 (default, Mar 15 2022, 13:55:28)
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import yaml
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'yaml'
>>> quit()
Connection to <IP_ADDRESS> closed.
ubuntu@ubuntu:~$ juju ssh microk8s/5 -- python3
Python 3.8.10 (default, Mar 15 2022, 12:22:08)
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import yaml
>>> dir(yaml)
['AliasEvent', 'AliasToken', 'AnchorToken', 'BaseDumper', 'BaseLoader', 'BlockEndToken', 'BlockEntryToken', 'BlockMappingStartToken', 'BlockSequenceStartToken', 'CBaseDumper', 'CBaseLoader', 'CDumper', 'CFullLoader', 'CLoader', 'CSafeDumper', 'CSafeLoader', 'CUnsafeLoader', 'CollectionEndEvent', 'CollectionNode', 'CollectionStartEvent', 'DirectiveToken', 'DocumentEndEvent', 'DocumentEndToken', 'DocumentStartEvent', 'DocumentStartToken', 'Dumper', 'Event', 'FlowEntryToken', 'FlowMappingEndToken', 'FlowMappingStartToken', 'FlowSequenceEndToken', 'FlowSequenceStartToken', 'FullLoader', 'KeyToken', 'Loader', 'MappingEndEvent', 'MappingNode', 'MappingStartEvent', 'Mark', 'MarkedYAMLError', 'Node', 'NodeEvent', 'SafeDumper', 'SafeLoader', 'ScalarEvent', 'ScalarNode', 'ScalarToken', 'SequenceEndEvent', 'SequenceNode', 'SequenceStartEvent', 'StreamEndEvent', 'StreamEndToken', 'StreamStartEvent', 'StreamStartToken', 'TagToken', 'Token', 'UnsafeLoader', 'ValueToken', 'YAMLError', 'YAMLLoadWarning', 'YAMLObject', 'YAMLObjectMetaclass', '__builtins__', '__cached__', '__doc__', '__file__', '__loader__', '__name__', '__package__', '__path__', '__spec__', '__version__', '__with_libyaml__', '_warnings_enabled', 'add_constructor', 'add_implicit_resolver', 'add_multi_constructor', 'add_multi_representer', 'add_path_resolver', 'add_representer', 'compose', 'compose_all', 'composer', 'constructor', 'cyaml', 'dump', 'dump_all', 'dumper', 'emit', 'emitter', 'error', 'events', 'full_load', 'full_load_all', 'io', 'load', 'load_all', 'load_warning', 'loader', 'nodes', 'parse', 'parser', 'reader', 'representer', 'resolver', 'safe_dump', 'safe_dump_all', 'safe_load', 'safe_load_all', 'scan', 'scanner', 'serialize', 'serialize_all', 'serializer', 'tokens', 'unsafe_load', 'unsafe_load_all', 'warnings']

Can you suggest a fix?
I will submit a PR. I think it's probably better if we just add python3-yaml to this namespace since we are shipping a script that imports the library.
Are you interested in contributing with a fix?
Yes. I'll send a PR for review. I'm not familiar with Snaps, so feel free to redirect as required.

I believe that isn't actually the issue. Just the way I was trying to replicate the issue actually by re-running the command from the journal logs:
Jul 11 06:10:44 juju-d73200-k8s-5 sudo[169946]:     root : TTY=unknown ; PWD=/var/lib/juju/agents/unit-microk8s-5/charm ; USER=root ; ENV=LD_LIBRARY_PATH=/snap/microk8s/3272/lib:/snap/micro
k8s/3272/usr/lib:/snap/microk8s/3272/lib/x86_64-linux-gnu:/snap/microk8s/3272/usr/lib/x86_64-linux-gnu ; COMMAND=/snap/microk8s/3272/usr/bin/python3 /snap/microk8s/3272/scripts/cluster/join
.py <IP_ADDRESS>:25000/1881db41e70061519b87b6e4267dae77/4c2ba538e2da

I don't think this is actually an issue. I'll close this until I have found the actual problem


[GitHub] Update  Azure.Core feature issue template

Summary
Because they do not follow the normal flow, it is easy to lose issues from customers who mistakenly use this template.   These changes ensure that the triage process has visibility into these issues as they are opened so that they can be reviewed.

/check-enforcer override


🚗 Brakeman Scanning failing

Brakeman Analysis is failing.
Rectify or remove.
This version of the CodeQL Action was deprecated on January 18th, 2023, and is no longer updated or supported. For better performance, improved security, and new features, upgrade to v2. For more information, see https://github.blog/changelog/2023-01-18-code-scanning-codeql-action-v1-is-now-deprecated/

Dependabot updated to include GitHub Action dependencies. moved to review awaiting the generation of a new PR