austin, austin-python, austin-tui: init

Description of changes
https://github.com/NixOS/nixpkgs/issues/198752
Austin is a stack trace sampling profiler for CPython applications.
Submitted as draft for now since it requires #198802 (first commit of this PR).

Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

Still waiting for the merge, should we make it final? once I tried to merge as well but usually drafts are ignored (as far as I know), If needed, you can convert it back to draft

This is staying in draft at least until the pythonRelaxDepsHook change
makes it to master (i.e. next staging-next merge), then I have a few things
to debug in terms of unit tests not passing on ofborg.
On Thu, Nov 3, 2022, 07:54 Aarmn the limitless @.***>
wrote:

Still waiting for the merge, should we make it final? once I tried to
merge as well but usually drafts are ignored (as far as I know), If needed,
you can convert it back to draft
—
Reply to this email directly, view it on GitHub
https://github.com/NixOS/nixpkgs/pull/198825#issuecomment-1301709438,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABRQLUUUMNR6HDXMVFWQIDWGNOSZANCNFSM6AAAAAARTLLNYU
.
You are receiving this because you authored the thread.Message ID:
@.***>

Well now that pythonRelaxDepsHook is merged, can this become finalized?

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/1442

I am thoroughly uninterested in maintaining these packages in nixpkgs if that means making them worse. If someone wants to comply with the review comments from this PR please feel free to pick up this code and follow up in a new PR.

Has anything changed about how packages are done in pythonPackages since this? (I'm interested in having, and possibly packaging, austin, but this discussion gives me the feeling I'm not sure I'm up to it, as my first Python package...)

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/packaging-the-python-austin-profiler-help-suggestions-social-issue/52801/1


Parse-evaluator doesn't ignore reference parses with no links

Currently, the main parse-evaluator doesn't ignore reference sentences with no links when calculating the overall performance metrics (precision, recall, F1).
Given this situation, if a reference parse comes with no links (because the gold standard didn't parse it, or all its links are ignored after using -i option) then this sentence will get a 0 score and be averaged with the rest of the sentences. In my parse-evaluator (-a version), reference sentences with no links left are ignored, instead. I think this is fair because there is no way to get a score above 0 if there are no reference links.
My question is: is this a bug or a feature? I think we should ignore reference sentences with no links.

If you want to see an example of this, check https://github.com/glicerico/stream-parser/blob/pipeline/data/sample/parses/sample_corpus2.txt.ull
The first sentence comes intentionally with no links, and when the parses are evaluated against itself (scores = 1 expected), the sentence gets a 0 score, which gets averaged with the rest of the corpus (5 sentences) giving a 0.8 score: https://github.com/glicerico/stream-parser/blob/pipeline/data/sample/parses.stat

I think that:

Having sentences with no link in reference corpus makes no sense and points to bugs in reference corpus, it can not be called "gold" at all in such case.
Ignoring sentences in reference corpus on basis like missed links appears weird because what if you have a sentence with partial links? Will you exclude it or not? What if you have sentence with 10 words and only one link? Will you keep it in the reference corpus? If you keep it then why do you drop the one which has no links at all?
Given the above, dropping the sentences in the reference corpus, if implemented, should be done in case if at least one word is not linked, but better use the latest filtering option like implemented by @alexei-gl - like indicate number of words in a reference corpus sentence that may be not linked. The, if you have the option = 0, then all words in a sentence have to be linked otherwise the sentence have to be dropped.
The sooner we eliminate the difference between "with -a option" and "with no -a option", the better, so if you @glicerico could make the code the code straight for that and keep unittests passing that would be awesome.

Thanks for the comments @akolonin . My reply:

Imagine this type of case, which actually occurs in some of the project's corpora:

Welcome !
0 ###LEFT-WALL### 1 Welcome
0 ###LEFT-WALL### 2 !

When using the -i option, both links will be ignored by the evaluator, leaving a reference parse with no links and thus automatically a 0 score. I think this kind of sentences should be ignored for evaluation, and the parse-evaluator should handle them.
2 + 3) I'm not saying to ignore sentences because of missing links. Only when ALL links in reference sentence are missing or ignored, only because otherwise we get an automatic 0 score for it, even if no actual evaluation happened.

I agree, but I also don't think is high priority now :)

1-2-3) I agree that we need to ignore such situations but "ALL links" can not be defined because you don't know what "ALL" means. So ideally I would have two options to ignore sentences:

default - ignore all sentences which have no linked words at all
strict - ignore all sentences which have at least one word not linked

Still, if the behaviour above can be configured with latest options implemented by @alexei-gl , I would suggest re-use them and do not overcomplicate design. If it can't, then it seems ok to add the extra "ignorance" logic.

I don't understand why we can't know what "ALL" means. If, while processing a reference parse, we realize the set of links we will evaluate is empty, we skip the sentence. This is what my parse-evaluator does.
Your strict option is talking about a different problem, not the one I raised here.

@akolonin , @glicerico , I think in case reference parse sentence is missing a link (no matter weather it originaly had no links or it is missing a link(s) because of the switched on options such as filtering LEFT-WALL) exception should be raised because without a link it can no longer be a reference and further comparison makes no sense.

@akolonin , @glicerico , strict option -T in current parse-evaluator implementation (no option -a enabled) checks tokenization for exact match. It does not check reference sentences to have all tokens linked.


crash when launching

when I launch the game on 1.20.1 forge 47.1.3 it crashes before title screen. https://pastebin.com/d5zJf0N8

issue with modernfix or supermartijn642corelib

Please confirm if this still happens on latest beta

Duplicate of https://github.com/DynamicTreesTeam/DynamicTrees/issues/844


docs: Maintenance

Definition of Ready

[ ] I am happy with the code
[ ] Short description of the feature/issue is added in the pr description
[ ] PR is linked to the corresponding user story
[ ] Acceptance criteria are met
[ ] All open todos and follow ups are defined in a new ticket and justified
[ ] Deviations from the acceptance criteria and design are agreed with the PO and documented.
[ ] No debug or dead code
[ ] My code has no repetitions
[ ] Critical parts are tested automatically
[ ] Where possible E2E tests are implemented
[ ] Documentation/examples are up-to-date
[ ] All non-functional requirements are met
[ ] Functionality of the acceptance criteria is checked manually on the dev system.

@hifabienne while we're here... do you want to include a link to the stable version in this pr? same page...

@hifabienne while we're here... do you want to include a link to the stable version in this pr? same page...

I added a section about the release types


Add a search engine to find columns by usage type (NAME, CITY, CODE, etc)

This is a first version of the search engine which will be used by fhir-ball.
We already have:

[x] Research by usage type (NAME, CITY, CODE, ADDRESS, more)
[x] Scoring function based on the classifier confidence to sort results
[x] Flask API integrationt

To have it being great we must:

Improve the SQL dependency graph builder to have it run in a reasonable amount of time
Connect the search engine to this tool to discard tables that are too far in the graph
Add keyword search functionality
Use the column name in the scoring function
What else ? Give us your ideas !

Small modifications to make it easier to run the notebooks:

Changed the dataset notebook according to the latest files shared on the slack (name.csv and firstname.csv instead of fullnames.txt, address.csv instead of addresses.csv)
Changed psycopg2 settings to connect to the postgres database without password (provided official mimic instructions were followed)


The REST API allows creating bots with empty username

Description
Using the /bots endpoint in the REST API, it's possible to create a bot with an empty username, which results in it having -bot@<domain> as the email address.
Steps to reproduce

Start the development server.

Get an API key for Iago, using the /dev_fetch_api_key endpoint:
 curl -X POST -F<EMAIL_ADDRESS>\
     http://localhost:9991/api/v1/dev_fetch_api_key

Send an HTTP POST request to the /bots endpoint, using Basic auth (iago@zulip.com:<api_key>), and the following form-data content in the body:
full_name: "Foo"
short_name: ""

For instance, using cURL:
curl -X POST -u 'iago@zulip.com:<api_key>' \
    -F 'full_name=Foo' -F 'short_name=' \
    http://localhost:9991/api/v1/bots

The server will reply with an HTTP 200 status code (success).

The result is a bot with an empty short_name, that looks like this in the bot settings UI:

Meanwhile, the server should reply with an HTTP 400 (bad request), and an error message indicating that the format is invalid:
{"result":"error", "msg":"Bad name or username"}

@zulipbot label "area: api" "bug"

@zulipbot claim


New Rule: video format validation

Rule details
validate if video formats used in code are the most optimized
Related ECMAScript feature
No response
What type of rule is this?
JavaScript/TypeScript code
Which codebase the rule should be implemented?
ec0lint
Participation

[ ] I am willing to submit a pull request to implement this rule.

Additional comments
No response

work in progress by @martinabab

Work in progress by @martinabab

PR: https://github.com/ec0lint/ec0lint/pull/61


OpenScanHub blogpost

Related to #899
TODO:

[ ] retake the screenshot once there is new production deployment of osh

Is there a way I can see preview of this blog post?

@siteshwar since it's a markdown, you can get a better overview from here, otherwise you could try running it locally as described here

@kdudka Would it be possible for you take a quick look at it?

We discussed that we will probably merge/publish this on Monday.

We discussed that we will probably merge/publish this on Monday.

Thanks!


added loader 37

Your contribution is greatly appreciated @prajjwalkapoor
Don't forget to star the repo and follow me on Github.
Thanks!


ios app throwing exception while inappwebview is opened and app goes in background state and device is getting locked after some time

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

[✓] Flutter (Channel stable, 3.19.6, on macOS 13.6 22G120 darwin-x64, locale en-IN)
• Flutter version 3.19.6 on channel stable at /Applications/development/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 54e66469a9 (3 months ago), 2024-04-17 13:08:03 -0700
• Engine revision c4cd48e186
• Dart version 3.3.4
• DevTools version 2.31.1
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
• Android SDK at /Users/mac007/Library/Android/sdk
• Platform android-34, build-tools 34.0.0
• ANDROID_HOME = /Users/mac007/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 15.0)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 15A240d
• CocoaPods version 1.15.2
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2022.2)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
[✓] VS Code (version 1.74.3)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.60.0
[✓] Connected device (2 available)
• macOS (desktop)          • macos                     • darwin-x64     • macOS 13.6 22G120 darwin-x64
• Chrome (web)             • chrome                    • web-javascript • Google Chrome 108.0.5359.124
[✓] Network resources
• All expected network resources are available.
Description
I implemented "in app web browser" using this plugin with flutter app life cycle observer.then when i open youtube website and when i goes to background state then i implemented push to other screen in lifecycle observers pause state callback for securing app but after when my device screen is getting locked app registers crash immediately and it also shows in xcode.
Steps to reproduce

run given sample code in ios device.
open youtube website
go to background state
leave your device until it locks automatically
as device locks it immediately throws exception in xcode

