Serialization fails if first match is not found

bump-my-version version: 0.11.0
Python version: 3.12.0
Operating System: MS Windows 11 Enterprise

Description
With regards to Issue #45 - already closed (and Issue #74). As you said the order is top-down (first to last) and the first successful serialization is chosen.
Having a config serialization like
"{major};{minor};{patch};;build.{build}",
"{major};{minor};{patch};{release};build.{build}"

I would expect these two patterns work as follows, first pattern is used for a match in the file. If no match is found, the second pattern is used for matching. However the second serialization pattern is never used, an error is given for the first pattern not matching.
When switching the order of the patterns, this first case is working. However a second case, when there is no 'release'-part in the current version, is not working. Now 'final' is expected in the match, although defined as optional_value. Again only the first pattern is matched.
See all examples and configs below.
(This setup works successfully with ADVbumpversion - as we are still running that fork -, using the switched order of serialization patterns.)
What I Did
.bumpversion.toml (excerpt with relevant file part for this issue).
[tool.bumpversion]
current_version = "app/3.5.0-beta+build.1038"
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)(-(?P<release>[0-9A-Za-z]+))?(\\+build\\.(?P<build>.[0-9A-Za-z]+))?"
serialize = [
	"{major}.{minor}.{patch}+build.{build}",
	"{major}.{minor}.{patch}-{release}+build.{build}"
]
commit = true
message = "Bump version: {current_version} -> {new_version}"
tag = false
tag_name = "app/{new_version}"
tag_message = "Version app/{new_version}"
allow_dirty = true

[tool.bumpversion.parts.release]
values = [
	"beta",
	"rc",
	"final"
]
optional_value = "final"

[tool.bumpversion.parts.build]
first_value = 1000
independent = true

[[tool.bumpversion.files]]
filename = "..\\SqlScripts\\Import\\Version.csv"
parse = "(?P<major>\\d+);(?P<minor>\\d+);(?P<patch>\\d+);(?P<release>[0-9A-Za-z]+)?;(build\\.(?P<build>.[0-9A-Za-z]+))?"
serialize = [
	"{major};{minor};{patch};;build.{build}",
	"{major};{minor};{patch};{release};build.{build}"
]
search = "1;{current_version}"
replace = "1;{new_version}"

File Version.csv
Id;Major;Minor;Patch;Release;Metadata
1;3;5;0;beta;build.1038

$ bump-my-version.exe bump -vvv --tag --no-commit patch
Starting BumpVersion 0.11.0
Reading config file .bumpversion.toml:
Parsing version 'app/3.5.0-beta+build.1038' using regexp
'(?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(-(?P<release>[0-9A-Za-z]+))?(\+build\.(?P<build>.[0-9A-Za-z]+))?'
Parsed the following values: build=1038, major=3, minor=5, patch=0, release=beta
Attempting to increment part 'patch'
Values are now: build=1038, major=3, minor=5, patch=1, release=beta
Available serialization formats: '{major}.{minor}.{patch}-{release}+build.{build}',
'{major}.{minor}.{patch}+build.{build}'
Found '{major}.{minor}.{patch}-{release}+build.{build}' to be a usable serialization format
Selected serialization format '{major}.{minor}.{patch}-{release}+build.{build}'
Serialized to '3.5.1-beta+build.1038'
New version will be '3.5.1-beta+build.1038'
Asserting files ..\SqlScripts\Import\Version.csv contain the version string...
Available serialization formats: '{major};{minor};{patch};;build.{build}',
'{major};{minor};{patch};{release};build.{build}'
Found '{major};{minor};{patch};;build.{build}' to be a usable serialization format
Found '{major};{minor};{patch};{release};build.{build}' usable serialization format, but it's longer
Selected serialization format '{major};{minor};{patch};;build.{build}'
Serialized to '3;5;0;;build.1038'
Searching for the regex: '1;3;5;0;;build\.1038'

 Usage: bump-my-version bump [OPTIONS] [ARGS]...

 Try 'bump-my-version bump --help' for help.
╭─ Error ──────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Did not find '1;3;5;0;;build\.1038' in file: '..\SqlScripts\Import\Version.csv'                │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

Switching the order of serialization patterns
    "{major}.{minor}.{patch}-{release}+build.{build}",
    "{major}.{minor}.{patch}+build.{build}"

File Version.csv
Id;Major;Minor;Patch;Release;Metadata
1;3;5;0;;build.1038

$ bump-my-version.exe bump -vvv --tag --no-commit major
Starting BumpVersion 0.11.0
Reading config file .bumpversion.toml:
Specified version (app/3.5.0+build.1038) does not match last tagged version (app/3.5.0-beta+build.1038) // see issue #74
Parsing version 'app/3.5.0+build.1038' using regexp
'(?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(-(?P<release>[0-9A-Za-z]+))?(\+build\.(?P<build>.[0-9A-Za-z]+))?'
Parsed the following values: build=1038, major=3, minor=5, patch=0, release=final
Attempting to increment part 'major'
Values are now: build=1038, major=4, minor=0, patch=0, release=beta
Available serialization formats: '{major}.{minor}.{patch}-{release}+build.{build}',
'{major}.{minor}.{patch}+build.{build}'
Found '{major}.{minor}.{patch}-{release}+build.{build}' to be a usable serialization format
Selected serialization format '{major}.{minor}.{patch}-{release}+build.{build}'
Serialized to '4.0.0-beta+build.1038'
New version will be '4.0.0-beta+build.1038'
Asserting files ..\SqlScripts\Import\Version.csv contain the version string...
Available serialization formats: '{major};{minor};{patch};{release};build.{build}',
'{major};{minor};{patch};;build.{build}'
Found '{major};{minor};{patch};{release};build.{build}' to be a usable serialization format
Selected serialization format '{major};{minor};{patch};{release};build.{build}'
Serialized to '3;5;0;final;build.1038'
Searching for the regex: '1;3;5;0;final;build\.1038'

 Usage: bump-my-version bump [OPTIONS] [ARGS]...

 Try 'bump-my-version bump --help' for help.
╭─ Error ──────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Did not find '1;3;5;0;final;build\.1038' in file: '..\SqlScripts\Import\Version.csv'           │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

Edit: Path corrections

You might try adding the ignore_missing_version setting: https://callowayproject.github.io/bump-my-version/reference/configuration.html#ignore-missing-version
See if that fixes your issue.

I added ignore-missing-version = true to the chapter [tool.bumpversion], but it does not fix the issue. Depending on the current version and order of the serialization patterns the error is either not expecting the beta or expecting the final, just like before.
It also seems like the configuration optional_value is not working as before, when bumping build the resulting  version is app/3.5.0-final+build.1039, but it should be app/3.5.0+build.1039.

@skipperTux Can you check with the latest version to see if this is still happening. I've refactored the versioning and serialization logic to make it easier to test.

Ha ha, what a coincidence. I did prepare a MCVE-project last week, but did not find the time to post my results.
I just tested BumpVersion 0.17.3 with my project and this issues is resolved, bumping major, minor, patch, release or build does work as expected. I removed ignore-missing-version = true from the config and the test continues to work as expected. That option might not be necessary for this situation.
Minor remark, when calling bump-my-version.exe bump -v --no-tag --no-commit release three times, I end up getting the expected message ValueError: The part has already the maximum value among ['beta', 'rc', 'final'] and cannot be bumped. but prefaced by an exception.

