3D Alpha rendering  bug

Bevy version
0.7
Operating system & version
Linux niedzwiedz-pc 5.15.28-1-MANJARO #1 SMP PREEMPT Fri Mar 11 14:12:57 UTC 2022 x86_64 GNU/Linux
What you did
https://github.com/Niedzwiedzw/bevy-alpha-rendering-bug-showcase
What you expected to happen
boxes shouldn't change the way they're overlapping based on camera position
What actually happened
https://github.com/Niedzwiedzw/bevy-alpha-rendering-bug-showcase
Additional information

You’re setting something that is using an opaque colour as transparent by setting AlphaMode::Blend. Transparent objects are rendered back to front ordered based on the model’s origin in view space. What you show in the clip is expected behaviour. Don’t mark opaque objects as transparent. Or actually use a transparent material on a transparent object and then there are known limitations to the current approach to transparency and an order-independent transparency method may help with that but there is not one implemented yet in bevy.

See here for more details of the limitations of transparent rendering as it is: https://github.com/bevyengine/bevy/issues/2223

ok that makes sense - I have managed to fix it in my - more complex case - where I noticed the problem by setting AlphaMode::Mask(0.5).
https://user-images.githubusercontent.com/22037927/163709426-cf449d30-cbb8-486c-b553-da52ba4ac1ec.mp4


Make doesn't produce statically-linked binaries in some circumstances

See this gist. The build environment is
dev ~ uname -a
Linux dev 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt9-3~deb8u1 (2015-04-24) x86_64 GNU/Linux

The result is
/home/weave # ldd app
        /lib64/ld-linux-x86-64.so.2 (0x7ff40faba000)
        libpthread.so.0 => /lib64/ld-linux-x86-64.so.2 (0x7ff40faba000)
        libc.so.6 => /lib64/ld-linux-x86-64.so.2 (0x7ff40faba000)

Duplicate of #103


doc version menu: choosing "latest version" gives you 1.0

if this was even intentional (?), it doesn't seem like a good idea to me. 1.0 isn't out yet. I would suggest that "latest version" give me the docs for 0.13.13
not sure whether these should be separate tickets, but:

I would also suggest dropping everything but 0.7.7, 0.12.4, and 0.13
it's really confusing that doc versions "0.13" and "0.13.5" are offered but "0.13" is actually newer than 0.13.5, since "0.13" is actually "latest 0.13.x"

It was intentional, but you're right on all points.

The list is now limited to 0.7.7, 0.12.4, and 0.13 - https://github.com/sbt/website/commit/890cae47e65037d53c545f05322862b7bb9aab06
To mitigate the 0.13.5 confusion, I'm borrowing the warning callout from Akka's doc:

https://github.com/sbt/website/commit/e5adeb5879d08a98620e3c712681e60fc17eb68b
https://github.com/sbt/sbt.github.com/commit/50229c6047cdf58fa0c0c3017616f61ec49f56fc

I love the big yellow warning, well done!

An interesting side effect of removing everything but 0.7.7, 0.12.4, and 0.13 is that if you did end up on 1.0 beta document via Google, there's no way to go to the actual latest 0.13.


Main Menu

Adding a Main Menu for the game

Well have to cleaned up everything about your code, so what's next..

How bout some onClick Functions

Options feature nlang


NFC: Fix Xcode prototype warnings

Xcode warns that "old style functions have no prototypes." Having (void) as the parameter list fixes these warnings. No functional change.

We should be perhaps adding prototypes to these instead.

Where though?

For internal calls, top of the file. For CF_PRIVATE calls, in the corresponding private or internal header.


HIVE-23688: fix Vectorization IndexArrayOutOfBoundsException when read null values in map

https://issues.apache.org/jira/browse/HIVE-23688

this change solved an issue that we found on customer side, reopened this PR and I'll review later


Making 2nd set of changes live on docs

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

Articles/Samples/Getting started with Kaizala REST APIs - C# sample (shared).docx
:white_check_mark:Succeeded

Articles/connectors/API.md
:white_check_mark:Succeeded

Articles/connectors/actions_post.md
:white_check_mark:Succeeded

Rest-API-docs/kaizala_api_full_swagger.json
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


fix: schemaVersion 1 should be supported by the registry

Since we started validating manifests, we are starting to reject schemaVersion: 1. Seems like docker still likes to push these kind of manifests, so accept it anyway.
Fixes #52

added more testing around manifests and support for multiarch in the zod definition.


Added use_cpp flag for AC and OD

Usage:
On CLI:
To enable C++ model codepath:
export od_use_cpp="1"
export ac_use_cpp="1"

(or any input other than '0')
To disable C++ model codepath i.e. enable Python codepath:
export od_use_cpp="0"
export ac_use_cpp="0"

By default or in the absence of the above env variables, the behavior is to use Python codepath.
Setting these env variable will allow python unit testing to use the desired codepath.

Looks great, but to follow Turi convention, we should name them TURI_OD_USE_CPP_PATH and TURI_AC_USE_CPP_PATH

I'm a bit confused. Based on the description of the pull request (i.e. allowing a control flag to be specified via an environment variable) it seems like the diff is quite large. Is it just a lot of white space changes? Or is there other functionality included in this pull request?

I'm a bit confused. Based on the description of the pull request (i.e. allowing a control flag to be specified via an environment variable) it seems like the diff is quite large. Is it just a lot of white space changes? Or is there other functionality included in this pull request?

Honestly I'm not sure why the diff is showing like that. I only moved the classes in if-else. I also tried to re-do it by checking out the files from master again but the diff kept showing in a weird broken way.

The internal global var is registered through REGISTER_GLOBAL, in globals.hpp.
The example can be found in src/core/storage/fileio/fileio_constants.cpp.
This is useful for DC as well.


"An unsupported color order was found." error, sACN single-channel fixtures do not work

Describe The Bug:
Single-channel sACN fixtures do not function; each one has a log error entry:
An unsupported color order was found. Now using default of "rgb".
To Reproduce:
Install the plugin, configure sACN single-channel fixture, restart the bridge.
Expected behavior:
The "colorOrder=w" directive should be recognized and functional, but platform.ts is not configured to recognize it as valid.
Logs:
12/3/2023, 4:32:04 PMDMX Lighting Bridge starting
12/3/2023, 4:32:07 PMDMX Lighting BridgeLoaded plugin 'homebridge-dmxlight-plugin'
12/3/2023, 4:32:07 PMDMX Lighting BridgeLoading 1 platforms...
12/3/2023, 4:32:07 PMDMX Lighting BridgeDMX LightFinished initializing platform: DMX Light
12/3/2023, 4:32:07 PMDMX Lighting BridgeDMX LightAn unsupported color order was found. Now using default of "rgb".
12/3/2023, 4:32:07 PMDMX Lighting BridgeDMX LightAdding new accessory: Left Spots 1
12/3/2023, 4:32:07 PMDMX Lighting BridgeDMX LightInitialized new SACN Universe #1 with 1 channel(s)
12/3/2023, 4:32:07 PMDMX Lighting BridgeDMX LightAn unsupported color order was found. Now using default of "rgb".
12/3/2023, 4:32:07 PMDMX Lighting BridgeDMX LightAdding new accessory: Left Spots 2
12/3/2023, 4:32:07 PMDMX Lighting BridgeDMX LightInitialized new SACN Universe #1 with 1 channel(s)
12/3/2023, 4:32:07 PMDMX Lighting BridgeDMX LightAn unsupported color order was found. Now using default of "rgb".
12/3/2023, 4:32:07 PMDMX Lighting BridgeDMX LightAdding new accessory: Pulpit Spots
12/3/2023, 4:32:07 PMDMX Lighting BridgeDMX LightInitialized new SACN Universe #1 with 1 channel(s)
12/3/2023, 4:32:07 PMDMX Lighting BridgeDMX LightAn unsupported color order was found. Now using default of "rgb".
12/3/2023, 4:32:07 PMDMX Lighting BridgeDMX LightAdding new accessory: Baptistery Spots
12/3/2023, 4:32:07 PMDMX Lighting BridgeDMX LightInitialized new SACN Universe #1 with 1 channel(s)
12/3/2023, 4:32:07 PMDMX Lighting BridgeDMX LightAn unsupported color order was found. Now using default of "rgb".
12/3/2023, 4:32:07 PMDMX Lighting BridgeDMX LightAdding new accessory: Right Spots 1
12/3/2023, 4:32:07 PMDMX Lighting BridgeDMX LightInitialized new SACN Universe #1 with 1 channel(s)
12/3/2023, 4:32:07 PMDMX Lighting BridgeDMX LightAn unsupported color order was found. Now using default of "rgb".
12/3/2023, 4:32:07 PMDMX Lighting BridgeDMX LightAdding new accessory: Right Spots 2
12/3/2023, 4:32:07 PMDMX Lighting BridgeDMX LightInitialized new SACN Universe #1 with 1 channel(s)
12/3/2023, 4:32:07 PMDMX Lighting BridgeDMX LightAn unsupported color order was found. Now using default of "rgb".
12/3/2023, 4:32:07 PMDMX Lighting BridgeDMX LightAdding new accessory: Cross Backlight
12/3/2023, 4:32:07 PMDMX Lighting BridgeDMX LightInitialized new SACN Universe #1 with 1 channel(s)
12/3/2023, 4:32:07 PMDMX Lighting BridgeDMX LightAn unsupported color order was found. Now using default of "rgb".
12/3/2023, 4:32:07 PMDMX Lighting BridgeDMX LightAdding new accessory: House C1
12/3/2023, 4:32:07 PMDMX Lighting BridgeDMX LightInitialized new SACN Universe #1 with 1 channel(s)
12/3/2023, 4:32:08 PMDMX Lighting BridgeDMX LightAn unsupported color order was found. Now using default of "rgb".
12/3/2023, 4:32:08 PMDMX Lighting BridgeDMX LightAdding new accessory: House C2
12/3/2023, 4:32:08 PMDMX Lighting BridgeDMX LightInitialized new SACN Universe #1 with 1 channel(s)
12/3/2023, 4:32:08 PMDMX Lighting BridgeDMX LightAn unsupported color order was found. Now using default of "rgb".
12/3/2023, 4:32:08 PMDMX Lighting BridgeDMX LightAdding new accessory: House C3
12/3/2023, 4:32:08 PMDMX Lighting BridgeDMX LightInitialized new SACN Universe #1 with 1 channel(s)
12/3/2023, 4:32:08 PMDMX Lighting BridgeDMX LightAn unsupported color order was found. Now using default of "rgb".
12/3/2023, 4:32:08 PMDMX Lighting BridgeDMX LightAdding new accessory: House C4
12/3/2023, 4:32:08 PMDMX Lighting BridgeDMX LightInitialized new SACN Universe #1 with 1 channel(s)
12/3/2023, 4:32:08 PMDMX Lighting BridgeDMX LightAn unsupported color order was found. Now using default of "rgb".
12/3/2023, 4:32:08 PMDMX Lighting BridgeDMX LightAdding new accessory: House Rear
12/3/2023, 4:32:08 PMDMX Lighting BridgeDMX LightInitialized new SACN Universe #1 with 1 channel(s)
12/3/2023, 4:32:08 PMDMX Lighting BridgeDMX LightAn unsupported color order was found. Now using default of "rgb".
12/3/2023, 4:32:08 PMDMX Lighting BridgeDMX LightAdding new accessory: House Windows
12/3/2023, 4:32:08 PMDMX Lighting BridgeDMX LightInitialized new SACN Universe #1 with 1 channel(s)
12/3/2023, 4:32:08 PMDMX Lighting BridgeDMX LightAn unsupported color order was found. Now using default of "rgb".
12/3/2023, 4:32:08 PMDMX Lighting BridgeDMX LightAdding new accessory: Stage Accent
12/3/2023, 4:32:08 PMDMX Lighting BridgeDMX LightInitialized new SACN Universe #1 with 1 channel(s)
12/3/2023, 4:32:08 PMDMX Lighting BridgeDMX LightAn unsupported color order was found. Now using default of "rgb".
12/3/2023, 4:32:08 PMDMX Lighting BridgeDMX LightAdding new accessory: Baptistery Ceiling
12/3/2023, 4:32:08 PMDMX Lighting BridgeDMX LightInitialized new SACN Universe #1 with 1 channel(s)
12/3/2023, 4:32:08 PMDMX Lighting BridgeBridge is running on port 51866.

