Add troubleshooting note for #8890

Thanks for submitting a pull request! Please provide enough information so that others can review your pull request:

Unless you are a React Native release maintainer and cherry-picking an existing commit into a current release, ensure your pull request is targeting the master React Native branch.

Explain the motivation for making this change. What existing problem does the pull request solve?
Prefer small pull requests. These are much easier to review and more likely to get merged. Make sure the PR does only one thing, otherwise please split it.
Test plan (required)
Demonstrate the code is solid. Example: The exact commands you ran and their output, screenshots / videos if the pull request changes UI.
Make sure tests pass on both Travis and Circle CI.
Code formatting
Look around. Match the style of the rest of the codebase. See also the simple style guide.
For more info, see the "Pull Requests" section of our "Contributing" guidelines.

By analyzing the blame information on this pull request, we identified @hramos and @lloydnye to be potential reviewers.

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla - and if you have received this in error or have any questions, please drop us a line at<EMAIL_ADDRESS>Thanks!

I believe this has been fixed in a newer React Native release? Otherwise can we fix the podfile to take care of this? Adding troubleshooting instead of fixing the source of the issue seems sub-optimal.

@javache  This happens on a fresh React Native 0.32.0 project generated with react-native-cli 1.0.0.  The XCode project's test target initially has no value in Other linker flags.  If, after creating a project, I run pod init and pod install in the ios/ directory, then try to run via react-native run-ios, the build fails do to the lack of the '-lc++' flag.
I agree that fixing at the source would be optimal (in which case perhaps #8890 should be re-opened), but in the mean time it'd be nice to have a troubleshooting note, as this seems like it'd be a pretty common case.

A couple of months ago we cleaned up the troubleshooting page to remove anything that may already be documented as an issue in this repo. The issue tracker is a better place for this, as the docs can easily become stale once the issue is resolved.
If it's a question of discoverability, maybe we should encourage people to look up GitHub issues if their issue is not covered in the troubleshooting page.

Thanks for the pull request! I kind of like the Troubleshooting page but agree with @hramos it's difficult to make sure it's up to date. As long as GitHub issues and StackOverflow questions have good titles, people can Google the error message to find a solution - the issue or questions will be up to date with comments.
With that I'll close this PR. Hope you won't mind and please keep sending improvements to docs any time you find anything could be made clearer.


Vite ErrorOverlay TypeError

Describe the bug
The below error shows up in the browser console when I start the vite dev server with npm run dev.

Reproduction
It only happens sometimes so I'm not sure how to replicate it.
Logs
overlay.ts:152 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'replace')
    at new ErrorOverlay (overlay.ts:152:21)
    at createErrorOverlay (client.ts:278:29)
    at handleMessage (client.ts:247:9)
    at WebSocket.<anonymous> (client.ts:91:5)
ErrorOverlay @ overlay.ts:152
createErrorOverlay @ client.ts:278
handleMessage @ client.ts:247
(anonymous) @ client.ts:91

System Info
System:
  OS: macOS 12.6.3
  CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
  Memory: 66.80 MB / 16.00 GB
  Shell: 5.8.1 - /bin/zsh
Binaries:
  Node: 19.2.0 - /usr/local/bin/node
  npm: 8.19.3 - /usr/local/bin/npm
npmPackages:
  @sveltejs/adapter-cloudflare: ^1.0.0 => 1.1.0
  @sveltejs/kit: ^1.0.0 => 1.3.9
  svelte: ^3.54.0 => 3.55.1
  vite: ^4.0.0 => 4.0.4

Severity
annoyance
Additional Information
Would this error stop the vite error overlay from showing up when some error happens in sveltekit?

@navtoj put a breakpoint on that line the and check what the original error message was if it happens again. There aren't many that'd have a code frame but omit the message.

I experienced this today, but it was fleeting. Presumably somewhere a non-Error is being thrown

figured it out: https://github.com/sveltejs/kit/pull/9440


Scrollview doesn't work and throws warning

Describe the problem
Virtuallist warning is thrown and scrolllist doesn't work either so what would be the possible way to rectify that
Additional context

Library Version: [e.g. 1.4.2]

React Native Version: [e.g. 0.62.2]

[X] iOS

[X] Android

[ ] Web

If you are using expo please indicate here:

[X] I am using expo

yes mee too , got any solution ?


Use the complete header as resize handler.

This makes it easier to interact with the view. The "double-click on header" action was already a kind of "resize" method.
Made resizeHandler obsolete

Looks great, definitely much easier to use now :+1:
Thanks a lot for all your PRs.


Local files not playing

Hello, I'm trying to load and play local .mp4 videos through Blob,
but I get this Clappr error message:
"Your browser does not support the playback of this video. Please try using a different browser" .
This is my code:
<input type="file" id="i_file">

$('#i_file').change(function (event) {
        var tmppath = URL.createObjectURL(event.target.files[0]);
        var player = new Clappr.Player({ source: tmppath, parentId: "#player" });
    });