Exception (IndexError)
Starting BumpVersion 0.17.3
Reading configuration
Reading config file: C:\Users\christoph\source\repos\BumpVersionMCVE\.bumpversion.toml
Parsing current version '6.4.4+build.1050'
Attempting to increment part 'release'
Traceback (most recent call last):
File "C:\Users\christoph\AppData\Roaming\Python\Python312\site-packages\bumpversion\versioning\functions.py", line 124, in bump
return self._values[self._values.index(value) + 1]
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
IndexError: list index out of range
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in run_code
File "C:\Users\christoph\AppData\Roaming\Python\Python312\Scripts\bump-my-version.exe_main.py", line 7, in
File "C:\Users\christoph\AppData\Roaming\Python\Python312\site-packages\click\core.py", line 1157, in call
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\christoph\AppData\Roaming\Python\Python312\site-packages\rich_click\rich_group.py", line 21, in main
rv = super().main(*args, standalone_mode=False, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\christoph\AppData\Roaming\Python\Python312\site-packages\click\core.py", line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "C:\Users\christoph\AppData\Roaming\Python\Python312\site-packages\click\core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\christoph\AppData\Roaming\Python\Python312\site-packages\click\core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\christoph\AppData\Roaming\Python\Python312\site-packages\click\core.py", line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\christoph\AppData\Roaming\Python\Python312\site-packages\bumpversion\cli.py", line 315, in bump
do_bump(version_part, new_version, config, found_config_file, dry_run)
File "C:\Users\christoph\AppData\Roaming\Python\Python312\site-packages\bumpversion\bump.py", line 80, in do_bump
next_version = get_next_version(version, config, version_part, new_version)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\christoph\AppData\Roaming\Python\Python312\site-packages\bumpversion\bump.py", line 45, in get_next_version
next_version = current_version.bump(version_part)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\christoph\AppData\Roaming\Python\Python312\site-packages\bumpversion\versioning\models.py", line 214, in bump
new_values[component_name] = self.components[component_name].bump()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\christoph\AppData\Roaming\Python\Python312\site-packages\bumpversion\versioning\models.py", line 62, in bump
new_component._value = self.func.bump(self.value)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\christoph\AppData\Roaming\Python\Python312\site-packages\bumpversion\versioning\functions.py", line 126, in bump
raise ValueError(
ValueError: The part has already the maximum value among ['beta', 'rc', 'final'] and cannot be bumped.

Thanks for your perseverance in fixing this error :+1:. Case closed.


skipteardownonexit does not skip all teardowns on skip exception

Environment :

OS : MacOS BigSur 11.3
Python 3.9.4
RobotFramework 4.0.2

Description of the issue
In the test below,
*** Settings ***
Suite Setup     Run Keywords  Log  this suite setup message should be logged  AND  skip
Suite Teardown  Log  this suite teardown message should not be logged

*** Test Cases ***
Testing_that_when_setup_is_skipped_and_skipteardownonexit_is_enabled_then_teardown_is_not_played
    [Setup]  Log  this test setup message should not be logged
    Log  this test message should not be logged
    [Teardown]  Log  this test teardown message should not be logged

when the test is launched with this command line :
robot --skipteardownonexit skip_during_setup.robot

Current behaviour
The Suite teardown is indeed played, as shown in the report/log :

Expected behaviour
I would expect neither the teardown of the Test, nor the teardown of the Suite to be played, because the documentation states
Handling teardowns
By default teardowns of the tests and suites that have been started are executed even if the test execution is stopped using one of the methods above. This allows clean-up activities to be run regardless how execution ends.
It is also possible to skip teardowns when execution is stopped by using --skipteardownonexit option. This can be useful if, for example, clean-up tasks take a lot of time.

Please let me know what you think about this behaviour.
Thx

Although the --skipteardownonexit option has word "skip" in it, it isn't actually related the new(ish) skip functionality. It only affects the situation where the whole execution is stopped prematurely (but gracefully). The documentation that you referred is part of the Stopping test execution gracefully section and "one of the methods above" refers to pressing Ctrl-C, using --exitonerror, or otherwise stopping the whole execution.

Could you clarify your use case? Perhaps there's some other feature that could be used to accomplish what you want or perhaps we can find a way how RF could be enhanced to support it.

Thanks for your reply.
Here is some more context to explain my use case.
While entering suite setup, I first check the version of my product, using some custom python code.
Depending on the version I get, I'd like

either to go on, executing the rest of the setup, the tests and the teardown => expecting tests to have status in (PASS, FAIL)
or to skip the whole suite (ie skipping the rest of setup, the tests and the teardown) => expecting tests to have the status SKIP

Current implementation - leading to creation of this issue
Scenario with suite that should not be played because not relevant for the current version of the product under test :
During setup, a custom exception is raised, as described here : https://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#skipping-tests
In that case, the rest of the setup and the tests are skipped. That's fine !
But I then noticed that the teardown is however performed.
I then looked for a way to skip teardown, and expected that using --skipteardownonexit could do it, thinking that "skip" was indeed a kind of graceful exit.
Unfortunately, I know understand it is not the case.
Do you see any way to achieve this ATM or does it require a new development ?
Thx for your help !

Ok, now I understand your need: when you skip the suite in its setup, you wouldn't want its teardown to be run. I can see this behavior would often be desired, but I don't think it could be the default because in some other cases it can be important to run the teardown. Somehow making it easily configurable would be nice, but, as discussed above, --skipteardownonexit is not the right solution.
What actually works already now is running the teardown only if built-in variable ${SUITE STATUS} is not SKIP. If you want to run some parts of the teardown always, you could use the new IF/ELSE structure to avoid running other parts when skipping:
*** Settings ***
Suite Teardown    Teardown keyword

**** Keywords ***
Teardown keyword
    IF    "${SUITE STATUS}" != "SKIP"
        Log    Executed only when not skipping
    END
    Log    Executed always.

If you want to avoid running the whole teardown when skipping, it's probably easier to use Run Keyword If:
*** Settings ***
Suite Teardown    Run Keyword If    "${SUITE STATUS}" != "SKIP"
...               Teardown keyword

**** Keywords ***
Teardown keyword
    Log    Executed only when not skipping

Do you @jcdevil think we should have some move convenient way to control this behavior or are the alternative above enough? If they aren't, what new approach would you propose?

👍 Thx for your feedback @pekkaklarck.
I'm currently testing your approach, using the current suite status in our python custom code :
BuiltIn().get_variable_value('${SUITE_STATUS}', default=default)

depending on the returned value (SKIP) or not, I may run our suite teardown.
NB : so far, I only need this feature at suite level, and not test level.
... and anyway, your approach allows to work that way for either suites or tests ;)
I will write a comment in few days to let you know if this issue can then be closed from my POV.

OK then: 👍 everything works fine with that @pekkaklarck.
This issue can be closed ! Thx for your help !


Version 3 : Create app for healthsites_osm

Move localities_osm to healthsites_osm in v3
Clean the code
Move all API using healthsites_osm to the app
Create interface to get/fetch/put/post into osm through this (older one using api app)

Implemented on v3


Fixed the update instructions

See https://github.com/nearprotocol/stakewars/issues/103

CI failure is unrelated to the change.


Vickel: Watch mg.digital

Vickel requests the watch of the watch_keyword mg\.digital. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

mg\.digital has been seen in 1 true positive, 1 false positive, and 0 NAAs.

Approved by Jeff Schaller in Charcoal HQ


[WIP] [ITensors] add kwarg to truncate! to return RankFactorization.Spectru…

Description
The purpose of this commit is to allow the truncation error from an operation to be returned. This is the first step envisioned for that functionality.
The spectrum and truncation error from calling svd() on ITensors is not accessible from calls to truncate! and truncate. This allows the Spectrum type (which contains the spectrum and the error) to be optionally returned. This required importing RankFactorization.Spectrum in ITensors (so an added import in imports.jl) and then slightly refactoring the definition of truncate! and truncate.
This commit makes a named tuple with each element being "bond_n" where n is 1 to N-1 bonds and each element of the named tuple corresponds to the Spectrum returned from the call to svd as the bonds are swept over during the call to truncate.
All tests were run with 92979 passing and 73 broken. Total tests were 93052.
Implements #1516
If practical and applicable, please include a minimal demonstration of the previous behavior and new behavior below.
Minimal demonstration of previous behavior
truncate!(m, maxdim=10)
# or
m = truncate!(m, maxdim=10)

Minimal demonstration of new behavior
m, spec = truncate!(m, maxdim=10, return_spectrum=true)
spec.bond_1.eigs  # inspect square of singular values
spec.bond_1.truncerr # inspect truncation error

Additional Remark
I limited the scope of these changes to just truncate! and truncate. But looking forward, it would be nice to be able to get truncation error returned for any operation. For example, something like this
m, spec = contract(M, a, alg="densitymatrix", maxdim=5, return_spectrum=true)

I wasn't sure if those changes should be implemented as part of this pull request or be made in a separate pull request. So I'd appreciate feedback on what the preference there is.
How Has This Been Tested?
I verified its behavior in the MWE above. If I need to add a dedicated test let me know. I didn't see an existing one for truncate! in /ITensors.jl/src/lib/ITensorMPS/test/base/.
Checklist:

[x] My code follows the style guidelines of this project. Please run using JuliaFormatter; format(".") in the base directory of the repository (~/.julia/dev/ITensors) to format your code according to our style guidelines.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[ ] I have added tests that verify the behavior of the changes I made.
[x] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.
[ ] Any dependent changes have been merged and published in downstream modules.

Minor comment I just realized. The documentation needs to be clarified from ...and then inspect the singular values and ... to ...and then inspect the square of the singular values and ....

I don't have time to review right now, but I don't like this interface, @emstoudenmire we should discuss before merging.

I don't have time to review right now, but I don't like this interface, @emstoudenmire we should discuss before merging.

Thanks for the quick response Matt. When you do have time, I'd be interested in understanding why you don't like it and how I could improve it.

I'll close this because it would need to be implemented in ITensorMPS.jl and the design is being discussed in https://github.com/ITensor/ITensorMPS.jl/issues/96.


PRNG - Pseudo Random Number Generator

PRNG - Pseudo Random Number Generator
Grant category
Please select one:

Developer tools/services
Educational material

Description
A fully on-chain pseudo-random number generator written in Cadence and an off-chain Javascript equivalent that uses the exact same seeding mechanism (blockHash mixed with resourceID) and hence replicates the same stream of random data.
Problem statement
Using randomness is a big part of many NFT drops (randomized traits) and it's usually always done off-chain. This means it's harder to achieve transparency (most projects don't even attempt to). Also, it's prone to manipulation as has happened to several of Dapper's products.

Target audience

Developers + creators who value transparency.

Evidence for the need

15 posts on the forum mentioning randomness: https://forum.onflow.org/search?q=random and plenty in discord too, a very common question with no solutions
Off-chain randomness exploits:
https://blog.nbatopshot.com/posts/elite-pack-distribution-audit
https://blog.nflallday.com/posts/update-rams-team-nft-drop
https://nftevening.com/dapper-labs-hand-out-free-nfts-after-their-ufc-drop-is-a-total-disaster/
Proposed solution
A resource-based PRNG that lives in its own contract and can supply a stream of randomness from a provided initial seed.
Including helper functions for picking numbers in more useful and dev-friendly ways than unsafeRandom provides.
ie.
pickFrom(["sandwich","noodles", [1,9] ) one in ten chance I get a sandwich, 9/10 noodles
range(10,15) returns a random number between 10 and 15
Impact
This will allow developers to use randomness in their contracts in a far safer and more versatile way than is currently offered.
Milestones and funding

Milestone
Deliverables
Timeline
Risks
USD proposal

1 - MVP
Implementation with detailed documentation in git repo including usage examples
1 month
-
5k

X - Expansion
Write a series of in-depth articles showcasing and detailing a variety of possible implementation patterns with their pros+cons
2 months
-
10k

X - Maintenance + Adoption
Resolving users' issues and providing hands-on support to developers who wish to safely and securely use randomization in their Dapps. At least 3 projects using PRNG on mainnet
3 months
-
10k

Total funding proposed: 25k
Team

Name
Role
Bio
Contact

Julian
Developer
Flow community representative + FlipFest winner
<EMAIL_ADDRESS>

Hi @justjoolz - thanks again for your proposal!  We're reviewing and will follow up shortly.

Hi @chrisackermann - thanks for the great news!

Hey Joolz, I have in my database that only the first milestone was completed, given that this was quite a long time ago and changes made with the randomness beacon, I don't think this is relevant anymore. I'm going to close this, please let me know if this is a mistake<EMAIL_ADDRESS>


convert dynamic-conf.toml to yml

Pls try it, should work probably

Hey man - I incorporated your conversion into my own - thanks and claim a prize!


400 error in import/sync endpoint not correctly managed in UI

Steps to reproduce

Connect dataset. Use a URL that shall not be imported. E.g: http://scanme.nmap.org:8080/foo.csv
The imports endpoint returns a 400 error.

(bear in mind that check is disabled in development/testing as a convenience)
Expected result
The UI hints the user about a failure (in this case {"errors":{"imports":"Invalid URL, cannot connect dataset: http://scanme.nmap.org:8080/foo.csv"}})
Actual
The UI remains stuck on that error. Same happens with new synchronizations.

cc/ @xavijam

First changes in issue-6248 branch.


flakeboard, epicormic (logical-conflict)

This pull request was generated by the 'mq' tool

/trunk merge


Added nameToHex method

As per #36

Mind adding the hacktoberfest topic on the repo OR add this tag on this issue hacktoberfest-accepted so it counts :)

If possible, could you add the tests for this nameToHex method?

@peter279k Yep, they've been added.

After checking the latest Travis CI build log, it will present the coding style issue via vendor/bin/phpcs --extensions=php,phpt --warning-severity=0 command:
$ vendor/bin/phpcs --extensions=php,phpt --warning-severity=0

FILE: /home/travis/build/mexitek/phpColors/tests/colorConvertHex.phpt

----------------------------------------------------------------------

FOUND 1 ERROR AFFECTING 1 LINE

----------------------------------------------------------------------

 160 | ERROR | [x] Expected at least 1 space before "."; 0 found

----------------------------------------------------------------------

PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY

----------------------------------------------------------------------

@mikaykun, do you have any requested changes?
If not, I think we're going to be merged :).


Cannot update whisper color strip for local loop

It looks like we aren't able to update the whisper color strip for an existing local loop.
Steps to reproduce:

Install a local loop
Update the loop in the Loop Library to change the color of the whisper strip.
Click Update local loop button
Restart the loop
The color of the whisper strip is not changed.

Updating ticket number for tracking: HELPS-274

Updating ticket number again to HELPS-1353

This is no longer an issue and I'm going to close this issue!


Rows style depending on logged in user

Hi,
It's not a priority but could be great to customize rows style depending on logged in user.
For exemple a user can have access in read only to a lot of rows but can update only its proper rows. Today there is no visual difference between rows he can update and rows he can't.
In the rows style we can't have access to "user.Email" to know how is connected.
We can imagine an other solution declaring style on editable rows and read only rows
Wdyt about this feature ?

This is a desirable feature. Implementing it would require some architectural changes.
Currently conditional formatting is implemented using calculations done with a hidden helper formula column. The state of that column is distributed by the back-end to all connected web clients. That means the state needs to be the same for all users. Which in turn means any particular user's identity can't be included as a factor in the calculation.
An alternate implementation of conditional formatting can be imagined, one that is done in the front-end, per client. The front-end does not have access to Python though, and conditional formatting rules can currently use unconstrained Python. While there would be ways of doing user-dependent calculations using the back-end Python "data engine", they aren't very appealing.
One option for progress: If conditional formatting rules were constrained, like granular access rules, then they could be run easily in the front-end, and giving access to user information would be no problem. It is a tricky trade-off though.
Another option: Since conditional formatting was designed and implemented, we happen to have gotten some experience with running Python in the front-end via Pyodide, in the grist-static project. In principle users could have their own private little data-engine on the side now, which could give new options for full-Python conditional formatting - but also a lot of questions.
Paging @berhalak @dsagal @anaisconce in case they have other ideas or perspective.

How about a different feature: moving the rows conditional formatting from a Table level to the Section level. That way, each section could have it's own rules for formatting rows it shows. In my workflow I tend to have different pages dedicated for different users or tasks, and it feels natural to use a different styling rules in them.
Would it help in your use case @CamilleLegeron ?


[ALLUXIO-2603] Make SetAttributeOptionsTest final

https://alluxio.atlassian.net/browse/ALLUXIO-2603
To avoid accidental subclass extension

Can one of the admins verify this patch?

ok to test

add to whitelist

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/13986/
Test PASSed.


how to use this in typescript?

Nowdays, i plan to use in vue3, typescript, vite, but when i install the flowchart, it tips me to install the type, so i install the type package, but the error occurs:

and my dependencies are as follows:

how can solve this problem? Or need i to use other chart libraries?

flowchart.js has no types and since TypeScript is a superset of JavaScript, there should be no problem

@liwei478 You installed wrong package: install flowchart.js instead of flowchart.

@adrai Looks like you forgot that somebody added types for this awesome project(4 years ago 👍🏼).
https://github.com/adrai/flowchart.js/blob/master/types/index.d.ts
https://github.com/adrai/flowchart.js/pull/212

You're right... I forgot... too many open source projects 🤣


Vad filter 'list index out of range' chunk_index

faster-whisper 0.4.0
The vad filter sometimes produces an exception.
You can reproduce it by doing whisper-ctranslate2 vad2.flac --model large-v2 --vad_filter True
The file is here vad2.flac
The same file with medium model for example does not trigger the problem, I guess timestamp prediction is different and does not trigger the bug.
Traceback (most recent call last):
File "/home/jordi/.local/bin/whisper-ctranslate2", line 8, in
sys.exit(main())
File "/home/jordi/.local/lib/python3.10/site-packages/src/whisper_ctranslate2/whisper_ctranslate2.py", line 320, in main
result = Transcribe().inference(
File "/home/jordi/.local/lib/python3.10/site-packages/src/whisper_ctranslate2/transcribe.py", line 131, in inference
for segment in segments:
File "/home/jordi/.local/lib/python3.10/site-packages/faster_whisper/transcribe.py", line 729, in restore_speech_timestamps
end=ts_map.get_original_time(segment.end),
File "/home/jordi/.local/lib/python3.10/site-packages/faster_whisper/vad.py", line 206, in get_original_time
total_silence_before = self.total_silence_before[chunk_index]
IndexError: list index out of range

Thank you for reporting. I will make a new version tomorrow. Maybe we can catch other errors like this one.

Thanks so much for the quick fix!


Quality of the image is dropped significantly

I spent over 3 hours correcting problems I may have with my image, but only to realize that quality of the image is dropped significantly by this widget itself.
I am using the latest 1.4.0 version. Let's keep the same quality of the image, can we?

I have changed the _loadImage implementation to below to meet my requirements.
Obviously this is not a generic solution, but it serves my app requirements well! 👍
  Future<ui.Image> _loadImage(String image) async {
    final data = await rootBundle.load(image);
    final list = Uint8List.view(data.buffer);
    final codec = await ui.instantiateImageCodec(list, allowUpscaling: true, targetWidth: 1080);
    final frame = await codec.getNextFrame();
    return frame.image;
  }

Mind to share repro example? I couldn't notice decreased image quality after applying into example project (https://github.com/vintage/scratcher/blob/master/example/lib/basic.dart#L61) following code:
image: Image.network("https://images.pexels.com/photos/853199/pexels-photo-853199.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=3000&w=6000")

I've quickly updated the example project so that it displays high-quality image (second tab). Let me know if you see there some glitches, maybe it's issue around device itself.
https://github.com/vintage/scratcher/tree/master/example

Closing due to inactivity. Feel free to reopen with additional informations.


remove start from service haproxy

cant start yet because of missing config, start is triggered after config file is created.
fixes #95

Also reported in #115 so thanks. I'm going to merge this implementation.


Fix graph padding (Issue-207)

What is the purpose of this pull request? (Check any that's applicable)

[x] Feature
[ ] Bug fix
[ ] Dependency updates
[ ] Documentation updates
[ ] Build related changes
[ ] Changes an existing functionality
[ ] Other, please explain:

Does this introduce a breaking change?

[ ] Yes
[x] No

What changes did you make? (Give an overview)
Introduced 2 props :

removeContainerPadding - to remove carbon container top and bottom padding.
legendPadding - to set consumer's legend padding for each legend item.

Add any screenshots
Currently graph and legend padding looks like this:

Once the removeContainerPadding is set to true and legendPadding is provided:

Since prettier introduced formatting in few files, I have retained the 2 commits to make it easier to review just the necessary changes. Changes related to fix graph padding in the first commit is only in the GraphConfig.js. The other files in the first commit contains just formatting changes. The second commit contains the changes related to fix graph padding.

I'm a little confused. In the PR description, it mentioned as enhancement, but commit message says fix.
Is this enhancement or defect?

This is an enhancement. Usually we give name of the jira in the commit message. Since the issue had this name "Fix graph padding", i used the same name.

Do the newly created props applicable to all graph types?

Do the newly created props applicable to all graph types?

Yes. Added dev examples for all graph types here.

I have addressed all the comments. Please let me know if the PR is ready for merge.

@JananiGunasekaran Can you rebase with the latest branch?

We are just waiting on UX feedback on your changes. After your changes are verified by the UX team we are good to merge the PR.

@JananiGunasekaran Can you rebase with the latest branch?

@Veera81 I have rebased with the latest master changes.

@Veera81 The Travis CI - Pull Request is failing after the last 2 commits. But in my local, lint and test are all passing fine. I am not sure why it is failing here.

@JananiGunasekaran Can you delete the node modules in your local and install the dependencies and then run the tests

@JananiGunasekaran Can you delete the node modules in your local and install the dependencies and then run the tests

I deleted the node modules and built the project again. The tests are still passing after building again.

Can you please run "npm update" command in your local and push those changes into remote.

Can you please run "npm update" command in your local and push those changes into remote.

I have run "npm update" and committed the changes here. Both the checks for the PR passed now.

@Veera81 Can you please let me know when the UX team will provide feedback for this PR changes?

@Veera81 I have rebased with latest master changes.

@Veera81 After the last commit, LGTM analysis: JavaScript is failing. I couldn't find what the issue is from the logs. This is failing in my other "Fixed Selecting Paired Result Legend Item Affects Multiple Graphs" PR as well after my last commit there.

@JananiGunasekaran Quick question on two props.

Why do we need two props for removeContainerPadding and legendPadding?

What will happen if we set removeContainerPadding to true and legendPadding prop is not provided?

cc: @mraplumb

@JananiGunasekaran Quick question on two props.

Why do we need two props for removeContainerPadding and legendPadding?
What will happen if we set removeContainerPadding to true and legendPadding prop is not provided?

cc: @mraplumb

removeContainerPadding - is to remove carbon container top and bottom padding.
legendPadding - is to set consumer's legend padding for each legend item.

If we set "removeContainerPadding" prop to true, it will remove carbon container top and bottom padding. And if "legendPadding" prop is not provided, then we set the carbon default legend padding to each legend item.

@jeremyfuksa Can you please let me know if the UX review is completed for this PR? We have another jira which is dependant on this PR changes.

As I'm looking at my dev build, I'm seeing that the legend items were updated to reflect the callouts here, but the top and bottom callouts weren't followed. I'm seeing top/bottom padding of 0.

As I'm looking at my dev build, I'm seeing that the legend items were updated to reflect the callouts here, but the top and bottom callouts weren't followed. I'm seeing top/bottom padding of 0.

As per the callouts, the top and bottom padding of 10 px above and below the graph can be viewed in the screenshot below:

In this screenshot, we can see that there is 10 px padding/space above and below the canvas ( the rect ).
Also here, we have hidden x-axis and show label since in our advanced graphing project, we do not show the x-axis values and the label. In future, if there is a requirement for us to show both x-axis and the label, we are good with showing the next canvas right after the label. In that case, the screenshot will look like this:

There is this carbon documentation here which defines about the padding to the content. So by default, we have specified top and bottom padding of 10 px for the canvas/content here. Also, as specified in the docs, Flags such as showLabel and axis.x.show and axis.y.show needs to be hidden appropriately by the consumer for the padding to take effect.

:tada: This PR is included in version 2.6.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


kserve external URL

Hello @yuzisun
I have created kserve infernceservice and generated the both external ip and internal ip on my system. Now i want to access the URL from different machine how to do it? I tried getting EXTERNAL-IP and PORT from kubectl get service -n  command but the both section displays none for the inferenceservice.
Any solution for this would be helpful
Thanks in advance !!

Hello @vimal701
I also facing with same issue, when define some pod inside cluster and curl, it look worked fine, with status 200.
But when curl outside cluster, and it throw error 404.
My svc Istio also has loadbalancer.
Im was investigate but no hope.
I following doc example official .
Hope somebody can help.
I also test with Rawdeployment and deploy Gateway and VirtualService myself and it also workded fine like inside cluster ( use LoadBalancer to curl ).
@yuzisun @sivanantha321 can take a look.
Thank you.

Try following the step provided in the quick start.


Better colorschemes for the code part

Currently the website uses two different Pygments themes, one for dark mode and one for light mode. I'd like suggestions on which actual colorschemes I should be using because these have been chosen at random.
Keep in mind that it has to be two different ones for dark and light.

The obvious and only correct answer is fruity for dark and autumn for light.

I like monokai (the current one) as the dark theme. In fact, all my editors use some variant of it. Light mode, I dunno.

This is tangentially related to this. I do like monokai as well perhaps the real issue is that the colors between the toggle should be reset in a better way :)

Also related to this.

solarized-light seems nice for light theme ?


Non-cached file read with mutable=True sometimes non-mutable

The recursive call to readGlobalFile (at this line: https://github.com/BD2KGenomics/toil/blob/master/src/toil/job.py#L1237) doesn't include the mutable argument, so the file gets read as non-mutable regardless of what the outer readGlobalFile was called with.

You probably want the link to refer to a specific commit, otherwise it's gonna go stale in no time.

good catch! I'll fix that

uhhh..... maybe i'll do it after the filestore refactor

Is this blocking you on anything @adderan ?

I have it fixed in my fork, so there's no problem for me.

(y) I'll fix it in my next PR


Subscribe to Newsletter Buttons Alignment Fixed

Issue No:#5
Changes Done :

Added Flex Column
Alignment Fixed
Input Type Changed From text to email
Added Placeholder

Before:

After:

Done
1.Added Hover over the button
2.Replaced Dummy Text

Replace dummy text (Maxime quae inventore sunt odio perspiciatis vitae saepe officia dolorem.) with something good and also add hovering effect on 'subscribe' button

Done
1.Added Hover over the button
2.Replaced Dummy Text

Please resolve conflicts.

Please resolve conflicts.

@Tejashri-Taral Done !!


Png resource dosent work anyMore

Describe the bug
A clear and concise description of what the bug is.
Affected platforms

Desktop (Windows, Linux, macOS)
iOS
Web (K/Wasm) - Canvas based API
Web (K/JS) - Canvas based API
Web (K/JS) - HTML library

Versions

Kotlin version*:
Compose Multiplatform version*:
OS version(s)* (required for Desktop and iOS issues):
OS architecture (x86 or arm64):
Device (model or simulator for iOS issues):
JDK (for desktop issues):

To Reproduce
Steps and/or the code snippet to reproduce the behavior:

Go to '...'
Click on '...'
Scroll down to '...'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


Art: Homes

Most people have a house where they control access and decorate in the style of their choosing, from mundane to fantastical elements or even warped realities.
Inspiration

Perhaps we can go on a VR field trip to check out various styles of homes for inspiration. Here are some worlds I've collected:
Moody by Fins

https://vrchat.com/home/launch?worldId=wrld_acfd9876-5c18-4012-82c0-b00c89afc99d&instanceId=0
Home of The Time by fr1ed

https://vrchat.com/home/launch?worldId=wrld_60f27ea7-a9f0-4aca-aecd-9aba18c86ed9&instanceId=42261
LA Style Mansion by spookyghostboo

https://vrchat.com/i/demographic-kickblook-7f8ed
https://booth.pm/en/items/2535448
Home Kit (as seen at Vket) by ecochin

https://booth.pm/en/items/1570582

https://ecochin.booth.pm/items/1980124
Other things on Booth.pm worth checking

https://booth.pm/en/items/2906861
https://booth.pm/en/items/2912266
https://booth.pm/en/items/2973456
https://booth.pm/en/items/1509768

I've also got tons of ideas of shipping container homes posted here: https://slate.host/jin/shippingcontainers

It would be very interesting to stack them together.

Renderdog had a beautiful concept going with Hito's Free Thought Cafe:

We can use a different shipping container than the one I've been using for the home space. If we use a standard sized shipping container, it might turn into something practically useful since the interior designs can be adapted to IRL plus they are portable across different zones / virtual worlds.

Shipping containers

https://www.cgtrader.com/3d-models/industrial/other/low-poly-pbr-shipping-container
https://www.cgtrader.com/3d-models/industrial/other/48-shipping-containers-set
https://www.cgtrader.com/3d-models/interior/other/wa-06d34dbd-143c-4388-83a2-634352d56ae4

Japanese Town (comes with individual homes)

https://booth.pm/en/items/1979962
https://assetstore.unity.com/packages/3d/environments/urban/shouwa-80-s-japanese-town-model-set-vol-1-house-91384

I like how self contained and fenced the Japanese town assets are. These can serve as design inspiration. Maybe the roofs can be fitted with solar panels?

Maybe the roofs can be fitted with solar panels?

That part doesn’t make sense to me, unless solar energy is simulated.

I’m trying to think about the layout here.
It seems like we will have the generated city (https://github.com/webaverse/app/issues/1365) which will take up a lot space and has its own land slots, and therefore possibly home spaces.
There can also be bare home space slots elsewhere, which are empty, which it seems what this issue is talking about.
And then there is home spaces in isolation mode.
Have we thought about how to reconcile all of these to keep it from being confusing?

Have we thought about how to reconcile all of these to keep it from being confusing?

Floating islands perhaps? Simulated Virtual Reality?

I devote a week exclusively to thinking about spaces, and I have opinions on what won't work. The main thing that won't work is making these design decisions (especially if it involves art ideas) and backporting them to the implementation (because I tried that).
I think before we start thinking about the homes we're designing or even opening Blender, we need to have a thorough writeup of the gameplay and logic this fits into (Blender can help).
What are these spaces?
Who is using them? For what?
Are there different types of spaces? How do they differ?
Can a space be in two places at once?
Can a space be carried in your pocket?
Is a space always owned or are there spaces with no owner?
Can you walk from a space to a space? What is the layout? Is there a background outside of spaces?
Can two spaces link up like a Game Boy Game Link Cable?
Does a space come blank, or does it come with non-editable stuff, or does it come with editable stuff?

Will open an issue for the above.


Farewell dependabot 👋

Renovate has taken over.

Assuming that having dependabot could not produce the CI failures, merging.


Support for cluster auto scaling

It would be greater if autoscaling is supported with autoscaling agents such as in terraform-hcloud-kube-hetzner

Yes, that would be a great feature. Unfortunately, it is not currently planned. Maybe I will implement it in the future. PRs are welcome.


Continue Support for Scala 2.11

We've just upgraded most of our stack to 2.11 and see that your latest release (1.12.0) is not published in Maven Central.  We've not migrated any of our projects to Scala 2.12 yet and is a sizable effort so it will not come quickly.
Can you please continue to publish releases to Maven Central for Scala 2.11?

We are using akka-http-circe

Sync from Bintray to Maven Central didn't work properly. I tried again, hopefully the artifacts show up on Maven Central soon. If not, please use the Bintray resolver shown in the README.


Fix code font-size in function declarations

The font size in function declarations was rendered in --page-font-size before. This was a bit large and inconsistent with code in other places, so this change fixes it to --code-font-size.

I kind of prefer the current font-size over what you propose, it feels like the visual weight is more balanced if the font is a bit larger...
Maybe this should be made configurable by a separate variable instead? 🤔
Thanks for pointing out the typos: https://github.com/jothepro/doxygen-awesome-css/commit/a309d635604a74b2775c7f74958898ed6e36353c

I found the font size too large particularly for long function declarations, e.g. in template code. The real problem is that horizontal scroll bars appear, so the function declaration is obscured. Making the font size smaller fixed this issue partially. Here's an example with the font size from this PR, which is better than the larger font size, but not perfect:

FYI I've decided to not change the font-size of the function declarations for now. But I've added a CSS variable --memname-font-size for convenience that allows to configure the size independently.
Let me know if that works for you! :)

Sounds good 👍


Allow us to set Docker's Memory Usage

Context
Within the docker.ts file there are two methods: getLinuxCommand and getWindowsCommand that return the docker run command string. There is no way for us to set the memory usage of this docker container that runs.
Suggested solution
Add -m argument to docker run command that takes an input from the Builder's Configuration Options. For example:
- uses: game-ci/unity-builder@v2
  with:
    dockerMemory: 4GB

Considered alternatives
Did not consider alternatives
Additional details
The reason for this is because when using a GitHub hosted Runner the VM has 7GB of RAM, and Unity Builder seems to think all of it is available to it - see snippet from Builder's log:
###########################
#    Building project     #
###########################

Unity Editor version:    2021.3.6f1 (7da38d85baf6)
Branch:                  2021.3/staging
Build type:              Release
Batch mode:              YES
System name:             Linux
Distro version:          #45-Ubuntu SMP Mon Apr 24 15:40:42 UTC 2023
Kernel version:          5.15.0-1038-azure
Architecture:            x86_64
Available memory:        6943 MB

The docker container however does not have that much memory and this causes the container to run out of memory when building giving an Build failed, with exit code 137 because Unity Builder is trying to use more memory than what has been allocated to the container.
Adding the ability to set the memory allocation for the docker container will allow us to increase it to match what the Builder thinks is actually available.

Anything on this ?

Not sure if the proposed solution will work but we're always open to contributions! Counting on the community for this enhancement.

I mentioned this a while ago here https://github.com/game-ci/unity-builder/issues/432

We are also seeing this issue when using our kubernetes ARSS GHA runners to process jobs. As part of this setup, we are using a docker-in-docker setup where each runner pod has a runner container and a DinD container with daemon exposed to the runner.
What we see is a similar issue where the unity app seems to be reporting the total memory of the VM/node that it's running in rather than the request/limit set for the DinD container. This leads to frequent OOMs (exit code 137).
We have tried using the dockerCpuLimit and dockerMemoryLimit parameters, but this didn't seem to help. It only served to fix an invalid argument issue where not setting these values would result in this error:
docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error setting cgroup config for procHooks process: failed to write "9600000": write /sys/fs/cgroup/cpu,cpuacct/docker/286f35cb2ba3747ba53b449baea9a5a89632de7e218cd256a2d85b3c4e5fbd22/cpu.cfs_quota_us: invalid argument: unknown.
Error: Build failed with exit code 125

Our current best theory is this is related to this issue - https://github.com/moby/moby/issues/45378, but we have not been able to implement this fix successfully.
I'm wondering if there's any way to handle this on the game-ci side via some tweaks to the docker images or maybe something like an environment variable that tells unity the amount of memory it's allowed to use if such a thing exists.


Groups handling

Hi,
This PR aims to add groups support on "_ajaxCallback".
I also added two parameters to "_addGroup" defaulted to "value" and "label" to preserve customized properties names.
Thanks.

Thanks - could you provide an example config please :)

I didn't provide one because it's not in the configuration object :)
The problem occured if the data received during an Ajax request where, for example, of this form :
[
	{
		"label": "France",
		"choices": [
			{ "libelle": "Paris", "code": "PAR"},
			{ "libelle": "Nantes", "code": "NTE"},
			{ "libelle": "Nice", "code": "NCE"},
			{ "libelle": "Bordeaux", "code": "BOD"}
		]
	}
]

The callback passed when running "ajax" method :
formControl.multiselect.ajax((callback) => {
     ...
     if (request.readyState === 4) {
          status = request.status;
               if (status === 200) {
                    data = JSON.parse(request.responseText);
                    callback(data, 'code', 'libelle', true);
               }
     }
     request.send();
     ...
});

The callback was only able to create choices so I added a "_addGroup" call.
But the  "_addGroup" method was always looking for "value" and "label" properties, ignoring the attributes 'code' and 'libelle' passed to the callback so I added necessary parameters.

Hey, what is the fourth argument for in your example?
callback(data, 'code', 'libelle', true);
Thanks

A mistake in my code :)
Thanks for noticing.

Okay, thanks! :D


404 at /engine/reference/api/v1.28/

Problem description

https://docs.docker.com/edge/ Has broken link to 1.28 API
Problem location

I saw a problem on the following URL:

I couldn't find the information I wanted. I expected to find it near the following URL:

Other:

Project version(s) affected

Suggestions for a fix

1.29 is also broken. :)