Stacktrace/Logcat
there are 3 different crashes
----------------------------------1---------------------------------------
Crashed: com.apple.main-thread
0  libobjc.A.dylib                0x3120 objc_retain + 16
1  UIAccessibility                0x35f1c -[NSObject(AXPrivCategory) accessibilityEnumerateAncestorsUsingBlock:] + 112
2  UIKit                          0x48860  + 176
3  libdispatch.dylib              0x63094 _dispatch_call_block_and_release + 24
4  libdispatch.dylib              0x64094 _dispatch_client_callout + 16
5  libdispatch.dylib              0x10d44 _dispatch_main_queue_drain + 928
6  libdispatch.dylib              0x10994 _dispatch_main_queue_callback_4CF$VARIANT$mp + 36
7  CoreFoundation                 0x4e014  + 12
8  CoreFoundation                 0xb4f8  + 2544
9  CoreFoundation                 0x1e174 CFRunLoopRunSpecific + 572
10 GraphicsServices               0x1988 GSEventRunModal + 160
11 UIKitCore                      0x4e5a88  + 1080
12 UIKitCore                      0x27ef78 UIApplicationMain + 336
13 MyApp                0x8050 main + 7 (main.m:7)
14 ???                            0x1012204d0 (Missing)
-----------------------------------2--------------------------------------
Crashed: com.apple.main-thread
0  libobjc.A.dylib                0x3478 objc_retain_x0 + 16
1  libobjc.A.dylib                0x3478 objc_retain + 16
2  UIAccessibility                0x60a14 -[NSObject(AXPrivCategory) _accessibilityRemoteParent] + 136
3  UIAccessibility                0x4d82c -[NSObject(AXPrivCategory) _iosAccessibilityAttributeValue:] + 31104
4  UIAccessibility                0x8c970 -[AXRemoteElement(UIAccessibility) _iosAccessibilityAttributeValue:] + 1304
5  UIAccessibility                0xa888 _accessibilityAttributeValueDispatch + 76
6  UIAccessibility                0x5c50 _copyAttributeValueCallback + 680
7  AXRuntime                      0x10030 ___AXXMIGCopyAttributeValue_block_invoke + 80
8  AXRuntime                      0xffc4 _handleNonMainThreadCallback + 448
9  AXRuntime                      0xfba4 _AXXMIGCopyAttributeValue + 532
10 AXRuntime                      0x7cbbc _XCopyAttributeValue + 536
11 AXRuntime                      0x2c394 mshMIGPerform + 1116
12 CoreFoundation                 0x8ffa0 CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION + 56
13 CoreFoundation                 0x91bb4 __CFRunLoopDoSource1 + 512
14 CoreFoundation                 0x75744 __CFRunLoopRun + 2332
15 CoreFoundation                 0x79d20 CFRunLoopRunSpecific + 584
16 GraphicsServices               0x1998 GSEventRunModal + 160
17 UIKitCore                      0x371448 -[UIApplication _run] + 868
18 UIKitCore                      0x3710c0 UIApplicationMain + 312
19 MyApp                0x8050 main + 7 (main.m:7)
20 ???                            0x1ac57c344 (Missing)
-----------------------------------3--------------------------------------
Crashed: com.apple.main-thread
0  libobjc.A.dylib                0x20f8 objc_msgSend + 24
1  UIAccessibility                0x381e0 -[NSObject(AXPrivCategory) _accessibilityFindAncestor:startWithSelf:findTopmostAncestor:] + 92
2  UIAccessibility                0x37d30 -[NSObject(AXPrivCategory) _accessibilityAncestorIsKindOf:] + 112
3  UIKit                          0xca070 -[UIViewAccessibility _accessibilityFKAShouldBeProcessed] + 196
4  CoreFoundation                 0xa5558 NSARRAY_IS_CALLING_OUT_TO_A_BOOL_BLOCK + 24
5  CoreFoundation                 0xa616c __NSArrayGetIndexesPassingTest + 488
6  AXCoreUtilities                0x7084 -[NSArray(AXExtras) ax_filteredArrayUsingBlock:] + 32
7  UIKit                          0xc9ee4 -[UIViewAccessibility _childFocusRegionsInRect:inCoordinateSpace:] + 1768
8  UIKitCore                      0x10f63c0 -[UIView _searchForFocusRegionsInContext:] + 892
9  UIKitCore                      0x64ee78 -[_UIFocusMapSnapshot addRegionsInContainer:] + 196
10 UIKitCore                      0x64f010 -[_UIFocusMapSnapshot addRegionsInContainers:] + 200
11 UIKitCore                      0x10f63e4 -[UIView _searchForFocusRegionsInContext:] + 928
12 UIKitCore                      0x64ee78 -[_UIFocusMapSnapshot addRegionsInContainer:] + 196
13 UIKitCore                      0x64e690 -[_UIFocusMapSnapshot _capture] + 284
14 UIKitCore                      0x64dd68 -[_UIFocusMapSnapshot _initWithSnapshotter:mapArea:searchArea:] + 496
15 UIKitCore                      0x64fc80 -[_UIFocusMapSnapshotter captureSnapshot] + 224
16 UIKitCore                      0x6452d0 -[_UIFocusMap _defaultFocusItemInEnvironment:limitScopeUsingFocusPreferences:] + 236
17 UIKitCore                      0x61a45c -[_UIFocusEnvironmentPreferenceEnumerationContext _inferPreferencesForEnvironment:] + 156
18 UIKitCore                      0x619ff4 -[_UIFocusEnvironmentPreferenceEnumerationContext _resolvePreferredFocusEnvironments] + 132
19 UIKitCore                      0x619f2c -[_UIFocusEnvironmentPreferenceEnumerationContext prefersNothingFocused] + 44
20 UIKitCore                      0x61ace8 _enumeratePreferredFocusEnvironments + 192
21 UIKitCore                      0x61ae0c _enumeratePreferredFocusEnvironments + 484
22 UIKitCore                      0x61ae0c _enumeratePreferredFocusEnvironments + 484
23 UIKitCore                      0x61ab40 -[_UIFocusEnvironmentPreferenceEnumerator enumeratePreferencesForEnvironment:usingBlock:] + 204
24 UIKitCore                      0x61b484 -[_UIDeepestPreferredEnvironmentSearch deepestPreferredFocusableItemForEnvironment:withRequest:] + 720
25 UIKitCore                      0x6632cc -[UIFocusUpdateContext _updateDestinationItemIfNeeded] + 236
26 UIKitCore                      0x663074 -[UIFocusUpdateContext _destinationItemInfo] + 32
27 UIKitCore                      0x662f28 -[UIFocusUpdateContext nextFocusedItem] + 28
28 UIKitCore                      0x662668 -[UIFocusUpdateContext _validate] + 112
29 UIKitCore                      0x6625d0 -[UIFocusUpdateContext _isValidInFocusSystem:] + 128
30 UIKitCore                      0x651e24 -[UIFocusSystem _updateFocusWithContext:report:] + 148
31 UIKitCore                      0x653498 -[UIFocusSystem _updateFocusImmediatelyWithContext:] + 104
32 UIKitCore                      0x65546c _UIAXAssignFocusToItemWithOptions + 252
33 UIKit                          0xb9c1c __88-[UITextInputUIResponderAccessibility _axDrawFocusRingAroundFirstResponderAndMoveFocus:]_block_invoke + 36
34 libdispatch.dylib              0x224c _dispatch_call_block_and_release + 32
35 libdispatch.dylib              0x3db0 _dispatch_client_callout + 20
36 libdispatch.dylib              0x117ac _dispatch_main_queue_callback_4CF + 836
37 CoreFoundation                 0xa111c CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 16
38 CoreFoundation                 0x9b120 __CFRunLoopRun + 2508
39 CoreFoundation                 0x9a21c CFRunLoopRunSpecific + 600
40 GraphicsServices               0x3784 GSEventRunModal + 164
41 UIKitCore                      0xbc8fe0 -[UIApplication _run] + 1072
42 UIKitCore                      0xbce854 UIApplicationMain + 168
43 MyApp                0x8050 main + 7 (main.m:7)
44 libdyld.dylib                  0x16b0 start + 4
#sample code
inappwebview.zip

I also faced this issue in random iOS devices.


Remove the permit check for params other than id on a remove request.

Does not currently take any action to store these params, though I think we should do this soon.
Fixes #334

pls merge this!

:+1:


[YouTube Downloader] ...

Extension
https://www.raycast.com/vimtor/youtube-downloader
Raycast Version
1.78.1
macOS Version
15.0
Description
its dous not download.
Steps To Reproduce

oper the extension
paste the link
Choose options
Download
Error to download message shows up

Current Behaviour
Error to download message shows up
Expected Behaviour
Video or audio is downloaded

@raycastbot close this issue


Try verify fails the second time with custom output paths

Describe the bug
From CMD or git for windows bash:
dotnet new -i Microsoft.DotNet.Try.ProjectTemplate.Tutorial
mkdir Try
cd Try
dotnet new trydotnet-tutorial
dotnet try verify # Successful
dotnet try verify # Fails

Errors on 2nd or more attempts:
(ins)$ dotnet try verify

C:\dev\unitsnet\Try2\Readme.md
------------------------------
  Checking Markdown...
    ✓  Line 8:  C:\dev\unitsnet\Try2\Program.cs (in project C:\dev\unitsnet\Try2\Try2.csproj)

  Compiling samples for region "HelloWorld"

    Build failed for project C:\dev\unitsnet\Try2\Try2.csproj
                C:\dev\unitsnet\Try2\Program.cs(1,7): error CS0246: The type or namespace name 'System' could not be found (are you missing a using directive or an assembly reference?)
                C:\dev\unitsnet\Try2\Program.cs(2,7): error CS0246: The type or namespace name 'System' could not be found (are you missing a using directive or an assembly reference?)
                C:\dev\unitsnet\Try2\Program.cs(9,18): error CS0518: Predefined type 'System.Object' is not defined or imported
                C:\dev\unitsnet\Try2\Program.cs(18,13): error CS0518: Predefined type 'System.String' is not defined or imported
                C:\dev\unitsnet\Try2\Program.cs(19,13): error CS0518: Predefined type 'System.String' is not defined or imported
                C:\dev\unitsnet\Try2\Program.cs(20,13): error CS0518: Predefined type 'System.String' is not defined or imported
                C:\dev\unitsnet\Try2\Program.cs(21,13): error CS0518: Predefined type 'System.String' is not defined or imported
                C:\dev\unitsnet\Try2\Program.cs(22,13): error CS0518: Predefined type 'System.String' is not defined or imported
                C:\dev\unitsnet\Try2\Program.cs(17,16): error CS0518: Predefined type 'System.Int32' is not defined or imported
                C:\dev\unitsnet\Try2\Program.cs(32,25): error CS0518: Predefined type 'System.Int32' is not defined or imported
                C:\dev\unitsnet\Try2\Program.cs(40,25): error CS0518: Predefined type 'System.Int32' is not defined or imported
                (1,1): error CS5001: Program does not contain a static 'Main' method suitable for an entry point
                C:\dev\unitsnet\Try2\Program.cs(26,17): error CS0518: Predefined type 'System.String' is not defined or imported
                C:\dev\unitsnet\Try2\Program.cs(26,33): error CS0518: Predefined type 'System.Object' is not defined or imported
                C:\dev\unitsnet\Try2\Program.cs(27,17): error CS0518: Predefined type 'System.String' is not defined or imported
                C:\dev\unitsnet\Try2\Program.cs(27,31): error CS0518: Predefined type 'System.Object' is not defined or imported
                C:\dev\unitsnet\Try2\Program.cs(28,32): error CS0518: Predefined type 'System.Object' is not defined or imported
                C:\dev\unitsnet\Try2\Program.cs(28,32): error CS0246: The type or namespace name 'ArgumentException' could not be found (are you missing a using directive or an assembly reference?)
                C:\dev\unitsnet\Try2\Program.cs(28,50): error CS0518: Predefined type 'System.String' is not defined or imported
                C:\dev\unitsnet\Try2\Program.cs(35,1): error CS0518: Predefined type 'System.Object' is not defined or imported
                C:\dev\unitsnet\Try2\Program.cs(35,1): error CS0103: The name 'Console' does not exist in the current context
                C:\dev\unitsnet\Try2\Program.cs(35,19): error CS0518: Predefined type 'System.String' is not defined or imported
                C:\dev\unitsnet\Try2\Program.cs(37,20): error CS0518: Predefined type 'System.Int32' is not defined or imported
                C:\dev\unitsnet\Try2\Program.cs(43,13): error CS0518: Predefined type 'System.Object' is not defined or imported
                C:\dev\unitsnet\Try2\Program.cs(43,13): error CS0103: The name 'Console' does not exist in the current context
                C:\dev\unitsnet\Try2\Program.cs(43,31): error CS0518: Predefined type 'System.Object' is not defined or imported
                C:\dev\unitsnet\Try2\Program.cs(43,31): error CS0103: The name 'System' does not exist in the current context
                C:\dev\unitsnet\Try2\Program.cs(45,20): error CS0518: Predefined type 'System.Int32' is not defined or imported
                C:\dev\unitsnet\Try2\Program.cs(9,18): error CS1729: 'object' does not contain a constructor that takes 0 arguments