(P.s. I'm using a local webserver)
Tested on Windows 10 + Chrome
Many thanks

Have you tried with basic usage:

thank-you for your reply @inside83,
with "regular" path I have no problem, but I need to load a local file.
The only way to do that is through a Blob path, but it doesn't work...

Basically you need
source: "/home/my/awesome/video.mp4"
instead of
source: "http://your.video/here.mp4"
?

You have to provide the mimeType explicitly to clappr as it cannot imagine it from a blob url.

Hi @issimissimo, is your video being served at the same host as your application? If yes, it works. Otherwise, you will get an error of different origins, since the path that you want to use should be visible from your application.

I'm closing this issue due to inactivity. If needed, please feel free to reopen it.


padawan crashes when processing a Symfony tests fixture.

When generating the index for a new Laravel project the indexer Segfaults (php 5.6.20 Debian 8.4) while processing this Symfony test class.
https://github.com/symfony/var-dumper/blob/master/Tests/Fixtures/NotLoadableClass.php
It seems the issue is with the class extending itself:
class NotLoadableClass extends NotLoadableClass
If I change one of the class names it will finish wihtout crashing.
I have also noticed that about 50Mbytes of memory is allocated while processing that class.  So maybe there is some reference loop.  The PHP process doesn't seem to hit the memory limit (padawan sets the limit to 2Gbytes), the whole process uses around 500Mbytes (199Mbytes reported in the log) when it crashes.

Interesting issue. I guess indexer tries to get info about parent class and that why it fails.

I didn't realize that I was using an older version of the padawan server.  Attached is the output from the latest padawan-server.  It fails with a syntax error instead of a hard crash like before.  Is it possible to just ignore all PHP parsing errors?
symfony_generate.txt

I think this is really a duplicate of issue #32 , so I will close this issue.


Rename logger to logger_ in slack_bolt.kwargs_injection.args.Args

It is common practice to define a variable called logger in a script. However, the slack_bolt.kwargs_injection.args.Args function used as a decorator also defines logger, so if you want to call your normal logger in your script you have to give it a different name. It can also be unexpected behaviour, as the author may think they are calling the logger from their module, but actually they are calling a different logger instance altogether.
I understand this would be a breaking change, but I think it would improve usability.
Category (place an x in each of the [ ])

[ ] slack_bolt.App and/or its core components
[ ] slack_bolt.async_app.AsyncApp and/or its core components
[ ] Adapters in slack_bolt.adapter
[x] Others

Requirements
Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.

Hi @ChrisHills463 - Thank you for writing in with this suggestion! Your point about improving usability seems reasonable to me, but I'll defer to @WilliamBergamin or @seratch on tradeoffs regarding making a change like this.

We have resolved the same issue with next function this way: #394
Adding an alias in the similar way should be a reasonable solution for this need. No breaking change at all.

Thanks for the feedback! I think that there is a slight difference in that unlike next, logger is not a Python built-in but rather a common convention, which is why I think it should be renamed to logger_ since when an author refers to logger they are likely thinking that they are referring to their local module variable rather than that of the (decorated) function.

Yeah, there is a difference, but we never bring breaking changes to this SDK (considering the number of existing apps for enterprise companies). Thus, the only option we can think of is to add an alias to support your use case.

Understood, but adding an alias would be pointless because the original logger is already overwritten at this point, so I think at this point there is no alternative to the author using a name other than logger, or providing their own alias to it.

Just to clarify, bolt-python's keyword argument injection mechanism adds arguments only when you give the name in the argument list (see https://github.com/slackapi/bolt-python/blob/main/slack_bolt/kwargs_injection/utils.py to learn how it works).
Therefore, when you have logger outside the listener function and you give only logger_ in the listener method's argument list, you can use both the global logger and bolt's logger as logger_ within the listener function. If this does not work for your use case, we may not add such change because we've never received this feedback from other developers.

Just to clarify, bolt-python's keyword argument injection mechanism adds arguments only when you give the name in the argument list (see https://github.com/slackapi/bolt-python/blob/main/slack_bolt/kwargs_injection/utils.py to learn how it works).
Therefore, when you have logger outside the listener function and you give only logger_ in the listener method's argument list, you can use both the global logger and bolt's logger as logger_ within the listener function. If this does not work for your use case, we may not add such change because we've never received this feedback from other developers.

Thank you for the clarification! This has cleared up my misunderstanding.


reset input value on click

Fixes https://github.com/GoogleChromeLabs/llaminator/issues/81

demo is live https://llaminator-dev.netlify.app/

Nice, approved.
Verified on jsfiddle.net/kgy0fjbn - it's interesting how Chrome doesn't fire the change event when selecting the same file twice, whereas Firefox does. The click event consistently fires before the picker is shown, so ordering is sound.

of course it's sound, I found it on stackoverflow :)
https://stackoverflow.com/questions/20244327/on-change-event-for-file-input-element


Updating unit tests to be more flexible for warnings.

Addresses #701
Description
Testing:

[x] Ran tests and they passed OK
[ ] Added new tests for the new feature(s)

I think I have changed all the warnings to be more flexible now, and also removed the number count on the warnings where appropriate. So this should be completed now @gavinevans

I have made those changes, so the tests should be flexible now. I have also done a slide and put it in the folder.


Fix mistake for whether MPI is enabled

Would previously break if MPI was not available (not tested in CI)
Fixes #27

I'm installing Visual Studio to verify that this fully addresses #27 before I complete my review.

Looks like that works. I was able to compile 3DThesis in Visual Studio 2022 without MPI.


Support AcesssRights setting for Service Bus

From https://github.com/projectkudu/AzureFunctionsPortal/issues/348

See SO post http://stackoverflow.com/questions/36705464/servicebus-queue-trigger-for-azure-function-manage-claim-is-required-for-this-o

The ServiceBusTrigger/ServiceBus bindings support an AccessRights property. We need to add UI for this.

This requires a bindings.json update.

@mathewc - Why is AccessRights useful here? Isn't it implicit from the Input/Output? For Input, can't we just set this to "Listen"? For Output, we set this to "Send" or "Manage"? Maybe we only need it for Output?

See core SDK issue here for background: https://github.com/Azure/azure-webjobs-sdk/issues/501
Basically we always assumed we had Manage rights, and the SDK has CreateIfNotExists semantics - if an SB entity didn't exist we'd try to create it. If a connection doesn't have Manage, the level can be explicitly specified, in which case the SDK won't attempt operations it doesn't have rights to perform.

So the suggested UI for trigger AccessRights would have Listen and manage options in the drop down, Where as for output binding we would have Send and Manage rights as options.


Autocomplete in settings goes away when removing a section of text

This bug has been around a long time and its quite frustrating when adding a new setting. I tried to see if there were similar issues but couldn't find one.

VSCode Version: 1.53.0
OS Version: Windows 10

Steps to Reproduce:

Add a new setting in settings.json (local or user)
whilst writing the setting delete the last word (ctrl + backspace or cmd + backspace)
the autosuggestion is lost and you need to start again to get it back

Example:
In this example if I remove the "send" in "anki.send" then I lose autocompletion until I start again.

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

I'm very sure that this issue is independent of the settings or even JSON:
Whenever you press ctrl + delete, autocompletion closes!
I'm sure you are aware of it, but you can press ctrl + space to open the autocompletion window after it got closed!

This is what happens

when deleting a word with option+backspace IntelliSense stops
then, when typing again, IntelliSense only auto-retriggers when typing at the end of a word
@aeschli decided that JSON words include quotes so in that particular case are not typing at a word end.

The issuer complains that after after option+backspace, code completion is lost. That's not JSON specific but can also be reproduced in TypeScript.

The issuer complains that after after option+backspace, code completion is lost.

as said, as design


adding the scroll attribute to call a function when window scroll is …

…at the bottom
I didn't find a way to implement an infinite scroller with the visibility attribute because it only call the fonction one time and then the element is set to visible.
I added this scroll attribute and it seems to work well. I don't know if the simple name "scroll" is explicit enough ^^'
This is my first "try/contribution" to an open source project so please tell me if there is something missing ^^

Hey @MayasMess this is awesome! I have a few thoughts:

it sounds like unicorn:visible wasn't re-firing after the first time it became visible? I'm surprised this was happening because the IntersectionObserver that is used under the hood should fire again when the element is seen again. I'll try to make an example to replicate that functionality.
I'm not opposed to visible:scroll, but I do wonder how different it is from unicorn:visible? Does it achieve the same goal? Is it confusing to have both?

In terms of other things to add to the PR before it gets merged, I tend to add an example to the sample site so I can check it end-to-end and a test or two as need. For this it would only be a JavaScript test which uses ava.

I just added an example for using unicorn:visbile for infinite scrolling in 5b28268. It looks like this for me:

But, still not opposed to something like unicorn:scroll, I just want to make sure I understand the use-case. 👍

I tested the example you added and yeah it's working ! but I still can't find why my todo list example doesn't work x) https://github.com/MayasMess/testing-django-unicorn
For the scroll attribut it's not needed anymore I think, because the visibility attribut can do the same things and more.
I'll continue to investigate why in my case it didn't work and add a coms if I find something ^^
Thanks @adamghill

I've been using your test example to see what is going on and I can replicate the issue. I'm still trying to figure out how to fix the issue, though. I'll let you know when I come up with something!

Woohoo! Looks like I might have a fix working with your test repo. I'm going to test some more, but hopefully can get a patch release out tomorrow to get this working for you.

There is a fix in 7fa885b8423f4772766649b042c45bf77fc8b54b which will got released in 0.35.2. Gonna close this for now, but let me know if you run into any other issues.

@all-contributors add @MayasMess for code

I just added an example for using unicorn:visbile for infinite scrolling in 5b28268. It looks like this for me:
But, still not opposed to something like unicorn:scroll, I just want to make sure I understand the use-case. 👍

Hey, why not add to the site examples?
This is really cool!
https://www.django-unicorn.com/examples/todo


removed legacyCode rules and the files being overridden and fixed lin…

Fixes #8731

Removed all the legacyCode rules and the files that are being overridden by those rules.
Fixed the linting errors that occurred due to for of by using forEach.
Fixed errors due to eslint rules of default-param-last, and consistent-return by disabling the rules on the lines that were affected.

Assigning to me to see if I can help finish this off & merge.


Empty structs are undefined behavior

Flutter 1.27.0-5.0.pre.92 • channel master • https://github.com/flutter/flutter.git
Framework • revision 2c5c509486 (19 hours ago) • 2021-02-20 15:11:04 -0500
Engine • revision b793775d2a
Tools • Dart 2.13.0 (build 2.13.0-52.0.dev)
Error:
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/win32-1.7.4+1/lib/src/structs.dart(1111,7): error G09587AA0: Struct 'ENUMLOGFONTEX' is empty. Empty structs are undefined behavior. [D:\Project\SKS_Software\skssoftware\build\windows\flutter\flutter_assemble.vcxproj]
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/win32-1.7.4+1/lib/src/structs.dart(2835,7): error G09587AA0: Struct 'BLUETOOTH_PIN_INFO' is empty. Empty structs are undefined behavior. [D:\Project\SKS_Software\skssoftware\build\windows\flutter\flutter_assemble.vcxproj]
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/win32-1.7.4+1/lib/src/structs.dart(2960,7): error G09587AA0: Struct 'EXCEPINFO' is empty. Empty structs are undefined behavior. [D:\Project\SKS_Software\skssoftware\build\windows\flutter\flutter_assemble.vcxproj]
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/win32-1.7.4+1/lib/src/structs.dart(2966,7): error G09587AA0: Struct 'PROPERTYKEY' is empty. Empty structs are undefined behavior. [D:\Project\SKS_Software\skssoftware\build\windows\flutter\flutter_assemble.vcxproj]
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/win32-1.7.4+1/lib/src/structs.dart(2973,7): error G09587AA0: Struct 'PROPVARIANT' is empty. Empty structs are undefined behavior. [D:\Project\SKS_Software\skssoftware\build\windows\flutter\flutter_assemble.vcxproj]
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/win32-1.7.4+1/lib/src/structs.dart(2978,7): error G09587AA0: Struct 'SAFEARRAY' is empty. Empty structs are undefined behavior. [D:\Project\SKS_Software\skssoftware\build\windows\flutter\flutter_assemble.vcxproj]
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/win32-1.7.4+1/lib/src/structs.dart(2985,7): error G09587AA0: Struct 'CLSID' is empty. Empty structs are undefined behavior. [D:\Project\SKS_Software\skssoftware\build\windows\flutter\flutter_assemble.vcxproj]
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/win32-1.7.4+1/lib/src/structs.dart(2992,7): error G09587AA0: Struct 'STATSTG' is empty. Empty structs are undefined behavior. [D:\Project\SKS_Software\skssoftware\build\windows\flutter\flutter_assemble.vcxproj]
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/win32-1.7.4+1/lib/src/structs.dart(2999,7): error G09587AA0: Struct 'NLM_SIMULATED_PROFILE_INFO' is empty. Empty structs are undefined behavior. [D:\Project\SKS_Software\skssoftware\build\windows\flutter\flutter_assemble.vcxproj]
/C:/Users/Jack%20Selvam/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/ffi-0.1.3/lib/src/allocation.dart(47,33): error G733AAF94: Expected type 'T' to be a valid
and instantiated subtype of 'NativeType'. [D:\Project\SKS_Software\skssoftware\build\windows\flutter\flutter_assemble.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(240,5): error MSB8066: Custom build for 'D:\Project\SKS_Software\skssoftware\build\windows\CMakeFiles\95511d9335ae4f8a8157b88f8092fde2\flutter_windows.dll.rule;D:\Project\SKS_Software\skssoftware\build\windows\CMakeFiles\8da1cc372f83ce643b7c8f38b68565c3\flutter_assemble.rule' exited with code 1. [D:\Project\SKS_Software\skssoftware\build\windows\flutter\flutter_assemble.vcxproj]

@jackselvam, Flutter master, has deprecated some dart:ffi features  (https://github.com/flutter/flutter/issues/76485), try https://pub.dev/packages/win32/versions/2.0.0


TypeError: event.senderID is not a function

hello. i am trying to make a bot that listens to one and only groupchat, and if one particular person says something, it activates the section at the bottom, and if it doesnt, it just returns. for some rason im getting the error in console. it is a part of a discord bot im working on, thats why its in "discordbot" folder
i tried getting rid of the "event" altogether and just do message.senderID, but that did basically the same thing

/home/valentino/Desktop/discordbot/events/messenger.js:12
if(!event.senderID("100055076242106") || !event.threadID("4724817374202750")){//there is the problem
^
TypeError: event.senderID is not a function
at /home/valentino/Desktop/discordbot/events/messenger.js:12:19
at /home/valentino/Desktop/discordbot/node_modules/facebook-chat-api/src/listenMqtt.js:159:26
at MqttClient. (/home/valentino/Desktop/discordbot/node_modules/facebook-chat-api/src/listenMqtt.js:159:60)
at MqttClient.emit (node:events:378:20)
at MqttClient._handlePublish (/home/valentino/Desktop/discordbot/node_modules/mqtt/lib/client.js:1162:12)
at MqttClient._handlePacket (/home/valentino/Desktop/discordbot/node_modules/mqtt/lib/client.js:351:12)
at work (/home/valentino/Desktop/discordbot/node_modules/mqtt/lib/client.js:283:12)
at Writable.writable._write (/home/valentino/Desktop/discordbot/node_modules/mqtt/lib/client.js:294:5)
at doWrite (/home/valentino/Desktop/discordbot/node_modules/mqtt/node_modules/readable-stream/lib/_stream_writable.js:428:64)
at writeOrBuffer (/home/valentino/Desktop/discordbot/node_modules/mqtt/node_modules/readable-stream/lib/_stream_writable.js:417:5)
at Writable.write (/home/valentino/Desktop/discordbot/node_modules/mqtt/node_modules/readable-stream/lib/_stream_writable.js:334:11)
at Duplexify.ondata (/home/valentino/Desktop/discordbot/node_modules/duplexify/node_modules/readable-stream/lib/_stream_readable.js:619:20)
at Duplexify.emit (node:events:378:20)
at addChunk (/home/valentino/Desktop/discordbot/node_modules/duplexify/node_modules/readable-stream/lib/_stream_readable.js:291:12)
at readableAddChunk (/home/valentino/Desktop/discordbot/node_modules/duplexify/node_modules/readable-stream/lib/_stream_readable.js:278:11)
at Duplexify.Readable.push (/home/valentino/Desktop/discordbot/node_modules/duplexify/node_modules/readable-stream/lib/_stream_readable.js:245:10)

const fs = require('fs');
const Discord = require('discord.js')
const login = require("facebook-chat-api");

login({appState: JSON.parse(fs.readFileSync('appstate.json', 'utf8'))}, (err, api) => {
    if(err) return console.error(err);
    api.listenMqtt( (err, event) => {
        if(err){
            return console.log(err);
        }
        //api.setOptions({selfListen: true})//to test it on myself
        if(!event.senderID("100055076242106") || !event.threadID("4724817374202750")){//there is the problem
            console.log('test')
            return;
        }
        api.markAsRead(message.threadID);
        //var yourID = "4724817374202750";
        //var msg = {body: "test"};
        //api.sendMessage(msg, yourID); //commented it out, so i dont spam the groupchats
        console.log('jodej')//this is instead of spamming
    });
});

if(event.senderID !== "100055076242106" || event.threadID !== "4724817374202750")


POST with queryString

When I post with query strings, it silently drops the request body.
request.post('http://domain.name/?debug=1', { form: { test: "value" } }, function(err, response, body) {
  // server warned about empty payload
});

request({
    url: 'http://domain.name/?debug=1',
    method: 'post',
    body: { test: "value" },
    json: true
  },
  function(err, response, body) {
    // server also warns about empty payload
  }
);

Meanwhile the native HTTP module works.
  var req = require('http').request(
    { hostname: 'domain.name'
    , path: '/?debug=1'
    , method: 'POST'
    , headers: { 'Content-Type': 'application/json' }
    },
    (res) => {
      var body = '';
      res.setEncoding('utf-8');
      res.on('data', (data) => { body+= data; });
      res.on('end', () => {
        // I get correct response here.
      });
      res.on('error', (e) => { console.error(e); });
    }
  );

Confirmed - I encountered the same problem today, and found the same solution to circumvent this issue: request({url: url, body: {key:'value'}, json: true, method: 'post'}, function (error, response, body) {});

Oh, and https://github.com/request/request/issues/2111 might have another solution by the project's owner so even more authoritative :-)
Drop the body attribute, and use json for that. The documentation might need to be updated if that is working: json isn't a boolean but the actual JSON object.

By reading the current README.md it still specifically tells users to treat json as Boolean and to be used along with body.
Do we need an update to the docs?

Not sure. By looking at my own comment above, I doubt it (but I'm not sure what I was thinking or drinking a year ago).

pinging @mikeal for https://github.com/request/request/issues/2111#issuecomment-279808140, doesn't look like how it's documented.

The mindset behind stale bot is so annoying. I am ready for a lot of downvotes and an off topic marker here. I have to say it.

Expelliarmus!

Veniam id nihil numquam odit incidunt suscipit modi est. Nihil commodi quasi non nemo beatae. Recusandae labore consequuntur aliquid officiis exercitationem. Aut culpa minus error id. Fugiat animi non. Sit quis at molestias sed aperiam et suscipit id enim.


[5.6] Notifications - generate or supply a render() similar to mail for previewing

Right now I have a route that does this:
use \Illuminate\Mail\Markdown;

use App\Models\User;
use App\Models\License;
use App\Notifications\ContentLicense;

Route::get('/mailable/content-license', function() {
  $license = License::with(['content', 'user'])->inRandomOrder()->get()->first();
  $message = (new ContentLicense($license))->toMail(User::first());
  return app(Markdown::class)->render($message->markdown, $message->data());
});

another option I explored is putting render() inside the Notification class
// Notifications/ContentLicense.php

  public function render($notifiable)
  {
    // $markdown = new \Illuminate\Mail\Markdown(view(), config('mail.markdown'));
    $message = $this->toMail($notifiable);
    return app(Markdown::class)->render($message->markdown, $this->toArray($notifiable));
  }

...
// route

Route::get('/mailable/content-license', function() {
  $license = License::with(['content', 'user'])->inRandomOrder()->get()->first();
  return (new ContentLicense($license))->render(User::first());
});

I think it'd be a cool feature similar to using Mail, I could PR a solution but I know that it would be good to support \Illuminate\Contracts\Support\Renderable which takes no parameters, where w/ this we need to pass in a type of $notifiable.
If anyone has any other ideas how this could be done LMK!

@sisve it's quite simple, mailable's have a render() allowing them to be rendered on the web.  Documentation can be found here . This is not possible for MailMessage mails from Notifications.  I'm proposing we add it.
This way people aren't having to write what I did above, or google it and find stuff like this

I'd like to see this reopened. It would be nice to see \Illuminate\Auth\Notifications\ResetPassword using a simple $mailMessage->render() method, just as it works for Mailable objects.


Update the plugin versions PR

According to Flutter 2.5 release, there is an issue of embedding v2 and the related package needs to be updated. :)

@JunGeunHong1129  thanks for the contribution, but I have already updated to the latest versions of the dependencies and also added flutter_lints, in version 0.6.0 of video_trimmer.


change the filename and album inside a folder

hi, i want to change the filename and album inside a folder, like this: [{DVD-ID}]{ACTRESS }[{YEAR}]_{genres}
Please guide me.

I often use https://github.com/gitqwerty777/JAV-Info I think it would be great if JavLuv has this feature. and downloaded local caches are stored in a specified folder so that they can be saved and used as a portable app


chore: update deps and fix build

What:
Fix Travis errors, also upgrade some dependencies and remove unused dependency

Why:
Self explanatory 😉

How:
Downgrade and lock react-native to 0.55.4 because they upgraded to babel7 which was the reason for the errors. When we also upgrade babel we can unpin the version, hopefully.

Checklist:

[ ] Documentation N/A
[ ] Tests N/A
[x] Ready to be merged

[ ] Added myself to contributors table N/A

Well this is odd, travis is still failing but works fine locally. Wonder if there is some cache issue or similar

Maybe we should just upgrade to the latest kcd-scripts (and babel) as well 🤔

Yeah, but the publish of the updated kcd-scripts failed😅 Can you maybe manually restart the travis build?

kcd-scripts has been updated 👍

There is still a problem with react-native that I can't seem to figure out... don't know if this error is on our end or not either 🤔

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[ENH] C++ return should move (at least in some cases)

Is your feature request related to a problem? Please describe.
#distutils: language=c++

from libcpp.vector cimport vector

cdef vector[double] f():
    cdef vector[double] v
    return v

This generates
  __pyx_r = __pyx_v_v;
  goto __pyx_L0;

  /* function exit code */
  __pyx_L0:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;

Ideally __pyx_r = __pyx_v_v; should have a move_if_possible
Describe the solution you'd like.
No response
Describe alternatives you've considered.
No response
Additional context
This isn't universal I think - it should only apply to non-reference function local variables or temps. So it'd need to be implemented somewhat carefully (e.g. returning a member of a cdef class shouldn't move)

return local_variable; does not need a call to std::move, it's already implicitly considered to be an xvalue.
Explicitly moving would result in a compiler warning:
<source>:5:19: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]

@dgrunwald
You're right, but that wasn't quite what I was referring to. Cython uses the special variable __pyx_r as the return value, and so when you do return x it copies x into __pyx_r. It's that copy where I want to move (or better, avoid if possible).

There is an existing case where cython 3.0.10 puts std::move around a cast causing the elision warning. May be something to do with assigning to a member:
# distutils: language=c++
# cython: cdivision=True
cdef extern from *:
    """
    class C {
    public:
        C() {}
    };

    class D {
    public:
        D() {}
        D(const C &other) {}
        D &operator =(const C &other) { return *this; }
    };
    """

    cdef cppclass C:
        C()

    cdef cppclass D:
        D()
        D &operator =(const C &other)

cdef C Cfunc():
    return C()

cdef cppclass MyClass:
    D d

cdef MyClass h

cdef D d

d = C()       # OK
d = Cfunc()   # OK
h.d = C()     # OK
h.d = Cfunc() # warning: moving a temporary object prevents copy elision

The 4 tests generates the following C++ lines:
__pyx_v_4test_d = C();
__pyx_v_4test_h.d = ((D)C());
__pyx_v_4test_d = __PYX_STD_MOVE_IF_SUPPORTED(__pyx_t_2);
__pyx_v_4test_h.d = __PYX_STD_MOVE_IF_SUPPORTED(((D)__pyx_t_2));

@CypherGrue that looks like a bug but it's also pretty unrelated to this issue. Can you create a new issue thanks

@da-woods I've created issue #6225


Remove top-level src directory

Moved the contents of the top-level src directory under the existing operator directory and updated the various references.

There is one reference in integration-tests/README.md that might also need to be updated:
| SKIP_CLEANUP | Test infrastructure removes all Kubernetes objects created during test execution. To retain all such objects for triaging test failures, this environment variable should be set to true. Users need to runweblogic-kubernetes-operator/src/integration-tests/bash/cleanup.sh to clean up Kubernetes objects after traiging.    | false

There is one reference in integration-tests/README.md that might also need to be updated:
| SKIP_CLEANUP | Test infrastructure removes all Kubernetes objects created during test execution. To retain all such objects for triaging test failures, this environment variable should be set to true. Users need to runweblogic-kubernetes-operator/src/integration-tests/bash/cleanup.sh to clean up Kubernetes objects after traiging.    | false

Thanks, @alai8. I've updated that file.

Thanks, @alai8. I've updated that file.


[MSVC][std:c++latest] JSON failed with error C2678: binary '==': no operator found which takes a left-hand operand of type 'nlohmann::json_abi_v3_11_2::json'

Description
After the MSVC team implemented P2468R2 The Equality Operator You Are Looking For, we got compiler errors with /std:c++latest like below. The way this fails is that the != operator here: https://github.com/nlohmann/json/blob/develop/include/nlohmann/json.hpp#L3704 actually suppresses the rewritten operator candidates and stops the code from compiling because the rewritten candidates are discarded. Could you please look this issue? Thanks.
Note: this issue will be reproduced on next release version of VS(17.6 or later).
Reproduction steps

open VS2019 x64 tools command (Or VS2022)
git clone https://github.com/nlohmann/json F:\gitP\nlohmann\json
mkdir F:\gitP\nlohmann\json\build_amd64
cd F:\gitP\nlohmann\json\build_amd64
cmake -G "Visual Studio 16 2019" -A x64 -DCMAKE_SYSTEM_VERSION=10.0.18362.0 -DJSON_BuildTests=On ..
set CL= /std:c++latest
msbuild /m /p:Platform=x64 /p:Configuration=Release nlohmann_json.sln /t:Rebuild

Expected vs. actual results
Expected Result:
The build was successful.
Actual Result:
build.log: JSON_amd64_build.log
unit-constructor1.cpp
F:\gitP\nlohmann\json\tests\src\unit-constructor1.cpp(282,13): error C2088: '==': illegal for class

unit-iterators2.cpp
F:\gitP\nlohmann\json\tests\src\unit-iterators2.cpp(946,17): error C2678: binary '==': no operator found which takes a left-hand operand of type 'nlohmann::json_abi_v3_11_2::json' (or there is no acceptable conversion)
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\include\thread(242,36): note: could be 'bool std::operator ==(std::thread::id,std::thread::id) noexcept' [found using argument-dependent lookup]
F:\gitP\nlohmann\json\include\nlohmann/json.hpp(3680,10): note: or 'bool nlohmann::json_abi_v3_11_2::basic_json<std::map,std::vector,std::string,bool,int64_t,uint64_t,double,std::allocator,nlohmann::json_abi_v3_11_2::adl_serializer,std::vector<uint8_t,std::allocator<uint8_t>>,void>::operator ==(const nlohmann::json_abi_v3_11_2::basic_json<std::map,std::vector,std::string,bool,int64_t,uint64_t,double,std::allocator,nlohmann::json_abi_v3_11_2::adl_serializer,std::vector<uint8_t,std::allocator<uint8_t>>,void> &) noexcept const' [synthesized expression 'y == x']
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\include\thread(242,36): note: or 'bool std::operator ==(std::thread::id,std::thread::id) noexcept' [synthesized expression 'y == x']
F:\gitP\nlohmann\json\tests\thirdparty\doctest\doctest.h(1238,9): note: or       'unknown-type doctest::detail::Expression_lhs<std::ranges::reverse_view<std::ranges::ref_view<nlohmann::json_abi_v3_11_2::basic_json<std::map,std::vector,std::string,bool,int64_t,uint64_t,double,std::allocator,nlohmann::json_abi_v3_11_2::adl_serializer,std::vector<uint8_t,std::allocator<uint8_t>>,void>>> &>::operator ==(R &&)'
F:\gitP\nlohmann\json\tests\src\unit-iterators2.cpp(946,17): note: Failed to specialize function template 'unknown-type doctest::detail::Expression_lhs<std::ranges::reverse_view<std::ranges::ref_view<nlohmann::json_abi_v3_11_2::basic_json<std::map,std::vector,std::string,bool,int64_t,uint64_t,double,std::allocator,nlohmann::json_abi_v3_11_2::adl_serializer,std::vector<uint8_t,std::allocator<uint8_t>>,void>>> &>::operator ==(R &&)'
F:\gitP\nlohmann\json\tests\src\unit-iterators2.cpp(946,17): note: With the following template arguments:
F:\gitP\nlohmann\json\tests\src\unit-iterators2.cpp(946,17): note: 'R=nlohmann::json_abi_v3_11_2::json &'
F:\gitP\nlohmann\json\include\nlohmann/json.hpp(3697,10): note: or 'bool nlohmann::json_abi_v3_11_2::basic_json<std::map,std::vector,std::string,bool,int64_t,uint64_t,double,std::allocator,nlohmann::json_abi_v3_11_2::adl_serializer,std::vector<uint8_t,std::allocator<uint8_t>>,void>::operator ==(ScalarType) noexcept const' [synthesized expression 'y == x']
F:\gitP\nlohmann\json\tests\src\unit-iterators2.cpp(946,17): note: the associated constraints are not satisfied
F:\gitP\nlohmann\json\include\nlohmann/json.hpp(3696,14): note: the constraint was not satisfied
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30133\include\utility(367,27): note: or       'bool std::operator ==(const std::pair<_Ty1,_Ty2> &,const std::pair<_Ty1,_Ty2> &)'
F:\gitP\nlohmann\json\tests\src\unit-iterators2.cpp(946,17): note: 'bool std::operator ==(const std::pair<_Ty1,_Ty2> &,const std::pair<_Ty1,_Ty2> &)': could not deduce template argument for 'const std::pair<_Ty1,_Ty2> &' from
F:\gitP\nlohmann\json\tests\src\unit-iterators2.cpp(946,17): error C2660: 'doctest::detail::decomp_assert': function does not take 4 arguments
F:\gitP\nlohmann\json\tests\thirdparty\doctest\doctest.h(1425,28): note: see declaration of 'doctest::detail::decomp_assert'
F:\gitP\nlohmann\json\tests\src\unit-iterators2.cpp(946,17): note: while trying to match the argument list '(doctest::assertType::Enum, const char [52], int, const char [23])'

Minimal code example
No response
Error messages
No response
Compiler and operating system
Internal unreleased MSVC
Library version
develop branch of 8f8315368b74f3ea4f30154dff1242d2f145c705
Validation

[X] The bug also occurs if the latest version from the develop branch is used.
[ ] I can successfully compile and run the unit tests.

Can confirm I am hitting this in Visual Studio 2022 preview, so looks like this will be an issue in the next update.

Issue #3979 is a duplicate of this. So it's not MSVC specific.

I still struggle to find a solution here. Help greatly appreciated!

I had the same issue using the SDK 10.0.22000.0
The workaround was to disable JSON_HAS_THREE_WAY_COMPARISON


Better explanation for MessageSpies

Current example simply switches receive and have_received but they are not same function.

Thanks for reviews.
I'll fix them later.

Thank you!


Don't send name/address/phone to NYPD

They aren't required, see discussion here:
https://reportedcab.slack.com/messages/C85007FUY/p1551743579070800?thread_ts=1551476164.046000&cid=C85007FUY

closing due to https://github.com/josephfrazier/Reported-Web/pull/179


Support for onhover Module-level options

Is your feature request related to a problem? Please describe.
I could barely script this using hyprctl cursorpos but it's just too ugly and spamming sockets generally isn't a good idea.
Describe the solution you'd like
More specifically, onhover and onhoverlost. Using script [oneshot] is fine, but I would like to propose an alternate solution.
Add support for variables, like eww's defvar

this would reduce the required scripting to make it work. Without this, I would have to use external scripts to save the state into a lock, which works, but get tedious real quickly.
Although this feature is probably out of scope to this issue anyway

Adding mouse enter/exit events should be very straightforward, so happy to do that.
Eww style variables is something that could be considered further down the line, but they'd need to be discussed and scoped out in more detail (including how they'd integrate with the existing systems). Feel free to open a dedicated issue/discussion for those.


tobs installer seems to work correctly, but spits out error message Error: could not install The Observability Stack: resource name may not be empty

Hi,
I'm testing tobs on a test cluster (kind + podman).
$ tobs install --tracing -n tobs

WARNING: Using a generated self-signed certificate for TLS access to TimescaleDB.
         This should only be used for development and demonstration purposes.
         To use a signed certificate, use the "--tls-timescaledb-cert" and "--tls-timescaledb-key"
         flags when issuing the tobs install command.

Creating TimescaleDB tobs-certificate secret
Creating TimescaleDB tobs-credentials secret
skipping to create TimescaleDB s3 backup secret as backup option is disabled.
Couldn't find the cert-manager. The cert-manager is required to deploy OpenTelemetry. Do you want to install the cert-manager?
confirm the action by typing y or yes and press enter: y
Waiting on pod cert-manager-cainjector-8c7796555-wc6c7...
Pod cert-manager-cainjector-8c7796555-wc6c7 has started
Waiting on pod cert-manager-cdc85d4c4-wwn9x...
Pod cert-manager-cdc85d4c4-wwn9x has started
Waiting on pod cert-manager-webhook-55f45df998-xczm5...
Pod cert-manager-webhook-55f45df998-xczm5 has started
Successfully created cert-manager
Installing The Observability Stack
2022/03/31 16:34:08 release installed successfully: tobs/tobs-0.9.0
Waiting for helm install to complete...
Waiting for pods to initialize...
Waiting on pod tobs-kube-prometheus-operator-5f78bdd5c9-x5kwt...
Pod tobs-kube-prometheus-operator-5f78bdd5c9-x5kwt has started
Waiting on pod tobs-kube-state-metrics-765c569cbc-fkdqd...
Pod tobs-kube-state-metrics-765c569cbc-fkdqd has started
Waiting on pod tobs-prometheus-node-exporter-xcs6k...
Pod tobs-prometheus-node-exporter-xcs6k has started
Waiting on pod tobs-promscale-65bcd64969-fh7ns...
Pod tobs-promscale-65bcd64969-fh7ns has started
Waiting on pod tobs-timescaledb-0...
Pod tobs-timescaledb-0 has started
Waiting on pod tobs-grafana-79785ddbdb-lljj8...
Pod tobs-grafana-79785ddbdb-lljj8 has started
Waiting on pod tobs-kube-prometheus-operator-5f78bdd5c9-x5kwt...
Pod tobs-kube-prometheus-operator-5f78bdd5c9-x5kwt has started
Waiting on pod tobs-kube-state-metrics-765c569cbc-fkdqd...
Pod tobs-kube-state-metrics-765c569cbc-fkdqd has started
Waiting on pod tobs-promscale-65bcd64969-fh7ns...
Pod tobs-promscale-65bcd64969-fh7ns has started
Waiting on pod tobs-grafana-db-4szgs...
Pod tobs-grafana-db-4szgs has started
Waiting on pod ...
Error: could not install The Observability Stack: resource name may not be empty

Despite the error message, deployments look fine:
$ kubectl get all -n tobs
NAME                                                             READY   STATUS      RESTARTS      AGE
pod/alertmanager-tobs-kube-prometheus-alertmanager-0             2/2     Running     0             46m
pod/opentelemetry-operator-controller-manager-68b8cf9bb9-hbq8v   2/2     Running     0             46m
pod/prometheus-tobs-kube-prometheus-prometheus-0                 2/2     Running     0             46m
pod/tobs-grafana-79785ddbdb-lljj8                                3/3     Running     3 (44m ago)   46m
pod/tobs-grafana-db-4szgs                                        0/1     Completed   2             46m
pod/tobs-jaeger-59f9b94f7f-4vxpb                                 1/1     Running     0             46m
pod/tobs-kube-prometheus-operator-5f78bdd5c9-x5kwt               1/1     Running     0             46m
pod/tobs-kube-state-metrics-765c569cbc-fkdqd                     1/1     Running     0             46m
pod/tobs-prometheus-node-exporter-xcs6k                          1/1     Running     0             46m
pod/tobs-promlens-7685c9744d-h7gwq                               1/1     Running     0             46m
pod/tobs-promscale-65bcd64969-fh7ns                              1/1     Running     5 (45m ago)   46m
pod/tobs-timescaledb-0                                           1/1     Running     0             46m

NAME                                                                TYPE        CLUSTER-IP      EXTERNAL-IP   PORT(S)                      AGE
service/alertmanager-operated                                       ClusterIP   None            <none>        9093/TCP,9094/TCP,9094/UDP   46m
service/opentelemetry-operator-controller-manager-metrics-service   ClusterIP   <IP_ADDRESS>    <none>        8443/TCP                     46m
service/opentelemetry-operator-webhook-service                      ClusterIP   <IP_ADDRESS>    <none>        443/TCP                      46m
service/prometheus-operated                                         ClusterIP   None            <none>        9090/TCP                     46m
service/tobs                                                        ClusterIP   <IP_ADDRESS>    <none>        5432/TCP                     46m
service/tobs-config                                                 ClusterIP   None            <none>        8008/TCP                     46m
service/tobs-grafana                                                ClusterIP   <IP_ADDRESS>     <none>        80/TCP                       46m
service/tobs-jaeger                                                 ClusterIP   <IP_ADDRESS>    <none>        16686/TCP                    46m
service/tobs-kube-prometheus-alertmanager                           ClusterIP   <IP_ADDRESS>   <none>        9093/TCP                     46m
service/tobs-kube-prometheus-operator                               ClusterIP   <IP_ADDRESS>     <none>        443/TCP                      46m
service/tobs-kube-prometheus-prometheus                             ClusterIP   <IP_ADDRESS>    <none>        9090/TCP                     46m
service/tobs-kube-state-metrics                                     ClusterIP   <IP_ADDRESS>    <none>        8080/TCP                     46m
service/tobs-prometheus-node-exporter                               ClusterIP   <IP_ADDRESS>    <none>        9100/TCP                     46m
service/tobs-promlens                                               ClusterIP   <IP_ADDRESS>   <none>        80/TCP                       46m
service/tobs-promscale-connector                                    ClusterIP   <IP_ADDRESS>   <none>        9201/TCP,9202/TCP            46m
service/tobs-replica                                                ClusterIP   <IP_ADDRESS>    <none>        5432/TCP                     46m

NAME                                           DESIRED   CURRENT   READY   UP-TO-DATE   AVAILABLE   NODE SELECTOR   AGE
daemonset.apps/tobs-prometheus-node-exporter   1         1         1       1            1           <none>          46m

NAME                                                        READY   UP-TO-DATE   AVAILABLE   AGE
deployment.apps/opentelemetry-operator-controller-manager   1/1     1            1           46m
deployment.apps/tobs-grafana                                1/1     1            1           46m
deployment.apps/tobs-jaeger                                 1/1     1            1           46m
deployment.apps/tobs-kube-prometheus-operator               1/1     1            1           46m
deployment.apps/tobs-kube-state-metrics                     1/1     1            1           46m
deployment.apps/tobs-promlens                               1/1     1            1           46m
deployment.apps/tobs-promscale                              1/1     1            1           46m

NAME                                                                   DESIRED   CURRENT   READY   AGE
replicaset.apps/opentelemetry-operator-controller-manager-68b8cf9bb9   1         1         1       46m
replicaset.apps/tobs-grafana-79785ddbdb                                1         1         1       46m
replicaset.apps/tobs-jaeger-59f9b94f7f                                 1         1         1       46m
replicaset.apps/tobs-kube-prometheus-operator-5f78bdd5c9               1         1         1       46m
replicaset.apps/tobs-kube-state-metrics-765c569cbc                     1         1         1       46m
replicaset.apps/tobs-promlens-7685c9744d                               1         1         1       46m
replicaset.apps/tobs-promscale-65bcd64969                              1         1         1       46m

NAME                                                              READY   AGE
statefulset.apps/alertmanager-tobs-kube-prometheus-alertmanager   1/1     46m
statefulset.apps/prometheus-tobs-kube-prometheus-prometheus       1/1     46m
statefulset.apps/tobs-timescaledb                                 1/1     46m

NAME                        COMPLETIONS   DURATION   AGE
job.batch/tobs-grafana-db   1/1           2m52s      46m

I think this func get a null podName
func (c *clientImpl) KubeWaitOnPod(namespace string, podName string) error {
	fmt.Printf("Waiting on pod %v...\n", podName)
	for i := 0; i < 6000; i++ {
		pod, err := c.CoreV1().Pods(namespace).Get(context.Background(), podName, metav1.GetOptions{})
		if err != nil {
			return err
		}

		podStatus := pod.Status.Phase
		if podStatus != corev1.PodPending && podStatus != corev1.PodFailed && podStatus != corev1.PodUnknown {
			fmt.Printf("Pod %v has started\n", podName)
			break
		} else if i == 5999 {
			fmt.Println("WARNING: pod did not come up in 10 minutes")
		}
		time.Sleep(100 * time.Millisecond)
	}

	return nil
}

@alexpdp7 are you by any chance using Mac with M1 processor?

I get this behaviour on Mac M1 -> KIND on Docker and also Amazon Linux -> EKS

At least one thing is broken- I think- due to this. All the docs seem to imply an OpenTelemetry collector will be automatically installed (although I couldn't find it in the source code easily), and I don't get that- I get the operator, but not custom resource or anything.

@alexpdp7 you are correct, CR should be installed, but it isn't when using helm. Both of those issues are fixed in https://github.com/timescale/tobs/pull/305 and https://github.com/timescale/tobs/pull/314. Sorry for the long wait in resolving this problems.

the same error appears but pods are in crash loopback status.
rajakavithakodhandapani@Rajakavithas-MacBook-Pro-2 ~ % kubectl get pods
NAME                                                         READY   STATUS             RESTARTS       AGE
alertmanager-tobs-kube-prometheus-alertmanager-0             2/2     Running            0              9m50s
opentelemetry-operator-controller-manager-68b8cf9bb9-5pmpp   2/2     Running            0              9m55s
prometheus-tobs-kube-prometheus-prometheus-0                 0/2     Pending            0              9m52s
tobs-grafana-7c74fd4cd7-z6k27                                2/3     CrashLoopBackOff   6 (4m6s ago)   9m55s
tobs-jaeger-6c9848774-g4qdg                                  1/1     Running            0              9m55s
tobs-kube-prometheus-operator-5f78bdd5c9-fqzdn               1/1     Running            0              9m55s
tobs-kube-state-metrics-765c569cbc-w57kd                     1/1     Running            0              9m51s
tobs-prometheus-node-exporter-4x6mq                          1/1     Running            0              9m55s
tobs-prometheus-node-exporter-5gn2g                          1/1     Running            0              9m55s
tobs-prometheus-node-exporter-q8cbm                          1/1     Running            0              9m55s
tobs-promlens-7685c9744d-4m6sd                               1/1     Running            0              9m55s
tobs-promscale-64fd4d9ccb-svwwr                              1/1     Running            0              9m48s

@Rajakavitha1 what is the tobs version that you used and what was you method of installation?
Bear in mind that the fix to the issue listed here should be generally available when tobs 0.10.0 lands (we are in the middle of a release process).

We released 0.10.0 and I cannot replicate this bug in that release. As such I am closing this PR. If you see it happening, please reopen or comment.

(Sorry, I tried to reproduce with the new release, but I have different issues- and they maybe lie with my cluster. Will continue investigating and raise an issue if necessary.)


Fix read-in of empty Map Value and empty string from Firestore

This PR fixes https://github.com/AsifArmanRahman/firebase-rest-api/issues/11 according to the proposed changes in the issue report.

Hi, did you manage to take a look at the PR?
I think it would be great to fix this, especially if the package should be further distributed :)
Thanks for taking a look, cheers

@AsifArmanRahman Thanks for the quick response and the comments!
I made the recommended changes (8decc9d).


Сreate DailyTrigger() runs everyday from specified time n times each n minutes.

Hi, task explained in title of theme.
In another API it looks like this:
trigger = new DailyTrigger(startIntervalHours, startIntervalMinutes);
trigger.DurationMinutes = (endIntervalHours * 60 + endIntervalMinutes)

(startIntervalHours * 60 + startIntervalMinutes);

After looking in previous posts I didn't find out how to do such by your's API.
How to create daily trigger that starts everyday at specified time is very simple:
var trigger = new DailyTrigger();
trigger.DaysInterval = 1;
trigger.StartBoundary = new DateTime(DateTime.Today.Year, DateTime.Today.Month, DateTime.Today.Day, dailyHours, dailyMinutes, 0);
But previous task does me frustrate.
Thanks for help.
Originally posted: 2011-05-27T04:39:42

I think this is what you are looking for:
DailyTrigger dt = new DailyTrigger(); // DaysInterval = 1 is default
dt.StartBoundary = DateTime.Today + new TimeSpan(dailyHours, dailyMinutes, 0);
dt.Repetition.Duration = TimeSpan.FromMinutes(minutesBetweenRuns * numberOfRuns);
dt.Repetition.Interval = TimeSpan.FromMinutes(minutesBetweenRuns);
Originally posted: 2011-05-27T12:31:46


Automatically generate the configuration documentation in html.

Automatically generate the configuration documentation in html.

Is this active?

I ran out  of time to work on this.   Are you interested in  reviewing it?

Completed resolving the merge conflicts.


New version: MathOptInterface v0.9.6

Registering package: MathOptInterface
Repository: https://github.com/JuliaOpt/MathOptInterface.jl
Created by: @blegat
Version: v0.9.6
Commit: 6369fcc478fd0641ad295c2145c30fc38a6b6c0d
Reviewed by: @blegat
Reference: https://github.com/JuliaOpt/MathOptInterface.jl/commit/6369fcc478fd0641ad295c2145c30fc38a6b6c0d#commitcomment-35671000

Your new version pull request met all of the guidelines for automatic merging.
I will automatically merge this pull request during the next cron job.
If you want to prevent this pull request from being auto-merged, simply leave a comment.
(If you want to post a comment without blocking auto-merging, you must include the text [noblock] in your comment.)

On a separate note, I see that you are registering a release with a version number of the form v0.X.Y.
Does your package have a stable public API? If so, then it's time for you to register version v1.0.0 of your package. (This is not a requirement. It's just a recommendation.)
If your package does not yet have a stable public API, then of course you are not yet ready to release version v1.0.0.

[noblock]


strtotime: make sure to parse ISO 8601 time strings

fixes #222

I haven't had time to test this yet, but it's a much needed feature.
I vote +1

Thank! Two things - this needs a failing test case that passes with this change. Also needs to comply with coding standards before we can consider merging.

I added some test cases which fail in Firefox. They do not fail in Chrome and nodejs, as V8 is much more liberal with the Date.parse() input.
I tried to follow the coding standards ... where did I fail?

Great, thank you. About the CS, 2 out of 4 added if statements aren't followed by {} enclosed code blocks. Our CS make them mandatory.

Oh yes, I missed those. Sorry.
Just updated the pull request.

Great! Thanks you so much <3

Thank you @plepe!


Continue Pr/1250

Fixes #1213

@mktcode I see, I will try this.

I couldn't find any way that eth-dark-mode is still being used so I removed it. Maybe someone can double check this before approving.

I couldn't find any way that eth-dark-mode is still being used so I removed it. Maybe someone can double check this before approving.

I only found this:
https://github.com/snapshot-labs/snapshot/blob/3502f5bb8a62681f96f7c941fe3d4ef5556617c3/src/App.vue#L34
But there's no skin called "eth" anymore. It was removed here: https://github.com/snapshot-labs/snapshot-spaces/compare/f2e5daf075014fb03981061d2be52b37a661ee7c...19d86e9abaf9481ec40cc89d11b661c63c13385d

Btw... This is also a good moment to get rid of this duplicate html id:

Yes I was also thinking about that, any idea what we could change the name of this id into? https://github.com/snapshot-labs/snapshot/blob/acaf3ce871e1988c5915b5a02319f3ac617c4c48/src/App.vue#L52

I think it can be removed entirely.
The min-height in style.scss can be moved:
// style.scss
html,
body,
#app {
  background: var(--bg-color);
  color: var(--text-color);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
+  min-height: 100vh;
}

-#app {
-  min-height: 100vh;
-}