Plugin Config:
{
    "platform": "DMXLightHomebridgePlugin",
    "name": "DMX Light",
    "accessories": [
        {
            "name": "Left Spots 1",
            "id": "009",
            "driverName": "sacn",
            "ipAddress": "<IP_ADDRESS>",
            "dmxStartChannel": 9,
            "dmxChannelCount": 1,
            "dmxUniverse": 1,
            "colorOrder": "w"
        },
        {
            "name": "Left Spots 2",
            "id": "010",
            "driverName": "sacn",
            "ipAddress": "<IP_ADDRESS>",
            "dmxStartChannel": 10,
            "dmxChannelCount": 1,
            "dmxUniverse": 1,
            "colorOrder": "w"
        },
        {
            "name": "Pulpit Spots",
            "id": "011",
            "driverName": "sacn",
            "ipAddress": "<IP_ADDRESS>",
            "dmxStartChannel": 11,
            "dmxChannelCount": 1,
            "dmxUniverse": 1,
            "colorOrder": "w"
        },
        {
            "name": "Baptistery Spots",
            "id": "012",
            "driverName": "sacn",
            "ipAddress": "<IP_ADDRESS>",
            "dmxStartChannel": 12,
            "dmxChannelCount": 1,
            "dmxUniverse": 1,
            "colorOrder": "w"
        },
        {
            "name": "Right Spots 1",
            "id": "013",
            "driverName": "sacn",
            "ipAddress": "<IP_ADDRESS>",
            "dmxStartChannel": 13,
            "dmxChannelCount": 1,
            "dmxUniverse": 1,
            "colorOrder": "w"
        },
        {
            "name": "Right Spots 2",
            "id": "014",
            "driverName": "sacn",
            "ipAddress": "<IP_ADDRESS>",
            "dmxStartChannel": 14,
            "dmxChannelCount": 1,
            "dmxUniverse": 1,
            "colorOrder": "w"
        },
        {
            "name": "Cross Backlight",
            "id": "015",
            "driverName": "sacn",
            "ipAddress": "<IP_ADDRESS>",
            "dmxStartChannel": 15,
            "dmxChannelCount": 1,
            "dmxUniverse": 1,
            "colorOrder": "w"
        },
        {
            "name": "House C1",
            "id": "017",
            "driverName": "sacn",
            "ipAddress": "<IP_ADDRESS>",
            "dmxStartChannel": 17,
            "dmxChannelCount": 1,
            "dmxUniverse": 1,
            "colorOrder": "w"
        },
        {
            "name": "House C2",
            "id": "018",
            "driverName": "sacn",
            "ipAddress": "<IP_ADDRESS>",
            "dmxStartChannel": 18,
            "dmxChannelCount": 1,
            "dmxUniverse": 1,
            "colorOrder": "w"
        },
        {
            "name": "House C3",
            "id": "019",
            "driverName": "sacn",
            "ipAddress": "<IP_ADDRESS>",
            "dmxStartChannel": 19,
            "dmxChannelCount": 1,
            "dmxUniverse": 1,
            "colorOrder": "w"
        },
        {
            "name": "House C4",
            "id": "020",
            "driverName": "sacn",
            "ipAddress": "<IP_ADDRESS>",
            "dmxStartChannel": 20,
            "dmxChannelCount": 1,
            "dmxUniverse": 1,
            "colorOrder": "w"
        },
        {
            "name": "House Rear",
            "id": "021",
            "driverName": "sacn",
            "ipAddress": "<IP_ADDRESS>",
            "dmxStartChannel": 21,
            "dmxChannelCount": 1,
            "dmxUniverse": 1,
            "colorOrder": "w"
        },
        {
            "name": "House Windows",
            "id": "022",
            "driverName": "sacn",
            "ipAddress": "<IP_ADDRESS>",
            "dmxStartChannel": 22,
            "dmxChannelCount": 1,
            "dmxUniverse": 1,
            "colorOrder": "w"
        },
        {
            "name": "Stage Accent",
            "id": "023",
            "driverName": "sacn",
            "ipAddress": "<IP_ADDRESS>",
            "dmxStartChannel": 23,
            "dmxChannelCount": 1,
            "dmxUniverse": 1,
            "colorOrder": "w"
        },
        {
            "name": "Baptistery Ceiling",
            "id": "024",
            "driverName": "sacn",
            "ipAddress": "<IP_ADDRESS>",
            "dmxStartChannel": 24,
            "dmxChannelCount": 1,
            "dmxUniverse": 1,
            "colorOrder": "w"
        }
    ]
}

Environment:

Plugin Version: 1.2.6
Homebridge Version: 1.6.0
Node.js Version: 16.20.2
NPM Version: 8.19.4
Operating System: Raspbian
Linux hoobs 5.10.103-v7l+ #1529 SMP Tue Mar 8 12:24:00 GMT 2022 armv7l GNU/Linux

https://github.com/PennazSoftware/homebridge-dmxlight-plugin/pull/11/commits/925725cd4056c9d34fde3017e9d682ed17f1ee33
Should fix it.


Expose texture handles with a function

Since SDL_gpu does my image loading, I was wondering if a convenient GetHandle function could be added to get a texture handle without me depending on an IMAGE_DATA structure cast.

This would be very helpful to me as well!

Yeah, I think this is reasonable.  There are several things that could be exposed in the future, but I'd want to make sure they can be exposed in a way that is GL API neutral.
Note: Texture handles in OpenGL are GLuint, but both D3D and Vulkan use pointers.  The neutral type to do both would be uintptr_t and that reinforces dependency on C99.

Also, ideally there'd be a way to either inform SDL_gpu of changes you made to the texture, tell it to check for changes itself, or forget about the texture.  This would need another function some time in the future.

For now, I'm just hoping to use the textures loaded, because I exclusively use SDL_gpu for that. It'd suffice to leave a comment that modifying the texture via the handle will cause problems.

Added GPU_GetTextureHandle() in 0a468edf7289d4b4fbebbf1dca6747cd76a65710.


ZEVA - Model Year Report Rounding Error

Describe the Bug
There is a rounding error in the ZEVA system affecting the "Unspecified ZEV Class Credit Reduction" in the Model Year Report (screen capture below).
Expected Behaviour
The system should round up correctly according to standard rounding rules.
Actual Behaviour
The rounding in the "Unspecified ZEV Class Credit Reduction" is not functioning correctly. It seems the rounding mechanism may have changed, possibly during a recent ZEVA update or launch.
Implications
This rounding error may impact the accuracy of credit calculations and reporting for Model Year Report.
Steps To Reproduce
Steps to reproduce the behavior:
User/Role:

Go to ZEVA system.
Navigate to Compliance Reporting, select the 2022 MY Report
Check the Assessment Tab and "Unspecified ZEV Class Credit Reduction" section.
Note the discrepancy in rounding.

Notes:
If you have to use production data, please contact the PO for the supplier information.

Hey team! Please add your planning poker estimate with Zenhub @tim738745 @emi-hi

The "B" reductions didn't update on the assessment page.

This issue was for a specific supplier. Testing have been completed by myself (PO) and the PA who reported it.


feat: some sorely needed input sanitation on the OpenFile and CreateFile methods

input sanitation #322
accidental conversion to file scoped namespaces
updated documentation

I will recreate this as an unverified commit (due to GPG) seems to be causing issues


Deposit: balances do not refresh on completed withdrawal

to recreate:

