https://developer.mozilla.org/en-US/docs/Web/Events/input

Request type

[ ] Please close this issue, I accidentally submitted it without adding any details
[ ] New documentation
[x] Correction or update

Details
On page Web/Events/input, MDN states that input event is implemented in Firefox, but actually that implementation differs from the standard.
It's documented in spec and MDN to have .composed === true set for input events, which looks to be true for Chrome 72 and Safari, but Firefox 65 has .composed === false for input events coming from a <select> element (and, possibly, some other elements).
Upd: This seems to affect <select> and <input type="checkbox"> at least, in Firefox 65. This does not seem to affect <input type="text"> elements — they emit input events with .composed set to true in Firefox 65.
Here is a testcase, could be also viewed on codepen:
<select>
  <option>change me</option>
  <option>select me</option>
</select>
<script>
  document.body.querySelector('select').oninput = e => {
    alert(`This should be true by spec: ${e.composed}`)
  }
</script>

Is something like this supposed to be mentioned in known issues on that MDN page, like other browser differences are?
Other browsers results (for <select> element):

Chrome 72 on Linux, Android, and macOS report true.
Safari on macOS reports true.
Firefox 65 on Linux and macOS reports false, which seems to be invalid.
Chrome 71 on macOS reports false, which also seems to be invalid.
Firefox Nightly (67) reports false.

Corresponding spec links:

https://w3c.github.io/uievents/#event-type-input
https://www.w3.org/TR/uievents/#event-type-input
https://dom.spec.whatwg.org/#event

Another problem on the same page:

The DOM input event fires synchronously when the value of an <input>, <select>, or <textarea> element has been altered.

But that is invalid.
Spec says:

The input event fires whenever the user has modified the data of the control.
In all cases, the input event comes before the corresponding change event (if any).

Neither setting .value nor using .setAttribute("value", ...) triggers the input event -- only user input does.
So, s/has been altered/has been altered by user input/, I guess?


Adapt execute_entrypoint to execute the new contract classes

Depends on #313
We need to update our execute_entrypoint module to take into account the new contract. classes from cairo 1. In cairo-lang 0.11 this is implemented in the execute_entrypoint.py module using an IF statement and switching to the relevant implementation based on the type of the contractClass being executed. We should do something similar and implement the execute_version0 and the new execute methods.

I'm closing this issue as it was partitioned in two sub issues:

Implement new compiled classes execution flow in execute_entrypoint module
Investigate and update the old contract classes execution flow


Errors

Hi..
I am seeign two errors in console.. here the images.
Here my code:
<RetinaImage
src={["../imgs/how-does-it-work-1.jpg","../imgs/how-does-it-work-1_2x.jpg"]}
/>

I can help with a pull request.. but i need to understand some code..
el = this.refs.img;
    if (!el.complete) {
      return false;
    }
    if (el.naturalWidth === 0) {
      return false;
    }

Where you define complete and naturalWidth?
I saw the state retinaCheckComplete maybe could be used instead of complete.... Or you could explain me the implementation required to help you.

From the second error, it seems you have multiple copies of React loaded which is almost certainly what's causing the trouble. el here is the DOM element for the image this component is managing.


Running marathon-consul as a Docker container via Marathon

Would you recommend running marathon-consul in a lightweight Docker container via Marathon? Any particular setup needed which is not obvious from the README?
Thank you

In our setup we run marathon-consul on every Marathon Master and marathon callback is pointing to localhost. This solution remove network overhead, and Marathon Masters proxing.
Deploying marathon-consul on Mesos is also possible but then you need to manually register subscription in Marathon so this is not recommend.


getMyTop() don't work!

Hi! Like the title says, $api->getMyTop($type) don't really want to work. When I use it, i got an error on the sendRequest() !

Maybe the problem just come from me, but I'm pretty new with PHP so don't be rude ! I'm dropping my code too, if maybe I make a big mistake there. Thank's you!

Hey!
The code looks good! However, you seem to have missed the user-top-read scope. Add it to the scope array and it should work.
$options = [
        'scope' => [
            'user-read-email',
            'user-top-read',
        ],
    ];

Yeah that's it! Thank's a lot!


Fix bindings generation with unused types in Rust

This commit fixes an issue where if a type was imported into an interface but wasn't actually used anywhere then bindings weren't correctly generated because inference about whether it was owned or borrowed didn't run. The fix here is to skip generating bindings for unused types since they're not actually needed anywhere anyway. If necessary in the future bindings can be forcibly generated but for now this is hopefully largely "just" fixing an edge case.

cc @Mossaka I'm adding an ignore for TinyGo for the new test I'm adding since it failed in CI above


az ad sp create-for-rbac fails if password param specified

I'm running the following command:
az ad sp create-for-rbac --password "@bcd3F!!!" -n "http://myNewCoolAppUrl"
and get the following error:
[Errno 2] No such file or directory: '@bcd3F!!!'
Traceback (most recent call last):
File "C:\Users\paselem\AppData\Roaming\Python\Python36\site-packages\azure\cli\core\application.py", line 236, in _expand_file_prefix
return '='.join([arg_split[0], Application._maybe_load_file(arg_split[1])])
IndexError: list index out of range
During handling of the above exception, another exception occurred:
...
When changing the password to remove the '@' as the first character it then succeeds. Took me a while to figure that out. I feel the error message could be much more descriptive.

The @ is sort of a reserved word in CLI, implying you are loading content from a file.
//CC: @twitchax, we need some document coverage to call this behavior.
The @ gets handled at core level, so there is nothing this command can do. Closing


Add benchmark for using sbcl's native message box and queue implementations

You can find them documented in http://www.sbcl.org/manual/#sb_002dconcurrency I think they could be put in the same section as the channel implementations. Specifically message boxes which to many people are just like channels.

Ok it's really slow but I may as well make a benchmark anyways and hopefully it will get better as time goes on


Getting prop types read-only error when using new typography

When I try to use the typography inside of next js <Link> component I am getting the following error:
Edit: <Grid> component is also doing the same, that's wierd

As of I know next js Link component clones the props of the children and inject it so I guess that's why it is throwing this error

[x] This is not a v0.x issue.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior

No error should be thrown
Current Behavior

An error is thrown this is  warning about a prop being read-only
Steps to Reproduce

It is pretty hard to next js setup in codesandbox with all the ssr stuff, need to get many boilerplate files :sweat_smile: You can reproduce this in your docs site if you are using typography inside a Link component
Link:

Setup next js with ssr
Setup the new typography in theme (ie useNextVariants)
Make a  Link that wrap a typography component

Context

Your Environment

Tech
Version

Material-UI
v3.2.1

React
v16.6.0

Browser
Chrome 70

TypeScript
using next js plugin that uses babel 7