Create Index Changeset - attribute to control if index is created concurrently

For postgres, create index documentation states:
https://www.postgresql.org/docs/current/sql-createindex.html

Creating an index can interfere with regular operation of a database. Normally PostgreSQL locks the table to be indexed against writes and performs the entire index build with a single scan of the table. Other transactions can still read the table, but if they try to insert, update, or delete rows in the table they will block until the index build is finished. This could have a severe effect if the system is a live production database. Very large tables can take many hours to be indexed, and even for smaller tables, an index build can lock out writers for periods that are unacceptably long for a production system.
PostgreSQL supports building indexes without locking out writes. This method is invoked by specifying the CONCURRENTLY option of CREATE INDEX. When this option is used, PostgreSQL must perform two scans of the table, and in addition it must wait for all existing transactions that could potentially modify or use the index to terminate. Thus this method requires more total work than a standard index build and takes significantly longer to complete. However, since it allows normal operations to continue while the index is built, this method is useful for adding new indexes in a production environment. Of course, the extra CPU and I/O load imposed by the index creation might slow other operations.

At the moment, this negates the use of create index changeset for already populated tables.
Instead, an sql changeset must be used.
Could I suggest implementing an additional boolean attribute 'concurrently' to support this capability?

Hello! Will add to the feature request board, but it can take a while, in case you want to accelerate the process I suggest making a PR with the suggested change. Thanks for submitting this issue!
}