go to https://console.fairground.wtf/portfolio/withdraw (note the amount you have)
prepare a withdraw (that does not exceed any withdrawal limit
confirm transaction in the Vaga wallet
confirm transaction in Eth wallet
see the complete message
now see the "balance available" and the use max buttons. These still use the values as they were before the now complete withdraw.

refreshing the page updates the values.
Expected:
These values are always kept up to date with the latest state without refresh

May be resolved / related to the fix implemented for https://github.com/vegaprotocol/frontend-monorepo/issues/1649

@campbellssource This is now fixed


[Tracking] TypeScript - .api styled generation

[ ] #1967
[ ] #1966
[x] #1969
[x] #1968

I think we should. .api() will not be typed.


refactor(authority-source-files): add consortium source type

Purpose
add Consortium source type
Learning and Resources (if applicable)
https://issues.folio.org/browse/MODELINKS-170

will be opened


Adding Logprobs in Chat completion response

Hi,
Will the lmstudio chat completion response be added to a logprobs in the response?
Currently, when using OpenAI in .NET library the CreateChatCompletionResponseChoices
the logprobs is a required property and will result in an error.
    [global::System.Text.Json.Serialization.JsonPropertyName("logprobs")]
    [global::System.Text.Json.Serialization.JsonRequired]
    public required global::OpenAI.CreateChatCompletionResponseChoicesLogprobs? Logprobs { get; set; }

Thank you.

+1 as it will permit to evaluate confiance score

Logprobs are still not available in the response.choices[0] output with LMStudio 0.3.5, despite the fact that no error are thrown when logprobs=True is passed.
Any idea if it will be part of a next release?


Merge release into master

Solving a conflict in gradle/dependency-management/agp-versions.properties

@bot-gradle test and merge

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


Add Android Vulnerability Importer

https://source.android.com/security/bulletin
Reported by @keshav-space

Same as #317

Closing in favor of https://github.com/nexB/vulnerablecode/issues/317


Add tests to core package to raise coverage thresholds

After finishing the refactor to extract packages out of core, the test coverage in the core package is extremely low. Currently, the thresholds are also set low just so that we could merge in the extraction branch.
We need to add more tests/coverage to this package prior to the next app release. The goal should be to hit 80-100% coverage for branches, lines, functions and statements.

I've added additional test for all the classes that needed them, and ignored a few additional things like index.ts files and an abstract class:

I've also bumped the thresholds to match this now, so we should be in a good spot. @ccasher @4upz-tw @aalva05-tw please review -- I tried to separate the commits per test class.


[New game]: BARDO 👾

🎮 Game Request
Game logic and basic description

In Buddhism, Bardo is the state of existence between two lives on Earth.

In this state, one may experience terrifying hallucinations that arise from previous actions.

For prepared and appropriately trained individuals, Bardo offers a great opportunity for liberation.
While for others, it can be a place of great danger.

Point down the features
Game points
Select program in which you are contributing
GSSoC23
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

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

/assign

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


Error with missing validate-npm-package-name package when running npx create-contentful-app

I'm running into this error when trying to run npx create-contentful-app test-app
Error: Cannot find module 'validate-npm-package-name'
Require stack:
- /Users/bretteast/.npm/_npx/a25b92dfae1d563c/node_modules/contentful--create-contentful-app/lib/index.js

Is there an additional step that needs to occur?

I want to note that running npx @contentful/create-contentful-app does in fact work, but that all the documentation I've seen including the messages I get after running npx @contentful/create-contentful-app, say to use npx create-contentful-app and that is not working for me.

👋 Hey @brett-east
I was able to reproduce the issue and will look into it now 👀

Seems like the shrinkwraps don't play well with lerna.
npx create-contentful-app should now work again. Sorry for the troubles!


Concave polygon can be drawn by earcutting a polygon.

I added an earcut submodule to pyglet.extlibs to split a polygon to several triangles.
So, pyglet can now draw concave polygon.

I checked the license for that module, and it looks OK (BSD compatible).
I think this PR is OK to merge.
In the future, it would be nice to write our own algorithm. It could be useful for other things, and can be a bit faster than the code in that library.

Thank you for reviewing the code.
For earcut-like algorithm, I don't think someone of us has the capability to write a triangulation library. But we can seek for some faster algorithms.

Reading papers to reproduce an algorithm or using an existed library, which one would you choose?

We didn't take full use this library, it also support triangulating 3D polygons.


Example Algorithms Using Quandl VIX Data Throw Errors

Expected Behavior

The example algorithms in the repo work without error.
Actual Behavior

These examples throw an error because the column name has been changed from "VIX Close" to "Close":

https://github.com/QuantConnect/Lean/blob/master/Algorithm.Python/CustomDataIndicatorExtensionsAlgorithm.py
https://github.com/QuantConnect/Lean/blob/master/Algorithm.CSharp/CustomDataIndicatorExtensionsAlgorithm.cs

Related thread.
Potential Solution

Replace
self.AddData(QuandlVix, 'CBOE/VIX', Resolution.Daily)
with
self.AddData(CBOE, "VIX", Resolution.Daily)
Reproducing the Problem

Run the algorithms listed above.
System Information

QC Cloud
Checklist

[x] I have completely filled out this template
[x] I have confirmed that this issue exists on the current master branch
[x] I have confirmed that this is not a duplicate issue by searching issues

[x] I have provided detailed steps to reproduce the issue

We should also replace:
self.AddData(QuandlVix, 'CBOE/VXV', Resolution.Daily)
with
self.AddData(CBOE, "VIX3M", Resolution.Daily)
Ref.: https://www.macroption.com/vxv/


Alternate row background coloring in Properties tab view for tables cutting off increased font sizes

Description
When looking at the Properties of a table (my case is with a mysql table), the alternating background color rows don't dynamically increase to accommodate an increased font size. The text is being cut off and is especially unreadable on the Columns sub-tab. Picture attached to demonstrate.
DBeaver Version
<IP_ADDRESS>308061552
Operating System
macOS Monterey 12.6.7
Database and driver
Mysql database and driver supplied with dBeaver
Steps to reproduce

Open Preferences for DBeaver
Go to User Interface -> Appearance -> Colors and Fonts
Expand DBeaver Fonts
Change all four listed font sizes to '18'.
Click Apply and Close
Connect to a database, expand the tables list
Double-click on a table
Click on Properties tab for that table after data from table is displayed.

Additional context
No response

I can't reproduce it on macOS Monterey 12.4


Docs out of date ? (or I'm missing something)

The manual states :
The corresponding minimum hardware requirement is an AMD Radeon HD 5000, NVIDIA
GeForce GTX 6xx series discrete GPU, or Intel Skylake or newer integrated GPU, plus suitably
up-to-date drivers. On Linux with recent Mesa, Intel integrated GPUs as old as Ivy Bridge may be
used.
However, on a Radeon 5450 HD, the open source drivers report Opengl 3.3 and the AMD drivers refuse to install because, on Debian 11, the Xserver is 1.20 and the AMD drivers only support 1.10. Multiple reports exist that these AMD drivers  (catalyst 15.9) will not report on other systems running 1.19 and this appears to have been a problem for some time.
AMD did update some drivers and released amdgpu-pro-18.20-673703-ubuntu-18.04 but this appears to only cover later GPUS.
I'm pretty naive with video cards : I have no gaming requirement and so I try to buy cheap fanless cards but unless I've missed installing something (a later Mesa ?) I think the 5450 is now too old to be useful. Updated  suggestion of minimal version would be welcome. Also please correct any incorrect assumptions I've made in the above.

Ngscopeclient now requires Vulkan 1.0 (preferably 1.1) and does not use OpenGL. There's updated documentation in the works with new minimum requirements..

Builds and executes on Debian 11 and vulkan 1.3.224 with above-mentioned video card.
Built as described in manual (required fresh clone - a pull on top of previous clone broke in  MetricsDialog)
testing with generate and Agilent DSO7014A
hangs and/or segfaults in operation - I will join IRC to investigate

Closing as ngscopeclient now has its own manual. Open a separate ticket against scopehal-docs if you find any additional issues.


How to get hostname and port from a browse?

I am trying to update my code to use the new 1.2.0 version of the library (was using 1.1.1).  browse.go has changed to use BrowseEntry's instead of Service objects.   I can't find a way to get the Hostname and Port of the browsed service in my addFunc.  None of the relevant example cmd programs (e.g., cmd/browse,  cmd/resolve) appear to print hostname or port for the discovered services.
Help?

Having the exact same problem, this is a breaking change and should be published as a 2.x.x version.

I have to add the Port on my own
https://github.com/xpol/dnssd/commit/49b7f45221b2f645f74b46af40a0ed39a4ad20a7


Can minimize but not re-open a block

Double clicking the title bar minimized it to just the title bar, as expected, but double clicking said title bar does not reopen the block

To add a little more context: If you try to reopen a sheet by double-clicking on it, it just logs the full data to the console, which means that getData() of MonsterBlock5e.js is called at some point.
This was added during the last merge by @evan-rash. Sorry for the ping, since you wrote the code for v11 support (during which you added that console log), maybe you have an idea why this is not working as intended and maybe even a possible fix?
Just to be clear, there is no error message. Apart from the aforementioned log of that sheet data in the console nothing happens when you try to reopen the minimized sheet.

It's re-rendering the sheet, but not changing the state for some reason. Requires more investigation.

Resolved via 3f70a28


reimplementing add method for spiketrains

for shifting all spikes in a spiketrain by a constant amount of time. Currently, when adding a time quantity to a spike train, several properties like t_start, t_stop, and most importantly, annotations are lost.
Hope I am doing everything right here, first pull request. Apologies if something is off normal procedure.

Coverage decreased (-0.009%) to 52.049% when pulling 99ae9ee82f46fbcc652248fe32cba4d005501669 on grg2rsr:master into e91d5bf34abcbed00fd676928807caa95fc202dd on NeuralEnsemble:master.

Coverage decreased (-0.009%) to 52.049% when pulling 99ae9ee82f46fbcc652248fe32cba4d005501669 on grg2rsr:master into e91d5bf34abcbed00fd676928807caa95fc202dd on NeuralEnsemble:master.

thanks for the feedback, sorry for the bad docstring. Just a quick question, by adding tests I add functions to theTestChanging class in test_spiketrain.py?

Yes, your tests are in the right place. Note that the tests are failing on Travis CI because of the way you are using assertRaises. Instead of:
self.assertRaises(ValueError, train.__sub__(10 * pq.ms))

you need to use
self.assertRaises(ValueError, train.__sub__, 10 * pq.ms)

or
with self.assertRaises(ValueError):
    train.__sub__(10 * pq.ms)

see https://docs.python.org/3/library/unittest.html#unittest.TestCase.assertRaises

Coverage increased (+0.05%) to 52.111% when pulling df51dcbba867b86f0bfc5d7de62b96883e0fa6b2 on grg2rsr:master into e91d5bf34abcbed00fd676928807caa95fc202dd on NeuralEnsemble:master.

@grg2rsr I've now merged the PR. Thank-you again for the contribution.
For future reference, it is safer to make your changes in a branch other than master. This makes it easier to keep in sync with NeuralEnsemble/master in the case where the PR remains open for several days or weeks.

thanks, I just saw it to and commited, I think you were faster though. Are the tests passing now? On my computer, they are not:
$ python test_spiketrain.py
...F......F...........................................E......................................
======================================================================
ERROR: test_duplicate_with_new_data (__main__.TestDuplicateWithNewData)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_spiketrain.py", line 1167, in test_duplicate_with_new_data
    signal1b = signal1.duplicate_with_new_data(new_data,
AttributeError: 'SpikeTrain' object has no attribute 'duplicate_with_new_data'

======================================================================
FAIL: test__adding_time (__main__.TestChanging)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_spiketrain.py", line 1366, in test__adding_time
    self.assertRaises(ValueError, train.__add__, 10 * pq.ms)
AssertionError: ValueError not raised

======================================================================
FAIL: test__subtracting_time (__main__.TestChanging)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_spiketrain.py", line 1373, in test__subtracting_time
    self.assertRaises(ValueError, train.__sub__, 10 * pq.ms)
AssertionError: ValueError not raised

----------------------------------------------------------------------
Ran 93 tests in 0.289s

FAILED (failures=2, errors=1)

Yes, they are passing: https://travis-ci.org/NeuralEnsemble/python-neo/builds/197985499

thanks you. 2 short questions:

do I need to set up any specific so my local tests match Travis CI tests (above output was generated by following the instructions in the neo/test/README.txt and they still fail, even with the now corrected syntax
For the future, what is the correct approach for submitting a pull request, to which branch should I compare mine to?


[Improvement] Add Table sorting

Notion ticket link

Ticket

Implementation description

Added sorting frontend to Table component (on clicking header, render the arrow)
Added onChangeSortOrder callback function prop to the Table component
Added getSortOptions function that takes the sortBy state returned by React Table and returns an array of [<column value>, SortOrder] tuples that we will use in our GQL APIs

Notes

Needed to implement react-table-config.d.ts declaration file to add sorting types to React Table initialization options

Checklist

[x] My PR name is descriptive, is in imperative tense and starts with one of the following: [Feature],[Improvement] or [Fix],
[x] I have run the appropriate linter(s)
[x] I have requested a review from the RCD team on GitHub, or specific people who are associated with this ticket

Thanks for the review @angeladietz !
Yeah, sorting by multiple rows is supported. To sort by multiple rows, React Table requires you to hold down shift as you click multiple columns! The onChangeSortOrder callback prop supports multi-column sorting as well.


Go to Symbol in File ... not working with the language server

IntelliSense sees the local variables, but Go to Symbol in File .../Ctrl+Shift+O doesn't list any symbols in the file itself (this is what the Outline view uses which is another way to test).

Appears by design. Local variables are not considered for symbols. Functions and classes do. Go to definition works fine.

I can make it work.

So those are actually global variables, not locals. Is the PR to fix that case?

Ran into this issue again with 2018.7.1


Go: Actually use metadata.MD

Current coverage is 80.95% (diff: 100%)

Merging #586 into master will not change coverage

@@             master       #586   diff @@
==========================================
  Files           258        258
  Lines          9729       9729
  Methods           0          0
  Messages          0          0
  Branches       1281       1281
==========================================
  Hits           7876       7876
  Misses         1520       1520
  Partials        333        333

Powered by Codecov. Last update 300a612...4be4148


Change weekday label color if day is a weekend

Hi there,
First of all thanks a lot for the great calendar implementation!
BTW I have a question: is it possible to set different colors for weekday labels?
According to our style guide I have to set one color for weekday which represents a working day and another one for a day off. In current API I can see only the property weekdayTextColor but it changes color for all weekdays label and unfortunately it doesn't fit my requirements.
So, is it possible to manage the situation I've described above using existing API?
Thanks in advance!

Hi,
You can implement the method titleDefaultColorFor from the FSCalendarDelegateAppearance delegate and verify if the date is a dayOff or not. For example:
    func calendar(_ calendar: FSCalendar, appearance: FSCalendarAppearance, titleDefaultColorFor date: Date) -> UIColor? {
        if date == dayOff {
            return UIColor.dayOffColor
        } else {
            return UIColor.notDayOffColor
        }
    }

Hi @kallahir,
Thanks for your response!
Actually, I have to change color of weekday labels (e.g. Monday, Tuesday..etc) at the top of calendar.
The delegate method you've attached is used to configure a title color for a particular date and it is not that I'm looking for.

Actually, I have a tricky way to do so, but I don't like such solution and I'd like to use some public declared API.
This is the solution I use for the moment:
        let weekdayEnumerator = calendar.calendarWeekdayView.weekdayLabels.objectEnumerator()
        var index = 0
        while let label = weekdayEnumerator.nextObject() as? UILabel {
            if index == 0 || index == 6 {
                label.textColor = UIColor.dayOffColor()
            } else {
                label.textColor = UIColor.notDayOffColor()
            }

            index += 1
        }

Hmm.. I misunderstood what you said. For this scenario I don't know any public API method, but your solution seems quite good. I'll take a look later and see if I find anything that might help you.

Unfortunately, this solution works well except the case when reloadData message is sent to FSCalendar instance, because under the hood it calls [self invalidateWeekdayTextColor]; and it resets all colors to default.
I'll be happy if you'll find a better way to do so. Thanks in advance!

Hi, I spent some time looking at it and you right about it. A property for weekendDayTextColor must be created in order for you to be able to customize it as you want. I wasn't able to find a solution, but If in the near future I have some spare time I'll try to solve this. If you come up with something please let me know.

@osorochich, I require the same thing. Before (in v2.4.0), I was able to customize the weekend day color (i.e., Sun and Sat headers) by doing the following:
(calendar.weekdays[0] as! UILabel).textColor = UIColor.red
(calendar.weekdays[6] as! UILabel).textColor = UIColor.red

But with the latest implementation, it is no longer possible.
Thanks for submitting this.

A workaround is to get labels by calendar.calendarWeekdayView.weekdayLabels.

@WenchaoD: I tried this before commenting above, but on viewDidLoad, all of the days are not set:

@h-bomb I tried some asynchronous method and concurrent enumeration to optimize the user's experience, but it seems made a conflict with direct-access to calendarWeekdayView (and maybe calendarHeaderView).  Is there a better idea?

@WenchaoD: Rather than providing access to the day of week headers, it would be great if you could provide another setting that would allow us to customize the color of the weekend headers, since we are able to customize the weekend day numbers (i.e. calendar.appearance.titleWeekendColor). Example:

Note the Sun and Sat headers.
Thanks.

If you want to change color of weekDay like in image  you can do like this.
let weekDayLabel = fsCalendarInstance.calendarWeekdayView.weekdayLabels         for weekDay in weekDayLabel {             weekDay.textColor = UIColor.yourFavoriteColor         }

Update to h-bomb's version:
        calendar.calendarWeekdayView.weekdayLabels[0].textColor = UIColor.red
        calendar.calendarWeekdayView.weekdayLabels[6].textColor = UIColor.red


Physics interpolation has no effect on scrolling RigidBody2D in Parallax background

Godot version
v3.5.stable.official [991bb6ac7]
System information
Mac OS X (Catalina) 10.15.7
Issue description
Have a very simple parallax background and a moving RigidBody2D. It jitters every few seconds scrolling. I am just using add_force() once to get it going.
Steps to reproduce

Create a new scene with Node2D.
Add ParallaxBackground and ParallaxLayer Texture background
Set the mirror to same size as Texture
Add a RigidBody2D with a Sprite, Camera and Collision2D
Check Camera2D as current
Add a force of 25 to Rigidbody2D
Run the project.

Notice that every few seconds the Spite snaps/jitters.
Minimal reproduction project
Open and click run. Watch every few (maybe 10) seconds it bounces.
ParallaxTest.zip

Physics interpolation is not yet implemented for 2D.

Drive by comment: I'm not certain physics interpolation is implemented in 4.0 at all (whether for 3D or 2D). Could this be clarified in docs?


🐛 FIX: RTD fail - install extension locally

This PR allows RTD to install requirements from extras["rtd"].

I suspect this has to do with Codecov's service outage: https://status.codecov.io/


Show 2 recently edited cohorts on dashboard page

https://app.asana.com/0/1199528021095056/1202199381153808/f
If the user has no cohorts at all, they will see an empty state prompting them to create a cohort. I added recentCohorts as a separate request with a separate key in the redux store.
Implements dashboard design. I'd love some feedback on the structure/organization of the code -- this is my first PR on this codebase so I took my best guess on where things belong. I'm also not sure what level of testing is necessary for this feature. There seem to be no tests at all for dashboard functionality -- is it worth a feature test? If not, which parts should be tested?

Hi! There is a design in the Figma that covers this scenario. I thought I had a static version of this little nugget in the code from my previous branch but maybe not?

@eveadele lgtm!

Does this look okay for now?

Yes

I had intended to handle the case where the user cannot create cohorts or scenarios in this task: https://app.asana.com/0/1202178937859057/1202199381153818.

I don't think that addresses the issue. Most participants are never going to be facilitators and it won't make sense for a participant who is not in any cohorts to just see a suggestion that they should create a cohort, or should ask for permission to create cohorts.

Most participants are never going to be facilitators and it won't make sense for a participant who is not in any cohorts to just see a suggestion that they should create a cohort, or should ask for permission to create cohorts.

That's a fair point. Are we saying that we should drop the dashboard altogether for participants since it's geared toward authors anyways? I suppose, would participants automatically see the dashboard if their way of accessing the site is primarily through a direct link to a cohort scenario.
Another question is how might a person get to be an author. I'm trying to recall all the permission levels. If someone is coming in and making a new account and wants to be an author, how would they do so through the site if not through that suggestion?

Another question is how might a person get to be an author. I'm trying to recall all the permission levels. If someone is coming in and making a new account and wants to be an author, how would they do so through the site if not through that suggestion?

If the user is only a Participant, or is  Participant that has Researcher privileges, show the two most recent cohorts the are currently in. Do not show the "create cohort" button. If they are in no cohorts, do not display anything cohort related.
If the user has Facilitator, Admin or Super Admin privileges, show the most recent two cohorts they created. If there are none, show the "Create a cohort button" (this is what is designed now)

As for requesting Facilitator privileges (which is the level that allows for authoring): presently, where the "Create a Cohort" and "Create a Scenario" buttons are displayed for current Facilitator users, a button could be displayed that says something like "I want to create Scenarios" or "I want to create Cohorts", and clicking that would create a requst for that user to be granted that privilege.

Cool that all makes sense to me! I think that's a good path forward as far as user experience. Do you need any design support for that?


Phone number format editor

Hi
I would like to create an editor for phone number like following
+91-79-9427870
Any help or available work please.

Hope can help you:
    [DisplayName("Phone"), Size(50)]
    [MaskedEditor(Mask = "+99-99-9999999")]
    public String NamePhone
    {
        get { return Fields.NamePhone[this]; }
        set { Fields.NamePhone[this] = value; }
    }

@luongnv6
Thank you. So easy did not even thought of it.


add kto

What does this PR do?
add kto trainer
https://arxiv.org/abs/2402.01306
Before submitting

[x] Did you read the contributor guideline?

Hello, could you please handle the package conflicts? Just rename llmtuenr -> llamafactory

Hello, could you please handle the package conflicts? Just rename llmtuenr -> llamafactory

done

hmm it seems conflicts still exist, it should be better to open a new PR with the same files

hmm it seems conflicts still exist, it should be better to open a new PR with the same files

好滴 我重新提交一下

hmm it seems conflicts still exist, it should be better to open a new PR with the same files

new mr:https://github.com/hiyouga/LLaMA-Factory/pull/3785

Thanks!

Duplicate of https://github.com/hiyouga/LLaMA-Factory/pull/3785


update comsumer to match the latest version of riverpod

Hi @RobertBrunhage.
Can you review it and release a new version for this change?

@tbm98 new version has just been published as 1.0.2, it will probably be live in a couple of minutes to an hour 😊

@RobertBrunhage Thank you 😋


Question about (self) serialization

I've got a problem when serializing an object into json.
The object contains JsonValue instances, but those are returned as empty objects even though they have content.
What am I doing wrong?
The question is asked here:
https://stackoverflow.com/questions/64029011/how-to-serialize-manatee-json-jsonvalue
I'll gladly provide any information that I've failed to give.

Hm... I could have sworn I implemented a serializer for JsonValue-typed values.
You can implement an ISerializer yourself and register it.  Instructions are here.
Unfortunately, I don't have time to do this myself (as simple as it should be).  If you would like to submit a PR, I'd be happy to review it.

Thank you for the response 👍
From what you write, I understand that it should be possible to register an ISerializer that will be called for JsonValue.
I'll look into it and see what I can find.
Did you have a url for the instructions?

Yeah.  Those are the instructions.  Meant to link to the rendered site, but that'll do.


DataProcessor::editColumns(): Argument #2 ($row) must be of type object|array, string given

This has been  working fine for months.  I'm using a collection of strings (or objects) loaded from a json column like:-
['email','required','exists:users,id']

The dt looks like this:-
 public function dataTable($query)
    {
	    $field = $query->first();
	    $data = collect($field->validators??[]);

           return datatables()
            ->collection($data)
			->editColumn('name',function($model){
				return view("vb::visual-builder.field.validator.".gettype($model),['model'=>$model])->render();
			})
			->addColumn('action', 'visual-builder.field.select.action-column')
			->rawColumns(['name','action']);
    }

Not sure why this has stopped working.  I'm sure I've not changed anything
This is where it gets to in dataprocessor, before a bunch of functions that all expect an array|object but the're getting a string.

Ubuntu
PHP 8.1
Laravel 9.45
Laravel-Datatables 9.X

Versions:-
yajra/laravel-datatables-oracle (v10.2.2): Extracting archive
laravelcollective/html (v6.3.0): Extracting archive
yajra/laravel-datatables-html (v9.3.4): Extracting archive
league/fractal (0.20.1): Extracting archive
yajra/laravel-datatables-fractal (v9.1.0): Extracting archive
yajra/laravel-datatables-editor (v1.25.1): Extracting archive
yajra/laravel-datatables-buttons (v9.1.3): Extracting archive
yajra/laravel-datatables (v9.0.0): Extracting archive

Figured a workaround, just change it from string to object and everythings cool
 public function dataTable($query)
    {
	        $field = $query->first();
		$data = collect($field->validators??[])->map(function($item){
			return (object)['name'=>$item];
		});

		return datatables()->collection($data)


Channel stays highlighted after all messages read

Describe the bug
Channels are staying highlighted even if I have read all the new messages inside.
What operating system and which version? macOS 11.5.2
Which version of Rocket.Chat (Server)?  3.18.1
Which version of Rocket.Chat.Electron (Electron/Desktop)? 3.5.6
Is there any setting relevant changed?
To Reproduce
Steps to reproduce the behavior:

Receive a new message in current (or closed ?) channel
Focus on the rocket window, scroll if you want inside the channel

Expected behavior
The channel to stop being highlighted (like before).
Screenshots
Highlighted channel exemple

Channel's notifications settings

A also saw this starting today on MacOS version 11.6 Rocket Chat client 3.0.3 (from app store) Server 3.12.1 was fine yesterday

This is indeed very annoying. I have 3.7.0 and have experienced the issue in earlier versions, too. I'm using a windows64 desktop client. When I scroll down, or even when I click "als gelesen markieren" (mark as read) nothing changes. Somehow this does not occur with all new messages, but whith many. When I hit "answer", scroll down and everything there and back, then very sometimes things are accepted as read finally - but it takes many many tries and seems to follow no sceme.

Please test if the problem persists with our latest release. I will be closing the issue but if there is any problem yet, we will open it again.

Same here with client 3.8.6 on Linux.
Sometimes channel is marked as read, sometimes not.
Sometimes I get the banner "Mark as read", sometimes not.
In the most cases I have to set read by the context menu at the channel. This is really annoying!


Browser mode: Change the port of browser mode

Clear and concise description of the problem
I'd like to change the port of browser mode, in order to run multiple browser tests in a workspace (One for storybook, one for unit tests).
I tried to specify the server.port, but it's merged and gone here: https://github.com/vitest-dev/vitest/blob/11b9432eca226d1c6a5601d4b2d6d70b67c89123/packages/browser/src/node/index.ts#L58-L61
It would be nice to have ability to change the port number.
Suggested solution

Recognize server.port in the argument of defineWorkspace.
Create test.browser.serverPort option.

Alternative
None, I guess
Additional context
For anyone want to change port now (workaround):
// Vitest doesn't recognize server.port, so we modify it using a plugin
// ref: https://github.com/vitest-dev/vitest/issues/6677
const portChangerPlugin = (port: number): Plugin => ({
  name: "port-changer",
  config() {
    return {
      server: {
        port,
      },
    };
  },
});

Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

You should use test.browser.api
export default defineConfig({
  test: {
    browser: {
      api: 12345,
    }
  }
})

Oh, thanks! (I thought that it was different because its default is not 5173)

It is still a bug because user's port should be respected if it's set

Actually, it is not a bug. We assign a different port to not clash with the dev server. I will update the documentation to mention this.


Export/Import Presets

hello aragasas i made a comment in Bannerlord Cheats by NicoWaves and in his mod Posts i requested for a save option for cheats, Every new playthrough you MUSt re-do every single table  because it resets itself every new game. I asked if he was able to do it but he told me to request that in MCM and ask Aragasas if that will be possible because he cannot do that.

https://forums.nexusmods.com/index.php?showtopic=8605808/#entry110778943

Similar to what was asked in #142

Also, add the ability to create dynamic presets that are stored on the filesystem, per-save included

As part of this issue, we added the ability to create custom presets. Import/Export is next


Describe sections in CONTRIBUTING.md

Is your feature request related to a problem? Please describe.
https://github.com/keyval-dev/odigos/blob/main/CONTRIBUTING.md#pull-request-lifecycle
https://github.com/keyval-dev/odigos/blob/main/CONTRIBUTING.md#development-environment-setup
https://github.com/keyval-dev/odigos/blob/main/CONTRIBUTING.md#sign-your-commits
https://github.com/keyval-dev/odigos/blob/main/CONTRIBUTING.md#pull-request-checklist
They are not yet described. Do we have a content for the same?

@ankur12-1610 Can you please elaborate more about the issue.

This is fixed in #646


docker is not creating database

  postgres:
    image: postgres:9.6
    environment:
      POSTGRES_USER: test
      POSTGRES_DATABSE: test
      POSTGRES_PASSWORD: test
    volumes:
      - pgdata:/var/lib/postgresql/data
    ports:
      - 5432:5432

On psql -h <IP_ADDRESS> -U test
get psql: FATAL:  role "test" does not exist

https://github.com/docker-library/postgres/issues/203#issuecomment-255200501

@yosifkit Thank you VERY much!!!!


chore(package.json): update node engine

currently, yarn reports the following error when installing on any version greater than 4.8.4.

error<EMAIL_ADDRESS>The engine "node" is incompatible with this module. Expected version "4.8.4".
error Found incompatible module
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

this change will allow yarn to successfully install the package on versions of node greater than 4.8.4 (6.x, 8.x, etc).

:+1:

Published on npm @1.2.1, thanks!


Add markprompt

This Pull Request is adding:
see preview deployment: https://docs-staging.scs.community/

a freshly designed more modern index page
a prompt input window on the index page to post question on SCS which are then answered by GPT3.5 model via openAI API
The implementation is based on marktprompt by motifland
The model is trained only on our documentation markdown files licensed under CC-BY-SA in this repo: markprompt-data
The doc files within the markprompt-data are automatically collected and are in sync with docs-page (the workflow is bascially the same as the one from the docs-page; both based on this docs.package.json)
a cookie consent manager which is blocking the markprompt prompt by default, see screenshot in comments below
a data protection site to state what data is being collected and transferred by using the markprompt window based on the one from https://scs.community/dataprotection/, see this link

Data Protection Statement has probably to be extended?

Data Protection Statement has probably to be extended?

That is correct, see: https://github.com/motifland/markprompt#data-retention

I have implemented:

a cookie-consent manager
contextual consent for the prompt.
a data-protection page  based on https://scs.community/dataprotection/

Still To-do: CSS Bugs with prompt component, dark mode and cookie-consent dialog

Don't merge until @garloff gave his approval for GDPR related things


Add support for Android TVs

Describe the solution you'd like
Add support for Android TVs.
Additional context
Thanks to @mlsmaycon (who've sent me the raw Android apk), I've been able to install Netbird on a Firestick 4K Max (Android 9 - FireOs 7).
Small summary of my testings:

Netbird is fundamentally working
Netbird is not usable right now without a remote mouse/keyboard because we can't navigate (or at least easily) to menus with only the Firestick remote
Netbird GUI is not displayed correctly because of resolution of the device
Logging through SSO is hard since you have to connect using password and possibly MFA (see https://github.com/netbirdio/netbird/issues/888)

Any update on this?

Any news?  This is a requirement for a use case I'm working on.

Hi I'm curious if this will be released in the near future. It seems like it would be a fairly easy thing to do, just modifying the interface to suit a remote for android tv and would set NetBird apart from competitors, there's consumer and business use cases for this - for consumer using jellyfin/plex or other apps through android TV would become secure and easy to manage with no internet exposure needed, and for business they could have TVs that show advertisements or stats run through a VPN rather than pointing to a public URL.


Update dockershim articles and notices to link to https://github.com/kubernetes/kubernetes/issues/106917

This is a Feature Request

What would you like to be added

Find existing blog articles that mention dockershim
Find existing docs pages that mention dockershim deprecation
Update what you found to mention that there is a discussion issue on GitHub: https://github.com/kubernetes/kubernetes/issues/106917

Why is this needed
We'd like to track feedback and discussion in one place so that relevant SIGs (Node, Cluster Lifecycle, Architecture, Docs) can more easily gauge reactions and see any suggestions from the wider Kubernetes community.
Comments
/sig node
/sig docs
/language en
/kind feature
/priority important-longterm

/triage accepted

@sftim Should I consider making a list of existing blog articles and docs pages mentioning dockershim?

The list in #31528 might be a good start.


Problems with downloading and using logs from AWS

Without customized coding, you cannot download full PG logs from AWS using the AWS CLI APIs.  Downloading files from s3 (AWS RDS/Aurora --> CloudWatch --> s3) provides another set of challenges with the weird way CloudWatch re-arranges the log data before downloading them from s3.
AWS does not download PG log files correctly using any of these APIs:
AWS CLI (truncated even with using --starting-token)
AWS SDK (the boto3 python package is broken)
S3 (log file timestamp order is not sequential)
I closed 2 other issues related to this:
issue, https://github.com/darold/pgbadger/issues/654
issue, https://github.com/darold/pgbadger/issues/656

Are you using incremental mode? You are loading old binary files that are not compatible or are broken.

I am not using incremental mode.  I downloaded the latest master.zip file for pgbadger. Using 11.5 version.

No,not necessary Perl is not the problem. I think you might probably have old binary files in your temp directory. Can you try by adding the following pgbadger option after creating directory /tmp/issue657:
pgbadger  --tempdir=/tmp/issue657  [...]

in progress, takes about 25 mins...

If there is an error yes. 25 minutes, you are not using multiprocess?

No I am not using incremental mode.

I'm a bit embarrassed with this issue, I'm not able to reproduce the problem which is difficult to be able to find the reason of the problem.

So yes, got that error again. But there is nothing in that temp file

Do you mean the /tmp/issue657 directory or a specific temp file?  If a specific temp file, what's its name?
@darold  It could be somewhat specific to the aws platform.  Maybe for some reason Storable::store_fd / Storable::fd_retrieve isn't working as expected, or unrelated .bin files get created automatically in that directory?  Maybe some new debug messages to print all found .bin file names and the size + content of the problematic file would get a step further?

Yes @rjuju there is probably a Storable issue but I don't think it is related to AWS as if I have well understood the files are downloaded locally before being processed by pgbadger.
@MichaelDBA can you please execute the following command to see if it can be related to a Perl issue:
perl -E 'use Storable qw(dclone); say "version=",$Storable::VERSION; say "limit=",$Storable::recursion_limit; my @tt; for (1..1_000_000) { my $t = [[[]]]; push @tt, $t } dclone \@tt'
And does the host where pgbadger is run is an AWS server too and have you tried to run pgbadger  on an other host not AWS one?

I understood that @MichaelDBA was running pgbadger on some EC2 instance, with files downloaded from s3.

Ah ok, which could explain the small number of CPU, right. So let's wait for @MichaelDBA answers to my last questions, there is a know issue on Storable and Perl 5.28 fixed in Perl 5.30.

perl -E 'use Storable qw(dclone); say "version=",$Storable::VERSION; say "limit=",$Storable::recursion_limit; my @tt; for (1..1_000_000) { my $t = [[[]]]; push @tt, $t } dclone @tt'
version=3.11
limit=14270
Max. recursion depth with nested structures exceeded at -e line 1.
Also I was talking about the directory you had me create.  During the run it was being populated, but afterwards it was empty.
pgbadger  --tempdir=/tmp/issue657

Ok we've finally got it, you probably have a Perl 5.28 on this host, it has a know Perl bug with Storable 3.x that is solved in Perl 5.30.

Using centOS 8, looks like I got 5.26 installed
perl.x86_64                         4:5.26.3-416.el8

No, I have not said that with more CPU you will not have the problem, I just said that parsing will be faster. Sorry for my english.
Best is to use PerlBrew for the moment to be sure that version 5.30 will solve it. Proceed as follow:
sudo apt-get install perlbrew
perlbrew init
perlbrew install 5.32.1

then to use this version to check that pgbadger is working:
perlberew exec 5.32.1 /path/to/pgbadger

Then if the issue is gone then you can switch perl to this version by using:
perlbrew use 5.32.1

See https://docs.brew.sh/Homebrew-on-Linux#requirements for more information..

One last question just to make sure we are not going down the wrong path.
In most cases I do not get a parsing error (errors that occur BEFORE pgbadger starts generating the html report.
CASE 1:
-->
Max. recursion depth with nested structures exceeded at /usr/lib64/perl5/vendor_perl/Storable.pm line 328, at /usr/local/bin/pgbadger line 15023.
In many cases I do not get a parsing error, but do get a pgbadger html generation error like this (CASE 2):
LOG: Ok, generating html report...
Use of uninitialized value in substitution iterator at /usr/local/bin/pgbadger line 19057.
2021-05-20 12:26:20  ERROR: 25

So is this perl fix only for case 1 above or both case 1 and case 2?

@darold @MichaelDBA I'm also getting this error:
LOG: Ok, generating html report...
Use of uninitialized value in substitution iterator at /usr/bin/pgbadger line 18917.
Report could not be generated. Please check the logs.

AWS EC2 with 4CPU, 8GB RAM
Perl Version - 5.30
pgBadger version 11.5
Ubuntu "20.04.2 LTS (Focal Fossa)"
Any suggestion here would be appreciated.

Last commit 481535b might solve the use of uninitialized value in substitution iterator at line 18917, please give a try to latest development code and us me know.

Just a thought here, it could be useful here if we could get a minimal test case for this.
A simple way to do this might be the following:

first determine the file that's causing this by running pgbadger individually on each of them
after having found a single log file that reproduces the error, it could be split into multiple chunks/parts as described here , and again checking which chunk still holds the error
the chunk found in step 2 can be further split again using the same mechanism described here

I agree that a regression test must be added to test this feature.

I will repeat my tests trying each log individually first, but I think I already did that and the problem only occurred when I used multiple logs at one time.  Will get back to you in a couple days.

Hello!
to add some info, I have a same behavior with logs on Google cloudsql side.
Using the last binary available on master (and perl v5.32.1, linux 5.4), I have the error :
"Use of uninitialized value in substitution iterator at /usr/bin/pgbadger line 19133"
I don't have this error when I run the report individually, only in incremental mode during the week report generation (the daily ones are all ok).
I was not able to identify which part of the logs is problematic.. (and my logs are around 8G/hour).

Commit a59ee81 might solve this issue.


Rendering Hits without a Search box doesn't use search state

Bug: What is the current behavior?

To be able to refine results without showing a searchbox.
Bug: What browsers are impacted? Which versions?
All
What project are you opening an issue for?

react-instantsearch

What is the version you are using? Always use the latest one before opening a bug issue.
3.2.1

Any word on this? Kind of a big deal that I have to render an empty connector in production. the results seem to load in all at once, then quickly after the query from the state is applied if i do this. feels very weird :P

Hi @zackify,
What you need to do here is using a virtual searchbox.
Here's an example combined with defaultRefinement: https://jsfiddle.net/kcjjdLqk/
Check out this guide also: https://community.algolia.com/instantsearch.js/react/guide/Virtual_widgets.html

This doesn't solve two problems:

I don't want to display a search box at all. Just the hits. Doing a defaultRefinement still shows the searchbox. So I still have to render a blank connector for my usecase

I also want to only return 15 results, doing a default refinement for hitsPerPage doesn't work either since I have to give that a list of items.

Is there no way to just set 15 hits per page and the search query and only display hits? Thanks :)

@zackify We will need to sync on that issue with the rest of the team, we usually do that at the beginning of the week. Thanks for your patience.

Hello @zackify
Virtual Widgets are the way to go when needing a refinement without any rendering.
In order for a part of the search state to be applied, then you need to have the corresponding widget mounted.
Also, if you want to limit the results at 15, then you can use our Configure widget like: <Configure hitsPerPage={15}/>. This widget can apply all the search parameters that are not covered by any widget. See: https://community.algolia.com/instantsearch.js/react/guide/Search_parameters.html
Does this answer your use case?

Ah okay, that works fine. I guess I just want to mention how weird it is to have a searchState prop that doesn't actually do anything. Closing!


Change AutoRefresh behaviour

Only refresh on list and show views
Reset counter on page change

The best way I have found to discover if an edit view is being used is to look at the number of URL segments. This may not be optimal but is necessary as React-Admin doesn't include an 'edit' keyword in the URL for edit pages.
If a better way is found to detect edit pages, this can be easily incorporated.

Thank you, Rufus!


Don't normalize TBN basis in pixel shader

Normalizing these vectors makes them subtly different from what the tangent space normal map expects from Mikktspace, leading to incorrect rendering results in the middle of faces when using tangent space normal maps.
This image shows a screenshot of Godot editor with my changes in normal buffer rendering mode. There are two cubes with identical vertex data. One uses a normal map baked with the box checked in xNormal tangent space settings, the other uses a normal map with the box unchecked in xNormal tangent space settings. I picked a color from the cube with correctly synced tangent space and painted over both cubes in Difference blending mode. This shows the error in normal mapping between this low poly cube with 6 sides and a high poly cube. All remaining errors are due to texture compression and you should bake with the box checked in xNormal to get a synced normal map (iirc.) In the master branch of Godot, the same scene will show similar-looking errors on both boxes in normal buffer rendering mode.

Here is the test project if you want to investigate for yourself. You can turn up metallic and turn down roughness on the material to see the difference exaggerated. I haven't checked the results in any renderer except for forward clustered but it should be the same situation in all of them.
godot_tstest.zip

Is this only needed for normal mapping? For regular lighting we end up always using normalize(normal_interp), should we be making the same change there as well?

I believe the change is only needed for normal mapping. Without normal mapping I don't think there's an issue of correctness between normalizing or not normalizing unless the mesh is very low-poly and spiky with no hard edges. I can investigate it if you like though.

It would save a couple of instructions to not normalize, of course. But not enough to make a real difference.

Submitted an issue. https://github.com/godotengine/godot/issues/78343

One other thought, with the normalization removed, these vectors are never normalized. Perhaps we should be normalizing them in the vertex shader?

That's a good point, it seems to be necessary to do that only for meshes that aren't normal mapped. We should be able to do it for both kinds though.

I've updated this PR. I am still not totally sure about the anisotropy but this one works for uniform and non-uniform scaling and the anisotropy is at least not obviously worse than before. Specifically I haven't tested it with a flow-map and the absolute value is just based on a hunch. But both before and after, anisotropy causes issues with the tangent space sync.
I haven't tested with skinned meshes or propagated the changes to the other rendering paths. That's what comes next.
About "calculating binormal in the pixel shader", that way of doing things is more widely supported because it supposedly leads to greater occupancy. I'm not sure if it's still possible to get correct results under non-uniform scaling doing things like that and in Unity which calculates binormal in the pixel shader there are indeed issues with the tangent basis sync under non-uniform scaling. For now I think it is OK to not calculate binormal in the pixel shader and later on if we get a good performance benchmark we can see what the difference is between calculating in the pixel shader vs the vertex shader. I suspect the performance gains of calculating binormal in the pixel shader are mainly realized when there are lots of vertices.

Still haven't checked it out with skinned meshes but this works well for all transforms and fixes a few issues with anisotropy including visual differences when enabling anisotropy, darkened regions around horizon when anisotropy is enabled, and flow map not being applied when anisotropy value is negative. I consider this ready to go.


Missing attributes when chaining

Hi Mark, thanks for putting this package together. It looks very cool.
I'm having a tough time getting the motivating examples to work, though. For example, the following triggers an error:
import tidypolars as tp
from tidypolars import col, desc

df = tp.Tibble(x = range(3), y = range(3, 6), z = ['a', 'a', 'b'])

df.filter(col('x') < 2).arrange(desc('z'), 'x')

---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
Untitled-1 in <cell line: 1>()
----> 8 df.filter(col('x') < 2).arrange(desc('z'), 'x')

AttributeError: 'DataFrame' object has no attribute 'arrange'

What's genuinely odd about the above is that arrange works on its own and when it comes before filter.
# All of these work as expected
df.filter(col('x') < 2)
df.arrange(desc('z'), 'x')
df.arrange(desc('z'), 'x').filter(col('x') < 2)

A seemingly related issue is that I can't pass two arguments to filter when it follows arrange (or other verbs likeselect for that matter).
df.filter(col('x') < 2, col('y')>3) ## works
df.arrange(desc('z'), 'x').filter(col('x') < 2, col('y')>3) ## errors with "filter() takes 2 positional arguments but 3 were given"

Any ideas?
I'm on Python 3.9.2 installed via Homebrew on a 2019 Macbook (so regular Intel chip) and running the latest version of tidypolars (0.2.15).

Thanks for catching this. Looks like polars made a change in v0.14.0 that broke tidypolars. I'll take a look and see if I can get it fixed sometime in the next couple days. In the meantime if you install a polars version >=0.13.44 and <0.14.0 everything should work fine.
This is one place where CRAN spoils R users 😄. There is careful consideration for reverse dependencies so situations like this are exceedingly rare.

PR that caused the break: https://github.com/pola-rs/polars/pull/4309
Old behavior that tidypolars relied on: https://github.com/pola-rs/polars/pull/2862

Super, thanks for confirming and bisecting the error.
And a big amen for stable APIs ;-)

@grantmcdermott you should be good to go now for tidypolars. I just sent a release to PyPi that requires polars <0.14.0. Thanks again for catching this.
I'm also planning on adding support for >=0.14.0. Here's the issue if you want to track there: https://github.com/markfairbanks/tidypolars/issues/207

Great, thanks Mark.


Cannot read property 'urlToPathAndParams' of undefined Evaluating App.js Loading App.js

While using the navigation in Snack it works at the first instance and after few days when we open the project it shows the error "Cannot read property 'urlToPathAndParams' of undefined Evaluating App.js Loading App.js" in line App.js(0,1)
And if we use it on our local machines it works.
And this is not in only 1 but in all projects.

Hi. Please provide a working Snack that exhibits the problem.

Hi. Please provide a working Snack that exhibits the problem.

Hi. Please provide a working Snack that exhibits the problem.

https://snack.expo.io/@tanishq0504/283cc9

Hi. Please provide a working Snack that exhibits the problem.

https://snack.expo.io/@tanishq0504/283cc9

Hi! I've fixed the problem. The<EMAIL_ADDRESS>was not generated correctly because it did not have @react-navigation/core listed in the dependencies in package.json. Instead it was listed in devDependencies. I've updated the Snackager bundler to deal with these kinds of situations and regenerated the bundle.
It now works, but you might need to clear the cache in your browser to fetch the latest bundle and get it to work:

And when using the Expo client on your iPhone or Android device, you might need to uninstall and re-install it in order to clear its cache, otherwise it might use the old faulty bundle.

Hi! I've fixed the problem. The<EMAIL_ADDRESS>was not generated correctly because it did not have @react-navigation/core listed in the dependencies in package.json. Instead it was listed in devDependencies. I've updated the Snackager bundler to deal with these kinds of situations and regenerated the bundle.
It now works, but you might need to clear the cache in your browser to fetch the latest bundle and get it to work:

And when using the Expo client on your iPhone or Android device, you might need to uninstall and re-install it in order to clear its cache, otherwise it might use the old faulty bundle.

THX

THX


Uncaught Error: error: 126/?~\AppData\Local\atom\app-1.24.0\resources\app.asar.unpacked\node_mo...

[Enter steps to reproduce:]

...
...

Atom: 1.24.0 x64
Electron: 1.6.16
OS: Unknown Windows version
Thrown From: Atom Core
Stack Trace
Uncaught Error: error: 126\?\C:\Users\Iannucci Vincenzo\AppData\Local\atom\app-1.24.0\resources\app.asar.unpacked\node_modules\keyboard-layout\build\Release\keyboard-layout-manager.node
At ELECTRON_ASAR.js:173

Error: error: 126\\?\C:\Users\Iannucci Vincenzo\AppData\Local\atom\app-1.24.0\resources\app.asar.unpacked\node_modules\keyboard-layout\build\Release\keyboard-layout-manager.node
    at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:173:20)
    at Object.Module._extensions..node (module.js:598:18)
    at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:187:18)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
    at Module.require (/app.asar/static/index.js:47:45)
    at require (internal/module.js:20:19)
    at customRequire (~/AppData/Local/atom/app-1.24.0/resources/app/static/<embedded>:96:26)
    at get_KeyboardLayoutManager (~/AppData/Local/atom/app-1.24.0/resources/app/node_modules/keyboard-layout/lib/keyboard-layout.js:7:65)
    at get_manager (~/AppData/Local/atom/app-1.24.0/resources/app/node_modules/keyboard-layout/lib/keyboard-layout.js:16:42)
    at Object.getCurrentKeyboardLayout (~/AppData/Local/atom/app-1.24.0/resources/app/node_modules/keyboard-layout/lib/keyboard-layout.js:32:17)
    at exports.keystrokeForKeyboardEvent (~/AppData/Local/atom/app-1.24.0/resources/app/node_modules/atom-keymap/lib/helpers.js:201:42)
    at KeymapManager.module.exports.KeymapManager.keystrokeForKeyboardEvent (~/AppData/Local/atom/app-1.24.0/resources/app/node_modules/atom-keymap/lib/keymap-manager.js:467:20)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (~/AppData/Local/atom/app-1.24.0/resources/app/node_modules/atom-keymap/lib/keymap-manager.js:347:30)
    at WindowEventHandler.handleDocumentKeyEvent (~/AppData/Local/atom/app-1.24.0/resources/app/src/window-event-handler.js:108:40)

Commands
  3x -5:50.2.0 tree-view:add-file (ol.tree-view-root.full-menu.list-tree.has-collapsable-children.focusable-panel)

Non-Core Packages
emmet 2.4.3

Thanks for taking the time to contribute!
We noticed that this is a duplicate of #14461.  You may want to subscribe there for updates. If you have an antivirus installed, try temporarily disabling it and reinstalling Atom.
Because we treat our issues list as the Atom team's backlog, we close duplicates to focus our work and not have to touch the same chunk of code for the same reason multiple times. This is also why we may mark something as duplicate that isn't an exact duplicate but is closely related.
For information on how to use GitHub's search feature to find out if something is a duplicate before filing, see the How Can I Contribute? section of the Atom CONTRIBUTING guide.


Cancel tests with CancellationToken without Timeout attribute

Fixes #1305

Thanks for the investigation and detailled explanations in the call @fhnaseer, as discussed let's close this as won't fix.


Add translation .pot file

From<EMAIL_ADDRESS>on 2011-03-01T08:40:49Z
Add .pot so that interface can be translated more easily.
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=567

From pierre.raybaut on 2011-03-02T12:32:28Z
Well, it's easier to say than to do... but now it's done :)
See here: https://code.google.com/p/spyderlib/source/detail?r=7112cf2c4bf2014f9401edc9b007fb62abd49fd3 It took me more than 2 hours to migrate the Spyder's translation system from QtLinguist (.ts source text files and .qm binary files) to gettext (.po source text files - and the .pot template - and .mo binary files). But I wanted to do so for a while now so your suggestion just pushed me to get it done.
From my experience with other projects (guidata and guiqwt), gettext translations are easier to extend and to maintain than QtLinguist - and gettext is a universal tool.
Status: Fixed


Some questions about this project hoping for your further answers.

Thank you very much for being able to open source your complete code of SALMONN.
Although you've given a clear presentation in both your paper and code, there are still some points make me puzzled after reading your paper and code:

What's the difference of your training settings between stage1 and stage2 on AST task?
The paper says you use LibriSpeech-960h (280k) and GigaSpeech M-set at stage1 and afterwards use the same LibriSpeech-960h (also 280k) at stage2, so what's the changes about the training setting on LibriSpeech dataset from stage1 to stage2? Did you train without any instruction during stage1, or just change the used instructions?

How to get the 200k samples of GigaSpeech used at stage2?
I notice the GigaSpeech used at stage2 is 200k, nearing the number of GigaSpeech S-set (220k), and it seems that you used all the GigaSpeech M-set (680k) during stage1 according to the paper, so what's exactly the 200k samples of GigaSpeech at stage2? Were they randomly selected from GigaSpeech M-set?

Will the performance on downstream tasks not be influenced by so many preset instructions for instruction tuning?
According to the code recently released, there are many instructions setting for a single downstream task (for instance, there are 15 instructions setting for ASR task). From my point of view, one problem hard to avoid is that some instructions for different downstream tasks may present similar patterns, and these similarities have the potential to mislead the model to another unexpected task during inference, especially with a lower beam setting. So I want to know whether more instructions for tuning is better or less is better in your opinion or during your experiments because I'm uncertain which case may prevent this kind of similarity better.

I failed to find any information about these problems both in paper and code so I'm looking forward to your further answers.
Thank you again for taking time to read my issue. Hoping for your early reply!

Thank you for your interest in our work!

Thanks for your interest in our work!

Thanks for your interest in our work!

Actually, there is not much difference between Stage 1 and Stage 2 settings. It's just that in Stage 1 we focus only on the ASR and AAC tasks and train with a lot of data (regardless of data quality and ratio). In both Stage 1 and Stage 2, we use the same instructions for ASR and AAC.
The 200k samples of GigaSpeech are randomly selected from the M set. The reason for reducing the ASR data is to alleviate the problem of task overfitting, as we have found that once there is too much ASR data, the problem of task overfitting can be very serious.
I suppose more instructions for tuning is better, because we want to get the LLM to learn the subtle differences between instructions of different tasks. In other words, we want the LLM to be able to follow our instructions well.
Ideally, we can assume that text-based LLMs are able to fully understand user-input prompts, since LLMs can be assumed to have seen a wide variety of instructions when training. For multimodal LLMs, such as SALMONN, it is difficult to cover a variety of multimodal interaction scenarios when training, which leads to the fact that our prompts are easily bound to a limited number of tasks and the model's ability to follow instructions is inhibited. It is in this case that the model may misunderstand the user’s prompt when facing unseen prompts or tasks. However, if we could give as many instructions when training SALMONN as others train text LLMs, covering a variety of multimodal scenarios, the model would recover the ability to understand subtle differences between prompts as text LLMs do. But it would certainly be a daunting task.

Thanks for your interest in our work! As for your questions, I'll answer them below.

Actually, there is not much difference between Stage 1 and Stage 2 settings. It's just that in Stage 1 we focus only on the ASR and AAC tasks and train with a lot of data (regardless of data quality and ratio). In both Stage 1 and Stage 2, we use the same instructions for ASR and AAC.
The 200k samples of GigaSpeech are randomly selected from the M set. The reason for reducing the ASR data is to alleviate the problem of task overfitting, as we have found that once there is too much ASR data, the problem of task overfitting can be very serious.
I suppose more instructions for tuning is better, because we want to get the LLM to learn the subtle differences between instructions of different tasks. In other words, we want the LLM to be able to follow our instructions well.
Ideally, we can assume that text-based LLMs are able to fully understand user-input prompts, since LLMs can be assumed to have seen a wide variety of instructions when training. For multimodal LLMs, such as SALMONN, it is difficult to cover a variety of multimodal interaction scenarios when training, which leads to the fact that our prompts are easily bound to a limited number of tasks and the model's ability to follow instructions is inhibited. It is in this case that the model may misunderstand the user’s prompt when facing unseen prompts or tasks. However, if we could give as many instructions when training SALMONN as others train text LLMs, covering a variety of multimodal scenarios, the model would recover the ability to understand subtle differences between prompts as text LLMs do. But it would certainly be a daunting task.

I hope my answer solves your confusion. If you still have questions, feel free to ask as well.

Thanks for your explicit response to my questions. I have no more questions now and I'll close the issue.


Blade compiles the first }} instead of the last, and produce syntax error

Laravel Version: 5.3.31
PHP Version: 5.6.30
Database Driver & Version: MariaDB 10.1.21

Description:
Using }} in text context occurs fatal error, because blade uses the first }} occurence to close php tag, not the last.
Use case:
{{ Form::text('name'<EMAIL_ADDRESS>}} where the input value will be the name attribute of person JS object, after compiled client side (Handlebar).
{{ 'foo' }} => compiled to <?php echo e('foo'); ?> => output foo
{{ '@{{foo}}' }} => compiled to <?php echo e('foo); ?>' }} => fatal error unexpected '}'
Steps To Reproduce:
{{ 'foo' }} => output foo
{{ '@{{foo}}' }} => fatal error unexpected '}'