dotnet try verify found 1 error(s)

Workaround
dotnet clean
dotnet try verify # Successful again!

I tried cloning the try-samples repo, but I cannot reproduce there.
I have tried spotting the difference between my .csproj, Program.cs and markdown files and those at try-samples repo, but I can't find anything that stands out.
.NET info:
$ dotnet --info
.NET Core SDK (reflecting any global.json):
 Version:   3.1.101
 Commit:    b377529961

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.18363
 OS Platform: Windows
 RID:         win10-x64
 Base Path:   C:\Program Files\dotnet\sdk\3.1.101\

Host (useful for support):
  Version: 3.1.1
  Commit:  a1388f194c

.NET Core SDKs installed:
  1.1.14 [C:\Program Files\dotnet\sdk]
  2.1.202 [C:\Program Files\dotnet\sdk]
  2.1.508 [C:\Program Files\dotnet\sdk]
  2.1.509 [C:\Program Files\dotnet\sdk]
  2.1.801 [C:\Program Files\dotnet\sdk]
  2.1.802 [C:\Program Files\dotnet\sdk]
  2.2.108 [C:\Program Files\dotnet\sdk]
  2.2.401 [C:\Program Files\dotnet\sdk]
  2.2.402 [C:\Program Files\dotnet\sdk]
  3.0.103 [C:\Program Files\dotnet\sdk]
  3.1.101 [C:\Program Files\dotnet\sdk]

.NET Core runtimes installed:
  Microsoft.AspNetCore.All 2.1.0 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.1.12 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.1.13 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.1.15 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.2.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.2.7 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.2.8 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.App 2.1.0 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.1.12 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.1.13 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.1.15 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.2.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.2.7 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.2.8 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 3.0.3 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 3.1.1 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 1.0.16 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 1.1.13 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.0.9 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.12 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.13 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.15 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.2.6 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.2.7 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.2.8 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 3.0.3 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 3.1.1 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.WindowsDesktop.App 3.0.3 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 3.1.1 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

Did this error occur while using dotnet try or online?

[x] dotnet-try
[ ] .NET Jupyter Notebook
[ ] online

What kind of error was it?

[ ] User Interface (UI):  For example the output never displayed
[ ] Service Error: For example "The service is temporarily unavailable. We are working on it"
[x] Other: dotnet-try tool

Screenshots
If applicable, add screenshots to help explain your problem.

Please complete the following:

OS

[x] Windows 10
[ ] macOS
[ ] Linux (Please specify distro)
[ ] iOS
[ ] Android

Browser

[ ] Chrome
[ ] Edge
[ ] Safari

These issues seem related:
https://github.com/dotnet/try/issues/181
https://github.com/dotnet/try/issues/191#issuecomment-492531292

Aha, typing this all out helped me figure it out.
I am trying this out inside my c:\dev\unitsnet project.
In that project, there is a Directory.Build.props file with
    <!-- Avoid sharing obj folder with multiple .csproj files in same folder -->
    <BaseIntermediateOutputPath>$(MSBuildThisFileDirectory)obj/$(MSBuildProjectName)</BaseIntermediateOutputPath>
    <OutputPath>$(MSBuildThisFileDirectory)Artifacts/$(MSBuildProjectName)</OutputPath>

Workaround
Add these to my Try.csproj to override the defaults back to normal output paths.
    <OutputPath>bin</OutputPath>
    <BaseIntermediateOutputPath>obj</BaseIntermediateOutputPath>

Any idea why this breaks the tool? Might be worth investigating.
The reason we added this config was that we at some point had multiple .csproj files in the same folder, but we have since removed that so I can remove the BaseIntermediateOutputPath in my props file and voila - I no longer need any of the lines in the workaround.

Turns out I had to add <OutputPath>bin/$(Configuration)</OutputPath> too, as logs complained it could not find Try.dll. Revised the title of this issue to reflect this.
I am no longer blocked, so you can close it for me, but keeping it open in case you want to look into the case of custom output paths not being supported.


[SPARK-31735][CORE] Include all columns in the summary report

For example, dates are missing from the export:
from datetime import datetime, timedelta, timezone
from pyspark.sql import types as T
from pyspark.sql import Row
from pyspark.sql import functions as F

START = datetime(2014, 1, 1, tzinfo=timezone.utc)

n_days = 22

date_range = [Row(date=(START + timedelta(days=n))) for n in range(0, n_days)]

schema = T.StructType([T.StructField(name="date", dataType=T.DateType(), nullable=False)])

rdd = spark.sparkContext.parallelize(date_range)

df = spark.createDataFrame(data=rdd, schema=schema)

df.agg(F.max("date")).show()

df.summary().show()
+-------+
|summary|
+-------+
|  count|
|   mean|
| stddev|
|    min|
|    25%|
|    50%|
|    75%|
|    max|
+-------+

