Spike: Implement check for code signing in branch protection

In order to ensure that contributions to our repos only come from trusted team members, we should require all commits to our repos to be signed.
Acceptance Criteria

[ ] GIVEN that we want all commits to our repos to be signed
WHEN I configure Allstar to check if code signing is required in branch protection
THEN Github issues are created or the settings are automatically fixed for repos that are out of compliance

Security considerations
This change will be a security enhancement in that it requires all commits to our repos to be signed and thus at least to be coming from an identity that is verified with Github.
Implementation sketch

[x] Spend up to 2 days attempting to write code in our fork of Allstar to check whether signed commits are required in branch protection settings

[x] Implement ability to create Github issues for repos that are out of compliance
[x] Implement ability to auto-fix branch protection settings for repos that are out of compliance

[x] Update our organization Allstar configuration to use new option for requiring signed commits in branch protection and manually test against a single repo to verify that it works as expected
[ ] If testing is successful, then submit PR back upstream to OSSF Allstar

This work is in-progress here:
https://github.com/cloud-gov/allstar/tree/add-check-for-signed-commits

Manual testing verified that with my changes, Allstar did successfully make signed commits required, as seen in these logs:
   2022-06-15T16:45:05.86-0400 [APP/PROC/WEB/0] ERR {"severity":"INFO","org":"cloud-gov","repo":"redacted","area":"Branch Protection","branch":"main","time":"2022-06-15T20:45:05Z","message":"Updated to make signed commits required with Fix action."}

The upstream PR to Allstar is still open, but this work has been tested and verified against our cloud-gov Allstar fork. Spot checking our repos and Allstar logs confirms that enforcement and enablement of requiring signed commits is happening as Allstar runs. And no further Github issues for "branch protection" issues remain open:
https://github.com/cloud-gov/product/issues?q=is%3Aissue+is%3Aclosed+label%3Aallstar+"branch+protection"
Closing this issue.


refactor(tauri) rename window.tauri to window.TAURI, closes #435

What kind of change does this PR introduce? (check at least one)

[ ] Bugfix
[ ] Feature
[ ] New Binding Issue #___
[ ] Code style update
[x] Refactor
[ ] Build-related changes
[ ] Other, please describe:

Does this PR introduce a breaking change? (check one)

[ ] Yes. Issue #___
[x] No

The PR fulfills these requirements:

