[cxx-interop] Support conditional escapability

This PR adds a variadic macro that builds a SwiftAttr string containing the names of the template type parameters that need to be escapable for the type to be considered escapable. It also adds logic to interpret this annotation.
rdar://139065437

@swift-ci please smoke test

@swift-ci please test LLVM

@swift-ci please smoke test


Verify Speedment with Java9

Building with Java 9 now works!

Related to #263

There are still some problems building with Maven and running the tool in Java 9, but these are covered by other issues.


ci: Add Windows CNIv2 to CNI Load Test Pipeline

Reason for Change:

Adds Windows CNIv2 coverage to CNI Load Test Pipeline.
Issue Fixed:

Requirements:

[x] uses conventional commit messages

[ ] includes documentation
[ ] adds unit tests
[x] relevant PR labels added

Notes:

Pulling out standalone CI: to make PR smaller:

https://github.com/Azure/azure-container-networking/pull/2489 | CONTROL_OS improvement
https://github.com/Azure/azure-container-networking/pull/2490 | TestLoad() Improvement
TODO | Ensure that kubeproxy on windows is running
https://github.com/Azure/azure-container-networking/pull/2485 | Win CNIv2 Validate


Sponsor management

Proposal to add Sponsor management to to the site.
Feature Name
Sponsor management
Functionality
Keep track of sponsors who fulfill wishes
Should be able to add a sponsor from the wish curation list (add sponsor link)

Notes
Currently, I see Sponsor Details can be displayed on the wish detail summary

There are several parts to this: add, update, assign, reassign, view + view list (used for assignment)

There are several parts to this: add, update, delete, assign, view + view list (used for assignment)

@hellonoosh can you think of a scenario where we want to delete a sponsor?

Ay idea if there are any mockups for these and are the API end points ready?

@aclaire-thd not delete but definitely edit/ switch to another sponsor

Creating the API is part of this story...
This is too much for one issue so I'm going to split it.


generic proxy: expose the codec error to upper layer

Commit Message: generic proxy: expose the codec error to upper layer
Additional Description:
This PR extend the interface of generic codec to expose error from codecs to upper layer. Than the upper layer could use the error message to generate meaningful log or local response.
Risk Level: low, contrib only change.
Testing: unit.
Docs Changes: n/a.
Release Notes: n/a.
Platform Specific Features: n/a.

ping for blind approve for this contrib only change. @alyssawilk Thanks.


passing values through url to other view

Hi,
I'm just curios on how to go about passing variables or values to another view in blade?

If you use @include, try @include('other.view, ['foo' => $foo, 'bar' => $bar]')

What I want to do is click through a link say for example this:
Go to index page
A traditional way to pass information to another page or view is like this:
Go to index page
But I'm not so sure on how to do it now with blade.

The url() function not belongs to Blade, it belongs to Laravel's routing package.
So you must implement it yourself or install Laravel Routing.


Fix NPEs in log.c

Multiple NPEs can happen in the internal_log_config_copy procedure, and we need to address this before we merge in changes for egfx.

LGTM


Wich packages does this come with ?

Hello, I am using wine on linux, and scnlib is required by a game.
Do you know with which windows application this is packaged ?

Unfortunately I'm not really able to help with that. Proper packaging with all the necessary dependencies included is really up to the library consumers, so in this case, the game itself. It's also possible, that the game does ship with the correct binaries, but can't find them: in that case, you'll need to some additional configuration.
If the game is broken and really doesn't ship with everything it needs, you may need to build the Windows binaries for the library yourself, which on Linux may prove tricky. There are some instructions in the docs.
I'm not aware of any Windows software in general that ships with binaries of this library.


document for production deployment of Vault engine

Please provide documentation on how to set up and deploy Vault engine in a production setting.
For example, should there be a separate Vault engine for each Fabric node?
Are there deployment scripts or documentation available?

@sichen1234 I had already add a documentation for this, here  : https://github.com/hyperledger-labs/blockchain-carbon-accounting/tree/main/utility-emissions-channel/minikube-setup
It uses mini-kube for the deployment of vault server in Kubernetes.

@udosson What do you think about this?  Should we do it this way for our emissions network?

The documentation looks good to me. We could do this for our emissions network. This could however require starting the network from scratch. @Zzocker what steps do you think should we follow to switch our cloud deployment from "native" fabric to the vault enhanced version?


Adding some Links?

Hi
i've looked @ index.html and view.php but i don't find a solution how to add some links.
I am a User from Germany and we have, in some cases, the problem that we need (by law) a legal notice and privacy policy. I have both on separate Websites - no custom-page in lychee needed - i need only an Link to this sites (and to some other projects ;) ) ... is this possible? (footer, header, menu ...)
Regards
Wulfman

There's no special place reserved for those links. You can add a footer (HTML) if you want, but you need to style it by yourself (CSS). I can't provide any help for customization.

@WulfmanGer if you are still interested in a solution, I have put a simple Impressum into all header definitions in the index.html. Doesn't look very nice, but it gets the job done (photography.hibiki.eu).


Tests on multiple Xcode versions

Coverage increased (+6.9%) to 80.202% when pulling 29e072b4b1a85e2c0e71a0bf6a2ed9ea77fce8b1 on test-matrix into c2218aea31d5da34f0bda28977ccf5f657ba77d8 on master.

Coverage remained the same at 73.272% when pulling 084b6946e86ed8084c4a79a8e66d0fa972324d0f on test-matrix into c2218aea31d5da34f0bda28977ccf5f657ba77d8 on master.

Coverage increased (+0.1%) to 73.401% when pulling 5d1b3d7285fa3bafac02e30650c53c632b2f9ed4 on test-matrix into c2218aea31d5da34f0bda28977ccf5f657ba77d8 on master.

Coverage increased (+0.1%) to 73.401% when pulling 5d1b3d7285fa3bafac02e30650c53c632b2f9ed4 on test-matrix into c2218aea31d5da34f0bda28977ccf5f657ba77d8 on master.

Coverage increased (+0.1%) to 73.401% when pulling 5d1b3d7285fa3bafac02e30650c53c632b2f9ed4 on test-matrix into c2218aea31d5da34f0bda28977ccf5f657ba77d8 on master.

Coverage increased (+0.1%) to 73.401% when pulling 5d1b3d7285fa3bafac02e30650c53c632b2f9ed4 on test-matrix into c2218aea31d5da34f0bda28977ccf5f657ba77d8 on master.

Coverage increased (+0.1%) to 73.401% when pulling 5d1b3d7285fa3bafac02e30650c53c632b2f9ed4 on test-matrix into c2218aea31d5da34f0bda28977ccf5f657ba77d8 on master.

Coverage increased (+0.1%) to 73.401% when pulling 5d1b3d7285fa3bafac02e30650c53c632b2f9ed4 on test-matrix into c2218aea31d5da34f0bda28977ccf5f657ba77d8 on master.

Coverage increased (+6.9%) to 80.202% when pulling ef392a2e64892779066411bd164c41d3fc87fa5f on test-matrix into 3ef4a14fdbbc2d1891a5403c1877d2d6286b62be on master.

Coverage increased (+6.9%) to 80.202% when pulling ef392a2e64892779066411bd164c41d3fc87fa5f on test-matrix into 3ef4a14fdbbc2d1891a5403c1877d2d6286b62be on master.

Coverage increased (+6.9%) to 80.202% when pulling 1d913628300504f8f774be362098858a28cbe16e on test-matrix into 3ef4a14fdbbc2d1891a5403c1877d2d6286b62be on master.

Coverage increased (+6.9%) to 80.202% when pulling 1d913628300504f8f774be362098858a28cbe16e on test-matrix into 3ef4a14fdbbc2d1891a5403c1877d2d6286b62be on master.

Coverage increased (+6.9%) to 80.202% when pulling 1d913628300504f8f774be362098858a28cbe16e on test-matrix into 3ef4a14fdbbc2d1891a5403c1877d2d6286b62be on master.

Coverage increased (+6.9%) to 80.202% when pulling 1d913628300504f8f774be362098858a28cbe16e on test-matrix into 3ef4a14fdbbc2d1891a5403c1877d2d6286b62be on master.

Coverage increased (+2.9%) to 76.152% when pulling e0c151a2b921d8be6cb1033ee90df167bd719c00 on test-matrix into 3ef4a14fdbbc2d1891a5403c1877d2d6286b62be on master.

Coverage remained the same at 73.272% when pulling e0c151a2b921d8be6cb1033ee90df167bd719c00 on test-matrix into 3ef4a14fdbbc2d1891a5403c1877d2d6286b62be on master.

Coverage remained the same at 73.272% when pulling e0c151a2b921d8be6cb1033ee90df167bd719c00 on test-matrix into 3ef4a14fdbbc2d1891a5403c1877d2d6286b62be on master.

Changes Unknown when pulling 26ac54164fc89a1b6c6f4700078c5eda90d0a12b on test-matrix into ** on master**.

Changes Unknown when pulling a06e98f7abb1d710f41c5e8408529df55ec7af1b on test-matrix into ** on master**.

Changes Unknown when pulling 5481da8e66664c866d37d5d3da02aa7475319343 on test-matrix into ** on master**.

Changes Unknown when pulling 5481da8e66664c866d37d5d3da02aa7475319343 on test-matrix into ** on master**.

Changes Unknown when pulling 15efdc65ad27d423ace72390d6c17e527dbfcfef on test-matrix into ** on master**.

Changes Unknown when pulling 15efdc65ad27d423ace72390d6c17e527dbfcfef on test-matrix into ** on master**.

Changes Unknown when pulling 15efdc65ad27d423ace72390d6c17e527dbfcfef on test-matrix into ** on master**.

Changes Unknown when pulling 15efdc65ad27d423ace72390d6c17e527dbfcfef on test-matrix into ** on master**.

Changes Unknown when pulling 0ff564d3771d0902fc9257f1c35263d04a5f67dc on test-matrix into ** on master**.

Changes Unknown when pulling 0ff564d3771d0902fc9257f1c35263d04a5f67dc on test-matrix into ** on master**.

Changes Unknown when pulling 0ff564d3771d0902fc9257f1c35263d04a5f67dc on test-matrix into ** on master**.

Changes Unknown when pulling 0ff564d3771d0902fc9257f1c35263d04a5f67dc on test-matrix into ** on master**.

Changes Unknown when pulling 0ff564d3771d0902fc9257f1c35263d04a5f67dc on test-matrix into ** on master**.

Changes Unknown when pulling 0ff564d3771d0902fc9257f1c35263d04a5f67dc on test-matrix into ** on master**.

Changes Unknown when pulling 0ff564d3771d0902fc9257f1c35263d04a5f67dc on test-matrix into ** on master**.

Changes Unknown when pulling 0ff564d3771d0902fc9257f1c35263d04a5f67dc on test-matrix into ** on master**.

