Fix: release workflow

@Midnighter created a nice workflow that will publish to pypi on release. We now want to set things up so

we use pypi trusted publisher workflows
we separate the build and the publish into two sections of the workflow

for reference see how we are doing things for pyosmeta. once we publish to pypi we can then create a trusted workflow using that specific project on pypi.
https://github.com/pyOpenSci/pyosMeta/blob/main/.github/workflows/publish-pypi.yml

@Revathyvenugopal162 I just merged your PR. I'm so sorry about how slow I've been responding. Would you like me to create a release, or would you like to do it?

@lwasser could you please do the release of https://pypi.org/project/pyos-sphinx-theme/ version1.0.0? then we can start migrating the packages to this theme

i just tried to cut a release - it should all be done via github but it's throwing an error
it looks like it's building and not updating the tag as it should for the release version as it's still showing o.1dev which is a "dirty" build from the last release -
https://pypi.org/project/pyos-sphinx-theme/
If you or anyone needs more permissions to play with things please let me know!!

ok it looks like there are two GitHub action release workflows in this repo. we only need one.
to begin i'm going to delete - https://github.com/pyOpenSci/pyos-sphinx-theme/blob/main/.github/workflows/release.yml as it seems to not use sigstore or envts. (i think?).
then i'm going to see if i can get the second workflow running. it could just be a pypi config issue.

Ok i was just able to create a release and we are now at version 0.3. The build failed at sigstore, saying that the distribution files were already on sigstore, I think? But the new version is on PyPI. So things are working, we just have to manually bump the version in the __init__.py file before making a release for the time being. I"'m going to close this issue for now and open new ones specifically related to the sigstore issue and then another for versioning, which is nice to have but not required!


Set List Filters to "Argument Optional"

Per suggestion from @vitorgalvao:

Also, I recommend you change the List Filters to Argument Optional instead of Argument Required as that allows people to see the available stations even before typing. Because Alfred learns from the choice, common choices will begin bubbling to the top.

already released


Issues matching theme with lualine

Hello,
i have installed lualine and set it up this way to have the matching theme with this plugin:
use {
  'nvim-lualine/lualine.nvim',
  requires = {'nvim-tree/nvim-web-devicons', opt = true},
}

use 'projekt0n/github-nvim-theme'

--[github-theme]--
require('github-theme').setup({
  theme_style = "dark_default",
  --sidebars = {"qf", "vista_kind", "terminal", "packer"},
  dark_sidebar = false,
})

--[lualine]--
require('lualine').setup()

this way looks like it's working but noted the following:
1- If i put require('github-theme').setup({[...]}) after require('lualine').setup()
then lualine loads but the theme is not picked.
2- Following details in this page https://github.com/projekt0n/github-nvim-theme/blob/main/LUALINE.md i have a bunch of errors about lualine module not found because when i add after = "github-nvim-theme" then lualine itself is moved from /start to /opt. Don't know why this happens.

Try a new revision on main after 4d5a4ce881d5d412b7f10f6b2fc7b3531a5138cc.

Closing due to inactivity. Can reopen later.


There is not a react template for net7.0 or net8.0

I removed net7.0 and net8.0 from the table for angular, react dotnet new template.  This section needs to be further edited.
I get this error for dotnet new react --framework net8.0
Error: Invalid option(s):
--framework net8.0
'net8.0' is not a valid value for --framework. The possible values are:
net6.0   - Target net6.0
Summary
Describe your changes here.
Fixes #Issue_Number (if available)

Internal previews

📄 File
🔗 Preview link

docs/core/tools/dotnet-new-sdk-templates.md
.NET default templates for dotnet new

The react template is present in .NET 7 SDK, it's missing only from .NET 8 SDK and we should send people who want to create a React project in .NET 8 and later to Visual Studio 2022.


The Database MetaData logic doesn't work on SQLServer

When optimizing the database metadata logic, we use the ability to read ALL foreign keys in a schema. However, in SQLServer for example, such ability is not there and we must run FKs for each table one by one.

Duplicate of #739


Hello , can i reupload the mod on curseforge?

It seem thats the license if MIT so i think i can

Quite a few elements are also implemented in Universal Tweaks by now.

me i use it for rsturbo and newlight


Nomad using Consul for Service Descovery

this is probably the same as issue 13 but do some investigation after working on issue13 and issue14


Handle Arel::UpdateManager instances as sql.

Fix for issue #9: Exception when saving data on Rails 3.1
Update to handle the passed instance of Arel::UpdateManager in Rails 3.1, instead of a sql query string.
Those where the only two places it was generating an error, sometimes it gets a string others an Arel::UpdateManager instance.

Excellent thanks for adding that. Merged.


🐛 Bug Report: NextScaffolderPage shows a timer under skipped steps

📜 Description
The /create/tasks page in scaffolder alpha is showing skipped steps as still running by displaying a timer thats counting up.
👍 Expected behavior
If I have template steps that get skipped when triggering a template, I would expect the tasks page to show a clear indication that they are not running and were in fact skipped.
👎 Actual Behavior with Screenshots
I get what appears to be a skipped icon (circle with dash in middle) but I also get a timer under the icon which makes it appear like the task is still running, and my interpretation of the icon becomes 'incomplete' instead of 'skipped'.

