Changed how Odds bets work and how Bets are queried by Player

Branch of #19
I split out Odds into separate types and added validation logic for placing them based on whether they have a base bet type on the Table.
I also added the method get_bets to player. This method takes bet_types and retrieves all of the bets the player has of that is an instance of that type. This replaces the need for subname for Odds bets as one can either do
player.get_bets(Odds)

to get all of the Odds bets, or can do
player.get_bets(Odds6)

to get all of the Odds6 bets. it also takes a **kwargs arguments of bet attributes which would let the player query any attribute of a given bet type. For Example, if they wanted Come bets where the point is 6 they can do:
player.get_bets(Come, point=6)

whereas if they just wanted all Come bets they can do:
player.get_bets(Come)

This should work with any bet attribute and any Bet type or parent type. For example if you wanted all where the status is "win" you can just do:
player.get_bets(status=win)

I think that this will allow our users to have more robust lookups of bets on the table, since they will be able to get_bets for any attribute, while still being extendable by just adding another properties and attributes to the bets class. I also made other querying methods based on get_bets.

@skent259 I am second guessing our decision to make table an attribute of Player, and player and table an attribute of Bet. I think that what we have is a case of "circular references" which I have been reading about and think that it may be best if we avoid since this would allow Bets and Players to exist and have attributes independent of their table and player, and would allow easier testing, for example we can have one Bet object and throw a bunch of different tables at it to test for things without having to have a player actually make a bet on the table. I'm going to refactor it to remove these circular references and see how it looks. I think with the inheritance structure we have set up the code will be just as clean in most cases, and even cleaner in some cases.

@amortization I can see where the circular references could cause bugs and other issues down the line.  It sounds like you have an idea of what that might look like, so go for it.  Please let me know when to review again

@skent259 I removed the circular references. I think that this will be more maintainable moving forward.

Do you have any articles or things you were reading about circular references? I'm not convinced that the current approach is better than having table and player referenced in bet, but I'd like to get more knowledgeable on the topic. In particular, I'd like to understand when circular references are bad and what the major issues are in python.
These are the pros/cons that I see of the current approach that avoids the circular references

Pro: Easier testing because we can apply multiple tables or players to bets
Pro: Cleaner class variables
Con: Some clunkiness in strategy.py.  In particular, when placing odds we reference the player twice (perhaps allowing someone to use 2 different players by accident?) and creating a breaking change in player.bet() by adding the table every time.

I come back to the fact that a player should exist only on one table at a time.  And their bets should also only exist on one table. So I'm not sure if that helps with the circular references or not

https://softwareengineering.stackexchange.com/questions/11856/whats-wrong-with-circular-references has some good info on why circular references are considered bad design. There are also a number of Python specific thing out there regarding how it can lead to memory issues since if Table is deleted but Bet still exists, Table is never actually deleted so then if Bet is deleted does Table still exist etc. I think newer versions of Python handle it better though. Python actually explicitly disallows circular imports of modules, that's why we have to put the typing.TYPE_CHECKING check at the beginning of bet.py to avoid a circular import error.
I don't think it's so much that Bet would exist on multiple tables, it's that Bet can exist independently from a table or player and still function with its own attributes independently without any Table or Player method existing.
I think a case could be made that Player can't or doesn't need to exist independently of Table, but then should Player be added to the Table module and only exist in the context of a Table since at that point Player really just exists as a dict inside of Table? I don't think so because I do think that there is room to grow with more player dependent attributes that should exist independently, but that's part of the reasoning.
Really it's probably more theoretical future proofing than anything right now. I do however want to add an equality check for Bet based on its attribute which will help with testing as we'll be able to do things like:
assert Odds6(12) in player.bets_on_table

Which would be much harder to do if player and table were attributes whose equality was being checked. That's why it's nice to have Bet be able to exist independently.
Functionally yeah the odds thing looks sorta silly having to reference player twice. The answer there could be to add place_odds and lay_odds convenience methods to Player so you can just call player.place_odds(6, table) to place odds on 6.

For a convenience method I added place_odds and lay_odds methods to player to place and lay odds without having to reference the bet and reference the player again.
For further convenience, I made it so that if no number is specified it would automatically check to see if only one of the given bets that allows odds exists and use that so you wouldn't necessarily have to know the number, for example in the case of PassLine. I also made it so that if no bet amount is specified, it will automatically assume that you want to place max odds.

I changed place_odds and lay_odds on player to a single method where the player can specify the types of bets they want to lay or place odds on.

Another place where I could see us using Bet as an object independent of Table and Player is in checking for Bet inside something. One could do something like:
player.has_bet(Odds6(25))

to check if the player has that bet without having to set the bet to that specific Table and Player.

I can definitely see bets existing independent of tables and players, but I worry about what it means when a player exists independent of a table.
Think about the following test:
def test_multi_table():
    player = Player(100)
    t1 = Table()
    t2 = Table()
    t1.add_player(player)
    t2.add_player(player)

    player.place_bet(PassLine(5), t1)
    player.place_bet(PassLine(5), t2)
    assert (player.bankroll, len(player.bets_on_table), player.total_bet_amount) == (90.0, 2, 10.0)

It fails because len(player.bets_on_table) is only 1.  Even though t2 is specified in the second place bet, it adds to the bet on t1 anyways.  I think really strange things like this are bound to show up when we don't follow some structure like a player can only sit at one table and place bets on the table it's sitting at.  Both of those ideas support a reference within player to the table they are at.
Even with this reference to table, and after more reading, I don't think it has to be circular.  In some sense, it's a parent-child relationship with the table being the parent.  What do you think about using a weak reference to make this relationship explicit?  There's some discussion here: https://pencilprogrammer.com/circular-reference-in-python/, and a deeper dive here on the topic: https://medium.com/@chipiga86/circular-references-without-memory-leaks-and-destruction-of-objects-in-python-43da57915b8d
This would still allow bets to exist independent, but we could change the player.place_bet() method to use the table object from the player implicitly.  Players shouldn't be able to place bets if they aren't on a table, but the bets themselves can still exist.
Thoughts?

It was the inspect module that was adding time since it was getting the values of all of the attributes whether used or not. I redid it to no longer need that and it clocks in at 183ms which is pretty consistent with before, with a little more time added since more attributes are available. I still think that it may be worth relooking at those tests since getting random rolls can slow things down, and two tests will never be consistent. Without test_second_chunk it goes down to 7ms and without first chunk it goes down to <1ms.  Also these tests aren't really verifying anything, it would be better off if they checked against some consistent set of data. For now it's probably worth just leaving it as it.

I left a print statement in there from debugging which I removed. Now the speed is back down to the 98ms which is consistent to what it was prior to the change.

Glad to hear the testing has dropped back down to normal levels.  Given that these simulations can take a while already, I want to make sure we're not increasing it too much.  I agree the tests would be better with a fixed set of rolls so that we can at least test the output.  In fact, I think it would be helpful to do this on most strategies (with maybe 50-100 fixed rolls) to "lock-down" a bankroll value to make sure it doesn't change when we adjust strategy logic, especially if we implement something like #23

Table/Player I'm more comfortable with than Bet as long as we treat the Player as existing only in the context of Table a la a true Parent/Child relationship. I think that if Players should only exist in the context of a Table than we should require a table in the players init method and store it as a private variable only accessible through a property getter and setter method to enforce that table.add_player gets called. Something like:
class Player:
    def __init__(self, bankroll: typing.SupportsFloat,
                 table: Table,
                 bet_strategy: Strategy = BetPassLine(5),
                 name: str = "Player",
                 unit: typing.SupportsFloat = 5):
        ...
        self._table = None
        self.table = table

    @property
    def table(self):
        return self._table

    @table.setter
    def table(self, value: Table):
        value.add_player(self)
        self._table = value

I do still think that this is an antipattern but it would prevent a lot of the issues that could arise. I don't know enough about weakref to know the implications of implementing it, but it would probably make sense.
I think if we wanted to go down that route, we'd probably want to refactor all strategies to no longer require a table, as the table would just be taken from player.table to avoid sending a table that is not a part of the player.

As I understand, weakref mostly handles the appropriate garbage collection when objects get deleted.  So if player has a weak reference to table, they don't get coupled together in memory.
I'm comfortable with what you proposed, but I want to make sure I understand.  Would the following code still be possible?
table = Table()
table.add_player(Player(100))

Refactoring strategies to work only with the player in that way would be an improvement from my point of view, and probably clearer.

Table/Player I'm more comfortable with than Bet as long as we treat the Player as existing only in the context of Table a la a true Parent/Child relationship. I think that if Players should only exist in the context of a Table than we should require a table in the players init method and store it as a private variable only accessible through a property getter and setter method to enforce that table.add_player gets called. Something like:
class Player:
    def __init__(self, bankroll: typing.SupportsFloat,
                 table: Table,
                 bet_strategy: Strategy = BetPassLine(5),
                 name: str = "Player",
                 unit: typing.SupportsFloat = 5):
        ...
        self._table = None
        self.table = table

    @property
    def table(self):
        return self._table

    @table.setter
    def table(self, value: Table):
        value.add_player(self)
        self._table = value

I do still think that this is an antipattern but it would prevent a lot of the issues that could arise. I don't know enough about weakref to know the implications of implementing it, but it would probably make sense.
I think if we wanted to go down that route, we'd probably want to refactor all strategies to no longer require a table, as the table would just be taken from player.table to avoid sending a table that is not a part of the player.

As I understand, weakref mostly handles the appropriate garbage collection when objects get deleted. So if player has a weak reference to table, they don't get coupled together in memory.
I'm comfortable with what you proposed, but I want to make sure I understand. Would the following code still be possible?
table = Table()
table.add_player(Player(100))

Refactoring strategies to work only with the player in that way would be an improvement from my point of view, and probably clearer.

No, that wouldn't work as we would require a table when creating a player and having Player(100) exist independently of a table is what we want to avoid. A user could in the same amount of lines do:
table = Table()
Player = Player(100, table)

No, that wouldn't work as we would require a table when creating a player and having Player(100) exist independently of a table is what we want to avoid. A user could in the same amount of lines do:
table = Table()
player = Player(100, table)

Presumably we could change table.add_player() to accept the player arguments though? Something like this within Table():
def add_player(self, **kwargs):
    player = Player(table = self, **kwargs)

Then
table = Table()
table.add_player(bankroll=100)

The other way wouldn't be bad, but this would be less of a breaking change and flow a bit better, IMO

I like that option better too as long as table is a required field of Player (and probably explicit argument for add player for documentation and simplicity.)


Fix Menu addition for Multisite

One of the issues we have encountered is that we use multisite in CiviCRM which has placed the navigation menu incorrectly.
The fix here ensures that when it goes to get the Administer menu item it gets it for the correct domain not just the first one

