create sample for Blazor WASM usage

I'm trying to use the feature management within BlazorWASM, however have been unable to get this to work; I'm unable to see any exceptions of why this is the case; please consider providing support/examples of how to use this library from a BlazorWASM application

Probably you can move and use https://github.com/xabaril/Esquio and enjoy!

Hi, @grahamehorner
So far, the Blazor WASM is not a targeting scenario of FeatureManagement. We are investigating how to support Blazor Server app.
https://github.com/microsoft/FeatureManagement-Dotnet/issues/206#issuecomment-1754848575

@grahamehorner  I created an example in this PR #306  to demonstrate how to use FeatureManagement in Blazor server app. Hope it can help.

@grahamehorner The example of Blazor server app can be found here: https://github.com/microsoft/FeatureManagement-Dotnet/tree/main/examples/BlazorServerApp

Feel free to reopen this issue if you need more help on how to use Feature Management in Blazor. @grahamehorner


Customize the category of the track

Have I written custom code (as opposed to using a stock example script provided in MediaPipe)
None
OS Platform and Distribution
Android 11
MediaPipe version
V0.10.0
Bazel version
\
Solution
BoxTracking
Programming Language and version
C++
Describe the actual behavior
Too many categories of objects are currently tracked
Describe the expected behaviour
You want to be able to customize the categories you track, such as tracking only person
Standalone code/steps you may have used to try to get what you need
\

Other info / Complete Logs
\

Hi @tisaud,
We regret to inform you that we have fully discontinued support for box tracking solutions. While we will no longer provide any support, the libraries and documentation will remain available in our GitHub repository and through services like Maven and NPM. You can continue to use these legacy solutions in your applications, but please note that we will not be able to offer any further support.
Thank you!!


Jhaycee

Organize my file into one folder and add a function to the code.

Jhaycee, create a .gitignore file.
Please add *.pyc in there.
Then delete the .pyc from github.

I already removed the pyc and added gitignore. Please check my PR if it's correct. @avie-dev


Fixing check requiring Admin for build promote

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

thanks for this!


Fix to work with directory environments

This change fixes the plugin to work with directory environments.
It seems that the modules dir was hard-coded to modules in the placeholder_file path so I've used that as the default for the modules_dirname config item and changed the placeholder_file to use it.

@robinbowes Please add an example to the README.md an I will merge this PR.

Hi. Thanks for raising this PR, but I'm going to close it due to inactivity. Please reopen it if you're still interested in getting this merged.


CLOUDP-238529: CLI supports AKO 2.3.0 resources

Proposed changes
This PR only enables support for the recently released AKO 2.3 and its features
Jira ticket: CLOUDP-238529
Checklist

[x] I have signed the MongoDB CLA
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added any necessary documentation in document requirements section listed in CONTRIBUTING.md (if appropriate)
[ ] I have addressed the @mongodb/docs-cloud-team comments (if appropriate)
[ ] I have updated test/README.md (if an e2e test has been added)
[x] I have run make fmt and formatted my code

Also related to CLOUDP-239409

I will need to work on this for 2.3.1 soon, is this only waiting on an extra review?


fix #23

Fix the http-proxy version problem.

Man, so sorry for the delay.  Have not been keeping track of this project in a long time.


fix(modal): leave focus with an element inside a popped up modal

fixes https://github.com/angular-ui/bootstrap/issues/4903

I am ok with this fix - the unit test does indeed fail without the patch.


Monorepo TSConfig Discovery

Hello, here's the text from the chat:
i have a monorepo with a tsconfig in
/api/tsconfig.json and then one in
/app/website/tsconfig.json
-- I see the build = true flag is supposed to hopefully seek these out,
but in the setup object, if i set flags.build = true, and open a ts file, it errors out that "project" is unset..
in the docs project is defined by
project = function()
  return utils.find_nearest_tsconfig()
end, func

but i need to return two config files...
And here is a link to the monorepo:
https://github.com/jcmccormick/wc

@jcmccormick I am so sorry that I missed this issue - I'm going to spend some time next week (or the following) working on tsc.nvim. Thank you for linking to that repo, I'll keep you posted on an update.

Not a problem!
I took some time to understand how tsc.nvim works and made a small version of it I could play with for this issue.
https://gist.github.com/jcmccormick/691cd788793c8f225531c6a9b4429314#file-local-share-nvim-site-plugin-nvim_tsc-lua-nvim_tsc-init-lua
What ultimately fixed the problem IIRC is having a top level tsconfig file which referenced the other projects in the repo.
https://github.com/jcmccormick/wc/commit/0a6c86e62f9168a5b05d4962af1fb01f9f27eb30
Currently though I've since removed any of these configs from my repo. I think the reasoning was things were too slow (tsc in general) but I can't exactly remember. I'm more than happy to test anything you come up with though. I appreciate getting to learn what I did by going over tsc.nvim!

