Guerilla Render not showing in the supported apps - 3rd attempt

Deep apologies. I am struggling with the sign-off. I have tried to download several Git Apps for Windows but this is a bit beyond my skills. So I have deleted my OCIO repository to start over and sign off directly on GitHub. Hope this is fine this time ! Most sincere apologies, guys !

@jmertic Could help you help @chrisbrejon with the DCO part?

It looks like I should have used this sign-off :
"chrisbrejon<EMAIL_ADDRESS>I could close the PR and start from scratch... if you're okay with that.

@chrisbrejon You can fix it "in-place". You need git installed locally for that. Here's a simple method that worked in my test:

Clone your fork:
git clone https://github.com/chrisbrejon/OpenColorIO.git
Enter the directory:
cd OpenColorIO
If your name and email address aren't configured globally in git, then set them
(you may leave off --global to only set them for the one cloned repo):
git config --global user.name "Christophe Brejon"
git config --global user.email "chris..." (with your full email address obviously)
Make the commit author email address match the sign-off address:
git rebase HEAD~2 -x "git commit --amend --no-edit --reset-author"
(HEAD~2 = the last two commits, which are the ones that need fixing)
Update your fork on GitHub:
git push -f (must be forced as it overwrites existing commits)

Hello @Simran-B
I have done the following steps :
git clone https://github.com/chrisbrejon/OpenColorIO.git
cd OpenColorIO
git config --global user.name "Christophe Brejon"
git config --global user.email<EMAIL_ADDRESS>git rebase 9df47db61fbf6fc4796b60e273ad5b4330fb751d -x "git commit --amend --no-edit --reset-author"
git rebase 6d7927ee46af2e4aa6b180e5ebbd5b7f40ad53e8 -x "git commit --amend --no-edit --reset-author"
git push -f
If I understand correctly, you have made my name and email match the sign-off. Is that correct ? Is there a way to see if the sign of is correct ? Thanks A LOT for your help. Hopefully we are getting there !

I have just checked and it looks like that only one of the two commits is signed off correctly. I have tried again the following :
git rebase 9df47db61fbf6fc4796b60e273ad5b4330fb751d -x "git commit --amend --no-edit --reset-author"
git push -f
No luck...

@chrisbrejon You might also want to check your email settings at https://github.com/settings/emails - try setting the public email to the one in the DCO signoff.

I checked the email settings. Everything is set to my gmail account. I ran again the following code :
git rebase 9df47db61fbf6fc4796b60e273ad5b4330fb751d -x "git commit --amend --no-edit --reset-author"
git push -f
Still no luck... @jmertic

It looks like the commit email and username for GitHub is set to be a private email, thus things don't match up. See this for more insight... https://docs.github.com/en/github/setting-up-and-managing-your-github-user-account/setting-your-commit-email-address
You could try to rebase and squash all your commits together and update the sign-off that way, which could fix the issue.

@jmertic thanks for your help. I have removed all the options about keeping my email private. Would you be kind enough to explain or point me to a page where rebase and squash commits are explained ? Thanks !

Thanks @Simran-B It should be all good now !

We sorted it out via Slack. The problem with git rebase 9df47db ... was that it references Chris' first commit, but git rebase does not include the commit you pass to it - that's why it only modified the second commit. The commit before his first commit can be referenced in one of the following ways:

git rebase HEAD~2 ... (two commits older than HEAD, which is the latest commit of the branch, also called tip)
git rebase 9df47db^ ... (note that in cmd.exe the caret has to be escaped: git rebase 9df47db^^ ... - but not in PowerShell, Git Bash etc.!)
git rebase c324a16 ... (the hash of the commit before his two, as can be examined with git log)

Thanks @carolalynn22 it should be done !

Thanks everyone ! This PR was a rocky start but I think it'll get smoother for the next ones. Looking forward to help you ;-)

Your first PR is now done. Welcome in the OpenColorIO family.


What is the format of the Source parameter's list?

Is it space-separated?  Comma-separated?

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

ID: a31f9836-625a-7ffe-bb24-605bd6fc56c8
Version Independent ID: 441fbba9-5f9b-289e-a0ca-3f887f5d800c
Content: NuGet CLI list command
Content Source: docs/tools/cli-ref-list.md
Product: nuget
GitHub Login: @karann-msft
Microsoft Alias: karann

furthermore is it possible to indicate in a source parameter whether to use api v2 or v3 syntax for that source?
this documentation could use more detail as to how to use the various options for each of these CLI commands.

Thanks for creating this issue! We clarified how to add multiple packages sources: https://github.com/NuGet/docs.microsoft.com-nuget/pull/2241
Please let us know if you have any additional feedback or questions!

that is helpful and more clear. thank you.


Rendering ```php+html issues

When rendering this source https://github.com/harikt/aurav2book/blob/186fb12a5bfedbb62b45c9fd5d9224f3cc22deb5/manuscript/helpers.md#a-a it is producing wrong output .
See http://ghdocs.herokuapp.com/harikt/aurav2book/186fb12a5bfedbb62b45c9fd5d9224f3cc22deb5/manuscript/helpers.md#a
Tag is like
html+php
<?php
echo $this->a(
    'http://auraphp.com',       // (string) href
    'Aura Project',             // (string) text
    array('id' => 'aura-link')  // (array) optional attributes
);
?>
<a href="http://auraphp.com" id="aura-link">Aura Project</a>

Removed the 3 ticks.

@harikt
What part of the output is wrong?

Did you noticed the link and the syntax I wrote :) .

It'd be best if you could provide a short Markdown text together the expected HTML.

I think when there is a + character after the "```" characters it doesn't get parsed as a code block, because of the regex used or something similar.

This is markdown. I wonder whether you will see the real markdown for this will be rendered by github .
```html+php
<?php
echo $this->a(
    'http://auraphp.com',       // (string) href
    'Aura Project',             // (string) text
    array('id' => 'aura-link')  // (array) optional attributes
);
?>
<a href="http://auraphp.com" id="aura-link">Aura Project</a>
```

The expected output is
<?php
echo $this->a(
    'http://auraphp.com',       // (string) href
    'Aura Project',             // (string) text
    array('id' => 'aura-link')  // (array) optional attributes
);
?>
Aura Project

and what it produce is
```html+php <?php echo $this->a(

'http://auraphp.com',       // (string) href
'Aura Project',             // (string) text
array('id' => 'aura-link')  // (array) optional attributes
); ?>

Hey @aidantwoods ,
I guess the problem is with the finding of regex . ```html+php , ie a wild guess.
Eg : This one uses two languages, html and php. So may be if I change to make use of only php this issue will be fixed I guess.
Not a major issue for me. Thanks once again.

Hi @erusev ,
Looking into this issue, I noticed I didn't replied to you properly or on time. I may have carried away with something else. Sorry for the behaviour. And thank you for the wonderful library.


Mention WHICH label occurs multiple times

Description
I see this error:
error: label occurs multiple times in the document
    ┌─ spec/main.typ:146:5
    │
146 │     [ #link(
    │ ╭──────^
147 │ │       label("event_" + event.identifier),
148 │ │       [ #raw(event.acronym) (#text(event.name)) ],
149 │ │     ) ]
    │ ╰─────^

However: Label is used programmatically, and now I have no clue which label it is that occurs multiple times.
Use Case
Debugging.

As a workaround, you can place a locate block right before your #link where you query(label("event_" + event.identifier), loc) and then check if the array returned by query has .len() > 1.

Should be an easy fix. There've already been a few PRs for similar diagnostics that are uninformative in scripted contexts.

Resolved as of 55296a919.

Woah, thanks!


Rounding Errors in Platform Tips

Describe the bug
It seems that certain contribution flows can introduce rounding errors. Here's an example.
To Reproduce
Steps to reproduce the behavior:

Go to https://staging.opencollective.com/backyourstack
Click on the default donation tier; https://staging.opencollective.com/backyourstack/donate
Select interval one time, donation amount to be 20.84
Click on edit link to edit the platform tip and select 10% and then back to 15%
Click next and try to complete the flow

Expected behavior
There should not be any rounding errros.
Screenshots
platform-tip-bug.webm

Related fresh-desk thread; https://opencollective.freshdesk.com/a/tickets/343620

Thanks for the detailed issue Suds


F/jetty buffer

Ability to change Jetty request buffer size.
Configuration

Open "app-context.xml" configuration file in text editor,
Locate "elasticContext" bean,
Update value of the "proxyBufferSize" property:

Default value is 4096 bytes,
Recommended value is 8192 bytes.

@zguo Please, review.


Readd Display on page clicks

[x] When opening the search bar and closing it again the Gleitzeitkonto-Display will vanish. It should be readded afterwords.
[ ] #46

Created separate issue for autoreload


⚠ Bofrost.at has degraded performance

In 7aaf9dd, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1628 ms

Resolved: Bofrost.at performance has improved in ee2d2a1 after 6 minutes.


Conformance core test: HistoricalLocation and @iot.id

request: http://localhost:8080/v1.0/HistoricalLocations(1)
error: The entity does not have mandatory control information : @iot.id

fixed


Plan time on Tuesday (10.07.15) to show Packrat to Dave over IRC

Invite Jonathan to the calendar event as well.

Should be rescheduled for today.

Done!


NFT: Additional necessary tests

Marked additional necessary tests with todos

@t4ccer @zygomeb Have a look over these + #233 where I've outlined some more tests to add to the current validation.


Chaotic directory structure of eventing-contrib

Expected Behavior
All event sources are stored in clear directory structure and easy to locate.
Actual Behavior
There are several event sources. Some are in eventing-contrib repo, some are in eventing repo, and some are in both. Even the structure of sources in eventing-contrib repo is chaotic. It's hard for new comers to locate. And new contributors don't know which directory to contribute.
Sources under eventing-contrib are in chaotic structure:

camel/source
gcppubsub
kafka/source
contrib/awssqs
contrib/github

Sources under eventing are in good shape structure:

contrib/gcppubsub
contrib/kafka
contrib/natss

gcppubsub and kafka are in both.
Steps to Reproduce the Problem

Review the directory structure of eventing-contrib

Additional Info

The directory structure of every event source is in good shape. So we just need to restructure eventing-contrib and get a clear structure.
Better to clear document which directory an event source contributor shall go to.

/kind cleanup


Deployment

user story
As a boot cmap student,
I want the prework notes to be structured on a webpage,
so that i can easily find and read the information.
Acceptance criteria
GIVEN a prework study guide website,
WHEN I visit the website using the URL,
THEN I can access my website from any browser.

Hey. so you just want a normal Website to be deployed? what about the content of the website? you don't have that in your code.


Swagger using full classname