ping @johntwyman

Thanks @seamuslee001 - I have zero experience with multisite and see no change on a single site setup so i'm just going to merge and assume this fixes your issue.


SRS Models

I think this should include tests for the new SRS models.
Also we should get the cross-validation tests working again to make sure that this doesn't break cross-validation.


Use separate presence instance to communicate with chatkit_presence

What?
See title
Why?
We want to use the new presence service

CC @hamchapman

 Update Swift SDK to support new presence service route


Add freestanding compilation to CMAKE / CI

The goal for the libraries in libspdm/library is that they should be able to be compiled as freestanding C89 libraries. For GCC this would mean adding "-std=c89 -pedantic -ffreestanding". In addition, the stdint.h types would need to be manually defined and overridden.

https://github.com/DMTF/libspdm/issues/249 needs to be completed before we can start this.


improve code

remove import *

I don't know man. These are just aesthetic changes and it introduces a bug in geometries.py. I might add explicit imports in my init.py manually later on. Closing for now.


start of work to match cql2 against json

WORK IN PROGRESS
Currently only operators on numerics are implemented.

So, trying to set this up so that the reduce function can actually be used for any CQL2 expression to collapse things that don't need to go through to the base data. So say you had a CQL2 query like foo = 2 +7, you could use reduce to convert that to foo = 9 . To do that, I'll need to make the json input an option, if it can look up a property in the json, it will replace it with the value in that json. The matches function just looks to see if running reduce has boiled the entire expression down into an Expr::Bool and if so returns that value, if it couldn't reduce it all the way it returns an error.


arangorestore: add option --data-only default to false

Affected version: 3.2 + devel
It would be useful to have a way to restore from a dump only the data (without restoring the collection structures)
This is the use case:

take a backup using dump
manually create a new database where to restore, as well as the collections structures (manually or using a script)
use arangorestore to restore just the data (*.data.json), ignoring the structures (*.structure.json)

It may be done by specifying collections, e.g.
arangorestore  --data-only --collection coll1--collection coll2--input-directory "dump"

or directly for all collections that are found in the dump directory:
arangorestore  --data-only --input-directory "dump"

If a collection does not exist in the target database, then a warning message may be written and execution continue with the next collection
Complete use case:
db._createDatabase("original");
db._useDatabase("original");
db._create("coll1");
db._create("coll2");

[insert data into coll1 and coll2]

arangodump --server.endpoint tcp://localhost:8529 --server.username root --server.database original --output-directory "dump"

On the same server:
db._createDatabase("restore");
db._useDatabase("restore");
db._create("coll1");
db._create("coll2");

arangorestore  --data-only --collection coll1--collection coll2--input-directory "dump"

This would workaround Issue #2437, and related ones

It is possible to use the existing option --create-collection and set its value to false.
This will do exactly what is required.  The PRs above address this.

Documentation changes are merged into 3.2 and devel.

Command would be:
arangorestore --server.username username --server.database restore  --create-collection = false --input-directory "dump"


Image source not readable

NotReadableException in AbstractDecoder.php line 339:
Image source not readable
Please i need help i did everything in doc right at my app but still not working
thanks,

are you sure your source is readable by web server? You probably have some permission problem

Yes i'm sure i use laravel and i did dd for source and it's write

you should put here your code (you can check in whoops which line of your code is causing it) .. not sure what is dd doing. You should also write what OS you use if you want to receive some specific suggestions. The file has to be readable by server, not just you as user.

For a lot of people the problem is always in php.ini - just look at max_upload etc and you'll see. Just check your php.ini and I am sure you find the issue. I myself used to make the mistake looking everywhere but the place where the actual issue is.

intervention is very sensitive with wrong code to find out that i had to kill many hours on debug.
personal advice don't try to optimize code use from orginal website that is deployed and start from it i hoped.

I have same problem. What is image source exactly? It doesnt explain in document. I put my images in storage and also in public folder, But all time get error.

have you tried check to check upload_max_filesize in your php.ini  ?


Ingest integration test should use the schema-test-data test spreadsheet and data files

Test spreadsheet: https://github.com/HumanCellAtlas/schema-test-data/blob/master/Schema_Test_Data.xlsx
Note: Need to fix the spreadsheet in the schema-test-data repo to contain the new publication field: official_hca_publication

@ESapenaVentura do you store the test data files in a hca-util upload area? Could you paste here the upload area uuid? Thanks!


Self-hosted deployments have a "None" SHA

