Starter unit test fails when creating a Vue 3 project with TypeScript and Jest

Version
4.5.0
Reproduction link
https://github.com/adarean5/vue3-ts-jest
Environment info
System:
    OS: Windows 10 10.0.19041
    CPU: (12) x64 AMD Ryzen 5 3600 6-Core Processor
  Binaries:
    Node: 12.18.3 - C:\Program Files\nodejs\node.EXE
    Yarn: Not Found
    npm: 6.14.6 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Chrome: 84.0.4147.89
    Edge: Spartan (44.19041.1.0), Chromium (84.0.522.40)
  npmGlobalPackages:
    @vue/cli: Not Found

Steps to reproduce
Run the test:unit script
What is expected?
The starter unit test (/tests/unit/example.spec.ts) should pass with output similar to:
 PASS  tests/unit/example.spec.ts
  HelloWorld.vue
    √ renders props.msg when passed (16ms)

Test Suites: 1 passed, 1 total
Tests:       1 passed, 1 total
Snapshots:   0 total
Time:        1.673s
Ran all test suites.

Process finished with exit code 0

What is actually happening?
Running test:unit produces the following:
 FAIL  tests/unit/example.spec.ts
  ● Test suite failed to run

    C:\Users\Jernej\Documents\Dev_playground\vue3-ts-jest\src\components\HelloWorld.vue:19
    import { toDisplayString as _toDisplayString, createVNode as _createVNode, createStaticVNode as _createStaticVNode, openBlock as _openBlock, createBlock as _createBlock
 } from "vue";
    ^^^^^^

    SyntaxError: Cannot use import statement outside a module

      1 | import { shallowMount } from "@vue/test-utils";
    > 2 | import HelloWorld from<EMAIL_ADDRESS>        | ^
      3 |
      4 | describe("HelloWorld.vue", () => {
      5 |   it("renders props.msg when passed", () => {

      at ScriptTransformer._transformAndBuildScript (node_modules/@jest/transform/build/ScriptTransformer.js:537:17)
      at Object.<anonymous> (tests/unit/example.spec.ts:2:1)

Test Suites: 1 failed, 1 total
Tests:       0 total
Snapshots:   0 total
Time:        3.456s
Ran all test suites.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>test:unit: `vue-cli-service test:unit`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>test:unit script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!      C:\Users\Jernej\AppData\Roaming\npm-cache\_logs\2020-07-25T14_46_08_108Z-debug.log

Process finished with exit code 1

This project was created with the following options selected:
? Please pick a preset: Manually select features
? Check the features needed for your project: Choose Vue version, Babel, TS, PWA, Router, CSS Pre-processors, Linter, Unit
? Choose a version of Vue.js that you want to start the project with 3.x (Preview)
? Use class-style component syntax? No
? Use Babel alongside TypeScript (required for modern mode, auto-detected polyfills, transpiling JSX)? Yes
? Use history mode for router? (Requires proper server setup for index fallback in production) Yes
? Pick a CSS pre-processor (PostCSS, Autoprefixer and CSS Modules are supported by default): Sass/SCSS (with node-sass)
? Pick a linter / formatter config: Prettier
? Pick additional lint features: Lint on save, Lint and fix on commit
? Pick a unit testing solution: Jest
? Where do you prefer placing config for Babel, ESLint, etc.? In dedicated config files

I tried creating a new project with the same settings but with either Vue version 2 or JavaScript instead of TypeScript and they both seem to work.
I tried to apply fixes from what seems like a related issue (https://github.com/vuejs/vue-cli/issues/1584) but sadly none of them worked.

/cc @lmiller1990 @JessicaSachs
I'm not sure but it looks like a vue-jest bug.

Hm, vue-jest, the latest version of test utils and TS definitely do work together, I made a repo that illustrates this here.
I was able to reproduce this. I then created a new project and chose not to use babel alongside TS and it worked fine. I think the problem is related to the babel transpilation running after the TS compilation step.
In the past, when I saw this error, I had to provide the @babel/preset-env to get everything working. :thinking:

@vue/cli-plugin-babel/preset do have enabled module transpilation though.
https://github.com/vuejs/vue-cli/blob/f99079cbb053d539a4e4048770a8a4154407298a/packages/%40vue/cli-plugin-unit-jest/index.js#L13-L15
https://github.com/vuejs/vue-cli/blob/f99079cbb053d539a4e4048770a8a4154407298a/packages/%40vue/babel-preset-app/index.js#L221-L227
I don't know how to debug a Jest transformer but it seems vue-jest failed to pick up this babel config.

It does seem that way. Maybe this is not working in the latest version of vue-jest (5.0.0-alpha something).
What do you think about using ts-jest as the default preset (at least for TS users?) This seems to make sense.

I think the bug may reside here https://github.com/vuejs/vue-jest/blob/e0cbca7920e3afca3bd333377a4e463b57631e66/lib/transformers/typescript.js#L29-L45
A babel config was found so no inline options were applied, but the project babel config did not take effect either.

We have both typescript and typescript-and-babel presets https://github.com/vuejs/vue-cli/tree/dev/packages/%40vue/cli-plugin-unit-jest/presets
Babel was required in many circumstances because of the need for modern mode, auto polyfill injection, and JSX, etc.

Hm, I wonder why this wasn't a problem in the past. That part of vue-jest has not changed. The new SFC compiler, @vue/compiler-sfc, transforms to import/export syntax - perhaps the old one, vue-template-compiler was transforming to require syntax, so that is why no-one noticed.

Interestingly enough digging into the preset we are using, if you commented out babelConfig: true it solves the problem, so the issue is definitely somewhere in vue-jest relating to babelConfig.

Hm, vue-jest, the latest version of test utils and TS definitely do work together, I made a repo that illustrates this here.
I was able to reproduce this following the above steps. I then created a new project and chose not to use babel alongside TS and it worked fine. I think the problem is related to the babel transpilation running after the TS compilation step (maybe the @vue/cli-plugin-typecript-babel-preset)?
In the past, when I saw this error (but in a different context, not a vue-cli project, but I was using jest), I had to provide the @babel/preset-env to with babel get everything working. 🤔
If you just want everything to work @adarean5, you can install the awesome ts-jest preset and setting your preset to ts-jest in jest.config.js. This worked for me.
I wonder if we can just use ts-jest as the preset by default in the Jest cli plugin. @sodatea what do you think? The ts-jest preset seems to work great for both TS and regular JS.

Thank you for the reply and for providing a temporary solution.
The issue might also be related to https://github.com/vuejs/vue-cli/issues/5712 . I remember getting that same message when running the start command.

a mistake when install<EMAIL_ADDRESS>▶ npm i<EMAIL_ADDRESS>npm ERR! code ETARGET
npm ERR! notarget No matching version found for<EMAIL_ADDRESS>npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

npm ERR!      /Users/shun/.npm/_logs/2020-07-29T06_19_36_580Z-debug.log

somethine wrong when publish ?
@sodatea

https://github.com/vuejs/vue-cli/blob/d319007ffa702986e68222f8ca07a59bbfc1dbd8/packages/%40vue/cli-plugin-unit-jest/package.json#L3
4.5.0 definitely exists.

@lefreet If you are using the taobao registry mirror, please switch back to the official one. Seems its synchronization with the upstream registry is broken, I can't get the latest version synced back https://developer.aliyun.com/mirror/npm/package/@vue/cli-plugin-unit-jest

OK, finally succeeded… Please try again.

@sodatea  all right, thanks.

Interestingly enough digging into the preset we are using, if you commented out babelConfig: true it solves the problem, so the issue is definitely somewhere in vue-jest relating to babelConfig.
Actually, maybe not: the babelConfig option is a ts-jest thing. 🤔
I will continue investigating. Maybe ts-jest master @ahnpnl has some pointers on exactly the babelConfig: true option does in ts-jest?

babelConfig: true for ts-jest means:

Ask ts-jest to invoke babel-jest after transforming ts to js with TypeScript Compiler API
Ask babel-jest to automatically find Babel config.

Maybe I should update documentation for ts-jest regarding to the meaning of each possible value for babelConfig

Thanks, I should have read the docs 🤦
Anyway, I have found a fix. It looks like in Vue 2.x, the SFC tool (vue-template-compiler) would compile to commonjs. Vue 3.x compiler, @vue/compiler-sfc, does not - it compiles to ES modules. The error in the first post of this issue is actually the compiled template.
The fix is to compile the template using babel. I was using TypeScript's transpileModule https://github.com/vuejs/vue-jest/blob/e0cbca7920e3afca3bd333377a4e463b57631e66/lib/process.js#L52, see here, which likely is using the tsconfig.json, which is set to module: esnext. Instead, I will just use babel to compile the template (the template is entirely generated by @vue/compiler-sfc, so we don't really care about types here anyway).
I will ping @sodatea when I have fixed this and we can coordinate to include the latest vue-jest for the cli-plugin.

Ok, fixed here: https://github.com/vuejs/vue-jest/pull/260, I also explained how I tested it (basically reproduce this issue, change to my fixed vue-jest, ensure test passes).
Will leave for a day or two so people can review if they want, then release a new version of vue-jest (5.x) this weekend.

I released<EMAIL_ADDRESS>This should hopefully fix it. Can you try yarn add<EMAIL_ADDRESS>@adarean5 and see if this works for you now?

@lmiller1990 Bad news: I did not have this issue previously (as I don't use Babel alongside TS), but I'm now encountering it with<EMAIL_ADDRESS>Repro:
vue create vue-jest-alpha-2 --inlinePreset '{"useConfigFiles": true,"plugins": {"@vue/cli-plugin-typescript": {"classComponent": false},"@vue/cli-plugin-unit-jest": {}},"vueVersion": "3"}'
cd vue-jest-alpha-2
yarn test:unit

throws:
import { toDisplayString as _toDisplayString, createVNode as _createVNode, createTextVNode as _createTextVNode, createStaticVNode as _createStaticVNode, openBlock as _openBlock, createBlock as _createBlock } from "vue";
    ^^^^^^

    SyntaxError: Cannot use import statement outside a module

Open package.json and downgrade to<EMAIL_ADDRESS>and everything is fine.

Ok so it's working with babel-jest but not with ts-jest? VTU and vue-jest is definitely working in all my projects (non cli) so I guess we have another conflict in the cli-plugin somehow.
Will investigate 👀

Problem is we are not compiling to cjs, and Jest doesn't know what to do, I guess? Should vue-jest force cjs? I thought jest could figure out es modules via babel-jest? This is a classic "I don't understand ES modules in node.js environment" error. I guess if you opt out of babel, babel-jest is not included. But if the preset is then ts-jest, I wonder why Jest cannot figure it out?

Hmmm… It's very complicated.
Previously the tsconfig returned from ts-jest was used for compiling the template code.
ts-jest would enforce commonjs target if no babelConfig was configured https://github.com/kulshekhar/ts-jest/blob/6bdf3320abea4d004c6863110ce306fd137e2fd8/src/config/config-set.ts#L558-L562
So it works TS without babel.
After this change, only babel is used for compilation, because no babel config can be found in the project, the code remains unchanged.
So the correct fix is not to use babel for all projects, but still use ts for compilation, only add babel to the pipeline if babelConfig is set.

TS + Babel + all the various tooling is so complicated! This seems to solve it.
I tested with:

babel + ts
ts (no babel)
babel (no ts)

All working. If you opt not to use babel, it won't work. I am not sure this workflow makes any sense, sfc-compiler spits out code using ES modules, which Jest cannot understand.
@sodatea quick review? https://github.com/vuejs/vue-jest/pull/264/files
@cexbrayat if you want to test it out, grab the latest vue-jest repo and do  cp -r vue-jest/lib <your_vue_cli_project>/node_modules/vue-jest and do yarn test:unit --no-cache (make sure to do --no-cache).
Can release once we are happy with it. I am sure there is a better way to write a jest transformer but better to get it working so people can try out Vue 3 and testing then optimize from there.

@lmiller1990 I gave it a quick try with the repro I had, and your PR seems to work 🎉

Great, I will leave this for 24h-48h or so, so if anyone else has feedback (maybe Soda) they get a chance and release this weekend.

I released vue-jest 5.0.0-alpha.3. It is also available as vue-jest@next. This should hopefully resolve this!

@lmiller1990 I confirm that our builds succeed with alpha.3 (TS without babel), thank you 🎉

Now that it seems to have been fixed. I'm closing this issue now.


Actor tests for Ray hang in CI

Actor tests for Ray hang in CI for some reason but pass locally.

Reopening so we find the root cause.


codecov

Codecov Report

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

@@           Coverage Diff            @@
##             trunk     #146   +/-   ##
========================================
  Coverage         ?   91.83%
========================================
  Files            ?       11
  Lines            ?     1261
  Branches         ?        0
========================================
  Hits             ?     1158
  Misses           ?      103
  Partials         ?        0

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 5e04021...60c8f67. Read the comment docs.


Allow Executor to recover after a TP Crash.

This PR currently only works for python transaction processor. If solution is approved handling of TpPings will need to be added to all other sdks.
A monitor socket is listening for disconnect events and notifies the executor that it should check all connected transaction processors to see if they are still connected. This is done by sending a TpPing response and waiting for a TpPingResponse is returned. If a transaction processor is found to not be connected, it should be removed from processors and all pending futures are set to an internal error (causing them to be rescheduled on a new processor).
The reasons that this ping message is needed, is that the zmq disconnect event only returns the following information: remote endpoint, event int, and a FD. I was not able to correlate a FD with a connection id for the transaction processor. Also a rest_api starts up/disconnects it creates the same type of connect/disconnect event as a transaction processor.
Open issues I am looking for feed back on:
Currently, while waiting for the future to be set or a timeout to occur the executor thread is locked up waiting to know if a transaction processor should be removed. For example if the timeout is set to 10 seconds (the current timeout), and a processor crashes, it will take 10 seconds to continue processing.

Yes, I wanted to make sure the approach was approved before touching all the sdks. @peterschwarz

👍


[SPARK-19236][SQL][BACKPORT-2.2] Added createOrReplaceGlobalTempView method

What changes were proposed in this pull request?
This PR is to backport two PRs for adding the createOrReplaceGlobalTempView method
https://github.com/apache/spark/pull/18147
https://github.com/apache/spark/pull/16598

Added the createOrReplaceGlobalTempView method for dataset API
How was this patch tested?
N/A

Test build #77600 has started for PR 18167 at commit 94b20bc.

Test build #77600 has finished for PR 18167 at commit 94b20bc.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/77600/
Test PASSed.

+1, LGTM for backport. Please update the JIRA information, https://issues.apache.org/jira/browse/SPARK-19236.

Thanks! Merging to 2.2


Make public method for flushing pendingWrites

When we call mutation operations on entites, method pendingExecute puts them in pendingWrites and merges and executes them on transaction end. Sometimes, it leads to so big query, which is obtained as a merge result, that DB couldn't process it.
In our case we can't use immediateWrites, because of performance and we cant make separate transactions because of data consistency.
As it seems to me, there to ways to fix:

(Simple) Make method flushPendingWrites public, so we can flush buffer time to time
(Harder) Flush buffer automatically when it become too big (in bytes)

This can be done, sure.
But this will not be the end of your problems.
If you're generating or importing massive amounts of data, maybe try bulkUpsert()?


Update docs to reflect current kubelet --read-only-port config

we are not actually setting —read-only-port=0 for kubelet

What this PR does / why we need it: Update docs to reflect current kubelet --read-only-port config
Release note:

NONE

@CecileRobertMichon FYI


[prometheus-artifactory-exporter] add image pull secrets

What this PR does / why we need it:
Inspiration taken from https://github.com/jfrog/charts/tree/master/stable/artifactory, this PR will help people to pull the image from a private registry
Which issue this PR fixes

fixes #16

Special notes for your reviewer:
Checklist

[x] Chart Version bumped
[x] Title of the PR starts with chart name (e.g. [prometheus-artifactory-exporter])

@peimanja should be good now


Pinch zooming behaviour issues in v1.0.0 b2 compared to 0.7.7

Hello,
I noticed that the behaviour of pinch zoom degraded between 0.7.7 and 1.0.0 beta2
Here is a jsfiddle for a simple map for 0.7.7:
http://jsfiddle.net/fnicollet/8r452bvp/
And the same with 1.0.0 beta2
http://jsfiddle.net/fnicollet/z0fps41d/
I am using a laptop with a touch screen, with Chrome (same bad behaviour in IE11).
First test is simple, just pinch zoom until your fingers touch each other.
0.7.7 >> Correct behaviour, the map keeps zooming out
1.0.0 beta2 >> Zooming stops when your fingers are like 30px apart. Sometimes freezes the map, until you tap it again
Second test: pinch zoom out a little bit and keep both fingers on the screen, still
0.7.7 >> Correct behaviour, the map keeps doesn't barely zoom anymore
1.0.0 beta2 >> The map keeps doing little zoom in/out glitches, just as if the map was more "sensitive" to tiny changes when trying to keep still.
What do you think?
Fabien

I've also run into this. When slowly zooming in with a pinch gesture, the zoom changes in small fractional increments. When it passes the previous zoom level plus 0.5, tiles are drawn from the deeper zoom level. For some reason, touch events stop coming at that moment, and the touchEnd event never fires. That leaves the map in a strange state, for example you cannot pan around with the mouse. If you then pan with a touch gesture and lift your finger, touchEnd finally fires and the map returns to normal.

I think I have the same issue, tried with Leaflet's dev version as of today (2015-11-27), no plugins.
Look at this example: http://playground-leaflet.rhcloud.com/rik/
When I pinch zoom out on my laptop (Lenovo X1 Carbon running Ubuntu 14.04 and Chrome), the zoom freezes when I've zoomed out a bit, and repeating the pinch sometime snaps the zoom level back to where I started the zoom. It's very hard to zoom as desired.
 It seems like a pretty major problem unless it's just something on my machine.

Good news is that I can't reproduce this on my phone. It might be that this only happens on desktop Chrome with a touch enabled screen?
Hard to debug, but I've at least figured out that when the map locks up, the _onTouchEnd method in Map.TouchZoom.js is never called, for whatever reason.

Might be related to:
https://github.com/Leaflet/Leaflet/issues/2693

@fnicollet @jjrv @perliedman Is this problem still relevant in the rc1 code? If so, would anybody be willing to spend some time to make a reproducible case with prosthetic-hand?

Any workarounds for this?

@IvanSanchez \o/ This bug does not occur in latest master, but in -beta.2!

In case you're interested, I bisected, and this appears to be the commit that fixed this: 0cfe85897fef257d952d1cec5a5a11005fa66da0

I can confirm that the issue is fixed in master, thanks a lot :)
Fabien
Le 21 avr. 2016 13:43, "Per Liedman"<EMAIL_ADDRESS>a écrit :

In case you're interested, I bisected, and this appears to be the commit
that fixed this: 0cfe858
https://github.com/Leaflet/Leaflet/commit/0cfe85897fef257d952d1cec5a5a11005fa66da0
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/Leaflet/Leaflet/issues/4006#issuecomment-212878076

I am using the current master but I still have a problem with pinch zoom. When I pinch to zoom out the map starts to zoom in and I end up at the same zoom level where I started. It's possible to zoom out but it feels very quirky. I have this issue on chrome 50/nexus 5 and safari 9.1/iPhone6.

@moklick can you reproduce it with the example posted above (http://playground-leaflet.rhcloud.com/rik/)?
I tried that with my Nexus 6 / Chrome 50, and zooming works as expected.

That works fine! I will check my code and Leaflet version again. Thanks for the fast reply!


6.0 deprecations - Remove Query and QueryDailyHits models and QueryForm from wagtail.search

Removing the search models (and form) deprecated in Wagtail 5.0. This requires some fiddling with early migrations that relied on the existence of wagtailsearch.Query, and moving some tests that were still incorrectly running against wagtailsearch's models.

Thanks @lb-! Will write a catch-all "Removal of deprecated features" item for the upgrade considerations once all the others are in, like we did for 5.0.


Streaming ASR interfaces

What does this PR do?
The goal of this PR is to provide high-level interfaces for streaming inference using the model introduced by #2140, and to provide some shared infrastructure for future streaming models.
I have hosted a LibriSpeech streaming ASR model at https://huggingface.co/sdelangen/speechbrain-asr-conformer-test/tree/main. There is currently no model card, but it will be possible to migrate this model under the speechbrain org once this is merged.
Introduced interfaces
The StreamingASR inference interface was introduced.
Features:

Streaming decode of long audio files (if ffmpeg is installed), see demos
Streaming decode of live streams (if ffmpeg is installed), see demos
Chunkwise decoding support (with an exposed lower-level transcribe_chunk/decode_chunk API)
Batching support for the lower-level interfaces which makes it suitable as a basis for transcription servers
Relatively model agnostic

Feature extraction
In the current conformer-transducer model, we have some feature extraction logic that stacks filter banks and 2 layers of down-sampling convolutions.
Ignoring normalization, we can consider feature extraction as a "filter" with a specific window size and stride.
Dynamic chunk training does not change how feature extraction is performed: it is applied over the entire batch at once, and is unaware of chunking.
This is mostly for simplicity, flexibility and training performance reasons.
Thus, when streaming, we have to be careful about how we chunk up our signal: for any given chunk, we must provide some past and future frames so that the transition across chunks remains as close to training as possible.
Streaming feature extraction abstraction
This logic is abstracted by speechbrain.lobes.features.StreamingFeatureWrapper as introduced by this PR. When provided the "filter properties" of our feature extractor (window size and stride), it is able to process a stream of audio chunk by chunk while abstracting padding and left context saving details¹.
Automatically determining filter properties
Those filter properties remain to be provided by the model developer. For this, we introduce speechbrain.utils.filter_analysis. It allows modelling simple filter properties, and provides utilities to "stack" them, i.e. model what the properties of filter2(filter1(x)) are.
In our case, we are essentially trying to model conv_layer_2(conv_layer_1(fbanks(waveform)))².
This allows us to determine the filter properties of our feature extraction easily and requires little to no adjustment when changing feature extraction hyperparameters.
This PR introduces a get_filter_propreties method for some modules, so all that remains is providing StreamingFeatureWrapper our feature extractor module list.
¹ This comes with a latency cost which depends on the window size and stride. However, that overhead is generally insignificant in practice as long as the window size and stride are kept reasonable.
² ignoring normalization. Not considering normalization specifically in our chunking process does not appear to have a significant effect on WER.

Example programs

Commandline tool to transcribe a file or a live stream
Decoding from a live stream using ffmpeg (BBC Radio 4): python3 asr.py http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8 --model-source=sdelangen/speechbrain-asr-conformer-test --device=cpu -v
Decoding from a file: python3 asr.py some-english-speech.wav --model-source=sdelangen/speechbrain-asr-conformer-test --device=cpu -v
from argparse import ArgumentParser
import logging

parser = ArgumentParser()
parser.add_argument("audio_path")
parser.add_argument("--model-source", required=True)
parser.add_argument("--device", default="cpu")
parser.add_argument("--ip", default="<IP_ADDRESS>")
parser.add_argument("--port", default=9431)
parser.add_argument("--chunk-size", default=24, type=int)
parser.add_argument("--left-context-chunks", default=4, type=int)
parser.add_argument("--num-threads", default=None, type=int)
parser.add_argument("--verbose", "-v", default=False, action="store_true")
args = parser.parse_args()

if args.verbose:
    logging.getLogger().setLevel(logging.INFO)

logging.info("Loading libraries")

from speechbrain.inference.ASR import StreamingASR
from speechbrain.utils.dynamic_chunk_training import DynChunkTrainConfig
import torch

device = args.device

if args.num_threads is not None:
    torch.set_num_threads(args.num_threads)

logging.info(f"Loading model from \"{args.model_source}\" onto device {device}")

asr = StreamingASR.from_hparams(args.model_source, run_opts={"device": device})
config = DynChunkTrainConfig(args.chunk_size, args.left_context_chunks)

logging.info(f"Starting stream from URI \"{args.audio_path}\"")

for text_chunk in asr.transcribe_file_streaming(args.audio_path, config):
    print(text_chunk, flush=True, end="")

TODOs

Completed

[x] Will need uploading the model and inference hparams to huggingface. (I probably should be made part of the SB team on HF? done)
[x] Currently, some stuff around streaming state initialization is essentially hardcoded inside of the interfaces code, which should not need to care about MHA left context etc., which should be the responsibility of the hparams in some way.
[x] Really need to double/triple-check the StreamingASR interface for flexibility as we might want to have several architectures be able to use it. -- I tried to make it so, but it's probably still biased towards the architecture I made it for. For what it's worth, it can be modified down the line and extended by any external users.
[x] The sentencepiece space hack is very annoying and should probably be moved somewhere else, and the code should be made to support more than just sentencepiece -- the code was moved but it still only supports sentencepiece; but adding support for other tokenizers should otherwise not be too painful.
[x] Audio loading should be done in a streaming fashion -- might wait for #2354 probably will use torchaudio ffmpeg streaming stuff?
[x] Figure out why the doc generation even fails... Probably a type annotation somewhere.
[x] Final pass of checking all docstrings (and how they generate too)

Not sure how to handle things like rescoring that could change entire sentences, but let's consider it out-of-scope for StreamingASR.

Before submitting

[x] Did you read the contributor guideline?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together?
[x] Did you make sure to update the documentation with your changes? (if necessary)
[x] Did you write any new necessary tests? (not for typos and docs)
[x] Did you verify new and existing tests pass locally with your changes?
[x] Did you list all the breaking changes introduced by this pull request?
[x] Does your code adhere to project-specific code style and conventions?

PR review

Reviewer checklist

[x] Is this pull request ready for review? (if not, please submit in draft mode)
[x] Check that all items from Before submitting are resolved
[x] Make sure the title is self-explanatory and the description concisely explains the PR
[x] Add labels and milestones (and optionally projects) to the PR so it can be classified
[x] Confirm that the changes adhere to compatibility requirements (e.g., Python version, platform)
[x] Review the self-review checklist to ensure the code is ready for review

I believe this should be ready for review @TParcollet

I tested WER on test-clean with custom code and ended up with the same score as advertised (when streaming with a chunk size of 24, left context of 8).

Jank test script for reference
device = "cuda"
model_path = "./librispeech-conformer"
test_csv = "/users/sdelangen/sb/recipes/LibriSpeech/ASR/transducer/results/conformer_transducer_large/3407/test-clean.csv"

import pandas as pd

test = pd.read_csv(test_csv)

import torch
torch.set_num_threads(1)

from concurrent.futures import ThreadPoolExecutor
from speechbrain.inference.ASR import StreamingASR
from speechbrain.utils.dynamic_chunk_training import DynChunkTrainConfig
from speechbrain.utils.metric_stats import ErrorRateStats
from speechbrain.utils.parallel import parallel_map

asr = StreamingASR.from_hparams(model_path, run_opts={"device": device})
config = DynChunkTrainConfig(24, 8)

wer_compute = ErrorRateStats()

def process_line(row):
    i, line = row

    path = line["wav"]

    truth = line["wrd"]
    pred = asr.transcribe_file(path, config, use_torchaudio_streaming=True)

    return pred, truth

for i, (pred, truth) in enumerate(parallel_map(process_line, test.iterrows(), executor=ThreadPoolExecutor(20), chunk_size=1)):
    wer_compute.append([i], [pred.split(" ")], [truth.split(" ")])
    print(wer_compute.summarize()["WER"])

# for text_chunk in asr.transcribe_file_streaming(args.audio_path, config):
#     print(text_chunk, flush=True, end="")

Still fixing some stuff as suggested then I will re-request a review once done.

As for the docs, I've started writing some stuff but it will take some time. I already had some model details explained from the original PR that I will reuse.
I am also starting to write a simple gradio demo, which I believe is supposed to allow streaming ASR. Theoretically, it would be possible to use this as an HF space.

Thank you @asumagic, this is a great contribution. I ran recipe tests and everything seems fine. Thank you @Adel-Moumen and @TParcollet for the review.


Missing in v2 the method (AIRequest setContexts) implemented in v1

Actually, i am using the V1 Dialogflow Client Java SDK.
<dependency>
<groupId>ai.api</groupId>
<artifactId>libai</artifactId>
<version>1.6.12</version>
</dependency>
In the current stable version (1.6.12) we have the possibility to set the Contexts before the query is sent to the server, using the method
AIRequest setContexts(List contexts)
This is usefull because we can set (prepare) the status of the dialogflow (chatbot).
How can i do the same with the new V2 DialogFlow Beta version?
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-dialogflow</artifactId>
<version>0.29.0-alpha</version>
</dependency>
The samples for the new version are here https://github.com/dialogflow/dialogflow-java-client-v2 but i dont find the way to do that using the new library java version (2).

It can be set as part of QueryParameters:
https://dialogflow.com/docs/reference/api-v2/rpc/google.cloud.dialogflow.v2#google.cloud.dialogflow.v2.QueryParameters


Set the default  to an array

Q
A

Is bugfix?
✔

New feature?
✔

Breaks BC?
✔

Fixed issues
❌

======================

In fact, $only and $except have the same meaning, but when looking at the source code, if you do not notice the comments above the variable, it is very easy to interfere.

Thank you.


Fix v-move class when name isn't specified

If name isn't specified for a <transition-group>, then the class name vue uses for moving items will be undefined-move instead of v-move.

Thanks!


Index

Preparation for summer semester 2022 requires some mods as this material was not updated for a while.
Hence,

index.ipynb has a Anconda env section
requirements.txt was updated, especially requiring latest sfs toolbox
Dockerfile was deleted as mybinder.org does not use this and does not build the repo anymore

Dockerfile was deleted as mybinder.org does not use this and does not build the repo anymore

I like having a .binder directory, which allows specifying all apt-get requirements as well as Python packages.
For example:

https://github.com/mgeier/python-audio/tree/master/.binder
https://github.com/spatialaudio/nbsphinx/tree/master/.binder
https://github.com/AudioSceneDescriptionFormat/splines/tree/master/.binder

Dockerfile was deleted as mybinder.org does not use this and does not build the repo anymore

I like having a .binder directory, which allows specifying all apt-get requirements as well as Python packages.
For example:

https://github.com/mgeier/python-audio/tree/master/.binder
https://github.com/spatialaudio/nbsphinx/tree/master/.binder
https://github.com/AudioSceneDescriptionFormat/splines/tree/master/.binder


Persist resizable dimensions when resetting workspace

It's less jarring, and more seamless.

This is already done!


Not dimming the full screen

Leaves a bar on the top and bottom that its not dimming.

How big of a "bar" are we talking? I've been using this for months, if not years, and have never seen a bar that doesn't dim.
Recently I had something that displayed all the way past the left edge of the screen, and there was about a 2-pixel wide line on that left edge that didn't dim, but that's as close as I've come to seeing anything like this. (And that is likely not an issue with the module, but more likely an issue with Magic Mirror itself.)
Also, what does your config look like? Are you using position: 'fullscreen_above', or some other position?


[SWITCH] More than 7 string case statements causes compilation errors

http://forums.bridge.net/forum/bridge-net-pro/bugs/597-switch-statement-causes-c-compiler-to-crash

This seems to only be a problem when the switch statement is matching against strings and when there are more than a certain number of case statements, 7 in my case.

The issue is not reproducible in VS2015.
using Bridge.Html5;

namespace BridgeTest
{

    public class App
    {
        public const string TESTA = "TESTA";
        public const string TESTB = "TESTB";
        public const string TESTC = "TESTC";
        public const string TESTD = "TESTD";
        public const string TESTE = "TESTE";
        public const string TESTF = "TESTF";
        public const string TESTG = "TESTG";

        [Ready]
        public static void Main()
        {
            var test = TESTD;
            switch (test)
            {
                case TESTA:
                    Global.Alert("EnumA");
                    break;

                case TESTB:
                    Global.Alert("EnumB");
                    break;

                case TESTC:
                    Global.Alert("EnumC");
                    break;

                case TESTD:
                    Global.Alert("EnumD");
                    break;

                case TESTE:
                    Global.Alert("EnumE");
                    break;

                case TESTF:
                    Global.Alert("EnumF");
                    break;

                case TESTG:
                    Global.Alert("EnumG");
                    break;
            }
        }
    }
}

It's likely because some member of System.Collections.Generic.Dictionary<TKey, TValue> member is missing.


Validation

Country:

Example number(s) and/or range(s):1
Number type ("fixed-line", "mobile", "short code", etc.):225
For short codes, cost and dialing restrictions:241-9509
Where or whom did you get the number(s) from:Allen Lemoine
Authoritative evidence (e.g. national numbering plan, operator announcement):Verizon
Link from demo (http://libphonenumber.appspot.com) showing error

@jillemoine,
Thank you for taking the time to improve libphonenumber!
Looks like library is working as intended. We already consider +1-225-241-9509 as valid US phone number. See demo result. Please let us know what is the issue here. Do you say that all +1 225 XXX XXXX belong to Verizon?
We need more information to fix this. Please see our contribution guidelines.

I want to make sure that phone number doesn’t have another secret number
Sent from Yahoo Mail for iPhone
On Monday, October 30, 2017, 9:37 PM, penmetsaa<EMAIL_ADDRESS>wrote:
@jillemoine,
Thank you for taking the time to improve libphonenumber!
Looks like library is working as intended. We already consider +1-225-241-9509 as valid US phone number. See demo result. Please let us know what is the issue here. Do you say that all +1 225 XXX XXXX belong to Verizon?
We need more information to fix this. Please see our contribution guidelines.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@jillemoine,
As library is working as intended. Closing this issue.
Please consider joining the discussion group if you'd like to discuss this further.


Fix Newsletter Popup Reappearance After User Dismissal

Title: Fix Newsletter Popup Reappearance After User Dismissal
Description
Fix #394
This PR resolves the issue of the newsletter popup reappearing after clicking "No Thanks" by implementing a dismissal flag in cookies/local storage. The popup now checks this flag before displaying, enhancing the user experience by preventing unnecessary prompts.
@Harshdev098
Pls assign me this, Give me label, level.

@Harshdev098
Pls review it and then merge it.


CF manifest Generation

Are there any templates or stubs information that can be used for manifest generation when deploying CF? Creating a manifest by hand is really difficult and hard to keep up to date. Also, it would be nice if we could get detailed section information about what we need in the manifest. For example, the aws stubs provides a detailed list of all the required properties to override.

moved


More templating issues

synced local file(s) with worgarside/github-config-files.

This PR was created automatically by the repo-file-sync-action workflow run #8252905773

This PR is empty, closing it. :no_good:

This PR is empty, closing it. :no_good:


Implement Fonts Section from PDF

Appearance:

Copy:
Consistency in the use of a typeface plays an
important role in reinforcing our organisation’s image.
Maintaining rules of type layout will help ensure we
have a uniform identity.
Primary
Proxima Nova
Primary typeface: Proxima Nova
Should be used as the primary font for all high level
publications and products. The Proxima Nova font
family can be found on Adobe Typekit.
Secondary
Lato
Secondary typeface: Lato
The secondary typeface may be used when Proxima
Nova is not available and is recommended for digital
work, as it’s easy to implement on websites. Lato can
be found on Google Fonts.
System
System typeface: Arial
In certain situations, the primary and secondary
typefaces may be unavailable. In these cases, it is
acceptable to use an approved crossplatform system
typeface generally available on most computers.
Arial
For more information on fonts and typographic
hierarchy please refer to the brand book.

Closing in favor of using Trello


Manual initialisation

Is it possible to initialise the population manually, e. g. by giving an array to the Problem constructor?

Yes you can do that. However, this is not part of the problem but part of your algorithm.
All genetic algorithms in pymoo accept different objects for sampling.
You can find a usage file here:
https://github.com/msu-coinlab/pymoo/blob/master/pymoo/usage/algorithms/usage_initial_population.py
This shows two possible other ways instead of using a Sampling object.
a) You just pass the X values as a NumPy matrix
b) You pass an population object (here the individuals might have been already evaluated)

Thank you very much for your answer! I think this information is valuable for many people. It would be a great addition to the documentation.

Yes, you are now the second or third person approaching me with this.
Where at our online documentation would you have had a look at or do you think is appropriate to discuss such things?
Do you think FAQ for those questions would make sense?

I think it would be a good idea to add it as an additional tutorial. When I start to use a new package, I usually look for introductory guides, and then for tutorials on specific questions. The tutorials already are something like an FAQ with code examples, so I don't think a separated section is necessary.
The tutorial section itself is perhaps a bit hidden. Right now, it is at the bottom of the page. I think it would be helpful to move it above the "Algorithms" box in the Features section. Then it would be the first thing to see after reading through the "Getting started" page (which, by the way, is an excellent resource!).
Since we're already talking about documentation, I have another suggestion. For me, it is not clear what the dictionary keys in the out dict and the result are. One can infer the meaning of F and G in the getting started guide, but in my opinion a small table with all the keys and their meaning would clarify things even more. It could be added to the getting started guide.
Thanks for taking interest and writing such a nice package! :)

Yes, I totally agree there is some room for improvement regarding the documentation. The challenge is to still keep everything organized, but do make important information as visible as possible.
For instance, there is a documentation for the result object under Miscellaneous:
https://pymoo.org/misc/results.html
But probably it should be directly or close to algorithms...
Thanks for all your input and positive feedback!

I have added it to the documentation and created a new feature cell, called Customization.
Hope that is more clear now.

Thanks for the improvement!


Add commonJS support

In order to address multiple requests for CJS support (#214, #178, #139)

+1


add pytket upgrade to build file

add upgrade to newest pytket version (including pre release for every run) and run on every push a branch named "runci/..."

If you are happy with this I will add the same changes to all other extension repos

If you are happy I will start with the other PRs before the remote checks are finished at this one?


Update app template to 0.0.2

This is an update to #17, including @tlemburg's changes there, and also incorporating @jasonrclark's new app template. Closes #17

Ran this locally, got the new template and it ran cleanly for me. :+1:

I also ran it, looks like we're all set :)

:metal:

Then I'll go ahead and do the honors, thanks everyone!!! :)


Make doc saving more incremental

Even without a collab hub this makes sense: from each document change we can derive the set of dirty nodes. When saving we should only transfer these dirty nodes.
A backend needs to save only the transfered nodes, not the whole document.

With every transfered node there needs to come a flag so backend knows to create, update, or delete.


Got error while npm start at fresh package

The on-performance module does not work in Node 10 yet; a patch landed but I can't publish a new version yet until the module ownership is transfered to the choo org.
You can work around it by commenting out choo-devtools until then:
// app.use(require('choo-devtools')())

Fixed in :package: on-performance 1.2.2


C api conversions between posits uses double

When converting from one posit type to another, the conversion implementation converts the posit to a double and then converts the double to the other type posit, which may lose bits.

Yesterday, I implemented a generic cast that uses native bits, so we have the machinery to do it right.
Can you give me a line number of the code that this issue refers to?

https://github.com/stillwater-sc/universal/blob/5466212dda316c63ee020aa383092fb0fb3cfdff/c_api/posit/posit_c_api.cpp#L255

Closing issue as we are refactoring the library


Allow any winit >=0.8.1 to track the 0.8 series automatically

Wouldn't this mean that if a user depends on glutin and winit publishes some breaking changes (in a 0.9 release for example) that the user's code would possibly break as a result? I think I'd prefer if we kept updating one version at a time to avoid downstream breakages.

Ah, you're right, I should have done a different condition. Just a sec

This should now allow >=0.8.1 && <0.9.0 if I've read the docs correctly here:
http://doc.crates.io/specifying-dependencies.html#caret-requirements

Note that the cargo documentation states that the version requirement "a.b.c" is interpreted as "^a.b.c", so this PR does not change cargo behavior (though it makes the dependency more explicit).

No need for this then, closing


Is it possible to add XSH (shield)

https://shield.sh/

Please ask the XSH community to submit a pull request to this project.


feat:v1.0.x

feat:v1.0.x

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


Cuda out of memory error

So I am using large-v2 model and when I set these parameters which I am showing in the picture. The cuda out of memory error is thrown, is there any leakage or something wrong?
Also the transcription is not as accurate as original whisper model.

ts_num was used for version 1.0 of Stable-ts to improve the timing, but it's experimental in the current version 2.0. The higher the value you use, the more memory it will use. Generally, avoid using that argument for best results.

Thank you so much for response.
result2 = model.transcribe('tate_pier.mp3', mel_first=True,demucs=True)
result2 = model.transcribe('tate_pier.mp3', mel_first=True)
I used different settings as shown above. Also with VAD and without VAD. the accuracy is not as great as original whisper. It is missing alot of words sometime and I am using large-v2 model but still... Could you please tell me if there is any specific parameter which I can use so that it doesn't miss the words. Your help will be highly appreciated.


Use Default Namespace if the Property is Blank

Use _ as the namespace if the NAMESPACE property in .wskprops is set to blank

Fixes https://github.com/openwhisk/openwhisk/issues/1673

PG3 116

Merged as https://github.com/openwhisk/openwhisk/commit/2fc75d2cae8bc12b14cd81bba5560798f789d1e5.


endercore crash with sponge api

hi endercore and ender io crash when ran on sponge with the voxel plugin also most plugins wont load up when ran and i narrowed it down to it happening only when endercore 1.8.9 is installed. running on latest forge with latest sponge. every other mod i tested it on with sponge worked. with endercore plugins like pex act like they ain't even there. is there a way endercore can be updated to be compatable with sponge?

that template you deleted without reading was there for a reason


Coverage and Testing Branches

Create a separate coverage branch and a testing branch

Branches created.  CoverageFix holds the coverage tool and testing_branch holds the tests.


Spurious Exception: Tracer can't be used with raw numpy functions?

I cannot seem to make this minimum working example any smaller.  It seems like some combination of factors is causing this error, but I have no idea where to start.
import jax
import jax.scipy.special as jss
from jax import numpy as jnp

@jax.custom_jvp
def log_normalizer(q):
    return jnp.logaddexp(q[0], 0.0)

def nat_to_exp(q):
    return jss.expit(q)

@log_normalizer.defjvp
def ln_jvp(primals, tangents):
    x, = primals
    x_dot, = tangents
    y = log_normalizer(x)
    y_dot = nat_to_exp(x) * x_dot
    return y, y_dot

def cross_entropy_loss(p, q):
    # Bernoulli cross_entropy(p, q)
    p_dot_q = jnp.sum(p * q)
    ln = log_normalizer(q)
    return -p_dot_q + ln - jnp.zeros(())

# p are expectation parameters of a Bernoulli distribution corresponding to
# probability 0.4.
p = jnp.array([0.4])

# q are natural parameters of a Bernoulli distribution corresponding to
# log-odds 0, which is probability 0.5.
q = jnp.array([0.0])

print(jax.grad(cross_entropy_loss, 1)(p, q))

Wow, this is a terrible error message we're raising. Like, so bad.
 This isn't checked in the custom_jvp machinery from #2026, and instead it falls through a strange cascade of steps ultimately leading to us calling onp.shape on a Tracer with an UnshapedArray for its abstract value. Ugh!
We should probably make onp.shape(unshaped) raise a better error message, but the more important action item here is to raise an error message when the output of the custom jvp rule has inconsistent shapes for the primal and tangent values.
That's how JAX can raise a better error. But also we need to fix this code here so that both primal and tangent outputs are scalars (or both are 1D arrays with the same shape).
WDYT?

(I meant to add these kinds of error checks to #2026 a few weeks ago, but then had to stop working on it for a few weeks and forgot my context...)

After #2503 this code produces a better error message:
TypeError: Custom JVP rule must produce primal and tangent outputs with equal shapes and dtypes, but got float32[] and float32[1] respectively.
Still not as good as having bug-free code, but I think this would have been much more actionable!
WDYT?

Awesome, these new errors make it a lot easier to learn JAX too, so thanks for taking the time.


Move implementation of all default commands to a command dictionary

(The discussion for this was started in the comments of pull request https://github.com/8go/matrix-eno-bot/pull/1. Please refer to that to get up to speed.)
@8go I have created this issue to continue discussion about this enhancement.

Just pointing out the obvious:
the help.sh in scripts will also disappear and the individual help strings will move into the YAML file next to the corresponding commands --> another simplification!
I assume you agree @wolterhv

Yes, that's done actually :)
Since commands will be provided in a dictionary, should there be a commands.yaml dictionary ready to use included? In this case, I suppose we have to have a way to know what to populate the paths node with. What is your opinion on a script to install files to sensible default locations? Would you rather have the user modify the commands.yaml and config.yaml files first, before having a usable bot?


Add support for powerbi report server

How we can add support for this connector in Powerbi report server?

Hey @shohamyamin,
custom connectors are not supported with Power BI Report Server also the number of connectors is generally limited: https://learn.microsoft.com/en-us/power-bi/report-server/data-sources
However, you could try to re-build some of the logic yourself. This connector is also just using the web connector (Web.Contents) talking to the Trino REST API under the hood.
Patrick

What you mean in "re-build some of the logic". you mean somehow to use WEB Datasource in the power-bi report server?
I am interested in connecting the PowerBI report server to Trino but I don't see how this can be achieved and if so maybe to make it somehow to even delegate the user to Trino(maybe with user impersonation)

Exactly, you could take this code part as a starter. I will close this issue as it's not directly related to the connector.


Ideas for new drugs?

Atropine from Jimsonweed (could make it a scary trip with spiders or centipedes - Something like this - https://www.youtube.com/watch?v=CSemARaqGqE)
Kava and/or benzodiazapines
LSD from morning glories
Ability to dry vanilla minecraft poppies into morphine

morning glories produce LSA not LSD

Ketamine, sedative/dissociative effects (add a K-hole effect on high dose similar to Zero).
DMT, very strong allucinations (fractals, humanoid forms and high frequency sound.)
Datura, delirium and allucinations of mob/entities.
Lean, sedative effects and purple vision.
And adding some new sound and effects (like  fainting) to this mod would be great.


[cra-rxjs-sc] Add pagination functionality in repository's issues and prs page

Pagination already works for the PR page.
This is blocked by #1925 and #1926


Check material array size

This prevents one of the crashes mentioned in #24635 though it fights a symptom, not the cause.
For some reason there is a delay of a few frames between calling ArrayMesh::add_surface_from_arrays, it causing MeshInstance::_mesh_changed to be executed (which resizes our materials array to match the number of surfaces) and our visual server becoming aware of the resized materials array. That still needs further investigation.
The fix in this PR simply checks if the materials array has the right size and ensures the render pipeline doesn't crash but instead simply uses the default material. This is the same outcome as when the materials array would have been resized as it still would not hold any overridden materials.
Bugsquad edit: Fixes #23790.

Superseded by 16e67388a.


Frames.enableSubmitForm is not resubmitting the form

When calling Frames.enableSubmitForm to resubmit the form cardTokenized callback is not called again
"frames-react": "^1.1.0",
"next": "12.3.1",
"react": "17.0.2",
"react-dom": "17.0.2",

Could you share a piece of code?
Because I used enableSubmitForm and submitCard, and it worked.

Closing this issue as this package will soon be deprecated. A new version using Checkout.com Flow is currently in the works.
For your issue, enableSubmitForm should allow you to call submitCard again.


Refine preview test

Idea Description
The author of PR https://github.com/DroidKaigi/conference-app-2022/pull/97 is busy. So can you take over the PR?
We can do it by creating pr to add_preview_test branch
The remaining tasks

Fix build
https://github.com/DroidKaigi/conference-app-2022/actions/runs/3049373353/jobs/4915373282
https://github.com/DroidKaigi/conference-app-2022/actions/runs/3049373357/jobs/4915373178

Make a plugin
https://github.com/DroidKaigi/conference-app-2022/pull/97#discussion_r966599043

Reference images and links

Thanks!!! Assigned!!

I opened PR.


Feature/add per organization

ga4gh/dockstore#746
This is the 2nd pull request

Allows registration for each organization (the '+' sign) both tool and workflows

Note to self, review after #53 so I can see the correct changed files


[KOGITO-4611] - Generic and tradicional JDBC implementation addon for…

… SQL databases (PostgreSQL first)
Signed-off-by: Swati Kale<EMAIL_ADDRESS>Many thanks for submitting your Pull Request :heart:!
Please make sure that your PR meets the following requirements:

[ ] You have read the contributors guide
[ ] Your code is properly formatted according to this configuration
[ ] Pull Request title is properly formatted: KOGITO-XYZ Subject
[ ] Pull Request title contains the target branch if not targeting master: [0.9.x] KOGITO-XYZ Subject
[ ] Pull Request contains link to the JIRA issue
[ ] Pull Request contains link to any dependent or related Pull Request
[ ] Pull Request contains description of the issue
[ ] Pull Request does not include fixes for issues other than the main ticket

How to retest this PR or trigger a specific build:

Pull Request
Please add comment: Jenkins retest this

Quarkus LTS checks
Please add comment: Jenkins run LTS

Native checks
Please add comment: Jenkins run native

Full Kogito testing (with cloud images and operator BDD testing)
Please add comment: Jenkins run BDD
This check should be used only if a big change is done as it takes time to run, need resources and one full BDD tests check can be done at a time ...

Can one of the admins verify this PR? Comment with 'ok to test' to start the build.

Can one of the admins verify this PR? Comment with 'ok to test' to start the build.

Can one of the admins verify this PR? Comment with 'ok to test' to start the build.

Can one of the admins verify this PR? Comment with 'ok to test' to start the build.

Can one of the admins verify this PR? Comment with 'ok to test' to start the build.

Can one of the admins verify this PR? Comment with 'ok to test' to start the build.

Can one of the admins verify this PR? Comment with 'ok to test' to start the build.

Can one of the admins verify this PR? Comment with 'ok to test' to start the build.

Can one of the admins verify this PR? Comment with 'ok to test' to start the build.

Can one of the admins verify this PR? Comment with 'ok to test' to start the build.

Can one of the admins verify this PR? Comment with 'ok to test' to start the build.

Can one of the admins verify this PR? Comment with 'ok to test' to start the build.

@cristianonicolai , please start the build.

jenkins please retest this

The Linux check has failed. Please check the logs.

jenkins please retest this

The Linux check has failed. Please check the logs.

jenkins please retest this

The Linux check is successful.

jenkins please retest this

The Linux check has failed. Please check the logs.

jenkins please retest this

The Linux check is successful.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

+1 to examples, we can reuse for sure

Added PR-https://github.com/kiegroup/kogito-examples/pull/682

The Linux check is successful.

The Linux check has failed. Please check the logs.

jenkins please retest this

The Linux check has failed. Please check the logs.

3 things not resolved.

The Linux check has failed. Please check the logs.

jenkins please retest this

The Linux check has failed. Please check the logs.

jenkins please retest this

The Linux check has failed. Please check the logs.

jenkins please retest this

The Linux check has failed. Please check the logs.

jenkins please retest this

The Linux check has failed. Please check the logs.

jenkins please retest this

The Linux check has failed. Please check the logs.

The Linux check has failed. Please check the logs.

jenkins please retest this

The Linux check has failed. Please check the logs.

jenkins please retest this

The Linux check is successful.


Fixes #23: Create documentation for deployment of our public AI Lab site

#23
Updated the README.md to explain how the deployment procedure works. Inputs will be explained in the reusable workflow repository documentation.

Sorry about commit not referencing issues forgot about that practice for some reason


Documentation update single line

This line cost me 2 hours. Have a PR.

The original section for this should be correct - what was your use case / what was broken?

This code works:
// Folders:
const rootFolders = app.vault.fileMap["/"].children.map(child => child.path).filter(item => !item.includes(".md"))

let badFolders = []
for (let folder of rootFolders) {
	const expected_note = folder.replace(/\w\s-\s/, "");
	let found_note = false;

        // Next line is "folder name"
	for (let page of dv.pages(`"${folder}"`)) {
		if (page?.file.name == expected_note) {
		  found_note = true;
			break;
		}
	}

	if (!found_note) {
	  badFolders.push(folder)
	}
}

Whereas this doesn't:
// Folders:
const rootFolders = app.vault.fileMap["/"].children.map(child => child.path).filter(item => !item.includes(".md"))

let badFolders = []
for (let folder of rootFolders) {
	const expected_note = folder.replace(/\w\s-\s/, "");
	let found_note = false;

        // Next line is '"folder name"'
	for (let page of dv.pages(`'"${folder}"'`)) {
		if (page?.file.name == expected_note) {
		  found_note = true;
			break;
		}
	}

	if (!found_note) {
	  badFolders.push(folder)
	}
}

Since it gives following error.

I'm probably retarded in some way, but as far as I can tell the documentation (which indicates to use '"folder"' as opposed to "folder" is incorrect, no?


How to download the plot with white background?

Hi, thanks for providing the great software for TDA!
I am looking for a way to download the TDA plot with white background to use and cite it in a research paper, is there a way to extract it as a clean and high-resolution plot, other than the current option to download the html with black background?
Thanks!

I'm also interested in a way to save the visualization (or a good approximation) as something friendly for including as a figure in a paper or report.

In the past, I just used screenshots to capture a png of the plot. Will this not work for you? Are you thinking something like an export as png button on the visualization?
The pull request #74 has an way of displaying the network using plotly. It's not completely merged right now, but if you can get that working, it will have ways of exporting the network.  I'm planning on integrating the PR, but will probably be a while before it's ready.

Thanks, sauln. Yes, I am currently  using screenshot to extract the image (after changing the html to my need). However, it would be great to have "export as png" option (preferably in white background). I will check out the pull request #74 and plotly you mentioned.
BTW, is there a way to change the node size in display?
Have a great day.

This is my fault (UI design).
You can use shortcuts for this:
[p] = "print mode"
[d] = "display mode"

[s] = "Christmas mode: the nodes light up/glow"
[c] = "Sober mode: the nodes are solid"

[m] = "Moon mode: The graph has less gravity"
[e] = "Earth mode: The graph looks normal"
[z] = "Zero gravity mode: Weird stuff"

Press "m" or "z" followed by "e" to sort of reset the graph. This results in a graph that sometimes looks nicer than the graph that is produced by random init. Then use "p" and "s" followed by "c" to get the most print-worthy graph for screenshots.
But this was documented. It also does not work on all browsers (I only tested in Chrome, and know that Safari fails).

@doerlbh There's no built in way of changing the node size.  Pull requests are very welcome.
@mlwave pointed out those keyboard shortcuts.  If you are using the development version that is currently on github master branch, the help menu provides some of this information.
I'm not sure that 'export as png' button would give you better facilities than using the 'p' key with a screenshot.  Is it still necessary?


[BUG] "Login/Signup Button Not Functioning Properly on Frontend"

Description
The login/signup button on the frontend is not functioning as expected. When clicked, there is no response or redirection to the appropriate login or signup page. This prevents users from accessing their accounts or creating new ones.
Steps to Reproduce:

Navigate to the homepage.
Click on the "Login" or "Signup" button.

Expected Behavior:Users should be redirected to the login/signup page or a modal should appear for entering credentials.
Current Behavior:Nothing happens upon clicking the button.
Proposed Solution: I would like to add the functionality to the login button, ensuring users can access the login/signup feature. T

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I'm a GSSoC'24-Extd contributor
[X] I'm a Hacktoberfest'24 contributor
[X] I am willing to work on this issue (optional)

@amanver45 everything working fine. Please check again and raise an issue accordingly, which I’ll be happy to assign to you. Thank you!

please ⭐ our repo

Join our official Discord server & discuss about new features and bugs raise issue & PR accordingly.

And also follow us on Linkedin


Tracestate propagate

blocked by https://github.com/census-instrumentation/opencensus-go/pull/890

@rakyll and @reyang do you have any comments/concern on latest changes?


Allow building in parallel from multiple out directories

The motivation: building a large project with both x64 and arm64 variants, and wanting to share a pool (probably a link pool) between them. This could in theory be faster than building serially, and in theory lass system swamping than building concurrently.

@travisg

Per Ninja's philosophy, it's up to the build generator to generate the appropriate build files to make this happen.

I get that. I think what I was thinking of is a situation where it might be easier to express the layout of a build across several directories, and to have a root of the build that is synthesized out of several files, rather than requiring one literal file. But @sgraham convinced me this is nearly possible anyway just by subninja-ing those other places in, modulo some path munging.
It's probably not worth anyone's time to do this in ninja.

When working on multiple projects that come from different sources, it isn't practical to generate a single giant ninja file.
What's needed is a single ninja process that takes multiple independent ninja files as input.
In lieu of this, there should be a way for independent ninja processes to collaborate on scheduling processes to avoid running too many processes.


Showing cast button as disable

When I run the app, it is showing Chromecast not connected message and cast button disabled. How to enabled the cast button and set it to the cast device?

Having same issue even when there is a active chromecast available and even connected...

Did anyone managed to solve it?


[Feature Request] Remember "Text (Multi-line)" selection for form inputs

When sending a POST request with one of the form input types the ability to select "Text" or "Text (Multi-line)" for each input field is awesome. It would be awesomer still if it remembered this selection when you navigate back to the same request in the future.

Insomnia Version: <IP_ADDRESS>3
Operating System: macOS 10.13.3

Hmm, Insomnia is supposed to remember which one was selected. (I can't reproduce the issue).
Would you be able to post a screen recording that demonstrates the bug?

Oh nvm. It seems that it is remembered for multipart forms but it is not remembered for urlencoded forms. Will fix!
P.S. Can you confirm that this is the case for you as well?


add Message.Attachment#getDescription

Pull Request Etiquette

[x] I have checked the PRs for upcoming features/bug fixes.
[x] I have read the contributing guidelines.

Changes

[ ] Internal code
[x] Library interface (affecting end-user code)
[ ] Documentation
[ ] Other: _____

Closes Issue: NaN
Description
this PR adds ability to get the attachment description using Message.Attachment#getDescription.

I'd like to see this PR take into account setting the description as well


add dutch/nl lang

Checklist
Please put "X" in the below checkboxes that apply::

[ ] If committing a bugfix, I have tested it in different browsers (Chrome, Firefox, Safari).
[ ] If committing a new feature, I have first submitted an issue (Please note: you are free to open PRs for non-issued features, but opening an issue increases your chance of a successful PR).
[x] If committing a new feature, I have also written an appropriate test suite for it.

I have tested the following:

[x] Qalendar component in month mode.
[x] Qalendar component in week mode.
[x] Qalendar component in day mode.
[x] All of the above modes on emulated mobile view.
[x] Dragging and dropping events.
[x] Resizing events in day/week modes.
[x] Clicking events to open event dialog.

This PR solves the following problem**.
insert your description.
How to test this PR**.
For example:

Feed X and Y in the events-Prop.
Click Z or A.
Confirm that B is displayed.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

Perfect 👍 Thank you very much, for taking the time to improve this package


Display word on hangman timeout

Currently when the hangman command times out it doesn't tell you what the word was:

This is annoying if you were still playing but were just slow thinking of a letter or got stuck and wanted to wait for it to be revealed.
Instead, it should reply to the original message saying that you lost, the game timed out, and what the word was.
The code is here: https://github.com/python-discord/sir-lancebot/blob/a1041e76cb19a92707ebc3cd7859631e2457f55d/bot/exts/fun/hangman.py#L117
Would you like to implement this yourself?

[ ] I'd like to implement this feature myself
[x] Anyone can implement this feature

Hello, I would like to work on this issue.

#1561

Thanks for fixing this @l-melon!


ASET IVA Replacement issue

I'm getting this error:
Oh no! We tried to overwrite a file owned by another mod!
Please try a ckan update and try again.
If this problem re-occurs, then it maybe a packaging bug.
Please report it at:
https://github.com/KSP-CKAN/NetKAN/issues/new
Please including the following information in your report:
File           : GameData/ASET/MK1-2_IVA_Replacement_by_ASET/MK1-2_ASETinternal-patch.cfg
Installing Mod : MK12PodIVAReplacementbyASET 1:0.2
Owning Mod     : MK12PodIVAReplacementbyASET2
CKAN Version   : v1.22.3
Your GameData has been returned to its original state.

....running CKAN 1.22.3 on KSP <IP_ADDRESS>2.
It looks like two of the ASET mods are arguing over the same file. It happens when I go to install the MK1-2 IVA replacement, and I think it's conflicting with the Mk1 Cockpit replacement.

No, the installing mod and Owning mod appear to be the same. Try uninstalling it and reinstalling


Fixed wrong size field in VIDIOC_S_EXT_CTRLS ioctl

As per https://www.kernel.org/doc/html/v4.9/media/uapi/v4l/vidioc-g-ext-ctrls.html info, the __u32 size field should be set at zero value for immediate data types (i32, i64 and bool, which are all embedded into an i64 container), as any nonzero value will identify a pointer usage of the union. Tested on x86_64 and aarch64.

(did not increase any version minor in the Cargo.toml)

Probably keeping the statement makes the block homogeneous. Shall we put a comment note?


Make the run log file unique

cc @raksiv

Codecov Report

Merging #57 (81808b9) into develop (726004d) will decrease coverage by 0.37%.
The diff coverage is 0.00%.

@@             Coverage Diff             @@
##           develop      #57      +/-   ##
===========================================
- Coverage    57.91%   57.54%   -0.38%
===========================================
  Files           23       23
  Lines         1067     1074       +7
===========================================
  Hits           618      618
- Misses         381      388       +7
  Partials        68       68

Flag
Coverage Δ

unittests
57.54% <0.00%> (-0.38%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/utils/paths.go
0.00% <0.00%> (ø)

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 726004d...81808b9. Read the comment docs.


Hoist ign-sensors IMU and magnetometer plugins to world SDFs

System plugins for IMU and magnetometer sensors are scene-wide plugins.

Hoping we can slowly get to a point where we only need to use empty_env...

Failing integration tests are unrelated to the AHRS. Merging!


Chinese translation

Hello, I am a FFXIV player from Hong Kong, and very like your weather forecast tool as I always fishing in game.
I try to provide the Chinese version translation (In fact, the area and version name translation is from Chinese server...),
hope it is helpful.

@falconshark
Thank you for the quick update. I have confirmed the changes and merged the pull request.
Please add the official translations for the Dawntrail areas when the Chinese version of the game is updated. 😊


Remove stale hashes from transaction list

It may happen that a transaction hash is persisted for an address, but never confirmed in the blockchain. Try to identify such transaction hashes and remove them when updating the address.

Maybe add database migration scripts first, in case a schema is necessary for this.


Perf benefits defination

Advantages of:
FindAsync
In much of the scaffolded code, FindAsync can be used in place of FirstOrDefaultAsync.
One of the advantages is -
Can have perf benefits in some situations, but that rarely happens for typical web apps.
What are perf benefits?
Paul

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

ID: 8f592059-3328-88a8-5c6c-43121ac8a0a5
Version Independent ID: f8a63abf-824b-5b80-e03d-abcb2c162b95
Content: Razor Pages with EF Core in ASP.NET Core - CRUD - 2 of 8
Content Source: aspnetcore/data/ef-rp/crud.md
Product: aspnet-core
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

Just better performance, but that rarely happens for typical web apps.


Adds external reference

Had to remake the PR and branch because I didn't have signing commits turned on, whoops :/


Fix: undo/redo error fix

🚀 [Related Issue: #6]
Preview

Previous Version
https://user-images.githubusercontent.com/57612141/230900872-20a6c464-caff-4f08-bd6a-21bac35aa55e.mov
Updated Version
https://user-images.githubusercontent.com/57612141/230901050-eeaca653-2df7-4332-8550-b74776ac9055.mov

Changes

Update undo redo color change action

[🎨Component] Fix undo error of color change action

Previously I have made color change action keep track of whether it is an 'Erase' action or a 'Fill' action. However, I found out that such separation was unnecessary
Now color change action records previous color also

[🔗Other] Create ColorChangeItem on top of PixelModifyItem

I have added ColorChangeItem type

Notes

Next Up?

I will close this PR quickly since this is a huge bug. Please leave a comment if you find something strange or worth discussion. You may also leave an issue if you need to do so!


How to delete table data from the contract account

After I clear out the contract, the table data under this contract still exists, and also occupies RAM, I do not know with what command delete table data

void deletedata(){
require_auth(_self);
<table_name> st(_self, _self);
auto itr = st.begin();
while(itr != st.end()){
    itr = st.erase(itr);
}

}

There is no generic command to remove contract data.  As kstvigilante describes, you must create a contract with a delete action, then invoke the action.
If your table is so large that deleting it all at once would exceed the CPU usage limitations of a transaction, you'll need to add a counter to the above code and remove rows in batches.  This may also be necessary if you don't have many tokens staked for CPU usage.

There is no generic command to remove contract data. As kstvigilante describes, you must create a contract with a delete action, then invoke the action.
If your table is so large that deleting it all at once would exceed the CPU usage limitations of a transaction, you'll need to add a counter to the above code and remove rows in batches. This may also be necessary if you don't have many tokens staked for CPU usage.

Can we write a general command to delete a table?

void deletedata(){
require_auth(_self);
<table_name> st(_self, _self);
auto itr = st.begin();
while(itr != st.end()){
    itr = st.erase(itr);
}

}
after this
cleos push action <contract_name> deletedata [ ] -p <contract_name>

What should I do if I want to delete the table data of other contracts in the system contract?

Generally speaking, you shouldn't be trying to.  On public nets, you have no option to customize the system contract.
On a private network, the only difference to kstvigilante's code would be in the declaration of the table, which would substitute an arbitrary account name for the first _self argument.  This could conceivably be an argument to the contract action.


Create a simple additional HTML file with self contained script (no web pack)

Hi,
I have had to quickly implement a second browser window doing all the indexing for my app. It works absolutely flawlessly in development mode, however the dependency (elasticlunr) is not included in the packaged application.
Here is the code for my 'search.html' window
<html>
  <script type="text/javascript">
    const ipcRenderer = require('electron').ipcRenderer;
    const elasticlunr = require('elasticlunr');
    let searchIndex = null;
    ipcRenderer.on('loadSearchIndex', function (event, input) {
      searchIndex = elasticlunr.Index.load(JSON.parse(input));
      ipcRenderer.send('searchIndexReady');
    });

    let typingTimer;
    let doneTypingInterval = 500;
    ipcRenderer.on('setSearchQuery', function (event, query) {
      if (searchIndex) {
        typingTimer = setTimeout(() => {
          const result = searchIndex.search(query).filter(x => x.score > 0.2).map(x => x.ref);
          ipcRenderer.send('setSearchResult', result);
        }, doneTypingInterval);
      }
    });
  </script>
</html>

Any ideas how I could get this working super quickly without complicating my webpack configurations (as code should does work as is without transpiling in dev mode)
Thanks in advance,
Alex

Solved by including elasticlunr dependency in app/package.json !


Code generation does not work with abigen 1.9.18-stable

After upgrading abigen from 1.9.10-stable to 1.9.18-stable I can no longer generate contracts code:
/Users/piotr/go/pkg/mod/github.com/keep-network/keep-common@v1.1.1-0.20200703125023-d9872a19ebd1/tools/generators/ethereum/contract_parsing.go:154:12: method.Const undefined (type abi.Method has no field or method Const)
/Users/piotr/go/pkg/mod/github.com/keep-network/keep-common@v1.1.1-0.20200703125023-d9872a19ebd1/tools/generators/ethereum/contract_parsing.go:167:24: param.Type.Type undefined (type abi.Type has no field or method Type)
/Users/piotr/go/pkg/mod/github.com/keep-network/keep-common@v1.1.1-0.20200703125023-d9872a19ebd1/tools/generators/ethereum/contract_parsing.go:202:26: output.Type.Type undefined (type abi.Type has no field or method Type)
/Users/piotr/go/pkg/mod/github.com/keep-network/keep-common@v1.1.1-0.20200703125023-d9872a19ebd1/tools/generators/ethereum/contract_parsing.go:215:42: method.Outputs[0].Type.Type undefined (type abi.Type has no field or method Type)
/Users/piotr/go/pkg/mod/github.com/keep-network/keep-common@v1.1.1-0.20200703125023-d9872a19ebd1/tools/generators/ethereum/contract_parsing.go:232:12: method.Const undefined (type abi.Method has no field or method Const)
/Users/piotr/go/pkg/mod/github.com/keep-network/keep-common@v1.1.1-0.20200703125023-d9872a19ebd1/tools/generators/ethereum/contract_parsing.go:251:24: param.Type.Type undefined (type abi.Type has no field or method Type)
make: *** [contract/TokenStaking.go] Error 2
pkg/chain/gen/contract.go:3: running "sh": exit status 2

method.Const -> method.Constant (but better to use method.StateMutability)
.Type.Type -> .Type.GetType(), I believe (https://github.com/ethereum/go-ethereum/pull/21022 + https://github.com/ethereum/go-ethereum/pull/21157).


Add ITT instrumentation for slab and cuckoo

To build pelikan with ITT instrumentation you should have the Intel®
VTune™Amplifier installed and source the amplxe-vars.sh.
Run cmake with the -DHAVE_ITT_INSTRUMENTATION=yes option.
Co-authored-by: Michal Biesek<EMAIL_ADDRESS>Co-authored-by: Piotr Balcer<EMAIL_ADDRESS>

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


How to output vertical velocity?

Would you please help me to output vertical velocity ? Vertical velocity is so important.
Running the following after "Advancing in time" in "Deep-dive intor trained models" in the document:
"
from dinosaur import primitive_equations
omega=primitive_equations.compute_vertical_velocity(advanced,model.data_coords)
"
But it runs in following errors:
Traceback (most recent call last):
File "", line 1, in
File "/home/whai/anaconda3/lib/python3.11/site-packages/dinosaur/primitive_equations.py", line 234, in compute_vertical_velocity
sigma_dot_boundaries = compute_diagnostic_state(state, coords).sigma_dot_full
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/whai/anaconda3/lib/python3.11/contextlib.py", line 81, in inner
return func(*args, **kwds)
^^^^^^^^^^^^^^^^^^^
File "/home/whai/anaconda3/lib/python3.11/site-packages/dinosaur/primitive_equations.py", line 175, in compute_diagnostic_state
nodal_vorticity = to_nodal_fn(state.vorticity)
^^^^^^^^^^^^^^^
AttributeError: 'ModelState' object has no attribute 'vorticity'
The "advaned" state "pprint" has vorticity. Would you please help me to fix this ?

There is a nested State object -- try passing advanced.state into compute_diagnostic_state().

Thank you again, but sorry to ask for your help again:
the output vertical velocity from compute_vertical_velocity is on sigma levels,
so I try to use model.model_coords.horizontal.to_nodal(vertical velocity) as you said in #8.
However it works with this error:
size of label  '1' for operand  1 (65)  does not match previous terms (64).
I've searched and can't fix it by myself. The full traceback is like this:


CA.gov logo is not a consistent size. It should be the same size in the header and footer.

Header:

Footer:

In Figma, the icon is 33x24px
https://www.figma.com/file/veQuKQHf8gK5JdFEoMLGRD/UI-Design-kit?node-id=432%3A5905

Confirmed 33x24 for header and footer in Windows Chrome on https://1-0-1-rc-post-launch-fixes.pr.designsystem.webstandards.ca.gov/


Landing Page updates

Re-ordering of some sentences and minor wording changes
https://www.figma.com/file/nhOquOVmWD1P3BxEY0KIh5/CCBC-Intake?node-id=4614%3A17863
Landing Page

[ ] Change "Full information about the Connecting Communities British Columbia (CCBC) program can be found at the program webpage."
to "Refer to program details for the application materials and full information about the Connecting Communities British Columbia (CCBC) program."

[ ] Move the following bullet points to the first section

"The application intake opens on September 7 at 9:00 AM Pacific Time (PT) and closes on November 6 at 9:00 AM Pacific Time (PT).
The CCBC anticipates opening additional future intakes for receiving applications and will update this date accordingly."

[ ] Add to the first section: "The ability to create a new application is currently on hold pending an update to ISED's Eligibility Mapping Tool. This page will be updated as soon as the map has been updated with an indication that Project applications are able to be submitted."

[ ] Move the Get Started login to the second section.

[ ] Move the following to the Application form overview section

Your responses will save automatically, you may exit and return at any time.
All questions are mandatory unless indicated otherwise.

[ ] Remove the following:

Please review the Application Guide
Please review the pdf of application questions
Please review the templates and gather all supporting documents
Please review the project zones, underserved pseudo households, and connectivity infrastructure projects

[ ] Move the General information section to the last section.

Applicants can apply for multiple projects and technology types but must demonstrate satisfaction of the required qualifications for each project.
As outlined in the Application Guide, no information which is marked Proprietary or Confidential that is submitted by an applicant during the application process will be disclosed to a Third Party by the Ministry, unless otherwise authorized by the applicant or if required to be disclosed by law.
Any document or content submitted as part of the application process shall be deemed and remain the property of the Province of B.C. and is subject to the B.C. Freedom of Information and Protection of Privacy Act.
CCBC is a program jointly funded by Canada and British Columbia. Applications selected by CCBC may be funded by both the Province and Innovation, Science and Economic Development Canada's (ISED) UBF.  Despite the streamlined application process, ISED has its own decision-making process and the Province does not represent ISED or make determinations regarding the Universal Broadband Fund (UBF).

[ ] Change "As outlined in the Application Guide, no information which is marked Proprietary or Confidential that is submitted by an applicant during the application process will be disclosed to a Third Party by the Ministry, unless otherwise authorized by the applicant or if required to be disclosed by law."
to "Subject to the terms of the Application Guide, no information which is marked Proprietary or Confidential that is submitted by an applicant during the application process will be disclosed to a Third Party by the Ministry, unless otherwise authorized by the applicant or if required to be disclosed by law."

@AntBush For the landing page, we're removing a bunch of stuff and changing several sentences. Is it easier for you if we say, "here's the whole new thing, sorta delete & replace everything" or is it easier if we outline each change that's taking place?

For me outlining each change means I won't miss one, although looking at the figma file if you have the general sections that are changed it'll make it easier to know where to look/identify changes.
If a sentence has a minor change though, it would be really helpful to identify that (like the addition of an apostrophe, added comma, etc)

@zoeyli-46 / @elliottSlee do we want to add the contents of #497 to this issue, while we're updating the landing page?

Hey team! Please add your planning poker estimate with Zenhub @AntBush @marcellmueller @matthieu-foucault @wenzowski


[Feature] Valid parenthesis calculator

Description
User will enter some pattern of parenthesis and it's validity will be displayed as output.
For example, input -> {}} -> not a valid parenthesis pattern similarly any other pattern of parenthesis entered by the user will be validated.!
Kindly assign this issue to me!
Thankss
Screenshots
No response
Checklist

[X] I have checked the existing issues.
[X] I follow Contributing Guidelines of this project.
[X] I am a GSSOC'24 contributor.
[ ] I am a IWOC'24 contributor.
[ ] I am a JWOC'24 contributor.
[ ] I am a SWOC'24 contributor.

Code of Conduct

[X] I agree to follow this project's "Code of Conduct".

Pls clarify using more examples or screenshots of what is this calculator about @Aarzookhunger

Pls clarify using more examples or screenshots of what is this calculator about @Aarzookhunger

User will enter the string consisting of brackets and then does every opening bracket has a closing bracket will be matched, basically the bracket pattern will be validated.
Some examples:-  (3)[[4] -> not valid (as closing is missing)
((({}))) -> valid every opening has closing

@Rakesh9100 Can you please recheck?

Go ahead @Aarzookhunger

Pls provide your PR @Aarzookhunger

Pls provide your PR @Aarzookhunger

Sorry for the delay sir I was pre-occupied somewhere. I'll generate pr within 1-2 days.


Add support for HTTPHeaders format

Coverage increased (+0.1%) to 73.485% when pulling 8b705f54ab585192b82243a392d72ded24405f0d on ys/implement-http-headers-format into c60d0b9ab83360546da39a90ab06a538028bfbbe on master.


Enforce admin-side 2FA/MFA

It should be possible to secure the host interface by enforcing MFA/2FA. Plain user/password login is not secure enough for enterprise customer.
Github 2FA could be an option, but it should be able to enforce it / deactive the user/password login from admin side to only allow 2FA GitHub accounts / GitHub organization users.

Hello Max,
Many thanks for the suggestion. Hasura-auth, the authentication service that we're using under the hood, is supporting MFA. We'll make sure to reflect this feature in the console UI and the documentation.


update go-log to v2.2.0

Changes introduced with this PR
Update the go log module to incorporate new changes including log color coding.

By contributing to this repository, I agree to the contribution guidelines.

This was included in the dependency-system part 2 PR. So it's already in main!
https://github.com/arcalot/arcaflow-engine/commit/2cce328b10a8a39739515778db30318c527dab05#diff-33ef32bf6c23acb95f5902d7097b7a1d5128ca061167ec0716715b0b9eeaa5f6


Persistent bleed from wounding rune triggers trait weaknesses

Steps to reproduce:
Have a weapon with unholy and wounding runes
Have a target with weakness to unholy
Strike the target with weapon
Roll persistent bleed damage
Expected result:
The target takes normal amount of bleed damage
Actual result:
Persistent bleed gained the unholy trait and triggers the weakness on each tick

Expected ... maybe. We'll have to get it cleared up.


Remove unused dependencies

Found by https://github.com/Boshen/cargo-shear

Thanks. Will run shear myself since this is easier than fixing the conflict.


run v. 5?

in branch feat/next-v5, node . returns:
Nothing to see right now, head over to https://jsbin.com for now ❤

is this the right branch for the development version? Thank you!!

npm start

thx!  looks really neat, though maybe  not quite ready for my audience in India yet :-/ .  npm run build && npm start works for me w node lts/carbon.


support EndpointProperties and EndpointProperty annotation

now we use cxf generation so it is handled on their side and it is now supported.

now we use cxf generation so it is handled on their side and it is now supported.


Add docker compose 1.7 support

Ports the bootstrap changes from #300 to master

@keithpitt can we just nuke the bootstrap.sh in master?

Going to merge… we can figure out bootstrap.sh later :)


Maintainer for this repo

Hey @goglue, could I please take over this repo for maintenance and further development?

hey @wivern-co-uk! sure thing 👍  just sent you an invite

hey @wivern-co-uk! sure thing 👍  just sent you an invite

This invitation has expired. could you please send it once again?

@wivern-co-uk sent 👍


Fix updating product that has no variants

I want to merge this change because it fixes following bug:

Go to "Create Product" view.
Fill "name" and "description", select "product type" and save the product.
After product is saved, change visibility to "Visible" and hit "Save".
Observe errors in the console

PR intended to be tested with API branch: master
Pull Request Checklist

[ ] All visible strings are translated with proper context.
[ ] All data-formatting is locale-aware (dates, numbers, and so on).
[ ] Translated strings are extracted.
[ ] Number of API calls is optimized.
[ ] The changes are tested.
[ ] Data-test are added for new elements.
[ ] Type definitions are up to date.
[x] Changes are mentioned in the changelog.

Test environment config

API_URI=https://master.staging.saleor.rocks/graphql/

Task linked: CU-6uu46m Cannot read property 'stocks' of undefined


Can you also port the fabric version for 1.18.2?

I saw a 1.18.2 for the forge version, figure I'd request for a 1.18.2 release for the fabric if you don't mind doing that!

I don't plan on doing Fabric, you'll have to ask the maintainers of the Farbic version for that

https://www.curseforge.com/minecraft/mc-mods/cave-dweller-fabric
https://modrinth.com/mod/cave-dweller-evolved-(fabric)

Oh what? The fabric version on modrinth literally lead me here when I clicked 'source' that's so weird


Add D-stake Endpoints for Akiro

Please add endpoints to the bottom of their respective arrays.
Please use a descriptive PR title.
Change otherwise looks OK.

Still forgot to update the PR title


Add windows and tabs

Adding New Windows
Some thoughts on creating new windows and tabs

Probably want a separate keybinding for window and tabs
Need sensible decisions about where to put the newly created thing so that
you don't have to navigate to the right place first, ie will adding a new
window add it immediately after the current one, or as the last window in the
tab? Will adding a new tab add it after the current one or as the last one. If
you're on a tab does adding a window insert it as the first one?

Maybe:

n: append new window after current
N: append new window as last
c-n: insert new window before current
c-N: insert new window as first
If on a tab, assume 'current' is previously active window in active tab
If on an OS window, assume 'current' as previously active window in active tab

It is unclear how this will actually work in kitty, it depends on how the overlay mode is counted.
Likely steps:

Set up keybindgs
Create addWindow function
Populate the various options

Not actually sure this is necessary, since kitty has good keybindings for this anyway, will reconsider post 1.0.0 release.


Interface Type alias not working as expected.--  "type T = T1 | T2" cannot assign T1 as T //(TS2322: Type is not assignable to type)

TypeScript Version:  4.0.5

Search Terms:
interface type alias TS2322: Type is not assignable to type
Code
interface T1{
    a:any
}

interface T2{
    b: any
}

type T = T1 | T2
interface Holder{
   data: T
}

const someHolder : Holder = {
    data: <T1>{
        a: 1
    }
}

Expected behavior:
Expected to accept T1 typed interface as T without explicit as any casting
Actual behavior:
TS2322: Type 'T1' is not assignable to type T

I don't see the issue. It was as expeced, your acutal behavior doesn't occur.

Works in the playground as well.


Megapose detector: error when no detections

Megapose pose_estimator main entry point run_inference_pipeline covers different behviours depending on the
https://github.com/agimus-project/happypose/blob/6a9b1726bebf69f76c3743758450e4118fafeb0d/happypose/pose_estimators/megapose/inference/pose_estimator.py#L520

if coarse_estimates is not None: only refine initial coarse poses and detections
else
if detections is None and run_detector True                -> run the detection model
if detections is not None and run_detector == True   -> use the detections
if detections is None and run_detector == False         -> assertion error

One case is not handled though:

len(detections) == 0
which can happen if the model does not detect any object or the detections passed to  run_inference_pipeline are empty

which causes an error in
https://github.com/agimus-project/happypose/blob/6a9b1726bebf69f76c3743758450e4118fafeb0d/happypose/pose_estimators/megapose/inference/pose_estimator.py#L577
ValueError: 'batch_im_id' is both an index level and a column label, which is ambiguous.

done in #92 & #102


Better rendering API

Having the glyph cache inside of cosmic-text wastes memory if the image will be immediately uploaded to GPU, and the API returning pixel positions and colors instead of images decreases performance.

Is the rendering api something which could output effectively a description of draw calls or are images the only reasonable way to do this?

this one is a bit harder as you really don't want to support the renderer internally but setup ways to do the text layout and still allow the end user to build their Atlas etc for rendering. not really sure how to go about this easily myself. Maybe might require a trait API that can be called upon within the Layout draw. like cache check, Cache insert, and cache ID so when creating the vertices later it could build the proper locations?  Could also use the Trait API with the current Cache method too.

Improved a bit, now swash is optional and the glyphs can be inspected directly


⚠ Site ANTS has degraded performance

In 8bcb3fd, Site ANTS (https://ants.gouv.fr) experienced degraded performance:

HTTP code: 200
Response time: 13821 ms

Resolved: Site ANTS performance has improved in 7dc2c0d.


CamelCamelCamel

Ref: Conversation #4201 / Mathan

Ref: Conversation #5658 / Jacopo

Ref: Conversation #5678 / Calvin

Done http://pilotmoon.com/popclip/extensions/page/CamelCamelCamel


Operator fails in case if you change BackupSchedule storage

Describe the bug
Operator start failing if you change storage for schedule that has been already bound to some storage via .metadata.ownerReference
Steps to Reproduce
Steps to reproduce the behavior:

Create Storage
Create Schedule
Create another Storage
Alter Schedule to use second Storage
Check operator logs

Expected behavior
Storage is changed without any errors. Maybe, we should not set ownerReference from Storage on Schedule at all?
Points that appear instantly:

In that case we will have to change algorithm of counting schedules that are bound to the respective Storage.
It is great, because we will be able to create the Storage without loosing of Schedules and hence backups (because of recreation)
How to deal with BackupRuns that have been completed before the Storage change. That is obvious that they cannot be deleted from the storage the do not exist. Maybe just ignore that? The only consequences we should see are error logs.

Removed ownerReference of Storage on Schedule.