Retrain image classification networks with images of different size

I think it would be useful, to allow one to use a pre-trained image classification network as a feature generator for images with other shapes (greater width/height). At the moment this is forbidden as the images then do not have the same shape as get_expected_image_size() returns, which results in an exception.

This is definitely necessary, images are not so often square, and for any form of semantic segmentation.

I think it would be very useful to have access to the already provided image models up to their last convolutional layer so that something as what is suggested above is possible. This would allow the community to utilise this modules as backbone feature extractors in more general detection and segmentation tasks.

@jalabort accessing convolutional layers is already possible. Unfortunately, only with the predefined size.
p = tf.placeholder(tf.float32, [None, height, width, 3])
module(p, signature='image_feature_vector', as_dict=True)

See https://drive.google.com/file/d/10daL16CkUfhDaAo7MUIq7jiNVle3HmxG/view?usp=sharing

Hi. Could you tell me if a plan is in place to resolve this issue? I'd like to the pre-trained model as a feature extractor for images with unconstrained shape (not square). I hope this option will be added in future versions (tf 2.0?).

@vbardiovskyg  Any thoughts on this request ?

Hi @daegeumer, thanks for raising this. The tensorflow-hub 0.2.0 release has made some preparations for image modules with unconstrained input shapes. Due to limitations in some of the slim nets we are exporting from, this would not be possible for MobileNetV2 and (P)NASNet, but for our other networks.
With these constraints, is there still interest to get this fixed for TF1?

Hi @arnoegw . Absolutely! There are famous pretrained networks in the hub, as far as I know. For example, Resnet, InceptionNet. InceptionResNet. These feature extractors are can be used usefully for many researchers. But, in my opinion, it's better to add other famous pretrained networks like VGGNet, Alexnet, Xception, Darknet, etc. Thanks for accepting for this issue, and I hopefully to get this fixed soon in the future versions.

For Inception, ResNet, and MobileNet V1 (except quantops), module versions /3 (released today) now support variable-size inputs. For the full release announcement, see https://github.com/tensorflow/hub/issues/294.


fix: Unable to load and unable to logout from app

The type of this PR is: Bugfix

Description
We had few reports from users being unable to log out of the app and consistently getting the Unable to Load screen.
Implementation
The only way the error described above could occur and the user does not get logged out is if the user has no access token on the native side for some reason. By tracking back how this could be possible, I found out that during the signOut, which normally happens when the user access token is invalid or does not exist we do the following:

we clear the native state using a native module (this seem to have worked properly since we have no access token on the native side)
we logout from the social services (facebook, google)
we reset the global store and this triggers "the visual logout effect"