Changes Unknown when pulling 7c6d1ced5bc43cc0339331074ba71fd4648bbd81 on test-matrix into ** on master**.

Changes Unknown when pulling 3a7c4a7e5a2be56f9b048ffb79b7667ccaab3b03 on test-matrix into ** on master**.

Changes Unknown when pulling 3a7c4a7e5a2be56f9b048ffb79b7667ccaab3b03 on test-matrix into ** on master**.

Changes Unknown when pulling 3a7c4a7e5a2be56f9b048ffb79b7667ccaab3b03 on test-matrix into ** on master**.

Changes Unknown when pulling cf9166081d6e4b39e69910365c68b80a26eb9ae6 on test-matrix into ** on master**.

Changes Unknown when pulling cf9166081d6e4b39e69910365c68b80a26eb9ae6 on test-matrix into ** on master**.

Changes Unknown when pulling cf9166081d6e4b39e69910365c68b80a26eb9ae6 on test-matrix into ** on master**.

Changes Unknown when pulling b181bbfbfe2c74e98f4b6330a10fdca8801990ba on test-matrix into ** on master**.

Changes Unknown when pulling b181bbfbfe2c74e98f4b6330a10fdca8801990ba on test-matrix into ** on master**.

Changes Unknown when pulling b181bbfbfe2c74e98f4b6330a10fdca8801990ba on test-matrix into ** on master**.

Changes Unknown when pulling b181bbfbfe2c74e98f4b6330a10fdca8801990ba on test-matrix into ** on master**.

Changes Unknown when pulling b181bbfbfe2c74e98f4b6330a10fdca8801990ba on test-matrix into ** on master**.

Changes Unknown when pulling b181bbfbfe2c74e98f4b6330a10fdca8801990ba on test-matrix into ** on master**.

Changes Unknown when pulling b181bbfbfe2c74e98f4b6330a10fdca8801990ba on test-matrix into ** on master**.

Changes Unknown when pulling b181bbfbfe2c74e98f4b6330a10fdca8801990ba on test-matrix into ** on master**.

Changes Unknown when pulling b65fbe5967fdf0eb387cc430effd790f4f7c9754 on test-matrix into ** on master**.

Changes Unknown when pulling b65fbe5967fdf0eb387cc430effd790f4f7c9754 on test-matrix into ** on master**.

Changes Unknown when pulling b65fbe5967fdf0eb387cc430effd790f4f7c9754 on test-matrix into ** on master**.

Changes Unknown when pulling b65fbe5967fdf0eb387cc430effd790f4f7c9754 on test-matrix into ** on master**.

Changes Unknown when pulling b65fbe5967fdf0eb387cc430effd790f4f7c9754 on test-matrix into ** on master**.

Changes Unknown when pulling b65fbe5967fdf0eb387cc430effd790f4f7c9754 on test-matrix into ** on master**.

Changes Unknown when pulling e5f65bddc40dfcfdb79aea8b425733dbace937fd on test-matrix into ** on master**.

Changes Unknown when pulling e5f65bddc40dfcfdb79aea8b425733dbace937fd on test-matrix into ** on master**.

Changes Unknown when pulling e5f65bddc40dfcfdb79aea8b425733dbace937fd on test-matrix into ** on master**.

Changes Unknown when pulling e5f65bddc40dfcfdb79aea8b425733dbace937fd on test-matrix into ** on master**.

Changes Unknown when pulling e5f65bddc40dfcfdb79aea8b425733dbace937fd on test-matrix into ** on master**.


Goneovim: messages are printed into stdout

Which version of Neovim are you using?
Upstream fbce9f421ad1ad466126a24524ade9df978486d5 merged into fix_multigrid_lua_ui_attach (https://github.com/neovim/neovim/pull/21080), Goneovim nightly https://github.com/akiyosi/goneovim/commit/508947cce2042dc3fa9cd546dfa497830072d339
Gui(specify which GUI client you are using)? Nightly? Version?
To Reproduce
Steps to reproduce the behavior:

Run Goneovim with minimal Noice config, e.g.  goneovim --nvim ~/tmp/nvim-from-src/bin/nvim -- -u /tmp/noice-minimal.lua 2>/dev/null
Wait for loading Noice
Pressn in Normal mode and see displayed messages
Look at the console from which goneovim was started.

Expected Behavior
Messages are not printed into stdout.
Screenshots
https://user-images.githubusercontent.com/11404453/202935530-dd48480c-4804-4bb3-8c73-a63cdcd9394a.mp4
Noice Log
Empty.

This is likely just debugging output from Goneovim? Not coming from Noice...


[Toolkit feature]: Size representation for lights

Contact Details (Optional)
No response
What is the context of the feature/improvement?
I would like to see a feature from Composer added to Toolkit. A visual representation of the physical size/radius for lights, in the form of archs that loop around the light, and increases/decreases in size depending on the value being set.
Please describe the feature/improvement?
As described above
What would be your solution? (optional)
...
Version
2024.3.0

Hi @PappaSlask We have an internal ticket ( REMIX-2670 ) to create better light manipulators (with interactive features).
The plan is to show intensity, radius, height, width etc. and allow users to drag the manipulator to change their values.
(Tagging as similar to #401)

Hi @PappaSlask We have an internal ticket ( REMIX-2670 ) to create better light manipulators (with interactive features).
The plan is to show intensity, radius, height, width etc. and allow users to drag the manipulator to change their values.
(Tagging as similar to #401)

That sounds awesome, but I still think you should add lines wrapping around the light to give us a quick visual representation of the radius and shape of the light source, like this:

Thank you!

Hi @PappaSlask, yep that is the idea and you should be able to try these out now!
We did manipulators for the 5 main light types and they should all be in 2024.4.1 full changelog


Fix join

Fix DataFrame#join to support :force_order option in other than :full_outer or :right_outer.
Needs test with larger datasets

Lager dataset requires long test time. It will apply after Arrow 12.0.0 supplied (faster #join implement). Until then, I will add sort tests with smaller dataset.


{}

Environment
Windows build number: [run "ver" at a command prompt]
PowerToys version:
PowerToy module for which you are reporting the bug (if applicable):

Steps to reproduce

Expected behavior

Actual behavior

Screenshots

Sorry, not quite sure what went on here.


As a RC4 student, I want to have a goal page

So that I can keep track of the goals I have - those that I have yet to do and those that I have completed.

Satisfies #86


TypeScript Support

Feature Request
Add TypeScript declarations to the repo, could be extracted from @types/react-native.
Code sample
https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/react-native/index.d.ts#L7410
Would a PR be welcome or is it preferable to keep typings at DefinitelyTyped?

any updates on this? Very hard to use this on a TypeScript project


add presets for theme park attractions

attraction key reference: https://wiki.openstreetmap.org/wiki/Proposed_features/Key:attraction
This PR also adds the species field to be used in natural=tree and in attraction=animal

@willemarcel Can you please remove species?  per #3600, I'd prefer for all the sidebar fields in iD to be only the kinds of things that an untrained mapper could fill in.
Everything else looks great, thanks!  👍

@bhousel done!

Thanks @willemarcel this looks great!.. merging..

BTW, if you are looking for another tag to do, you could do the same thing for playground equipment -
playground=*
https://wiki.openstreetmap.org/wiki/Key:playground
(Someone was asking about this one on reddit recently.)


Add precommit and linting tools

rebased version of #120 + integration of the linters in the CI

I misunderstood how the pre-commit ci works. I agree with your suggestions. thanks


Simplify ApplyPass interface

Require this PR (https://github.com/dmlc/nnvm/pull/43) to be submitted.

can you squash the two so that the travis checks pass?


hugo-book theme

Change the hugo theme to hugo-book. Implement #319.
The new theme enables the "this page" table of content, a search bar, an "edit this page" link and other nice capabilites.
Preview of the site:

Thank you! I have some questions:
a) regarding the submodule:

what do you think of checking in the files directly so that it is self contained?
if going with the submodule, are there any extra steps needed to build the website? if yes, can you add those to the README.md ?
do we have to update the checkout code in the github actions files to fetch the submodules? can we fix that to a specific commit? (so to always pull a specific version of the theme)

b) I see that the source md files are in a different folder (docs/content/_..md). Will this work with the sbt setup?
c) Does the search bar works out of the box? (would be super!)
Thanks again!

what do you think of checking in the files directly so that it is self contained?

I'm not fond of adding lots of non-source files into a project. If you prefer to stick to plain files, no problem I can do so.

if going with the submodule, are there any extra steps needed to build the website? if yes, can you add those to the README.md ?

Sure. There is an extra step to check the submodul out.

do we have to update the checkout code in the github actions files to fetch the submodules? can we fix that to a specific commit? (so to always pull a specific version of the theme)

git submodules are versioned, the specific checked-out commit is stored in the host git repo (saddle in this case) and can be updated. That's fairly handy to update the theme files. The clone method must be adapted to git clone --recurse-submodules <url>. Full doc is here https://git-scm.com/book/en/v2/Git-Tools-Submodules .

b) I see that the source md files are in a different folder (docs/content/_..md). Will this work with the sbt setup?

I'll double check that. Moving the files might not be necessary. I'll verify the sbt commands and instruction in the readme file are still valid.

c) Does the search bar works out of the box? (would be super!)

It does. Seems like lots of themes support that feature.

Ah I'll do the README additions in another PR. github actions also need to reviewed as I haven't looked into them.


Different decoding methods

Hi sir, thank you for your great work!
Have you run experiments with different decoding methods? I see in the code you use beam search for decoding, why do you choose beam search, and have you try with top-k sampling? Thank you.

Hi,
We choose beam search instead of other methods for decoding because we need to ensure comparability with previous seq2seq approaches. It might be interesting to try methods beyond beam search. If you have any findings, welcome to post the results here.


Implement reload functionality

Reloading a Bukkit server allows admins to enable and disable plugins without having to restart a server. However, some plugins don't play nice with reloads. Being able to test whether your plugin works correctly after a reload would be a great way to be sure that a plugin supports this functionality. Sadly, MockBukkit currently does not support server reload operations.
A PR that fixes this issue should:

Implement the ServerMock#reload() method.
Unload and reload all loaded plugins.
Preserve Metadata on entities and blocks.
Clear any registered event listeners.
Clear any registered timers.

Just a note here related to #360, since we're now building on Paper I'm going to clear entity metadata since that's what they do.


Update Dinos “maiasaura”

Automatically generated by Netlify CMS

👷 Deploy Preview for quizzical-galileo-bf682e processing.

Name
Link

🔨 Latest commit
a1aae7e54835b6f67bc21ece7ddae4e548512e43

🔍 Latest deploy log
https://app.netlify.com/sites/quizzical-galileo-bf682e/deploys/6427f55d46204c0008c3fc42