Hi @dmmulroy. Just checking in here. I ran into a similar issue as the OP, though with a turborepo based monorepo. I have a setup like:
/.tsconfig
/packages/database/.tsconfig (Prisma DB config, shared with all apps)
/apps/dashboard/.tsconfig (Next app)
/apps/bot1/.tsconfig (Bun based Discord bot)
/apps/bot2/.tsconfig (Bun based Discord bot)
:TSC while running nvim from the root of the project instantly returns a no problems found. I would have a file open with a TS error when doing this. :TSC inside any of the apps or the database packages works fine within the scope of that project. I tried what the OP linked to but that doesn't seem to have any effect.
Unlike the OP, I do not get a error that project is unset.

I have not - I'll try to get around to looking into this tonight or tomorrow morning if I have time.

This PR might fix these issues:
#46
It will allow watching of multiple typescript projects in a single instance of nvim


Add ocas.ca

Institution/School Name
Ontario College Application Service
Instiution/School Website
http://www.ocas.ca
Email Users
Please place an x between the square brackets if yes

[ ] Students
[ ] Academic/Teaching Staff
[x] Other/Support Staff

Education Levels
Please place an x between the square brackets if yes

[ ] Post-graduate research
[ ] Graduate School
[x] College (University) or Undergraduate School or equivalent
[x] Community College or equivalent
[ ] High School or equivalent
[ ] Elementary School or equivalent

OCAS is a post-secondary organization owned by Ontario's 22 public colleges. We receive academic and education discounts with all of our software vendors.

Sorry @salmonz,
We do not include domains in swot if they are not usable by students.
Closing pull request


Stream cleanup

There are several significant changes in this PR focused on cleaning up and generalizing some of the http streaming code:

Began moving some streaming-related files into a new streaming sub-folder.  I will have another PR that moves some other files containing unchanged code.
The StreamServiceController has been generalized into StreamTranscodingController.  Not only can this class now be used with streaming protocols besides http, but it can work for both server and client connections.  This definitely took a little type trickery to get all the parameters to behave with http, but it is all hidden from end-users.  This should also work as the multiplexing layer for http2
New StreamingHttpClient.  Unlike other clients, there will be no Future version of this client, since at least for now streams are not thread-safe.
A new BaseHttpMessage[H,B] type that can serve as a base trait for all http protocols, including (eventually) http2.  This opens the door for being able to do write more generic types and operations on http, http-stream, and streaming-http messages.
A new filterMap typeclass operation on sources, used by streaming http as part of the decoding process.
Few small bug fixes encountered along the way

All existing tests pass.  I may add a few more if test coverage is too low.

Current coverage is 83.80% (diff: 60.00%)

Merging #489 into develop will decrease coverage by 0.46%

@@            develop       #489   diff @@
==========================================
  Files            91         93     +2
  Lines          4208       4248    +40
  Methods        3859       3888    +29
  Messages          0          0
  Branches        349        360    +11
==========================================
+ Hits           3546       3560    +14
- Misses          662        688    +26
  Partials          0          0

Powered by Codecov. Last update bf811ff...3f0c110


Does not keep the aspect ration when switching from smaller screen to larger screen.

Instructions: Replace the template text and remove irrelevant text (including this line)
Describe the bug
After splitting screen using sp if we move to some bigger monitor aspect ration get dis-propertionate.
To Reproduce
Detailed steps to reproduce the behavior:

Run vim on any 14'' (inch )screen
Split screen using sp
Move your terminal to some bigger screen (24'' inch)
You'll see change in aspect ratio.

Expected behavior
partition shape should not change in bigger screen.
Screenshots

Environment (please complete the following information):

VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Oct 13 2020 15:49:09)
Included patches: 1-1453

OS: [Ubuntu 18.04]

Terminal: GNOME Terminal

I see this also when resizing a terminal (with the mouse).
What happens is that the change in size is applied to the last window (until it runs out of space).
I'm not sure if this should be called a bug.  When increasing the size we could also make other windows bigger, but when reducing the size keeping the aspect ratio isn't that easy.


⚠ Bofrost.lu has degraded performance

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

HTTP code: 200
Response time: 2075 ms

Resolved: Bofrost.lu performance has improved in 2b5f9bb after 9 minutes.


change title on README

I have done till now

Left reviews and line comments
Created a file and made a commit
Opened a pull request

thanks for this couse!


Add security.txt file