Since step 1 was successful from our observations, the issue is then in step 2 or step 3. For step 3 we had some errors in place that should be reported to Sentry if it was ever the reason but nothing was reported there. This leaves us with step 2 as a very likely candidate for the issue.
After checking the docs for both react-native-google-signin and react-native-fbsdk-next, I realized that we are not using what the docs describe to logout. We were missing to revoke access in google (this had no impact since it was being swallen silently) and on facebook, the logout call we were using is not recommended by the docs and can break the flow (see https://github.com/facebookarchive/react-native-fbsdk/issues/712#issuecomment-640012358).
Solution

Use recommended approaches to sign out from social logins
Make sure to render the My Profile Tab by leveraging the @optionalField
To avoid logging out the users who are already signed in, use the access token from the global store alongside the one coming emission in iOS

PR Checklist (tick all before merging)

[x] I have included screenshots or videos to illustrate my changes, or I have not changed anything that impacts the UI.
[x] I have tested my changes on iOS and Android.
[x] I have added tests for my changes, or my changes don't require testing, or I have included a link to a separate Jira ticket covering the tests.
[x] I have added a feature flag, or my changes don't require a feature flag. (How do I add one?)
[x] I have documented any follow-up work that this PR will require, or it does not require any.
[x] I have added an app state migration, or my changes do not require one. (What are migrations?)
[x] I have added a changelog entry below or my changes do not require one.

Changelog updates
Changelog updates

Cross-platform user-facing changes

iOS user-facing changes

Android user-facing changes

Dev changes

Unable to load and unable to logout from app

This PR contains the following changes:

Dev changes (Unable to load and unable to logout from app)

  Generated by :no_entry_sign: dangerJS against a63498977e25a79e34d02a5d1062be83b97fc85c


Feature Request - UDP support

Please describe your use case / problem.
Use case, need to load balance/proxy UDP traffic between network devices and application which is running on k8s. Device sends SNMP notification to the application via UDP only
Describe the solution you'd like
Ambassador should be support routing of UDP traffic.
Envoy Proxy looks like already support UDP now
https://github.com/envoyproxy/envoy/pull/5108

Can anyone please update on this ?

We also have this use case. Being based on envoy which supports UDP is what made us consider Ambassador.

We'd love to have a community member contribute a PR on this! @asitaru? @prakash-halan?

We need this feature as well for UDP support.

We need this feature as well

Why is this issue closed?
It is a valid feature request to have UDP support. Moreover when you have a type TCPMapping. To match parity, there should be a UDPMapping as well. There are many services that could use such a thing and people are bound to have some hacks or workarounds for this now.

@richarddli Can this issue be re-opened? Kubernetes is adding support for UDP in the Loadbalancers https://github.com/kubernetes/kubernetes/issues/40244

I copy pasted the issue an reopened a new one.

Re-opening. Sorry about that.
I'm not sure what happened with stalebot here:

Yet we only added stalebot this calendar year (2020).

+1 for this feature

+1 for this feature

Any update on UDP support? @nbkrause similar to TCP Mapping as @buehler mentioned

I also need this feature.

I need this feature!

I would like this feature as well. A lot of my services require UDP.

Would love to have this feature too.


Word  / Tag Cloud UI

I am looking for a TagCloud / WordCloud UI for iOS that I could embed in my app.
I've already implemented a TagCloud by myself - however it is not very elegant / can'T really compare with Wordle  .... Is anybody there that would like to contribute that ?

DBSphereTagCloud is the best lib I found.
For a better UI and UX, I'd recommend using 2D tags, and those you can find at our /Tag Section
Hope I was able to help! 😄

I'm gonna close this. Let me know if there's anything else I can help you with!


Implements nested option for TableSet.to_json. Also add indent option. Closes #417

Implements nested option for TableSet.to_json. Also add indent option from Table.to_json.
I changed an existing parameter name for dir_path to path and defined it as either a directory path or a file path/file-like object depending on the value of nested. If you prefer I leave the dir_path parameter as is, I can add an additional parameter file for file name/file-like object and adjust the implementation accordingly.

Love it, you rock.

:+1: glad to contribute


Add Validation & Submission API for FxOS Add-ons (bug 1196223)

https://bugzilla.mozilla.org/show_bug.cgi?id=1196223
Goes nicely with https://github.com/andymckay/curling/pull/28 (but it's also testable using curl + shared secret, as long as you use --data-binary and set the expected headers correctly)

lgtm, i guess indexers are coming next?

Next on my list is getting the list of addons you've developed and then the ES work yeah


Restler Engine Failed

Hello,
I'm using Oauth to test my system with the output by following:

However, when I use test engine, the successful request coverage is zero:

In Additions, the network-testing log in Test Folder gives:

My oauth_token.py looks like this:

I cannot find the error.
Thanks for help!

Hello @rreexxllii0310,
Does it resolve the issue if you add the full path to python to your command line?
--token_refresh_command "<full path to python> /restler_bin/restler/tokenfiles/oauth_token.py"
Thanks,
Marina

Hello @marina-p,
I have tried the full path with:
/home/rex/restler_bin/restler/tokenfiles/oauth_token.py
But it still got error

Hello,
The command line you showed above does not have the python executable in it.  Could you please try adding it?
/usr/bin/python3 /home/rex/restler_bin/restler/tokenfiles/oauth_token.py

Hello @marina-p,
It works with
--token_refresh_command "/usr/bin/python3 /home/rex/restler_bin/restler/tokenfiles/oauth_token.py"
Thanks for helping!

Hello,
I experienced the issued again.

I think something is wrong after I changed the workingDirPath with comilation.

It seems to be the connection problem, I can use my token.py to test.
Besides, I also eager to know how to check if RESTler has correctly sent the request with token.
I test with ./Restler test --grammar_file Compile/grammar.py --dictionary_file Compile/dict.json --no_ssl --token_refresh_command "/usr/bin/python3 /home/rex/restler_bin/restler/tokenfiles/oauth_token.py" --token_refresh_interval 720
got 301 response status code

However, when I tried to use postman to send the request with basic authorization, it got 200

Hello,
I gave up to use the previous method, and tried to use cookie to login to test api, since my application didn't support for using token to login.
I set up the cookies in restler_custom_payload_header in dict.json, and compiled with the config.json:
config.json:
{
    "SwaggerSpecFilePath": [
        "../specification/scratchtalk.yaml"
    ],
    "CustomDictionaryFilePath": "dict.json"
}

dict.json:
{
    "restler_fuzzable_string": [
        "fuzzstring"
    ],
    "restler_fuzzable_string_unquoted": [],
    "restler_fuzzable_datetime": [
        "2019-06-26T20:20:39+00:00"
    ],
    "restler_fuzzable_datetime_unquoted": [],
    "restler_fuzzable_uuid4": [
        "566048da-ed19-4cd3-8e0a-b7e0e1ec4d72"
    ],
    "restler_fuzzable_uuid4_unquoted": [],
    "restler_fuzzable_int": [
        "1"
    ],
    "restler_fuzzable_number": [
        "1.23"
    ],
    "restler_fuzzable_bool": [
        "true"
    ],
    "restler_fuzzable_object": [
        "{ \"fuzz\": false }"
    ],
    "restler_custom_payload": {},
    "restler_custom_payload_unquoted": {},
    "restler_custom_payload_uuid4_suffix": {},
    "restler_custom_payload_header": {
        "Cookie": [
            "connect.sid=s%3AhtPfx_JPbdCJKI-6_gGmktUciAXgLl51.YjCkK0Eh4PGPwCpxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
        ]
    }
}

Then the grammar.py looks like:

However, when I tried to test, it failed and got this error in EngineStdErr.txt:

How can I solve it?
Thank you!

Hello @rreexxllii0310,
I cannot tell from the above why you are getting this error.  Which version of RESTler are you using?    Is this error only present if you add the custom payload with the cookie to the dictionary?
Thanks,
Marina


[QUESTION] Get column headings for large file

Package Version: 2.1.2
Laravel Version: 5.2
I have a large Excel file, created by this package. It has around 40,000 records in one sheet, 15,000 in another.
All I need are the header columns from the first sheet, and optionally, the first 5 records. It is taking 5 minutes to load the file. Adding the chunk filter reduces the time to two minutes.
Is there any way to get the header columns without having to chunk data or load large amounts? Or set a limit on the number of rows required, before it is loaded?
Also, when using chunks, is there a way to only run the first chunk? If I return in my function, I think it still gets called again for the next chunk.
Thanks.

Hello,
Please use the provided github issue template (https://github.com/Maatwebsite/Laravel-Excel/blob/2.1/.github/ISSUE_TEMPLATE.md) which was automatically inserted on issue create. Without the template, we are not able to efficiently look at your issue/question/proposal.

I've updated with the version numbers. As this is a question, I don't see what else I can add that will help.

Try using ->take(5), it will stop the executing of the parsing after 5 rows.
If that would still be heavy, you could try to use chunk and stop executing after the first 5 rows:
->chunk(5, function( ) {
     // do stuff

     // Stop loading
     return true;
});

Returning true inside the chunk closure will stop the loading.


Add smooth transition to login and send otp buttons

When buttons are hovered upon, they are kind of harsh, so I would like to add a smooth transition to make it look nicer.

@supzi-del
Can you please elaborate a bit more on which buttons are harsh. Or some screenshots of that buttons.

Sure @supzi-del
Go ahead.
Also try keeping the color theme of the application relatable.

Sure. I am working on it under LGM SOC'21. Can you please add the label?


Menus from DBeaver appear on every workspace

Description
Open a menu on DBeaver

The menu shows up on unrelated workspaces everywhere and can only be closed when returning to DBeaver workspace and closing it there.

Sometimes this happens also with tooltips
DBeaver Version
Community 23.2.4
Operating System
Fedora 41 Sericea (Sway/Wayland)
Database and driver
N/A
Steps to reproduce

Open DBeaver
Open a menu from the menubar
Switch to a different workspace
Menu bar shows up on unrelated workspaces

Additional context
No response

Or sometimes this happens also with tooltips, see below a randomly appearing tooltip from DBeaver showing up on a different workspace from where the app is running. I could not find out how to replicate this for tooltips, they just happen once in a while...

I switched to the Flatpak version of 24.2.3 and I cannot reproduce this. But I noticed that the Flatpak version now runs natively under Wayland without XWayland, so this might be actually working now. I haven't tried the latest non-flatpak without XWayland, so not sure if that works also - the only reason I avoided the Flatpak were some past issues:

https://github.com/flathub/io.dbeaver.DBeaverCommunity/issues/158
https://github.com/flathub/io.dbeaver.DBeaverCommunity/issues/156
But I'm going to give it another try now, maybe I'll mask it from updates so it doesn't break. Closing this for now, it seems the latest flatpak does not has this problem anymore.


(ForumsTeam) Update on Disk sizes and performance

Under the section:
Default Azure disks
Operating system disk - Operating system disks can be sized up to 1 terabyte,and hosts the VMs operating system.
It has been updated to 4TB for Azure VMs
Blog link: https://azure.microsoft.com/en-in/blog/azure-introduces-new-disks-sizes-up-to-4tb/
Under the section:
VMs disk types-> Premium disk performance
It's stated that Premium disks come in three types (P10, P20, P30), the size of the disk determines the disk type. When selecting, a disk size the value is rounded up to the next type. For example, if the size is below 128 GB the disk type will be P10, between 129 and 512 P20, and over 512 P30.
Can we update that Large Disks are currently available in all Azure regions i.e P40(2TB) and P50(4TB) including IOPS Perdisk and Disk Bandwidth.
Blog Link: https://azure.microsoft.com/en-in/blog/azure-introduces-new-disks-sizes-up-to-4tb/

@neilpeterson: Could you please review my PR request & merge or provide your feedback.

@vsubm : Thanks for your contribution to the Azure documentation! The author, @neilpeterson, has been notified to review your proposed change.

@vsubm thanks.
#sign-off


Show aliances in track list if they exist

When tracking alliances, show that info on the dashboard even if alliances are disabled.

Done in #170


Link 'Collaborate With Us' buttons in mdSmall displays

Overview
Link the buttons on the Collaborate with us page, Accessed under Radical Collaboration folder.
Action Items
Add 'componet={Link}' to  component on PhotoCardMobile.js. Add a 'to' prop to all 'Images' objects on RadicalCollaboration/index.js.
Resources/Instructions
src/pages/RadicalCollaboration/index.js
src/pages/RadicalCollaboration/PhotoCardMobile.js

PR #799 will close this issue.


Animation didn't work on IE 11, fine on latest Chrome and Safari

Beforehand, thank you for creating anime.js!
I used it on my website for page transition. Today, I opened hotjar and realized that animation didn't work on http://www.philipyoungg.com
I tried it on IE and it really doesn't work. Other website that I tried is on http://clock.philipyoungg.com. I used set interval to update the clock hand. Funny that it doesn't work on IE too.
Any help would be appreciated!

OK, I just updated to 2.0.2 and it's fixed now. Can you tell me what is the main culprit?

@juliangarnier just updated and checked on a windows laptop. Still broken.


Please fix local/code-translation-remind violations in replEditor.ts and repl.contribution.ts

yarn eslint was broken for some time and I re-enabled it today. However eslint failures were reported in replEditor.ts and repl.contribution.ts and I disabled them. Please have a look and fix the corresponding errors.

@dbaeumer - I'm not sure what that rule is - do you know if it's documented somewhere?
Also, when I remove that ignore comment and run yarn eslint locally, I don't see any failures.

Tyler helped me find it. I don't see lint warnings for this for some reason, even though I have the dbaeumer.vscode-eslint installled and enabled


Security fixes by Dependabot

haven't tested the fix, but looks straight forward. Maybe check it builds ok just in case

I will fix the build at a later time. Maybe I'll fix the github action to push auto incremental versions to nuget.org too. Though I would like to thank you for your pull request! And wish you a wonderful summer!

thanks, same to you


Reverse IOS token generation for business accounts

When using iOS registration, personal account can be registered successfully, but business account bad_token.

Yeah unfortunately I have reversed the token generation algorithm for business accounts only on Android

Done


JS error when the terminal width is short

Reproduce:
https://github.com/Jinjiang/reproductions/tree/voici-20230503
I guess the trigger is when the header name of a column is longer than its content.
The error log:
/Users/....../reproductions/node_modules/.pnpm/voici.js@2.0.0/node_modules/voici.js/dist/table.js:173
        return this.config.padding.char.repeat(size);
                                        ^

RangeError: Invalid count value
    at String.repeat (<anonymous>)
    at Table.getPadding (/Users/....../reproductions/node_modules/.pnpm/voici.js@2.0.0/node_modules/voici.js/dist/table.js:173:41)
    at Table.buildCellContent (/Users/....../reproductions/node_modules/.pnpm/voici.js@2.0.0/node_modules/voici.js/dist/table.js:348:54)
    at Table.buildHeaderCell (/Users/....../reproductions/node_modules/.pnpm/voici.js@2.0.0/node_modules/voici.js/dist/table.js:487:32)
    at Table.buildHeader (/Users/....../reproductions/node_modules/.pnpm/voici.js@2.0.0/node_modules/voici.js/dist/table.js:501:40)
    at Table.toString (/Users/....../reproductions/node_modules/.pnpm/voici.js@2.0.0/node_modules/voici.js/dist/table.js:96:22)
    at Table.print (/Users/....../reproductions/node_modules/.pnpm/voici.js@2.0.0/node_modules/voici.js/dist/table.js:121:26)
    at Object.<anonymous> (/Users/....../reproductions/index.js:18:7)
    at Module._compile (node:internal/modules/cjs/loader:1105:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)

Thanks.

Hi @Jinjiang,
thanks for your feedback! I was able to reproduce your error. Seems like it crashes when the terminal's window width isn't big enough. I'll take a look on it.

Will be fixed in #22.


Fix logging bug

Corrected the variable name in the log message for the "PauseFreePackagesWhilePlaying" case to reflect the actual value of pauseWhilePlaying instead of isEnabled.

Thanks


Semi-colon detection in match and loop blocks

match
I've noticed that semi-colons added after a match block are not included after dojo parses the code. This creates issues with match in loop blocks, resulting in a Tail expression not allow in a `loop` block.  error.
https://github.com/dojoengine/dojo/blob/537ce490c16a2f775be209051c3072f6986748d5/crates/dojo-lang/src/system.rs#L279
loops
atm for loops this is automatically included, but there should be a way to include only if detected.
https://github.com/dojoengine/dojo/blob/537ce490c16a2f775be209051c3072f6986748d5/crates/dojo-lang/src/system.rs#L226

@tarrencev i've been attempting to solve this issue by detecting the semi-colon at the end of a StatementExpr block using it's semicolon() method and adding it back if detected.
problem is that i can see in the tests files that sometimes it will add a semi colon 2 times ...
examples:

https://github.com/aymericdelab/dojo-aymeric/blob/e573a7b36acced7b9f9c6256342d7151d3d5cfe3/crates/dojo-lang/src/plugin_test_data/system#L391

https://github.com/aymericdelab/dojo-aymeric/blob/e573a7b36acced7b9f9c6256342d7151d3d5cfe3/crates/dojo-lang/src/plugin_test_data/system#L790


"No device" in VSCode for web

Vs Code cannot detect Chrome device for debug on MacOS Catalina.

(base) nkise@Nikitas-MacBook-Pro frontend % flutter devices
2 connected devices:

Web Server • web-server • web-javascript • Flutter Tools
Chrome     • chrome     • web-javascript • Google Chrome 83.0.4103.97

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, 1.18.0-11.1.pre, on Mac OS X 10.15.5 19F96, locale en-UA)
[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed
      instructions).
      If the Android SDK has been installed to a custom location, set ANDROID_SDK_ROOT to that
      location.
      You may also want to add it to your PATH environment variable.

[✗] Xcode - develop for iOS and macOS
    ✗ Xcode installation is incomplete; a full installation is necessary for iOS development.
      Download at: https://developer.apple.com/xcode/download/
      Or install Xcode via the App Store.
      Once installed, run:
        sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
        sudo xcodebuild -runFirstLaunch
    ✗ CocoaPods not installed.
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to
        your plugin usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To install:
        sudo gem install cocoapods
[✓] Chrome - develop for the web
[!] Android Studio (not installed)
[✓] VS Code (version 1.45.1)
[✓] Connected device (2 available)

! Doctor found issues in 3 categories.

Also this devices are not listed

Hi @kinivi
isn't it shown after reopening VSCode?

Hi @kinivi
isn't it shown after reopening VSCode?

No :( I have tried to set CHROME_EXECUTABLE in .zshrc and restart a computer, but it didn't show up.

The project was created by last guide on Flutter web

@kinivi
please file the issue to the [Dart and Flutter support for VS Code repository ] (https://github.com/Dart-Code/Dart-Code/issues) and tag the current one there.
Closing since it seems to be not an issue with flutter itself,
comment if it turns out the problem is not only with Dart and Flutter plugin for VSCode and I'll reopen

@VladyslavBondarenko the issue was in that flutter doesn't create web folder by default. I thought it was creating, but it is running without it. So this confused me


Release to Maven Central

Having a library at central would simplify parsing/analysis of the hpl files from other applications.

@RichardWarburton if you want to outline some pre-requisite tasks to release I can try and help out.

I wouldn't want to release anything until the log file format is properly stabilised.
I think the main thing is actually fixing #106 tbh. We should probably also add versioning to the log file format.

What's the problem with releasing "as is", and improving the format later?
Alternative options are:

pulling hpl parser to one's own codebase
forking honest-profiler & releasing it

Both look worse than having a honest-profiler release.

@vlsi I think log format version is important (and easy to add), but otherwise agree

Good question! Unversioned file formats are basically a terrible mess, that lead to confusion. I have no idea why I didn't version the format to begin with. I don't want to release without versioning. This is probably not too much work though, would happily accept a patch if someone will volunteer one.
You're right that the current options are unappealing though. I guess the issue of making the file format more reliable can be deferred. Would be an easy change to make if we had versioning.

For "future compatibility" one can just use magic number in a file header.
That way a proper file format can be implemented in a timely manner:

"old format" (the one without magic number) does not get changed
"new format" (the one with versions, etc, etc) can be planned with no hurry

If one just adds version prefix, that will make previous files unreadable.
nitsanw> I think log format version is important (and easy to add)
It is important. However, I think "absence of magic header and absence of version" qualifies as "version 0" of the file format. Future versions could either ignore "old format", or they could fall-back to this old format parser in case header is missing. That is exactly the same processing you'd end up with in case you do have different version numbers in the header.
Being able to release could even attract developers/users.

Recording from offline conversation:

As a first step towards release it would be good to tackle outstanding mega PR #173
Modularize build/code as per #65
At this point I suggest we consider a tag as an easy primitive release if dealing with a full on maven central release is considered too heavy weight.

In the meantime I've added new features on the integration branch on my fork (by branching then merging, to somewhat separate the various features and fixes). If nobody has started reviewing #173, wouldn't it make sense to merge integration into the PR ? If anything, there's more documentation, and the code should have become cleaner and clearer. On the minus side, yes, there's even more of it.

@PhRX please continue discussion on relevant ticket

@nitsanw Sorry, done. I considered it relevant as it might affect exactly what is being released, given a number of fixes on the integration branch which are important for the master (== PR) branch.


vscode-extensions/rust-analyzer: pin rollup dep to avoid regression.

Motivation for this change
Closes #132938 . We need to pin rollup to avoid https://github.com/rollup/rollup/issues/4195. I was able to reproduce the issue & this fixes it.
I feel it would save us a lot of trouble if we also used the extension's package-lock.json to generate rust-analyzer-build-deps. Is there a reason we don't already do this?
Things done

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

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

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.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

[ ] Fits CONTRIBUTING.md.

@yaymukund

I feel it would save us a lot of trouble if we also used the extension's package-lock.json to generate rust-analyzer-build-deps. Is there a reason we don't already do this?

Currently we resolve all node packages in nixpkgs together at once, ignoring locks, into a bundled node-packages.nix. It is to reduce the number of node packages referenced and reuse them as possible. Upstream lock files are usually locked at different time and seldomly update. If we use individual lock files for packages, there would be various versions of each dependency being referenced. It would make the overall closure quite huge and break the goal of reusing and sharing packages as possible.

That makes sense. I suppose the long-term solution will be to switch to buildVscodeMarketplaceExtension or perhaps bundle it in https://github.com/oxalica/rust-overlay [1] once it leaves nightly / preview status.
1: while we're here, thanks for writing / maintaining that overlay

I suppose the long-term solution will be to switch to buildVscodeMarketplaceExtension

That's possible.


Count the established HAProxy connections

This is more accurate than asking HAProxy since it loses its statistics after every reload.

👍

https://ocd.appscale.com:8080/job/Daily Build/3564/


v4: .container width on small viewports

.container has a defined max width but no width on smaller viewports, which causes it to shrink.
See the codepen http://codepen.io/hypeJunction/pen/KWBwdg from #22259, which also demonstrates this issue.

Dupe of #21590, fixed in v4-dev by #21722.


Added subscription client callback handlers

fixes #51
With the current scope, there is no need to specifically handle different callbacks of subscription handlers.  This PR defines different callbacks and logs it.
In the future, these handlers can be extended as needed.

We might want to think of shutting down the process if the connection couldn't be established after the max number of retries we could make.
Thoughts ?


Fixes #117537: Allow coping rich text when 'editor.fontFamily' has fallback fonts

This PR fixes #117537.

Hi, @alexdima.
In fact, this method is actually used to copy rich text, see this commit.
As for support for commas or single/double quotes in font-family names, I’ve added a commit.
However, the code is a little complicated. Any suggestion?


Consider contributing to the GitHub integration.

The impetus for PullBot was similar to this issue: https://github.com/integrations/slack/issues/519
I might attempt to add open a PR on there soon to solve this issue. There are some nice things about the existing GitHub integration that we don't get automatically with PullBot 😕 like better Markdown formatting and image rendering. The GitHub integration also allows you to subscribe to other things like issues and other stuff.
GitHub integration:

Versus PullBot:

With PullBot we have a good amount of control, and we could add features, but it could be helpful to the community to tackle https://github.com/integrations/slack/issues/519, and work with them to add things like github avatars, middleware, etc.


Update alert grouping log/metrics text

This is old way. With alert grouping, this text is not correct anymore. Can you suggest @rmamilla-sumo ?
Originally posted by @ndhar-sumo in https://github.com/SumoLogic/sumologic-documentation/pull/3291#discussion_r1384073982

Pull request: https://github.com/SumoLogic/sumologic-documentation/pull/4787

The article is updated:
https://help.sumologic.com/docs/alerts/monitors/create-monitor/#step-3-notifications-optional


Upgraded to egui 0.17.0 and Tetra 0.7.0

Thank you for the PR, and sorry for the delay in getting back to you.
Would there be any major challenges in upgrading to egui 0.18.0 (which came out today)? I'm not asking you to do it specifically, but if it would be a lot of work then it might be worth publishing a new version with egui 0.17.0 support while somebody else (not me) works on 0.18.0 support.
(I say not me because to be honest, I might just archive this project, given that Tetra is no longer actively developed.)

No prob, I'll have a look at 0.18.
Yeah, Tetra no longer being maintained has made me wonder whether I should move my game to something else.

Ok, I've added egui 0.18 support.
Just a note, the PaintCallback feature has not been implemented, so there isn't support for custom rendering inside of an egui region. https://docs.rs/epaint/0.18.0/epaint/struct.PaintCallback.html

@devmeat My apologies, I totally forgot to merge this in. Do you still want me to merge it?


Add nvm prompt segment

Prints out the Node version that is currently active if it is different than the default version specified by NVM.

At the moment, this doesn't do anything to give the user the option to show it all the time, or show it conditionally, although I'm in favor of making that a feature.  Having the information in the prompt is super useful, but doing so only when it's necessary is even better.
I wonder what the best way to provide that configuration is, though.  Ideally, I really only want the version to show up if I'm working on a Node project, and that could be discovered easily enough by checking for a package.json file, which would most likely be present.  I'm just not sure how that should interact with the default/non-default version setting, or if it would be better to ditch the default/non-default option all together in favor of detect a Node project instead.

@alexlafroscia - Great contribution! Thanks so much!
I agree with you regarding the conditional display. I would like to find a way to do this consistently for all segments that would benefit from this. @dritter has opened an issue, #115, where we can discuss this and figure out how to do it in a smart, clean, and efficient way.
Thanks again for the PR! Happy hacking!


Warning + No View error

When opening the app I immediatly get this warning. When I click OK everything stays the samen and nothing loads.

This ^

Duplicate of #1. Which language/timezone are you using on your system?

I am closing this one, if you have any comments please keep posting on #1 . Thanks.


[Question] Default username?

I just installed the Docker image and have it running. What's the default user name to login? I'm not seeing anything in the Docker documentation or the Wiki.
Do I have to create a user via the CLI?

Also, whenever I try to run a Terminal command with the Docker image, I get:
OCI runtime exec failed: exec failed: containter_linux.go:345: starting container process caused "exec: "mango": executable file not found in $PATH": unknown
The page at port 9000 does load properly though and shows me the login prompt.

Hi, the default username and password is printed in the console when you start Mango for the first time. Please see https://github.com/hkalexling/Mango#initial-login
For the second question, it looks like a Docker issue: https://github.com/docker/for-linux/issues/246. I can't reproduce it and it's not caused by Mango itself. You can try some of the most-upvoted solutions in the thread and see if they help.

Hi, the default username and password is printed in the console when you start Mango for the first time. Please see https://github.com/hkalexling/Mango#initial-login
For the second question, it looks like a Docker issue: https://github.com/docker/for-linux/issues/246. I can't reproduce it and it's not caused by Mango itself. You can try some of the most-upvoted solutions in the thread and see if they help.

It forces me to use nonsense password THEN breaks install because I tried passwords it didn't like.


Group etcd-druid dependency updates

How to categorize this PR?

/area dev-productivity
/kind enhancement
What this PR does / why we need it:
Group etcd-druid PRs together, e.g. https://github.com/gardener/gardener/pull/10748 and https://github.com/gardener/gardener/pull/10747.
Which issue(s) this PR fixes:
Special notes for your reviewer:
/cc @oliver-goetz
Release note:

NONE

/test all

Thanks 🚀
/lgtm
/approve


OpenApi with swagger is not returns the correct defined response.

Describe the issue
Not getting proper response which defined into my swagger schema, I think it's not mapping the defined references of response object.
It's always returns the same value in case of GET, PUT,POST for any end points( ideally it should return the values as defined into swagger schema response part)
What you are trying to do
I want to get mock response by calling defined openApI expectation. It's matching fine with expectation but not giving the response defined schema.
MockServer version
5.11.0
To Reproduce
Steps to reproduce the issue:

I am using node client and running from grunt start_mockserver command.

Code you used to create expectations
example_failing.zip

function matchRequestByOpenAPIOperation() {     var mockServerClient = require('mockserver-client').mockServerClient;     mockServerClient("localhost", 1080).openAPIExpectation({         "specUrlOrPayload": "/mockserver-client-node/examples/openapi_expectations_examples/swager.json"     }).then(         function () {             console.log("expectation created");         },         function (error) {             console.log(error);         }     ); }

What error you saw
I am not getting any error but all the time getting same response( in case of GET, PUT,POST).

Expected behaviour
In case of success :
it should map with swagger response 200 schema properly. For example see below response.
responses": {           "200": {             "description": "OK",             "schema": {               "type": "object",               "properties": {                 "results": {                   "type": "array",                   "items": {                     "$ref": "#/definitions/FileAttachment"                   }                 }               },               "required": [                 "results"               ]             }           },           "400": {             "description": "Bad Request",             "schema": {               "$ref": "#/definitions/RestException"             }           },           "403": {             "description": "Forbidden",             "schema": {               "$ref": "#/definitions/RestException"             }           }         }
So my expected response is:
{     "results": [         {"fileName": "abc.jpg", "id": "216786a2awei-sh", "mimeType": "jpg"}],     "paging": {         "nextPage": "some_string_value"     } }
But getting always this:
{     "results": [         {             "id": "some_string_value",             "title": "some_string_value",             "body": "somebody",             "availability": {                 "duration": {                     "type": "Permanent",                     "start": "2018-11-13T20:20:39+00:00",                     "end": "2018-11-13T20:20:39+00:00"                 }             },             "showAtLogin": true,             "showInCourses": true,             "created": "2018-11-13T20:20:39+00:00",             "modified": "2018-11-13T20:20:39+00:00"         }     ],     "paging": {         "nextPage": "some_string_value"     } }
MockServer Log
I attached my working example.
Here is CURL command to run the API.
curl --location --request GET 'http://localhost:1080/learn/api/public/v1/courses/math101/contents/_123_1/attachments'
--header 'Cookie: Cookie_2=value'
--data-raw ''

The swagger example you have provided is for Swagger 2.0 but the website states only OpenAPI 3.0.0.  In addition when you submit this example an error is returned from the API.

I am closing this issue because the error is caused by submitting a version that is not supported as documented here: https://mock-server.com/mock_server/using_openapi.html

I am closing this issue because the error is caused by submitting a version that is not supported as documented here: https://mock-server.com/mock_server/using_openapi.html

Hey,
I am using OpenAPI v3 in that case also it's not working.
find my attached openApi file with no error.
openapi.zip

I am closing this issue because the error is caused by submitting a version that is not supported as documented here: https://mock-server.com/mock_server/using_openapi.html

Btw I am not getting any error with 2.0.  It returned the response very fine.

You can see from the logs that a curl request as follows:
curl --location --request GET 'http://localhost:1080/learn/api/public/v1/courses/math101/contents/_123_1/attachments' \
--header 'Cookie: Cookie_2=value' \
--data-raw ''
{
  "results" : [ {
    "id" : "some_string_value",
    "title" : "some_string_value",
    "body" : "

Header Large

Header Medium

Header Small

Bold Italic Italic Underline

Bullet 1

Bullet 2

     \"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\"

<braces test=\"values\" other=\"strange things\">

Header Small

Number 1

Number 2

Just words followed by a formula

<img align=\"middle\" alt=\"3 divided by 4 2 root of 7\" class=\"Wirisformula\" src=\"@X@EmbeddedFile.requestUrlStub<EMAIL_ADDRESS>data-mathml=\"«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mn»3«/mn»«mo»/«/mo»«mn»4«/mn»«mroot»«mn»7«/mn»«mn»2«/mn»«/mroot»«/math»\">

Blackboard

",
    "availability" : {
      "duration" : {
        "type" : "Permanent",
        "start" : "2018-11-13T20:20:39+00:00",
        "end" : "2018-11-13T20:20:39+00:00"
      }
    },
    "showAtLogin" : true,
    "showInCourses" : true,
    "created" : "2018-11-13T20:20:39+00:00",
    "modified" : "2018-11-13T20:20:39+00:00"
  } ],
  "paging" : {
    "nextPage" : "some_string_value"
  }
}

Matches the following OpenAPI operation:
 "/learn/api/public/v1/courses/{courseId}/contents/{contentId}/attachments": {
        "get": {
          "tags": [
            "content file attachments"
          ],
          "summary": "Get File Attachments",
          "description": "Get the file attachment meta data associated to the Content Item\n\nSupported Content Item Types: Content File (resource/x-bb-file), Document (resource/x-bb-document), Classic Assignment (resource/x-bb-assignment) (Since 3400.9.0) for a Classic Course\n\n**Since**: 3200.8.0",
          "parameters": [
            {
              "name": "courseId",
              "in": "path",
              "description": "The course or organization ID.  This may be the primary ID, or any of the secondary IDs prefixed with the ID type. \n\n | ID type    | Example                               |\n |------------|---------------------------------------|\n | primary    | _123_1                                |\n | externalId | externalId:math101                    |\n | courseId   | courseId:math101                      |\n | uuid       | uuid:915c7567d76d444abf1eed56aad3beb5 |\n ",
              "required": true,
              "schema": {
                "type": "string"
              }
            },
            {
              "name": "contentId",
              "in": "path",
              "description": "The Content ID.  This may be the primary ID, or any of the following keywords: interactive, indirect, root. \n\n | ID type    | Example                               |\n |------------|---------------------------------------|\n | primary    | _123_1                                |\n | keyword    | root                                  |\n ",
              "required": true,
              "schema": {
                "type": "string"
              }
            },
            {
              "name": "offset",
              "in": "query",
              "description": "The number of rows to skip before beginning to return rows. An offset of 0 is the same as omitting the offset parameter.",
              "schema": {
                "type": "integer",
                "format": "int32"
              }
            },
            {
              "name": "limit",
              "in": "query",
              "description": "The maximum number of results to be returned. There may be less if the query returned less than the maximum.",
              "schema": {
                "type": "integer",
                "format": "int32"
              }
            }
          ],
          "responses": {
            "200": {
              "description": "OK",
              "content": {
                "application/json": {
                  "schema": {
                    "required": [
                      "results"
                    ],
                    "type": "object",
                    "properties": {
                      "results": {
                        "type": "array",
                        "items": {
                          "required": [
                            "fileName",
                            "id",
                            "mimeType"
                          ],
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "readOnly": true
                            },
                            "fileName": {
                              "type": "string",
                              "readOnly": true
                            },
                            "mimeType": {
                              "type": "string",
                              "readOnly": true
                            }
                          }
                        }
                      },
                      "paging": {
                        "$ref": "#/components/schemas/PagingInfo"
                      }
                    }
                  }
                }
              }
            },
            "400": {
              "description": "Bad Request",
              "content": {
                "application/json": {
                  "schema": {
                    "$ref": "#/components/schemas/RestException"
                  }
                }
              }
            },
            "403": {
              "description": "Forbidden",
              "content": {
                "application/json": {
                  "schema": {
                    "$ref": "#/components/schemas/RestException"
                  }
                }
              }
            }
          }
        },
        "post": {
          "tags": [
            "content file attachments"
          ],
          "summary": "Create File Attachment",
          "description": "Attach an uploaded file to a Content item.\n\nSupported Content Item Types: Content File (resource/x-bb-file), Document (resource/x-bb-document), Classic Assignment (resource/x-bb-assignment) for a Classic Course\n\n**Since**: 3400.9.0",
          "parameters": [
            {
              "name": "courseId",
              "in": "path",
              "description": "The course or organization ID.  This may be the primary ID, or any of the secondary IDs prefixed with the ID type. \n\n | ID type    | Example                               |\n |------------|---------------------------------------|\n | primary    | _123_1                                |\n | externalId | externalId:math101                    |\n | courseId   | courseId:math101                      |\n | uuid       | uuid:915c7567d76d444abf1eed56aad3beb5 |\n ",
              "required": true,
              "schema": {
                "type": "string"
              }
            },
            {
              "name": "contentId",
              "in": "path",
              "description": "The Content ID.  This may be the primary ID, or any of the following keywords: interactive, indirect, root. \n\n | ID type    | Example                               |\n |------------|---------------------------------------|\n | primary    | _123_1                                |\n | keyword    | root                                  |\n ",
              "required": true,
              "schema": {
                "type": "string"
              }
            }
          ],
          "requestBody": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "required": true
          },
          "responses": {
            "201": {
              "description": "Created",
              "content": {
                "application/json": {
                  "schema": {
                    "required": [
                      "fileName",
                      "id",
                      "mimeType"
                    ],
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "readOnly": true
                      },
                      "fileName": {
                        "type": "string",
                        "readOnly": true
                      },
                      "mimeType": {
                        "type": "string",
                        "readOnly": true
                      }
                    }
                  }
                }
              }
            },
            "400": {
              "description": "Bad Request",
              "content": {
                "application/json": {
                  "schema": {
                    "$ref": "#/components/schemas/RestException"
                  }
                }
              }
            },
            "403": {
              "description": "Forbidden",
              "content": {
                "application/json": {
                  "schema": {
                    "$ref": "#/components/schemas/RestException"
                  }
                }
              }
            },
            "404": {
              "description": "Not Found",
              "content": {
                "application/json": {
                  "schema": {
                    "$ref": "#/components/schemas/RestException"
                  }
                }
              }
            }
          },
          "x-codegen-request-body-name": "inputFileAttachment"
        }
      },