SingleOrDefaultAsynch should be FindAsync

This documentation makes a small mistake. The method used to look up a movie in the Edit method isn't SingleOrDefaultAsync but simply FindAsync.

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

ID: 582aeaf8-770f-6861-ab47-bb6a4f2206e4
Version Independent ID: 51894773-82dc-3c71-f675-8af42cfa925f
Content: Controller methods and views in ASP.NET Core
Content Source: aspnetcore/tutorials/first-mvc-app/controller-methods-views.md
Product: aspnet-core
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

Hello @LeonhardPrintz ... This is a dup of https://github.com/aspnet/Docs/issues/4737 ... and see the linked issue at https://github.com/aspnet/Scaffolding/issues/649.

Re-opening ... the text (paragraph) above doesn't match the code sample (below). It also doesn't match the convo result from the linked issues; therefore, I assume a shift in the scaffolder logic occurred.

The HttpGet Edit method takes the movie ID parameter, looks up the movie using the Entity Framework SingleOrDefaultAsync method

// GET: Movies/Edit/5
public async Task<IActionResult> Edit(int? id)
{
    if (id == null)
    {
        return NotFound();
    }

    var movie = await _context.Movie.FindAsync(id);
    if (movie == null)
    {
        return NotFound();
    }
    return View(movie);
}


Inconsistant dash usage

I noticed in a number of examples that sometimes "-" is used and other times "--" is used even in cases where the doc only calls of a single "-".  In https://docs.microsoft.com/en-us/azure/bot-service/bot-builder-enterprise-template-customize?view=azure-bot-service-4.0#updating-an-existing-luis-model  link shows an example of this inconsistency where luisgen only documents single dashes yet "--" is used on the --cs argument:
luis export version --appId [LUIS_APP_ID] --versionId [LUIS_APP_VERSION] --authoringKey [YOUR_LUIS_AUTHORING_KEY] | luisgen --cs [CS_FILE_NAME] -o "\Dialogs\Shared\Resources"

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

ID: a178d6a6-8037-940c-e8fb-aad548203b92
Version Independent ID: 181758cf-3495-6848-5808-9dc8234140ab
Content: Enterprise Bot Customization - Bot Service
Content Source: articles/v4sdk/bot-builder-enterprise-template-customize.md
Service: bot-service
Product: bot-framework
GitHub Login: @darrenj
Microsoft Alias: darrenj

I guess I need more information to address your question - in your pasted example, are you confused why "appId" has "--", but "o" only has one "-"? I did see that there are some inconsistencies in the doc you linked to for the dispatch CLI, but from what I saw luisgen was as expected.


[vcpkg] RFC: Manifests

We are currently working on a new feature: manifests. They are similar to manifests from other languages: Cargo.toml, package.json, etc. This specification lays out how we've thought about designing the manifest so far; please add your comments so that we might have the best experience possible :)
A note: there are two major features that pretty much depend on manifests, but which will be defined in separate RFCs: versioning, and federation. This manifest is designed such that those features are possible to fit on top of it, but it does not attempt to define those features right now.
Currently, this feature is being developed at strega-nil/vcpkg/manifests; please come check it out for very very pre-alpha demo-friendly support of this! An example of this feature in use is at strega-nil/vcpkg-example 😄
rendered

It looks cool! I don't have any constructive feedback regarding the manifest itself, but the nested markdown lists are broken in the Definitions section.
I can submit a fix if you want. I suppose I should PR your own branch for that ?

yeah, that works! sorry I can't work on it right now, I'm doing work on macOS pre-10.15 support -.-

Cool! so looking forward to this
One question the vcpkg_modules folder seems to go in  which I assume would usually be the root directory of the project itself. To make sure the manifest will be version controlled. But when using CMake the best practices now days seems to be to keep the project folder clean of any build product, ie. out of source builds. For the example in presented one would usually have:
projdir/
  build/
  example/
    src/
      main.cxx
    CMakeLists.txt
    vcpkg.json

or something like that. I would prefer if the vcpkg_modules folder was either in the build folder or at the same level as the build folder. At least I would never want it to be inside of example.

@petersteneteg I simply followed existing practice for Javascript; however, there's a good point there that, for compiled languages, it doesn't make sense to commit your vcpkg_modules directory. However, it's unclear where any specific build system (or even user! it's user-chosen with build systems like cmake) will place their build trees, and thus vcpkg install wouldn't be able to put its vcpkg_modules folder underneath the build tree. Thus, I'm not sure of how to do this otherwise...

Additionally, I don't think that out-of-source-tree builds are generally accepted practice with modern CMake.

If out-of-source-tree builds means "keeping the build directory not inside the source directory", I don't think it is uncommon.  Probably it is just my bubble, but out-of-source-tree builds are standard practice when using build_tools such as colcon or CMake-based superbuilds. Furthermore, it is what you get by default when consuming dependencies via CMake's FetchContent,  and if i am not wrong  vcpkg itself builds its own ports out-of-source-tree when using vcpkg_configure_cmake.

@traversaro sorry, I meant the other way around -- it's not that out-of-source-tree builds aren't accepted practice, but that in-source-tree builds are totally valid.

Feedback:

You need revisions - since package information can be maintained out of project there has to be some information about the revision. Imagine you fix vcpkg, but not the main project, the revision of the package should change, but it's still for the same version of the library.. Conan has this, for example.
Out of source build should be the only build possible. I'm not even sure CMake still allows in-source builds - nobody really wants in-source builds these days anyway, it's a bad practice.
Each directory one vcpkg? This is backwards - a nightmare everybody faced when having large cmake projects, for example, where you have 100 CMakeLists.txt files - find the right one in an editor, find the right one in 20 open tabs...
I think it would be nice if vcpkg was unobtrusive - I don't like it couples with CMakeLists - it gives users no choice, which is something that I won't accept, but I may still provide vcpkg.json in my project for people that want to use it. So it would be cool if it worker like other package managers - you install dependencies, then you build do project, but you won't do both at the same time.

@kobalicek

port-version is the way to do this
I disagree strongly; it is very much not bad practice, and it's literally the recommended way to build CMake. I have no idea where people got this idea from.
You don't... have to have multiple vcpkg.jsons in a project; in fact this initial specification does not support multiple vcpkg.jsons in a project.
It doesn't have to couple with CMakeLists.txt, that's just one possible usecase. I should add an example of a project that doesn't couple with CMakeLists.txt, I guess.

Edit: okay, someone explained to me what "in-source builds" are. Sorry for being confusing! I'm not trying to argue that in-source builds are good, but that in-project builds are good. I hadn't even considered in-source builds to be a thing that one might do... the fun of being young, I guess!
But why put the vcpkg_modules folder "in-source" then? the vcpkg_acquire_dependencies() should know about the build directory...

@petersteneteg The vcpkg_modules is not in-source, just in-project. Quite different :)

@petersteneteg The vcpkg_modules is not in-source, just in-project. Quite different :)

Citing Professional CMake: A Practical Guide https://crascit.com/professional-cmake/
Chapter 2.2

This book will always use out-of-source builds and will follow the pattern of the source and build directories being under a common parent. The build directory will be called build, or some variation thereof.

A variation on this used by some developers is to make the build directory a subdirectory of the source directory. This offers most of the advantages of an out-of-source build, but it does still carry with it some of the disadvantages of an in-source arrangement. Unless there is a good reason to structure things that way, keeping the build directory completely outside of the source tree instead is recommended.

Hence I would strongly prefer to keep the vcpkg_modules folder completely outside of the source directory. And by source directory I mean the root of my repository and the same directory as were the manifest file would be in.

I think they should look into Conan - not saying Conan is the best tool, but it solves a lot of problems and maintains its own cache that is configurable through $CONAN_USER_HOME - so by having different env-vars you can pretty much isolate it. It has much more additional things that are very usable - like propagating environment variables, library directories, binaries, etc... through projects.

@petersteneteg That's not what that quote is saying, I don't think: the "source directory" is not the directory which the project is in. The source directory is the directory containing the literal source files -- .c, .cxx, etc. -- usually called src or source. The build directory and the source directory are distinct, and are in the same directory as any manifests or main build files (CMakeLists.txt, for example). I can't speak to that specific book, as I don't really want to buy it and I don't personally have access to it, but I think it's important to realize that, for example:

vcpkg recommends builds at the same level as CMakeLists.txt
ninja-build recommends builds at the same level as CMakeLists.txt
CMake recommends builds at the same level as CMakeLists.txt
LLVM recommends builds at the same level as CMakeLists.txt

so it's extremely common practice to have a project tree that looks like:
src/
  <source>...
build/
  <build>...
README.md
CMakeLists.txt

CMake defines the "Source tree" as the directory with the top level CMakeLists.txt. No other parent directory would really matter for CMake. https://cmake.org/cmake/help/v3.17/manual/cmake.1.html#manual:cmake(1)
For the "Build Tree" is says:

To maintain a pristine source tree, perform an out-of-source build by using a separate dedicated build tree. An in-source build in which the build tree is placed in the same directory as the source tree is also supported, but discouraged.

Here I interpret separate as not a subfolder.
The Book does the same interpretation.

Using a subfolder might be common practice. But that does not make it good practice.
And it would be unfortunate if vcpkg enforced that pattern.

I don't really see a difference between:
src/
  <source>...
build/
  <build>...
README.md
CMakeLists.txt

and
src/
  CMakeLists.txt
  <source>...
build/
  <build>...
README.md

Both are basically out-of-source builds, because the build tree doesn't intermix with source-tree. Every project will decide where the CMakeLists.txt will be, so vcpkg shouldn't care anyway.

Thank you for working on this!
Am I correct in assuming that this could also be used even if one only uses vcpkg to manage/acquire third-party dependencies?
For example, we develop in Visual Studio and use MSBuild to build our project(s)...
Our use case:
myprojects/ //project root with multiple projects
  proj1/
  proj2/
  proj3/
  x64/Release/ // custom build output folder for all .exe .dll and third-party binaries
  myprojects.sln
  vpkg.json // all dependencies for all projects

I'm guessing that this works with vcpkg integrate install, but how are different versions of packages handled and how will this work with binarycaching #11204?
Ideally I'd like to create a vcpkg.json file that is used during CI and on developer machines to acquire third-party dependencies and use binarycaching to ensure that they all use the same version and avoid building from scratch every time.

@meastp yep, absolutely! before this is stabilized, we will support every build system we support currently 😁

@meastp yep, absolutely! before this is stabilized, we will support every build system we support currently 😁