Is the async nature of CREATE INDEX CONCURRENTLY likely to be a problem for how Liquibase wants to handle the migration?
I guess what I'm asking is, is this "just" adding a flag to insert CONCURRENTLY into the CREATE INDEX statement or is there a more significant rework necessary to support this?


Seeking Advice: Queue Worker Implementation on Supabase Edge Functions

disclaimer: got sent to issues from Discussions and Discord so there is a chance developer can see this message.
Hello everyone,
I’m currently working on an open-source queue worker built on top of Supabase Edge Functions as part of a larger, Postgres-centric workflow orchestration engine that I’ve been developing full-time for the last two months. I’d greatly appreciate any guidance on leveraging the Edge Runtime to build a robust, community-oriented solution. Insights from both the Supabase team and the community would be invaluable.

Current Approach

The worker process starts when the Edge Function boots (outside the Deno request handler).
Immediately after boot, its main loop is scheduled using waitUntil.
It connects to Postgres and uses pgmq.read_with_poll to continuously read messages from a target queue.
When a message arrives, the handler runs, and its promise is also managed via waitUntil.

Handling CPU/Wall Time Limits
At some point, the worker may hit its CPU or wall-clock time limit, triggering the onbeforeunload event. From what I’ve learned, once onbeforeunload fires, that Edge Function instance no longer accepts new requests. To ensure continuity, I issue an HTTP request to /api/v1/functions/my-worker-fn, effectively spawning a new Edge Function instance that starts a fresh worker.
Disclaimer:
I’m not currently tracking these workers in a database nor performing any heartbeats. However, I will add this soon to control the number of spawned workers and better manage the overall process.