The logs in the UI show this:

The response body look correct to me.

I have found one issue that may be causing a problem for you.  Your OpenAPI operation don't have ids which I wasn't aware was legal and most tools don't support processing OpenAPI operations without ids.  I have fixed this issue by auto-generating any missing ids from the method and path (which by definition is unique for an operation).  I'll release this fix this week.
In addition as your file is so larger I have noticed some performance improvements I can easily make.  I'll also release these improvements later this week which both improve performance and reduce memory consumption for larger OpenAPI files.


Update server CI

Well Ive also switched to a new rust gh action bc the old one was unmaintained

Update tons of libraries, + fix code errors

i appreciate the effort but you didn't have to bump edition to 2024 and bump all dependencies, i can see you slowly trying to fix everything through action builds but it'll be simpler if i did that myself locally :sob:
some of the attempts to fix warnings/errors aren't done correctly and will lead to issues as well

i appreciate the effort but you didn't have to bump edition to 2024 and bump all dependencies, i can see you slowly trying to fix everything through action builds but it'll be simpler if i did that myself locally 😭
some of the attempts to fix warnings/errors aren't done correctly and will lead to issues as well

ur so right lol, im looking at the all of the actions to fix them manually, also updated the deps to make them more futureproof lol, a help would be great tho

alright