And this div just gets a min-h-screen class:
// App.vue
-<div :class="skin" id="app" class="overflow-hidden pb-6 font-serif text-base">
+<div :class="skin" class="overflow-hidden pb-6 font-serif text-base min-h-screen">

@mktcode just removing the duplicate id seems to have been enough. Or do you still see the need for those other additions?

@mktcode done, please approve if there isn't anything else.


publish<EMAIL_ADDRESS>

Requested by: @brustolin
Merge target: hotfix/6.4.1
Quick links:

View changes
View check runs

Assign the accepted label to this issue to approve the release.
Leave a comment containing #retract under this issue to retract the release (original issuer only).
Targets

[ ] npm
[ ] github
[ ] registry

Targets marked with a checkbox have already been executed.  Administrators can manually tick a checkbox to force craft to skip it.

#retract


Wrong Python inside of 'pipenv shell'

Inside of the pipenv shell subshell, I expected python to point to .venv/bin/python, but:
$ pipenv --version
pipenv, version 3.3.2

$ pipenv shell
Launching subshell in virtual environment. Type 'exit' or 'Ctrl+D' to return.

$ which python
/Users/Browning/.pyenv/shims/python

$ which -a python
/Users/Browning/.pyenv/shims/python
/Users/Browning/.local/share/virtualenvs/virtualboombox/bin/python
/Users/Browning/.pyenv/versions/3.6.0/bin/python
/Users/Browning/.pyenv/shims/python
/usr/local/bin/python
/usr/bin/python