Hi,
I have a class which is named SystemController. Is there a way to prefix this name in swagger or use the full name or something? Now AutoRest generates a System class and in C# that can cause conflicts

Found it. use [SwaggerOperation("new name")]


enable/disable upload feature understanding

so, I want to  disable upload until a later time.
I call begin(.... enableUpload:false)
later I want to enable it
so I call
ArduinoBleOTA.enableUpload();
but my BEGIN transmission get a status 0x06 back,
#define UPLOAD_DISABLED 0x06
if I change the begin(.... enableUpload:true)
then my BEGIN transmission is accepted
am I using it the right way?

Hmm,
begin(.... enableUpload:false) and than ArduinoBleOTA.enableUpload(); should work. Ill check it

Checked. Works correctly begin(.... enableUpload:false) and than ArduinoBleOTA.enableUpload();. It only changes one boolean flag, can't understand where can be issue from Your side. Do you have latest ArduinoBleOTA version?


Ensure receiver node backoff retries finally succeed in asset send via universe proof courier

Fixes https://github.com/lightninglabs/taproot-assets/issues/638
Before the changes introduced in this PR, the universe proof courier proof retrieval itest did not ensure that the proof was actually retrievable after multiple retrieval attempts were conducted. This PR ensures that the proof can actually be retrieved after repeated retrieval attempts using the backoff procedure.
This PR is ready for review. I've converted it to draft because it should only be merged after https://github.com/lightninglabs/taproot-assets/pull/637 is merged.

Needs a rebase!

Needs a rebase!

🎵  Another one 🎵


Fix new unused patch warning.

The unused [patch] warning added in #6470 was misfiring if you build only a subset of a workspace that doesn't include the patch.
I'm about 80% confident this new logic is correct. It addresses the scenario I discovered, and I tested a bunch of commands (generate-lockfile, update, etc.) to make sure they all work. However, the many ways that resolve_with_previous is called is tricky to ensure every scenario works correctly.

r? @dwijnand
(rust_highfive has picked a reviewer for you, use r? to override)

r=me with one question: why is it no longer conditional on warn?

It's a bit complicated.  A command like cargo build will run this resolve code twice.  In resolve_ws_with_method it runs it first via resolve_with_registry to resolve everything, registering patches, but turns warn OFF.  The second time it calls resolve_with_previous directly to resolve with the specific features enabled, turns warn ON and register patches OFF.  Presumably the warn flag is done so that warnings only appear once, and this sequence is so that only warnings that apply to the current command (set of enabled features) are shown (I'm only guessing).
There are a variety of other ways resolve_with_previous gets called, each with different settings (update, generate-lockfile, publish, metadata --all-features, etc. all do things differently).
These patch warnings need to be done when method==Everything and patches are being registered.  Checking register_patches was the most reliable way I could find to ensure this warning fires at the right time for every command.

Excellent, thanks.
@bors r+

:pushpin: Commit 7d112803c5042f0201b0f45d7fb5e308701af0b6 has been approved by dwijnand

:hourglass: Testing commit 7d112803c5042f0201b0f45d7fb5e308701af0b6 with merge 9bf85921f29ee7d4a5eca5abdc3a1e0b6872919d...

:sunny: Test successful - status-appveyor, status-travis
Approved by: dwijnand
Pushing 9bf85921f29ee7d4a5eca5abdc3a1e0b6872919d to master...


@google-cloud/bigquery API is not obeying useLegacySql parameter

I have npm installed big-query, and have this in my package.json:
@google-cloud/bigquery": "^0.9.5",
I then use this code to issue a standard SQL query that works fine in the Web UI:
  const bigqueryClient = bigquery({
      projectId: 'woebot-logs',
      useLegacySql: false,
      autoPaginate: false,
      useQueryCache: false
    });
var query = 'SELECT COUNT(*) FROM `woebot-logs.dynamodb.UserProfile`';
bigqueryClient.dataset('dynamodb').query(query, function(err, rows) { ... });

However, when I run that code, I get:
{ [ApiError: Invalid table name: `woebot-logs:dynamodb.UserProfile`]
  code: 400,
  errors:
   [ { domain: 'global',
       reason: 'invalid',
       message: 'Invalid table name: `woebot-logs:dynamodb.UserProfile`',
       locationType: 'other',
       location: '`woebot-logs:dynamodb.UserProfile`' } ],
  response: undefined,
  message: 'Invalid table name: `woebot-logs:dynamodb.UserProfile`' }

It appears to me that it is not obeying useLegacySql parameter. I've attempted variations on it, like 'false' instead of false, but no difference.
It works fine if I use [] for the table name, as it interprets it as Legacy SQL.
How can I get it to accept standard SQL? I already have all my queries in standard SQL and would like to keep using them. Thank you!

Hello, thank you for reporting. Would you try placing those options on the API call itself? I believe that will clear up the issue:
  const bigqueryClient = bigquery({
      projectId: 'woebot-logs',
-      useLegacySql: false,
-      autoPaginate: false,
-      useQueryCache: false
    });
- var query = 'SELECT COUNT(*) FROM `woebot-logs.dynamodb.UserProfile`';
+ var query = {
+   query: 'SELECT COUNT(*) FROM `woebot-logs.dynamodb.UserProfile`',
+   useLegacySql: false,
+   autoPaginate: false,
+   useQueryCache: false
+ }
bigqueryClient.dataset('dynamodb').query(query, function(err, rows) { ... });

Sorry for the slow response. I think this will sort out the problem, but let me know if there are still any issues, and we will try again!

Yep, that does indeed seem to work. I'm not sure if I misread stuff or something, but thanks for the help!


Abbreviations from text

It would be great to pull  abbreviations my abbreviation (MA) out of plain text. Variations to account for:

abbreviations-including hyphens (AIH)
abbreviations with the small words (ASW)
abbreviations with compoundWords (AVCW)
abbreviations with hyphens (A-w-H)

I think we ignore any (parentheses with spaces) or anything where we cannot find a match as described above.

There is also the opposite order: SABER (signal-activated barcode editing recorder)

There are also cross-language abbreviations, e.g. International Maize and Wheat Improvement Center (CIMMYT)
These could maybe be done by looking at the capital letters preceding the abbreviation... but that's getting a little dicey.

In #50 I handled the simple cases described in my original comment - this covers the vast majority of abbreviations I've seen in the PMC articles. Other cases will probably require a layer of human intervention to get right.


IE8: Invalid Argument

I have replicated the issue with this case https://github.com/10up/flexibility/issues/23
The bug is when there is a negative value in the selected property it throws. I have a class in my css grid as below. The margin with a negative value causes the error. If I make it a positive value the error goes away. Ill try to get a demo up as well. If I get the chance and find a fix Ill see if I can get a pull request in.
.flex-row  {
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -js-display: flex;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    margin-left: -8px;     // <- causes error
    margin-right: -8px;   // <- causes error
}

I had the same problem. When I had divs with padding-left/right inside a div with negative margin which had display flex, it all broke in IE8.
I had to wrap the flexbox div with the negative margin div.

Column

Column

.flex-row {
    margin: 0 -15;
}

.flex-container {
    display: flex;
}

.col-sm-6 {
    width: 50%;
    padding: 0 15px;
}


Problem with project manager

Windows 10, Godot 3.0 Alpha 2
I downloaded godot 3.0 alpha 2 and found a problem in the project manager. I just created a test project, after testing a few things I closed the engine, deleted the project folder and when I opened the engine again, the project was still there. I do not think it would interfere with game development but solving it would be cool.

That's actually a feature implemented in #11163 (@marcelofg55).
Ideas to improve the usability further are welcome :)

Maybe we could add an option on the Project Manager, something like "Remove deleted projects"?

Or maybe a delete/"trash bin" icon next to greyed out items.

Can't you just select the grayed item and push "remove" ?

Yeah I think what @groud mentioned is already good enough.


End2End  test with wls console accessibility with Istio IngressPort

Add  an End to End automated test for Istio Configuration using junit5 framework
a. Create a WebLogic domain  using DomainOnPV/DomainHomeInImage model
b. add istio configuration to domain CRD
c. Label the operator and domain namespace with "istio-injection=enabled"
d. Bring up the istio Gateway and Virtual Service
e. Use the istio HTTP ingress port to access WebLogic Console
f. Deploy an application to cluster using Http Ingress Port using REST API
g. Access the application thru  Http Ingress Port

This PR has been replaced.


Binder links and math syntax

Short summary of changes / additions
-Fixed broken binders links
1)Why did they change?
2) why were they not picked up by Travis?
2) The new link does not reflect anymore the folder path (e.g: ./notebooks/geophysical_surveys/MT_N_Layered_Earth/MT_n_layered_earth_example.ipynb become ./notebooks/geophysical_surveys/MT_n_layered_earth_example.ipynb)
-Fixed some math presentation (addtional space at the beginning put them grey instead of black)
Suggested reviewers:
@lheagy

failed but the highlights links work???


Copy button has a broken styling on Firefox

Example URL(s)
https://developers.cloudflare.com/workers/get-started/quickstarts
Actual Behavior

As shown on the screenshot, the copy button has an unexpected word break on Firefox (v107), but it's fine on Chromium. Upon a quick investigation, this is caused by the following CSS:
.WorkerStarter--command {
  --copy-button-width: 4rem;
}
.WorkerStarter--command-copy-button-wrapper {
  width: calc(var(--copy-button-width) - 2px);
}

I didn't go deep enough to find out where the magic number comes from (2px), but I found that the value should have been 1.67px or smaller. Removing the subtraction, or the entire width declaration appears to work also (on this specific page, I haven't tested other pages).
Expected Behavior
The text "Copy" on the button should be styled on a single line.
Additional information
No response

Just tested in Firefox and we have a different way to copy content to clipboard, so the text is no longer a problem. Closing this out as not a bug.


It would be helpful to have a demonstration of Azure identity credentials with pyodbc