Describe the bug
When self-hosting a deployment, the sha querystring argument is always None.
Theme Install Method (Don't skip)
https://docs.theme-park.dev/setup/#docker
Application Info (Don't skip)

Version: latest
Branch
Container
Logs

To Reproduce
Steps to reproduce the behavior:

Deploy container
Notice ?sha=None is appended to all URLs

Expected behavior
The sha querystring param contains a hash of the file. This isn't strictly a problem, as files are served with cache-busting headers anyway, but it's intended functionality which doesn't work.
Screenshots
@import url("/css/base/gitea/gitea-base.css?sha=None");
@import url("/css/theme-options/plex.css?sha=None");

Additional context
The cause of the problem seems to be running themes.py inside the container. themes.py assumes it's running in a git repository, and calls out to git to collect file hashes. This could instead be replaced with hashlib, and have themes.py calculate the hashes itself. This would likely slow down startup, but not by a noticable amount.

Can you test develop?


[WIP] requirements: Upgrade stripe pip package from 2.21.0 to 2.35.0

Related issue #12844
Not ready to merge.

Looks great; merged. Thanks @hackerkid!
As followup, we should add pi into the list at normalize_fixture_data.


HMR - On hot module reload - I get duplicate entire pages showing.

I think there is a bug in the main.browser.ts logic somehow.

 modulePromise.then((appModule) => platformBrowserDynamic().destroy());
in the main.browser.ts file fixed it.

I'm seeing exactly the same thing. After every hot module reload I the old and the new content stack one above the other (old at the bottom). I have to refresh the page to clean up the mess.
Any suggestions?

Might be something that updated in a newer Angular I might need to patch the HMR for. Let me take a look

+1 also have same thing

I had the same issue, this is what worked for me: https://github.com/aspnet/JavaScriptServices/issues/665

aspnet/JavaScriptServices#665 fixed my issue as well.

Can anyone put in a PR to fix this issue for others?

If anyone is still unclear about this. This is what my main.browser.ts looks like now with the fix:

if (module['hot']) {
    module['hot'].accept();
    module['hot'].dispose(() => {
        modulePromise.then((appModule) => appModule.destroy());
    });

} else {
    enableProdMode();
}

It should be fixed now via https://github.com/MarkPieszak/aspnetcore-angular2-universal/commit/a83a6a9bef283c39845467457dd50358b007c6f8 changes.  @pjmagee


Add hoc metric

In an attempt to close #188, I have created a new PR for the HOC metric.

@padjal many thanks for your contribution! Please, see the log above -- make test fails.

@yegor256 All checks passed. Can you merge this?

@padjal perfect, thanks! see some comments above

@yegor256 I edited the files according to your comments and fixed the tests. Metric should be ready now.

@padjal we already merged #188


Fix typo on README

can you bump chart version in https://github.com/buildkite/charts/blob/master/charts/buildkite/Chart.yaml#L4 ?
As every chart change needs needs new version

Sure, no problem!

cool, thanks


Micro Frontend | CORS Error while loading remote app to viewer

Describe the Bug
I have use case of consuming my remote app inside ohif viewer screen.
eg.  http://somehost:8081/remoteEntry.js
I configured webpack (as below) to federate the module, and also i can see it is getting triggered while loading OHIF viewer. But since it is in some other domain so it is blocking the access.
A clear and concise description of what the bug is.
Steps to Reproduce:
code inside viewer/.webpack/webpack.pwa.js
new ModuleFederationPlugin({
       name: 'reports',

       remotes: {
         './Reports': 'reports@http://somehost:8081/remoteEntry.js',
       },
     })

 headers: {
        'Cross-Origin-Embedder-Policy': 'require-corp',
        'Cross-Origin-Opener-Policy': '*',
        'Access-Control-Allow-Origin': '*',
        'Cross-Origin-Resource-Policy': 'cross-origin',
        'Access-Control-Allow-Headers':
          'X-Requested-With, content-type, Authorization',
      }

What is the correct approach to consume the remoteApp inside viewer. ?

Could you please review our comprehensive documentation on Cross-Origin Resource Sharing (CORS) and OHIF? Below are the links provided for your reference.

https://docs.ohif.org/deployment/cors
https://docs.ohif.org/deployment/iframe


Detect disconnection on the client

The client can detect disconnection when not receiving a response after sending a message. This can be displayed.

Is it not possible to detect the disconnect itself? for example if the websocket has been closed by either of the sides?

This is not easily possible with Websockets elm. There is however a Weboscket.LowLevel module, which can handle this. This, however has a far more complicated interface. Just "subscribung" to the close is not easily possible in Websocket

The solution is to listen if there is no answer after a request has been sent via a time-subscription and cancel that if a response has arrived in time.


Thank you

Hi~
I just wrote a repo that can generate running year data like GitHub or GitLab skyline  using some of your code see: https://github.com/yihong0618/running_skyline
And I learned a lot from your repo, want to say thank you very much~

Beautiful project! . Sorry for answering so late...


feat: read static files from the public folder

Support static files by reading them from the public folder in the root of the project. Any file inside this folder will be served as a static file, so project like static sites can work without embedding files in the workers. This is a pretty consistent standard in different web frameworks like:

NextJS
Astro
Remix
etc

Note that the public folder based on the given path in the CLI. So, for wws ./examples, the CLI will serve the files from ./examples/public. There's an issue with path management as wws ./examples should calculate the routes without including the examples folder. This issue will be solved in #3.
It closes #7

Thanks for the review @gzurl ! I'm going to add the missing use case of allowing html files in the public folder.

@gzurl @assambar @ereslibre I completed the feature by adding support for static HTML files. Now, the /public/about.html file will be mounted in /about automatically.

You could add this later, but I think a simple example worker that uses static assets will help the adoption of this feature.
IDK, for example something simple that creates a business card with some background image based on a call to make-business-card.js?first_name=John&last_name=Doe&phone=123345...

This is an interesting use case. It can work for OpenGraph images and business cards (as you suggested). I will give a second though to that idea and will implement some examples around. However, those will work purely with workers, so I don't think static assets will be used that much in the example.


Version 3.1.4: headline table not scrolled when switching feeds

I use the Vertical layout, and navigate mostly using the N or Space keys. Since upgrading from version 3.1.2 to 3.1.4, when I move from one feed (or folder) to the next using those shortcuts, the middle pane no longer scrolls to bring the selected article into view.
My Order rules place unread articles at the top of the article list. As I read articles within one feed, the middle pane scrolls down to keep the selected row near the middle of the display. When I exhaust one feed and go on to the next, the pane does not scroll back up to the top, so the current selection is not visible afterward. My workaround is to press the Up and Down arrow keys: switching the selection manually forces the table to scroll appropriately.

Have you tried the 3.1.5 Release Candidate 1 ? https://github.com/ViennaRSS/vienna-rss/releases/tag/v%2F3.1.5_rc1

3.1.5 RC 1 seems to fix the issue completely. Thank you very much!


Insertion Sort Using C++

Hacktoberfest Contribution
Link: https://leetcode.com/problems/insertion-sort-list/

give this repo a star so more people can reach out


System.Exception: Login page failed using Cloud Identity Login.

Hello,
I'm trying to automate my canvas app tests
I followed instruction from here: https://learn.microsoft.com/en-us/power-apps/maker/canvas-apps/test-studio-classic-pipeline-editor
Unfortunatelly I got error during execution of 'Run Power Apps Test Automation Tests via Firefox':
(same issue is visible for Chrome)
A total of 1 test files matched the specified pattern.
  Failed RunTestAutomation [7 m 32 s]
  Error Message:
   Test method Microsoft.PowerApps.TestAutomation.Tests.TestAutomation.RunTestAutomation threw exception:
System.InvalidOperationException: Login failed after 3 attempts. Exception Details: System.Exception: Login page failed using Cloud Identity Login.
   at Microsoft.PowerApps.TestAutomation.Api.OnlineLogin.<>c.<Login>b__12_3(IWebDriver f) in D:\a\1\s\Microsoft.PowerApps.TestAutomation.Api\Pages\OnlineLogin.cs:line 160
   at Microsoft.PowerApps.TestAutomation.Browser.SeleniumExtensions.WaitUntilVisible(IWebDriver driver, By by, TimeSpan timeout, Action`1 successCallback, Action`1 failureCallback) in D:\a\1\s\Microsoft.PowerApps.TestAutomation.Browser\Extensions\SeleniumExtensions.cs:line 737
   at Microsoft.PowerApps.TestAutomation.Api.OnlineLogin.Login(IWebDriver driver, Uri uri, SecureString username, SecureString password, Action`1 redirectAction) in D:\a\1\s\Microsoft.PowerApps.TestAutomation.Api\Pages\OnlineLogin.cs:line 141
   at Microsoft.PowerApps.TestAutomation.Browser.DelegateBrowserCommand`5.ExecuteCommand(IWebDriver driver, Object[] params) in D:\a\1\s\Microsoft.PowerApps.TestAutomation.Browser\DelegateBrowserCommand.cs:line 134
   at Microsoft.PowerApps.TestAutomation.Browser.BrowserCommand`1.Execute[T1,T2,T3,T4,T5,T6,T7,T8,T9](IWebDriver driver, T1 p1, T2 p2, T3 p3, T4 p4, T5 p5, T6 p6, T7 p7, T8 p8, T9 p9) in D:\a\1\s\Microsoft.PowerApps.TestAutomation.Browser\BrowserCommand.cs:line 136
   at Microsoft.PowerApps.TestAutomation.Browser.BrowserCommand`1.Execute[T1,T2,T3,T4](IWebDriver driver, T1 p1, T2 p2, T3 p3, T4 p4) in D:\a\1\s\Microsoft.PowerApps.TestAutomation.Browser\BrowserCommand.cs:line 60
   at Microsoft.PowerApps.TestAutomation.Browser.BrowserPage.Execute[TResult,T1,T2,T3,T4](BrowserCommandOptions options, Func`6 delegate, T1 p1, T2 p2, T3 p3, T4 p4) in D:\a\1\s\Microsoft.PowerApps.TestAutomation.Browser\BrowserPage.cs:line 230
   at Microsoft.PowerApps.TestAutomation.Api.OnlineLogin.Login(Uri uri, SecureString username, SecureString password) in D:\a\1\s\Microsoft.PowerApps.TestAutomation.Api\Pages\OnlineLogin.cs:line 73
   at Microsoft.PowerApps.TestAutomation.Tests.TestAutomation.RunTestAutomation() in D:\a\1\s\Microsoft.PowerApps.TestAutomation.Tests\TestAutomation\RunTestAutomation.cs:line 113
  Stack Trace:
      at Microsoft.PowerApps.TestAutomation.Tests.TestAutomation.RunTestAutomation() in D:\a\1\s\Microsoft.PowerApps.TestAutomation.Tests\TestAutomation\RunTestAutomation.cs:line 189
  Standard Output Messages:
 Login.MainPage failed to load in 2 minutes using Cloud Identity Login.
 Exception on Attempt #1: System.Exception: Login page failed using Cloud Identity Login.
    at Microsoft.PowerApps.TestAutomation.Api.OnlineLogin.<>c.<Login>b__12_3(IWebDriver f) in D:\a\1\s\Microsoft.PowerApps.TestAutomation.Api\Pages\OnlineLogin.cs:line 160
    at Microsoft.PowerApps.TestAutomation.Browser.SeleniumExtensions.WaitUntilVisible(IWebDriver driver, By by, TimeSpan timeout, Action`1 successCallback, Action`1 failureCallback) in D:\a\1\s\Microsoft.PowerApps.TestAutomation.Browser\Extensions\SeleniumExtensions.cs:line 737
    at Microsoft.PowerApps.TestAutomation.Api.OnlineLogin.Login(IWebDriver driver, Uri uri, SecureString username, SecureString password, Action`1 redirectAction) in D:\a\1\s\Microsoft.PowerApps.TestAutomation.Api\Pages\OnlineLogin.cs:line 141
    at Microsoft.PowerApps.TestAutomation.Browser.DelegateBrowserCommand`5.ExecuteCommand(IWebDriver driver, Object[] params) in D:\a\1\s\Microsoft.PowerApps.TestAutomation.Browser\DelegateBrowserCommand.cs:line 134
    at Microsoft.PowerApps.TestAutomation.Browser.BrowserCommand`1.Execute[T1,T2,T3,T4,T5,T6,T7,T8,T9](IWebDriver driver, T1 p1, T2 p2, T3 p3, T4 p4, T5 p5, T6 p6, T7 p7, T8 p8, T9 p9) in D:\a\1\s\Microsoft.PowerApps.TestAutomation.Browser\BrowserCommand.cs:line 136
    at Microsoft.PowerApps.TestAutomation.Browser.BrowserCommand`1.Execute[T1,T2,T3,T4](IWebDriver driver, T1 p1, T2 p2, T3 p3, T4 p4) in D:\a\1\s\Microsoft.PowerApps.TestAutomation.Browser\BrowserCommand.cs:line 60
    at Microsoft.PowerApps.TestAutomation.Browser.BrowserPage.Execute[TResult,T1,T2,T3,T4](BrowserCommandOptions options, Func`6 delegate, T1 p1, T2 p2, T3 p3, T4 p4) in D:\a\1\s\Microsoft.PowerApps.TestAutomation.Browser\BrowserPage.cs:line 230
    at Microsoft.PowerApps.TestAutomation.Api.OnlineLogin.Login(Uri uri, SecureString username, SecureString password) in D:\a\1\s\Microsoft.PowerApps.TestAutomation.Api\Pages\OnlineLogin.cs:line 73
    at Microsoft.PowerApps.TestAutomation.Tests.TestAutomation.RunTestAutomation() in D:\a\1\s\Microsoft.PowerApps.TestAutomation.Tests\TestAutomation\RunTestAutomation.cs:line 113

I verified my credentials few time and it workd.
Any hints where the problem is or what shall I check as a next step?

Hi, Any updates on this issue, please?

Unfortunatelly not from my side :/

Hi  @arexms @tcspras  , I needed to dive  into these errors for a chapter in a book that I'm writing about utilizing this method.
As the Power Apps homepage has recently changed,it seems to be breaking some of the xpath selectors. The two that were giving me issues were:

In RunTestAutomation.cs and OnLineLogin.cs : Reference.Login.MainPage, which was using //div[contains(@class,"home-page-component")]. I switched to //div[@id='ppuxOfficeHeaderSearchBox_container'] which is working for me now.
In RunTestAutomation.cs and OnLineLogin.cs too : By.ClassName("apps-list"), which I updated by creating a new property in ElementReference.cs called Login_AppsList pointing to "//div[@aria-label='Your apps']".

I also updated the framework to 4.8 to clear up other errors from the classic pipeline mode and some NuGet packages like Selenium .
It's all working for me now following these  fixes and they are simple to apply in your own fork. But you're welcome to check out my fork at https://github.com/CesarCalvoCobo/PowerAppsTestAutomation  if it could be helpful.
The core test logic where the Test Studio tests are applied seems more robust, and the only changes needed are caused by the changes in the power apps homepage.

Thank you, this solution worked for me as well! :)

Hi @CesarCalvoCobo .  I have used your repo (https://github.com/CesarCalvoCobo/PowerAppsTestAutomation/tree/master) successfully also to get past this issue shown above.  I am however now getting a error:

An error occurred during Test Run #1 of 1: System.NullReferenceException: Object reference not set to an instance of an object. at
Microsoft.PowerApps.TestAutomation.Api.TestAutomation.ReportResultsToDevOps(JObject jObject, Int32 testRunNumber) in
D:\a\1\s\PowerAppsTestAutomation\Microsoft.PowerApps.TestAutomation.Api\Pages\TestAutomation.cs:line 166 at Microsoft.PowerApps.TestAutomation.Tests.TestAutomation.RunTestAutomation() in
D:\a\1\s\PowerAppsTestAutomation\Microsoft.PowerApps.TestAutomation.Tests\TestAutomation\RunTestAutomation.cs:line 178

TestAutomation.cs : if (testCaseResults.Success)
RunTestAutomation.cs : var testResultCount = appBrowser.TestAutomation.ReportResultsToDevOps(testAutomationResults, testRunCounter);
Honestly, I don't know enough yet to resolves the issue, do you encounter the same issue?


Supress windows auth token when forwardWindowsAuthToken is set to false

Enable NTLM authentication for an aspnetcore app which is running in inprocess
Send a request to the aspnetcore app

EXPECTED:
The request headers should contain the following headers:
MS-ASPNETCORE-TOKEN
MS-ASPNETCORE-WINAUTHTOKEN
ACTUAL:
The request headers does not have the expected request headers.

Closing until we hear customer interest.


Add -y flag to commands

where applicable add non-interactive/ -y flag so command can be scripted

note more info ongoing.


Add minimum vol size, reject request too small

For each driver that uses the opt.Size field to create a volume with the
requested size, set a minimum volume size. If the incoming request does
not set a size, default to that minimum size. If the incoming request
does set a size, make sure that it is >= to the minimum size. If it is
not, return an error.
This touches all drivers except those that are not block devices -- Isilon, S3FS, EFS.
Fixes #459

Codecov Report

Merging #495 into master will decrease coverage by 0.05%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master    #495      +/-   ##
=========================================
- Coverage   30.56%   30.5%   -0.06%
=========================================
  Files          29      29
  Lines        1780    1780
=========================================
- Hits          544     543       -1
- Misses       1178    1179       +1
  Partials       58      58

Impacted Files
Coverage Δ

api/types/types_localdevices.go
77.35% <0%> (-1.89%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5c2b6e9...3610e68. Read the comment docs.

@akutz This is rebased and ready for your review/merge after CI tests.
If it looks good, I'd like to get it in tonight or tomorrow morning, solely because of the work I'm doing in #500. Tomorrow I am going to build all those drivers' tests and run them on the cloud providers, so it'd be great to have the best chance of finding anything new from this or from #500.

@akutz Thanks for catching that bug!
I had a few reasons for doing it per-driver. Let's see if they make sense.

I originally thought the drivers would vary more. Each one would have a different storage-provider specific value. In the end, they almost all end up being 1G, and GCE is 10G.
Not all the drivers need this -- only the block storage drivers. I suppose if done at the framework, we can still check the driver Type and only do it for those...
I was afraid that if done at the framework layer, it might lead to unwanted overrides. What I mean is that if the incoming value is nil, we know it wasn't set and so we defer to a reasonable default. If the size is set, we enforce that it meets a minimum. If it's below the minimum, we return an error. But if the framework always makes sure this value is set, we no longer know if the requested size was set explicitly or by the framework. So really it comes down to what to do for drivers that have a minimum size other than 1G? If a user requests 5G today on GCE, we return an error. If instead, we automatically created a 10G volume, because that's the minimum, I think it's reasonable to handle at the framework level.
It was just a natural evolution from the starting point of having to check if the size is nil. If we set it at the framework level, it should never be nil and we could remove that check from the drivers.

Really glad you caught that issue in ScaleIO, @akutz. As i was fixing that, I noticed that if *opts.Size was not nil, I never assigned it to volume.Size. So the requested size would have been ignored... Doh.
ScaleIO is the only driver that takes all of the opts fields and copies them into a new struct, rather than using opts.Size directly. So that was why I missed it.


Cannot seed data onlinux

Describe the bug
I cloned the repo but when I tried to seed data it doesn't work!
commercelayerdemo$ npm run seeder:seed -ws --if-present

><EMAIL_ADDRESS>seeder:seed
> npx ts-node ./scripts/seed.ts

Need to install the following packages:
<EMAIL_ADDRESS>Ok to proceed? (y) y
Error: Command failed: commercelayer applications:info --json
 ›   Error: Unable to find configuration file for application

    at checkExecSyncError (node:child_process:871:11)
    at execSync (node:child_process:943:15)
    at getCurrentApplicationInfo (/demo-store-core/packages/setup/scripts/utils/application.ts:17:35)
    at commercelayerdemo/demo-store-core/packages/setup/scripts/seed.ts:12:59
    at Generator.next (<anonymous>)
    at commercelayerdemo/demo-store-core/packages/setup/scripts/seed.ts:8:71
    at new Promise (<anonymous>)
    at __awaiter (commercelayerdemo/demo-store-core/packages/setup/scripts/seed.ts:4:12)
    at commercelayerdemo/demo-store-core/packages/setup/scripts/seed.ts:10:13 {
  status: 2,
  signal: null,
  output: [
    null,
    Buffer(0) [Uint8Array] [],
    Buffer(64) [Uint8Array] [
       32, 226, 128, 186,  32,  32,  32,  69, 114, 114, 111,
      114,  58,  32,  85, 110,  97,  98, 108, 101,  32, 116,
      111,  32, 102, 105, 110, 100,  32,  99, 111, 110, 102,
      105, 103, 117, 114,  97, 116, 105, 111, 110,  32, 102,
      105, 108, 101,  32, 102, 111, 114,  32,  97, 112, 112,
      108, 105,  99,  97, 116, 105, 111, 110,  10
    ]
  ],
  pid: 473689,
  stdout: Buffer(0) [Uint8Array] [],
  stderr: Buffer(64) [Uint8Array] [
     32, 226, 128, 186,  32,  32,  32,  69, 114, 114, 111,
    114,  58,  32,  85, 110,  97,  98, 108, 101,  32, 116,
    111,  32, 102, 105, 110, 100,  32,  99, 111, 110, 102,
    105, 103, 117, 114,  97, 116, 105, 111, 110,  32, 102,
    105, 108, 101,  32, 102, 111, 114,  32,  97, 112, 112,
    108, 105,  99,  97, 116, 105, 111, 110,  10
  ]
}
npm ERR! Lifecycle script `seeder:seed` failed with error:
npm ERR! Error: command failed
npm ERR!   in workspace<EMAIL_ADDRESS>npm ERR!   at location: commercelayerdemo/demo-store-core/packages/setup

To Reproduce
No response
System
Linux
Additional context
No response

Hi @wpplumber, the error message you get Unable to find configuration file for application is thrown when the application is not properly configured.
You can read "setting up your organization" to configure the application.
As mentioned there, you should run this command:
commercelayer applications:login \
  --clientId Oy5F2TbPYhOZsxy1tQd9ZVZ... \
  --clientSecret 1ZHNJUgn_1lh1mel06gGDqa... \
  --organization my-awesome-organization \
  --alias cli-admin

After that you can double-check if the application is properly configured by running:
commercelayer applications:info

Let us know if you've further questions.

I was able to run it.
Thank you.


What’s the logic the Theme applies on Openwrt MVC system?

I am desining my own theme of OPENWRT R21 version.
I rebuilded the sysauth.htm which is the loggin page and stored this files in my own project directory of which the path is: /view/themes/myTheme/sysauth.htm.
the system's original sysauth.htm was stored in the path /view/sysauth.htm.
When I was doing the work locally, it worked fine that the system will render my own sysauth.htm file in priority rather than his own original file, but after I compiled my theme into IPK and installed on the other OPENWRT system with the same R21 version, the system prefered to use its own sysauth.htm template file rather than mine, and the my layout was broken saddly.
Thus, I was wondering are there any logics that the MVC system applies to? and how could I get my own sysauth.htm work as default or in priority?
Thx!

Did you try to clear all caches? Doing rm -r /tmp/luci-*, restarting uhttpd etc.?

yes, I have tried to clean the cache and restart the uhttpd, and even restart the OP system...
it's really out of my wits..

Well, from that description I can only conclude that either the .ipk is wrongly packaged (sysauth.htm ended up in wrong path?) or that maybe some code minification process broke the template in a way that rendered it broken (if LuCI fails to compile the theme template it will silently fall back to the next candiate, the default one).
Carefully compare the sysauth.htm on your target device after ipk installation with the original one, see if you can spot any differences.


freezable

Howdy. I have enjoyed your set replacement for many months now, so thanks for pumping this out there when Ember dumped their own Set.  The newer versions of ember have deprecated Ember.Freezable in favor or Object.freeze .. do you feel like changing that and zapping out another version? I can do it you like.

Thanks, Daniel.
I haven't actually been using this in production for a while, but I would gladly accept a pull request to swap Ember.freeze for Object.freeze. :-)


Unable to access images from the Images page in the Portainer UI

Before you start please confirm the following.

[X] Yes, I've searched similar issues on GitHub.
[X] Yes, I've checked whether this issue is covered in the Portainer documentation or knowledge base.

Problem Description
After logging into the Portainer UI, I select the Images page for a server.  I am able to see the list of Images.  When I select one by clicking on the ID I get an error message in the top left corner of the screen [Failure - Unable to retrieve images details].  Everything was working until I did some updates on the underlying Linux boxes.
Expected Behavior
Image screen to be displayed showing images details.
Actual Behavior
Error message
Steps to Reproduce
1: Login to Portainer
2: Select a server
3: Select images
4: Click on any image.
Portainer logs or screenshots

Portainer version
2.19.4
Portainer Edition
Business Edition (BE/EE) with 5NF / 3NF license
Platform and Version
Docker version 26.0.0, build 2ae903e
OS and Architecture
Ubuntu 22.04.4 LTS (GNU/Linux 5.15.0-1057-realtime x86_64)
Browser
Chrome
What command did you use to deploy Portainer?
No response
Additional Information
This has only started to happen after I installed the latest updates to my server.  Portainer has been at the same version for some weeks working without any issue.  I have two nodes, one running Portainer and the other running the Portainer Agent.  I cannot access Images through the UI on either node.

I can see this is a duplicate and am closing as such

Client: Docker Engine - Community
Version:    26.0.0
Portainer Community Edition:  2.19.4


MudSwitch not showing error message in a MudForm with FluentValidation

Bug type
Component
Component name
MudSwitch
What happened?
The MudSwitch is not showing the error messages returned by the FluentValidation Validator.
Expected behavior
Error messages appear when ValidationRules are not fulfilled
Reproduction link
https://try.mudblazor.com/snippet/camnkvdOqmVWWkpY
Reproduction steps

Define a MudForm with FluentValidation following the MudBlazor documentation
Include a MudSwitch and establish a simple validation rules like always expecting True
Include any other MudTextField with its own validation
Change the MudSwitch to false
.

Relevant log output
No response
Version (bug)
6.1.7
Version (working)
No response
What browsers are you seeing the problem on?
Chrome
On what operating system are you experiencing the issue?
Windows
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

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

MudSwitch needs to be updated the same way as MudCheckbox and MudRadio were in this PR: https://github.com/MudBlazor/MudBlazor/pull/4084. I'll take a look at this during the weekend if nobody else gets around to it until then.

PR opened for this issue. Your use case is covered, though you will have to adapt the validator in your snippet (use Must instead of Equals):
RuleFor(x => x.IsCustomer)
    .Must(x => x)
    .WithMessage("Switch must be true");

@igotinfected thanks for your help. Do you know how long does it usually take to merge these kind of PRs?

It depends on a bunch of factors, I'll fix up the PR (merge conflicts) this weekend and ping one of the maintainers to speed it up.


ncnn: Invalid signature

hello,
error load ncnn model use the version of the netron 3.6.5(win10):Invalid signature in 'det.param'.
It's the det.param:
det.txt
I have no idea about this, can you give some help?
thx.

0397.param.zip


feat(CosmosFullNode): Support validator sentries

Closes https://github.com/strangelove-ventures/cosmos-operator/issues/83
This is in response to getting a new validator up and running. I am too lazy to deal with the duplicated yaml and duplicated shell-scripts-within-yaml that Strangelove currently uses.
All in all, there was minor configuration to update for supporting sentries:

Set priv_validator_laddr = "tcp://<IP_ADDRESS>:1234" in config.toml.
Create the privval port in the pod container
Add sleep to the start command to allow connection to be made to remote signer before starting the chain process.

@agouin Did I miss anything? I tried to highlight the important parts to make your code review easier.
I tested manually in a cluster. The chain process dies as expected because it cannot connect to the remote signer. (I did not want to go through the work of spinning up horcrux.)


[bug] MacOS: Completely not usable - read always gives nothing

Hi thanks for the lib! However it is completely not useable in macos...
Example:
Future<void> main() async {
  WidgetsFlutterBinding.ensureInitialized();
  final storage = FlutterSecureStorage();
  final key = 'test_key';
  await storage.write(key: key, value: 'test_value');
  final value = await storage.read(key: key);
  final allValues = await storage.readAll();
  print('hi $value $allValues');

output:
flutter: hi null {}

pubspec.lock:
  flutter_secure_storage:
    dependency: transitive
    description:
      name: flutter_secure_storage
      url: "https://pub.flutter-io.cn"
    source: hosted
    version: "5.0.2"
  flutter_secure_storage_macos:
    dependency: transitive
    description:
      name: flutter_secure_storage_macos
      url: "https://pub.flutter-io.cn"
    source: hosted
    version: "1.1.0"
...

Oh I see... I need to configure the entitlements. #370 pr is made to make it a bit more explicit for newbies of macos (e.g. me)

Had the same issue. Also noticed that i have to add the entitlements. Your PR makes this more clear for macOS newbies.


Retrieving values from a node's children to display for that node

How do I get the name value of a child node and display that as the name for the parent node?
For example, I want to use the name "undo-icon-32p" of a child "VECTOR" node (the image) inside a unioned "BOOLEAN_OPERATION" node (the frame) with the name "union".
Can this be done with something like {{node.child.name}} or something similar?
*Note that I added cssFill in there for simplicity, this wouldn't actually be visible in the final code output, because the idea would be that the css.fill value for the parent node would be shown for the child node's "TintColor":
<Frame
Name="union"
WidthRequest="32px"
HeightRequest="32px"
cssFill="Var(IconsStrokeWhite, #FFF)"
>

<Image
Source="undo-icon-32p"
WidthRequest="32px"
HeightRequest="32px"
>
<Image.Behaviors>
cssFill=""Var(IconsStrokeBlack, #000)"
<toolkit:IconTintColorBehavior TintColor="Var(IconsStrokeWhite, #FFF)" />
</Image.Behaviors>
</Image>
</Frame>

i think the best way to do this is to put a template on the child that renders the child code and use figma.children on the parent. is there any reason you cant do that today? due to the fact that nodes have many children, i cant surface child strings efficiently, or display them without some sort of query syntax in the templating language.

Hey Jake, can you please explain a bit more on what you mean by putting a "template on the child that renders the child code and use figma.children on the parent"?
Do you have an example?
I take it that query language isn't possible? In our case, if a node has the name "union" then we would always want the cssFill value of the unioned node to be used for the child svg node. So in our case we could just use an if statement that matches against the parent's name value. eg.
{{?figma.parent.node.name = "union"}} <toolkit:IconTintColorBehavior TintColor="figma.parent.cssFill" />

so this is sounding more like parent params being passed to child templates. i can leave this open, but cannot get to handling this level of complexity in the language right now.


Add software watchdog support in pipe-demo

Thank you sudipm
This patch depend to bsp, that is my understanding.
My opinion "modprobe softdog" should move into the bsp layer recipe.  On the other hand, currently meta-elisa only to use qemu and bsp layer design was not discuss.
I propose to step of work

This patch merge into meta-elisa.
Start discussion for bsp layer design.
Update to the design.

How do you think?

Thank you sudipm
This patch depend to bsp, that is my understanding.
My opinion "modprobe softdog" should move into the bsp layer recipe.  On the other hand, currently meta-elisa only to use qemu and bsp layer design was not discuss.
I propose to step of work

This patch merge into meta-elisa.
Start discussion for bsp layer design.
Update to the design.

How do you think?

Thank you sudipm
This patch depend to bsp, that is my understanding.
My opinion "modprobe softdog" should move into the bsp layer recipe. On the other hand, currently meta-elisa only to use qemu and bsp layer design was not discuss.

Loading a module should not be BSP. imho, BSP should only have changes for the kernel or any lower level libraries but should not have service files changes for loading a module. This module is only needed if this service file is used and there is no need to load it if the service file is removed in the future. If we integrate any kernel patches for watchdog then that definitely should be in BSP.

Thank you sudipm
This patch depend to bsp, that is my understanding.
My opinion "modprobe softdog" should move into the bsp layer recipe. On the other hand, currently meta-elisa only to use qemu and bsp layer design was not discuss.

Loading a module should not be BSP. imho, BSP should only have changes for the kernel or any lower level libraries but should not have service files changes for loading a module. This module is only needed if this service file is used and there is no need to load it if the service file is removed in the future. If we integrate any kernel patches for watchdog then that definitely should be in BSP.

Whether built-in driver or dynamically loading driver is depend on the kernel configuration.
The typical bsp layer is including board specific userland setting.
For example this udev configuration recipe is including bsp layer.
https://git.yoctoproject.org/cgit/cgit.cgi/meta-raspberrypi/tree/recipes-connectivity/pi-bluetooth/pi-bluetooth_0.1.12.bb
My understanding, this modprobe is a same situations.
meta-elisa has a directory for the bsp layer.
meta-elisa/bsp/meta-elisa-bsp-qemu/
But it can't use.  This issue is to be discuss in step 2.

Whether built-in driver or dynamically loading driver is depend on the kernel configuration.
The typical bsp layer is including board specific userland setting.
For example this udev configuration recipe is including bsp layer.
https://git.yoctoproject.org/cgit/cgit.cgi/meta-raspberrypi/tree/recipes-connectivity/pi-bluetooth/pi-bluetooth_0.1.12.bb
My understanding, this modprobe is a same situations.
meta-elisa has a directory for the bsp layer.
meta-elisa/bsp/meta-elisa-bsp-qemu/
But it can't use.  This issue is to be discuss in step 2.

At 1st step.  This patch merge into meta-elisa.

At 1st step.  This patch merge into meta-elisa.

I see you add modprobe softdog.
This means you need to ensure: CONFIG_SOFT_WATCHDOG=m
That needs to happen in every kernel, but here is no global 'kernel.bbappend' to do that in 'every' kernel.
For AGL we have
meta-agl/meta-agl-core/recipes-kernel/linux/linux-agl.inc   that we inject into the BSP's kernels via our own bbappend to them (e.g. linux-raspberrypi_%.bbappend). So there (linux-agl.inc) you could add the requirement for CONFIG_SOFT_WATCHDOG=m .
As a minimum requirement we could RDEPEND_${PN} += "kernel-module-softdog"   as this will bark when there is no softdog module available in the kernel.

I see you add modprobe softdog.
This means you need to ensure: CONFIG_SOFT_WATCHDOG=m
That needs to happen in every kernel, but here is no global 'kernel.bbappend' to do that in 'every' kernel.
For AGL we have
meta-agl/meta-agl-core/recipes-kernel/linux/linux-agl.inc   that we inject into the BSP's kernels via our own bbappend to them (e.g. linux-raspberrypi_%.bbappend). So there (linux-agl.inc) you could add the requirement for CONFIG_SOFT_WATCHDOG=m .
As a minimum requirement we could RDEPEND_${PN} += "kernel-module-softdog"   as this will bark when there is no softdog module available in the kernel.

CONFIG_SOFT_WATCHDOG

Thanks @dl9pf.
Or maybe we can add a config in meta-elisa to enable CONFIG_SOFT_WATCHDOG. But then I think that needs to go to BSP layer.
I will add the RDEPEND on  the next pull request changing the repo link.


Fix code for immediately 'new'-ed/invoked class expressions

Fixes #4630.
The entire immediate invocation for creating a class expression needs to be parenthesized to avoid the new operator from taking over the argument list.
Since a function expression doesn't need to be parenthesized before calling, we can just shift the closing paren that surrounds the function expression to also surround the argument list.
In other words, this:
new (function () {
    function Ship() {
    }
    return Ship;
})() // <- watch this line

becomes
new (function () {
    function Ship() {
    }
    return Ship;
}()) // <- see here?

:+1:

@mihailik good call! I've filed https://github.com/Microsoft/TypeScript-Handbook/issues/130 in light of this. I'll have to comb through the documentation. Luckily the playground is tied to the current version of TypeScript, so when this goes out, this will update it as well. :smile:


Feature/add version placeholder and release flow

This PR adds a github workflow that runs on a published release.
It also injects the tag version into the export_presets.cfg, and utilizes an addon to set the project setting on each export.
It also uses placeholder variables in the screens to replace at runtime.
See my release here, and verify the behaviour.
https://github.com/MagnusHJensen/Tres-Pack-Helper/releases/tag/V1.7.0

If merging, please do squash and merge haha - too many dumb commits.


SOLID POD: Support encryption / decryption in sendLargeFile / getLargeFile

Encrypt the content of .ttl representing a chunked large file in sendLargeFile, and decrypt it in getLargeFile.

The same test as shown in https://github.com/anusii/solidpod/issues/186 is applicable here.


¿What is traccar-master?

I´m new at this and I want to know if the "traccar-master" package can be mounted on a server, if you can help me please...

You can mount it locally by downloading the original project.

@Roman0101, traccar-master is a source code package. If you don't know what it is, most likely you should not be using it. If you want to install Traccar on your server you should download installation package from the official website:
https://www.traccar.org/download/

thank you guys, I was checking the codes of the traccar-master package and are very similar that the Traccar official but you know more than me so I will download the package from the official website, and again thank you very much.

@Roman0101, traccar-master IS the official Traccar.


Add Certificate Expiration Date Variable and Configurable Alerting for Notifications

📑 I have found these related issues/pull requests
Proposed Solution:
New Notification Variables:
Add a new variable, {{CERT_EXP_DATE}}, that represents the certificate expiration date.
Add another variable, {{CERT_EXP_DAYS_REMAINING}}, to include the number of days until the certificate expires.
Customizable Alerts for Certificate Expiration:
🏷 Feature Request Type
Certificate expiry
🔖 Feature description
Allow users to configure notifications for certificate expiration:
Example: Notify 60, 30, 15, and 5 days before the expiration date.
Make this configurable for all monitors, so users don’t have to set it manually for each monitor.
Email Example: Notifications for certificate expiration should include:
Monitor Name (e.g., DonateFood-Prod).
Certificate Name/Hostname (e.g., dsnydonate.nyc.gov).
Expiration Date (e.g., 2025-10-24).
Days Remaining (e.g., 340 days remaining)
Example Email
Subject: Certificate Expiration Alert: DonateFood-Prod
Body:

Monitor: DonateFood-Prod
Certificate Hostname: dsnydonate.nyc.gov
Expiration Date: 2025-10-24
Days Remaining: 30 days
Global Alert Configuration for Certificate Expiry:

✔ Solution
Add a global configuration option where users can:
Set thresholds for alerts (e.g., notify at 60, 30, 15 days before expiry).
Automatically apply these thresholds to all HTTPS monitors.
❓ Alternatives
No response
📝 Additional Context
No response

I think this is already there. At least for the portion to globally set alerting/notification thresholds for certificate expiration. Have you looked in Settings > Notifications > TLS Certificate Expiry ? Then, on an individual monitor you tick "Certificate Expiry Notification" (and other options on that subject as you see fit) and it will inherit the alerting mechanism.

hi joris thanks for the quick reply
so on the setting notification i have
notification type :smtp
friendly name : Test-Cert-Exp
in the custom subject i have  ( but there is not variable for the cert
expiration date)
Certificate Expiry Alert: {{NAME}} is {{STATUS}}
then on my monitor i check
Certificate Expiry Notification
but when i want to test this to see if works i only get and email
with subject
Certificate Expiry Alert: Test is ⚠ Test
body message:
Test-Cert-Exp
but not information about the cert
On Mon, Nov 18, 2024 at 2:33 PM Joris Le Blansch @.***>
wrote:

I think this is already there. At least for the portion to globally set
alerting/notification thresholds for certificate expiration. Have you
looked in Settings > Notifications > TLS Certificate Expiry ?
—
Reply to this email directly, view it on GitHub
https://github.com/louislam/uptime-kuma/issues/5358#issuecomment-2483931929,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BNBJW6BVXPO3PGDP56EAOML2BI6HLAVCNFSM6AAAAABSAMG5QWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOBTHEZTCOJSHE
.
You are receiving this because you authored the thread.Message ID:
@.***>


Challenge 4: Incorrect Self-Closing  Tag in "Learn Basic CSS by Building a Cafe Menu"

Describe the Issue
In Challenge 4 of "Learn Basic CSS by Building a Cafe Menu," the pre-written code in the <head> section includes a self-closing <meta> tag:
<meta charset="utf-8" />
This is inconsistent with HTML5 standards, where self-closing tags are not required for void elements like <meta>. The standard and recommended format was used/introduced in step 3:
<meta charset="utf-8">
Learners might get confused as the provided code enforces an outdated practice, which could lead to incorrect habits for modern web development.
Affected Page
https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-basic-css-by-building-a-cafe-menu/step-4
Your code
The pre-written code snippet provided in the challenge
<head>
  <meta charset="utf-8" />
  <title>Cafe Menu</title>
</head>

Expected behavior
The <meta> tag should conform to HTML5 standards and be written as:
<meta charset="utf-8">

Screenshots

System

Device: [Macbook Air Laptop]
OS: [macOS Monterey version:12.7.6]
Browser: [Chrome]
Version: [Version 131.0.6778.86 (Official Build) (x86_64)]

Additional context
This issue could cause confusion for learners who are being introduced to HTML5. It’s important that the challenges reflect modern practices to help learners build proper coding habits.

That's right, but we don't run prettier against the challenges.

closing, the new lectures anyway use the self-closing slash for void elements, going through the curriculum to remove it is useless if it's present in lectures


⚠ ClamAV has degraded performance

In 0ebe4a0, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 672 ms

Resolved: ClamAV performance has improved in 1fcb140 after 5 minutes.


Fix state handoff

Right now state handoff isn't quite working right.
Whenever the application receives a SIGTERM message, it moves the state from each of the games into the state handoff CRDT. Because we're stopping multiple applications at the same time though, the dynamic supervisor is restarting their game processes. Sometimes the new restarted game processes are located on other nodes that are in the process of shutting down.
Somehow we need to implement connection draining to make sure that processes are always started on the nodes that are still going to be alive.

Fixed by a842227

Fixed by a842227


feat - remove dead code

What kind of change does this PR introduce?:
Remove unnecessary code for be more clean.
Did you add tests for your changes?:
Yes.
Summary:
Just look for some unnecessary code and remove that.
Does this PR introduce a breaking change?:
No, everything worked before, works now
Other:
No

Hi,
thank you for your interest in this script.
I will not merge your pull request though for 2 reasons:

the commented area are reminders of things that I might need to change for compatibility reasons
when minified, all the comments are stripped anyway, so there is no impact to the size of the final production ready file.


Twister: --coverage-formats Does not work despite --coverage added

Describe the bug
Invoking twister using the --coverage-formats with --coverage gives the error:
--coverage-formats can only be used when coverage
                        tool is set to gcovr

An exact command to reproduce:
twister -v -i --clobber -p native_posix -T tests/drivers/sensor/sbs_gauge/ -i --coverage --coverage-formats html

Per default lcov and not gcovr is used by twister to create the coverage reports. You have to specify that gcovr should be used instead of lcov by adding  --coverage-tool gcovr
twister -v -i --clobber -p native_posix -T tests/drivers/sensor/sbs_gauge/ -i --coverage --coverage-tool gcovr --coverage-formats html

BTW, is coverage working now? I get report with no hits at all.

@chrta
Ahh, the error message should probably make that a bit more clear. Thanks!

BTW, is coverage working now? I get report with no hits at all.

Coverage definitely works for me if I just used the --coverage argument.


🚀 Feature: Make users follow/unfollow the playlists on spotify when they join and leave lobbies

Make users follow/unfollow the playlists on spotify when they join and leave lobbies
Proposed Solution
Have the lobby class call these endpoints when a user is added or removed from the lobby.
https://developer.spotify.com/documentation/web-api/reference/#/operations/follow-playlist
https://developer.spotify.com/documentation/web-api/reference/#/operations/unfollow-playlist

[x] :wave: I may be able to implement this feature request

This is a :rocket: Feature Request

Closed by pull request #44


Wireshark 2.4.4 build broken

Issue description
Package wireshark-gtk is broken after update to version 2.4.4.
Brief output with warnings:
...
CMake Warning at CMakeLists.txt:444 (find_package):
  By not providing "FindQt5Core.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Qt5Core", but
  CMake did not find one.

  Could not find a package configuration file provided by "Qt5Core" with any
  of the following names:

    Qt5CoreConfig.cmake
    qt5core-config.cmake

  Add the installation prefix of "Qt5Core" to CMAKE_PREFIX_PATH or set
  "Qt5Core_DIR" to a directory containing one of the above files.  If
  "Qt5Core" provides a separate development package or SDK, be sure it has
  been installed.

...

CMake Error at CMakeLists.txt:947 (find_package):
  By not providing "FindQt5Core.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Qt5Core", but
  CMake did not find one.

  Could not find a package configuration file provided by "Qt5Core" with any
  of the following names:

    Qt5CoreConfig.cmake
    qt5core-config.cmake

  Add the installation prefix of "Qt5Core" to CMAKE_PREFIX_PATH or set
  "Qt5Core_DIR" to a directory containing one of the above files.  If
  "Qt5Core" provides a separate development package or SDK, be sure it has
  been installed.

-- Configuring incomplete, errors occurred!
...

Steps to reproduce
Updated system (nixos-rebuild switch --upgrade) with wireshark-gtk in installed packages.
Technical details

system: "x86_64-linux"
host os: Linux 4.9.76, NixOS, 17.09.2731.92d088e891e (Hummingbird)
multi-user?: yes
sandbox: no
version: nix-env (Nix) 1.11.16
channels(root): "nixos-17.09.2799.d9a2891c32e"
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs

Temporary fix
I had to revert to previous version 2.4.2 with configuration override:
wireshark-gtk = super.wireshark-gtk.overrideAttrs (oldAttrs: let
  version = "2.4.2";
in rec {
  name = "wireshark-gtk-${version}";
  src = super.fetchurl {
    url = "http://www.wireshark.org/download/src/all-versions/wireshark-${version}.tar.xz";
    sha256 = "0zglapd3sz08p2z9x8a5va3jnz17b3n5a1bskf7f2dgx6m3v5b6i";
  };
});

@jtojnar Yes, I know it is not needed. That is why I say that it is not right to have it as a mandatory build dependency.


Interleaving text and images (for few-shot learning)

It does not appear to be possible (e.g. with llava) to interleave images and text (or is it?).
This would be necessary in order to give some few-shot examples of image-text pairs, and then a final image that we want to generate text for. For example, the OpenAI API allows for this by having the content field be a list, where each entry can be either text, or a base64-encoded image. (The examples in their docs do not show it, but it is indeed possible to interleave images and text arbitrarily using that API.)
I am not sure this is possible with the underlying llava model (or others), but if it is, it would be a great feature to have.

Thank you for the feature request!
Unfortunately it's not currently possible to do this. The new MESSAGE command in the Modelfile doesn't yet support adding images, and I think there's probably some work that would need to be done to properly interpret older images.

Outcome will be random. You may try it yourself to even know what differences may arise.
What we do in my OpenAI (and Ollama) API warping is, leave images the last items of a list of input prompts.
Indeed, I see that interleaved image and text and seem  a way of organising stuff. But on USENET, for e.g., or I ahve it myself, use links such as "text[*]", an that mark links to the first, second or third, or whatever reference, is one way out.

Hi there, this is now possible using the /api/chat or the /v1/chat/completions API (which supports base64-encoded images).
For the /api/chat endpoint, interleaving messages of text/images will automatically combine them into one message now.
Let me know if you have any issues with this!


add nodeSelector to the pods of klusterlet

story: https://github.com/open-cluster-management/backlog/issues/15911
Signed-off-by: Zhiwei Yin<EMAIL_ADDRESS>

/assign @qiujian16
/assign @skeeey

/lgtm


Fixed #628, enhanced styling

Related Issue
Closes #628

Description

Fixed the issue of options moving on hovering
Enhanced styling of the sidebar
Removed some redundant CSS

Screenshots

Before
After

Checklist

[x] My code adheres to the established style guidelines of the project.
[x] I have included comments in areas that may be difficult to understand.
[x] My changes have not introduced any new warnings.
[x] I have conducted a self-review of my code.

@Pranav-Rustagi The issue states about bug , Not the styling

@JasonDsouza212 As you can see, I reported the bug and stated that styling could be improved (last line). The bug has been fixed in the commit, and sidebar styling has been improvised.


OpenCvSharp4 ImRead vs OpenCvSharp3

Summary of your issue
Imread not working anymore with .tif file after updating the OpenCvsharp version. The file is 450Mo weight and on 48 bits. Image can be download here (if you auto adjust contrast, you will see a dots grid).
Environment
.Net 4.8
Windows 10
Visual Studio 2019 Profesionnal
Nugget Package for OpenCvSharp4.Windows and all dependencies for OpenCvSharp4.Extensions (include OpenCvSharp4 and .runtime.win (redundancy ?))
What did you do when you faced the problem?
Before to update, a simple imread on every format a file worked. Now, it is not working for some .tif files generated by other part of my project.
Path of my file in the string variable (double slash into it, but only one shown in this post) :
C:\Users\mgauquelin\Downloads\ReferencePiezoVerification_SN404108.tif
Format of my matrix after imread it :

The warning message I get:
imread_('C:\Users\mgauquelin\Downloads\ReferencePiezoVerification_SN404108.tif'): can't read data: unknown exception
I also see something strange when I do cv::getBuildInformation(), that a path is D:a/openCV but I don't know what is this path because there is no such folder.
Example code:
Just for information, I check if the file permission was okay, and it is. My "result" variable is equal to true.

                bool result;
                string file = "myPath";
                using (FileStream fs = new FileStream(file, FileMode.Open))
                {
                    if (fs.CanRead)
                    {
                        result= true;
                    }
                    else
                    {
                        result= false;
                    }
                }
                mat = OpenCvSharp.Cv2.ImRead(file, ImreadModes.Unchanged);

What did you intend to be?
Try to open other format of file : ok.
Try to come back to OpenCvSharp3 : ok

An issue was open on the openCv C++ Github (click here) because it is not C# related.


Set up Vitest

Changed testing framework from Jest to Vitest because Jest is not fully compatible with Vite.


[TASK]: Getting project list shouldnt be set to first 50

Our drop down for listing projects seems to default at 50
The calls used to populate this drop down should not be limited to 50 otherwise any projects past the first 50 become really awkward to use
Solution:
Progressive pagination, e.g. 0-49 => 0-99 => 0-149 ??
Or maybe like the last 20 projects updated + a searchbar if you are looking for specific stuff
Leaning towards the search bar

Marking as Backlog just because there will be some designs around this by the sounds of it post eval
@pascaleproulx @jamiewaese-uncharted  for visibility

Done


Error with GPU: CUBLAS_STATUS_EXECUTION_FAILED

Unable to run test training on GPU. Here is the error stack. (Win 10, RTX 3060Ti, CUDA 10.0 cudnn 7.6.3) Please tell me what i am doing wrong.
2023-02-05 10:33:42.061163: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cublas64_100.dll
2023-02-05 10:33:42.317036: E tensorflow/stream_executor/cuda/cuda_blas.cc:428] failed to run cuBLAS routine: CUBLAS_STATUS_EXECUTION_FAILED
org.tensorflow.TensorFlowException: 2 root error(s) found.
  (0) Internal: Blas GEMM launch failed : a.shape=(100, 300), b.shape=(300, 100), m=100, n=100, k=300
	 [[{{node MatMul_1}}]]
  (1) Internal: Blas GEMM launch failed : a.shape=(100, 300), b.shape=(300, 100), m=100, n=100, k=300
	 [[{{node MatMul_1}}]]
	 [[Mean_1/_13]]
0 successful operations.
0 derived errors ignored.

Also, there could be a problem with the drivers for the GPU card or memory allocation https://forums.developer.nvidia.com/t/error-failed-to-run-cublas-routine-cublas-status-execution-failed/164278
https://github.com/matterport/Mask_RCNN/issues/2510

Also, if you experimented with many CUDA versions, probably, you need to check twice the environment variables; the LIBRARY_PATH or PATH could contain the path to another CUDA version (it happens to me)

C++ redistributable parts and PATH is OK.
How can this density be applied in KotlinDL?
import tensorflow as tf
config = tf.ConfigProto()
config.gpu_options.allow_growth = True
session = tf.Session(config=config)

We could provide such kind of options in the future release
I will create a ticket to open this ability to the users


Modified upsertGraph with deepReturningAll does not have all fields after relation update

When using upsertGraph with deepReturningAll trick from https://github.com/Vincit/objection.js/issues/1079#issuecomment-422766504, not all fields are present if related item was updated.
Example
LeatherType has many LeatherTypeColors
Models
class LeatherType extends BaseModel {
  static tableName = 'leather_types'

  static relationMappings = {
    colors: {
      relation: BaseModel.HasManyRelation,
      modelClass: LeatherTypeColor,
      join: {
        from: 'leather_types.id',
        to: 'leather_type_colors.leather_type_id'
      }
    }
  }
}

class LeatherTypeColor extends BaseModel {
  static tableName = 'leather_type_colors'
}

class BaseModel extends Model {
  static columnNameMappers = snakeCaseMappers()

  static useLimitInFirst = true

  async $beforeInsert(queryContext) {
    await super.$beforeInsert(queryContext)

    const date = new Date().toISOString()

    this.created_at = date
    this.updated_at = date
  }

  async $beforeUpdate(opt, queryContext) {
    await super.$beforeUpdate(opt, queryContext)

    this.updated_at = new Date().toISOString()
  }
}

export default DbErrors(BaseModel)

deepReturningAll function
function deepReturningAll(builder) {
  builder.mergeContext({
    onBuild: (queryBuilder) => {
      if (queryBuilder.isInsert() || queryBuilder.isUpdate()) {
        queryBuilder.returning('*')
      }
    }
  })
}

Basic insertGraph

const leatherType = await LeatherType.query()
  .insertGraph({
    title: 'sample title',
    slug: 'sample slug'
  })

Result

Works

Modified insertGraph with deepReturningAll

const leatherType = await LeatherType.query()
  .insertGraph({
    title: 'sample title 1',
    slug: 'sample slug 1'
  })
  .modify(deepReturningAll)

Result

Works

Modified insertGraph with deepReturningAll and inserted related color

const leatherType = await LeatherType.query()
  .insertGraph({
    title: 'sample title 2',
    slug: 'sample slug 2',
    colors: [
      {
        title: 'red',
        slug: 'red'
      }
    ]
  })
  .modify(deepReturningAll)

Result

Works

Modified upsertGraph with deepReturningAll

Updating the last example (adding one more color and updating another one)
const leatherType = await LeatherType.query()
  .upsertGraph({
    id: 81,
    title: 'sample title 2-1',
    slug: 'sample slug 2-1',
    colors: [
      {
        title: 'yellow',
        slug: 'yellow'
      },
      {
        id: 67,
        title: 'blue',
        slug: 'blue'
      }
    ]
  })
  .modify(deepReturningAll)

Result

Half works, inserted color is fully returned back while updated one is not.
Running last sql query gives all info:

Any idea why this is happening?
objection - 1.2.6
node - 10.8.0

Updates are not inserts, so you need to check isUpdate too.

Oh, sorry you did that. I'll look into this at some point.

@koskimas thank you 😉


I cant see my adaptive card on the Bot builder emulator, it appears as blank.

Version
4.14.1
Describe the bug
My adaptive card does not show, it appears only a grey rectangle.
To Reproduce

Here's the json of my adaptive card
{
  "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
  "type": "AdaptiveCard",
  "version": "1.3",
  "body": [
    {
      "type": "TextBlock",
      "wrap": true,
      "text": "Hello!"
    },
    {
      "type": "TextBlock",
      "wrap": true,
      "text": "You can also use commands to my default language (!lang <desired language>). Type !help to see all the available commands!"
    },
    {
      "type": "TextBlock",
      "weight": "bolder",
      "text": "Choose a conversation starter:"
    }
  ],
  "actions": [
    {
      "type": "Action.Submit",
      "title": "How to close the cash register?",
      "data": {
        "value": "How to close the cash register?"
      }
    },
    {
      "type": "Action.Submit",
      "title": "How to handle a return?",
      "data": {
        "value": "How to handle a return?"
      }
    }
  ]
}

@jpiabrantes please try the latest nightly release https://github.com/Microsoft/botframework-emulator-nightlies/releases

@jpiabrantes - I just tested your adaptive card in Emulator (using the same version) and I am able to see the rendered card. Could you try some of the following tests:

Can you try a different adaptive card. Perhaps one from the adaptive cards designer or from one of our samples?
Can you try sending other attachments such as a hero card or a file?
Can you provide the code for how you are sending your adaptive card?


[stable/redis] use latest for oliver006/redis_exporter

This changes redis_exporter tag to latest, as v0.20.2 is not available on mirror.gcr.io.

Images should use fixed tags.

Thanks for the contribution!
Yes, to avoid breaking changes it's better to use a specific tag instead of latest, in the same way, before continue, you need to sign your existing commits, you can find custom instructions in the “Details” link from the below DCO check, also you should increment the chart version in the Chart.yml according to semver:

Given a version number MAJOR.MINOR.PATCH, increment the:

MAJOR version when you make incompatible API changes,
MINOR version when you add functionality in a backwards-compatible manner, and
PATCH version when you make backwards-compatible bug fixes.
Additional labels for pre-release and build metadata are available as extensions to the MAJOR.MINOR.PATCH format.

Dumb question: why does bitnami/minideb use latest?

Well, I just checked other examples and it seems that sometimes we are using latest for some exporters and other images used as init containers like busybox (minideb in this case). I agree we should be consistent with that.
In my opinion, as a general rule for "containerized deployments" we should use immutable tags in production; this ensures that your deployment is not affected if a new revision inadvertently breaks existing functionality. Only if you are using containers for development, we can use rolling tags. This ensures that you are always using the latest version. Rolling tags also make it easier to use a specific version of a development tool (such as node:8 for Node.js 8).
Taking a look at the Chart best practices about pods it seems that we should use fixed tags.
Should we move to fixed tag all the images present in this repo? I mean, is this a change that should we apply to everything? In the same way, we should take into account in future revisions as @davidkarlsen did this time.
cc @prydonius @unguiculus @desaintmartin

I would suggest pinning every version even in values.yaml as 90% of people don't follow values-production.yaml and just "extend" values.yaml.

👍 closing in favor of using explicit tags.


Which model is used in the demo

Dear Authors,
Which model is used in the demo (https://openxlab.org.cn/apps/detail/mmpose/RTMPose)
I tried several model and didn't get the same results as demos
Thanks!

DWPose-Large. The input size and detector is different in the Demo.

Thank you for your reply. Could you give me more specific information, such as input size, detector method and so on.

The demo is implemented by MMPose. In this repo, the input size for detector (Yolox) is 640x640. The size for pose is 384x288. Please refer here


Added dynamic slot name for shortand syntax example

Hello,
I think it would be useful to be mentioned that the Dynamic Slot Name feature can be used with the Name slot shortand syntax.
I also moved the Dynamic Slot Names chapter under it, for it to be consistent with my change.
Have a nice day !

Thanks for the PR. Personally, I find this addition to be unnecessary (slots and dynamic arguments are for immediate or advanced users who shouldn't have a problem concluding this information from other details), but I'll leave the PR open in case others find it better to be explicit this way.
Pinging @NataliaTepluhina, @sdras, and @chrisvfritz.

It could be under there too. https://vuejs.org/v2/guide/syntax.html#v-on-Shorthand

I'd rather agree with @phanan
Thank you for your work on this PR anyway!

This issue has not received an update in a while, should it be closed or thinked again ?


W2D3 update version 2

Please don't reuse the same branch that has already been closed as the origin branch gets deleted and it creates a mess
Can you please recreate a clean branch from main cherry pick your commit across, make sure notebooks are cleaned and resubmit a Pull request?

This was a clean branch (see the 'version 2') I made it just before I pushed. I can do that again, but maybe you can clarify so that I don't just reproduce whatever the issue is. Thanks!

This was a clean branch (see the 'version 2') I made it just before I pushed. I can do that again, but maybe you can clarify so that I don't just reproduce whatever the issue is. Thanks!

Maybe it is just my local git as I am getting "cannot find remote reference for ..." but GitHub seems to be able to merge with main so 🤷


APIs Datasheet

Contributor's Name
Durgesh Mahajan
GitHub Username
durgeshm01722
Description
I made an API Datasheet that explains almost all the concepts related to APIs very easily and clearly.
Contribution Category
low-code
What was it about?
writing
Select the exact contribution you did
docs, translating, copy-editing, design
Link to your Contribution
https://drive.google.com/file/d/1Uz3zfVdBm5mYVHh3oVDmdVDKJVhAGEFE/view?usp=sharing
Code of Conduct

[X] I agree to the above statement

@joshi-kaushal please help @durgeshm01722 get this contribution in an expected manner.

Hi @durgeshm01722! Thanks for submitting the issue.
I read the entire document and I could not see any direct or indirect relevancy with our project. Hacktoberfest allows no/low code contributions for a particular open-source project.
I suggest repurposing this document and writing a blog about it. We will publish it on our blog.
Make sure that you are not plagiarising anyone else's content. This includes text, images, or any other media you include without proper credits. If you are sharing notes you took from a Bootcamp/course/video/etc., rewrite them in your words and add your unique flavor. For images, I suggest you use excalidraw.
If you have any issues, feel free to ping me. All the best!

No problem Sir.


check storage server pings

report in status

we now tracked failures and lokid status already tracks last ping received


add BoxDecoration back to dialog and action sheet

Description
Add the BoxDecoration with overlay blendMode back, to mitigate https://github.com/flutter/flutter/issues/50183. Breaks one test.
Screenshots
Looks fine to me in general but there's an unwanted glowing effect in dark mode around the action sheet.

Light Mode
Dark Mode

Related Issues
https://github.com/flutter/flutter/issues/50183
Tests
I added the following tests:

Dialog contains BoxDecoration with overlay blend mode.
Action sheets contain BoxDecoration with overlay blend mode

Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I signed the CLA.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I updated/added relevant documentation (doc comments with ///).
[x] All existing and new tests are passing.
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Did any tests fail when you ran them? Please read Handling breaking changes.

[ ] No, no existing tests failed, so this is not a breaking change.
[ ] Yes, this is a breaking change. If not, delete the remainder of this section.

[ ] I wrote a design doc: https://flutter.dev/go/template Replace this with a link to your design doc's short link
[ ] I got input from the developer relations team, specifically from: Replace with the names of who gave advice
[ ] I wrote a migration guide: Replace with a link to your migration guide

I'm not sure I'm seeing the glowing that you are talking about around the dark mode action sheets. Where should I be looking?

Sorry this has been sitting here for way too long now. I'll follow up on the reviews.

@LongCatIsLooong do you want to refresh this PR?

@xster I need https://github.com/flutter/engine/pull/20309 to implement the visual effects. I'll continue working on this one when the color filter PR gets in.


Added cpp code for swapping two numbers using friend function

Have you read the Contributing Guidelines on Pull Requests?
yes
Description
(Write your answer here.)
Checklist

[  ] I've read the contribution guidelines.
[  ] I've checked the issue list before deciding what to submit.
[ ] I've edited the README.md and link to my code.

Related Issues or Pull Requests
Issue #3775

@anushkrishnav , I am GSSOC'21 participant, I am new to open source. Please merged my PR. Thankyou

First read the Guidlines
When you add a new program always eid it MD file to add a link for it.
also check if the solution already exists before you start working on it

I am closing this since you haven't followed the guidelines


error: The argument type 'Duration' can't be assigned to the parameter type 'Stream Function(String)'. (argument_type_not_assignable at [movies_flutter] lib/widgets/search/search_page.dart:41)

I am relatively new to flutter, anyone can help how should i solve the problem? thank you!


fix md5 already being decoded

Recent changes made it so that the md5 is already correctly decoded. Version 1.2 will need to be released first

Lets first release and then bump and release this as well


Documentation: Add design rationale to contributing guide

Add any design rationale for standout differences between this (Ruby) and other libraries or the spec.
From @fbogsany

I've been thinking recently about the first one, since we have some distinct Ruby-isms in our codebase that differ significantly from other implementations.

I would like to work on this

Thanks. It's assigned @benedictfischer09!

Is this issue still relevant?


[SPARK-27165][SPARK-27107][BUILD][SQL] Upgrade Apache ORC to 1.5.5

What changes were proposed in this pull request?
This issue aims to update Apache ORC dependency to fix SPARK-27107 .
[ORC-452] Support converting MAP column from JSON to ORC Improvement
[ORC-447] Change the docker scripts to keep a persistent m2 cache
[ORC-463] Add `version` command
[ORC-475] ORC reader should lazily get filesystem
[ORC-476] Make SearchAgument kryo buffer size configurable

How was this patch tested?
Pass the Jenkins with the existing tests.

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/testing-k8s-prb-make-spark-distribution-unified/8931/
Test PASSed.

Test build #103521 has started for PR 24096 at commit 91536da.

Thank you so much for review and approval, @gatorsmile !

Thank you for review and approval, @HyukjinKwon !

Test build #103521 has finished for PR 24096 at commit 91536da.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged to master.

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/SparkPullRequestBuilder/103521/
Test PASSed.


Fix error parsing extends statement if it has the cursor [3.x]

When extends is immediately followed by the 0xFFFF cursor, the parser does not properly handle this and so causes errors to be reported.
Fixes #53293 (along with #53308)

Thanks!


HDFS-16274. Improve error msg for FSNamesystem#startFileInt

JIRA: HDFS-16274
When the blocksize of a file is smaller than dfs.namenode.fs-limits.min-block-size, an IOE will be thrown. In current exception messages, it is easy to confuse the value of blocksize with the value of dfs.namenode.fs-limits.min-block-size.
Before the change:

After the change:

Thanks @hemanthboyina @virajjasani for your review.


Give a 👍 to the enhancements that you love

There are a lot of good enhancements here, but unfortunately my free time is limited.
I would choose the next task based on:

The complexity of the enhancement
Sort by 👍

I would suggest to start closing stale issues, or issues with questions not related to Uptime-Kuma. It seems in the last 2 weeks that has increased a lot.

questions not related to Uptime-Kuma

Any examples?

I would also like to know how my request is considered unrelated?

#779

Please change the link in the main post of this issue from "https://github.com/louislam/uptime-kuma/issues?q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc+label%3Aenhancement" to "https://github.com/louislam/uptime-kuma/issues?q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc+label%3Afeature-request".


Discard deprecated Responses of previous JSONModel.loadData()-Calls

Hi,
i have an issue with the JSONModel (but the same applies to the XMLModel):
var model = new sap.ui.model.json.JSONModel();
//the user selects a master item that loads a very long detail list
model.loadData("/resource_taking_5_seconds_to_answer"); //long list
//after 2 seconds the user selects an other master item that loads an much shorter detail list
model.loadData("/resource_taking_1_seconds_to_answer"); //short list
//The response of the first slow request overwrites the data of the faster second request!

The JSONModel.loadData()-Method should only accept the response of the last issued ajax request when merge = false.
Yes, i could use $.ajax() and handle this my self as a workaround. But i think the JSONModel.loadData() should do it right.
As a possible solution, i would clear the this.aPendingRequestHandles in ClientModel line 116 when the merge option is false.
Have a nice day,
Bernhard

Hi,
yes, this sounds like a bug. I opened internal ticket<PHONE_NUMBER> for it for tracking.
Thanks and regards
Andreas

Hi,
we'll change the behaviour with 1.38. The sync data loading does not change, but we sequentialize async requests.
BR,
Jan

Should be this commit: https://github.com/SAP/openui5/commit/5f983a527d651214a9f6734ae5119acc6b684421


Broken link

"Default WPF Themes" link is broken

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

ID: c77316ba-f765-fc01-8bef-2451b6b44ebf
Version Independent ID: e3895129-2893-7d9a-5f99-fb03f1ce3e8f
Content: Button Class (System.Windows.Controls)
Content Source: xml/System.Windows.Controls/Button.xml
Product: dotnet-api
GitHub Login: @dotnet-bot
Microsoft Alias: dotnetcontent

Duplicate of #6831

Thank you @MichaelLHerman for your feedback. I'm closing this one as duplicate since we already have an issue covering the same problem.


Add successful, failure and form validation sign in tests.

Fixed some linter warnings

Just curious, didn't we have these tests implemented already?

This was a re-implementation with the native framework


read_receipts: Alter translation string in accordance with Transifex.

This is a proposed fix to allow the pluralization forms to correctly show up in Transifex's UI for the translators.
Context can be found here:
https://chat.zulip.org/#narrow/stream/58-translation/topic/ICU.20Message.20syntax/near/1431813
This is a followup to #22837.
Signed-off-by: Zixuan James Li<EMAIL_ADDRESS>
Screenshots and screen captures:
Self-review checklist

[ ] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[ ] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[ ] Each commit is a coherent idea.
[ ] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[ ] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

I tested, and it works fine in Transifex; it also still works similarly well if we do "one person", so I applied that change.


Do not consider target directory for coverage

This PR shouldn't consider the target directory anymore for coverage

Coverage increased (+0.2%) to 84.399% when pulling 8b006a9cd8243bdd8963dd8e34177a90439b5838 on Luni-4:target into 767fff0b5926642cffe131304f9af1d08a9e1ced on xiph:master.

It seems not to work...

Looks like it's working now?
I think we should also exclude /tests and /src/test_encode_decode

Yep, seems ignored now, perhaps we just needed to wait for the update eh eh
Let me exclude the ones you have reported also