Delete multi-node.yml

We don't have a cluster to run these tests on and they just fail every night
relates to https://github.com/apache/incubator-pekko/issues/139

Is it a big deal to just comment the file rather than deleting it? I am in the process of trying to procure hardware at which point it would be useful.

it is easy to revert this delete - there is an open issue (#139)
commenting out bits of the yml is difficult - comment the whole file and the builds will all fail - comment some parts mean that Github will run the job even if it completes after a few seconds - this is still bad for the world's environment, a complete waste of a VM, if only for a few seconds every night


create env with hidden folder

why is not possible to create env folder like: virtphp create .env. It's really helpful because it automatically fits under the default .gitignore configuration to dot folders.
:)
update
why the default --install-path is to a folder at the user's home? i think it's more useful to make it use the current path.

We're working on it.

Ben

On May 6, 2015, at 18:49, Ramon<EMAIL_ADDRESS>wrote:
why is not possible to create env folder like: virtphp create .env. It's really helpful because it automatically fits under the default .gitignore configuration to dot folders.
:)
―
Reply to this email directly or view it on GitHub.

I made this shellscript to help me out tonight :+1:
virtphp create $1 --install-path=`pwd`
mv $1 .$1

named virtualenv-php so the usage:
virtualenv-php envtest


No error validation prompts when creating a new web app with an existing name

OS: Win10
Build Version: 20220225.1
Regression: Previous Release
Repro Steps:

F1 -> Azure App Service: Create New Web App... -> Enter an existing name.
Check whether an error validation prompts.

Expect:
An error validation prompts.

Actual:
No error validation prompts.

This will be fixed by updating the @microsoft-vscode-azext-appservice extension


ARROW-3598: [Plasma] Fix Plasma GPU linking error.

This should revert to the prior behavior from before all of the linking changes. However, I haven't confirmed that it works. @pitrou could you try this out?

Codecov Report

Merging #2820 into master will increase coverage by 0.87%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master   #2820      +/-   ##
=========================================
+ Coverage   87.72%   88.6%   +0.87%
=========================================
  Files         407     345      -62
  Lines       62896   58886    -4010
=========================================
- Hits        55178   52178    -3000
+ Misses       7646    6708     -938
+ Partials       72       0      -72

Impacted Files
Coverage Δ

cpp/src/arrow/csv/column-builder.cc
94.92% <0%> (-2.18%)
:arrow_down:

rust/src/record_batch.rs

go/arrow/array/table.go

rust/src/util/bit_util.rs

go/arrow/math/uint64_amd64.go

go/arrow/internal/testing/tools/bool.go

go/arrow/internal/bitutil/bitutil.go

go/arrow/memory/memory_avx2_amd64.go

go/arrow/array/null.go

go/arrow/datatype_nested.go

... and 53 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 0176b8f...9fdc93c. Read the comment docs.

I think this can be resolved by changing the linking order. Either @pitrou or I can take a closer look since we have NVIDIA GPUs available

Thanks @wesm and @pitrou! Let me know what you find. If that ends up working, feel free to directly modify this PR or replace it.

That should fix it

I confirm this PR fixes the issue here.


chore: sync issue and PR templates

Sync files that will be added in https://github.com/autowarefoundation/autoware/pull/56.

@xmfcx For this repository, it would make conflicts because there is already a PR template.
https://github.com/autowarefoundation/autoware.universe/blob/main/.github/PULL_REQUEST_TEMPLATE.md
But could you try it in this repository as well?

Since users started to ask questions, I'll merge this.
https://github.com/autowarefoundation/autoware.universe/issues/539


First round of documentation content

Setup rest of documentation directory structure
finished configuring Sphinx/ReadTheDocs settings and necessary extensions (see config.py for details)
Wrote first version of docs Homepage with package information
Added Uri's nspyre notes as a first round/placeholder until thorough docs can be written
Setup docs structure and added/setup api reference section to autogenerate api info from docstrings in source code
Completed the Contributing section, with information on package structure and guidelines. Also includes primer information on git/github, reStructuredText, python style conventions, and general software devs guidelines. Included lots of links to useful sources. (still need to add section of GitHub projects/tracking)

Don't delete the documentation-deploy branch. It is meant to exist in perpetuity (or at least until substantial documentation is written) so that there is branch on which documentation commits can be centralized, but also so that the unlisted doc site can be used to confirm successful building and formatting before merging into master.

Wow Michael!  This is truly amazing!  You should put the link to this in the README at some point (to make it easier to find!). Awesome work!  This is going to help so many people!


Lets users know that LinuxED is discontinued, and that ED is EOL

PR recreated on #11 due to Github auto closing, and not letting the PR reopen, due to branch the patches were in being renamed.


Support appending to file without read/write access

Search terms you've used
I've searched for "patch" and "append"
Feature suggestion
The Solid rest-api describes that we can use a PATCH request to append data with SPARQL. I would like to see an implementation of this, which allows appending a Thing to a specific file with only append access.
Expected functionality/enhancement
Something along await appendToFile(url, thing). I'm not very familiar to the solid-client API, so there may be a better solution.
Actual functionality/enhancement

Currently it seems possible to update a file only if one has read and write access.
Use Cases
I would use it to let people append themself to secret groups.
Indirectly this allows granting access to a file shareMe.txt via a link:

create file myGroup where everbody can append, but not read (so the content is secret)
give a group with a cryptographically random name (asdfasdf) access to shareMe.txt
create a Link which contains the random name (https://example-sharer.com/#key=asdfasdf)
anybody with this link can append themself to group asdfasdf and thus has access to shareMe.txt

Additional information

solid-client already sends PATCH requests when you build on top of a previously fetched SolidDataset. So if you first fetch the SolidDataset that contains the group, then add people to the group's Thing, then save that SolidDataset again, that should do what you want.

Hi Vinnl, thanks for the fast response.
From my testing, saveSolidDatasetAt requires WRITE permissions to the file (and APPEND does not suffice, even if only adding to the file).
I've tested it with the script below which resulted in this output:
success: https://sheep.solidcommunity.net/private/editors.ttl
error: https://sheep.solidcommunity.net/private/posters.ttl - 401
error: https://sheep.solidcommunity.net/private/submitters.ttl - 401

The files have public access to WRITE (editors), READ (posters) and APPEND (posters, subbmitters).
This is the testing script:
const { saveSolidDatasetAt, createSolidDataset, createThing, buildThing, setThing } = require("@inrupt/solid-client")
const { RDF, SCHEMA_INRUPT } = require('@inrupt/vocab-common-rdf')

const main = async () => {
    let courseSolidDataset = createSolidDataset();
    const newBookThing1 = buildThing(createThing({ name: "book2" }))
        .addStringNoLocale(SCHEMA_INRUPT.name, "ABC123 of Example Literature")
        .addUrl(RDF.type, "https://schema.org/Book")
        .build();
    courseSolidDataset = setThing(courseSolidDataset, newBookThing1);

    await testSaving('https://sheep.solidcommunity.net/private/editors.ttl', courseSolidDataset)
    await testSaving('https://sheep.solidcommunity.net/private/posters.ttl', courseSolidDataset)
    await testSaving('https://sheep.solidcommunity.net/private/submitters.ttl', courseSolidDataset)
}

const testSaving = async(url, dataset) => {
    try {
        const savedSolidDataset = await saveSolidDatasetAt(url, dataset);
        console.log(`success: ${url}`)
    } catch (err) {
        console.log(`error: ${url} - ${err.response?.status ?? err.message}`)
    }
}

main()

@Otto-AA Yes, that's why I said "when you build on top of a previously fetched SolidDataset". You are creating a new SolidDataset every time (createSolidDataset()), so solid-client will attempt to overwrite whatever is already at that location (hence requiring Write permissions). Off the top of my head (i.e. I didn't run this to test), if I change your code to the following, it should only require Append access:
const { saveSolidDatasetAt, createSolidDataset, createThing, buildThing, setThing } = require("@inrupt/solid-client")
const { RDF, SCHEMA_INRUPT } = require('@inrupt/vocab-common-rdf')

const main = async () => {
    let editorsSolidDataset = await getSolidDataset("https://sheep.solidcommunity.net/private/editors.ttl");
    const newBookThing1 = buildThing(createThing({ name: "book2" }))
        .addStringNoLocale(SCHEMA_INRUPT.name, "ABC123 of Example Literature")
        .addUrl(RDF.type, "https://schema.org/Book")
        .build();
    editorsSolidDataset = setThing(editorsSolidDataset, newBookThing1);

    await testSaving('https://sheep.solidcommunity.net/private/editors.ttl', editorsSolidDataset);
}

const testSaving = async(url, dataset) => {
    try {
        const savedSolidDataset = await saveSolidDatasetAt(url, dataset);
        console.log(`success: ${url}`)
    } catch (err) {
        console.log(`error: ${url} - ${err.response?.status ?? err.message}`)
    }
}

main()

Sorry if I was not clear enough, or I'm still not getting your point.
As far as I understand your example requires READ access (getSolidDataset fails without READ access). The spec and at least NSS support appending with only APPEND access (even without READ and WRITE). This can be done with a INSERT SPARQL statement I think.
This is what I try to achieve: appending without being able to read or modify existing contents.

Ah yes, if you want to append without read access, that would indeed need an addition to the API, e.g. something like saveSolidDatasetAt("https://example.com", { forceAppend: true }). (Also note that I don't work on solid-client/at Inrupt any more, so someone else will have to do that :slightly_smiling_face: )


Question on the model checkpoint

Great work!
Is there any plan to release the model checkpoint only with monolingual data finetuning?

Thanks for the interest! haoranxu/ALMA-7B-Pretrain and haoranxu/ALMA-13B-Pretrain are the models which are only fine-tuned on monolingual data. To clarify, haoranxu/ALMA-7B-Pretrain-LoRA and haoranxu/ALMA-13B-Pretrain-LoRA are just LoRA for them in the MT task~


Adding Modulos

Added Modulos to the JSON
Added Modulos logo in svg format

Hey @kevinschawinski, thanks for the contribution. As the DCO signoff is missing, could you please amend the commit?
Also, it would be nicer to have the full logo (glyph plus wordmark) as it will be more visible.
Tnx


The prometheus example is a 404

The link https://github.com/open-telemetry/opentelemetry-js/blob/main/examples/prometheus is not found

Where did you find the link?

I could not find this link in the repo anymore. :thinking:
The example has moved to: https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/examples/prometheus

ah it may not be in this repo, its at https://www.npmjs.com/package/@opentelemetry/instrumentation-express
see the link
See examples/express for a short example.
Maybe you can create a 301 from those pages?  since npmjs.com is linking to them

I believe the link has been removed in the latest express example: https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/node/opentelemetry-instrumentation-express/examples. Closing. Please feel free to reopen if that's not the case.


Builtin get and set operations cannot be shadowed when using dot notation

linter bug: Unbox requires a boxed type, but got Array[Int].effekt
minified example:
def test(arr: Array[Int]) = {
	arr.put(3,12)
}

Hi @IR0NSIGHT,
thanks for reporting.
If you want a temporary workaround, just use put(arr, 3, 12) instead :)
I'm running into the same problem in Advent of Code. I can also trigger the error message when using get. I think the culprit is the get and put builtins which [somehow] take precedence over user-defined functions when used with dot-syntax.
Here's the definition of get and set (originating from TState above)
https://github.com/effekt-lang/effekt/blob/4d2e4868c99482d9c1fa327c7c542dc27e2c344f/effekt/shared/src/main/scala/effekt/symbols/builtins.scala#L85-L86