yes this is a limitation you have to deal with, unfortunately the current way Blade is written using regex makes it very hard to handle some cases.

Thank you Mohamed, I did the deal and with this replacement in BladeCompiler.php compileRegularEchos and compileEscapedEchos function works well:
//$pattern = sprintf('/(@)?%s\s*(.+?)\s*%s(\r?\n)?/s', $this->contentTags[0], $this->contentTags[1]);
$pattern = sprintf('/(@)?%s(([^%s%s]*|(?R))*)%s/s', $this->contentTags[0], $this->contentTags[0], $this->contentTags[1], $this->contentTags[1]);

What do you think for implementing? Write my own service provider and runtime I overwrite this functions, or is there any way to test it and change in the repository?


Close the previous reader of the health check topic

Modifications
Close the previous reader of the health check topic. Not sure what caused the reader to not close properly, this PR tries to delete the previous reader of the health check to make sure the previous readers can be closed.
If the previous reader can't be closed, the backlog of the health check topic will keep increasing. According to the broker heap dump, there is more than one reader can't be closed.

This PR is related to #7589
Verifying this change
The problem is hard to reproduce.
Does this pull request potentially affect one of the following parts:
If yes was chosen, please highlight the changes

Dependencies (does it add or upgrade a dependency): (no)
The public API: (no)
The schema: (no)
The default values of configurations: (no)
The wire protocol: (no)
The rest endpoints: (no)
The admin cli options: (no)
Anything that affects deployment: (no)

