Flutter crashed.

Flutter crash report; please file at https://github.com/flutter/flutter/issues.
command
flutter run
exception
ProcessException: ProcessException: Process "/usr/bin/xcrun" exited abnormally:
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=22):
Failed to install the requested application
The application's Info.plist does not contain CFBundleVersion.
Ensure your bundle contains a CFBundleVersion.
Command: /usr/bin/xcrun simctl install C02BDDF4-F438-4B04-A8CE-F368D4200E90 /Users/bahtiyar/Desktop/widgets_basics_assignment_problem/build/ios/iphonesimulator/Runner.app
#0      runCheckedAsync (package:flutter_tools/src/base/process.dart:259:7)
<asynchronous suspension>
#1      SimControl.install (package:flutter_tools/src/ios/simulators.dart:145:16)
#2      IOSSimulator._setupUpdatedApplicationBundle (package:flutter_tools/src/ios/simulators.dart:437:31)
<asynchronous suspension>
#3      IOSSimulator.startApp (package:flutter_tools/src/ios/simulators.dart:339:15)
<asynchronous suspension>
#4      FlutterDevice.runHot (package:flutter_tools/src/resident_runner.dart:378:54)
#5      _asyncThenWrapperHelper.<anonymous closure> (dart:async-patch/async_patch.dart:71:64)
#6      _rootRunUnary (dart:async/zone.dart:1132:38)
#7      _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#8      _FutureListener.handleValue (dart:async/future_impl.dart:137:18)
#9      Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:678:45)
#10     Future._propagateToListeners (dart:async/future_impl.dart:707:32)
#11     Future._completeWithValue (dart:async/future_impl.dart:522:5)
#12     Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:552:7)
#13     _rootRun (dart:async/zone.dart:1124:13)
#14     _CustomZone.run (dart:async/zone.dart:1021:19)
#15     _CustomZone.runGuarded (dart:async/zone.dart:923:7)
#16     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:963:23)
#17     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#18     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#19     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:116:13)
#20     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:173:5)

flutter doctor
[✓] Flutter (Channel stable, v1.9.1+hotfix.6, on Mac OS X 10.15 19A583, locale en-CN)
    • Flutter version 1.9.1+hotfix.6 at /applications/flutter
    • Framework revision 68587a0916 (7 weeks ago), 2019-09-13 19:46:58 -0700
    • Engine revision b863200c37
    • Dart version 2.5.0