logs
[53](http://localhost:3000/create/tasks/b10575ba-2f0c-4fe5-b354-5641618755e9#line-53)2023-03-08T15:52:31.367Z Beginning step Register Repository Ownership[54](http://localhost:3000/create/tasks/b10575ba-2f0c-4fe5-b354-5641618755e9#line-54)2023-03-08T15:52:31.371Z Skipping step registerRepositoryOwnership because its if condition was false[55](http://localhost:3000/create/tasks/b10575ba-2f0c-4fe5-b354-5641618755e9#line-55)2023-03-08T15:52:31.372Z Beginning step Configure Deployment[56](http://localhost:3000/create/tasks/b10575ba-2f0c-4fe5-b354-5641618755e9#line-56)2023-03-08T15:52:31.376Z Skipping step configureDeployment because its if condition was false

👟 Reproduction steps
Run a template with some steps you expect to be skipped. It's possible these skipped steps need to be at the end of the template, I have not tested it with skipped steps that are in the middle and get followed by steps that run and complete. I would imagine its very possible the skip displays as intended there.
📃 Provide the context for the Bug.
A user running a template would like a clear confirmation that their task is done, even if steps are skipped. The small green bar is usually sufficient, but the timer counting up under the skipped steps contradicts it. An appropriate fix here would be to ensure the timer doesnt show under skipped steps.
🖥 Your Environment
Chrome Version 110.0.5481.177 (Official Build) (x86_64)
% yarn backstage-cli info
yarn run v1.22.19
...
OS:   Darwin 22.3.0 - darwin/x64
node: v16.19.0
yarn: 1.22.19
cli:  0.22.3 (installed)
backstage:  1.11.0

Dependencies:
  @backstage/app-defaults                 1.2.0
  @backstage/backend-app-api              0.4.0
  @backstage/backend-common               0.18.2
  @backstage/backend-dev-utils            0.1.0
  @backstage/backend-plugin-api           0.4.0
  @backstage/backend-tasks                0.4.3
  @backstage/catalog-client               1.3.1
  @backstage/catalog-model                1.2.0
  @backstage/cli-common                   0.1.11
  @backstage/cli                          0.22.3
  @backstage/config-loader                1.1.8
  @backstage/config                       1.0.6
  @backstage/core-app-api                 1.5.0
  @backstage/core-components              0.12.4
  @backstage/core-plugin-api              1.4.0
  @backstage/dev-utils                    1.0.12
  @backstage/errors                       1.1.4
  @backstage/eslint-plugin                0.1.1
  @backstage/integration-aws-node         0.1.1
  @backstage/integration-react            1.1.10
  @backstage/integration                  1.4.2
  @backstage/plugin-api-docs              0.9.0
  @backstage/plugin-app-backend           0.3.42
  @backstage/plugin-auth-backend          0.18.0
  @backstage/plugin-auth-node             0.2.11
  @backstage/plugin-catalog-backend       1.7.2
  @backstage/plugin-catalog-common        1.0.11
  @backstage/plugin-catalog-graph         0.2.27
  @backstage/plugin-catalog-import        0.9.5
  @backstage/plugin-catalog-node          1.3.3
  @backstage/plugin-catalog-react         1.3.0
  @backstage/plugin-catalog               1.8.0
  @backstage/plugin-circleci              0.3.15
  @backstage/plugin-cost-insights-common  0.1.1
  @backstage/plugin-cost-insights         0.12.4
  @backstage/plugin-github-actions        0.5.15
  @backstage/plugin-home                  0.4.31
  @backstage/plugin-org                   0.6.5
  @backstage/plugin-permission-backend    0.5.17
  @backstage/plugin-permission-common     0.7.3
  @backstage/plugin-permission-node       0.7.5
  @backstage/plugin-permission-react      0.4.10
  @backstage/plugin-proxy-backend         0.2.36
  @backstage/plugin-scaffolder-backend    1.11.0
  @backstage/plugin-scaffolder-common     1.2.5
  @backstage/plugin-scaffolder-node       0.1.0
  @backstage/plugin-scaffolder-react      1.1.0
  @backstage/plugin-scaffolder            1.11.0
  @backstage/plugin-search-backend-node   1.1.3
  @backstage/plugin-search-backend        1.2.3
  @backstage/plugin-search-common         1.2.1
  @backstage/plugin-search-react          1.5.0
  @backstage/plugin-search                1.1.0
  @backstage/plugin-techdocs-backend      1.5.3
  @backstage/plugin-techdocs-node         1.5.0
  @backstage/plugin-techdocs-react        1.1.3
  @backstage/plugin-techdocs              1.5.0
  @backstage/plugin-user-settings-backend 0.1.6
  @backstage/plugin-user-settings         0.7.0
  @backstage/release-manifests            0.0.8
  @backstage/test-utils                   1.2.5
  @backstage/theme                        0.2.17
  @backstage/types                        1.0.2
  @backstage/version-bridge               1.0.3
✨  Done in 1.58s.

👀 Have you spent some time to check if this bug has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Are you willing to submit PR?
Yes I am willing to submit a PR!

Sounds like a bug! Happy to accept a PR 🙏

Taking this issue on then!

Looking at the code base, there's a couple ways to resolve this. One would be to provided skipped steps with an 'endedAt' value so the front end component recognizes them as complete, however without knowing if there's an existing reason to keep that field null for them I dont want to presume that's a safe thing to do. Otherwise I can add a status check to the StepTime component in /next easily enough. Any recommendation here?

gonna go with the latter in the mean time, since it seems like the easy fix here


Fix compatibility with ember 2

This is needed in order to get this working with ember 2 and remove deprecation warnings for 1.13+

Awesome, thanks!

Published to npm as<EMAIL_ADDRESS>

Thanks!


RSC10, RSC14c: Adapt to new spec, 40140 -> [40140, 40150).

https://github.com/ably/docs/commit/b628023b83aca480464d55e4260e21ee20690d7a
Because the CI is currently pretty much useless, I'll leave this here:

@ricardopereira All PRs should be rebased on top of this once it's merged, or tests won't pass.

LGTM

@mattheworiordan Merging because it's a bit annoying to have this one blocked.

LGTM, sorry for the delay @tcard


Spatial Audio Functional Regression - different spatial scaling factor for each object

What problem does this solve or what need does it fill?
I want to scale spatial audio differently for each effect. This is so I can have some "far away" effects (low volume, low distance scaling) mixed together with some "close up" effects (high volume, high distance scaling).
For example, explosions - when they happen far away, https://freesound.org/people/rhapsodize/sounds/255111/
When they happen close up, https://freesound.org/people/juskiddink/sounds/108641/
Both effects need to live at the same time with different spatial scales, because the camera can quickly move closer/further away from the audio source.
I would also want this to work on multiple listeners at the same time: one main camera for 80% volume, and a few extra cameras for 20% volume each.
This was trivial under Bevy 0.11 (in the old update positions system), but now is impossible with bevy_audio 0.12:

https://bevyengine.org/learn/migration-guides/0.11-0.12/#more-ergonomic-spatial-audio
If you were manually scaling emitter/listener positions, you can use the spatial_scale field of AudioPlugin instead.

But the AudioPlugin is a global, so all objects must share the same spatial scale.
What solution would you like?
Extra field spatial scale for each Spatial Audio Source
What alternative(s) have you considered?

in a system, manually change the RelativeVolume component based on distance and some formula

problem: doesn't work with multiple listeners, because the volume is set per-effect not per-listener

swap out bevy_audio for one of the external plugins

"Spatial Scale" in Bevy 0.11 was also "global" -- it affects the position of the ears as well.
I think another potential workaround would be adding a system that multiplies your emitter GlobalTransform translations after TransformSystem::TransformPropagate but before AudioPlaySet. If that works for you, I'm not sure if this needs to be treated as a regression.
Affecting a particular audio source's distance attenuation seems useful. I'd like to see examples of how other game engine audio APIs work for this use-case.

Godot has the following on its emitters:

Attentuation model
Max distance
"Unit Size" (scale)

And no configuration for the listener, only position. There can only be one active listener.

"Spatial Scale" in Bevy 0.11 was also "global" -- it affects the position of the ears as well. At least how it was implemented in the examples.

Yes, what I did was scale the sink around the listener:
fn update_spatial_audio_locations(
    emitter_query: Query<(&GlobalTransform, &SpatialAudioSink, &SpatialAudioEffect)>,
    listener_query: Query<&GlobalTransform, With<SpatialAudioListener>>,
) {
    let Ok(listener) = listener_query.get_single() else {
        return;
    };
    let listener = listener.compute_transform();

    for (emitter, sink, effect_info) in &emitter_query {
        let emitter = emitter.compute_transform().translation;
        let emitter =
            listener.translation + (emitter - listener.translation) * effect_info.scale_range;
        sink.set_emitter_position(emitter);
        sink.set_listener_position(listener, SPATIAL_AUDIO_EAR_GAP);
    }
}

I think another potential workaround would be adding a system that multiplies your emitter GlobalTransform translations after TransformSystem::TransformPropagate but before AudioPlaySet

I'll take a look, thanks!

I'd like to see examples of how other game engine audio APIs work for this use-case.

Godot

each "audio source" is controlled by "audio stream player 3d" which has separate spatial controls, including linear damping, collisions, reverb
support for multiple listeners (called Audio Busses), mixed together: https://docs.godotengine.org/en/3.2/tutorials/audio/audio_buses.html#doc-audio-buses

Unity

"audio source" has a bunch of 3D Sound Settings - https://docs.unity3d.com/Manual/class-AudioSource.html

look at the graphs in the picture: volume,  reverb, etc. as functions of distance

multiple listeners NOT supported - Each scene can only have one Audio Listener.

Unreal

extremely complex including volume attenuation, spatial collisions, focus, priority, etc.
customizable for each separate audio source

different spatial audio settings for each emitter object
meaningful support for multiple simultaneous listeners with different spatial settings and positions (like Godot Audio Busses)
should open a different feature request for this one

Agreed, thanks for doing that roundup. On the first bullet point, I know that scale is obviously feasible but I'm guessing that other attenuation options might not be doable with rodio.
Just need to determine whether or not there's an acceptable workaround now.


improve markup of code examples

Currently there is markup like
 but it should be
 to prevent self closing tags or issues arising from this.
@tomscholz should that be fixed / improved?

It is used to prevent that Prism.js strips off pre existing HTL code, did not know this http://prismjs.com/faq.html#if-pre-existing-html-is-stripped-off-how-can-i-highlight


Frequent TypeErrors in console when rapidly changing hover targets

If I move my mouse rapidly up and down over a document in my sidebar with lots of links, a gradually increasing number of these errors occur in the console:
TypeError: Cannot read properties of null (reading 'path')
    at e.set (app.js:1:1197063)
    at t.setViewData (app.js:1:1544440)
    at t.setData (app.js:1:1232084)
    at t.<anonymous> (app.js:1:1231987)
    at app.js:1:127083
    at Object.next (app.js:1:127188)
    at s (app.js:1:125927)

This appears to indicate a race condition where closing the popup before it is finished loading causes Obsidian to try to process the loaded data in a no-longer functional leaf.  It looks like maybe detach() should check to see if the leaf is .working, and if so defer the detach until completion before actually detaching.
This is not the only such TypeError that can occur, btw, but it's the most reproducible one.  Here are some others:
app.js:formatted:58622 Uncaught TypeError: Cannot read properties of null (reading 'onResize')
    at re.t.onResize (app.js:1:1280665)
    at a (app.js:1:233024)

app.js:formatted:58522 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'setEphemeralState')
    at re.t.setEphemeralState (app.js:1:1278551)
    at re.<anonymous> (app.js:1:1278242)
    at app.js:1:127083
    at Object.next (app.js:1:127188)
    at s (app.js:1:125927)

In both of these cases, the error is the leaf trying to do something to a view that doesn't exist.  But I don't know how to reproduce them, and it's possible that they stem from the same source, anyway, just failing in a different part of the code,

We're kind of stress testing the rapid fire creation of leafs & views here which is something I don't think Licat expects to happen often :) The main cause seems to be the lack of a null check on onResize. This reduces the number of issues pretty considerably
  onResize(): void {
    // the native obsidian method does not do a null check on this.view
    this.view?.onResize();
  }

However the path issue is definitely a race condition. this.working didn't seem to be sufficient so I added two new checks this.opening and this.detaching to make sure those two actions don't intersect. With this setup I haven't been able to replicate any exceptions so far.

Nice!  I will look forward to the release.

https://github.com/nothingislost/obsidian-hover-editor/releases/tag/0.3.5 is now available. Let me know how it goes when you have a chance to check it out.
Thanks again for the feedback and testing. Much appreciated!

Looks like it works!  Hovered all the things and no errors in console.


[feature] add mysql-client as dependency

now we don't have mysql command...

maybe duplicate: https://github.com/laradock/laradock/issues/1423#issue-304327879

I have forked my own copy and made changes but I think it's a very common scenario
Thank you @UnderDogg

now can customized install on laradock/laradock .env INSTALL_MYSQL_CLIENT.


Rename kubefnord to something more appropriate

Seems like we can do a lot better than fnord w.r.t. understandability
https://en.wikipedia.org/wiki/Fnord
kubefed ?
fedctl ?

+1 to fedctl

@irfanurrehman Assigning to you, already tracked in the milestone.

Fixed by #149


[HUDI-6151] Rollback previously applied commits to MDT when operations are retried.

[HUDI-6151] Rollback previously applied commits to MDT when operations are retried.
Change Logs
Operations like Clean, Compaction are retried after failures with the same instant time. If the previous run of the operation successfully committed to the MDT but failed to commit to the dataset, then the operation will be retried later with the same instantTime causing duplicate updates applied to MDT.
Currently, we simply delete the completed deltacommit without rolling back the deltacommit.
To handle this, we detect a replay of operation and rollback any changes from that operation in MDT.
Impact
Fixes the issue of duplicate log blocks written in the MDT. This is deterimental for indexes where duplicates are not allowed.
Risk level (write none, low medium or high below)
None. Unit test has been added.
Documentation Update
None
Contributor's checklist

[ ] Read through contributor's guide
[ ] Change Logs and Impact were stated clearly
[ ] Adequate tests were added if applicable
[ ] CI passed

LGTM.

+1, we are good if the test failures are resolved.

once the CI is green, we can land

@prashantwason can you rebase with the latest master code and re-trigger the Azure CI tests?

@prashantwason can you rebase with the latest master code and re-trigger the Azure CI tests?

@prashantwason can you rebase with the latest master code and re-trigger the Azure CI tests?

@prashantwason can you rebase with the latest master code and re-trigger the Azure CI tests?

@prashantwason can you rebase with the latest master code and re-trigger the Azure CI tests?

@danny0405 @nsivabalan @prashantwason I rebased the PR on the latest PR.  Once CI passes, we can land this.

@danny0405  I have synced the fix to FlinkHoodieBackedTableMetadataWriter. Please take a look.

@hudi-bot run azure

There was a test failure: https://dev.azure.com/apache-hudi-ci-org/apache-hudi-ci/_build/results?buildId=18151&view=logs&j=7601efb9-4019-552e-11ba-eb31b66593b2&t=9688f101-287d-53f4-2a80-87202516f5d0&l=34039, can you take a look ~

Change looks good. Have fixed the failing tests. We can land once the CI is green.

Nice job! @codope ~


Roll Flutter Engine from e3fe6dade964 to d949247424b7 (2 revisions)