This is a know regression of v3.2.1 upgrade to v3.2.2 or latter (#13254).

Ok thanks :+1:


Two steps towards a modern data platform / Gerben Oostra

URL: https://www.bigdatarepublic.nl/articles/two-steps-towards-modern-data-platform/
Review (1-2 sentences): One of the views on the organization of data teams. Transformation from centralized team to data mesh
Do not forget to add labels.

Published in the Digest #1


Update to Go 1.19

Signed-off-by: Carlo Lobrano<EMAIL_ADDRESS>

/lgtm
/hold
Since there are no e2e tests yet I suggest (if you haven't already) verifying manually that the operator works as expected.

Since there are no e2e tests yet I suggest (if you haven't already) verifying manually that the operator works as expected.

I did tested it (before and after this PR, to have a reference), and it is working as expected

/approved
/unhold

/retest

oh, still WIP
feell free to remove when done 🙂
/hold

nevermind, WIP will not be merged anyway 😆
/hold cancel

LOL, sorry for the noise :smile:
It is ready again


grunt not working on nodejs v10.6.0

I upgraded my nodejs to latest version, but something error occur, anyone who can help me? Looking for some help, if not I'm going to downgrade my nodejs :(
D:\Rancho\Workspaces\MyEclipse2017\NetAuth\WebContent\website>grunt --version
grunt-cli v1.2.0
grunt v1.0.3

D:\Rancho\Workspaces\MyEclipse2017\NetAuth\WebContent\website>node -v
v10.6.0

D:\Rancho\Workspaces\MyEclipse2017\NetAuth\WebContent\website>npm -v
6.1.0

D:\Rancho\Workspaces\MyEclipse2017\NetAuth\WebContent\website>grunt tmod
grunt[26940]: src\node_contextify.cc:631: Assertion `args[1]->IsString()' failed.
 1: 00007FF77F2782F5
 2: 00007FF77F254156
 3: 00007FF77F254221
 4: 00007FF77F22A69A
 5: 00007FF77F875EB2
 6: 00007FF77F877008
 7: 00007FF77F87636D
 8: 00007FF77F87628B
 9:<PHONE_NUMBER>B841C1

Just fix it by delete the node_modules folder and then reinstall node modules, grunt works as well in nodejs v10.6.0, maybe my modules have something bugs :)


Cannot use /* exported */ to prevent no-unused-vars warnings

I am writing javascript for use in a browser environment, without using node/webpack/browserify. I want to be able to use eslint's exported keyword to mark variables that will be used in other imported files. This keyword does not seem to be functioning currently.

Interesting. I wasn't aware eslint had an exported keyword. Context here: https://github.com/eslint/eslint/issues/1200
This keyword won't work with standard because we enable the "node" eslint environment which makes eslint assume that all code is in a function scope.
I suggest using the recommendation from RULES.md, which is to explicitly use window.*. For example:
window.MyExportedVar = function () { /* ... */ }


[RFR] Fix click, hover and zoomend event listeners

WIP as it still misses tests.

Switching to RFR. Fixes #46.


ByteBuffer.clear(minimumCapacity:) API

We should have an API in ByteBuffer that works like clear but requests at least minimumCapacity bytes. The use for that is if the current buffer is uniquely referenced, it'll just be cleared (followed by reserveCapacity) but if the current buffer is not uniquely referenced, then we'd allocate a new one with minimumCapacity.

This could be a good first issue. The only NIO knowledge that's required would be basic ByteBuffer usage. If this issue sounds attractive, please comment here and we can give much more information.
The basic idea is that often it's beneficial to re-use an existing ByteBuffer if that doesn't cause a copy-on-write copy (regardless of the size of the existing ByteBuffer). If it would cause a copy-on-write copy however it's often beneficial to allocate a new ByteBuffer of the right size rather than the size of the one that happens to be around.

Hey Johannes, has this been assigned to anyone? If not can I take a shot at this? It will be my first contribution to this repo!

hi @akshay1992kalbhor , thanks for reaching out! No this hasn't been assigned to anybody yet. Please feel free to assign it to yourself. And please reach out if there's anything we can help with :)

Thanks. I think I have a fairly good understanding of how ByteBuffer works and the first two comments will hopefully allow me to start working on this one. Is there anything else I should know before starting?

Also, I don't have permission to assign the issue to myself. Can someone help me with that?

Thank you and done!

Don’t think there’s anything else to know if the issue makes sense to you

@akshay1992kalbhor are you still working on this?

I will work on that.

I'm working on it, too.

Resolved by #1204, with the work done collaboratively by @keno42, @kam800, and @cweinberger. Great work all!


Documentation example doesn't contain all required inputs

The YAML snippet in the documentation doesn't contain the input codeCoverageTool with the possible values (Cobertura and JaCoCo). It is mentioned as required input in the text but there are no options mentioned which makes it a bit hard to come up with the right values.
The argument is also missing in the arguments section below the YAML snippet.

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

ID: c6ac4ff4-9839-6a6d-8d20-a25084d221ef
Version Independent ID: bd09f139-8e69-8ea1-6671-b7bba8e17c23
Content: Publish Code Coverage Results task - Azure Pipelines
Content Source: docs/pipelines/tasks/test/publish-code-coverage-results.md
Product: devops
Technology: devops-cicd-tasks
GitHub Login: @shashban
Microsoft Alias: shashban

Thanks for letting us know. This issue is fixed in our new task reference, which is generated using the task source code and includes all task inputs, including any aliases here:
https://learn.microsoft.com/en-us/azure/devops/pipelines/tasks/reference/publish-code-coverage-results-v1?view=azure-pipelines
Please check it out and let us know what you think. Thank you.


Upload bug fixes for #330 and #342

Codecov Report

Merging #378 (a67f471) into master (7190c83) will decrease coverage by 0.05%.
The diff coverage is 34.61%.

@@             Coverage Diff              @@
##             master     #378      +/-   ##
============================================
- Coverage     60.98%   60.92%   -0.06%
- Complexity      542      546       +4
============================================
  Files           101      100       -1
  Lines          2040     2042       +2
  Branches        209      213       +4
============================================
  Hits           1244     1244
- Misses          708      709       +1
- Partials         88       89       +1

Impacted Files
Coverage Δ

...main/java/seedu/programmer/logic/LogicManager.java
46.87% <0.00%> (+2.75%)
:arrow_up:

...seedu/programmer/logic/commands/AddLabCommand.java
62.50% <0.00%> (ø)

...du/programmer/logic/commands/DeleteLabCommand.java
69.56% <0.00%> (ø)

src/main/java/seedu/programmer/model/Model.java
100.00% <ø> (ø)

...ain/java/seedu/programmer/model/student/Email.java
80.00% <ø> (ø)

.../main/java/seedu/programmer/model/student/Lab.java
84.84% <ø> (ø)

...n/java/seedu/programmer/model/student/Student.java
81.17% <ø> (ø)

...java/seedu/programmer/model/student/StudentId.java
80.00% <ø> (ø)

...main/java/seedu/programmer/ui/DashboardWindow.java
0.00% <0.00%> (ø)

src/main/java/seedu/programmer/ui/HelpWindow.java
0.00% <0.00%> (ø)

... and 22 more

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 4c9444a...a67f471. Read the comment docs.


Error: SQLSTATE=PAERR SQLCODE=8014

When calling fetchAll() I have this  Error: SQLSTATE=PAERR SQLCODE=8014 There is no result set to be queried. Please execute a SQL command first.
Normaly an asynchrone function, should not throw an exception. The error should be returned as expected, through the callback error parameter.

@abamara I believe the problem is you aren't getting to the async part of the function fetchAll().
Your statement object is not in the proper state to start any async work.
Can you provide a code example?  With output?
Also could you provide node and idb-connector versions?
For example:  This fails because it never ran the query that was prepared
console.log("node: ", process.version);
console.log('idb:', require("idb-connector/package.json").version);

const { dbstmt, dbconn } = require('idb-connector');

const connection = new dbconn();
connection.debug(true);
connection.conn('*LOCAL');

const statement = new dbstmt(connection);
statement.prepare(`
        WITH testTable (id, name) AS(
            SELECT 1, 'Alice' FROM sysibm.sysdummy1
            UNION ALL
            SELECT 2, 'Bob' FROM sysibm.sysdummy1
            )
        SELECT * FROM testTable;`
    , (error) => {
        if (error) {
            throw error;
        }
        //commented out to produce the error
        //   statement.execute((error) => {
        //     if (error) {
        //       throw error;
        //     }
        statement.fetchAll((result, error) => {
            if (error) {
                throw error;
            }
            console.log(`Result Set:${JSON.stringify(result)}\n`);
            statement.close();
            connection.disconn();
            connection.close();
        });
    });
// });

output:
Node:  v10.15.3
idb: 1.2.0
SQLConnect(0): conn obj [1803454f0] handler [2]
Prepare().
SQLPrepare(0):
    WITH testTable as(
        SELECT 1 as id, 'Alice' as name from sysibm.sysdummy1
        UNION All
        SELECT 2 as id, 'Bob' as name from sysibm.sysdummy1)
    SELECT * from testTable;

FetchAllAsync().
/db2/nodejs-idb-connector/btest.js:27
        statement.fetchAll((result, error) => {
                  ^

Error: SQLSTATE=PAERR SQLCODE=8014 There is no result set to be queried. Please execute a SQL command first.
    at statement.prepare (/db2/nodejs-idb-connector/btest.js:27:19)

I have this issue with idb 1.2 and Node 10.
I see that you tried to reproduce the issue with commenting execute part.
But you can easily reproduce the issue by replacing the select query by an update query.
Or by a query that return no result.
My issue was with fetchAll() that return errors through a callback and also throw some exceptions.
And also, the error returned is not a standard DB2 error, it's a bit confusing.

What are you expecting to get back with fetchAll() after executing an update?
The exception is thrown when the program is checking the input parameters...
https://github.com/IBM/nodejs-idb-connector/blob/a580efce5eff667566747014f4bf3e9debe216fe/src/db2ia/dbstmt.cc#L1295
I tried an empty set query and I do not get an exception...
Node:  v10.15.3
idb: 1.2.0
SQLConnect(0): conn obj [1803454f0] handler [2]
Prepare().

SQLExecuteAsync(0):
SQLNUMRESULTSCOLS(0) Column Count = 2
SQLDescribeCol(0)       index[0]        sqlType[4]      colScale[0]     colPrecise[4]
SQLDescribeCol(0)       index[1]        sqlType[12]     colScale[0]     colPrecise[5]
FetchAllAsync().
Result Set:[]

SQLFreeStmt: stmth 3 [SQL_DROP]
SQLFreeStmt(0)
SQLDisconnect: conn obj [1803454f0] handler [2]
SQLFreeConnect: conn obj [1803454f0] handler [2]
SQLFreeConnect[0]

I am still getting the exception.
Why i am calling fetchall() ? It's simple, i made a function(sql) wich take an sql an then execute it.
My question was not how to modify the function to avoid crashing.
It's why it's crash instead of returning an error in the callback parameter.
This is my sample code
`function sql(dbconn, sqltxt, sqlparam, callback)
{
var wDbconn = dbconn;
const wStmt = new db.dbstmt(wDbconn);

function onResult(outputParams, error) {

    wStmt.fetchAll((result, error) => {
            wStmt.close();
            delete wStmt;

            callback(wDbconn, result, error);
        });
}

function stmtExecute(error)
{
    if (error)
        callback(wDbconn, null, error);
    else
        wStmt.execute(onResult);
}

function stmtBindParam(error)
{
    if (error)
        callback(wDbconn, null, error);
    else if ( sqlparam != null)
        wStmt.bindParam(sqlparam, stmtExecute);
    else
        stmtExecute(error)
}

wStmt.prepare(sqltxt, stmtBindParam);

}`

I do agree consistency is easier to understand.  So it would be more consistent to return the parameter check error message in the callback.
But that would set up another issue...
I am wondering if returning an array of rows as the result is too limiting.
Although parameter checks should be errors, running a query that returns "no data" isn't always an error, as in your update statement case.
What if the result looked something like:
result = {rc: 0,
data: [],
getDiagRec(): []
}

rc being one of the following
/* RETCODE values             */
#define  SQL_SUCCESS             0
#define  SQL_SUCCESS_WITH_INFO   1
#define  SQL_NEED_DATA           99
#define  SQL_NO_DATA             100
#define  SQL_STILL_EXECUTING     2
#define  SQL_ERROR               -1
#define  SQL_INVALID_HANDLE      -2

Then if the rc was not enough info you could call getDiagRec() for an array of SQL error/warning objects.  "getDiagRec()" or something like it could be a separate function as part of the statement as I suggest in issue #81
Whereas the error of the callback would be reserved for
exceptions and/or SQL errors like SQL_ERROR, SQL_INVALID_HANDLE etc still returning error strings.
And make the rule that async functions never throw exceptions as you suggest.
Meaning that all parameter validation for async functions would move to the async worker execute function if that is possible.


Add outline for documents

Hi :wave:,
I would like to see an outline per page added to Perlite. The outline can be rendered on the right side of each document. One could switch via a button between displaying the graph or the outline.
Let me know what you think about it. Thanks for considering this enhancement.

Hi @Tooa,
Nice idea but this seems to be more work, theoretical this should be possible via JS. But there are some layout adjustments also necessary.
Can´t promise if Iam going to implement this at the moment but feel free to create a pull request.
BR,
Sec77

Hi
it could be a nice addition.
I really like the current ''webbed'' view on the right too, it basically all you ask for to have a quick view of where the document is heading to or to what it's connected to. It gives PURPOSE to that messy non sense Obisidan shows by default.
II was thinking, while not minimizing the complexity of that new feature (outliner), could be toggled between the two view with a button:

Current web view (webbed view links)
Outine

That could help, at least, having to rethink elements placement.
Just my two cents about the topic.

Outline is added in https://github.com/secure-77/Perlite/commit/68b05cb4621d054fdc6c3a2f8f9bdfe3fd6ca054

This is more better than bestest best.
On Tue., Oct. 25, 2022, 16:32 sec77, @.***> wrote:

Closed #21 https://github.com/secure-77/Perlite/issues/21 as completed.
—
Reply to this email directly, view it on GitHub
https://github.com/secure-77/Perlite/issues/21#event-7667016862, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ATSSEBKKDKS3UR34D7ITM4TWFA7WZANCNFSM5ZZZTRJQ
.
You are receiving this because you commented.Message ID:
@.***>


Add wrapper for GstVideoDecoder

See https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-GstVideoDecoder.html
First step would be to come up with an API design (mostly the main trait) in the style of Source, Sink and Demuxer. That is:

all functions return a value and don't call into other elements. So return value would be some kind of enum, and e.g. finish_frame is not directly called in the trait but in the wrapper around the trait.
the general idea of the C base class would be kept (i.e. you have some kind of handle_frame function, etc)
implementors of the trait do not have to worry about threading

It probably makes sense to first wrap libgstvideo in gstreamer-rs so that things like GstVideoCodecFrame and GstVideoInfo/Frame can possibly be directly used without writing manual bindings. https://github.com/sdroege/gstreamer-rs/issues/5
As part of this should also be a simple decoder element. Maybe just a minimal element that takes e.g. a BMP image and decodes it (or rather parses the header and throws away the header).

Seeing as we don't have a gif decoder (or encoder for that matter), and there is a crate that we could use for that purpose (http://www.piston.rs/image/gif/struct.StreamingDecoder.html) , it could also be a smart choice for the example.

As far as I can tell, there's no API in that crate for random access / seeking, it could be added though

@thiblahute was looking into this

And still is, I think he managed to display some frames yesterday :)

I have a WIP branch here: https://github.com/thiblahute/gst-plugin-rs/tree/gifdec - still need some work but it is somehow working.

Any update here and for the related PRs?

I am planning to focus on that during the hackfest (as well as getting GstTranscoder merged :-))

That's great! I could use this for https://github.com/sdroege/gst-plugin-rs/issues/21

This is now tracked in https://gitlab.freedesktop.org/gstreamer/gst-plugin-rs/issues/11


Redis Enterprise Testing

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (cbbfaae) 94.10% compared to head (aca6f28) 94.10%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##           master     #229   +/-   ##
=======================================
  Coverage   94.10%   94.10%
=======================================
  Files          85       85
  Lines        5178     5178
  Branches      488      488
=======================================
  Hits         4873     4873
  Misses        178      178
  Partials      127      127

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Needs https://github.com/RedisLabs/redis-ee-docker/pull/7


Feat: Add RELEASE.md

Changes:

Add RELEASE.md

A few people on stream (4+), a few on Discord asked when the new version will be available since there is already a Github release for it (and a new push on main). This clears up those questions and we do not have to repeat ourselves in support.
Discord question about when the update will be available can be easily answered: https://discord.com/channels/459365938081431553/1009176462399651971/1283120982013247509 (this is just one of like 5+ cases I have linked, that I have seen in the last month)
Github issues that can be avoided:

https://github.com/coollabsio/coolify/issues/2459
https://github.com/coollabsio/coolify/issues/2475

Thank you for the PR!


Python wheels for arm processor

Is your feature request related to a problem? Please describe.
I am unable to install fetpapi on mac with M-processors. I assume there is no python wheels for arm processors based on this? https://pypi.org/project/fetpapi/#files
Describe the solution you'd like
It would be nice to build python wheels for arm. I do think github has mac runners now?
Describe alternatives you've considered
I have tried to use x86 python container, but im getting this issue: https://github.com/F2I-Consulting/fetpapi/issues/24.
So i have no workaround atm

Looking at https://github.com/pypa/cibuildwheel/blob/main/README.md, it seems totally feasible from Python 3.8.
However, my knowledge is poor on Apple architecture.
The idea would be to update the line https://github.com/F2I-Consulting/fetpapi/blob/ff3cac4f250e0c5218c54dc208707b2fd8ff9bfe/.github/workflows/github-actions.yml#L182 to add "macos-14" ad documented in https://cibuildwheel.pypa.io/en/stable/setup/#github-actions and then configure the "env" (i.e. CIBW* properties) to make it working.
I hope to be able to look at it for the next version.


Aborted Plot Jobs Issues

When I want to create a plot, I get the following error.
PlotoSpawner @ 11.05.2021 6:16:19 PM: No Jobs spawned as either no TempDrives available or max parallel jobs reached. Max Parallel Jobs: 5 Current amount of Jobs: 16
There were tasks I canceled before. I am having problems due to these canceled tasks. When I want to delete, I get the following error.
PlotoRemoveAbortedJobs @ 11.05.2021 6:15:28: Cleaning up ...
Stop-PlotoJob: Cannot bind argument to parameter 'JobId' because it is null.
Horse C: \ Ploto \ Ploto.psm1: 787 char: 34

Stop-PlotoJob -JobId $ job.jobid

  + CategoryInfo: InvalidData: (:) [Stop-PlotoJob], ParameterBindingValidationException
  + FullyQualifiedErrorId: ParameterArgumentValidationErrorNullNotAllowed, Stop-PlotoJob

Get-PlotoJobs | ft
When I use the command I see 16 tasks aborted and completed ones.
Pc has been restarted many times, so there is no background task either. If it is reading these logs from the logs, how can I clear the logs or solve this problem?

Thanks @Allram, it works now.
@tydeno, I couldn't do what it said because Job ID and everything else was null. Thanks.


Type error with createHistory(window)

Trying to use createHistory so I can pass it to LocationProvider for tests.
I started by importing:import {createHistory, LocationProvider} from '@reach/router'
Then creating the history: const history = createHistory(window)
I immediately see a type error:
  Types of property 'location' are incompatible.
    Type 'Location' is not assignable to type 'WindowLocation'.
      Property 'state' is missing in type 'Location' but required in type 'Location<PoorMansUnknown>'.ts(2345)```

I have the same problem. I fixed it by const history = createHistory(window as any);


Fix: sub-process and dependent tasks may fall into an endless-loop by recovery from Kill/ReadyStop/ReadyPause state

Purpose of the pull request
When recovery a stopping instance, sub-process-task's state may be KILL, but the sub-process-instance is already submitted by RECOVER_TOLERANCE_FAULT_PROCESS command,
the SubProcessTaskExecThread.waitTaskQuit() will return directly, and set task state with sub-process's state (even if the sub-process is running), so the sub-process-task will ended with an unfinished state,
so the parent thread MasterExecThread will fall into an endless-loop.
Brief change log
Add a check in getSubmitTaskState:
if taskInstance is sub-process or dependent node, and the state is KILL, return SUBMITTED_SUCCESS state.
Issue
#6055

Codecov Report

Merging #6058 (2b9d68b) into dev (e0eea99) will decrease coverage by 0.05%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##                dev    #6058      +/-   ##
============================================
- Coverage     46.35%   46.30%   -0.06%
+ Complexity     3736     3733       -3
============================================
  Files           609      609
  Lines         25075    25077       +2
  Branches       2868     2869       +1
============================================
- Hits          11623    11611      -12
- Misses        12307    12323      +16
+ Partials       1145     1143       -2

Impacted Files
Coverage Δ

...lphinscheduler/service/process/ProcessService.java
34.16% <0.00%> (-0.07%)
:arrow_down:

...he/dolphinscheduler/common/enums/SqoopJobType.java
0.00% <0.00%> (-88.89%)
:arrow_down:

...er/master/processor/queue/TaskResponseService.java
63.88% <0.00%> (-4.17%)
:arrow_down:

...inscheduler/common/task/sqoop/SqoopParameters.java
74.00% <0.00%> (-2.00%)
:arrow_down:

...dolphinscheduler/remote/future/ResponseFuture.java
81.35% <0.00%> (-1.70%)
:arrow_down:

...er/master/dispatch/host/assign/RandomSelector.java
83.33% <0.00%> (+5.55%)
:arrow_up:

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 e0eea99...2b9d68b. Read the comment docs.


Master to Live

Docs Build status updates of commit c48f7fa:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/Disable-RemoteMailbox.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Get-DynamicDistributionGroupMember.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/exchange.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/mapping/serviceMapping.json
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


License option text shows up twice

I see the text next to both of these radio buttons twice.

@amyehodge this should be fixed as soon as #929 is merged. I noticed it earlier while pairing with @jcoyne and I added it to the branch I was already working on.

@amyehodge this should be fixed as soon as #929 is merged. I noticed it earlier while pairing with @jcoyne and I added it to the branch I was already working on.


rename main category: Public transport non-scheduled transport

Problem: two times transport:
Public transport non-scheduled transport
Solution:
non-scheduled public transport

To be merged with issue #12

Merged with #12.


data-disabled-with attribute is rendred twice (minor bug)

Hello,
I've upgraded my packages and noticed a new issue on the disable_with attribute.
This code:
  <%= f.submit_tag 'edit', data: { disable_with: 'test'}, class: 'btn btn-primary btn-lg' %>

is producing
 <input type="submit" name="commit" value="edit" data-disable-with="test" data-disable-with="test" class="btn btn-primary btn-lg" />

With two times data-disable-with attribute
Is the code generating this in simple_form ?
Apologies if that's not the case, you can close that issue :)
If you can redirect me to the right place to report it (and if I can find what is generating it, I can even create a PR for it) :)
Package versions:
simple_form: 3.2.1
rails: 5.0.0
jquery-rails: 4.1.1

I'm almost sure it isn't simple form since submit_tag is not a method of simple form. It can be rails. Are you able to reproduce this in a new application?

@rafaelfranca I just checked with current rails master. I think there is no issue. Shall I add a test case to rails to avoid any regression?

Now we have an issue template that helps you provide more information about the issue. Please open a new issue and make sure to fill in all the information requested by the template shown inside the text box. Thank you!


Don't stop watch input thread on bad input

In a continuous build in sbt 1.4.0-RC1, if the user enters an invalid
option, it causes the input thread to exit which means the watch would
no longer accept input commands (including  to exit). This fixes
that behavior.

I had noticed this behavior a while ago that in long running continuous builds sometimes keyboard input stopped working but it took me a while to figure out a repro.


redux-resource-action-creators

Implements the discussion and API in #186 that can be leveraged in both plugins & applications using redux-resource to help create valid action shapes for our ecosystem.
Published<EMAIL_ADDRESS>so we can try it out in apps and take a look at how this API works in practice after the bikeshedding that produced it ;)

Was chatting today about the current API here with @jmeas. Here is what we do right now:
.pending(options)
.null(options)
.succeeded(resources, options)
.failed(error, options)

The last two methods have a different API right now, although they are for different reasons.

.succeeded accepting a resources array instead of { resources } on the options helps us enforce that you provide an array of resources for a success and that we can properly include that on the base of the action. This is something that our reducers will require so it's 'critical' for this action shape.
.failed accepting an error was doing this to help enforce that there is an error present, but this was really only because redux-resource-xhr uses this key, and as it turns out there's nothing in there that is directly used by our reducers.

We talked about changing the APIs to one of these, although we're open to more suggestions:
.pending(resources, options)
.null(resources, options)
.succeeded(resources, options)
.failed(resources, options)

Which would retain the 'make sure you pass some resources for any of your actions' , although they are not necessarily required for these in all cases (e.g. you could just have a list or a label perhaps in the create scenarios.
Another suggestion was:
.pending({ resources, ...options, })
.null({ resources, ...options, })
.succeeded({ resources, ...options, })
.failed({ resources, ...options, })

Both of these would allow a consistent API across all 4 methods, although they have different tradeoffs or gains I would imagine. Any thoughts? /cc @vinodkl @marlonp @tbranyen

@sprjr , I thought a bit about this while doing #275 / #277 . I'm currently thinking that the API should be:
// Create a set of action creators. `actionDefaults` will be set on every action.
var actionCreators = new createActionCreators(actionDefaults);

// Send off the `pending` action. Add/override `actionDefaults` with `action`.
actionCreators.pending(action);


Feature Request: Ability to Setup Custom Tasks/Startup scripts for New Tabs

Summary of the new feature/enhancement
Other terminals, like ConEmu, allow users to setup custom startup script (known as tasks in ConEmu). This would be quite handy in some scenarios requesting running a startup script, like Anaconda PowerShell Prompt.

This is also an easy way to have a SSH profile

You mean like setting a custom commandline?
For example, my profile for doing Terminal development:

where #work 1 is a script that basically just calls cd <path to Terminal repo> && tools\razzle.bat

Oh never noticed that in the config setting... Hoping that in the future the GUI settings would include this.

Anyone know how to achieve this but with Powershell Core instead?
I have this, but it doesn't work, as the pwd command doesn't seem to be executed at all:
"commandline" : "C:\\Program Files\\PowerShell\\6\\pwsh.exe -noexit -c pwd",

So how do I get I the visual studio developer commandline batch file to execute?
"commandline" : "cmd.exe /k \"C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Enterprise\\Common7\\Tools\\VsDevCmd.bat\"",
The above isn't working, I get: 'C:\Progam'  is not recognized as an internal or external command, operable program or batch file.
I think I am correctly escaping the quotes to get the full path to the batch file in there


style: fieldset updates

Styles native fieldsets and their contents. Reworks many areas of the UI to use this new approach and adhere to various mockups.
Closes AERIE-2112 and AERIE-2112.

Can we delete the ui/Details.svelte component since it is no longer used?


docs: add Informal Systems audit PDF

Closes https://github.com/celestiaorg/celestia-app/issues/2472
Draft PR until we get confirmation from @ivan-gavran @andrijamitrovic23 that this is the final PDF.

Codecov Report

Merging #2477 (4530a07) into main (574e9d8) will not change coverage.
Report is 3 commits behind head on main.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #2477   +/-   ##
=======================================
  Coverage   20.61%   20.61%
=======================================
  Files         131      131
  Lines       15270    15270
=======================================
  Hits         3148     3148
  Misses      11820    11820
  Partials      302      302


Migrate to toml for extensions record (extensions.json)

Feature
extensions.json will be converted to extensions.toml, as a result biscuit extension manager module will have breaking changes.
Notes

ExtensionManager class

As the project already uses .toml files, what is the standard way of interfacing with them being used?

@shirsakm Python standard toml library is used to handle the toml files simply. In its current state, the project doesn't use toml anywhere else (config files are not fully done yet).
Switching to toml was a recent decision. There are many essential issues to be worked on, and I do realize that. I will add more details into the issues related to this as soon as possible :)

In this case the use of TOML files feel pretty redundant. Is there a particular reason you wish to migrate the extensions records from JSON to TOML? TOML is usually used for configurations, while the data here is probably never going to be touched by the end user. I would suggest just sticking with JSON in this case, unless necessary. A more worthwhile change in my opinion would be using orjson which will significantly speed up the usage compared to the standard json library.

If you really wish to switch to TOML the only advantage I see is not having two files for recommended and all the extensions, instead being able to store them in one.
[recommended]
python = [...]
autopep8 = [...]

Well @shirsakm you are right but we will be storing the recommended to a separate list for better accessibility. It's just the clean and minimal syntax being advantage of toml. So the current extensions.json needs to be converted to toml as well.


custom element doesn't exist  : kodi-search-card in Android app

Checklist

[X] I have updated the card to the latest version available
[X] I have cleared the cache of my browser
[X] I have checked if the problem is already reported

The problem
Hi there,
I'm very new with custom card so not sure if it's normal or not. The custom element doesn't work within the android application "custom element doesn't exist  : kodi-search-card",  while working perfectly in browsers.
Other custom card "like Lovelace Horizon Card" works without issue.
Thank you !
What version of a card has described problem?
3.7.1
What was the last working version card?
No response
What browser (browsers/apps) does have this problem?
the Android app
What version of Home Assistant do you use?
2024.10.4
What type of installation are you running?
Home Assistant OS
Card's configuration
type: custom:kodi-search-card
entity: sensor.kms_s_01jbs299fxen0hv0nawcsjhtgy
show_thumbnail: true
show_thumbnail_border: false
show_thumbnail_overlay: true
outline_color: var(--primary-text-color)
album_details_sort: date_desc
show_action_mode: true
show_recently_added: true
show_recently_played: true
action_mode: play
add_position: 1
order:
  - song
  - album
  - artist
  - movie
  - musicvideo
  - tvshow
  - episode
  - channel
  - filemusicplaylist

Javascript errors shown in the browser's console (if applicable)
No response
Additional information
No response

Hi,
If the card works in a browser, I think the cause of the issue is to find on the side of the phone as there is no difference in the code for the device.
I used to have some troubles with the cache of my phone a time ago. My card didn't update immediately but became good after like 30 minutes. Maybe a delete of the cache could help? Can you test that?

Hi !
Thanks a lot for your reply. You was right, everything worked fine once I emptied the cache of the app.
Great job by the way !!
Cheers


[There was an error processing your request: Could not download the repository]

When I click the refresh button, it shows the There was an error processing your request: Could not download the repository. message.
url is https://goreportcard.com/report/github.com/shiyanhui/dht

Hi @shiyanhui
Thanks for the report. I fixed the error manually on the server for your case. And I will look into solving it properly later. As long as you don't rebase the git repo again, it should be okay.
Logs to fix this later:
2016/08/15 05:55:24 Checking repo "github.com/shiyanhui/dht"...
2016/08/15 05:55:24 Update https://github.com/shiyanhui/dht
cd repos/src/github.com/shiyanhui/dht
git pull --ff-only
# cd repos/src/github.com/shiyanhui/dht; git pull --ff-only
fatal: Not possible to fast-forward, aborting.
2016/08/15 05:55:25 Failed to download "https://github.com/shiyanhui/dht" (exit status 128), trying again...
2016/08/15 05:55:25 Update https://github.com/shiyanhui/dht
cd repos/src/github.com/shiyanhui/dht
git pull --ff-only
# cd repos/src/github.com/shiyanhui/dht; git pull --ff-only
fatal: Not possible to fast-forward, aborting.
2016/08/15 05:55:25 ERROR: from newChecksResp: could not clone repo: exit status 128

It seems like the attempt to delete the broken repo must fail for some reason.

OK, thanks!

Okay, hopefully this commit solves the problem once and for all :)
The mistake was to use Remove on a non-empty directory, when it should have been RemoveAll. We also weren't checking the error there. It would be nice to get the errcheck test working, then we might have spotted that earlier.