[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/setup/#android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, set ANDROID_HOME to that location.
      You may also want to add it to your PATH environment variable.

[✓] Xcode - develop for iOS and macOS (Xcode 11.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.1, Build version 11A1027
    • CocoaPods version 1.8.4

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/setup/#android-setup for detailed instructions).

[✓] VS Code (version 1.39.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.6.0

[✓] Connected device (1 available)
    • iPhone 11 Pro • C02BDDF4-F438-4B04-A8CE-F368D4200E90 • ios • com.apple.CoreSimulator.SimRuntime.iOS-13-1
      (simulator)

! Doctor found issues in 2 categories.

Hi @bahtiyara
for what I can see in the logs the error is failure of the ios simulator due to CFBundleVersion,
you may want to get some help posting this on Stack Overflow.
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


Do we have a plan to move etcd3 grpc-gateway out of alpha?

Hi there,
We are using etcd and python to build our applications. In etcd2, everything works fine. But etcd3 using gRPC as the original way. Cause python2 grpcio is incompatible with gevent, so we plan to using the etcd3 grpc-gateway in our applications.
But I aware that the API is prefixed with /v3alpha. And I checked the roadmap, nothing about the grpc-gateway.
I'm curious do we have a plan to move etcd3 grpc-gateway out of alpha? Or this will always be an alpha feature?
Any help would be appreciated.
Reference:

https://github.com/grpc/grpc/issues/4629
https://github.com/gevent/gevent/issues/938
https://github.com/gevent/gevent/issues/786
https://github.com/GoogleCloudPlatform/google-cloud-python/issues/3450

@realityone When you say do we have a plan ..., I guess you are Chinese like me.😂

We will add /v3alpha routes with same handler for safe upgrades, in v3.3.

@gyuho any timeline for /v3. I mean are there any tasks remaining to mark it as stable?

@raoofm we just fixed the bi-streaming endpoint. need to do a new beta release to encourage people to try it out. if there is nothing comes out for the next release, we will bump it to stable.

We've just changed /v3alpha to /v3beta in master branch, while keeping /v3alpha endpoints with HTTP redirects. Will be included in our upcoming 3.3 release.


Look into wierd tooltip behavior on tools when holding modifier keys

The tooltip should expand when holding the modifier, but it does not. This suggests that they cache key is not handled properly, so it's not choosing the correct tootip

(Minecraft version 1.20.1) I was having the same issue. After a test, I narrowed the cause down to Roughly Enough Items (REI) causing my issue. I'm not sure if this conflict was known, but after setting up a test instance with just this mod and REI, I was able to duplicate the issue of the modifier key not expanding the tooltip. Removing REI fixed it for me. Just Enough Items (JEI) works fine though.

The pack I'm using uses EMI, not REI. Does the issue persist with Forgero and EMI? (at work, can't test myself)

It might be too late by now, but I can confirm that it works just fine with EMI.

Closing this as stale


NoSuchFileException when running scalafmt

I cannot seem to get a scalafmt test to fail. I either get a no-op success even with poorly formatted sources, or I get a java.nio.file.NoSuchFileException for files generated by https://github.com/lucidsoftware/rules_play_routes. Using the glob srcs = glob(["**/*.scala"], exclude = ["bazel-bin/**/*"]), helps with the latter, but excluding all bazel directories should be recommended:  srcs = glob(["**/*.scala"], exclude = ["bazel-*/**/*"]),. Otherwise, just scanning those directories takes more than 15 seconds. The definition I'm using is
load("@rules_scala_annex//rules:scalafmt.bzl", "scala_format_test")
scala_format_test(
    name = "format",
    srcs = glob(["**/*.scala"], exclude = ["bazel-*/**/*"]),
)

You may first refer to how we run scala_format_test in this BUILD, as well as the test WORKSPACE to see if you missed something.
Just a reminder, to test the format, we use bazel test ..., to fix the format, we use bazel run .... bazel build ... would look like a no-op success.
If you still can't figure it out, please provide a minimal reproducible case. We are happy to take a look.

Thanks I'll try that later today

Ok I think I was misunderstanding how to use this rule. I was trying to define it once in the repo at the top-level, and then glob all sources, but most sources were actually part of a subpackage. Instead, I assume it is intended to be defined alongside each package that has scala source.


Make Option[T] in case classes un-boxed by default

Currently we serialize them as k: [v] or k: [], which is generally not what people want. We should instead serialize them as k: v or nothing.
Nested options could probably continue to be serialized boxed in a single-element array. Options in sequences and other things that serialize to arrays can conitnue to be boxed as well.
This would be a breaking change and would need to go into upickle 4.0.0

Oh yes, please! The lack of serialization of a not existing option to nothing is what prevents me from using upickle as my general-purpose json lib.
If you want to use upickle to expose an http API serving json, the expectation is that for a missing option, you can just drop the field.
Because that is how most APIs work in the real world. For that reason I default to using Play Json for APIs currently.


Fix #139: Add code reset button to page

This change contains both UI change (new button added) and backend change (code are removed from localStorage)

Code looks good, thanks! Deferring to @rabidbit for UI check.

Added comments. Please send in an updated commit with the fixes. Thanks!

@rabidbit Addressed review comments with the previous commits. PTAL

See it. Thanks!

Thank you John!


Fix GIthub warnings

Github started showing warnings related to deprecation of Node 12, that is used by some of the actions used in the build. See all warning here https://github.com/atlassian-labs/atlassian-slack-integration-server/actions/runs/3289001661 and in other CI builds.

This one was fixed in #238


Test manifest file

How do you test if the manifest file is working?
I don't see any url generated or any reference at the rendered html.
Thanks

I agree with this, I'm currently trying to get the manifest to work and there's no change to my template and no indication that anything different is happening. myurl/manifest.appcache is 404ing, I have no idea whether I installed it properly or not, and what to do if not.


Simpson's 4 slot algorithm

Interesting algorithm for communication between two processes.  Currently actively being studied.  Might be a bit tricky to decide what the views are.
Requires

Multi-dimensional arrays (in experimental branch at time of writing)
Possible additional view expression

Code sketch (no views)
shared int[2][2] slot;
shared int[2] index;
shared int latest, reading;

thread int p, i, item;

method writer()
{
  <p = reading>; p = (p + 1) % 2; // p = !reading encoded into Starling
  <i = index[p]>; i = (i + 1) % 2; // i = !index[p] encoded into Starling
  <slot[p][i] = item>;
  <index[p] = i>;
  <latest = p>;
}

method reader()
{
  <p = latest>;
  <reading := p>;
  <i := index[p]>;
  <item = slot[p][i]>;
}

Sources

Understanding Concurrent Systems, p452, A. W. Roscoe (I have this book!)
Four-slot fully asynchronous communication mechanism, H. R. Simpson, IEE Proc. Comput. Digit. Techn. 137, 1 (1990)
Simpson’s 4-slot algorithm, proved in three slides, Bornat and Parkinson 2005

I think this would be an interesting target for inference because the
invariant is very subtle. However, it's not clear what the specification
should be because it doesn't produce an ordered sequence of values: there
can be some reordering.
On 21 November 2016 at 11:21, Matt Windsor<EMAIL_ADDRESS>wrote:

Interesting algorithm for communication between two processes. Currently
actively being studied. Might be a bit tricky to decide what the views are.
Requires

Multi-dimensional arrays (in experimental branch at time of writing)
Possible additional view expression

Code sketch (no views)
shared int[2][2] slot;
shared int[2] index;
shared int latest, reading;
thread int p, i, item;
method writer()
{
; p = (p + 1) % 2; // p = !reading encoded into Starling
  ; i = (i + 1) % 2; // i = !index[p] encoded into Starling
  ;
  ;
  ;
}
method reader()
{
;
  ;
  ;
  ;
}
Sources

Understanding Concurrent Systems, p452, A. W. Roscoe (I have this
book!)
Four-slot fully asynchronous communication mechanism
http://ieeexplore.ieee.org/iel1/2207/1582/00041349.pdf, H. R.
Simpson, IEE Proc. Comput. Digit. Techn. 137, 1 (1990)
Simpson’s 4-slot algorithm, proved in three slides
http://www.eis.mdx.ac.uk/staffpages/r_bornat/slides/Simpson.pdf,
Bornat and Parkinson 2005

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/septract/starling-tool/issues/85, or mute the thread
https://github.com/notifications/unsubscribe-auth/AANd9gGX2uqXlUK7q4_bC0z5J14JF82gks5rAX7IgaJpZM4K4FLf
.

--
http://www-users.cs.york.ac.uk/~miked/

e.g. See Cliff J's paper on a reification proof for Simpson's:
https://link.springer.com/article/10.1007%2Fs00165-010-0156-1


Deconvolution

Hi,
So I have been trying to deconvolve some 1D spectra and it works nicely, but usually when deconvolution is done, or other types of fittings, you can fix some of your parameters, like the peak position or the integrals or the linewidth. The same is true e.g. in ssnake. How can I do this here, because if I got it right, in the peaks and ranger, also with the frac_gauss I give the initial values for the fitting that are all going to be modified, and this can be a bit problematic in case the peaks are small or when I actually want to follow the change of peak intensities upon the change of some parameters (and sometimes the peaks become very small, so the program will compensate by making them very large.

Hi,
Do you know if I can get the chemical shift and linewidth values after optimisation?
Thank you.

From the source:
    fid._deconvoluted_peaks()
        """This is a list of lists of peak parameters with the order [offset, gauss_sigma, lorentz_hwhm, amplitude, frac_gauss]:

            offset: spectral offset

            gauss_sigma: Gaussian sigma

            lorentz_hwhm: Lorentzian half-width-at-half-maximum

            amplitude: height of peak

            frac_gauss: fraction of peak to be Gaussian (Lorentzian fraction is 1-frac_gauss)
         """


Firefly-III Not a Solid App?

The finance management application Firefly-III is listed as a Solid app but this does not appear to be the case (I inquired about this here).
@Mitzi-Laszlo it looks like you're the one who added that app to the list.  Do you know if someone else has done the work to make it Solid compatible?

Inspecting the Git history, it appears that @TallTed had already spotted this. Apparently it was a request to add it to the list that people wanted to have Solid support; not apps that actually support it.

https://github.com/solid/solid-apps/pull/59

https://forum.solidproject.org/t/what-app-would-you-love-to-see-on-solid/525/61


Could not add locations to map using Ajax

Hi there,
First of all, thanks for this marvelous tool.
I am loading a map using a locations array as defined on your doc, and that works.
Then i use ajax to get more locations, and on the callback i tried map_object.AddLocations($new_locations, true); but it doesnt work.
Any help ?

Are you calling "map_object.Load()" to update the view after having added new locations?

I am using the second parameter of AddLocations set to true to reload the map.
Actually, the map reloads with the initial locations loaded at map declaration, without the new ones.

can you share a jsfiddle so I can check? you can fork from this one: https://jsfiddle.net/_tomorro/yhrmL5zz/

Hi again,
I have created a jsfiddle here : https://jsfiddle.net/r85tfm83/2/.
It is working pretty smoothly, since i am declaring the new items variable
manually.
In my real code, i have json encoded a PHP array that is received through
an AJAX call.
Maybe that's what is breaking my code.
Any thoughts ?

pressaholic
Wordpress and PHP Web Development
http://pressaholic.com
2016-08-23 21:39 GMT+00:00 D. Moraschi<EMAIL_ADDRESS>
can you share a jsfiddle so I can check? you can fork from this one:
https://jsfiddle.net/_tomorro/yhrmL5zz/
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/danielemoraschi/maplace.js/issues/149#issuecomment-241888628,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMW8LaxQcB7zSL0SSet1bcnfXYKEHdnQks5qi2ifgaJpZM4JrG-C
.

I think you probably have some invalid data in your json. Could you please double check on that? I'll see if I can add more logging to the library.

Hi again,
Thanks a lot for your help.
I had the icon property of the location object, that was invalid.
Problem solved :)
Two more questions :
1/ Can you recommend an alternative for the Gmaps default info window?
2/ How can i set the map to match the full height of the viewport ?
Thanks again.

pressaholic
Wordpress and PHP Web Development
http://pressaholic.com
2016-08-24 11:04 GMT+00:00 D. Moraschi<EMAIL_ADDRESS>
I think you probably have some invalid data in your json. Could you please
double check on that? I'll see if I can add more logging to the library.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/danielemoraschi/maplace.js/issues/149#issuecomment-242027548,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMW8LR1OpsuMugAslYMxRM9hlCLyRUt5ks5qjCUzgaJpZM4JrG-C
.

Maplace support only the standard google.maps.InfoWindow. If you wish you can extend Maplace to include your own infowindow type in this way:

Maplace.prototype.type_to_open.mytype = function(location) {
    this.infowindow = {
        open: function() {
            alert(location.html);
        },
        close: function() {}
    }
}

new Maplace({
    type:'marker',
    infowindow_type: 'mytype',
    locations:[{
        lat:0,
        lon:0,
        html:'Hello'
    }]
}).Load();

Just size properly via CSS the div containing the map.


Deployitem validation

How to categorize this PR?

/area operations
/kind enhancement
/priority normal
What this PR does / why we need it:
Adds validation for DeployItem resources and tests for those.
Release note:

Add check for cycles in deploy item template lists.

@schrodit I changed the visited list type to a new struct and moved the cycle check to an auxiliary method to clean up the code a bit. WDYT?


Certificate Project Modal Bug

When trying to view a solution to the JS Algorithms section on the certificate: https://www.freecodecamp.org/certification/sky020/javascript-algorithms-and-data-structures
react-dom.production.min.js:209 TypeError: c is not a function
    at ProjectModal (ProjectModal.js:41)
    at Ki (react-dom.production.min.js:153)
    at vo (react-dom.production.min.js:261)
    at cu (react-dom.production.min.js:246)
    at ou (react-dom.production.min.js:246)
    at Zo (react-dom.production.min.js:239)
    at react-dom.production.min.js:123
    at t.unstable_runWithPriority (scheduler.production.min.js:19)
    at Ql (react-dom.production.min.js:122)
    at Hl (react-dom.production.min.js:123)

Appears to be related to the introduction of the t library/function.
I am looking into resolving this.

Nice catch, Shaun.  We should create some tests to prevent regressions.

Commenting here for contributors:
The bug was resolved in #41139 - however we would still need to add tests to ensure this flow is validated in our CI.

@ojeytonwilliams I keep meaning to create tests for a lot of my previous PRs. However, every time I get time to do it, I encounter issues with Cypress in GitPod - still a work-in-progress for certain workflows.

@ShaunSHamilton that's totally fine.  Having tests is always great, but I know that you have to work within the limits of your machine.
We just need to keep tracking spots (like this) where the testing is lacking. If we do, then contributors who'd like to help, but are not sure where, can always pick them up.


Stitching: Certain Excel files formatting issue

Describe the bug in current situation
In the 'Redline for Sign Off' package and in the initial stitched file, Some excel files appear to have some conversion/formatting issues like cropping of pages.
For example, the Excel file below appears as the following in the Harms package:
Private Zenhub Image
In the Redaction App, it looks like the following:
Private Zenhub Image
However, in the 'Redline for Sign Off' package, it appears to be cut off:
Private Zenhub Image
Sample Excel file for reproducing the issue.
Employee Spreadsheet.xlsx
When only 1 file is uploaded , the file is not getting cropped :
Private Zenhub Image
Linking Video of the same file showing as cropped while multiple files are stitched:
Private Zenhub Video
Link bug to the User Story
Impact of this bug
Describe the impact, i.e. what the impact is, and number of users impacted.
Chance of Occurring (high/medium/low/very low)
Pre Conditions: which Env, any pre-requesites or assumptions to execute steps?
Steps to Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Actual/ observed behaviour/ results
Expected behaviour
A clear and concise description of what you expected to happen. Use the gherking language.
Screenshots/ Visual Reference/ Source
If applicable, add screenshots to help explain your problem. You an use screengrab.

So as per the discussion with @aparna-aot , its being understood that there are two issues #1) Conversion issue with the attached excel file #2) issue with PDFTRron while handling specific kind of PDF and content are being trimmed out. And I am going to focus on #2 part of this issue first then handle conversion issue cc: @divyav-aot

[Uploading... capbudg.xlsx.pdf]

capbudg.xlsx.pdf

The issue #2 as per previous has been escalated to PDFTRON, https://support.apryse.com/support/tickets/62213

@abin-aot  taking off 9.0 release - assumption this will not be in that release now


orderByRaw no support for mongodb

http://stackoverflow.com/questions/36594239/orderbyraw-not-working-with-jenssegers-mongodb-laravel-5
Can you please give me a suggestion or any other method for sorting the raw by column values in a queue.
example :
Table
id    products    category
1          a                xy
2          b                ab
3          c                bc
4          d                cc
5          e                xy
6          f                 xy

I want out put as an
order by : category (cc,ab,bc,xy)
id    products    category
4          d                cc
2          b                ab
3          c                bc
1          a                xy
5          e                xy
6          f                 xy

I have the same problem.

@jenssegers I see that you closed this issue. Would you tell me more about the support of orderByRaw() please?
I need this function so I can order by "order" and keep null values in the end. Like it's mentioned here: https://laracasts.com/discuss/channels/laravel/how-to-write-eloquent-orderby-to-put-null-columns-to-the-last
Of course, I'm still open if there is an alternative.
Thank you in advance

@a-zog it can be implemented, we are open for discussion, but better to discuss in slack channel or create new issue

how i can find orderbyRaw ? it's not implemented in src


Add ExtensionSigner, handle injected provider events

Summary

Add ExtensionSigner which wraps the injected extension provider (window.coinbaseWalletExtension)

Eventing

Handles "chainChanged" and "accountsChanged" events emitted by extension provider
Updates CoinbaseWalletProvider state accordingly.

Remove getCoinbaseInjectedProvider method and inline the logic since its only used in one place
Remove unused injected signer logic
Tested with unit tests and local test:

https://github.com/coinbase/coinbase-wallet-sdk/assets/18184751/ca8b9186-f188-40af-91dc-1fdacb75c51a

Will need to add chain and accounts getters as a followup


net/http/pprof: return error when requested profile duration exceeds WriteTimeout

What version of Go are you using (go version)?
go version go1.8rc2 darwin/amd64

As observed in #18746, if a profile duration >= to the server's WriteTimeout is requested, the request will always fail with an EOF once the WriteTimeout elapses. Handlers which accept a duration parameters should check the WriteTimeout and return an error before starting the profile.
(A handler can retrieve the server which started it from the request's context.)

I suppose we could've just reused that other bug, but this one is nice & succinct, so this works too.
/cc @ardan-bkennedy

Will updating the handler to return a server error be enough?
The pprof tool will still need to be updated if we want it to print a clear error message. Otherwise, it just prints server response: 500. Is it safe to print the response body in addition to the HTTP status code?

@ibrasho I'm working on it in the CL linked above. It does modify go tool pprof to print the body under limited circumstances.


Error: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop

Hello Freddy,
I'm getting this error, I don't know if I'm doing something wrong.

Running performance test failed
The passed path for -BCPTTestRunnerInternalFolderPath seem to be relative path, converting to absolute.
Absolute path is C:\ProgramData\BcContainerHelper\extensions\bc4876371986\my\TestRunner\Internal
Importing AL Test Runner from C:\ProgramData\BcContainerHelper\extensions\bc4876371986\my\TestRunner\Internal\BCPTTestRunnerInternal.psm1
WARNING: The names of some imported commands from the module 'ALTestRunnerInternal' include unapproved verbs that might
make them less discoverable. To find the commands with unapproved verbs, run the Import-Module command again with the
Verbose parameter. For a list of approved verbs, type Get-Verb.
Removing container
Run-AlPipeline Telemetry Correlation Id: c274c49e-5068-42d6-a5fe-67988c3860e9
Error: RunPipeline action failed. Error: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: At C:\ProgramData\BcContainerHelper\extensions\bc4876371986\my\TestRunner\Internal\AadTokenProvider.ps1:59 char:35 + ... edential = [Microsoft.IdentityModel.Clients.ActiveDirectory.UserPassw ... +                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Unable to find type [Microsoft.IdentityModel.Clients.ActiveDirectory.UserPasswordCredential]. Stacktrace: at , C:\ProgramData\BcContainerHelper\extensions\bc4876371986\my\TestRunner\Internal\BCPTTestRunnerInternal.psm1: line 295 at , C:\ProgramData\BcContainerHelper\extensions\bc4876371986\my\TestRunner\RunBCPTTests.ps1: line 237

Currently we are having issues running BCPT tests on 22.
A fix is needed in the artifacts, but I have a workaround which will ship in ContainerHelper one of the next days.
Until then, you can set "doNotRunBcptTests": true in settings.
https://aka.ms/algosettings#donotrunbcpttests


vehicle command ROI: do not erroneously report command unsupported

and handle VEHICLE_CMD_DO_SET_ROI and VEHICLE_CMD_NAV_ROI identically
commander reports these commands to be unsupported even though they are handled by navigator.

This looks good to merge, but why do both of these exist?

I was wondering the same thing. vehicle_command mirrors the mavlink commands, right? There are many mavlink commands that are duplicated with the DO infix and I've never seen them being treated differently. I'm guessing it's some legacy thing?


Add New Account Card

Closes #88

Shot Type
Count
Status

Added
0
🟡

Deleted
0
❌

Regression
2
❗

❗ storybook/components-card--icon-header__[w1920px]:

Before
After

❗ storybook/utility-responsive-image--responsive-image__[w1920px]:

Before
After

Shot Type
Count
Status

Added
8
🟡

Deleted
0
❌

Regression
2
❗

🟡 storybook/widgets-add-new-account-card--default__[w1440px] (click to expand)

Image

🟡 storybook/widgets-add-new-account-card--default__[w1920px] (click to expand)

Image

🟡 storybook/widgets-add-new-account-card--default__[w390px] (click to expand)

Image

🟡 storybook/widgets-add-new-account-card--default__[w900px] (click to expand)

Image

🟡 storybook/widgets-add-new-account-card--with-link__[w1440px] (click to expand)

Image

🟡 storybook/widgets-add-new-account-card--with-link__[w1920px] (click to expand)

Image

🟡 storybook/widgets-add-new-account-card--with-link__[w390px] (click to expand)

Image

🟡 storybook/widgets-add-new-account-card--with-link__[w900px] (click to expand)

Image

❗ custom/widgets-meal-nutrients--hint-opened__[w1440px]:

Before
After

❗ custom/widgets-meal-nutrients--hint-opened__[w1920px]:

Before
After

Shot Type
Count
Status

Added
0
🟡

Deleted
0
❌

Regression
1
❗

❗ storybook/utility-responsive-image--responsive-image__[w1440px]:

Before
After

Shot Type
Count
Status

Added
8
🟡

Deleted
0
❌

Regression
4
❗

🟡 storybook/widgets-add-new-account-card--default__[w1440px] (click to expand)

Image

🟡 storybook/widgets-add-new-account-card--default__[w1920px] (click to expand)

Image

🟡 storybook/widgets-add-new-account-card--default__[w390px] (click to expand)

Image

🟡 storybook/widgets-add-new-account-card--default__[w900px] (click to expand)

Image

🟡 storybook/widgets-add-new-account-card--with-link__[w1440px] (click to expand)

Image

🟡 storybook/widgets-add-new-account-card--with-link__[w1920px] (click to expand)

Image

🟡 storybook/widgets-add-new-account-card--with-link__[w390px] (click to expand)

Image

🟡 storybook/widgets-add-new-account-card--with-link__[w900px] (click to expand)

Image

❗ custom/widgets-meal-nutrients--hint-opened__[w1440px]:

Before
After

❗ custom/widgets-meal-nutrients--hint-opened__[w1920px]:

Before
After

❗ custom/widgets-progressInfo__[w900px]:

Before
After

❗ storybook/widgets-calories--default__[w1440px]:

Before
After

Shot Type
Count
Status

Added
8
🟡

Deleted
0
❌

Regression
5
❗

🟡 storybook/widgets-add-new-account-card--default__[w1440px] (click to expand)

Image

🟡 storybook/widgets-add-new-account-card--default__[w1920px] (click to expand)

Image

🟡 storybook/widgets-add-new-account-card--default__[w390px] (click to expand)

Image

🟡 storybook/widgets-add-new-account-card--default__[w900px] (click to expand)

Image

🟡 storybook/widgets-add-new-account-card--with-link__[w1440px] (click to expand)

Image

🟡 storybook/widgets-add-new-account-card--with-link__[w1920px] (click to expand)

Image

🟡 storybook/widgets-add-new-account-card--with-link__[w390px] (click to expand)

Image

🟡 storybook/widgets-add-new-account-card--with-link__[w900px] (click to expand)

Image

❗ custom/widgets-meal-nutrients--hint-opened__[w1440px]:

Before
After

❗ custom/widgets-meal-nutrients--hint-opened__[w1920px]:

Before
After

❗ custom/widgets-progressInfo__[w1920px]:

Before
After

❗ storybook/widgets-calories--default__[w1920px]:

Before
After

❗ storybook/widgets-meal-nutrients--default__[w900px]:

Before
After

Shot Type
Count
Status

Added
0
🟡

Deleted
0
❌

Regression
1
❗

❗ storybook/utility-responsive-image--responsive-image__[w1440px]:

Before
After

Shot Type
Count
Status

Added
8
🟡

Deleted
0
❌

Regression
6
❗

🟡 storybook/widgets-add-new-account-card--default__[w1440px] (click to expand)

Image

🟡 storybook/widgets-add-new-account-card--default__[w1920px] (click to expand)

Image

🟡 storybook/widgets-add-new-account-card--default__[w390px] (click to expand)

Image

🟡 storybook/widgets-add-new-account-card--default__[w900px] (click to expand)

Image

🟡 storybook/widgets-add-new-account-card--with-link__[w1440px] (click to expand)

Image

🟡 storybook/widgets-add-new-account-card--with-link__[w1920px] (click to expand)

Image

🟡 storybook/widgets-add-new-account-card--with-link__[w390px] (click to expand)

Image

🟡 storybook/widgets-add-new-account-card--with-link__[w900px] (click to expand)

Image

❗ custom/widgets-linkstabbar--current-focus__[w1920px] (click to expand)

Before
After

❗ custom/widgets-meal-nutrients--hint-opened__[w1440px] (click to expand)

Before
After

❗ custom/widgets-meal-nutrients--hint-opened__[w1920px] (click to expand)

Before
After

❗ custom/widgets-navbar-opened__[w1440px] (click to expand)

Before
After

❗ custom/widgets-progressInfo__[w1920px] (click to expand)

Before
After

❗ custom/widgets-progressInfo__[w390px] (click to expand)

Before
After

Shot Type
Count
Status

Added
0
🟡

Deleted
0
❌

Regression
1
❗

❗ storybook/utility-responsive-image--responsive-image__[w1920px]:

Before
After

Shot Type
Count
Status

Added
8
🟡

Deleted
0
❌

Regression
4
❗

🟡 storybook/widgets-add-new-account-card--default__[w1440px] (click to expand)

Image

🟡 storybook/widgets-add-new-account-card--default__[w1920px] (click to expand)

Image

🟡 storybook/widgets-add-new-account-card--default__[w390px] (click to expand)

Image

🟡 storybook/widgets-add-new-account-card--default__[w900px] (click to expand)

Image

🟡 storybook/widgets-add-new-account-card--with-link__[w1440px] (click to expand)

Image

🟡 storybook/widgets-add-new-account-card--with-link__[w1920px] (click to expand)

Image

🟡 storybook/widgets-add-new-account-card--with-link__[w390px] (click to expand)

Image

🟡 storybook/widgets-add-new-account-card--with-link__[w900px] (click to expand)

Image

❗ custom/widgets-meal-nutrients--hint-opened__[w1440px]:

Before
After

❗ custom/widgets-meal-nutrients--hint-opened__[w1920px]:

Before
After

❗ custom/widgets-progressInfo__[w1920px]:

Before
After

❗ storybook/widgets-heart-rate--default__[w1920px]:

Before
After


Update dependencies and release v0.2.1

cc @wikimedia/services

Coverage remained the same at 94.737% when pulling 2adea58dc330dc291e007468bea911b549f0241a on d00rman:rel-021 into 615bab0413cdecb0ff00240b5cee2e6bbd83eddd on wikimedia:master.

Published as v0.2.1


[Event Request]s in Table Bin Content

In Table Bin Content there where a few global procedures with publishers where a filteres record is passed / the record itself which calls the procedure is filtered, but the publisher is using call by value so you do not have any filter access.
Can you please update the publisher, that "Rec" will be passed call by reference.
Thank you.
Example:

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 10998.


Remove the automatic module generation in non opinionated template

Is there an existing issue for this?

[X] I have searched the existing issues

Current behavior
Module is scaffolded in non opinionated template when the user generates a controller. This behavior should only be applied to services or controllers in the opinionated template
In the non opinionated template module should be scaffolded individually
Steps to reproduce
In the non opinionated template:
expressots g c controller/user

It generates module  as well
Expected behavior
Controller scaffolld should just generate the controller
Package version
1.4.0
Node.js version
18.11.0
In which operating systems have you tested?

[ ] macOS
[X] Windows
[X] Linux

Other
No response

Resolved in #36


Dup and redirect stdout to defend against accidental print()

We currently have a regression where sourcekit-lsp stops working  in
some packages, because swiftpm started printing a warning to stdout.
While we should also fix swiftpm, it behooves us to be more robust in
sourcekit-lsp in case this happens again. Dup stdout for use by the
protocol, and redirect the stdout file descriptor to stderr, which does
not interfere with the protocol.

@swift-ci please test

@swift-ci please build toolchain


Composing array macros breaks property observer chain

Composing array macros breaks the chain of observed properties. For example:
items: [
  { quantity: 1 },
  { quantity: 4 }
],

totalQuantity: array.reduce(
  array.mapBy('items', raw('quantity')),
  (sum, i) => sum + i,
  0
)

totalQuantity will compute correctly on the first render, but if a new item is added to the collection, or if a quantity changes, it will not recompute.
The solution is to use an intermediate property:
items: [
  { quantity: 1 },
  { quantity: 4 }
],

_quantities: array.mapBy('items', raw('quantity')),

totalQuantity: array.reduce('_quantities', (sum, i) => sum + i, 0)

Or don't compose:
items: [
  { quantity: 1 },
  { quantity: 4 }
],

totalQuantity<EMAIL_ADDRESS>(sum, item) => sum + get(item, 'quantity'), 0)

But that's lousy. 😄 Is there any way to preserve the chain when composing macros like this?

This is definitely a bug, and I can reproduce it. Looking into a fix.

This should be fixed in v0.36.1 (ember-macro-helpers@0.15.0). Thank you for your patience.

Great! Thanks @kellyselden!


no colons supported in property values

would be nice to be able to have properties with colons (":") in it (eg: url).
Currrently not supported (v0.12), IllegalArgumentException is thrown:
"staticAdditionalField must be of the format key:value, where key is the additional field key (therefore should have a leading underscore), and value is a static string. e.g. _node_name:www013"

Agreed. The hack would be to split on the first : but I'm thinking that explicit   fields will be more future proof.

@roomsg mind checking out and reviewing PR #57 ? Hopefully it solves this problem for you.

Thx, will do a quick review of https://github.com/Moocar/logback-gelf/pull/57

Solved in #57


Unstable behavior of occlusion culling?

Hello,
Recently I’ve been testing occlusion culling in BJS. And I resulted finding some unstable behavior when setting the occlusion culling to all meshes in my scene. Some meshes flickered or disappeared when it should be seen and rendered for sure. Pls check out my screen record and the codes I posted. Any suggestions and help would be appreciated.

And the playground codes:
https://www.babylonjs-playground.com/#GLWT40

Please use our forum for questions: forum.babylonjs.com


FastAPI don't call pydantic to json

First Check

[X] I added a very descriptive title to this issue.
[X] I used the GitHub search to find a similar issue and didn't find it.
[X] I searched the FastAPI documentation, with the integrated search.
[X] I already searched in Google "How to X in FastAPI" and didn't find any information.
[X] I already read and followed all the tutorial in the docs and didn't find an answer.
[X] I already checked if it is not related to FastAPI but to Pydantic.
[X] I already checked if it is not related to FastAPI but to Swagger UI.
[X] I already checked if it is not related to FastAPI but to ReDoc.

Commit to Help

[X] I commit to help with one of those options 👆

Example Code
import json

from fastapi import FastAPI
from pydantic import BaseModel

def json_dump(*args, **kwargs):
    print('HELLO')
    return json.dumps(*args, **kwargs)

class MyModel(BaseModel):

    class Config:
        json_dumps = json_dump

    a : int

data = MyModel(a=1)

data.json()

app = FastAPI()

@app.post("/hello/", response_model=MyModel)
async def hello() -> MyModel:
    return MyModel(a=1)

import uvicorn

uvicorn.run(app)

### on client.py side
from httpx import Client

with Client(base_url="http://localhost:8000") as ac:
    resp = ac.post(
        "/hello/",
    )

>>> HELLO

Description
This shows the HELLO is called only once. Which means FastAPI is not using the pydantic to json function.
By looking at the code we can see that there is a custom function written on FastAPI side. Is there a way to use the json method from pydantic instead ?
Thanks in advance
Operating System
Linux
Operating System Details
No response
FastAPI Version
0.87.0
Python Version
3.9.10
Additional Context
No response

I think you could use def dict in Pydantic. FastAPI uses jsonable_encoder to create a dict from a Pydantic model then serializes the result with json, orjson, ujson etc

you can set json_encoders in pydantic model instead of json_dumps
for example:
json_encoders = {float: lambda x: float(x)}

Yes indeed json_encoders is a way to do it. Unfortunately it will be called not directly on the BaseModel but at its child levels. In the code it first goes into the BaseModel collect the json encoder and then call it but only on the child.
My question is why not using directly BaseModel.json() in FastAPI ? There might be a reason that I am not aware like something related to SQLAlchemy. But from what I saw it looks like a redundancy with pydantic code

let

I think you could use def dict in Pydantic. FastAPI uses jsonable_encoder to create a dict from a Pydantic model then serializes the result with json, orjson, ujson etc

Let me check if I can solve my problem with this. Thanks for the feedback

I found out a solution with json_encoder but I still wondering why not just use BaseModel.json() from pydantic


Make DropContextService a client middleware too

Since client middle-ware might need contexts too, this simply add a symmetric implementation of swagger::client::Service to the DropContextService middle-ware.

bors r+


Soundness Issues with syscalls

Syscalls such as read, recv, uname, fstat{64,}, getdents{64,}, etc all write to a passed-in buffer. If we don't explicitly set taint over these buffers after the syscalls succeeds, we could have a buffer that is marked tainted but in reality isn't.
Should we handle this in drtaint proper?
Syscalls such as these currently cause a lot of coreutils to fail, for example ls -alh.

Thanks for the suggestions!

read, recv, recvfrom are the most important syscalls to hook for tainting.

Agreed, we implement at least these and a few others, but not enough that our analysis is sound just yet (i.e. coreutils binaries routinely yield false positives).

And it makes sense to hook open and accept4 as well, as e.g. if you only want to taint network traffic that can be received with read() too, so you would need to track read() for the file descriptor that came with accept4().

Maybe we're not exactly on the same page--this technique seems to be aimed at tainting user input (possibly for the purposes of checking for control-flow infractions as in TaintCheck and TaintTrace). However, DrTaint should be a general library that allows users to taint what they want, for example at a syscall event.
The reason I call our analysis "unsound" is due to syscalls which overwrite some userspace buffer, for example uname. If we don't clear this taint (or subsequently set it, as a user might be interested in the information produced by uname for whatever reason) then the taint value of whatever is currently on the stack is preserved, which shouldn't happen, despite it having been overwritten.

for very selfish reasons I just would like this tainter to be as flexible as possible and applicable to real-world problems :)
(and then add myself Intel x86 and x64 to it)
the many syscalls are an issue as it is a lot of effort to implement them, true.

Just a heads up @vanhauser-thc , but potentially around April I plan on contributing the DrTaint library in some form to the main DrMemory project under the name DrTracker, XREF https://github.com/DynamoRIO/drmemory/issues/825.
Derek has expressed interest in also splitting out the taint analysis code used for uninitialized read tracking for DrMemory (x86 only) and contributing it to DrTracker, if you are interested :)


GPIO state_pin optional

Component/platform:
https://github.com/home-assistant/home-assistant/blob/dev/homeassistant/components/rpi_gpio/cover.py
Description of problem:
I'm using GPIO to control some relays that are connected to a remote controller for my blinds.
The remote controller uses rolling codes so that's my only alternative.
Can we make the state_pin optional? or based on a boolean from HA?
Thanks

This is our issue tracker, feature requests should be opened on our forum.
https://community.home-assistant.io/c/feature-requests


[Feature] [SWCK] Add BanyanDB CRD & Controller

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description
BanyanDB is an observability database designed for observability platform and APM system, like Apache SkyWalking.
I plan to add BanyanDB CRD and corresponding Controller into SWCK. It can enable SkyWalking users to directly deploy and use BanyanDB on Kubernetes. This issue mainly includes

Design and implement the CRD for BanyanDB
Design and implement Controller logic to reconcile BanyanDB on Kubernetes.
Tests, Validations and Documentations.

Use case
No response
Related issues
No response
Are you willing to submit a PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

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

@hanahmily Hi, I noticed that BanyanDB currently has a standalone structure. I wonder what's community's plan for BanyanDB to adopt a fault-tolerant, multi-replicas structure (using Raft or other algorithms). I'm facing two challenges when designing CRD & Controllers for BanyanDB in k8s, they are:

If BanyanDB pod fails (network partition, worker node down), do we have to restart and wait for it to recover, or have other failovers like activating a slave backup?
If users changes BanyanDB version and its docker image, can we rolling update BanyanDB while still providing normal service? Does BanyanDB support hot-update for its start-up configurations?

what's community's plan for BanyanDB to adopt a fault-tolerant, multi-replicas structure (using Raft or other algorithms).

Relevant feats are under discussion.

If BanyanDB pod fails (network partition, worker node down), do we have to restart and wait for it to recover, or have other failovers like activating a slave backup?

BanyanDB will know nodes' roles. The operator doesn't take care of recovery. Restarting the pod is acceptable.

If users changes BanyanDB version and its docker image, can we rolling update BanyanDB while still providing normal service? Does BanyanDB support hot-update for its start-up configurations?

The rolling update is a complicated topic. We don't have any discussions in the community. The operator could leave it as is now and refine the CRD once it's on our radar.


$SB_EXECFILE error message

Hi,
I tried to run AreTomo2 (from SBgrid installation), and I get the following error message:
/data/apps/extern/sbgrid/share/capsules/lib/job.sh: line 126: 2156235 Segmentation fault      (core dumped) "$SB_EXECFILE" "$@"
I tried different versions (AreTomo2_1.0.0_Cuda118, AreTomo2_c7_Cuda122) which gave the same error. I noticed the v1.3.4 lead to the the same message (AreTomo_1.3.4_Cuda112_Feb22_2023, AreTomo_1.3.4_Cuda116_Feb22_2023).
However, older versions do work on the same images (and comparable cuda version) - (AreTomo_1.3.3_Cuda112_11212022, AreTomo_1.3.3_Cuda116_11212022, AreTomo_1.3.0_Cuda116_09292022).
Any idea why the newer version would fail with such a message on our cluster?
Thanks,
Best,
Nicolas

I figured in previous versions, I was using "-patch 1 1" to prevent patch processing. But this generated this error in the newest versions where "-patch 0 0" is required instead.

Actually, this error is still in the latest version we use on SBgrid and only seems to happen when -OutImod is set to "2" (AreTomo format). Everything runs well up to the last steps it seems.

Hi @ncoudray, is there any way to solve it?

I haven't found a way to solve it. I used -OutImod option 1 instead and try to work with this outputt

OK, I have tried with other number for -OutImod. But sometimes it worked, sometimes not.


Wrong options set for sass-loader v16+

When using the built-in configuration for Sass and sass-loader 16.0.0 or newer, the sassOptions field is interpreted as Sass’s current/modern options type instead of the legacy options type — unless the option api: "legacy" is set. More details in the release notes for sass-loader 16: https://github.com/webpack-contrib/sass-loader/releases/tag/v16.0.0
Setting unsupported options doesn’t seem to cause an exception, it just means Shakapacker’s additional_paths aren’t getting passed down to the Sass loader, since they are set as an option that gets ignored.
Note: this isn’t an active problem for me! I just noticed it while upgrading, but my project does not set any additional paths. I imagine it may cause some confusing trouble for others, though.
Expected behavior:
Currently, if you have the following in your config/webpack/webpack.config.js:
const { generateWebpackConfig } = require('shakapacker');
const webpackConfig = generateWebpackConfig();

You should get a config that either explicitly specifies the legacy API:
{
  module: {
    rules: [
      {
        test: /\.(scss|sass)(\.erb)?$/i,
        use: [
          '<project_path>/node_modules/mini-css-extract-plugin/dist/loader.js',
          {
            loader: '<project_path>/node_modules/css-loader/dist/cjs.js',
            options: { /* ...css-loader options... */ }
          },
          {
            loader: '<project_path>/node_modules/sass-loader/dist/cjs.js',
            options: {
              api: 'legacy',  // <-- make sure to specify the API version
              sassOptions: {
                includePaths: []
              }
            }
          }
        ]
      },
      // ...other rules
    ]
  },
  // ...other Webpack config options
}

Or one that uses the modern API and sets loadPaths instead of includPaths:
{
  module: {
    rules: [
      {
        test: /\.(scss|sass)(\.erb)?$/i,
        use: [
          '<project_path>/node_modules/mini-css-extract-plugin/dist/loader.js',
          {
            loader: '<project_path>/node_modules/css-loader/dist/cjs.js',
            options: { /* ...css-loader options... */ }
          },
          {
            loader: '<project_path>/node_modules/sass-loader/dist/cjs.js',
            options: {
              sassOptions: {
                loadPaths: []  // <-- modern API uses `loadPaths` instead of `includePaths`
              }
            }
          }
        ]
      },
      // ...other rules
    ]
  },
  // ...other Webpack config options
}

You could solve this either way. Doing both (update the options based on the version of sass-loader in use, but also pass api: 'modern' for safety’s sake) might be more resilient against future changes like this.
Actual behavior:
With the current setup, the settings are output using the legacy API, but will be interpreted by newer Sass versions as modern instead:
{
  module: {
    rules: [
      {
        test: /\.(scss|sass)(\.erb)?$/i,
        use: [
          '<project_path>/node_modules/mini-css-extract-plugin/dist/loader.js',
          {
            loader: '<project_path>/node_modules/css-loader/dist/cjs.js',
            options: { /* ...css-loader options... */ }
          },
          {
            loader: '<project_path>/node_modules/sass-loader/dist/cjs.js',
            options: {
              sassOptions: {
                includePaths: []  // <-- Legacy API option (should be `loadPaths`)
              }
            }
          }
        ]
      },
      // ...other rules
    ]
  },
  // ...other Webpack config options
}

Setup environment:

Ruby version: 3.3.4
Rails version: 6.1
Shakapacker version: 8.0.1

If helpful, it looks like sass-loader added the api option and support for switching between legacy and modern in v12.5.0. That said it’s marked as “experimental” in that release.


docs: typo in useUpdate docs

Thank you @streamich 💯

@streamich Also feel free to add your self as a contributor to readme if you like!


impl Eq and Hash on Region

This allows for easier inclusion of rusoto_core::region::Region in HashMaps.
Please help keep the CHANGELOG up to date by providing a one sentence summary of your change:

Thanks!


{Freeway-Bug}[Adaptive Cards- Home Page] : Captions and transcription is not available while playing the pre-recorded video.

Target Platforms
Other
SDK Version
1.6
Application Name
Adaptive Cards
Problem Description
Test Environment:
URL: https://adaptivecards.io/
OS Version: Dev (OS Build 27695.1000)
Browser Version: Version 130.0.2849.1 (Official build) dev (64-bit)
Repro Steps:

Open the above URL in the browser.
Home page will be appeared.
Press tab key and navigate to the 'Watch Video' button and press enter key to activate it.
Observe the issue.

Actual Result:
Captions and transcription options are not present for the pre-recorder video under Watch Video.
Expected Result:
Captions and transcription options should be available for the pre-recorder video under Watch Video.
Note:
Same issue is repro for the video player under Product Video and Media screens as there are no transcript options are present.
User Experience:
A person who can't listen to the voice after playing the video will find difficulty understanding voice if 'sub title' and Transcript' will not be available.
MAS Reference:
https://liquid.microsoft.com/Web/Object/Read/MS.Accessibility/Requirements/07.01
Have feedback to share on Bugs? please tag bug as “A11yRCA” and add your feedback in the comment section
Screenshots

Card JSON
NA

Sample Code Language
No response
Sample Code
No response

Note: Need to add caption sources to https://github.com/microsoft/AdaptiveCards/blob/599d791a0ff0ece2214407e271e46401b10b91ce/source/nodejs/adaptivecards-site/themes/adaptivecards/layout/index.ejs#L3-L12


Add a new extractor for pietsmiet.de

Please follow the guide below

You will be asked some questions, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your pull request (like that [x])
Use Preview tab to see how your pull request will actually look like

Before submitting a pull request make sure you have:

[x] At least skimmed through adding new extractor tutorial and youtube-dl coding conventions sections
[x] Searched the bugtracker for similar pull requests

In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[x] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[ ] Bug fix
[ ] Improvement
[x] New extractor
[ ] New feature

Description of your pull request and other information
Adds a new extractor for www.pietsmiet.de, a private website for German YouTubers with over 2 million subscribers (https://www.youtube.com/user/PietSmittie). They release bonus content on their website that is not available on YouTube. Recently they switched their video player to HLS and the generic extractor only covers 720p now, not the best available 1080p format.
This extractor supports all provided HLS formats. It also supports the default format that is served as a single file for users that don't have ffmpeg installed. Formats are named hls-480p, hls-720p, hls-1080p, and http-720p, with hls-1080p being marked as best and http-720p being on top.
There seems to be a small bug in youtube-dl because even though the m3u8 parser recognizes that hls-1080p has 59.92 fps during parsing, in the end it shows 30.0 fps in the format overview.

Thank you for your suggestions, I changed the code accordingly.


Fix 5xx on bad request

There are many cases where bad user input leads to a 5xx error. We want to handle those better and return 400 when it's appropriate

can we get this reviewed and merged? thanks :)

Codecov Report

Merging #2467 into master will increase coverage by 0.17%.
The diff coverage is 84.81%.

@@            Coverage Diff             @@
##           master    #2467      +/-   ##
==========================================
+ Coverage   79.97%   80.14%   +0.17%
==========================================
  Files          85       85
  Lines        8997     9168     +171
  Branches     1924     2011      +87
==========================================
+ Hits         7195     7348     +153
- Misses       1525     1533       +8
- Partials      277      287      +10

Impacted Files
Coverage Δ

webapp/graphite/render/evaluator.py
100% <100%> (ø)
:arrow_up:

webapp/graphite/errors.py
100% <100%> (ø)
:arrow_up:

webapp/graphite/render/functions.py
96.16% <76.92%> (ø)
:arrow_up:

webapp/graphite/render/views.py
74.71% <83.33%> (+4.83%)
:arrow_up:

webapp/graphite/functions/params.py
90.54% <84.44%> (-9.46%)
:arrow_down:

Continue to review full report at Codecov.

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

Codecov Report

Merging #2467 into master will increase coverage by 0.17%.
The diff coverage is 84.81%.

@@            Coverage Diff             @@
##           master    #2467      +/-   ##
==========================================
+ Coverage   79.97%   80.14%   +0.17%
==========================================
  Files          85       85
  Lines        8997     9168     +171
  Branches     1924     2011      +87
==========================================
+ Hits         7195     7348     +153
- Misses       1525     1533       +8
- Partials      277      287      +10

Impacted Files
Coverage Δ

webapp/graphite/render/evaluator.py
100% <100%> (ø)
:arrow_up:

webapp/graphite/errors.py
100% <100%> (ø)
:arrow_up:

webapp/graphite/render/functions.py
96.16% <76.92%> (ø)
:arrow_up:

webapp/graphite/render/views.py
74.71% <83.33%> (+4.83%)
:arrow_up:

webapp/graphite/functions/params.py
90.54% <84.44%> (-9.46%)
:arrow_down:

Continue to review full report at Codecov.

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

@replay I took the liberty of pushing some updates to the branch, let me know if any of that doesn't make sense to you.
I'm still a little concerned about the potential for breaking queries that work despite the parameter types not being correct, but not sure what the best way is to test that.

Thx @DanCech, I'll check it out. I guess it would be easy to make the argument type validation optional, with some new setting, which by default leaves the validation turned off. Only if a user cares about correct http status codes they can turn it on (like we would). If it's turned off then queries which work despite wrong types would continue to work.
Alternatively, if we want to push users to enforce validation, we can leave it on by default but make it possible to turn it off.

I like that with your change the returned error messages are much more descriptive of why exactly the validation has failed

seems pretty gross to have an option to control whether status codes are correct.
is it not possible for validation to be in sync with what the processing functions actually allow?

Making validation stricter always has risks unfortunately, it may not be a bad idea to gate the enforcement behind a config option at least initially, with the ability to log calls that would have returned an error.  I'm not immediately seeing any better way to move forward, since there are almost certainly more scenarios that currently work despite people passing parameters that shouldn't really be allowed, but are handled because of things like loose "truthiness" tests, etc.

Please take another look. I made the enforcement of the input validation optional, but it still logs a message in any case. I've also changed it so that calling an unknown function name is considered an input error.


ARM Template Example Context should be relevent to article

Please update the ARM Template example to match context of the Article.  Suggest providing template that installs and configures extensions vs. deploying a load balancer and SQL.

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

ID: d2de55b5-9d87-fdb9-3040-6bdf3cf8ff0b
Version Independent ID: 4e3fbc53-a0d2-182a-9d57-b94caba27fbf
Content: Azure VM extensions and features for Linux
Content Source: articles/virtual-machines/extensions/features-linux.md
Service: virtual-machines-linux
Product: unspecified
GitHub Login: @danielsollondon
Microsoft Alias: danis

@markmassad Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.

@markmassad Thank you for the feedback! Sorry it has taken so long for a response. The template example shows using the custom script extension to install a sample from GitHub. It is a common way of using the custom script extension.
The article has been updated since this issue was filed and there is a new owner. I'm going to close this for now, but feel free to reopen this or create a new issue if you have more feedback.
#please-close


Prepare a test framework for Caret Models

We need a way to perform the same checks done for scikit-learn python models for assessing the quality of SQL generation for caret models.
Need (all the code in R):

generate/train  a model on a dataset (training = R data.frame)
predict the classes of a test dataset ( test = R data.frame => R data.frame r_df_out)
generate a SQL code for the model (use the sklearn2sql_heroku for example)
transfer the test dataset to a database (RODBC and postgresql)
execute the model SQL generated in point 3 ( => data.frame sql_df_out)
compare the two dataframes (r_df_out and sql_df_out). A simple merge is OK. The prediction columns should be identical.

In a first time, the goal is just to put in place the framework to be  used as a template for coming tests. An xgboost model is OK for this task.
deliverable : A jupyter notebook with all the process.

trest framework implemented and validated on classification and regression models for GLM, RPART, naive Bayes and XGBoost.
See notebooks in the doc directory


Update fmt.Errorf to accept strings

Currently, the code is feeding an entire string into fmt.Errorf:
Old
if len(args) < 3 {
     return fmt.Errorf(errorBorder.Render(errorColor.Render("Error!"), "\nPlease declare a Pokémon's name after the [pokemon] command", "\nRun 'poke-cli pokemon -h' for more details", "\nerror: insufficient arguments"))
}

New
if len(args) < 3 {
    errMessage := errorBorder.Render(errorColor.Render("Error!"), "\nPlease declare a Pokémon's name after the [pokemon] command", "\nRun 'poke-cli pokemon -h' for more details", "\nerror: insufficient arguments")
    return fmt.Errorf("%s", errMessage)
}

Using fmt.Errorf() as it's intended will help future changes if more/different data types need to be used.
Example from docs:
const name, id = "bueller", 17
err := fmt.Errorf("user %q (id %d) not found", name, id)
fmt.Println(err.Error())

Closed with pull request: (#47)


PurchaseAsync on iOS, unpredictable behavior

If you are creating an issue for a BUG please fill out this information. If you are asking a question or requesting a feature you can delete the sections below.
Failure to fill out this information will result in this issue being closed. If you post a full stack trace in a bug it will be closed, please post it to http://gist.github.com and then post the link here.
Bug Information
Version Number of Plugin:   2.0
Device Tested On:   iPhone X, iOS 13.3
Simulator Tested On:
Version of VS: 16.4.4
Version of Xamarin:  4.4
Versions of other things you are using:
Steps to reproduce the Behavior
I have a subscribe button in my app.  The user taps it, the iOS Confirmation box should pop up asking the user for password (if needed) or to OK if confirmed.
Expected Behavior
The call to PurchaseAsync should wait until the user confirms or cancels.
Actual Behavior
In debug mode, sometimes the call to PurchaseAsync returns immediately.  I can see this with breakpoints in the calling method (button click event).  I can also see this because the activity indicator stops (because it is set to false in the click event).  In fact, the verify method is sometimes also invoked.
In release mode, I have seen intermittent crashes when the subscribe button is tapped.
In debug mode, I sometimes see "Consistency error: you are calling a UIKit method that can only be invoked from the UI thread."  I am not (to my knowledge) accessing anything from a different thread.
I've tried wrapping the PurchaseAsync call with BeginInvokeOnMainThread, with no difference in behavior.
I could really use some help on this -- it seems to be working find on Android, but I can't get it to behave consistently on iOS.  I'm in trial-and-error troubleshooting mode right now, which is worrisome because I need a working solution published on the App Store relatively soon.
Code snippet
private async void Subscribe_Clicked(object sender, EventArgs e)
{
activitySubscribe.IsRunning = true;
{
await MakePurchase();
activitySubscribe.IsRunning = false;
}
}
public async Task MakePurchase()
{
var verify = DependencyService.Get();
var billing = CrossInAppBilling.Current;
try
{
var connected = await billing.ConnectAsync(ItemType.Subscription);
if (!connected)
return false;
            InAppBillingPurchase purchase = null;
            purchase = await billing.PurchaseAsync(MYITEMID, ItemType.Subscription, MYITEMID, verify);
            if (purchase != null)
            {
                return true;
            }
        }
        catch (InAppBillingPurchaseException ex)
        {
            return false;
        }
        finally
        {
            await billing.DisconnectAsync();
        }
        return true;
    }

Screenshotst

Did you get anywhere with this, we're seeing the same issue on my team?

Similar issue here. When this happens, the purchase object contains an old expired receipt. When I validate the receipt server side, I get a 21006 error indicating the purchase is expired, even though it was just returned from PurchaseAsync.

I return what apple gives me sorry.


BIP: re-add submodule for BIPs, remove local copy from docs folder

Now that we have an updated branch for the Taproot Assets BIP (https://github.com/Roasbeef/bips/tree/bip-tap), we can re-add that as a git submodule and remove the local copies in the docs/ folder.

Are there any modifications we should make to fetch the BIP info?

I think just the normal git submodule init should be enough.


adding initial attempt at flow type declarations. Need another pair o…

…f eyes to help with errors from flow...

I'm really confused why flow is complaining about this module declaration can anyone spot what I'm doing wrong here?  I wouldn't call myself an expert with flow type declaration files exactly.  My google-fu is failing me with this error message but I feel like I am close to a workable module here...

kind of strange but the following code works just fine in their try flow webpage...
declare type State = { [string]: any };

declare type Thunk = () => State;
declare type ActionResult = State | Thunk;

declare type Action = (
  state: State,
  actions: Actions,
  data?: any
) => ActionResult;
declare type Actions = { [string]: Action };

let state: State = { test: "foobar" };
let actions: Actions = { run: () => ({test: "baz"})};
let app = ({state, actions}) => {console.log("wtf")};

actions["run"] = "foobar";

shows the type error I would expect for trying to assign a string to a type that is expected to be a function...

@andyrj Is it possible to rename the index.js.flow file to hyperapp.js.flow?
Also, what about .flowconfig, is that file not needed here?

@jbucaran yes on both counts, I didn't mean to commit my  .flowconfig, and this file should be named hyperapp.js.flow.  I will be updating this PR shortly.

@andyrj Thanks for making those changes. So, after we merge this, how does one go about checking if this works? And how does this help a project using hyperapp?

We could add flow types into the test suite, and then run flow on the test directory as an extra step for npm test, with 100% test coverage and with types on all the tests we should get a fully exercised flow library definition as well...

@andyrj I know I asked about tests before, but no, what I mean this time is how to use this new stuff? Like, okay we added flow, now what? :)

oh gotcha, I think the quickest way to verify it's working is to install flow integration for your ide of choice, then in a project using hyperapp add a .flowconfig with this hyperapp.js.flow declared there and you should get inteli-sense code completion with type declarations, and if you add // @flow to your code which calls hyperapp.app you shouldn't get any errors for the types on app not being declared...
I didn't figure out how to provide type declarations for users writing mixins.  But basic usage of app, and h if used should come up type error clean if the code is correct. :)

I am still getting the error relating to Callable not found on object literal from the screen shot on this PR, will look into it some more when I get time, for now please don't merge this yet.

Should have no errors now, had some typos and a few errors in my types...  Could definitely still use some peer review in this all.

Maybe @Swizz can have a quick look? 🙏
@andyrj It might also be worth sharing our conversation the other day about how people can use this, who this benefits and add a before/after screenshot too.

I agree if a few people would add flow to there hyperapp projects to see if I mis-typed anything they are using it would be helpful.  I am fine with sharing that conversation from slack.  I can also post directions in this thread if need be.

If I can have a few volunteers to add flow type to their hyperapp's and report back on any issues it would be greatly appreciated.  Basic instructions for vscode are as follows:

install vs code flow plugin - this one
in your project you want to test: npm install --save-dev flow-bin
flow init
copy the hyperapp.js.flow from here into your ./node_modules/hyperapp/dist/
Enable flow on your source file that calls h or app by add the following comment to the top: // @flow
You should see red and green squiggles appear in the source under flow errors and uncovered code.
You can also run the check form the command line with simply: flow  or  flow check

If you could follow the above and report back any errors you find in my type declarations it would be awesome!

@andyrj this is still using mixins and events. Will this be updated in time for 1.0?

I was waiting for the dts update to finish before updating flow lib def based on it.  I think that is done so can look at it again.

@andyrj Would you like to revive this? :)

Ya I can take another stab at it and update for the current api.

@andyrj That would be awesome.

Hey @andyrj, thanks for your work on this PR, but for the looks of it, we are not really getting things done so I am just going to call it off and close here. If anyone else wants to contribute with flow type annotations, be my guest! 👍


RegisterEndpointNotificationCallback causing exception of type 'System.ExecutionEngineException'

I'm trying to get registered to receive notifications of audio devices being added/removed.
I've created a notification class:
public class NotificationClient : IMMNotificationClient
{
    void IMMNotificationClient.OnDeviceStateChanged(string deviceId, DeviceState newState){ }
    void IMMNotificationClient.OnDeviceAdded(string pwstrDeviceId)
    {
       // do something
    }
    void IMMNotificationClient.OnDeviceRemoved(string deviceId)
    {
       // do something
    }
    void IMMNotificationClient.OnDefaultDeviceChanged(DataFlow flow, Role role, string defaultDeviceId) { }
    void IMMNotificationClient.OnPropertyValueChanged(string pwstrDeviceId, PropertyKey key) { }
}

This is then registered with the device enumerator as follows:
MMDeviceEnumerator enumerator = new MMDeviceEnumerator();

// this works great..
MMDevice[] speakerDevices = enumerator.EnumerateAudioEndPoints(DataFlow.Render, DeviceState.Active).ToArray();

// adding this line causes exception... (comment out this line and the exception goes away)
enumerator.RegisterEndpointNotificationCallback(new NotificationClient());

The full error is 'An unhandled exception of type 'System.ExecutionEngineException' occurred in Unknown Module. '
The exception is triggered when trying to open the windows speaker settings (right click speaker icon)
Any help greatly received. Package version is Naudio 2.0.1

I had a problem with this

im having a problem here as well; if the callback is registered im getting crashes with the error An unhandled exception of type 'System.ExecutionEngineException' occurred in NAudio.Wasapi.dll. i have no call stack to reference. the error is so inconsistent...

im having a problem here as well

your client is collected by GC,just keep reference of the client

To clarify @acidmeat define a class-level variable for your client and new it outside of the callback.
class MyForm {
  NotificationClient notificationClient;

  public MyForm {
    notificationClient = new NotificationClient();
    deviceEnumerator.RegisterEndpointNotificationCallback(notificationClient);
  }
}

@Soviut
thanks!


resolve peer hostnames at time of connect

If weave is launched with one or more peers given as names rather than IP addresses, then the simple behaviour added by #111 is to resolve those names once at startup and then use that IP address from then on.
Better to re-resolve the name each time we want to connect, so we get an up-to-date IP address.
Needs some modifications to the structure in ConnectionMaker to remember the resolved IP address while that connection attempt is in flight.
This behaviour would also open the possibility that we have an address which does not resolve - this is perhaps a transitory condition so we should re-try that address later.

A practical usecase from #389:
When provisioning in certain public clouds, i.e. GCE and Azure, there is free native DNS that one can use, thereby it's very easy and can be utilised without having static IPs.
So I can provision nodes with init scripts that read peer names from a files on disk, where the names are local DNS names. During provisioning, I don't necessarily have the control of the order, so DNS records might not be created for some peers yet.

Instead of re-resolving names each time we want to connect, I would create a Resolver class that keeps a cache of names that have been previously resolved. The ConnectionMaker could hold an instance of this Resolver. If a name is found in the cache and the resolution was not too long ago (determined by a TTL), the cached value would be returned. Otherwise, it would perform the resolution, save the value in the cache (question here is what to do when the cache is full) and then return the value.
The cache could also hold negative values (for names that do not resolve to anything), and a different timeout would apply for this cases...
An improved solution could use an increasing timeout, so each time the Resolver resolves a name and obtains the same value that was previously stored, it increases the TTL for that value.

Instead of re-resolving names each time we want to connect, I would create a Resolver class

That just adds complexity; performance really isn't an issue here.

There is a rather thorny issue here, which I discovered only very late into #548 (and which isn't addressed there)...
The original suggestion was that we want to

re-resolve the name each time we want to connect

However, the logic for determining whether we want to connect to something is based on the resolved address, since we need to check whether we already have a connection to that address. Furthermore, we also want to re-resolve names we previously resolved successfully, in order to account for changes to DNS.
The correct solution would base re-resolution decisions on the ttl supplied by DNS. But this requires implementing a full-blown resolver. That is no small feat - go's built-in resolver, which is quite a minimal affair, is many hundreds of lines of code (and, annoyingly does not expose the ttl in its API).
So #548 does something very crude. We resolve addresses every time the ConnectionMaker figures out what to connect to, and we make sure this happens at least once every 10 minutes.
We could improve on that by introducing our own caching, but that just seems wrong.
Hence I shall close #548. If we ever get back to this it may make for reasonable starting point.


fix: checkbox subgroup select all fix

ADO Story or GitHub Issue Link
https://github.com/kyndryl-design-system/shidoka-applications/issues/293

:tada: This PR is included in version 1.48.3 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 2.0.0-next.29 :tada:
The release is available on:

npm package (@next dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Kubeinit 20.04 repository is currently broken

Thank you for kubeinit!
Describe the bug
The repository for kubeinit on Ubuntu 20.04 is currently broken. When attempting to install podman, the following error is received:
Get:1 https://provo-mirror.opensuse.org/repositories/home:/kubeinit/xUbuntu_20.04  podman 100:4.7.1-1 [21.3 MB]
Err:1 https://provo-mirror.opensuse.org/repositories/home:/kubeinit/xUbuntu_20.04  podman 100:4.7.1-1
  File has unexpected size (21316608 != 21326904). Mirror sync in progress? [IP: <IP_ADDRESS> 443]
  Hashes of expected file:
   - SHA256:878d666829b2d9625f82cccaf9a1b94f2cddaee87cceb02765c71b87974ff441
   - SHA1:864179d94c5e09f03c2cfbe1434512190a3b7726 [weak]
   - MD5Sum:18ae4bc9ad3062347ac5bb8e06d26059 [weak]
   - Filesize:21326904 [weak]

It is correct. The file currently in the repository does not match the repository metadata.
To Reproduce
Steps to reproduce the behavior:

Add https://download.opensuse.org/repositories/home:/kubeinit/xUbuntu_20.04 to a sources.list file with appropriate signing keys
Run apt-get update
Run apt install podman

Expected behavior
Podman is installed.

Packages should be up and running here: https://build.opensuse.org/project/monitor/home:kubeinit


Add file validator

It is a Python library for file validation based on MIME, size, type and magic numbers that supports Django.
file-validator

Hi @rzashakeri, Thank you for the PR on this package. It's very interesting. To keep this repo curated we generally require quite a bit of longevity and stars on a project before inclusion. I don't think your package is quite there yet for our usage.
But I am going to feature it in an upcoming Django News newsletter because I think it will be of interest to the general Django community. Please consider resubmitting it in a year's time.


[iOS] kotlinx.io.IOException: Failed to open  with Operation not permitted

💥 We experience a crash on our KMP iOS app when we are trying to read a file located on the phone (iCloud or local). It happens on real device only (works well on simulator).
When calling :
platformFile.readBytes()
Then exception is through :
kotlinx.io.IOException: Failed to open /private/var/mobile/Containers/Shared/AppGroup/19697865-5851-42BA-86AC-461928C73BD2/File Provider Storage/pdf-local.pdf with Operation not permitted
Implementation :
var files: Set<PlatformFile> by remember { mutableStateOf(emptySet()) }
val filePicker = rememberFilePickerLauncher(
    type = PickerType.File(extensions = listOf("pdf", "png", "jpeg", "jpg")),
    mode = PickerMode.Single,
    title = "Pick a file",
    onResult = { file ->
        file?.let { files += it }
        file?.let { viewModel.onDocumentPicked(it) }
    }
)

Versions :
fileKit : 0.10.0-SNAPSHOT
iOS : 18.1
App context :
Written in Kotlin Multiplatform.
We want to read the picked file so we can upload the resulted ByteArray

Can you help us fix this issue please. Our app is in production 😬

Hi @FlorentDambreville! Thanks for creating this issue! I'm going to take a look.

I was able to reproduce your issue. It was caused by the iOS security scope not used properly. I'm pushing some fixes 👌
Can you try the new snapshot version and tell me if it solves your problem?


No object named "swift-2.0" exists

Probably a noob issue, but I created a Cartfile and added github "Alamofire/Alamofire" "swift-2.0"  to it.  When I run  carthage update I get the error:  Failed to check out repository into  Users/myuser/Library/Caches/org.carthage.CarthageKit/dependencies/Alamofire: No object named "swift-2.0" exists

Duplicate of https://github.com/Alamofire/Alamofire/issues/749

Not actually a duplicate, this is for Carthage not CocoaPods. #759 fixes this.
@imns Please use the following in your Cartfile:
github "Alamofire/Alamofire" ~> 2.0


Ban, Kick & Warning Logs

What is the issue, e.g. map voting, you would like to solve?
Logging of bans, kicks, warnings, etc.
How would you like us to solve this issue?
Use new RCON streaming functionality to collect this data.
Is there any alternative solutions you can think of?
Nope.
Additional Info
None.

Matched warn message: Remote admin has warned player [TT]ect0s. Message was "testing test"
Unknown Chat Message "[TT]ect0s was kicked: testing test"
Matched kick message: Kicked player 2. [steamid=76561198129XXXXXX] [TT]ect0s
Matched ban message: N/A Banned player 2. [steamid=76561198129XXXXXX] [TT]ect0s for interval 290376528

Was thinking about this recently and did a bit of tinkering;
I've added an "unknown chat" fall through in the rcon chat message handler, and noticed for kick we do get a multicast response with the reason as well as a message with more specific information about the kick.
These appear to be sequential, so a little bit of state in the RCON handler like what we do with the log parser would let us wrap the two packets into one event before we emit it.
However, this is not the case for adminban (native bans), we only capture the generic message we already have a parser for; we would not have a "reason" field.
I assume we likely would want to log this via sequelize/some other ORM into a database (sqlite/mysql/mongo etc) as well as maybe a discord channel?
We do not gain information about the admin who took the action in most cases (perhaps on bans, the N/A will be filled in with information ect0s [SteamID<PHONE_NUMBER>9106XXX] Banned:.. if done via the console in game).
There may be something we can do via the logparser to figure out the "reason" on bans, but I'm not sure of how best to handle that;
2023.01.27-11.55.02:854][892]LogOnlineGame: Display: Banning player: ect0s ; Reason = testing test
[2023.01.27-11.55.02:855][892]LogTextFormatter: Warning: Failed to parse argument "BanReason" as a number (using "0" as a fallback). Please check your format string for errors: " : {BanReason}".
[2023.01.27-11.55.02:855][892]LogOnlineGame: Display: Kicking player: [TT]ect0s ; Reason = testing test
[2023.01.27-11.55.02:855][892]LogSquad: ADMIN COMMAND: N/A Banned player 2. [steamid=7656119812910XXXX] [TT]ect0s for interval 290376528 from RCON```


RouteDefinition in 0.5.x no longer accessible

Adding the data field to RouteDefinition as pub(crate) had the unfortunate effect of making it impossible to construct. I should probably remove these pub fields and replace them with getters/setters for API stability, but given that would be a breaking change in any case, for now I think I can just remove this pub(crate).
Discussed in https://github.com/leptos-rs/leptos/discussions/1911

Originally posted by kingsleyh October 18, 2023
Hi - I was using this in 0.4.x but I've upgraded and now it's broken - even after removing all the Scope and cx words - it seems part of the RouteDefinition struct is now private so can't be constructed. Is there any work around to get this code working in 0.5.x?
https://github.com/jcourson8/ResourceProtectedRoute/blob/main/resource_protected_route.rs
my updates to try get it working (complains the RouteDefinition data field is private)
use std::{rc::Rc, cell::Cell};

use leptos_router::*;
use leptos::*;
thread_local! {
    static ROUTE_ID: Cell<usize> = Cell::new(0);
}

/// This is a guarded route component that is protected by a certain resource condition.
/// It defines a route that will display different views based on the state of a certain condition.
///
/// # Example
///
/// ```ignore
/// <ResourceProtectedRoute
///     path="/"
///     resource_condition=authenticated
///     redirect_path="/login"
///     protected_view=Box::new(|cx|
///         view! { cx,
///             <ProtectedView />
///         }
///     )
///     fallback_view=Box::new(|cx|
///         view! { cx,
///             <LoginView />
///         }
///     )
///     resource_err_view=Box::new(|cx|
///         view! { cx,
///             <LoginView />
///         }
///     )
/// />
/// ```
#[cfg_attr(
    any(debug_assertions, feature = "ssr"),
    tracing::instrument(level = "info", skip_all,)
)]
#[component(transparent)]
pub fn ResourceProtectedRoute<P, E>(
    /// The path fragment that this route should match. This can be static (`users`),
    /// include a parameter (`:id`) or an optional parameter (`:id?`), or match a
    /// wildcard (`user/*any`).
    path: P,
    /// The path that will be redirected to if the resource_condition resolves to `false`.
    redirect_path: P,
    /// Resource that resolved to a boolean. Determines if the user is authenticated.
    resource_condition: Resource<(), Result<bool, String>>,
    /// A boxed closure that defines the view to be displayed when the resource condition evaluates to true.
    protected_view: Box<dyn Fn() -> E + 'static>,
    /// A boxed closure that defines the fallback view to be displayed when the resource condition is not yet determined.
    fallback_view: Box<dyn Fn() -> E + 'static>,
    ///A boxed closure that defines the view to be displayed when the resource condition evaluates to an error.
    resource_err_view: Box<dyn Fn() -> E + 'static>,
    /// If true, inverts the result of the resource condition.
    #[prop(default = false)]
    invert_resource_condition: bool,
    /// The mode that this route prefers during server-side rendering. Defaults to out-of-order streaming.
    #[prop(optional)]
    ssr: SsrMode,
    /// The HTTP methods that this route can handle (defaults to only `GET`).
    #[prop(default = &[Method::Get])]
    methods: &'static [Method],
    /// `children` may be empty or include nested routes.
    #[prop(optional)]
    children: Option<Children>,
) -> impl IntoView
where
    E: IntoView + 'static,
    P: std::fmt::Display + 'static,
{
    // use crate::Redirect;
    let redirect_path = redirect_path.to_string();
    resource_condition.refetch();

    define_route(
        children,
        path.to_string(),
        Rc::new(move || {
            // resource_condition.refetch();
            let result = resource_condition.get();
            if let Some(Ok(authenticated)) = result {

                let auth_condition = if invert_resource_condition {
                    !authenticated
                } else {
                    authenticated
                };
                if auth_condition {
                    protected_view().into_view()
                } else {
                    view! {  <Redirect path=redirect_path.clone()/> }.into_view()
                }
            } else if let Some(Err(_)) = result {
                resource_err_view().into_view()
            } else {
                fallback_view().into_view()
            }
        }),
        ssr,
        methods,
    )
}