Managed Identity credentials (and other Azure Credential types) aren't obvious at all to set up with pyodbc, as you have to provide an extra attribute that can be difficult to find. The bets documentation for doing this right now is in a closed bug in pyodbc (https://github.com/mkleehammer/pyodbc/issues/228).
A brief example would be useful. Something along the lines of:
import struct
import pyodbc
from azure import identity
SQL_COPT_SS_ACCESS_TOKEN = 1256  # As declared in msodbcsql.h
connection_string = 'DRIVER={ODBC Driver 17 for SQL Server};SERVER=myserver.database.windows.net;DATABASE=mydb'
azure_credential = identity.DefaultAzureCredential()
token = azure_credential.get_token('https://database.windows.net/')
token_struct = struct.pack(f'<I{len(token_struct)}s', len(token_struct), token_struct)
cnxn = pyodbc.connect(connection_string, attrs_before = {SQL_COPT_SS_ACCESS_TOKEN: token_struct}

Further discussion is available at https://github.com/Azure/azure-sdk-for-python/issues/17295

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

ID: 3b978274-097f-4726-c612-86103c6e13da
Version Independent ID: 8d6410fe-9a7d-78d0-a034-83c3836907bb
Content: Step 3: Connecting to SQL using pyodbc - SQL Server
Content Source: docs/connect/python/pyodbc/step-3-proof-of-concept-connecting-to-sql-using-pyodbc.md
Product: sql
Technology: connectivity
GitHub Login: @David-Engel
Microsoft Alias: v-daenge

@lengau -- Alex, thank you for your considered feedback.
@David-Engel -- David, please look into this issue.

@lengau
Good suggestion. Note: This is already documented on the pyODBC wiki page:
https://github.com/mkleehammer/pyodbc/wiki/Connecting-to-SQL-Server-from-Linux#connecting-to-servers-with-access-tokens
I'll add a backlog item to create a code example on our docs page, too.
Thanks,
David
#please-close

@David-Engel yeah, I documented it there after spending a few hours figuring it out, but I had been using Microsoft's docs to walk through it
https://github.com/mkleehammer/pyodbc/wiki/Connecting-to-SQL-Server-from-Linux/49e3c306ba7479f98ad20642b64ff8a11d96868e


Add utility methods for Futures

Since these should all be used with static import, why not name it Futures?


Initial implementation of \in and \implies expressions.

Adding an implies ==> and a membership operation x in {...} to the expression language.
These are key operators for validation and data quality checks (issue #2041).
PR includes implementation + tests. No keywords introduced and should only impact expression language parsing/checking.

@microsoft-github-policy-service agree
Sent with Proton Mail secure email.
------- Original Message -------
On Tuesday, June 20th, 2023 at 5:20 PM, microsoft-github-policy-service[bot] @.***> wrote:

@.***(https://github.com/marron-at-work) please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
@microsoft-github-policy-service agree [company="{your company}"]

Options:

(default - no company specified) I have sole ownership of intellectual property rights to my Submissions and I am not making Submissions in the course of work for my employer.

@microsoft-github-policy-service agree

(when company given) I am making Submissions in the course of work for my employer (or my employer has intellectual property rights in my Submissions by contract or applicable law). I have permission from my employer to make Submissions and enter into this Agreement on behalf of my employer. By signing below, the defined term “You” includes me and my employer.

@microsoft-github-policy-service agree company="Microsoft"

Contributor License Agreement
Contribution License Agreement
This Contribution License Agreement (“Agreement”) is agreed to by the party signing below (“You”),
and conveys certain license rights to Microsoft Corporation and its affiliates (“Microsoft”) for Your
contributions to Microsoft open source projects. This Agreement is effective as of the latest signature
date below.

Definitions.
“Code” means the computer software code, whether in human-readable or machine-executable form,
that is delivered by You to Microsoft under this Agreement.
“Project” means any of the projects owned or managed by Microsoft and offered under a license
approved by the Open Source Initiative (www.opensource.org).
“Submit” is the act of uploading, submitting, transmitting, or distributing code or other content to any
Project, including but not limited to communication on electronic mailing lists, source code control
systems, and issue tracking systems that are managed by, or on behalf of, the Project for the purpose of
discussing and improving that Project, but excluding communication that is conspicuously marked or
otherwise designated in writing by You as “Not a Submission.”
“Submission” means the Code and any other copyrightable material Submitted by You, including any
associated comments and documentation.

Your Submission. You must agree to the terms of this Agreement before making a Submission to any
Project. This Agreement covers any and all Submissions that You, now or in the future (except as
described in Section 4 below), Submit to any Project.

Originality of Work. You represent that each of Your Submissions is entirely Your original work.
Should You wish to Submit materials that are not Your original work, You may Submit them separately
to the Project if You (a) retain all copyright and license information that was in the materials as You
received them, (b) in the description accompanying Your Submission, include the phrase “Submission
containing materials of a third party:” followed by the names of the third party and any licenses or other
restrictions of which You are aware, and (c) follow any other instructions in the Project’s written
guidelines concerning Submissions.

Your Employer. References to “employer” in this Agreement include Your employer or anyone else
for whom You are acting in making Your Submission, e.g. as a contractor, vendor, or agent. If Your
Submission is made in the course of Your work for an employer or Your employer has intellectual
property rights in Your Submission by contract or applicable law, You must secure permission from Your
employer to make the Submission before signing this Agreement. In that case, the term “You” in this
Agreement will refer to You and the employer collectively. If You change employers in the future and
desire to Submit additional Submissions for the new employer, then You agree to sign a new Agreement
and secure permission from the new employer before Submitting those Submissions.

Licenses.

Copyright License. You grant Microsoft, and those who receive the Submission directly or
indirectly from Microsoft, a perpetual, worldwide, non-exclusive, royalty-free, irrevocable license in the
Submission to reproduce, prepare derivative works of, publicly display, publicly perform, and distribute
the Submission and such derivative works, and to sublicense any or all of the foregoing rights to third
parties.

Patent License. You grant Microsoft, and those who receive the Submission directly or
indirectly from Microsoft, a perpetual, worldwide, non-exclusive, royalty-free, irrevocable license under
Your patent claims that are necessarily infringed by the Submission or the combination of the
Submission with the Project to which it was Submitted to make, have made, use, offer to sell, sell and
import or otherwise dispose of the Submission alone or with the Project.

Other Rights Reserved. Each party reserves all rights not expressly granted in this Agreement.
No additional licenses or rights whatsoever (including, without limitation, any implied licenses) are
granted by implication, exhaustion, estoppel or otherwise.

Representations and Warranties. You represent that You are legally entitled to grant the above
licenses. You represent that each of Your Submissions is entirely Your original work (except as You may
have disclosed under Section 3). You represent that You have secured permission from Your employer to
make the Submission in cases where Your Submission is made in the course of Your work for Your
employer or Your employer has intellectual property rights in Your Submission by contract or applicable
law. If You are signing this Agreement on behalf of Your employer, You represent and warrant that You
have the necessary authority to bind the listed employer to the obligations contained in this Agreement.
You are not expected to provide support for Your Submission, unless You choose to do so. UNLESS
REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING, AND EXCEPT FOR THE WARRANTIES
EXPRESSLY STATED IN SECTIONS 3, 4, AND 6, THE SUBMISSION PROVIDED UNDER THIS AGREEMENT IS
PROVIDED WITHOUT WARRANTY OF ANY KIND, INCLUDING, BUT NOT LIMITED TO, ANY WARRANTY OF
NONINFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.

Notice to Microsoft. You agree to notify Microsoft in writing of any facts or circumstances of which
You later become aware that would make Your representations in this Agreement inaccurate in any
respect.

Information about Submissions. You agree that contributions to Projects and information about
contributions may be maintained indefinitely and disclosed publicly, including Your name and other
information that You submit with Your Submission.

Governing Law/Jurisdiction. This Agreement is governed by the laws of the State of Washington, and
the parties consent to exclusive jurisdiction and venue in the federal courts sitting in King County,
Washington, unless no federal subject matter jurisdiction exists, in which case the parties consent to
exclusive jurisdiction and venue in the Superior Court of King County, Washington. The parties waive all
defenses of lack of personal jurisdiction and forum non-conveniens.

Entire Agreement/Assignment. This Agreement is the entire agreement between the parties, and
supersedes any and all prior agreements, understandings or communications, written or oral, between
the parties relating to the subject matter hereof. This Agreement may be assigned by Microsoft.

—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

A couple thoughts, though I haven't had time to think very deeply yet:

This PR should also update the grammar file here.
I think set membership should use our upcoming tuple/array literal syntax. I think we've pretty much settled on #[] for that syntax, so wouldn't mind seeing that here. It's probably ok to do the special case handling as the RHS of the in operator you're doing (as opposed to adding #[] as a new primary expression right now), but seems good to align with future syntax direction and not have multiple notions of a "list of things".
I don't want to merge piecemeal into main as we will end up releasing half-done things, and would rather like to see this go in as a unit. Can we retarget this PR and the other to a feature branch? There will of course be some upkeep (merging in main) but I think it will be worth it.

One additional thought - are we sure the logical implies operator is broadly useful enough to warrant syntax? I haven't come across it before, tho I appreciate that perhaps validation languages have special constraints?
An alternative @timotheeguerin suggested was a built-in function, ala implies(v1, v2), which could still be handled by emitters targeting various languages. Any thoughts on this?

Hey @bterlson, I think those changes sound good. Let me know how you want to setup the feature branch and I am happy to drive the work from there.
On the ==> operator, I do think this is worth adding as special syntax. It is super useful in writing clear specs and, particularly when doing guarded behaviors on methods and want to say things like for a sign method:
arg < 0 ==> result == -arg
arg > 0 ==> result == arg

as a very simple case. Rewriting this as if-then-else, using other primitive logic, or as a implies(...) function tends to obscure the logical intent pretty quickly.

@marron-at-work would it be possible to see some real world examples of using this operator? Do you have any usage using the @validates decorator?

I've created a branch validate that we can land individual PRs in to.

Hi @bterlson, yeah a really common example is for a model like:
model M {
    foo: int32 | null;

    validate foo != null ==> foo >= 0;
}

Also for conditional relations between fields:
model M {
    accountType: "joint" | "single";
    owners: User[];

    validate accountType == "single" ==> owners::length() == 1;
}


crash on checkForDecideResponseWithCompletion:useCache:

Thread : Crashed: com.mixpanel.cbf84d3a959d264d62c06a48d03b1a28.0x165c5b10
0  CoreFoundation                 0x2e05a9f8 __CFBasicHashDeallocate + 48
1  CoreFoundation                 0x2df70127 CFRelease + 466
2  IAPFreeService.dylib           0x00844795 -[IAPFreeConfiguration reload] + 140
3  IAPFreeService.dylib           0x00844985 +[IAPFreeConfiguration sharedInstance] + 80
4  IAPFreeService.dylib           0x00851de9 _ZL65$$NSURLConnection$sendSynchronousRequest$returningResponse$error$P10objc_classP13objc_selectorP12NSURLRequestPP13NSURLResponsePP7NSError + 60
5  ***                          0x00282fb3 __58-[Mixpanel checkForDecideResponseWithCompletion:useCache:]_block_invoke (Mixpanel.m:1149)
6  libdispatch.dylib              0x38cbfd53 _dispatch_call_block_and_release + 10
7  libdispatch.dylib              0x38cc4cbd _dispatch_queue_drain + 488
8  libdispatch.dylib              0x38cc1c6f _dispatch_queue_invoke + 42
9  libdispatch.dylib              0x38cc55f1 _dispatch_root_queue_drain + 76
10 libdispatch.dylib              0x38cc58dd _dispatch_worker_thread2 + 56
11 libsystem_pthread.dylib        0x38df0c17 _pthread_wqthread + 298
version 2.6.???

IAPFreeService.dylib also seems to be the culprit here (not mixpanel). It would appear that it has a reference counting issue since it's crashing on dealloc.


Add Toastify Message

Describe the feature
Hello Project
I would like to Toastify Message to Rate us page
When user selected emoji and given feedback then it wil say   Thank you for your feedback :) Other Please Fill all Details
Can you assign me this issue under GSSOC'24 @hustlerZzZ
Add ScreenShots

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

Ok start working on this

Yeah okk @hustlerZzZ

I want to work on this feature under GSSOC 24 please add a label to it and assign it to me.


oilgen: add to integration test framework

oilgen: add to integration test framework
TODO: Replace the references to local paths.
oilgen (the basis of Ahead Of Time compilation for OIL) has never been passed
through our large test suite and has instead had more focused testing and large
examples. When consuming DWARF information in a similar fashion to JIT OIL this
was okay, but with the new Clang AST based mechanism it means we have very
little coverage.
This change adds an oilgen test for every test case that has an oil test.
Relying on the build system to create the test target as before would make it
difficult to have failing tests, so we move the build into the integration test
runner. This involves:

Writing the input source to a file.
Consuming it with oilgen to get the implementation object file.
Compiling the input source and linking it with this file.
Running the newly created target.

This approach can give the full error message at any stage that fails and will
fail the test appropriately. The downside is the build system integration is
more difficult, as we need the correct compiler flags for the target and to use
the correct compiler. It would be very tricky to replicate this in a build
system that's not CMake, so we will likely only run these tests in open source.
Test plan:

CI

Codecov Report
Attention: 83 lines in your changes are missing coverage. Please review.

Comparison is base (beb404e) 44.63% compared to head (5fa72c4) 44.32%.

Files
Patch %
Lines

test/integration/runner_common.cpp
0.00%
82 Missing :warning:

test/integration/runner_common.h
0.00%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #446      +/-   ##
==========================================
- Coverage   44.63%   44.32%   -0.31%
==========================================
  Files         121      121
  Lines       11905    11988      +83
  Branches     1947     1968      +21
==========================================
  Hits         5314     5314
- Misses       5738     5821      +83
  Partials      853      853

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

Closing for now as CMake not providing linker commands means this can't work reliably on all machines in this form.


add common data description

Description for https://github.com/apiaryio/drafter/issues/467

Shouldn't it be named Common Response rather then data if it holds responses?

I think this section in future will contain common headers also. That is why I've called it Common Data

Good point, I will close it.


Data Science with Python : IRIS Dataset Classification using Different Approaches

Welcome to 'DSWP' Team, good to see you here.
This issue will helps readers in acquiring all the knowledge to learn about getting involved with IRIS Dataset Classification. Tutorial to IRIS Dataset Classification and how it's applied using sample code.
To get assigned to this issue, add your serial numbers mentioned in the spreadsheet of "Data Science with Python", the approach one would follow and choice you prefer (Documentation, Audio, Video). You can go with all three or any number of options you're interested to work on.
This issue is created for beginners and who aren't assigned to any issues yet.
If you had referred any resources, add them up in "DS Resources". Similarly if you had used datasets, include them in "DS Datasets".
Domain : Machine Learning
Mentors Assigned : Gauri Bharadwaj / Jivitesh Jain
Points to Note :
The issues will be assigned on a first come first serve basis, 1 Issue == 1 PR.
"Issue Title" and "PR Title should be the same. Include issue number along with it.
Changes should be made inside the Datascience_With_Python/ directory & Datascience_With_Python branch.
Follow Contributing Guidelines & Code of Conduct before start Contributing.
This issue is only for 'GWOC' contributors of 'DSWP' domain.
All the best. Enjoy your open source journey ahead. 😎

I would like to work on this issue.
Name: Sriniketh J
Batch No: 17
Serial No: 613
Type: Documentation

!assign

Issue assigned to @srini047 for documentation. Also let me know of your approach you would follow.

Approach: Perform Data Analysis, Data Visualizations, Data Preprocessing, and Model Building using different Algorithms like DecisionTree, KNN, LogisticRegression. Also, visualize DecisionTree pictorially.

Kindly assign me this issue
Format: Video
Approach: Detail explanation of Iris dataset using different approaches in video format
Serial no: 253
@prathimacode-hub

Hello mam @prathimacode-hub, I am Deepthi M with serial number:172, Batch-5. I would like to do audio on this issue.
My approach: a detailed explanation

Issue assigned to @deepthi1107 for audio contribution


Releases f2f features

Release branch for f2f
Include PRs:
https://github.com/Civil-Service-Human-Resources/civil-servant-registry-service/pull/83

May I know why this pushed into master?


May events emitted by knex be considered a part of public API?

Hello.
I was looking for a some way to collect statistics about query execution time. Digging into issues and knex sources I found some events like 'query', 'query-response', etc.
Should I consider those events as a part of stable API which I can rely on, or it is some internal thing?
If it is public, it must be mentioned in docs, I suppose.

They are part of public API, they are mentioned in docs too http://knexjs.org/#Interfaces-Events.

Thanks a lot. I've seen this part of docs, but I have been certain that those event API is applicable only to a single query, not a knex object itself. Maybe this part should be clarified in docs.

Would be a good addition, this is not the first time when missing docs of global knex.on() event handlers comes up.


Bug with dual-stack sockets on Mac (works fine on Linux)

What version of gRPC and what language are you using?
Python, with the following packages:
$ pip freeze
grpcio==1.47.0
grpcio-tools==1.47.0
protobuf==3.20.1
six==1.16.0

What operating system (Linux, Windows,...) and version?
Mac:
MacOS Monterey 12.3.1 (21E258), 21.4.0 Darwin Kernel Version 21.4.0: Fri Mar 18 00:47:26 PDT 2022; root:xnu-8020.101.4~15/RELEASE_ARM64_T8101 arm64
Linux:
Ubuntu 20.04, Linux ThinkPad 5.13.0-52-generic #59~20.04.1-Ubuntu SMP Thu Jun 16 21:21:28 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
What runtime / compiler are you using (e.g. python version or version of gcc)
Python 3.9.12
What did you do?
I was trying to implement a gRPC server using the multiprocessing example. I ended up getting weird behavior on MacOS with regards to binding to :: - I want a dual-stack socket that will listen on both IPv4 and IPv6 on all addresses and all interfaces. The following example will reproduce the issue:
import logging
import multiprocessing
import socket
import sys
from concurrent import futures

import grpc

_LOGGER = logging.getLogger(__name__)

_PROCESS_COUNT = multiprocessing.cpu_count()
_THREAD_CONCURRENCY = _PROCESS_COUNT

def _run_server(bind_address):
    """Start a server in a subprocess."""
    _LOGGER.info('Starting new server.')
    options = (('grpc.so_reuseport', 1),)

    server = grpc.server(futures.ThreadPoolExecutor(
        max_workers=_THREAD_CONCURRENCY, ),
        options=options)
    server.add_insecure_port(bind_address)
    server.start()
    server.wait_for_termination()

def main():
    sock = socket.socket(socket.AF_INET6, socket.SOCK_STREAM)
    sock.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEPORT, 1)
    if sock.getsockopt(socket.SOL_SOCKET, socket.SO_REUSEPORT) == 0:
        raise RuntimeError("Failed to set SO_REUSEPORT.")

    # Note: binding to '::', port 12345
    sock.bind(('::', 12345))

    bind_address = f'[::]:12345'
    _LOGGER.info("Binding to '%s'", bind_address)
    sys.stdout.flush()

    workers = []
    for _ in range(_PROCESS_COUNT):
        # NOTE: It is imperative that the worker subprocesses be forked before
        # any gRPC servers start up. See
        # https://github.com/grpc/grpc/issues/16001 for more details.
        worker = multiprocessing.Process(target=_run_server,
                                         args=(bind_address,))
        worker.start()
        workers.append(worker)
    for worker in workers:
        worker.join()

if __name__ == '__main__':
    handler = logging.StreamHandler(sys.stdout)
    formatter = logging.Formatter('[PID %(process)d] %(message)s')
    handler.setFormatter(formatter)
    _LOGGER.addHandler(handler)
    _LOGGER.setLevel(logging.INFO)
    main()

Run this and see below.
What did you expect to see?
I expected it to listen on both IPv4 and IPv6, so I can curl it:
$ curl -v -4 localhost:12345
*   Trying <IP_ADDRESS>:12345...
* TCP_NODELAY set
* Connected to localhost (<IP_ADDRESS>) port 12345 (#0)
> GET / HTTP/1.1
> Host: localhost:12345
> User-Agent: curl/7.68.0
> Accept: */*
>
* Received HTTP/0.9 when not allowed

* Closing connection 0
curl: (1) Received HTTP/0.9 when not allowed

$ curl -v -6 localhost:12345
*   Trying ::1:12345...
* TCP_NODELAY set
* Connected to localhost (::1) port 12345 (#0)
> GET / HTTP/1.1
> Host: localhost:12345
> User-Agent: curl/7.68.0
> Accept: */*
>
* Received HTTP/0.9 when not allowed

* Closing connection 0
curl: (1) Received HTTP/0.9 when not allowed

On Linux, I get the output above, confirming the socket is listening on both IPv4 and v6. I am also able to reach it from another machine on the local network over both protocols, confirming it's binding to more than just the loopback interface.
What did you see instead?
On Mac, with the same code, I just see a connection timeout:
$ curl -v -4 'localhost:12345'
*   Trying <IP_ADDRESS>:12345...
^C
$ curl -v -6 'localhost:12345'
*   Trying ::1:12345...
^C

(I terminated them early, but they normally timeout within around 30 seconds or whatever curl's timeout is)
Keep in mind that the connection is not refused (when the server isn't running, I get a connection refused error immediately), suggesting that the socket is indeed created, however gRPC seems to not want to accept any connections on it.
Make sure you include information that can help us debug (full error message, exception listing, stack trace, logs).
See TROUBLESHOOTING.md for how to diagnose problems better.
Anything else we should know about your project / environment?
Output of ss -lt on Linux:
$ ss -lt | grep 12345
LISTEN  0       4096                   *:12345                 *:*
LISTEN  0       4096                   *:12345                 *:*
LISTEN  0       4096                   *:12345                 *:*
LISTEN  0       4096                   *:12345                 *:*
LISTEN  0       4096                   *:12345                 *:*
LISTEN  0       4096                   *:12345                 *:*
LISTEN  0       4096                   *:12345                 *:*
LISTEN  0       4096                   *:12345                 *:*

Output of netstat -an -ptcp | grep 12345 on Mac:
$ netstat -an -ptcp | grep 12345
tcp46      0      0  *.12345                *.*                    LISTEN
tcp46      0      0  *.12345                *.*                    LISTEN
tcp46      0      0  *.12345                *.*                    LISTEN
tcp46      0      0  *.12345                *.*                    LISTEN
tcp46      0      0  *.12345                *.*                    LISTEN
tcp46      0      0  *.12345                *.*                    LISTEN
tcp46      0      0  *.12345                *.*                    LISTEN
tcp46      0      0  *.12345                *.*                    LISTEN
tcp46      0      0  *.12345                *.*                    CLOSED

On Mac, trying to run it with GRPC_VERBOSITY=DEBUG, GRPC_TRACE=tcp produces nothing relevant - nothing is logged once the server is started even during connection attempts to the socket.
I suspect it is down to the handling of the argument passed to add_insecure_port. If I leave the socket as ::, but pass [::1]:12345 to add_insecure_port, I successfully get IPv6 working over localhost (however as you'd expect in this case, IPv4 and connections over other interfaces don't work). If I set it to <IP_ADDRESS>:12345 I get local IPv4 connectivity but not IPv6.

@yashykt Can you please confirm the behavior in core?


Story/ccls-1998_2013_15 opponents endpoints

Includes
CCLS-1998
CCLS-2013
CCLS-2014
CCLS-2015

LGTM


Hotfix to Master -- fix(hierarchylist): need to useDeepCompareEffect to stop infinite loop

Closes # internal monitoring bug 1622
This is just a hotfix to master for the PR:
https://github.com/carbon-design-system/carbon-addons-iot-react/pull/1794

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 2.141.0-next.15 :tada:
The release is available on:

npm package (@next dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Define an other  hostname

Hi @jzabala thanks for you very helpful lib, is this possible to add a configuration option to override the default  hostname ? Now the value is set as  'sentry.io'  but there is no way to change it.
I self host my sentry instance, so I need to define a host like https://sentry.mycompany.com

One I have found the official sentry cli library, I was able to replace your library with just few lines of code :

First write a .sentryclirc at the root with this content :

[defaults]
url=https://sentry.yourcompany.com
project=yourproject
org=yourcompany

[auth]
token = yourtoken

Replace the content of your file uploadSourcemaps.js with this content

const SentryCli = require('@sentry/cli');
const { version } = require('./package.json');

async function uploadSourceMaps() {
  //default config file is read from ~/.sentryclirc
  const cli = new SentryCli();

  // Use the version defined in package.json or ask sentry for a new one
  // const releaseVersion = await cli.releases.proposeVersion();
  console.log('Proposed version:\n', version);

  const options = {
    debug: false,
    include: ['./build/'],
    urlPrefix: '~',
    rewrite: true,
    ignore: ['node_modules']
  };

  console.log('upload options:\n', options);

  await cli.releases.new(version);
  await cli.releases.uploadSourceMaps(version, options);
  await cli.releases.finalize(version);
}

uploadSourceMaps();

hey @padupuy this is super awesome. You definitely were able to write less code with this approach. To be honest I didn't consider the library @sentry/cli since I was trying to do it manually without relating in any third party library. Would you like to create a gists with this solution? I would like to add this as an alternative in the readme.
Thank you very much for you comments :D


I'm unable to use any audio input devices on linux despite them being available

OS: popos 22.04 (an ubuntu flavour).
Whispering version: v4.8.0
Installed using .deb package.
When I start whispering and click record (or press shortcut) I get a message like this:

In the terminal I get the following:
❯ whispering

** (whispering:212598): WARNING **: 18:40:54.821: webkit_settings_set_enable_offline_web_application_cache is deprecated and does nothing.
Audio capture was requested but no device was found amongst 2 devices
IntConstraint 7, min -1, max -1, exact -1, ideal 16000
BooleanConstraint 9, exact -1, ideal 1

No devices show in the dropdown menu either:

Side note: I was unable to run this using the AppImage. I get a white screen and the following in the terminal:
❯ ./whispering_4.8.0_amd64.AppImage
GStreamer element appsink not found. Please install it
GStreamer element autoaudiosink not found. Please install it

(WebKitWebProcess:215396): GLib-GObject-WARNING **: 18:45:23.006: invalid (NULL) pointer instance

(WebKitWebProcess:215396): GLib-GObject-CRITICAL **: 18:45:23.006: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

Thank you very much for your effort on this app, I'm eager to try it out and get it working :heart_hands:

I tried to debug this by running the code locally and give Suitable permissions to the program.  But I wasn't able to.
I tried two things.
Firstly I ran the script in both a normal browser and the inspect console of the app:
   navigator.mediaDevices.enumerateDevices().then(devices => {
     console.log(devices);
 }).catch(err => {
     console.error(err);
 });

I got no devices in whisperring, but multiple in firefox + chrome.
Secondly - I added my user to the 'audio' group. sudo usermod -aG audio $USER That didn't help either.

@braden-w I was finally able to get Whispering to launch on Ubuntu 22.04, by installing the .deb of version 5.1.1, but I have the same issue described here, unfortunately. Also, the window for Whispering's settings can't be moved around.
But seems at least like we're getting closer to a working Linux version :D

I've made some progress on this. Seems to be an Ubuntu issue where the permissions for the gstreamer plugins are messed up. The autoaudiosink plugin should be standard and available to all users but it looks like it's exclusive to the root user for some reason. I'll let you know if I make any breakthroughs.

Tauri does not handle it.
See https://github.com/tauri-apps/tauri/issues/8851


Add cache-control for resources

As we are not using any CDN, lets add some cache-control for static resource management, to speed up a little bit of Winden.app resources

It works on stage.winden.app

Regarding the caching of code I have seen the following pattern in the past: Cached code elements use a filename which contains a hash value derived from the content, e. g. main_2c0bfa304ad5010b49a8ee9d76fe39d8.js. The only file which is not cached is the central index.html.
This has the advantage, that you can cache code (JavaScript and WASM) indefinitely while still having the possibility to perform an update which will roll out to all users as fast as possible.
I assume that this would require updating the way we build our application, but it might be useful.

What happens when we update js/wasm? Is the change propagating immediately or do we need to wait until the data expires?

From a quick scan I believe a user will have to wait at least 1 day to see the change (unless they e.g. "ctrl-shift-R" in Firefox to force a re-load). I think @wuan's first suggestion is good here -- so maybe we should turn off caching on JS until that (or similar) is implemented?
I believe webpack does this by default, but I don't know how we're packaging JS.

What happens when we update js/wasm? Is the change propagating immediately or do we need to wait until the data expires?

From a quick scan I believe a user will have to wait at least 1 day to see the change (unless they e.g. "ctrl-shift-R" in Firefox to force a re-load). I think @wuan's first suggestion is good here -- so maybe we should turn off caching on JS until that (or similar) is implemented?
I believe webpack does this by default, but I don't know how we're packaging JS.

We use gulp, but I see there are some webpack stuff too. However we don't have hash filename for wasm or js put in place. Maybe we can do that? https://www.npmjs.com/package/gulp-hash-filename  @JustusFT what is your opinion here?

We may be able to automatically hash the wasm file if we can use a webpack loader to build it (maybe this?). Otherwise we can use gulp-hash-filename as long as we have a way to keep the fetch statement updated as well

I will update cache-control to remove js and wasm till find option to generate them with hash filenames

For further improvement, this task: https://github.com/LeastAuthority/winden/issues/65


Add Eclipse Package Drone to the list

I am the main developer on the Eclipse Package Drone Project and I would like to see Package Drone added to the comparison chart. Of course I am willing to help.
Please also see:

https://www.eclipse.org/package-drone/
http://packagedrone.org/
https://github.com/eclipse/packagedrone

Hey, that sounds awesome.


Preserve data PR

Hello,
In this branch me and @josuerushanika;

[ ] Created books, people and rentals JSON files.
[ ] Added write and read function to JSON.
[ ] On exit from our app we save all the data (books, people, and rentals) into JSON files.
[ ] On startup of our app load all data from files. It includes also the case when one or more of the files are missing.
[ ] Updated related files.
[ ] Fixed linter errors.

Looking forward to hearing from you.
Thanks.

Thanks @mikethreels 👍


Fix ambiguity issue with numpy artifact retrieval

When returning a numpy artifact the statement return content or content.response will throw an ambiguity error due to the assertion of a numpy array being ambiguous. This fix switches to checking explicitly for None.

Tested and works :)


Enable volunteer app email

Set up Postfix and configure settings.pydx.live.py

Done and tested in both DEBUG and Live settings.


Added Newt DB

Thx

The text is too long and violates the 500 character limit required in http://nosql-database.org/feedback.html It will be shortened!!


Asset control on dashboard

[Requirements to be written]
https://www.notion.so/livepeer/Signing-Keys-for-Access-Control-8879f96a5aaf409eb4042acc281f5caa

Signing Keys:

Private Stream:

Private asset:

@clacladev to tackle the FE work this week for just the signing keys. @adamsoffer to share the finalized designs.

@pglowacky I just created a separate issue for implementing the signing key view.


open source codes of these papers

I am delighted to observe the compilation of continuously updated papers in the field of data set distillation. However, I have noticed that compared to other remarkable awesome-XX code repositories, a majority of these papers, particularly those related to privacy, lack accompanying codes. This absence hinders the reproducibility of experiments and verification of their authenticity. Could you kindly request the respective authors to upload their codes? This would significantly enhance the impact of the project. Thank you!

Thank you for your feedback! Opening source code is essential for fostering research transparency and supporting experimental reproducibility. Adopting this practice will increase the project's influence. We are grateful for your suggestion and will consider it for our future compilations.


Allow negative expressions, closes #3537

Thank you! Do we also need to update the sql adapters in ecto_sql?

Thank you! Do we also need to update the sql adapters in ecto_sql?

:green_heart: :blue_heart: :purple_heart: :yellow_heart: :heart:

:green_heart: :blue_heart: :purple_heart: :yellow_heart: :heart:

Locally it worked without updating ecto_sql

Locally it worked without updating ecto_sql


URL not working for  NGINX Ingress Controller

"The NGINX Ingress Controller for Kubernetes works with the NGINX webserver (as a proxy)."
The URL given against the text "NGINX Ingress Controller for Kubernetes" is not working. It returned 404 error(Page not found) in my case.

/triage accepted
/kind cleanup

/triage accepted
/kind cleanup


AuthError: Unexpected error in authentication.: Hash does not contain state

Library

[ ]<EMAIL_ADDRESS>
Framework
React v16.13.1
Description
I'm using B2C and seeing the following browser error when redirecting from Custom policy B2C_1A_signup_invitation:
  Browser error: AuthError: Unexpected error in authentication.: Hash does not contain state
Custom policy SignUpInvitation.xml here
Perhaps same as this closed issue here
Configuration
Using wrapper syncweek-react-aad/react-aad

Expected behavior
To redirect to a SPA application using react-aad-msal and msal
Browsers
Error occurs on both Google Chrome 81 and Firefox

@stephenstroud Could you confirm with Fiddler or another network trace whether the state value is being returned in the call?

@pkanher617
Are you referring to the state property within the header? See below?

Error message appears like:

No the state parameter should come back in the hash along with the id_token, it doesn't appear to be working this way for this specific policy. I have a meeting with some B2C team members tomorrow, I will update when I have more info on a way forward.

Is it possible to enable this manually within the custom policy XML? i.e. can I add a setting to trigger this?

@pkanher617 this is happening on the standard signin/signup form - when redirecting from the signup form to the SPA I get the above error. Perhaps it's not specific to that template and something I've misconfigured within the B2C portal?

@pkanher617 , @stephenstroud , we are experiencing the same with React and the Custom SignUp policy mentioned.

@pkanher617 @stephenstroud, @NathanJonker  I am having the same issue using ReactJS and a custom sign up policy. It's worth mentioning, that it only occurs when creating a user. Both signing in/out and resetting password work fine.

@michalk93 Same case as me.

@stephenstroud I had the same issue with an invitation policy that signs up a user. As the error says, there is no "state"-parameter in the callback query string.
So I found a simple workaround, I don't know if this is a "best practice", but it works and it´s based on WingTipGames-example, written in .NET.
Instead of sending the user directly to b2c signup page in the invitation-link, send them to your app, and redirect with the token from your app to b2c. In that way your app sends the state, and the b2c response callback gets back with a state parameter.

@hectorromo thanks for this workaround, this option does create some limitation to the invitation flow based on certain use cases such as having unique link that only exposes the registration form to those who have the link rather than a generalised link, however, some of this could be handled back in the SPA app.
Further to this, the "Run User Flow" function within Azure B2C dashboard will remain broken for user creation and will require to test locally - not that this is a real problem for us give we know the issue but will throw other new B2C developers off.

Hi all, thanks for your patience, this was identified as an issue with the MSAL service. Please file a support ticket with the B2C team by following the instructions here: https://docs.microsoft.com/en-us/azure/active-directory-b2c/support-options
They can help you out further, they may ask for a public repro link or additional data.

having the same issue using ReactJS and a custom sign up policy. It's worth mentioning, that it only occurs when creating a user. Both signing in/out and resetting password work fine.

Hey , I am facing same error even while sign-in with email, can you please share the demo code for better understanding at front-end and back-ed both

Hey, I am facing same problem while sign-in through email , I get error Hash does not contain state. Has anybody got the workaround for it.  I followed this policies sample.
https://github.com/azure-ad-b2c/samples/tree/master/policies/sign-in-with-email/source-code.

@ChiragRatra-0009  I raised this with the Azure team after wasting hours trying to figure out the problem. There response:
"The feedback received is that MSAL requires a "state" param that matches a cached value for browser-based apps (SPAs). This state param identifies the request and determines the original token time and is used to prevent cross-site request forgery attacks. Because of this, for SPAs, the email link should direct the user to the app, which can then redirect the user to the Azure AD B2C authentication flow. You can use query parameters in the email to app link so that your app can initiate the correct azure ad b2c authentication flow. E.g. pass the id_token_hint to your app then your app to the authentication flow.  To summarize, email => app => authentication flow => app"

@ChiragRatra-0009 I raised this with the Azure team after wasting hours trying to figure out the problem. Their response:
"The feedback received is that MSAL requires a "state" param that matches a cached value for browser-based apps (SPAs). This state param identifies the request and determines the original token time and is used to prevent cross-site request forgery attacks. Because of this, for SPAs, the email link should direct the user to the app, which can then redirect the user to the Azure AD B2C authentication flow. You can use query parameters in the email to app link so that your app can initiate the correct azure ad b2c authentication flow. E.g. pass the id_token_hint to your app then your app to the authentication flow. To summarize, email => app => authentication flow => app"

Hey @stephenstroud , I really appreciate your inputs. Thanks.
I got the understanding of flow  you suggested. But I am actually having problem configuring js code for sending id_token_hint to adb2c for authentication . It would be great if you could share some sample code.

@ChiragRatra-0009 I'm building this out next, You should receive the id_token_hint from the server side then build out the link client-side which is shown here
If you have multiple policies you could add a param in the query string indicating which flow it is then build your link based on that.

@ChiragRatra-0009 I'm building this out next, You should receive the id_token_hint from the server side then build out the link client-side which is shown here
If you have multiple policies you could add a param in the query string indicating which flow it is then build your link based on that.
Once you have built the link, send them to it. The rest of the ADB2C flow should kick in.
Just make sure they hit your SPA first like this flow:
email invite => app(redirect link with id_token_hint) => authentication flow => app

Hi stephen,
Thanks for the input, I followed the same flow as mentioned but I am still getting the error saying Hash does not contain state. So I am sharing the code , I think that would be provide you better insight of my work and hope you could figure out where the code has the difference than what you suggested
Backend Code (C#  contains ->  BuildToken and BuildUrl Method)
backendcode.txt
Frontend Code( React js  signin contains -> function to geneate singin url and the method call when the application is loaded)
frontend.txt
Thanks in advance.

@ChiragRatra-0009 Does the return URL have an error description param indicting the issue?

@ChiragRatra-0009 Does the return URL have an error description param indicting the issue?

no, I am getting the id_token. but when I intialise the msal instance then it shows the hash error

We're experiencing the same issue. It appears the URL with the id_token is missing the state param. The state param should be automatically appended from MSAL from my understanding. Looking at your frontend code have you initialised the MSAL object soon enough?

@stephenstroud , we initialise the msal instance after we recieve id_token as param in url.
Here is the samplecode.
frontend.txt

@ChiragRatra-0009 Just got this working.
You need to pass the id_token_hint within the "extraQueryParameters" object of the AuthenticationParameters then pass this into the authprovider.loginRedirect(authparameters)

Hey @tnorling @stephenstroud , have you guys found working solution for these policies ? I have been trying but still "NO".

@ChiragRatra-0009 The root of this problem is that Msal appends certain information such as state to the request url and sets some temporary cache values used to verify the response. Due to this it expects that the /authorize request originated from msal, if it originated from somewhere else, such as an invite link, you will receive an error because the setup steps were not done. The way around this is to make the invite link point to your app and have your app include the required query parameters (such as id_token_hint) in extraQueryParameters on the msal request object.
One of the first thing Msal does when it initializes is looks for known properties in the hash of the url. If it contains some known properties but not all (such as state), you will receive an error. If you look at the /authorize request in your developer tools and you determine it contains the state property in the url but the response no longer contains that state, it's a service issue. You can reach out to B2C support and they can help you figure out what's going on. If the state is not included in the /authorize request double check that the request originated from Msal and if it is, please open a new bug so we can investigate.

@ChiragRatra-0009   Extract the IdTokenHint and pass into the AuthenticationParameters object. This should get you going.
      const someExtraQueryParameters = {
          id_token_hint: idTokenHint,
        };

const authParams: AuthenticationParameters = {
          authority,
          scopes,
          someExtraQueryParameters ,
        };

        authProvider.loginRedirect(authParams);

@stephenstroud @tnorling guys the way you explained things its really awesome. So just last query here , after sending the id_token_hint in extraquery parameter in authentication request what result could I expect , will it be id_token in query string or will it store the access_token in the session storage?
Thanks in advance.

@ChiragRatra-0009 Extract the IdTokenHint and pass into the AuthenticationParameters object. This should get you going.
      const someExtraQueryParameters = {
          id_token_hint: idTokenHint,
        };

const authParams: AuthenticationParameters = {
          authority,
          scopes,
          someExtraQueryParameters ,
        };

        authProvider.loginRedirect(authParams);

Hi everyone,
I have the same issue and I don't understand your workaround, could you explain to me with a better example?
Thank you in advance,

@ChiragRatra-0009 I'm using a React wrapper here which stores the access_token to localstorage.

@moialbla There are a couple of parts of this to understand - this flow needs to be followed:  invite => app => ADB2C => app
When triggering the invite, the user should be sent directly to your app with some query parameters. The params should include id_token_hint. Your app will have a custom method that intercepts the query params and then constructs the ExtraQueryParameters argument that is passed to a MSAL authprovider instance. The authprovider instance then constructs the redirect and appends the missing state param to the redirect for you. If you're using ADB2C  and configured with your policy correct then ADB2C will handle the rest for you and redirect back to your app where a access_token might be passed.

@ChiragRatra-0009 Extract the IdTokenHint and pass into the AuthenticationParameters object. This should get you going.
      const someExtraQueryParameters = {
          id_token_hint: idTokenHint,
        };

const authParams: AuthenticationParameters = {
          authority,
          scopes,
          someExtraQueryParameters ,
        };

        authProvider.loginRedirect(authParams);

Hi everyone,
I have the same issue and I haven't understood your workaround, could you explain to me with a better example?
Thank you in advance,

Hi everyone,
I found a solution, maybe not the best solution, but it works. I've forced the login reload when the library throws an exception.
Below the code:
I hope this helps someone.
`const config = { ..... msalConfig };
let authAgent: Msal.UserAgentApplication;
initAuthorization () {
try {
authAgent = new Msal.UserAgentApplication(config );
//creates you own msal authcallback.
authAgent.handleRedirectCallback(authCallback);
} catch (e) {
//Of fails, the code redirect to your own page with the error param
if (e.message.indexOf("Hash does not contain state") > -1) {
window.location.href = window.location.origin + "?loginError=true";
}
//if it failed, the property state would be removed and it will go to this line. after that we will see the b2c redei
if (window.location.search === '?loginError=true') {
initAuthAgent();
authAgent.loginRedirect(authConfig);
}
}
};


Remove the need for net.worker_restart()

Problem
Currently to change the configs such as pg_net.ttl/pg_net.batch_size we need to restart the worker. This generates a failure plus some unnecessary log lines.
Solution
With shared memory, plus a GucStringAssignHook we don't need to restart the worker. Once a user does SET pg_net.batch_size this should change the config on the next worker iteration.

i think i supabase cloud we cannot even call net.worker_restart() so we need to restart the db

Note that that should be solved from v0.12, net.worker_restart is not a security definer function anymore.

ALTER SYSTEM is a problem for pipeline mode as mentioned on https://github.com/supabase/pg_net/issues/160#issuecomment-2558086505


Concurrency/asyncronous methods

There're some bugs in concurrent code in Interop.rb
Make use of concurrency in a correct way, fix the bugs.
Use Futures or Channels.

This will be moved over to Wiki, if needed


Flutter run stuck with Resolving dependencies... with fresh app

Using hardware rendering with device Android SDK built for x86. If you get graphics artifacts, consider enabling software rendering with
"--enable-software-rendering".
Launching lib/main.dart on Android SDK built for x86 in debug mode...
Initializing gradle...                                              2.1s
Resolving dependencies...                                           2.3s

flutter version- 1.9.1+hotfix.2
Please suggest, how to fix this
I had already followed all these steps, but it's also stuck https://github.com/flutter/flutter/issues/11856
But it's working fine in iOS.
Flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, v1.9.1+hotfix.2, on Mac OS X 10.14.6 18G95, locale en-GB)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 10.2.1)
[✓] Android Studio (version 3.4)
[✓] IntelliJ IDEA Ultimate Edition (version 2019.2.1)
[✓] Connected device (2 available)

• No issues found!

@FlutterIssues

It's working fine after upgrade new version and emulator
Thanks @BondarenkoStas


Add ASL 2.0 license file to generated projects

Fixes #364
Description

adds the ASL 2.0 License File to the generated projects in the root folder

didn't add license to the compiled package as suggested in the issue, as it not required for compiled packages.


notion: improvement

Builds the notion (not-ion) window manager. Tested with and without pango/xft patch on my local Linux system.

This is my first submission. If there's anything wrong here, I'll happily fix. One issue is the location of the -pango diff; I'm happy to leave it on github, but if there's a better place, I'm happy to use that, too.

Why is it called pangoSupport if I don't see any pango dependency?

That's the patch name. In reality, it's adding xft support. I'll rename appropriately.

Should I simply commit the patch into nixpkgs/.../notion/<patchname.diff>?

@jfb yes please. You can refer to it like patches = [ ./foo.patch ].

Updated with @lethalman feedback.

on it.

Some other nitpicks :)

You beat me to those nitpicks! I'll pull name and version into the meta instead of the let expr.

Is this ready or you still need to do further changes?

I believe it's ready. Builds both with and without xft locally. Ship it!

Looks good. Thanks and welcome :)

Whoo hoo!


Stattransfer cask error

Stattransfer cask has a checksum md5 mismatch, and, before change this I found this error below:
==> Downloading https://www.stattransfer.com/downloads/stdemo.dmg
Already downloaded: /Library/Caches/Homebrew/stattransfer-13.dmg
==> Verifying checksum for Cask stattransfer
==> Running installer for stattransfer; your password may be necessary.
==> Package installers may write to any location; options such as --appdir are ignored.
Error: pkg source file not found: '/opt/homebrew-cask/Caskroom/stattransfer/13/st_installer_v13.pkg'

Please always follow the reporting bugs guide. To do so, edit the top post and then comment after this one so I can check back.
Closing in the meantime, because a number of people never report back and it’s useless to keep the issue open in that case and without all the required information.


The proper use of multiple IP Pools？

If creating hundreds of IPPools in a kubernetes cluster, is there any thing wrong?
What is the proper way to use multiple IPPools effectively?

What is the proper way to use multiple IPPools effectively?

This depends on what your needs are. In general, I'd recommend against using multiple IP pools unless you have a specific use-case that requires them. A single pool is just simpler to manage if you don't need more.

If creating hundreds of IPPools in a kubernetes cluster, is there any thing wrong?

Hundreds of IP pools can strain the system, especially if they are small. There have been a number of issues over the years related to systems running with several hundred IP pools - most have been fixed though. It's not necessarily a problem, but I'd generally recommend against doing this unless it's absolutely needed. Usually there's a better way.


Table extraction using Tabula-Py

Is it possible to integrate "Auto detection of table" functionality from a PDF document in python using tabula-py or related package? Please help.

Hi @ankitbajaj97,
Please report this to https://github.com/chezou/tabula-py
Thanks!


How can I reverse the movement?

For example; When touching down (touchmove) in inner mode, the background picture goes up.
How can I make both the movement and the picture the same way?
Thanks for your help.

Hi, I'm also interested in.


80 Bytes of embedded data via OP_RETURN.

You create an additional txout with value 0 and script "OP_RETURN data".
https://blockchain.info/tx/9cb4a5c615124f977c9bc7e3e6f236bc68b7c1ded414d68ae4d3d87e15ca3df6?show_adv=true

I don't know how it happened. There's no OP_RETURN or "Hello World From D" in the code and the site is HTTPS protected. Users allowed to create arbitrary transactions.


DataTables warning: table id=reports - Ajax error

After upgrading to 4.2 by performing a git pull origin master I get the following popup error when attempting to view reports:
DataTables warning: table id=reports - Ajax error. For more information about this error, please see http://datatables.net/tn/7
OS: Debian 6.1.69-1 (2023-12-30) x86_64 GNU/Linux
Webserver: nginx/1.22.1
MarieaDB: Server version: 10.11.4-MariaDB-1~deb12u1 Debian 12
Any help would be appreciated.

Please check in your developers tools inside the console and network tab if there are any errors or requests being send

My bad, looks like it was just a local cache issue. All fixed now.
Thanks ssl


Update council.go

Changed tun to move to specific coordinates walking towards the council temple.
Using variable coordinates because Travincal map seems to have various starting coordinates.
Clearing in front of temple, ignoring water snakes to prevent from getting stuck and clearing temple only targeting councilmembers. It no longer uses the function char.killcouncil(). So you could technically remove it from the character configs.
Tested with pala and sorc, but was mainly made for character without walking. Works very well with WW barb ;-)

Obsolete with #422


Avoid to cache invocationManager with nodejs require caching

[x] This is a small change
[x] This change has been discussed in issue #1119 and the solution has been agreed upon with maintainers.

Description:
I've wrapped [ios|android]/expect.js into a function so the nodejs cache is not used each time.

Tests can't pass this way... I'll figure out another way to avoid InvocationManager caching


How to click confirm button in the pop-up

I want to click the confirm button in the pop-up
I used xrmApp.Dialogs.ConfirmationDialog(true);  but it  doesn't work，can anybody help me？

I used the following code and it still doesn't work
IAlert alert = client.Browser.Driver.SwitchTo().Alert();
alert.Accept();
error information: OpenQA.Selenium.NoAlertPresentException: no such alert

I finally achieved my goal through element positioning
The following code:
client.Browser.Driver.FindElement(By.XPath("//button[@aria-label='Confirm']")).Click();
Hopefully useful to others

Thanks @Jinfengv. Can you close this Issue?


[ai-form-recognizer] Merge 4.0.0-beta.1

This PR merges the feature branch for 4.0.0-beta.1 to the main branch.
This work was reviewed in #17955.
CC @deyaaeldeen @jeremymeng

API changes have been detected in @azure/ai-form-recognizer. You can review API changes here

I tried to run link validation on this PR, but that apparently doesn't work. CI link validation knows how to check for links to new files but release validation doesn't do this, so I'll need to merge this to main. However, the failing analyze pass is stuck, so I'm overriding check-enforcer on this PR.

/check-enforcer override


Work around test framework verbosity issue

ctest knows how to get diagnostic information from a bunch of different unit test frameworks, but apparently not the custom one ninja is using.
This change should ensure we have full test output.

Maybe we should just call ninja_test directly but in a separate step, so that one can also see output if it succeeds.

I personally don't see any benefit to seeing test output on a success.
I prefer to use ctest because it allows the CMakeLists.txt file to configure the full list of test programs to execute, such that more than one can be run by ctest.
But if you want to change the github actions script to run ninja_test directly, feel free.

c6148b0c3377a7d12b679f99f35e09cc7f36e940


When I run 'rebar3 run', alway tell me 'vm.args needs to have a -name parameter.'

└$ rebar3 run
===> Verifying dependencies...
===> Compiling tanodb
===> Running cuttlefish schema generator
===> Starting relx build process ...
===> Resolving OTP Applications from directories:
/Users/tiexiao/code/tanodb/_build/default/lib
/Users/tiexiao/code/tanodb/apps
/usr/local/Cellar/erlang/18.3/lib/erlang/lib
/Users/tiexiao/code/tanodb/_build/default/rel
===> Resolved tanodb-0.1.0
===> Dev mode enabled, release will be symlinked
===> release successfully created!
vm.args needs to have a -name parameter.
-sname is not supported.
couldn't find 'nodename' in ../tanodb_config/tanodb.conf
$PWD is /Users/tiexiao/code/tanodb

You should update your README file, change
rebar3 run

TO
make release
make console

PR would be appreciated.

You are totally right.


Updated to work with PortMidi

fixed names of the calls into PortMidi to account for changes in the API.

Thanks!


When we use a fetch to "subscribe" to new data, cancel it if in progress at REGISTER_COMPLETE time.

Often, we initialize a model with data from REGISTER_COMPLETE, then just listen for events and use them to update the model.
Sometimes, though, we "initialize" data in a model with the result of a non-initial fetch (like GET /messages), then we listen for events that affect the fetched data. The most famous example of this pattern is fetching messages; see https://github.com/zulip/zulip-mobile/blob/main/docs/architecture/realtime.md and https://zulip.readthedocs.io/en/latest/subsystems/events-system.html .
When we're using this pattern, we should cancel the fetch synchronously with dispatching the REGISTER_COMPLETE action, so that our reducers don't process its payload after we get a new event queue, thus clobbering some state that we intentionally reset or replaced on REGISTER_COMPLETE.
We should also cancel these fetches when the active, logged-in account changes; that's #5009.
When canceling a fetch, we shouldn't forget to update any metadata that tracks its state, like state.fetching.
I believe these are the fetches we use this pattern with:

api.getMessages
api.getTopics
api.reportPresence (to subscribe to users that didn't exist at REGISTER_COMPLETE time)
(There may be more.)

Issues https://github.com/zulip/zulip-mobile/issues/4170 and https://github.com/zulip/zulip-mobile/issues/4659 cover parts of how we might do this. Marking as blocked on those.

See #5609 for a proposal to cancel such fetches with DEAD_QUEUE instead of REGISTER_COMPLETE, and https://github.com/zulip/zulip-mobile/issues/5609#issuecomment-1353905491 for why we ended up choosing the latter instead.


Synchronous write performance

We're currently using this module (sourced from PyPi) in a Django middleware handler to track page response times, page hits etc.
Whilst diagnosing sluggish site performance (by inspecting the wider request processing chain), we've noted a synchronous call to the track_pageview function on the TelemetryClient object seems to be incurring an overhead of ~1 seconds per page transition (noting a call out is made on both POST and GET meaning that to render a page the below execution time outputs should be counted in pairs).
The following code results in the execution times reported below:
    def __call__(self, request: WSGIRequest):
        start = time.time()

        self.__track_page_view(request)

        end = time.time()
        print("Function execution time in seconds: " + str(end - start))

        return self.get_response(request)

    def __track_page_view(self, request: WSGIRequest):
        """
        A function to pipe page views to application insights
        :param request: inbound http request
        """
        self.tc.track_pageview(request.path, request.build_absolute_uri(request.path), duration=0, properties=None,
                               measurements=None)
        self.tc.flush()

....
stdout results:
....
Function execution time in seconds: 0.23818230628967285
Function execution time in seconds: 0.7681128978729248
Function execution time in seconds: 0.5910418033599854
Function execution time in seconds: 1.2336194515228271
Function execution time in seconds: 0.7191359996795654
Function execution time in seconds: 0.4377315044403076
Function execution time in seconds: 0.24179315567016602
Function execution time in seconds: 0.7630660533905029
Function execution time in seconds: 0.6343734264373779
Function execution time in seconds: 0.466092586517334
Function execution time in seconds: 1.3309381008148193

Whilst we can work around this by spawning off a separate thread to pipe the telemetery (code below) we were wondering whether doing so is considered good or bad practice? Looking at the source for the TelemetryChannel class (and https://github.com/Microsoft/ApplicationInsights-Python/issues/139), the "write" function seems like it should be pushing request onto an async queue and then flushing things (on its own schedule) without blocking the main executing thread.
If this is indeed the case, does anyone know why the below (async) version of the above is yielding execution times that are orders of magnitude faster than the sync call?
    def __call__(self, request: WSGIRequest):
	start = time.time()

        t = threading.Thread(target=self.__track_page_view,
                             args=(request,))
        t.setDaemon(True)
        t.start()

        end = time.time()
        print("Function execution time in seconds: " + str(end - start))

        return self.get_response(request)

    def __track_page_view(self, request: WSGIRequest):
        """
        A function to pipe page views to application insights
        :param request: inbound http request
        """
        self.tc.track_pageview(request.path, request.build_absolute_uri(request.path), duration=0, properties=None,
                               measurements=None)
        self.tc.flush()
....
stdout results:
....
Function execution time in seconds: 0.006049156188964844
Function execution time in seconds: 0.003680706024169922
Function execution time in seconds: 0.004734039306640625
Function execution time in seconds: 0.0036232471466064453
Function execution time in seconds: 0.004730701446533203
Function execution time in seconds: 0.0016987323760986328
Function execution time in seconds: 0.0037336349487304688
Function execution time in seconds: 0.0015869140625
Function execution time in seconds: 0.0018317699432373047
Function execution time in seconds: 0.002463817596435547
Function execution time in seconds: 0.0026702880859375

The Django plugin by default uses an async queue under the hood (source) which uses a background thread to send telemetry (source) so there should be no significant performance impact to using the middleware.
However, in your code snippet, there is a call to self.tc.flush() straight after track_pageview which will force the telemetry to be sent immediately (source) which essentially turns the sender into a synchronous one.
Removing the self.tc.flush() call should provide the performance boost you're looking for.


Network context information from application to layer kernels

@petewarden , @advaitjain ,
In the current framework, there is no network information available during layer kernel initialization and execution.
We do not see any issue with this mechanism for DSP solutions.
But for DSP with HW accelerator solutions, we see the need to have some network context available to layer kernel.
This network context would consist (not an exhaustive list)

network identifier if more than one networks are simultaneously running
Pointer to accelerator command stream for the network
Initialization status of network with accelerator
Runtime variables for performance optimization (IO buffer placement, order etc.) across layers
This context itself would not contain any command stream, coefficients or large metadata and its size would be limited.

This PR shows one experimental update to implement this. This uses tail of tensor arena buffer to save the network context.
It is application’s responsibility to allocate required, additional memory for this context and accelerator specific mapping code
in the layer kernel would interpret, use this information and it is not used / exposed to middle TFLM layers.
Please let us know your feedback.

Thanks! I've taken a quick look, and one design principle we use is trying to follow TFLite mobile's path when possible. There's some work around external contexts here:
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/lite/interpreter.h#L644
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/lite/c/common.h#L53
How would this approach (not using the constructor, allowing multiple contexts, requiring context type registration) fit in with your needs?

Thanks @petewarden !
Please review the experimental PR  which uses external-context sharing as suggested above. Let me know your inputs and path forward.


newest exercises

week 1 to week 5

Hi @ceedee666,
I removed the pycache files.
There are no descriptions. How should I create them? Are there examples where the descriptions are made as you imagine?

Am 01.03.2022 um 21:05 schrieb Christian Drumm @.***>:
Hi @ghoolio https://github.com/ghoolio,
There seems to be some pycache file in the pull request (exercises/week_1/1.4/pycache/exercise.cpython-39.pyc). This should be removed. Actually I thought these would be already ignored by our .gitignore file.
Do you also have descriptions of the exercises? Currently, the pull request only contains the python files.
—
Reply to this email directly, view it on GitHub https://github.com/ceedee666/opensap_python_intro/pull/61#issuecomment-1055811290, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADZL5FQY3DIL3VFHXSPKDU3U5ZZ73ANCNFSM5PUUAG7Q.
Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.

Hi @ghoolio,
thanks.
Now you added .DS_Store files. Could you please also remove those? I will update the .gitignore accordingly.
Regarding the descriptions please talk to @Hiltiprant.


fix(rust): Add required metadata for crates.io

we are blocked here on rdkafka actually releasing https://github.com/fede1024/rust-rdkafka/pull/636 on crates.io before we can publish this crate on crates.io. Until then, we can only depend on arroyo as a git dependency as well


Fix obtaining Pack URL

Fixes #57 and corrects for a mistake in a previous commit (460ba5c438ab19105b42d818ab9583bad2638fc7) preventing using a directory other than the default while still providing a useful message.

This removes the use of the now non-existent files table in the database to obtain the pack download URL.
Additionally, it also obtains a correct download URL to be able to download pack.zip.
This uses a method similar to finding the fileID for the latest mod version, but jumps straight to the download URL. Alternatively, a specific fileID can be specified, in which case it directly looks up the download URL based upon the projectID and fileID.
It also allows you to use a projectID instead of a slug.
Additionally, you can once again install a pack using a directory and manifest, or specifying a directory/custom name along with a slug/projectID. Now if none of those are provided it will provide an error message saying that it was unable to find the manifest and giving instructions on how to install with the same name and slug.


Not able to open a folder

Type: Bug
I'm unable to open a file/folder on vscode.
VS Code version: Code 1.82.2 (abd2f3db4bdb28f9e95536dfa84d8479f1eb312d, 2023-09-14T05:55:25.390Z)
OS version: Windows_NT x64 10.0.22621
Modes:

System Info

Item
Value

CPUs
AMD Ryzen 5 5600H with Radeon Graphics          (12 x 3294)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
undefined

Memory (System)
7.35GB (1.25GB free)

Process Argv
C:\Users\HP\Documents\test-folder --crash-reporter-id 46989261-4195-4742-be00-ad36f36c34d8

Screen Reader
no

VM
0%

Extensions (11)

Extension
Author (truncated)
Version

vscode-eslint
dba
2.4.2

javascript-ejs-support
Dig
1.3.3

vscode-toggle-column-selection
eri
1.0.6

prettier-vscode
esb
10.1.0

file-icons
fil
1.1.0

auto-close-tag
for
0.5.14

code-runner
for
0.12.0

stylelint-plus
hex
0.56.6

cpptools
ms-
1.17.5

color-highlight
nau
2.5.0

LiveServer
rit
5.7.9

(1 theme extensions excluded)

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
vscoreces:30445986
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
pythonvs932:30410667
vsclangdc:30486549
c4g48928:30535728
dsvsc012cf:30540253
pynewext54:30695312
azure-dev_surveyone:30548225
vscccc:30803845
3biah626:30602489
f6dab269:30613381
2i9eh265:30646982
showlangstatbar:30737416
0bi6i642:30835152
03d35959:30757346
pythonfmttext:30731395
fixshowwlkth:30771522
showindicator:30805244
pythongtdpath:30769146
i26e3531:30792625
pythonnosmt12:30797651
pythonidxpt:30805730
pythonnoceb:30805159
dsvsc013:30795093
dsvsc014:30804076
diffeditorv2:30821572
dsvsc015:30829745

/confirmPlease

Please diagnose the root cause of the issue by running the command F1 > Help: Troubleshoot Issue and following the instructions. Once you have done that, please update the issue with the results.
Happy Coding!

Issue troubleshooting has identified that the issue is caused by your configurations. Please report the issue by exporting your configurations using "Export Profile" command and share the file in the issue report.

/gifPlease
too

Thanks for reporting this issue! Unfortunately, it's hard for us to understand what issue you're seeing. Please help us out by providing a screen recording showing exactly what isn't working as expected. While we can work with most standard formats, .gif files are preferred as they are displayed inline on GitHub. You may find https://gifcap.dev helpful as a browser-based gif recording tool.
If the issue depends on keyboard input, you can help us by enabling screencast mode for the recording (Developer: Toggle Screencast Mode in the command palette). Lastly, please attach this file via the GitHub web interface as emailed responses will strip files out from the issue.
Happy coding!

()
I attempted reinstallation, but unfortunately, that didn't resolve the issue.

Thank you so much, sir. I'm pleased to inform you that the issue has been successfully resolved.


InvalidArgumentException: Input "language_id" cannot take "1" as a value (possible values: ).

Hi,
I have a problem with Unit Testing in Laravel 5.1.
In database I have 2 tables: orders and languages.
The orders collumn language_id has a relationship whit languages.
When I submit the form in browser, everything works fine, but when I submit the form In UnitTest, I get error message InvalidArgumentException: Input "language_id" cannot take "1" as a value (possible values: ).
In languages table I have row with ID 1 :)
Does anybody know, what to do?
Thx for any response :)
Martin

Please ask on the forums.


Suggested pipeline for extracting speech from one speaker?

I have speech interviews that are typically two speakers and occasional background noise.
I wish to extract high-accuracy speech-only from the interviewee, whom I have a vocal example of. I don't mind having low recall, if the accuracy is high.
Should I do speech detection followed by diarization? How do I enable high-accuracy, lower recall output from speech detection and diarization?
Are the pretrained models in SpeechBrain SOTA on these tasks, or should I use another package? I don't want to do novel training.

I see here that I can control the speech extraction, and then I can also control speaker matching probability.