Documentation

Does this pull request introduce a new feature? (no)

@wolfstudy to help cherry-pick to both branch-2.5 and branch-2.6

@wolfstudy to help cherry-pick to both branch-2.5 and branch-2.6

Sure, already cherry-pick the pull request to branch-2.5 and branch-2.6


Loosens the dependency on Krikri to pre-1.0

This allows Heidrun to use the latest pre-1.0 version of Krikri without a version bump/release. bundle update krikri will update to the latest version.
I'm uncertain whether the deployment process handles this correctly. @markbreedlove, will deployment force the latest version of krikri if the ~> 0.7 dependency was met previously?

Slack discussion proceeds from: https://dpla.slack.com/archives/tech/p1435768461000115

It's on my to-do list to follow up with that.  I created a story or task for myself somewhere to verify that bundle update and bundle install are being used correctly.  I do recall bundle install being used, but not bundle update.

I actually have a branch of automation that I have not pushed yet that starts work on this issue.  I found some places where I thought update should be used.  I'll push that soon, but it's really a work in progress.

Do we have a temporary solution, or should I do gem 'krikri', '~> 0.7', '>= 0.7.1' for now?

:squash:'d


(WIP) Add Accept-Encoding header

Builds on #174 by adding the 'Accept-Encoding' header for domains that require it. Supports gzipped encoded responses by default and prevents CAPTCHA.