#[cfg_attr(
    any(debug_assertions, feature = "ssr"),
    tracing::instrument(level = "info", skip_all,)
)]
fn define_route(
    children: Option<Children>,
    path: String,
    view: Rc<dyn Fn() -> View>,
    ssr_mode: SsrMode,
    methods: &'static [Method],
) -> RouteDefinition {
    let children = children
        .map(|children| {
            children()
                .as_children()
                .iter()
                .filter_map(|child| {
                    child
                        .as_transparent()
                        .and_then(|t| t.downcast_ref::<RouteDefinition>())
                })
                .cloned()
                .collect::<Vec<_>>()
        })
        .unwrap_or_default();

    let id = ROUTE_ID.with(|id| {
        let next = id.get() + 1;
        id.set(next);
        next
    });

    RouteDefinition {
        id,
        path,
        children,
        view,
        ssr_mode,
        methods,
        data: None,
        static_mode: None,
        static_params: None
    }
}
```</div>

Well I definitely meant 33e166a to be a PR oops. This is why you don't use the GitHub online editor. In any case assuming I didn't just break everything this should be fine.


usb: cdc_acm: Update log level only if UART console is enabled

Change updates log level only if UART console is enabled in Kconfig configuration. The log level update is not needed in case logs are provided over other backend (e.g. RTT).
Change affects both USB stacks.

Pushed fix for a typo. Sorry for dismissing reviews


Add startup_namer example stub [DO NOT MERGE]

This is designed to be the getting started tutorial for newcomers. The goal is to make the experience more exciting and educational.
Constraints:

Max ~100 LOC.
No advanced concepts.
Minimal boilerplate.
Conforms to Material Design guidelines.
User should be able to build this iteratively from the starter app (the hello world sample).

Goals:

Show basic layout, navigation.
Demonstrate power of building layout in code.
Demonstrate styling.
Demonstrate working with packages.

The app is a port of my "startup namer" app (the original version was an AngularDart codelab for I/O). It'll show you an infinite list of disyllabic startup name ideas. I'm cheating by outsourcing most of the business logic into a Dart package (pkg:english_words), so the user only really builds the UI.
Here it is in action in the simulator:

The code will eventually live here as a full example. This not-for-merging commit is just the bare basics (pubspec.yaml and lib/main.dart) to remove noise for the reviewers.
// cc @mjohnsullivan @Sfshaza

FYI: AppVeyor failed with the following lints:
Analyzing 1399 files...
[lint] Specify type annotations. (examples\startup_namer\lib\main.dart, line 69, col 21)
[lint] Prefer const with constant constructors. (examples\startup_namer\lib\main.dart, line 70, col 29)
[lint] Specify type annotations. (examples\startup_namer\lib\main.dart, line 92, col 11)
[lint] Specify type annotations. (examples\startup_namer\lib\main.dart, line 72, col 9)
[lint] Declare method return types. (examples\startup_namer\lib\main.dart, line 21, col 3)
[lint] Prefer const with constant constructors. (examples\startup_namer\lib\main.dart, line 35, col 16)
[lint] Specify type annotations. (examples\startup_namer\lib\main.dart, line 48, col 5)
[lint] Specify type annotations. (examples\startup_namer\lib\main.dart, line 85, col 11)
[lint] Specify type annotations. (examples\startup_namer\lib\main.dart, line 69, col 30)
[lint] Separate the control structure expression from its statement. (examples\startup_namer\lib\main.dart, line 70, col 22)
[lint] Specify type annotations. (examples\startup_namer\lib\main.dart, line 83, col 11)
[lint] Specify type annotations. (examples\startup_namer\lib\main.dart, line 26, col 3)
[lint] Specify type annotations. (examples\startup_namer\lib\main.dart, line 86, col 14)
[lint] Prefer const with constant constructors. (examples\startup_namer\lib\main.dart, line 29, col 33)
[lint] Specify type annotations. (examples\startup_namer\lib\main.dart, line 84, col 19)
[lint] Specify type annotations. (examples\startup_namer\lib\main.dart, line 27, col 33)
[lint] Prefer const with constant constructors. (examples\startup_namer\lib\main.dart, line 101, col 22)
[lint] 9 public members lack documentation (ran in 50.3s)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
ERROR: Last command exited with 1 (expected: zero).
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

FWIW, I think that this particular sample code should get a lot of slack in terms of lints. The tutorial will be mostly followed by complete beginners, so requiring docs for all public members would be counter-productive.
That said, I will happily create an "advanced" version of the code that will pass all the lints and will be the one living in flutter/examples.
The code in this PR is the version that newcomers will be asked to write during our getting started tutorial.

Ok, I've addressed all issues raised by @Hixie and @collinjackson. I think @Sfshaza is unblocked for writing the tutorial.
// cc @mjohnsullivan


Strategic Reposition cancels Invisibility

Using Strategic Reposition when under the effects of Invisibility ends the Invisibility spell.

I need your save to take any action.

You can use this save to see the issue.
Strategic Repo test.zip

fixed as well as Coordinated Attack gambit.