That's great!
How will this work with custom ports (for example binary third-party library ports I created in a local/remote fork of vcpkg that aren't upstream)?

It seems that vcpkg.json will have a dual role, when used on a port and when used by a developer to list dependencies of an application. In the second case, the name and version are not required or available elsewhere (for example, in the project entry CMakeLists.txt).

@david-antiteum it's important to note that it's not actually a dual role -- it's just expanding what a "port" looks like.

@strega-nil We have custom ports that are not present in the official vcpkg repository. Could one point to where (github url, file share etc.) the port "definition" is?
Perhaps this is a separate PR/item?
For example, we have both open source ports and binary proprietary ports... :)

@meastp for this initial RFC, we aren't going to add that feature; however, it's planned for very soon afterwards :)

@strega-nil Ah, ok, that's fair :)
I currently use a fork of vcpkg where I have added the ports missing from official vcpkg (binary and open source) that we need. What I think you're saying is that:

before the package federation feature is done, I'll need to keep using my fork and initiating vcpkg.exe (to build dependencies) from my fork (that I have downloaded/cloned and built locally) when working with vcpkg.json in myprojects (example above)

when the package federation feature is done, I won't be dependent on managing my fork at all as long as I can point to the correct path for each dependency (url, path etc) in vcpkg.json in myprojects.

this ties in nicely with vcpkg.exe being included in Visual Studio - then I can use that even though I use dependencies that are not part of the official vcpkg repo.
Are my assumptions correct? :)

Your assumptions are correct! Although, if you want to avoid maintaining a fork, you may want to look into --overlay-ports until such point as we add federation to the manifest.

Thanks for working on this!
If I understand correctly, the vcpkg_modules folder will be created for each cmake project and contain the binaries of it’s versioned dependencies. Will there be a way to first check whether a version is already installed “globally” by VCPKG to avoid having the same copy of the library on each dependent project?

@daniel-piro that's not a feature I'm interested in adding personally; I think that having the installed directory be completely different will allow one to separate the two really cleanly. For what it's worth, we will support binary caching, which means if you already have it installed anywhere, you'll be able to cache binaries, so that means it's just a zip open -- not a compile.

I'm going to Final Comment Period this! This manifest will be merged on Monday, June 1 (a week) if no one else has any comments :)
Please add any other comments you wish to! Thanks all!

This is great! It looks like manifests and federation will help alleviate the biggest issue we've run into, which is challenges submitting a PR to the vcpkg repository for ports that we want other people to use.

@strega-nil Just curious, for the vcpkg.json manifest, does it support (or plan to support) the following workflow?

create an empty folder as the root for a new project.
create a vcpkg.json under it.
do vcpkg install under the folder and magically vcpkg will build and produce the installed for this new project?

I am viewing this manifest ting from my experience in npm, pip and conda, and hope the vcpkg workflow won't be deviated too much from those popular package managers too. And btw, this is a great work and happy to see vcpkg is moving toward this direction.

@seanyen this is absolutely a valid thing to do.


Update index.tsx

Changed present to wrap in first sentence - better word choice.
Changed not to no in second sentence - fixed grammar.

Thanks you, @prof3ssorSt3v3 :+1:


Display course sections

User Story
As a user, I can see all the sections for a course so that I know which courses/sections I am taking.
Acceptance Criteria

[x] All sections of courses are displayed.
[x] Lecture sections versus discussion sections can be visually distinguished.

Implementation Todos
Front end:

[x] Reformat the json so that it is a list of sections rather than a list of courses.
[x] Figure out how to distinguish between lecture and discussion sections. (e.g. is the section number a multiple of 100)
[x] Research react bootstrap table next to figure out the best way to visually distinguish lecture versus discussion.

Back end:

Nothing in the back end for this one yet.

Testing:

[ ] Front end tests pass and there is adequate coverage

Hi, Angela and Andrew, nice work done! You finish the majority of work 👍


TF Directory

make sure client is properly implemented

implement j.client using our new config mgmt

learn how to do it in template for client

works properly

Current progress: Making a readme documentation.

added readme at: https://github.com/threefoldtech/jumpscaleX/commit/0003dd63c3c506d5d363bd1b3d0a35f428910d20

Branch: development, fda36c0c5f5a7836b1b037a1b87cbc600afc7cf3 .
Verification Steps:

making a client:
test_cl = j.clients.threefold_directory.test_cl
test_cl.save()

test some methods:
j.clients.threefold_directory.farmers
j.clients.threefold_directory.capacity
j.clients.threefold_directory.resource_units()

test API:
test_cl.api.ListCapacity()
test_cl.api.GetCapacity("NODE_ID")


Meaningless error on insert

We have a very strange behaviour we are currently investigating.
At very randon times, while issuing
Await client.For(entitySetName).Set(entity).InsertEntryAsync(False)
we receive the following error:
System.AggregateException: At least one error has occurred. ---> System.Threading.Tasks.TaskCanceledException: A task has been canceled.
that does not have any detail of the reason of the fail.
We have a data sync utility that uploads to a remote server some data; there are several Insert operations done one in sequence (ie: 1000) but often the failure raises at early stage.
Is there any way to obtain some extra details?
Thank you.

Hi,
Thank you for the report. This is very strange indeed. Never experienced such error.
One way to obtain extra details is to trace HTTP communication so you can check the whole payload of the failed command and commands prior to the failure. Fiddler is a popular choice for such monitoring, can you try it?

We know fiddler and employed it as often as possible. In addition, we enabled trace on server side. The problem is that the issue is very random and we don't know how to replicate it. Further complicating, the issue raised only in production environment (where fiddler cannot be installed due to customer IT policies). Server tracing aside, our only option is to enforse error catching and hndling on client side.
The client application is a LightSwitch-Silverlight application, interacting with the synchronization componente via COM - this 'mess' of tecnologies probably inject some kind of problems that are not catched very well in the managed stack.

But you don't need to run Fiddler on a server - it should be run on the client machine when your LightSwitch-SL app runs. Still don't have such possibility?
I can build a debug version of S.O.C. that traces all HTTP requests and responses. Would it help?

Thank you for your response.
Sorry but it seems that I was not clear:

regarding the server, we activated asp.net tracing (we know fiddler is not necessary on the server side)
regarding the client: we cannot install fiddler due to IT restrictions (users have no sufficient priviligies to install new software)

Having the debug version you are mentioning could be very usefull.
Thank you.

I see. You can do the following.
First, enable tracing of Simple.OData.Client. It has OnTrace property, set it similar to this:
OnTrace = (x, y) => Console.WriteLine(string.Format(x, y));
Replace Console.WriteLine with something else to write to the file. This will ensure all requests URI are logged.
But this won't probably be sufficient because you also want to inspect all request and response payloads. In Release mode this is not done for the sake of performance. So get from this repository latest "master" branch, build Debug version of Simple.OData.Client, replace with it the DLL that your app is using and try again.  Hopefully it will help you inspect the problem. Let me know how it goes.

Thank you very much

Unable to reproduce.

Funny thing happened to me today...  i am able to reproduce this consistently now.
I believe it is due to the ReuseHttpConnection setting in ODataClientSettings.  This is false by default and when 2 async tasks (using the same client) call GetHttpClient in session, the existing httpClient is disposed, and therefore cancels the task before creating a new client to run the 2nd request.
This call to GetHttpClient does not have any exception handling and therefore bubbles the exception up to the calling code on the client.

That's a good one, thanks :+1:

Fixed in 4.10.

It seems to solve our problem.
Thank you very much!


Custom Postgres roles no longer work in storage.

Bug report

[x ] I confirm this is a bug with Supabase, not with my own application.
[x] I confirm I have searched the Docs, GitHub Discussions, and Discord.

Describe the bug
I created a custom Postgres role for testing awhile back.  The custom role is in stored in the auth.users role column for a particular user.  The role is granted authenticated role privileges.  This used to work on non-upgraded by request storage.  In testing today as another user is encountering custom roles not working in storage.  I now can't access storage with the custom role.
https://supabase.com/docs/guides/auth/row-level-security#using-joins
I'm 95% sure this worked a few weeks ago.  I have files created by this default test role in storage and I believe the change in role was done before those files were uploaded.  I recall specifically worrying about storage working and testing it.
To Reproduce
Create a custom Postgres role per the Supabase instructions in docs.
do GRANT authenticated TO customrole;  (This used to allow storage to work).
Set the auth.users role column for a user to the new role.
Upload a file.
Get error.
Expected behavior
Custom Postgres roles work in storage.
Screenshots
If applicable, add screenshots to help explain your problem.
System information
Latest Supabase-js
Have NOT requested upgrade to newest storage from support.
Additional context
Confirming I've used this role before the last file upload by the user that has not been deleted by other testing...

I have the same issue, already described on Discord.
I can confirm that about a week ago this was working and now it doesn't work anymore.
However, becayse the code using the Storage API is recent I thought I might have done something to break it although I really changed nothing related.
This is the description posted on Discord.
While trying to list the content of a bucket I can see this error in the "supabase_db_supabase-local" container (local development):
supabase_storage_admin@postgres ERROR:  permission denied to set role "customrole"
supabase_storage_admin@postgres STATEMENT:
      SELECT
        set_config('role', $1, true),
        set_config('request.jwt.claim.role', $2, true),
        set_config('request.jwt', $3, true),
        set_config('request.jwt.claim.sub', $4, true),
        set_config('request.jwt.claims', $5, true),
        set_config('request.headers', $6, true),
        set_config('request.method', $7, true),
        set_config('request.path', $8, true);

If I use a JWT with {"role": "authenticated"}, it works perfectly fine.
So it must be a missing role permission.
What I did:
SQL: CREATE ROLE customrole WITH NOLOGIN;
SQL: GRANT customrole TO authenticator;
SQL: GRANT authenticated TO customrole;
Node: generate a JWT with my secret key and {role: "customrole"}
UI: create bucket "test-bucket" with all actions allowed through RLS policies
What I tried (but failed):
SQL: GRANT customrole to supabase_storage_admin;
ERROR:  "supabase_storage_admin" is a reserved role, only superusers can modify it
I can test the API directly by doing a POST request to this URL with the Bearer JWT token and body: {"limit":100,"offset":0,"prefix":""}
http://localhost:54321/storage/v1/object/list/test-bucket
Response:
"statusCode": "403",
"error": "Unauthorized",
"message": "new row violates row-level security policy"

Again, if I use a JWT with {"role": "authenticated"}, it works perfectly fine.

Hi @GaryAustin1 @cipinistor
We are aware of this.
The reason that this is happening is that we have transitioned the Database Layer from PostgREST to plain Postgres, for portability and performance
Because of this change storage-api is now using supabase_storage_admin user to connect to the database, however this user don't have the right grants to impersonate custom roles (just yet). We are working on bringing these grats changes to the supabase_storage_admin in the supabase/postgres image soon.
If you are self-hosting storage the way you can fix this is to run amend the grants of the role supabase_storage_admin with the following SQL:
-- Fix permissions for supabase_storage_admin
grant authenticator to supabase_storage_admin;
revoke anon, authenticated, service_role from supabase_storage_admin;