🗺 Overview
Security is really important. We already have a contact email for code-of-conduct violations. We're now using it for security vulnerability reporting too, I guess. Now, we need to add this email to a standardised file so that tools that security researchers might use can pick up on it (also, so that security researchers who are looking can easily find this contact email)
📚 Description
This is the email:
<EMAIL_ADDRESS>
It needs to be added to a new file called .security.txt which should be in the top-level directory (that is, it shouldn't be in any folders)
This file should look like this:
# Reach out to this email and we will look into the issue as soon as we can.
Contact<EMAIL_ADDRESS>
📂 Relevant files

.security.txt (new)

🔗 Find out more
About security.txt

🔒 Website
💬 Draft RFC (Request for Comments)
💻 Github Repository

Hi, I'd like to take care of this issue! (This would be my first contribution)

@beatriceo Go ahead! If you need any help, please feel free to ask.

Hi, it seems that I don't have access.

@beatriceo That's right! You need to push to your fork (https://github.com/beatriceo/DiscordBot)
Try
git remote set-url origin https://github.com/beatriceo/DiscordBot.git/

Then, you may run the git push command to push this to your fork.
After that, you'll need to go to the GitHub online interface in order to create a pull request. 🙂

@beatriceo You cannot push directly to the repo, you are required to fork the repository and then push your changes in a new branch then open a pull request comparing the forked branch to the actual repo that we will than merge if it is approved.
Here is some links to fork the repo and open a pull request:
https://blog.scottlowe.org/2015/01/27/using-fork-branch-git-workflow/
https://help.github.com/articles/creating-a-pull-request-from-a-fork/

@beatriceo Thanks for the contribution!


Investigate lack of results

Latest results for all Add benchmarks are from July 9th. Other benchmarks results are up to date, investigate why.

Reopening, today the build timed out due to GHA limitations. Windows build hit new machine.

Closing in favor of #196


Contributing.md

To make it easier for everyone to contribute to our project, we should add a CONTRIBUTING.md file.
This file will provide guidelines on how to contribute, including coding standards, branch management, and the process for submitting pull requests.
By having this file, we can ensure that contributions are consistent and that new contributors have a clear understanding of our project's workflow.
@4darsh-Dev

assigned to you @D-coder001


Implement collision with ground

It's disabled because we've turned off built-in UE4 physics.

Simulator returns to start position after collision with ground.


Optimized vis classification to give ~82% Accuracy

Description
Improves Vis Classification
What is the purpose of this pull request?

[ ] Bug fix
[ ] New feature
[x] Other

Hey @theory-in-progress I think you need to change the src/tests/ci-configs for the tests to pass


Add contentType as parameter

Add option to extend contentType.
Can be used to send data to druid in smile format.

:+1: after formatting chages


New arrowhead

OK Here's the latest for Arrowhead refactoring...

Ben - I'm closing this PR and making a new one from a new branch.  Just did a cherry-pick, which was way easier, and kinda cool.


Possibility to deactive action lines

Would like the possibility to deactivate one or more action lines.
This way you could add multiple lines and use not all.
For example when testing it would be super easy to activate/deactive slightly different lines, not having to replace and save all versions of the action line externally.

Deployed changes on DEV

Add Action above current action
Add action below current action
Disable/Enable action line


Update logo images

🚀 Feature
There are currently old logo images here as well as in bolts. Would be fantastic to see new ones.

pytorch-lightning: https://github.com/PyTorchLightning/pytorch-lightning/tree/8a20d6af51d13adec37593c1356ce08ef380e828/docs/source/_images/logos/
pytorch-lightning-bolts: https://github.com/PyTorchLightning/pytorch-lightning-bolts/tree/2f3f58045a44ffb32103a3644c2ee2be920a508b/docs/source/_images/logos/

@edenlightning can you send in quick PR for this?


Use main thread of current Lua state for callbacks, when known

If the library is opened from a Lua thread (coroutine) that is not the main one, the stored L would be to that thread, which may become suspended (by calling yield). It is unsafe to call functions on suspended Lua threads, which luv does a lot (the stored L is used for callbacks).
The main thread of a Lua state can never yield, so it is always safe to call callbacks on.
This commit ensures the main thread is stored in the luv context instead of the current thread, when we are able to calculate it (LUA_RIDX_MAINTHREAD was added in Lua 5.2, and I have not found a way to determine the main thread in Lua 5.1).
This fixes https://github.com/luvit/luv/issues/503

So currently this does not work for PUC Lua 5.1 and for LuaJIT?

The behaviour will not change for Lua 5.1.
I haven't tested with LuaJIT. If it implements LUA_RIDX_MAINTHREAD then it should work, otherwise the behaviour will remain unchanged with this PR.

Please add a test for this

I have added a test. It will definitely fail on Lua 5.1, and probably LuaJIT, so it is skipped there (test always passes, comment is printed).


Change feature when touch a manga author's name

Describe your suggested feature
Like tag's interactive, allow me to search in library or copy into cache
I'd like that take place to author name's interactive
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I have updated the app to version 0.16.5.
[X] I will fill out all of the requested information in this form.

This already exists though? Quickly tap the author name to start a search, long tap to copy it to your clipboard.
Or do you mean something else?

Please do not show source names here.
Anyway, couldn't you just use the copy name functionality and then paste that into the library search? That'd be approximately 3-4 taps total.

Please do not show source names here.
Anyway, couldn't you just use the copy name functionality and then paste that into the library search? That'd be approximately 3-4 taps total.

Ok i'll fix that source.
Get to the point, i used to search the author in my library very often cause u know (its h3nt author n i have about 10k manga with so many authors :)). hope someone can add this feature, i can wait to the next version of Mihon when the dev ready to upgrade it.

Many websites have special tags for the authors. Perhaps when short tapping the author Textview a search with a special author filter could be performed instead of a simple search query. This way the search would include more and better results in case the authors name wasnt in the title.