@dankmeme01 also btw hear me out and NEVER UPDATE sqlx at what cost. it errors about sql3. it took me 30 mins to to figure out i have to downgrade that.

also i think we should set up a linter (sorry but ur formatting sucks 😭 )

@dankmeme01 also btw hear me out and NEVER UPDATE sqlx at what cost. it errors about sql3. it took me 30 mins to to figure out i have to downgrade that.

oh yeah i've ran into that as well, it seems that rocket_db_pools depends strictly on sqlx ^0.7.0 and if we update our sqlx to 0.8.x they enter a conflict. not really sure what we can do until rocket updates their dependency

also i think we should set up a linter (sorry but ur formatting sucks 😭 )

aw :( is it about client or server? server uses rustfmt which i sometimes kinda dislike but it's been mostly fine for me, and for client i don't really want to use clang-format, i like my own code style

well yeah but both the mod itself and server formatting is a bit bad. i will try to figure linter thing out sometime


fix: Adjust build command used for dotnet functions

Description
Previously the build command used for dotnet functions was (incorrectly) the same as web app.
This PR adjusts it to be:
dotnet publish "${dotnetProjectPath}" -c release -o "${publishFolder}" -v q
Task Item
fixes #7538

Coverage remained the same at 50.837% when pulling 10d10100cf6b282e54b716b720157eeffcac002d on benbrown/functionsbuild into f54b2e8b2d44fe8ac4bdc1d3ebc3619d91d77348 on main.

I verified that a new functions bot is provisioned and deployed correctly, and runs.
Note: This requires some project fixes in the csproj.


Apply accessible_by to all controller actions unless overrideen

Apologies in advance if this is answered somewhere in the docs, but I couldn't find anything in issues or the documentation when searched.
The automatic scoping to accessible_by for the index action was a welcome change. Is there a way to permanently apply accessible_by across all controller actions unless overridden for extra security?
Apologies in advance if this is covered in the documentation or an issue. I was not able to find it answered.
System configuration
Rails version:
<IP_ADDRESS>
Ruby version:
2.4.5
CanCanCan version
3.0.1

Please refer to Stackoverflow for questions. Thank you 🙇 .

Please refer to Stackoverflow for questions. Thank you 🙇 .

@coorasse Apologies. I meant for this to be less a discussion of how to do it, but more if it doesn't exist, should we have that option, and if so, whether you'd accept a PR for it.
Thanks!

No worries. Your use case is not clear to me: if it's a feature request, please try to provide me with some code and context to better understand your request.


Ill table formatting

Hi, thank you for the cool library!
I've encountered some table formatting issues.

table which is smaller than one page: first page is just left blank

table which is bigger than one page: first page is filled properly, but table headers are displayed twice

Thanks @nihiluis ! Also the issue really helps.
The first is related to a page-break on tables, I can remove that. The second I'll need to look into.
Will fix in next release!

So the first issue is actually a feature, where it tries to avoid having a page break in a table whenever possible. I actually suspect mkdocs-material theme set something like table {page-break-before: avoid;}. I think that behaviour is more appriopriate in most cases.
The duplication of the table heading is specific for mkdocs-material theme:

I tried adding thead { display: table-row; } but that breaks the printing functionality in chrome for me (print preview page disappears).
I'm not a CSS expert, but this might have to do with how data tables are printed. I'm not sure if it can/should be solved in this plugin.
I might need some help here..

@squidfunk This plugin offers some nice printing for mkdocs themes. Do you think printing data tables can be addressed Material for MkDocs (see screenshots above)? Would really appreciate some advice here!

Printing from Chrome and Firefox works nicely for me, e.g. here's a Chrome print preview:

I haven't tested with overly long tables, though. I'm currently low on time for these kinds of edge cases. Care to investigate and PR?

I've tried to no avail.., CSS is not my expertise.
What I can do is create a small reproducible example and open an issue in mkdocs-material, to park it for later? Perhaps there is also someone willing&able to work on a PR there?

Sure, we can start with an issue with a reproducible case with all plugins removed. If it happens with stock Material, we can and should fix it, if possible. If it's related to this plugin, we could introduce some additional CSS to make it compatible if reasonable.

I opened https://github.com/squidfunk/mkdocs-material/issues/1939 and included a minimal reproducable example.
Closing this one.

@nihiluis This issue is now solved in mkdocs-material, I expect a new release soon so watch for that one.
Let me know if you encounter any other issues


Adding more indentation tests for TS

Adding more indentation tests for TS

Close because we took the decision not to fix the issues in the tests


Updates to separate_pem() to add functionality to identify/validate/return key & cert(s) in PEM regardless of order

Updated separate_pem() in pypki3/config.py to add functionality to identify/validate/return key & cert(s) in PEM regardless of order.
In the unlikely event there are multiple keys in one PEM file it will use the first key listed in the PEM, which is in-line with the current logic that only ever uses/assigns a single key.
Fixes #8

Thanks for the PR.  Just a couple small comments, but otherwise looks good.

Thanks for the PR. Just a couple small comments, but otherwise looks good.

Thanks for the review/feedback. Parsed the exception handling into distinct if statements.

Published as version 2024.139.1394.  Thanks!


Ignore setupFiles files

{
	"testPathDirs": [
		"./tests"
	],

	"setupFiles": [
		"./tests/setup.js"
	],

	"testPathIgnorePatterns": [
		"./tests/setup.js"
	]
}

 FAIL  tests/setup.js
  ● Test suite failed to run

    Your test suite must contain at least one test.

      at onResult (node_modules/jest/node_modules/jest-cli/build/TestRunner.js:189:18)
      at process._tickCallback (internal/process/next_tick.js:103:7)

It would be nice if these copy paste rules could be skipped by default.
Also I don't understand why glob pattern is not supported yet.

Hello @monolithed, in my case I'm using "testRegex": "/__tests__/.*\\.spec\\.js$", this helps to test only files ending in  .spec.js

@pastuxso, thanks. I've already solved that via additional directory, because .spec is not relevant for me due to https://github.com/facebook/jest/issues/1650.

You'll have to use testPathIgnorePatterns to exclude the file or adjust your testRegex. Currently setupFiles will be counted as test files if they match the test regex.


Added a simple Testbed tool for repeatedly running templated Autogen scenarios with tightly-controlled initial conditions.

Why are these changes needed?
The Autogen Testbed environment is a tool for repeatedly running a set of pre-defined Autogen scenarios in a setting with tightly-controlled initial conditions. With each run, Autogen will start from a blank slate, working out what code needs to be written, and what libraries or dependencies to install. The results of each run are logged, and can be ingested by analysis or metrics scripts. By default, all runs are conducted in freshly-initialized docker containers, providing the recommended level of consistency and safety.
See the README for more details.
Related issue number
#306 , and general robustness workstream.
Runing this testbed resulted in discovering issues:
#428 , #430, and traces for #414
Checks

[x] I've included any doc changes needed for https://microsoft.github.io/autogen/. See https://microsoft.github.io/autogen/docs/Contribute#documentation to build and test documentation locally.
[ ] I've added tests (if relevant) corresponding to the changes introduced in this PR.
[ ] I've made sure all auto checks have passed.

We need to add test for the testbed :)