Run the app, with opinionated template, in dev mode

Is there an existing issue for this?

[X] I have searched the existing issues

Current behavior
Running new project in mod dev.
Steps to reproduce

Create a new project expressots new expressots-api -t opinionated -p yarn
Create a new .env file based on .env.example
yarn run dev

Expected behavior
Start the application.
Package version
1.4.2
Node.js version
19.8.1
In which operating systems have you tested?

[ ] macOS
[ ] Windows
[X] Linux

Other
➜  yarn run dev
yarn run v1.22.19
$ tsnd -r dotenv/config -r tsconfig-paths/register ./src/main.ts
[INFO] 20:25:07 ts-node-dev ver. 2.0.0 (using ts-node ver. 10.9.1, typescript ver. 4.9.5)
[2023-06-29 20:25:10] [core-api] [env-validator-provider] info: Environment variable GTK_EXE_PREFIX_VSCODE_SNAP_ORIG is not defined.
[2023-06-29 20:25:10] [core-api] [env-validator-provider] info: Environment variable GDK_BACKEND_VSCODE_SNAP_ORIG is not defined.
[2023-06-29 20:25:10] [core-api] [env-validator-provider] info: Environment variable LOCPATH_VSCODE_SNAP_ORIG is not defined.
[2023-06-29 20:25:10] [core-api] [env-validator-provider] info: Environment variable GSETTINGS_SCHEMA_DIR_VSCODE_SNAP_ORIG is not defined.
[2023-06-29 20:25:10] [core-api] [env-validator-provider] info: Environment variable XDG_CONFIG_DIRS_VSCODE_SNAP_ORIG is not defined.
[2023-06-29 20:25:10] [core-api] [env-validator-provider] info: Environment variable GIO_MODULE_DIR_VSCODE_SNAP_ORIG is not defined.
[2023-06-29 20:25:10] [core-api] [env-validator-provider] info: Environment variable GTK_PATH_VSCODE_SNAP_ORIG is not defined.
[2023-06-29 20:25:10] [core-api] [env-validator-provider] info: Environment variable GTK_IM_MODULE_FILE_VSCODE_SNAP_ORIG is not defined.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Hi @betoecd
This is our environment validator provider in action. It just detected that you have a bunch of environments declared with the names mentioned above that are not being used as the value is not define.
To unblock your development you have few options:
1 - In the providers/application you can comment or remove the env-validator-provider
`import { Application, Environments, LogLevel, log } from "@expressots/core";
import { provide } from "inversify-binding-decorators";
@provide(App)
class App extends Application {
protected configureServices(): void {
Environments.checkAll(); // comment this line
}
// eslint-disable-next-line @typescript-eslint/no-empty-function
protected postServerInitialization(): void {}

protected serverShutdown(): void {
    log(LogLevel.Info, "Server is shutting down", "logger-provider");
    super.serverShutdown();
}

}
const appInstance = new App();
export { appInstance as App };`
2 - The second option is removing your non used env variables or assign "None" value to them if you are not planning to delete them.
setx vscode_git_askpass_extra_args "None"
3 - The third option is, we will change our provider just to take in consideration the variables created from the .env and not the entire pc environment. This approach will  solve this problem.
Thanks for open the issue,