you likely don't have your shell configured properly.

With prior versions, I saw the (myproject) $ marker appear when inside the subshell.

correct, this will no longer occur, as fancy shells can be configured to display virtualenv information automatically

@jacebrowning I'm able to replicate this. Whichever python .pyenv/shims/python points to is the one I get now. This seems to be a side effect of pew.

Alright, it looks like pyenv pushes the shim to the top of the path so the virtualenv python located at /Users/Browning/.local/share/virtualenvs/virtualboombox/bin/python isn't used. The python you want is available, but I think you'll need specify your python version for now.

so far, i'm really not a fan of pyenv.

Different strokes, @kennethreitz ;) It's just a conflict of python management paradigms. pew and pyenv are competing for control here and pyenv is the one taking over the shell because (I think) it's injecting itself last. That means pipenv shell ends up in a different state than pew expects. I'll look into possible options, @jacebrowning. It's not in scope to specifically support pyenv, but perhaps we can get along a little better.
Everything else works fine for me though. pipenv run uses the virtualenv python and everything else seems to run off of that.

I just added $ pipenv shell --compat, which runs the old way (in compatibility mode), for people that have tricky shell configurations.
Not released yet.

also added support for PIPENV_SHELL_COMPAT environment variable.

FWIW, directly activating virtual environments has always works with pyenv. Considering that virtualenv creates symlinks to whatever Python is requested, I'm not sure why a Python version manager should have any effect:
source .venv/bin/activate
(myproject) $ which python
/Users/Browning/Programs/myproject/.venv/bin/python