https://github.com/Anorov/cloudflare-scrape/issues/215#issuecomment-478383550

See #176 this PR isn't a 100% fix.

@pro-src the 100% fix would be faking UA along with Accept headers?

Yup, for now at least

@pro-src what about using some library like https://www.npmjs.com/package/useragent-generator with a set of hardcoded Accept headers from https://developer.mozilla.org/en-US/docs/Web/HTTP/Content_negotiation/List_of_default_Accept_values per browser?

@codemanki I like the API in useragent-generator but I'm afraid that if we just plug random numbers in that it could produce some very uncommon user agent strings and that could be a problem. Using popular user agents has it's advantages and If we're going to use specific UA's then the additional dependency isn't warranted. I would think that adding those Accept headers from that mdn article to be a good solution though. One think for sure is that article shows how easy it is for Cloudflare to ruin our day. e.g. If we were required to change the accept header depending on the type of resource being requested.

@codemanki :thinking: Maybe we shouldn't even try to cover this and demand that user's supply their own headers if they encounter trouble. Maybe point them to a web service that will show their headers so they can copy and paste them. This one really catches my eye as they can specify the resource to request: https://www.whatsmyip.org/http-headers/
On our end, besides updating the README, we could adjust the accept headers for types specified on that mdn page. e.g. cloudscraper.get({ uri, image: true }). We'd have to parse the Accept header to know how to adjust it and it's probably not even necessary right now.