Tks @rsaz, the first option solves the problem.


Run Two Laradock in one Host

Info:

Docker version ($ docker --version): 19.03.1
System info (Mac, PC, Linux): Linux
System info Nginx version : 1.14.3

Issue:
I'm new on docker , i have issue when i try to run 2 laradock in one host.
with the schema of my setting :
+ project A
  + laradock
+project B
  +laradock

reporduce :

on project A , execute this command

docker-compose up -d php-fpm

run docker-compose ps on project A , and i got this information

CONTAINER ID        IMAGE                     COMMAND                  CREATED             STATUS              PORTS                                NAMES
f18bd93e911a        projectA_php-fpm         "docker-php-entrypoi…"   13 minutes ago      Up 13 minutes       <IP_ADDRESS>:9000->9000/tcp             projectA_php-fpm_1
5fdb67b97a16        projectA_workspace       "/sbin/my_init"          14 minutes ago      Up 13 minutes       <IP_ADDRESS>:2222->22/tcp                 projectA_workspace_1
ef8195da6791        docker:dind              "dockerd-entrypoint.…"   14 minutes ago      Up 14 minutes       2375/tcp                             projectA_docker-in-docker_1

And i test access project A , and the UI show up
on project B , execute this command

docker-compose up -d php-fpm

run docker-compose ps on project B , and i got this information

CONTAINER ID        IMAGE                 COMMAND                  CREATED             STATUS              PORTS                                NAMES
9609f23b5551       projectB_php-fpm      "docker-php-entrypoi…"   4 hours ago         Up 4 hours          9000/tcp, <IP_ADDRESS>:9001->9001/tcp   projectB_php-fpm_1
b1cdbcc8a762        projectB_workspace   "/sbin/my_init"          4 hours ago         Up 4 hours          <IP_ADDRESS>:2223->23/tcp                 projectB_workspace_1
fd29bbdcb13f        docker:dind          "dockerd-entrypoint.…"   4 hours ago         Up 4 hours          2375-2376/tcp                        projectB_docker-in-docker_1

Project A and B , setting with different port on docker-compose.yml

And i test access project B , and on the web browser show up 502 Bad Gateway

If I try another approach , with project A using same setting on project B : .env and docker-compose.yml. When i build project A and turn off project B, i can access project A webapp. Otherwise when i turn off project A and build project B , i can access project B webapp. But I cannot run 2 laradock with same host.
so my question is it possible to running multiple laradock with only using 1 host?