Questions

Compliance: Is this pattern—specifically spawning a new instance when onbeforeunload fires—aligned with the Terms of Service for Edge Functions?
Instance Limits: Are there any rules or limitations on how frequently new instances can be spawned or how many instances can run concurrently?
Graceful Shutdown: Beyond onbeforeunload, are there other events or APIs I can use to achieve a more graceful shutdown process?
Roadmap & Collaboration: Is Supabase considering a built-in solution for similar use cases? I’d be happy to collaborate rather than reinvent the wheel.

Next Steps & Feedback
I plan to release this worker component soon to gather feedback. While it’s just one building block of the larger orchestration engine I’m developing, ensuring it aligns with best practices and community standards is a top priority.
Thank you for your time and any insights you can share!

Hey @jumski, thanks for sharing this project, it seems super interesting!
My only concern about relying on Edge Functions to run a long running process like this is that the process isn't supervised.
If anything goes wrong or your function crashes, how do you ensure that the poller restarts correctly?


[Chore] Integrate Bootstrap to Webpack

Integrate Bootstrap Framework to Webpack
Acceptance criteria

[ ] The app can use Bootstrap css

This ticket will be added by the Homepage feature: https://github.com/byhbt/kwtool/issues/1


feature: move snapshot management to container's create and remove

Signed-off-by: skoo87<EMAIL_ADDRESS>
1.Describe what this PR did
Now, when create a container, will create a snapshot with container's
id. After container be stopped, the snapshot will not be removed until
the container be removed.
2.Does this pull request fix one issue?

3.Describe how you did it
4.Describe how to verify it
5.Special notes for reviews

@allencloud please review it.

ping @allencloud

LGTM


[Flink 36245] Remove legacy SourceFunction / SinkFunction / Sink V1 API in 2.0

What is the purpose of the change
Remove legacy SourceFunction / SinkFunction / Sink V1 API in 2.0
Brief change log

Rename SourceFunction / SinkFunction to LegacySourceFunction / LegacySinkFunction, and mark them as Internal interface. Some class that implemented SourceFunction / SinkFunction with PublicEvolving were also renamed.
Remove Sink V1 API and relevant usage.

Verifying this change
All test case that used Sink V1 API had been rewritten with Sink V2 API.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): yes (only test scope)
The public API, i.e., is any changed class annotated with @Public(Evolving): yes
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: no
The S3 file system connector: no

Documentation
A document to guide user to update SourceFunction with Source API is needed.

Hi @PatrickRen, could you please help to review this as I'm not really familiar with the API norms.

@flinkbot run azure

For the ArchTest of connectors, I'm not sure disabling all of them directly is the right solution. If I understand correctly, we need to add those connector classes that violates the rule into the archunit-violations directory.

Thanks for this suggestion, modified according to the suggestion.

@flinkbot run azure

@lvyanquan Hi, I find some examples under flink-examples-streaming cannot work due to the flink-connector-kafka  version 3.0.0-1.17 still rely on StatefulSink. Is this expected?

@lvyanquan Hi, I find some examples under flink-examples-streaming cannot work due to the flink-connector-kafka version 3.0.0-1.17 still rely on StatefulSink. Is this expected?

Yes, this is expected. StatefulSink was marked as Depreciated in 1.19 and removed in 2.0, we need to release a new Kafka connector version quickly after the Flink 2.0-preview release, I've created a jira to trace this https://issues.apache.org/jira/browse/FLINK-36413.

@lvyanquan Hi, I find some examples under flink-examples-streaming cannot work due to the flink-connector-kafka version 3.0.0-1.17 still rely on StatefulSink. Is this expected?

Yes, this is expected. StatefulSink was marked as Depreciated in 1.19 and removed in 2.0, we need to release a new Kafka connector version quickly after the Flink 2.0-preview release, I've created a jira to trace this https://issues.apache.org/jira/browse/FLINK-36413.

OK, got it.


Create sandesh

Not sure what this is about... Closing.

how to create rails repository and files in it


test https://github.com/openshift/library-go/pull/1910

to pull https://github.com/openshift/library-go/pull/1882 and https://github.com/openshift/library-go/pull/1910

/retest

/assign @eggfoobar

/lgtm
/retest-required


WIP Bintray to Artifactory conversion

Adresses #1318.
Implements