Simple reproduction which doesn't need the import of mutable/array:
def get(x: Int): Int = x + 42

def main() = {
    val result = 100.get
    println(result)
}

produces the error:
[error] issue.effekt:4:18: Unbox requires a boxed type, but got Int.
    val result = 100.get
                 ^^^

However, calling get as a function directly (without dot notation) works:
def get(x: Int): Int = x + 42

def main() = {
    val result = get(100)
    println(result) // prints 142
}


Add JavaScript tests and integrate with Sauce

Did another configuration for continuous integration service. I guess it's simpler than the last one #153.
Hope you'll enjoy it.

@igorlima I really appreciate all the work that you put into this. Unfortunately it looks like most of these tests would be broken now since they were implementation dependent, and spin.js has changed a lot internally in the past couple of major versions.
It would be great if spin.js had a robust automated test suite, but I think such tests should be written to test public API behavior, rather than implementation details. In other words, they should check that the spinner looks/behaves as expected for users, rather than checking for the existence of particular DOM elements/styles (which makes it hard to change how the library works).
At some point I would like to add unit tests for business logic like parsing and normalizing box shadows. These functions aren't part of the public spin.js API, though, so it might be better to move them to a separate package before doing this.


Upstream Todoist issue: strange indentation for multi-nested tasks

Seems that if task C is nested under task B, and task B is nested under task A, then task B can have a relative indent level greater than 1, which seems like a violation of expected invariants.  In this gif I am using todoist-shortcuts keybidings, but it also reproduces with mouse drags.
After this repro, I've also seen edits of the task involved cause the task to disappear, along with a 502 error for the sync endpoint, among other console errors.  I don't have a solid repro for that, though, not seeing it anymore.

I forgot that I already wrote an issue for this.  Here's another gif, this time using the mouse:
file:///home/mgsloan/pics/screencaps/2019-03-31_18:21:11.gif

Looks like this got fixed


fix: medicationCodeableConcept for MedicationRequest from list to object

First of all great project :-) I am currently importing the FHIR files into a "non-hapi" FHIR server. I noticed that and I believe it is a slip-up. For MedicationRequest, a list for medicationCodeableConcept is created while it should be an object.
This is done to be compatible according to spec: https://hl7.org/fhir/R4B/medicationrequest.html
It is done correctly for MedicationDispense,
MedicationDispense:
https://github.com/kind-lab/mimic-fhir/blob/baf41b7ab930d3e9433cc494a126c723a31cc828/sql/fhir_medication_dispense.sql#L88-L93
Whereas MedicationRequest currently builds a list:
https://github.com/kind-lab/mimic-fhir/blob/baf41b7ab930d3e9433cc494a126c723a31cc828/sql/fhir_medication_request.sql#L272-L277
Source: https://hl7.org/fhir/R4B/medicationrequest.html

I think this got squashed by the other batch of fixes but I merged anyway just to have an excuse to say thanks!


problems installing python extension in vscode.please someone assist