Hi @KarmitoHerry ,
Can you tell me how do you deal with Nginx container?

Hi @KarmitoHerry ,
Can you tell me how do you deal with Nginx container?

Hi @lanphan
on my project architecture , i using google cloud platform.
Flow of architecture
Subdomain >> Load Balancer >> Nginx >> folder (sites-avaiable) >> (var/www/)>> Project A and Project B

Detail :

set subdomain for project A (test-projectA.laradock.com) and B (test-projectB.laradock.com) using <IP_ADDRESS> (dummy IP Public for illustration)
On GCP Load Balancing , I already set with <IP_ADDRESS> Public using Port 80 and Port 443. And I registered my subdomain for the path list : test-projectA.laradock.com and test-projectB.laradock.com
On My NGINX , for sites-avaiable test-projectA.laradock.com

# Virtual Host configuration for example.com
#
# You can move that to a different file under sites-available/ and symlink that
# to sites-enabled/ to enable it.
#
server {

	server_name projectA.laradock.com;

        access_log /var/log/nginx/projectA.log;
        error_log /var/log/nginx/projectA.log;

	root /var/www/projectA/public/;
	index index.php index.html;

	location / {
		try_files $uri $uri/ /index.php?$query_string;
	}

        location ~ \.php {
	    include snippets/fastcgi-php.conf;
	    fastcgi_param SCRIPT_FILENAME $request_filename;
		#fastcgi_param SCRIPT_FILENAME /usr/share/nginx/html$fastcgi_script_name;
		fastcgi_pass <IP_ADDRESS>:9000;
        }

    listen [::]:443 ssl ipv6only=on; # managed by Certbot
    listen 443 ssl; # managed by Certbot
    #include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
    #ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot

}

server {
        if ($http_x_forwarded_proto = "http") {
          return 301 https://$host$request_uri;
        }

        access_log /var/log/nginx/projectA.log;
        error_log /var/log/nginx/projectA.log;

        root /var/www/projectA/public/;
        index index.php index.html;

        location / {
                try_files $uri $uri/ /index.php?$query_string;
        }

        location ~ \.php {
            include snippets/fastcgi-php.conf;
            fastcgi_param SCRIPT_FILENAME $request_filename;
		#fastcgi_param SCRIPT_FILENAME /usr/share/nginx/html$fastcgi_script_name;
            fastcgi_pass <IP_ADDRESS>:9000;
        }

	listen 80;
	listen [::]:80;

	server_name projectA.laradock.com;
}

and i try another new approach to prove my hypothesis. Only project A , i build it:

I try to Change ondocker-compose.yml

php-fpm  ports from <IP_ADDRESS>:9000:9000 to <IP_ADDRESS>:9001:9001

on .env , i change

WORKSPACE_SSH_PORT = 2222 to 2233

my site-avaiable/projectA re-configure using point 1 setting
and i got 502 - Bad Gateway again

I try to search on stack-overflow or laradock issue. no one try 2 laradock in 1 host 😄.
maybe all my explanation can give you more clue and insight , which part can re-set it for another approach.

Hi @KarmitoHerry ,
In case you want to run multiple PHP projects with Laradock, you can do it with 1 Laradock, no need to have 2 Laradock on your host.
Check document here: https://laradock.io/#B

Hi @lanphan ,
Thx for your information.
I switch my architecture using 1 laradock multiple project.
If laradock can provide architecture using multiple laradock engine on host , that can be save more cost on production side 😄


Retry try_contribute call if we get back an error

The auth portion worked for me :) I haven't made it past try_contribute yet because of the sequencer but this retries try_contribute if we get back an error (which is almost always "another contribution is in progress").
I also switched the browser from chromium to xdg-open to respect users preferences on Linux. This theoretically breaks other OSs, but I'm not sure they'd be using chromium as opposed to chrome in the first place. If requested I can add different commands for different OSs, or just revert that portion of my change.

Yeah I planned to switch to xdg-open at some point, but on my local machine I only have metamask on chromium and use firefox as default^^ Thanks for the changes!


NameError: uninitialized constant CompetitionRankingLeaderboard

When trying to initialize a new leaderboard using either CompetitionRankingLeaderboard or TieRankingLeaderboard subclass I receive a NameError: uninitialized constant error. Default Leaderboard.new('options') successfully works. If I manually add the gems contents to the apps source code, everything works as expected. Ruby: 2.4.0p0 (2016-12-24 revision 57164) / Bundler version 1.16.2 / Rails: v5.2.0.

Are you requiring the right file(s)?
2.2.1 :003 > require 'competition_ranking_leaderboard'
 => true
2.2.1 :004 > lb = CompetitionRankingLeaderboard.new('highscores')
 => #<CompetitionRankingLeaderboard:0x007fa405157f38 @leaderboard_name="highscores", @reverse=false, @page_size=25, @member_key=:member, @rank_key=:rank, @score_key=:score, @member_data_key=:member_data, @member_data_namespace="member_data", @global_member_data=false, @redis_connection=#<Redis client v3.1.0 for redis://localhost:6379/0>>
2.2.1 :005 >

Looks like I missed it. Glad that one was on me. Thanks for the quick response. Super useful gem. Thanks, guys.


remove helm releated labels

Description
By removing the helm related labels, the orchest-controller.yaml manifest that is added to the release assets (on release) can be used to replace existing resources when invoking an orchest update.
It is a breaking change because the MatchLabels field is immutable, because that an orchest update doesn't work as k8s won't allow e.g. the orchest-controller deployment to be replaced. This change is introduced now as to prevent it from causing issues later, e.g. when the helm release is updated.

Just to be safe, how about also changing the .github/workflows/do-release.yaml so that https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 is actually using a specific version instead of main? This way we know for sure that the same helm version is used to generate the yaml file for every release.


Traefik return 404 in K8s when Ingress is configured, just no endpoint is healthy

Welcome!

[X] Yes, I've searched similar issues on GitHub and didn't find any.
[X] Yes, I've searched similar issues on the Traefik community forum and didn't find any.

What did you do?
For demo purposes, I have a K8s Deployment with a single replica, an associated Service and an Ingress manifest.
The service is reachable at the defined URL and the confguration (route and service) shows up in the traefik-ui as well.
When I scale down the deployment to 0 replicas (to simulate an outage or application problem), thus having an empty list of helthy endpoints in K8s, Traefik fully removes the whole config (at least from the UI, not even the route is visible) and traefik return a 404 response when the service is accessed.
I expected in this case, that an error "503 Service Unavailable" in this case, indicating that the requested service is known, but not available currently. IIRC, Traefik1 behaved that way, but I am not sure.
What did you see instead?
I got an error 404, as if the service is not configured at all, which is different from being configured and just not available.
What version of Traefik are you using?
Version:      2.8.1
Codename:     vacherin
Go version:   go1.17.11
Built:        2022-07-11T14:06:57Z
OS/Arch:      linux/arm64

What is your environment & configuration?
containers:
  - args:
    - --global.checknewversion
    - --entrypoints.metrics.address=:9100/tcp
    - --entrypoints.traefik.address=:9000/tcp
    - --entrypoints.web.address=:8000/tcp
    - --entrypoints.websecure.address=:8443/tcp
    - --api.dashboard=true
    - --ping=true
    - --metrics.prometheus=true
    - --metrics.prometheus.entrypoint=metrics
    - --providers.kubernetescrd
    - --providers.kubernetesingress
    - --entrypoints.websecure.http.tls=true
    - --log.level=INFO
    - --providers.file.directory=/config
    - --providers.file.watch=true
    - --metrics.prometheus=true
    image: traefik:2.8.1

If applicable, please paste the log output in DEBUG level
No response

Oh, this might be related to #8802 / #8708, but this is only for IngressRoute, right? Is there an option for plain Ingress?

And I found another very old unconcluded discussion in #1077

According to #1688 and #1689 this is supposed to work for Kubernetes providers, but it seems that was lost in between, at least it seems to not work anymore for me. It seems in 2017 there was a EmptyBackendHandler middleware (from #1748) for this case, but I can't find that in the docs.

Ohmy, the docs just gave me that --providers.kubernetesingress.allowemptyservices: Allow creation of services without endpoints. (Default: false) does exist in the CLI args, too - so this might solve my issues.
Testing tomorrow. If so, sorry for the noise.

Hello @sfudeus,
Thanks for your interest in Traefik!
It seems that your issue is related to a configuration issue and the GitHub issue tracker is dedicated to bug and feature requests.
For help on your configuration, please join our Community Forum and reach out to us on the Traefik section.
We will close this issue accordingly but feel free to re-open it if you think that we missed something.


Exercise implementation tracker

Tracking for exercises both claimed and merged.
CLAIMED

[ ] allergies - Andras #64
[ ] flatten-array - Erik
[ ] luhn - Andras
[ ] matching-brackets - Erik #75
[ ] phone-number - Andras
[ ] pig-latin - Andras
[ ] robot-simulator - Andras
[ ] strain - Andras #72
[ ] queen-attack - Andras
[ ] zebra-puzzle - Erik

DONE

[x] anagram #70
[x] armstrong-numbers #35
[x] binary-search  #61
[x] bob #24
[x] collatz-conjecture #23
[x] darts #10
[x] difference-of-squares #50
[x] dnd-character #9
[x] eliuds-eggs #51
[x] etl #59
[x] gigasecond #28
[x] grains #71
[x] hamming #36
[x] hello-world #4
[x] high-scores #25
[x] isogram #29
[x] largest-series-product #54
[x] leap #8
[x] nucleotide-count #31
[x] pangram #7
[x] perfect-numbers #60
[x] prime-factors #52
[x] protein-translation #69
[x] raindrops #27
[x] resistor-color #30
[x] resistor-color-duo #6
[x] reverse-string #53
[x] roman-numerals #56
[x] rotational-cipher #73
[x] rna-transcription #21
[x] run-length-encoding #67
[x] scrabble-score #63
[x] secret-handshake #65
[x] series #32
[x] square-root #68
[x] space-age #62
[x] sum-of-multiples #37
[x] triangle #74
[x] two-fer #5
[x] yacht #58

I'll do collatz conjecture.

And bob

And high-scores

I'll do raindrops

I'll do gigasecond

I'll do nucleotide-count and isogram too.

And resistor-color

And series

And difference-of-squares

And eliuds-eggs

this is the sample curriculum from the docs so we shouldn’t deviate too much.

It's totally fine to deviate from this BTW :)

I'll do yacht

Yup, I was just feeling a bit guilty since I didn't include any hard exercises for Pyret at launch. They were mainly easy with a few mediums. :)

I'll try zebra-puzzle to have a more difficulty exercise.

I'll work on binary-search, protein-translation, scrabble-score, luhn, pig-latin, space-age, secret-handshake, and robot-simulator. That'll cover us for a lot of the #48in24 exercises so far this year.

I'll do square-root and run-length-encoding.

I'll take queen-attack and phone-number after luhn and pig-latin. For robot-simulator. I have a working Red solution I can adapt for this track later this week.

I'll take rotational-cipher

I'll do matching-brackets and flatten-array.

@BNAndras We can now use https://exercism.org/challenges/48in24/implementation_status/arturo t check the 48in24 progress for Arturo. See https://forum.exercism.org/t/track-specific-implementation-status-page/11588