@VeNoMouS what do you think?

Well what i found... re the UA... you only need to match the UA on requesting and delivering the secret... past that point as long as your cookie is set CF just doesn't care.. you can use what ever UA you want...

@VeNoMouS Good point, thx for the chime in.

@codemanki After looking at the code of useragent-generator, I'm not to worried about the UA's that it generates. I'll give a :+1: for it because it's smart.

Related to what @VeNoMouS said: https://github.com/codemanki/cloudscraper/issues/177#issuecomment-479443774

I haven't forgot about this. I'm collecting some data for it. Afterwards, I'll see about what needs to be done to fix this PR or close it in preference of a new one. :bulb:

I have the data and that wikipedia article is trash.
So what I've been able to determine is that the header order changes depending on the UA.
The headers that are present changes depending on the UA.
The values of default headers change depending on the UA.
etc. etc.
The accept headers change depending on the browser version where as the article implies that it depends on the vendor.
Thus, if you want to properly spoof a browser then you must have the exact headers of that browser version and send them in the exact same order that it would send them.
I have the data that we need to do UA randomization properly and will be sending a new PR.

Closing in preference of #196


Configurable concurrency per replica setting

Currently it seems Lingo is quickly creating more replicas as requests are incoming while the pod isn't ready to serve yet. It should be configurable how many requests a single pod can handle concurrently.
This could be done by using the following annotation in the deployment:
lingo.substratus.ai/concurrency: 100