Even something less common such as arrays are sortable:
elcome to
      ____              __
     / __/__  ___ _____/ /__
    _\ \/ _ \/ _ `/ __/  '_/
   /___/ .__/\_,_/_/ /_/\_\   version 2.4.5
      /_/

Using Scala version 2.11.12 (Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0_172)
Type in expressions to have them evaluated.
Type :help for more information.

scala>

scala> val singersDF = Seq(
     |   ("beatles", "help|hey jude"),
     |   ("romeo", "eres mia")
     | ).toDF("name", "hit_songs")
singersDF: org.apache.spark.sql.DataFrame = [name: string, hit_songs: string]

scala>

scala> val actualDF = singersDF.withColumn(
     |   "hit_songs",
     |   split(col("hit_songs"), "\\|")
     | )
actualDF: org.apache.spark.sql.DataFrame = [name: string, hit_songs: array<string>]

scala> actualDF.show()
+-------+----------------+
|   name|       hit_songs|
+-------+----------------+
|beatles|[help, hey jude]|
|  romeo|      [eres mia]|
+-------+----------------+

scala> df.max("hit_songs")
<console>:24: error: not found: value df
       df.max("hit_songs")
       ^

scala> actualDF.max("hit_songs")
<console>:26: error: value max is not a member of org.apache.spark.sql.DataFrame
       actualDF.max("hit_songs")
                ^

scala> actualDF.agg(min("hit_songs"), max("hit_songs"))
res3: org.apache.spark.sql.DataFrame = [min(hit_songs): array<string>, max(hit_songs): array<string>]

scala> actualDF.agg(min("hit_songs"), max("hit_songs")).show()
+--------------+----------------+
|min(hit_songs)|  max(hit_songs)|
+--------------+----------------+
|    [eres mia]|[help, hey jude]|
+--------------+----------------+

Signed-off-by: Fokko Driesprong<EMAIL_ADDRESS>
What changes were proposed in this pull request?
Not filtering the columns to compute statistics on.

Why are the changes needed?
Something as simple as DateTypes are not showing up in the output.

Does this PR introduce any user-facing change?
Might be, as their output will change of the summary if they have columns that aren't part of the summary right now.

How was this patch tested?
Existing tests.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

ok to test

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/27395/
Test PASSed.

Test build #122735 has started for PR 28554 at commit 4fcbc6d.

Test build #122735 has finished for PR 28554 at commit 4fcbc6d.

This patch fails SparkR unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/122735/
Test FAILed.

Test build #122756 has started for PR 28554 at commit 51439b7.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/27413/
Test PASSed.

Merged build finished. Test PASSed.

Test build #122756 has finished for PR 28554 at commit 51439b7.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/122756/
Test PASSed.

And, if you don't mind, could you add a UT for this to prevent a future regression?

Test build #122760 has started for PR 28554 at commit b34ec2d.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/27415/
Test PASSed.

Test build #122760 has finished for PR 28554 at commit b34ec2d.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/122760/
Test PASSed.

I finally have some to pick this up. Looks like there is some funky behavior. Doing an average on a string just return null, and doing this on a Date, returns an exception:
scala> person2.select("name").agg(avg('name)).show()
+---------+
|avg(name)|
+---------+
|     null|
+---------+

scala> person2.select("name").agg(avg('birthday)).show()
org.apache.spark.sql.AnalysisException: cannot resolve '`birthday`' given input columns: [name];;
'Aggregate [avg('birthday) AS avg(birthday)#38]
+- Project [name#9]
   +- Project [_1#4 AS name#9, _2#5 AS age#10, _3#6 AS height#11, _4#7 AS birthday#12]
      +- LocalRelation [_1#4, _2#5, _3#6, _4#7]

  at org.apache.spark.sql.catalyst.analysis.package$AnalysisErrorAt.failAnalysis(package.scala:42)
  at org.apache.spark.sql.catalyst.analysis.CheckAnalysis$$anonfun$checkAnalysis$1$$anonfun$apply$3.applyOrElse(CheckAnalysis.scala:111)
  at org.apache.spark.sql.catalyst.analysis.CheckAnalysis$$anonfun$checkAnalysis$1$$anonfun$apply$3.applyOrElse(CheckAnalysis.scala:108)
  at org.apache.spark.sql.catalyst.trees.TreeNode$$anonfun$transformUp$1.apply(TreeNode.scala:280)
  at org.apache.spark.sql.catalyst.trees.TreeNode$$anonfun$transformUp$1.apply(TreeNode.scala:280)
  at org.apache.spark.sql.catalyst.trees.CurrentOrigin$.withOrigin(TreeNode.scala:69)
  at org.apache.spark.sql.catalyst.trees.TreeNode.transformUp(TreeNode.scala:279)
  at org.apache.spark.sql.catalyst.trees.TreeNode$$anonfun$3.apply(TreeNode.scala:277)
  at org.apache.spark.sql.catalyst.trees.TreeNode$$anonfun$3.apply(TreeNode.scala:277)
  at org.apache.spark.sql.catalyst.trees.TreeNode$$anonfun$4.apply(TreeNode.scala:328)
  at org.apache.spark.sql.catalyst.trees.TreeNode.mapProductIterator(TreeNode.scala:186)
  at org.apache.spark.sql.catalyst.trees.TreeNode.mapChildren(TreeNode.scala:326)
  at org.apache.spark.sql.catalyst.trees.TreeNode.transformUp(TreeNode.scala:277)
  at org.apache.spark.sql.catalyst.trees.TreeNode$$anonfun$3.apply(TreeNode.scala:277)
  at org.apache.spark.sql.catalyst.trees.TreeNode$$anonfun$3.apply(TreeNode.scala:277)
  at org.apache.spark.sql.catalyst.trees.TreeNode$$anonfun$4.apply(TreeNode.scala:328)
  at org.apache.spark.sql.catalyst.trees.TreeNode.mapProductIterator(TreeNode.scala:186)
  at org.apache.spark.sql.catalyst.trees.TreeNode.mapChildren(TreeNode.scala:326)
  at org.apache.spark.sql.catalyst.trees.TreeNode.transformUp(TreeNode.scala:277)
  at org.apache.spark.sql.catalyst.trees.TreeNode$$anonfun$3.apply(TreeNode.scala:277)
  at org.apache.spark.sql.catalyst.trees.TreeNode$$anonfun$3.apply(TreeNode.scala:277)
  at org.apache.spark.sql.catalyst.trees.TreeNode$$anonfun$4.apply(TreeNode.scala:328)
  at org.apache.spark.sql.catalyst.trees.TreeNode.mapProductIterator(TreeNode.scala:186)
  at org.apache.spark.sql.catalyst.trees.TreeNode.mapChildren(TreeNode.scala:326)
  at org.apache.spark.sql.catalyst.trees.TreeNode.transformUp(TreeNode.scala:277)
  at org.apache.spark.sql.catalyst.plans.QueryPlan$$anonfun$transformExpressionsUp$1.apply(QueryPlan.scala:93)
  at org.apache.spark.sql.catalyst.plans.QueryPlan$$anonfun$transformExpressionsUp$1.apply(QueryPlan.scala:93)
  at org.apache.spark.sql.catalyst.plans.QueryPlan$$anonfun$1.apply(QueryPlan.scala:105)
  at org.apache.spark.sql.catalyst.plans.QueryPlan$$anonfun$1.apply(QueryPlan.scala:105)
  at org.apache.spark.sql.catalyst.trees.CurrentOrigin$.withOrigin(TreeNode.scala:69)
  at org.apache.spark.sql.catalyst.plans.QueryPlan.transformExpression$1(QueryPlan.scala:104)
  at org.apache.spark.sql.catalyst.plans.QueryPlan.org$apache$spark$sql$catalyst$plans$QueryPlan$$recursiveTransform$1(QueryPlan.scala:116)
  at org.apache.spark.sql.catalyst.plans.QueryPlan$$anonfun$org$apache$spark$sql$catalyst$plans$QueryPlan$$recursiveTransform$1$2.apply(QueryPlan.scala:121)
  at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234)
  at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234)
  at scala.collection.immutable.List.foreach(List.scala:392)
  at scala.collection.TraversableLike$class.map(TraversableLike.scala:234)
  at scala.collection.immutable.List.map(List.scala:296)
  at org.apache.spark.sql.catalyst.plans.QueryPlan.org$apache$spark$sql$catalyst$plans$QueryPlan$$recursiveTransform$1(QueryPlan.scala:121)
  at org.apache.spark.sql.catalyst.plans.QueryPlan$$anonfun$2.apply(QueryPlan.scala:126)
  at org.apache.spark.sql.catalyst.trees.TreeNode.mapProductIterator(TreeNode.scala:186)
  at org.apache.spark.sql.catalyst.plans.QueryPlan.mapExpressions(QueryPlan.scala:126)
  at org.apache.spark.sql.catalyst.plans.QueryPlan.transformExpressionsUp(QueryPlan.scala:93)
  at org.apache.spark.sql.catalyst.analysis.CheckAnalysis$$anonfun$checkAnalysis$1.apply(CheckAnalysis.scala:108)
  at org.apache.spark.sql.catalyst.analysis.CheckAnalysis$$anonfun$checkAnalysis$1.apply(CheckAnalysis.scala:86)
  at org.apache.spark.sql.catalyst.trees.TreeNode.foreachUp(TreeNode.scala:126)
  at org.apache.spark.sql.catalyst.analysis.CheckAnalysis$class.checkAnalysis(CheckAnalysis.scala:86)
  at org.apache.spark.sql.catalyst.analysis.Analyzer.checkAnalysis(Analyzer.scala:95)
  at org.apache.spark.sql.catalyst.analysis.Analyzer$$anonfun$executeAndCheck$1.apply(Analyzer.scala:108)
  at org.apache.spark.sql.catalyst.analysis.Analyzer$$anonfun$executeAndCheck$1.apply(Analyzer.scala:105)
  at org.apache.spark.sql.catalyst.plans.logical.AnalysisHelper$.markInAnalyzer(AnalysisHelper.scala:201)
  at org.apache.spark.sql.catalyst.analysis.Analyzer.executeAndCheck(Analyzer.scala:105)
  at org.apache.spark.sql.execution.QueryExecution.analyzed$lzycompute(QueryExecution.scala:58)
  at org.apache.spark.sql.execution.QueryExecution.analyzed(QueryExecution.scala:56)
  at org.apache.spark.sql.execution.QueryExecution.assertAnalyzed(QueryExecution.scala:48)
  at org.apache.spark.sql.Dataset$.ofRows(Dataset.scala:78)
  at org.apache.spark.sql.RelationalGroupedDataset.toDF(RelationalGroupedDataset.scala:65)
  at org.apache.spark.sql.RelationalGroupedDataset.agg(RelationalGroupedDataset.scala:224)
  at org.apache.spark.sql.Dataset.agg(Dataset.scala:1804)
  ... 49 elided

Test build #123602 has started for PR 28554 at commit 51c3df1.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/28226/
Test PASSed.

Test build #123602 has finished for PR 28554 at commit 51c3df1.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/123602/
Test FAILed.


Get zecwallet-light's version of lightwalletd running locally

Aditya's lightwalletd has mainnet support and using it will help us to transition the SDK to mainnet faster.
Requires:

pulling the latest version of zcashd and recompiling
configuring the zcashd node for mainnet + insight and syncing (6+ hours)
cloning, configuring and running aditya's lightwalletd

configure for mainnet without TLS support to start, then try TLS once that's working

Hey guys, work together to get Kevin and Pacu synced up on mainnet to get this ticket moving.


MudGlobal: How to handle inherited parameters

Originally asked by @TheBigNeo on discord

Regarding MudGlobal:
I use Ripple as an example.
I have now created a default class for all components that have  public bool Ripple.
What do I do with components such as MudRadio?
MudRadio inherits from MudBooleanInput. The Ripple property is located on MudBooleanInput.
Option 1:
On MudBooleanInput I use public bool Ripple { get; set; } = MudGlobal.BooleanInputDefaults.Ripple;,
then it is the same for all MudBooleanInput.
However, it cannot be overwritten via MudGlobal for MudRadio.
Option 2:
I set MudBooleanInput.Ripple to virtual.
For MudRadio I override Ripple and use the correct default:
public override bool Ripple { get; set; } = MudGlobal.RadioDefaults.Ripple;
I like option 2 better as it gives you more flexibility.
https://github.com/MudBlazor/MudBlazor/blob/43fbb956b46650885a4b25230fece4a1c81ed253/src/MudBlazor/Base/MudBooleanInput.cs#L99
Work in progress PR: https://github.com/slgbroadcast/MudBlazor/pull/68/files

Option 2 sounds better, yes. And even better would be to make the RadioDefaults.Ripple nullable boolean. Then you can do this in MudRadio:
public override bool Ripple { get; set; } = MudGlobal.RadioDefaults.Ripple ?? MudGlobal.BooleanInputDefaults.Ripple;
In fact, we also might want to have a totally global ripple setting directly on the toplevel in MudGlobal, i.e.  MudGlobal.Ripple so it would be best to also make MudGlobal.BooleanInputDefaults.Ripple nullable and have this in MudRadio:
public override bool Ripple { get; set; } = MudGlobal.RadioDefaults.Ripple ?? MudGlobal.BooleanInputDefaults.Ripple ?? MudGlobal.Ripple;
Asking for a second opinion @danielchalmers

Hmm, why evaluate the “complicated” logic in the component?
I would have done that in MudGlobal.
So nothing has to be nullable.
public static class MudGlobal
{
    public static class All
    {
        public static bool Ripple { get; set; } = true;
    }

    public static class BooleanInputDefaults
    {
        public static bool Ripple { get; set; } = All.Ripple;
    }

    public static class RadioDefaults
    {
        public static bool Ripple { get; set; } = BooleanInputDefaults.Ripple;
    }
}

public class MudRadio<T> : MudBooleanInput<T>
{
    public override bool Ripple { get; set; } = MudGlobal.RadioDefaults.Ripple;
}

public class MudBooleanInput<T>
{
    public virtual bool Ripple { get; set; } = MudGlobal.BooleanInputDefaults.Ripple; // I'm not sure if that's necessary here.
}

Side note: The MudGlobal is growing so fast that I would probably start to split it
MudGlobal.cs

MudGlobal.PaperDefaults.cs
MudGlobal.AlertDefaults.cs
MudGlobal.AppBarDefaults.cs
MudGlobal.AutoCompleteDefaults.cs
... etc

IDE would group them under MudGlobal.cs file.

That's good input! @ScarletKuro
I'm going to implement this in my branch straight away, as I'm also adding a lot of new classes.
I would leave the All class in the normal MudGlobal.cs.
What about List, for example?
MudGlobal.List.cs then contains
public static class ListDefaults{}
public static class ListItemDefaults{}

or strictly 1 class per file?

or strictly 1 class per file?
And does it need the suffix Defaults in the file name ?

I would probably wait for @henon’s input here, as I'm not sure what would be better. Your offer with MudGlobal.List.cs that contains 1+N without Defaults in the name is probably fine with me. In any case, we likely wouldn’t need regions anymore with this structure.

Yes, the regions are no longer needed.
And yes, I'll wait.
My neighbor's Christmas party 🎄 is about to start, so Merry Christmas and cheers 🍾🍾.

Hmm, why evaluate the “complicated” logic in the component? I would have done that in MudGlobal. So nothing has to be nullable and there is not such a very long, less legible line in the components.
For the toplevel values, I have the All class.
public static class MudGlobal
{
    public static class All
    {
        public static bool Ripple { get; set; } = true;
    }

    public static class BooleanInputDefaults
    {
        public static bool Ripple { get; set; } = All.Ripple;
    }

    public static class RadioDefaults
    {
        public static bool Ripple { get; set; } = BooleanInputDefaults.Ripple;
    }
}

public class MudRadio<T> : MudBooleanInput<T>
{
    public override bool Ripple { get; set; } = MudGlobal.RadioDefaults.Ripple;
}

public class MudBooleanInput<T>
{
    public virtual bool Ripple { get; set; } = MudGlobal.BooleanInputDefaults.Ripple; // I'm not sure if that's necessary here.
}

I think your proposal doesn't work and that is exactly why we need nullability and to evaluate in the component instead. Because at the moment the user overwrites the value for All.Ripple its now outdated value was already assigned to BooleanInputDefaults.Ripple.

or strictly 1 class per file?
And does it need the suffix Defaults in the file name ?

I would probably wait for @henon’s input here, as I'm not sure what would be better. Your offer with MudGlobal.List.cs that contains 1+N without Defaults in the name is probably fine with me. In any case, we likely wouldn’t need regions anymore with this structure.

OK by me too.
By the way, the class hierarchy of the input components doesn't have to be reflected in the globals at all. I think we should remove the BooleanInputs and other classes from theglobals because there is just no point. Let's make the hierarchy really flat with only two levels: All <- MudRadio and All <- MudTextField. I don't think we need more customizability than that.

@henon
From here

Because at the moment the user overwrites the value for All.Ripple its now outdated value was already assigned to BooleanInputDefaults.Ripple.

Maybe I misunderstood you. But as long as the variable is not accessed, it is not initialized.
And if you do access it, it doesn't matter whether All is nullable or not, because then the value is set.
(I have used Variant here for testing, so that I have more values than just true and false).
class Program
{
    static void Main(string[] args)
    {
        MudGlobal.All.Variant = Variant.Outlined;
        Console.WriteLine("Radio Variant: " + new MyButton().Variant); // Output: `Radio Variant: Outlined`
    }
}

public static class MudGlobal
{
    public static class All
    {
        public static Variant Variant { get; set; } = Variant.Text;
    }

    public static class MudButtonDefaults
    {
        public static Variant Variant { get; set; } = All.Variant;
    }
}

If you still prefer nullable, that's fine with me. But then it's a design decision.

@danielchalmers

Side note: The MudGlobal is growing so fast that I would probably start to split it MudGlobal.cs

MudGlobal.PaperDefaults.cs
MudGlobal.AlertDefaults.cs
MudGlobal.AppBarDefaults.cs
MudGlobal.AutoCompleteDefaults.cs
... etc

IDE would group them under MudGlobal.cs file.

What if we added those in the component's folders themselves to keep everything together?

And if they are no longer partial files, you would have to give each file its own name and how do you want to find them then?

I have now done the following:

Created individual files for the individual static Defaults classes (currently all in the same folder)
Add an All class as toplevel in MudGlobal.cs
Only 1 level of inheritance
A default value from a Defaults class belongs to exactly one component
Properties such as Ripple of MudBaseButton have been set to virtual so that the correct defaults value can be used in MudButton.
However, I could not use <inheritdoc /> for the XML doc, as this is then not displayed in the doc.

Team is also not very much in favor of moving the files towards component dirs. As for #10374, if you want to integrate their proposed additions into yours we can avoid conflicts and close theirs in favor of yours.

Good. The partial files remain where they are now.
And I take over the additional properties from 10374 into my branch.

+1 for closing my PR in favor of the one by @TheBigNeo. I very much like the new approach + file structure.
I'll have a quick look what properties, if any, are missing.

All seems reasonable to me!


WIP: Develop

Changes

Fixed the logic regarding the MobileMouseCollisionSystem with legacy input system
Templates the backbone of the testing structure

TO DO

[x] Update the wiki for issue #37
[x] Edit the changelog
[x] Bump up the package version
[x] Create a tag for the version
[x] Update UGUIDots.Sample

Addressed #38 #37


Freeze/Unfreeze multiple cells

It would be nice to freeze/unfreeze multiple cells. The expected behaviour should be:

select multiple cells
press the freeze/read-only/unlock button
the state of each cell gets updated

I have added this feature in this fork. I can make a pull request if owner ask.
https://github.com/y-haidar/jupyterlab-freeze
The fork also have the following css "improvements":
While selecting 3 cells:

No selection:

yes, please open a PR and I will try to review it this week 🙏

Released in version 0.1.1 https://github.com/DataDog/jupyterlab-freeze/pull/7


drivers:lpadc:enable nxp lpadc acquisition time feature

Enable nxp lpadc acquisition time feature, acquisition time can be expressed in microseconds, nanosecond, and ADC tickets, this patch has been processed these three different situations. When the input acquisition time unit is ADC tickets, it only needs to be matched with the elements in the sample time array. If the input acquisition time unit is nanoseconds or microseconds, first convert the unit of the elements in the sample time array from ADCK to nanoseconds, and then use the dichotomy to match the option closest to the acquisition time from the sample time array.

please read https://docs.zephyrproject.org/latest/contribute/contributor_expectations.html#contributor-expectations
this commit needs to be split up to multiple before it will be reviewed, see other PRs for examples

please read https://docs.zephyrproject.org/latest/contribute/contributor_expectations.html#contributor-expectations
this commit needs to be split up to multiple before it will be reviewed, see other PRs for examples

please read https://docs.zephyrproject.org/latest/contribute/contributor_expectations.html#contributor-expectations
this commit needs to be split up to multiple before it will be reviewed, see other PRs for examples

Thanks for your reminder, I updated the PR and split it into four commits, but the PR was accidentally closed by me. Can you please help me reopen it? Thanks.

could anyone help to review this PR? Thanks a lot.

@yvanderv please review the copyright changes of files that did not have NXP copyright, I don't know the rule here

The commits are well structured except for the fact that they are in a backwards order. You need to put the clock control commit first, then DTS changes, then the driver changes, then the sample overlays. This I think will ensure bisectibility of the commit history.
I still have to review the mcux_lpadc_acquisition_time_setup function more closely but first help me to understand why you are using floating point arithmetic so I have some better background about the code. Since floating point arithmetic will incur a cost on the platforms without an FPU especially there must be a reason?

Sorry for the late commit sequence update. The reason for using the float point type is the float point value are introduced when calculating the ADC period based on the ADC clock.

I am still confused why does adc_cycle_ns even need to be a float? It is being used to calculate the float sample_time_array values, but then these values are later casted to an int when used. Can't all of these be long ints perhaps? Or am I missing something

I am still confused why does adc_cycle_ns even need to be a float? It is being used to calculate the float sample_time_array values, but then these values are later casted to an int when used. Can't all of these be integer types perhaps? Or am I missing something

Why I think the variable adc_cycle_ns needs to be set to a floating point type, I would like to give an example to illustrate. Under NXP LPC55S36 platform, the default ADC clock frequency is 48MHz, so the ADC cycle is approximately 20.833 ns (if variable adc_cycle_ns is set to an integer type, then this number is 20).
case1(float point type, 20.833):
sample_time_array[0] = 20.833 * 3 =  62.499 ns
sample_time_array[1] = 20.833 * 5 = 104.165 ns
if the parameter ADC acquisition time passed by the application layer is 82ns, then the option kLPADC_SampleTimeADCK3 will be set to the corresponding bitfield.
case1(integer type, 20):
sample_time_array[0] = 20 * 3 =  60 ns
sample_time_array[1] = 20 * 5 = 100 ns
if the parameter ADC acquisition time passed by the application layer is 82ns, then the option kLPADC_SampleTimeADCK5 will be set to the corresponding bitfield.
If we use integer type in the code, the accuracy of the calculation results decreases. At this clock frequency (48MHz), and application configuration options (82ns), the optimal configuration item should be  kLPADC_SampleTimeADCK3.
Currently, my local code has changed the ADC sample time array (sample_time_array) to the integer type. The reason is that converting the final calculation result into an integer will not cause too much loss of accuracy, and at the same time reduces the calculation pressure of chips without FPU platforms (the subsequent calculation process uses array elements to compare with the acquisition_time_value).
for example
sample_time_array[0] = 20.833 * 3 =  62.499 ns = 62
sample_time_array[1] = 20.833 * 5 = 104.165 ns = 104
if the parameter ADC acquisition time passed by the application layer is 82ns, then the option kLPADC_SampleTimeADCK3 will be set to the corresponding bitfield.

Recreate a new PR (https://github.com/zephyrproject-rtos/zephyr/pull/70636) based on the nxp-upstream repository.


Fix and polish grading submissions table logic

Description

Type of change

[x] Bug fix (non-breaking change which fixes an issue) -> fixes #2823
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
[ ] Code quality improvements

#2383 Bugfix - This change allows entries per page functionality to function by dynamically resizing the max entries per page in tanstack to match the set value by the user.
Pre-emptive bugfix - This change refines page logic for the search bar by assessment. It now resets the page when the search value is updated to prevent an out of bounds page index.
Pre-emptive bugfix - This change refines page logic for column filters. The page number currently resets for adding column filters only. This change additionally resets the page number for removing column filter for logic handling consistency.
How to test

Checklist

[x] I have tested this code
[ ] I have updated the documentation

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

-6 of 6 (0.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.007%) to 37.949%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/pages/academy/grading/subcomponents/GradingSubmissionsTable.tsx
0
6
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.007%

Covered Lines:
5810

Relevant Lines:
14373

💛  - Coveralls


Different solutions by PySCIP and C++

I am trying SCIP on a mixed integer programming problem. While the python API gives the correct solution (figure 1), c++ version is not able to (figure 2). I found that both solution processes give exactly the same presolving result, which suggests I made no mistake in creating variables and constraints. Yet, I am not able to tell why this happens...

Interesting! Are you using the same settings and the same LP solver? One of the two solutions is either suboptimal or incorrect. How do you know that the first solution is correct? Could you please share your model formulation (both Python and C++)?

You could also take the solution of the C++ model (which seems to have better objective value) and check if it satisfies your Python constraints.

Is this still relevant, i.e. is it happening also for the new SCIP 4.0.1 release and PySCIPOpt v1.2.0?

Closed because of inactivity/incompleteness.


problem core packagwa

help please,when i put the file core package.rar in "windows on arm installer" it say that file :file/cores doesn't exist
i try with differents version

There is no core package.rar, there is core package that you download and you import that file using installer.


I am the author of CryptoMiniSat, I'd like to get control of pycryptosat

Hi,
I am Mate Soos, the author of CryptoMiniSat, as per my GitHub profile, and as per how the original PyPi maintainer put together the pycryptosat PyPi project. Check out the homepage (www.msoos.org), the Maintainer (clearly set to me), etc. The "pycryptosat" is the python module that CryptoMiniSat builds&installs when built using cmake and python2/3 is present.
The issue is, the version on PyPi very outdated. I tried reaching out the maintainer, but I couldn't get any response. There is no official email address listed for her/him, so I tried searching around. I sent a few emails to what I would guess to be her/his email, but no response. I'd like to get control over the PyPi project. It's currently very outdated, and I believe I would be in a good position to maintain it. Furthermore, I'd like to release some research projects in the long term (I work in academia sometimes), and having control over pycryptosat would be invaluable for this.
Basically, the best would be if you have access to her/his email address, could you please write an email to them? I have a feeling they'd be happy to give the project to me, to be honest -- there is no reason to believe they wouldn't trust me :) If they also don't respond to you, would it be possible to give me the project after some waiting & discussion?
Thanks so much in advance,
Mate

Hi @msoos, please open a PEP 541 request for your project.

Thanks a lot @yeraydiazdiaz and sorry for not knowing!
Mate

No problem, it's not like "PEP 541" is a super descriptive name 😄


Version 2.0.0-alpha.7

Landed in https://github.com/metarhia/impress/commit/c9b98bf914031a75659b0d79cab730b81dcfe626


Server route /recording conflicts with front end route /recording

Description of Issue
Navigating to /recording from main page will successfully navigate to page. However, refreshing on /recording sends a GET request to server /recording causing an error.
Proposed Solution

Need to rename server route /recording to /api/recording

Has been done as of working branches 3/7/24


Update README #84

Second try to merge some changes in the README of PV Lib due to former merge conflicts :)
Please check the README :)

Looks great, well done


Removed external resource to Google font "Lato" because it is not req…

Description
Removed external resource to Google font "Lato" because it is not required since version 1.00
Disclaimer
Compiling and Tests are not working because of Issue #304

https://github.com/kirbyfan64/better-share-button/commit/9e979b587938ea1716e6e9ef85f54355dcbbb5a2


Analyzer: convert StatelessWidget to StatefulWidget

Not sure if this is the right component to file this, but it would be nice to have an automated refactor mechanism to convert an existing StatelessWidget and split it into a StatefulWidget and a State with one click.

@devoncarew @scheglov

https://dart-review.googlesource.com/c/sdk/+/39921

class KeyRow extends StatelessWidget {
  const KeyRow(this.keys);

  final List<Widget> keys;

  @override
  Widget build(BuildContext context) {
    return new Expanded(
      child: new Row(
        mainAxisAlignment: MainAxisAlignment.center,
        children: keys
      )
    );
  }
}

Is converted into:
class KeyRow extends StatefulWidget {
  const KeyRow(this.keys);

  final List<Widget> keys;

  @override
  KeyRowState createState() {
    return new KeyRowState();
  }
}

class KeyRowState extends State<KeyRow> {
  @override
  Widget build(BuildContext context) {
    return new Expanded(
      child: new Row(
        mainAxisAlignment: MainAxisAlignment.center,
        children: widget.keys
      )
    );
  }
}


[Feature request] Android auto compatibility

It would be nice if the Android app was compatible with Android Auto - ie. it shows in the list of apps when using Android Auto.  If my phone is paired with the Flipper, this would allow me to open my garage door directly from my Android Auto head unit.

@LionZXY  please assign it to me , I would love to work on it


MWPW-147601: sending ML field text to Analytics

sending user prompts in ML field to Adobe Analytics

Resolves: MWPW-147601
Test URLs:

Before: https://main--milo--adobecom.hlx.page/drafts/quiz/quiz-entry/?martech=off
After: https://stage--milo--jackysun9.hlx.page/drafts/quiz/quiz-entry/?martech=off&debug=quiz-entry

How to test:

use debug link: https://stage--milo--jackysun9.hlx.page/drafts/quiz/quiz-entry/?martech=off&debug=quiz-entry
check network log with filter "/ee"
You can also check the sending value in console log

@fullcolorcoder Unit tests will be added in the user story: https://jira.corp.adobe.com/browse/MWPW-149369


WIP: PR: Intent to make tests with Windows reproducible.

Description of Changes
Added time for one test fixture, hopping it will make the test reproducible with windows.
I don't know if this pull request is usefull for now. I will tell you after the tests ends.
Affirmation
By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.

I certify the above statement is true and correct:
ElieGouzien

Even if test pass, this pull request doesn't change anything, you should not merge it.

The proposed fix was useless.
I close this pull request and open the issue #11930.


MOB-M-7: iOS reject not called in failure case CovidShield::getRandomBytes

Defect Summary
When reviewing code in ../covid-shield- mobile/blob/add_device_capabilities/ios/CovidShield/CovidShield.m#L18, the SecRandomCopyBytes has returned an error.
Analysis of the Issue
Following the code path, SecRandomCopyBytes is supposed to be resolved later on withing the React framework. There was no evidence that was handled and the error was not handled properly.

Recommendation
Suggest to add error handling against SecRandomCopyBytes within React framework

https://developer.apple.com/documentation/security/1399291-secrandomcopybytes
Always test the returned status to make sure that the array has been updated with new, random data before trying to use the values. For example, to create 10 random bytes:
var bytes = [Int8](repeating: 0, count: 10)
let status = SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes)

if status == errSecSuccess { // Always test the status.
    print(bytes)
    // Prints something different every time you run.
}

While our code mimics the example as provided by Apple, we don't handle the failure case at all, so would recommend either throwing an exception up out of the IOS layer (reject?)
I'm not sure how we could validate at the react layer that the buffer returned isn't a successful random value, as even an empty buffer would be feasible.


⚠ Bofrost.at has degraded performance

In 6be414e, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1497 ms

Resolved: Bofrost.at performance has improved in 6b57873.


$containsAny

The following case: Our objects have a tags array and I want every object that has at least one of find({ tags : { '$containsAny': [ 'tag1', 'tag2' ]}
The same applys to views.
If this doesn't meet your requirements I am open for a workaround :)

I am not really sure if I already created this pull request und you declined it, because I couldn't find any notification about that.

Merged it a few minutes ago, did you get the notification? All good anyway!

Received this notification but not the last one, thanks anyways!


Mobiflight events

Is it possible to get information which Mobiflight events are supported, which one is the correct documentation.
All Mobiflight events are shown here: https://hubhop.mobiflight.com/#/
If I use eg "Mobiflight.AS3000_PFD_SOFTKEYS_1" a message is shown that this event is not supported otherwise it is working well.
This message is appearing because the event is not part of simconnect, correct?
The test of  suppported events should consider Mobiflight events.
If I look to the official Mobiflight documentation the name for this button should be:
AS3000_PFD_1_SOFTKEYS_1
Using this coding does not work.
Of course try an error is a possibility but not a convienient one.
All my test have been done with the latestet software release (Mobiflight and X-touch-mini-FS2020 using the default TBM930 from Asobo.
thx.

In the community folder you need the mobiflight-event-module (the mobiflight WASM). There in modules\events.txt is the list of all events which are currently mapped.
All those events are useable.


fix: release bundleURL after last use of _bundle

bundleURL is referenced, not copied, by _bundle which is why it shouldn't be released before the last use of _bundle.

After discussion @baconpaul  we concluded that _bundle keeps an inner copy of bundleURL which makes this PR obsolete.


Can't install nxc from pipx

Describe the bug
Can't install nxc from pipx
To Reproduce
Steps to reproduce the behavior
apt install pipx git
pipx ensurepath
pipx install git+https://github.com/Pennyw0rth/NetExec
Fatal error from pip prevented installation. Full pip output in file:
    /root/.local/pipx/logs/cmd_2024-01-29_07.15.33_pip_errors.log

pip seemed to fail to build package:
    aiosqlite<0.20.0,>=0.19.0

Some possibly relevant errors from pip install:
    ERROR: Could not find a version that satisfies the requirement argcomplete==3.2.1 (from netexec) (from versions: 0.1.0.macosx-10.4-x86_64, 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.1.5, 0.1.6, 0.1.7, 0.1.8, 0.1.9, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 0.2.5, 0.2.6, 0.2.7, 0.2.8, 0.2.9, 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.3.5, 0.3.6, 0.3.7, 0.3.8, 0.3.9, 0.4.0, 0.4.1, 0.4.2, 0.4.3, 0.4.4, 0.4.5, 0.4.6, 0.4.7, 0.4.8, 0.4.9, 0.5.0, 0.5.1, 0.5.2, 0.5.3, 0.5.4, 0.5.5, 0.5.6, 0.5.7, 0.5.8, 0.5.9, 0.6.0, 0.6.1, 0.6.2, 0.6.3, 0.6.4, 0.6.5, 0.6.6, 0.6.7, 0.6.8, 0.6.9, 0.7.0, 0.7.1, 0.8.0, 0.8.1, 0.8.2, 0.8.3, 0.8.4, 0.8.5, 0.8.6, 0.8.7, 0.8.8, 0.8.9, 0.9.0, 1.0.0, 1.1.0, 1.1.1, 1.2.0, 1.3.0, 1.4.0, 1.4.1, 1.5.1, 1.6.0, 1.7.0, 1.8.0, 1.8.1, 1.8.2, 1.9.2, 1.9.3, 1.9.4, 1.9.5, 1.10.0, 1.10.1, 1.10.2, 1.10.3, 1.11.0, 1.11.1, 1.12.0, 1.12.1, 1.12.2, 1.12.3, 2.0.0, 2.0.5, 2.0.6, 2.1.0, 2.1.1, 2.1.2, 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4, 3.0.5, 3.0.6, 3.0.7, 3.0.8, 3.1.0, 3.1.1, 3.1.2, 3.1.3, 3.1.4)
    ERROR: No matching distribution found for argcomplete==3.2.1

Error installing netexec from spec
'git+https://github.com/Pennyw0rth/NetExec'.

Expected behavior
Install nxc from pipx properly.
Screenshots
If applicable, add screenshots to help explain your problem.
NetExec info

OS: Kali NetHunter arm64
Version of nxc: v1.1.0
Installed from: pipx
pipx version: 1.2.0

Additional context
pip_errors log
PIP STDOUT
----------
Looking in indexes: https://mirrors.cernet.edu.cn/pypi/web/simple
Collecting git+https://github.com/Pennyw0rth/NetExec
  Cloning https://github.com/Pennyw0rth/NetExec to /tmp/pip-req-build-j8_kvrto
  Resolved https://github.com/Pennyw0rth/NetExec to commit 06ccf5eeec74f95afac02710e827e70245622375
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): finished with status 'done'
Collecting impacket@ git+https://github.com/Pennyw0rth/impacket.git@gkdi (from netexec==1.1.0)
  Cloning https://github.com/Pennyw0rth/impacket.git (to revision gkdi) to /tmp/pip-install-fsqhnot9/impacket_64fe581513354c118fa0cec43cd8e890
  Resolved https://github.com/Pennyw0rth/impacket.git to commit d370e6359a410063b2c9c68f6572c3b5fb178a38
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Collecting oscrypto@ git+https://github.com/Pennyw0rth/oscrypto (from netexec==1.1.0)
  Cloning https://github.com/Pennyw0rth/oscrypto to /tmp/pip-install-fsqhnot9/oscrypto_0bf96cdd6d5449908acdcc2a876b6182
  Resolved https://github.com/Pennyw0rth/oscrypto to commit dc418d54c4ab9149db2153f3942e1684a44e94ff
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Collecting aardwolf<0.3.0,>=0.2.7 (from netexec==1.1.0)
  Using cached https://mirror.nyist.edu.cn/pypi/web/packages/1f/58/7e34ee4d2909123efad4fea363a4c8a85cc1055f0d8ba79010d8af054b52/aardwolf-0.2.8.tar.gz (944 kB)
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
  Installing backend dependencies: started
  Installing backend dependencies: finished with status 'done'
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): finished with status 'done'
Collecting aioconsole<0.7.0,>=0.6.2 (from netexec==1.1.0)
  Using cached https://mirror.nyist.edu.cn/pypi/web/packages/71/f2/961b67bbe07661d24cfbe3497ba7d5a1c372a50e35d5d05abcefd3057d60/aioconsole-0.6.2-py3-none-any.whl (30 kB)
Collecting aiosqlite<0.20.0,>=0.19.0 (from netexec==1.1.0)
  Using cached https://mirror.nyist.edu.cn/pypi/web/packages/ef/4f/22d2edd4cd2a84e179f8c43806cb29cf03a344d2f27a7c6d5afef43bbe7e/aiosqlite-0.19.0-py3-none-any.whl (15 kB)
INFO: pip is looking at multiple versions of netexec to determine which version is compatible with other requirements. This could take a while.

  Running command git clone --filter=blob:none --quiet https://github.com/Pennyw0rth/oscrypto /tmp/pip-install-fsqhnot9/oscrypto_0bf96cdd6d5449908acdcc2a876b6182
ERROR: Could not find a version that satisfies the requirement argcomplete==3.2.1 (from netexec) (from versions: 0.1.0.macosx-10.4-x86_64, 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.1.5, 0.1.6, 0.1.7, 0.1.8, 0.1.9, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 0.2.5, 0.2.6, 0.2.7, 0.2.8, 0.2.9, 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.3.5, 0.3.6, 0.3.7, 0.3.8, 0.3.9, 0.4.0, 0.4.1, 0.4.2, 0.4.3, 0.4.4, 0.4.5, 0.4.6, 0.4.7, 0.4.8, 0.4.9, 0.5.0, 0.5.1, 0.5.2, 0.5.3, 0.5.4, 0.5.5, 0.5.6, 0.5.7, 0.5.8, 0.5.9, 0.6.0, 0.6.1, 0.6.2, 0.6.3, 0.6.4, 0.6.5, 0.6.6, 0.6.7, 0.6.8, 0.6.9, 0.7.0, 0.7.1, 0.8.0, 0.8.1, 0.8.2, 0.8.3, 0.8.4, 0.8.5, 0.8.6, 0.8.7, 0.8.8, 0.8.9, 0.9.0, 1.0.0, 1.1.0, 1.1.1, 1.2.0, 1.3.0, 1.4.0, 1.4.1, 1.5.1, 1.6.0, 1.7.0, 1.8.0, 1.8.1, 1.8.2, 1.9.2, 1.9.3, 1.9.4, 1.9.5, 1.10.0, 1.10.1, 1.10.2, 1.10.3, 1.11.0, 1.11.1, 1.12.0, 1.12.1, 1.12.2, 1.12.3, 2.0.0, 2.0.5, 2.0.6, 2.1.0, 2.1.1, 2.1.2, 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4, 3.0.5, 3.0.6, 3.0.7, 3.0.8, 3.1.0, 3.1.1, 3.1.2, 3.1.3, 3.1.4)
ERROR: No matching distribution found for argcomplete==3.2.1

Please try pipx install git+https://github.com/Pennyw0rth/NetExec@neff-deps and check if that works

Please try pipx install git+https://github.com/Pennyw0rth/NetExec@neff-deps and check if that works

It works！Thanks for your great help！

Good to here! We're gonna merge a hotfix

Additionally, could you build a release for Linux arm64 and macos arm64 so we can download it directly to use？

Doesn't the current ones work? Never worked with an arm based system yet.

It can work now, but my system is Linux ARM64, and there are many people who use ARM64 architecture Mac people

Okay can you try the native binary to see if it works? We don't have macs and can't check for errors

In my local system it works fine now


On async acks, store the full packet in core IBC

Summary
Currently relayers rely on the full packet being emitted in core IBC which results in all async acks storing the full packet to give back to core IBC. In the meantime, core IBC should be the one storing the packet for async acks so it occurs in one place and applications can rely solely on their packet data (and not the full packet)

For Admin Use

[ ] Not duplicate issue
[ ] Appropriate labels applied
[ ] Appropriate contributors tagged/assigned

Doing a migration for v1 IBCModule's might be difficult. It might be better to simply implement this functionality for packet v2/eureka. Thus the WriteAcknowledgementAsync function should take in a destination_id, destination_port sequence and ack
In the short term, transfer v2 should probably always default to sending v1 packets. It's probably a bit disruptive to have it use v2 packets for middlehops. The initial send could still be a v2 packet


Set loc when reading file

Set loc on reads
Set eof when reading past end of file
Call get_file_properties() in seek only with whence=2

introduced self._eof should be set not only in read() but in seek() as well. basically caching file size seems good idea.


[Menu] Incorrect full bleed divider

The new full bleed divider released in 1.1.0 for the Menu items is incorrect.
As you can see, when hovering the element, the background touches the "border".

But in the MD documentation, it's not the case.

I think having this modifier was not a good idea. Instead, we should integrate a new "Divider item", with a smaller height than a regular item.

Yea, the divider was a quick hack. In  testing v2 stuff a full divider element  is better. Nothing we can do about this until major though.


Incorrect display of Incubator distance.

Current incubator stats are incorrect.
Image
Maybe this is just template result until implemented?

It is implemented and I don't see it that way.
Quick question: on your phone, you have km or mile ?

I think I found it. Anybody wants to test from source to see if it is corrected?


Reduce number of log files kept to reduce memory usage

Issue #, if available:
Description of changes:
Since the canaries push logs to cloudwatch, it is not necessary to maintain old logs for a long time since for long runs, logs bloat the memory usage on Jenkins leader. This PR reduces number of logs to be maintained to 1 and keeps it for 2 days only to provide a little relaxation and flexibility to check failed job logs within 2 days.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

I understand it but why s it expensive to keep in both places? Some redundancy is ok. Ideally, we remove the logs after they have been successfully uploaded

When we long run these applications, the memory usage of the Jenkins leader shoots up because it saves the build history and we run out of memory within days. Ideally, if anything should go wrong, the expectation is to check what went wrong asap. If we want logs in 2 places, we can enable file logging in the application to allow logs to also be saved in the node the app is running. But, jenkins leader should not have a huge history kept over a week or two.

I understand it but why s it expensive to keep in both places? Some redundancy is ok. Ideally, we remove the logs after they have been successfully uploaded

When we long run these applications, the memory usage of the Jenkins leader shoots up because it saves the build history and we run out of memory within days. Ideally, if anything should go wrong, the expectation is to check what went wrong asap. If we want logs in 2 places, we can enable file logging in the application to allow logs to also be saved in the node the app is running. But, jenkins leader should not have a huge history kept over a week or two.
There is redundancy, just that we are reducing the depth of redundancy by tracking only most recent logs.

I would imagine that the file logger is the right thing to do. Let’s go with this change and cut an issue to move to file logger. It might mean having a custom logger for webrtc to push the logs to both file and cw


"limitations: only sequential writes supported" means "File appends or overwrite are not supported" ?

Tried  to append to a  file in the mounted dir(e.g echo "hello">>testfile)  ,failed. Error msg "write error: Operation not supported ".
IF File appends or overwrite are not supported now ,do we have a plan to support this in the furture release.
Thx!

Hi, is there any plan to implement append operation? (like for example s3fs simulates by downloading the entire file locally, doing the append and re-uploading).
It would be great to me as I would like to use mounted folders with goofys to manage git repos but unfortunatelly git operations like commit use append mode and form the second commit onward they will fail. I'm currently falling back to s3fs but the average difference in speed in my case is more than 5x with goofys, so it's a pity I cannot use it.
(BTW, thanks for your great work!)


Pagination that involves ordering

Pagination that involves ordering doesn't work.
Do you have any idea how to fix it elegantly?
Thanks.

I will look into this. Thanks for the report.

@vangavroche Are you sure it's not working? I just wrote a passing test.

According to the src  https://github.com/RisingStack/graffiti-mongoose/blob/master/src/query/query.js#L286
The "after" is always determined by the ID, ( > ID). So if there's some ordering, it will break.
Regarding your test, it works because the ordering ( NAME_DESC) happens to be the same as the ID order.
See
beforeEach(async function BeforeEach() {
      motherUser = new User({
        name: 'Mother',
        age: 54,
        bools: [true, true]
      });

      await motherUser.save();

      user1 = new User({
        name: 'Foo',
        age: 28
      });

      await user1.save();

      user2 = new User({
        name: 'Bar',
        age: 28,
        mother: motherUser._id,
        friends: [user1._id],
        objectIds: [user1._id]
      });

      await user2.save();
    });

Named descending order:  Mother > Foo > Bar
It is exactly the same order the records are inserted (which is also the order of the ID generated.)

@vangavroche You are right. I don't see an easy solution without MongoDB aggregations, but using those will be really painful. Do you see other solutions?

Other solution is extending logic of GQ cursor. For which this thing was introduced to GQ.
First solution
Use mongodb cursor via query_stream in mongoose and store in GQ cursor stringified id of stream, by which you can obtain real stream a load new portion of data
Pros:

no matter was added or deleted doc between your request, you get exactly next portion of docs

Cons:

cost memory on mongodb, each alive cursor
memory on nodejs
problem if client may be served via several backends
too many tricks and heave to code and test it

Second solution
If used custom sorting, you should store OFFSET instead of objectID in GQ cursor
Pros:

very easy and quickly solution to code it

Cons:

you can get elements again, or skip some of them (due may be added and removed some docs between requests)

Third solution
If used custom sorting, apply sorting with 0 offset, and request objects until you not get expected id in cursor. After that get needed amount of docs.
Pros:

easy solution to code it

Cons:

some problem with performance, if you ask data which have good offset eg. 1000 (need transfer via network 1000 docs before gets needed).

Fourth solution (combination of 2 and 3rd solution)
Store in GQ cursor OFFSET and ObjectID. Add some constant (of growth) eg 100 (this constant may be changed by developer). So you start query with OFFSET-100, read data until ID was reached, and after that read LIMIT number of documents. (BUT READ NO MORE THAN 100+100+LIMIT records. If you read this number of documents, you return last LIMIT records or begins new query with full scan).
Fifth solution
Aggregation framework
Sixth solution
Using sphinx or elasticsearch or some queue for obtaining next portion of IDs.
So... To be or not to be
Only developer knows, can he skip some data, or can show twice the same, can do fullscan for every request. Or use 3rd party solution. So I think that need create ability for pluggable adapters for connections.
No Silver Bullet for connections

Solve sorting problem in https://github.com/nodkz/graphql-compose-mongoose
The main secret in cursors:

for every document in cursor you should store values from fields, by which you make the sort (e.g.  .sort({ _id: 1, age: 1}) then you should construct such cursor base64(_id: 34ef85...34, age: 28)
sort can be proceeded only by unique indexes (to avoid overlapping)
when proceeding before and after arguments with the cursor, you should parse values from it and use them via search with operators .where({ _id: {$gt: 34ef85...34}, age: {$gt: 28}})


update k8s registry domain

What this PR does / why we need it:

update k8s registry domain

Part of https://github.com/kubernetes/k8s.io/issues/4780
/assign @hickeyma
Special notes for your reviewer:
If applicable:

[ ] this PR contains documentation
[ ] this PR contains unit tests
[ ] this PR has been tested for backwards compatibility

This is part of Kubernetes changing the image registry from k8s.gcr.io to registry.k8s.io

@hickeyma, the only one we need to change is the k8s.gcr.io/redis:e2e the other are not part of the kubernetes registry


Migrate tailwind to version 3

Upgrade Tailwind to version 3 and migrate the application accordingly.
:warning: The migration from tailwind version 2 to 3 includes some minor breaking change of utility classes. It will be necessary to be careful that the classes used in your customization are still ok.
See the upgrade guide from the official documentation https://tailwindcss.com/docs/upgrade-guide

🎉


Duplicate a state

[x] This contribution adheres to CONTRIBUTING.md.

What does this Pull Request accomplish?
Adds a "Dup" button next to the State Name.
Clicking on the Dup will duplicate the the current State configuration (Description, Connections list) and then assign a unique State Name and State Value before adding the newly-duplicated State to current Routing Channel.
Why should this Pull Request be merged?
The ability to duplicate a State is an important feature of the full Routing and Faulting custom device.
What testing has been done?
Manually built and interactive tested State duplication.

D.R.Y. Pull the common code into a subVI and update monotonically increasing VIs to call the subVI.

Wire terminals starting on the top left.

D.R.Y. Pull the common code into a subVI and update monotonically increasing VIs to call the subVI.

Wire terminals starting on the top left.

Agreed, done!


Bug: There is no ability to close individual work types or change their statuses
Bug: Remove leading comma in Address.

Bugs: (i.e. left-right scroll, no work type information)

Should look like:

New Bugs:

I visited https://app.staging.crisiscleanup.io/print_token/892f7eae-d301-4658-ad51-06a48430330d in FF, in a private window.
The page initially loaded and I saw two work type dropdowns. Bug: However, the dropdowns contained no status labels, and the dropdowns themselves were empty.
Bug: After a few seconds, the system forwarded me to a login page. Unable to reload, even in new private windows.

I suspect that the page is asking for authentication now, and can't load status information without auth.
Changed to Blocker.

Behaves just fine. Thank you.


[LAB-498] [LAB-497] pip coretools references incorrect cids

From SyncLinear.com | LAB-497
From SyncLinear.com | LAB-497

To Do:

[ ] pin and replace wrapped tool config cids

[ ] colabfold-standard
[ ] colabfold-large
[ ] bam2fastq
[ ] oddt
[ ] rfdiffusion
[ ] repeat modeler
[ ] gnina
[ ] openbabel_pdb_to_sdf
[ ] openbabel_rmsd

[ ] republish pip pkg with

@adamShimisoffer support with troubleshoot

The only cids that needed to be modified were gnina and batch_dlkcat. However, all of the tool configs with the exception of equibind, diffdock, colabfold-mini needed to be pinned again for fetching purposes.

pip pkg version updated and published v0.8.21


model.exists returning found object

Hi.
The documentation don't say much about what is return by exists
doc
Could it be possible to return the found object?

Hi, I'm pretty sure exists returns a boolean. If you're looking to check if a node exists and return the found object, you're best to use the where function.


Module 2 Exercise 3 [Alex Opoku Boateng]

Please "drag & drop" exercise 3 file below.

Please UPDATE THE TITLE of thi
Flood damage analysis map.docx
s "Issue" in the title bar above with your name.

Great work!


Allow no value for timeout in service configurations as it is allowed in the CLI

Allow not setting a timeout for service configurations and set a reasonable default value.
This seems to be the behaviour in the CLI too, a service configuration without a timeout value can be submitted there.

This was fixed in a previous commit and uses the service default.


fix fix tracing in the new scan node does not meet expectations

Proposed changes
Issue Number: close #14149

Remove unexpected tracing, like 'vscanner::scan'
Merge span vscnnode::get_next

Problem summary
Describe your changes.
Checklist(Required)

Does it affect the original behavior:

[ ] Yes
[x] No
[ ] I don't know

Has unit tests been added:

[ ] Yes
[ ] No
[x] No Need

Has document been added or modified:

[ ] Yes
[ ] No
[x] No Need

Does it need to update dependencies:

[ ] Yes
[x] No

Are there any changes that cannot be rolled back:

[ ] Yes (If Yes, please explain WHY)
[x] No

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 35.29 seconds
load time: 477 seconds
storage size:<PHONE_NUMBER>1 Bytes
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20221110085639_clickbench_pr_43308.html


Fix bug where task name is truncated when resizing window

Summary

Fixing Issue #253
Used a Label instead of a FlowPane to render the Priority tag.

Screenshots
Before:

After:

Codecov Report

Merging #266 (f4aac72) into master (7b9c48f) will not change coverage.
The diff coverage is 0.00%.

@@            Coverage Diff            @@
##             master     #266   +/-   ##
=========================================
  Coverage     48.54%   48.54%
  Complexity      382      382
=========================================
  Files            89       89
  Lines          1786     1786
  Branches        219      219
=========================================
  Hits            867      867
  Misses          821      821
  Partials         98       98

Impacted Files
Coverage Δ

src/main/java/seedu/address/ui/TaskCard.java
0.00% <0.00%> (ø)

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 7b9c48f...f4aac72. Read the comment docs.


Use string comparison because SIGURG is not available on all platforms

Using syscall.SIGURG caused Windows to not build.

oh, this was my fault lol
i am very surprised by the fact that the constant flat-out isn't available to the compiler on windows, rather than just never showing up at runtime

Ah yeah, i did the same thing 🤣https://github.com/trufflesecurity/overseer/commit/6e1f4d26c2297102c174621eedd9e68c926cc62e


docs: Added bouncing ball example in collision_detection examples and updated flame_forge2d to latest

Description
This PR adds two updates.

It updates the flame_forge2d to latest version i.e on pub.dev in examples and padracing projects.
Adds a bouncing ball example in the collision detection examples demonstrating a simple example of collision and bouncing of a ball from the walls around it.

Preview of the bouncing ball example added
https://user-images.githubusercontent.com/65209850/187041471-77635c70-b75a-4db6-b692-62899014e54f.mov
Checklist

[x] The title of my PR starts with a [Conventional Commit] prefix (fix:, feat:, docs: etc).
[x] I have read the [Contributor Guide] and followed the process outlined for submitting PRs.
[x] I have updated/added tests for ALL new/updated/fixed functionality.
[x] I have updated/added relevant documentation in docs and added dartdoc comments with ///.
[x] I have updated/added relevant examples in examples.

Breaking Change

[ ] Yes, this is a breaking change.
[x] No, this is not a breaking change.

Hey @spydon , made the changes you asked for.🙌

Lgtm, nice with so much less code with the ScreenHitbox

Exactly! 😅
Thanx for the reminder!


OWIN Web API - VersionedAPIExplorer registers additional routes

Hi,
Thanks for all the good work on a great API. We've previously used it successfully for an ASP.NET Core project. Currently however we ran into some issues when adding support for versioning in a Web API project when using OWIN and attribute based routing.
A bit simplified you could say we've implemented an optional base-controller in a referenced assembly and then we have a couple of controllers in a startup assembly:
namespace BaseAssembly
{
    public class CloudApplicationController : ApiController
    {
        [HttpGet]
        [Route("ping")]
        public virtual IHttpActionResult Ping()
        {
            return Ok();
        }

        [HttpGet]
        [Route("apiinfo")]
        public virtual IHttpActionResult GetApiInformation()
        {
            return Ok(new AssemblyInfoModel(GetType().Assembly));
        }

        ...
    }
}

namespace StartupAssembly
{
    [ApiVersion("1")]
    [ApiVersion("2")]
    [RoutePrefix("api/v{version:apiVersion}/books")]
    public class BookController : ApiController
    {
        private IBookService _bookService;

        public BookController(IBookService bookService)
        {
            _bookService = bookService;
        }

        [HttpPost]
        [Route("")]
        [AllowAnonymous]
        public async Task<IHttpActionResult> CreateBook(BookModel model)
        {
            var book = await _bookService.CreateAsync(model);
            return Created(string.Format("api/books/{0}", book.UID), book);
        }

         ...
    }

    [ApiVersion("2")]
    [RoutePrefix("api/v{version:apiVersion}/authors")]
    public class AuthorController : ApiController
    {
        private IAuthorService _authorService;
        private IBookService _bookService;

        public AuthorController(IAuthorService authorService, IBookService bookService)
        {
            _authorService = authorService;
            _bookService = bookService;
        }

        [HttpPost]
        [Route("")]
        public async Task<IHttpActionResult> CreateAuthor(AuthorModel model)
        {
            var author = await _authorService.CreateAsync(model);
            return Created(string.Format("api/author/{0}", author.UID), author);
        }

        ...
  }
}

We're using Autofac to register controllers and only register controllers from the startup assembly. When running this as a non-versioned api or using hard-coded versions for swagger as below
var apiExplorer = config.AddVersionedApiExplorer(o => o.GroupNameFormat = "'v'V");
config.EnableSwagger("{apiVersion}/swagger", c =>
	{
		c.MultipleApiVersions(
			(apiDescription, version) => apiDescription.GetGroupName() == version,
			info =>
			{
				info.Version("v1", $"Sample API 1 ... original");
				info.Version("v2", $"Sample API 2 .... version 2");

			});

everything works as expected, see attached screenshot "HardcodedSwaggerVersions.png" (only actions from startup assembly).
However when using VersionedAPIExplorer to dynamically detect the versions:
var apiExplorer = config.AddVersionedApiExplorer(o => o.GroupNameFormat = "'v'V");
config.EnableSwagger("{apiVersion}/swagger", c =>
	{
		c.MultipleApiVersions(
			(apiDescription, version) => apiDescription.GetGroupName() == version,
			info =>
			{
				foreach (var group in apiExplorer.ApiDescriptions)
				{
					info.Version(group.Name, $"Sample API {group.ApiVersion}");
				}
			});

then the resulting registered routes include actions from the basecontroller in the referenced assembly, see attached screenshot "DynamicSwaggerVersions.png".
Am I missing something obvious here? I'm a bit surprised over the fact that calling VersionedAPIExplorer to find out defined versions also will register additional routes from the referenced assembly.
Regards, Mats Björkman Eldh

I suspect this may have always been the case, even before API versioning. The VersionedApiExplorer is forked from the original ApiExplorer implementation and that's only because it was not very extensible. In terms of controller discovery and resolution, API versioning does not do anything special. It will use the registered routes and IHttpControllerTypes service to discover services just like the default implementation. In your first example above, I noticed you are cherry-picking the services you want rather than enumerating them all. That's probably why you get different results.
It appears  that CloudApplicationController is simply a generic controller that you include in applications that you just don't want to make discoverable. Fortunately, this is a first-class concept that continues to be honored by the VersionedApiExplorer. You just need to decorate your controller like so:
[ApiExplorerSettings( IgnoreApi = true )]
public class CloudApplicationController : ApiController
{
  // ommitted
}

That will make the controller excluded from the discover and enumeration. Let me know if that doesn't work.

You should be on your way to lighting up Swagger the way you want. If your issue is not resolved or you continue to encounter issues, feel free to come back. Thanks.