https://github.com/flutter/engine/compare/e3fe6dade964...d949247424b7
2023-02-03<EMAIL_ADDRESS>Roll Fuchsia Linux SDK from pWloCaRzjLEAUvQEz... to CAyoT0SrHHyXCMF31... (flutter/engine#39354)
2023-02-03<EMAIL_ADDRESS>[impellerc] sort uniforms on metal backend (flutter/engine#39345)
Also rolling transitive DEPS:
fuchsia/sdk/core/linux-amd64 from pWloCaRzjLEA to CAyoT0SrHHyX
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC bdero@google.com,rmistry<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


add CITATION.bib

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 12.102%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
19

Relevant Lines:
157

💛  - Coveralls


need 3X versions of the art

new devices need 3x art.  From my cursory look you generate the are from the psds, so you would need to update your export scripts.

Hello, the remaining 3X versions of our images have been added in v2.0.0. Thanks for using Apptentive!
https://github.com/apptentive/apptentive-ios/releases/tag/v2.0.0


Propose new page meta

This idea might be really worhty to consider (in my opinion at least).
It follows from this ( Respect the :section metadata when generating help HTML #8 )

Reworked output system for new Lexicon
Currently we use a number of different config setting to handle this.
Config

category_order Categories to include in the output in the defined order.

include_internal To exclude documentation for non-exported objects, the keyword argument include_internal = false should be set. This is only supported for markdown.

md_subheader

md_subheader=:simple adds documentation and API-Index subheaders "Exported" / "Internal".
md_subheader=:category adds documentation and API-Index subheaders per category.
md_subheader=:skip adds no subheaders to the documentation and API-Index and can be used for documentation which has only few entries.

Currently we have a structure like this
outputfile.md
- Page Header: ModuleName
- Header1: Exported

    - Section1: :methods

        * obj1()

        * obj2()

    - Section2: :types

        * obj1()

        * obj2()

- Header2: Internal

    - Section1: :methods

        * obj1()

        * obj2()

    - Section2: :types

        * obj1()

        * obj2()

This info is also internaly available.

Until now most Lexicon user did think of saving documentation per module.
With the New Docile we can think about saving documentation for packages or even for a whole list of packages and intermix them.
So why don't we combine all of that in a much more flexible system.

:pages this is the final output page: whatever mixture of content it gets: does not mean only from one module
nor only one package - it could get all types from 5 packages or any other mixture of object documentation.

pages can contain optional:

Any number of Headers

Headers can contain optional:

Any number of SectionHeaders
documentation

SectionHeaders can container

documentation

documentation item order is by simple incrementation

To make the reference to the place easy all is handled similar to a file path.
A documentations final output position can be defined like this:
CASE 1: I want to place a new aside note in the PageHeader (Module: Lexicon) of file Lexicon.md
["""
This is a new idea the first item below the PageHeader.

:page=Lexicon.md/Module: Lexicon/1
"""]

CASE 2: I want to place a function's docstring into file ConvertFunctions.md under a Header(Unicode) in the Section (Asia) as the 6 item
"""
My new convert unicode japanese function
"""
function jp_unicode_convert()
end

:page=ConvertFunctions.md/Unicode/Asia/6
"""

For automatic api like now we could internally create the sections like we use it now
One could also go the whole way and allow sub sub sections maybe 6 like there are header # but I'm not sure if I would go that way.
Also one would need to see how this could finally be implemented but I find the idea quite convincing.
Want to move the above jp_unicode_convert to an other page.
just replace the :page meta with
:page=Asia.md/Unicode/ConvertFunctions/23

Shortcoming:
The above is quite nice but does not allow for moving whole Sections easily because the whole path is hard coded and would need to be changed each docstring.

Advantage because the whole path is always given one can do probably a string replace.

maybe one could do something like on the filesystem: move directory or so ;)

Aside of the shortcoming this might be a real good thing and is probably doable keeping our automatic asignments to "Exported/Internal" Headers with "Sections by Category"
the :page meta would replace any old :section tags.

This sounds good. Getting a nice user-friendly way to specify things will definitely be needed, but I'd be happy with adding something like this, or that achieves the same goal at least.

My Idea would be that save does not specify the file path anymore but an output dir.
This would allow the document writer to specify a whole structure without package name clashes when 2 pkg provide the same page.md name or if one wants to have the final output in an subfolder.

For all objects which do not provide a :page meta we could fall back to the current options:

page path: modulename.md
Module Header: ModuleName: providing a placeholder :modname
Headers: Exported, Internal
Sections: Categories: providing a convinence placeholder :all
objects: order like now

in Config have one option to define which autostructure is wanted by defining Headers and Sections all optional a Vector with tuples: Header [Sections]
e.g.  The below would be the same as what we use now but include_internal=false
pages = [(:modname, []),  (:Exported, [:all])]

Internal we produce :page metas:
:page=Lexicon.md/Exported/methods/1
:page=Lexicon.md/Exported/methods/2

:page=Lexicon.md/Exported/types/1
:page=Lexicon.md/Exported/types/2

To put docstrings wihtout a :page meta including only Internal methods first and Exported methos, macros
pages = [(:modname, []), (:Internal, [:methods]),  (:Exported, [:methos, :macros])]

We gould probably do most work with the path methods provided by julia.
:page=Lexicon.md/Exported/types/2

basename(:page)  - '1'
dirname(page) - is the Section path where to put it: 'Lexicon.md/Exported/types'

anyway if you think something like that is worthy this could superceed issue: https://github.com/MichaelHatherly/Lexicon.jl/issues/8

If it is fine with you I would like to start with some code for this:

Extraction of the :page meta content from the getraw txt.

adding the meta :page to the getmeta[obj]

if no :page was defined add an calulated one based on Modulename/Exported/Internal Category settings

Implement the part so that the obj docstrings are actuelly written to the right output page/Header/Section in the defined order

None defined items in sorted order others as defined in the :page meta

I think I'm able to do this and then come back to you for a review and maybe code improvement?
What do you say?

Extraction of the :page meta content from the getraw txt.

We will need to have a general metadata extraction facility setup first before we can start working on this I'd think.
Other than that the proposal seems worth trying out.

I thought because in general metadata are expected at the end of an docstring to use something simple on the rawtxt.
e.g.
startidx = rsearchindex(txt, ":page")
if startidx > 0
    startidx += lenght(":page")
    endidx = searchindex(txt, '\n', startidx)
    final_page_line = strip(txt[startidx:endidx])
else
    # do it manual
end

one could do that to extract multiple metas also to avoid rescanning the whole text.

I'd really like something a bit more versatile that having everything at the end:
"""
!!author(Michael Hatherly)
!!license(MIT)

some text ...

!!args(
x: something about `x`.
y: something about `y`.
)

!!page(Lexicon.md/Exported/methods/1)
"""
foobar(x, y) = x + y

Then allow the user to define metadata extraction methods with something like:
function Lexicon.extractmeta(::Meta{:author}, text, obj, mod)
    # do some custom parsing, add stuff to metadata and return some replacement text.
end

The !! syntax of course can be up for discussion.

I think !!() is just fine

extract this in Docile or in Lexicon.

Do you want to allow within the brackets other brackets if not we still could do a simple index search and extract any !!()

See #105 for continued discussion of metadata fields.

maybe better to keep this as :section meta

This seems to be obsolete by now with your idea from here
out =
    document(
        config(...),
        section(
            # The manual section of the documentation.
            config(...),
            page(...),
            page(...),
            section(...))
        section(
            # The function reference section.
            page(...),
            other_pages...))

save(pdf("out.pdf", out))
save(markdown("out", out))


Fzf works in bash, not in vim.

Category

[ ] fzf binary
[ ] fzf-tmux script
[ ] Key bindings
[ ] Completion
[x] Vim
[ ] Neovim
[ ] Etc.

OS

[ ] Linux
[x] Mac OS X
[ ] Windows
[ ] Windows Subsystem for Linux
[ ] Etc.

Shell

[ ] bash
[ ] zsh
[ ] fish

Fzf works perfectly in bash. I've setup using vim-plug as described here: https://github.com/junegunn/fzf.vim#installation, but nothing seems to happen when typing any of the commands.
For example, typing ":Files" or ":FZF" will do nothing, no errors, no indication of anything happening, However, I do have to type "ctrl-c" to return to normal mode. Would greatly appreciate any help, thanks!

Hmm, I'm not sure but it could be an issue of tmux.

Do you use tmux?
Does :FZF! work (command with exclamation mark)?

I had tmux installed, so I uninstalled and no changes.
:FZF! doesn't register anything.
I noticed this within bash, typing FZF does nothing, and typing ctrl-c exits the apparent operation. Again no errors or indication of problem.
However, in bash, using ctrl-T,  ctrl-R, or any of the hotkey commands works.

I see, which version of Vim do you have? (:version)

Here ya go:
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Jan  4 2017 03:54:40)
MacOS X (unix) version
Included patches: 1-142
Compiled by<EMAIL_ADDRESS>Huge version with MacVim GUI.  Features included (+) or not (-):
+acl             +cmdline_compl   +digraphs        +folding         +lambda          +mouse           +multi_lang      +profile         +statusline      +timers          +wildignore
+arabic          +cmdline_hist    +dnd             -footer          +langmap         +mouseshape      -mzscheme        +python/dyn      -sun_workshop    +title           +wildmenu
+autocmd         +cmdline_info    -ebcdic          +fork()          +libcall         +mouse_dec       +netbeans_intg   +python3/dyn     +syntax          +toolbar         +windows
+balloon_eval    +comments        +emacs_tags      +fullscreen      +linebreak       -mouse_gpm       +num64           +quickfix        +tag_binary      +transparency    +writebackup
+browse          +conceal         +eval            -gettext         +lispindent      -mouse_jsbterm   +odbeditor       +reltime         +tag_old_static  +user_commands   -X11
++builtin_terms  +cryptv          +ex_extra        -hangul_input    +listcmds        +mouse_netterm   +packages        +rightleft       -tag_any_white   +vertsplit       -xfontset
+byte_offset     +cscope          +extra_search    +iconv           +localmap        +mouse_sgr       +path_extra      +ruby/dyn        -tcl             +virtualedit     +xim
+channel         +cursorbind      +farsi           +insert_expand   +lua/dyn         -mouse_sysmouse  +perl/dyn        +scrollbind      +termguicolors   +visual          -xpm
+cindent         +cursorshape     +file_in_path    +job             +menu            +mouse_urxvt     +persistent_undo +signs           +terminfo        +visualextra     -xsmp
+clientserver    +dialog_con_gui  +find_in_path    +jumplist        +mksession       +mouse_xterm     +postscript      +smartindent     +termresponse    +viminfo         -xterm_clipboard
+clipboard       +diff            +float           +keymap          +modify_fname    +multi_byte      +printer         +startuptime     +textobjects     +vreplace        -xterm_save
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
 2nd user vimrc file: "~/.vim/vimrc"
      user exrc file: "$HOME/.exrc"
  system gvimrc file: "$VIM/gvimrc"
    user gvimrc file: "$HOME/.gvimrc"
2nd user gvimrc file: "~/.vim/gvimrc"
       defaults file: "$VIMRUNTIME/defaults.vim"
    system menu file: "$VIMRUNTIME/menu.vim"
  fall-back for $VIM: "/Applications/MacVim.app/Contents/Resources/vim"
Compilation: clang -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_MACVIM -Wall -Wno-unknown-pragmas -pipe  -DMACOS_X_UNIX  -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: clang   -L. -fstack-protector -L/usr/local/opt/libyaml/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/libksba/lib -L/usr/local/opt/openssl/lib  -L. -fstack-protector -L/usr/local
/opt/libyaml/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/libksba/lib -L/usr/local/opt/openssl/lib   -L/usr/local/lib -o Vim -framework Cocoa -framework Carbon       -lm  -lncurses -lic
onv -framework Cocoa   -fstack-protector  -L/System/Library/Perl/5.16/darwin-thread-multi-2level/CORE

Ah, so it's Gvim. fzf is a command-line program so it works best with terminal Vim. On GVim, it has to start a terminal emulator window (xterm by default), and I'm not sure if you'll like the experience.
Probably xterm is not properly set up on your system. Try typing in xterm on shell.

ooh : ), no worries, I'd love to try it out.
yea definitely not setup properly, xterm does nothing, same as previous behavior, hangs until ctrl-c. I suppose I'll have to install that..

so, that didn't work, that's fine. I've got it setup in terminal vim, and have this mapping in place: nnoremap <c-p> :FZF<cr> which behaves as it should, except no results are loaded, for example...

also.. discovered an interesting issue which might reveal the real problem. In terminal, I can hit ctrl-t and FZF works perfectly, or any other shortcut and perfect. Typing in FZF, does this:

same result as vim. *shrug.

Do you have set $FZF_DEFAULT_COMMAND?

It was not, I did export FZF_DEFAULT_COMMAND='ag -g ""'.
printenv shows it now. But still same result, ctrl-t and ctrl-r work beautifully, but fzf nothing. What command does ctrl-t call, maybe I can use that as default?

I didn't mean to suggest that you should set the variable. The problem is usually caused by an invalid command in it so I was trying to see if it was the case.
So if you set export FZF_DEFAULT_COMMAND='seq 1000', do you see the numbers as expected?

Anyway the default command fzf uses when $FZF_DEFAULT_COMMAND is unset is
find . -path '*/\.*' -prune -o -type f -print -o -type l -print 2> /dev/null | sed s/^..//

Does this command work correctly in your shell?

gotcha, when I set export FZF_DEFAULT_COMMAND='seq 1000', check printenv, and do fzf, I see this:

The command mentioned above, this one
find . -path '*/\.*' -prune -o -type f -print -o -type l -print 2> /dev/null | sed s/^..//
works.

That's odd. What's in your $SHELL? Does $SHELL -c "seq 1000" work?

You are awesome. I had a bad shell setup, $SHELL revealed bad install of bash, I must have caused it a while ago when I was messing with zsh and bash configs, works perfectly, thanks man!!!


C# server reports memory leak in iomgr.c on shutdown

steps to re-produce:

Windows 10, Visual Studio 2015
clone git repo and checkout release-0_13
build everything using msbuild. (Can not build grpc.sln yet because of boringssl.vcxproj but for C# test we do not need to build it)
come to D:\git\grpc\examples\csharp\helloworld and generate .cs source code using the newly built protobuf compilers and grpc plugins
open Greeter.sln, remove packages from nuget and add reference to newly built local DLLs

output of GreeterServer.exe:
d:\git\grpc\examples\csharp\helloworld>GreeterServer\bin\Debug\GreeterServer.exe
D2016/2/13 7:51:32 Grpc.Core.Internal.UnmanagedLibrary Attempting to load native library "d:\git\grpc\examples\csharp\helloworld\GreeterServer\bin\Debug\nativelibs\windows_x86\grpc_csharp_ext.dll"
D2016/2/13 7:51:32 Grpc.Core.Internal.NativeExtension gRPC native library loaded successfully.
Greeter server listening on port 50051
Press any key to stop the server...
D2016/2/13 7:51:35 0 d:\git\grpc\src\core\iomgr\iomgr.c:96: Waiting for 2 iomgr objects to be destroyed
D2016/2/13 7:51:36 0 d:\git\grpc\src\core\iomgr\iomgr.c:96: Waiting for 2 iomgr objects to be destroyed
D2016/2/13 7:51:37 0 d:\git\grpc\src\core\iomgr\iomgr.c:96: Waiting for 2 iomgr objects to be destroyed
D2016/2/13 7:51:38 0 d:\git\grpc\src\core\iomgr\iomgr.c:96: Waiting for 2 iomgr objects to be destroyed
D2016/2/13 7:51:39 0 d:\git\grpc\src\core\iomgr\iomgr.c:96: Waiting for 2 iomgr objects to be destroyed
D2016/2/13 7:51:40 0 d:\git\grpc\src\core\iomgr\iomgr.c:96: Waiting for 2 iomgr objects to be destroyed
D2016/2/13 7:51:41 0 d:\git\grpc\src\core\iomgr\iomgr.c:96: Waiting for 2 iomgr objects to be destroyed
D2016/2/13 7:51:42 0 d:\git\grpc\src\core\iomgr\iomgr.c:96: Waiting for 2 iomgr objects to be destroyed
D2016/2/13 7:51:43 0 d:\git\grpc\src\core\iomgr\iomgr.c:96: Waiting for 2 iomgr objects to be destroyed
D2016/2/13 7:51:43 0 d:\git\grpc\src\core\iomgr\iomgr.c:114: Failed to free 2 iomgr objects before shutdown deadline: memory leaks are likely
D2016/2/13 7:51:43 0 d:\git\grpc\src\core\iomgr\iomgr.c:77: LEAKED OBJECT: listener:socket=0x00B43F80 00B43FF8
D2016/2/13 7:51:43 0 d:\git\grpc\src\core\iomgr\iomgr.c:77: LEAKED OBJECT: listener:socket=0x00B44240 00B442B8

d:\git\grpc\examples\csharp\helloworld>

It seems to be the same issue as #4443, and before #5187 there is no memory leak.

closed together with #4443


MultilineInput widgets don't substitute variable values

Hello everyone,
The mobile clients have some MultilineInput widgets for "description" and "address" with parameter substitution as default values, e.g. ${workorder.address}.
Those are printed literally for me, so the values are not substituted. All other parameters are substituted correctly.
Best regards
Marcel

I sent a request to engineering to review this. It seems like the multiline widget itself was updated and the behavior changed. I was provided a workaround that I was able to verify that you can use.
Create a data object for the address and description fields (these are on this clients Start page). Set the Data value to those page properties you created, should look something like this:
page.data.address
page.data.description
In the On Start code for the page you can use this code to assign the substitution value to the data object.
this.data.address = client.formatMsg("${workorder.address}");
this.data.description= client.formatMsg("${workorder.description}");
The multiline fields will not reflect the proper values when they are generated and pushed out to the mobile app.
Let me know if this solves your problem.

Hello
I had the same problem. I tested what is described below and it works fine.
Thank you all the team.
Best regards,
Ahmed

this one is fixed as well in latest FSM Blueprint pull request


Fixing Issue with python3 install. https://github.com/tristantao/py-m…

…s-cognitive/issues/11 Also added error class missing from search.py
@tgalery

Fixing https://github.com/tristantao/py-ms-cognitive/issues/11


Models: fix type hints

Was stuck on a bus and got bored. This PR fixes all model-related type hints. There are now only ~500 remaining mypy warnings for the uq_methods directory to resolve.
As always, I'm barely aware of what the code is doing for these, so a close look during review would be appreciated.

No matter which failing tests I run, they always pass locally. Any idea why that might be the case?


[SPARK-45798][CONNECT] Assert server-side session ID

What changes were proposed in this pull request?
Without this patch, when the server would restart because of an abnormal condition, the client would not realize that this be the case. For example, when a driver OOM occurs and the driver is restarted, the client would not realize that the server is restarted and a new session is assigned.
This patch fixes this behavior and asserts that the server side session ID does not change during the connection. If it does change it throws an exception like this:
>>> spark.range(10).collect()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/martin.grund/Development/spark/python/pyspark/sql/connect/dataframe.py", line 1710, in collect
    table, schema = self._to_table()
  File "/Users/martin.grund/Development/spark/python/pyspark/sql/connect/dataframe.py", line 1722, in _to_table
    table, schema = self._session.client.to_table(query, self._plan.observations)
  File "/Users/martin.grund/Development/spark/python/pyspark/sql/connect/client/core.py", line 839, in to_table
    table, schema, _, _, _ = self._execute_and_fetch(req, observations)
  File "/Users/martin.grund/Development/spark/python/pyspark/sql/connect/client/core.py", line 1295, in _execute_and_fetch
    for response in self._execute_and_fetch_as_iterator(req, observations):
  File "/Users/martin.grund/Development/spark/python/pyspark/sql/connect/client/core.py", line 1273, in _execute_and_fetch_as_iterator
    self._handle_error(error)
  File "/Users/martin.grund/Development/spark/python/pyspark/sql/connect/client/core.py", line 1521, in _handle_error
    raise error
  File "/Users/martin.grund/Development/spark/python/pyspark/sql/connect/client/core.py", line 1266, in _execute_and_fetch_as_iterator
    yield from handle_response(b)
  File "/Users/martin.grund/Development/spark/python/pyspark/sql/connect/client/core.py", line 1193, in handle_response
    self._verify_response_integrity(b)
  File "/Users/martin.grund/Development/spark/python/pyspark/sql/connect/client/core.py", line 1622, in _verify_response_integrity
    raise SparkConnectException(
pyspark.errors.exceptions.connect.SparkConnectException: Received incorrect server side session identifier for request. Please restart Spark Session. (9493c83d-cfa4-488f-9522-838ef3df90bf != c5302e8f-170d-477e-908d-299927b68fd8)

Why are the changes needed?
Stability
Does this PR introduce any user-facing change?
No
How was this patch tested?

Existing tests cover the basic invariant.
Added new tests.

Was this patch authored or co-authored using generative AI tooling?
No

https://github.com/grundprinzip/spark/actions/runs/6796293583/job/18489636721 looks like it flaked out after already running all connect tests successfuly.

Merged to master.


TilemapLayer#getTilesWithinShape does not return valid results when run with Phaser.Geom.Line

Version

Phaser Version: 3.52

Operating system: Windows

Browser: Observed on Chrome and Firefox

Description

getTilesWithinShape does not return valid results when run with Phaser.Geom.Line. When a line spans two rows of tiles, tiles in the lower row can be left off of the results. It seems like the logic checking for the shape bounding box isn't valid for a line. I haven't tested with other shapes.
As an example - the tiles in the bottom row aren't returned by the function as expected.

Example Test Code

https://jsfiddle.net/gva74z1x/2/
Additional Information

Thank you for submitting this issue. We have fixed this and the fix has been pushed to the master branch. It will be part of the next release. If you get time to build and test it for yourself we would appreciate that.

just tested this using the original jsfiddle and the 3.55.0 phaser library (original repro was using 3.54.0) and I can confirm the issue still exists https://jsfiddle.net/17v3atc9/


Auto-complete issue

The auto-complete of a function call within a function call reproduce a compile error:
Codeunit.Function(Test.Function();); // Current output reproduce a compile error
Codeunit.Function(Test.Function()); // Expected output

Message(UserId()); // This is working fine (no semicolon after ()

So you first write:
Codeunit.Functio
press enter, you will get:
Codeunit.Function();
place the cursor within the () and start typing 'Test.Functi' press Enter, Result:
Codeunit.Function(Test.Function(););
Beside of this repro, sometimes the semicolon is not printed, test it with these two commands:
Customer.CheckBlockedCustOnDocs();  // This will add a semicolon
Customer.CreateNewCustomer()        // This will not add a semicolon

Hi @bvbeek, autocompletion should add a semi-colon only when the method does not have a return type. Is it the case here for CreateNewCustomer?

hi @qutreson, thanks for your explanation, this is indeed the same reason for my repro.
You can close this issue 👍


fix(docs): Update release checklist with some improvements

What this PR does / why we need it:
This is an update to the release checklist which would be beneficial to someone new to the release process.
Special notes for your reviewer:
@bacongobbler The updates cover the things we found when cutting v2.14.0.
If applicable:

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

Thanks @bacongobbler for review.


Adding new code editor field and code editor ability in the settings

In this PR users can now select 'Code Editor' in the bread dropdown. This means that you can add an Ace Editor to any Data Type.

The Ace Editor is also available in the Settings Dropdown and the Settings Additional Options.

@fletch3555 Let me know what you think :)
Thanks.

Thanks Mark 👍  You rock :)

VERY NICE! Good Job. How to use code editor and variable at the same time? Example: Put into Code editor <div> Hello Word.... {{$foo->bar}}</div>, my problem is the render laravel. Thanks!


Serial connection stops sending t-code messages after a time

Describe the issue
Hello! I am using MultiFunPlayer with a t-code connection to a custom ESP32 device controller over serial USB. I can successfully run multi-channel funscripts, which is amazing. But there are times when I am using OpenFunscripter as a connected player for a while (like 20 mins), and then something hangs up in MFP and it stops sending t-code messages to my device. MFP displays the value changes from OFS in the UI, as well as the Serial device connected, but I’m not seeing data sent to the device (from the readout on the device itself).
I haven’t dug into where the issue might be happening yet, but curious if you had some ideas on how to triage (enable certain logs, different tests to try, etc.).
Also, It is difficult to replicate. And when it does, I haven’t figured out a surefire repeatable process to recover when the issue occurs. If I try disconnecting/reconnecting the Serial device manually several times in MFP, it seems to eventually work again. Some times it recovers more quickly than others.
I’ll keep an eye out if I notice anything else.

You can enable trace logs and see if/what data is sent when that happens.
From your description its possibly just connection getting loose from vibrations and somehow not allowing data to be sent.
I think its more likely a driver/windows/connection issue than MFP issue.


use telegram

just use telegram bro, i have more than 10 malware running on telegram bot api and they don't care
just got a love letter this morning from my alt discord acc while i was trying your malware

Which telegram rat do you use?

Pavel Durov, the CEO of the messaging app Telegram, was arrested in Paris in August 2024 on charges related to the alleged use of the app for criminal activity:
Drug trafficking
Child sexual abuse images
Fraudulent transactions
Providing cryptographic services to criminals
Complicity in running an online platform that allows illicit transactions
Refusal to cooperate with law enforcement.
It is ultimately safer to use PySilon only with Discord. Because, you never know, who could track you down while using telegram.
There are many people who open the same kind of issue "Telegram version for Pysilon"
It's still pretty unclear if Mategol would be coming up with a new version.

are you living under a rock?
telegram is now under investigation, with its ceo arrested

nah, under a ceiling 🤷🏻♂

He's Still in the Paleolithic age. That's why he thinks that, even the others are living under a rock


Fix one (of two) SELinux denials during checkpointing

This is the fix as discussed in https://github.com/containers/libpod/issues/2334 and it depends on runc changes from https://github.com/opencontainers/runc/pull/1992

@rhatdan PTAL

I have to remove one of the patches as the second commit telling runc which SELinux label to use is wrong.

This PR is now only about the SELinux labelling of the CRIU logfile. It has no dependency on runc or anything else. This includes all changes from the reviews.

LGTM
@mheon @baude @giuseppe @vrothberg @TomSweeneyRedHat PTAL

/lgtm

/lgtm

Thanks.
/lgtm

/retest

/approve


Add hard-sigmoid and hard-swish activations

I am building a model which use hardsigmoid() activation, basically equals: relu6(x+3) / 6
More details at: https://pytorch.org/docs/stable/generated/torch.nn.functional.hardsigmoid.html#torch.nn.functional.hardsigmoid
And I found Candle hasn't provide it yet. So This PR is for that.

Merged, thanks for the PR and sorry for the confusion on the function names.

My bad! I made a typo!  I need to have a rest indeed. Thanks your patience.


improve out of the box psycopg2 support

Presently, when attempting to connect to glaredb over the postgres protocol with the psycopg2 python module, unless connection.autocommit = True, psycopg2 will attempt to wrap all cursor operations in a transaction, sending BEGIN TRANSACTION queries to glaredb. As a result, queries throw an exception and users see the PGRES_EMPTY_QUERY error. Setting autocommit to true, disables the "wrap in a transaction" behavior.
The solution to this is somewhat difficult. We could (and should) improve the error message so users know that they were sending a transaction when they didn't mean to. It is (probably) correct to error early when we see a transaction that we shouldn't.
Uncovered by the testing in #2258.

related to https://github.com/GlareDB/glaredb/issues/2402

@scsmithr and I discussed this today and we decided:

we should document that the postgres protocol only does not support transactions.
glaredb should send a notice on the pg protocol when someone uses a trasaction statement, but otherwise continue.
cloud should print notices via the postgres protocol
in local mode, and for RPC/flight sql, transaction statements should be errors.

Some further carve outs.

we may also want to say that we may eventually provide transactions over the postgres protocol in the future.
it may make sense to still reject write operations inside of transactions.
it might make sense to reject some higher transaction levels too.


Added HTTL, Rythm and Chunk template engines

Hi,
I added HTTL and Rythm template engines and also updated version of Thymeleaf to version 3 beta which performs slightly better.
Please check it out.

Hi,
Are you sure that the Chunk implementation work for you?
When I tried your patch and I added a System.out.println(chunk.toString()) in Chunk.benchmark() I got the output (repeatedly):
[chtml template 'stocks.chunk' not found]<!-- looked in [templates\stocks.chunk.chtml] -->

The testcase seems to work fine and returns the expected output.

Hi Finn,
I've had few problems with Chunk templates but all of them should be solved for quite some time now. Tom (author of Chunk Templates) made few changes into his engine so latest version 3.2.0 should work fine. Please make sure that you are using last version of my patch (87075ce).
If you still have problems with it can you send me some more details? Maybe you can fork this project and then apply my patch so I can check it out.
Btw. my branch is here: https://github.com/vkuzel/template-benchmark

Hi Václav,
I have run your branch and get the same result. I changed the benchmark method in Chunk.java to
@Benchmark
public String benchmark() {
    chunk.setMultiple(getContext());
    String r = chunk.toString();
    System.out.println(r);
    return r;
}

and the output I get when running the benchmark for Chunk is
[chtml template 'stocks.chunk' not found]<!-- looked in [templates\stocks.chunk.chtml] -->

I have tested on windows 10 with
java version "1.8.0_40"
Java(TM) SE Runtime Environment (build 1.8.0_40-b26)
Java HotSpot(TM) 64-Bit Server VM (build 25.40-b25, mixed mode)

Hi Finn,
you are right. There is a problem with file separator on Windows. In Chunk templates there's a method that ensures that paths have trailing file separators. On Windows platform this method appends backslash to a path which causes problems.
@see https://github.com/tomj74/chunk-templates/blob/master/src/main/java/com/x5/util/Path.java#L11
I'll try to fix it and create a patch to Chunk templates over the weekend. If Tom accepts my patch and releases new version of Chunk templates I will update my fork of template-benchmark.
Stay tuned.

Hi Finn,
new version of Chunk Templates finally arrived so I fixed the code. Please check it out.


yaml file beam config fix

Now split into beam_config and beams sections.

Merging this so that Rugved can incorporate into his code.


Updated documentation for basename?

I am trying to configure my app with a basename, but it looks like the documentation has vanished. Multiple places link to BasenameSupport.md (e.g., API.md), but it's 404.

@chrylis Assuming you are using RR v2/v3, try https://github.com/mjackson/history/blob/v2.x/docs/BasenameSupport.md. For v4 basenames are set in the Router components.
There are a few other links that seem to be affected by this. Fixing should just be a matter of updating links that point to /history/blob/master/ to /history/blob/v2.x/.

In the link provided above, it says:

In HTML documents, you can use the  element's href attribute to specify a basename for the page. This way, you don't have to manually pass the basename property to your createHistory function.

Does this mean that it is ok to use the  tag now? RR v2 gives a warning if I do that but RR v3 does not.


refactor: replace RdKafkaStats with Guarded metrics

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
resolve https://github.com/risingwavelabs/risingwave/issues/18433

Checklist

[ ] I have written necessary rustdoc comments
[ ] I have added necessary unit tests and integration tests
[ ] I have added test labels as necessary. See details.
[ ] I have added fuzzing tests or opened an issue to track them. (Optional, recommended for new SQL features #7934).
[ ] My PR contains breaking changes. (If it deprecates some features, please create a tracking issue to remove them in the future).
[x] All checks passed in ./risedev check (or alias, ./risedev c)
[ ] My PR changes performance-critical code. (Please run macro/micro-benchmarks and show the results.)

[ ] My PR contains critical fixes that are necessary to be merged into the latest release. (Please check out the details)

Documentation

[ ] My PR needs documentation updates. (Please use the Release note section below to summarize the impact on users)

Release note
If this PR includes changes that directly affect users or other significant modifications relevant to the community, kindly draft a release note to provide a concise summary of these changes. Please prioritize highlighting the impact these changes will have on users.

tested locally, works well


[RFC] provide Python/R implementations of all the built-in objectives?

Summary
Should we provide example Python (and maybe R) implementations of LightGBM's objective functions which exactly match the behavior of the builtin objectives from the C++ side?
Motivation
Over the years of maintaining LightGBM, I've seen significant interest in implementing LightGBM's built-in objective functions in Python, for purposes like:

learning how LightGBM works (for people who are not comfortable with C++)
making it easier to measure the difference between custom objectives and LightGBM builtin ones

(e.g. if you have a Python function that exactly matches the builtin, then you can modify it and know any performance differences are due to your modifications)

See "References" for evidence.
Description
I am NOT proposing adding such implementations to any library that we publish.
Instead, I'm thinking of something like the following:

new directory in examples/ containing these implementations
tests that run in CI which compare the results to those calculated by the C++ side
those implementations accounting for the main concerns that confuse people:

calculating an init_score if Dataset doesn't have one
correctly using sample weights
correctly respecting boost_from_average

Things that do not necessarily need to be in scope for the first versions of implementations:

distributed training / collective operations
respect for deterministic parameter
anything related to quantized training
exact numerical precision (being within, say, 1e-6, would probably good enough to start)

References
GitHub posts that could be summarized as "how do I replicate a built-in LightGBM objective in Python"?

#6219
#6160
#6145
#6062
#6041
#6040
#5839
#5735
#5543
#5524
#5373
#5350
#5256
#5114
#5043
#4981
#4211
#4077
#3532
#3312
#3052
#2834
#2239
#2182

And Stack Overflow:

"Custom L1 loss objective in LGBMRegressor"
"How to reproduce LGBM (lightGBM) poisson loss in customized objective function"
"Custom loss function of tweedie/Regression_l1 objective in LGBMRegressor python"

I agree with this proposal. But we should also note that there can be minor (numerical) differences between Python (or R) and c++ implementations that can cause slight different results.

Linking another relevant discussion with lots of helpful information from @jmoralez : https://github.com/microsoft/LightGBM/issues/6649#issuecomment-2361796522

I support this proposal. I've looked at the source code related to ObjectiveFunction. But do we need to expose the BoostFromScore and RenewTreeOutput methods to Python in order to implement this?

But do we need to expose the BoostFromScore and RenewTreeOutput methods to Python in order to implement this?

No, this issue is not about exposing the ability to invoke the builtin objective function (implemented in C++) independently on a dataset. That's being proposed in #6586 if you want to follow along.
This is about providing pure-Python and pure-R implementations of those objective functions that can be passed into lgb.train() and similar, to serve as a starting point for researchers or other users wanting to customize LightGBM with domain-specific objective functions.

This is about providing pure-Python and pure-R implementations of those objective functions that can be passed into lgb.train() and similar, to serve as a starting point for researchers or other users wanting to customize LightGBM with domain-specific objective functions.

However, for the L1 objective function, if the RenewTreeOutput method cannot be overwritten, even if the same objective function is passed to lgb.train(), the same training results cannot be obtained.


Possible memory leak when light is moving (Vulkan)

Godot version:
Godot Engine v4.0.devel.custom_build.d6abb52db (updated on 08-11-2019)
OS/device including version:
Windows 10 64bits
Issue description:
When light is moved (by Animation or by script in the _process functions), the static memory (Performance.MEMORY_STATIC) increases continuously.
Comparative video between Godot <IP_ADDRESS> and Godot Vulkan :
https://marion-maxime.com/Divers/GodotVulkanIssues/VideoRAM.mp4
Steps to reproduce:

Add a light (tested with DirectionnalLight and PointLight)
Animate this light (tested with an Animation and the _process functions)

Minimal reproduction project:

For now version 4.0, even after opening project, have some big leaks, so I don't know if this leaks are related to yours.
You can check what leaks(not always all things are listed) by running Godot from console with verbose flag godot -v

Is this still reproducible in 8a4f402?

I get these leaks with moving omni and spot 3D lights, and also get continuous leaking when using a directional light with shadows enabled.
Possibly related, I also get static memory leaks with non animated omni and spot 3D lights when my "player" moves, which has it's camera child to it. It does not produce leaks when rotating the camera, only when its parent moves. This leaking becomes more intense the more lights with shadows I have active (with the most lights I tried, 24, leaking around 0.5mb/s when moving the character)
This is on Linux 5.8.11-1-manjaro, GPU Radeon RX 570, on Godot builds:
v4.0.dev.custom_build.94e5f66cb and
v4.0.dev.calinou.88a3db5bf

I can no longer reproduce this issue, using the following test script:
@tool
extends DirectionalLight3D

var previous_memory = 0

func _process(delta):
	var static_mem = Performance.MEMORY_STATIC
	if(static_mem != previous_memory):
		print(static_mem)
		previous_memory = static_mem
	rotate_x(10 * delta)

It prints once, and then nothing prints again, while I can see the light rotating in the editor.

@TechnoPorg Could you also do tests with OmniLight3D and SpotLight3D? Remember to enable shadows for all lights, and have dynamic objects that move near the OmniLight3D and SpotLight3D.

I'm also unable to reproduce this with OmniLight3D and SpotLight3D, with a plane mesh and a spinning cube next to the light, which is casting a shadow.

Closing per @TechnoPorg's comment.
Note that if you get error spam due to lights with shadows
, this is already covered by another issue: https://github.com/godotengine/godot/issues/56599


freebsd moving the kinfo_file type to general use.

but keeping the constant KINFO_FILE_SIZE for intel archs only.

New workflow, we will merge https://github.com/rust-lang/libc/pull/3800 first then cherry pick it. Nominated https://github.com/rust-lang/libc/pull/3800 for stable.

Reposting from https://github.com/rust-lang/libc/pull/3800#issuecomment-2284975673, I closed the wrong PR:
Thanks, do you have a link to docs/headers for KINFO_FILE_SIZE to confirm?
This should have an update in libc-test/semver.
@rustbot label +stable-nominated

sure here the header.

Great, thanks for the reference. Could you add kinfo_file to libc-test/semver/freebsd.txt?


Fix for NaN rotation Quat build from zero Mat4

An entity zero scale caused rotation become NaN.
It's better to keep Quat unchanged to retain original rotation value.
I confirm I have signed the Contributor License Agreement.

Does that fix issues with other things in the Editor as well like using the gizmos of an entity who has zero scale either directly or through a parent's transform?

@vkalpias I've tried reparent, translate, add children, rescale, remove children, reparent and so on.... And it seems to work as I'd expect in case of zero scale. Anyway, it worth someone else also test this.

Great! I'll give it a test too

I did some tests and the problem with gizmos is probably a different matter that we have to handle outside of the scope of this PR. e.g. if you select an Entity with zero scale and click the button to switch to Local space gizmos then some of them disappear or don't work at all.
On this PR should we add a unit test about what happens to quaternions with zero scale?

@vkalpias I've added a unit test.


OCPBUGS-5655: Update dependencies

This also takes care of https://access.redhat.com/security/cve/CVE-2021-4238
Also fix lint error "G114: Use of net/http serve function that has no support for setting timeouts" in cmd/controller/main.go and cmd/static-server/main.go

/cc @dtantsur @zaneb

/approve
/label backport-risk-assessed

/label cherry-pick-approved

/retest

/lgtm


[CPDNPQ-1080] Use localised course names instead of course.name where possible

Context
Ticket: https://dfedigital.atlassian.net/browse/CPDNPQ-1080
course.name contains old versions of NPQ names, we should be moving towards only using the localised strings everywhere.
These names are used in most locations around the app, this cleans up remaining uses of the old names.
Changes proposed in this pull request

Use new course names on /registration/ineligible-for-funding
Use new course names on /registration/choose-your-provider
Use new course names on /registration/possible-funding
Use new course names on /registration/confirmation
Use new course names in application submitted emails
Note that though we are sending the new course name this isn't actually used in the template.
Use new course names on /admin/users
Use new course names on /admin/unsynced_applications

Old
New

NPQ for Leading Teaching (NPQLT)
Leading teaching

NPQ for Leading Behaviour and Culture (NPQLBC)
Leading behaviour and culture

NPQ for Leading Teacher Development (NPQLTD)
Leading teacher development

NPQ for Senior Leadership (NPQSL)
Senior leadership

NPQ for Headship (NPQH)
Headship

NPQ for Executive Leadership (NPQEL)
Executive leadership

Additional Support Offer for new headteachers
Additional Support Offer

Early Headship Coaching Offer
Early headship coaching offer

NPQ for Early Years Leadership (NPQEYL)
Early years leadership

NPQ for Leading Literacy (NPQLL)
Leading literacy

Before
After

Thanks so much for picking this up @Lockyy!
It'd be great if we could add 'the' and 'NPQ' when the NPQs are used in sentences.
For example:

The following providers offer the Leading behaviour and culture NPQ.

In the Early headship coaching offer context we obviously wouldn't want the 'NPQ' bit added.
For example:

Register for the Early headship coaching offer.

Here's the code we use in places in the prototype in case helpful to demonstrate what I mean:

This 'rule' is only for when NPQs or the ECHO is used in a sentence. We don't need 'the' or 'NPQ' when they're listed in radios for example.


Add some miscellaneous missing fields

This PR adds the following missing fields:

has_discussions/has_projects to repositories
status_reason to IssueRequest, to allow specifying a reason when closing an issue
subject_type to review comments, to be able to determine when a review comment was added to a specific line or to the whole file (see this GH changelog post for more details)

I've also changed the type of SearchPage total_count field from int to long. This should likely fix slapperwan/gh4a#1277.
Once this is merged, feel free to release a new version of the library. Thanks!

Hello @maniac103, is OctoDroid development just on hold for the time being or has it been stopped for good?
I'm asking because the app seems to have been removed from the Play Store and there has been no activity on the repository since May.
I'd like to make a few more contributions, but I won't start working on them if there aren't going to be any more releases.

is OctoDroid development just on hold for the time being or has it been stopped for good?

I really don't want to stop development on it, it's just that I severely lack time due to RL constraints (work, family etc.).

I'm asking because the app seems to have been removed from the Play Store and there has been no activity on the repository since May.

I wasn't even aware it was removed from Play Store - ouch :-(
I quickly checked, and it seems it was removed because they supposedly couldn't review due to the lack of a testing account. They sent this screenshot:

with this description: You didn’t provide an active demo/guest account or a valid username and password which we need to access your app.
OTOH, I can't think of a good way to fix that issue, except creating an account on our behalf?

I'd like to make a few more contributions, but I won't start working on them if there aren't going to be any more releases.

I'll gladly add you as member to the repositories, so you can commit changes yourself. I'll also gladly upload APKs to the Play Store, if doing that doesn't involve siginificant amounts of time on my side ;-) First, we'd need to figure out the above issue, though.

I admit I have no knowledge about Play Store policies and testing requirements, but Google response really baffles me.
Why do they require a test account now and previously they didn't? And also, shouldn't the "guest" access without a user be enough for them? It already provides access to the vast majority of the app's features.
We could always provide them a test GitHub account, but at that point the whole situation becomes ridiculous... GitHub is a public platform, why don't they create an account by themselves? 🙃

I'll gladly add you as member to the repositories, so you can commit changes yourself.

That'd be great to speed some things up, however I don't see myself "maintaining" the app (preparing releases, reviewing PRs, replying to issues etc.) as my time budget is limited too. My contributions would probably be somewhat more frequent, but I don't intend to increase my involvement in the project significantly.
Hope this is fine for you 🙂

That's fine please do,
sorry I haven't responded sooner but I've been really busy these last 7
weeks trying to get some projects squared away
On Sat, Nov 11, 2023, 6:11 AM Francesco Saltori @.***>
wrote:

I admit I have no knowledge about Play Store policies and testing
requirements, but Google response really baffles me.
Why do they require a test account now and previously they didn't? And
also, shouldn't the "guest" access without a user be enough for them? It
already provides access to the vast majority of the app's features.
We could always provide them a test GitHub account, but at that point the
whole situation becomes ridiculous... GitHub is a public platform, why
don't they create an account by themselves? 🙃
I'll gladly add you as member to the repositories, so you can commit
changes yourself.
That'd be great to speed some things up, however I don't see myself
"maintaining" the app (preparing releases, reviewing PRs, replying to
issues etc.) as my time budget is limited too. My contributions would
probably be somewhat more frequent, but I don't intend to increase my
involvement in the project significantly.
Hope this is fine for you 🙂
—
Reply to this email directly, view it on GitHub
https://github.com/maniac103/GitHubSdk/pull/17#issuecomment-1806800237,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQ5ASWNX5L6XSUYGEUCCHKLYD5TPRAVCNFSM6AAAAAA3WTQTTSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBWHAYDAMRTG4
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Hello @maniac103, are there any news on this?
Have you tried telling Google reviewers that there's no need for a guest account, since the app provides guest access to GitHub without logging in?


Add some additional checks to #[derive(Selectable)] to ensure field

compatibility
We generate an additional function with trait bounds for each fields to check whether a certain rust field type is compatible with the underlying database type. This greatly improves error messages for potential type mismatches, as the user now gets an error message that points to the field causing the problem + which has a pretty clear meaning (stating that FromSql<…> is not implemented).
Unfortunaly that's not a perfect solution as we need to check against concrete backend implementation. This PR solves this by hard-coding all three out of the box supported backends (behind the corresponding feature flags). That works for cases where users want to have compatibility with all enabled backends, but there are certainly use-cases where this is not the case. We might need some opt-in/opt-out system here to prevent this from being a breaking change or making it impossible to support valid use-cases. On the one hand we might want to have this as default as the improved error messages is something which is really helpful for new users, on the other hand I cannot see how that would be possible without breaking changes.
Another down-side of this approach is that it generates basically duplicated error messages when more than one backend is enabled.
This is currently marked as Draft as I see that more as request for comments due to the various problems outlined above. I really would like to see something like that in stable diesel as this would improve the usability quite significantly in my opinion. (We would just need to tell everyone to use Selectable and after that at least many cryptic errors will go away)

What makes it work with generics? (#2962)

Currently it just skips embedded fields. So it handles generics, but not handling them at all…

Isn't the Queryable requirement a bit harsh? (since it's essentially a helper to implement FromSqlRow shouldn't we require that instead?)

Yes that's a good idea.

Another down-side of this approach is that it generates basically duplicated error messages when more than one backend is enabled.

Probably this could be solved if generate something like that:
// The implementation of `Check` conceptually is this,
// but supports tuples in DBs parameter
type Check<Column, DBs> = FromSqlRow<SqlTypeOf<Column>::SqlType, DBs>;

// Check for `check_for_backend(Pg, Mysql)`
fn check()
where
    String: Check<table::str_column, (Pg, Mysql)>,
    i32: Check<table::int_column, (Pg, Mysql)>,
{}

Probably this could be solved if generate something like that:

I would guess that this results in the same problem as the current approach without check_for_backend(…): Rustc is not able to decide which of the impls is meant for the tuple + generic impl case, so it will not suggest a concrete impl, resulting it in suggesting an impl far of the actual error. In that case the error message would likely only mention that i32: Check<table::str_column, (Pg, Mysql)> is not satisfied, but not that that's because of i32 is missing the relevant FromSql impls.


ng2-tel-input question

Thanks for a very good wrapper.
I have some questions.
How can i easily just got european countries in my list?
Is there any way to get the dialcode into the input field when i choose a country?

For custom country list you can check below example of orignal package:-
https://intl-tel-input.com/node_modules/intl-tel-input/examples/gen/only-countries-europe.html
In this package, you can provide this as

[ng2TelInputOptions]="{initialCountry: 'in', onlyCountries: ['al', 'ad', 'at', 'by', 'be', 'in']}"

For more info, you can check the orignal package.


Automated error report

Traceback (most recent call last):
File "/home/vmagent/app/lib/pipeline.py", line 164, in _run_wrapper
return data_source.run(output_folder, cache, aux)
File "/home/vmagent/app/lib/data_source.py", line 276, in run
data = stratify_age_sex_ethnicity(data)
File "/home/vmagent/app/lib/utils.py", line 333, in stratify_age_sex_ethnicity
data, index_columns=index_columns, value_columns=value_columns, stack_columns=stack_columns
File "/home/vmagent/app/lib/utils.py", line 225, in stack_table
output[transfer_columns] = df[transfer_columns]
File "/env/lib/python3.7/site-packages/pandas/core/frame.py", line 2806, in getitem
indexer = self.loc._get_listlike_indexer(key, axis=1, raise_missing=True)[1]
File "/env/lib/python3.7/site-packages/pandas/core/indexing.py", line 1553, in _get_listlike_indexer
keyarr, indexer, o._get_axis_number(axis), raise_missing=raise_missing
File "/env/lib/python3.7/site-packages/pandas/core/indexing.py", line 1646, in _validate_read_indexer
raise KeyError(f"{not_found} not in index")
KeyError: "['new_tested_age_90-'] not in index"

Can you please add more info to this bug? Without the data source which triggers this, it's a wild goose chase

This error hasn't occurred in the last 8 days, marking as resolved.


Access controller invoked when DB is loaded from disk?

I'm creating a prototype for a pay-to-write database. I'm attempting to create a custom Access Controller for a key-value store. The 'key' part is a transaction ID (TXID) on the Bitcoin Cash (BCH) blockchain. The idea is to create a pay-to-write database, where anyone can write to the database if they prove that they burned a token to pay for it.
The Access Controller seems to be working well. However, when the database is loaded from disk, each entry is passed through the canAppend() method of the Access Controller. Since the Access Controller makes network calls to verify the TXID, it can be quite slow.
The slow connection doesn't matter for a write, but it's impractical to have a database validate each entry upon starting the application and loading the saved DB data from disk. But maybe I'm making a silly coding mistake?

Here is my custom access controller
Here is an example file for writing to the database
Here is an example file for reading from the database. This last file will re-create the problem discussed in this Issue.

It doesn't seem necessary to validate each entry when loaded from disk. Am I doing something wrong? Or is this by design?
Any suggestions on how I could skip the validation of database entries when loading the DB from disk?

It doesn't seem necessary to validate each entry when loaded from disk. Am I doing something wrong? Or is this by design?

The short answer to this is that currently the set of validated entries is not persisted. Entries are loaded from ipfs by traversing from persisted head entry hashes.

Any suggestions on how I could skip the validation of database entries when loading the DB from disk?

You need a way to know which entries have been previously validated and skip those. This is mainly useful for memoizing data that will not change like digital signatures. In your case with BCH, since it is a blockchain which provide some immutability wrt to variables; you could call an entry ~permanently valid after N many blocks.
I'm not sure what the best thing to do is. I would try either tracking all missing/only referenced entries + invalid/not-validated entries, or all valid entries, or all valid entries referencing at least 1 missing/invalid/not-validated entries.
With the third option, I think lookups to BCH are needed for any entries referenced by matching entries minus already loaded entries.

Thank you for the suggestions @tabcat!
One idea I had to overcome this issue would be to run a local database, like MongoDB or LevelDB. After an entry is validated, it would be added to the local database. On startup, the canAppend() method would check to see if each entry exists in the local database, which would indicate that it has already been validated. New entries (which wouldn't exist in the local database) would be validated against the blockchain directly.
However, what is to prevent another instance of the same database from spoofing this check? Does the hash of the OrbitDB database include the canAppend() code or something?

The orbitdb hash includes the hash of the access controller rules. You can
check it by using ipfs dag get to find the access controller hash and
then dag get that.
If one node meddles with their local copy it should be a non-issue because
the access controller should reject any tampered entries when it tries to
replicate thrm ti any other node.

Beautiful.
That's exactly the answer I was hoping for. Thanks for the tip, I'll give that a go, to try and find the hash.


Unable to compile

trying to compile it since i cannot do
pecl install openswoole-22.0.0
No releases available for package "pecl.php.net/openswoole"
install failed
I've downloaded tarball from https://pecl.php.net/package/openswoole and i've tried the installing from source describe on this page. https://openswoole.com/docs/get-started/installation
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 11 (bullseye)
Release:        11
Codename:       bullseye
when installing im getting this error, im unsure how to proceed, its php 8.2, self compiled
PHP 8.2.6 (cli) (built: May 31 2023 14:41:21) (ZTS)
Copyright (c) The PHP Group
Zend Engine v4.2.6, Copyright (c) Zend Technologies
error.txt
If this is the competely wrong place to post this, im sorry, but would be happy if you could direct me to the right place to do so.

https://chat.openai.com/share/20ac2b35-652c-49f0-bdc0-2e303a547cb6
I seem to have gotten it to work using the solution provided by chatgpt, i've no idea if it will cause other issues through, but it does compile and i can install it.
php --ri openswoole
openswoole
Open Swoole => enabled
Author => Open Swoole Group<EMAIL_ADDRESS>Version => 22.0.0
Built => Jun  1 2023 16:30:43
coroutine => enabled with boost asm context
epoll => enabled
eventfd => enabled
signalfd => enabled
cpu_affinity => enabled
spinlock => enabled
rwlock => enabled
sockets => enabled
openssl => OpenSSL 1.1.1n  15 Mar 2022
dtls => enabled
http2 => enabled
hook-curl => enabled
zlib => 1.2.11
mutex_timedlock => enabled
pthread_barrier => enabled
futex => enabled


Transfer the git repository to github.com/dataversioncontrol

Account: https://github.com/dataversioncontrol
Repository name: dvc

Also the repository was renamed to dvc.


Add checking if options.contentType was not specified

Add checking if options.contentType was not specified before checking data types to allow using any MIME types for messages.

Looks like this worked itself out :) let me know if you ever run into anything else!


I have expected to find info about Test doubles [Dummy, Fake, Stubs, Spies, Mocks] ?

[Enter feedback here]

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

ID: 32738a06-835b-5bd5-7a6c-942c681aca97
Version Independent ID: e715d12c-a4aa-eec3-c05f-1ff6243d209b
Content: Unit testing JavaScript and TypeScript - Visual Studio (Windows)
Content Source: docs/javascript/unit-testing-javascript-with-visual-studio.md
Product: visual-studio-windows
Technology: vs-javascript
GitHub Login: @Mikejo5000
Microsoft Alias: mikejo

@raymendthomas -- Raymond, thank you for your feedback.  Can you please be more specific about this request?

@raymendthomas Thanks for your feedback! The intent of the article is to show how to get unit testing working with various third party frameworks like Mocha, Jest, Jasmine, and to get unit testing working with the Test Explorer in VS. In-depth info on the specific frameworks and how to use them is currently out of scope for this article. Did you check the docs for the unit testing framework that you're using?


ng build Library --aot --prod

I create a library by command('ng generate library my-library').
use 'ng build my-library' and work successful.
but use 'ng build my-library --prod --aot',  not work.
please help me.

Angular CLI no longer creates a production for libraries, as there is a single ng-packagr configuration. Since previously two different confiurations were dist folder was kept for none --prod builds.
Unless you create a production configuration you shouldn't be needing --prod for libraries.
Libraries get only build in AOT mode, thus —aot In not available.


Fix RCFR test and example to work with Keras 3

Fixes #1207 by replacing lr with learning_rate and replacing calls to minimize, which is no longer present in tf.keras.optimizers.Adam. The test_rcfr_functions was flaky so I also increased the size of the model to get the test to pass.
With this patch, python open_spiel/python/algorithms/rcfr_test.py should now pass and python open_spiel/python/examples/rcfr_example.py runs without error.

Awesome!
Can you remove this comment: https://github.com/google-deepmind/open_spiel/blob/7ff9e2838058400e0c00f16404d30c7497f174b4/open_spiel/python/CMakeLists.txt#L314
and uncomment the next line, so that the rcfr_test is re-enabled and we can run it on Github Actions CI?

CI test failing for an unrelated reason, will fix and update master first.


translate of system integration

https://kubevela.io/zh/docs/next/platform-engineers/auth/integration

为了t恤衫，我想认领这个。是否可以。

为了t恤衫，我想认领这个。是否可以。

Sure, Please go ahead

@wonderflow is it open currently, if so, can you assign it to me

This is asking for tranlation (to Chinese) of document. Are you sure you want to take care of this? @nikhilchauhangithub

@chivalryq I am good with Chinese and Japanese, got them as subjects in high school, but no issue


Breaking-Change-Request: Fix StreamIterator accepting null as stream.

The StreamIterator class in dart:async accepts null as a constructor argument. This acts the same as an empty stream.
The constructor is not documented as accepting null, it was not intended and may be hiding bugs.
The scope of the bug is increased by the StreamIterator class being used internally by some platforms as part of the implementation of await for loops. This means that await for (var x in null) ... is accepted without error. Again, this was not intended, and may be hiding actual bugs.
When we introduce non-nullable types, the StreamIterator constructor will be changed to requiring a non-nullable argument, and await for will require a non-nullable type for its stream operand. That will turn the current (missing) run-time error into a compile-time error.
This also means that the current behavior cannot be retained in the longer term, even if we wanted to avoid changing the behavior right now. So, we choose to fix the bug as soon as possible.
We can delay the change until the launch of non-nullable types, but that would introduce one more thing to check as part of the non-null migration, a subtle problem that might drown in other migration issues.
We think it will be better to fix this up-front while the problem is easily detectable independently of other changes.
Planned Change
See planned fix CL: https://dart-review.googlesource.com/c/sdk/+/98001
The StreamIterator constructor will check its argument for being null, and throw an ArgumentError if it receives a null. This will turn the current behavior on a null stream into a run-time error.
This will also propagate to the language implementation uses, so await for with a null stream will also throw at run-time.
Expected Impact
It is not expected that there is any code deliberately depending on the incorrect behavior.
There is a CL ready to land which will fix the problem. We will run this against available source to see how much breakage it will cause.
Mitigation
Any place where a null value can be the argument to the StreamIterator constructor or the stream operand of an await for loop, just add ?? Stream.empty() to the expression.

@dgrove @Hixie @matanlurey - Please review and approve this breaking-change-request.

I have no opinion.

Seems fine to change, thanks.

Waiting on approval from @dgrove who will take a look today.

In lieu of @dgrove, seems fine to change IMO as well.
@mit-mit - since @dgrove is OOO, could you
in addition provide your opinion as well or do you believe we should add anyone else to approve instead?

LGTM for making this change.
In terms of timing I would prefer to land this early in a release cycle though (i.e., wait until after 2.3 goes out).

Lasse - This request is approved. Please note that we would like to target this for after Dart 2.3.

Please note that we would like to target this for after Dart 2.3.

Note that in 2.3 await for will be supported inside collection literals, and will exhibit this broken behavior. Waiting until after 2.3 means we'll be allowing new places where folks could rely on this behavior before we change it.

The CL has landed, but is not intended to be cherry-picked for 2.3.


Increase the font size of text and use textarea instead input.

Describe the solution you'd like
Clearly outline the solution you are requesting. In this case, specify that the font size of the text should be increased, and a textarea should be used instead of an input field.

Hello, can I please be assigned to this task? I am a new developer looking for first contributions.

@ashsajal1 I put in a pull request with the changes, please review.


faster jit function launch

With fast (200 ns) get_stream function soon to be available from pytorch this shaves off approx 25-30 us from function launch, but even without that function due to caching device properties we are saving ~15-20us.

Is there a way to cherry-pick _cuda_getCurrentRawStream into triton.cc so we can guarantee that we always have fast stream lookup? :) Otherwise, I think it's fine

_cuda_getCurrentRawStream is fairly simple, but it requires linking against libtorch for this line https://github.com/pytorch/pytorch/pull/78165/files#diff-673455c92ce1e6c65b0d106b067cf3882f91cd7d30d4f74ee4f6f60ceb6e0db3R160, and currently triton doesn't link against libtorch?

Ah good point! Let's leave it as is then. Not depending on libtorch allows us to have a single wheel that works everywhere. I'll merge this PR as soon as the isort/autopep8/flake8 tests pass!

I've ran isort and pushed the result, but CI is still not happy - some version mismatch? Mine's 4.3.21

flake8 fails, but on lines I didn't touch.


Allow example data for stub server to be different than template for verification

Feature description
We use the stub server extensively to provide frontend developers with good examples. A common use case is that APIs return a list of objects:
[
  { "foo": 42 },
  { "foo": 23 },
  { "foo": 1 }
]

We were unable to find a way to specify the following for the interaction that would return this set of data:

The stub server should return the document above to provide >1 examples for frontend devs
When the API that generates the document above is verified the array returned should at least contain a single item that matches the { "foo": <integer> } template

The interaction for the example above includes this:
.willRespondWith({
  status: StatusCodes.OK,
  body: Matchers.like([
    { foo: Matchers.integer(42) },
    { foo: Matchers.integer(23) },
    { foo: Matchers.integer(1) },
  ]),
});

This provides all 3 examples to the fontend developer as intended. But since the like matcher does not validate the actual array length, the API would be verified even if it returned [].
The main reason we use Pact is to make sure the schema between frontend and API is compatible. Since the API developers can "work around" being really verified by returning an empty array this is rather unfortunate.
Something we tried is using atLeastOneLike, but that will return the array encapsulated in another array when using the stub server:
.willRespondWith({
  status: StatusCodes.OK,
  body: Matchers.atLeastOneLike([
    { foo: Matchers.integer(42) },
    { foo: Matchers.integer(23) },
    { foo: Matchers.integer(1) },
  ]),
});

Another variant ensures that the API contains an array with length >=1, but the fontend developer just gets 1 example to work with:
.willRespondWith({
  status: StatusCodes.OK,
  body: Matchers.atLeastOneLike(
    { foo: Matchers.integer(42) }
  ),
});

Maybe we're doing it wrong?

By stub server, I assume you mean the mock server provided by Pact?

In the OP I was referring to the stub server that provides examples for the frontend people.

Ok, do you mean this one? https://github.com/pact-foundation/pact-stub-server

Yes, I think so. Answering this while boarding an airplane. Cannot check my project's source code right now.


Add Nightshade V2

Details of Changes
Add details of changes here.

Added theme 'Nightshade.xaml'

@DeveloperWOW64 this theme isn't going to work if it's not included in the cproj file. Can you include the file and verify that it works?

sure

do you mean csproj?

do you mean csproj?

Yes

do you mean csproj?

Yes

err how?

@DeveloperWOW64 the easiest way is to create the file in the Files project in Visual Studio.


Extensibility issue - CakeTaskBuilder is sealed and CakeTaskBuilder(CakeTask task) is internal.

While attempting a little idea in my mind, I tried implementing my own cake engine (by implementing ICakeEngibe) but faced following issue:
CakeTaskBuilder(CakeTask task) is marked as internal and the class itself is sealed. So I cannot implement my own CakeTaskBuilder ICakeEngine.RegisterTask(string name) in the new cake-engine class (on the same lines as the original one. Also CakeEngine itself is marked as sealed. So I cannot subclass it and override some functionality.
As suggested on the chat, I am opening this issue so that the cake can be refactored to make it more extensible (after discussing it here).
Thanks.

@vijaygill thanks!
/cc @patriksvensson this is what we discussed.

@mholo65 I will take a look and see what needs to be done

@pascalberger I've created a small PR to fix this long standing issue.


About training mobilenetV3

Hi @rwightman did you retrain the mobilenet V3 large or small from scratch (not finetuned from tf model)? what results do you got? And could you tell me the detailed training configuration? In fact, from my side, reimplementing the large model with the same level as google is very difficult (the best I got is about 74.6). Thanks!

@rwightman could you help answer this question? Really great thanks!

I've got results recently trained to 75.48, and an experiment running to try and do better, but don't have the cmd line/hparams available to me at this moment, I'll have access to them in a few days.

@rwightman Really great results, hope you can provides the hparams in the next several days. BTW, is the 75.48 trained with mobilenetv3_large_rw or the original mobilenetv3? And according to your experiment results, is the performance gap between them significant (considering the network structure is not that significantly different)?

The session currently running that I have access to is about to cross the 75% threshold in the epoch 230 range, looks like it may get close to my other result (or better) but hard to say...
Args are pretty much an exact copy of the EfficientNet-B0 in README with adjustment for batch size. Stronger augmentation faster decay than the 75.48 run did, but don't remember the other specific differences. You can try it...
--model mobilenetv3_large_100 -b 512 --sched step --epochs 600 --decay-epochs 2.4 --decay-rate .973 --opt rmsproptf --opt-eps .001 -j 7 --warmup-lr 1e-6 --weight-decay 1e-5 --drop 0.2 --drop-connect 0.2 --model-ema --model-ema-decay 0.9999 --aa rand-m9-mstd0.5 --remode pixel --reprob 0.2 --amp --lr .064
Note that I set the weight init to adjust the depthwise init to match TF as these training sessions were part of verfiying there isn't a training regression: set def _init_weight_goog(m, n='', fix_group_fanout=True) line 362 of efficientnet_builder.py
The window of the EMA is quite long here, so expect to see a 30-40 epoch lag

With above cmd args, it finished with 75.68 top-1, will publish those weights soon if another variation doesn't look like it'll do better. In either case, you have hparams needed to hit your targets.