fix: remove duplicate hostname violations on invalid audience (#1386)

Fixing the duplicate functional hostname violations that appear in case of missing, null, or invalid x-audience that are preconditions for this check. The idea is to silently ignore the functional hostname check if no proper audience is provided.
Example output copied from new Backstage API Linter:

@tkrop Perhaps I misunderstood the problem situation, and I cannot correlate the screenshots with the error description. The screen shot shows multiple problems: a) rule 224 violation duplicates (for MUST, SHOULD, MAY variants), b) the rule 224 is just a MUST rule and c) why is API audience provided as hint? -- functionally and syntactically Hostname Rule 224 and Audience Rule 219 are not connected. So ad-hoc I do not understand why invalid audience definition leads to duplication of hostname rule violation. Is the hostname correct? Is there no easy way to avoid duplicate hostname rule check in case of audience check violation? I would prefer it, instead of not executing the check at all, if some other check fails.

@tfrauenstein  As I understand the problem (without looking at the code):

To decide which of the three versions of rule 224 to use, Zally needs to check the audience field (because this determines whether it's a MUST/SHOULD/MAY rule).
If that field is null, in the current implementation, all three violations appear (with a message of "audience null is not supported"), without even looking at the hostname.

@tkrop's solution is "make this violation silent when there is no audience" (there is another violation for missing audience anyways, and when that one is fixed, one of the three versions of the rule will be used).

👍

:+1:


Switching to 64 bit

Consider switching to 64-bit processes so you can take advantage of the additional memory available in your Web Worker role. This triggers a web app restart, so schedule accordingly.

How do I do it? There is no Platform switch in the portal for Linux apps.

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

ID: 3e26e5a4-7b72-ba7e-cfed-e31a4a8aaef9
Version Independent ID: dc783fe3-bd1a-c25e-2b92-903595c0822e
Content: Application performance FAQs - Azure App Service
Content Source: articles/app-service/faq-availability-performance-application-issues.md
Service: app-service-web
GitHub Login: @genlin
Microsoft Alias: genli

In fact, it seems like it's running 64 bit by default, which means that the whole paragraph is wrong.

I only now noticed it's a page for regular (Windows) app services. Given that it's linked from the App Service on Linux Documentation, I reckon it requires clarification (if anything from it is actually applicable to Linux).

@Leon99
Thanks for your feedback! We will investigate and update as appropriate.

@Leon99 Can you please provide us the URL of the Linux doc that linked you to here?

It's in the table of contents, Resources - Troubleshooting - FAQ

@Leon99 Thank you for raising this up. We have added a note to the top of the doc that calls out not all troubleshooting steps might be available on either platform. The change should go public within 24 hours.
We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.

Thanks @BryanTrach-MSFT. It would be more useful though if you actually specified what applies where, otherwise it's still up to the user to try (even if they read the note at the top).


Add more tests to ensure the order of the hooks

Codecov Report

Merging #14 into master will decrease coverage by 0.08%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #14      +/-   ##
==========================================
- Coverage   91.87%   91.79%   -0.09%
==========================================
  Files           5        5
  Lines         197      195       -2
==========================================
- Hits          181      179       -2
  Misses         16       16

Impacted Files
Coverage Δ

Sources/Global.swift
83.82% <ø> (-0.24%)
:arrow_down:

Sources/Types.swift
94.54% <100%> (-0.1%)
:arrow_down:

Continue to review full report at Codecov.

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


Checkpoint support

Add support for checkpoint model format in the python converter.

This change is

Review status: 0 of 4 files reviewed at latest revision, all discussions resolved, some commit checks failed.

README.md, line 10 at r1 (raw file):

into the browser and run inference through [TensorFlow.js](https://js.tensorflow.org).

(Note: TensorFlow has deprecated checkpoint model format, please switch to SavedModel immediately.)

remove "immediately"

README.md, line 126 at r2 (raw file):

```typescript
import * as tfc from '@tensorflow/tfjs-core';

let's import union here

README.md, line 130 at r2 (raw file):

const weightManifestUrl = "https://example.org/model/weights_manifest.json";
const manifest = await fetch(weightManifestUrl);
this.weightManifest = await manifest.clone().json();

why do you need to clone this?

Comments from Reviewable

Review status: 0 of 4 files reviewed at latest revision, 3 unresolved discussions, some commit checks failed.

README.md, line 10 at r2 (raw file):

checkpoint model

I've never heard this term before, and it's confusing because SavedModel is a model with a checkpoint in it.  Let's call this session_bundle throughout.

python/tensorflowjs/converters/tf_saved_model_conversion.py, line 163 at r2 (raw file):

      separated string format. Defaulted to 'serve'
  """

This would be a good place to print a deprecation warning.

Comments from Reviewable

Review status: 0 of 4 files reviewed at latest revision, 5 unresolved discussions.

README.md, line 10 at r1 (raw file):
Previously, nsthorat (Nikhil Thorat) wrote…
remove "immediately"

Done.

README.md, line 10 at r2 (raw file):
Previously, davidsoergel (David Soergel) wrote…

checkpoint model

I've never heard this term before, and it's confusing because SavedModel is a model with a checkpoint in it.  Let's call this session_bundle throughout.

Done.

README.md, line 126 at r2 (raw file):
Previously, nsthorat (Nikhil Thorat) wrote…
let's import union here

Done.

README.md, line 130 at r2 (raw file):
Previously, nsthorat (Nikhil Thorat) wrote…
why do you need to clone this?

removed

python/tensorflowjs/converters/tf_saved_model_conversion.py, line 163 at r2 (raw file):
Previously, davidsoergel (David Soergel) wrote…
This would be a good place to print a deprecation warning.

Done.

Comments from Reviewable

Review status: 0 of 4 files reviewed at latest revision, 5 unresolved discussions.

README.md, line 10 at r2 (raw file):
Previously, pyu10055 (Ping Yu) wrote…
Done.

Comments from Reviewable

Review status: 0 of 4 files reviewed at latest revision, 5 unresolved discussions.

README.md, line 10 at r2 (raw file):
Previously, davidsoergel (David Soergel) wrote…
A few instances are changed but there are a bunch more...

thanks, fixed the rest.

Comments from Reviewable

Still looking. Will comment later.

Review status: 0 of 4 files reviewed at latest revision, 5 unresolved discussions.

python/tensorflowjs/converters/tf_saved_model_conversion.py, line 164 at r3 (raw file):

  print("Tensorflow has deprecated the Session Bundle format, \
        please migrate to SavedModel.")

nit: instead of using , do:
print("Tensorflow has deprecated the Session Bundle format, "
"please migrate to SavedModel.")

Comments from Reviewable

Review status: 0 of 4 files reviewed at latest revision, 6 unresolved discussions.

README.md, line 44 at r4 (raw file):

tf_session_bundle_model

Can we call this tf_session_bundle for simplicity and consistency with methods names in TF such as LoadSessionBundleFromPath?

python/tensorflowjs/converters/tf_saved_model_conversion.py, line 146 at r4 (raw file):

output_dir

nit: put this on a new line

python/tensorflowjs/converters/tf_saved_model_conversion_test.py, line 152 at r4 (raw file):

(self._tmp_dir, SESSION_BUNDLE_MODEL_DIR, 'group*-*')

Should we check the content of these weights files for their correctness?

Comments from Reviewable

Review status: 0 of 4 files reviewed at latest revision, 9 unresolved discussions, all commit checks successful.

README.md, line 7 at r4 (raw file):

Session Bundle Model

Mirroring Shanqing's comment below: this can be "SessionBundle" (no need for "Model"), here and throughout.

README.md, line 44 at r4 (raw file):
Previously, caisq (Shanqing Cai) wrote…

tf_session_bundle_model

Can we call this tf_session_bundle for simplicity and consistency with methods names in TF such as LoadSessionBundleFromPath?

+1

Comments from Reviewable

Review status: 0 of 4 files reviewed at latest revision, 10 unresolved discussions, some commit checks pending.

README.md, line 7 at r4 (raw file):
Previously, davidsoergel (David Soergel) wrote…

Session Bundle Model

Mirroring Shanqing's comment below: this can be "SessionBundle" (no need for "Model"), here and throughout.

Done.

README.md, line 44 at r4 (raw file):
Previously, davidsoergel (David Soergel) wrote…
+1

Done.

python/tensorflowjs/converters/tf_saved_model_conversion.py, line 164 at r3 (raw file):
Previously, caisq (Shanqing Cai) wrote…

  print("Tensorflow has deprecated the Session Bundle format, \
        please migrate to SavedModel.")

nit: instead of using , do:
print("Tensorflow has deprecated the Session Bundle format, "
"please migrate to SavedModel.")

Done.

python/tensorflowjs/converters/tf_saved_model_conversion.py, line 146 at r4 (raw file):
Previously, caisq (Shanqing Cai) wrote…

output_dir

nit: put this on a new line

Done.

python/tensorflowjs/converters/tf_saved_model_conversion_test.py, line 152 at r4 (raw file):
Previously, caisq (Shanqing Cai) wrote…

(self._tmp_dir, SESSION_BUNDLE_MODEL_DIR, 'group*-*')

Should we check the content of these weights files for their correctness?

will add the correctness tests in a new PR.

Comments from Reviewable

Review status: 0 of 4 files reviewed at latest revision, 10 unresolved discussions, all commit checks successful.

python/tensorflowjs/converters/tf_saved_model_conversion.py, line 164 at r5 (raw file):

Remove this comma. String continuation should just work in this case.

python/tensorflowjs/converters/tf_saved_model_conversion_test.py, line 152 at r4 (raw file):
Previously, pyu10055 (Ping Yu) wrote…
will add the correctness tests in a new PR.

Looking forward.

Comments from Reviewable


Mouse locking issues

When attempting to play Minecraft for the first time using the program, everything works as expected until I join a world. After entering the game, the following this what occur:

Keyboard Input: The keyboard is correctly recognized, and the character moves as expected.
Mouse Input: When clicking within the Minecraft window, the program seems to register the mouse click as a screen tap rather than an OTG mouse input.
Pointer Lock: The mouse cursor is not locked to the game window, allowing it to move freely outside the Minecraft screen, which impacts gameplay.

OS: Kubuntu (on Vivo Y11 phone)
Scrcpy version: 3.0
Minecraft Version: 1.21(so you can replicate it ``\_(ッ)_/``)

Steps to Reproduce:

Launch Minecraft and join a world.
Attempt to use an OTG mouse and keyboard for input.
Observe that the mouse click is not recognized as a proper OTG input and the pointer is not locked.

Expected Behavior:

The mouse click should be recognized as an OTG input, not a screen tap.
The mouse pointer should be locked to the Minecraft window to prevent it from moving outside the game.

Mouse Input: When clicking within the Minecraft window, the program seems to register the mouse click as a screen tap rather than an OTG mouse input.

Which arguments do you use when you start scrcpy?
Try with --mouse=uhid.

i have done more testing and found another issue tho its not so important I found it somehow makes no sense...
When on the game window of the Minecraft you will observe the right click don't work properly, I mean by that is you cant click right. The expected behavior is it will be used as "back" button when on regular window and will be used as right key when locked on the game window and this happen same when you just use --otg
I haven't expected this issues because I assume it will work same when you just plug a input device into the phone as OTG device, whoever as I mentioned the program didn't do this behavior... I think it would be nice if we keep same behavior as OTG device as input on this program.
This is not important as I just like this behavior for better gaming on mobile, I am not sure if this will fit on the main use of this program.

When on the game window of the Minecraft you will observe the right click don't work properly, I mean by that is you cant click right

https://github.com/Genymobile/scrcpy/blob/master/doc/mouse.md#mouse-bindings

i have the same problem and after some tests i found that the mouse is forwarding to the phone's screen (display-id: 0)


:rocket: Pulling upstream into main

An automated PR to sync with upstream
Co-authored-by: josedev-union<EMAIL_ADDRESS>

those CI jobs are failing in upstream too


ACS engine deploy only master kubernetes node

Is this a request for help?:
YES
Is this an ISSUE or FEATURE REQUEST? (choose one):
ISSUE
What version of acs-engine?:
Version: v0.8.0
GitCommit: 79572455
GitTreeState: clean

Orchestrator and version (e.g. Kubernetes, DC/OS, Swarm)
Kubernetes 1.8
What happened:
Deployed the template attached below (censored). Even through successfully completed and I can see the right amount of VMs etc. When I run the kubectl get nodes  I can see only the master node i.e.
$kubectl get nodes
NAME                    STATUS    ROLES     AGE       VERSION
k8s-master-???-0   Ready     master    44m       v1.8.0

--------- Template ---------

{
"apiVersion": "vlabs",
"properties": {
"orchestratorProfile": {
"orchestratorType": "Kubernetes",
"orchestratorRelease": "1.8",
"kubernetesConfig": {
"enableRbac": true,
"clusterSubnet": "<IP_ADDRESS>/22",
"nodeStatusUpdateFrequency": "1m",
"ctrlMgrNodeMonitorGracePeriod": "5m",
"ctrlMgrPodEvictionTimeout": "1m",
"ctrlMgrRouteReconciliationPeriod": "1m",
"cloudProviderBackoff": true,
"cloudProviderBackoffRetries": 6,
"cloudProviderBackoffJitter": 1,
"cloudProviderBackoffDuration": 6,
"cloudProviderBackoffExponent": 1.5,
"cloudProviderRateLimit": true,
"cloudProviderRateLimitQPS": 3,
"cloudProviderRateLimitBucket": 10
}
},
"masterProfile": {
"count": 1,
"dnsPrefix": "???",
"vmSize": "Standard_D2_v2",
"firstConsecutiveStaticIP": "<IP_ADDRESS>",
"storageProfile" : "ManagedDisks"
},
"agentPoolProfiles": [
{
"name": "agentpool",
"count": 3,
"vmSize": "Standard_A2_v2",
"storageProfile" : "ManagedDisks",
"availabilityProfile": "AvailabilitySet",
"customNodeLabels": { ... }
}
],
"linuxProfile": {
"adminUsername": "???",
"ssh": {
"publicKeys": [
{
"keyData": "ssh-rsa ...???
}
]
}
},
"servicePrincipalProfile": {
"clientId": "???",
"secret": "???"
}
}
}

What you expected to happen:
When  run the kubectl get nodes  expected to see all master and agent nodes.
How to reproduce it (as minimally and precisely as possible):
Redeploy the template.
Anything else we need to know:

Sounds like it might be a variant of my issue #1699? Also acs-engine 0.8.0.

I can confirm the same behaviour with the 0.9.0 and 0.9.1 versions as well.
I would like also to note that he deployments attempted in regions: ukwest, uksouth, eastus, eastus2, westus, westus2, canadacentral and canadaeast

It always fails, or sometimes?

It does not fail, it completes succesfully. I am able to connect with kubectl also. However when I run kubectl get nodes i can see only the master one and not the agents.

Yes, sorry, I stated it wrong. What I meant was: Does it always behave like this, or do you get proper clusters once in a while as well? Which type of agents do you use?

I would like to also mention that in order to make sure that is not packages version or other env related issue deployments took place using the local setup but also tried within azuresdk/azure-cli-python:2.0.20 and microsoft/acs-engine:latest  docker images with no difference so far.

unfortunately, every time has the same behaviour have not managed since the day before to get any proper cluster

Continuing to experiment with this issue I can report that worked fine since I have completely removed the agentpool custom labels. Not sure what may trigger this, since labels were very simple but I believe worths further investigation.

@ipolyzos Can you paste the exact customLabels object you were using?

Seems that now is fixed, was occurring for a couple of days in ukwest, uksouth and canadacentral. Not able to reproduce anymore.

Thanks for your patience, @ipolyzos please re-open if this issue reoccurs!


Could you please post some examples for a http server

Description
I'm wondering if this library helps multiple performance of a async http server like aiohttp.
Could you please give a example?
thx.
Details

OS: Linux
Python version: 3.7
aiomultiprocess version: latest
Can you repro on master?
Can you repro in a clean virtualenv?

I think that it could be smth like this: aiomultiprocess-aiohttp.py
It's just a toy example and it uses some private functions from aiohttp, so be careful.


Ansible's important too

I really wanted to see Ansible versions in this.
(names are still really hard, I agree.)

@funixz Do you mean Embedded Ansible?
Even so, I'm not sure that really belongs here, though I understand why you want it 😄 .  The purpose here was to just make sense of the MIQ/CF/CFME version discrepancies.  I'm just concerned if we open this to Ansible, then why not everything like Ruby, Rails, Postgres, etc, etc.

Furthering @Fryguy's point, I think that at least in Ruby/Postgres's case they are versions of things that affect the application on a very wide scale - I believe Ruby/Postgres were added because we would constantly be asking 'Can I use X syntax/feature? I can't remember which version of Ruby/Postgres we used for the last Y versions...'.
In Ansible's case it's a much smaller area of the application and might not be appropriate here.
Thanks for your pull request! I think we'll pass on adding it, for now.

I'd like to push including Ansible Embedded because it's burried and is a quickly moving different version between Cloudforms releases, and it makes a big difference when composing for clouds... modules are vastly different between 2.4 and 2.7, and it's also in the grape-vine that Ansible could possibly replace ruby for provisioning in the product... sure it's a rumour, but I need ammunition here.
Ruby and PGSQL is already in it.
Also.... really?? closing it before allowing a response? shux.


section appears as namespace in breadcrumb

Prerequisites

[X] Put an X between the brackets on this line if you have done all of the following:

Checked that your issue isn't already filed.
Reduced the issue to a self-contained, reproducible test case.

Description
In VSCode, the breadcrumb tooltip calls sections namespaces.

Steps to Reproduce
In an empty file, put
section Foo

end Foo

and put the cursor on the second line and the mouse over the Foo word in the top breadcrumb in VSCode.
Expected behavior: [What you expect to happen]
Get a tooltip saying Foo (section).
Actual behavior: [What actually happens]
Get a tooltip saying Foo (namespace).
Reproduces how often: [What percentage of the time does it reproduce?]
Always
Versions
You can get this information from copy and pasting the output of lean --version,
please include the OS and what version of the OS you're running.
Lean (version 4.0.0-nightly-2022-12-23, commit 0553b5936e46, Release) on Linux. VSCode 1.73.1 with extension v0.0.99.

Previous discussion: https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/breadcrumb.20confusion


Override probot/stale defaults, if necessary

Per the discussion in https://github.com/exercism/discussions/issues/128 we
will be installing the probot/stale integration on the Exercism organization on
April 10th, 2017.
By default, probot will comment on issues that are older than 60 days, warning
that they are stale. If there is no movement in 7 days, the bot will close the issue.
By default, anything with the labels security or pinned will not be closed by
probot.
If you wish to override these settings, create a .github/stale.yml file as described
in https://github.com/probot/stale#usage, and make sure that it is merged
before April 10th.
If the defaults are fine for this repository, then there is nothing further to do.
You may close this issue.

This seems to me as a good default, so I am closing this issue

I made a mistake.
This was not explicitly documented in the README, but probot/stale requires the presence of a .github/stale.yml file.
If you want the default behavior, you need to add an empty .github/stale.yml file to this repo, otherwise the bot will not be active.


Spark support

How to run notebooks with Spark jobs in it?

maybe more specifically, how to run pyspark jobs with the   PYSPARK_DRIVER_PYTHON_OPTS="notebook" flag set.

Not sure. I don't really use Spark/PySpark. How do you run these normally with the notebook?

Starting it this way seems to be the most standard way to do it. We used to use ipython profiles in the past but that stopped working with Spark 2.0. Here is what we used to do.

Thanks! that did indeed work.  this is great.

FWIW,  I found the easiest way to run a notebook in spark is to use jupyter nbconvert to convert it to a .py and run that as an argument to spark-submit.  you can wrap it and delete the .py afterward if you want to clean up.  Otherwise you can't seem to pass Spark the args needed to get it to run on a yarn cluster.


sql and sql-list modules missing from saltcorn trial hosting

I am uncertain if this is the correct place to report a problem with the 'trial hosting'.
I am able to install and use the sql and sql-list modules for my project locally (self hosting), but when I try to backup the project and move to saltcorn trial hosting (https://createapplication.saltcorn.com/tenant/create), both modules are missing and I cannot install them.
Without these modules, the project gets into a corrupted state where I cannot use System "Clear All" to recover.

I suspect that these modules are not present in the trial hosting version for security reasons.


keg: add codesigning

I tried to propose an implementation of the discussion in https://github.com/Homebrew/brew/issues/9082
by building on @mistydemeo's https://github.com/Homebrew/brew/pull/9041

Only codesign on Big Sur
Apply the known workaround if codesign fails the first time

Testing shows that this allows to build and install formulas on ARM, including the ones that trigger the codesign bug (like gettext and nettle).

Possible improvements:

only codesign if the macho file was previously signed? I don't know how we detect this
only codesign on ARM? I don't know if developer tools on Intel Big Sur codesign or not by default

Shelling out to install_name_tool is preferred as it will handle the architectures and everything fine

That's not really touched by this PR, but Homebrew chose to use a native Mach-O library to do that.

Re-signing already-signed artifacts may cause issues down the line

Signed binaries are currently incompatible with our relocation system anyway: we manipulate them and therefore invalidate the signature.

If you don't --force, linker signed signatures will be silently replaced and existing ones will not

However, the binaries produced will then be invalid, because the signature won't match the content anymore. So we can't do that, because:

Patching keg-installed artifacts is probably breaking the existing signatures anyway

Yes.

Fair points @fxcoudert.

@MikeMcQuaid I've limited to ARM, as requested. I've been testing this (and earlier versions) for a week now, building many formulas with it (that are broken without)

@MikeMcQuaid @mistydemeo Would love to have one of you look at it for good measure.


fixed code_of_conduct typo

Fixed the "summary" typo in CODE_OF_CONDUCT

Hacktoberfest Thank You from NIT Rourkela community
It was a super fun experience in Hacktoberfest with you. We hope you also had fun and amazing learning. We look forward to you in our upcoming sessions and events as part of the community.
You can join our Slack community at http://bit.ly/NITRDevs
As a token of our gratitude, we have set up digital badges of recognition for our contributors from Hacktoberfest.
Do claim yours at https://live.dscnitrourkela.org/
Thanks and Cheers!
Stay Safe


Feature/home financial

Using the react-cookie package to deal with cookies.
CSS class to reorder Home page Financials module set in React Effect hook within HomeFinancials component.
Vertical spacing around Home page Financials module adjusted for both conditions.
Tagging @pspaeth for visibility.

@kmackvolt is there something I can do to trigger this to see it?

CSS class to reorder Home page Financials module set in React Effect hook within HomeFinancials component.

@kmackvolt is there something I can do to trigger this to see it?

CSS class to reorder Home page Financials module set in React Effect hook within HomeFinancials component.
@tskillern
Ok, here is the deployment URL:
https://essential-cu-feature-ho-im1eat.herokuapp.com/impact-reports/onward

To trigger the Financials entry condition, you would need to manually add a cookie.
While viewing that page, open up the browser inspector / dev tools.
View the Console tab.
Enter this to set a cookie:
document.cookie="STYXKEY-Interest=financials";
Refresh the page, and you should see the Financials module above the Story Cards instead of below.
In the Application panel of the browser inspector you can view cookies to make sure it's set, and delete it to reset and start over.

@kmackvolt and @tskillern
I just tested the reordering on the HP for the financials module and its worked both on firefox and chrome.
I did notice some errors in firefox, not sure what they meant-- I suspect its related to my adblocker?

@kmackvolt and @tskillern
I just tested the reordering on the HP for the financials module and its worked both on firefox and chrome.
I did notice some errors in firefox, not sure what they meant-- I suspect its related to my adblocker?

The Uncaught promise errors are coming from the Link components used on all internal links. The errors only occur in Firefox.
Other people have the same error, per googling "nextjs firefox Link uncaught in promise error" but I haven't seen a fix.
Considering it isn't actually causing a problem (the links work), I don't think we need to worry about it.


Add Openl3Convnet as Baseline to Extract Features

@turian What do you think about moving this over to the hear-baseline repo and we can continue to work on it there if want? Alternatively can create a separate repo for this baseline too,

FIY we are working on a submission based on the original OpenL3 package. Some code can be found at https://github.com/marl/openl3-hear for the baseline.

@jonnor Great, if you prefer pytorch check out our port: https://github.com/torchopenl3/torchopenl3


Puppeteer stream to record zoom calls

Hello,
I'm trying to record a zoom call using puppeteer-stream. The thing is after entering in the call puppeteer is not able to save the audio and only the video of the call.
What is the configuration issue?
I've tested the same code with an youtube video and it works.
CODE:
import { launch, getStream } from "puppeteer-stream";
import fs from "fs";
import path from "path";
import { fileURLToPath } from "url";

const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
const file = fs.createWriteStream(__dirname + "/test.webm");

async function test(meeting_url) {
  const zoomUrl = createZoomWebUrl(meeting_url);

  const browser = await launch({
    ignoreDefaultArgs: ["--mute-audio"],
    defaultViewport: {
      width: 1920,
      height: 1080,
    },
    channel: "chrome",
  });

  const page = await browser.newPage();
  await page.setRequestInterception(true);
  page.on("request", (request) => {
    if (request.url().endsWith(".exe")) request.abort();
    else request.continue();
  });
  await page.goto(zoomUrl);
  await page.waitForSelector("#onetrust-reject-all-handler");
  await page.click("#onetrust-reject-all-handler");

  await page.waitForTimeout(500);

  await page.waitForSelector("#wc_agree1");
  await page.click("#wc_agree1");

  await page.waitForTimeout(500);

  await page.waitForSelector("#inputname");
  await page.click("#inputname");
  await page.type("#inputname", "bot");
  await page.waitForTimeout(500);

  await page.waitForSelector("#joinBtn");
  await page.click("#joinBtn");
  await page.waitForTimeout(500);

  await page.waitForSelector("#root > div > div.preview > button");
  await page.click("#root > div > div.preview > button");
  await page.waitForTimeout(500);

  const stream = await getStream(page, { audio: true, video: true });
  console.log("recording");

  stream.pipe(file);
  setTimeout(async () => {
    await stream.destroy();
    file.close();
    console.log("finished");
    page.close();
  }, 10000 * 10);
}

const createZoomWebUrl = (invite_url) => {
  const regex = /(?<=j\/).*/;
  return "https://zoom.us/wc/join/" + invite_url.match(regex);
};

test(YOUR_ZOOM_INVITE_LINK);

Best regards,

Same issue I am facing did you find any solution?

same issue for me, did one of you find a fix?

Love what you're building at Recall.ai. I stalked your career page. But I'm a fast learner obsessed with breaking tech. Let's chat about me proving myself. @davidgu

Love what you're building at Recall.ai. I stalked your career page. But I'm a fast learner obsessed with breaking tech. Let's chat about me proving myself. @davidgu


Docker srink

shrinking docker images significantly. some reformat and minor linter warning fixes in python code

Hi sir, thanks for your codes. But I will be close this PR, because it same as my branch v0.1.2-alpha.


Fix for newlines in Makefile

modified  templates/simple_game/Makefile.Android.linux
switched out @echo for @printf to make it actually print newlines instead of literal \n's

@IHideMemesInMySourcecode thanks for the review!


Test documentation

Current coverage is 7.19%

Merging #23 into master will increase coverage by +0.18% as of 490d0b3

@@            master    #23   diff @@
=====================================
  Files           40     40
  Stmts         2752   2682    -70
  Branches         0      0
  Methods          0      0
=====================================
  Hit            193    193
  Partial          0      0
+ Missed        2559   2489    -70

Review entire Coverage Diff as of 490d0b3

Powered by Codecov. Updated on successful CI builds.


Tune Database View

Fix state download link
Tune Database View + API + TuningInstance model
Load Control Plane callback url from settings.py
Redirect primary / replica daemon logs to home directory

Done renaming Generate Action -> Tune Database. Haven't done end-to-end test cuz my EC2 instance for CP keeps failing...

Tested end-to-end on my EC2 cluster after renaming


Automatic SafeFile recovery

The SafeFile type first saves to filename + "_temp", then atomically renames it, removing the suffix. The benefit of this is that if your file is corrupt or missing, you can load the _temp version instead. It may not be the most recent version, but at least it will work.
However, our persist code does not currently load the _temp backup if the normal load fails. In the past, we have instructed users to manually rename the _temp file and restart siad. Should the persist package do this automatically? If it does, perhaps it should return a special error value to signify that it loaded a backup. That way we can log the recovery.

SafeFiles are not meant to be recovered, they are meant to guarantee that a partial-write does not cause corruption that destroys previously saved data.


Generate default frontend_addon_name from title

“volto-addon” is provided as the default frontend_addon_name
https://github.com/plone/cookieplone-templates/blob/e0d452f23e1dcfde1cbcb216c9e58360a5f8e6d9/frontend_addon/cookiecutter.json#L3
Whereas it could be generated programmatically like so
"frontend_addon_name": "{{ cookiecutter.title | slugify }}",

Similar to how it is done in a cookieplone project
https://github.com/plone/cookieplone-templates/blob/e0d452f23e1dcfde1cbcb216c9e58360a5f8e6d9/project/cookiecutter.json#L4

@Fosten Good catch, this is currently handled correctly when the frontend_addon template is used as part of a project, but not when it is used as a standalone template. Would you be willing to submit a PR with your proposed change?


Make ToMarkdown and ToMan optional

What type of PR is this?

cleanup

What this PR does / why we need it:
Their functionality is not always used, and it brings in quite a big
dependency (russross/blackfriday).
Amend the documentation to make it clear that cli_docs build tag is
needed to use these functions.
This reduces runc size by about 318 Kb, or 3.4% (comparing stripped
binaries).
Which issue(s) this PR fixes:
none
Special notes for your reviewer:
none
Testing
Release Notes
Compatibility: if you are using `ToMan` or `ToMarkdown` methods, from now on
you need to add `cli_docs` build tag for your app.

@kolyshkin What do you think about inverting the build constraint so that the default behavior remains the same? Is opting out of the docs bits something that can be introduced in runc (and others)?

Yes, that's possible, too. I will redo.

Opened #1375 as a replacement


Add check for return value of spdm_get_random_number().

Fix: #356
Signed-off-by: Qi Zhang<EMAIL_ADDRESS>

ref: https://github.com/DMTF/libspdm/issues/360


Add benchmarks for SIMD m31

This change is

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#611  👈
#610
#609
#608
#607
#606
#605
#604
#603
#599
#596
#602
#595
#601
#594
#600
#593
#592
#591
dev

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @andrewmilson and the rest of your teammates on  Graphite

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

Project coverage is 92.19%. Comparing base (a29f2e4) to head (387b5dd).

Additional details and impacted files
@@                          Coverage Diff                          @@
##           05-02-Add_benchmarks_for_SIMD_merkle     #611   +/-   ##
=====================================================================
  Coverage                                 92.19%   92.19%
=====================================================================
  Files                                        84       84
  Lines                                     11783    11783
  Branches                                  11783    11783
=====================================================================
  Hits                                      10863    10863
  Misses                                      837      837
  Partials                                     83       83

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


inconsistence of data labelling

i found two turns of the same dialogue where similar sentences have different labelled code:
dialogue_id: 320a1a29-c2ea-40c3-9253-175af766d515, turn: 0
user: what's the wether like where i am?
agent: Sorry, I can only help with your calendar.
code: (FenceScope)
dialogue_id: 320a1a29-c2ea-40c3-9253-175af766d515, turn: 1
user: what's the weather in my area?
agent: It is clear with a temperature of 0.00 °F right now.
code: (Yield :output (WeatherQueryApi :place (AtPlace :place (Here)) :time (?= (Now))))

Thanks for reporting the issue!
We do expect a small amount of noisy labels in the released training data.
Our test set (used in the leaderboard) has much less noise -- see the description in our paper.

Data is split into training, development, and test sets. We review every dialogue in the test set with two additional annotators. 75% of turns pass through this double review process with no changes, which serves as an approximate measure of inter-annotator consensus on full programs.

yes, it's normal to have noisy labels for such a big dataset. the problems for us are we don't know how to fix these noise, how to lable some more data to correct a particular decode error pattern and how to transform other dialogue dataset into SMCalFlow format. Mr Constraint has quite many brothers and their behaviors are a little hard to follow.
looking forward for more descriptions. thanks

hi, i found some confusing labels about Yield output.
dialogue_id: d5ce06a0-bd3f-4abf-9089-b1466cf368fe, turn: 4
user: Make it 11AM
agent: I found 2 different people matching your query. Which of these did you mean?
code: (Yield :output (Yield :output (Execute :intension (NewClobber :intension (refer (ActionIntensionConstraint)) :slotConstraint (andConstraint (roleConstraint (append #(List[Path] []) #(Path "start"))) (Constraint[Constraint[Time]])) :value (intension (?= (NumberAM :number #(Number 11))))))))
(Yield
:output (Yield
:output (Execute
:intension (NewClobber
:intension (refer (ActionIntensionConstraint))
:slotConstraint (andConstraint
(roleConstraint (append #(List[Path] []) #(Path "start")))
(Constraint[Constraint[Time]]))
:value (intension (?= (NumberAM :number #(Number 11))))))))
this example has two "Yield output"?
dialogue_id: 60fe6779-4105-4299-97f1-89293a4634cc, turn: 0
user: What time is the meeting on Friday?
agent: __NULL
code: (:time (:start (singleton (:results (FindEventWrapperWithDefaults :constraint (EventOnDate :date (NextDOW :dow #(DayOfWeek "FRIDAY")) :event (Constraint[Event])))))))
(:time
(:start
(singleton
(:results
(FindEventWrapperWithDefaults
:constraint (EventOnDate
:date (NextDOW :dow #(DayOfWeek "FRIDAY"))
:event (Constraint[Event])))))))
and this one has no "Yield Output".

Thanks!
Those two examples are also annotation errors.
Multiple Yields are fine, but they shouldn't be nested like in the first example, they should be sequenced with do, like (do (Yield :output ...) (Yield :output ...)).
The second example will calculate a value but not describe it back to the user, which is also wrong (and probably why the agent utterance is null).

dialogue_id: d5ea0d53-5e2f-4f41-97a2-b93636b86760, turn: 0 user: Do I have a meeting on my calendar that's marked as Tentative in the next 10 days and longer than 45 minutes? agent: Yes, I found one event on your calendar. It's "meeting with Dr. Stein" tomorrow from 7:00 to 8:30 AM. code: (do (Constraint[Event] :duration (?> (toMinutes # (Number 45))) :nonEmptyBase (EventDuringRange :event (Constraint[Event]) :range (NextPeriod :period (toDays # (Number 10.0))))) #(Path "showAs") (?= # (ShowAsStatus "Tentative")) (Yield :output (> (size (:results (FindEventWrapperWithDefaults :constraint (Constraint[Event])))) # (Number 0)))) (do   (Constraint[Event]     :duration (?> (toMinutes #(Number 45)))     :nonEmptyBase (EventDuringRange       :event (Constraint[Event])       :range (NextPeriod :period (toDays #(Number 10.0)))))   #(Path "showAs")   (?= #(ShowAsStatus "Tentative"))   (Yield     :output (>       (size         (:results           (FindEventWrapperWithDefaults             :constraint (Constraint[Event]))))       #       (Number 0))))
this is very weird.

dialogue_id: d5ea0d53-5e2f-4f41-97a2-b93636b86760, turn: 0
user: Do I have a meeting on my calendar that's marked as Tentative in the next 10 days and longer than 45 minutes?
agent: Yes, I found one event on your calendar. It's "meeting with Dr. Stein" tomorrow from 7:00 to 8:30 AM.
code: (do (Constraint[Event] :duration (?> (toMinutes # (Number 45))) :nonEmptyBase (EventDuringRange :event (Constraint[Event]) :range (NextPeriod :period (toDays # (Number 10.0))))) #(Path "showAs") (?= # (ShowAsStatus "Tentative")) (Yield :output (> (size (:results (FindEventWrapperWithDefaults :constraint (Constraint[Event])))) # (Number 0))))
(do
(Constraint[Event]
:duration (?> (toMinutes #(Number 45)))
:nonEmptyBase (EventDuringRange
:event (Constraint[Event])
:range (NextPeriod :period (toDays #(Number 10.0)))))
#(Path "showAs")
(?= #(ShowAsStatus "Tentative"))
(Yield
:output (>
(size
(:results
(FindEventWrapperWithDefaults
:constraint (Constraint[Event]))))
#
(Number 0))))

this is very weird.

dialogue_id: d5ea0d53-5e2f-4f41-97a2-b93636b86760, turn: 0
user: Do I have a meeting on my calendar that's marked as Tentative in the next 10 days and longer than 45 minutes?
agent: Yes, I found one event on your calendar. It's "meeting with Dr. Stein" tomorrow from 7:00 to 8:30 AM.
code: (do (Constraint[Event] :duration (?> (toMinutes # (Number 45))) :nonEmptyBase (EventDuringRange :event (Constraint[Event]) :range (NextPeriod :period (toDays # (Number 10.0))))) #(Path "showAs") (?= # (ShowAsStatus "Tentative")) (Yield :output (> (size (:results (FindEventWrapperWithDefaults :constraint (Constraint[Event])))) # (Number 0))))
(do
  (Constraint[Event]
    :duration (?> (toMinutes #(Number 45)))
    :nonEmptyBase (EventDuringRange
      :event (Constraint[Event])
      :range (NextPeriod :period (toDays #(Number 10.0)))))
  #(Path "showAs")
  (?= #(ShowAsStatus "Tentative"))
  (Yield
    :output (>
      (size
        (:results
          (FindEventWrapperWithDefaults
            :constraint (Constraint[Event]))))
      #
      (Number 0))))

this is weird.

dialogue_id: 7daad84c-f3e9-489f-8cd7-5e2632f2e830, turn: 0
user: cancel my meeting with francis
agent: Is this what you want me to cancel?
code: (do (Constraint[Event]) #(Path "attendees") (AttendeeListHasRecipientConstraint :recipientConstraint (RecipientWithNameLike :constraint (Constraint[Recipient]) :name # (PersonName "francis"))) (Yield :output (DeleteCommitEventWrapper :event (DeletePreflightEventWrapper :id (:id (singleton (:results (FindEventWrapperWithDefaults :constraint (Constraint[Event])))))))))
(do
  (Constraint[Event])
  #(Path "attendees")
  (AttendeeListHasRecipientConstraint
    :recipientConstraint (RecipientWithNameLike
      :constraint (Constraint[Recipient])
      :name #
      (PersonName "francis")))
  (Yield
    :output (DeleteCommitEventWrapper
      :event (DeletePreflightEventWrapper
        :id (:id
          (singleton
            (:results
              (FindEventWrapperWithDefaults
                :constraint (Constraint[Event])))))))))

dialogue_id: a3922891-7dc7-400a-ba4c-47b9bf462960, turn: 0
user: Hey, can you mark down a working lunch with Ilya and Daniel for tomorrow at the Spaghetti Factory from 12:30 to 2 pm please?
agent: Is this good?
code: (let (x0 (DateAtTimeWithDefaults :date (Tomorrow) :time (HourMinutePm :hours #(Number 12) :minutes #(Number 30.0)))) (do #(String "Spaghetti Factory") (TimeAfterDateTime :dateTime x0 :time (NumberPM :number # (Number 2))) #(String "working lunch") (Yield :output (CreateCommitEventWrapper :event (CreatePreflightEventWrapper :constraint (Constraint[Event] :attendees (andConstraint (AttendeeListHasRecipient :recipient (Execute :intension (refer (extensionConstraint (RecipientWithNameLike :constraint (Constraint[Recipient]) :name # (PersonName "Ilya")))))) (AttendeeListHasRecipient :recipient (Execute :intension (refer (extensionConstraint (RecipientWithNameLike :constraint (Constraint[Recipient]) :name # (PersonName "Daniel"))))))) :end (?= (TimeAfterDateTime :dateTime x0 :time (NumberPM :number # (Number 2)))) :location (?= # (LocationKeyphrase "Spaghetti Factory")) :start (?= x0) :subject (?= # (String "working lunch"))))))))
(let
  (x0
    (DateAtTimeWithDefaults
      :date (Tomorrow)
      :time (HourMinutePm :hours #(Number 12) :minutes #(Number 30.0))))
  (do
    #(String "Spaghetti Factory")
    (TimeAfterDateTime
      :dateTime x0
      :time (NumberPM :number #(Number 2)))
    #(String "working lunch")
    (Yield
      :output (CreateCommitEventWrapper
        :event (CreatePreflightEventWrapper
          :constraint (Constraint[Event]
            :attendees (andConstraint
              (AttendeeListHasRecipient
                :recipient (Execute
                  :intension (refer
                    (extensionConstraint
                      (RecipientWithNameLike
                        :constraint (Constraint[Recipient])
                        :name #
                        (PersonName "Ilya"))))))
              (AttendeeListHasRecipient
                :recipient (Execute
                  :intension (refer
                    (extensionConstraint
                      (RecipientWithNameLike
                        :constraint (Constraint[Recipient])
                        :name #
                        (PersonName "Daniel")))))))
            :end (?=
              (TimeAfterDateTime
                :dateTime x0
                :time (NumberPM :number #(Number 2))))
            :location (?= #(LocationKeyphrase "Spaghetti Factory"))
            :start (?= x0)
            :subject (?= #(String "working lunch"))))))))
'''
and these two codes.

dialogue_id: 9e74eea7-da1c-47aa-9657-a2d6f0fd3d34, turn: 2
user: Is it hotter than Phoenix in Tucson, or colder?
agent: Yes. The temperature is 0.00 °F right now.
code: (Yield :output (< (WeatherAggregate :property #(WeatherProp "temperature") :quantifier #(WeatherQuantifier "Summarize") :table (WeatherQueryApi :place (AtPlace :place (FindPlace :keyphrase # (LocationKeyphrase "Tucson"))) :time (?= (Now)))) (WeatherAggregate :property #(WeatherProp "temperature") :quantifier #(WeatherQuantifier "Summarize") :table (WeatherQueryApi :place (AtPlace :place (FindPlace :keyphrase # (LocationKeyphrase "Tucson"))) :time (?= (Now))))))
(Yield
  :output (<
    (WeatherAggregate
      :property #(WeatherProp "temperature")
      :quantifier #(WeatherQuantifier "Summarize")
      :table (WeatherQueryApi
        :place (AtPlace
          :place (FindPlace :keyphrase #(LocationKeyphrase "Tucson")))
        :time (?= (Now))))
    (WeatherAggregate
      :property #(WeatherProp "temperature")
      :quantifier #(WeatherQuantifier "Summarize")
      :table (WeatherQueryApi
        :place (AtPlace
          :place (FindPlace :keyphrase #(LocationKeyphrase "Tucson")))
        :time (?= (Now))))))

duplicated code.

dialogue_id: c249e278-2a67-459b-b573-8afe10a5c87f, turn: 0
user: I need to create a new calender
agent: Does one of these work?
code: (CreateCommitEventWrapper :event (CreatePreflightEventWrapper :constraint (Constraint[Event])))
(CreateCommitEventWrapper
  :event (CreatePreflightEventWrapper
    :constraint (Constraint[Event])))

dialogue_id: 107d8b55-1269-4c57-b8e3-25fad419cf5f, turn: 5
user: Is it going to rain in the entire area all day?
agent: __NULL
code: (Execute :intension (refer (extensionConstraint (Constraint[Event]))))
(Execute
  :intension (refer (extensionConstraint (Constraint[Event]))))

dialogue_id: f255399e-961a-4fab-8a86-6a95b4bb52dd, turn: 2
user: I meant to say Lois Lane.
agent: How's this?
code: (Execute :intension (ReviseConstraint :rootLocation (roleConstraint #(Path "output")) :oldLocation (Constraint[Constraint[Event]]) :new (Constraint[Event] :attendees (andConstraint (AttendeeListExcludesRecipient :recipient (?= (Execute :intension (refer (extensionConstraint (RecipientWithNameLike :constraint (Constraint[Recipient]) :name #(PersonName "Clark Kent"))))))) (AttendeeListHasRecipient :recipient (Execute :intension (refer (extensionConstraint (RecipientWithNameLike :constraint (Constraint[Recipient]) :name #(PersonName "Lois Lane"))))))))))
(Execute
  :intension (ReviseConstraint
    :rootLocation (roleConstraint #(Path "output"))
    :oldLocation (Constraint[Constraint[Event]])
    :new (Constraint[Event]
      :attendees (andConstraint
        (AttendeeListExcludesRecipient
          :recipient (?=
            (Execute
              :intension (refer
                (extensionConstraint
                  (RecipientWithNameLike
                    :constraint (Constraint[Recipient])
                    :name #(PersonName "Clark Kent")))))))
        (AttendeeListHasRecipient
          :recipient (Execute
            :intension (refer
              (extensionConstraint
                (RecipientWithNameLike
                  :constraint (Constraint[Recipient])
                  :name #(PersonName "Lois Lane"))))))))))

dialogue_id: 94bc3b21-218d-441c-a61d-931f64df7479, turn: 0
user: Add "Mark's Bachelor Party" to my calendar for this Saturday between 5 and 11 PM.
agent: Does this look right?
code: (let (x0 (Constraint[Event] :subject (?= # (String "Mark's Bachelor Party"))) x1 #(Path "start") x2 (DateAtTimeWithDefaults :date (NextDOW :dow # (DayOfWeek "SATURDAY")) :time (NumberPM :number # (Number 5))) x3 (CreateCommitEventWrapper) x4 #(Path "event") x5 (CreatePreflightEventWrapper) x6 #(Path "constraint")) (do (callCreateCommitEventWrapper (update x3 x4 (callCreatePreflightEventWrapper (update x5 x6 (Constraint[Event] :end (?= (TimeAfterDateTime :dateTime x2 :time (NumberPM :number #(Number 11)))) :nonEmptyBase (update x0 x1 (?= x2))))))) (Yield :output (callCreateCommitEventWrapper (update x3 x4 (callCreatePreflightEventWrapper (update x5 x6 (Constraint[Event] :end (?= (TimeAfterDateTime :dateTime x2 :time (NumberPM :number #(Number 11)))) :nonEmptyBase (update x0 x1 (?= x2))))))))))
(let
  (x0
    (Constraint[Event]
      :subject (?= #(String "Mark's Bachelor Party")))
    x1
    #(Path "start")
    x2
    (DateAtTimeWithDefaults
      :date (NextDOW :dow #(DayOfWeek "SATURDAY"))
      :time (NumberPM :number #(Number 5)))
    x3
    (CreateCommitEventWrapper)
    x4
    #(Path "event")
    x5
    (CreatePreflightEventWrapper)
    x6
    #(Path "constraint"))
  (do
    (callCreateCommitEventWrapper
      (update
        x3
        x4
        (callCreatePreflightEventWrapper
          (update
            x5
            x6
            (Constraint[Event]
              :end (?=
                (TimeAfterDateTime
                  :dateTime x2
                  :time (NumberPM :number #(Number 11))))
              :nonEmptyBase (update x0 x1 (?= x2)))))))
    (Yield
      :output (callCreateCommitEventWrapper
        (update
          x3
          x4
          (callCreatePreflightEventWrapper
            (update
              x5
              x6
              (Constraint[Event]
                :end (?=
                  (TimeAfterDateTime
                    :dateTime x2
                    :time (NumberPM :number #(Number 11))))
                :nonEmptyBase (update x0 x1 (?= x2))))))))))

dialogue_id: d5ea0d53-5e2f-4f41-97a2-b93636b86760, turn: 0
user: Do I have a meeting on my calendar that's marked as Tentative in the next 10 days and longer than 45 minutes?
agent: Yes, I found one event on your calendar. It's "meeting with Dr. Stein" tomorrow from 7:00 to 8:30 AM.
code: (do (Constraint[Event] :duration (?> (toMinutes # (Number 45))) :nonEmptyBase (EventDuringRange :event (Constraint[Event]) :range (NextPeriod :period (toDays # (Number 10.0))))) #(Path "showAs") (?= # (ShowAsStatus "Tentative")) (Yield :output (> (size (:results (FindEventWrapperWithDefaults :constraint (Constraint[Event])))) # (Number 0))))
(do
  (Constraint[Event]
    :duration (?> (toMinutes #(Number 45)))
    :nonEmptyBase (EventDuringRange
      :event (Constraint[Event])
      :range (NextPeriod :period (toDays #(Number 10.0)))))
  #(Path "showAs")
  (?= #(ShowAsStatus "Tentative"))
  (Yield
    :output (>
      (size
        (:results
          (FindEventWrapperWithDefaults
            :constraint (Constraint[Event]))))
      #
      (Number 0))))

this is weird.

is this wrong?


Watch for folder deletion

Need to watch if folder is removed.

I still have this issue a few years along the line, removing a directory does not trigger a watch event.
My settings:
watch: {
  "js": {
    "files": ["static/es6/**"],
    "tasks": ["babel:dist"],
    "options": {
      "interrupt": true,
      "spawn": false
    }
  }
}

Grunt v0.4.5
Watch v0.6.1
Node v0.12.4
OS X v10.10.5

I'm also having this issue -- specifically, folders that are in the "root" level can be deleted without triggering watch, though sub-folders further down are watched OK.
My settings:
watch: {             images: {                 files: ['src/img/**'],                 tasks: ['clean:images','copy:images']             } }
When "src/img/foo" is deleted, watch doesn't trigger. When "src/img/foo/bar" is deleted, watch triggers correctly.

Grunt 0.4.5
Watch 0.6.1
Node 5.5.0
OS 10.11.2

This issue still persists.
grunt.event.on('watch', function(action, filepath, target) {
  grunt.log.writeln(target + ': ' + filepath + ' has ' + action);
});

Code above will only log files/directories added, file changes, deletion of files, but not deletion of directories.

Grunt 1.0.1
Watch 1.0.0
Node 7.5.0
macOS 10.12.1


About Quartus II 16.1 & 17.1 Compile resource difference

@doonny , an Magical issue as the figure（default PipeCNN parameter）， the left is Quartus 16.1 and the right is 17.1. But after make fpga,  the resource occupied is different，as 125% to 88%.  I do Not know if quartus 17.1 update the layout strategy, does anyone knows?

yes , U are right , it finally failed as lack of LAB

yes  U are right, it finally failed as lack of LAB


use templates from instance, fixes #461

Templates can be overriden by providing callbackOnCreateTemplates, that saves merged object in this.config.templates. However, while refactoring for 4.x, WrappedSelect was hard bounded to original, non user provided callbacks. This PR fixes that also fixes #461.

Thanks 🎉


Refactor proposal queues

This PR refactors proposal queues and in the process

gets rid of the CreationProposalQueue and the associated implementations and structs
gets rid of the apply_proposal function
Removes the Staged... prefix whenever it's followed by Proposal..., as these structs are now used both for creation and staging

The advantage of the CreationProposalQueue was that it relied on references rather than full Proposal structs. However, in the course of #617 we started returning a StagedProposalQueue at the end of create_commit, so the cloning was taking place in any case.
This PR is mostly renaming an code removal with the exception of filter_proposals, where I had to clone a proposal where previously a reference was created.

Thanks for the review! I did some more renaming and documentation cleanup. I did fix a clippy complaint, but most of the clippy warnings are unrelated to this PR, so I'll leave them for now. I also checked the issues and this PR indeed fixes #565. Other than that there are no other issues I could find except maybe #347, which, if anything got worse 😅.


Inventory pets obsidian nuggets = refined obsidian ingot

i tried to remove it with craft tweaker but it seems u override the crafting :/ or this is a inventory pets issue either way it seams i'm removing inventory pets. i would like to know the cause of this thoe

nvm im just dum ...


Repo Transfer

@IzzySoft @licaon-kter @linsui
This repository has been transferred from my personal account to my organization. Please take note of this change. Let me know if you have any questions or concerns.

Updated. https://gitlab.com/fdroid/fdroiddata/-/merge_requests/15951

Here as well, thanks! And apologies for the delay: just having returned from vacation, I still fight with the backlogs…


Update package version

4.1.0-alpha.15 (2024-02-27)
Bug Fixes

frontend: update pre annotation jsonl schema (6df10c6)

:tada: This PR is included in version 4.1.0-alpha.16 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.2.5-alpha.2 :tada:
The release is available on npm package (@alpha dist-tag)
Your semantic-release bot :package::rocket:


windowsOut animation mimics windowsIn

Hyprland Version
 System/Version info
> hyprctl version
Hyprland, built from branch  at commit fe7b748eb668136dd0558b7c8279bfcd7ab4d759  (props: bump version to 0.39.1).
Date: Tue Apr 16 16:01:03 2024
Tag: v0.39.1, commits: 4460

flags: (if any)

Bug or Regression?
Regression
Description
Changing the windowsOut animation in the config file does nothing, but changing the windowsIn animation affects both windowsIn and windowsOut,
How to reproduce
Set the windowsOut animation to something different from windowsIn.
Crash reports, logs, images, videos
https://github.com/hyprwm/Hyprland/assets/130694806/21e219ae-236f-4222-b2fd-68c19b6a8a72

can you git bisect that if it's a regression? https://wiki.hyprland.org/Crashes-and-Bugs/#bisecting-an-issue

I don't know how long this bug has existed, I just assumed it was a regression since it seems like something that would have been caught when initially implementing the animations.

hm, I can't repro it on git


board-service module build failed, because com.cloudera:ImpalaJDBC41:jar:<IP_ADDRESS>5 not found

mvn build board-service module, com.cloudera:ImpalaJDBC41:jar:<IP_ADDRESS>5 not found.
MAVEN LOGS:
[ERROR] Failed to execute goal on project board-service: Could not resolve dependencies for project com.welab.wefe:board-service:jar:1.0.0: Failed to collect dependencies at com.cloudera:ImpalaJDBC41:jar:<IP_ADDRESS>5: Failed to read artifact descriptor for com.cloudera:ImpalaJDBC41:jar:<IP_ADDRESS>5: Could not transfer artifact com.cloudera:ImpalaJDBC41:pom:<IP_ADDRESS>5 from/to mvnrepository (http://www.mvnrepository.com/): Authorization failed for http://www.mvnrepository.com/com/cloudera/ImpalaJDBC41/<IP_ADDRESS>5/ImpalaJDBC41-<IP_ADDRESS>5.pom 403 Forbidden -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

I also found com.cloudera:ImpalaJDBC41:jar:<IP_ADDRESS>5 in https://mvnrepository.com/artifact/com.cloudera/ImpalaJDBC41, but not found.
meanwhile, I think the parent pom repository(id=mvnrepository) is not needed, should use https://repo1.maven.org/maven2/ instead.

<groupId>com.cloudera</groupId>
<artifactId>ImpalaJDBC41</artifactId>
<version><IP_ADDRESS>5</version>

<groupId>com.welab</groupId>
<artifactId>message-sms-api</artifactId>
<version>1.4.56-RELEASE</version>

目前发现有这两个依赖下载不到，目前在源码中移除了这两个依赖。
impala 驱动改用 apache hadoop 相关包进行了替代，另一个包则移除了相关代码。


Pack Popper.js to the main JS file

I'm using the ES6 import syntax to import bootstrap and popper.js but I always get the error message, that Bootstrap needs popper.js as a dependency. This happens because popper.js is loaded after bootstrap.
Changing the input oder in the js file does not help.
How can I set popper.js as a dependency for bootstrap?
PS: I'm using browserify to handle the packaging.

Popper should be available in the global scope of your application or in the window object

With Browserify / ES6 modules, you need to require / import Popper from within the Bootstrap JS. If you import it from your app script, it'll only be accessible to that script.

Personally I think the popper.js dependency is a big mistake. Its tripped a few folks I know now and up until today I couldnt quite figure it out.
The problem is for us simple-folk who just use

@techdavid So I need to import popper.js within .node_modules/bootstrap. This does not sound like a clean solution to me. Isn't the main idea of using node_modules, to not changing the files and simply integrating them into your own project, so that every other developer starts from the same point? If I change theses files, I'd have to tell every other developer in my project to change this too... This cannot be the best-practise.
@shayneoAtNorwood I totally agree. I'd really like Bootstrap to simply include popper.js themselves. If they use it as a dependency, they should also deliver it in a package. One nice and clean bootstrap.js file containing the bootstrap code and the code of popper.js would make the life of many, if not every, developer so much easier.

@SamThilmany of course, this is not good practice within the context of node modules. With Johann's suggestion, you could do something like the following:
window.jQuery = require('jquery')
window.Popper = require('popper')
require('bootstrap')

And then Bootstrap would be able to access the jQuery and Popper variables.

@techdavid Thanks for this idea, but unfortunately it doesn't seem to work.
I get the following error

Error: Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.

If I include jQuery in the HTML in an extra script tag, the error changes to:

Error: Bootstrap dropdown require Popper.js (https://popper.js.org)

The file I'm compiling with gulp and gulp-browserify only contains your proposed code, with the slight difference, that popper needs to be called popper.js as it's node_modules folder is called popper.js.
Maybe my gulp task is not correct?!
const uglify       = require( 'gulp-uglify' );
const babelify     = require( 'babelify' );
const browserify   = require( 'browserify' );
const source       = require( 'vinyl-source-stream' );
const buffer       = require( 'vinyl-buffer' );
const stripDebug   = require( 'gulp-strip-debug' );

const jsSRC        = './src/js/';
const jsFront      = 'main.js';
// const jsBack      = 'backend-main.js';
const jsFiles      = [ jsFront ];
const jsURL        = './assets/js/';

gulp.task( 'js', function() {
	jsFiles.map( function( entry ) {
		return browserify({
			entries: [jsSRC + entry]
		})
		.transform( babelify, { presets: [ 'es2015' ] } )
		.bundle()
		.pipe( source( entry ) )
		.pipe( rename( {
			extname: '.min.js'
        } ) )
		.pipe( buffer() )
		.pipe( gulpif( options.has( 'production' ), stripDebug() ) )
		.pipe( sourcemaps.init({ loadMaps: true }) )
		.pipe( gulpif( options.has( 'production' ), uglify() ) )
		.pipe( sourcemaps.write( '.' ) )
		.pipe( gulp.dest( jsURL ) )
		.pipe( browserSync.stream() );
	});
});

Please note, that I'm separating the JavaScript filef of the front-end (const jsFront) and those of the back-end (const jsBack), where the backend currently is empty and thus not included in the jsFiles  array. So the map function currently only maps over one file. And that file (for testing reasons) only contains your three lines of code.

I haven't tested the code I suggested, so I'm not sure if it would work or not for sure. But maybe Bootstrap can't access the global window when imported with Browserify... I can't help you because I don't know enough about Babel and Browserify. But FYI: this issue has been assigned to a core member, so they are definitely going to fix it, and the next version is also going to remove the jQuery dependency, so all the JS will be in one file.

@techdavid Okay, that's nice to know. Thank you for your help anyway.

Closed thanks to this PR (https://github.com/twbs/bootstrap/pull/23735) which include Popper.js inside Bootstrap, so in our next release use bootstrap.bundle.js or bootstrap.bundle.min.js

That seems like a perfect solution to me @Johann-S

I am installing popper using npm install<EMAIL_ADDRESS>--save but I can't find the file to include it in my html?

I notice in the official docs for Bootstrap v4, Popper.js is listed as a dependency. Is Popper.js currently shipping with Bootstrap v4, or do I need to find a way to include it. Thanks for any assistance/recommendations!

Popper.js is both packaged with Bootstrap in an optional bundle AND is a dependency for the non-bundled version


Lower case values in arrays

Hello,
We noticed that upper cased characters in arrays are loaded into Braze as lower case. This causes an issue when connecting that information to catalogs items.
In the _process_value function the value is stripped and converted to lower case. It's tested to determine it's type. I think the lower case value is to test it again 'y', 'n' and 'null'.  After the test for 'false' it tests the structure of an array (value beginning with [ and ending with ]). The thing is that it's testing and returning the stripped and lower cased version of the value. Is there a reason for this?
One possible solution to preserve the case  would be to reset the stripped variable without the lower() function just before the last test:
stripped = value.strip()

    elif len(stripped) > 1 and stripped[0] == '[' and stripped[-1] == ']':
        try:
            return ast.literal_eval(stripped)
        except Exception:
            print("ERROR: Could not convert value to an array:", stripped)
            return stripped

Submitted a change.

@pcapazzi thank you!


Writing a file fails test

Description
I have a test, which writes a file to a path similar to res://tests/temp/config.cfg.
I also run

func after_each():
    directory.remove(path)

to remove the file after every single test execution.
This works fine on my local machine. However, it does not with godot-tester.
I assume this is due to file system permissions on the container?
Expected Behaviour

File gets written in test
Test can assert that the file exists
File will be removed after test

Actual Behaviour
Test fails:
[Failed]:
      at line -1

Repro
Comment out this test and run on GitHub Action
Repro Test: https://github.com/Structed/godot-playfab/blob/db0ca9f1e1ee170080394fa8ed21bd7a22778a34/addons/godot-playfab/test/unit/PlayFabClientConfig/test_PlayFabClientConfigLoader.gd#L13

Will add as a test goal. We should be able to enable file writing from tests as this action has no secrets that can be exploited.
That said, solution may requires tests to be run with a specific file path


Can I blacklist people with Nadeko Self-host

I was wondering if I can stop certain people to execute the commands with the Nadeko Self Host. Is it possible by any chance?

.h .ubl
please ask these kinds of questions in discord server, not here, as github is mainly for bugs.


Finder for sub-satellite point eclipse related events

Hi, thanks for the PR.
Please note the github is only a mirror of our main forge. Pull requests should rather be registered on https://gitlab.orekit.org/orekit/orekit

Could also it be possible to add some unit test for the feature?

Interesting feature and good first cut at the implementation.
I think this makes the eclipse class too complex, it would be better as a separate class. Extracting an abstract super class would make sense since there is significant overlap in the code. Another option would be to use a Function that maps the SpacecraftState to the position considered for the eclipse calculation.
The withUmbraSSP and withPenumbraSSP methods do two things at once. Better for each method to do one thing. Use the existing withUmbra and withPenumbra instead of duplicating that functionality. Stylistically I prefer writing out acronyms so it is easier to read the code, e.g. withSubSatellitePoint(),


0.1.4 update

Make check_url 403 results a warning
Add python build tools
Refresh SPDX list

FYI, I added maturin in https://github.com/anaconda/anaconda-linter/pull/311/files but it never got merged.

The motivation was just a bit of frustration at the linter. I'll merge as is and open a PR for the package update itself.


Update to collect more filesystem info

https://github.ibm.com/velox/platform/issues/8792

https://github.ibm.com/velox/platform/issues/8792

New log files will be generated under the path ova/filesystem/var and ova/filesystem/usr

@jithlab can we make the file paths match the actual file paths? ie. ova/filesystem/var/lib/.... or ova/filesystem/usr/local/lib/..... that would match the ova/filesystem/var/log

@kennyqn modified the paths accordingly


How to use a packagemap.json in my project?

I'm trying to automate the upgrade of a very large application with many .csproj using the upgrade-assistant CLI.
I'd like to force certain packages in those .csproj to be updated to certain versions.
The packagemap.json feature seems to support this functionality, But I can't figure out where this file must be placed to be picked up by the cli.
I am running a command like this:
upgrade-assistant upgrade `
			SomeProj/.csproj `
			--non-interactive `
			--operation Inplace `
			--targetFramework net8.0

But my custom defined packagemap.json file is never respected
Where do the packagemap files go? Is this documented anywhere? Is this even how these files are intended to be used?

Take a look at this blog post for how to test package map changes locally: https://devblogs.microsoft.com/dotnet/announcing-api-map-support-for-ua/

Guidance has been provided.


Use Conan as a dependency manager

Description
Until now external dependencies were managed using an additional directory called third-party which contained source of other libraries/tools we used in the source base. These patches make a transition from this approach to conan - a modern cpp package manager.
Test suite

The codebase compiles successfully including all the tests.
The CI is configured to use conan to download the required packages.
eugene.py is added a config rule which installs conan packages and executes cmake

Environment
Using gcc (GCC) 11.1.0 on a x86_64 machine with GNU/Linux.

This PR makes changes which ...

[x] are thoroughly tested
[x] are well documented

With apple-clang compiler it doesn't work

I'd just like to add that it seems as though on Mac there are some problems related to the fact that we build the LibEugeneCore as a shared library and they are not present if the library is static. Since as of now this is not a problem we would like to keep it working.


Does faiss have a function to delete and modify？

https://github.com/facebookresearch/faiss/wiki/Special-operations-on-indexes#removing-elements-from-an-index


iOS: Choose Wallet Screen script Missing Reference

Platform: iOS only
Release: v1.0.0
Steps to Re-produce:

Switch platform to iOS and build
An error is returned that indicates missing reference.

Solution:
Related to W.C. upgrade, re-add the Wallet List to Wallet Connect code.
Short term - comment out the conditional block with the error.

Fix checked into branch bugs/bugs_20211213


Add Herbie documentation to gallery

Here's a manual PR to address #397

This looks good, I will merge without review since I can't review my own PR!


feat(ci): macos-latest-xlarge arm64 runners

Building the ARM images on ARM runners.
Closes https://github.com/keyval-dev/odigos/issues/555

Hi @CyberHippo
Did you run it? I suspect it will not work, I think executing docker push to two tags with the same name will overwrite each other.
So for the first run (for example amd64) the workflow will execute docker push keyval/odigos-autoscaler:v1.0
and in the second run (for example arm64) the workflow will be executing again docker push keyval/odigos-autoscaler:v1.0 and will overwrite the image pushed earlier so we are left with only arm64 image.
I think the solution to that is to push two images with two separate tags and then merge them. This blog post describes similar method: https://dev.to/aws-builders/using-docker-manifest-to-create-multi-arch-images-on-aws-graviton-processors-1320

Hi @edeNFed,
I did not run it because I neither have access to hosted runner, nor a paid subscription to run macos-latest-xlarge runners. If you think of a way to test it please let me know.
You're right about docker tag conflict. I'll take a look at the blog post and figure something out.

@CyberHippo interesting, this looks like it may work

I'll close this PR for now as I don't have time to work on it anymore. Good luck


Constants?

What about this:
const x = 'hello'

If I did this, I would only allow the expression to be nil, numbers, strings, or other constants.
What about:
const x = 5
const y = x + 10

That would mean I need to evaluate 5 + 10 immediately... which might not be too bad?  Afterall, I have the binop_num_add, etc, functions.
What about:
const x = 'hello '
const y = x ~ 'world'

Not sure if this would all be worth it.

This all falls under constant propagation.  I would rather implement constant propagation slowly over time, improving the compiler under the hood, without disruption to the actual semantics of the language.


Fix authz goroutine not started

What type of PR is this?
/kind bug

What this PR does / why we need it:
Fix authz goroutine not started
Which issue(s) this PR fixes:
Fixes #484
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

NONE

/lgtm
/approve


Fujitsu indoor unit temperature

Hello,
Thank you very much for your work.
I am in equivalent situation  9a page 6 of https://hvacdirect.com/hvac/pdf/fj-rc-wifi-1na-installation-guide.pdf.
I have made a electronic circuit with ESP32 and Lin component to communicate to CN6 (Fujitsu Indoor Unit)

I have tried
controller_address: 0  # 0=Primary, 1=Secondary
temperature_controller_address: 0  # Fujitsu controller address to read temperature from
and
controller_address: 0  # 0=Primary, 1=Secondary
temperature_controller_address: 1  # Fujitsu controller address to read temperature from
I can stop/start the unit ... But I can't see Fujitsu indoor unit temperature.
Do you have a idea ?

example.yaml line 56
For me, I have to change
- platform: esphome_fujitsu_halcyon
by
- platform: fujitsu_halcyon

Best regards

If you have a Fujitsu, Intesis, or additional ESP remote controller + ESP, the ESP can report the temperature from the other remote controller.
The indoor unit does not expose its temperature reading, only the remote controllers do - in 9a and 9b, the blue arrow shows where the temperature reading can be read from by the ESP.
Thank you for reporting esphome_fujitsu_halcyon vs fujitsu_halcyon.

Your answer is clear.
Thank you for your help.


Extend INDArray to java.lang.Iterable

Hi,
I am currently working on a core.matrix backend for nd4j: https://github.com/whilo/clj-nd4j
It would be beneficial if INDArrays would extend Iterable (to iterate along the first dimension), as then the sequence routines of Clojure would work without wrapping NDArrays. The latter could break direct interoperability of clj-nd4j with deeplearning4j as then new types are introduced and in general would complicate the design. I would also like to avoid that to not accidentally spoil performance.
Is this reasonable? I can provide the implementation if necessary.
Christian

Would you want this to be Iterable? Iterable? Would need more clarity here.

You are right, this should be defined very explicitly. If it is iteration along the first dimension it has to return INDArrays, e.g. rows for a matrix. If it is a 1-dimensional vector returning Iterator<Double> instead of boxed scalars was nice, but I think this would be inconsistent, right? It also was a problem to have an Iterator<Object> in typed JVM languages as explicit casting then becomes necessary.
It is a bit cumbersome to unbox scalars into doubles, so clatrix, the jblas backend for core.matrix directly returns doubles there so nd-arrays can be treated like arbitrarily nested sequences of doubles. There is also the clojure.lang.Seqable interface for which one could explicitly provide this unboxed behaviour, but then nd4j would depend on Clojure.

So we have iterators now. Can't link atm because I'm mobile but they do
this kind of nd iteration you'd need.
On Aug 17, 2015 7:23 AM, "Christian Weilbach"<EMAIL_ADDRESS>wrote:

You are right, this should be defined very explicitly. If it is iteration
along the first dimension it has to return INDArrays, e.g. rows for a
matrix. If it is a 1-dimensional vector returning Iterator
instead of boxed scalars was nice, but I think this would be inconsistent,
right? It also was a problem to have an Iterator in typed JVM
languages as explicit casting then becomes necessary.
It is a bit cumbersome to unbox scalars into doubles, so clatrix, the
jblas backend for core.matrix directly returns doubles there so nd-arrays
can be treated like arbitrarily nested sequences of doubles. There is also
the clojure.lang.Seqable interface for which one could explicitly provide
this unboxed behaviour, but then nd4j would depend on Clojure.
—
Reply to this email directly or view it on GitHub
https://github.com/deeplearning4j/nd4j/issues/306#issuecomment-131837512
.

 I don't just need some Iterator from somewhere.


BUG: "Incorporate Sponsor Button and Dark/Light Toggle Button into Header"

Is there an existing issue for this?

[X] I have searched the existing issues

What went down?
The current layout of the website does not include the Sponsor button and the Dark/Light toggle button within the header. Additionally, their alignment is not perfect, affecting the overall aesthetics and usability of the site. Incorporating these buttons into the header and fixing their alignment would enhance accessibility and improve the user experience.
Record

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

@Saksham2k3s It would be great if you share some screenshot or any relevant video about your issue.

The login/signup button, sponsor button, and dark/light mode toggle are not properly aligned.

@Saksham2k3s It is aligned! Thanks


System fonts are overriding app font

Environment
React Native Environment Info:
System:
OS: macOS High Sierra 10.13.6
CPU: x64 Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz
Memory: 751.02 MB / 16.00 GB
Shell: 5.3 - /bin/zsh
Binaries:
Node: 8.11.3 - ~/.nvm/versions/node/v8.11.3/bin/node
Yarn: 1.10.1 - /usr/local/bin/yarn
npm: 5.6.0 - ~/.nvm/versions/node/v8.11.3/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 12.0, macOS 10.14, tvOS 12.0, watchOS 5.0
IDEs:
Android Studio: 3.2 AI-181.55<IP_ADDRESS>14246
Xcode: 10.0/10A255 - /usr/bin/xcodebuild
npmPackages:
react: 16.4.1 => 16.4.1
react-native: 0.56.0 => 0.56.0
npmGlobalPackages:
react-native-cli: 2.0.1
Description
With the Samsung Galaxy Note 8, the user has the ability to change the device's system fonts.  This overrides the app fonts.  I would like a way to figure out how to disable the system fonts for our app or override them with our app's fonts.
This issue is similar to #17858, #12978, #12989 but both of those issues were closed without resolution.

Having same Issue on last version, and i see it's a bug often discussed, any recommendations to prevent this ?


guide/index not found in EntityTable for docstring in Python 3.10+

/home/zeth/PycharmProjects/bionty/.nox/build-3-10/lib/python3.10/site-packages/bionty/_table.py:docstring of bionty._table.EntityTable:1: WARNING: unknown document: 'guide/index'
@sunnyosun I can reproduce it. See discussion on the other PR.

Interesting, and seems to be the case for py3.10, not py3.9 which the docs are built in CI. Thanks for spotting it, let's keep an eye!

This reference is removed!


cannot install objectdete.rockspec

Hi I just downloaded the refactoring2 branch and tried to install objdet-scm-1.rockspec
luarocks install objdet-scm-1.rockspec
Using objdet-scm-1.rockspec... switching to 'build' mode
Cloning into 'object-detection.torch'...
remote: Counting objects: 21, done.
remote: Compressing objects: 100% (20/20), done.
remote: Total 21 (delta 0), reused 9 (delta 0), pack-reused 0
Unpacking objects: 100% (21/21), done.
Checking connectivity... done.
cmake -E make_directory build;
cd build;
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="/home/jmitro/torch/install/bin/.." -DCMAKE_INSTALL_PREFIX="/home/user/torch/install/lib/luarocks/rocks/objdet/scm-1";
make

CMake Error: The source directory "/tmp/luarocks_objdet-scm-1-390/object-detection.torch" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
make: *** No targets specified and no makefile found.  Stop.

Error: Build error: Failed building.

Also the refactoring2 does not include the nnf.lua

Hi,
If you are trying to install from a downloaded repo, you need to do instead
luarocks make rocks/*

from the downloaded repo.
Last time I remember it was working fine, but I might have missed something.
There is no more need of the nnf.lua file. I changed it to behave as a normal package, everything should go to init.lua.
You need to require the package with a different interface though
local objdet = require 'objdet'
local frcnn = objdet.FRCNN{...}

Let me know if you have problems.


Merge vs16.5 to master

Modified aftersigning.targets to copy over x64 .pdb's to the symstore location so they can get uploaded properly.

Changing debugtype on x64 architecture

so that the .pdb that gets generated is appropriate.

PR comments. Conditioning on officialbuild==true, updating comment

fix syntax in aftersigning.targets

vscodegit add . /shakefist

Closing due to having automated merge PRs


[Gekidou] Refactor - Create Members Modal

Summary
This PR refactors the CreateDirectMessage component. In preparation for using the Users List in other locations, this PR creates a new MembersModal screen which accepts the functions for the following actions:

onButtonTap - action to take when selecting the action after selecing Users
searchUsers - search function to searchProfiles using the search component
getProfiles - function to fetch the intitial batch of users.

The other modal that will be using the members modal is the manage members and view members of a channel
Ticket Link
N/A
Checklist

[ ] Added or updated unit tests (required for all new features)
[ ] Has UI changes
[ ] Includes text changes and localization file updates
[ ] Have tested against the 5 core themes to ensure consistency between them.

Device Information
This PR was tested on:
Screenshots

Release Note

onButtonTap sounds weird to me, perhaps something like onSelected?
Also, I guess members_modal is a common component that will be used by multiple screens, so perhaps the name and file location should change to make more sense ?

onButtonTap sounds weird to me, perhaps something like onSelected?

A better name does make since. The onButtonTap is the action that will be taken with the list of users, so it isn't really a select. It is more of a do something with these users you have just selected

Also, I guess members_modal is a common component that will be used by multiple screens, so perhaps the name and file location should change to make more sense ?

Agreed.  I can move it to the components folder?

I'm closing this PR to expedite hitting the v2.0 feature release. Ticket created for follow up.
https://mattermost.atlassian.net/browse/MM-48450


Create offchain & onchain groups with API

Any admin with a session should be able to create Bandada groups with the API.

[ ] Onchain groups
[ ] Offchain groups

Also support:

[ ] Manual groups
[ ] Credential groups

Pending: we need to figure out who will be the admin as they'll need to connect their wallet.
Maybe we could do it with an API key?

Current scope: off-chain manual & credential groups


Documentation for running mobile ios Chrome

How can I setup my config to run my tests on ios chrome browser?

@A-nguyenv ping.

Hello,
After reviewing our internal documentation, it seems the implementation of apps on mobile are obsolete and need to be maintained. We are currently working on that. With the limited bandwidth it should be done by early April.


MGMT-17100: Fix enrolled device reboot crash

The manager client is only initialized for the agent controller only on bootstrap. Subsequent boots won't initialize the reference neither will print the management QR. This commit fixes the issue.

If a device resource has been deleted, but not its enrollmentrequest in the server, re-enrollment won't work. It'll indicate bootstrap is completed (as enrollmentrequest is Approved) but device resource won't be created.

Let me merge this one, and I'll push a PR for when the device resource has been deleted.

/lgtm


Update Figma Design As per Professor's Feedback

Summary
Re-design the Figma of the website "Le Jardin" based on feedback from the professor.
Acceptance Criteria:
Feedback Implementation:

Redesign the Testimonial section in accordance with the feedback from the Professor.

Web Accessibility:

Follow the Web Content Accessibility Guidelines (WCAG) to ensure the website is accessible to all users.

Change Hero Section:

Reduce the number of words in the hero text.
Add subtext with a method of persuasion to encourage customers to sign up.

Reduce Text:

Minimize the text in the 'About Us' section.
Streamline the text in the 'Our Mission' section.

Component Library:

Utilize a Component Library like MUI and NextUI for a consistent and effective design.

Brand Archetype:

Adhere to the Brand Archetype persona 'Explorer' in the Testimonial Section design.

Color Selection:

Use the Adobe color wheel for selecting colors for the website components.

Note: Ensure that the redesigned  Sections not only incorporate feedback but also align with accessibility standards, the brand identity, and provides an appealing and cohesive user experience.

updated design:

figma link: https://www.figma.com/file/puog0pDY0mW5VGzuivGCi1/Final-Group-Project--Bakery?type=design&node-id=156%3A44&mode=design&t=7Ie8TMMu8EvLugrn-1


feat(app): add thermocycler module card in device details

Overview
This PR implements the thermocycler module card. closes #9326

Changelog

Added ThermocyclerModuleData component to add TC Module Card.
Added tests

Review requests

Check that the thermocycler card is rendering properly and meets the design specs of this Figma node.
Ensure all the ACs in the ticket being addressed are met in this PR (Note: the last AC is not complete as it requires the overflow dropdown menu to be completed; a follow up PR will address that).

Risk assessment

Low

Yeah the cards are wider because it was set at 24rem. The Figma has the cards set at 317px which is ~20rem. I will update this.


[Help]: Low CPU utilization during sbas_parallel

I have been trying different combinations of settings for sbas_parallel on large grids. However, cpu utilization doesn't exceed aprox 3-4% on 128 cpu machine.
CPU: 128
RAM: 500GB
Swap: 200GB
SSD: ~4 GBPS R/W
Using chunksize of 2048 exploded memory and swap, reducing chunk size to 512 helps keep memory manageable.

Changing Dask setup (num_workers=1 / num_workers=32) makes little difference.

Ajusting chunksize to 1024 helps, with average cpu around 25%.

So now sbas_parallel time is reduced from 9 hours to 15 minutes...
I gave your PyGMTSAR draft a quick read. You refer the issue of pixel wise memory requirements for deep arrays with larger chunksizes. You also refer to PyGMTSAR having built-in tools for estimating memory requirements of operations. I'm curious what these tools are considering in your examples you either let dask attribute number of workers automatically or in your large SBAS example set the workers to 1 due to insufficient memory per core. Also you select 512 or 1024 chunksize depending on grids but there is no sign of such automatic memory management that is obvious to the reader. Your code uses user defined datagrid.chunksize when chunksize=None... Can you explain?

Yes, 1024 is a reasonable amount and is recommended for large Docker image examples. The Dask dashboard provides useful information about processing health. Having too many chunks is not manageable, while processing excessively large chunks is unstable. This instability occurs because the available memory is shared among all the processes, and we need to ensure that each process has sufficient RAM at all times.
You can find the memory adjustment for a 3D datacube here: https://github.com/mobigroup/gmtsar/blob/pygmtsar/pygmtsar/pygmtsar/SBAS_sbas.py#L237-L242. Approximately, it is always advisable to have 2GB RAM per core for the default chunk size (512), and this is typically enough to have 4GB RAM for the larger recommended chunk size (1024).
Setting 'n_workers=1' will still use all cores (Total threads: 4) and allow the system to operate stably without swapping. We encounter inconsistencies when using Dask process management and joblib together, but this is unavoidable. High-memory-consumption GMTSAR binaries must be called, and Dask cannot manage the memory used by these tools.

From what I can remember your large stack example uses only 2 years of data, I would assume longer time series (5-7 years) would require more than 4GB per core for pixel wise operations using 1024 chunks,  is this correct? And that is why you have custom core for "minichunks".
2048 chunks in sbas will cause the system to run out of memory and use swap, slowing the disk down severely.due to high IO and high concurrency. Ideally avoiding swap altogether is preferable, however it is hard to find a good balance for high CPU machines.

In the draft, I provided examples using 2000 and 1000 interferograms. As you can see in the linked code, the SBAS datacube chunk sizes decrease as the set of pairs increases.

Also for some computations (corr_stack etc.) setting chunksise to auto is even faster than 1024, as dask will allocate approx 100mb per chunk. I usually change it back to 512/1024 just before unwrapping.

In the draft, I provided examples using 2000 and 1000 interferograms. As you can see in the linked code, the SBAS datacube chunk sizes decrease as the set of pairs increases.

I look forward to reading the whole publication. It is good material for good software.

25% utilisation is really a waste of resources.

You should attempt to balance the number of workers and threads. Also, Dask can use custom memory allocators, which can be extremely helpful, but these depend heavily on your platform, OS, and even the specific version of the OS.

New version on GitHub uses default chunk size 1024 so you don’t need to change it anymore. I hope I’ve resolved all the issues to use the large enough chunk size on low-memory hosts.


Longer input files/pdfs

Is there an option (maybe it already exists) to use input material longer than 4k tokens?

Fitting more than 4k tokens is the entire point of qabot using a database. You can happily connect to and query multi-GiB datasets already.
I don't think this tool should deal with embedding or parsing other formats just to keep the dependencies to a minimum. I'd like to keep this focused on querying tabular data.

Indeed - why do I get an error message when using a CSV that's 4.6k tokens?


feat(blWords & snipe attachments): add blacklisted words system & support snipe attachments.

This pr adds blacklisted words & supports snipe attachments.
This has not been tested. Please test this before merging it.

4096 is the new limit for embed descriptions by the way.

poggers

Poggerrs

Usage should be something like:
DBH!staff blwords set frick --action=ban --lowercase=true,


ARROW-9782: [C++][Dataset] More configurable Dataset writing

Haven't fixed the R binding yet

@bkietz this removes the ability to specify format specific options? (or it's still WIP?)

@jorisvandenbossche yes, not ready for review yet. I will repair format specific write options as part of this PR

Okido, will wait a bit more then ;-)

Is this done, or what is left?

@pitrou are you planning to review C++ again?
@jorisvandenbossche are you planning to review python?

The C++ changes addressed my comments. It would be nice though if @fsaintjacques could take a look.

Merging

FileSystemDataset::Write now parallelizes across scan tasks rather than fragments so there will be no difference in performance/written files even if we create a single in-memory fragment, so I changed this to create a single fragment since it's simpler

There might be no difference, but I think the user should still be able to control how many files are created. Because now whathever you pass, it's always consolidated into a single file? (or one file per partitioning)
Also, it seems that reading/writing a dataset does not preserve the files? (so if we discover a dataset with multiple files, we write it as a single file?)

If you're writing with no partitioning then yes, everything will be written to a single file. In a follow up we'll probably add a special case for unpartitioned writing which allocates an output file for each thread just for performance reasons.


How to enable modern OpenGL?

The OpenGL context of a GLWindow doesn't support modern OpenGL.  When I try to request GLSL 3.3.0 in a shader [by saying #version 330] I get this error:
Vertex Shader Error:0:1(10): error: GLSL 3.30 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, 3.00 ES, 3.10 ES, and 3.20 ES
In GLFW one could do this:
glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR,3);
glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR,3);
glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE);
I see that other FLTK users have hit the same problem:
https://stackoverflow.com/questions/11557186/how-to-create-opengl-3-x-or-4-x-context-with-fltk-1-3?rq=1
https://groups.google.com/forum/#!topic/fltkcoredev/ogdzbBSBZmI
Apparently one can create the GL context separately, then pass it into FLTK somehow.  Is this possible in FLTKHS?

There are two functions on GlWindow:
 setContext :: 'Ref' 'GlWindowBase' -> 'Ref' 'FlGlContext' -> 'IO' ()
 setContextWithDestroyFlag :: 'Ref' 'GlWindowBase' -> 'Ref' 'FlGlContext' -> 'Bool' -> 'IO' ()

The Bool flag in the latter destroys the FlGlContext passed in when the window's destructor is called.
I've honestly never done this as I'm not too familiar with OpenGL. If you successfully get this working on your platform do you mind posting to this issue? I'll make it part of the official documentation.

Hmm...it's a problem that what we need to pass in is an OpenGL context, and the API takes an FlGlContext.  And the ways of creating OpenGL contexts in Haskell generally create e.g. GLFWWindow or SDLWindow or their particular wrapped versions of OpenGL contexts.  I don't see a way to extract the actual underlying C context object and pass it around between APIs.  They don't export it and you can't accept it anyway.
The most likely to succeed suggestion I've seen so far in the C world is to somehow create a hidden or offscreen core context window in a different API and then blit the bitmap across each frame.  That might be doable in Haskell, depending on the other API chosen, but it'll be quite cumbersome.
The Google Groups thread above manages to get something working, but that's by hacking a new enum value into the FLTK source.  I don't know how you feel about doing something so invasive in a wrapper library.  We could add a new function to do that instead of altering the existing API, but it would still be functionality not published by the wrapped library.  Of course, that's the whole point of this issue: that FLTK doesn't publish this functionality.  But in C there are potentially reasonable ways to work around that, and in Haskell there don't seem to be.

Broadly speaking I'm ok adding functionality that FLTK doesn't provide but don't really want to patch the library. But perhaps the FLTK folks would be amenable to a PR? That would be the best solution because I have no problem bundling the FLTK master branch into this project if it is merged, that's what I do now anyway and this in particular seems like really useful functionality.

Never mind!  There's already an API that does it [with a small hack], that I hadn't previously found.
See https://www.fltk.org/doc-1.3/opengl.html#opengl3
In Haskell:
setMode glwin $ Modes [ModeDouble, ModeDepth, ModeOpenGL3]
There's a small problem in that getMode returns a Mode that's a bunch of bits orred together, which we can't take apart safely without blowing up on toEnum.  But the error message told me the raw bits, so I went though the FLTK headers to see what they were [18 == ModeDouble | ModeDepth] and I just overwrote with that and the bit for ModeOpenGL3.  getMode should really take the bits apart and return a Modes instead so that we could just or in a single bit, and then we'd have a clean solution.

Ooh great find! Can you confirm that you're able to are indeed able to render using newer versions of OpenGL? I'll change getMode as you suggest.

I've got a square rendering with #version 330 in my shaders, so I believe that indicates I'm using newer OpenGL.  I don't know how to get the actual version out, but I believe it should default to the full range of whatever I've got installed.

Taking out that one setMode line gives me back the old error:
Vertex Shader Error:0:1(10): error: GLSL 3.30 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, 3.00 ES, 3.10 ES, and 3.20 ES
That seems like proof.

Incidentally, if you do update the OpenGL docs section, you might want to point out that you have to do all the GL setup stuff lazily in the first draw call, not where you create the GlWindow.  Until the draw call, there doesn't seem to be an OpenGL context, or at least I couldn't make one current.

I get it now: the lazy init of the context is why this works at all.
You create the GlWindow and call setMode on it before the context is created, because afterward it would be too late.  At some point between then and the first draw call, FLTK creates the context.  Then you can create your VAO etc. and start rendering.

getMode now extracts the different Modes out of the bits.

Works great--thanks!