Likely same issue we are having, when trying to install Python extension we are getting signature errors.  My user is running VS Code v1.75.1
We are aware that using "extensions.verifySignature": false, in the settings is a work around, however, seems anti-conducive to knowing you are getting the true licensed code and believe this could expose our systems to vulnerabilities.
2023-02-20 08:40:57.619 [warning] Via 'product.json#extensionEnabledApiProposals' extension 'github.vscode-pull-request-github' wants API proposal 'commentsResolvedState' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
2023-02-20 08:40:58.139 [error] Extension 'ms-toolsai.jupyter' wants API proposal 'notebookDebugOptions' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
2023-02-20 08:41:01.044 [info] [perf] Render performance baseline is 41ms
2023-02-20 08:41:13.922 [error] UnhandledException: Signature: UnhandledException
at yt.download (vscode-file://vscode-app/c:/Users/xxxx/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:62:17985)
at async $.h (vscode-file://vscode-app/c:/Users/xxxx/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:90:171351)
2023-02-20 08:41:16.763 [error] UnhandledException: Signature: UnhandledException
at yt.download (vscode-file://vscode-app/c:/Users/xxxx/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:62:17985)
at async $.h (vscode-file://vscode-app/c:/Users/xxxx/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:90:171351)
2023-02-20 08:41:25.432 [error] UnhandledException: Signature: UnhandledException
at yt.download (vscode-file://vscode-app/c:/Users/xxxx/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:62:17985)
at async $.h (vscode-file://vscode-app/c:/Users/xxxx/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:90:171351)
2023-02-20 08:41:50.325 [error] Signature: UnhandledException
at yt.download (vscode-file://vscode-app/c:/Users/xxxx/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:62:17985)
at async $.h (vscode-file://vscode-app/c:/Users/xxxx/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:90:171351)
2023-02-20 08:41:50.362 [error] UnhandledException: Signature: UnhandledException
at yt.download (vscode-file://vscode-app/c:/Users/xxxx/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:62:17985)
at async $.h (vscode-file://vscode-app/c:/Users/xxxx/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:90:171351)
2023-02-20 08:42:20.250 [error] Signature: UnhandledException
at yt.download (vscode-file://vscode-app/c:/Users/xxxx/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:62:17985)
at async $.h (vscode-file://vscode-app/c:/Users/xxxx/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:90:171351)
2023-02-20 08:42:20.292 [error] UnhandledException: Signature: UnhandledException
at yt.download (vscode-file://vscode-app/c:/Users/xxxx/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:62:17985)
at async $.h (vscode-file://vscode-app/c:/Users/xxxx/AppData/Local/

Installations are handled by VS Code core. Moving this to the right repository.


TypedPredictor：Too many retries trying to get the correct output format.

I wrote a demo, but it throws an exception.
class APISpec(pydantic.BaseModel):
    spec: str

class Code(pydantic.BaseModel):
    code: str

class APISpecSignature(Signature):
    template: APISpec = InputField(desription="API Specification")
    language: str = InputField(description="Language of the generated code.")
    code: Code = OutputField(desription="Code generated according to the api specification and the specified language.")

predictor = TypedPredictor(APISpecSignature)
prediction = predictor(
    template=APISpec(spec=spec),
    language='python'
)

it throws
ValueError: ('Too many retries trying to get the correct output format. Try simplifying the requirements.', {'code': "ValueError('json output should start and end with { and }')"})

I've tried several models, including GPT-4o, but all have failed. So, is there anything wrong with my code?

After changing the 'template' field to 'spec' in the APISpecSignature class, the program ran without issues. DSPy heavily relies on variable naming？


CLI support for remote operation

A number of CLI commands should support remote operation as the API server becomes available.

there is no intention to work on an API server right now. closing for now.


[Sub-Project] Show error display_message to user if it occurs

Related: https://github.com/epam/ai-dial-sdk/issues/78

@VolhaBazhkova  This ticket can be tested by sending any message to [Sub-Project] and getting not standard message

Specific error message is shown if to create a chat based in sub-project model in DIAL


Round misimplemented for integers

round(15, -1) gives 15
Should give 20

Yeah, currently rounding integers are just returning the same value unmodified: https://github.com/pybee/voc/blob/master/python/common/org/python/types/Int.java#L757
According to the docs:

For the built-in types supporting round(), values are rounded to the closest multiple of 10 to the power minus ndigits

Can anyone please tell me how does this round function works so that I can help in correcting this bug.

@shreyateeza check the documentation for rounding in Python 3: https://docs.python.org/3/library/functions.html#round
What we're missing is the implementation for rounding integers, which would go in here: https://github.com/pybee/voc/blob/cad52e31d005e9c1139daf5c378d79ab4ba0a61e/python/common/org/python/types/Int.java#L867
Instead of just returning another Int object with the same value, it should round the value before, as per specified in the docs (see previous comment).


[bugfix] Do not include non ident chars in idents

According to the spec, the following chars are not allowed in identifiers: \/<>{};=,". While it looks like most of those are excluded here, I noticed that the double quote " and comma , characters are being included.
Steps to reproduce:
> kdl.parse("foo,")
{
  output: [ { name: 'foo,', properties: {}, values: [], children: [] } ],
  errors: []
}

> kdl.parse("foo\"")
{
  output: [ { name: 'foo"', properties: {}, values: [], children: [] } ],
  errors: []
}

Please note that the resulting behavior after this change seems questionable. An exception is raised when a double quote is included in the identifier (which I would expect). However, when commas are present, they seem to be silently ignored. I'm not intimately familiar with the spec or implementations, so I'm not sure what the correct behavior is (though I would expect exceptions in both cases). Looking for any feedback on approach here!

I also noticed that under "Non-identifier characters" the spec says:

Any codepoint with hexadecimal value higher than 0x10FFFF.

However, the range here goes up to \uFFFF. Am I reading that right? Should the range go higher?

Sorry to keep sending updates here, but this also appears to be excluding more than the spec communicates. Now I'm wondering if the spec needs to be updated? For example, parenthesis are excluded here, as are square brackets [], but the spec does not mention them as being invalid for bare identifiers. Though, it seems like it wouldn't make sense for those to be in an identifier?
Wondering if @zkat can clarify? I'm happy to update the spec if it needs it!

Thank you for this too. I don't know how I missed the quote and the comma. Good thing this kdljs version is only released as a release candidate so far :)

However, the range here goes up to \uFFFF. Am I reading that right? Should the range here go higher to 0x10FFFF?

I think this regex should allow for those, /^[\x21-\uFFFF]+$/.test('\u{10FFFF}') returns true. I did not increase the range directly because that requires the RegExp /u flag, though I see now that has been supported for longer than I remember.

For example, parenthesis are excluded here, as are square brackets [], but the spec does not mention them as being invalid for bare identifiers. Though, it seems like it wouldn't make sense for those to be in an identifier?

It's in the grammar but not in the spec text it seems.

It's in the grammar but not in the spec text it seems.

Ahh, got it. Looks like it was in the spec but not correctly displayed.


Adds yarn command

Storybook Hub is building storybooks for every commit in this PR.
Latest Storybook: https://fe4dc96f-ec8c-48cf-b911-112f44dc1199.sbook.io/
( Visit here for more info )

This comment is automatically added by Storybook Hub


Load requirements as a file object

Instead of having a single entry per requirements file,
load it as a file with items for each entry in the file.
This allows errors for each problem, rather than only the
first problem with the requirements, and provides an
equivalent of pip show when pytest verbosity is increased.

@jayvdb Can you rebase this?

This is somewhere between a WIP and ready to roll.  It is definately a large breaking change in the UI / usability.
This mode works well for the pytest default of hiding each test entry which passes, only slightly annoying for projects with extremely large requirement lists.
I would not be opposed to turning this into a 'mode' , so the existing terse mode is still available for people who dont individual test entries for each requirement .  I am sure that there are scenarios with other plugins, especially test result printer plugins, where this approach is undesirable.

Given the other regressions, I suggest delaying this until after the next release .


[FR] Allow makers' exe to be a list

I'd like to be able to override my Python makers to automatically run in pipenv. I thought that I could set the exe for my makers to be ['pipenv', 'run', 'pylint'], etc. and then the args would be passed through transparently. Unfortunately this is not the case.

You need to dynamically adjust exe + args, i.e. exe becomes pipenv, and run + pylint is prepended to args.
But you might also want to consider adjusting your $PATH instead.
Related: https://github.com/neomake/neomake/issues/2078


apko_image requires network access

Building apko_image targets fails when the host platform blocks network access.

Should the action be tagged as requires-network?  Or would it be possible for the command to be patched in order to operate fully offline? I see the command passes --offline, suggesting the latter might be the intent.
Bazel version:       7.1.1
rules_apko version:  1.2.3

Could you share more data?

MVP of apko.yaml  configuration file
exact apko_image and translate_apko_lock declarations


Wheres the problem? how to fix it?

File "bot.py", line 108, in
client.run(TOKEN)
File "/usr/local/lib/python3.8/dist-packages/discord/client.py", line 860, in run
asyncio.run(runner())
File "/usr/lib/python3.8/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
return future.result()
File "/usr/local/lib/python3.8/dist-packages/discord/client.py", line 849, in runner
await self.start(token, reconnect=reconnect)
File "/usr/local/lib/python3.8/dist-packages/discord/client.py", line 777, in start
await self.login(token)
File "/usr/local/lib/python3.8/dist-packages/discord/client.py", line 621, in login
await self.setup_hook()
File "bot.py", line 29, in setup_hook
await self.tree.sync(guild=MY_GUILD)
File "/usr/local/lib/python3.8/dist-packages/discord/app_commands/tree.py", line 1069, in sync
data = await self._http.bulk_upsert_guild_commands(self.client.application_id, guild.id, payload=payload)
File "/usr/local/lib/python3.8/dist-packages/discord/http.py", line 738, in request
raise Forbidden(response, data)
discord.errors.Forbidden: 403 Forbidden (error code: 50001): Missing Access
i already checklist the permission too

i have same error

I never see that error myself but seems like it might be related to user's account settings. It says that the account holder must have MFA (multi factor authentication) activated on the account they're trying to run the bot. Could you approve that you have MFA activated on your account? Ref: https://stackoverflow.com/a/72149554

I never see that error myself but seems like it might be related to user's account settings. It says that the account holder must have MFA (multi factor authentication) activated on the account they're trying to run the bot. Could you approve that you have MFA activated on your account? Ref: https://stackoverflow.com/a/72149554

sorry but it didnt work

I never see that error myself but seems like it might be related to user's account settings. It says that the account holder must have MFA (multi factor authentication) activated on the account they're trying to run the bot. Could you approve that you have MFA activated on your account? Ref: https://stackoverflow.com/a/72149554

sorry but it didnt work

@railomr I've just pushed a changed on intent permissions reordering. Can you try it again after pulling the repo with recent changes and being sure that your BOT_TOKEN and SERVER_ID is correct?

@railomr I've just pushed a changed on intent permissions reordering. Can you try it again after pulling the repo with recent changes and being sure that your BOT_TOKEN and SERVER_ID is correct?

it worked, thank u


Explore deploying mdt stack with helm and operators instead of templates and applier.

It appears the long term gitops/infra as code solution is going to center around Helm as the templating framework of choice, and ArgoCD as the orchestration engine. We should look at what it would take to convert our applier inventory over to helm/argo.

@ramius345 I think we can consider this closed right?


feat: Add support for feed subscription

Fixes: #55, Porting our Dart implementation in Java
https://github.com/GetStream/stream-feed-flutter
A sample usage
// APPID IS REQUIRED IN ORDER TO SUBSCRIBE FEEDS
CloudClient cloudClient = CloudClient.builder(apiKey, token, "chris", appId).build();

CloudFlatFeed chris = cloudClient.flatFeed("user", "chris");

// PRINTS ANY CHANGES IN THE FEED
var subscription = chris.subscribe(message -> System.out.println(message.toString())).get();

chris.addActivity(
      Activity.builder()
              .actor("SU:chris")
              .verb("tweet")
              .object("tweet:10")
              .extraField("message", "Beautiful bird!")
              .build()
     ).get();

subscription.cancel();

@ferhatelmas I have a different formatting configuration in my IntelliJ, so can you also maybe reformat all and push.

can you also maybe reformat all and push.

@xsahil03x don't worry about it, will update CI to do it automatically.

@peterdeme let's review and try to release this

@xsahil03x @ferhatelmas I copied the contents of this PR and opened a new one: https://github.com/GetStream/stream-java/pull/110
Please follow that one. @xsahil03x - thanks so much for your contribution 🙏 we'll try to release it ASAP.


Automatically Resolve Transitive Test Dependencies in Bazel Tests

requirements.bazel.txt currently lists out all dependencies of the bazel tests. Unfortunately, this makes adding dependencies and updating versions quite error-prone, as we must update transitive dependencies by hand.
This has already caused failing master builds. It will likely cause failing builds in the future.

@ghostwriternr Thoughts?

Hey @gnossen !
This is an issue that I faced myself too (even started a discussion at rules_python #125. I suppose we can now confirm that rules_python does expect implicit dependencies to be stated explicitly (also reported at #70, #110).
As it stands, I don't know of any existing solution to this. A good start would be to look at #90 from the creator of TriggerMail/rules_pyz - one of the other popular third-party projects that tries to solve some aspects of Bazel for Python. The PR was unfortunately not merged because it was only partially working.


flutter run --no-build still builds the app

flutter run --no-build is actually building my iOS app, even though build/ios/iphoneos/Runner.app exists and (if I'm understanding the feature) it should be using that.
Note the "Compiling, linking and signing" below (ran with verbose, it really is recompiling):
$ flutter run --no-build
Launching lib/main.dart on iPhone 6s in debug mode...
Found saved certificate choice "Apple Development: Jenn Magder (2867XHZLGW)". To clear, use "flutter config".
Signing iOS app for device deployment using developer identity: "Apple Development: Jenn Magder (2867XHZLGW)"
Running Xcode build...
 └─Compiling, linking and signing...                         8.1s
Xcode build done.                                           12.0s
Installing and launching...                                        12.7s
Waiting for iPhone 6s to report its views...                         5ms
Syncing files to device iPhone 6s...                                56ms

Feature introduced in https://github.com/flutter/flutter/pull/5301.
$ flutter doctor -v
[✓] Flutter (Channel master, 1.23.0-19.0.pre.108, on Mac OS X 10.15.7 19H2 darwin-x64, locale en-US)
    • Flutter version 1.23.0-19.0.pre.108 at /Users/m/Projects/flutter
    • Framework revision 03db9bf918 (3 hours ago), 2020-10-19 12:28:43 -0700
    • Engine revision d03b759d04
    • Dart version 2.11.0 (build 2.11.0-229.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/m/Library/Android/sdk
    • Platform android-30, build-tools 29.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.0)
    • Xcode at /Users/m/Applications/Xcode-12.app/Contents/Developer
    • Xcode 12.0, Build version 12A7209
    • CocoaPods version 1.9.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 50.0.1
    • Dart plugin version 193.7547
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.49.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.13.2

[✓] Connected device (5 available)
    • iPhone 6s (mobile)     • d83d5bc53967baa0ee18626ba87b6254b2ab5418 • ios            • iOS 13.7
    • iPhone 8 Plus (mobile) • A75CFA74-4CE0-469D-AADE-DE01EC6E31CA     • ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-0 (simulator)
    • macOS (desktop)        • macos                                    • darwin-x64     • Mac OS X 10.15.7 19H2 darwin-x64
    • Web Server (web)       • web-server                               • web-javascript • Flutter Tools
    • Chrome (web)           • chrome                                   • web-javascript • Google Chrome 86.0.4240.80

Possibly broken in https://github.com/flutter/flutter/pull/8743?

We tried to use this for multiple CI runs, and instead we used --use-application-binary which required knowing the app bundle name.
https://github.com/flutter/flutter/pull/68528/files

Also, it doesn't work for drive https://github.com/flutter/flutter/issues/10774

@jonahwilliams is --build obsolete?
I don't see anything in flutter_tools that still reads that flag.

I don't think intentionally obsolete.

We should still use use-application-binary and not --no-build. If this flag hasn't worked for more than a year its effectively deprecated anyway

If this flag hasn't worked for more than a year its effectively deprecated anyway
Fair enough.

We should still use use-application-binary and not --no-build.

It would have been the perfect thing to use in #68516 since the tool already knows where the built binary is, and you don't need to pass in the path or know the bundle name (which changes depending on how you set up the app's display name).

That's true, but that will only be temporarily useful

flutter drive --no-build works, but flutter run doesn't. I thought drive is just fancy wrapper over run and connect, so that's weird.

Adding labels based on reproduction of https://github.com/flutter/flutter/issues/72342.

Just tested on stable Flutter 2.0.5
I'm interested in Flutter Web integration testing without rebuild every time.
--no-build does not work with: flutter drive --no-build
and according to help it is deprecated and --use-application-binary has to be used instead.
BUT for Flutter Web it is not yet implemented, so I'm really stuck :-(
--use-application-binary=<path/to/app.apk>        Specify a pre-built application binary to use when running. For
                                                      android applications, this must be the path to an APK. For iOS
                                                      applications, the path to an IPA. Other device types do not yet
                                                      support prebuilt application binaries

@slavap Would you mind filing a new issue for that web-specific feature request?  This is tracking how useless --no-build currently is.  😄

Hello. Any updates on this issue?

Debug mode is set by default and that means that it will build everytime you run, no?

Not if you pass in --use-application-binary.  I don't know what platforms this works on though.

Would you mind filing a new issue for that web-specific feature request? This is tracking how useless --no-build currently is. 😄

I don't know if that ever happened, filed https://github.com/flutter/flutter/issues/115109

The problem is that --use-aplication-binary expects the path to an .APK file, and I'm using flutter for Linux, and that doesn't generate an apk.

The problem is that --use-aplication-binary expects the path to an .APK file, and I'm using flutter for Linux, and that doesn't generate an apk.

I filed https://github.com/flutter/flutter/issues/115109 to track --use-application-binary working on Linux.

I can still reproduce this with iOS. xcrun xcodebuild is being run as observed in the verbose logs. Updating labels


This article does NOT say how to enter into T-SQL debug mode?

Don't you think it might be important to actually provide information on HOW to get T-SQL into debug mode?

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

ID: 6b6bda12-8647-257a-0cff-3e1753f24ef1
Version Independent ID: 88cf6bd4-b860-e79e-50eb-6d7b6c5d0f45
Content: Transact-SQL debugger - T-SQL debugger
Content Source: docs/ssms/scripting/transact-sql-debugger.md
Product: sql
Technology: ssms
GitHub Login: @markingmyname
Microsoft Alias: maghan

@RobinAinscough,
May I ask if you are using an older version of SSMS?

Not enough info:
Hello, RobinAinscough Thank you for your comment. I can't tell by the title and the lack of supporting detail what exactly is the "issue" with this article.
We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion, and we will reopen the issue. To see what the community wants, please visit the SQL Server User Feedback site or the Q & A site.


Provide web interface for testing authenticators and respective responses (part 2)

Created by: @bayegan Dec 07 2021 at 22:47 CET
Last updated: Jul 18 2022 at 13:37 CET
ClickUp ID: IK-1937
To help determine the configuration schema and requirement of the webauthn node, create a web app that enables BE to try out different authenticators and how they behave, so that it's possible to determine the outcome of a webauthn node in the authentication flow.
For more information, see the Miro board
Acceptance criteria:
Enable changing of request objects
Provide returned response
Create credential entry in the browser (i.e., register an account)
Return object based on registration with credentials
Attachment(s):
https://github.com/indykite/clickup-attachments/blob/master/d4c33287-2c1e-4f80-a08b-0c19de6038d7.png
https://github.com/indykite/clickup-attachments/blob/master/a22ccfea-13bd-4ec7-879b-af37f768af94.png
https://github.com/indykite/clickup-attachments/blob/master/8822bb28-091a-40d2-b596-c2fcf545f5ad.png
https://github.com/indykite/clickup-attachments/blob/master/697d9057-d039-4312-9aa0-f873042a1c0c.png

Commented by: @bayegan Dec 03 2021 at 04:29 CET
cc @marvinkite


Feature Request: Async Support

Currently, this is the only thing preventing me from moving from rollbar. I believe their library will queue up onerror's locally until the script loads then fire off the backlog. I'd prefer to not have the script blocking page load.

Thank you for the report, @parisholley. Rollbar setup instructions require pasting the contents of the script (4.5KB) into the <head> of your page, which blocks until it loads. The contents of the Bugsnag library is about 6.5KB and blocks in the same way to maximize the number of errors caught. This behavior is unlikely to change in the near future, but we could potentially look into loading parts of the library asynchronously in an upcoming release.

@kattrali I'm not talking about the code required to embed on the page. Their code specifically, sets up a "proxy" on the page prior to loading their JS asynchronously, which will capture all errors and then fire them off once rollbar has instantiated. Right from their documentation:
"By default, the snippet loads the full Rollbar source asynchronously. You can disable this which will cause the browser to download and evaluate the full rollbar source before evaluating the rest of the page."
Bugsnag is not blocking in the same way as it requires a HTTP request before it can start capturing errors, Rollbar will queue errors before it has loaded.

I apologize for the misunderstanding - I was suggesting that you could embed the script source with a small change in page weight. As long as the data-apikey attribute is still set on the script element, it should work as expected.

@kattrali ah, good to know. you should document that :)


Upgrade tested AGP versions

from 7.0.0-alpha09 to 7.0.0-alpha10

@bot-gradle test AST

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

@bot-gradle test RFN

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


Use witx for autogenerating (most of) wasi_unstable::raw module

I'm not overly familiar with witx yet, but (if possible) it would be beneficial to autogenerate most of wasi_unstable::raw module from the spec using witx rather than filling in the values manually. I was thinking of actually doing something similar to what's been done in CraneStation/wasi-common#152. This way, we'd avoid further errors like #12 in the future.

cc @sunfishcode

Done now!
(as of https://github.com/bytecodealliance/wasi/pull/16)


The trait std::error::Error is not implemented for ProviderError, used by urlshortener::client::UrlShortener::generate

The trait std::error::Error is not implemented for ProviderError, used by urlshortener::client::UrlShortener::generate.
This means that you can't ? out of a -> anyhow::Result<_> function, which is quite unpractical

Yes, this is true. It has been a long time since I last visited the crate. I'll try finding the time to add it.

Implemented and published as 3.1.0. Thanks!


fixes sentry error: invalid input syntax for integer: "'NaN'"

for some reason as.number returns "NaN" (as a string) for urls with text instead of numbers, (eg: http://localhost:3001/case/www.sharecast.org.np)
fixes: https://github.com/participedia/api/issues/745

closing in favor of https://github.com/participedia/api/pull/748


Moving detective devicefarm

Description of your changes
Moving detective (3),devicefarm (6) resources to v1beta1 version.
Moving 3 resources in the detective group:

aws_detective_graph
aws_detective_invitation_accepter
aws_detective_member

Moving 6 resources in the devicefarm group:

aws_devicefarm_device_pool
aws_devicefarm_instance_profile
aws_devicefarm_network_profile
aws_devicefarm_project
aws_devicefarm_test_grid_project
aws_devicefarm_upload

Fixes https://github.com/upbound/provider-aws/issues/66
I have:

[x] Run make reviewable test to ensure this PR is ready for review.

How has this code been tested
Manually and Uptest.
Uptests:

aws_detective_graph - https://github.com/upbound/provider-aws/actions/runs/3547886099/jobs/5958503089
aws_devicefarm_device_pool - https://github.com/upbound/provider-aws/actions/runs/3547887233/jobs/5958505161
aws_devicefarm_instance_profile - https://github.com/upbound/provider-aws/actions/runs/3547887999/jobs/5958506778
aws_devicefarm_network_profile - https://github.com/upbound/provider-aws/actions/runs/3547888440/jobs/5958507880
aws_devicefarm_project - https://github.com/upbound/provider-aws/actions/runs/3547888966/jobs/5958509404
aws_devicefarm_upload - https://github.com/upbound/provider-aws/actions/runs/3547889496/jobs/5958510683

Next resources can be tested only manually:

aws_detective_invitation_accepter

aws_detective_member

aws_devicefarm_test_grid_project - https://github.com/upbound/provider-aws/actions/runs/3548038766/jobs/5958817982

/test-examples="examples/detective/graph.yaml"

/test-examples="examples/devicefarm/devicepool.yaml"

/test-examples="examples/devicefarm/instanceprofile.yaml"

/test-examples="examples/devicefarm/networkprofile.yaml"

/test-examples="examples/devicefarm/project.yaml"

/test-examples="examples/devicefarm/upload.yaml"

/test-examples="examples/detective/graph.yaml"

/test-examples="examples-generated/devicefarm/devicepool.yaml"

/test-examples="examples-generated/devicefarm/instanceprofile.yaml"

/test-examples="examples-generated/devicefarm/networkprofile.yaml"

/test-examples="examples-generated/devicefarm/project.yaml"

/test-examples="examples-generated/devicefarm/testgridproject.yaml"

/test-examples="examples-generated/devicefarm/upload.yaml"

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

/test-examples="examples/detective/graph.yaml"

/test-examples="examples/devicefarm/devicepool.yaml"

/test-examples="examples/devicefarm/instanceprofile.yaml"

/test-examples="examples/devicefarm/networkprofile.yaml"

/test-examples="examples/devicefarm/project.yaml"

/test-examples="examples/devicefarm/upload.yaml"

/test-examples="examples/detective/member.yamll"

/test-examples="examples/devicefarm/testgridproject.yaml"

/test-examples="examples/detective/member.yaml"

/test-examples="examples/detective/member.yaml"

/test-examples="examples/detective/member.yaml"

/test-examples="examples/detective/member.yaml"

/test-examples="examples/detective/member.yaml"

/test-examples="examples/detective/graph.yaml"

/test-examples="examples/detective/member.yaml"

/test-examples="examples/detective/member.yaml"

/test-examples="examples/detective/member.yaml"

/test-examples="examples/detective/member.yaml"

/test-examples="examples/detective/member.yaml"

/test-examples="examples/detective/member.yaml"

/test-examples="examples/detective/member.yaml"


max_number_of_devices should be used in a new session as well

Resolves #1107
Resolves #637

Wait a minute, I removed the code and the test is still working...

The code was correct but the test doesn't, this happens when change_headers_on_each_request is false, so I missed that in the test

Fixed test, @Evan-M will be making another PR improving clean_old_tokens, thank you for your comments!

@MaicolBen: I checked out the max_number_of_devices_in_new_session branch from your forked repo and added my code on top of your PR. So lynndylanhurley/devise_token_auth#1115 I think includes this PR as well.
I think when this PR (#1109) is merged, mine will update since all the commit hashes should match up. If not, I can re-issue my PR against master once #1109 is merged.

@Evan-M You can merge this PR as it has Zach's approve, otherwise we can close this one in favor of #1115

@MaicolBen I've only got Contributor permissions (not Collaborator) so unfortunately I cannot merge PR.

I didn't know, sorry, can you approve?


Strange error when trying to run on raspberry pi zero2W and 3A

Describe the bug
Running "python app.py" gives me this error:
0:01:37.721844887] [1500]  INFO Camera camera_manager.cpp:297 libcamera v0.0.5+83-bde9b04f
[0:01:37.806086982] [1510]  INFO RPI vc4.cpp:437 Registered camera /base/soc/i2c0mux/i2c@1/ov5647@36 to Unicam device /dev/media2 and ISP device /dev/media0
[0:01:37.806302353] [1510]  INFO RPI pipeline_base.cpp:1101 Using configuration file '/usr/share/libcamera/pipeline/rpi/vc4/rpi_apps.yaml'
Camera Config:
{'controls': {'LensPosition': 1.0, 'ExposureValue': 0.0, 'ExposureTime': 220417486, 'AwbMode': 0, 'AfSpeed': 0, 'AfRange': 0, 'AeMeteringMode': 0, 'AeFlickerPeriod': 1000000, 'AeFlickerMode': 0, 'AeExposureMode': 0, 'AeEnable': True, 'AwbEnable': True, 'AeConstraintMode': 0, 'Brightness': 0.0, 'Contrast': 1.0, 'Saturation': 1.0, 'Sharpness': 1.0, 'AfMode': 0, 'ScalerCrop': [0, 0, 4608, 2592]}, 'rotation': {'hflip': 0, 'vflip': 0}, 'sensor-mode': 2, 'capture-settings': {'Resize': False, 'makeRaw': False, 'Resolution': 0, 'available-resolutions': [[4608, 2592], [2304, 1296], [1920, 1080], [1280, 720], [640, 360]]}}
Camera Settings:
{'Resize': False, 'makeRaw': False, 'Resolution': 0, 'available-resolutions': [[4608, 2592], [2304, 1296], [1920, 1080], [1280, 720], [640, 360]]}
Camera Set Resolution:
[4608, 2592]
[0:01:37.831955767] [1500]  INFO Camera camera.cpp:1033 configuring streams: (0) 640x480-XBGR8888 (1) 640x480-SGBRG10_CSI2P
[0:01:37.832772614] [1510]  INFO RPI vc4.cpp:565 Sensor: /base/soc/i2c0mux/i2c@1/ov5647@36 - Selected sensor format: 640x480-SGBRG10_1X10 - Selected unicam format: 640x480-pGAA
[0:01:37.860837767] [1500]  INFO Camera camera.cpp:1033 configuring streams: (0) 640x480-XBGR8888 (1) 1296x972-SGBRG10_CSI2P
[0:01:37.861606018] [1510]  INFO RPI vc4.cpp:565 Sensor: /base/soc/i2c0mux/i2c@1/ov5647@36 - Selected sensor format: 1296x972-SGBRG10_1X10 - Selected unicam format: 1296x972-pGAA
[0:01:37.887651475] [1500]  INFO Camera camera.cpp:1033 configuring streams: (0) 640x480-XBGR8888 (1) 1920x1080-SGBRG10_CSI2P
[0:01:37.889522677] [1510]  INFO RPI vc4.cpp:565 Sensor: /base/soc/i2c0mux/i2c@1/ov5647@36 - Selected sensor format: 1920x1080-SGBRG10_1X10 - Selected unicam format: 1920x1080-pGAA
[0:01:37.927825423] [1500]  INFO Camera camera.cpp:1033 configuring streams: (0) 640x480-XBGR8888 (1) 2592x1944-SGBRG10_CSI2P
[0:01:37.928567320] [1510]  INFO RPI vc4.cpp:565 Sensor: /base/soc/i2c0mux/i2c@1/ov5647@36 - Selected sensor format: 2592x1944-SGBRG10_1X10 - Selected unicam format: 2592x1944-pGAA
Traceback (most recent call last):
File "/home/lpanagis/picamera2-WebUI-Lite/app.py", line 44, in
video_config = picam2.create_video_configuration(main={'size':resolution}, sensor={'output_size': mode['size'], 'bit_depth': mode['bit_depth']})
TypeError: create_video_configuration() got an unexpected keyword argument 'sensor'
and the program exits
To Reproduce
run "python app.py"
Expected behavior
Picamera2 -WebUI-Lite should run
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: "Raspbian GNU/Linux 11 (bullseye)"

Its the v1 camera right?
I will check looks like something is amiss with the sensor parameter

I might see the issue, libcamera is out of date on bullseye and I heard there knock on issues with picamera2. I tried the v1 module on my setup (bookworm) on a pi4 and it was fine. I would recommend trying again with bookworm.
I am on the fence on if I would fix it so its more compatible cause its an issue that runs deep to the sensor modes.

Thanks!
I installed the 32 bit version of Bookworm on my raspberry pi w2 and Pi3A+ and I get this error when trying to run it:
INFO:picamera2.picamera2:Camera configuration has been adjusted!
[0:20:56.078865427] [17222]  INFO Camera camera.cpp:1183 configuring streams: (0) 4608x2592-XBGR8888 (1) 1920x1080-SGBRG10_CSI2P
[0:20:56.079568258] [17236]  INFO RPI vc4.cpp:611 Sensor: /base/soc/i2c0mux/i2c@1/ov5647@36 - Selected sensor format: 1920x1080-SGBRG10_1X10 - Selected unicam format: 1920x1080-pGAA
INFO:picamera2.picamera2:Configuration successful!
Traceback (most recent call last):
File "/home/lpanagis/picamera2-WebUI-Lite/app.py", line 414, in
start_camera_stream()
File "/home/lpanagis/picamera2-WebUI-Lite/app.py", line 282, in start_camera_stream
picam2.configure(video_config)
File "/usr/lib/python3/dist-packages/picamera2/picamera2.py", line 1112, in configure
self.configure_(camera_config)
File "/usr/lib/python3/dist-packages/picamera2/picamera2.py", line 1095, in configure_
self.allocator.allocate(libcamera_config, camera_config.get("use_case"))
File "/usr/lib/python3/dist-packages/picamera2/allocators/dmaallocator.py", line 43, in allocate
fd = self.dmaHeap.alloc(f"picamera2-{i}", stream_config.frame_size)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/picamera2/dma_heap.py", line 98, in alloc
ret = fcntl.ioctl(self.__dmaHeapHandle.get(), DMA_HEAP_IOCTL_ALLOC, alloc)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: [Errno 12] Cannot allocate memory
INFO:picamera2.picamera2:Camera closed successfully.
Is there not enough memory to run it? Should there be a correction declaring that these models are NOT compatible with picamera2-webui-lite?
the camera still works fine with libcamera.

Maybe related to this? https://github.com/monkeymademe/picamera2-WebUI-Lite/issues/25


Integration tests for Build Definitions

PR Summary
Added integration tests for Build Definitions:

adding one build definition with 1 and one with 2 phases

I have to update the test for TFS2017 and TFS2018. It is failing at the moment. It might not be supported there. I need to do some research


HDDS-5142. Make generic streaming client/service for container re-replication, data read, scm/om snapshot download

What changes were proposed in this pull request?
This was discussed offline a few times. (cc @bshashikant @mukul1987)
Today we have server/client utilities/API for Hadoop RPC and GRPC based services but we don't have any unified and tested API for data streaming.
It is suggested to create a generic API for streaming.
As I need to modify the closed container replication I already created a POC based on Netty (instead of GRPC).
This patch shows the first proposed version.

It uses a file-based API (the files should be specified to stream for a given id) because we can use Netty/native streaming without buffering in Java memory.
Offsets can be supported (but not supported yet).
Freon test is included which shows 8x better performance compared to the old GRPC based container replication. (220Mb / sec vs 1.6-1.7 Gb/sec, using one thread + tmpfs)

What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-5142
How was this patch tested?
./ozone freon strmg -n 1000 --files 10

It creates a directory with 10*100MB files (1G) and replicates them 1000 times. Supposed to be finished under 10 minutes

Thanks a lot for the review @bshashikant. Just pushed the fix commit. Can you PTAL?

Thanks @elek for the contribution.


Update Open Source

Should we add the copyright notice to the YAML files? Usually JSON files are ignored because these do not support comments, but in this, also considering that the YAML files are the main content of the repo, I think it makes sense to add it to them. What do you think?

You are right, we can add comments to Yaml files, but I decided not to do it after looking into some of the major chart repositories and realising they don't add any notice into the yaml files.


docs: Removed duplicate lines in "yaml_config.md"

Removed duplicate lines relating to referencing other json templates
#can be defined relative to auto-tag.yaml file. But, what if you would like to reuse one template defined outside of this project?#

Thanks for contributing to monaco!
Since we are using conventional commits, please update your commit
message to fit.
https://github.com/dynatrace-oss/dynatrace-monitoring-as-code/blob/main/CONTRIBUTING.md#examples-of-commit-style-messages

closing and will submit new request with correct commit message format.


Consolidate all errors, use onErrorHtml

Prior to this commit, some errors would be thrown (missing parameter, invalid
state, incorrect approot) while others would be handled via the
set-message-redirect approach (handshake failure, fetch-token failure, etc).
This commit consolidates all of these cases into a single DispatchError type,
and then uses MonadError (concretely ExceptT) to capture them all and handle
them in one place ourselves.
It then updates that handling to:

Use onErrorHtml
onErrorHtml will, by default, set-message-redirect. That make this behavior
neutral for users running defaults. For users that have customized this, it
will be an improvement that all our error cases now respect it.

Provided a JSON representation of errors

Attach a random correlation identifier

The last two were just nice-to-haves that were cheap to add once the code was in
this state.
Note that the use of MonadError requires a potentially "bad" orphan
MonadUnliftIO instance for ExceptT, but I'd like to see that instance become
a reality and think it needs some real-world experimentation to get there, so
here I am.


Use the right executor for EndTransactionProcessor

Make sure set the target branch to develop
What is the purpose of the change
It should use endTransactionExecutor for EndTransactionProcessor. So fix it in this pr.
Brief changelog
XX
Verifying this change
XXXX
Follow this checklist to help us incorporate your contribution quickly and easily. Notice, it would be helpful if you could finish the following 5 checklist(the last one is not necessary)before request the community to review your PR.

[x] Make sure there is a Github issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a Github issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[x] Format the pull request title like [ISSUE #123] Fix UnknownException when host config not exist. Each commit in the pull request should have a meaningful subject line and body.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Write necessary unit-test(over 80% coverage) to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add integration-test in test module.
[x] Run mvn -B clean apache-rat:check findbugs:findbugs checkstyle:checkstyle to make sure basic checks pass. Run mvn clean install -DskipITs to make sure unit-test pass. Run mvn clean test-compile failsafe:integration-test  to make sure integration-test pass.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

@RongtongJin  Can you help me to review this pr?

Good catch!

Merged

Coverage decreased (-0.04%) to 47.222% when pulling 9cc2a5b808e403baa4439cdabedeeb2a116f8226 on cserwen:fix-executor into 3f28f5f0ff91efcad928ef9fc6863bec2249063b on apache:5.0.0-beta.

Coverage decreased (-0.04%) to 47.222% when pulling 9cc2a5b808e403baa4439cdabedeeb2a116f8226 on cserwen:fix-executor into 3f28f5f0ff91efcad928ef9fc6863bec2249063b on apache:5.0.0-beta.


Create adk-release-to-prod-preview workflow

Description
This change adds a workflow to release the ADK as a preview
Testing
Steps taken to verify the changes
Checklist
I have:

[ ] Added new automated tests for any new functionality
[x] Run npm run build

Licensing statement (do not modify)
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

we need to move from node 16 to 18 or 20


Short solution needed: "Infinite while loop" (lua)

Please help us write most modern and shortest code solution for this issue:
Infinite while loop (technology: lua)
Fast way
Just write the code solution in the comments.
Prefered way

Create pull request with a new code file inside inbox folder.
Don't forget to use comments to make solution explained.
Link to this issue in comments of pull request.

Infinite while loop


Flash component renders differently in server vs client

Describe the bug
We use it like this:
import { Flash } from '@primer/components'

...

<Flash variant="warning">

      Bla

</Flash>

When rendered in NextJS on the server, the HTML it generates becomes:

    Bla

But in the browser, it becomes:

    Bla

If you have access, please see: https://github.com/github/docs-engineering/issues/1388
If not, open https://docs.github.com/en/rest/reference/repos and note how the "We've recently moved some of the REST API documentation ..." flash message changes color as the page re-renders in the client.
Note: As this is a public repo, please be careful not to include details or screenshots from unreleased GitHub products or features. In most cases, a good bug report should be able to describe the new component without including business logic or feature details, but if you must discuss context relating to an unreleased feature, please open an issue in the private Design Systems repo and link to it here.
To Reproduce
Steps to reproduce the behavior:

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

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

This is a great bug report! Thanks for taking the time, i'll find out what's up.


Fix operator startup delay caused by leader election lease not being released correctly

The leader election logic of the operator is currently executed in a separate goroutine started by an OnStart hook, and relies on a context (canceled by the respective OnStop hook) for shutting down. Once this occurs, it will automatically release the lease, to allow the immediate election of a new leader. Yet, we do not explicitly wait for this operation to complete, and the operator might stop before the lease is actually released, introducing a ~15 seconds delay for the next election.
This PR fixes this by introducing a WaitGroup to explicitly wait for the leader election loop to terminate before continuing with the shutdown process.

Fix operator startup delay caused by leader election lease not being released correctly

kubernetes-e2e hit https://github.com/cilium/cilium/issues/24622

Travis CI hit unrelated flake https://github.com/cilium/cilium/issues/24491

/test

Rebased onto master since egressgw tests were failing due to https://github.com/cilium/cilium/pull/24835 having been merged.

The leader election logic of the operator is currently executed in a separate goroutine started by an OnStart hook, and relies on a context (canceled by the respective OnStop hook) for shutting down.

This is not true. The start context is only valid during the start and is cancelled either due to timeout or when the start is finished. It must not be used outside the lifetime of the Start hook.

thank you mlh


[FEATURE] Support for terraform-aws-modules v18.0.0+

Is your feature request related to a problem? Please describe
A race condition fixed as part of https://github.com/terraform-aws-modules/terraform-aws-eks/pull/1840
Describe the solution you'd like
Support for the upstream v18.0.0 terraform-aws-modules.
Describe alternatives you've considered
Considered maintaining our own fork but there's too many breaking changes to keep up. Is there an issue/PR that is already tracking this?
Additional context
N/A

Hi @agermain Firstly, Yes It's in our ROADMAP to update the community EKS Cluster module to latest version.
However, We wont hit this issue with our module as we are only creating the EKS Control Plane using community EKS module. Add-ons are managed by dedicated kubernetes-addons sub module. Users can consume this module directly by just passing the EKS cluster id.
Our basic example shows how to consume this module. e.g.,
Stage1: Creates EKS Cluster and Node grops
module "aws-eks-accelerator-for-terraform" {
  source = "../.."

  ...
}

Stage2: Creates Add-ons for the existing cluster
module "kubernetes-addons" {
source         = "../../modules/kubernetes-addons"
eks_cluster_id = module.aws-eks-accelerator-for-terraform.eks_cluster_id
....
depends_on = [module.aws-eks-accelerator-for-terraform.managed_node_groups]
}
Observe the `depends_on` above which ensures the order when running single TF APPLY. We have written these examples in a single file to allow the users quickly test with minimal instructions.

However, It's a best practise to apply the `Stage1` and `Stage2` using separate Terraform Apply or maintain these in separate TF files with dedicated state file for each.

We are thinking of adding prod ready example using tfvars and separate state for cluster and add-ons soon.

Hi @vara-bonthu, thanks for the reply!
The way you've described the example is exactly how we've set it up, except we do it all in one apply. To be more specific, it's actually the coredns addon that is timing out after 15 minutes, if you have seen this happen, do you have any suggestions on avenues to diagnose it?

@agermain Could you please point me to the example that you are trying from this repo? We don't hit this issue with our repo.
You shouldn't get coredns add-on issue with our repo as we are not deploying the Add-ons as a part of EKS Cluster creation module.
module "kubernetes-addons" {
  source         = "../../modules/kubernetes-addons"
  eks_cluster_id = module.aws-eks-accelerator-for-terraform.eks_cluster_id

  # EKS Managed Add-ons
  enable_amazon_eks_vpc_cni    = true
  enable_amazon_eks_coredns    = true
  enable_amazon_eks_kube_proxy = true
}

Try this [example] (https://github.com/aws-samples/aws-eks-accelerator-for-terraform/blob/main/examples/eks-cluster-with-new-vpc/main.tf) and let me know

Closing the issue as this issue is not reproducible with Accelerator module


Update docs/guide.rst

With version 0.1.9, there have been many changes therefore we need to update guide.

I would like to work on this. Can you please point me to the changes in version 0.1.9 so that I can update docs/guide.rst?

@sammyshj I will publish the full list of changes. As soon as I can.


ContentProvider name clashing when 2 app with this same plugin installed

When 2 apps with this plugin are installed on the same phone. The second app fails to install because of the provider name clashing.

Thanks for reporting this. I will get back after I have tested this.

@daadu , I have fixed this, add this to your AndroidManifest.xml inside your <application/> tag:
replace the android:authorities:"<your package URI here>.provider"
<provider
        android:name="android.support.v4.content.FileProvider"
        android:authorities="com.freshchat.flutter_freshchat_example.provider"
        android:exported="false"
        android:grantUriPermissions="true">
        <meta-data
            android:name="android.support.FILE_PROVIDER_PATHS"
            android:resource="@xml/freshchat_file_provider_paths" />
    </provider>

also inside you Strings.xml file add this:
<?xml version="1.0" encoding="utf-8" ?>
<resources>
    <string name="freshchat_file_provider_authority">(your package URI here).provider</string>
</resources>

I tested with new provider it works. Thanks for quick response.


Make parameters to goto_preview_{definition/implementation} be a table

To make the public APIs open to future extension. See #44 and #46 for the discussion.

Minor error fixed :|


AccessDenied error appeared after deploy amplify project

I am using the latest version amplify
Also, I have uploaded my amplify project.
https://prod.d3kb4db9ojlfvl.amplifyapp.com/
This is my site.
It works file and redirect to the signing page.
https://prod.d3kb4db9ojlfvl.amplifyapp.com/signin/
So this site works well.
But If I redirect this site so if I click F5 I get the "AccessDenied" error.
What is the solution for this error?

We had the same issue for one project yesterday, and for another project today

So did you find solution?

We replaced the Rewrites and redirects
from /<*> 404 Rewrite
to this
https://docs.aws.amazon.com/amplify/latest/userguide/redirects.html#redirects-for-single-page-web-apps-spa

So it helped your issue?

Could you let me know correctly what rule you added?

If fact my program worked good in 1 month ago

Our deployment worked for years well with the 404 Rewrite
This is the exact rule we added
[
    {
        "source": "</^[^.]+$|\\.(?!(css|gif|ico|jpg|js|png|txt|svg|woff|ttf|map|json)$)([^.]+$)/>",
        "target": "/index.html",
        "status": "200",
        "condition": null
    }
]

Oh perfect
Thanks  @finnhvman
.

It looks like the 404 Rewrite is broken. We were using for the 404 Rewrite for an alternate way to do SPA fallback (hybrid pre-rendered and SPA for different routes), but it looks like in a recent Amplify update, this has stopped working - 404 Redirect and 200 Rewrite are still working.

I'm still having this problem and I've added the rule shown here:
https://github.com/aws-amplify/amplify-console/issues/1073#issuecomment-697174032
And it doesn't seem like any combination of 404 rewrite or redirect solves it.  Anyone else having any luck?  Perhaps, specifically with Gatsby sites?

@finnhvman Have you applied any other change than the one listed above to get your apps back working again?  Thanks!

@finnhvman Have you applied any other change than the one listed above to get your apps back working again? Thanks!

no other changes, but this will only work if you don't have any other static routes than index.html

+1
Using </^[^.]+$|\.(?!(css|gif|ico|jpg|js|png|txt|svg|woff|ttf|map|json)$)([^.]+$)/> 200 rewrite braks partially static generated SPA pages.
Until this is resolved we added for every page that should be served statically in addition to the redirect above a hard coded 200 redirect.
i.e.
/  => /index.html  [200]
/login/  => /login/index.html  [200]
</^[^.]+$|\.(?!(css|gif|ico|jpg|js|png|txt|svg|woff|ttf|map|json)$)([^.]+$)/> [200]
Note that trailing slashes are needed, the file location must be right and they should be above the regex rewrite.
related

@Liguo-Ma could you share your appId and region please?  Also we had a fix for 404 re-writes that is deploying now but should be live in eu-west-2 and us-east-2 if you wanted to give it a try in one of those regions.


Make posts.category_id to NOT NULL

Close https://github.com/bm-sms/daimon-news-multi-tenant/issues/355

Looks awesome.
a064=# select count(*) from posts where category_id is null;
 count
-------
     0


Aggregating Max_Ratio Values Together Across Search different search Queries

Firstly I would like to wish you and your team a great big thank you. Your Google Trends Anchor Bank (Gtab) has been especially helpful, however, I have a question regarding your Project.
I'll give you some background, so I am conducting a project on Google Search flight data on Behalf of a Travel Company I work for.
This is my Google Collab Workflow.
My Boss wants to know if it's possible to aggregate different search flight search terms even after the initial workflow has been executed. ( as long as the parameters of any later workflows are matched to this initial workflow e.g. t.set_options(pytrends_config={"geo": "GB", "timeframe": "2019-01-01 2021-11-23"}) is kept the same )
For example, starting with the query "flights Sri Lanka", and then keep adding at later dates according to the theme of "flights (destination)". For instance, adding the queries "flights to Sri Lanka" and then perhaps next "flights from UK to Sri Lanka". Therefore, he believes it's possible to simply add the Max_Ratio values from each query to get to this. Will this actually still be reflective in relation to how these search values in aggregate performed in google search in reality.  Or is there a problem with this approach? and in fact there may be a couple specifics we need to know about before pursing this course of action?
Kind Regards,
Baker

Hey Baker,
Not sure I entirely understand your question. But basically, if you are using the same anchorbank, as you seem to be doing in your collab workflow, you can safely "add" the max_ratio columns to get the sum of the search volume over multiple queries.
If you do this per day, you get the total search volume for all the queries you added in that specific day, if you do this across multiple days, for example for an entire month, you get the whole search volume for that month.
The important part here is that you keep the same anchorbank. If you have an anchorbank A and happen to create a different anchorbank B, then search volume is not comparable between A and B!
Does that answer your question?
Best
Manoel

Thank you :)


Bergum/sample app issues

Remove pom.xml from none-java app and fix several wrong bundle names and correct services.xml syntax. This was causing

blog-recommendation to fail to start container
boolean-search fail to start container & failed to configure due to wrong services.xml version nodes versus node

FYI @bjorncs & @lesters. Doc also needs update where code examples are referenced with bundle names.

Few more commits comming, please dont merge @bratseth yet.

Done for now. Please review.

Great!


[feature] API V2 DRF pointer creation & deletion

Add endpoints for the creation & deletion of pointers
Changes:

Add create method to NodePointersSerializer
Add NodePointerDetail view class with methods for retrieving/deleting individual pointers
Add route to NodePointerDetail class

Everything looks good except that we should probably have some tests. Could you add a few?

Sure thing!

As part of test creation, could you re-structure the tests like Steve mentioned https://github.com/CenterForOpenScience/osf.io/pull/2540#issuecomment-97822737


is there a way to refress file cache

when i add new files most of the times i cannot see them in the list how do i refresh the cache without restarting vscode

If you add them through vscode they should be there. But through the filesystem, you will need to restart.
On Wed, Jun 22, 2016 at 7:53 AM +0200, "Nikos Efthias"<EMAIL_ADDRESS>wrote:
when i add new files most of the times i cannot see them in the list how do i refresh the cache without restarting vscode
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Release Note Generator on Website broken

Describe the bug
There is a release notes section in the  download area for  the latest or an archive build. However the page loads but the release notes themselves are never displayed.
To Reproduce

Go here: https://adoptium.net/temurin/archive/
Click Release Notes
Observe the spinning circle in all its rotational glory

Expected behavior
Display of release notes
Desktop (please complete the following information):

OS: Linux
Browser Firefox and Chromium

Some crawling through the Wayback Machine allowed me to discover the problem: this web page is requesting the data at the wrong web address.
Visit, for example, https://adoptium.net/temurin/release-notes/?version=21.0.2+13, with your browser's network requests log open. You'll see an XHR to https://api.adoptium.net/v3/info/release_notes/21.0.2+13, which returns a 404 error. The correct address is, .../release_notes/jdk-21.0... instead of, .../release_notes/21.0.... I added a rule in Redirector to modify these addresses on the fly, and that makes the page load correctly.


Provide ulp_info pointer on send_callback()

Please also update Manual.tex and Manual.md.

Done

@tuxen,
In line with this PR, it would be extremely useful having a public method to retrieve the sb_free at any time. This way we would have the equivalent to the W3C bufferedAmount and bufferedAmountLow.
In the case of usrsctp bufferedAmountLow event would be the send_cb, which fires upon certain free send buffer threshold. bufferedAmount would be this new api method that retrieves the free send buffer size.
What do you think about it? Can we have such a public method to retrieve the free send buffer size at any moment?

@tuxen,
In line with this PR, it would be extremely useful having a public method to retrieve the sb_free at any time. This way we would have the equivalent to the W3C bufferedAmount and bufferedAmountLow.
In the case of usrsctp bufferedAmountLow event would be the send_cb, which fires upon certain free send buffer threshold. bufferedAmount would be this new api method that retrieves the free send buffer size.
What do you think about it? Can we have such a public method to retrieve the free send buffer size at any moment?

For webrtc you would need such a value per data channel, which mean stream in SCTP terms, not at the socket level. Do you really want this at the socket layer?

For webrtc you would need such a value per data channel, which mean stream in SCTP terms, not at the socket level. Do you really want this at the socket layer?

This information is definitely valuable per data channel rather than per socket, yes.

Shouldn't send_cb include the stream id it refers to? receive_cb already does?
Back to my initial question, having send_cb include the stream id plus having a new public method to retrieve the free send buffer size per stream at any moment would be extremely useful and analogous to the W3C spec.

@tuexen,
Within this PR we can already build a mechanism for avoiding packet drops due to the send buffer being full. Honestly I think having the used/free send buffer per socket is perfectly fine and it's not needed per stream (I guess that would be not even possible anyway).
This is how we achieve this:

We configure a low sb_threshold to get the send_cb called frequently. It serves us to have a close to real value of the buffered amount.
Each time send_cb is called, it provides, after this PR, the free send buffer size, out of which we get the buffered amount (buffer size - free buffer size).

Such value is the real buffered amount for the mediasoup association for that exact moment.

Every time usrsctp_sendv succeeds, we increase the mediasoup association buffered amount.

This serves us to know the quasi-real buffered amount in usrsctp until send_cb is executed again.

Given a bufferedAmountLowThreshold that the user can give as per stream, we firebufferedamountlow event accordingly.

The event is fired on every stream id (consumers in mediasoup jargon) according to their thresholds. API user must know that buffered amount value corresponds to the whole socket and not to a specific consumer. Is the user responsibility to use such information accordingly.

Summarizing, this provides us with:

bufferedAmount property.
bufferedAmountThresHold value (per consumer) upon which we emit the bufferedamountlow event.

Just in case you are interested in how we (mediasoup) do it, you can check it here.
Thanks

send buffer per socket is perfectly fine and it's not needed per stream
I would say no. I'm currently doing that in upper layers, and is not exactly fine. We have a project where the wrtc conn is used with multiple channels, some doing real time streaming of audio/video, some doing API calls. I had to do balancing manually, to avoid head of line blocking. Remember RTMP? That protocol, by design, ensure almost same arrival time of both small and large payloads. I'm doing pretty much the same thing, logically speaking. Overall, balancing the channels is instrumental for our work flow, and I dare to say that I'm not the only one with that problem.

The way I'm doing this currently is to never send more than N bytes per channel, where that N == SCTP MTU, in a round robin fashion for all opened channels. Quite a hassle.

My point is that having a send buffer per socket, and the information of the buffered size at any time in your application, you can decide in your application how you want to distribute such free buffer depending on your needs.
I can't think how can you delegate such decision to usrsctp unless it provides with one independent send buffer to each stream id which will be less optimal space wise.
This is just my opinion.

Having that free space per connection would be immensely helpful. No arguments there. My point was that having that space available, would be nice to just divide it by the number of currently opened channels, and provide the result as part of the API, just as it would be done for overall buffer per connection. That will definitely help, as the upper layer will not be forced to keep global contexts and know, at any given time in any given channel, what are the other siblings channels opened. This is what currently tightly couples some of the components in the upper layers. Weakly coupled subsystems are always more flexible.
I_DATA mode would also help in combination with the per-connection space available, and let the SCTP balance the channels. In fact, if I_DATA would be there, I think it will nicely solve this problem, at least the way I understand it: be able to push N lumps of data of various data, and rest assured that they do not do head of line blocking.

Having that free space per connection would be immensely helpful

This is easily calculated now after this PR (commented here)
But yes, if usrsctp could provide it then it would be more accurate.

would be nice to just divide it by the number of currently opened channels

In my opinion such behaviour removes flexibility, because I may want to share the buffer differently among my channels in my app. usrsctp can't assume that I'm willing to distribute the available buffer equally among my channels.

In my opinion such behaviour removes flexibility, because I may want to share the buffer differently among my channels in my app

The suggestion was made to provide that nugget of info: free space per channel, treating them equally. How the app choses to use that info is a different topic. Might very much decide to ignore it. Providing that info helps in decoupling stuff, at least in my case. And I'm pretty sure in other envs too. Right now, as I have explained, I'm forcing each channel hit some sort of a global function (with respect to the channel itself) returning the number of channels. This makes the code sending stuff on that particular data channel not self sufficient.
Again, is not enforcing anything (no MUSTs), just like reporting the per-connection free space does not enforce anything. Is just valuable information, ready to be leveraged by things that needs it

In mediasoup we notify all our app channels about the total buffered size (per SCTP socket) each time it changes, but we could very well notify each of them about Total/Number of channels. here
In case this serves you.

We have that covered by abstracting it and offer an event per opened channel. Internally, that's quite a lot of management going on behind the scene, literally monitoring the arriving SACKs, and do lots of counting. Performance is not affected, as this is just a bunch of +/- arithmetics. Periodically, the counters are reset, to eliminate any kind of wrong math fallouts.
	/**
	 * Triggered when the channel is ready to send more data. This is triggered
	 * as soon as data can be sent over the channel.
	 *
	 * @param pWebRTCConnection the connection on which the event occurred
	 * @param id the unique id of the channel on which the event occurred
	 * @param pUserOpaqueData the user data which was associated with the channel
	 * @param freeSpaceSize a hint about the maximum amount of bytes which should
	 * be sent over the channel to achieve load balancing on all currently opened
	 * channels. The sender of data should no exceed this value, otherwise other
	 * channels might/will starve. This value is informational.
	 */
	virtual void SignalChannelDry(WebRTCConnection *pWebRTCConnection, channelid_t id,
			void *pUserOpaqueData, size_t freeSpaceSize) = 0;

This is the balancing we have now, when freeSpaceSize is respected:
https://drive.google.com/file/d/18cIeQfVtC7f4laD6eq2uSfZrvrg3xkt3/view?usp=sharing


BaseSession foreign objects

I notice that BaseSession has events and monitors member but they should only be introduced at the solver level.
>>> import ansys.fluent.core as pf
>>> meshing = pf.launch_fluent(mode=pf.FluentMode.MESHING)
>>> {'monitors','events'}.intersection(dir(meshing))
{'events', 'monitors'}

I think events should be available in meshing sessions. We shall restrict monitors to solver sessions.

@mkundu1 Thanks for clarifying. For an events object to make sense in each session type, shall we have a distinct enum type in each registration interface?

@seanpearsonuk Good idea, the following events are relevant to meshing:
class MeshingEvent(Enum):
    """Enumerates over supported Fluent meshing events."""

    ABOUT_TO_LOAD_CASE = "AboutToReadCaseEvent"
    CASE_LOADED = "CaseReadEvent"
    SETTINGS_CLEARED = "ClearSettingsDoneEvent"
    PROGRESS_UPDATED = "ProgressEvent"
    FATAL_ERROR = "ErrorEvent"


MAS: Update Error

Brief description
Remove the update UI from MAS as MAS handles updates not the app itself
Screenshots

Oh I fixed this in commit 412d13d4c85cdece09e5985a864c7d095e4d3f00


pull request for e2e test at 12/26/2016 18:56:10

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


Washing Machine via Cloud does not retrieve values (unavailable)

hi,
I deployed the integration using HACS and I connected my bluetooth washer via Bluetooth proxy integrated on a Shelly device
the connection works successfully but doesn't allow me to do anything and doesn't get any info.

I checked the logs and i find this
2024-03-25 18:49:27.506 DEBUG (MainThread) [custom_components.homewhiz] Sensors: ['state', 'washer_program', 'sub_state', 'washer_temperature', 'washer_spin', 'washer_fast_plus', 'custom_duration_level', 'washer_extra_rinse_count', 'delay_start#0', 'washer_duration', 'washer_remaining', 'washer_delay', 'delay_start_time#0', 'settings_volume']

2024-03-25 18:49:27.506 DEBUG (MainThread) [custom_components.homewhiz] Entities: {'state': <entity unknown.unknown=unknown>, 'washer_program': <entity unknown.unknown=unknown>, 'sub_state': <entity unknown.unknown=unknown>, 'washer_temperature': <entity unknown.unknown=unknown>, 'washer_spin': <entity unknown.unknown=unknown>, 'washer_fast_plus': <entity unknown.unknown=unknown>, 'custom_duration_level': <entity unknown.unknown=unknown>, 'washer_extra_rinse_count': <entity unknown.unknown=unknown>, 'delay_start#0': <entity unknown.unknown=unknown>, 'washer_duration': <entity unknown.unknown=unknown>, 'washer_remaining': <entity unknown.unknown=unknown>, 'washer_delay': <entity unknown.unknown=unknown>, 'delay_start_time#0': <entity unknown.unknown=unknown>, 'settings_volume': <entity unknown.unknown=unknown>}

I don't know if i'm doing something wrong, or the connection is fake.
if you need more logs, i'll be glad to provide them.
Thanks ,
Ferran Torredeflot

I upgraded to version 0.5.4, and the issue persists, on the logs I don't see any relevant.

Hi 👋
If there are no Bluetooth errors in the logs, it is unlikely this is an issue with the connection. If you could, please provide as many logs as possible.

hi
I have attached some logs
thanks for your response :)
logs.txt

Hi 👋
Could you try again with the changes in this branch and share your logs?
https://github.com/home-assistant-HomeWhiz/home-assistant-HomeWhiz/tree/207-entity-unknownunknown%3Dunknown-values
Thanks 😊

thanks to you, here you have the logs but i didn't see anything interesting
new_logs.txt

Could you try the code in this PR? 😊
https://github.com/home-assistant-HomeWhiz/home-assistant-HomeWhiz/pull/230

@TechHummel
Hello, i was trying this version, now i can see entities but can`t control it :(

Thanks for the feedback. Is there anything in the logs?

Is there anything in the logs?

yes, this my log when i trying to send some kind of commands

And controlling works fine via the app?
With my Bluetooth washing machine, I can only control it when it's in a special mode.

And controlling works fine via the app? With my Bluetooth washing machine, I can only control it when it's in a special mode.

yes, i have the same, i was trying switch some states with native app and integration at the same time and my native app works fine.

hi, I keep the same issue I attach logs
logs24june.txt

my washing machine works with bluetooth

Ok, I tried avoiding shelly as Bluetooth proxy and it works perfect

I am facing the same issue. In HomeWhiz App I can see the current status of my washing maschine.
Adding my mashine via integration mode Cloud, the device is detected and added, but all sensors are unavailable.
Integration mode Bluetooth doesn't find any device. What Bluetooth scanner mode would be the right mode? Active or Passive?

After installing the latest version, everything works fine for me. I can connect my washing machine, check and change statuses.


extra param to bytesToString()

At https://github.com/go-macaroon/js-macaroon/blob/master/macaroon.js#L1015
Maybe you mean locationStr: bytesToString(v2JSONField(caveat, 'l', false)),?
I'm discover this while I try to add TypeScript definition to this library (actually I think converting to TypeScript is easier).
Are you open to accept PR for the type definition or convert to TypeScript?

Sure that's seems a good idea

I've created an issue to hold the discussion around converting this library to TS: https://github.com/go-macaroon/js-macaroon/issues/53

And good catch with that bug, thanks!

And good catch with that bug, thanks!

Thanks TypeScript for that one. ;)


ValueError: Unknown entry in loss dictionary: "yolo_loss". Only expected the following keys: ['conv2d_209', 'conv2d_217', 'conv2d_225']

I am trying to train this model on my custom dataset( which has only a single class for 'person') using Google Colab. After the first 50 epochs of using full Yolo with the output layers frozen, freeze = 2I get GPU memory RunOutOfMemory error with Tesla T4 GPU. So, I tried to train the model till the first 50 epochs, then saved the model weights in logs/000/train_weights_stage_1.h5 and then re-load the model with the new weights as follows:
from keras.callbacks import ModelCheckpoint
from keras.optimizers import Adam
import numpy as np
from keras.layers import Input, Lambda

from yolo3.model import preprocess_true_boxes, yolo_body, tiny_yolo_body, yolo_loss
from yolo3.utils import get_random_data

import keras.losses
keras.losses.custom_loss = yolo_loss

log_dir = 'logs/000/'
annotation_path = 'model_data/annotations.txt'
val_split = 0.1

with open(annotation_path) as f:
    lines = f.readlines()
np.random.seed(10101)
np.random.shuffle(lines)
print(lines)
np.random.seed(None)
num_val = int(len(lines)*val_split)
num_train = len(lines) - num_val

checkpoint = ModelCheckpoint(log_dir + 'ep{epoch:03d}-loss{loss:.3f}-val_loss{val_loss:.3f}.h5',
        monitor='val_loss', save_weights_only=True, save_best_only=True, period=10, verbose=0)

classes_path = 'model_data/new_classes.txt'

def get_classes(classes_path):
    '''loads the classes'''
    with open(classes_path) as f:
        class_names = f.readlines()
    class_names = [c.strip() for c in class_names]
    return class_names

class_names = get_classes(classes_path)
num_classes = len(class_names)

from yolo3.model import yolo_head, yolo_body
from keras.layers import Input, Lambda
from keras.utils import CustomObjectScope

model = yolo_body(Input(shape=(None, None, 3)), 3, num_classes)
model.load_weights('logs/000/trained_weights_stage_1.h5', by_name=True)

# Unfreeze and continue training, to fine-tune.
# Train longer if the result is not good.
if True:
    for i in range(len(model.layers)):
        model.layers[i].trainable = True
    model.compile(optimizer=Adam(lr=1e-4), loss={'yolo_loss': lambda y_true, y_pred: y_pred}) # recompile to apply the change
    print('Unfreeze all of the layers.')

    batch_size = 32 # note that more GPU memory is required after unfreezing the body
    print('Train on {} samples, val on {} samples, with batch size {}.'.format(num_train, num_val, batch_size))
    #import pdb; pdb.set_trace()
    history = model.fit_generator(data_generator_wrapper(lines[:num_train], batch_size, input_shape, anchors, num_classes),
                  steps_per_epoch=max(1, num_train//batch_size),
                  validation_data=data_generator_wrapper(lines[num_train:], batch_size, input_shape, anchors, num_classes),
                  validation_steps=max(1, num_val//batch_size),
                  epochs=100,
                  initial_epoch=50,
                  callbacks=[logging, reduce_lr, early_stopping]) #removed checkpointing.
    model.save_weights(log_dir + 'trained_weights_final.h5')

  # Further training if needed.`

And, receive the following error:
ValueError                                Traceback (most recent call last)
<ipython-input-30-d6473c9875b2> in <module>()
     61     for i in range(len(model.layers)):
     62         model.layers[i].trainable = True
---> 63     model.compile(optimizer=Adam(lr=1e-4), loss={'yolo_loss': lambda y_true, y_pred: y_pred}) # recompile to apply the change
     64     print('Unfreeze all of the layers.')
     65

/usr/local/lib/python3.6/dist-packages/keras/engine/training.py in compile(self, optimizer, loss, metrics, loss_weights, sample_weight_mode, weighted_metrics, target_tensors, **kwargs)
    117                                      'dictionary: "' + name + '". '
    118                                      'Only expected the following keys: ' +
--> 119                                      str(self.output_names))
    120             loss_functions = []
    121             for name in self.output_names:

ValueError: Unknown entry in loss dictionary: "yolo_loss". Only expected the following keys: ['conv2d_209', 'conv2d_217', 'conv2d_225']

At a loss as to how to get rid of this error and train the full model with the saved weights from the first part. Also, I tried loading the full model from model.save('trained_model_stage_1.h5'), and using model.load_model('trained_model_stage_1.h5', custom_objects={'yolo_loss' : yolo_loss}, but that also doesn't work for me, and I get error of  yolo_head is not defined
Would be great if you could help @qqwweee

As far as I understand, the problem is that you create your model as just
model = yolo_body(Input(shape=(None, None, 3)), 3, num_classes), which has 3 outputs: ['conv2d_209', 'conv2d_217', 'conv2d_225'] , but then compile the model with loss defined for output layer called 'yolo_loss'.
You can see how it is done in the original 'train.py': a layer called 'yolo_loss' is added to the model, that gets as an input model's outputs and ground truth, and return the loss value. Which is why the model is compiled with loss loss={'yolo_loss': lambda y_true, y_pred: y_pred}
To be honest, I have no idea why it's implemented this way.

@lapsya : Can you explain the lambda usage for the layer yolo_loss ,  I understand from this line, that model_loss layer is named as yolo_loss and the loss is computed for this Lambda layer, but I don't understand the usage of lambda y_true, y_pred: y_pred? It seems to me that using y_true and y_pred as arguments the output is y_pred.
Thanks for your previous answer!

This Lambda layer essentially computes the loss from the model's previous output (model_body.output) and additional ground truth input (y_true) and returns it as the final model output.
When you're compiling the model, you need to specify loss as either a function or a dictionary, like loss={'output_name': loss_for_this_output}. The loss function is expected to take 2 arguments: y_true and y_pred. Here the loss is passed as {'yolo_loss': lambda y_true, y_pred: y_pred}, meaning that the loss for output with the name yolo_loss is the value of the output itself. You can read more about it in the official keras docs

But, for the lambda layer named by yolo_loss, the inputs are [*model_body.output, *y_true], but the lambda is providing y_true, y_pred as the input , even if y_pred be equal to model_body.output, the position of y_true, and y_pred seem to be reversed.

Lambda layer named 'yolo_loss' is exactly that - just a layer of the model that happens to take inputs [*model_body.output, *y_true] and computes value that we know to be loss value.
loss={'yolo_loss': lambda y_true, y_pred: y_pred} on the other hand specifies model's loss function - a lambda that has standard loss function signature loss(y_true, y_pred).
Now the model takes as inputs [model_body.input, *y_true] and produces output  model_loss, which is the output of Lambda layer 'yolo_loss'.
The model is then compiled with loss={'yolo_loss': lambda y_true, y_pred: y_pred}, which means that the model's loss function takes its output y_pred and interprets it as loss value regardless of what was passed as y_true


When selects a field in the infowindow, for the first time, it doesn't work in the map

cc @matallo

fixed