Artifactory-Maven-Plugin instead of Bintray-Maven-Plugin (https://github.com/maybeec/artifactory-maven-plugin)
Currently temporary values that have to be adapted

@devonfw/cobigen

Deprecated


Initial setup of Hololens2, typing very hard as calibration not an option till registered.

Describe the bug
When first setting up the Hololens2 and logging into to your profile, entering Wifi pasword etc it is quite hard to type on the keyboard due to no calibration app running so it being at the default IPD.
You are unable to run the calibration app as it is locked behind in the normal windows menu screen which you can't access until you have registered. Basically a catch 22.
Would be ideal to first have the calibration app run as default before the setup screen, and then it saves this information and assigns it to the first user.
A secondary less preferred option is to run the calibration app, have it assign a temporary IPD to the user, finish the setup and then rerun the calibration to assign a permanent IPD.
Either way will allow for a more easier starting experience.
To reproduce

Flash a device
Enter the registration mode
Type in your email/wifi password to bring up the keyboard

Expected behavior
Would expect to be able to type easily on the first menu screen.
Screenshots
n/a
Your Setup (please complete the following information)

Unity Version  2018.4.2.f1
MRTK Version  v2.0 RC1 refresh

Target Platform (please complete the following information)

HoloLens 2

Additional context
Bug discovered at Melbourne MR Hololens 2 hack.

We can carry on this feedback to the underlying OS team - from what I can gather from this issue, this is actually feedback for the HoloLens 2 out of box/initial setup experience and not MRTK related.

Thanks for the feedback! We are working on improving eye calibration experience internally. Closing as we can't do much about it in MRTK. I've passed this feedback along.


Add gift card info to order money section

I want to merge this change because it adds info about money from gift card in order payment section

PR intended to be tested with API branch:
Screenshots

Pull Request Checklist

[ ] This code contains UI changes
[ ] All visible strings are translated with proper context including data-formatting
[ ] Attributes [data-test-id] are added for new elements
[ ] Changes are mentioned in the changelog
[ ] The changes are tested in different browsers and in light/dark mode

Test environment config

API_URI=https://master.staging.saleor.cloud/graphql/

Task linked: SALEOR-3949 Add gift card section to money card in order


Move profile menu to opposite side of navbar on mobile

The place of the profile button is already classically considered the opposite side of the burger, this would be a better solution than placing the logout of user info right below the menu in the burger

:tada: This issue has been resolved in version 1.4.41 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Filters causing massive performance hit

I am programmatically generating SVG documents and rasterizing them to PNG. In my documents, I make use of filter in the defs section in order to do some XOR operations on various shapes. The issue though is this drastically impacts export time. In the sample I provided, there are a total of 10 filters. Using the standalone resvg.exe to export takes over 4 seconds to render this image.

Running a test of only keeping a single feImage in the filter still yields a high export time of around 1 second.
Here's the SVG I'm testing with

Here's the flamegraph from running

Doing some more investigation, this
<svg style="background-color: white" viewBox="-1 6 2000 3506" xmlns="http://www.w3.org/2000/svg">
    <rect height="100%" style="filter:url(#test_filter)" width="100%" />
    <defs>
        <ellipse cx="847" cy="2165" fill="rgb(0, 0, 0)" id="shape" rx="22" ry="22" />
        <filter filterUnits="userSpaceOnUse" id="test_filter">
            <feImage href="#shape" x="0" y="0" />
        </filter>
    </defs>
</svg>

takes 86ms to render, while this
<svg style="background-color: white" viewBox="-1 6 2000 3506" xmlns="http://www.w3.org/2000/svg">
    <!-- <rect height="100%" style="filter:url(#test_filter)" width="100%" /> -->
    <ellipse cx="847" cy="2165" fill="rgb(0, 0, 0)" id="shape" rx="22" ry="22" />
    <!-- <defs>
        <ellipse cx="847" cy="2165" fill="rgb(0, 0, 0)" id="shape" rx="22" ry="22" />
        <filter filterUnits="userSpaceOnUse" id="test_filter">
            <feImage href="#shape" x="0" y="0" />
        </filter>
    </defs> -->
</svg>

takes 4ms.

Yeah that's fair. I was avoiding having to calculate the bounding boxes of the resulting filter output but I'll likely need to do that and constrain the "placeholder" rectangle to take up that space.
Thank you!


Delete unused classes.

Just wondering if these were ever used / when we stopped using them. Also what did they even do.
Otherwise :ship:

@etanshaul they were part of a prototype that Nabila built to add syncing your Android Studio IDE settings to the cloud.

ok cool. lgtm


CHANGELOG.md for new release

Issue #, if available:
Description of changes:
Let us get a new release out of the door!
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

What is the number of the next release? Are there any rules on this one?


Feature request: Create switch/button in Home Assistant for restarting NUKI Hub

Can we have an out of the box switch (or button meanwhile) entity in Home Assistant for restarting the NUKI hub?

I had some situations where this was needed, physical access to the ESP was not possible and logging in to the web interface (open MQTT/network settings and click save to trigger restart) is only possible for me (due to the access protection) but still neither handy nor quickly.
Latest occurrence (which made me finally write this FR) by the way: SL died (Bluetooth died), pulled the battery. After that, NUKI hub did not reconnect automatically within few minutes - at least changing settings (LED off/on etc.) from HA had no effect on the SL. For that a quick restart sent from HA would just be perfect.

Hi, you can already connect with MQTT explorer and trigger a reboot by setting the maintenance/reset node to 1.

OK that's good news - and a welcome prerequisite for the target of having an entity for that in HA.
Step 1: how to template this? (MQTT noob asking)
Step 2: why not making this button available out of the box?

You can easily setup a button (trigger the "MQTT: Publish" service) that will publish an MQTT packet with topic: nuki/maintenance/reset with payload 1.

You can easily setup a button (trigger the "MQTT: Publish" service) that will publish an MQTT packet with topic: nuki/maintenance/reset with payload 1.

How?
To be precise: not talking bout a simple GUI button but a button.nuki_hub_restart entity.
If one could provide a full working example, that would be helpful I guess.

You can either template the button with Home Assistant (https://www.home-assistant.io/integrations/template/) manually or extend nuki_hub by adding mqtt autodiscovery for the button

Sorry, still no news - I'm really looking for a working example on how to achieve this.

@bcutter I don't want to sound harsh, but you could look that up in HA's MQTT documentation.

Check Release 8.21.

Veeeeery nice. Two new entites per NUKI hub! 🎉🥳
And the restart works like a charme. Thank you so much!


chore: upgrade packages to fix cves

CVE-2022-46908
CVE-2021-31239
CVE-2023-36191
CVE-2023-29401
upgraded sql migrate and gin
Secure Coding Practices Checklist GitHub Link

https://github.com/RedHatInsights/secure-coding-checklist

Secure Coding Checklist

[x] Input Validation
[x] Output Encoding
[x] Authentication and Password Management
[x] Session Management
[x] Access Control
[x] Cryptographic Practices
[x] Error Handling and Logging
[x] Data Protection
[x] Communication Security
[x] System Configuration
[x] Database Security
[x] File Management
[x] Memory Management
[x] General Coding Practices

Codecov Report
Patch coverage: 70.00% and project coverage change: -0.07 :warning:

Comparison is base (b13e429) 60.72% compared to head (3c821c8) 60.66%.

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

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #173      +/-   ##
==========================================
- Coverage   60.72%   60.66%   -0.07%
==========================================
  Files          46       46
  Lines        2829     2832       +3
==========================================
  Hits         1718     1718
- Misses        919      921       +2
- Partials      192      193       +1

Flag
Coverage Δ

unittests
60.66% <70.00%> (-0.07%)
:arrow_down:

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

Impacted Files
Coverage Δ

base/utils/payload_tracker.go
70.27% <25.00%> (-6.21%)
:arrow_down:

digestwriter/consumer.go
53.62% <100.00%> (ø)

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

/retest


Personal Profiles

added the profiles of each person
fixed the search now show and toggle of search button
fixed the endpoints of the buttons

Looks good!


Fix Ansible playbooks (Vagrant test infra) for K8s 1.22

In the playbooks, we always use the latest available version of K8s. K8s
v1.22 was just released, and one of the included changes was preventing
the Vagrant-based cluster from being provisioned successfully.
See https://github.com/kubernetes/kubernetes/pull/99647
This change requires us to configure the systemd cgroup explicitly for
Docker, or kubelet will refuse to run.
Signed-off-by: Antonin Bas<EMAIL_ADDRESS>

Codecov Report

Merging #2543 (876461e) into main (9ea4e86) will decrease coverage by 16.56%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             main    #2543       +/-   ##
===========================================
- Coverage   58.82%   42.26%   -16.57%
===========================================
  Files         281      148      -133
  Lines       22271    18270     -4001
===========================================
- Hits        13101     7721     -5380
- Misses       7796     9855     +2059
+ Partials     1374      694      -680

Flag
Coverage Δ

kind-e2e-tests
?

unit-tests
42.26% <ø> (+0.01%)
:arrow_up:

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


SASS/CSS not recognized for new components

When a new component is created the new SASS file gets not compiled to CSS which then causes an error of a broken import.
react-scripts start needs to be restarted all the time.

Is there any plan to replace SASS with PostCSS, making this obsolete?

No it won't be replaced by PostCSS.
But this issue was solved by 838cb292058d669b41607531f771afc7d127893f


Assertion panics

Hi,
I'm still trying to figure out why it happens (it's not easy to get backtrace on a panic without std)
But I'm getting a panic here:
thread panicked at 'Box<Any>', /root/.cargo/registry/src/github.com-1ecc6299db9ec823/hashbrown-0.3.0/src/raw/mod.rs:1078:9

If that's a known thing or if you have any ideas help is welcome :)
Thanks!
https://github.com/rust-lang/hashbrown/blob/4368aa436cfcb2160bc0efddd49fc073e4a486a0/src/raw/mod.rs#L1078

Your allocator is not returning properly aligned memory.

@Amanieu you have any idea what can cause that? can a memory leak somewhere cause this? maybe something else?

It's a bug in whatever allocator you are using in no_std.


Sympy-symengine roundtrip failure

Symengine doesn't get identical expression after sympifyed with SymPy.
import sympy, symengine

a, b = symengine.symbols("a b")
expr = - ((1/2) * a - (1/2) * b)
expr_roundtrip = symengine.sympify(sympy.sympify(expr))

expr == expr_roundtrip  # false

This is because sympy automatically (implicitly) does expand to the expression.
expr  # -(0.5*a - 0.5*b)
expr_roundtrip  # -0.5*a + 0.5*b

This works
import sympy, symengine

a, b = symengine.symbols("a b")
expr = - ((1/2) * a - (1/2) * b)
expr = expr.expand()
expr_roundtrip = symengine.sympify(sympy.sympify(expr))

expr == expr_roundtrip  # true

This use case is sometimes important because symengine doesn't support serialization of expressions, i.e.
import symengine, sympy

expr_txt = sympy.srepr(sympy.sympify(expr))  # save this in file-like object
expr_roundtrip = symengine.sympify(sympy.parse_expr(expr_txt))  # retrieve

This use case is sometimes important because symengine doesn't support serialization of expressions, i.e.

symengine does support pickle. You can also convert to string and parse it back, but pickle.dumps is preferred over this method.

Is there a method to extract the cereal generated data without using pickle? Similarly is there also a way to create a new expression object directly from the serialized representation? In the use case @nkanazawa1989 and I are working on we can't use the pickle module because it opens up an opportunity for arbitrary code execution so we need a way to serialize and recreate an expression object directly using symengine's api.

Loading is a separate method already. https://github.com/symengine/symengine.py/blob/master/symengine/lib/symengine_wrapper.pyx#L829-L830
Can do the same for saving at https://github.com/symengine/symengine.py/blob/master/symengine/lib/symengine_wrapper.pyx#L843-L845
One issue is that we are using pickle internally for Symbol subclasses which means there's an opportunity for arbitrary code execution. So, you'll have to make sure you don't have Symbol subclasses.

Thanks @isuruf I found one (probably) edge case:
import pickle
import symengine as sym

val = sym.symbols("val")
expr = sym.I * val

pickle.loads(pickle.dumps(expr))

This works, however, when I apply complex double coefficient
import pickle
import symengine as sym

val = sym.symbols("val")
expr = 1.0 * sym.I * val

pickle.loads(pickle.dumps(expr))

raises
RuntimeError: /Users/runner/miniforge3/conda-bld/symengine-wheels_1646701063069/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/include/symengine/serialize-cereal.h:653: RCP<const SymEngine::Basic> SymEngine::load_basic(Archive &, RCP<const T> &, typename std::enable_if<!(std::is_base_of<Relational, T>::value || std::is_base_of<OneArgFunction, T>::value || std::is_base_of<MultiArgFunction, T>::value || std::is_base_of<TwoArgFunction, T>::value), int>::type *) [Archive = cereal::PortableBinaryInputArchive, T = SymEngine::ComplexDouble]Loading of this type is not implemented.

though it can generate some binary (just cannot load). So seems like we still need to rely on sympy parser (and thus we need implicit expand in symengine), or upgrade symengine deserializer in this case.

Should be fixed with https://github.com/symengine/symengine/pull/1913


Do we have any alternative of Venn Diagram in Echarts 3

Do we have any alternative of Venn Diagram in Echarts 3.
I want to use Venn Diagram in my project and I have used Echarts 3 for rest of my visualization but I don't find Venn Diagram in Echarts 3.
Can anyone help.
Thanks in advance.

Sorry,  ECharts3 don't support Venn diagram anymore. Please use http://www.benfrederickson.com/venn-diagrams-with-d3.js/ as an alternative.

Can I use multiple versions of Echarts V2 and V3 in same application.
As Venn diagram is in V2.

Yes, it's possible if you use JS modules like AMD, CommonJS, ES6 modules.

Thanks @pissang , is it possible to draw venn diagram with five circles in Echarts V2.
I am new and don't find any solution for that as well.


Get Richer data

We need to get better data for the language model. This spreadsheet explains what we are utilizing currently:
https://docs.google.com/spreadsheets/d/1JzdWpDeB5gWeXaw99akgy8virZq7ERiS6WcZKXKNf0k/edit#gid=0
We need to figure out which files from here are not too expensive (Tom question) and maybe good for the LM to train on. https://www.cbs.nl/en-gb/our-services/customised-services-microdata/microdata-conducting-your-own-research/microdata-catalogue

we have data now; should maybe process them better.


Be 636

What is the purpose of the change:
WIP
Linear Task

Brief Changelog

Testing and Verifying

@deividaspetraitis any ideas why you have 2 month old commits on your branch?

@deividaspetraitis any ideas why you have 2 month old commits on your branch?

Oh, I think my branch was created on wrong base ( master ) instead of stage. Fixed and opened new PR: https://github.com/osmosis-labs/osmosis-frontend/pull/3955


[Service Bus] Update Hello World sample to use the processor

Library or service name.
Azure.Messaging.ServiceBus
Is your feature request related to a problem? Please describe.
The hello world sample for receiving messages uses the ReceiveMessagesAsync() method where as it is the processor model that we want to present as the getting started path.
Same for the package readme

The quickstart uses the processor, and the README has a section for the processor.


Average values

First of all, thank you for this awesome piece of work.
I noticed the filter: average, values are not showing up properly. I think they are being rounded to "K" (1000) values.
['Barrier Damage Done - Avg per 10 Min', '5', 'Deaths - Avg per 10 Min', '0', 'Hero Damage Done - Avg per 10 Min', '12', 'Time Spent on Fire - Avg per 10 Min', '0', 'Solo Kills - Avg per 10 Min', '0', 'Objective Time - Avg per 10 Min', '0', 'Objective Kills - Avg per 10 Min', '0', 'Healing Done - Avg per 10 Min', '4', 'Final {count, plural, one {Blow} other {Blows}} - Avg per 10 Min', '0', 'Eliminations - Avg per 10 Min', '0', 'All Damage Done - Avg per 10 Min', '17']

This appears to be a issue on Blizzard’s end. This library pulls the data straight down from playoverwatch.com, whatever is displayed there is what gets scraped.


RadzenDataGrid with list as FilterValue & FilterOperator.Contains

Is your feature request related to a problem? Please describe.
I have an Object in a RadzenDataGrid, one field is a list of another object. Its basically 3 options with multiple choice. To show them in the grid, I aggregated them as a comma-seperated string.
Now I would also like to filter the Grid based on those 3 states. So I added a FilterTemplate with a RadzenDropDown to select the option(s) to search for. The FilterOperator is set to Contains.
But it only finds exact matches: entries which have just that the value that was selected. If I selected 2 options from the RadzenDropDown, then it will find all options with either value.
Describe the solution you'd like
So what I would like is
A) The FilterOperator Contains to be able to search a string for multiple values.
It would also be nice to be able to handle scenarios where it has to intersect 2 lists (filter & value property).
B) A way to set/override a custom filter operation, which determines whether an entry is filtered. This would give developer a great deal of flexibility in other scenarios as well.
Describe alternatives you've considered
I also considered just changing the data the grid gets, based on the selected filter. But this will interferes with some logic in my FooterTemplate that uses purchasesGrid.View.Count() to show the total entry count.