Once that is done, you can amend your custom roles or create news ones as following:
grant custom_role to authenticator;
grant anon to custom_role;

Hope this help with having your custom roles working again with the latest version

Unfortunately we are not self-hosting so this doesn't help.
Except in local development, but not even there because the supautils extension makes the roles (supabase_storage_admin, authenticator, etc) protected so the GRANT fails with:

role_name is a reserved role, only superusers can modify it

Btw, in UI (Database -> Extensions) supautils extension says it's not active by default, but it is.

We are experiencing the same problem, and also not able to run the fixes.
I tried to find the default password for root to have a temporary solution for development, but your-super-secret-and-long-postgres-password (from here) doesn't seem to work on the local dev database.
What's the timeline for the fix here, especially for local development?

@fenos Do you know when this issue will be resolved?

Hello guys, we are planning to roll out the change in max 2 weeks' time, for development earlier than this

This is now being rolled out!

@fenos which CLI version can I expect this to be shipped with? Current Pre-Release (1.111.1) still doesn't support this. Or are there other steps I have to follow now?

@sweatybridge when will this fix be on the cli?

@psteinroe good call. I will push an update https://github.com/supabase/cli/pull/1747


Inference problem output

I have a problem using, on another usecase, the inference script used in this tutorial https://towardsdatascience.com/ocr-free-document-understanding-with-donut-1acfbdf099be
image = Image.open("./donut/misc/sample_image_cord_test_receipt_00004.png").convert("RGB")
output = model.inference(image=image, prompt="<s_cord-v2>")
what am I suppose to put in prompt argument ?
I noticed that output depends on the prompt.
Thank you

@trikiamine23 try replacing prompt "<s_cord-v2>" with your dataset folder name "<s_dataset_directory_name>".

thank you it worked just fine


Code references to 0.14.0 outdated?

Since sbt is moving to version 1 from 0.13, these references should be updated:

https://github.com/sbt/sbt/blob/31ac8c940cfdfdf2fe984b61ff0f36ad1a58cd83/main/src/main/scala/sbt/internal/PluginDiscovery.scala#L61
https://github.com/sbt/sbt/blob/31ac8c940cfdfdf2fe984b61ff0f36ad1a58cd83/main-command/src/main/scala/sbt/BasicCommandStrings.scala#L184
https://github.com/sbt/sbt/blob/31ac8c940cfdfdf2fe984b61ff0f36ad1a58cd83/main/src/main/scala/sbt/Project.scala#L112

https://github.com/sbt/sbt/issues/3411

Closing as duplicate.


Fix docs info bugs

I see "server version 1.9" should this be in the v1.21 docs?

ping @icecrime

closing; carried in https://github.com/docker/docker/issues/21364