The problem lies in how all sorts of sources use all sorts of different ways to search for authors, ranging from url encoding the name all the way to assigning each author a UUID, and to my knowledge, Mihon doesn't have these values available.
Using an author filter on a search is also not guaranteed to be compatible with even most sources. They might not support author search or even filtered search to begin with, meaning the short press functionality change you're suggesting would become useless for those sources that can't use it.
And making the short press behave differently for different sources is just a usability, maintenance, and support nightmare.

Using an author filter on a search is also not guaranteed to be compatible with even most sources.

Below the author Textview and the description of a manga there are some chips containing the genres of the manga. If you click on them you can search for a specific genre but the filter will be adjusted in those extensions that support it instead of the query and we could take that as an example.
After browsing through the source code I noticed the genre search function is quite messily implemented. All the filters of the source are being searched through for a Filter.Group or Filter.Select class which is then assumed to be containing the genres (See BrowseSourceScreenModel.kt:174).
Its a bit sad there is no default schema for some important filters like genres or authors. But maybe it might be possible to follow after the example of the genre implementation and simply search for Filter.Text type with the "Author", "Authors", "Artist", "Artists" name and if no such field is found fallback to normal search?

They might not support author search or even filtered search to begin with

I believe if the extension returns a FilterList in the getFilterList() method it should be able to filter by it since it also shows up in the BrowseSourceScreen then.

For those extensions that use UUIDs for authors a workaround could be thoughout like caching a map from the author string to the uuid in the extension when the manga is to be parsed and use it when clicking on the author.
A problem might be that we would abandon the global search window if we only search in the current extension by author. This could be rectified by using the button on the extension overview though.


Under Firefox

Hello,
I am managing to make use of the code sample without any issue under Chrome. Under Firefox however, big issues appear:

Video gives only the first image and freezes.
Everything stops after 15 secs or so, without the "disconnect" event being ever fired.
My hunch is that WebRTC is the culprit, but this is only a hunch.

Any hints?

Can you visit https://test.webrtc.org/ with Firefox and see what it says? Also, let us know the Firefox version and what your OS version is as well.


HHH-16498 - Hibernate DDL validation fails on enum database column type (6.2)

See issue HHH-16498
Solution for version 6.2

Hi, same problem here! When it will be merged?

Thanks for looking into this. I adapted https://github.com/hibernate/hibernate-orm/pull/6539 to match the behavior of 6.3/main, so I'll close this PR.


Ability to Silence or Clear Warnings

It would be nice to be able to clear or silence alarms and/or warnings that place a counter on the cluster icon. After one has checked on the issue and deemed that there is no action required (e.g. a node was rebooted), the counter is not cleared. This requires constant checking and could result in an issue being missed because the notifications are ignored.

@ErykVoelkerKodiak if you go to the Events tab within the cluster you can remove the warnings (which result in the red counter icons) one by one. I am pretty sure this is what you are requesting?


Live validation doesn't seem to work with Laravel 11

Laravel Precognition Plugin Version
0.5.4
Laravel Version
11.1.1
Plugin
Vue
Description
After modifying my input, no error is returned live. In the Form object, the value of errors remains empty. However, it is filled with the correct error if I manually submit the form.
Steps To Reproduce
Installing a classic version of Laravel 11 and Vue 3, as well as setting up the form identical to the documentation.
Adding simple email validation on the backend:
$request->validate([
    'email' => [
        'required',
        'email',
    ],
]);

Observing that despite the @change="form.validate('email')" attribute, errors are not returned live.

My bad. Validation didn't work because I wasn't using FormRequest.

For those wondering, a FormRequest is required since an actual request is sent to the endpoint and the entire middleware stack is executed, but the controller function itself is not. The FormRequest moves the validation out of the non-executed controller function and into a place where it can be reached by the precognition request.

In my case, I installed the inertia package
import { useForm } from "laravel-precognition-vue-inertia";
form.validate()  does nothing.
the only method that does something when called is form.submit() so I only get validation on submission
    <v-form @submit.prevent="handleSubmit">
      <v-text-field
        v-model="form.job_title"
        :error-messages="form.errors.job_title"
        label="Job Title"
      ></v-text-field>
      <v-btn @click="form.validate()">Validate</v-btn>
      <v-btn type="submit">Submit</v-btn>
    </v-form>
  </template>

  <script setup>
  import { useForm } from "laravel-precognition-vue-inertia";

  const form = useForm("post", route("job-postings.store"), {
    job_title: "",
  });

  const handleSubmit = () => {
    form.submit();
  };
  </script>

...
use App\Models\JobPosting;
use Illuminate\Foundation\Http\Middleware\HandlePrecognitiveRequests;