I'll take pascals-triangle too

I'll do food-chain

I’ll do spiral matrix.

and yacht

I'll do list-ops

I’ll pick this back up beginning this weekend.

I'll add acronym and atbash-cipher as well.

Perfect. I haven't done anything on the Arturo track as the Docker issues haven't yet been solved, and without those solved, there won't be a test runner.

@ErikSchierboom I'm on to it! I'll let you know about the progress today! 😉

And... 🥁 🥁 🥁 :
https://discord.com/channels/765519132186640445/1244603305846640660/1272854929966628915
(I'm posting the link here in order to avoid posting the same things in two different places 😉 )

Thanks a ton!

Thanks a ton!

Thank you! 😉

I’ll grab resistor-color-trio and bring over resistor-color-expert from Python. It’ll be another relevant place to highlight quantities and use :color to represent the input colors more directly. I could add the input color thing to resistor-color-duo but resistor-color would remain strings for now. At the moment, colors are printed in hexadecimal notation not the plain English look so the test output for checking the colors variable is hard to read.


Latex mathematical equations integration

It is possible to add a latex mathematical equation system like mathjax in generated pdf ?

I haven't need it so far. Have you any suggestions and examples?

Do you think such a thing?
https://github.com/runarberg/markdown-it-math

+1 @EpicKiwi -- This feature is absolutely mandatory for anybody in academia.
@cakebake perhaps you can get in touch with @Galadirith for help with this? His Markdown-preview-plus package delivers this function really nicely.

@cakebake @dsifford I'd be really happy to lend a hand on implementing this, assuming its a feature you would be happy to integrate @cakebake.
I had opened a PR travs/markdown-pdf#88 but there's been no commits to markdown-pdf for over 2 months. But the point is that essentially markdown-preview-plus is ready to go in exporting maths to any pdf renderer.

Do you think such a thing?
https://github.com/runarberg/markdown-it-math

We actually use that for our maths support. However it by default converts to mathml; I don't know how your render your pdf's but if webkit or blink is used at any point it won't work because they don't support mathml.
Please let me know your thoughts @cakebake. Thanks everyone.

@Galadirith I am pleased to add new features, as long as they do not interfere with me working with the package.^^
How do you imagine an integration? markdown-themeable-pdf generates the HTML with markdown-it and renders this with html-pdf (phantomjs/webkit). Currently I am also still looking for an alternative for clickable hyperlinks....

+1

MathJax would be the way to go, unless you want to use MultiMarkdown to convert to LaTeX.

+1

hello and thanks for the great plugin!
i need too latex mathematical support for university
i'm using for now this atom plugin : https://github.com/shd101wyy/atom-markdown-katex
but i miss your plugin's features so much :(

https://atom.io/packages/markdown-preview-plus

Sorry folks, but I myself know too little about the subject. If someone wants to take care of it (PR) ??

+1

Close this, because I know too little about the subject. If someone wants to take care of it, please let me know...

I am not sure how this is done (not a html/css/js person), but maybe KaTeX is a nice option to render LaTeX math environments?

This issue is closed from long time ago but this functionality could be great to implement.
I've already made a latex equation renderer to PNG with MathJax and node-canvas but it's require the 8nstallation of Cairo (a graphical library) to render the canvas to image. But, MathJax can Render to MathMl and Svg. If the renderer supports SVG, only MathJax could be used.
What do you think ?


Added tests for orders app

Added tests for orders app.
(And also some tests for the settings app).

First pull request with the testing label!


Test suite breaks against DAViCal now

Also ref #358.  Should look into it, eventually.

solved in #370


Build is broken with Bintray

We are currently unable to build on master in Conductor due to Bintray not being available. I think that Jcenter has been deprecated,.
FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':conductor-server'.
> Could not resolve all dependencies for configuration ':conductor-server:runtimeCopy'.
   > Could not resolve com.netflix.runtime:health-guice:1.1.+.
     Required by:
         project :conductor-server
      > Failed to list versions for com.netflix.runtime:health-guice.
         > Unable to load Maven meta-data from https://dl.bintray.com/netflixoss/oss-candidate/com/netflix/runtime/health-guice/maven-metadata.xml.
            > Could not get resource 'https://dl.bintray.com/netflixoss/oss-candidate/com/netflix/runtime/health-guice/maven-metadata.xml'.
               > Could not GET 'https://dl.bintray.com/netflixoss/oss-candidate/com/netflix/runtime/health-guice/maven-metadata.xml'. Received status code 502 from server: Bad Gateway

@james-deee the repo does not have a master branch. Are you building in main or 2.31?

Whoa boy, my local checkout still has a master branch, but that appears to be way out of date! It looks like if i go here: https://github.com/Netflix/conductor/tree/master it redirects me to 2.31! So that must be it.
Sorry for the confusion.

Actually @aravindanr Does this mean that 2.31 is broken? I know that y'all said it wont be supported, but at the very least 2.31 needs to be able to build. What's needed to get that to work?

Man, nevermind. I think I just am on a really old version by using master. My cloned copy must be super old. Sorry about that! It looks like 2.31 is building fine now.


[local-cli][packager] Move packager initialization events to reporter

This PR depends on #13172
Motivation
Packager events are mostly logged through the TerminalReporter by default (#13172 makes this configurable). But there are a few things that aren't passed through TerminalReporter.

We log a banner with some information about the port and what's going on
Also a message about looking for JS files (not sure what that is for / if it is useful beyond telling the user what directory root they started the packager in, but that's another thing).
If the packager fails to start, then we log an error message.

This pull request changes those log messages to be handled by TerminalReporter. I tried to pick good names for the events based on existing names as defined in reporting.
Test Plan
Pull this, run npm start in root and open up UIExplorer. Works as expected, but somehow it just feels better, right?
Next Steps

I'm not very happy about having to include formatBanner from local-cli in packager/src/lib/TerminalReporter, given that packager may split off at some point. I would have just moved it into the packager, but it's a dependency of checkNodeVersion.
Not a huge fan of accessing a private-by-naming-convention property on packagerServer to get the reporter (here). Maybe we should expose a getter for it, or a logEvent function on the packager server instance?
Are there more events that we can send to the TerminalReporter? For example, we internally track the URL of a bundle request, it might be useful to send that along somewhere as well.

Thanks for adding a lot of context! I pinged @davidaurelio and @jeanlauliac on work messenger.

lgtm.
I agree with the points you brought up, let’s address them with a follow-up (making .reporter public, moving formatBanner to the packager directory)


Update README.es.md collapsable sections

Type of changes

[ ] Bug fix
[ ] New feature
[x] Documentation / docstrings
[ ] Tests
[ ] Other

Checklist

[x] I've run the latest black with default args on new code.
[ ] I've updated CHANGELOG.md and CONTRIBUTORS.md where appropriate.
[ ] I've added tests for new code.
[x] I accept that @willmcgugan may be pedantic in the code review.

Description
Update README.es.md adding collapsable sections and other seccions to Spanish

Thanks!


Jenayah: Watch turkflick.com

Jenayah requests the watch of the watch_keyword turkflick\.com. See the MS search here and the Stack Exchange search here.

turkflick\.com has been seen in 0 true positives, 0 false positives, and 0 NAAs.

Approved by Makyen in Charcoal HQ


[IREEInput] Add top level SCF to CFG conversion to input pipeline

SCF is not handled well by Flow, and other pipelines (e.g. stablehlo) already include this pass

It came up in the context of XLA on top of IREE, lmhlo.while loop is lowered to scf.while, and then everything falls apart unless it's converted to CFG

Without any tests in tree that are keeping this alive, it will probably get rolled back as we try to fix it...


Support Reference Handles in schema2kotlin

Also adds a spec test for reference handles, and cleans up the handle declaration code in the code generator a bit.

Failing presubmit test is flaky


Unable to use Orbbec demo for Orbbec gemini2 to grab images

System Information
opencv-python version: <IP_ADDRESS>
Operating System Ubuntu 22.04 (armv8, x86)
Python version: 3.11.5
Camera model: Orbbec Gemini2 (Error reporting), Orbbec Femto W
Detailed description
When I connect my computer to Gemini2 and run the following code https://github.com/opencv/opencv/blob/4.x/samples/python/videocapture_obsensor.py, it reports an error as follows
global obsensor_stream_channel_v4l2.cpp:82 xioctl ioctl: fd=3, req=-1072663263
[<EMAIL_ADDRESS>global obsensor_stream_channel_v4l2.cpp:343 getXu ioctl error return: 110
Fail to grab data from the camera.
Fail to grab data from the camera....

When I switch Gemini2 to Femto W, the demo mentioned above can collect images normally.
When I use the SDK provided by Orbbec, Gemini2 can also collect images normally.
Steps to reproduce
import numpy as np
import cv2 as cv
import sys

def main():
    # Open Orbbec depth sensor
    orbbec_cap = cv.VideoCapture(0, cv.CAP_OBSENSOR)
    if orbbec_cap.isOpened() == False:
        sys.exit("Fail to open camera.")

    while True:
        # Grab data from the camera
        if orbbec_cap.grab():
            # RGB data
            ret_bgr, bgr_image = orbbec_cap.retrieve(None, cv.CAP_OBSENSOR_BGR_IMAGE)
            if ret_bgr:
                cv.imshow("BGR", bgr_image)

            # depth data
            ret_depth, depth_map = orbbec_cap.retrieve(None, cv.CAP_OBSENSOR_DEPTH_MAP)
            if ret_depth:
                color_depth_map = cv.normalize(depth_map, None, 0, 255, cv.NORM_MINMAX, cv.CV_8UC1)
                color_depth_map = cv.applyColorMap(color_depth_map, cv.COLORMAP_JET)
                cv.imshow("DEPTH", color_depth_map)
        else:
            print("Fail to grab data from the camera.")

        if cv.pollKey() >= 0:
            break

    orbbec_cap.release()

if __name__ == '__main__':
    main()

Solution link to https://github.com/opencv/opencv/issues/24563#issuecomment-1820286813


TS Error: Type instantiation is excessively deep and possibly infinite. on return message(...) in Load Function

Description
Type
import { z } from "zod";

export const RenewSchema = z.object({
	guild_id: z.string(),
	transaction_id: z.string(),
	duration: z.number()
});

Page Action
export const actions: Actions = {
	renew: async ({ request, locals }) => {
		const session = await locals.getSession();
		const form = await superValidate<typeof RenewSchema, string>(
			request,
			RenewSchema,
			{
				id: 'renew'
			}
		);

		if (!form.valid) return fail(400, { form });

		if (!session) {
			return message(form, 'You are not logged in', {
				status: 401
				});
			}

in the line return message < message is underlined with this error Type instantiation is excessively deep and possibly infinite.

I've noticed that this happens on Stackblitz, does it also happen locally?

For me, I'm developing locally, Yes.

Also happening for me locally.

I'm not getting it locally in any test cases, is there anything special you're doing with the form? An extra complicated schema?

I haven't been able to reproduce it locally, but I've simplified some types in the 0.8.7 version, just released. Can you check if it persists?

I haven't been able to reproduce it locally, but I've simplified some types in the 0.8.7 version, just released. Can you check if it persists?

Will check now 👍

@ciscoheat Still hapenning for me. The schema is super simple too:

My schema:
const schema = z.object({
	email: z.string().email(),
	name: z.string(),
	password: z.string().min(8),
});

Thank you, will check it out!

It also appears on setError
"@sveltejs/kit": "^1.19.0",
"sveltekit-superforms": "^0.8.7",
"svelte": "^3.59.1",
"zod": "^3.21.4"

@TGlide with Superforms 1.0.0-rc.4, this doesn't happen for me anymore in pluck-svelte. Do you have the possibility to upgrade and see if it's fixed for you too?

It's quite strange that I cannot reproduce this locally. @TGlide what are your system specs?

It's quite strange that I cannot reproduce this locally. @TGlide what are your system specs?

It is happening both on my Mac M1, and on my Windows 10 x64 using WSL.

I'm on Win 10 x64 too, but it only appeared once, in pluck-svelte, and not in VS Code but in svelte-check, and it disappeared during the 1.0 upgrade. On Stackblitz it appears frequently, but hard to debug there. Anyone got any ideas?

this is not restricted to system resources, it's a hardcoded limitation on TS side. If someone provides a stackblitz repro I may take a stab at fixing it

In +page.server.ts here for example: https://stackblitz.com/edit/sveltekit-superforms-1-testing?file=src%2Froutes%2F%2Bpage.server.ts


Allow for permissions on views.

Allow for permissions to be added to views that would apply to all routes in the view.

Views are now called components.


Remove the "#" before reading aloud to make the speech content more natural

The current reading function is to directly hand over the entire content of the large model's answers to a third party (Edge browser) to generate speech, and the "#" in the text will be read directly in the speech, such as "1. ## XXXX”。
If you deal with it, removing the "#" in the content will make the resulting voice more natural, after all, we don't directly shout "#" in dialogue, and the "#" in the text is only used as a format symbol.

Maybe this is related? #5612


Update dependency bitflags to v2?

bitflags v2 became available in March 2023: https://crates.io/crates/bitflags/versions
Major changes: https://github.com/bitflags/bitflags/releases/tag/2.0.0
Maybe it is feasible to upgrade from v1 to v2?

I can't think of a reason to remove any of those implementations. I think it's probably best to keep all of them around. (I see that's what you've already done in your pull request :+1:)

Addressed in #211.


Fix Ubuntu and CI Vagrant tests

What type of PR is this?
/kind failing-test

What this PR does / why we need it:
Tries to fix the fedora CI by applying updates to force refresh of the module data.
Without applying upgrades, I was often seeing:
default: No available modular metadata for modular package 'perl-AutoLoader-5.74-471.module_f33+12592+71aff0e2.noarch', it cannot be installed on the system
default: No available modular metadata for modular package 'perl-B-1.80-471.module_f33+12592+71aff0e2.x86_64', it cannot be installed on the system
default: No available modular metadata for modular package 'perl-Carp-1.50-457.module_f33+11297+42184919.noarch', it cannot be installed on the system
default: No available modular metadata for modular package 'perl-Class-Struct-0.66-471.module_f33+12592+71aff0e2.noarch', it cannot be installed on the system
default: No available modular metadata for modular package 'perl-Data-Dumper-2.174-459.module_f33+11297+42184919.x86_64', it cannot be installed on the system
Which then aborted the vagrant up procedure. I wasn't able to find the
single package that fixes the upgrade so let's just upgrade everything.
With the ubuntu tests, our CI seems to be hitting
https://bugs.launchpad.net/cloud-images/+bug/1939580
which causes the shared folder to not be mounted and eventually
manifests as the hack/ci/e2e-ubuntu.sh not found, because it's not
copied over to the shared folder.
which is resolved by upgrading to a recent kernel (<IP_ADDRESS>). The
generic/ubuntu64 image we have been using appears to be using <IP_ADDRESS>.
Unfortunately, the official ubuntu boxes only ship for virtualbox, which
means that we can't use them in general. But at least let's use them for
our CI, anyone running locally would probably not run into the issue
with the VB shared folders anyway.
Which issue(s) this PR fixes:
None

Does this PR have test?
N/A

Special notes for your reviewer:
N/A
Does this PR introduce a user-facing change?

NONE

/lgtm
Thanks for taking a look!

nice one @jhrozek, thanks for looking at this.
/approve
/lgtm


Hetzner

This card is about having a packer template for Hetzner
Additional context
Part of #208
Requirements

[ ] Check if it's possible to create a packer template that leverages https://github.com/rancher-sandbox/cos-toolkit-docs/pull/59 for installation, before attempting to create specific images
[ ] packer templates for Hetzner
[ ] docs explaining how to use the packer templates

We will revisit cloud-images in the future, closing this.

Hi,
Any new decision on this topic?


[BUG] Arm Client doesn't use the set ApiVersion in ArmClientOptions when working with Log Analytics Workspaces

Library name and version
Azure.ResourceManager.SecurityInsights
Describe the bug
I'm using a Sentinel instance that works on top of a West Europe log analytics workspace which as per the subscription supports API version 2022-10-01. If I create an armClient directly I get the error:
Azure.RequestFailedException: 'No registered resource provider found for location 'westeurope' and API version '2022-11-01' for type 'workspaces'. The supported api-versions are '2015-03-20, 2015-11-01-preview, 2017-01-01-preview, 2017-03-03-preview, 2017-03-15-preview, 2017-04-26-preview, 2020-03-01-preview, 2020-08-01, 2020-10-01, 2021-06-01, 2021-03-01-privatepreview, 2021-12-01-preview, 2022-10-01'. The supported locations are 'eastus, westeurope, southeastasia, australiasoutheast, westcentralus, japaneast, uksouth, centralindia, canadacentral, westus2, australiacentral, australiaeast, francecentral, koreacentral, northeurope, centralus, eastasia, eastus2, southcentralus, northcentralus, westus, ukwest, southafricanorth, brazilsouth, switzerlandnorth, switzerlandwest, germanywestcentral, australiacentral2, uaecentral, uaenorth, japanwest, brazilsoutheast, norwayeast, norwaywest, francesouth, southindia, koreasouth, jioindiacentral, jioindiawest, qatarcentral, canadaeast, westus3, swedencentral'.
Status: 400 (Bad Request)
ErrorCode: NoRegisteredProviderFound
After I set ArmClientOptions as below:
ArmClientOptions armClientOptions = new ArmClientOptions();
ResourceType workspaceResourceType = new ResourceType("Microsoft.OperationalInsights/workspaces");
armClientOptions.SetApiVersion(workspaceResourceType, "2022-10-01");
armClient = new ArmClient(credential,SI_SubscriptionId,armClientOptions );
I still get the same error.
Expected behavior
I expect when accessing the workspace resource type the API version I have set as an override be in effect. During debugging I can see that the api version override is populated in the armClient.
Actual behavior
The armClient defaults to version "2022-11-01" which is not supported instead of the override and supported version string of "2022-10-01".
Reproduction Steps
The line where individual alert rules are being grabbed with GetSecurityInsightsAlertRule will fail with the error.
ArmClientOptions armClientOptions = new ArmClientOptions();
 ResourceType workspaceResourceType = new ResourceType("Microsoft.OperationalInsights/workspaces");
 armClientOptions.SetApiVersion(workspaceResourceType, "2022-10-01");
 armClient = new ArmClient(credential,SI_SubscriptionId,armClientOptions );
WorkspaceResourceIdentifier = new ResourceIdentifier(
 "/subscriptions/" +
 SI_SubscriptionId +
 "/resourceGroups/" +
 SI_SentinelInstanceResourceGroupName +
 "/providers/Microsoft.OperationalInsights/workspaces/" +
 SI_SentinelWorkspaceName);
 workspace = armClient.GetOperationalInsightsWorkspaceSecurityInsightsResource(WorkspaceResourceIdentifier);
 var alertRuleIds = workspace.GetSecurityInsightsAlertRules().Select(a => a.Id).ToList();
 foreach(var alert in alertRuleIds)
 {

 SecurityInsightsAlertRuleResource ruleResource = workspace.GetSecurityInsightsAlertRule(alert);

Environment
.Net 7.0 STS,
Visual Studio 2022
Azure.ResourceManager.SecurityInsights version 1.0.1
Azure.Identity 1.8.2

Thank you for your feedback.  Tagging and routing to the team member best able to assist.

Hi @oguzhanf, there is not such version for 2022-10-01 but 2022-10-01-preview, please try elder version or contact Azure support to ask if the region can provide fresh deployment.

Hi @ArthurMa1978, Thank you for your prompt response. I have tried setting this override as well, that override does not seem to take effect. Rather than taking in the override and using that API version, it defaults to 2022-11-01 and then errors out, this is the buggy behaviour that I do not think support would be able to help with.
Pasted the error displayed once more after setting the ResourceProvider API Version to 2022-10-01-preview:
Azure.RequestFailedException: 'No registered resource provider found for location 'westeurope' and API version '2022-11-01' for type 'workspaces'. The supported api-versions are '2015-03-20, 2015-11-01-prev.....
I have tried another step and added an API override for SecurityInsights as well:
```
ArmClientOptions armClientOptions = new ArmClientOptions();
ResourceType workspaceResourceType = new ResourceType("Microsoft.OperationalInsights/workspaces");
armClientOptions.SetApiVersion(workspaceResourceType, "2022-10-01");
ResourceType securityinsightsruleresource = new ResourceType("Microsoft.SecurityInsights/alertRules");
armClientOptions.SetApiVersion(securityinsightsruleresource, "2023-04-01-preview");
armClient = new ArmClient(credential,SI_SubscriptionId,armClientOptions );

When I did this, weirdly the API version for the workspaces is set to what I have provided for the securityinsightsalertruleresource resource type:

Azure.RequestFailedException: 'No registered resource provider found for location 'westeurope' and API version **'2023-04-01-preview' for type 'workspaces'.** The supported api-versions are '2015-03-20, 2015-11-01-preview, 2017-01-01-preview,
.....

It looks like the second call to SetAPIVersion was effective however SecurityInsights just appends the API version override to calls to workspace and they do not share API Version numbers, it wasn't possible to find a current API version that they both share which would be a tacky workaround in any case.

As far as I understand the SecurityInsights namespace is not appending the right version numbers when it makes calls to the API.

Please also have a look here:
In https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/RestOperations/ActionsRestOperations.cs
    public ActionsRestOperations(HttpPipeline pipeline, string applicationId, Uri endpoint = null, string apiVersion = default)
    {
        _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline));
        _endpoint = endpoint ?? new Uri("https://management.azure.com");
        _apiVersion = apiVersion ?? "2022-11-01";
        _userAgent = new TelemetryDetails(GetType().Assembly, applicationId);
    }

This explains why it defaults to 2022-11-01 in the first instance. But it fails to explain why it would take its SetAPIVersion set API version and then also apply that to calls it makes to the workspaces resource type for the OperationalInsights Resource Provider. It basically takes its own API and applies it to the others as well it seems. I am of course not well versed across the whole SDK there could be something else that I'm missing here.

Hi @ArthurMa1978 , @jsquire,
Any chance you can provide an update on the above, if this is something that can be fixed with something I can do in my own code or if there is an expected change that could fix this? Thank you in advance!

I have no insight beyond the initial triage for the issue.   We'll need insight from @ArthurMa1978 for an update.

@ArthurMa1978 would you be able to provide any comments here?

@ArthurMa1978 Any insights on when this will be fixed?

@oguzhanf , sorry for the slow response.
Yes, here the resource type for your request is "Microsoft.SecurityInsights/alertRules" instead of "Microsoft.OperationalInsights/workspaces", because the method GetSecurityInsightsAlertRule calls the SecurityInsightsAlertRuleResource.GetAsync, and the resource type of SecurityInsightsAlertRuleResource is Microsoft.SecurityInsights/alertRules.
It's not easy to find the right resource type here, so we will have a new feature which provide more information for all operations which will include the resource type for SetVersion.

@oguzhanf, I appreciate your feedback and I think the problem is resolved, so I'm closing this issue for now.
If you think that I have misunderstood your issue or closed it incorrectly, please feel free to comment on this thread and reopen the issue. I will be happy to assist you further. Thank you for your understanding and cooperation.


[BUG]: How do i import react native video in swift file (iOS native side)

Version
v6 (Beta)
What platforms are you having the problem on?
No response
Architecture
Old architecture
What happened?
I'm attempting to access the AVPlayer instance from RCTVideo in my local Swift file in order to retrieve some parameters from the AVPlayer. However, I'm facing difficulties in importing the react-native-video module into my Swift file and accessing the AVPlayer instance.
"import RCTVideo"
Steps to Reproduce:
Attempt to import react-native-video into a local Swift file.
Try to access the AVPlayer instance from RCTVideo in the Swift file.
Expected Behavior:
I expect to be able to import the react-native-video module into my Swift file and access the AVPlayer instance without any issues.
Actual Behavior:
I'm unable to import react-native-video into my Swift file and consequently unable to access the AVPlayer instance.
Reproduction
Unable to import RCTVideo to my own swift file

Hmm... can you try to use modular_headers = true ?

I tried already but it is not working
My pod file
require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
require_relative '../node_modules/react-native-permissions/scripts/setup'

platform :ios, min_ios_version_supported
prepare_react_native_project!

# ⬇ uncomment wanted permissions
setup_permissions([
   'AppTrackingTransparency',
  # 'BluetoothPeripheral',
  # 'Calendars',
  # 'Camera',
  # 'Contacts',
  # 'FaceID',
  # 'LocationAccuracy',
  # 'LocationAlways',
  # 'LocationWhenInUse',
  # 'MediaLibrary',
  # 'Microphone',
  # 'Motion',
   'Notifications',
  # 'PhotoLibrary',
  # 'PhotoLibraryAddOnly',
  # 'Reminders',
  # 'Siri',
  # 'SpeechRecognition',
  # 'StoreKit',
])

# If you are using a `react-native-flipper` your iOS build will fail when `NO_FLIPPER=1` is set.
# because `react-native-flipper` depends on (FlipperKit,...) that will be excluded
#
# To fix this you can also exclude `react-native-flipper` using a `react-native.config.js`
# ```js
# module.exports = {
#   dependencies: {
#     ...(process.env.NO_FLIPPER ? { 'react-native-flipper': { platforms: { ios: null } } } : {}),
# ```
#flipper_config = ENV['NO_FLIPPER'] == "1" ? FlipperConfiguration.disabled : FlipperConfiguration.enabled
flipper_config = FlipperConfiguration.disabled

linkage = ENV['USE_FRAMEWORKS']
if linkage != nil
  Pod::UI.puts "Configuring Pod with #{linkage}ally linked Frameworks".green
  use_frameworks! :linkage => linkage.to_sym
end

target 'fluxion' do
  use_modular_headers!

  config = use_native_modules!
  $RNVideoUseGoogleIMA = true

  # Flags change depending on the env values.
  flags = get_default_flags()

  use_react_native!(
    :path => config[:reactNativePath],
    # Hermes is now enabled by default. Disable by setting this flag to false.
    # Upcoming versions of React Native may rely on get_default_flags(), but
    # we make it explicit here to aid in the React Native upgrade process.
    :hermes_enabled => false,
    :fabric_enabled => flags[:fabric_enabled],
    # Enables Flipper.
    #
    # Note that if you have use_frameworks! enabled, Flipper will not work and
    # you should disable the next line.
    :flipper_configuration => flipper_config,
    # An absolute path to your application root.
    :app_path => "#{Pod::Config.instance.installation_root}/.."
  )

  pod 'react-native-video', path: '../node_modules/react-native-video', :modular_headers => true

  target 'fluxionTests' do
    inherit! :complete
    # Pods for testing
  end

  post_install do |installer|
    react_native_post_install(
      installer,
      # Set `mac_catalyst_enabled` to `true` in order to apply patches
      # necessary for Mac Catalyst builds
      :mac_catalyst_enabled => false
    )
    __apply_Xcode_12_5_M1_post_install_workaround(installer)
#  react_native_post_install(installer)
  installer.pods_project.targets.each do |target|
     target.build_configurations.each do |config|
         config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= ['$(inherited)', '_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION']
         if config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'].to_f < 12.0
            config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '12.0'
          end
      end
  end
  installer.pods_project.targets.each do |target|
    if target.respond_to?(:product_type) and target.product_type == "com.apple.product-type.bundle"
      target.build_configurations.each do |config|
          config.build_settings['CODE_SIGNING_ALLOWED'] = 'NO'
      end
    end
  end
  end
end

Do you have podspec for your native module ?

@KrzysztofMoch
Here is is my podspec
react-native-video.podspec.zip

@venky145 I will have to do something similar very soon
The goal is to integrate an analytic tool which listen to AVPlayer events.
my advise:

you need to create a singleton on swift code, it shall be pubic and usable for anywhere in swift
In the singleton, you need one function to register all RCTVideo instance, each new instance will register on mount and unregister on umount
In the singleton, you need


Remove state and the multiview feature with it?

Tapspace is not meant to be used as a state-model. The programmer should implement the state layer as it is different for each app. Therefore the feature that allows multiple views of the same space contradicts the purpose.
Assume the state is removed and then the multiview feature is needed, what to do? Multiple tapspaces can react to changes in the state. Let us take a small overview window for example.
Then assume the state is not removed. The programmer implementing an overview window would still need to implement it via multiple tapspaces. The multiview feature does not offer enough freedom in what is shown in the overview and how it is shown.
Solution to the issue requires a big refactor and big change in the API.
Pros in having a state:

multiple views to same space
multiple renderers: HTML, Canvas, WebGL

Cons in having a state:

no one-to-one mapping between items and HTML DOM
without one-to-one mapping, input managers can be attached only to items in space with a view.
Touchable and Wheelable currently support only HTML views, thus having multiple renderers is a bit unrealistic.
in practice, one needs to store the input managers to be able to stop them.
difficult to extend: SpaceView does not know how to render custom space items.
application state + tapspace state + DOM is overkill and results in unnecessary complex code

By removing the state the domain of tapspace moves closer to jQuery: a toolbox to map state changes to DOM and vice versa.

In v2.0.0 the DOM stores the structure and the content. The problematic Multiview feature is not longer available. Instead, use two Tapspace containers or two Spaces and render the views separately.


shortcut to close or hide specific application

It would be very useful to be able to set a certain key combination to hide (or at least close) an application.
For instance, that could be used to set a certain key combination to bring the application to the foreground, and if already in the foreground then the same key combination would hide it.

Please use Apple Script:
http://brettterpstra.com/2011/01/22/quick-tip-applescript-application-toggle/
You can run Apple Script from shortcut by using <vkopenurldef>.
https://pqrs.org/osx/karabiner/xml.html.en#vkopenurldef

Thank you @tekezo
Do I need to save the apple script as a .app in Automator for this to work? It seems a bit have-handed...

You can run apple script via shell with osascript comment.
Example:
https://github.com/tekezo/Karabiner/blob/version_10.14.0/src/core/server/Resources/vkopenurldef.xml#L278
Of course, you can save your apple script to file and execute from the file.

Excellent, working now thanks!
For those who are wondering, here's how it looks:
<vkopenurldef>
     	<name>KeyCode::VK_OPEN_URL_TOGGLE_APP</name>
     	<url type="shell">
      	       <![CDATA[/usr/bin/osascript pathtoapplescript.scpt]]>
	</url>
        <background />
</vkopenurldef>


Tetsuya Yamamoto: Watch unigold2000.co.uk

Tetsuya Yamamoto requests the watch of the watch_keyword unigold2000.co.uk. See the Metasmoke search here and the Stack Exchange search here.

Coverage remained the same at 63.155% when pulling fc4c254fd593c9534e504933eadecefcaae8692a on auto-blacklist-1512375229.0136805 into 4edbbb6a99ca94573d47ba6ba7ac7b5e8d1da7e8 on master.

!!/approve


[TVMScript] Support cross-function call for relax function

This PR adds support for cross-function call for relax function, by declaring a function signature (i.e. an empty function that contains params and return type/shape but w/o body.)
However, the PR meets the issue of block_builder shape deduction, which does not use function ret_shape to infer the shape of GlobalVar Calls.

cc @YuchenJin @slyubomirsky

Are these changes meant to support mutual recursion as well?
E.g.,
@tvm.script.ir_module
class MutuallyRecursive:
    @R.function
    def f(x: Tensor) -> Tensor:
         return g(x)

    @R.function
    def g(x: Tensor) -> Tensor:
        return f(x)

Now, this is not a very interesting example since it would just infinitely loop, but it should type check.
If we want to support such a case, it might be good to have tests for it.

@Hzfengsy should we close this PR since it's covered by #276?


Issue 73 - Documentation for cookies in karibu-testing-v10 README.md is outdated

Updated the README.md to reference the correct class (UtilsKt instead of MockVaadinKt) for the Java examples.

Thank you, excellent catch, I totally forgot to update the documentation.
Fixes #73


Hardware profile

Advanced support for PinConfig. HardwareProfile class now contains detailed information on the device that remote-wiring is connected to, and RemoteDevice uses this profile class to determine its  capabilities.

@zafields

I have made changes based on feedback from those who reviewed (thanks!) or posted replies to your comments


fix(timer.refresh): should just change callAt

Purpose (TL;DR) - mandatory
timer.refresh looks completely broken to me (and is definitely at least somewhat broken, see https://github.com/facebook/jest/issues/12527).

It uses global setTimeout and clearTimeout, instead of the ones defined in the global passed in
it (tries to) remove the old timer and schedule a new one, "changing" its ID. This:

Does not remove the existing one, as that's not an actual real timer
Break identity since we "schedule" (actually, for real, schedules) a new timer instead of refreshing the existing one (try timer.refresh in node - Symbols asyncId and triggerId never changes, only _idleStart. also t.refresh() === t)

if good, merge

I'm getting Error: Could not find browser revision 818858. Run "PUPPETEER_PRODUCT=firefox npm install" or "PUPPETEER_PRODUCT=firefox yarn install" to download a supported Firefox browser binary. 🙁

Ah, needed to use an older version of npm (which then didn't support the lockfile version...). Then the postversion failed, probably because my fork is still named lolex. However, all the browser tests ran successfully, so hopefully I didn't mess anything up! 😀