@jacebrowning yeah, this is a specific behaviour of pew. I've looked into a possible patch there, but don't have anything that works with their idea of how virtualenvs work. The PIPENV_SHELL_COMPAT env variable is the way to go with pyenv.

@kennethreitz You say earlier "you likely don't have your shell configured properly." I'm having the same problem, where the virtualenv gets added in the middle of my $PATH instead of the head. How should I have it configured differently?

@kennethreitz what do you recommend instead of pyenv for python version management that works more seemlessly with pipenv?

@AlJohri I use homebrew-installed python-2.7.13 and 3.6.2. That's all I need.

@kennethreitz in linux desktop and servers I found pyenv as a good way

This is an old question but I figured my answer might help some with the same problem.
I found a way to solve the problem.
What is happening is described here by @nateprewitt:

Different strokes, @kennethreitz ;) It's just a conflict of python management paradigms. pew and pyenv are competing for control here and pyenv is the one taking over the shell because (I think) it's injecting itself last. That means pipenv shell ends up in a different state than pew expects. I'll look into possible options, @jacebrowning. It's not in scope to specifically support pyenv, but perhaps we can get along a little better.

To solve this, the solution is simple. In your .zshrc/.bashrc, instead of initializing pyenv for every new shell, simply check if the PIPENV_ACTIVE env var is set. If it is, skip the pyenv initialisation:
if command -v pyenv 1>/dev/null 2>&1; then
    if [ -z "$PIPENV_ACTIVE" ]; then
        eval "$(pyenv init -)"
    else
        echo "Pipenv shell is activated -- skipping pyenv"
    fi