class JobPostingController extends Controller
{
    public function __construct()
    {
        $this->middleware(HandlePrecognitiveRequests::class)->only('store');
    }
 /**
     * Store a newly created resource in storage.
     */
    public function store(StoreJobPostingRequest $request)
    {
        $jobPosting = new JobPosting($request->validated());
        $jobPosting->save();

        return to_route('job-postings.show', $jobPosting)->with('success', 'Job Posted successfully');
    }

what can be wrong here? i can't find anything different from the docs

@chibyk101, I've answered your issue in the dedicated issue you opened: https://github.com/laravel/precognition/issues/89


Request.accepts documentation comment issue.

Hello.
Small thing in the documentation comments of 'Request.accepts' in 'index.d.ts'. It says to return 'undefined' instead of 'false'.
Kind regards,

May I know which documentation are you referring to? The official documentation says:

The method returns the best match, or if none of the specified content types is acceptable, returns false ...

However, Express does not contain TypeScript definition files. The @types/express package is maintained by the DefinitelyTyped project, but the declaration of Request.accepts() there does not contain undefined as the return type in any overload.

express-serve-static-core/index.d.ts line 398.

I've opened a PR to fix it: DefinitelyTyped/DefinitelyTyped#68381

New version of @types/express-serve-static-core (4.17.43) was released with the documentation fix.

Great! I heard you guys had some issues with contributions lately. I know this wasn't the most important thing, but I hope it will be helpful to someone.


ImageNet version

Hello team, out of curiosity, from the text I'm imagining that you used the imagenet-21k to train the models, is that right? Or was it the imagenet-1k version?
Thanks!

Hi,
Thanks for your interest in our paper!
We used imagenet-1k for training and the imagenet validation set for reporting the accuracy.


WMS ID: 5961 changes for local Mongo tools install

My mistake. WMS ID is 831. Please don't tell me I need to create a whole new PR in order to get this info in the title?

There are workshops under adb/json that I’m responsible for:
5961 which in folder json-soda-ajd
11009 which is in folder mongodb-api
I may have lost track of which one this PR is for.
Roger
From: Arabella Yao @.>
Date: Tuesday, 26 July 2022 at 19:43
To: oracle-livelabs/adb @.>
Cc: Roger Ford @.>, Author @.>
Subject: [External] : Re: [oracle-livelabs/adb] WMS ID: 5961 changes for local Mongo tools install (PR #16)
@arabellayao commented on this pull request.
Hi! Is the folder "mongodb-api" part of the workshop #5961? Thanks!
—
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/oracle-livelabs/adb/pull/16*pullrequestreview-1051461885__;Iw!!ACWV5N9M2RV99hQ!ODKsg_wyHx1RfJo375MyhpbNk5bP6joay-VCEwJbVdrRUxx1uRCI7sZ5uu7iVGgLeQU56aqG7iceprAr6c-fmk8EgQ$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AB63A3JKX6XGCUZ4ECBK62DVWAWVBANCNFSM54SAJF6A__;!!ACWV5N9M2RV99hQ!ODKsg_wyHx1RfJo375MyhpbNk5bP6joay-VCEwJbVdrRUxx1uRCI7sZ5uu7iVGgLeQU56aqG7iceprAr6c_rouj7WA$.
You are receiving this because you authored the thread.Message ID: @.***>

It appears to be 5961: Developing with JSON and SODA in Oracle Database
https://apex.oraclecorp.com/pls/apex/f?p=24885:320:105424198127480::::P320_ID:5961
Now updated in the title.
Roger
From: Arabella Yao @.>
Date: Tuesday, 26 July 2022 at 04:35
To: oracle-livelabs/adb @.>
Cc: Roger Ford @.>, Author @.>
Subject: [External] : Re: [oracle-livelabs/adb] #831 changes for local Mongo tools install (PR #16)
@arabellayao requested changes on this pull request.
Hi Roger! You only need to edit the PR's title to add the WMS ID. However, I was not able to find #831 in WMS. Could you please confirm the WMS ID and also let me know the workshop title?Thank you!
—
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/oracle-livelabs/adb/pull/16*pullrequestreview-1050324044__;Iw!!ACWV5N9M2RV99hQ!LhyqDRZPdO7TGS_UO8AePh3z7_M9rZV_y5KhXwQ8czDOb5o8_mNOLtDc7ahU12DOxh86APxufip3-R7p3XvHL7cK6A$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AB63A3KKYMKAL653DHGTWTDVV5MIRANCNFSM54SAJF6A__;!!ACWV5N9M2RV99hQ!LhyqDRZPdO7TGS_UO8AePh3z7_M9rZV_y5KhXwQ8czDOb5o8_mNOLtDc7ahU12DOxh86APxufip3-R7p3Xtxw4xBEg$.
You are receiving this because you authored the thread.Message ID: @.***>


Local pull request success status testing

Docs Build status updates of commit 8bf31ea:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

E2E_DocsBranch_Dynamic/index.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


remove bevy_utils::{default, prelude}

Objective

Fixed #15342
End goal: #11478

Solution

Change references to bevy_utils::default to Default::default.
Remove use statements.
Remove empty prelude.

Testing

Local CI

Migration Guide

If using bevy_utils::default, stop. :)

@cart rather likes this style, and deliberately included it. IMO there's zero chance this is merged before the new bsn! macro drops, and little chance after it. I suspect that removing this will require a syntax improvement to Rust itself.

@cart rather likes this style, and deliberately included it. IMO there's zero chance this is merged before the new bsn! macro drops, and little chance after it. I suspect that removing this will require a syntax improvement to Rust itself.

Would it not work to put Default::default in the bevy_internal prelude?

Would it not work to put Default::default in the bevy_internal prelude?

Hmm, this might work. I think that would be a lot more palatable, and still shrink bevy_utils.

Closing per https://github.com/bevyengine/bevy/issues/11478#issuecomment-2364785282


Added dark mode to 404 page and terms of use page

Issue that this pull request solves
Part of: #490
Proposed changes
Brief description of what is fixed or changed

Applied dark mode to Terms of use page
Applied dark mode to 404 page; also made the image transparent

Types of changes
Put an x in the boxes that apply

[ ] Bugfix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update (Documentation content changed)
[ ] Other (please describe):

Checklist
Put an x in the boxes that apply

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] My changes does not break the current system and it passes all the current test cases.