[x] It's submitted to the dev branch and not the master branch
[ ] When resolving a specific issue, it's referenced in the PR's title (e.g. fix: #xxx[,#xxx], where "xxx" is the issue number)
[ ] A change file is added if any packages will require a version bump due to this PR per the instructions in the readme.

If adding a new feature, the PR's description includes:

[ ] A convincing reason for adding this feature (to avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it)

Other information:

Will be implemented on #703


Ethereum Vault

Note

Copies RLP library.

Upgrades it to solidity 0.5
Leaves a TODO: function that decodes bytes seems to not work

Implements a draft of Transaction model
Implements Ethereum Vault

close #125
Test
Adds following tests:
Contract: RLP
✓ should decode bytes32
✓ should decode bool (51ms)
✓ should decode uint (46ms)
✓ should decode int
✓ should decode array
Contract: EthVault
deposit
✓ should store ethereum deposit (115ms)
✓ should charge eth from depositing user (83ms)
✓ should not store deposit when output value mismatches sent wei (190ms)
✓ should not store a deposit from user who does not match output address (86ms)
✓ should not store a non-ethereum deposit (110ms)
✓ should not accept transaction that does not match expected transaction type (70ms)
✓ should not accept transaction that does not conform to deposit input format (106ms)
✓ should not accept transaction with more than one output (74ms)

@boolafish I remember you opted for using BlockController interface in EthVault implementation, but since it looks like we'll have one implementation of BlockController and we can easily test EthVault with a concrete implementation I just declared BlockController field in Vault contract. If you feel better having that as an interface just let me know and I'll do it.


iPad: Locking iPad can lose story view, aborting AirPlay of videos

I subscribe to a number of YouTube channels through NewsBlur.  I'll commonly Save stories containing videos to watch later on my iPad, streaming them to my AppleTV.
The problem is that the iPad will automatically lock after 5 minutes.  That's fine, since it's still playing on the TV through AirPlay.  The problem is that if the story is far enough down the Saved list (>20 stories down; I'm not sure of the exact value), when the iPad locks the story view is destroyed.  This of course cancels AirPlay, which means I now have to unlock my iPad, tap on a different story (because that story is already selected, even though the story view is empty), then tap back on the story I wanted, hit Play, and seek forward to where I think I was last time.
It gets pretty annoying.  It's actually been happening for a long time now, but I only recently figured out what was going on.
You can reproduce the disappearing story view without using AirPlay, and without playing a video:

Launch NewsBlur
Save 40+ stories
Go to your saved stories
Select the first story (it seems you have to do this first)
Scroll down and select a story
Hit the home button or lock the iPad
Unlock the iPad, or just go back into NewsBlur
Notice that the Story View is now empty.  If you were playing a video when the iPad was locked, it would stop playing.

Unfortunately, this isn't as deterministic as I'd like.  I had to do it a few times, selecting a story, locking, unlocking, selecting another story, locking, unlocking, etc. until it gave me the issue.
Screenshot attached, but it's not very impressive, since it looks exactly the same as it does when you first go into the Saved list with no story selected.
Thanks!

Thanks!  I have the new version of the app, and the good news is that the story pane is indeed fixed to stay open.  Unfortunately, for some reason the video playback via AirPlay still stops sometimes when the iPad goes to sleep (it happened to my this morning).  I have no idea why, though; it's not deterministic enough to provide useful steps for.

iOS can kill background apps if it needs memory for other apps.  Which might include other apps launched in the background while asleep.  That might be causing it.  If you go back into NewsBlur when AirPlay stops, is it still showing the story, or does it bounce back to the top level (indicating a fresh launch)?
I'm not sure what else could cause this.  If you can figure out any way to reproduce the issue or any more details, let us know.

It's still showing the story on unlock.  However, it's no longer showing it playing.  I mean, it has the thumbnail image form the YouTube video and the red "play" button in the middle, as opposed to a video player showing paused video.
Come to think of it, I remember some odd times where the iPad would lock and video playback would stop, but when I unlocked it the story and the video player was showing paused video, and it automatically resumed on unlock.  I have no idea what trips one behavior or the other.
If I figure it out, I'll be sure to let you know.  Thanks again!

Got some more info:  It seems that now whenever the iPad auto-locks, AirPlay stops.  So, every time, which means it should be easy to reproduce:

Set your iPad to go to sleep in 1 minute
Start playing a video in NewsBlur over AirPlay to an AppleTV
Wait for the iPad to lock
AirPlay stops.

Unlocking the iPad brings me back to the story I was on, but as I mentioned previously it just shows the video thumbnail with the white arrow on a red rounded box, not the iOS "this video is paused" thing.  Meaning, it looks like it's not playing the video anymore.  I have to hit play and seek back to where I was.
At least it's consistent now; hopefully that will help figure out what's going on.  Thanks

Thanks for the additional info.  I'll re-open the issue.

Another possibly useful detail is that I've noticed that sometimes when I unlock the device, the Story pane is empty for a very brief period before being refilled with the story pane.  This implies that the the Story view is being destroyed when the device locks... maybe?
Thanks again


browser keysigner with examples

Standalone browsersigner SDK and examples:
Auth delegated web example for browser keysigner

Added the ability to choose between webauthn and key credential
Key credential is not advised to use at is as the private key is in the
browser so it is not a secure solution

In terms of the example, I wonder if it's better to have a separate standalone example (a copy of the nextjs one maybe).

We want to discourage the use of this signer. but showcase this next to WebAuthn I feel in a way does the opposite of that. * Also we want to keep the example code as simple as possible to understand given how much of a support burden it's been so far. Now adding the branching to both register and sign introduces more "complexity" when someone new looks at the code, figuring out which path to follow.

In terms of the example, I wonder if it's better to have a separate standalone example (a copy of the nextjs one maybe).

We want to discourage the use of this signer. but showcase this next to WebAuthn I feel in a way does the opposite of that.
Also we want to keep the example code as simple as possible to understand given how much of a support burden it's been so far. Now adding the branching to both register and sign introduces more "complexity" when someone new looks at the code, figuring out which path to follow.

Yes good call. It did not feel right to implement browserkeysigner which is not secure alongside a very secure one like webauthn. I wanted to go for the shortest path though so still went for it.
But with this extra feedback I feel more confident we should not mix the two in the examples. I'll create a separate example then. Thanks!


Possibility to get pages for TagFeedrequest

Cool! Thanks again @BondarenkoEvgeny

i think there is a same issue in followers and followings


Cache stream size because Apple audio decoder requests the value too often

This change will improve performance, because the total audio stream size should never change throughout audio playback.  The AudioFileOpenWithCallbacks AudioFile_GetSizeProc callback is constantly called throughout the duration of the audio playback, and if the get size function is processing intensive (such as using seek), then it would be a performance issue.
This change fixes it by caching the size as soon as the file stream is opened.
In addition to this, the AudioFile_ReadProc now seeks the minimum distance, rather that seeking from the start of the stream.

@halx99 I think we should add a GetSize() method to cocos2d::FileStream, which would improve performance overall, given that the only way to get the size of the file stream at the moment is to call seek(0, SEEK_END) then tell(), but the specific stream may have more efficient ways to get the stream/file size.  What do you think?  If you agree then I can implement it and put in a separate PR.

@halx99 I think we should add a GetSize() method to cocos2d::FileStream, which would improve performance overall, given that the only way to get the size of the file stream at the moment is to call seek(0, SEEK_END) then tell(), but the specific stream may have more efficient ways to get the stream/file size. What do you think? If you agree then I can implement it and put in a separate PR.

I agree with you.

Excellent! I'll create a new PR soon with the FileStream::GetSize() changes.

Excellent! I'll create a new PR soon with the FileStream::GetSize() changes.

did this pr could be merged or not?

did this pr could be merged or not?

Yes please merge this, since it won't be affected by the FileStream::GetSize() changes, as caching the size value is still required.


Compat fixes

@biddisco I added you as a potential reviewer as we don't know whether Boost.Log requires linking with Boost.Thread (which might be disabled now).

[08:40]	K-ballo: hkaiser: what's HPX_BOOST_LOG_LIBS? that's not Boost.Log, is it?
[08:40]	hkaiser: K-ballo: jbjnr is using the actual boost.log in a parcelport
[08:41]	K-ballo: that might need to link against boost.thread too
[08:43]	hkaiser: K-ballo: ok, I'll add jbjnr to the list of potential reviewers for the PR
[08:43]	K-ballo: the || !defined(HPX_HAVE_CXX11_STD_THREAD) bits should not be needed
[08:44]	K-ballo: I put that fallback somewhere in the cmake files
[08:47]	K-ballo: https://github.com/STEllAR-GROUP/hpx/blob/master/CMakeLists.txt#L1039-L1049
[08:48]	K-ballo: hkaiser: my intention was that lack of std::thread should be a configuration error that forces the user to activate compatibility, but I don't think that's what I did
[08:49]	K-ballo: in any case, it could mention compatibility in the error message
[08:49]	hkaiser: I'll add that
[08:54]	Notice from github: [hpx] hkaiser pushed 1 new commit to compat_fixes: https://git.io/v9qgq
[08:54]	Notice from github: hpx/compat_fixes 4cdde0e Hartmut Kaiser: Do not implicitly fall back to thread compatibility
[08:54]	hkaiser: K-ballo: how about this ^^
[08:55]	K-ballo: looks good


Mac OS Keyboard shortcut for formatting a document not working

Issue Type: Bug
Hi Team,
Lately i've obeserved that on Mac OS, keyboard shortcut of "Shift+Option+F" to format a document is not working, instead it is adding a tilde ~ symbol in the file at the point of current cursor position.
If i do  --> right click --> format document with ... --> HTML language features.
It formats the document.
This is happening with all types of files, currently in my project i have HTML. Markdown, CSS, toml and javascript files.
Appreciate your help..
Regards,
Abhinav
VS Code version: Code 1.64.0 (Universal) (5554b12acf27056905806867f251c859323ff7e9, 2022-02-03T04:20:17.224Z)
OS version: Darwin x64 21.3.0
Restricted Mode: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz (8 x 2700)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
1, 1, 1

Memory (System)
16.00GB (4.43GB free)

Process Argv
--crash-reporter-id 96855504-5e89-44f6-a263-70d4435ba3cf

Screen Reader
no

VM
0%

Extensions (7)

Extension
Author (truncated)
Version

language-hugo-vscode
bud
1.3.1

better-toml
bun
0.3.2

prettier-vscode
esb
9.2.0

vetur
oct
0.35.0

prettyxml
Pra
1.4.0

svg-preview
Sim
2.8.3

markdown-all-in-one
yzh
3.4.0

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyl392:30425749
pythontb:30283811
pythonvspyt551:30345470
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
pythondataviewer:30285071
vscod805:30301674
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
vsc1dsc:30433058
pythonvs932:30410667
vs360cf:30404996
vsrem710cf:30416617

/needsMoreInfo
Does this occur with all extensions disabled? (F1 > Developer: Reload With Extensions Disabled or code --disable-extensions)

Hi @chrmarti
Thank you for your reply,
Yes, i've already tried with the 'Reload with Extension Disabled as well'

Let's first try to find out what command executes on your machine, with your settings and your keybindings when pressing Shift+Option+F. Could you please try the following:

Run the command Developer: Toggle Keyboard Shortcuts Troubleshooting
This will activate logging of dispatched keyboard shortcuts and will open an output panel with the corresponding log file.
Press exactly the keybinding you desire.
check what VS Code detects and what command is invoked.

If you are having trouble understanding the output, please feel free to paste here and I can try to help.

Hello @alexdima
Thank you for your steps, and apologied for delayed response.
I've followed your mentioned troubleshooting steps, and this is the outcome:

Andy thing that i need to change here?

Ah
https://user-images.githubusercontent.com/10762473/155545729-48bf69ee-e2b4-489e-b74a-6c6ff46a7079.mov
h @alexdima  i think i found the root cause.
It seems that VS code has a bug with ABC-India keyboard layout. If i toggle it to English keyboard layout, the format shortcut Shift+⎇(option)+ F works.
For now, i can do with English keyboard, it is only when i need to use INR symbol like Rupee, i might have to toggle keyboard layout.
Is there any fix for this?
Im attaching the screen recording for your reference

Thank you for the extra information. This has been reported before and is an upstream issue. Let's track at  https://github.com/microsoft/vscode/issues/41024 .


no version of .net allows me to use bloxstrap

Installed bloxstrap and saw that i didnt had .net runtime, so i went and downloaded the latest, and it did not remove the warning, so i checked the warning and saw that it wanted 6.0.5, so i downgraded from 6.0.8 to 6.0.5 and it still did not got rid of the warning, so i reinstalled the bloxstrap installer to see if it just didnt register .net runtime. Nope, it still doesn't let me use bloxstrap

You sure you have the x86 version of the runtime downloaded? A download is provided in the README.


Formatting the source code to comply with the LLVM standard

I created a .clang-format file that complies with the LLVM standard that was used to format all of the code.
Closes issue #28

@nicholaslegrand102 you've requested my review on this PR, but this is still marked as a draft. I'm a bit confused, am I supposed to review this PR or not? 🙃

Thank you @nicholaslegrand102. I have merged your PR in the main branch. Feel free to open a PR on the official repo now.


When using Animate.css and zoomInUp, or any Animate.css zoom animation, the element ends up with opacity: 0

This is:

Bug

Specifications

AOS version:  v3.0.0-beta.6
OS: Win10
Browser: Firefox

Expected Behavior
the element should stay visible after the animation ends
Actual Behavior
the element's opacity is set to 0 by this:
html:not(.no-js) [data-aos^="zoom"][data-aos^="zoom"] {
    opacity: 0;
    transition-property: opacity,-webkit-transform;
    transition-property: opacity,transform;
    transition-property: opacity,transform,-webkit-transform;
}

Steps to Reproduce the Problem

Include animate.css: <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.7.0/animate.min.css">
Set:

AOS.init({
        useClassNames: true,
        initClassName: false,
        animatedClassName: 'animated'
    });

Set element's: data-aos="zoomInUp
Scroll to the element

Possible Solution
Check if animatedClassName is set to default before applying
html:not(.no-js) [data-aos^="zoom"][data-aos^="zoom"] {
    opacity: 0;
    transition-property: opacity,-webkit-transform;
    transition-property: opacity,transform;
    transition-property: opacity,transform,-webkit-transform;
}

how to fix?

i fix it by using developer tool to modify aos.css properties and save to local and load it


Optimize Upgrade path test E2E run

Describe the proposal
Currently for running all the upgrade paths verification, it takes almost 25 minutes for the test suite to complete. (timeout 30mins)
The proposal here is that we only run the latest upgrade path (upgrade and downgrade) against each PR in CLI.
The full suite of upgrade paths will only be run against the master code in a scheduled run.
The issue here is, if there are changes in helm version that breaks the previous upgrade paths, that can only be caught after the code has been merged to master. But still that is a small risk to the benefit of having quicker PR check completion.
One other suggestion is make use of an /ok-to-test command to run the full suite of upgrade path tests as necessary in addition to the scheduled runs. That will also help mitigate this risk.
Thoughts on this? @artursouza @yaron2 @pravinpushkar @shubham1172 @ItalyPaleAle
Release Note

RELEASE NOTE:

I agree with  -  one upgrade + one downgrade test along with ability to trigger full suite with /ok-to-test. This can be used on need basis.

👋🏻🤖


Nested Settings with instances of models as defaults

When I have the next Models:
from pydantic import BaseModel
from pydantic_settings import BaseSettings

class DatabaseSettings(BaseModel):
    name: str = "test"
    env: str = "test"

class Settings(BaseSettings):
    db1: DatabaseSettings = DatabaseSettings(name="database1")
    db2: DatabaseSettings = DatabaseSettings(name="database2")

print(Settings(db1={"env": "prd"}))

I will get:
db1=DatabaseSettings(name='test', env='prd') db2=DatabaseSettings(name='database2', env='test')

However, I would expect:
db1=DatabaseSettings(name='database1', env='prd') db2=DatabaseSettings(name='database2', env='test')

I have written a small PydanticBaseSettingsSource fixes this behavior:
class FromClsSettings(pydantic_settings.PydanticBaseSettingsSource):
    def get_field_value(self, **kwargs) -> None:  # type: ignore[override]  # noqa: ANN003
        pass

    def __call__(self) -> dict[str, Any]:
        data = {}
        for field, field_info in self.settings_cls.model_fields.items():
            if isinstance(field_info.default, pydantic.BaseModel):
                data[field] = field_info.default.model_dump()
        return data

Is the issue the expected behavior? Is the proposed solution the correct one? Shall I make a PR?

Thanks @mrijken for reporting this.
Actually, this is the correct behavior. you have db1: DatabaseSettings = DatabaseSettings(name="database1") in your model. it means the default value for db1 is DatabaseSettings(name="database1", env="test"). when you pass {"env": "prd"}, it will override the default with DatabaseSettings(name='test', env='prd')

Hi @mrijken, I've added a flag nested_model_default_partial_update that enables partial updates for default model objects. Could you help verify it resolves your issue and post a simple test for your use case? I believe the case posted in the description is now resolved:
from pydantic import BaseModel
from pydantic_settings import BaseSettings

class DatabaseSettings(BaseModel):
    name: str = 'test'
    env: str = 'test'

class Settings(BaseSettings, nested_model_default_partial_update=True):
    db1: DatabaseSettings = DatabaseSettings(name='database1')
    db2: DatabaseSettings = DatabaseSettings(name='database2')

print(Settings(db1={'env': 'prd'}))
#> db1=DatabaseSettings(name='database1', env='prd') db2=DatabaseSettings(name='database2', env='test')


docs: add highlight

Make the docs beautiful

Coverage remained the same at 71.087% when pulling b1e0da7a2f7265ea6199477ebcad4111ae570256 on dyun8080:patch-3 into 900cbb1cf31be6587a49792a8c5a36364dce246b on dvajs:master.


[Telink]: Migrate to upstream zephyr (docker part)

Problem
Used to Telink builds use custom fork of Zephyr: https://github.com/rikorsev/zephyr/tree/telink_b91_tlsr9518adk80d_internal
Now, Telink platform support is available on upstream Zephyr: https://github.com/zephyrproject-rtos/zephyr
So, Telink Matter solution migrates to upstream Zephyr.
Change overview
This particular PR contains changes related to docker images:
chip-build-telink
chip-build-vscode
Testing
Manually. Steps:

Build chip-build-telink image
Run chip-build-telink
Check if telink lighting example builds successfully
Flash Telink tlsr9518adk80d board with built binary
Check if it works fine with chip-tool

Hi @andy31415
Could you review the PR once again and merge it if everything is ok?


Nothing seems to get intercepted

I have the following code:
...
import fetchIntercept from 'fetch-intercept';

class UserActions {
    async logout() {
        const unregister = fetchIntercept.register({
            request: function (url, config) {
                // Modify the url or config here
                console.log("LOGOUT INTERCEPT", url, config);
                return [url, config];
            },

            requestError: function (error) {
                // Called when an error occured during another 'request' interceptor call
                return Promise.reject(error);
            },

            response: function (response) {
                // Modify the reponse object
                console.log("LOGOUT INTERCEPT", response);
                return response;
            },

            responseError: function (error) {
                // Handle an fetch error
                return Promise.reject(error);
            }
        });

        let err, response, stat;
        try {
            response = await fetch(`${apiUrl}/user/logout`);
            if (response.ok) {

Expectation: Requests are intercepted and logged in the console
Result: Nothing gets logged in the console.

Could isolate the problem and provide me a test case? Response interception should be covered by my tests.

I'm working on a test case, but right now it seems intercept doesn't work if whatwg-fetch polyfill is loaded. With native fetch on chrome and firefox everything is peachy, but if the polyfill is present (e.g. :
 new webpack.ProvidePlugin({
     'fetch': 'imports?this=>global!exports?global.fetch!whatwg-fetch',
})

...it stops working.

Thanks for the catch. Haven't testet it with a browser without fetch support yet. Will take a look in it cause I will need it for another project.

New version available on npm.

It seems that in the new version (2.3.1) interception doesn't work too.


[Feature]: Support for Github Models (Github Marketplace)

Description
Currently opencommit doesn't support Github Models API calls. It would be nice to have the support for Github models, as they're free to use (if you get your access granted) and gives you free API key to request differents models, GPT 4o included
Suggested Solution
The user could provide a GITHUB_TOKEN (free) instead of the OpenAI (not free) API key for the LLM requests.
Usage :
import os
from openai import OpenAI

token = os.environ["GITHUB_TOKEN"]
endpoint = "https://models.inference.ai.azure.com"
model_name = "gpt-4o-mini"

client = OpenAI(
    base_url=endpoint,
    api_key=token,
)

response = client.chat.completions.create(
    messages=[
        {
            "role": "system",
            "content": "You are in charge to create a commit name for all those differences:",
        },
        {
            "role": "user",
            "content": "What is the capital of France?",
        }
    ],
    model=model_name,
    temperature=1.,
    max_tokens=1000,
    top_p=1.
)

print(response.choices[0].message.content)

Alternatives
No response
Additional Context
No response

@kevin-valerio nice idea! do you want to contribute a PR? if yes — this should not take longer than 40 minutes to implement, follow OpenAiEngine example or simply this file


Error handling

Handling SWF API errors, such as decision failures or time-outs.
See https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dg-error-handling.html

Five main types:

Invalid request - fail execution, stop decider
Task timed-out - fail execution. Activity-task time-out already handled
Task failed (activity, Lambda or child workflow) - fail execution (until retries are implemented: see #4). Activity-task failure already handled
Execution closure failed - retry same execution closure (pending decision task will be consumed)
Unauthorised request - schedule decision task (eg 0-second timer), stop decider


[RFC] No more 404, 301 to new URLs

Hi,
Redirecting old URLs to new ones is a feature often demanded by SEO experts to avoid 404. It would be a nice addition to this extension.
This feature could be part of Bolt's core but I guess it'll also have to account for shortlink once it's implemented (#20). Hence I'm opening this issue here rather than on Bolt's repository.
Cheers

The problem is "expert" does not equal someone telling you what you need to know, or who knows what they are talking about. Yes, 404s will wear a penalty, but the responsibility of how to manage that should never ever ever be a machine's decision. Like, you know, evaaaar :smile:
IMO this has no place in an SEO extension, as it violates a tonne of design principles for a start, and well-understood principles for site architecture secondly.

This sounds more like a job for Bolt Redirector IMHO.


Add the statistics command

Statistics will appear in the command feedback window

As discussed during our weekly team meeting on 03 Oct, we have decided to integrate the statistics into a window of our main application. Hence there is no need for a specific statistics command.


Add FAQ to minio.io website

We need to add FAQ on our website.

Closing this, We will move FAQ's to topics under Gitter!

Closing this, We will move FAQ's to topics under Gitter!

Closing for real :-)


Late media - SDP ACKed immediately

In my use case Drachtio is a B2BUA routing calls from an LCS to various systems.  I am now implementing the reverse, the primary difference is that these systems that are dialling out use "late media".
As you can see in the attached sip-ladder (see image below, pcap via email) the LCS (<IP_ADDRESS>) returns a 200 OK with SDP candidates but Drachtio (<IP_ADDRESS>) responds immediately with an ACK before forwarding the 200 OK to the originating system. Media timeout then occurs because no media has been appropriately selected (as far as the LCS is concerned).

What should be occurring (in my mind) is the following:
A               Drachtio                B
|                   |<---200 OK (SDP)---|
|<---200 OK (SDP)---|                   |
|----ACK (SDP)----->|                   |
|                   |----ACK (SDP)----->|

Sample Code from client application

app.sip.ep.invite((req, res) => {
    let dnis = req.calledNumber
    var route

    if (app.route.config[dnis]) {
      // logic to find the next hop `new_to` for the call.
    }
    var new_to = `sip:${dnis}@${route}`

    app.sip.ep.createB2BUA(req, res, new_to,
      {
        localSdpB: req.body,
        headers: {
          'X-Virtual-Edge': 'Private'
        },
        responseHeaders: {
          'X-Virtual-Edge': 'Private'
        },
        proxyRequestHeaders: ['Via', 'From', 'Contact', 'Allow', 'Supported', 'User-agent', 'Content-Type'],
        proxyResponseHeaders: ['Accept', 'Allow', 'Record-Route', 'Session-Expires']
      })
    .then(({uas: a_leg, uac: b_leg}) => {

      a_leg.on('destroy', () => { b_leg.destroy() })
      b_leg.on('destroy', () => { a_leg.destroy() })

      b_leg.on ('modify', (req, res) => {
        a_leg.modify(req.body)
        .then((sdp) => {
          res.send(200, {body: sdp})
        })
      })
    })
    .catch((err) => {
      res.send(408, `non-success`)
    })
  })

Apologies from only getting back to you now. I have installed Drachtio-srf version 4.4.49-beta.5, I can confirm that I am still not seeing the correct behaviour. In this case the LCS (for reasons unknown to me) returned only one SDP candidate this time.

As you can see from the above image, Drachtio is still immediately ACK-ing the 200 OK (containing the SDP candidate(s)). Only this time it is an empty ACK which acknowledges the single SDP candidate.

Can you run your scenario with DEBUG=drachtio:* and provide me with the application log output as well as the drachtio server log please.

I have reviewed our testing, and the 4.4.49-beta.5 is working as expected and intended. Sorry for the confusion earlier, our test was broken not the srf.

This is fixed in<EMAIL_ADDRESS>


Env variable for number of cpu threads to use

Add environment variable for number of cpu threads to use and also allow for auto like now

real


Sniffing network traffic

Could this be used to sniff network traffic? I am trying to create a utility that watches SIP (voip) network traffic and greps it. An easier version of ngrep. Thought it would be cool to do it in go if possible.

I think it might be possible. My best guess would be to use some pcap library. Something like gopacket or gopcap.


Show incorrect APR and Min stake of the some chains

Actual:

APR of the AZERO = 4.12%/xx % after inflation
Min stake = 0

Expect:

APR = 11.48%/2.44 % after inflation
Min stake = 10

Please re-check other token

Version test: v1.0.4(170)
Devices test: IP 11
Validation passed.


Cannot allocate tf_uniform_replay_buffer to GPU - No registered 'ResourceScatterUpdate' OpKernel for 'GPU' devices compatible with node

System information
tensorflow 2.4.1
tf-agents 0.7.1
Nvidia RTX 2080 Ti
Windows 10
Python 3.8
Describe the current behavior
I am trying to run the TFUniformReplayBuffer on the GPU based on the example outlined here:
https://pathtopioneer.com/blog/2020/07/rl-3
When adding device='/device:CPU:0' to the initalisation of the replay buffer everything works. When specifying GPU device='/device:GPU:0', an error occurs. It appears there is no GPU op for ResourceScatterUpdate. But how can this be fixed?
Same error when running code on Colab with GPU enabled instead of my local machine.
Describe the expected behavior
Should give no error with GPU enabled.
Standalone code to reproduce the issue

import tensorflow as tf
from tf_agents.replay_buffers import tf_uniform_replay_buffer
import numpy as np

data_spec =  (
        tf.TensorSpec([1], tf.float32, 'action'),
        tf.TensorSpec([5], tf.float32, 'lidar'),
        tf.TensorSpec([3, 2], tf.float32, 'camera')
)

batch_size = 32
max_length = 1000

replay_buffer = tf_uniform_replay_buffer.TFUniformReplayBuffer(
    data_spec,
    batch_size=batch_size,
    max_length=max_length,
    device='/device:GPU:0') # when using device='/device:CPU:0') everything works

action = tf.constant(1 * np.ones(
    data_spec[0].shape.as_list(), dtype=np.float32))
lidar = tf.constant(
    2 * np.ones(data_spec[1].shape.as_list(), dtype=np.float32))
camera = tf.constant(
    3 * np.ones(data_spec[2].shape.as_list(), dtype=np.float32))

values = (action, lidar, camera)
values_batched = tf.nest.map_structure(lambda t: tf.stack([t] * batch_size),
                                       values)

replay_buffer.add_batch(values_batched)

# Convert the replay buffer to a tf.data.Dataset and iterate through it
dataset = replay_buffer.as_dataset(
    sample_batch_size=4)

iterator = iter(dataset)
print("Iterator trajectories:")
trajectories = []
for _ in range(3):
  t, _ = next(iterator)
  trajectories.append(t)

print(tf.nest.map_structure(lambda t: t.shape, trajectories))

Other info / logs
Exception has occurred: NotFoundError
No registered 'ResourceScatterUpdate' OpKernel for 'GPU' devices compatible with node {{node ResourceScatterUpdate}}
(OpKernel was found, but attributes didn't match) Requested Attributes: Tindices=DT_INT64, dtype=DT_INT64
.  Registered:  device='CPU'; dtype in [DT_UINT64]; Tindices in [DT_INT32]
device='CPU'; dtype in [DT_UINT64]; Tindices in [DT_INT64]
device='CPU'; dtype in [DT_INT64]; Tindices in [DT_INT32]
device='CPU'; dtype in [DT_INT64]; Tindices in [DT_INT64]
device='CPU'; dtype in [DT_UINT32]; Tindices in [DT_INT32]
device='CPU'; dtype in [DT_UINT32]; Tindices in [DT_INT64]
device='CPU'; dtype in [DT_UINT16]; Tindices in [DT_INT32]
device='CPU'; dtype in [DT_UINT16]; Tindices in [DT_INT64]
device='CPU'; dtype in [DT_INT16]; Tindices in [DT_INT32]
device='CPU'; dtype in [DT_INT16]; Tindices in [DT_INT64]
device='CPU'; dtype in [DT_UINT8]; Tindices in [DT_INT32]
device='CPU'; dtype in [DT_UINT8]; Tindices in [DT_INT64]
device='CPU'; dtype in [DT_INT8]; Tindices in [DT_INT32]
device='CPU'; dtype in [DT_INT8]; Tindices in [DT_INT64]
device='CPU'; dtype in [DT_INT32]; Tindices in [DT_INT32]
device='CPU'; dtype in [DT_INT32]; Tindices in [DT_INT64]
device='CPU'; dtype in [DT_HALF]; Tindices in [DT_INT32]
device='CPU'; dtype in [DT_HALF]; Tindices in [DT_INT64]
device='CPU'; dtype in [DT_BFLOAT16]; Tindices in [DT_INT32]
device='CPU'; dtype in [DT_BFLOAT16]; Tindices in [DT_INT64]
device='CPU'; dtype in [DT_FLOAT]; Tindices in [DT_INT32]
device='CPU'; dtype in [DT_FLOAT]; Tindices in [DT_INT64]
device='CPU'; dtype in [DT_DOUBLE]; Tindices in [DT_INT32]
device='CPU'; dtype in [DT_DOUBLE]; Tindices in [DT_INT64]
device='CPU'; dtype in [DT_COMPLEX64]; Tindices in [DT_INT32]
device='CPU'; dtype in [DT_COMPLEX64]; Tindices in [DT_INT64]
device='CPU'; dtype in [DT_COMPLEX128]; Tindices in [DT_INT32]
device='CPU'; dtype in [DT_COMPLEX128]; Tindices in [DT_INT64]
device='CPU'; dtype in [DT_STRING]; Tindices in [DT_INT32]
device='CPU'; dtype in [DT_STRING]; Tindices in [DT_INT64]
device='CPU'; dtype in [DT_BOOL]; Tindices in [DT_INT32]
device='CPU'; dtype in [DT_BOOL]; Tindices in [DT_INT64]
device='CPU'; dtype in [DT_VARIANT]; Tindices in [DT_INT32]
device='CPU'; dtype in [DT_VARIANT]; Tindices in [DT_INT64]
device='GPU'; dtype in [DT_HALF]; Tindices in [DT_INT32]
device='GPU'; dtype in [DT_HALF]; Tindices in [DT_INT64]
device='GPU'; dtype in [DT_FLOAT]; Tindices in [DT_INT32]
device='GPU'; dtype in [DT_FLOAT]; Tindices in [DT_INT64]
device='GPU'; dtype in [DT_DOUBLE]; Tindices in [DT_INT32]
device='GPU'; dtype in [DT_DOUBLE]; Tindices in [DT_INT64]
device='GPU'; dtype in [DT_VARIANT]; Tindices in [DT_INT32]
device='GPU'; dtype in [DT_BOOL]; Tindices in [DT_INT32]
device='GPU'; dtype in [DT_VARIANT]; Tindices in [DT_INT64]
[Op:ResourceScatterUpdate]
File "C:\Users\Martin\Documents\GitHub\rl-investing\helper\replay.py", line 31, in
replay_buffer.add_batch(values_batched)

@deeepwin  I can able to reproduce the issue using GPU for TF 2.4.1 where as the issue is fixed in tf-nightly version. Please find the gist here. Thanks!

@saikumarchalla tested nightly build on my windows machine (Paython 3.7 and 3.8). But, still same error. On Colab it seems to work indeed. But, is Linux and Python 3.7.

@deeepwin  Could you please provide your cuda/cuddn version?

On Ubuntu:
cuda: 11.3 (NVIDIA-SMI 465.19.01    Driver Version: 465.19.01)
cudnn <IP_ADDRESS>-1+cuda11.2
On Windows:
cuda 11.3
cudnn <IP_ADDRESS>

@saikumarchalla
I have install nightly but unfortunately no success. Could you check it on cuda with higher version or am I doing something wrong?
Collecting tf-nightly
Downloading tf_nightly-2.6.0.dev20210427-cp37-cp37m-manylinux2010_x86_64.whl (455.6 MB)
xception has occurred: NotFoundError
No registered 'ResourceScatterUpdate' OpKernel for 'GPU' devices compatible with node {{node ResourceScatterUpdate}}
	 (OpKernel was found, but attributes didn't match) Requested Attributes: Tindices=DT_INT64, dtype=DT_INT64
	.  Registered:  device='CPU'; dtype in [DT_VARIANT]; Tindices in [DT_INT64]
  device='CPU'; dtype in [DT_VARIANT]; Tindices in [DT_INT32]
  device='CPU'; dtype in [DT_BOOL]; Tindices in [DT_INT64]
  device='CPU'; dtype in [DT_BOOL]; Tindices in [DT_INT32]
...
device='GPU'; dtype in [DT_HALF]; Tindices in [DT_INT32]
 [Op:ResourceScatterUpdate]
  File "/home/martin/GitHub/rl-investing/tests/test_tf_uniform_replay_buffer.py", line 38, in <module>
    replay_buffer.add_batch(values_batched_tf)

Adding github gist that reproduces the reported error for next tensorflower.

CC @atondwal

@deeepwin does this unblock your usecase?

@atondwal works on my local machine with the nightly build. Great thank you!


Provide color logo for add-on page.

What version of Music Assistant has the issue?
2022.04.03
The problem
Currently in the add-on page the canonical approach to show state is to have a color icon and a black and white one.  Color for running , B&W for not …. I’m any case currently MASS is not doing this and it’s hard to see state when looking at all the Add-one
How to reproduce
Goto add on page
Relevant log output
No response
Additional information
No response
What version of Home Assistant Core are your running
2023.5
What type of installation are you running?
Home Assistant OS
On what type of hardware are you running?
Linux

Thanks for the proposed enhancement

Is this the logo a temporary one?
The logo of the group should also be changed to match.
I made some colored ones that you can use, if you want something else just let me know.

There is no logo on the org level, that is just a github default icon.
We are going to change the logo at some point and when that happens we'll look into this.


Affrae add block_branch_names_not_starting_with_userID.sh

I get asked about branch naming conventions a lot - so I usually show this as a pre-receive hook.
There is one caveat: this comparison is currently case sensitive.

@mzzmjd I have chosen to comment out the lines but not remove them - thus they can be added for demo purposes when required, as opposed to by default.

Thanks, @jonico


model: Implement GridSearchCV

Would be great to have grid search for hyper parameter tuning in dffml.
Something along the lines of sklearn.model_selection.GridSearchCV
Or maybe simply having a parameter grid and building and passing models to train to figure out the best parameters.

Hi, Is it ok if I pick up the issue?

can I work on this issue?


Sort transcripts by expression

Moved from https://github.com/macarthur-lab/gnomad_browser/issues/78
Originally created by @mattsolo1 on Wed, 06 Dec 2017 16:51:28 GMT

I believe the suggestion from @konradjk was canonical first, then sort by avg expression across all tissues?

Moved from https://github.com/macarthur-lab/gnomad_browser/issues/78#issuecomment-349707319
Originally created by @konradjk on Wed, 06 Dec 2017 17:07:04 GMT

Let's try that and see how it looks


[openapi-alps] Revert rush from 5.109.1 to 5.97.1

workaround for #7127

Fixed by https://dev.azure.com/devdiv/DevDiv/_git/openapi-alps/pullrequest/508566


Action controller error for downloading pdfs

Currently in the demo app there is a pdftk error when trying to download a pdf, any pdf.
On districthousing.org:

Something is broken in pdf synching, from Google Drive where the master pdf files are stored to the application. We need a solution that fixes this and eliminates the need for manual intervention. We should also make sure this won't happen when Bread ultimately deploys the final app in their environment.

The same problem is also affecting my Docker instance installed a couple months ago. New Docker instances others set up tonight worked just fine.


Visual Studio 2015 should be recommended, not 2013.

https://github.com/canton7/SyncTrayzor#building-from-source
Please recommend VS 2015 instead of VS 2013 as C# 6.0 is required to compile, and I don't think it's officially supported on VS 2013 anymore.
Thank you!

Yeah, C# 6 was never supported by VS 2015: I forgot to update the README when I upgraded the project >>

Fixed in #155


Move dMagnitudeUnit up above newbie stake so the newbie will get prop…

dMagnitudeUnit is passed set to 0 in function.
dMagnitudeUnit is set after newbie stake which causes a problem with newbie getting paid properly with there first block
formula is int64_t iAccrual = (int64_t)((dNewbieAccrualAgedCurrentMagnitudedMagnitudeUnitCOIN) + (1COIN));
When dMagnitudeUnit is 0 it makes the left side of the formula 0. so then its 0 + (1*COIN) = 100000000 = 1GRC stake + interest after returned accrual of 1GRC
This makes the newbie stake calculation correct and the newbie will be paid properly so even if it takes weeks to get the newbie stake they will get a fully reward owed instead of 1 GRC
related #507

I think this needa block trigger to not cause uncontrolable forks. But I am not sure.

yes i was putting up it for approval at first but i do have a commit to push still that i havent with height ill do it after my coffee. but u r right it would fork from one way

15.10.2017 15:40:48 ComputeResearchAccrual.CRE.Begin: cpid=46f64d69eb8c5ee9cd24178b589af83f {cb9e1028e058b90536f9324e8030b82b930501c16cf76d17eb8b46cd5ab22b7c 372323} (best 372323)
15.10.2017 15:40:48 CRE: dCurrentMagnitude= 0,0 in.dMagnitudeUnit= 0,000000
15.10.2017 15:40:48 GetHistoricalMagnitude: WARNING index {cb9e1028e058b90536f9324e8030b82b930501c16cf76d17eb8b46cd5ab22b7c 372323} for cpid 46f64d69eb8c5ee9cd24178b589af83f, has no next pointer (not n main chain)
15.10.2017 15:40:48 CRE: pHistorical {cb9e1028e058b90536f9324e8030b82b930501c16cf76d17eb8b46cd5ab22b7c 372323} hasNext= 0 nMagnitude= 0,0
15.10.2017 15:40:48 CRE: No prior block exists...
15.10.2017 15:40:48 CRE: Using 0.01 age bootstrap

ill run a debug version of this for abit. but maybe its the IsV8Enabled part. i'll see if it returning right info or being sent right info

The log I posted demonstrates that if your previous stake was with mag 0, you will get newbie reward instead of correct value.

oh ok lol i ran debug and change it so itd show example and it does set dMagnitudeUnit to 0.25
2017-10-15 20:46:13 .TMS.IsV8Enabled Chk TRUE : Mag Unit 0.250000
2017-10-15 20:46:13 IsV8Enabled Chk TRUE : Mag Unit 0.250000
2017-10-15 20:46:13 IsV8Enabled Chk TRUE : Mag Unit 0.250000

did u mean in int64_t iAccrual = (int64_t)((dNewbieAccrualAgedCurrentMagnitudedMagnitudeUnitCOIN) + (1COIN));
where dCurrentMagnitude is 0. if is 0 we should return 0 accrual there for newbie block. treat it as a POS until they have mag to get a researchers newbie block

I am not running this branch straight. I modified it to not set the magnitude unit yet, as I would just fork away. I am saying that if the historical magnitude is zero, you will wrongly get newbie reward. Staking research reward with 0 mag is possible now (since v8) and looks like it does confuse this function.

well historical mag would be 0 thou id assume since its had no previous block. CalculatedMagnitude2 pulls from mvDPOR which has superblock data if i'm right. if ur testing on testnet and with the sb issue cud cause this no?

well historical mag would be 0 thou id assume since its had no previous block.

This assumption is wrong. And that is what I am trying to say. When historic magnitude was 0, it means it was 0. People can stake with zero magnitude. That is a fact and is intended. What is wrong is that the code assumes when historic mag was 0, it goes to newbie stake.

so we add an additional condition that if mag != 0 then continue with newbie stake. sound reasonable?

i know u can stake with 0 mag but why is historical 0 thou. if they've staked research before

You can stake with 0 mag, you can still get nonzero research reward. Historical is 0 because they staked with 0 and research the last time.

so we add an additional condition that if mag != 0 then continue with newbie stake. sound reasonable?

Or just remove the condition that decides historical==0 is newbie stake here.

Is this obsolete with #700?

I am positive it is fixed. Basically this code was merged into there.

ill close this for now is it fixed in the staging but not prod? i'll start preparing the  block chain scan to  calculate what is owed to users


Inquiry about Open Sourcing the Repository

Hi Yifan,
I'm interested in the KFD-NeRF project. Is there a plan to open-source it soon?
Best,

Thank you for your attention! We‘re planning to open-source it in early Oct., so please check back then.


(1.0 pre-release) Game Over Loop Sounds don't Loop

Describe your bug here.
the title says it
Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
no

Download
https://www.mediafire.com/file/o50xaz6wgtazqnx/fix.zip/file
password: changeme
In the installer menu, select "gcc."

Merged #15428 which fixes this


ACCESS_TOKEN Pin Sharing

Hello there,
I do not have API access, can we pin only with access_token? Can you share sample code.

You need API access to use the Pinterest api. Please take a look at the following resources for more information and code examples:

https://developers.pinterest.com/docs/getting-started/introduction/?
https://github.com/dirkgroenen/pinterest-api-php/tree/master/demo

Please diver to Stack Overflow if you have questions on how to use the Pinterest API.

It is very difficult to get api from Pinterest. Can't we do without the API? With ACCESS_TOKEN.


Provide a settings plugin to centrally define all Module Names

Right now, there is quite some trouble with the fact that the plugin does not know the names of the other local modules located in other subprojects. This issue is about how to improve this without breaking project isolation.
The underlying issue is that the module-info.java files are parsed as part of the configuration phase of each project individually. And only after they are parsed the real name is known. This is too late. The name should ideally be known during the "initialization phase" (when setting.gradle is parsed). That is the place where also the project names get defined. Right now, there is a certain duplication already, because the project names you define in settings.gradle need to be similar to the Module Names for the current mechanism to work.
The idea now is to allow users to apply this plugin in settings.gradle and then define all Names there or maybe even get them automatically by parsing main/java/module-info.java files early. Also, this should allow defining the "group" of the projects early, wich we need to determine the "capabilities" of dependencies that point at another "feature variant" of a project. The getGroup we currently have to call on other projects is breaking project isolation.
This is how it could look like:
settings.gradle.kts
plugins {
  id("org.gradlex.java-module-depedencies"
}

javaModules { // our own extension, use instead of 'include(...)'
   // Folder and Gradle Project Name correspond to module name
  module("org.example.lib")

  // Individualised
  module("org.example.lib") {
    folder = "modules/lib" // different folder
    group = "org.example"  // define group early in settings so that all projects know all groups
    artifact = "lib"       // Gradle project name, corresponds to artifact in "group:artifact" coordinates
  }

  // Auto-include all
  // - assumes standard layout <project-folder>/src/main/java/module-info.java
  // - Module Name parsed from files
  // - Artifact is <project-folder>
  modules(layout.rootDirectory.dir("modules")) {
    group = "org.example"
  }
}

In the implementation, this will do the corresponding include(...)s but also fill a central module identity cache with all the information. If the plugin is used in settings, the "guessing" mechanism based on the prefix of Module Names is turned off and the module identity cache is used instead.

After reading a bit through the gradle API and documentation: It seems to me that the Initialization phase is too early to do anything smart. Basically all we  have at this point is the projects and their names. We dont know if these projects are even java projects and we don't know where their sources are.
So as a matter of fact nothing changes:

using the current approach (and isolated projects) we only have access to the project name/root project/project dir... because these are the only things that are permitted in isolated builds.
Applying a settings plugin we also only have access to these properties, because the java plugin hasn't been applied yet.

So in both cases we can access some sort of config file relative to the root dir like this: new File(getProject().getRootDir(), "gradle/modules.properties"), but cant reliable find or iterate over sourcesets.
So I suggest one could try to hack around using a build-service. In the (isolated) configuration phase all projects throw their own jpms names into the buildservice/central module identity cache (in parallel).
Resolving the (dependency)configuration should  always happen after that is complete, so access the buildservice lazy and it just works?
Would have to play around a bit to check for sideeffects,
Best regards

Actually there is another even bigger issue at hand, which is configuration on demand. https://docs.gradle.org/current/userguide/multi_project_configuration_and_execution.html
In that case gradle needs to be fed the info what projects to actually configure. Usually gradle gets this info from the dependencies, which point to a project. But if you only have your requires myorg.legacy.whatever then really your only options are that there is a either a function to calculate a project name from the jpms name, or a mapping already exists at that point. So that puts the idea of the settings plugin back on the menu, with obvious the downside that it cant see the correct location of the module-info file, so that requires guessing or double configuration...

Version 1.7 now contains a Settings DSL as described above. If used, the plugin is fully compatible with project isolation and no longer relies on names/groups to align. The only assumption the plugin still makes is that, if you use addition Feature Variants with Capabilities (which includes Test Fixtures), the sources folder name has to map to the capability name (e.g. src/testFixtures/java maps to <group>:<artifact>-test-fixtures), which is what Gradle does by default if you use registerFeature or the java-test-fixtures plugin. With this, test fixtures work even nicer with project isolation than it currently does in plain Gradle  - see https://github.com/gradle/gradle/issues/27872#issuecomment-2151775051.
If the plugin is used in the "traditional way" though, nothing changes.

one could try to hack around using a build-service. In the (isolated) configuration phase all projects throw their own jpms names into the buildservice/central module identity cache (in parallel).

For using the plugin without the settings part, something like this would be needed. That is, after all projects are configured, but before dependency resolution starts as part of the task graph building, all information would need to be gathered. Before the dependencies are actually created. Which should be done late as we use Providers and withDependencies { } to create them. However:

This is always fragile in Gradle: other plugins or build configuration can easily break the laziness without Gradle giving you a hint
I don't think that a hook exists for this. Build services are for task execution. Not to synchronize something during build configuration. And my understanding is that with project isolation, eventually all subprojects will configure in parallel. I assume they will only "wait for each other" once the task graph starts establishing relationships between the subprojects. But I don't think there is a "global synchronization" to hook into (but I might be wrong).


create CSS Property Order doc

initial draft of CSS property order for inclusion in the HTML/CSS Code Guidelines.

Part of Issue https://github.com/fabric8io/fabric8-ux/issues/473


Integrated terminal env settings in workspace stopped working in vscode 1.5.6 SSH remote

VS Code Version: 1.5.6
OS Version: Windows 10 Enterprise, (With Remote SSH on Ubuntu 18.04)

Steps to Reproduce:

Take vscode session in windows using remote ssh connection on a workspace in linux host (ubuntu 18.04)
Settings defined in workspace are not reflected in integrated terminal
terminal.integrated.env.linux defined in workspace in linux remote.

"terminal.integrated.env.linux": {
            "MYVAR": "8",
        },

Open terminal and execute echo $MYVAR

Does this issue occur when all extensions are disabled?: No

Duplicate of #123142

Duplicate of #122104


./mbi.sh build command occur "Dependency cycle" error

After I clone the code,then I use command ./mbi.sh build,it errors:
<xiaoji> sh-5.1# JAVA_HOME=/usr/lib/jvm/java-17 ./mbi.sh build
Exception in thread "main" java.lang.IllegalStateException: Dependency cycle: mbi-pdc -> maven-plugin-tools -> mbi-pdc
        at org.fedoraproject.mbi.plan.BuildPlan.generateBuildSteps(BuildPlan.java:86)
        at org.fedoraproject.mbi.plan.BuildPlan.generateBuildSteps(BuildPlan.java:103)
        at org.fedoraproject.mbi.plan.BuildPlan.generateBuildSteps(BuildPlan.java:92)
        at org.fedoraproject.mbi.plan.BuildPlan.generateBuildSteps(BuildPlan.java:103)
        at org.fedoraproject.mbi.plan.BuildPlan.computeBuildPlan(BuildPlan.java:62)
        at org.fedoraproject.mbi.build.BuildCommand.run(BuildCommand.java:41)
        at org.fedoraproject.mbi.Main.main(Main.java:52)

could somebody help me?

Hello, can you provide more details?
Which exact commit are you running the command from?
Did you modify any sources?
What JDK are you using?

sorry, there has some error in my harddisk, I have resolved it.


Cancel craft with 0 (all) value crashes Factorio

It seems like it isn't expecting/handling -1 as a value for cancel all in the Lua code

Apparently the count is required in cancel_crafting so that is why


StackOverflowException when matching 'a' against 'a/**'

An uncovered test case in https://github.com/kthompson/glob/commit/0b385038bed15dd65c89563a2e59b6e9a1d3e33e
[InlineData("a/**", "a")] causes StackOverflowException

I just pushed 1.0.2 let me know if you find anything else

Hi Kevin, there is another issue around this, a/** now matches a when it shouldn't.

Alright I think I may have assumed that should match but it doesn't look like a few other libraries will match that. I'll take a look shortly.
-------- Original Message --------
On Oct 29, 2018, 8:08 PM, Yufei Huang wrote:

Hi Kevin, there is another issue around this, a/** now matches a when it shouldn't.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or mute the thread.

a/* does not match a in the current implementation, these two should be consistent

Ok i just pushed 1.0.3 which should fix the above issue as well.

I misread your comment about string.Compare, I was previously looking at that because of all the allocations but I didn't realize that overload of string.Compare existed so I was trying something else that was substantially slower. Let me try that and see how it affects performance.

1.0.4 addresses the allocations for identifiers.


Fix checks for Pull Requests

For a while we had this issue that the checks fail for every new PR. From my understanding we are using the wrong Dart SDK version (3.1.0) while it should be >=3.1.5 and <4.0.0

Yeah, problem is surely this. Workflow configuration file, however, is correctly running on SDK version 3.16.0 as you can see here:
https://github.com/RIP-Comm/sossoldi/blob/3b83bf40918589cc11075e37dc12df9808f951b6/.github/workflows/flutter-ci.yml#L20
So it's not clear to me where the problem is.. i will try to investigate further

Maybe we could try running flutter upgrade --dart just to make sure that we have the latest compatible version of Dart?

I don't think this is related to our local environments. Now seems that clearing GH Actions cache (again) does the job... let me check again on that on next days.
...but now there are a couple of problems on tests, which were hidden 'till now by this issue! 🤣

Understood 👍🏻😂


waffle.io Badge

Merge this to receive a badge indicating the number of issues in the ready column on your waffle.io board at https://waffle.io/jackfirth/point-free
This was requested by a real person (user jackfirth) on waffle.io, we're not trying to spam you.

Coverage remained the same at 96.7% when pulling c1dc29f2506fb80a27f4090b1aab01bd753814e4 on waffle-iron:master into 91658ef507f52f6bdf8b3bc0cfc77254d3909ea9 on jackfirth:master.


[FEATURE] Support Spark3.4

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Search before asking

[X] I have searched in the issues and found no similar issues.

Describe the feature
Spark 3.4.1 has been released. It's time to support in uniffle side. https://spark.apache.org/releases/spark-release-3-4-0.html
Motivation
No response
Describe the solution
No response
Additional context
No response
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Volunteering

Volunteering

Thanks!


Streamline ObjectPool in System::Timer

Problem
After the unification of the former system/SystemObject.h
with support/Pool.h, there is an opportunity to simplify
System::Timer.
Change overview

Clean up use of ObjectPool, with a TimerPool wrapper.
Fix some #includes formerly indirectly included by SystemTimer.h

Testing
CI; no changes to external functionality.

fast track: change by domain owner, sufficient uptime for all timezone review.


CI-Pipeline permission denied failure on Azure and CRC

This issue is explained in RH Jira ISV-2654, which I'd already tried resolving unsuccessfully in #366.
The ci-pipeline fails during the generate-index : inspect-base-index step when run on both CRC and Azure, with the following error:
+ tee -a podman-inspect.json
+ podman image inspect image-registry.openshift-image-registry.svc:5000/rvtest/certified-operator-index:v4.11
tee: podman-inspect.json: Permission denied

The root cause is that podman-inspect.json has gid 0 (root group) ownership, but the inspect-base-index pod does not run with gid 0 on either CRC or Azure. When uid/gid 1000 attempts to write to this file, it fails as expected due to lacking permissions.

I'm hitting this issue too on ppc64le, which requires using the templates/crc-pod-template.yml template. Is there any workaround?


Domoticz on/off switches and dimmers got mixed up

Hello,
Within Domoticz I have 2 lights, one behind an on/off switch and one behind a dimmer. When connected to homebridge, the on/off light show up with dimmable aspects and the dimmable light shows up as an on/off light ??? Any idea what goes wrong here?
With kind regards,
Remco Hannink

The problem described above is fixed. Thanks for this.
But the dimmers in Domoticz are not working correctly. The code says the values are changed from 0-100 to 0-16 steps, but 50% in a homekit app is 5-10% dim level with my lamp. It doesn't go any higher.

Sounds like a percentage conversion problem - can you see from the logs what the underlying value HomeKit is setting is?

Hello,
Where can I find the logs from Homebridge when I start it on the background ? Or do you mean the logs from domoticz ?
Gr. Remco

Op 1 sep. 2015, om 21:13 heeft Nick Farina<EMAIL_ADDRESS>het volgende geschreven:
Sounds like a percentage conversion problem - can you see from the logs what the underlying value HomeKit is setting is?
—
Reply to this email directly or view it on GitHub https://github.com/nfarina/homebridge/issues/128#issuecomment-136831307.

I use Domoticz with a RFLink 433Mhz transceiver. The 433Mhz dimmers know 16 different levels. With Domoticz the dimmers work fine. I noticed that domoticz only sends the desired dim (eg 6) level while Homebridge also sends all the intermediate levels (eg 1-2-3-4-5-6 when dimming from 0 to 40%)
I can't get any useful information from the Domoticz logfile. Haven't found a Homebridge logfile when running homebridge in the background.

Ok,
found something by running Hoemkit interactive. When I set a dimmer to 44% I see the following lines from homebridge:
 EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP request: /characteristics +15ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +0ms
  Accessory [Homebridge] Processing characteristic set: {"characteristics":[{"aid":8,"iid":10,"value":44}]} +0ms
  Accessory [Homebridge] Setting Characteristic "Adjust Brightness of Light" to value 44 +0ms
[Domoticz] Slaapkamer Niels sending command setLevel with value 44
  EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP Repsonse is finished +1ms
  EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP request: /characteristics +50ms
  HAPServer [CC:22:3D:E3:CE:30] HAP Request: PUT /characteristics +0ms
  Accessory [Homebridge] Processing characteristic set: {"characteristics":[{"aid":8,"iid":10,"value":44}]} +1ms
  Accessory [Homebridge] Setting Characteristic "Adjust Brightness of Light" to value 44 +0ms
[Domoticz] Slaapkamer Niels sending command setLevel with value 44
  EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP Repsonse is finished +1ms
[Domoticz] Slaapkamer Niels sent command setLevel
[Domoticz] Slaapkamer Niels sent command setLevel
[Domoticz] Slaapkamer Niels sent command setLevel
[Domoticz] Slaapkamer Niels sent command setLevel
[Domoticz] Slaapkamer Niels sent command setLevel
[Domoticz] Slaapkamer Niels sent command setLevel
[Domoticz] Slaapkamer Niels sent command setLevel
[Domoticz] Slaapkamer Niels sent command setLevel
[Domoticz] Slaapkamer Niels sent command setLevel
[Domoticz] Slaapkamer Niels sent command setLevel
[Domoticz] Slaapkamer Niels sent command setLevel
[Domoticz] Slaapkamer Niels sent command setLevel
[Domoticz] Slaapkamer Niels sent command setLevel
[Domoticz] Slaapkamer Niels sent command setLevel
[Domoticz] Slaapkamer Niels sent command setLevel
[Domoticz] Slaapkamer Niels sent command setLevel
[Domoticz] Slaapkamer Niels sent command setLevel
[Domoticz] Slaapkamer Niels sent command setLevel
[Domoticz] Slaapkamer Niels sent command setLevel
[Domoticz] Slaapkamer Niels sent command setLevel
[Domoticz] Slaapkamer Niels sent command setLevel
[Domoticz] Slaapkamer Niels sent command setLevel
[Domoticz] Slaapkamer Niels sent command setLevel
[Domoticz] Slaapkamer Niels sent command setLevel
[Domoticz] Slaapkamer Niels sent command setLevel
[Domoticz] Slaapkamer Niels sent command setLevel
[Domoticz] Slaapkamer Niels sent command setLevel
[Domoticz] Slaapkamer Niels sent command setLevel
[Domoticz] Slaapkamer Niels sent command setLevel
[Domoticz] Slaapkamer Niels sent command setLevel
[Domoticz] Slaapkamer Niels sent command setLevel
[Domoticz] Slaapkamer Niels sent command setLevel

Looks like it still is sending 0-100 instead of 0-16 And all intermediate levels are sent also.......

I'm also seeing this, dimmers simply don't work properly as its not respecting the dimmer scale.

@rhannink this should now be fixed by #169 which has been merged.

Hey,
lukeredpath,
Thanks for your update, it is working better now. 0-100% is now now 0-100% in Domoticz. But it is working very slow, because when I slide the dimmer in an homebridge app from 0-50%, this results in 50 messages from Homebridge to domoticz with all the intermediate levels. Dimming from 0-50% takes about 10-25 secs. Domoticz just sends the required level. So when I set the slider in Domoticz to 50% one message is being sent to the dimmer go to 50%. The dimmer itself slowly increases to 50% in about 1-2 secs.
Is it possible to get this behavior ?
Gr. Remco

Unfortunately this is down to the implementation in the app you're using and has nothing to do with HomeKit or HomeBridge.
Sent from my iPhone

On 16 Sep 2015, at 10:25, rhannink<EMAIL_ADDRESS>wrote:
Hey,
lukeredpath,
Thanks for your update, it is working better now. 0-100% is now now 0-100% in Domoticz. But it is working very slow, because when I slide the dimmer in an homebridge app from 0-50%, this results in 50 messages from Homebridge to domoticz with all the intermediate levels. Dimming from 0-50% takes about 10-25 secs. Domoticz just sends the required level. So when I set the slider in Domoticz to 50% one message is being sent to the dimmer go to 50%. The dimmer itself slowly increases to 50% in about 1-2 secs.
Is it possible to get this behavior ?
Gr. Remco
—
Reply to this email directly or view it on GitHub.

Well, you could try to intercept if the user is still sliding, so if the command has not been sent (and I understand it is piling up wait times) abort it (and the wait time) if another command for the same characteristic is in the pipeline.


Unclear speech

I am trying to train Merlin with a new voice but the results are still not clear.

I am using phone alignment (I checked that the alignment is accurate)

I used Word Vocoder to extract acoustic features. And the regenerated audios are good (see attached file).

I am using a very simple question file, adapted with the phonemes used in the labels files.

For now I am using between 50 and 300 sentences but the results doesn't get better even when I increase the number of sentences.

My configuration is:
[Architecture]
hidden_layer_size  : [1024, 1024, 1024, 1024, 1024, 1024]
hidden_layer_type  : ['TANH', 'TANH', 'TANH', 'TANH', 'TANH', 'TANH']
#if RNN or sequential training is used, please set sequential_training to True.
sequential_training : False
dropout_rate : 0.0
learning_rate    : 0.002
batch_size       : 256
output_activation: linear
warmup_epoch     : 10
warmup_momentum  : 0.3
training_epochs  : 25

The NN is not stopping early. And the errors for the acoustic model are:
Develop: DNN -- MCD: 6.596 dB; BAP: 0.197 dB; F0:- RMSE: 13.796 Hz; CORR: 0.186; VUV: 19.690%
Test   : DNN -- MCD: 6.790 dB; BAP: 0.202 dB; F0:- RMSE: 14.571 Hz; CORR: 0.125; VUV: 24.537%
The audio file I get is in the attached file. Please change the extension from .pdf to .zip
I always compare with the arctic_demo results that I got with 50 sentences, which are much better.
This is the third database that I use and I am always getting similar results, plain fuzz with intonation.
Does anyone have ideas of parameters I can change to make the voice clearer? does it seem like F0 extraction problem?
Thank you in advance.
results.pdf

Can you upload your question file and a sample label_phone_align lab file with the corresponding wave file? My main worry is that you are using the Festival scripts to generate your label files and those are for English but you are trying to synthesize French. The pronunciations of your words will be English and as such I don't see how you can get a good list of phonemes or accurate alignment of them to the input audio when they don't correspond at all with what was being said. Then when you try to train a DNN, your phoneme models will contain such diverse acoustic information that it doesn't know what to do with it. It will contain lots of voiced and unvoiced frames. Again, this is my guess just from listening to the result.
Do you have any experience with (French) text-to-speech? You need French linguistic preprocessing first to process your input text to get the correct phonemes, syllable stress, etc.

@dreamk73  thank you for your answer.
You can find the questions file, a wav file and the corresponding label_phone_align lab file attached.
I didn't use Festival to generate or align the labels. I used a trained tool for HMM French TTS to do it.
PS: The question file is very basic, actually I did the same with the arctic_demo questions file (kept the central phonemes only) and the results is still good for 50 sentences. For the complete French questions
file, the result gets worse.
examples_zip.pdf

Thanks for clarifying. The label file and wav file indeed look ok. I would have expected at least clear sounding phonemes as well. I would probably dig into the label normalization script and make sure that the correct phonemes labels are normalized. And maybe WORLD is still doing something strange when extracting acoustic features. Why else would the model not converge and the VUV error be so high?

I checked the input vector for the training process and it seems ok, the min max computing seems ok  also. But for the generation part I noticed that the vector loaded from test_synthesis/gen-lab/ files is strange.
I don't know if that's normal. I only know that a similar vector is also loaded for demo_arctic data.
The model converges after the 29 epoch but the result is not better. For the value of  VUV  I don't why it is so high.

How did you computed the objective values.
regards,
Safi


Add Search & Sorting to Credentials & Connections

Description
Add a Search & Sorting functionalities to the Credentials and Connections pages. The search should feel responsive but doesn't search immediately after each key stroke. Searching should work based on Issuer, Credential Name or Credential Content. In addition, sorting needs to work both on time or name.
Motivation
Improve scalability of the app by finding credentials and connections more easily if we assume large amount of usage.
Resources
Example from History Designs:

To-do List

[ ] Create Search Logic & Components
[ ] Create Sort Logic & Components
[ ] Add functionalities to "Me"
[ ] Add functionalities to "Activity" - Connections

To-Do List - Oran

[ ] Create Search Logic & Components
- Find "history" data location in back-end
- Create search prompt
- Create searching algorithm for history data
- Update transferstate
[ ] Create Sort Logic & Components
[ ] Add functionalities to "Me"
[ ] Add functionalities to "Activity" - Connections

To-Do List - Soula

[ ] Create Search Logic & Components/
Iterate on search component's designs
Implement and build components
[ ] Create Sort Logic & Components
Iterate on sort component's designs
Implement and build components
[ ] Add functionalities to "Me"
[ ] Add functionalities to "Activity" - Connections

As discussed in weekly sync, Search Page will be one and the same for connections, credentials and possibly history in the future. To avoid one big pile of search results we will add chips/filters to the search page functionality as specified in issue
Add Chips to Search Functionality #85


Add support to config schema for nested objects / dictionaries

This pull request introduces better support for nested config schema attributes:

Support for default value assignment for nested items (https://github.com/StackStorm/st2contrib/pull/625/files#r88870689)
Support for dynamic config values (secrets and non-secrets) for nested config items.
Throw a more user-friendly exception if rendering a particular dynamic config value fails.

To get a better idea of what was previously not supported, you can refer to the test fixtures - https://github.com/StackStorm/st2/pull/3039/files#diff-f5347a892b15e7e74d45eddccd5e3da8R13, https://github.com/StackStorm/st2/pull/3039/files#diff-949d37ca9850300288c6a70d6091a177R8.
My original plan was to work on those two things and #2976 in the next release, but doing it right now makes migrating some of the packs to config schema easier. On top of that, that was one of the missing features which was requested by many users already.
TODO

[x] Changelog
[x] Documentation and upgrade notes updates - https://github.com/StackStorm/st2docs/pull/316

Current coverage is 20.81% (diff: 7.69%)

Merging #3039 into master will decrease coverage by 55.65%

@@             master      #3039   diff @@
==========================================
  Files           430        430
  Lines         21962      21971       +9
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits          16791       4572   -12219
- Misses         5171      17399   +12228
  Partials          0          0

Diff Coverage
File Path

7%
st2common/st2common/util/config_loader.py

Powered by Codecov. Last update 733a052...e127380

While at it, I also decided to address another known TODO - throw more user-friendly exception if rendering a particular dynamic config value fails - 93734e7c0779f506d17da47bc8c0b648e8b65a7b, a39fb927b673dac871756976ae68fba34d47b76d.


[LINKS] Domain not parsed on this submission

Overview
The domain on this post is empty on both the home page and on the post page itself.
Screens
Homepage

Post page

submitted 6 months ago from by

i would like to work on this


Revert delayed DeepSpeed requirement

Hey, sorry for the back-and-forth. Your changes made much more sense as my idea with requiring DeepSpeed initialization early was to prevent DeepSpeed not being used because it was not initialized (as the optionality of it makes sure code should always work without it). And library code does not depend on its initialization.
To give an example, if a user writes their own script with optional DeepSpeed support but forgets the initialization call, they will wonder why the code does not get distributed at all. Now we again prevent that from happening, at least, as other required calls from deepspeed_utils should catch those cases.
I instead improved the error messages to be less confusing so users don't assume DeepSpeed is a necessity for the initialization function call.

@janEbert no problem :)


Error for the usage of parameter "-b"

Hello,
when i use the command 1 to identify strains,
command 1: strainscan -i ./E.coli-3lr.fastq -d ./strainscan/DB_Ecoli -o ./strainscan/Test/Ecoli/same-3
i got "Warning: No clusters can be detected!"
So,  i use the command 2 to identify strains, which adds "-b 1"
command 2: strainscan -i ./E.coli-3lr.fastq -d ./strainscan/DB_Ecoli -b 1 -o ./strainscan/Test/Ecoli/same-3
however, i got the error below:
usage: StrainScan.py [-h] -i INPUT_FQ -d DB_DIR [-o OUT_DIR] [-k KSIZE]
                     [-l LDEP] [-s MSN]
StrainScan.py: error: unrecognized arguments: -b 1

i dont't know what's wrong
Thanks for any feedback you might have!

Hi, Qi,
Thanks for using StrainScan! If you install StrainScan through Bioconda, then you can run the command below to use the latest GitHub version, which has more new features, including parameter "-b". (Note: you should run the code under the Bioconda environment you have built)
git clone https://github.com/liaoherui/StrainScan.git
cd StrainScan
chmod 755 library/jellyfish-linux
chmod 755 library/dashing_s128
python StrainScan.py -h


Build: Add script to generate team data (fixes #515)

This PR adds a script that generates the data in _data/team.json. The plan is to have this run periodically using a Jenkins build.

Good catch.


Game won't boot on Analogue Pocket

2048 Advance: v1.1
Pocket firmware: v2.2
Not sure what it causing this.

Possibly fixed with checksum info, waiting to confirm.

Fixed in v1.2


swaggerValidator: validate only the response

Hello,
I wanted to know if it was possible to use swaggerValidator to only validate the reponses (i.e. validateRequest: false). After reading the docs and https://github.com/apigee-127/swagger-tools/issues/132 I seem to understand that it is not possible right ?
We are using swagger-tools to stub our apps backends during Automation Testing, and we would like to add configuration to turn on or off request AND/OR response validation.
We would also like to implement the possibility to turn on or off request AND/OR response validation at a path/method level.
Thanks anyway :)

Duplicate of #132.


Fix ci

temporary so we can run github actions

still thinking abt 3.5 support ... I'll branch off to see whats wrong

ok 3.5 we'll need to drop or we need to restructure all dependencies =>
The hook black requires pre-commit version 2.9.2 but version 1.21.0 is installed
pre-commit dropped 3.5 support from 2.0 onwards

still thinking abt 3.5 support ... I'll branch off to see whats wrong

agree it is strange, it seems like it is the lint step with the problem, maybe we can skip it for py35 only?

I'll add one more commit to remove all 3.5 stuff

I'll add one more commit to remove all 3.5 stuff

Cool, afterwards feel free to drop a message in the main repo's pull request

they'll need to allow GHA

you want to cleanup the commit history? or shall I ? :) its a bit messy

haha it is messy, feel free to give it a go !

maybe I'll do it in a sep branch ... just so you can see :D

Cool, maybe just add:
Co-Authored-By: studioj<EMAIL_ADDRESS>Co-Authored-By: adehad<EMAIL_ADDRESS>in the commit messages too

Cool, maybe just add:
Co-Authored-By: studioj<EMAIL_ADDRESS>Co-Authored-By: adehad<EMAIL_ADDRESS>in the commit messages too

doesnt that happen automatically? (using pycharm) => i think i saw these "duplicates" passing by earlier, not sure though.
adding on all commit messages will be a bit overkill anyhow  :D => i'll just group them a bit

https://github.com/adehad/jira/actions/runs/803157454
first a trial before force push :-D

one thing i notice is that its still running on 3.8 and 3.6 in the 3.6 matrix step.
I would leave it like that since the tox is also for users running locally

maybe we should only create one executor and run the tests with pyenv
that will lengthen the execution time though ...

so leave it for now seems a good way fwd

37->25 commits in a quick cleanup


Frankdoc display mandatory components with asteriks

Closes #3071

I think I still prefer the names of mandatory attributes to be displayed in bold.


Removed confusing "Python: Flask" launch configuration

Yep--another PR asked for the same change.


The application won't start

The app loads my profile data and the location I set, but it won't go any further. I enclose a screenshot.

please check #2540

Read: https://github.com/PokemonGoF/PokemonGo-Bot/issues/2540


[SSH Connection Manager] Does not save 'command to execute' text into config

Extension
https://www.raycast.com/dimagrossman/ssh-manager
Description
does not save 'command to execute' text into config when i create new connection
Steps To Reproduce

create new connection
text something in the command to execute field
save

Current Behaviour
not save
Expected Behaviour
save RemoteCommand in config

just saw that #9074


Initial commit

This is first code PR for this package and contains following changes

Copied notation-go/plugin/proto related code to notation-plugin-framework-go/plugin. Will delete notation-go code in subsequent PRs
Created new Cli package which provides boilerplate code required to generate plugin executable.
example package contains and example plugin implementation (some documentation is missing but will add in subsequent PRs

@Two-Hearts  The library's objectives are as follows:

Simplifying the implementation process for plugin developers by encapsulating all overarching concerns.
Promoting a practice that enables plugin code to be utilized as a plugin library in notation-go, while also supporting the generation of executable.

The current notation-go library already provides all the necessary functions/APIs. Is there anything that's blocking our users to use notation-go directly at the moment? (I guess this answers why we should have this new repo.)

notation-go has lot of direct or indirect dependencies like oras-go, ldap, go-cose, jwt, etc. which plugin implementer don't need. When I think about dependency is unnecessary maintenance.

Which packages are you planning to move from notation-go? (I could see proto in this PR, anything else in your plan?)

I am planning to move Plugin Interface and its dependencies to this pkg. Basically all dependency required to use plugin as library.


Import from slack

Hi everyone
I have trouble with import data
I follow the instructions on the documentation, make an convert_slack_data, and after manage.py import only works with flag --destroy-rebuild-database
Okay, but as I after this import can make one more, with new data, or with data of the new user, I understand that new convert_data_slack with new data, but import with new date dont work

Or need to compare all data from all users to one folder and replace duplicates?
I trying import direct messages, private channels, I did export from slack
I will be glad for any help
Thanks

@Vooply thanks for the report!  The actual bug here (the error message being wrong) is already fixed in the 4.x branch and should be fixed in a 4.4 release in the next couple days.  Closing this issue for that reason.
The correct error message is that you already have data on the root domain, and the import tool refuses to overwrite that.  You can clear your Zulip server's database to do another import using scripts/setup/postgresql-init-db.

@timabbott thanks


Auto Reconnect

I'd be interested in auto reconnection logic.  Would this be useful to anyone else?
I get several disconnects per day due to laptop sleeping/resuming and changing network interfaces.
xmpp-client output after disconnection:
* (11:15AM) EOF
* (11:15AM) Exiting because channel to server closed

It looks like the password already remains in memory during the entire session: https://github.com/agl/xmpp-client/blob/8142601029916111c880f0c4b790d38959804170/ui.go#L234 .

Yes, this bothers me a lot.

Me too. And I don't think it is that hard to fix. I you aren't faster, I will give it a try,


Please clarify the license of the library

The library has lots of nice code which is generally useful, but without a clear license, it's basically not possible to distribute the code along with OpenSCAD or as separate package in Linux distributions. I hope you would like to see it included / distributed, so please add a license to make it possible.

Thanks, added MIT License file (484d39bc2fd19cf6903c8e92e01af40a77276e66).

Awesome, thanks.


explorer is not working for acala parachain in mainnet

Overview
explorer is not working for acala parachain in mainnet
Steps to Reproduce

run acala parachain with explorer services in mainnet
command: ./dive chain polkadot -p acala -n mainnet --explorer

Expected Behavior
explorer should be working for acala parachain
Actual Behavior
but explorer is not working for acala

verified the issue and closing the bug as fixed


Use default arch in CI

There are warnings (e.g., https://github.com/JuliaGeometry/MeshIntegrals.jl/actions/runs/12112016118?pr=139) in the CI runs because we request x64 on a macOS runner with arm64. I propose to simply use the default architecture, i.e. to remove the arch argument. For the flag-name of the coveralls action I followed the example under coverallsapp/github-action#complete-parallel-job-example.

LGTM


Trimming Definition?

Hi there.
Thanks so much for releasing Detectron2.
I'm trying to benchmark our own extensions from the detectron2 model, and as a part of
the process I need to define what is going on with the model trimming. Can you please explain
how the model is trimmed (and if possible where in the api you would do this)?
A pointer to documentation I have missed would be perfectly fine as well.
Thanks.

Hi,
Thanks.
Detectron2 saves optimizer, iteration, scheduler in addition to the actual model weights in a single file. It increases the model (.pth) file size. Trimmed model contains only the weights part of the .pth file.
refer https://github.com/hpanwar08/detectron2/issues/10

Fantastic, that clears everything up nice and cleanly.


Is there a way to get raw sql string from query builder for debuging purpose

For debugging purpose sometimes after bulding a query, I want check the raw sql
e.g :
u, err := client.User.
        Query().WithRoles().
        Where(user.Name("joe")).
        Only(ctx)

Is there away to get raw sql string from above query building ?

Hi @bandirsen ,
ent has a built in Debugger just for hits:
u, err := client.User.Debug().
Query().WithRoles().
Where(user.Name("joe")).
Only(ctx)
have a look here https://entgo.io/docs/migrate/#offline-mode

Thanks for helping @yonidavidson.
@bandirsen, let me know if we can close the issue. Thanks

@yonidavidson
Thanks for your guide
@a8m
Sure, I'm closing this