Sure! Does the RA have tests? We should use the same folder structures and organizations for adding pytests I guess.

Sure! Does the RA have tests? We should use the same folder structures and organizations for adding pytests I guess.
Cc: @victordibia @pcdeadeasy

Not yet:
https://github.com/microsoft/autogen/pull/509#issuecomment-1789747677

Codecov Report

Merging #455 (d0ce31b) into main (b432c1b) will decrease coverage by 0.85%.
Report is 3 commits behind head on main.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #455      +/-   ##
==========================================
- Coverage   42.59%   41.75%   -0.85%
==========================================
  Files          21       21
  Lines        2526     2632     +106
  Branches      566      592      +26
==========================================
+ Hits         1076     1099      +23
- Misses       1359     1442      +83
  Partials       91       91

Flag
Coverage Δ

unittests
41.75% <ø> (-0.77%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.
see 3 files with indirect coverage changes

I pushed an addition that allows one to run the HumanEval benchmark in this environment. It can serve as an example.
The benchmark isn't part of the codebase here, but rather I provide a script to download and load it. This is documented in an updated README.

If an API key isn't present (e.g., for GPT 3.5) the current test bed continues with the testing instead of interrupting that test. Is this intended behavior?

Sure! Does the RA have tests? We should use the same folder structures and organizations for adding pytests I guess.
Cc: @victordibia @pcdeadeasy

No its does not @afourney.
I replied to the Gagan's review. Adding tests to the sample app seems like an overkill to me. In fact after chatting with @victordibia , we have removed the samples folder from the code coverage.

If an API key isn't present (e.g., for GPT 3.5) the current test bed continues with the testing instead of interrupting that test. Is this intended behavior?

@gagb  This is a good point. Allow me to elaborate on the state of affairs:
The run_scenarios script is designed to be very simple. It's job is to populate a Docker image with a scenario, run it, and then log the results. If the scenario itself fails (e.g., due to a misconfigured API key, or other bug), then it will get logged like everything else, and I am Ok with that, since the semantics are very simple and clean.
What I am less Ok with, is that when  re-running the scenarios it will see that the folder and logs already exist, and it will just move one with the next test. In many cases, what we really want to do is re-run those scenarios fresh. I have a planned enhancement that will add a command line argument to run_scenarios that will check for certain missing success conditions, and re-run rather than skip folders that fail to meet those conditions. But I would argue that this isn't strictly necessary for a first PR here. I just want to get something minimal out there, while people are thinking about evaluation.

Ok, I've adjusted the handling od the OAI_CONFIG_LIST per @gagb 's request, and it sounds like we're excluding samples from code coverage. If there are no other outstanding issues, let's merge this sucker.

Sure! Does the RA have tests? We should use the same folder structures and organizations for adding pytests I guess.
Cc: @victordibia @pcdeadeasy

No its does not @afourney.
I replied to the Gagan's review. Adding tests to the sample app seems like an overkill to me. In fact after chatting with @victordibia , we have removed the samples folder from the code coverage.

I am okay with this. @sonichi is this okay?

If an API key isn't present (e.g., for GPT 3.5) the current test bed continues with the testing instead of interrupting that test. Is this intended behavior?

@gagb This is a good point. Allow me to elaborate on the state of affairs:
The run_scenarios script is designed to be very simple. It's job is to populate a Docker image with a scenario, run it, and then log the results. If the scenario itself fails (e.g., due to a misconfigured API key, or other bug), then it will get logged like everything else, and I am Ok with that, since the semantics are very simple and clean.
What I am less Ok with, is when re-running the scenarios it will see that the folder and logs already exist, and it will just move on with the next test. In many cases, what we really want to do is re-run those scenarios fresh. I have a planned enhancement that will add a command line argument to run_scenarios that will check for certain missing success conditions, and re-run rather than skip folders that fail to meet those conditions. But I would argue that this isn't strictly necessary for a first PR here. I just want to get something minimal out there, while people are thinking about evaluation.

Sounds good!

Sure! Does the RA have tests? We should use the same folder structures and organizations for adding pytests I guess.
Cc: @victordibia @pcdeadeasy

No its does not @afourney.
I replied to the Gagan's review. Adding tests to the sample app seems like an overkill to me. In fact after chatting with @victordibia , we have removed the samples folder from the code coverage.

Thank you! @sonichi is removing samples from code coverage okay as convention for this repo?

Member

Both are OK: under the condition that the latest working and tested version is documented in the sample.

Sounds good. I'll add that to the readme.


DualShock 4 in game

Why DualShock 4 in game as a watch dogs 2 recognize the DualShock 4 as a xbox controller? In the watch dogs there is a possibility the ability to set in ps4 instead of xbox

You are posting in the old, no-longer-maintained DS4Windows repository (Jay2Kings).
Trying posting your issue here: https://github.com/Ryochan7/DS4Windows/issues


Revisit whether data should be applied to all templates

In earlier versions of Plates all template data was made available to all templates. Meaning this main template being rendered, as well as any layouts and nested templates. However, we received complaints with that approach. Each template was not isolated, and unexpected variable overwriting could occur. So in Plates 3.x each template became its own instance of Template, isolating it from the other templates.
I actually liked this change. It meant you had to explicitly set the data passed to each template. Both layouts and nested templates got the option to pass down an array of template data. We also added the ability to set "global" data using the addData() method, helpful for things like layout template data.
That all said, it does seem more common for template engines (Twig/Blade) to make data accessible to all templates. We're also getting requests for this old behaviour. (#77, #83). I've opened this issue to simply revisit this for the 4.x release. This can be a place for discussion on whether the current implementation is good, or if we should change this back again.

well, I think with something like #77, nothing would get overridden because anything you define to be passed in would be overridden.
Another option would be to add a helper method in the template that will allow users to override the current data in the current template.
<?php $this->insert('tpl', $this->override([
  'name' => 'John',
])); ?>

So, this would just simply be an alias of array_merge($this->data, ['name' => 'John'])

I think it makes the most since to share data downward in the template tree. So any partials will inherit the current templates data, but layouts won't.
Each template will have it's own set of data however, if a template file makes any variable changes, those won't be reflected down stream and will need to be passed accordingly. Will need to have a section in the docs dedicated to this.


UI Changes

Make changes for UI based on feedback from Donny:

[ ] Make HTML 1-column layout.
[ ] Have verse numbers based on CSS and not hard-coded.
[ ] Make the auto-update default to 'Disabled' in UI.
[ ] In 3x and 4x the verse numbers break to a new line from the adjoining verse text.

Hello Joel,
Make HTML 1-column layout.
Have verse numbers based on CSS and not hard-coded.
Make the auto-update default to 'Disabled' in UI.
In 3x and 4x the verse numbers break to a new line from the adjoining verse text.
all the above issue is resloved and push in the "arabic_issue_fix"  branch


Add activate_game_overlay_to_store and activate_game_overlay_to_user

Fixes #126

The build failure looks like it's not in my code. Looks like the Github action was trying to apt-get update and it failed to reach its package repository…?
https://github.com/Noxime/steamworks-rs/actions/runs/4977534930/jobs/8912408214#step:4:62
E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/s/systemd/libudev-dev_249.11-0ubuntu3.9_amd64.deb  503  Service Unavailable [IP: <IP_ADDRESS> 80]

Is this ready to merge?

maybe would be nice if the dialog was an enum too? idk
LGTM


Fix Windows 11 crash - Globalize installation path in GodotInstaller.cs

Hi,
Thanks for making this, I am using it as part of my development workflow and it's very nice. The official release of Godot Manager works for me on Windows 10, but when trying on a Windows 11 machine I immediately hit #64. I downloaded the project and debugged the failure. It seems like for some reason the behavior for using a user:// path directly in ZipFile is different on Windows 11

After running this change locally, I was able to install versions on 11 without issues.
Hopefully this fixes #64  for others as well

@droc101 If you would like I can send you a build and you can see if it works for you too.

I apologize for not responding before this, the reason why I haven't accepted this pull request, is that major re-work has been underway in migrating Godot Manager from Godot 3.x to Godot 4.x, which uses the Dotnet Framework, meaning more things will be a lot more responsive.  I've also been in re-work of the Tuxfamily scraper, and generalizing it as a singular scraper, instead of multiple site scraper.  Hopefully soon, I will be releasing Godot Manager 0.3.0, which will be an effective full re-write of the code, and already has this issue solved in it.
Again, apologize for the late response to this PR.

No problem. Looking forward to trying the new version. Maybe people just had better try the new version to see if it fixes this issue

Is there an ETA for the rework since this bug makes the project unusable in Windows 11? I also use it in Linux but for Windows, I am using  Hourglass which lacks the template functionality you have here.

allowing this pull request is a patch seems prudent to allow the project to be usable even as there is a Godot 4.+ update coming

@fmakawa  If you're able, could you try to build my version and let me know if it fixes the issue for you on Windows?

@fmakawa If you're able, could you try to build my version and let me know if it fixes the issue for you on Windows 11?
Or I could zip up a build here, but not sure if you'd be comfortable running it

I am totally okay with that

Seems like maybe there will be a new release with my change and the instDir existing change eumario  just mentioned

It is currently in the pipeline, building v0.2.2.

I can confirm that the build is no longer crashing. One thing to note, the build crashes if you try to create a new project when there are no prior projects already imported. If you import a project and then try to create a new project it works just fine.

@fmakawa Could you look in your %APPDATA%\Godot-Manager\logs and find the log with the crash when you attempt to create a new Project with no projects imported, and post a new bug report here with it?  Thanks.

done


fix: validator function skips query param key when param is of type "object"

Generated type (before and after the patch - right):
export interface AdminProfilesGetQuery {
  dbQueryProfile?: DbQueryProfile;
}

export interface DbQueryProfile {
  filter?: // ...
}

Generated validations (before the patch - wrong):
export default {
  adminProfilesGet: {
    query: Joi.object({
       // ... key "dbQueryProfile" is missing :(
       filter: // ...
    })
  };

Generated validations (after the patch - right):
export default {
  adminProfilesGet: {
    query: Joi.object({
      dbQueryProfile: Joi.object({
         // ... key "dbQueryProfile" is here :)
         filter: // ...
      })
    })
  };

Wowza! Good catch!
Could you extend the unit test on this, around here:  https://github.com/acr-lfr/generate-it/blob/master/src/lib/helpers/tests/SwaggerUtils.ts#L19

tested on a couple projects building from zewish:develop - works fine for the 2 micros i checked, so with a test or 2 I'm happy to sign off

@j-d-carmichael. unit test added.


running error when executing train.py

Hi, @edwardzhou130 ,
Thanks for releasing the package. I had followed the requirement.txt to install the required packages. However, when I run python train.py, I got the following error:
(pytorch1.3) root@milton-ThinkCentre-M93p:/data/code10/PolarSeg# python train.py
/data/code10/PolarSeg/network/ptBEV.py:161: NumbaPerformanceWarning: np.dot() is faster on contiguous arrays, called on (array(float32, 2d, A), array(float32, 2d, A))
  pairwise_distance = sum_vec + np.transpose(sum_vec) - 2*np.dot(xyz, np.transpose(xyz))
Traceback (most recent call last):
  File "/root/anaconda3/envs/pytorch1.3/lib/python3.6/site-packages/numba/targets/linalg.py", line 60, in ensure_blas
    import scipy.linalg.cython_blas
  File "/root/anaconda3/envs/pytorch1.3/lib/python3.6/site-packages/scipy/__init__.py", line 156, in <module>
    from . import fft
  File "/root/anaconda3/envs/pytorch1.3/lib/python3.6/site-packages/scipy/fft/__init__.py", line 81, in <module>
    from ._helper import next_fast_len
  File "/root/anaconda3/envs/pytorch1.3/lib/python3.6/site-packages/scipy/fft/_helper.py", line 4, in <module>
    from . import _pocketfft
  File "/root/anaconda3/envs/pytorch1.3/lib/python3.6/site-packages/scipy/fft/_pocketfft/__init__.py", line 3, in <module>
    from .basic import *
  File "/root/anaconda3/envs/pytorch1.3/lib/python3.6/site-packages/scipy/fft/_pocketfft/basic.py", line 8, in <module>
    from . import pypocketfft as pfft
ImportError: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.22' not found (required by /root/anaconda3/envs/pytorch1.3/lib/python3.6/site-packages/scipy/fft/_pocketfft/pypocketfft.cpython-36m-x86_64-linux-gnu.so)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/root/anaconda3/envs/pytorch1.3/lib/python3.6/site-packages/numba/errors.py", line 717, in new_error_context
    yield
  File "/root/anaconda3/envs/pytorch1.3/lib/python3.6/site-packages/numba/lowering.py", line 288, in lower_block
    self.lower_inst(inst)
  File "/root/anaconda3/envs/pytorch1.3/lib/python3.6/site-packages/numba/lowering.py", line 360, in lower_inst
    val = self.lower_assign(ty, inst)
  File "/root/anaconda3/envs/pytorch1.3/lib/python3.6/site-packages/numba/lowering.py", line 534, in lower_assign
    return self.lower_expr(ty, value)
  File "/root/anaconda3/envs/pytorch1.3/lib/python3.6/site-packages/numba/lowering.py", line 999, in lower_expr
    res = self.lower_call(resty, expr)
  File "/root/anaconda3/envs/pytorch1.3/lib/python3.6/site-packages/numba/lowering.py", line 791, in lower_call
    res = self._lower_call_normal(fnty, expr, signature)
  File "/root/anaconda3/envs/pytorch1.3/lib/python3.6/site-packages/numba/lowering.py", line 970, in _lower_call_normal
    res = impl(self.builder, argvals, self.loc)
  File "/root/anaconda3/envs/pytorch1.3/lib/python3.6/site-packages/numba/targets/base.py", line 1146, in __call__
    res = self._imp(self._context, builder, self._sig, args, loc=loc)
  File "/root/anaconda3/envs/pytorch1.3/lib/python3.6/site-packages/numba/targets/base.py", line 1176, in wrapper
    return fn(*args, **kwargs)
  File "/root/anaconda3/envs/pytorch1.3/lib/python3.6/site-packages/numba/targets/linalg.py", line 528, in dot_2
    ensure_blas()
  File "/root/anaconda3/envs/pytorch1.3/lib/python3.6/site-packages/numba/targets/linalg.py", line 62, in ensure_blas
    raise ImportError("scipy 0.16+ is required for linear algebra")
ImportError: scipy 0.16+ is required for linear algebra

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "train.py", line 13, in <module>
    from network.ptBEV import ptBEVnet
  File "/data/code10/PolarSeg/network/ptBEV.py", line 153, in <module>
    @nb.jit('b1[:](f4[:,:],i4)',nopython=True,cache=True)
  File "/root/anaconda3/envs/pytorch1.3/lib/python3.6/site-packages/numba/decorators.py", line 200, in wrapper
    disp.compile(sig)
  File "/root/anaconda3/envs/pytorch1.3/lib/python3.6/site-packages/numba/compiler_lock.py", line 32, in _acquire_compile_lock
    return func(*args, **kwargs)
  File "/root/anaconda3/envs/pytorch1.3/lib/python3.6/site-packages/numba/dispatcher.py", line 768, in compile
    cres = self._compiler.compile(args, return_type)
  File "/root/anaconda3/envs/pytorch1.3/lib/python3.6/site-packages/numba/dispatcher.py", line 77, in compile
    status, retval = self._compile_cached(args, return_type)
  File "/root/anaconda3/envs/pytorch1.3/lib/python3.6/site-packages/numba/dispatcher.py", line 91, in _compile_cached
    retval = self._compile_core(args, return_type)
  File "/root/anaconda3/envs/pytorch1.3/lib/python3.6/site-packages/numba/dispatcher.py", line 109, in _compile_core
    pipeline_class=self.pipeline_class)
  File "/root/anaconda3/envs/pytorch1.3/lib/python3.6/site-packages/numba/compiler.py", line 551, in compile_extra
    return pipeline.compile_extra(func)
  File "/root/anaconda3/envs/pytorch1.3/lib/python3.6/site-packages/numba/compiler.py", line 331, in compile_extra
    return self._compile_bytecode()
  File "/root/anaconda3/envs/pytorch1.3/lib/python3.6/site-packages/numba/compiler.py", line 393, in _compile_bytecode
    return self._compile_core()
  File "/root/anaconda3/envs/pytorch1.3/lib/python3.6/site-packages/numba/compiler.py", line 373, in _compile_core
    raise e
  File "/root/anaconda3/envs/pytorch1.3/lib/python3.6/site-packages/numba/compiler.py", line 364, in _compile_core
    pm.run(self.state)
  File "/root/anaconda3/envs/pytorch1.3/lib/python3.6/site-packages/numba/compiler_machinery.py", line 347, in run
    raise patched_exception
  File "/root/anaconda3/envs/pytorch1.3/lib/python3.6/site-packages/numba/compiler_machinery.py", line 338, in run
    self._runPass(idx, pass_inst, state)
  File "/root/anaconda3/envs/pytorch1.3/lib/python3.6/site-packages/numba/compiler_lock.py", line 32, in _acquire_compile_lock
    return func(*args, **kwargs)
  File "/root/anaconda3/envs/pytorch1.3/lib/python3.6/site-packages/numba/compiler_machinery.py", line 302, in _runPass
    mutated |= check(pss.run_pass, internal_state)
  File "/root/anaconda3/envs/pytorch1.3/lib/python3.6/site-packages/numba/compiler_machinery.py", line 275, in check
    mangled = func(compiler_state)
  File "/root/anaconda3/envs/pytorch1.3/lib/python3.6/site-packages/numba/typed_passes.py", line 407, in run_pass
    NativeLowering().run_pass(state)
  File "/root/anaconda3/envs/pytorch1.3/lib/python3.6/site-packages/numba/typed_passes.py", line 349, in run_pass
    lower.lower()
  File "/root/anaconda3/envs/pytorch1.3/lib/python3.6/site-packages/numba/lowering.py", line 195, in lower
    self.lower_normal_function(self.fndesc)
  File "/root/anaconda3/envs/pytorch1.3/lib/python3.6/site-packages/numba/lowering.py", line 248, in lower_normal_function
    entry_block_tail = self.lower_function_body()
  File "/root/anaconda3/envs/pytorch1.3/lib/python3.6/site-packages/numba/lowering.py", line 273, in lower_function_body
    self.lower_block(block)
  File "/root/anaconda3/envs/pytorch1.3/lib/python3.6/site-packages/numba/lowering.py", line 288, in lower_block
    self.lower_inst(inst)
  File "/root/anaconda3/envs/pytorch1.3/lib/python3.6/contextlib.py", line 99, in __exit__
    self.gen.throw(type, value, traceback)
  File "/root/anaconda3/envs/pytorch1.3/lib/python3.6/site-packages/numba/errors.py", line 725, in new_error_context
    six.reraise(type(newerr), newerr, tb)
  File "/root/anaconda3/envs/pytorch1.3/lib/python3.6/site-packages/numba/six.py", line 669, in reraise
    raise value
numba.errors.LoweringError: Failed in nopython mode pipeline (step: nopython mode backend)
scipy 0.16+ is required for linear algebra

File "network/ptBEV.py", line 161:
def nb_greedy_FPS(xyz,K):
    <source elided>
        sum_vec[j,0] = np.sum(xyz_sq[j,:])
    pairwise_distance = sum_vec + np.transpose(sum_vec) - 2*np.dot(xyz, np.transpose(xyz))
    ^

[1] During: lowering "$92.15 = call $92.9(xyz, $92.14, func=$92.9, args=[Var(xyz, ptBEV.py:155), Var($92.14, ptBEV.py:161)], kws=(), vararg=None)" at /data/code10/PolarSeg/network/ptBEV.py (161)

It seems that my scipy  is conflicted with numba. Could you give any hints on solving it? Also, please give corresponding version for the packages mentioned in requirements.txt
My installed packages are:
torch-scatter: 2.0.4
scipy: 1.4.1
numba: 0.47.0
THX!

Hi @amiltonwong ,
Thank you for reporting this issue and being interested in our project. It seems the error is not caused by a conflict between numba and scipy or anything on the python end but rather missing libstdc++.
libstdc++.so.6: version GLIBCXX_3.4.22 is found missing when numba attempt to import scipy.linalg.cython_blas. This is of course likely caused by an outdated libstdc++6. You probably want to make sure you have the current libstdc++ by doing
sudo apt-get update
sudo apt-get install libstdc++6
sudo apt-get install --only-upgrade libstdc++6

in terminal. Then you can try  import scipy.linalg.cython_blas again in Python to see if the scipy is able to find the libstdc++6.
Let me know how it turns out.

@YangZhang4065 ,
Thanks a lot for your reply. I finally figure it out that the conflicts comes from torch-scatter and pytorch. I reinstalled pytorch to 1.4.0 and the latest version of torch-scatter again. And the problem is fixed.


running task only once after few minutes

is there any supporting cron expression to run the task only once after few minutes? let's say after 3 minutes?

@Salmandabbakuti did you find a solution?

No. I had to use the inbuilt setTimeout function.

No. I had to use the inbuilt setTimeout function.

Thx, I ended up using the package node-schedule, you can pass a date for when you want the task to run


Slow when navigating through livewire components

Hi. I was using v1.4 then recently updated your plugin to v1.5.4 and I noticed there is slowness when navigating blade files or livewire components. It takes maybe 1-2 seconds to see the component I want to look for. I'm sorry I don't know how to debug to show you the exact time it takes.
Here is my neovim version i used
NVIM v0.10.1
type: Release
2.1.1713484068
"nvim -V1 -v" for more info

I know the gf key will trigger some processes instead of only navigating through blade files or livewire components, so it's understandable for being slow. My workaround is, maybe make it configurable to set keymaps for different process?
Thanks

@rizkyilhampra thanks for reporting. Give a look at v1.6.0 to see if happens there please

Yes it still hapen in v1.6.1. Here is some information
checkhealth output
blade-nav: require("blade-nav.health").check()

Blade Nav health check started ~
- OK fd 10.1.0
- OK PHP 8.3.9 (cli) (built: Jul  2 2024 15:37:13) (NTS)
- WARNING Blade command components-aliases not found
  to install it run the Ex command BladeNavInstallArtisanCommand
- OK composer.json
- OK resources/views
- OK vendor/composer/autoload_psr4.php
- OK Git repository found

I do run BladeNavInstallArtisanCommand in a laravel project, but it give me error
BladeNavInstallArtisanCommand Error writing file: Could not open file: /home/aquila/Projects/test/app/Console/Commands/BladeNav.php

@rizkyilhampra thanks for the input.
The error was because app/Console/Command directory does not exist, that's why after making the command with artisan it worked, it is fixed now.
After BladeNavInstallArtisan worked, did gf on <x- is still slow?

@rizkyilhampra a new command BladeElapsedTimes was added in v.1.6.2, please run it an report the output back.

 Here is the error i got.
BladeNavInstallArtisanCommand Error executing Lua callback: Vim:E739: Cannot create directory /app: permission denied
stack traceback:
	[C]: in function 'mkdir'
	...ocal/share/nvim/lazy/blade-nav.nvim/lua/blade-nav/gf.lua:570: in function <...ocal/share/nvim/lazy/blade-nav.nvim/lua/blade-nav/gf.lua:560>

Then, i rollback the plugin into v1.6.1 to make the BladeNavInstallArtisanCommand work, and finally run BladeElapsedTimes.
Here is the output
02:28:07 AM msg_show   BladeElapsedTimes Elapsed time: 0.0351 seconds on check_blade_command
02:28:09 AM msg_show   BladeElapsedTimes Elapsed time: 0.0465 seconds on get_components_aliases
02:28:09 AM msg_show   BladeElapsedTimes Elapsed time: 0.0048 seconds on get_blade_files
02:28:09 AM msg_show   BladeElapsedTimes Elapsed time: 0.0042 seconds on get_root_dir
02:28:10 AM msg_show   BladeElapsedTimes Elapsed time: 0.0089 seconds on get_route_names
   Info  02:28:11 AM notify.info Error parsing JSON output
02:28:11 AM msg_show   BladeElapsedTimes Elapsed time: 0.0150 seconds on get_routes

If you don't mind i'll put in here my 53 second video how do i reproduce.
https://github.com/user-attachments/assets/37838fd3-778d-4ae3-ade3-ce7b35a0c47d
If you see the video, at the 23 second I trigger the gf key, then it finishes at the 26 second.

Check the new pre-release and let me know. If not works I will comment a section to test on it, then we'll see

@RicardoRamirezR it still happen

@rizkyilhampra trey v1.6.4 please

Yes it worksss now, thanks @RicardoRamirezR

@rizkyilhampra great to know, I've comment an implementation, I'll dig further to provide full solution

Can you use main branch please and see if it works. Trying to find the culprit

@rizkyilhampra can you use main branch please and see if it works. Trying to find the culprit

yes it still work

@rizkyilhampra, try main again please., it will fails. Then edit the app/Console/Command/BladeNav.php the in the handle before line 28 add a return echo json_encode([]); then test again please

@rizkyilhampra can you use main branch please and see if it works. I'm trying to find the culprit

It's not work, my bad if you had see my reply before.

No problem

Let's try again

@rizkyilhampra, try main again please., it will fails. Then edit the app/Console/Command/BladeNav.php the in the handle before line 29 add a return echo json_encode([]); then test again please

i see the decrement, but it's still not fast like i was in v1.4. I'm still ok with this

Let's try again

same i just see the decrement

Can you run php artisan --format=json to see if it is the culprit

Is too much. You still want to see all the output?

Nop, it ok

Please check again fro main branch

it workss

I'm not sure, i think you got typo in here
https://github.com/RicardoRamirezR/blade-nav.nvim/blob/fabdfc9a9db7aa66eb0fe8adf36b9740a53e578b/lua/blade-nav/utils.lua#L379

Yep, thank you. I've made the correction. Please try again to check it is working

@rizkyilhampra the updated release v1.6.5 has the final fix.

@RicardoRamirezR Ya it works now. Thanks


Kube v1.2.2

Upgrade to kubernetes v.1.2.2. Also updated kubelet service to v1.2.2 compatible.
Previously master node was not registered. After this upgrade it is (and can be monitored for example with kubectl describe node), but it's still unschedulable.

Looks good!


dd: status=progress should rewrite output once per second but rate is much faster

This is hard to describe, so I encourage you to try running this command on your own:
GNU dd
$ timeout 5 dd status=progress < /dev/zero > /dev/null
5767469056 bytes (5.8 GB, 5.4 GiB) copied, 4 s, 1.4 GB/s

uutils dd:
$ timeout 5 ./target/debug/dd status=progress < /dev/zero > /dev/null
403468800 bytes (403 MB, 385 MiB) copied, 1.0 s, 396.7 MB/s

The status=progress causes the progress line to update repeatedly. GNU dd updates about once per second. uutils dd seems to update when each block is written. That makes the text change way too fast. Furthermore, you can see here that after five seconds, uutils dd reports that it has been running for 1.0 seconds, which is not correct.

Fixed by #3078.


Concerns about speed

I'm currently streaming large csv point cloud data for testing purposes and tried to eliminate bottle necks.
The biggest bottle neck turned out to be csv-parse and maybe someone has an insight as to why.
We're talking about a simple 1gb csv file.
I went through that file with very simple code (without parsing, but my own small parser does only add about 5 seconds) in about 8 seconds.
csv-parse as a pipe takes 15 minutes+ (I stopped the test there, it's obviously magnitudes higher than it should be).
var instream = fs.createReadStream(filePath,  {highWaterMark : 512 * 1024});
    var outstream = new stream;
    var rl = readline.createInterface(instream, outstream);

    var timestart = moment();
    rl.on('line', function(line) {

    });

    rl.on('close', function() {
        var timefinished = moment();
        console.log("finished! Start: " + timestart + "; Finished: "+timefinished+" = "+((timefinished-timestart)/1000)+" seconds");
    });

-> finished! Start:<PHONE_NUMBER>480; Finished:<PHONE_NUMBER>664 = 8.184 seconds
var timestart = moment();

    readStream = fs.createReadStream(filePath,  {highWaterMark : 512 * 1024})
        .pipe(parse(options))
        .on('readable', function(){
            let record;
            while (record = this.read()) {

            }
        })
        .on('error', function(err){
        })
        .on('end', function(){
            var timefinished = moment();
            console.log("finished! Start: " + timestart + "; Finished: "+timefinished+" = "+((timefinished-timestart)/1000)+" seconds");

        });

-> takes about 25 seconds per 50k lines. It actually even threw an error and stopped entirely after 10 minutes. It also takes significantly more cpu time.
Am I missing something or is this simply that slow?

which version are you using ? when i rewrite version 4, starting from scractch, I build a detailed be benchmark starting from a simple loop to the full feature library it is once all the tests where re-incorporated. I went from an order of 18-20 seconds to 60-70 seconds in term of speed, which is the price to pay for the functionnalities. The number you are sharing are an order of magnitude higher.

I just re-run the benchmark agains 4.3.1, parsing 1,000,000 records take 5.6s.

Just to add another data point, I parsed a 1.5GB file (6,818,311 rows) in about 85s with parsecsv 4.3.3 on a 2.2 GHz Intel Core i7 (Node v8.15.0)

This package is called csv-parse, are we talking about the same package?

Sorry, yes csv-parse. Copy-pasted the wrong name.
"dependencies": {
    "csv-parse": "^4.3.3"
}

Closing due to lack of activity.


Errors POST ing large files

Large File Posting works and the file gets uploaded, but returns 400 error code and states:  "POST method cannot be used for media resource" and recommends GET/PUT but but PUT does not allow to upload a new file

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

ID: da51381a-7a39-8c31-8af8-b05ecafc377a
Version Independent ID: 693ecf1c-8e75-1f61-0264-fbdefaff0968
Content: Working with folders and files with REST
Content Source: docs/sp-add-ins/working-with-folders-and-files-with-rest.md
Product: sharepoint
GitHub Login: @spdevdocs
Microsoft Alias: spdevdocs

Can you share more about your query? What kind of file are you uploading, how big is "large", etc. Also need context... SharePoint environment, etc...

For testing I'm uploading a small file (simple json with one key:value pair) for testing. The POST does work, but comes back with an error message.
The sharepoint/directory I'm uploading to is due to it beging crated by teams, so the directory name is something like "Shared Documents/my channel".  I did not do anything to enable media types for the sharepoint (as I see is an option in the site settings)
The code looks something like this:
       # headers also include bearer token
        headers['X-HTTP-METHOD'] = "POST"
        headers['Accept'] = "application/json;odata=verbose",
        headers['Content-Length'] = str(len(file_contents))
        headers['Content-Type'] = 'application/octet-stream'

        result = requests.post(
            (self.site_url +
             f"/_api/web/GetFolderByServerRelativeUrl(" +
             f"'{self.site_path}/{sharepoint_folder}')/Files/Add(url='{sharepoint_filename}', overwrite=true)"+
             "/$value"),
             headers=headers, data=file_contents)

The result comes back as the below (even though the post works)
{'error': {'code': '-1, '
                   'Microsoft.SharePoint.Client.InvalidClientQueryException',
           'message': {'lang': 'en-US',
                       'value': 'The HTTP POST method cannot be used for media '
                                'resource. The media resource could only be '
                                'accessed by HTTP GET or updated by HTTP '
                                'PUT.'}}}

Why do you have headers['X-HTTP-METHOD'] = "POST"? That's not necessary... remove that to see if it helps.
What kind of file are you uploading? What file extension?

I've tried with and without the POST, same failure.
The name of the file being uploaded is "test.json"

changing to test.json.bin did not work

How big is the file? Have you tried uploading it via the browser to ensure you can upload it?
Assuming you have reviewed this:
https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/working-with-folders-and-files-with-rest#working-with-large-files-by-using-rest
Also, the Microsoft Graph REST API provides a useful resumable upload option which works well for large files in SharePoint Online:
https://docs.microsoft.com/en-us/graph/api/driveitem-createuploadsession?view=graph-rest-1.0

The working with large files documentation is what I reviewed and used as an example here (and where I found the link to provide feedback)

Can you remove the /$value part of your call and let me know if it resolves the error?

Thank you that seemed to do it.  I thought I copy pasted from the docs to do this, but I admit it is not there now, not sure if I mixed it with the example below the big files or if it was updated, but either way, its working now. Thank you!


ci: Only run docs check on Linux

There aren't any platform-specific docs in this crate, so we can just run this once. This matches Vello.

@DJMcNab This is another that needs admin assistance ... and when the MSRV PR is merged here, imore to flag things as required. (And this one merging will require a rebase of the other if it doesn't land first.)


feature request: Support for Mode-Specific Keymaps in Oil Buffer

Did you check existing requests?

[X] I have searched the existing issues

Describe the feature
I would like the ability to specify the mode for a keymap in the Oil buffer. For example, I want to map the action.close function to the <Esc> key, but I only want this mapping to be active when in Normal mode. This means that if there is a visual selection active, pressing <Esc> should not close the Oil buffer. Instead, it should exit Visual mode and return to Normal mode, keeping the Oil buffer open.
I couldn't find information in the current documentation on how to accomplish mode-specific keymapping in the Oil buffer. If this is already possible, please do let me know.

I've added the ability to specify a mode. In your case, this is what you will want:
require("oil").setup({
  keymaps = {
    ["<Esc>"] = { callback = "actions.close", mode = "n" },
  },
})

You are very kind. Thank you very much.


Sweep up coinbase rewards fees

Hello,
i am working in a copy of MPOS that supports equihash coins, it's working now with Zencash, in this coin i couldn't spent the block reward till i transfer it to a zAddress and then transfer again to another tAddress in order to let MPOS doing payments, these transactions has a txfees, my issue is, i want to subtract these fees
from the rewards to avoid insufficient wallet credit, my idea is to subtract the fees from the block reward
before it inserted into the blocks db table, is that a right solution to solve this issue, please advice

Transaction fees configured in MPOS are deducted at payout for each user with fixed values. The fee will show up as a transaction in the users ledger for transparency.
If you set the fee to 0 and deduct it by hand from the reward before transferring it into the wallet MPOS can access for payouts, you remove this transparency and blocks will show a lower value than users may expect. This is not want you want.
Apply the proper fee via config and let the system do it’s job.

thanks very much for your advice


fontTools.version.version is "unknown"

I install fontTools by simply having fonttools/Lib on my sys.path (through a .pth file).
fontTools.version.__version__ is "unknown" in my case. Am I doing something wrong?

The error being hidden in fontTools/version.py is
DistributionNotFound: The 'fontTools' distribution was not found and is required by the application

you can do python setup.py egg_info so that the version string is stored in the package metadata and pkg_resources can read from that.

Although I would recommend you do pip install --editable . (preferably inside a virtualenv so you don't screw other projects which depend on different versions).

I like to live dangerously and went the egg_info route. Thanks! Next up: not to forget to do that again  whenever PKG-INFO gets updated :(

BTW, egg_info is always run before the test command, so as a developer you will be running python setup.py test quite often.
End-users in font production should install fonttools from the released distribution, so they get a well defined version string.