fi

With this setup, the fancy version pipenv shell --fancy works seamlessly :)

@uranusjr This is genius!!
I just tested, it works as expected and feels much cleaner than my version.
For reference the zsh equivalent of .bash_profile is .zlogin: http://zsh.sourceforge.net/Intro/intro_3.html
Thanks for teaching me about login vs interactive shells. I'm switching to your version 👍


auth0 users blocks list  and auth0 users blocks unblock  should allow name and email as indefier

Checklist

[X] I have looked into the README and have not found a suitable solution or answer.
[X] I have looked into the documentation and have not found a suitable solution or answer.
[X] I have searched the issues and have not found a suitable solution or answer.
[X] I have upgraded to the latest version of this project and the issue still persists.
[X] I have searched the Auth0 Community forums and have not found a suitable solution or answer.
[X] I agree to the terms within the Auth0 Code of Conduct.

Description
Unblock user should be possible also via username and user email. currently only user id is possible.
management API uses additional identifiers:
Get blocks by identifier
Retrieve a list of blocked IP addresses for a given identifier (e.g., username, phone number or email).
Endpoint
GET  /api/v2/user-blocks
Expectation
the cli is consitent with management api
Reproduction
give command auth0 users blocks list<EMAIL_ADDRESS>should return blocks for given user
but returning error:
failed to list user blocks for user with ID<EMAIL_ADDRESS>400 Bad Request: Path validation error: 'Object didn't pass validation for format user-id<EMAIL_ADDRESS>on property id (user_id of the user blocks to retrieve).
Auth0 CLI version
1.0.1

Appreciate the feedback, I agree that you should be able to block and unblock users using alternative identifiers. Marking this as a feature request for now.


check "set_n" subdir path on NAS

and add correct string array in the code for RAW evals.

marked out for now. refer to it later.


MCS-751 plotter performance

Increase plotter performance by replacing slow plot libraries such as matplotlib with direct image manipulation through scikit-image drawing.

Suggest using 'Files Changed' tab to review the final state as some of these commits/pushes were work in progress (WIP). When testing, ensure that the 'roomDimensions' field is present in your scene file as seen below.
  "roomDimensions": {
    "x": 10,
    "y": 4,
    "z": 10
  },

https://user-images.githubusercontent.com/26032066/128550285-39cf9701-3c9b-4a89-8e3e-8dd09c918abb.mp4


Is there an option to change  a message that appears on reftresh? "confirm" value only replaces message for "back" or "link" navigation.

This is a limitation of browsers. We cannot not change the message on refresh or tab close. 😢
https://developer.mozilla.org/en-US/docs/Web/API/Window/beforeunload_event#usage_notes

Only show a generic browser-specified string in the displayed dialog. This cannot be controlled by the webpage code.


Mediapipe body points 33 keypoints

Motivation and context

How has this been tested?

Checklist

[ ] I submit my changes into the develop branch
[ ] I have created a changelog fragment
[ ] I have updated the documentation accordingly
[ ] I have added tests to cover my changes
[ ] I have linked related issues (see GitHub docs)
[ ] I have increased versions of npm packages if it is necessary
(cvat-canvas,
cvat-core,
cvat-data and
cvat-ui)

License

[ ] I submit my code changes under the same MIT License that covers the project.
Feel free to contact the maintainers if that's a concern.

@pauchai , thank you for the contribution. Could you please help us to fix the linter issues?
The files will be checked: serverless/tensorflow/mediapipe/nuclio/main.py
************* Module main
serverless/tensorflow/mediapipe/nuclio/main.py:92:0: W0311: Bad indentation. Found 28 spaces, expected 16 (bad-indentation)
serverless/tensorflow/mediapipe/nuclio/main.py:1:0: W0611: Unused import cv2 (unused-import)
serverless/tensorflow/mediapipe/nuclio/main.py:5:0: W0611: Unused matplotlib.pyplot imported as plt (unused-import)

@pauchai , could you please add a line into CHANGELOG.md? Please read in CHANGELOG how to do that.