In this case Lingo should only scale up when a single pod is handling more than 100 HTTP requests in parallel. I think a good default value is 100 which is also what knative uses: https://knative.dev/docs/serving/autoscaling/concurrency/#soft-versus-hard-concurrency-limits

The setting is here: https://github.com/substratusai/lingo/blob/4350d67aedd7871c8397f27d4c6ab6c2d79e4865/main.go#L78
In this case, 1 is the concurrency setting.

I have already changed the default from 1 to 100, but what's left is having this configurable through the annotation and reconciling on this as needed

Do I understand this correct, that you suggest a new annotation on the model deployment so that instead of a global value in lingo main this can be customized on the model level? This sounds very reasonable to me.
On the implementation side, I can see some challenges when the value is updated.
There is a separate queue in each lingo instance per model but only the leader runs the reconcile in autoscale. Any ideas?

@alpe Yes that's correct. There should be a default global value. In addition, each deployment should be able to override the default global value by setting an annotation.


Fix: Get real path from symlink

This will give out a warning if $path is not a symlink.
Example:

Warning:  readlink(): Invalid argument in /www/app/plugins/wp-stateless/lib/classes/class-bootstrap.php on line 473

Read about readlink() behavior.
I have solved it by checking if $path is a symlink.

@fqjony please check that code and merge if everything alright


Not able to see Icon GEAR in vs code

Extension version:

VSCode Version:

OS: Windows WIndows 10 Pro

Steps to Reproduce:

Install the Extension Github Pull Request and Issues
Reload Vs code, but not able to see any gear for the same.

@vineet-goel-salesforce I'm not sure what you mean by "icon gear", can you explain?
One of the gifs on the readme is outdated and shows the old activity bar icon, the new one is this one:

OK got it, thanks


experiment: split PHashMap / PHashMapSized

More experimentation per #3046. This tries to solve the performance issue without changing the implementation, with two observations:

Most code doesn't actually care to track the size, and need not incur the cost for it
Of those that do, in many cases we know in advance whether we will find the value or not because we checked it immediately before.

So we introduce PHashMapSized as the old PHashMap and PHashMap for the old PHashMap.Node, and the Sized variant we have size and isEmpty functions but also has insert/insertNew/replace instead of just insert which does all three.

Subsumed by #4503


What should we do when traffic jam happens in the simulator?

Such as this figure, a car stuck in the center of crosses.

Same problem. Lots of vehicles are stuck

Maybe not the best solution, but I also met the same condition when trying to assign too many vehicles at the same time. I just reduce the fps number on the server side. No more traffic stuck. I use NVIDIA 3070 and try to spawn 80 vehicles and 20 pedestrians at the same time. I use -fps=10 .


V3 - Brush

Added brush back to new framework.
Implemented some "TODO" functionality of mouseEventHandlers/mouseMove.js, in which I've moved the processing to the base tool. This allows different base types to have different implementations (e.g. baseAnnotationTool and baseBrushTool), and also allows them to be overridden.

Fixed most of tests that I broke by adding the KEY_DOWN event to the mouseToolEventDispatcher. Confused as to why the brushTool is interfering with the other tool's tests?

Done with a first pass at reviewing. I'm still 🤔 over the keyboard changes. I'm sure @swederik will have better brush specific feedback.

@dannyrb , improved the keyboard interfacing a bit and put in base tool, see other comments.


Sort profiles list alphabetically

Codecov Report
Base: 71.13% // Head: 73.30% // Increases project coverage by +2.16% :tada:

Coverage data is based on head (e01736e) compared to base (0e69cbc).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff              @@
##             master      #92      +/-   ##
============================================
+ Coverage     71.13%   73.30%   +2.16%
- Complexity      503      541      +38
============================================
  Files            84       89       +5
  Lines          1597     1648      +51
  Branches        179      186       +7
============================================
+ Hits           1136     1208      +72
+ Misses          415      391      -24
- Partials         46       49       +3

Impacted Files
Coverage Δ

...rc/main/java/seedu/address/model/profile/Name.java
81.81% <100.00%> (+1.81%)
:arrow_up:

...main/java/seedu/address/model/profile/Profile.java
95.55% <100.00%> (+0.10%)
:arrow_up:

...seedu/address/model/profile/UniqueProfileList.java
93.18% <100.00%> (+0.49%)
:arrow_up:

.../address/logic/commands/event/AddEventCommand.java
100.00% <0.00%> (ø)

...ddress/logic/commands/event/ViewEventsCommand.java
100.00% <0.00%> (ø)

...ress/logic/parser/event/AddEventCommandParser.java
92.30% <0.00%> (ø)

...ss/logic/parser/event/ViewEventsCommandParser.java
100.00% <0.00%> (ø)

...ss/model/event/TitleContainsKeywordsPredicate.java
100.00% <0.00%> (ø)

src/main/java/seedu/address/model/event/Event.java
89.18% <0.00%> (+21.62%)
:arrow_up:

...address/logic/parser/event/EventCommandParser.java
83.33% <0.00%> (+83.33%)
:arrow_up:

... and 1 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Update troubleshoot-aad-connect-objects-attributes.md

Removing old reference requesting customer to raise support case to clear DirSync overrides flag.

@VMrenato I closed this PR because the same change is submitted in https://github.com/MicrosoftDocs/SupportArticles-docs/pull/868. Thanks.