Thanks, sorry :-(

No worries, really!


It's not working

        PopcornKit.movies(on: 1, filter: .date, genre: .all, query: nil, order: .descending) { error, movie in
            print(error)
            print(movie)

        }
        PopcornKit.randomMovie { error, movie in
            print(error)
            print(movie)

        }
        PopcornKit.movie(for: "tt1634106") { error, movie in
            print(error)
            print(movie)
        }

I am not getting any response. kindly let me know what I need to do more than that.
I used pod to file to use your kit.

It looks like the API was taken down. You could host it yourself and change the API end point to point to your URL

where i need to change that endpoint. knidly lemme know.

The variable isPCT_ENDPOINT_BASE in /PopcornKit/Private/PCTEndpoints.m. Please note the repo you add must have the exact same repository structure as https://github.com/popcorn-official/popcorn-api used to (the api was taken down by the DMCA but you should be able to find a fork somewhere or on the internet archive)


Add CredentialsTokenProvider / SecretCredentialsTokenProvider

This PR refactored the old flow of authentication using Secret Manager for Service Users.
The new flow separates the caching from talking to SSM / Enlight SSO into separate components. The components are more testable and maintainable. It also attempts to remove the issues with thread safety we've had if you mixed TokenProviders.

Just one general thought: the auth package as of now has one single lifecycle.  This would allow for things changing independently. An example of this would be: auth/cachedtokenprovider/v2, etc

Dependency management in Go is a hassle IMO. I was thinking about moving the whole client package to its own repo/go.mod and evolving it that way. The way it is built now does not stop someone from putting some other TokenProvider in another package, just that sharing test utilities might be nice.
The whole utility package is still in its pre-v1 release to allow us to do some experimenting and deciding on something more stable for v1.


Update FUNDING.yml

@myHerbDev

This branch has no conflicts with the base branch
Merging can be performed automatically.


indent_blankline_show_first_indent_level = false ignores first char from indent_blankline_char_list

I have these chars set up
vim.g.indent_blankline_char_list = {"|", "¦", "┆", "┊"}

and
vim.g.indent_blankline_show_first_indent_level = false

As a result, it completely ignores the first char from the table

Expected the same behavior as Yggdroot/indentLine

Thanks. I pushed a fix.

Thank you.


3.1 and 3.2

3. Pull state-level attributes using Census API (8 points)
You want to explain the variation you see across states in gender gaps in test scores by looking at demographics of the state population. To do so, we'll pull demographics from the American Community Survey (ACS), a US Census data product discussed more here: https://en.wikipedia.org/wiki/American_Community_Survey
3.1 Obtain a Census API key, place it in credentials yaml, load the yaml file, and initialize connection to Census API using the census package (0 points)
3.2 Run this function (feeding it your api connection) to get a list of variables to pull (0 points)
Feed the connection to the API you created in previous step (if you print type it's a census.core.Census class) to the your_connection argument in the function)
Check pset_6 notebook for function

Question from student:
Hi, professor! I would like to check whether the shape of df in 3.4 is (50,46)? Thanks!
@sonali-sr can you post the dimensions? thanks!

Apologies for the delayed response,
The dimensions for perc_wide_wstate is :
(50, 71)


unable to view screenshot in the report

screenshot picture are appearing empty and api shows 404, im not sure where exactly screenshots folder from cypress should be located in order to make mohcaawsome recognize it

solved by adjusting name pattern for macha json  in support/index.js

Please help me to resolve this issue as I am also facing the same issue as mentioned above.  Please let me know the steps to resolve this issue. Failed screenshot present under cypress/reports/mochareports/assets, also I could see the screen shot attached in the mochawesome report but getting <ERR_FILE_NOT_FOUND> when trying to access it.

any update on this?


Resolve lint fails w rust 1.83 clippy

Since new version of rust 1.83 released, clippy lint rules are also updated.
It makes CI broen.
Most of them is related to

Some lifetimes are newly elided.
c str literal is recommended.

I think there are various change of result in test, I will try them later.
This PR is only for lint problem.

Clippy forces to use c"main" rather than b"main\0" in following block in sqlite.rs
let name_ptr = if let Some(name) = &name {
                name_cstring = name.to_cstring(vm)?;
                name_cstring.as_ptr()
            } else {
                c"main".as_ptr().cast()
            };

            let sleep_ms = (sleep * 1000.0) as c_int;

            let db = zelf.db_lock(vm)?;
            let target_db = target.db_lock(vm)?;

            let handle = unsafe {
                sqlite3_backup_init(target_db.db, c"main".as_ptr().cast(), db.db, name_ptr)
            };

But after change, it makes build error
error: custom attribute panicked
  --> stdlib\src\sqlite.rs:21:1
   |
21 | #[pymodule]
   | ^^^^^^^^^^^
   |
   = help: message: Unrecognized literal: `c"main"`

error[E0433]: failed to resolve: use of undeclared crate or module `_sqlite`
  --> stdlib\src\sqlite.rs:16:18
   |
16 |     let module = _sqlite::make_module(vm);
   |                  ^^^^^^^ use of undeclared crate or module `_sqlite`

error[E0433]: failed to resolve: use of undeclared crate or module `_sqlite`
  --> stdlib\src\sqlite.rs:17:5
   |
17 |     _sqlite::setup_module(module.as_object(), vm);
   |     ^^^^^^^ use of undeclared crate or module `_sqlite`

For now, I added #[allow(clippy::manual_c_str_literals)] to make it buildable


Add test for convention properties + mapping to null

Adds a small test for a behaviour regarding properties, conventions and mapping I wasn't sure about.

@bot-gradle test and merge

Your PR is queued. See the queue page for details.

OK, I've already triggered a build for you.


[do not merge] Add invoker CRD instructions

Waiting on projectriff/riff#394

merged as 507dcf9b4eab38a45de94961493263270f8050a6


IT IS IMPOSSIBLE TO CONVERT TO VERSION 1.0.0 - TOO COMPLEX!

It is good to have a new version of this package? And what about migration guide because of tons of breaking changes? I've updated version and I am horrified how many code I need to change!
For example where TreeViewTheme or what do I need to use now?

I cannot migrate my project to new version! You changed base classes, you change everything! How to specify nodeHeight? Where expandAll and collapseAll method? How to migrate??? Why such new version?

TL;DR
Please treat v1.0 as a new package, avoid attempting to migrate.
As for the TreeViewTheme, checkout the new [TreeIndentation][https://pub.dev/documentation/flutter_fancy_tree_view/latest/flutter_fancy_tree_view/TreeIndentation-class.html] widget and the [IndentGuide][https://pub.dev/documentation/flutter_fancy_tree_view/latest/flutter_fancy_tree_view/IndentGuide-class.html] configuration.

Because of the many new features I have planned for the future of this package, I had to rewrite the entire API from scratch. It did indeed create a lot of breaking changes and I'm truly sorry about that. But those changes were all necessary for the future minor releases of 1.0.
The new API is more robust and versatile and will payoff in the future.
I currently do not have the time to write a migration guide, that's why I'm asking to treat this new version as a whole new package instead of migrating. If you feel that upgrading to 1.0 is a big undertaking I'd advise you to not migrate and keep using the 0.x version until either you have some spare time to learn and apply the new APIs or for me to get some spare time and work on a migration guide (which is probably not happening anytime soon as I have very limited time to code due to my occupation).

I cannot migrate my project to new version! You changed base classes, you changed everything! How to specify nodeHeight? Where expandAll and collapseAll methods? How to migrate??? Why such new version?

nodeHeight is not needed anymore, you can size your node widgets as you will.
expandAll and collapseAll were replaced by expandCascading and collapseCascading.

Please be nice to open source maintainers 😅

Please treat v1.0 as a new package, avoid attempting to migrate.

Just imaging, you upgrades to new flutter and then... oops all Widgets and any controllers have different prototypes etc.  One functionality disappeared, other functionality renamed and you do not know how and what to use (because no migration docs or at lease @deprecated annotations). You see tons of errors and you do not know how to fix them. So the rational question why do you need such flutter upgrade?
I use your pacakge in many places and now my project is broken and stuck because I am not sure if I can trust this new package and the global business logic was not drastically changed.
Yes, the simple way is just to rollback to old version but why do I (or other person) needs this package then?

I currently do not have the time to write a migration guide

Yeah... :)

Please be nice to open source maintainers 😅

Please be careful to users which you (open source maintainers) suggest their products for. If open source maintainers don't care on their customer so maybe no need to suggest open product?

@amorenew I understand. I upgraded packages (because of new version) almost each day and I never had big problems (just minor mentioned deprecations or even no changes). I tied with this package in a few places of my project and now I have a huge problem because this version is completely different!
Yes I can to rollback but how can I be sure that old version will not have bugs? And if it will have bugs how they will be fixed if there is already new codebase?
I understand that this is an open project but developer must have a definite responsibility if he made his project public.

@baumths what about my questions about expandedNodes, lineThickness and lineColor?

@baumths how can I get information about expanded nodes? I used expandedNodes list for my needs for restoration expanded nodes. Now I see this property is private. Is it possible to make it public? Or how can I get such data now?
P.S. Sorry for emotions.

@baumths how can I get information about expanded nodes? I used expandedNodes list for my needs for restoration expanded nodes. Now I see this property is private. Is it possible to make it public? Or how can I get such data now?

The new way of keeping track of expanded nodes is to extend the TreeController class and override the getExpansionState and setExpansionState to intercept the value changes (calling super. to keep the default behavior), both methods might be all you need to keep track of the expanded nodes.
Try it out and let me know if it was enough otherwise I might make expandedNodes public again (I made it private since it is just a default implementation for the TreeController to avoid making the controller abstract and have users implement the interface) I expected users to override this behavior depending on the use case.
About visibleNodes that you asked earlier, you can achieve the same behavior with the following snippet of code:
final TreeController<T> controller = ...;
final List<T> visibleNodes = []
controller.depthFirstTraversal(
  onTraverse: (TreeEntry<T> entry) {
    visibleNodes.add(entry.node);
  },
);

The depthFirstTraversal method also takes in an optional descendCondition predicate that can be used to limit the reach of the traversal, by default it checks if the provided tree node is expanded which will result in traversing the tree in the same order as the previous visibleNodes property.

Sorry for the delayed response, busy day 😅.

Yep, totally understand the issue outlined here about making major wholesale changes to the API, but can you maybe include some approx direction on how to migrate a simple TreeView example that used things like TreeNode and a few of the common trimmings into the new API.
I'd also encourage you to put that guideance (about needing to start again) in the CHANGELOG, as I always read them but didn't get that degree of breaking change out of the notes. It wasn't until I found way too many things missing that I realsied I needed to read this issue post, and then back out of my changes - all and all, not very nice, but understandable. I think you may have just failed to really explain the extent of the changes made, so I'd only ask that maybe a clearer upfront notice of that is provided to avoid others like me from wasting time trying to migrate when realising the refactoring is signifcant, if not impactical in some parts without changing the architecture of your existing app.

Try it out and let me know if it was enough otherwise I might make expandedNodes public again
Thanks. I will. Maybe this a good idea because in my case (and in old version) I used nodes ids (for persist) and I don't need to store whole nodes.

@baumths Finally I can compile my project commenting all my functionality (persist expand/collapse status, expanding/collapsing all tree) but now I see only my roots and I don't see children. How can I force to expand the tree? My tree data is populated.

@baumths I tried to make my tree totally expanded so I did
final controller = FancyTreeController(nodes)..expandAll();

/// My extended class
class FancyTreeController extends TreeController {
  void expandAll() {
    expandCascading(roots); // Here I wanted to expand all roots
  }
}

What did I wrong?


Conservation of Drynaria over Aglaomorpha [PASSED]

Author(s) of proposal
Chris Hoess
Name of taxon
Drynaria
Rank of taxon
Genus
Approximate number of species affected
33
Description of change
The genus Drynaria (Bory) J.Sm. has been conserved against Aglaomorpha Schott. The latter was used by PPG I; the PPG II classification should be updated to reflect this nomenclatural act.
Reason for change
According to the NMNH Code Appendices website the conservation of Drynaria against Aglaomorpha was proposed in April 2012 (proposal 2054), neither recommended nor rejected by the Vascular Plant Committee in 2014, accepted by the General Committee in 2016, included in IBC proceedings in 2017, and included in the Shenzhen Code in 2018.
Reference(s) for publication of the name
Christenhusz, M.J.M. & Schneider, H. Proposal to conserve the name Drynaria against Aglaomorpha (Polypodiaceae). Taxon 61 (2): 465–466 (2012)
List the numbers of any related issues
No response
Code of Conduct

[X] I agree to follow the PPG Code of Conduct

This proposal was voted on during PPG Ballot 6 (voting period December 2023). A total of 60 votes were cast. There were 56 'Yes' votes (93.3%) and 4 'No' votes (6.7%). The proposal passes.


Added geom_polygons

Added geom_polygons to draw arbitrary polygons on figures. Polygons are drawn prior to drawing data points to prevent polygons from covering up data. Example usage is included in comments of geom_polygon.m that is a modification of the gas mileage example.

Thanks, that looks like a great addition! I'll test it and merge asap!

No problem. You have put together a really nice package. I was playing around with R's ggplot and I don't really like R that much, so your work here was an absolute gem to find. I needed this to draw in my own data boundaries for a big data set I'm working on. The one thing I didn't really test thoroughly was the line styles.
As I continue on, I might add some more things as I have a need for them. Rather than just hack them together quickly, I'll try to put some extra time into them and send you them. Matlab really has had a need for something like this.

For plotting data boundaries there is already geom_abline / geom_vline / geom_hline in gramm but shaded areas were definitely on my todo list so it's nice. The geom_xxline have the drawback that they are always plotted on top of the plot, which I want to correct somehow (I see that your polygons are always plotted below the data). It might be worth thinking about a way to make all these related methods work as similarly as possible, which seems to be already quite the case. Thanks for putting the effort in :)

Oh, an idea to make thinks easier for the users: if you omit 'x' or 'y' in this geom_polygon(), it could maybe automatically fill them in to xmin/xmax or ymin/ymax.
Your example could then be only g.geom_polygon('y',{[5 20] [20 30] [30 50]})

I actually looked at how geom_hline, etc, to see how you made those and tried to based some of what I was doing with geom_polygon on those. I tried to use as many of the functions and terminology as possible.
Specifically, I wanted the shaded regions, hence the polygons. My data has a strong linear correlation, and I wanted to manually put in my own shaded boundaries to show good data vs outliers based on criteria I created (and wasn't necessarily based off of a CI).
I know some people get touchy about other people touching their code, but I do not. If there is something you would like to change, let me know and I will try to incorporate it. I also thought about setting an options to draw over or under the data. I think this can be done with just a few additional lines of code based off of the way I have written this.

Yeah, I like that idea of omitting 'x' and 'y'. I'll take a look and see how difficult this would be.

It's probably not super difficult, but the exact axes limits are not known at the time when geom_polygon is called (I'd have the same problem with calling the geom_xxline early).
gramm does know about the data limits though, which you can access with obj.var_lim.minx obj.var_lim.maxx obj.var_lim.miny obj.var_lim.maxy
As a consequence we are probably fine with overdrawing over those a bit and hoping that the stat_ functions don't change the limits too much.
Kudos for trying to keep the function gramm-like :) I'll maybe have suggestions changes on how the options are handled. Do I have access to your branch so that we can both work on it until I merge ?

I did some rearranging and rebased my base branch with yours. You should have access to my fork.

So I took a better look, functionality-wise it is quite complete and nice. I'd simplify some stuff relative to the options though:

I find the color stuff a bit confusing. I see that it's interesting to be able to get the colors that gramm uses (that's what 'color'  and 'fill' do right?), but It's a bit confusing with the 'map' option. I'd make two simpler color options 'fill_color' and 'line_color' that do both map or indices by recognizing whether they are containing actual colors (Vector 3 of RGB) or indices (single integers). It might allow more freedom on fill vs line as well.
There is some processing of the defaults that could be avoided by setting single default values in my_addParameter() calls, and then simply have draw_polygons() being able to apply a single value for the options to all the polygons entered with 'x' and 'y'.

If you think that's ok, I'd work on it, it's probably simpler to show what I have in mind.

The color indices also seem to only work when you use all of the indices: [2 2 2] just puts the first color (i.e. same as [1 1 1]), not the second as expected. I also try to use the old-style set() way to set graphic objects properties in order to stay compatible with older Matlab versions.

I don't have a problem if you work on it. I probably won't have a chance to take a look at it until this weekend. However, I can give you some insight into what decisions I made and why.
The basic idea I had for this was to mimic ggplots geom_polygon. I have only been using your package for about a week or so, but it seems like you are trying to mimic ggplots syntax, so I thought it was appropriate to look up the geom_polygon function:
http://docs.ggplot2.org/current/geom_polygon.html
One of the things I always found to be confusing about ggplot is that 'color' was a variable to reference what the border line colors should be, and 'fill' was a variable to reference what the fill colors should be. So, if you only have one unique value for your variable, you only get one color. I tried to mimic this by mapping unique values to colors, so [2 2 2] should only give you the first color, but [-10 5 100] should give you three different colors where -10 is the first color, 5 is the second, etc. However, now that I read your edit I think you understand this :) The goal was to allow you to map colors to variables like ggplot allows you to do.
Now that I think about this, the indexing for 'color' and 'fill' might have a problem if you pass a cell of strings to it. I'll take a look at fixing that.

Oh, I forgot to mention that in order to separate out the different values for a variable, I use unique, which sorts the values in addition to returning only the unique values of your variable. So, if you set fill=[5,-10,100] then what you should get the 2nd polygon displaying the 1st color (since -10 is the smallest number), the 1st polygon displaying the 2nd color, and the last polygon displaying the 3rd color.

Hi, I made the changes I was mentioning. I simplified the input options. There is now only 'color','line_color','alpha','line_style'. They all expand to the number of provided polygons if single values are specified. Both 'color' and 'line_color' use get_colormap() automatically when set with a column vector of integers (indices this time, no unique used). When provided with Nx3 color matrices, they use the provided color. Some additional work might needed to check/correct these inputs.
All this actually allowed me to simplify the internal code a lot. I also added an example in examples.m to show all the ways of using it.
Let me know what you think!

I like your changes. However, the changes you have made limit the utility a little bit. The original intention of 'color' and 'fill' was to permit someone to map the line color or fill color of a polygon to a variable (like country of origin). I did this because ggplot did this. Still, I like your code because it is much simpler and allows me to do what I want to do. You also cleaned up some of the mess I made in the code, which also makes me happy :)
If it is okay with you, I may add a few other functions as I need them. Is there any kind of philosophical approach you are taking to development of this? I was trying to base what I did on ggplots original functions in R, but I'm not a fan of the verbage they use (like using 'color' to map line colors to variables and 'fill' to map fill colors to variables). I think I like your approach of making things more obvious.