What correspondences should be in the code for the attributes from the UI (outside, lock, occluded, hidden)?
skeleton = {
"confidence": "1", #str(pred_instance["bbox_score"]),
"label": label["name"],
"type": "skeleton",
"elements": [{
"label": element["name"],
"type": "points",
# @NOTICE supose outside attribute  correspondents to presence  in mediapipe
"outside": 0 if threshold < pose_landmarks_instance[element["id"]].presence else 1,
# @NOTICE supose occluded attriute correspondents visibility in mediapipe
"occluded": 0 if threshold < pose_landmarks_instance[element["id"]].visibility else 1,
"points": [
float(pose_landmarks_instance[element["id"]].x * image.width),
float(pose_landmarks_instance[element["id"]].y * image.height)
],
"confidence": str(pose_landmarks_instance[element["id"]].presence),
} for element in label["sublabels"]],
}

@pauchai
lock, occluded, hidden are visualization attributes on UI only. They do not exist on the server.
If the point is invisbile, outside is True.
Occluded is used when object partially invisible (what is not really applicable for points).

@pauchai

When the point is outside the frame? Is this referred to as "outside"?
When the right leg occludes the left one? Is this considered "occluded"?

I already explained a difference between occluded and outside.
You know a point coordinates, frame width/height and score from the model. Using these three parameters you easily may decide between occluded or outside.

And when I don't use points, I believe they shouldn't appear in the UI right sidebar and dont mark as outside.

If you do not need to use these points, do not specify them in skeleton editor in UI constructor.
If you specified them, they are expected to exist in the skeleton, because you setup such configuration for the label.

If you do not need to use these points, do not specify them in skeleton editor in UI constructor. If you specified them, they are expected to exist in the skeleton, because you setup such configuration for the label.
I m using imported skeleton from model. There is no way to modify it.

@pauchai
From my research, it looks like this model is not able to detect more than one person.. or I am wrong?

Unfortunately we are not ready to accept the PR as is
It detects only one person per image and I have some doubts about the quality of detecting


Fixed cursor not being aligned after moving up and down through tabs.

This solution is okay for now, should also start to consider the case of soft wrap maybe? Should this be handled in a core Lua extension later?

Please merge

Fixes #9


Combobox: unintuitive behaviour on re-selection

How to reproduce
See screencast for the steps to reproduce the behavior:
https://user-images.githubusercontent.com/311619/141486153-2c73a13e-02a7-44a9-9493-cd4f854f75ed.mp4
Describe the bug
Imagine the following quite common scenario:

User types in/selects a value from the suggestion-list of the autocomplete-combobox.
This value is valid and eg. saved until a change of the value is required.
User now clicks on the caret-down to open the suggestion-list, as he/she wants to select another value.

In the screencast example the user had previously selected "Alaska" and wants to change it to "Arizona", which is not easy possible.
Current behaviour

when the user clicks on the caret-down to open the suggestion-list, as he/she wants to select another value, the suggestion-list only offers the current value.

Some of our users where confused if there aren't no other valid options to select from, and

other understood that they need to delete the current value and search for a new one but felt that this behavior is cumbersome and unintuitive.

Expected behavior
Therefore the behaviour should change as soon as a value has been selected = the combobox field is populated:

then a click to open the suggestion-list should show all options, making the selection of another valid option via mouse easy.
when the text of the input field is altered, the suggestion list reflects the search behaviour and adapts the search results in the suggestion-list as currently implemented.
additionally a "x" at the end of the input field could help to easily clear the contents of the combobox. See common behaviour on search fields:

see also #5641

Versions
Clarity project:

[x] Clarity Angular/UI

Clarity version:

[x] v4.x
[x] v5.x

Framework:

[x] Angular

Device:

Type: any, tested with Notebook
OS: any, tested with Windows
Browser: likely any, tested with Chrome

Our implementation had the same user feedback. We weren't satisfied with waiting until switching over to Clarity Core without guarantees.
So easier just to extend the Combobox with the behavior to mark its input tag with a "search" type. Now if that doesn't solve accessibility needs, then the blame shifts to old W3C standards. The "X" icon simply is from a bygone era when nobody cared about non-mouse users.
Example snippet directive where the combobox is decorated with the "X" icon to clear and also automatically open up the list when focus is received. There are two parameters defined, for simplicity sake I made them on by default.
import { AfterViewInit, Directive, Host, HostListener, Input } from '@angular/core';
import { ClrCombobox, ClrPopoverToggleService } from '@clr/angular';

@Directive({
    selector: 'clr-combobox',
})
export class CustomComboboxDirective<T> implements AfterViewInit {
    @Input('customFocusExpandable') public expandOnFocus: boolean = true; // UX requirement: show dropdown list when input receives focus
    @Input('customInputClearable') public inputClearable: boolean = true; // UX requirement: show clear button

    constructor(@Host() private cmp: ClrCombobox<T>, @Host() private clrToggleService: ClrPopoverToggleService) {}

    public ngAfterViewInit() {
        if (this.inputClearable) {
            const inputEl = this.cmp.textbox.nativeElement as HTMLInputElement;
            inputEl.type = 'search';
        }
    }

    @HostListener('click', ['$event'])
    public onFocus(evt: FocusEvent) {
        const isMouseFocusedEvent = evt.target === this.cmp.textbox.nativeElement;

        if ((evt.target as HTMLElement).parentElement === this.cmp.trigger.nativeElement) {
            return;
        }

        if (isMouseFocusedEvent && this.expandOnFocus && !this.cmp.openState && this.cmp.focused) {
            this.clrToggleService.toggleWithEvent(evt);
        }
    }
}

https://user-images.githubusercontent.com/8688570/141603492-a83c4b0d-7781-4597-bd83-35d2644061e4.mov

Hi @d-m-s,
The feature request here has been captured into our list and we’re going to take it into consideration as we develop Clarity Core capabilities. In an effort to clean up our backlog and focus our attention, I’m going to close this as captured in our feature requests. Please follow our development and releases to see when we release relevant components to make this possible. Future feature requests can be made in our GitHub Discussions.


Error(Another navigator is already registered for this container.) in Nested Navigator. How can i fix it?

Hi.
I'm trying to make nested navigators but I have error.
Error: Another navigator is already registered for this container. You likely have multiple navigators under a single "NavigationContainer" or "Screen". Make sure each navigator is under a separate "Screen" container. See https://reactnavigation.org/docs/nesting-navigators for a guide on nesting.
my navigator structure is

When i register Home,Feed,Chat,Profile as a Navigator, error is occurred.
how can I register multiple Navigators in CurvedBottomBar?
I saw the comments you registered on other issue.
You cannot pass inside a stack of react-navigation. replace by a single component.
Using "const { navigate } = useNavigation()" to navigate inside

Is it means add single component(not navigator) in BottomBars and use navigate(name) to navigate other screen?
For example, FeedScreen has list of feed. then FeedDetailScreen is detail of Feed.
then, Where should I register FeedDetailScreen? If i register FeedNavigator in CurvedBottomBar, I can add FeedDetailScreen in FeedNavigator.
And second question is when navigating screens,
Sometimes I want to hide or show bottom bar. How can i implement that?
I want hide BottomBar in FeedDetailScreen.
Ultimately, I want implement navigation flow like below

Thank you for library and sorry for my bad english.

Is there any solution cause I also faced this issue?

Hi @amit-bs23 ,
I my solution is to switch between components.
Do you have any ideas?

Do we need to use the react-navigation and register the screens? How about we create a custom tab navigator component so that everyone can use it without any hassle.

Any solution?
I also need to add stack navigators in each screens of CurvedBottomBar.
It works if I add a single stack navigator in one of the screen. When I add another stack navigator in another screen, I get
Error: Another navigator is already registered for this container. You likely have multiple navigators under a single "NavigationContainer" or "Screen". Make sure each navigator is under a separate "Screen" container. See https://reactnavigation.org/docs/nesting-navigators for a guide on nesting

I too have this issue and also require multiple stacks. Anyone know if this library can support this or do we have to go back to using plain old bottom tabs?

I too have this issue and also require multiple stacks. Anyone know if this library can support this or do we have to go back to using plain old bottom tabs?

This helped me with my issue, it uses the @react-navigation/bottom-tabs

Hi @disizme
I am updating the code for this package, will release version 2.0.0 as soon.
You can clone from github to test version 2.0.0

Hi,
This issue has been resolved.
Now add in dependencies: "react-native-curved-bottom-bar": "https://github.com/hoaphantn7604/react-native-curved-bottom-bar".
You can refer code to /example.
I plan to release version 2.0.0 next week.

Hi,
This issue has been resolved in version 2.0.0.


Add Contributing.md and Developer Certificate of Origin

As part of Fit & Finish open source work

/retest


SharePoint URL Change - Teams - Class Materials Folder

After a SharePoint URL change, Class Materials Folder produces the error: “The specified list is invalid” in Teams Desktop and Web.

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

ID: 5475fd83-52fa-6d49-d08f-fc75fabee09c
Version Independent ID: 19ede247-e62c-9f1a-700c-4c878fec7f78
Content: Change a site address - SharePoint Online
Content Source: SharePoint/SharePointOnline/change-site-address.md
Service: sharepoint-online
GitHub Login: @kaarins
Microsoft Alias: kaarins

@vjones-bowiestate  Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

@scanum Any update on this? I'm in this situation I would like to know if I have to recreate the site to get it working again.

@AdwoodMicrosoft can you help this customer, or should they file a support ticket?

@kaarins @AdwoodMicrosoft No need for a support ticket. I just deleted the group and made a new one. I am curious what the fix would be though.

This would be handy for Teams that need to be truncated due to long SharePoint site names. Any update on this issue?

There is a known issue that after changing the address, the Files tab will need to be refreshed. If this is a persistent issue, please contact Support.


Crash when doing analysis

Using latest release I did a Windows collection using "Guided Mode", let it collect info, then did the installation and the let it do post install collection. Then the analysis crashed.
Redoing analysis with same capture crashes again. Not sure if this is helpful enough, but here's the crash dump:
info: Microsoft.Hosting.Lifetime[0]
      Hosting environment: Production
info: Microsoft.Hosting.Lifetime[0]
      Content root path: C:\Tools\ASA_win_2.3.274
