npm dependency error installing latest bootprint-openapi: TypeError: Cannot read property 'minimum' of undefined

I have a script that builds the API documentation for a project in a docker image, which looks roughly like:
FROM node:5.10.1
...
RUN npm install -g -q bootprint bootprint-openapi

Starting in the past few days, when this container runs `bootprint openapi  I get:
Loading bootprint-openapi 0.17.0
Loading bootprint-json-schema 0.8.6
Loading bootprint-base 0.7.2
/usr/local/lib/node_modules/bootprint/node_modules/q/q.js:155
                throw e;
                ^

TypeError: Cannot read property 'minimum' of undefined

I see that this same error was covered in #69 but the fix mentioned there does not work for me<EMAIL_ADDRESS>does not exist anymore, and explicitly installing<EMAIL_ADDRESS>gives the same error message above).
I mention that this is done inside a Docker image to point out that whatever global npm packages exist are probably not causing the issue.

Hi, I have the same issue...

I don't think this has to do with less. Its hard to say without a full stack-trace. Could you run bootprint -l to get a long stack-trace? It would help to see where exactly this error occurs.
I have made a change to customize-engine-handlebars a couple of days ago. It shouldn't trigger this behaviour though, but I will look into it.

Wait, the tests fail as well. I'll have to check the dependencies. I will also let nightli.es run the travis-build every nigth now.

Thanks !

I have published a bugfix and a refactoring in<EMAIL_ADDRESS>a couple of days ago. The bootprint-openapi-tests fail with this version and pass with version 1.0.3.
I will try to find the bug and fix it or revert to an old version (npm does not allow me to unpublish the version)

I have published 1.0.3 as 1.0.5. This is a quick-hack done without any git commits, just to have working version available until I find the actual problem. The tests are green again. Could you verify that your build is working again.

Hello, it is working for me, thanks a lot !

@nknapp thanks for taking a look and pushing updates. I am afraid though I am still getting the same error. Here is the long stacktrace:
Loading bootprint-openapi 0.17.0
Loading bootprint-json-schema 0.8.6
Loading bootprint-base 0.7.2
/usr/local/lib/node_modules/bootprint/node_modules/q/q.js:155
                throw e;
                ^

TypeError: Cannot read property 'minimum' of undefined
    at module.exports.json-schema--range (/usr/local/lib/node_modules/bootprint-openapi/node_modules/bootprint-json-schema/handlebars/helpers.js:51:27)
    at wrapper (/usr/local/lib/node_modules/bootprint/node_modules/lodash/index.js:3533:19)
    at helperWrapper (/usr/local/lib/node_modules/bootprint/node_modules/promised-handlebars/index.js:113:23)
    at /usr/local/lib/node_modules/bootprint/node_modules/promised-handlebars/index.js:139:28
    at ret (/usr/local/lib/node_modules/bootprint/node_modules/handlebars/dist/cjs/handlebars/runtime.js:159:30)
    at ret (/usr/local/lib/node_modules/bootprint/node_modules/handlebars/dist/cjs/handlebars/compiler/compiler.js:488:21)
    at prepareAndResolveMarkers (/usr/local/lib/node_modules/bootprint/node_modules/promised-handlebars/index.js:75:17)
    at Object.json-schema/datatype (/usr/local/lib/node_modules/bootprint/node_modules/promised-handlebars/index.js:59:14)
    at Object.invokePartialWrapper [as invokePartial] (/usr/local/lib/node_modules/bootprint/node_modules/handlebars/dist/cjs/handlebars/runtime.js:65:46)
    at ret (/usr/local/lib/node_modules/bootprint/node_modules/handlebars/dist/cjs/handlebars/runtime.js:159:30)
    at ret (/usr/local/lib/node_modules/bootprint/node_modules/handlebars/dist/cjs/handlebars/compiler/compiler.js:488:21)
    at prepareAndResolveMarkers (/usr/local/lib/node_modules/bootprint/node_modules/promised-handlebars/index.js:75:17)
    at Object.swagger/parameterRow (/usr/local/lib/node_modules/bootprint/node_modules/promised-handlebars/index.js:59:14)
    at Object.invokePartialWrapper [as invokePartial] (/usr/local/lib/node_modules/bootprint/node_modules/handlebars/dist/cjs/handlebars/runtime.js:65:46)
    at Object.prog (/usr/local/lib/node_modules/bootprint/node_modules/handlebars/dist/cjs/handlebars/runtime.js:193:15)
    at Object.prepareAndResolveMarkers (/usr/local/lib/node_modules/bootprint/node_modules/promised-handlebars/index.js:75:17)
    at Object.fn (/usr/local/lib/node_modules/bootprint/node_modules/promised-handlebars/index.js:139:28)
    at Object.<anonymous> (/usr/local/lib/node_modules/bootprint/node_modules/handlebars/dist/cjs/handlebars/base.js:205:22)
    at Object.helperWrapper (/usr/local/lib/node_modules/bootprint/node_modules/promised-handlebars/index.js:113:23)
    at Object.<anonymous> (/usr/local/lib/node_modules/bootprint/node_modules/promised-handlebars/index.js:139:28)
    at prog (/usr/local/lib/node_modules/bootprint/node_modules/handlebars/dist/cjs/handlebars/runtime.js:193:15)
    at prepareAndResolveMarkers (/usr/local/lib/node_modules/bootprint/node_modules/promised-handlebars/index.js:75:17)
    at /usr/local/lib/node_modules/bootprint/node_modules/promised-handlebars/index.js:139:28
    at execIteration (/usr/local/lib/node_modules/bootprint/node_modules/handlebars/dist/cjs/handlebars/base.js:155:19)
    at Object.<anonymous> (/usr/local/lib/node_modules/bootprint/node_modules/handlebars/dist/cjs/handlebars/base.js:164:11)
    at Object.helperWrapper (/usr/local/lib/node_modules/bootprint/node_modules/promised-handlebars/index.js:113:23)
    at Object.<anonymous> (/usr/local/lib/node_modules/bootprint/node_modules/promised-handlebars/index.js:139:28)
    at Object.prog (/usr/local/lib/node_modules/bootprint/node_modules/handlebars/dist/cjs/handlebars/runtime.js:193:15)
    at Object.prepareAndResolveMarkers (/usr/local/lib/node_modules/bootprint/node_modules/promised-handlebars/index.js:75:17)
    at Object.fn (/usr/local/lib/node_modules/bootprint/node_modules/promised-handlebars/index.js:139:28)
    at Object.<anonymous> (/usr/local/lib/node_modules/bootprint/node_modules/handlebars/dist/cjs/handlebars/base.js:205:22)
    at Object.helperWrapper (/usr/local/lib/node_modules/bootprint/node_modules/promised-handlebars/index.js:113:23)
    at Object.<anonymous> (/usr/local/lib/node_modules/bootprint/node_modules/promised-handlebars/index.js:139:28)
    at ret (/usr/local/lib/node_modules/bootprint/node_modules/handlebars/dist/cjs/handlebars/runtime.js:159:30)
    at ret (/usr/local/lib/node_modules/bootprint/node_modules/handlebars/dist/cjs/handlebars/compiler/compiler.js:488:21)
    at prepareAndResolveMarkers (/usr/local/lib/node_modules/bootprint/node_modules/promised-handlebars/index.js:75:17)
    at Object.swagger/parameters (/usr/local/lib/node_modules/bootprint/node_modules/promised-handlebars/index.js:59:14)
    at Object.invokePartialWrapper [as invokePartial] (/usr/local/lib/node_modules/bootprint/node_modules/handlebars/dist/cjs/handlebars/runtime.js:65:46)
    at ret (/usr/local/lib/node_modules/bootprint/node_modules/handlebars/dist/cjs/handlebars/runtime.js:159:30)
    at ret (/usr/local/lib/node_modules/bootprint/node_modules/handlebars/dist/cjs/handlebars/compiler/compiler.js:488:21)
    at prepareAndResolveMarkers (/usr/local/lib/node_modules/bootprint/node_modules/promised-handlebars/index.js:75:17)
    at Object.swagger/operation (/usr/local/lib/node_modules/bootprint/node_modules/promised-handlebars/index.js:59:14)
    at Object.invokePartialWrapper [as invokePartial] (/usr/local/lib/node_modules/bootprint/node_modules/handlebars/dist/cjs/handlebars/runtime.js:65:46)
    at Object.prog (/usr/local/lib/node_modules/bootprint/node_modules/handlebars/dist/cjs/handlebars/runtime.js:193:15)
    at Object.prepareAndResolveMarkers (/usr/local/lib/node_modules/bootprint/node_modules/promised-handlebars/index.js:75:17)
    at Object.fn (/usr/local/lib/node_modules/bootprint/node_modules/promised-handlebars/index.js:139:28)
    at /usr/local/lib/node_modules/bootprint-openapi/node_modules/bootprint-base/handlebars/helpers.js:97:27
    at Object.module.exports.eachSorted (/usr/local/lib/node_modules/bootprint-openapi/node_modules/bootprint-base/handlebars/helpers.js:88:8)
    at Object.wrapper (/usr/local/lib/node_modules/bootprint/node_modules/lodash/index.js:3533:19)
    at Object.helperWrapper (/usr/local/lib/node_modules/bootprint/node_modules/promised-handlebars/index.js:113:23)
    at Object.<anonymous> (/usr/local/lib/node_modules/bootprint/node_modules/promised-handlebars/index.js:139:28)
    at ret (/usr/local/lib/node_modules/bootprint/node_modules/handlebars/dist/cjs/handlebars/runtime.js:159:30)
    at ret (/usr/local/lib/node_modules/bootprint/node_modules/handlebars/dist/cjs/handlebars/compiler/compiler.js:488:21)
    at prepareAndResolveMarkers (/usr/local/lib/node_modules/bootprint/node_modules/promised-handlebars/index.js:75:17)
    at Object.swagger/path (/usr/local/lib/node_modules/bootprint/node_modules/promised-handlebars/index.js:59:14)
    at Object.invokePartialWrapper [as invokePartial] (/usr/local/lib/node_modules/bootprint/node_modules/handlebars/dist/cjs/handlebars/runtime.js:65:46)
    at Object.prog (/usr/local/lib/node_modules/bootprint/node_modules/handlebars/dist/cjs/handlebars/runtime.js:193:15)
    at Object.prepareAndResolveMarkers (/usr/local/lib/node_modules/bootprint/node_modules/promised-handlebars/index.js:75:17)
    at Object.fn (/usr/local/lib/node_modules/bootprint/node_modules/promised-handlebars/index.js:139:28)
    at /usr/local/lib/node_modules/bootprint-openapi/node_modules/bootprint-base/handlebars/helpers.js:97:27
    at Object.module.exports.eachSorted (/usr/local/lib/node_modules/bootprint-openapi/node_modules/bootprint-base/handlebars/helpers.js:88:8)
    at Object.wrapper (/usr/local/lib/node_modules/bootprint/node_modules/lodash/index.js:3533:19)
    at Object.helperWrapper (/usr/local/lib/node_modules/bootprint/node_modules/promised-handlebars/index.js:113:23)
    at Object.<anonymous> (/usr/local/lib/node_modules/bootprint/node_modules/promised-handlebars/index.js:139:28)
    at ret (/usr/local/lib/node_modules/bootprint/node_modules/handlebars/dist/cjs/handlebars/runtime.js:159:30)
    at ret (/usr/local/lib/node_modules/bootprint/node_modules/handlebars/dist/cjs/handlebars/compiler/compiler.js:488:21)
    at prepareAndResolveMarkers (/usr/local/lib/node_modules/bootprint/node_modules/promised-handlebars/index.js:75:17)
    at Object.swagger/paths (/usr/local/lib/node_modules/bootprint/node_modules/promised-handlebars/index.js:59:14)
    at Object.invokePartialWrapper [as invokePartial] (/usr/local/lib/node_modules/bootprint/node_modules/handlebars/dist/cjs/handlebars/runtime.js:65:46)
    at ret (/usr/local/lib/node_modules/bootprint/node_modules/handlebars/dist/cjs/handlebars/runtime.js:159:30)
    at ret (/usr/local/lib/node_modules/bootprint/node_modules/handlebars/dist/cjs/handlebars/compiler/compiler.js:488:21)
    at prepareAndResolveMarkers (/usr/local/lib/node_modules/bootprint/node_modules/promised-handlebars/index.js:75:17)
    at Object.base/body (/usr/local/lib/node_modules/bootprint/node_modules/promised-handlebars/index.js:59:14)
    at Object.invokePartialWrapper [as invokePartial] (/usr/local/lib/node_modules/bootprint/node_modules/handlebars/dist/cjs/handlebars/runtime.js:65:46)
    at ret (/usr/local/lib/node_modules/bootprint/node_modules/handlebars/dist/cjs/handlebars/runtime.js:159:30)
    at ret (/usr/local/lib/node_modules/bootprint/node_modules/handlebars/dist/cjs/handlebars/compiler/compiler.js:488:21)
    at prepareAndResolveMarkers (/usr/local/lib/node_modules/bootprint/node_modules/promised-handlebars/index.js:82:39)
    at /usr/local/lib/node_modules/bootprint/node_modules/promised-handlebars/index.js:59:14
    at /usr/local/lib/node_modules/bootprint/node_modules/customize-engine-handlebars/index.js:159:24
    at /usr/local/lib/node_modules/bootprint/node_modules/lodash/index.js:3395:24
    at /usr/local/lib/node_modules/bootprint/node_modules/lodash/index.js:3073:15
    at baseForOwn (/usr/local/lib/node_modules/bootprint/node_modules/lodash/index.js:2046:14)
    at Function.mapValues (/usr/local/lib/node_modules/bootprint/node_modules/lodash/index.js:3394:9)
    at /usr/local/lib/node_modules/bootprint/node_modules/customize-engine-handlebars/index.js:156:18
    at _fulfilled (/usr/local/lib/node_modules/bootprint/node_modules/q/q.js:834:54)
    at requestTick (/usr/local/lib/node_modules/bootprint/node_modules/q/q.js:197:21)
    at Function.nextTick (/usr/local/lib/node_modules/bootprint/node_modules/q/q.js:180:13)
    at /usr/local/lib/node_modules/bootprint/node_modules/q/q.js:603:15
    at /usr/local/lib/node_modules/bootprint/node_modules/q/q.js:263:21
    at become (/usr/local/lib/node_modules/bootprint/node_modules/q/q.js:602:9)
    at deferred.resolve (/usr/local/lib/node_modules/bootprint/node_modules/q/q.js:618:9)
    at ReadStream.<anonymous> (/usr/local/lib/node_modules/bootprint/node_modules/q-io/reader.js:32:13)
    at _combinedTickCallback (internal/process/next_tick.js:74:11)
    at process._tickCallback (internal/process/next_tick.js:98:9)
    at /usr/local/lib/node_modules/bootprint/node_modules/q-io/fs.js:86:25
    at /usr/local/lib/node_modules/bootprint/node_modules/q-io/fs.js:31:35
    at _fulfilled (/usr/local/lib/node_modules/bootprint/node_modules/q/q.js:834:54)
    at self.promiseDispatch.done (/usr/local/lib/node_modules/bootprint/node_modules/q/q.js:863:30)
    at Promise.promise.promiseDispatch (/usr/local/lib/node_modules/bootprint/node_modules/q/q.js:796:13)
    at /usr/local/lib/node_modules/bootprint/node_modules/q/q.js:857:14

could you check the version of the promised-handlebars-dependency?  Since the tests are all green, I would like to add one that fails. Ideally, you could make a PR with such a failing test (have a look at the test-directory for examples).
Could you do that?

@nknapp it seems like I must have had some of the docker images I used cached and they weren't fetching all of the latest packages from npm - I am able to build a site successfully from the same spec that was failing earlier. Thanks for the help!

Glad to hear that. I hope it didn't cause too much inconvenience.  I've added this as nknapp/promised-handlebars#14
The bug is already fixed and a test is added. I'm hoping to release the real fixed version tonight. Just to let you know.


I am getting an issue with the script

it takes so long to download actually i am not been able to download single book with this script.
i am getting this screen only, surprisingly in all books it shows file size would be 86.8mb.
please help me out with this i am a medical student and i want to download some books.
it will be great if you reply.

Hi, I'm using macOS and met exactly the same issue as you. I finally solved it by running the script in the terminal instead of running it in phython3. Hopefully it will help you as well : )


DOC: Show documentation for inherited methods in derived classes

When using derived classes, only the methods of the child class, not the parent class are documented. An example is Epochs, which is derived from _BaseEpochs :
http://martinos.org/mne/dev/generated/mne.Epochs.html#mne.Epochs
The sphinx doc should show all the inherited methods.

i think this has been addressed from what i've checked. @mluessi, can you confirm?

Looks good in the dev docs


Gadgets on different Grafana dashboards report "no data" though there should be some data to show

See the attached screenshot. I have enabled dns, dashboard, prometheus and HA features and I have simple workload running.

The work on updating the metrics server was pushed to the ha-preview branch and seems to address this issue. Please have a look.


[QUESTION]: Function Calling

Description
I am interested in understanding whether AnythingLLM supports function calling capabilities.
Context

I am looking to integrate AnythingLLM with external APIs or custom functions to enhance its functionality.
My use case involves to get some data from already implemented backend.

Question

Does AnythingLLM currently support function calling?
If so, could you provide documentation or examples on how to implement this feature?
If not, are there plans to include this feature in the future?

Additional Information

I am running AnythingLLM locally.
I have checked the existing issues and did not find an answer to this question.

Thank you for your assistance.

Does AnythingLLM currently support function calling?
yes, but only via our built-in agent skills. We are currently working on custom agent skills. What specifically are you trying to do (general API requests, SQL, etc)

If so, could you provide documentation or examples on how to implement this feature?
https://docs.anythingllm.com/agent/overview

I am also interested in this feature. I'd like to be able to call local code snippets so that I can expand the capability of AnythingLLM to include Calendar Management, Email Reference, and more

Can be done with custom skills via: https://github.com/Mintplex-Labs/anything-llm/pull/2202


Remove the if65() function

as now we log in user.json if they answer yes or no to being 65 and above
This isn't necessary though, and this PR is very take-it-or-leave-it
The benefit to removing it is just having that little bit less of code to maintain
I've marked it as "resolving" an issue, but in fact, the issue is resolved (full context in a comment on the issue)

Resolves #537

Closing because there's good reason not to go with this as outlined here:
https://github.com/cds-snc/cra-claim-tax-benefits/issues/537#issuecomment-593487860


decision on "to be updated/fixed/ more info added" flag

Let's agree on our flag for attribute or class definitions that need work.  Following the discussion on previous channels (e-mail and git).
Anne proposed [FINISH] or [REPLACE] as the indicator.
Caden has proposed [INCOMPLETE].
Let's vote by reply to this thread.  Vote closes 4/5 at noon AZ time.

cc @acraugh @benjhirsch
and anyone else whose GitHub handle I don't know

[INCOMPLETE] for missing data and [CHECK] for questionable items works for me!

I've drafted a document to cover what I guess we could call "best practices", although it would more accurately be called "Anne practices" at this point. I included the two flag value previously mentioned.

Cool, sounds like a plan then. I'll close this as completed.


[7457] Refactor github actions to smaller units

Context
The deploy_and_build.yml file has become really unwieldily.
Changes proposed in this pull request
Break it up to smaller bits
Guidance to review
Best to review per commits
Important business

[ ] Does this PR introduce any PII fields that need to be overwritten or deleted in db/scripts/sanitise.sql?
[ ] Does this PR change the database schema? If so, have you updated the config/analytics.yml file and considered whether you need to send 'import_entity' events?
[ ] Do we need to send any updates to DQT as part of the work in this PR?
[ ] Does this PR need an ADR?

NB: Please notify the #twd_data_insights team and ask for a review if new fields are being added to analytics.yml

 [EPIC] Github actions needs TLC


[3.x] Fix Geometry::get_closest_points_between_segments() returns NaN

3.x version of #55617.
Tested with an updated version of @Zylann's MRP that tests both 2D (which works unchanged) and 3D, and checks for more corner cases: 55384-3.x.zip

Thanks!


test: Enable conformance tests for SCTP

These tests should now be supported, so enable them.
Fixes: ae046b49a797 ("bpf: Add partial SCTP support.")
Related: https://github.com/cilium/cilium/pull/20033

/test-upstream-k8s

It looks like the tests rely on Service support:
 Summarizing 6 Failures:
   [FAIL] [sig-network] Netpol [Feature:SCTPConnectivity][LinuxOnly][Disruptive] NetworkPolicy between server and client using SCTP [It] should enforce policy to allow traffic only from a pod in a different namespace based on PodSelector and NamespaceSelector [Feature:NetworkPolicy]
   test/e2e/network/netpol/network_policy.go:1452
   [FAIL] [sig-network] Netpol [Feature:SCTPConnectivity][LinuxOnly][Disruptive] NetworkPolicy between server and client using SCTP [It] should support a 'default-deny-ingress' policy [Feature:NetworkPolicy]
   test/e2e/network/netpol/network_policy.go:1452
   [FAIL] [sig-network] NetworkPolicy [Feature:SCTPConnectivity][LinuxOnly][Disruptive] NetworkPolicy between server and client using SCTP [BeforeEach] should enforce policy to allow traffic only from a pod in a different namespace based on PodSelector and NamespaceSelector [Feature:NetworkPolicy]
   test/e2e/network/netpol/network_legacy.go:1941
   [FAIL] [sig-network] NetworkPolicy [Feature:SCTPConnectivity][LinuxOnly][Disruptive] NetworkPolicy between server and client using SCTP [BeforeEach] should enforce policy based on Ports [Feature:NetworkPolicy]
   test/e2e/network/netpol/network_legacy.go:1941
   [FAIL] [sig-network] NetworkPolicy [Feature:SCTPConnectivity][LinuxOnly][Disruptive] NetworkPolicy between server and client using SCTP [BeforeEach] should support a 'default-deny' policy [Feature:NetworkPolicy]
   test/e2e/network/netpol/network_legacy.go:1941
   [FAIL] [sig-network] Netpol [Feature:SCTPConnectivity][LinuxOnly][Disruptive] NetworkPolicy between server and client using SCTP [It] should enforce policy based on Ports [Feature:NetworkPolicy]
   test/e2e/network/netpol/network_policy.go:1452

I'll adjust the skip statement to avoid SCTP policy tests.

/test-upstream-k8s


Create a customized WasmEdge for dapr

The WasmEdge GO SDK allows developers to register host functions to the runtime, and create a customized version of WasmEdge that includes the host functions.
We should add Dapr GO SDK functions into a customized version of WasmEdge.
We should then create Rust APIs for those Dapr host functions so that WasmEdge app developers can use them.

Very glad and looking forward to seeing it!
I am also interested in combining dapr with wasm, and am now a newbie to wasm. I am more familiar with dapr, whoever is in charge of this work can contact me, I am very happy and willing to build together or provide help if needed.
Besides, and it's just my personal opinion, I think there may be various ABI standards for different purposes. If the extension of abi is plug-in, it can be very convenient for others to extend their own abi based on your project.


Extend the Migration examples project (#7077)

Rework of #7077 after squash error in there.

Closed in favour of #7102.


Syntax highlighting is broken

Syntax highlighting was broken by the last commit

Possible false alarm; still investigating

User error; disregard.


I follow "Enable CMakePresets.json integration in Visual Studio" but there is no CMakePresets.json generated at all!?!

[Enter feedback here]

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

ID: 18671a37-b8d9-b8cd-51fc-c1cd267e6af5
Version Independent ID: 6f0932ad-998a-9449-dfff-259452ba20d5
Content: Configure and build with CMake Presets
Content Source: docs/build/cmake-presets-vs.md
Product: visual-cpp
Technology: cpp-tools
GitHub Login: @corob-msft
Microsoft Alias: corob

@khteh
I'm sorry you're having difficulty. If you create a new project by using the CMake Project template, it should create a CMakePresets.json file for you. Since this sounds like a support question rather than a documentation question, I'm closing it. For support, I recommend Microsoft Docs Q&A. Best of luck with your code.


does array have to always show one initial item and then be saved as [null]?

I find the default behaviour a bit messy. I have an array where unless I specifically want to add something, I don't wanna see anything but the add button.
Is there a way to default the form to a state where empty arrays don't show any items, as opposed to the default behaviour of showing one empty item?

Yes, under the array section of the documentation it states:

By default the array will start with one undefined value so that the user is presented with one a form, to suppress this set the attribute startEmpty to true.


Manual input

Define function which will prompt the coordinates of the checker to be moved, validate them, and make move. Then add opportunity to use it instead of computer player.

Commit 9974fcb9eeef14dbfb07f18249828b4a6101246a


LibGDX

The use of classes such as Display should work even if the user doesn't have LibGDX

The classes are now abstract with the actual backend implementation in separate classes. Not having LibGDX still produces errors but it is localized to non-crucial classes.


"master branch" link in readme is broken

Alex is not publishing it now.

This was closed in #123 .


[FLINK-16060][task] Implement working StreamMultipleInputProcessor

This PR adds a basic support for multiple input operators and relevant interfaces.
This doesn't fully support input selection, watermarks, latency markers and keyed context yet.
Verifying this change
This change adds couple of new test classes, most importantly MultipleInputStreamTaskTest
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

Test failures are unrelated. Travis was already fixed on latest master while azure is a new one

Yes, we can remove it or keep it as we prefer. Thanks for the reviews. Will rename the method to transform and merge.


Update the Templates Section

Update the templates section to provide clearer instructions how to use this feature. Some of the sections within the template parent folder have been reorganised.

Thank you!


⚠ ClamAV has degraded performance

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

HTTP code: 200
Response time: 564 ms

Resolved: ClamAV performance has improved in 9ca6810.


Dataset + training script for re-training the EMOCA controlnet?

Thanks for this awesome work.
I am looking through the paper and code, but can't seem to find many details on exactly how you trained the EMOCAv2-driven controlnet?
Would you potentially be able to post a training script or some details about how exactly this model was trained? Also was it trained on the same dataset as arc2face, and how long was it trained for?
Thanks again!

Hello,
ControlNet's training was done based on the official example script provided by diffusers with minor adjustments (e.g. using our ArcFace conditioning mechanism and our pre-trained checkpoints).
We used only FFHQ to train the ControlNet. You should get good results relatively early. In our case, we trained it for 50 epochs with a learning rate of 1e-5.
To generate the conditioning EMOCAv2 normal maps of the FFHQ images, you can follow our code here.

Hello,
ControlNet's training was done based on the official example script provided by diffusers with minor adjustments (e.g. using our ArcFace conditioning mechanism and our pre-trained checkpoints).
We used only FFHQ to train the ControlNet. You should get good results relatively early. In our case, we trained it for 50 epochs with a learning rate of 1e-5.
To generate the conditioning EMOCAv2 normal maps of the FFHQ images, you can follow our code here.

Thank you very much!


A bug fix and an improvement to Tests.

Hi @jackqq, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla.microsoft.com.

TTYL, MSBOT;


VS Code users are prompted to sign in after they install the extension

AppMap prompts the user to sign in immediately after they install the extension.
Mockup:

Loom:
https://www.loom.com/share/fa746f05ed314fc4a7ca3097188ed268
@Daniel-Warner-X todo: create a better list of benefits that a user receives for logging in
@typaulhus todo: implement UI based on Adam's branch that creates the pages: https://github.com/getappmap/appmap-js/pull/877

PR for the VS Code extension is here: https://github.com/getappmap/vscode-appland/pull/549


Specifying multiple Julia versions results in a invalid literal for int() build error on myBinder

Bug description
When a Julia package specify more than one Julia version in the [compat] section of the Project.tomlfile (e.g.julia = "1.3.1,1.3,1.4,1.5") the build step of myBinder.org returns with an error Error during build: invalid literal for int() with base 10: '1,1'`.
In this discourse thred  @minrk suggests that the problem may be related to the semver matcher.
How to reproduce
Include more than one Julia version in the [compat] section of the Project.tomlfile (e.g.julia = "1.3.1,1.3,1.4,1.5"`) on a Julia project you want to render on myBinder.org.

This issue has been mentioned on Jupyter Community Forum. There might be relevant details there:
https://discourse.jupyter.org/t/julia-mybinder-build-error-invalid-literal-for-int-with-base-10/4755/5

Very briefly look over https://github.com/jupyter/repo2docker/blob/master/repo2docker/buildpacks/julia/semver.py, it seems there is just no support for comma separated lists there.
It does look like ranges are supported, see examples here. That might be a short-term workaround.
While I think it would be good to add support for lists, it is worth pointing out that julia = "1.3.1,1.3,1.4,1.5" is almost equivalent to julia = 1.3, because any version newer or equal to 1.3.0 and older than 2.0.0 will match that version specifier.


✨ [New Demo Request]: CSS Painting API Demo

Please include the request by answering these questions.
What is the Example and Demo Topic?
CSS Painting API
Please explain why do you need it?
The CSS Painting API — allows developers to write JavaScript functions that can draw directly into an element's background, border, or content.
Concepts and usage
Essentially, the CSS Painting API contains functionality allowing developers to create custom values for paint(), a CSS  function. You can then apply these values to properties like background-image to set complex custom backgrounds on an element.
Any Links, Reads?
https://developer.mozilla.org/en-US/docs/Web/API/CSS_Painting_API
If you are picking up this request to implement, PLEASE READ THIS

HOW TO ADD A DEMO

So what we have to do ??
Do we need to add a project by using it??

So what we have to do ??
Do we need to add a project by using it??

As described in the issue, you need to read the guide first on how to add a demo. Then prepare a quality example using it and add.
Please let me know, if you are picking it up.

Ok sir I will make and tell you

Should I assign it to you so that no one else pick it up?

Ok

There are wide range of paint() uses would you suggest what should be included in example ??

Every time dynamic colour baground ??

Every time dynamic colour baground colour ??

I like this Idea

Every time dynamic colour baground colour ??

I like this Idea

May be on multiple divs/boxes.. Go as innovative as possible.. let's make it a great demo.

Send me the steps you are following.

Git clone.
cd ________
Npm run dev

You need to first install dependencies using npm install before you do npm run dev

Sorry I didn't type here but I have done it I think problem is in my node version

possibly. Use NVM to install and switch to another version. Preferred > 12.7.0

Do you want to say npm ??

No NVM: https://docs.microsoft.com/en-us/windows/dev-environment/javascript/nodejs-on-windows

Do you want to say npm ??

No NVM: https://docs.microsoft.com/en-us/windows/dev-environment/javascript/nodejs-on-windows

I use Linux sir. (Raspberry pi).wait I will try to update


aarch64 wheels for cupy-cuda11+ in PyPI

Description
In issue https://github.com/cupy/cupy/issues/3196, a wheel was provided for cupy-cuda102.
I need to install cupy-cuda115 for an arm/aarch64 system, which don't have aarch64 wheels available in PyPI.
Can arm/aarch64 cupy-cuda11x wheels be uploaded to PyPI?
Thanks.
Additional Information
No response

FWIW https://github.com/cupy/cupy-release-tools/pull/254 seems to be addressing this :pray:

Hi @sevagh, thanks for the request! We are thinking of putting it on our pip repository (we currently use it to host pre-release wheels: https://pip.cupy.dev/pre/) so that users can install aarch64 wheels via pip install cupy-cudaXXX -f https://pip.cupy.dev/aarch64/.
Do you only need cupy-cuda115 for now? I'd like to start with minimal needed 😃

Sorry for the delayed response, I'll try to put wheels within this week.

Hi @sevagh, I put CuPy v10.5.0 aarch64 wheels here:
https://github.com/kmaehashi/cupy-aarch64-wheel/releases/tag/v10.5.0
Could you test the wheel, as we don't have CUDA 11.x + Arm server environment? Here is the step to run smoke tests, which we usually do before shipping:
git clone https://github.com/cupy/cupy-release-tools.git
cd cupy-release-tools
git checkout v10
./dist.py \
    --action verify \
    --target wheel-linux \
    --cuda 11.5-aarch64 \
    --python 3.8 \
    --dist /path/to/cupy_cuda115-10.5.0-cp38-cp38-manylinux2014_aarch64.whl \
    --test release-tests/common \
    --test release-tests/sparse

This builds a Docker image to verify the wheel, then run release-tests inside the Docker container.
cc/ @pentschev

:pray: testing now

Thanks! Once the test pass I'll put it on pip.cupy.dev.

All aarch64 wheels are now accessible from the index! https://pip.cupy.dev/aarch64/
CuPy v10

pip install cupy-cuda102 -f https://pip.cupy.dev/aarch64
pip install cupy-cuda115 -f https://pip.cupy.dev/aarch64

CuPy v11 pre-release

pip install --pre cupy-cuda102 -f https://pip.cupy.dev/aarch64
pip install --pre cupy-cuda11x -f https://pip.cupy.dev/aarch64 (for CUDA 11.2+)

We have no plan to release cupy-cuda110 and cupy-cuda111 for aarch64.

Thanks @kmaehashi !

I've confirmed cupy-cuda11x work with Arm/NVIDIA T4G on AWS g5g.xlarge instance with CUDA 11.7.
>>> import cupy
>>> cupy.show_config()
OS                           : Linux-5.13.0-1031-aws-aarch64-with-glibc2.29
Python Version               : 3.8.10
CuPy Version                 : 11.0.0rc1
CuPy Platform                : NVIDIA CUDA
NumPy Version                : 1.23.1
SciPy Version                : None
Cython Build Version         : 0.29.24
Cython Runtime Version       : None
CUDA Root                    : /usr/local/cuda
nvcc PATH                    : /usr/local/cuda/bin/nvcc
CUDA Build Version           : 11070
CUDA Driver Version          : 11070
CUDA Runtime Version         : 11070
cuBLAS Version               : (available)
cuFFT Version                : 10702
cuRAND Version               : 10210
cuSOLVER Version             : (11, 3, 5)
cuSPARSE Version             : (available)
NVRTC Version                : (11, 7)
Thrust Version               : 101500
CUB Build Version            : 101500
Jitify Build Version         : <unknown>
cuDNN Build Version          : None
cuDNN Version                : None
NCCL Build Version           : None
NCCL Runtime Version         : None
cuTENSOR Version             : None
cuSPARSELt Build Version     : None
Device 0 Name                : NVIDIA T4G
Device 0 Compute Capability  : 75
Device 0 PCI Bus ID          : 0000:00:1F.0
>>> cupy.arange(10)
array([0, 1, 2, 3, 4, 5, 6, 7, 8, 9])

This is super cool, thanks @kmaehashi for testing and reporting that!


[EasyCodingStandard] Ignore a sniff locally

Hello,
I am migrating a legacy code base that is including PHP CodeSniffer to EasyCodingStandard. The code base uses Laravel as dependency and extends some of the classes, such as Request or Command.
I want to put in place enforcing parameter type hinting and return type hinting. Now the issue with classes extending Request::class or Command::class is that the parent class doesn't enforce parameter type hinting for instance. So I know that with ECS I can ignore a whole file for a specific sniff, but I was wondering if it was possible to just ignore one method and still enforce sniff on others.
For example, one of the class extending one of Laravel's:
<?php
namespace App\Console\Commands;

use Illuminate\Console\GeneratorCommand;

class MakeApiRouteCommand extends GeneratorCommand
{
     // code...

    /**
     * @param string $name
     *
     * @return string
     *
     * @phpcsSuppress SlevomatCodingStandard.TypeHints.TypeHintDeclaration.MissingParameterTypeHint
     */
    protected function getPath($name): string
    {
        return \sprintf('%s/api.php', $this->routesPath());
    }

   // code...
}

<?php

namespace Illuminate\Console;

abstract class GeneratorCommand extends Command
{
   // code...

    /**
     * Get the destination class path.
     *
     * @param  string  $name
     * @return string
     */
    protected function getPath($name)
    {
        $name = Str::replaceFirst($this->rootNamespace(), '', $name);

        return $this->laravel['path'].'/'.str_replace('\\', '/', $name).'.php';
    }

   // code...
}

Now with PHP CodeSniffer, I could enforce type hinting everywhere in MakeApiRouteCommand::class, but I can't see a way to support that in ECS. I looked at the documentation, but it's the whole files.
What would be your recommendation?
Thanks in advance.

Hey, the current approach is to ignore whole file by rule:
https://github.com/Symplify/EasyCodingStandard#ignore-what-you-cant-fix
Annotation were removed not added, as they often poluted lot of PHP code, instead of fixing it.
Also, this is rather bug that breaks code on Slevomat CodingStandard package's side, so it should be fixed there. Ignoring it is just workaround

Right, I thought so too.
They recommend disabling or ignoring:

This sniff can cause an error if you're overriding or implementing a parent method which does not have typehints. In such cases add @phpcsSuppress SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingNativeTypeHint annotation to the method to have this sniff skip it.

So I think for them the workaround is the go-to method in those cases.
I guess I'll treat those classes as a place where stuff can't be enforced for specific sniff if the parent isn't following that standard. I looked into injecting instead extending but that is not possible (or without a major overhaul anyway).
I'll remove the type hinting rule for now, and I'll introduce only this one to fix issues case by case.
Thanks for your help.


[CSS] keyframes peek/go-to definition doesn't seem to work

Documentation states:
”Goto Declaration and Find References
“This is supported for keyframes and variables in the same file.”
but it doesn’t look like this works for @keyframes (it does work for SASS variables)
For example with the following code:
@keyframes progress {
    0% { background-position: 0; opacity: 0; }
    100% { background-position: 100% 0; opacity: 0; }
}

body {
  animation-name: progress;
}

Results in this:

I'd expect it to go to the keyframes line when I right click on animation-name's value.
Strangely if you right click on any of the properties inside the keyframes, it offers both options, but they do nothing (as there is no definition)

This got fixed in in the meantime, tested in 1.19.


Why would you do this?

You have 3 lines of code, and hundreds of lines of text...Why make it a package????

https://github.com/kevva/is-positive/issues/11


Audit Fixes

A few minor NPM audit fixes that were recommended.

Codecov Report

Merging #316 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #316   +/-   ##
=======================================
  Coverage   97.72%   97.72%
=======================================
  Files           3        3
  Lines          44       44
=======================================
  Hits           43       43
  Misses          1        1

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 243e975...78acc65. Read the comment docs.


Generate OG Image from frontmatter

Example OG image generated:

hmm og:image must be a URL, a relative path from the document does not work :thinking:


AsyncTaskTarget - Unit test MDLC

This change is

Codecov Report

:exclamation: No coverage uploaded for pull request base (dev@39947fb). Click here to learn what that means.
The diff coverage is n/a.

@@          Coverage Diff          @@
##             dev   #3309   +/-   ##
=====================================
  Coverage       ?     80%
=====================================
  Files          ?     356
  Lines          ?   28077
  Branches       ?    3739
=====================================
  Hits           ?   22490
  Misses         ?    4503
  Partials       ?    1084

Thanks!


feat: add dark mode styling

@turq84 the theme check for the system preferences to load the light or dark mode theme, you already created the light mode styles, we now just need to find this setting to hook it up.

The theme itself will pick it up https://pradyunsg.me/furo/customisation/colors/?highlight=dark#how-light-and-dark-mode-work . The basic idea is that you set the CSS for light styles, and then override what's needed for dark. Most of this can be configured using the theme settings in conf.py rather than overriding in CSS.
From the original request (I'm not sure if this was passed through) "We're using the "Furo" theme which as you've already observed has support for dark mode built in.
The theme aims to be completely configurable from conf.py and allows loads of variables for light and dark modes (the light ones are always loaded, the dark ones are then conditionally loaded later so they overwrite). However I suspected that we'd want to add some custom CSS as well so I've created and configured the include for /static/css/aiven.css - including an example of the dark mode thing. I found a bunch of variables in https://github.com/pradyunsg/furo/blob/main/src/furo/assets/styles/variables/_index.scss
The little icons I'm using are "replacements" in the text, you can find them at the end of conf.py."

I have updated the conf.py file with the color variables. Thank you, Lorna, for your help!

great job @turq84
@lornajane please check and comment

Ohhh, this looks really good. The only thing I find strange is the highlighting on the fixed-width/code fonts in dark mode. For example this page https://deploy-preview-14--developer-aiven-io-preview.netlify.app/docs/tools/cli.html. If it's a design feature, that's fine :laughing:

Thanks for your feedback @lornajane! Regarding the highlighting, do you mean the background color? The font colors? I took the background color from the Figma design I was given. For the fonts/font colors, I don't recall changing anything.
I assume that you're talking about the attaching coding block, for example:

Would you like for me to change anything?

Ah, sorry, I wasn't clear. Not the code samples, but the literal text in the copy, when in dark mode. I've attached a screenshot, you can see where something is fixed width it's got a background colour on it that looks strange to me.

@lornajane Thanks for your help and patience! I agree with you and I have updated the background color for the code snippets (dark mode). Here's an image of the update. Any thoughts?


Fix bug in METEOR metric due to nltk version

Fix #3883.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


Cannot run on Fedora 30 Wayland

Hey team! I am super interested in trying space-menace but I can't get the dang thing to run! It compiles just fine for me, but won't run. :disappointed: Let me know if I'm doing something wrong or if I found a real bug we can fix.
The error
$ cargo run
    Finished dev [unoptimized + debuginfo] target(s) in 0.19s
     Running `target/debug/space-menace`
[INFO][amethyst::app] Initializing Amethyst...
[INFO][amethyst::app] Version: 0.12.0
[INFO][amethyst::app] Platform: x86_64-unknown-linux-gnu
[INFO][amethyst::app] Amethyst git commit: c72063f13f90bae4ae96b6c96e04a2206493bbf3
[INFO][amethyst::app] Rustc version: 1.39.0-nightly Nightly
[INFO][amethyst::app] Rustc git commit: 72b2abfd65ba024e12d7fe51852a309419f494d8
[WARN][gfx_backend_vulkan] Unable to find layer: VK_LAYER_LUNARG_standard_validation
[WARN][rendy_factory::factory] Slow safety checks are enabled! Disable them in production by enabling the 'no-slow-safety-checks' feature!
[INFO][rendy_util::wrap] Slow safety checks are enabled! You can disable them in production by enabling the 'no-slow-safety-checks' feature!
[INFO][gfx_backend_vulkan]
GENERAL [Loader Message (0)] : Device Extension: VK_KHR_8bit_storage (/usr/lib64/libvulkan_intel.so) version 0.0.1
object info: (type: INSTANCE, hndl:<PHONE_NUMBER>6768)

[INFO][gfx_backend_vulkan]
GENERAL [Loader Message (0)] : Device Extension: VK_KHR_16bit_storage (/usr/lib64/libvulkan_intel.so) version 0.0.1
object info: (type: INSTANCE, hndl:<PHONE_NUMBER>6768)

[ ... snip ... ]

[INFO][gfx_backend_vulkan]
GENERAL [Loader Message (0)] : Device Extension: VK_GOOGLE_hlsl_functionality1 (/usr/lib64/libvulkan_intel.so) version 0.0.1
object info: (type: INSTANCE, hndl:<PHONE_NUMBER>6768)

[INFO][gfx_backend_vulkan]
GENERAL [Loader Message (0)] : Device Extension: VK_NV_compute_shader_derivatives (/usr/lib64/libvulkan_intel.so) version 0.0.1
object info: (type: INSTANCE, hndl:<PHONE_NUMBER>6768)

WARN][rendy_wsi] Image count not supported. Supported: 4..4294967295, requested: 3
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: ErrorMessage { msg: "Image count not supported." }', src/libcore/result.rs:1084:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
[ERROR][rendy_resource::escape] Terminal must be dropped after all `Escape`s
[ERROR][rendy_resource::escape] Terminal must be dropped after all `Escape`s
[ERROR][rendy_resource::escape] Terminal must be dropped after all `Escape`s
[ERROR][rendy_memory::allocator::dynamic] Memory leak: SizeEntry(139264) is still used
[ERROR][rendy_memory::allocator::dynamic] Memory leak: SizeEntry(12288) is still used
[ERROR][rendy_memory::allocator::dynamic] Memory leak: SizeEntry(65536) is still used
[ERROR][rendy_memory::allocator::dynamic] Memory leak: SizeEntry(524288) is still used
[ERROR][rendy_memory::allocator::dynamic] Memory leak: SizeEntry(4194304) is still used
[ERROR][rendy_memory::allocator::dynamic] Memory leak: SizeEntry(155648) is still used
[ERROR][rendy_memory::allocator::dynamic] Memory leak: SizeEntry(1048576) is still used
[ERROR][rendy_resource::escape] `Escape` was dropped after a `Terminal`?
[ERROR][rendy_resource::escape] `Escape` was dropped after a `Terminal`?
[ERROR][rendy_resource::escape] `Escape` was dropped after a `Terminal`?
[ERROR][rendy_resource::escape] `Escape` was dropped after a `Terminal`?
[ERROR][rendy_resource::escape] `Escape` was dropped after a `Terminal`?
[ERROR][rendy_resource::escape] `Escape` was dropped after a `Terminal`?
[ERROR][rendy_resource::escape] `Escape` was dropped after a `Terminal`?
[ERROR][rendy_resource::escape] `Escape` was dropped after a `Terminal`?
[ERROR][rendy_resource::escape] `Escape` was dropped after a `Terminal`?
[ERROR][rendy_resource::escape] `Escape` was dropped after a `Terminal`?
[ERROR][rendy_resource::escape] `Escape` was dropped after a `Terminal`?
[ERROR][rendy_resource::escape] `Escape` was dropped after a `Terminal`?
[ERROR][rendy_resource::escape] `Escape` was dropped after a `Terminal`?
[ERROR][rendy_resource::escape] `Escape` was dropped after a `Terminal`?
[ERROR][rendy_resource::escape] `Escape` was dropped after a `Terminal`?
[ERROR][rendy_resource::escape] `Escape` was dropped after a `Terminal`?
[ERROR][rendy_resource::escape] `Escape` was dropped after a `Terminal`?
[ERROR][rendy_resource::escape] `Escape` was dropped after a `Terminal`?
[ERROR][rendy_resource::escape] `Escape` was dropped after a `Terminal`?
[ERROR][rendy_resource::escape] `Escape` was dropped after a `Terminal`?
[ERROR][rendy_resource::escape] `Escape` was dropped after a `Terminal`?
[ERROR][rendy_resource::escape] `Escape` was dropped after a `Terminal`?
Segmentation fault (core dumped)

Host info
$ rustc --version
rustc 1.39.0-nightly (72b2abfd6 2019-08-29)
$ cargo --version
cargo 1.39.0-nightly (22f7dd049 2019-08-27)
$ uname -s -r -v -m -p -i -o
Linux 5.2.9-200.fc30.x86_64 #1 SMP Fri Aug 16 21:37:45 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

I am running Wayland on Fedora 30.
Misc debugging info
Full cargo run logs
Packages installed on my system

Try compiling and running it with optimizations enabled:
cargo run - - release

@clemarescx :confused:
$ cargo run --release
    Finished release [optimized] target(s) in 0.20s
     Running `target/release/space-menace`
[INFO][amethyst::app] Initializing Amethyst...
[INFO][amethyst::app] Version: 0.12.0
[INFO][amethyst::app] Platform: x86_64-unknown-linux-gnu
[INFO][amethyst::app] Amethyst git commit: c72063f13f90bae4ae96b6c96e04a2206493bbf3
[INFO][amethyst::app] Rustc version: 1.39.0-nightly Nightly
[INFO][amethyst::app] Rustc git commit: 72b2abfd65ba024e12d7fe51852a309419f494d8
[WARN][rendy_factory::factory] Slow safety checks are enabled! Disable them in production by enabling the 'no-slow-safety-checks' feature!
[INFO][rendy_util::wrap] Slow safety checks are enabled! You can disable them in production by enabling the 'no-slow-safety-checks' feature!
[WARN][rendy_wsi] Image count not supported. Supported: 4..4294967295, requested: 3
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: ErrorMessage { msg: "Image count not supported." }', src/libcore/result.rs:1084:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
Segmentation fault (core dumped)

Error log with RUST_BACKTRACE=full

Likely resolved by https://github.com/amethyst/rendy/issues/182

@azriel91 Any way I can verify that before closing the issue? I'm not sure how to trick Cargo into using the master version of rendy. :thinking: :confused:

yeap, add this to Cargo.toml:
[patch.crates-io]
rendy = { git = "https://github.com/amethyst/rendy.git" }

Pending resolution here: https://github.com/amethyst/space-menace/issues/32#issuecomment-526874049

Hmm. Cargo ignores that patch when I add it to Cargo.toml. I haven't dug into how to properly patch dependencies. I might dig deeper and let you know what I find.
diff --git a/Cargo.toml b/Cargo.toml
index 03cb355..4971505 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -11,7 +11,9 @@ log = "*"
 specs-derive = "*"

 [features]
-default = ["metal"]
+default = ["vulkan"]
 metal = ["amethyst/metal"]
 vulkan = ["amethyst/vulkan"]

+[patch.crates-io]
+rendy = { git = "https://github.com/amethyst/rendy.git" }

diff --git a/Cargo.lock b/Cargo.lock
index f8ab91a..af637e4 100644
--- a/Cargo.lock
+++ b/Cargo.lock

[... snip ...]

@ -4334,10 +4319,15 @@ name = "xml-rs"
 version = "0.8.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"

+[[patch.unused]]
+name = "rendy"
+version = "0.4.0"
+source = "git+https://github.com/amethyst/rendy.git#1980054d9efa3355eaa76163990e7127fb169295"
+

[... snip ...]

I've recreated the problem on Debian Buster with Wayland.
When adding this to Cargo.toml:
[patch.crates-io]
rendy = { git = "https://github.com/amethyst/rendy.git" }

I get the following message:
warning: Patch `rendy v0.4.0 (https://github.com/amethyst/rendy.git#a8ac0de9)` was not used in the crate graph.
Check that the patched package version and available features are compatible
with the dependency requirements. If the patch has a different version from
what is locked in the Cargo.lock file, run `cargo update` to use the new
version. This may also occur with an optional dependency that is not enabled.

I believe Amethyst must be updated to use a newer version of rendy before this will work. If you just want to see it working locally, you could try to apply commit https://github.com/amethyst/rendy/commit/08df51d0a6779601c8f8c37a35c0a181bd00b55f to https://github.com/amethyst/rendy/commit/b3904b6ce4bbedafd67c2709e1483dace25d0191 and patch that into Cargo.toml (untested).
If it will be a while before Amethyst can use rendy v0.4.0, perhaps a backported fix can be released as v0.3.3?

Any word on this? Think we could get a backport or could we merge Amethyst libraries to using rendy >= 0.4.0? I can't run any of the Amethyst showcase projects or the 2D project template.

@pop I don't have much knowledge on this. May be @azriel91 or some other member from the core Amethyst team can help.

The master branch of amethyst has got rendy 0.4.1 (amethyst_rendy/Cargo.toml), so the patch should hopefully work if you cargo update as well (seeing that space-menace master depends on amethyst master).
Repasting here for convenience:
[patch.crates-io]
rendy = { git = "https://github.com/amethyst/rendy.git" }

The fix seems to not be included in 0.4.1
See https://github.com/amethyst/rendy/blob/v0.4.1/graph/src/node/render/pass.rs#L443

To test a hypothetical 0.4.2 release of rendy, you can use the following patches to the current master branch of amethyst:
diff --git a/Cargo.toml b/Cargo.toml
index a3cdf092..179e0994 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -350,3 +350,5 @@ required-features = [ "tiles" ]
 [package.metadata.docs.rs]
 features = ["animation", "audio", "gltf", "tiles", "json", "locale", "network", "sdl_controller", "vulkan"]

+[patch.crates-io]
+rendy = { git = "https://github.com/mxgrey/rendy", branch = "test_0.4.2" }
diff --git a/amethyst_rendy/Cargo.toml b/amethyst_rendy/Cargo.toml
index f227b694..1b7e77e0 100644
--- a/amethyst_rendy/Cargo.toml
+++ b/amethyst_rendy/Cargo.toml
@@ -25,7 +25,7 @@ glsl-layout = "0.3"
 lazy_static = "1.3"
 log = "0.4"
 palette = { version = "0.4", features = ["serde"] }
-rendy = { version = "0.4.1", default-features = false, features = ["base", "mesh-obj", "texture-image", "texture-palette", "serde-1"] }
+rendy = { version = "0.4.2", default-features = false, features = ["base", "mesh-obj", "texture-image", "texture-palette", "serde-1"] }
 ron = "0.5"
 serde = { version = "1", features = ["serde_derive"] }
 fnv = "1"

This uses a fork I've made of rendy where only the pertinent fix was added to v0.4.1.

Exporting the environment variable WINIT_UNIX_BACKEND=x11 seems to also be a valid workaround until a fix makes it into an Amethyst release.


Make Option a monad

Description
If I'm not mistaken, "Option" is not a monad yet, like for example in Haskell. It would be nice to be able to do something like:
arr.get? i >>= String.toNat? >>= ...
If wanted, I can provide a pull request.
Versions
4.0.0-nightly-2021-12-08

https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/Option.20do.20notation.20regression.3F

Thanks!


Remove these text from from the output

Hostname sellingpartnerapi-eu.amazon.com was found in DNS cache * Trying <IP_ADDRESS>... * TCP_NODELAY set * Connected to sellingpartnerapi-eu.amazon.com (<IP_ADDRESS>) port 443 (#0) * ALPN, offering http/1.1 * Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH * successfully set certificate verify locations: * CAfile: /etc/ssl/certs/ca-certificates.crt CApath: /etc/ssl/certs * SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256 * ALPN, server accepted to use http/1.1 * Server certificate: * subject: CN=sellingpartnerapi-eu.amazon.com * start date: Apr 4 00:00:00 2021 GMT * expire date: May 3 23:59:59 2022 GMT * issuer: C=US; O=Amazon; OU=Server CA 1B; CN=Amazon * SSL certificate verify ok. > GET /orders/v0/orders?MarketplaceIds=XXXXXXXXXX&OrderStatuses=Pending&CreatedAfter=2022-01-05 HTTP/1.1 host: sellingpartnerapi-eu.amazon.com accept: application/json user-agent: spapi_client x-amz-access-token: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXx-amz-date: 20220113T111857Z x-amz-security-token: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX Authorization: AWS4-HMAC-SHA256 Credential=XXXXXXXXXX/20220113/eu-west-1/execute-api/aws4_request, SignedHeaders=host;user-agent;x-amz-access-token;x-amz-date;x-amz-security-token, Signature=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX < HTTP/1.1 200 OK < Date: Thu, 13 Jan 2022 11:18:57 GMT < Content-Type: application/json < Content-Length: 850 < Connection: keep-alive < x-amzn-RequestId: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX < x-amzn-RateLimit-Limit: 0.0167 < x-amz-apigw-id: L4aZRGuMDoEF-XA= < X-Amzn-Trace-Id: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX < * Connection #0 to host sellingpartnerapi-eu.amazon.com left intact * Hostname sellingpartnerapi-eu.amazon.com was found in DNS cache * Trying <IP_ADDRESS>... * TCP_NODELAY set * Connected to sellingpartnerapi-eu.amazon.com (<IP_ADDRESS>) port 443 (#0) * ALPN, offering http/1.1 * Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH * successfully set certificate verify locations: * CAfile: /etc/ssl/certs/ca-certificates.crt CApath: /etc/ssl/certs * SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256 * ALPN, server accepted to use http/1.1 * Server certificate: * subject: CN=sellingpartnerapi-eu.amazon.com * start date: Apr 4 00:00:00 2021 GMT * expire date: May 3 23:59:59 2022 GMT * issuer: C=US; O=Amazon; OU=Server CA 1B; CN=Amazon * SSL certificate verify ok. > GET /orders/v0/orders/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/orderItems HTTP/1.1 host: sellingpartnerapi-eu.amazon.com accept: application/json user-agent: spapi_client x-amz-access-token: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXx-amz-date: 20220113T111857Z x-amz-security-token:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX Authorization: AWS4-HMAC-SHA256 Credential=XXXXXXXXXXXXXXX/20220113/eu-west-1/execute-api/aws4_request, SignedHeaders=host;user-agent;x-amz-access-token;x-amz-date;x-amz-security-token, Signature=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX < HTTP/1.1 200 OK < Date: Thu, 13 Jan 2022 11:18:58 GMT < Content-Type: application/json < Content-Length: 639 < Connection: keep-alive < x-amzn-RequestId: e1e6f30f-890b-4c42-9e22-330c5da77f51 < x-amzn-RateLimit-Limit: 0.5 < x-amz-apigw-id: L4aZVHj2joEFfqw= < X-Amzn-Trace-Id: Root=1-61e00aa1-3d62f1603db51a324b3106b6 < * Connection #0 to host sellingpartnerapi-eu.amazon.com left intact

Hostname sellingpartnerapi-eu.amazon.com was found in DNS cache * Trying <IP_ADDRESS>... * TCP_NODELAY set * Connected to sellingpartnerapi-eu.amazon.com (<IP_ADDRESS>) port 443 (#0) * ALPN, offering http/1.1 * Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@strength * successfully set certificate verify locations: * CAfile: /etc/ssl/certs/ca-certificates.crt CApath: /etc/ssl/certs * SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256 * ALPN, server accepted to use http/1.1 * Server certificate: * subject: CN=sellingpartnerapi-eu.amazon.com * start date: Apr 4 00:00:00 2021 GMT * expire date: May 3 23:59:59 2022 GMT * issuer: C=US; O=Amazon; OU=Server CA 1B; CN=Amazon * SSL certificate verify ok. > GET /orders/v0/orders?MarketplaceIds=XXXXXXXXXX&OrderStatuses=Pending&CreatedAfter=2022-01-05 HTTP/1.1 host: sellingpartnerapi-eu.amazon.com accept: application/json user-agent: spapi_client x-amz-access-token: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXx-amz-date: 20220113T111857Z x-amz-security-token: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX Authorization: AWS4-HMAC-SHA256 Credential=XXXXXXXXXX/20220113/eu-west-1/execute-api/aws4_request, SignedHeaders=host;user-agent;x-amz-access-token;x-amz-date;x-amz-security-token, Signature=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX < HTTP/1.1 200 OK < Date: Thu, 13 Jan 2022 11:18:57 GMT < Content-Type: application/json < Content-Length: 850 < Connection: keep-alive < x-amzn-RequestId: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX < x-amzn-RateLimit-Limit: 0.0167 < x-amz-apigw-id: L4aZRGuMDoEF-XA= < X-Amzn-Trace-Id: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX < * Connection #0 to host sellingpartnerapi-eu.amazon.com left intact * Hostname sellingpartnerapi-eu.amazon.com was found in DNS cache * Trying <IP_ADDRESS>... * TCP_NODELAY set * Connected to sellingpartnerapi-eu.amazon.com (<IP_ADDRESS>) port 443 (#0) * ALPN, offering http/1.1 * Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@strength * successfully set certificate verify locations: * CAfile: /etc/ssl/certs/ca-certificates.crt CApath: /etc/ssl/certs * SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256 * ALPN, server accepted to use http/1.1 * Server certificate: * subject: CN=sellingpartnerapi-eu.amazon.com * start date: Apr 4 00:00:00 2021 GMT * expire date: May 3 23:59:59 2022 GMT * issuer: C=US; O=Amazon; OU=Server CA 1B; CN=Amazon * SSL certificate verify ok. > GET /orders/v0/orders/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/orderItems HTTP/1.1 host: sellingpartnerapi-eu.amazon.com accept: application/json user-agent: spapi_client x-amz-access-token: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXx-amz-date: 20220113T111857Z x-amz-security-token:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX Authorization: AWS4-HMAC-SHA256 Credential=XXXXXXXXXXXXXXX/20220113/eu-west-1/execute-api/aws4_request, SignedHeaders=host;user-agent;x-amz-access-token;x-amz-date;x-amz-security-token, Signature=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX < HTTP/1.1 200 OK < Date: Thu, 13 Jan 2022 11:18:58 GMT < Content-Type: application/json < Content-Length: 639 < Connection: keep-alive < x-amzn-RequestId: e1e6f30f-890b-4c42-9e22-330c5da77f51 < x-amzn-RateLimit-Limit: 0.5 < x-amz-apigw-id: L4aZVHj2joEFfqw= < X-Amzn-Trace-Id: Root=1-61e00aa1-3d62f1603db51a324b3106b6 < * Connection #0 to host sellingpartnerapi-eu.amazon.com left intact

Well
$config = [
    //Guzzle configuration
    'http' => [
      'verify' => false,    //<--- NOT SAFE FOR PRODUCTION
      'debug' => true       //<--- NOT SAFE FOR PRODUCTION
    ],

You should turn on http verification and turn off the debug mode for PROD


Avatar offset

Hi. is there any way to change the offset of the avatar from the edge of the screen?

Doesn't work for me neither.
I tried:
override func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, insetForSectionAt section: Int) -> UIEdgeInsets {
	return UIEdgeInsets(top: 0,left: 5,bottom: 0,right: 5)
}

Any edge inset you set gets obliterated by a private method in JSQMessagesViewController.m:
- (void)jsq_setCollectionViewInsetsTopValue:(CGFloat)top bottomValue:(CGFloat)bottom
{
    UIEdgeInsets insets = UIEdgeInsetsMake(top, 0.0f, bottom, 0.0f);
    self.collectionView.contentInset = insets;
    self.collectionView.scrollIndicatorInsets = insets;
}

Which is called when the keyboard is shown amongst other things. Also the collection view flow layout doesn't take the contentInset into account when calculating itemWidth, which breaks the layout as in the screenshot above.
collectionView.collectionViewLayout.sectionInset = UIEdgeInsets(top: 16, left: 16, bottom: 16, right: 16)

Seems to be working ok for me.

Glad I could help.


Problems setting nested object using AngularMeteorCollection.save

Suppose I have an object as simple as {brand: 1, value: {sub: 2}}
After setting the field "value" to null through AngularMeteorCollection.save(data), the local collection no longer updates itself to any posterior non-null values on the "value" field (altough the subscription is properly receiving the changes). The field "brand" is normally update though.
PS: I detected this behavior when preparing a sandbox to debug another related problem. In the other scenario, I had a stack trace accusing TypeError inside the function diffObjectChanges on the line var diff = diffObjectChanges(oldItem[key], value); telling Exception in queued task: TypeError: Cannot read property 'blah' of null. Unfortunately I couldn't reproduce this stacktrace on the sandbox, but the steps I used inside my bigger project are just the same.
The sandbox repo is linked here

Thanks @ccortezia !
Do you think you can create failing tests for those scenarios?
Maybe here is meteor collection - https://github.com/Urigo/angular-meteor/blob/master/tests/integration/angular-meteor-collection-spec.js
and unit one in DiffArray - https://github.com/Urigo/angular-meteor/blob/master/tests/integration/angular-meteor-diff-array-spec.js
and maybe something like your example with e2e tests in here:
https://github.com/Urigo/angular-meteor/tree/master/examples
I will have a look on this anyway but those tests will be a great help!

Do you think you can create failing tests for those scenarios?

Certainly. Just need to figure out angular-meteor devel environment first.

Great!
Here are resources about that:
https://github.com/Urigo/angular-meteor/blob/master/README.md#contributor-developer-setup


Update tuyapi to 5.x and adapt tuya-device

Updated to the newest version of tuyapi and adapted the usage of the parser.

Will be handled with a different patch set.


[chart]rich tooltip text overflows outside of the parent div for line chart

Screenshot

Description
The rich tooltip text renders in a table that is inside a parent div that has the max-width set. If the text in the table is too wide, then the text will render outside of the div.
This is being caused by this line setting the max width of the div:
https://github.com/apache-superset/superset-ui/blob/b7a2f5241b56ff78dfb3f53105383fc40b12e0e9/plugins/legacy-preset-chart-nvd3/src/utils.js#L317
You can reproduce this by creating a multiline chart, group by a field with longer strings, and then reducing the width of the chart by resizing your browser window.

@bryanck hey, thanks for reporting issues lately! do you mind include Superset version? this looks like a good first issue, lmk if you would like to work on it.  :) 🙏

@bryanck hey, thanks for reporting issues lately! do you mind include Superset version? this looks like a good first issue, lmk if you would like to work on it.  :) 🙏

This is version 1.0. I can create a PR in superset-ui. I was thinking to remove the max-width setting, which does resolve this.

This is version 1.0. I can create a PR in superset-ui. I was thinking to remove the max-width setting, which does resolve this.


Nostalgy shortcuts activating within Google Calendar Tab add-on

When I open a Google Calendar Tab tab in Thunderbird 52.5.2, and attempted to edit the event, Nostalgy codes are triggering when I try to capitalize letters in, for example, the "details" field of the calendar event.  And, I am not able to enter text into the field, if the text I type corresponds to any of my Nostalgy shortcuts. This has been the case since the new Google Calendar format activated on my google account.  Is there a way to make these two add-ons compatible?

This also happens with the Sieve plugin. A solution might be that Nostalgy only accepts shortcuts on those views / tabs that it is meant to work on.

I am also facing the same issue. I have "Open Google Calendar" addon and whenever I try to type a letter in the event description, which is also a keyboard shortcut for Nostalgy, Nostalgy pops-up. Reall annoying and I am not aware of any known workaround. Is there any way that nostalgy can be restricted to only Email view / tab.

This is a duplicate of https://github.com/alainfrisch/nostalgy/issues/22

Closing, as this is indeed a duplicate.


hdn does not work unless using with pkgs for home.packages

When I run a simple command, it fails
bash $ hdn remove gnome-2048
home.nix doesn't contain any of the specified packages, home-manager switch was not run

Here's my home.packages:
bash $ grep -m 1 home.pack home.nix
  home.packages = [ pkgs.gnome-2048 ];

If I modify to
home.packages = with pkgs; [ gnome-2048 ];

It works.
I also notice the add command does not check if pkgs is necessary, in the other direction, leading to errors on install.

Ah, that's because when using the add and remove commands with hdn, it looks for exact matches in the home.packages list. The intention behind this design is to mirror what users would typically type in their configuration files without using hdn.
For users who have with pkgs in their configuration, they would normally enter gnome-2048 directly into the home.packages list. So, when using hdn, they should run hdn add gnome-2048 or hdn remove gnome-2048.
On the other hand, for users who don't have with pkgs in their configuration, they would typically use pkgs.gnome-2048 in the home.packages list. So, when using hdn, they should run hdn add pkgs.gnome-2048 or hdn remove pkgs.gnome-2048.
This approach aims to maintain consistency between the user's configuration and the command-line arguments used with hdn.
Please let me know if this addresses your issue!

Hmm, perhaps hdn could look for partial matches and provide hints on errors, sort of like rustc's error messages?

I think hints on this one so that the user understands that should try pkgs.gnome-2048 is a good idea!
That could resolve this.
Additionally, it could be very nice to simply tack on pkgs. before failing and give a warning that pkgs. was applied automatically.
I hope that wouldn't be very contentious behavior.


SCSS: Fixed exp time failing of url pattern

This fixes #1937.
Thank you @mhosna.

I will now merge this because of the severity of the problem and the simplicity of the fix.


 Does that mean we'll need to define the weapons before 0.1 then?

I think 'beams' are easy enough, so I hope to get that done for 0.1


Bump to CXF 3.5.0 or move to RESTEasy

Is your feature request related to a problem? Please describe.
In Liberty <IP_ADDRESS>, they introduced support for the Jakarta restful web services 3.0 spec (the successor to JAX-RS 2.1) support via a new restfulWS-3.0 feature:  https://openliberty.io/docs/<IP_ADDRESS>/reference/jaxrs-dif.html
Separately, GitHub's dependabot tried bumping one of our CXF dependency components to version 3.5.0 https://github.com/IBM/FHIR/pull/3203
We should either move to RESTEasy (like Liberty) or work to upgrade our usage of CXF so that we can run our client on Java 17.
Describe the solution you'd like

try moving to RESTEasy
if it proves difficult, upgrade to CXF 3.5.0

Describe alternatives you've considered
Use the new restfulWS-3.0 feature on the server, but keep the client on CXF.
Acceptance Criteria

GIVEN [a precondition]
AND [another precondition]
WHEN [test step]
AND [test step]
THEN [verification step]
AND [verification step]

Additional context
Add any other context or screenshots about the feature request here.

As part of moving to Java 11 (via issue #2477), CXF was upgraded to 3.5.0.


Unable to find appConfig

For some reasons, there is this error raised by
if app_config is None:
                raise Exception(
                    "Unable to find appConfig in {}".format(r.content))

Hello.
I'm using Amazon Japan but I hope this applies to all over the world of Amazon.
It seems Amazon changed the format of response body.
So, in amazonmusic.py, I changed some codes.

step1
Find the line
if 'amznMusic.appConfig = ' in line:
and change to
if 'applicationContextConfiguration = ' in line:

step 2
add the line shown here at just a line below the line modified step1
line = re.sub(r'    var applicationContextConfiguration = ', '',line)

Then, I encounter the issue of the second authentication. But it seems I was able to solve it by exporting cookies from my Chrome browser.
I hope this helps.

@TTSS000 it worked thanks 🥇


build: run CI unit tests using bazel

Caretaker Note: When this goes in we will need to update our required statuses for github to include bazel_build instead of bazel_build_test


How are GraphQL operations stored in a file into a Flutter app managed by Ferry?

When a query is run on the interactive GraphQL interface, an entry is generated in its log, for example:
mygraphql | 2021-09-29T17:22:14.196819135Z 0 error(s) as anonymous in 38.28ms :: mutation PurchaserExists($p1: String!, $p2: String!, $p3: String!, $p4: Int!, $p5: String!, $p6: String!, $p7: Int!, $p8: Int!, $p9: String!) { registerPurchaser( input: {email: $p1, password: $p2, fullName: $p3, iddocType: $p4, iddocNo: $p5, phoneNo: $p6, customerType: $p7, district: $p8, address: $p9} ) { result { uid } } }

So I understand an entry is an operation executed in Postgraphile.
In my Flutter app I have 2 (*.graphql) files, one for queries and another for mutations, then making any request to server from my app (by using Ferry), in the Postgraphile's log an entry is generated, but this entry contains all operations stored in the file where the request was originated.
Example: In fileA.graphql contains 10 queries (query1,query2,...), then the entry generated by Postgraphile is some like this:
mygraphql | 2021-09-29T16:56:08.372551771Z 0 error(s) as anonymous in 4.79ms :: query1 {} query2 {} ... query10 {}

How should I interpret it? Are all queries into that file run when calling a only query? Should I create a file per GraphQL operation?

Similar to your previous issue, it sounds like this is a question about Postgraphile.
With ferry, you can organize your queries and mutations however you wish, whether that's in one file or many.
Please use the github issue tracker for bug reporting and feature requests. If you'd like to ask questions about your integration or other tooling in the graphql ecosystem, please use the Discord channel.


Could not resolve name 'DOMStringMap'

What's the best way to resolve this one?
It's in the standard API so...
index.js:
const rootElement = document.getElementsByClassName('root-element')[0];
ReactDOM.render(<App dataset={rootElement.dataset}/>, rootElement);

App.jsx:
const App = ({dataset}: { dataset: DOMStringMap }) => (
  /* ... */
);

Flow error:
Error: src/App.jsx:19
 19: const App = ({dataset}: { dataset: DOMStringMap }) => (
                                        ^^^^^^^^^^^^ identifier `DOMStringMap`. Could not resolve name

This type needs to be defined in the flow standard typings for the browser environment. Shouldn’t be too hard but someone needs to do it. See lib/bom.js.

This is related: https://github.com/facebook/flow/issues/3355 DOMStringList is not an array of strings.

@asolove @jcready Any news on this one? 🙂


crowbar logo

I'd like to see crowbar have its on logo. It deserves one! I started experimenting with some ideas. let me know what you think @ilianaw . If you like any of these I can send a pull with a png + svg and a readme callout

here's a spin on the rust lang logo. replacing the R with an lambda character. I experimented a bit with various colors. AWS lambda tends toward orange which I'm not a super fan of by keeping a similar color may help draw some familiarity with the aws family crowbar situates itself with

This one is the same but actually brings the word "crowbar" into it. I tried to pick a playful font but cause I crowbar is fun to use. I'm looking for something that kind of reflects that

This is the same sans color in rust's classic black

this is an alternate of the above in "snake" green. some hint towards its python relation maybe. I just like colors but others may find this too much color :)

same as above but crowbar to the side. potentially more efficient use of space in a readme

just crowbar.

Simple is best. Thanks for the quick feedback

went with no. 1. pr here https://github.com/ilianaw/rust-crowbar/pull/55 :)

closed in #55


Build sign-up page UI

https://www.figma.com/file/HMEsyyl6EGJ4hMaGBNtQNe/Donor-and-Volunteer-Experience-%2F-Fall20?node-id=0%3A1
Using the Figma create the sign-up page in the core components folder. Use the Horizon button for the sign-up.
Storybook could be useful in terms of designing the components in isolation.
https://storybook.js.org/docs/react/get-started/introduction
The docs for storybook should help you get started with developing using the UI.
yarn run storybook
When developing the component create a folder in components/core and have the stories.tsx file and the normal component file in the same folder.

Horizon Button will be added with #107.


a full blown solution

hi, how could be possible to make a full stack solution like a small jsfiddle up and running using jotted?
Is this just the frontend?

You'll need a back-end to save the edited content. You could use the GitHub Gist API, or something similar.
You don't need a lot of code for the Jotted integration.
Here's a simple demo that saves all the changes you make to local storage, so they're still there after you refresh the browser:
http://jsbin.com/sebibax/edit?js,output


Add new repository from Bitbucket without restart

After the initial setup of Drone with the Bitbucket remote_driver, newly created Bitbucket repositories are not added to the system unless the Drone container is restarted.
Steps to repo:

Setup drone with Bitbucket
Login to the web interface, note all of your Bitbucket repos
Create a new Bitbucket repo

Expected:
I expected to see the new bitbucket repo in the web interface. I also tried to log in/out. Only after restarting the Drone container did it pull in the new repository.

drone has a 15 minute cache in place, as a result a repository may take 15 minutes for a repository to appear.  The restart isn't technically necessary, since the cache will flush automatically after the 15 minute expiration.
there is another open issue for a refresh button in the UI to manually flush the cache. I will find and re-post the issue number

moved to issue #1232


enable pprof on the metrics endpoint

Problem Statement
Memory usage of supertubes control plane in our clusters is very high. (1924Mi) It would be nice to be able to take a heap dump using pprof.
Proposed Solution

  mgr.AddMetricsExtraHandler("/debug/pprof/", http.HandlerFunc(pprof.Index))

in main.go around line 143
Alternatives Considered
I've not considered alternatives. I am not an expert and do not know them.
Additional Context
It seems like many other operators do this for good reason.

Dear @jrwren !
This is not supertubes control plane.
Please give us more information about the problem.
Thank you!

@bartam1 apologies. I misunderstood this: https://banzaicloud.com/docs/supertubes/overview/
The problem I'm having is that I have a cluster with nearly 4000 secrets of a size large enough that they seem to take a large amount of memory. For all of our in-house developed operators, we've disabled secret caching (or used WatchesMetadata instead of Watches). In one case our operator memory usage fell by ~96% from ~2500MiB to ~50MiB (sorry, I don't recall exact numbers).
I thought supertubes-control-plane was built on koperator. If that isn't the case or if this is the wrong place, then I'll try to find support for supertubes-control-plane elsewhere. Thanks.

@bartam1 apologies. I misunderstood this: https://banzaicloud.com/docs/supertubes/overview/
The problem I'm having is that I have a cluster with nearly 4000 secrets of a size large enough that they seem to take a large amount of memory. For all of our in-house developed operators, we've disabled secret caching (or used WatchesMetadata instead of Watches). In one case our operator memory usage fell by ~96% from ~2500MiB to ~50MiB (sorry, I don't recall exact numbers).
I thought supertubes-control-plane was built on koperator. If that isn't the case or if this is the wrong place, then I'll try to find support for supertubes-control-plane elsewhere. Thanks.

Supertubes control plane is a different operator (Its purpose is to install the Supertubes product's components) . The Supertube product is using Koperator to manage Kafka clusters.


[reelase/1.7] Update container-device-interface to v0.6.2

This includes migrating from the github.com/container-orchestrated-devices repo to tags.cncf.io.
This cherry-picks the changes from #9677 and #9686.

/cc @AkihiroSuda

/ok-to-test


Crash on Ctrl+RMB on machine module

Problem Description
I just tried to clear modules of machine (space thermal radiator, mouse cursor on that module at screenshot) with mouse shortcut (Ctrl+RMB), but something went wrong:
Error while running event factoryplanner::on_gui_click (ID 1)
__factoryplanner__/ui/main/production_handler.lua:183: attempt to index local 'module_set' (a nil value)
stack traceback:
	__factoryplanner__/ui/main/production_handler.lua:183: in function 'handler'
	__factoryplanner__/ui/event_handler.lua:157: in function <__factoryplanner__/ui/event_handler.lua:114>

Reproduction
I can't reproduce it. My case was something like this:

Change tier of radiator from 1 to 2
Revert to tier 1
Copy beacon from other machine in this subfactory and paste over radiator
Add 2 speed modules to radiator
Remove beacon from radiator by Ctrl+RMB
Again paste beacon from clipboard over radiator
Remove modules from radiator by Ctrl+RMB (crash here)

But when I load autosave, this scenario doesn't crash game anymore. Probably I miss some very important little step :(

I dug up something interesting. Bugs, but not crash. But maybe related to crash somehow.
Map for tests: https://sinair.ru/f/BCxTPg (70 MB)
Machine with broken modules slot:

Set any 2 modules in radiator
Ctrl+RMB on machine to reset it
Modules gone. Slot for it too.

Paste modules on machine module slot doesn't work:

Copy modules to clipboard
Open machine module slot gui
Does NOT change anything, leave slot empty and close gui (escape)
Try paste (Shift+LMB) over machine modules slot
Slot stays empty
Second try successfully inserting modules

Hi, thanks for the very detailed report. I think I fixed this for 2.0, after being confused by it for a while myself. Should it not be fixed once 2.0 drops, please let me know.


Percent slider incorrectly set on token allocation edit

Summary
A clear and concise description of what the bug is.
Steps to reproduce

Go to reserved token allocation (either on existing project, or via create)
Create a token allocation
Open existing allocation for edit
See error (no slider set, but percent is - see vid)

Relevant logs and/or screenshots
https://user-images.githubusercontent.com/104132113/174934398-8479fd6d-2d13-4793-8424-c0183bd972e1.mov
Environment

Device/OS: [e.g. iOS]
Browser: [e.g. chrome, safari]
Hardware wallet: [e.g. Ledger w/ Metamask]

@wraeth-eth possible duplicate of https://github.com/jbx-protocol/juice-interface/issues/1199 ? (but not sure, https://github.com/jbx-protocol/juice-interface/issues/1199 has no details heh. Happy to close https://github.com/jbx-protocol/juice-interface/issues/1199 in favor of this issue, and assign it to FC24)

Could be the same by sounds of title - happy for them to be merged


🥅  Improve error handling and logging

This item belongs to payment request #F78085 on OnlyDust:

from oscarwroche to oscarwroche
35 items included
$1,000 for 2 days of work

This item belongs to payment request #D812A4 on OnlyDust:

from oscarwroche to oscarwroche
35 items included
$1,000 for 2 days of work


nsc-events-nextjs_7_383_roleauthorized-my-events-page

Resolves #383
Only the admin can get into this page to see the content

Looks good to me I saw the Unauthorized page when I was logged out and the My Events page when I was logged in. The conflicts don't look too complex but let me know if you need help resolving them!

Looks good to me I saw the Unauthorized page when I was logged out and the My Events page when I was logged in. The conflicts don't look too complex but let me know if you need help resolving them!

Hi @cshimm, I am wordering what is the conflict? So many projects are going for me that's why I am not sure which one. Thank you.

@heosman I tried to fix it again. Please help me to double check on it. Thank you

I feel like it would be nice if you were consistent with how you implement the role checking.
Maybe do the same thing you did in 'my-events' for 'create-event' where it's just one return with an if else statement rather than an isolated if statement:

Other than that and following Isaac's suggestion to rename the component, everything looks good!

Looks good to me I saw the Unauthorized page when I was logged out and the My Events page when I was logged in. The conflicts don't look too complex but let me know if you need help resolving them!

Hi @cshimm, I am wordering what is the conflict? So many projects are going for me that's why I am not sure which one. Thank you.

if you go to the bottom of the page you should see a message notifying you about conflicts with 'main'

if you click that you'll be brought to a basic text editor that shows the code for the file with conflict and 2 blocks of code wrapped with a red line.

These blocks of code are in different branches and are conflicting with each other, so they'll need to be merged manually. You'll need to go through both blocks carefully, including your changes from your branch and avoiding overwriting or deleting any code from 'main'.

@heosman I tried to fix it again. Please help me to double check on it. Thank you

@kaimanasse15 I've tested your PR again and there are still some things you need to fix.
I am experiencing a compile error because of the missing curly brace before the export statement. Here is how you would fix that:

The conditions in the if-else statements on the My Events page and Create Event are different, but that shouldn't be the case. Because of the incorrect if condition and the lack of the else statement, which should be returning the Unauthorized page, the Create Event page is still displaying for unauthorized users. Like @bennettsf mentioned, being consistent with the conditional logic and re-using the Unauthorizedpages component the same way you did on the My Event page should simplify things.  You should also check out @cshimm's instructions of how to resolve the branch conflicts.

@heosman I tried to fix it again. Please help me to double check on it. Thank you

@kaimanasse15 I've tested your PR again and there are still some things you need to fix. I am experiencing a compile error because of the missing curly brace before the export statement. Here is how you would fix that:
The conditions in the if-else statements on the My Events page and Create Event are different, but that shouldn't be the case. Because of the incorrect if condition and the lack of the else statement, which should be returning the Unauthorized page, the Create Event page is still displaying for unauthorized users. Like @bennettsf mentioned, being consistent with the conditional logic and re-using the Unauthorizedpages component the same way you did on the My Event page should simplify things. You should also check out @cshimm's instructions of how to resolve the branch conflicts.

Yeah it showed error when I add one more in. May you passed the full code for me on Slack? Thanks, @heosman

Yeah it showed error when I add one more in. May you passed the full code for me on Slack? Thanks, @heosman
I sent you the code with the curly brace added in on Slack.

@kaimanasse15 I sent you the code with the curly brace added in on Slack.

Hey @heosman, there's been no activity on this PR since you commented a week ago. Do you mind pushing the fix you have to this PR so we can get it merged in?


add cache utility

This pr introduces a simple redis-like cache utility.
Possible use cases:

temporary caching of exchange rates, especially usefull with something like https://github.com/lnbits/lnbits/pull/1789
caching node peer information or payment history in cln at https://github.com/lnbits/lnbits/pull/1702
improving api key validation which currently queries the entire wallet, including balance, see: https://github.com/lnbits/lnbits/blob/bc55d52ea25475a524059fccbc5a35039f8be533/lnbits/decorators.py#L52-L55

Codecov Report

Merging #1790 (97f7b7a) into main (9a0878d) will decrease coverage by 6.34%.
The diff coverage is 91.42%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##             main    #1790      +/-   ##
==========================================
- Coverage   55.44%   49.11%   -6.34%
==========================================
  Files          47       48       +1
  Lines        7250     7306      +56
==========================================
- Hits         4020     3588     -432
- Misses       3230     3718     +488

Impacted Files
Coverage Δ

lnbits/wallets/base.py
77.19% <ø> (-7.02%)
:arrow_down:

lnbits/settings.py
87.55% <33.33%> (-1.28%)
:arrow_down:

lnbits/app.py
43.43% <75.00%> (+0.25%)
:arrow_up:

lnbits/cache.py
92.85% <92.85%> (ø)

lnbits/core/models.py
76.60% <100.00%> (-1.04%)
:arrow_down:

lnbits/core/services.py
38.52% <100.00%> (-8.75%)
:arrow_down:

lnbits/core/views/generic.py
52.63% <100.00%> (+0.25%)
:arrow_up:

lnbits/tasks.py
33.33% <100.00%> (ø)

lnbits/wallets/__init__.py
100.00% <100.00%> (ø)

... and 14 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

cACK

something like this could be used alternatively: https://pypi.org/project/expiring-dict/

LGTM!
Caching exchange info would be very useful

LGTM except for the prefix, either I don't get it or it looks redundant to me.

Cache should not loop over all dictionary entries at every time step and not create a new dictionary to return. Instead use the common pattern for implementing cache:

set value
kick of async task that waits
remove value

I adjusted the task to run every 10s instead of 1 and removed the recreation of the dict - which should be fine. Looping over dict with 100,000 entries takes 4ms on my machine. I think asyncio thanks us aswell for not scheduling thousands of callbacks

In regards to save_result. I could remove it but I think its a pretty common pattern. I already use it in https://github.com/lnbits/lnbits/pull/1702 and it would fit really well into the currency rates and wallet info caching aswell


Fixes #2464

part of relationships updated

@JABelfiore  - Seems the ontology is inconsistent. Let's work through & find the problem in our catchup this week.

@JABelfiore  - I afraid we need to start again.  Too many problems.  Most of them look like this:

This says that:

Every epithelial cell is a goblet cell
Everything that is part of an epithelium is a goblet cell.

So - good we have a reasoner to catch it.
Another example:

Everything that is part of an epithelium is a squamous epithelial cell.  Not sure how that got into an edit on gut cells.
Looking at the diff I can see lots of cases of:
X Equivalent to Y (Everything that is a Y is an X and vice versa)
and
X Equivalent to part_of some Y (Everything that is part_of some Y is an X)
Too many to fix in Protege.
I think important to be able to mentally translate OWL expressions into English and ask yourself if they make sense.


Update known-accounts.json

@themeowing I refactored how the known-accounts are managed; could you provide types for these accounts?  Are they faucets, donation addresses, etc?
{
"address": "ban_3greenp7kzetigfjcfgbis1ad63m4hyyyit9usd1g4byuxg81g79fc8aiwtr",
"alias": "Rainforest Coalition",
"owner": "BananoForest"
},
{
"address": "ban_3greengegg8of5dqjqfzqzkjkkygtaptn39uyja4xncd13eqftcpw4r4xmfb",
"alias": "Cool Earth",
"owner": "BananoForest"
},
{
"address": "ban_3green9hp4hg8ejbpiq5fykktaz3scjoop9nzinq8m8kxu1xi6fi5ds3gwm8",
"alias": "The Amazon Conservation Team",
"owner": "BananoForest"
},
{
"address": "ban_3greenxg9oxkaei556wrxwzwdxie4ehmzhmi7fyztofhantxjysntceq5sx5",
"alias": "The Rainforest Alliance",
"owner": "BananoForest"
},


Set up  Kanban board

 Link to GitHub project: Space_travelers_hub

In this React Group Project we are two Collaborators: @bernabasy and @tobuya.
Each of the team members has assigned themselves to the cards from all categories and time estimate distributions are fair.
Group tasks have been assigned to all members.
All cards on your Kanban board have assignees.

Hello @team
Your project is complete!  There is nothing else to say other than... Congratulations! 🎉
Status: APPROVED :fire:  :fire:
Optional suggestions
Every comment with the [OPTIONAL] prefix won't stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better. Some of them were simply missed by the previous reviewer and addressing them will really improve your application.
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.

Hello, @levy002 Thank you.


whisper_online_server.py not producing a correct text

Hello,
First thanks a lot for opensourcing the software 👍
I encounter some pbs with whisper_online_server.py, it does not seem to work and produce some "random" content. I tested the same file with whisper_online.py and it works perfectly. Any idea what it could be?
Client side
Command
ffmpeg -i GMT20231102-120819_Recording.m4a -f s16le -acodec pcm_s16le - | nc localhost 43007
Log
ffmpeg -i GMT20231102-120819_Recording.m4a -f s16le -acodec pcm_s16le - | nc localhost 43007
ffmpeg version 4.4.2-0ubuntu<IP_ADDRESS> Copyright (c) 2000-2021 the FFmpeg developers
  built with gcc 11 (Ubuntu 11.2.0-19ubuntu1)
  configuration: --prefix=/usr --extra-version=0ubuntu<IP_ADDRESS> --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
  libavutil      56. 70.100 / 56. 70.100
  libavcodec     58.134.100 / 58.134.100
  libavformat    58. 76.100 / 58. 76.100
  libavdevice    58. 13.100 / 58. 13.100
  libavfilter     7.110.100 /  7.110.100
  libswscale      5.  9.100 /  5.  9.100
  libswresample   3.  9.100 /  3.  9.100
  libpostproc    55.  9.100 / 55.  9.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'GMT20231102-120819_Recording.m4a':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: isommp42
    creation_time   : 2023-11-02T12:08:19.000000Z
  Duration: 01:22:02.94, start: 0.000000, bitrate: 127 kb/s
  Stream #0:0(und): Audio: aac (LC) (mp4a / 0x6134706D), 32000 Hz, mono, fltp, 126 kb/s (default)
    Metadata:
      creation_time   : 2023-11-02T12:08:19.000000Z
      handler_name    : AAC audio
      vendor_id       : [0][0][0][0]
Stream mapping:
  Stream #0:0 -> #0:0 (aac (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
Output #0, s16le, to 'pipe:':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: isommp42
    encoder         : Lavf58.76.100
  Stream #0:0(und): Audio: pcm_s16le, 32000 Hz, mono, s16, 512 kb/s (default)
    Metadata:
      creation_time   : 2023-11-02T12:08:19.000000Z
      handler_name    : AAC audio
      vendor_id       : [0][0][0][0]
      encoder         : Lavc58.134.100 pcm_s16le
0 1660  Thank you very much.9.37 bitrate= 512.6kbits/s speed=18.1x
4000 8420  dramatic presentation of a video12.1kbits/s speed=4.89x
8420 12420  for sports.
13260 17020  If you're interested in watching.1kbits/s speed=3.99x
38740 39180  please feel free to leave a= 512.1kbits/s speed=1.95x
42540 42560  please feel free to leave a comment or a like, and don't forget to

Server side
Command
python whisper_online_server.py --min-chunk-size 1
Log
Loading Whisper large-v2 model for en... done. It took 3.65 seconds.
Whisper is not warmed up
whisper-server-INFO: INFO: Listening on('localhost', 43007)
whisper-server-INFO: INFO: Connected to client on ('<IP_ADDRESS>', 56506)
...
INCOMPLETE: (4.04, 10.0, ' Well, that was nice of you. Okay, uh, maybe next time. Take care.')
len of buffer now: 10.37
(None, None, '')
b'C\xfeG\xfeK\xfeP\xfeT\xfe'
65536
PROMPT:
CONTEXT:  Thank you very much.
transcribing 12.42 seconds from 0.00
whisper-server-INFO: Processing audio with duration 00:12.416
>>>>COMPLETE NOW: (None, None, '')
INCOMPLETE: (4.0600000000000005, 12.38, " Well that is it for this episode of Gamer Gear. I hope you enjoyed it. Thank you all for watching. I'll see you all next time.")
len of buffer now: 12.42
(None, None, '')
b'\xdd\xff\xea\xff\x15\x00\xff\xff\xd6\xff'
65536
PROMPT:
CONTEXT:  Thank you very much.
transcribing 14.46 seconds from 0.00
whisper-server-INFO: Processing audio with duration 00:14.464
>>>>COMPLETE NOW: (None, None, '')
INCOMPLETE: (4.36, 13.26, " Well, that was not too hard, was it? No, it was a little bit difficult. It was a long time ago. It's hard to say.")
len of buffer now: 14.46
(None, None, '')
b'<\x07[\x07\x82\x08)\nj\x0c'
65536
PROMPT:
CONTEXT:  Thank you very much.
transcribing 16.51 seconds from 0.00
whisper-server-INFO: Processing audio with duration 00:16.512
>>>>COMPLETE NOW: (None, None, '')
INCOMPLETE: (4.079999999999999, 16.48, ' dramatic presentation of a video that we all enjoy watching. If you enjoy it, please subscribe.')
len of buffer now: 16.51
(None, None, '')
b'\xd3\xfd\xda\xfd\xe2\xfd\xef\xfd\x00\xfe'
65536
...

Hi,
are you sure that the ffmpeg options are correct? For file format conversion, I'm using ffmpeg -i in.mp3 -acodec pcm_s16le -ac 1 -ar 16000 out.wav, in.mp3 is input and out.wav is output.
Furthermore, I think that this way of using ffmpeg flushes all the bytes of the recording at once. If you want to simulate real-time mode, you should make sure it's being sent real-time. I convert file to wav and then I'm using a Python script that outputs X second of audio every X seconds.

Hey Dominik,
Thanks for the reply and sorry for not getting back to you earlier. I'll try different way to stream it and let you know what worked at the end :)