I see what you mean, I've taken a look at the doc for geom_polygon() in ggplot before making my changes. It looks like in ggplot, geom_polygon() is actually for plotting data (in a weird way because you need to give the polygon coordinates).
In contrast, I see gramm's geom_polygon() more as an annotation/decoration tool, as it doesn't use the actual 'x', 'y' and 'color' plotting data, which in gramm – a major difference with ggplot – are given exclusively in the constructor or in update(). In that manner, it's like geom_abline/_hline/etc., but not like geom_point/_line/etc. As a consequence of this, the colors from geom_polygon() were never going to end up in the legend for example. Still, I liked the ability to generate colors automatically, so I left it there.
Now making a geom_polygon() that uses the actual data like in ggplot would also be a possibility, but it strikes me as something that is more complicated than it is useful. I should make more apparent in the documentation which geom_ are annotation and which are data-based.
On the gramm/ggplot, I don't actively try to keep functionality/naming between gramm/ggplot, but rather try to make things simple (for me and the user) and (hopefully) logical.

I see it more of a decoration tool as well. I like the simple/logical approach, which I find lacking at times in ggplot. I also like your comment about annotating which geoms are for decoration vs data. I'll keep this stuff in mind if I find something else to contribute.

Oops, I forgot we still wanted to take a look at expanding the polygons to the x and y limits if either x or y is not included.

Oh true, I changed geom_abline, etc. (for now only locally) in order for it to work more similarly to geom_polygon(). This will come with an additional 'extent' option which basically says how much further the lines go compared to the data limits (default is 2). I'll probably merge the current changes soon and implement that later.

Implemented! Let me know if that works for you (I modified the examples.m as well). I'll merge if all OK.

Any feedback?

I apologize. I haven't had a chance to take a look at it or test it. I can take a look at it sometime this week. I don't want to hold you up, so if you want to merge I can provide feedback afterwards.

Looks gorgeous. Thanks for putting the finishing touches on this!

Ooops, sorry for the weird activity. I'll close this once the merging done.


aimbot

Hello. Thx for source))
I can not do aimbot function. Target->HeadBoneName returns 0.
there is no experience in the work of sdk, tell me how you can get this value and use it.

Well, I managed to make auto-aim on the head of the enemy. but he even captures those enemies that are behind the wall, can this be fixed?


Added p5.js youtube playlist

What does this PR do?
Add resources (video tutorials)
For resources
Description
Added the youtube playlist link of p5.js taught by Daniel Shiffman (The Coding Train)
Why is this valuable (or not)
p5.js is a wonderful library. You can check more details on its official website: https://p5js.org/
How do we know it's really free?
It's freely available on youtube.
For book lists, is it a book?
Nope
Checklist:

[ ✅] Not a duplicate
[ ✅] Included author(s) if appropriate
[✅ ] Lists are in alphabetical order
[✅ ] Needed indications added (PDF, access notes, under construction)

I think it 's a screencast and better to add it to free-podcasts-screencasts-en.md

@mbhup Welcome to Free-programming-books!


Ombi v4

Ombi v4 won't load up for myself.
Get blank screen or nginx writing. It's only on ombi v4 that it happening.
Issue is like this one https://github.com/Ombi-app/Ombi/issues/3931
Wondering if there's any fix?

https://github.com/Ombi-app/Ombi/issues/3483#issuecomment-787753428

@AliceDTRH is this fixed? Seems from the dev that it appears to be?

The recent versions of Ombi include a fix for the issue they mentioned in their ticket, but I don't know if @Hhhonlyfan has any remaining issues?

The recent versions of Ombi include a fix for the issue they mentioned in their ticket, but I don't know if @Hhhonlyfan has any remaining issues?

It still happens on th my domain.com/v4ombi link
But the standard one is working fine.


Request routing rule priority needs to be added

[Enter feedback here]
seems we need to add priority for request routing rule and it is missing on the sample code

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

ID: 56eb6358-d924-6565-0d8e-9229d11c30e0
Version Independent ID: 56eb6358-d924-6565-0d8e-9229d11c30e0
Content: Deploy an Azure Application Gateway v2 using Terraform to direct web traffic
Content Source: articles/terraform/deploy-application-gateway-v2.md
Service: terraform
GitHub Login: @vhorne
Microsoft Alias: victorh

Unfortunately, we have not been able to review this issue in a timely manner. We sincerely apologize for the delayed response. We are closing this issue. If you feel that the problem persists, please respond to this issue with any additional information.
Please continue to provide feedback about the documentation. We appreciate your contributions to our community.
#please-close


Activity Registration: Implement activity details components

Implement components from the Activity Registration design that are reusable in the component library.

[x] Capacity indicator => #19
[x] Badge => https://github.com/bcc-code/bcc-vue-components/pull/16
[ ] #20
[ ] #21
[ ] #22

Other components are implemented in the project itself.
Not a component for now:

Drawer // https://vant-contrib.gitee.io/vant/#/en-US/popup https://headlessui.com/vue/dialog

Closing this as all remaining tasks have been split off to separate issues.


Remove maximum XP at level 20

Currently the XP tracker still displays the maximum value once you reach level 20 (or whatever the max level you have defined in config). It might be cleaner to replace that with ∞ to indicate there is no longer a next level to achieve.

Possibly related request: Ticket 2201


Orion-CRC: Original H&E Images Data Access

While accessing the Orion-CRC data through the S3 buckets, I was able to locate the registered H&E and OME-TIFF images. However, I wanted to inquire if it's possible to access the original H&E images as well. If so, could you kindly provide the link to these images?

Dear Esha,
Sorry we don't have the original H&E images at this moment due to some patient-identity related issues.  We will let you know once these images become available.  Apologize for the inconvenience.
Best,
-jerry-


Added Chetham's School of Music

The main website is at chethams.com, which is used for email addresses, but the website for the school is at chethamsschoolofmusic.com.
The school offers Further Mathematics, including Statistics and Decision Mathematics, which can be seen from this document, detailing 6th form options, which is from the parent's information page.
You can find contact information showing the chethams.com domain being used for email addresses here.

@IntGrah Pull request merged. Thank you!

Thanks!


Optionally skip Django migrations during tests

This commit restores the ability to optionally skip (most) Django migrations during Python tests. This repository used to have the ability to do this using tox -e fast, but this feature was removed some time ago.
With this commit, by setting the SKIP_DJANGO_MIGRATIONS environment variable, the Django settings.MIGRATION_MODULES will be set to a special object that skips all migrations. Our custom test runner will then run a few specific data migrations which create required test data, for example a single Wagtail Site object.
Running tests this way significant speeds up testing because you avoid the time required to run migrations. This is noticeable during the testing step:
"Creating test database for alias 'default'..."
An anecdotal timing comparison:
$ SKIP_DJANGO_MIGRATIONS= time tox -e unittest-current
233.62 real       187.74 user         5.94 sys

$ SKIP_DJANGO_MIGRATIONS=1 time tox -e unittest-current
183.44 real       141.04 user         5.41 sys

So we save about 40-50 seconds by not running migrations.
Screenshots
Docs changes:

Checklist

[x] PR has an informative and human-readable title
[x] Changes are limited to a single goal (no scope creep)
[x] Code follows the standards laid out in the CFPB development guidelines
[x] Project documentation has been updated, potentially one or more of:

This repo’s docs (edit the files in the /docs folder) – for basic, close-to-the-code docs on working with this repo

It would be helpful for the documentation to discuss when it is safe/unsafe to use this option.


Check that objects queue is initialized before processing it, and process it entirely

What does this PR do?

Avoid key error at first check run by checking that the objects queue has been initialized
Process entire queue in one check run so that we are not blocked from refilling the queue in subsequent runs because there are still elements in it.

Motivation
What inspired you to submit this pull request?
Review checklist

[ ] PR has a meaningful title or PR has the no-changelog label attached
[ ] Feature or bugfix has tests
[ ] Git history is clean
[ ] If PR impacts documentation, docs team has been notified or an issue has been opened on the documentation repo

Additional Notes
Anything else we should know when reviewing?

Codecov Report

Merging #2192 into master will decrease coverage by 8.54%.
The diff coverage is 75%.

@@            Coverage Diff             @@
##           master    #2192      +/-   ##
==========================================
- Coverage   81.43%   72.88%   -8.55%
==========================================
  Files         375       13     -362
  Lines       24992      959   -24033
  Branches     3315      113    -3202
==========================================
- Hits        20352      699   -19653
+ Misses       3687      228    -3459
+ Partials      953       32     -921


C# docs improvements.

Update C#'s readme and other docs.
Fixes https://github.com/grpc/grpc/issues/16411

Known failures
https://github.com/grpc/grpc-dotnet/issues/160


add pipeline-parallel-size

add --pipeline-parallel-size for vllm, to efficiently use multi-gpu resources

Is an option for docker container. No need to change our eval code.


logf should emulate printf format specifiers

It would be very nice if logf were to fully honor printf-style format specifiers in the message template.
let consoleLogger = LoggerFactory.Create(fun builder -> builder.AddConsole() |> ignore).CreateLogger<obj>()

printfn "Duration: %.2fms" (5. / 3.)
// Duration: 1.67ms

logfi consoleLogger "Duration: %.2f{durationMs}ms" (5. / 3.)
// info: object[0]
//      Duration: 1.6666666666666667ms

We have to be careful to actually translate the format specifier into an equivalent .NET/ILogger format string, rather than just transforming the parameter itself, because it's not equivalent for some types of loggers. For example:
let plainConsoleLogger = (new Serilog.Extensions.Logging.SerilogLoggerFactory(LoggerConfiguration().WriteTo.Console().CreateLogger())).CreateLogger<obj>()
let jsonConsoleLogger = (new Serilog.Extensions.Logging.SerilogLoggerFactory(LoggerConfiguration().WriteTo.Console(formatter = JsonFormatter()).CreateLogger())).CreateLogger<obj>()

plainConsoleLogger.LogInformation("Duration: {durationMs:0.##}", (5. / 3.))
// [10:03:56 INF] Duration: 1.67

// This is what pre-formatting the argument inside logf and then passing it in would behave like
jsonConsoleLogger.LogInformation("Duration: {durationMs}", "1.67")
// {"Timestamp":"2023-06-08T10:09:27.6988000-06:00","Level":"Information","MessageTemplate":"Duration: {durationMs}","Properties":{"durationMs":"1.67","SourceContext":"object"}}