Screenshots

Other information
Any other information that is important to this pull request

Please review @Kajol-Kumari :)


[New game]: Kill the bird game

🎮 Game Request
Game logic and basic description.
Steps to create this game:
In this game the birds will come randomly on the screen and for killing the bird we have to double click that bird so the maximum no of birds you kill the maximum points will get achieved.
Point down the features
Game points
To implement this game . Below given some functionalities of this game:
the birds will come randomly to the screen it is your task that how much no of birds you can kill in the given time the score will be depend on the no of birds you killed.

Select program in which you are contributing
No response
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hey @DiwareNamrata23 !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

Hey @DiwareNamrata23!
We are already having a similar game request in #4414 👀
Make sure you come up with a cool unique idea 😀
Waiting for your new game idea 💗.

Hey @DiwareNamrata23 ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇


Feature Request:  Allow login prior to 'inlining' page

Awesome module!  I've been wanting to use this to inline some page(s) which are behind a login form, which I can't bypass (simple user/pass + submit).  It would be great if this could support logging in, then taking a snapshot of the page that I really want vs. the login form itself.
I may be missing something, but I wasn't sure if I could chain actions, like with PhantomJS modules (horseman, etc.)?

Being able to script (to login, etc) inliner could easily get out of control (re: features), but you can set a cookie header using the --header LINE to request the page with a valid logged in cookie.


deploy.sh fails with older truffle version

Error parsing /Users/hobofan/stuff/truebit/truebit-os/basic-client/incentive-layer/contracts/DepositsManager.sol: ParsedContract.sol:16:16: ParserError: Expected identifier, got 'LParen'
    constructor() public {
               ^
Compilation failed. See above.

I got this error when following the instructions from the README and running deploy.sh. I noticed that the global install of truffle is used to run the migrations. Upgrading to a newer truffle version works, but depending on having the correct truffle version installed globally seems like it would something to break very easily in the future.
@hswick Shouldn't incentive-layer and dispute-resolution-layer bring their own truffle versions with them and then use those to run the migrations? I saw that you recently removed the truffle dependency from incentive-layer. Is there any specific reason for that?

@hobofan I agree that it might be better to provide the truffle versions by the dependencies. I removed it because it was an outdated version I believe.
More than happy to accept PRs to fix this.

More than happy to accept PRs to fix this.

Will do! :)

I've included the updates. Feel free to reopen if you have any issues.


Setting a colorscheme loses mutli cursor highlights

Here the following config I have for setting the colorscheme

vim.cmd([[
    au ColorScheme * hi Normal ctermbg=none guibg=none
    au ColorScheme * hi SignColumn ctermbg=none guibg=none
    au ColorScheme * hi NormalNC ctermbg=none guibg=none
    au ColorScheme * hi MsgArea ctermbg=none guibg=none
    au ColorScheme * hi TelescopeBorder ctermbg=none guibg=none
    au ColorScheme * hi NvimTreeNormal ctermbg=none guibg=none
    au ColorScheme * hi NvimTreeEndOfBuffer ctermbg=none guibg=none
]])

vim.cmd("colorscheme sonokai")

The plugin works! I can do multicursor editing and whatnot, but I can't see the cursors. To fix this I can simply comment out the vim.cmd("colorscheme sonokai"), then and I can see the mutliple cursors. So it was natural for me to think that there was something wrong with the sonokai colorscheme. So I tried others were available, and all of them caused multicursor highlight to disappear. This also happened on the default colorscheme, that is if my config was only vim.cmd("colorscheme default"), I can't see the cursors.
I also tried to remove all the colorscheme autocommands but it didn't seem to help.

thanks, it should be fixed now. try :Lazy update

Thank you very much for the quick fix! It works now after updating! :) Great plugin by the way! I instantly switched from vim-visual-multi after seeing your reddit post saying that this one does not try to re-implement vim commands. And indeed this one feels more natural to use! It feels just like, well, regular vim, but with multicursors! Amazing work!


Explore slurm-container vs. actual slurm container configuration

https://github.com/eth-cscs/slurm-container/tree/main

Also relevant for https://github.com/fractal-analytics-platform/fractal-containers

For the record:

https://github.com/rancavil/slurm-cluster
https://github.com/eth-cscs/slurm-container
https://github.com/giovtorres/slurm-docker-cluster
https://github.com/xtreme-d/docker-slurm-cluster
https://github.com/synpse-hq/slurm-cluster
https://github.com/SciDAS/slurm-in-docker
https://github.com/naterini/docker-scale-out
https://github.com/zhonger/docker-slurm
https://github.com/kwaszczuk/slurm-docker
https://github.com/sarusso/SlurmID
https://github.com/GRomR1/docker-slurmbase