[12:33:03 INF] Completed Comparing in 00h:00m:03s:083ms.
fail: Microsoft.AspNetCore.Components.Server.Circuits.CircuitHost[111]
      Unhandled exception in circuit 'xbUAKet0Brd2KYP2ZlabD6QaapHrbMCrtP26Bi6dZ0g'.
      System.AggregateException: One or more errors occurred. (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.)
       ---> System.NullReferenceException: Object reference not set to an instance of an object.
         at Microsoft.CST.AttackSurfaceAnalyzer.Cli.AttackSurfaceAnalyzerClient.<>c__DisplayClass37_0.<CompareRuns>b__0(CompareResult res) in D:\a\1\s\Cli\AttackSurfaceAnalyzerClient.cs:line 1186
         at System.Linq.Parallel.ForAllOperator`1.ForAllEnumerator`1.MoveNext(TInput& currentElement, Int32& currentKey)
         at System.Linq.Parallel.ForAllSpoolingTask`2.SpoolingWork()
         at System.Linq.Parallel.SpoolingTaskBase.Work()
         at System.Linq.Parallel.QueryTask.BaseWork(Object unused)
         at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
      --- End of stack trace from previous location ---
         at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
         --- End of inner exception stack trace ---
         at System.Linq.Parallel.QueryTaskGroupState.QueryEnd(Boolean userInitiatedDispose)
         at System.Linq.Parallel.SpoolingTask.SpoolForAll[TInputOutput,TIgnoreKey](QueryTaskGroupState groupState, PartitionedStream`2 partitions, TaskScheduler taskScheduler)
         at System.Linq.Parallel.DefaultMergeHelper`2.System.Linq.Parallel.IMergeHelper<TInputOutput>.Execute()

FYI: I tried with a new capture, and got exact same crash.

Thanks for your report. Sorry you're having issues. I'll take a look today.
What command line options did you use?

I am unable to reproduce this running via Visual Studio or via the package in the releases when using the file System collector and monitoring - based on where the crash it seems to be related to what is being output by one of the collectors.  Based on visual studio's null tracing none of the objects on the referenced line should be able to be null however.
I understand you may not be able to but if you are able to share the database files that are generated when you encounter this error that would be helpful.

Thank you for the followup. I ran "asa gui" and used these settings for collection:

The machine is a fairly fresh install of Windows 11, but maybe ASA hits a folder/file or something with a name or otherwise it doesn't like? (Guessing)

Thanks for the extra info.
I'll try a run with these selections.

I have not been able to replicate this.  I am running 2.3.275 as downloaded from the GitHub Releases page on Windows 11 and successfully ran a guided session with these settings.
Here are some further debugging steps you might be able to try:
Enable more logging on the console
asa <command> --debug
asa <command> --verbose
Rerun analysis for the last two Collect runs.
Guided mode runs two Collect runs and a monitor run. This should rerun the analysis just for the collect runs.
asa export-collect
Rerun analysis for the last monitor run.
This should rerun the analysis just for the monitoring run.
asa export-monitor
With the above you can at least identify if the analysis is failing on the Monitor runs on the Collect runs (I cannot tell for sure from the content you posted).
In addition, if you can provide the databases which replicate this error, I would be able to more easily identify what is happening.  The asa database is by default split into multiple sqlite shards named asa.sqlite and asa.sqlite_1 through 6.  You will need to include all 'asa.sqlite*' files.

I am running into the same issue.  Unfortunately, I cannot provide screenshots or exports of the system experiencing the issue due to site policies, but I can provide some context.
ASA Version 2.3.274+a57c05889c.
Collection (asa.exe collect -a) works fine.
Comparison (asa.exe export-collect --disableanalysis) works fine.
SIngle-run analysis (asa.exe --exportsinglerun --secondrunid) works fine, irrespective of which runid I use.
Analysis between two runs, either by specifying the runids or letting the tool use the last two runs fails on an "Object reference not set to an instance of an object" error.

Thanks @Daywalker46410 for that additional info. This helps narrow it down.
If the log is small enough to skim, if you examine the results you get from export --disableanalysis are there any obvious aberrations/nulls and if so can you tell what collector they came from?

I have a PR #641 for a version that will add additional logging around this issue. Once it is released, use your existing database that causes the crash and try either asa export-collect --debug --SingleThreadAnalysis or asa export-collect --verbose --SingleThreadAnalysis.  Check the console output for the stack trace and information about the object that caused the crash.  Single the exception should be caught it may have multiple outputs.
This change should prevent the crash but does not address the root issue that there is not supposed to be a null at this point.

https://github.com/microsoft/AttackSurfaceAnalyzer/releases/tag/v2.3.276 is now available with additional logging for this issue.

Should be fixed in the latest.


Add dependency on C4C Editor and Interpreter Library

Using npm, you can add dependencies to javascript libraries hosted on github. You can do that with this command:
npm install --save https://github.com/<username>/<repository>

The Code4Community editor and interpreter library is hosted here: https://github.com/Code4Community/code-editor-and-interpreter
We need to add that library to this project and then test some of the example code show in this project: https://github.com/Code4Community/phaser3-language-example

Completed in 2c45d5b4d039b8636aa240839f3716783b5e0ce6


Rename workflow extension

Issue #, if available:
Description of changes:
Rename workflow from *.yaml to *.yml to conform with standard scheme and fix readme badge.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Codecov Report

Merging #74 (b96e0dd) into main (c0a67bc) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #74   +/-   ##
=======================================
  Coverage   61.44%   61.44%
=======================================
  Files          13       13
  Lines        1149     1149
=======================================
  Hits          706      706
  Misses        403      403
  Partials       40       40

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 c0a67bc...b96e0dd. Read the comment docs.


Modified NBS format page

There were several ambiguities that I noticed during the work on my projects. I modified the documentation to prevent them and added calculation formulae of several values.

Thanks for making these additions and fixes! They're really important to properly interpreting an NBS file, so they'll be very useful for anyone working with the format. Sorry for not having reviewed it earlier, it was in the back of my mind for a while but I ended up completely forgetting about it 😅


allow local or S3 path

Yes this one would be really great. We have a STAC metadata catalogue that is private.


No discussion of creating the dispatch model

This tutorial completely omits training dispatch.  You will encounter the following error if you try to use this page.
[botInitializationError]: Error: No dispatch model found in .bot file. Please ensure you have dispatch model created and available in the .bot file. See readme.md for additional information

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

ID: f68e3448-ea66-7aab-26d2-37de5f44527c
Version Independent ID: 30c9096c-926c-3b92-6ab0-cc49edf63842
Content: Use multiple LUIS and QnA models - Bot Service
Content Source: articles/v4sdk/bot-builder-tutorial-dispatch.md
Service: bot-service
Product: bot-framework
GitHub Login: @DeniseMak
Microsoft Alias: v-demak

Hi Andy, thanks for your feedback. In the article" Use multiple LUIS and QnA models" under #manually-create-LUIS-apps, we walk through the LUIS training process for home-automation.  The last sentence in that section states:
“Once completed, repeat these same steps for both your locally downloaded 'weather.json' and 'nlp-with-dispatchDispatch.json' files.”
nlp-with-dispatchDispatch.json builds and Trains the dispatch model, BUT this is not very clear! We'll rework this section to provide more clarity. Thanks for helping us to continue improving our docs!

For this sample you provided us with a ready-made dispatch model, but what is the best way to create this ourselves?
Is it a manual action to create the dispatch data from the other models or is there a way to automatically compile the dispatch model from the other models?


Which files can be patched?

I understand how to provide a path within a GitRepository to indicate to the Image Automation controller the directory in which to patch files.
I understand that only files that look like Kubernetes resources get patched.  I presume that this means files ending in .yaml that contain apiVersion and kind keys.  Are there other constraints?
Can I patch files within a helm chart?  I presume that I cannot patch the helm template files themselves because they are templates, not resources.  However, if I have a subdirectory in the chart that has files that are valid K8s resources, will the Image Automation controller patch them?

If those YAMLs are valid Kubernetes objects (no helm templating), then yes Flux can patch them.

I'm going to turn this into a discussion, to surface it as a Q&A


TextEditingController docs should remember user to call dispose()

The docs don't say that we should call dispose() on the TextEditingController. I just found out we have to call it, by reading some examples.

maybe a stupid question, but i was just looking at the TextFormField about how it handles the default controller when none is provided and i couldn't find where it's calling dispose()? https://github.com/flutter/flutter/blob/master/packages/flutter/lib/src/material/text_form_field.dart#L206 Is there a reason it doesn't do that?

@hpoul I am not sure, please open your question as a new Issue and please post the link here.
(Maybe if a controller is created inside a TextFormField it doesn't have to the disposed? I am not sure either.)


[1.12] Bump Mesos to nightly 1.7.x 3c4691e

High-level description
This is a routine bump to the latest Mesos and mesos-modules.
Related JIRA Issues
Checklist for all PRs

[ ] Included a test which will fail if code is reverted but test is not. If there is no test please explain here:
[x] Read the DC/OS contributing guidelines
[x] Followed relevant code rules Rules for Packages and Systemd

Checklist for component/package updates:
If you are changing components or packages in DC/OS (e.g. you are bumping the sha or ref of anything underneath packages), then in addition to the above please also include:

[x] Changelog:
https://github.com/apache/mesos/compare/8af5a6d50c64abb683b803f25bbc02e320fe70f6...3c4691e1c13d2908389436794b420dd9e19bd92a

[ ] Test Results: [link to CI job test results for component]

[ ] Code Coverage (if available): [link to code coverage report]

@mesosphere-mergebot bump-ee

@mesosphere-mergebot label Ready For Review


Please provide materials remaining weeks too!

Hi 👋
Sorry for inconvenience, but due to my graduate school applications I am not and was not able to contribute as much, I summoned help from friends and reddit recently, I still will be active inspecting, but the speed is all up to the help I will receive from community. If not I can finish everything by February 2019, after my applications.

Thank you for replying. You've got a great resource there. Thank you so
much for compiling and making it open.
Great work!!
Abishake.
On Fri, Aug 17, 2018 at 4:59 PM Mustafa Bedir Tapkan <
<EMAIL_ADDRESS>wrote:

Hi 👋
Sorry for inconvenience, but due to my graduate school applications I
am not and was not able to contribute as much, I summoned help from friends
and reddit recently, I still will be active inspecting, but the speed is
all up to the help I will receive from community. If not I can finish
everything by February 2019, after my applications.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/NAU-ACM/ACM-ICPC-Preparation/issues/16#issuecomment-413837126,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ai3b2-m3nfCKJGYC-PsikAvyV7wy95Jzks5uRqkfgaJpZM4WBX52
.

@shakeabi , most of the contents will be available before ICPC 2018, and complete set will be available by the end of this year :)

Please provide materials for all the weeks. It's a great compilation but would be better if it's complete.

Please provide materials for all the weeks. It's a great compilation but would be better if it's complete.

agree

I can't find anything after Week 13...? Can anyone help me?

@rajat123456 @BedirT Bump

Duplicate of #4