// This is what it *should* behave like. Notice that the output contains the full original object.
jsonConsoleLogger.LogInformation("Duration: {durationMs:0.##}", (5. / 3.))
// {"Timestamp":"2023-06-08T10:04:07.1231060-06:00","Level":"Information","MessageTemplate":"Duration: {durationMs:0.##}","Properties":{"durationMs":1.6666666666666667,"SourceContext":"object"},"Renderings":{"durationMs":[{"Format":"0.##","Rendering":"1.67"}]}}

Should probably create smaller-grained issues, since there are a lot of format specifiers of varying difficulty to implement.
Alternatives
An alternative approach could be to simply allow a user to specify a .NET-style format specifier themselves, by identifying when that is happening and just passing it through to the logger itself:
logfi ml "Duration: %f{durationMs:0.##}" (5. / 3.)

(This currently outputs [10:15:33 INF] Duration: 1.666667{durationMs:0.##})
This approach could even be implemented in conjunction with the more "correct" approach.
Advantages:

Very easy to implement
Allows full compatibility with existing ILogger.Log calls, for no case-by-case effort (i.e. perhaps there's something .NET-style format specifiers can do that F#-style format specifiers cannot)

Disadvantages:

User can't use their knowledge of F#-style format specifiers with this feature
Might have to consider how this would interact with string interpolation support in the future

Workarounds
One quick workaround is to format it yourself outside of the logf call:
logfi ml "Duration: %s{durationMs}" (sprintf "%.2f" (5. / 3.))

Tasks

[x] %x, %X - #13
[ ] %g, %G - #14
[ ] %M - #15
[x] %e, %E - #17
[ ] %B - #18
[ ] %o - #19
[x] flags, width, and precision - #16

Closing, as the basics were implemented in #20, and the rest are blocked by external issues.
Moving these last few format specifiers to #24.


best_k, public schema

Hello,
method best_k create temporary view in public schema, but we don't have access to this schema.

can you add parameter schema for this method to write temporary object?
Regards,
Alexandre

Hi Alexandr,
The vdf used as input can include the "writing schema".
vdf.set_schema_writing("my_schema")
best_k(vdf)

I think, we should add a general variable to solve this problem. We will add an extra parameter to the "set_option" function for v0.9.0.
Badr

Hello,
We could consider the following scenario:
• By default, the function looks at the vDataFrame passed as a parameter, and retrieves:
o The schema of the associated table OR the schema of the set_schema_writing parameter
o They can be potentially different: if the set_schema_writing is specified, it is priority
o Problem, this is not enough here, because on some functions you can directly pass a table and not a vDataFrame, you would then have to retrieve the schema linked to the table in question
• Then, if set_option is defined, then it takes the given schema
o This is then applied to all the functions, and replaces/overwrites the other possibilities
It's ok for you?
Alexandre


Guesslang without Tensorflow

Is it possible to run guesslang inference without the need of TensorFlow?
I see that some pre-trained model is offered as part of the github. But users will still need to install the complete TensorFlow to run guesslang. Just a thought.

Hello @geert56,
That's an interesting question.
Indeed there is a pre-trained model shipped with Guesslang https://github.com/yoeo/guesslang/tree/master/guesslang/data/model but as far as I know, we still need to use Tensorflow to load and interact with the model.
(Info about saved models here https://www.tensorflow.org/guide/saved_model )
Tensorflow offers tools that can be used to convert the saved model into an other Tensorflow flavor's format like Tensorflow-Lite or Tensorflow-JS. That can help you run the model on a mobile device or a website, with the appropriate Tensorflow runtime.
An other option is to use third party tools to convert the Tensorflow saved model to the Open Neural Network Exchange (ONNX) format. This open format is supported by various machine learning platforms including PyTorch & Caffe2 https://onnx.ai/supported-tools.html

Dear Y. Somda, thanks for the extensive answer. I am very familiar with TF and have build many models for it and also converted them to TF-Lite. It is just that for a rather computationally undemanding application as language classification it would be nice to have a compact standalone tool that would run on minimal hardware. I fully understand your choice. The problem with most frameworks (TF, Caffe, PyTorch, Chainer) is that it almost impossible to exchange models of pre-trained data. Anyway, nice job.

Hi @albertopoljak, I tried the TensorFlow Lite and TensorFlow.js converters too... with some hacking (trying everything I found on Stackoverflow), I was able to generate the models but they were barely usable.
I hope that Google improved the converters since then...

I just want to add a use case here: I'd like to deploy in an Alpine Linux environment/container, and Tensorflow does not play nicely with Alpine/musl.

Hello @AndydeCleyre,
As you said, I just tried to install Tensorflow on Alpine and I'm getting an error

/ # pip install tensorflow
ERROR: Could not find a version that satisfies the requirement tensorflow (from versions: none)
ERROR: No matching distribution found for tensorflow

If that's possible, I'd recommend that you use a dedicated container for Guesslang, based on tensorflow/tensorflow .
See https://www.tensorflow.org/install/docker
I tried it and it worked fine.

I'd recommend that you use a dedicated container for Guesslang

Are you saying that my Python program using GuessLang can be in an Alpine container, while using TensorFlow from another container?

Or what? I don't see how I could split Guesslang from my app's container . . .
Yes, I was thinking about that. You would call Guesslang through a REST API or something like that.

I have an example code here that runs Guesslang in a Flask web application
https://github.com/yoeo/chameledit/blob/a87a9a4914952fe76bd2c7457ff4632c42b6142c/chameledit/chameledit.py#L17
This solution can be overkill depending on your needs,
but the only other solutions that I can think about are:

run your Python application in a Tensorflow container (Ubuntu 16.04, with Python 3.8) instead of Alpine
or build Tensorflow from the source code in the Alpine image. I was not able to find build instructions for recent versions of Tensorflow on Alpine though.

Thanks! I may play around with that.

Dear Y. Somda, thanks for the extensive answer. I am very familiar with TF and have build many models for it and also converted them to TF-Lite. It is just that for a rather computationally undemanding application as language classification it would be nice to have a compact standalone tool that would run on minimal hardware. I fully understand your choice. The problem with most frameworks (TF, Caffe, PyTorch, Chainer) is that it is almost impossible to exchange models of pre-trained data. Anyway, nice job.

Hello @geert56,
Recently, I also wanted to convert the tensorflow model of the guesslang into an onnx model or a tensorflow lite model, but they all failed. Have you successfully converted? Can you share your experience below?

Hi @yoeo and everyone else, I'm also interested in doing this. I tried, and ran into tf/tf-lite errors. Just in case it helps / inspires anyone to have another go, here is a script with the steps that I've tried so far, and the tracebacks I obtained: https://github.com/dandavison/misc-python/blob/main/tensorflow_lite_create_model.py
It would be great if we could figure this out! (I was going to look into calling it from Rust using https://github.com/boncheolgu/tflite-rs)

@geert56, it sounds like you have a lot of experience with TF. Would you be able to help point the way forwards regarding the errors we are encountering with TF-Lite conversion? (See e.g. https://github.com/dandavison/misc-python/blob/main/tensorflow_lite_create_model.py)


Find a better way to force non-desktop bindings even when switching applications

Currently, a bug in Steam, using a console window, is used to stay in shortcut bindings even if applications get switched.
I tried looking at what Steam does but my reversing skills are very very basic.
So far I've seen that Steam checks the current ForegroundWindow using GetForegroundWindow, I tried hooking that, but had no luck.

I might have found a better way:
In steamclient.dll the AppID of the (to become) active controller-binding gets moved to the EAX register
By doing a mid function hook, injecting a little bit of code, every available binding can get enforced.
Here's a signature "\x8B\x45\x0c\x57\x8B\x7D\x08" (all bytes matched) so you can easy find the address

Do you have any ideas about improving this? I may be able to help in RE.

Hi, just to want to share some interesting experience. I've found that the minecraft launcher (java pc) keep hooking even when switching applicatins. Just add it as non steam game, disable use desktop shortcut launcer, and it still keep any type of bindings, xinput and km. It should be interesting to find which kind of code it use just to  replicate a common target, avoiding any type of memory hack.

@MJavad: No idea on how to do this properly yet.
@DawsSangio: You mean without GloSC? Well for me that's not the case. Still switches happily configuration... (Also I doubt Minecraft hooks anything :D )

Yes, without GloSC. Launching the new official Minecraft Java frontend let Steam hook and remain with custom bindings even when loosing focus.
I've tested with several different pc with success, indeed I'm using this trick to play the UWP version of Minecraft with dedicated KM setup.

As I've said, doesn't work for me.


Pass categorical features after dropping dropped features in CounterfactualManager

Description
It seems we are passing categorical_features without dropping the dropped features from it.
Checklist

[ ] I have added screenshots above for all UI changes.
[ ] I have added e2e tests for all UI changes.
[ ] Documentation was updated if it was needed.

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@8b78b14). Click here to learn what that means.
The diff coverage is n/a.

:exclamation: Current head ad99670 differs from pull request most recent head 3bf86c1. Consider uploading reports for the commit 3bf86c1 to get more accurate results

@@           Coverage Diff           @@
##             main    #2241   +/-   ##
=======================================
  Coverage        ?   91.84%
=======================================
  Files           ?       35
  Lines           ?      699
  Branches        ?        0
=======================================
  Hits            ?      642
  Misses          ?       57
  Partials        ?        0

Flag
Coverage Δ

unittests
91.84% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.


ENYO-6200: Add position prop to ProgressBarTooltip

Checklist

[X] I have read and understand the contribution guide

[X] A CHANGELOG entry is included

[ ] At least one test case is included for this feature or bug fix

[X] Documentation was added or is not needed

[ ] This is an API breaking change

Issue Resolved / Feature Added
Authors are unable to control the position of ProgressBarTooltip and SliderTooltip effectively with the current API. For example, it is not possible to force the tooltip to always display to one side.
Resolution

Add position prop with broader set of values to replace side
Deprecate side

Additional Considerations

Reordered knobs in ProgressBar and Slider stories to force the component tab to appear before the tooltip tab
Added an internal deprecated prop type to simplify deprecating props
Added a custom prop type validate for position to warn when using invalid values with orientation

Oof. Should add some unit tests to this.


Fixing DynamicScrapper

Closes #197.

The issue seems to come from a cache.

The DynamicScrapper renders correctly when not running the ansys/actions.

This is to investigate.

This will be implemented within PyMAPDL soon with https://github.com/ansys/pymapdl/pull/2241


Remove Gitorious

As of Build #968, Gitorious seems to be offline. It has been just a read only website for some time, but they might have decided to shut it down.
Since it's owned by GitLab, which is fairly big, I'll give it a 2-3 day grace period to see if it comes back online, before merging.

how sad :( but it is likely the case.


Updated lock file

Can we add a description noting that we are removing the yarn lock in favor of standardizing on npm?