For the record, the current images are based on ubuntu20, which only offers python 3.8 and 3.9.
It's then quite tricky to install python 3.10 or 3.11, which is one good reason for moving on towards a different image.
(ref #528)

We eventually created our own image. The first version is available as
docker pull ghcr.io/fractal-analytics-platform/ubuntu22-slurm:0.1


CI: publish to test.pypi.org, normal commit building CI, release CI part 2

closes #10

Ready to go.
But I'm not sure why this new ci (.github/workflows/sdist.yaml) doesn't run.
Is it a setting problem?

Maybe we need to merge first so the ci will run.


Router bug with params

Version
3.0.4
Reproduction link
[https://sfc.vuejs.org/#eyJBcHAudnVlIjoiPHRlbXBsYXRlPlxuIDxyb3V0ZXItbGlua1xuXHRcdDp0bz1cInsgbmFtZTogcm91dGVOYW1lcy5zZXR0aW5ncyB9XCJcblx0PlxuXHRcdFNldHRpbmdzXG5cdDwvcm91dGVyLWxpbms XG48L3RlbXBsYXRlPlxuIn0=](https://sfc.vuejs.org/#eyJBcHAudnVlIjoiPHRlbXBsYXRlPlxuIDxyb3V0ZXItbGlua1xuXHRcdDp0bz1cInsgbmFtZTogcm91dGVOYW1lcy5zZXR0aW5ncyB9XCJcblx0PlxuXHRcdFNldHRpbmdzXG5cdDwvcm91dGVyLWxpbms XG48L3RlbXBsYXRlPlxuIn0=)
Steps to reproduce
I have a router link that binds to the named router but when I click on this link I have this message in the console Error: No match for
{"name":"settings","params":{}} , but I don't have params in my link (router-link :to="{ name: routeNames.settings }")
What is expected?
Routing via links
What is actually happening?
Error in console and link don't work

Hi, thanks for your interest but Github issues are for bug reports and feature requests only. You can ask questions on the forum, the Discord server or StackOverflow.


Closes #1554

Changes
Added asterisks that denote the complex conjugate.
Closes #1554
Screenshots

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

Merged via #1682


Increasing encoding framerate

Hello!
I tested video-viewer following command.
./video-viewer \
	--input_URI csi://0 \
	--input_width=1920 \
	--input_height=1080 \
	--input_rate=60 \
	--output_URI file://test_60fps.mp4 \
	--bitrate=10000000 \
	--headless

I want to get 60fps, so I changed here to 30 to 60
https://github.com/dusty-nv/jetson-utils/blob/5c8a0d72f02833b373ce4d779152c4838259b77a/codec/gstEncoder.cpp#L156
also, I remove log message here for decreasing latency
https://github.com/dusty-nv/jetson-utils/blob/5c8a0d72f02833b373ce4d779152c4838259b77a/video/video-viewer/video-viewer.cpp#L117
but, the result is only about 34fps. gst-discover-1.0 -v test_60fps.mp4 message here
Topology:
  container: video/quicktime
    video: video/x-h264, stream-format=(string)byte-stream, alignment=(string)au, level=(string)4.2, profile=(string)constrained-baseline, width=(int)1920, height=(int)1080, framerate=(fraction)100000/2787, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, parsed=(boolean)true
      Tags:
        video codec: H.264 / AVC
        maximum bitrate: 23791680
        bitrate: 9590647
        datetime: 2021-08-24T14:21:38Z
        container format: Quicktime

      Codec:
        video/x-h264, stream-format=(string)byte-stream, alignment=(string)au, level=(string)4.2, profile=(string)constrained-baseline, width=(int)1920, height=(int)1080, framerate=(fraction)100000/2787, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, parsed=(boolean)true
      Additional info:
        None
      Stream ID: 251edacab81c11703570e4910ed6113a9ac24e6d8ca6ff1560ebc5f3dc63e3f1/001
      Width: 1920
      Height: 1080
      Depth: 24
      Frame rate: 100000/2787
      Pixel aspect ratio: 1/1
      Interlaced: false
      Bitrate: 9590647
      Max bitrate: 23791680

Properties:
  Duration: 0:00:07.545333333
  Seekable: yes
  Live: no
  Tags:
      video codec: H.264 / AVC
      maximum bitrate: 23791680
      bitrate: 9590647
      datetime: 2021-08-24T14:21:38Z
      container format: Quicktime

I think it is possible to loss frame that's because the camera source is a real-time, but the same is true of the video file.
but, it works well at 30fps.
Is it because of the low performance of the Jetson nano ?
If it is performance issue, is there a way to syncronize between filesrc (appsink) to appsrc (encoder) to keep framerate?
Thanks!
environment

Jetson nano
L4T 32.4.4
gstreamer 1.14.5

It may be due to overhead in gstreamer of using appsrc/appsink with those large HD buffers.  If that's the case I'm not exactly sure how to resolve it other than you using a self-contained gstreamer pipeline (i.e. with gst-launch-1.0)

Thanks for answer @dusty-nv
As you said, I could get 60fps using gst-launch-1.0.
I guess too it's because of the overhead between the appsrc and appsink.. so I changed appsink's callback to action signal to pull buffers at  its own rate.
(i.e g_signal_emit_by_name (appsink, "pull-sample", &ret))
according to this,

Note that when the application does not pull samples fast enough, the queued samples could consume a lot of memory, especially when dealing with raw video frames. It's possible to control the behaviour of the queue with the "drop" and "max-buffers" properties.

In my case, it's not a real time application, so I could solve problem.


Failing to run when using the node-quickbooks package

When I add the node-quickbooks npm package to my meteor app, demeteorizer appears to erroneously pick up the node-quickbooks-example-app as an npm module and add it as a dependency.  It shouldn't be as it's not listed as a dependency, it's just code that's sitting there and should be ignored.
From what I can guess from the github issues, this has happened before and you're just making a static list of libraries to ignore?  https://github.com/onmodulus/demeteorizer/issues/126

Landed in<EMAIL_ADDRESS>which is available in<EMAIL_ADDRESS>This fix
ignores any/all packages with 'test', 'sample', or 'example' in the name.


[5.4] Optimize and improve scalability of Arr::last

Similar to #15213. For small arrays it's already faster, and for large arrays it becomes more and more efficient. Still, not O(1)…
function last_v1($array) {
    return end($array);
}

function last_v2($array) {
    foreach (array_slice($array, -1) as $item) {
        return $item;
    }
}

$array = range(1, 5000);
$nb = 1000;

$t1 = microtime(true);
for ($i = $nb; $i--; ) {
    last_v1($array);
}
$t2 = microtime(true);
for ($i = $nb; $i--; ) {
    last_v2($array);
}
$t3 = microtime(true);

echo $t2 - $t1;
echo "\n";
echo $t3 - $t2;

Before: 459 ms
After : 55 ms
Refs: https://stackoverflow.com/questions/3687358/whats-the-best-way-to-get-the-last-element-of-an-array-without-deleting-it/41795859#41795859
ping @BePsvPT

If you want to let the code more consistent, you can take this as reference.

I prefer it the current way by far. It may be a bit longer, but it's much more understandable. And it's faster.

I think I will just leave as-is.


remove 'ID' from Last Transaction label

The label fits & reads better without "ID" - i think users understand that the hash text is an identifier implicitly.
screenshot comparison:
650px width
now

previously

Closing as stale.


Please show affected resource in GQL deprecation error

Overview/summary
Many times during development I may get deprecation notices like the one below. I'm not sure if the message is just informing me of a deprecation in the abstract or if something in my code is on the chopping block for deprecation.
In Apps > YOUR_APP > API Health the shopify admin gives me a list of exactly which properties are to be deprecated, but this is not useful for custom apps or during development.
Please include some way of getting the GQL properties which need to be updated to be compliant with the latest version of the GQL API

Hi folks :wave:
First of all we are so sorry that we missed this ticket. It had been removed from our tracking and we were missing all of these updates. We will do better in the future.
As some of you have suspected these warnings in the library are warnings returned by the API in the deprecation header. And then the library logs them.
I think you are bringing up very valid concerns about the quality of these error messages, and how better quality error messages would help you to solve these problems more quickly. I am passing on this feedback to the product team.
If you are working on a public app I would also recommend using the insights found in the partner dashboard as they may provide more detail.
Thanks again for your patience.

WOO DREAMS REALLY DO COME TRUE
Thank you @lizkenyon
My dreams are alive, my heart is aflutter with the possibilities, and I am floating on clouds made of cream.

Bump


Socket::Family and friends should not be enums

https://forum.crystal-lang.org/t/af-netlink/861

These things are not enums in C so they shouldn’t be enums in Crystal, exactly because their values shouldn’t be a fixed set (new types could be added in the future and we don’t want to fix the std to a fixed set).

(just turn those enum members into constants)

Thinking a bit more about this, we should just add the missing values. No need to introduce a huge refactor.

Also, enums can always be reopened and extended (in a shard for example).

@straight-shoota You are back! ❤
Unfortunately enums can't be reopened... the reason is that enums are closed by design. If you could reopen and add more members then you would be breaking existing code that doesn't handle those new members.

Oh, I was sure I had seen this working somewhere. But yeah, my mistake it doesn't work.

What does work is this:
enum Test
  TEST
end

def test(v : Test) : Nil; p [v, v.value] end

test Test::TEST
test Test.new(200)

I think you are overtyping so to say, but I agree that a large refactor is probably not worth it.

Oh, yeah, you can always create an enum with any int value, so I think that's a good-enough workaround for now.

I mean yeah, it lets you escape enum limits, but doesn't it go against your intentions? Would you consider this behaviour working as designed or rather an oversight?

Would you consider this behaviour working as designed or rather an oversight?

I think... both (seriously). I mean, I think it's good to restrict the possible values. But it's also good that there's an escape hatch for cases like this.

My ideal solution would be to add the missing enum values to the code. But I don't have time to find those values and send a PR right now. But PRs are welcome as always!