There are at least three examples showing how to filter single column by multiple values:
https://blazor.radzen.com/datagrid-loaddata
https://blazor.radzen.com/datagrid-odata
https://blazor.radzen.com/datagrid-filter-template

The examples that have multiple selection filter, all only have exact matches. None of the examples has entries that would be find by contains anyways.
When debugging it seems like the FilterOperator.Contains is not available if the FilterValue is an IEnumerable.

I implemented my use case not with my possible alternative, somewhat similar to your loaddata example.
Its not perfectly clean, since I'm working next to Radzen.Blazor and forces me to use another copy to store the full list vs the filtered list.
But its fine for my use case now. Thank you for your time.


Required fields marked with a wildcard

Description
What's new?

#135

What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Tests
[ ] Other

Checklist before merge
Developer's responsibilities

[x] This pull request merges to main
[x] Approved by at least one developer
[x] Pull request build has passed
[ ] Staging app has been deployed successfully

Product Owner's responsibilities

[ ] No issues have been found on staging environment
[ ] Product Owner has approved the release

Hi @audserraCGI,
As we discussed today, I'll close this PR and remove that, in order to change the implementation.


Fix behavior low cardinality setting in creating materialized view (Fix #6293)

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en
For changelog. Remove if this is non-significant change.
Fix #6293
Category (leave one):

Bug Fix. Small one.

Short description (up to few sentences):
Materialized view now could be created with any low cardinality types regardless to the setting about suspicious low cardinality types.

The main issue is not the "allow_suspicious_low_cardinality_types" but LowCardinality itself.
desc (select x='a' bool from (select toLowCardinality('a') x))
┌─name─┬─type──────────────────┬
│ bool │ LowCardinality(UInt8) │
└──────┴───────────────────────┴

EXPECTED:
┌─name─┬─type──────────────────┬
│ bool │ UInt8 │
└──────┴───────────────────────┴

@den-crane, the idea of improvement of implicit casts of LowCardinality is good, but unfortunately it is very expensive because of current architecture. So, I think this change is enough for scope of this issue. Could you please create another one?

OK.
Done https://github.com/yandex/ClickHouse/issues/6432


chore(master): release 1.4.5

:robot: I have created a release beep boop
1.4.5 (2022-06-09)
Bug Fixes

fix tagsview not work (d88e051)
fix tagsview not work (1bf2d4c)

Types

fix types error (586486a)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/kailong321200875/vue-element-plus-admin/releases/tag/v1.4.5 :sunflower:


WS_* Messages are not on find list

WS_* Messages are not on find list

I discovered it's not a bug, it's the situation that some unit are not in pas, but in dcu. So I'll need to create a way to ready things from DCU files. There is an open ticket for it, I'll close this.


Docker image digest incorrect at docker hub

Please provide a brief summary of the bug
I'm using the eclipse-temurin:11.0.17_8-jre image for linux/amd64 from docker hub. According to the tags page, https://hub.docker.com/_/eclipse-temurin/tags?page=1&name=11.0.17_8-jre, the digest of that image should be Digest:sha256:772b0000ef09d2099ef07d1df87b12d942248419e79ff46fa739a5feb617e543. However, the image I pulled has Digest:sha256:81b132098ddaba7dc53b67e23e83452f458029a8eeafde911a3076f82d22e946.
Please provide steps to reproduce where possible
Just do a
docker pull eclipse-temurin:11.0.17_8-jre
Expected Results
Image digest should match the sha256 on docker hub.
Actual Results
$ docker inspect eclipse-temurin:11.0.17_8-jre -f "{{.RepoDigests}}"

[eclipse-temurin@sha256:81b132098ddaba7dc53b67e23e83452f458029a8eeafde911a3076f82d22e946]

What Java Version are you using?
Not applicable
What is your operating system and platform?
No response
How did you install Java?
No response
Did it work before?
No response
Did you test with other Java versions?
No response
Relevant log output
No response

@gdams This is a DockerHub only concern or on us?

What architecture are you pulling?

Amd64

Yeah, I can recreate this on my end. @tianon / @yosifkit any idea what might be going on here?


fix(sessions): don't throw if withTransaction() callback rejects with a null reason

Description
See: https://github.com/Automattic/mongoose/issues/8637 . The issue is that if you do session.withTransaction(() => Promise.reject()), you get a TypeError: Cannot read property 'code' of undefined error.
What changed?
One liner checking for null
Are there any files to ignore?
No.

arg sorry @vkarpov15 , forgot to get this into the v3.5.5 release. Can you rebase, and we can make sure its in 3.5.6 and 3.6.0-beta1?

Hi Matt, sorry for dropping off on this thread. I opened up a separate PR against the 3.5 branch in #2272. For 3.6.0, should I put in a PR against the master branch or the 3.6 branch?

Thansk @vkarpov15 , I'll manually port 3.5 -> 3.6, but if you wanted to make the change for master as well that would be fantastic


[QoI] Add a fixed crasher which triggers closure return diagnostics

Related to rdar://problem/33067102

@swift-ci please smoke test and merge

/cc @rudkx I promised that I'm going to do that.


Feature/forestry sector employment

Overview
Display a pie chart showing the number of male and female employees employed in the Forestry Sector in a given year as well as a dynamic entence.
On hover the segments of the pie chart should show the number of male or female employees as well as the % of the total.
If no data for female employees - DO NOT SHOW pie chart!
Demo

@pjosh - please discuss this figure with Juan Carlos or Fausto and ask them for colors for the pie chart.


[Scalability Test] Part 4: Re-Evaluate DPM Concurrency in Large VPC scenario

Based on the perf test report by Part 1, DPM concurrency needs further improvement to support large VPC deployment.
We will re-evaluate DPM performance (similar to Part 1 https://github.com/futurewei-cloud/alcor/issues/399) after multiple DPM instances are leveraged in large-VPC scenarios.

Linked to Issue https://github.com/futurewei-cloud/alcor/issues/439


file-PHP

Describe the requested icon(s)

References

Additional context

file icon example for the PHP server-side programming language (80% of websites are run by PHP)


Package request: flye

Project description
Flye is a de novo assembler for single-molecule sequencing reads, such as those produced by PacBio and Oxford Nanopore Technologies. It is designed for a wide range of datasets, from small bacterial projects to large mammalian-scale assemblies. The package represents a complete pipeline: it takes raw PacBio / ONT reads as input and outputs polished contigs. Flye also has a special mode for metagenome assembly.
Metadata

homepage URL: https://github.com/fenderglass/Flye
source URL: https://github.com/fenderglass/Flye
license: BSD 3-clause
platforms: unix, linux, darwin

Add a :+1: reaction to issues you find important.

I've packaged Flye and it should be on nixos-unstable now, let me know if it's working for you.

Looks like it installed okay.


Added the .copy operator to ensure passing by value.

Hi Jeroen Janssens,
I think I have found a bug in the Python implementation. Currently I am working on an implementation in Scala for the Apache Spark platform the scale the algorithm across a large number of clusters. I used the Python script to create unit-tests to verify the workings of the algorithm. I could not find any obvious mistakes, so I did a step by step comparison.
Within Scala the values are assigned as an immutable value which is different as in Python. I found out that this caused a difference in result. To mimic this behavior I added the .copy() method on the value which gives a copy. Otherwise, for example beta[i] == 1, betamax == inf and Hdiff <= 0. betamax gets assigned as 1, which is the value of beta at that moment, after that the precision of beta gets adjusted to .5, and then betamax gets also adjusted to .5, which does not seem like a correct behavior to me.
# If not, increase or decrease precision
if Hdiff > 0:
    betamin = beta[i].copy()
    if betamax == np.inf or betamax == -np.inf:
        beta[i] = beta[i] * 2.0
    else:
        beta[i] = (beta[i] + betamax) / 2.0
else:
    betamax = beta[i].copy()
    if betamin == np.inf or betamin == -np.inf:
        beta[i] = beta[i] / 2.0
    else:
        beta[i] = (beta[i] + betamin) / 2.0

Before:
~/Desktop/sos-correct/bin$ < iris.csv ./sos -p 30 | sort -nr | head
0.92552418
0.91794955
0.81657372
0.79410068
0.77251273
0.76652991
0.71135211
0.69634175
0.69305280
0.68967627

After the application of the .copy():
~/Desktop/sos-correct/bin$ < iris.csv ./sos -p 30 | sort -nr | head
0.88569072
0.82241037
0.74932441
0.71168871
0.69498432
0.68975787
0.67562369
0.66990241
0.65935384
0.65740135

Hi Fokko,
Sorry for the late reply; I was on vacation.
Thank you very much for catching this. I originally developed SOS in MATLAB, and I guess didn't pay enough attention when porting it to Python. I applied both the original Python implementation and your version on the following toy data set:
$ cat toy.csv
1.00,1.00
3.00,1.25
3.00,3.00
1.00,3.00
2.25,2.25
8.00,2.00
$ git checkout master
$ < toy.csv ./sos -p 4.5
0.34863044
0.25228690
0.25312064
0.33462241
0.23113441
0.64961863
$ git checkout Fokko-master
$ < toy.csv ./sos -p 4.5
0.35885434
0.24096533
0.23969990
0.33949115
0.19634946
0.76447110

This toy data set was also used in the SOS paper, and because I still had the original outlier probabilities as computed by the MATLAB version (using a perplexity of 4.5), I thought we could use those as a reference. These are the results as computed by the MATLAB version:
0.334793
0.235116
0.237428
0.322998
0.224368
0.788499

As you can see, the outlier probabilities produced by your version are closer to the MATLAB implementation than mine, but they're still not quite the same. (It might very well be that the MATLAB implementation is incorrect.) What does your Scala implementation produce?
Thanks again,
Jeroen

Hi Jeroen,
Thanks for the reply and of course many thanks for sharing the Python implementation, it allowed me to write unit-tests which uncovered difference in results. My results based on the toy data-set are:
0.19634928222978057
0.23970253544493803
0.2409667102197638
0.3394894713889564
0.35885258224479155
0.7644688448450071

Which is approximate the same as the Python implementation.
The Scala implementation is part of my master thesis which focuses on the scaling of outlier detection at which the Stochastic Outlier Detection algorithm can be used very nicely as the Spark framework can work very fast on iterative jobs.
What tolerance are you using with the Matlab script? At the Scala implementation I set it to zero which might take some additional iterations and might affect the final output.

It's very reassuring that your Scala implementation produces the same results as the improved Python one. I'd be comfortable merging your changes. I would have to dig for the MATLAB implementation as it's been a few years since I've touched it. I think it's not zero, but a very small number, but it would be interesting to look this up. I'll get back to you on this.
I'm honored that you're implementing SOS in Scala. (It's a shame I never submitted this to a journal). Do you know of any other outlier detection algorithms in Spark?

Sure, I am curious where the difference in results comes from. Please let me know.
As far as I know, outlier detection is not yet implemented in Apache Spark. Sparks' own MLLib has some general machine learning tools, among other unsupervised algorithms like k-Means. Recently a Spark third-party packages repository has been set up. I am planning to submit the SOS-algorithm to this repo when is it finished, still need to do some testing and cleanup.
Algorithms like LOF are quite hard to implement in Apache Spark as the results are dependent of the n-th nearest neighbors, this would require multiple shuffles across the data-set. As SOS works on rows of data which makes it easier to distribute the computations across multiple nodes.
The main problem however, as with LOF and SOS, is the computational cost of the distance matrix which is quadratic to the input size.

OK, so in the Matlab version, tolerance was set to 1e-20 with at most 400 tries, whereas in the Python version this is 1e-5 and 5000 respectively. Changing these values in the Python version doesn't influence the results, so I'm not sure what's causing this different. However, I'm satisfied that the Python and Scala versions now produce the same results, so I'll merge your pull request. Thanks again for your help!


Add support for RSpec/HaveHttpStatus when using response.code

Fixes #1609
This PR adds support for RSpec/HaveHttpStatus when using response.code.

Before submitting the PR make sure the following are checked:

[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Updated documentation.
[x] Added an entry to the CHANGELOG.md if the new code introduces user-observable changes.
[x] The build (bundle exec rake) passes (be sure to run this locally, since it may produce updated documentation that you will need to commit).

This PR is conflicted, so I rebased this PR.


📖  Start updating controllers in architecture doc

Summary
This PR makes some updates to the architecture document, to correct old errors and track work that has been done over the past year.
Preview at https://mikespreitzer.github.io/kcp-edge-mc/doc-update-1028/direct/architecture/
Related issue(s)
Fixes #

/cc @vMaroon
/cc @effi-ofer
/cc @waltforme
/cc @nirrozenbaum
/cc @pdettori

The force-push to e6ff37de8 is for edits responding to the review comments above.

The force-push to f4f41073a makes a few edits in response to the review above.

.. and the force-push to 560467324 adds one paragraph break in https://mikespreitzer.github.io/kcp-edge-mc/doc-update-1028/direct/architecture/#sync-workload-object

/lgtm

/approve


[YoutubeDL] Display verbose video titles in formats list output

Checklist

[X] I'm reporting a feature request
[X] I've verified that I'm running yt-dlp version 2021.12.01. (update instructions)
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Description
$ yt-dlp --no-color -Uv -F https://www.youtube.com/watch?v=9_dgIfz876A
[debug] Command-line config: ['--no-color', '-Uv', '-F', 'https://www.youtube.com/watch?v=9_dgIfz876A']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, err UTF-8, pref UTF-8
[debug] yt-dlp version 2021.12.01 [91f071af6] (zip)
[debug] Python version 3.7.3 (CPython 64bit) - Linux-4.19.0-9-amd64-x86_64-with-debian-10.4
[debug] exe versions: ffmpeg 4.1.4-1, ffprobe 4.1.4-1, phantomjs ., rtmpdump 2.4
[debug] Optional libraries: Crypto, keyring, sqlite
[debug] Proxy map: {}
Latest version: 2021.12.01, Current version: 2021.12.01
yt-dlp is up to date (2021.12.01)
[debug] [youtube] Extracting URL: https://www.youtube.com/watch?v=9_dgIfz876A
[youtube] 9_dgIfz876A: Downloading webpage
[youtube] 9_dgIfz876A: Downloading android player API JSON
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source, codec:vp9.2, lang, proto
[debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec:vp9.2(10), acodec, lang, proto, filesize, fs_approx, tbr, vbr, abr, asr, vext, aext, hasaud, id
[info] Available formats for 9_dgIfz876A:
...
It would be very useful for troubleshooting/inspection purposes to also see all video titles in the formats list output - option switch (-F) in YoutubeDL.
i.e.
[info] Available formats for Nine Inch Nails - Right Where It Belongs 720p HD (Fixed camera angle, from BYIT) [9_dgIfz876A]:
Cheers,
Parmjit V.

--print title

@Ashish0804 Ah, thank you! Good to know for future reference.

Unlike youtube-dl, the --print and the various --list options can be combined in yt-dlp

@Ashish0804 @pukkandan Very nice! I was one of the contributors to the previous youtube-dl project a while back, and I am happy to see this project is active now with new features and collaborators.  Looking forward to making contributions again.  Cheers!


Allow query to be empty

This small fix would allow "empty" queries to proceed without any exceptions from this adapter.
For example: If you do not add a search box instantsearch will not set a query and this adapter would fail.
Also it solves this issue #43 that I had. For some reason instantsearch triggers an empty request in my setup and then comes back with an error which results in absolute failure. Also resolves #44
Would be great if we could merge this!
Change Summary

PR Checklist

[x] I have read and signed the Contributor License Agreement.

Thanks @reinoldus. The change sounds good, but looks like tests are failing because of linting issues. Could you run npm run lint and update the PR?

Done! Thank you!

Added this to pre-release version 1.2.1-4