Builds fail as source tree is read-only

Builds of gnome-build-meta branch abderrahim/bst2 (commit 2a26487a202bdff157768aba7c76be07b3a53a69) fail on my local machine. Examples:
[00:02:15][ad547ca9][   build:core-deps/ModemManager.bst    ] FAILURE Command failed

    Printing the last 20 lines from log file:
    /home/sam/.cache/buildstream/logs/gnome/core-deps-ModemManager/ad547ca9-build.116979.log
    ======================================================================
    make[3]: Leaving directory '/buildstream/gnome/core-deps/ModemManager.bst/data/dispatcher-fcc-unlock'
    Making all in tests
    make[3]: Entering directory '/buildstream/gnome/core-deps/ModemManager.bst/data/tests'
    make[3]: Nothing to be done for 'all'.
    make[3]: Leaving directory '/buildstream/gnome/core-deps/ModemManager.bst/data/tests'
    make[2]: Leaving directory '/buildstream/gnome/core-deps/ModemManager.bst/data'
    Making all in include
    make[2]: Entering directory '/buildstream/gnome/core-deps/ModemManager.bst/include'
    xsltproc --xinclude --nonet ../build-aux/header-generator.xsl ../introspection/all.xml > ModemManager-names.h
    /bin/sh: line 1: ModemManager-names.h: Permission denied
    make[2]: *** [Makefile:687: ModemManager-names.h] Error 1
    make[2]: Leaving directory '/buildstream/gnome/core-deps/ModemManager.bst/include'
    make[1]: *** [Makefile:540: all-recursive] Error 1
    make[1]: Leaving directory '/buildstream/gnome/core-deps/ModemManager.bst'
    make: *** [Makefile:470: all] Error 2
    Command 'make' failed with exitcode 2
    [00:01:04] FAILURE core-deps/ModemManager.bst: Running commands
    [--:--:--] START   [ad547ca9] core-deps/ModemManager.bst: Caching artifact
    [00:00:00] SUCCESS [ad547ca9] core-deps/ModemManager.bst: Caching artifact
    [00:02:15] FAILURE [ad547ca9] core-deps/ModemManager.bst: Command failed
    ======================================================================

[00:00:00][e85f8266][   build:sdk/vala-tarball.bst          ] FAILURE Command failed

    Printing the last 20 lines from log file:
    /home/sam/.cache/buildstream/logs/gnome/sdk-vala-tarball/e85f8266-build.116979.log
    ======================================================================
    config.status: creating vapigen/Makefile
    config.status: creating vapigen/vala-gen-introspect/Makefile
    config.status: creating vapigen/vala-gen-introspect/vala-gen-introspect
    config.status: creating config.h
    config.status: executing depfiles commands
    config.status: executing libtool commands
    configure: WARNING: unrecognized options: --disable-Werror
    + sh -c -e 'make
    '
    CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /buildstream/gnome/sdk/vala-tarball.bst/build-aux/missing aclocal-1.16 --install -I m4
    aclocal-1.16: overwriting 'm4/pkg.m4' with '/usr/share/aclocal/pkg.m4'
    cp: cannot create regular file 'm4/pkg.m4': Permission denied
    aclocal-1.16: error: cp failed with exit status: 1
    make: *** [Makefile:456: aclocal.m4] Error 1
    Command 'make' failed with exitcode 2
    [00:00:55] FAILURE sdk/vala-tarball.bst: Running commands
    [--:--:--] START   [e85f8266] sdk/vala-tarball.bst: Caching artifact
    [00:00:00] FAILURE [e85f8266] sdk/vala-tarball.bst: Command failed
    ======================================================================

These builds fail because the source tree is read only, and they expect to be able to overwrite files in the source tree which I believe the Bst sandbox should indeed allow.
In gnome-build-meta CI the same elements seem to build, e.g. https://gitlab.gnome.org/GNOME/gnome-build-meta/-/jobs/2219097 shows vala-tarball.bst successfully building from source.
My system:

Fedora 35
BuildStream 1.95.1 (actually https://test.pypi.org/project/BuildStream/1.999.674.dev0/ :-)
buildbox 0.0.61, statically linked from https://gitlab.com/BuildGrid/buildbox/buildbox-integration/-/releases

Checking in ~/.cache/buildstream/logs/_casd shows that buildbox-casd is not using its FUSE backend:
[buildboxcasd_server.cpp:87] [INFO] Using `HardLinkStager` as staging backend

This is likely as I am using https://github.com/apache/buildstream/pull/1723 and the PATH used to run buildbox-casd does not include buildbox-fuse.

Closing as this is not a problem in master, only in unmerged PR https://github.com/apache/buildstream/pull/1723


AzCopy: Sync command taking more time to Files Scanned at Destination

Which version of AZ Copy was used?
10.21.0
Which platform are you using? (ex: Windows, Mac, Linux)
Windows
What command did you run?
azcopy sync "https://pfssa110.file.core.windows.net/production-vol1/?SASToken" "rpfssa110.file.core.windows.net/production-vol1/?SASToken"  --log-level=ERROR --recursive --delete-destination=true
What problem was encountered?
For more than two hours, we have seen the sync command only scanning files at destination without synchronizing files
0 Files Scanned at Source, 404892 Files Scanned at Destination
0 Files Scanned at Source, 405750 Files Scanned at Destination
0 Files Scanned at Source, 406596 Files Scanned at Destination
0 Files Scanned at Source, 407431 Files Scanned at Destination
0 Files Scanned at Source, 408288 Files Scanned at Destination
0 Files Scanned at Source, 409132 Files Scanned at Destination
0 Files Scanned at Source, 409965 Files Scanned at Destination
0 Files Scanned at Source, 410776 Files Scanned at Destination
0 Files Scanned at Source, 411648 Files Scanned at Destination
0 Files Scanned at Source, 412542 Files Scanned at Destination
0 Files Scanned at Source, 413451 Files Scanned at Destination
0 Files Scanned at Source, 414359 Files Scanned at Destination
0 Files Scanned at Source, 415237 Files Scanned at Destination
0 Files Scanned at Source, 416105 Files Scanned at Destination
0 Files Scanned at Source, 416965 Files Scanned at Destination
0 Files Scanned at Source, 417837 Files Scanned at Destination
0 Files Scanned at Source, 418699 Files Scanned at Destination
0 Files Scanned at Source, 419547 Files Scanned at Destination
0 Files Scanned at Source, 420364 Files Scanned at Destination
0 Files Scanned at Source, 421231 Files Scanned at Destination
How can we reproduce the problem in the simplest way?
Try to sync 50000 or more file shares from the source to the destination file share using the above command.
Have you found a mitigation/solution?
NO

Please share your debug logs here, thanks!

Thanks for the response @ashruti-msft , below is the scanning log
2024/05/04 15:14:39 AzcopyVersion  10.21.0
2024/05/04 15:14:39 OS-Environment  windows
2024/05/04 15:14:39 OS-Architecture  amd64
2024/05/04 15:14:39 Log times are in UTC. Local time is 4 May 2024 10:14:39

Hi,
After a long time, we could see the below output. Finally, source files are also getting scanned.  some of output line I skipped to
0 Files Scanned at Source, 640445 Files Scanned at Destination
477 Files Scanned at Source, 640445 Files Scanned at Destination
3788 Files Scanned at Source, 640445 Files Scanned at Destination
7050 Files Scanned at Source, 640445 Files Scanned at Destination
9922 Files Scanned at Source, 640445 Files Scanned at Destination
183803 Files Scanned at Source, 640445 Files Scanned at Destination

regarding scanning file, we could only see above output, but in other log file below is the error we got
2024/05/04 15:14:39 AzcopyVersion  10.21.0
2024/05/04 15:14:39 OS-Environment  windows
2024/05/04 15:14:39 OS-Architecture  amd64
2024/05/04 15:14:39 Log times are in UTC. Local time is 4 May 2024 10:14:39
2024/05/04 15:50:55 Job-Command sync "https://pfssa110.file.core.windows.net/production-vol1/?SASToken" "rpfssa110.file.core.windows.net/production-vol1/?SASToken" --log-level=ERROR --recursive --delete-destination=true
2024/05/04 15:50:55 ERR: [P#0-T#33] ParentNotFound: PUT https://pfssa110.file.core.windows.net/docrep-production-vol1/67/5000013667/361825b2-9393-4eb8-aa0b-0999e83775cd.Meridian Link Credit<PHONE_NUMBER>(1)<PHONE_NUMBER>38 CREDIT_REPORT.pdf
RESPONSE 404: 404 The specified parent path does not exist.
ERROR CODE: ParentNotFound
ParentNotFoundThe specified parent path does not exist.
RequestId:647aa18e-c01a-006d-1f3a-9efd27000000
Time:2024-05-04T15:50:55.4254270Z
Q. Scanning of file is taking so much of time, is there any way stop scanning and only sync files those are added/modified/deleted?

Hello Team,
looking for response

Hey, Can you upgrade to the latest version of AZ copy [10.24.0] and try the same operation and see if the issue persists.

@pranavmalik-msft
We upgraded upgrade to the latest version of AZ copy [10.24.0], But we still see the same output as below
Starting copy script
Using AzCopy version 10.24.0
--------------- Starting File sync ---------------
Tenant: 2512dd5d-849f-4c6c-b428-xxxxxxxxxxxxxx
SubscriptionName SubscriptionId                       Account                              Environment

Mortgage Cadence xxxxxxxx-fbcb-4d38-xxx-0440xxxxx xxxxxxxx-b3xx-4xxx-8cxx-bxxxxx3cxxxxd AzureCloud
INFO: Please note: the preserve-permissions flag is set to false, thus AzCopy will not copy SMB ACLs between the source and destination. To learn more: https://aka.ms/AzCopy
andAzureFiles.
INFO: Any empty folders will be processed, because source and destination both support folders. For the same reason, properties defined on folders will be processed
Job aed0a13b-d3bc-2b44-7b0e-4ef82051bf9d has started
Log file is located at: D:.azcopy\aed0a13b-d3bc-2b44-7b0e-4ef82051bf9d.log
0 Files Scanned at Source, 4 Files Scanned at Destination
0 Files Scanned at Source, 4 Files Scanned at Destination
0 Files Scanned at Source, 4 Files Scanned at Destination
0 Files Scanned at Source, 4 Files Scanned at Destination
0 Files Scanned at Source, 4 Files Scanned at Destination
0 Files Scanned at Source, 4 Files Scanned at Destination
0 Files Scanned at Source, 4 Files Scanned at Destination
0 Files Scanned at Source, 4 Files Scanned at Destination
0 Files Scanned at Source, 4 Files Scanned at Destination
0 Files Scanned at Source, 4 Files Scanned at Destination
0 Files Scanned at Source, 4 Files Scanned at Destination

@pranavmalik-msft
We could see source files scanning stated after 1593218 files has scanned at destinations Storage accounts.
0 Files Scanned at Source, 1588672 Files Scanned at Destination
0 Files Scanned at Source, 1589391 Files Scanned at Destination
0 Files Scanned at Source, 1590118 Files Scanned at Destination
0 Files Scanned at Source, 1590843 Files Scanned at Destination
0 Files Scanned at Source, 1591600 Files Scanned at Destination
0 Files Scanned at Source, 1592327 Files Scanned at Destination
0 Files Scanned at Source, 1593053 Files Scanned at Destination
0 Files Scanned at Source, 1593218 Files Scanned at Destination
0 Files Scanned at Source, 1593218 Files Scanned at Destination
1070 Files Scanned at Source, 1593218 Files Scanned at Destination
5649 Files Scanned at Source, 1593218 Files Scanned at Destination
9285 Files Scanned at Source, 1593218 Files Scanned at Destination
13907 Files Scanned at Source, 1593218 Files Scanned at Destination
18393 Files Scanned at Source, 1593218 Files Scanned at Destination
23082 Files Scanned at Source, 1593218 Files Scanned at Destination
27596 Files Scanned at Source, 1593218 Files Scanned at Destination
32184 Files Scanned at Source, 1593218 Files Scanned at Destination
36812 Files Scanned at Source, 1593218 Files Scanned at Destination
41637 Files Scanned at Source, 1593218 Files Scanned at Destination
46286 Files Scanned at Source, 1593218 Files Scanned at Destination

@pranavmalik-msft
Hello Team,
looking for response


Features of sos languages

codemirror-sos.ts implements a CodeMirror 5 -style stream highlighter for sos. Since CodeMirror 6 uses a totally different mechanism, we need to write the language module using the new CodeMirror API (see an Example). The new implementation should use a Lezer Parser System.  This Lexer guide provides a good starting point, and Grammer Nesting is the key technology we will need to use.
The new parser needs to implement the following features:

Magic (%MAGIC)

Cells with different kernels uses their native syntax highlighter mode (Python and R in the following example)

SoS mode is based on Python

In workflow mode, language switch to R, Python etc after action: specification

expand=True highlights expressions

Different expand delimiters

%expand magic works for SoS and non-SoS code cells

Relevant code:

parser

https://github.com/vatlab/jupyterlab-sos/blob/498aaa3d39d1a16e468226b1f98a6fbde3c34ce8/src/codemirror-sos.ts#L73-L75C29

base_mode should be an option for non-sos cells

https://github.com/vatlab/jupyterlab-sos/blob/498aaa3d39d1a16e468226b1f98a6fbde3c34ce8/src/codemirror-sos.ts#L195C1-L200

find mode for sos actions

https://github.com/vatlab/jupyterlab-sos/blob/498aaa3d39d1a16e468226b1f98a6fbde3c34ce8/src/codemirror-sos.ts#L470-L474

Parse %expand and determine left and right sigil

https://github.com/vatlab/jupyterlab-sos/blob/498aaa3d39d1a16e468226b1f98a6fbde3c34ce8/src/codemirror-sos.ts#L279C11-L295
These code snippets are just for reference. It looks like the new language module is based on parser instead of states, which should be much easier to implement.

Step 1:
Define a Lezer syntax for sos-specific syntax that are added to Python, which includes
%magic
[sos step]
Action:
we can start from the %magic. Everything else should be Python and we need to copy python syntax over before adding our syntax.
make it run
add nested parser for Action

import { pythonLanguage  } from "@codemirror/lang-python"
import { rLanguage } from "codemirror-lang-r"
import { markdownLanguage } from "@codemirror/lang-markdown"
import { javascriptLanguage} from "@codemirror/lang-javascript"

import { StreamLanguage } from "@codemirror/language"
import { ruby } from "@codemirror/legacy-modes/mode/ruby"
import { sas } from "@codemirror/legacy-modes/mode/sas"
import { octave } from "@codemirror/legacy-modes/mode/octave"
import { perl } from "@codemirror/legacy-modes/mode/perl"
import { shell } from "@codemirror/legacy-modes/mode/shell"
import { EditorView } from "@codemirror/view"
import { EditorSelection } from "@codemirror/state"

const defaulAction: ActionLang[] = [
  {
    action: "Python",
    parser: pythonLanguage.parser
  },
  {
    action: "R",
    parser: rLanguage.parser
  },
  {
    action: "Javascript",
    parser: javascriptLanguage.parser
  },
  {
    action: "matlab",
    parser: StreamLanguage.define(octave).parser
  },
  {
    action: "octave",
    parser: StreamLanguage.define(octave).parser
  },
  {
    action: "ruby",
    parser: StreamLanguage.define(ruby).parser
  },
  {
    action: "markdown",
    parser: markdownLanguage.parser
  },
  {
    action: "perl",
    parser: StreamLanguage.define(perl).parser
  },
  {
    action: "shell",
    parser: StreamLanguage.define(shell).parser
  },
  {
    action: "run",
    parser: StreamLanguage.define(shell).parser
  },
  {
    action: "sh",
    parser: StreamLanguage.define(shell).parser
  },
  {
    action: "bash",
    parser: StreamLanguage.define(shell).parser
  },
  {
    action: "sas",
    parser: StreamLanguage.define(sas).parser
  }
]

Step 1:
In jupyterlab-sos allow
    (cell.inputArea.editorWidget.editor as CodeMirrorEditor).setOption(
      'mode',
      'sos'
    );

It is uncertain

If codemirror side allows options such as parseConf
How to change parseConf dynamically from the jupyterlab side.

Step 2
Add support for

%magic
[step ]
Action:

to the base Python mode.

Step 3:
Add support for sigil and expansion for Python mode.

Step 4:
Add support for language option to choose python/r etc as basemode, and use base mode

step 5:
Add support %expand to base model

Question asked on https://discourse.jupyter.org/t/how-to-set-codemirror-mode-for-individual-editor/22026

Install the Required Parsers: Ensure you have the necessary CodeMirror language packages for Python and R:

npm install @codemirror/basic-setup @codemirror/language @codemirror/lang-python @codemirror/lang-r

Create the Language Extension: Define the sos language extension that switches between the Python and R parsers:

import {LRLanguage, LanguageSupport, defineLanguageFacet} from "@codemirror/language";
import {styleTags, tags as t} from "@lezer/highlight";
import {python} from "@codemirror/lang-python";
import {r} from "@codemirror/lang-r";
import {Input, Stack} from "@lezer/lr";

const sosLanguage = LRLanguage.define({
  parser: python().language.parser.configure({
    wrap: (input: Input, stack: Stack) => {
      let state = "python";
      return {
        next() {
          let line = input.readLine();
          if (line.startsWith("R:")) {
            state = "r";
          }
          if (state === "python") {
            return python().language.parser.startParse(input, stack).next();
          } else {
            return r().language.parser.startParse(input, stack).next();
          }
        }
      };
    },
    props: [
      styleTags({
        "Keyword": t.keyword,
        "VariableName": t.variableName,
        "String": t.string,
        "Number": t.number,
        "Operator": t.operator,
        "Punctuation": t.punctuation,
        "Magic": t.special(t.keyword) // Custom tag for magics
      })
    ]
  }),
  languageData: {
    commentTokens: {line: "#"}
  }
});

export function sosLanguageSupport() {
  return new LanguageSupport(sosLanguage);
}

Integrate the Language Extension: Use the sos language extension in your CodeMirror setup:

import {EditorState} from "@codemirror/state";
import {EditorView, basicSetup} from "@codemirror/basic-setup";
import {sosLanguageSupport} from "./sosLanguage";

const state = EditorState.create({
  doc: "%use python\nprint('Hello, world!')\nR:\nprint('Hello from R!')",
  extensions: [basicSetup, sosLanguageSupport()]
});

const view = new EditorView({
  state,
  parent: document.querySelector("#editor") as HTMLElement
});


Clean-up work after merging repositories

[x] avoid running integration tests for kore-exec when nothing changed https://github.com/runtimeverification/haskell-backend/pull/3808

github path filter action for kore and kore-rpc-types (and tests/kore-exec, of course), as well as all general build setup

[x] test performance scripts, adjust .gitignore to ignore artefacts

[ ]  remove generate-json and the update-regression-tests scripts ?

[x]  adjust the README files https://github.com/runtimeverification/haskell-backend/pull/3812

remove booster README
add information about booster to top-level README and update it

[ ]  merge documentation folders

design-decisions -> docs/design-decisions ?
booster/docs -> docs (with renamed files) ?

[x] move secondary kore binaries to dev-tools package https://github.com/runtimeverification/haskell-backend/pull/3811

[ ]  rework directory structure for tests

tests/kore-exec
tests/rpc-integration

merging old and new tests
using kore-rpc-client and script

tests/interactive (for kore-repl), if we keep those at all

No further work planned because not a priority at all.


5.4 update -- Audio Ads continue to play

Look Below
      > I've pushed an update that now allows you to watch YouTube ad-free without any detection (5.4)

Please let me know if it works for u.
Also I'm aware playlist don't work as intended by not auto going to the next video.

It works now however, the audio of the original ADs now just play behind the video. I believe there can be a mute function that could be implemented.
Originally posted by @GrandpaMo in https://github.com/TheRealJoelmatic/RemoveAdblockThing/issues/439#issuecomment-2145791729

same here for me

You can press spacebar to pause the ad for now

same

You can press spacebar to pause the ad for now

If you press the spacebar to pause -- it will replay the video causing duplicate audio bug to occur.

I believe I know where the bug lies at in the code.
"function clearPlayer(videoPlayerElement)"
It is happening most likely because this function above is not being executed properly causing the duplicate current video is not being deleted. I think the code is being stuck in the while loop.
Looking at the console logs -- it looks like the function to remove the current player, then remove page ads, then embed replacement video, extraction of ID, then remove the current player again, then finish.
Currently, the replacement "embed" video has no ads and works perfectly but the current video is being played in the background like a normal video with ads. I am trying to figure why the function clearPlayer is not giving the error.
I will try to play around with it and update anything I find.

Update:
Version 5.0 seems to be unpatched so far probably because youtube's patching of current updates may have reversed the damage done.
You can downgrade the script for now at: https://github.com/TheRealJoelmatic/RemoveAdblockThing/releases/download/v5.0/Youtube-Ad-blocker-Reminder-Remover.user.js

Update:
I think I found the exact issue and what is happening.
I believe the class that is being deleted from the function clearPlayer from the youtube site is this element

which has the similar class as the html5-video-player shown in the code.
However deleting only the player will cause the video output to gone but the controls and everything else including the audio to stay. This was found after deleting the element.
The element or the class specifically this was under was this
"html5-video-player ytp-transparent ytp-exp-bottom-control-flexbox ytp-modern-caption ytp-exp-ppp-update ad-created ytp-fit-cover-video ytp-bigboards ytp-fine-scrubbing-exp ytp-hide-info-bar ytp-small-mode ytp-heat-map-v2 ytp-heat-map ytp-autonav-endscreen-cancelled-state ytp-branding-shown paused-mode"
This would contain all of it. Now I don't know if this have been tried before -- but if that doesn't work there are also greater classes that this class falls under that could also work including the style scope ytd player.
Is there something you could possibly test by changing what the clearPlayer function video deletes? I will try to see what I can get.


Unable to build vignette

I've tried repeatedly to build the vignette for this package with little success. These are the steps I took along with the output. Any idea why this might be happening?
Alternatively, would it be possible to also include an already built PDF copy of the vignette. The bits I am particularly interested in are the syntax nuances in using FRASER to get split and non-split counts
I'm doing this on Mac OS Sierra

R version 3.6.2
texinfo: stable 6.7 [keg-only]

Steps I took:

git cloned gagneurlab/FRASER repo
Installed devtools
Navigated to FRASER folder
R session involved & devtools::build(pkg='.', vignettes=TRUE)

> devtools::build(pkg='.', vignettes=TRUE)
✔  checking for file ‘/Users/himanshujoshi/PycharmProjects/FRASER/DESCRIPTION’ ...
─  preparing ‘FRASER’:
✔  checking DESCRIPTION meta-information ...
─  cleaning src
─  installing the package to build vignettes
E  creating vignettes (2m 19.9s)
   --- re-building ‘FraseR.Rnw’ using knitr
   Fri Jan 17 15:27:01 2020: Calculate the PSI 5 and 3 values ...
   Fri Jan 17 15:27:03 2020: Calculate the PSI site values ...
   Fri Jan 17 15:27:04 2020: Calculate the delta for psi5 values ...
   Fri Jan 17 15:27:04 2020: Calculate the delta for psi3 values ...
   Fri Jan 17 15:27:04 2020: Calculate the delta for psiSite values ...
   Fri Jan 17 15:27:05 2020: Writing final FraseR object ('/var/folders/gw/rccgk_r53w316ntmdmtv1hrw000157/T//RtmpaEz1GE/savedObjects/Example_Dataset/fds-object.RDS').

   Fri Jan 17 15:27:05 2020: Fit step for: 'psi5'.
   Fri Jan 17 15:27:06 2020: Running fit with correction method: PCA
   Fri Jan 17 15:27:06 2020: Computing PCA ...
   Fri Jan 17 15:27:06 2020: Fitting rho ...
   Fri Jan 17 15:27:07 2020: Compute p values for: 'psi5'.
   Fri Jan 17 15:27:08 2020: Adjust p values for: 'psi5'.
   Fri Jan 17 15:27:08 2020: Compute Z scores for: 'psi5'.

   Fri Jan 17 15:27:08 2020: Fit step for: 'psi3'.
   Fri Jan 17 15:27:09 2020: Running fit with correction method: PCA
   Fri Jan 17 15:27:09 2020: Computing PCA ...
   Fri Jan 17 15:27:09 2020: Fitting rho ...
   Fri Jan 17 15:27:10 2020: Compute p values for: 'psi3'.
   Fri Jan 17 15:27:11 2020: Adjust p values for: 'psi3'.
   Fri Jan 17 15:27:11 2020: Compute Z scores for: 'psi3'.

   Fri Jan 17 15:27:12 2020: Fit step for: 'psiSite'.
   Fri Jan 17 15:27:12 2020: Running fit with correction method: PCA
   Fri Jan 17 15:27:12 2020: Computing PCA ...
   Fri Jan 17 15:27:12 2020: Fitting rho ...
   Fri Jan 17 15:27:13 2020: Compute p values for: 'psiSite'.
   Fri Jan 17 15:27:14 2020: Adjust p values for: 'psiSite'.
   Fri Jan 17 15:27:15 2020: Compute Z scores for: 'psiSite'.
   Loading required package: TxDb.Hsapiens.UCSC.hg19.knownGene
   Loading required package: GenomicFeatures
   Loading required package: AnnotationDbi
   Loading required package: org.Hs.eg.db

   'select()' returned 1:1 mapping between keys and columns
   'select()' returned 1:1 mapping between keys and columns
   Fri Jan 17 15:27:18 2020: Collecting results for: psi5
   Fri Jan 17 15:27:18 2020: Process chunk: 1 for: psi5
   Fri Jan 17 15:27:18 2020: Collecting results for: psi3
   Fri Jan 17 15:27:18 2020: Process chunk: 1 for: psi3
   Fri Jan 17 15:27:18 2020: Collecting results for: psiSite
   Fri Jan 17 15:27:18 2020: Process chunk: 1 for: psiSite
   Warning in has_utility("convert", "ImageMagick") :
     ImageMagick not installed or not in PATH
   Fri Jan 17 15:27:22 2020: Start counting the split reads ...
   Fri Jan 17 15:27:22 2020: Count split reads for sample: sample1
   Warning in dir.create(cachedir, recursive = TRUE) :
     '/var/folders/gw/rccgk_r53w316ntmdmtv1hrw000157/T//RtmpaEz1GE/cache/splitCounts' already exists
   Fri Jan 17 15:27:22 2020: Count split reads for sample: sample2
   Fri Jan 17 15:27:22 2020: Count split reads for sample: sample3
   Warning in dir.create(cachedir, recursive = TRUE) :
     '/var/folders/gw/rccgk_r53w316ntmdmtv1hrw000157/T//RtmpaEz1GE/cache/splitCounts' already exists
   Fri Jan 17 15:27:33 2020 : count ranges need to be merged ...
   Fri Jan 17 15:27:35 2020: Create splice site indices ...
   Fri Jan 17 15:27:35 2020: Writing counts to file: /var/folders/gw/rccgk_r53w316ntmdmtv1hrw000157/T//RtmpaEz1GE/savedObjects/Data_Analysis/splitCounts.tsv.gz
   Fri Jan 17 15:27:35 2020: Create splice site indices ...
   Fri Jan 17 15:27:35 2020: Start counting the non spliced reads ...
   Fri Jan 17 15:27:35 2020: In total 60 splice junctions are found.
   Fri Jan 17 15:27:35 2020: In total 77 splice sites (acceptor/donor) will be counted ...
   Fri Jan 17 15:27:35 2020: Count non spliced reads for sample: sample1
   Warning in dir.create(cachedir, recursive = TRUE) :
     '/var/folders/gw/rccgk_r53w316ntmdmtv1hrw000157/T//RtmpaEz1GE/cache/nonSplicedCounts/Data_Analysis' already exists

           ==========     _____ _    _ ____  _____  ______          _____
           =====         / ____| |  | |  _ \|  __ \|  ____|   /\   |  __ \
             =====      | (___ | |  | | |_) | |__) | |__     /  \  | |  | |
               ====      \___ \| |  | |  _ <|  _  /|  __|   / /\ \ | |  | |
                 ====    ____) | |__| | |_) | | \ \| |____ / ____ \| |__| |
           ==========   |_____/ \____/|____/|_|  \_\______/_/    \_\_____/
          Rsubread 2.0.0

   //========================== featureCounts setting ===========================\\
   ||                                                                            ||
   ||             Input files : 1 BAM file                                       ||
   ||                           o sample1.bam                                    ||
   ||                                                                            ||
   ||              Annotation : R data.frame                                     ||
   ||      Dir for temp files : /var/folders/gw/rccgk_r53w316ntmdmtv1hrw0001 ... ||
   ||                 Threads : 3                                                ||
   ||                   Level : meta-feature level                               ||
   ||              Paired-end : no                                               ||
   ||      Multimapping reads : counted                                          ||
   || Multi-overlapping reads : counted                                          ||
   ||   Min overlapping bases : 10                                               ||
   ||          Long read mode : yes                                              ||
   ||                                                                            ||
   \\============================================================================//

   //================================= Running ==================================\\
   ||                                                                            ||
   || Load annotation file .Rsubread_UserProvidedAnnotation_pid92802 ...         ||
   ||    Features : 77                                                           ||
   ||    Meta-features : 77                                                      ||
   ||    Chromosomes/contigs : 2                                                 ||
   ||                                                                            ||
   || Process BAM file sample1.bam...                                            ||
   ||    WARNING: Paired-end reads were found.                                   ||
   ||    Total alignments : 802                                                  ||
   ||    Successfully assigned alignments : 188 (23.4%)                          ||
   ||    Running time : 0.01 minutes                                             ||
   ||                                                                            ||
   || Write the final count table.                                               ||
   || Write the read assignment summary.                                         ||
   ||                                                                            ||
   \\============================================================================//

   Saving splice site cache ...
   Fri Jan 17 15:27:35 2020: Count non spliced reads for sample: sample3

           ==========     _____ _    _ ____  _____  ______          _____
           =====         / ____| |  | |  _ \|  __ \|  ____|   /\   |  __ \
             =====      | (___ | |  | | |_) | |__) | |__     /  \  | |  | |
               ====      \___ \| |  | |  _ <|  _  /|  __|   / /\ \ | |  | |
                 ====    ____) | |__| | |_) | | \ \| |____ / ____ \| |__| |
           ==========   |_____/ \____/|____/|_|  \_\______/_/    \_\_____/
          Rsubread 2.0.0

   //========================== featureCounts setting ===========================\\
   ||                                                                            ||
   ||             Input files : 1 BAM file                                       ||
   ||                           o sample3.bam                                    ||
   ||                                                                            ||
   ||              Annotation : R data.frame                                     ||
   ||      Dir for temp files : /var/folders/gw/rccgk_r53w316ntmdmtv1hrw0001 ... ||
   ||                 Threads : 3                                                ||
   ||                   Level : meta-feature level                               ||
   ||              Paired-end : no                                               ||
   ||      Multimapping reads : counted                                          ||
   || Multi-overlapping reads : counted                                          ||
   ||   Min overlapping bases : 10                                               ||
   ||          Long read mode : yes                                              ||
   ||                                                                            ||
   \\============================================================================//

   //================================= Running ==================================\\
   ||                                                                            ||
   || Load annotation file .Rsubread_UserProvidedAnnotation_pid92804 ...         ||
   ||    Features : 77                                                           ||
   ||    Meta-features : 77                                                      ||
   ||    Chromosomes/contigs : 2                                                 ||
   ||                                                                            ||
   || Process BAM file sample3.bam...                                            ||
   ||    WARNING: Paired-end reads were found.                                   ||
   ||    Total alignments : 3498                                                 ||
   ||    Successfully assigned alignments : 866 (24.8%)                          ||
   ||    Running time : 0.04 minutes                                             ||
   ||                                                                            ||
   || Write the final count table.                                               ||
   || Write the read assignment summary.                                         ||
   ||                                                                            ||
   \\============================================================================//

   Saving splice site cache ...
   Fri Jan 17 15:27:35 2020: Count non spliced reads for sample: sample2
   Warning in dir.create(cachedir, recursive = TRUE) :
     '/var/folders/gw/rccgk_r53w316ntmdmtv1hrw000157/T//RtmpaEz1GE/cache/nonSplicedCounts/Data_Analysis' already exists

           ==========     _____ _    _ ____  _____  ______          _____
           =====         / ____| |  | |  _ \|  __ \|  ____|   /\   |  __ \
             =====      | (___ | |  | | |_) | |__) | |__     /  \  | |  | |
               ====      \___ \| |  | |  _ <|  _  /|  __|   / /\ \ | |  | |
                 ====    ____) | |__| | |_) | | \ \| |____ / ____ \| |__| |
           ==========   |_____/ \____/|____/|_|  \_\______/_/    \_\_____/
          Rsubread 2.0.0

   //========================== featureCounts setting ===========================\\
   ||                                                                            ||
   ||             Input files : 1 BAM file                                       ||
   ||                           o sample2.bam                                    ||
   ||                                                                            ||
   ||              Annotation : R data.frame                                     ||
   ||      Dir for temp files : /var/folders/gw/rccgk_r53w316ntmdmtv1hrw0001 ... ||
   ||                 Threads : 3                                                ||
   ||                   Level : meta-feature level                               ||
   ||              Paired-end : no                                               ||
   ||      Multimapping reads : counted                                          ||
   || Multi-overlapping reads : counted                                          ||
   ||   Min overlapping bases : 10                                               ||
   ||          Long read mode : yes                                              ||
   ||                                                                            ||
   \\============================================================================//

   //================================= Running ==================================\\
   ||                                                                            ||
   || Load annotation file .Rsubread_UserProvidedAnnotation_pid92803 ...         ||
   ||    Features : 77                                                           ||
   ||    Meta-features : 77                                                      ||
   ||    Chromosomes/contigs : 2                                                 ||
   ||                                                                            ||
   || Process BAM file sample2.bam...                                            ||
   ||    WARNING: Paired-end reads were found.                                   ||
   ||    Total alignments : 4397                                                 ||
   ||    Successfully assigned alignments : 1011 (23.0%)                         ||
   ||    Running time : 0.05 minutes                                             ||
   ||                                                                            ||
   || Write the final count table.                                               ||
   || Write the read assignment summary.                                         ||
   ||                                                                            ||
   \\============================================================================//

   Saving splice site cache ...
   Fri Jan 17 15:27:38 2020 : Fast merging of counts ...
   Fri Jan 17 15:27:39 2020: Writing counts to file: /var/folders/gw/rccgk_r53w316ntmdmtv1hrw000157/T//RtmpaEz1GE/savedObjects/Data_Analysis/nonSplitCounts.tsv.gz
   Fri Jan 17 15:27:41 2020: Calculate the PSI 5 and 3 values ...
   Fri Jan 17 15:27:42 2020: Calculate the PSI site values ...
   Fri Jan 17 15:27:42 2020: Calculate the delta for psi5 values ...
   Fri Jan 17 15:27:43 2020: Calculate the delta for psi3 values ...
   Fri Jan 17 15:27:43 2020: Calculate the delta for psiSite values ...

   Warning: Transformation introduced infinite values in continuous y-axis
   Warning: Removed 165 rows containing missing values (geom_bar).

   Fri Jan 17 15:27:46 2020: Fit step for: 'psi5'.
   Fri Jan 17 15:27:46 2020: Running fit with correction method: PCA
   Fri Jan 17 15:27:46 2020: Computing PCA ...
   Fri Jan 17 15:27:46 2020: Fitting rho ...
   Fri Jan 17 15:27:47 2020: Compute p values for: 'psi5'.
   Fri Jan 17 15:27:48 2020: Adjust p values for: 'psi5'.
   Fri Jan 17 15:27:48 2020: Compute Z scores for: 'psi5'.

   Fri Jan 17 15:27:48 2020: Fit step for: 'psi3'.
   Fri Jan 17 15:27:49 2020: Running fit with correction method: PCA
   Fri Jan 17 15:27:49 2020: Computing PCA ...
   Fri Jan 17 15:27:49 2020: Fitting rho ...
   Fri Jan 17 15:27:50 2020: Compute p values for: 'psi3'.
   Fri Jan 17 15:27:51 2020: Adjust p values for: 'psi3'.
   Fri Jan 17 15:27:51 2020: Compute Z scores for: 'psi3'.

   Fri Jan 17 15:27:52 2020: Fit step for: 'psiSite'.
   Fri Jan 17 15:27:52 2020: Running fit with correction method: PCA
   Fri Jan 17 15:27:52 2020: Computing PCA ...
   Fri Jan 17 15:27:52 2020: Fitting rho ...
   Fri Jan 17 15:27:53 2020: Compute p values for: 'psiSite'.
   Fri Jan 17 15:27:54 2020: Adjust p values for: 'psiSite'.
   Fri Jan 17 15:27:55 2020: Compute Z scores for: 'psiSite'.
   'select()' returned 1:1 mapping between keys and columns
   'select()' returned 1:1 mapping between keys and columns
   Fri Jan 17 15:27:58 2020: Collecting results for: psi5
   Fri Jan 17 15:27:58 2020: Process chunk: 1 for: psi5
   Fri Jan 17 15:27:58 2020: Collecting results for: psiSite
   Fri Jan 17 15:27:58 2020: Process chunk: 1 for: psiSite
   Fri Jan 17 15:27:58 2020: Collecting results for: psi3
   Fri Jan 17 15:27:58 2020: Process chunk: 1 for: psi3
   Fri Jan 17 15:27:59 2020: Collecting results for: psi3
   Fri Jan 17 15:28:00 2020: Process chunk: 1 for: psi3
   Fri Jan 17 15:27:59 2020: Collecting results for: psiSite
   Fri Jan 17 15:28:00 2020: Process chunk: 1 for: psiSite
   Fri Jan 17 15:27:59 2020: Collecting results for: psi5
   Fri Jan 17 15:28:00 2020: Process chunk: 1 for: psi5
   Fri Jan 17 15:28:03 2020: Running fit with correction method: PCA-BB-Decoder
   125
   67
   dPsi filter:FALSE: 121	TRUE: 2
   Exclusion matrix: TRUE: 123
   Fri Jan 17 15:28:12 2020: Injecting outliers: 0 / 0 (primary/secondary)
   Warning in optimHyperParams(fds, type = "psi5") :
     No outliers could be injected so the hyperparameter optimization could not run. Possible reason: too few junctions in the data.
   Warning in plotEncDimSearch(fds, type = "psi5") :
     no hyperparameters were estimated for psi5
   Please use `optimHyperParams` to compute them.
   Warning in switch(x, psi5 = c(bquote(psi[5])), psi3 = c(bquote(psi[3])),  :
     EXPR is a "factor", treated as integer.
    Consider using 'switch(as.character( * ), ...)' instead.
   Warning in switch(x, psi5 = c(bquote(psi[5])), psi3 = c(bquote(psi[3])),  :
     EXPR is a "factor", treated as integer.
    Consider using 'switch(as.character( * ), ...)' instead.
   Warning in switch(x, psi5 = c(bquote(psi[5])), psi3 = c(bquote(psi[3])),  :
     EXPR is a "factor", treated as integer.
    Consider using 'switch(as.character( * ), ...)' instead.
   Error: processing vignette 'FraseR.Rnw' failed with diagnostics:
   Running 'texi2dvi' on 'FraseR.tex' failed.
   --- failed re-building ‘FraseR.Rnw’

   SUMMARY: processing the following file failed:
     ‘FraseR.Rnw’

   Error: Vignette re-building failed.
   Execution halted
Error in (function (command = NULL, args = character(), error_on_status = TRUE,  :
  System command error

@h-joshi
Hi, any success with this?

@jjyotikataria Hi - The vignette is now available on Bioconductor- FRASER

Withdrawing / closing issue as vignette is now available on Bioconductor


Support iOS 9

Motivation
Some apps are still supporting iOS 9.
So I modified development target.

Calling:
pod 'Puree', :git => 'https://github.com/giginet/Puree-Swift.git', :branch => 'support-9'
allowed me to install Puree-Swift in our project! Thanks so much! 🎉


"This is taking longer than usual..." message does not get read out from a screen reader (iOS only)

When verifying a credential, the “This is taking longer than usual…” message does not get read out on iOS, whereas on Android it does.

Tested with the Faber demo so I could naturally trigger the delay. On iOS the screen reader read the "This is taking longer..." message when touched or swiped to it. The black box in the screen shot below shows it identifying the text it was reading at the time:

@jleach @knguyenBC Correct me if I'm wrong Kim, but I believe when text is changed on a screen like this, you should not have to tap it to have it read, I think it is suppose to be read when something new appears. Maybe it gets autofocus when/if it appears?

That is correct. I'm not sure what role/label gets added to it but this message should be read out when it appears.

Moving this back to Estimated Ready.

Is there a way to force that message to appear? Loading is too fast now.


feat: replace server url with server host and pathname

Fix bug with Server's URL field
Related issue(s):
#547
#274

Also, sorry if my previous comment sounded like I was suggesting that Gemini is a good example for pathname. I do not think it is, at least I modeled it differently in the official example -> https://github.com/asyncapi/spec/blob/a8c95348745dbeb5158f241f5b04ce7a1bbb6289/examples/websocket-gemini.yml

I think it's still a good example. The difference is that you're defining the whole API and I'm just defining one endpoint 😄 But I get your point. Do you think we should change it to avoid confusions with your example?

@fmvilas yeah, I'm afraid that 2 examples contradict each other. Maybe add amqp samples you mentioned in the other comment, with public and private to something like that

@derberg I think examples are much better now. Have a look, please.

I only think if it is really a fix, and not feat. In the end we have new fields, different new behaviour, so it is more an enhancement, new feature than fix

@dalelane @char0n @smoya would love to get approvals from you too. This is my last 3.0 PR 🎉

@derberg @dalelane @char0n @smoya would please review and approve again? 🙏

@fmvilas Do you want to add the json-schema changes yourself? I can help you :trollface:

@magicmatatjahu feel free mate! 😄

JSON Schema PR https://github.com/asyncapi/spec-json-schemas/pull/329
ParserJS PR https://github.com/asyncapi/parser-js/pull/708

/rtm


TypeScript is not a dependency

Did this change? Now when I npm install TypeScript is not included. This has been causing multiple issues for me over the last few days.

Thanks for raising this, it got updated to a development dependency when I needed to use typescript@next to build the project. I have changed it back in 5.2.7.
I would also be very interested to know how you are using the plugin with npm?

On one team I use the SystemJS builder to do all of our bundling for development and production. Part of my config uses this plugin to do the transpilation. I use npm for all of our dependencies and our build process.
Another project I'm working on is es-no-build. It also uses this plugin to do the transpilation in the browser. It makes it really easy to start developing with TypeScript, ES6, async await, and es6 modules, without any kind of build process on the developer's machine.
I usually use that on small projects, and on server-side code so that I can just get up and going quickly.
I really like the idea of using npm for all things dependencies and build process, and I haven't seen the need for JSPM. Once TypeScript 2.1 comes out, I'm planning on experimenting with using it directly to do transpilation. If I set it's module to system, and use the es6 module loader polyfill, I should be able to emulate even closer the standard future. I'm trying to stick close to the standards to future-proof my projects.
Anyway, that's a little bit about how I use the plugin.

That's really interesting, thanks. I completely agree with you about npm, for me it's mainly because it makes testing client-side code in nodejs much easier. Also agree the in browser stuff is great for small projects and prototyping. I'm using typescript@next to compile async/await in plugin-typescript now and it seems really solid. Thanks for the info.

@lastmjs you may also be interested in this project: https://github.com/alexisvincent/systemjs-config-builder , it constructs a systemjs config file from package.json/node_modules


code indentation when adjusting vs code window size in jupyter notebook

If the line number is turned on in Jupyter notebook, when I adjust the window size of vs code, the code indentation will increase. An example is shown below.

@ustcfdm thanks for the feedback! We actually have known about this for a bit, but haven't had the time to fix it. Plus we thought it looked kinda cool (JUST KIDDING). We'll address in a release coming up.


ci: fix deployment issue with multiple clusters in same region

Currently, the tests ci-eks & ci-aws-cni fail due to issues deploying multiple clusters with the same name in the same region.
Therefore, this commit uses a different region for k8s version v1.24 to ensure that only one cluster gets deployed per region.
Note: This is the quick fix. As mentioned in the related issue, it might be better to ensure a unique name via other measures.
Fixes: #29004
Fixes: #29426

/test

Nice find!

Note: This is the quick fix. As mentioned in the related issue, it might be better to ensure a unique name via other measures.

@mhofstetter Could you create a GH issue? :pizza:

@mhofstetter Do we need to backport it to stable branches?

Already there: https://github.com/cilium/cilium/issues/29426

Your "Fixes" comment in the PR description will close it.


Drop a packet with invalid packet size

This PR closes #47

Thank you for your comment! Now I understand that the cases are already handled, and why checking the minimum of outbound traffic was left out.
Yes, I believe it's worth to add the max check. It improves simplicity of the software.
Is it better to file an another PR to add the max check? Since this PR has unnecessary changes, it makes noise to add commits to remove the unncessary changes.

I'm happy to do what you prefer.
Feel free to make changes to this PR or close it and make another.
We will squash merge to master regardless, so extra commits will be removed from history,

I've add commits to remove extra changes to this PR. Please have another look. 😃


Doesn't work with TMP Input Field

Hi
This is exactly what I've been looking for, but I cannot get it to work with TMP Input field, please help!
Thank you!

Hi Mitay, when do you think you'll fix this? Thanks!

Hi
This is exactly what I've been looking for, but I cannot get it to work with TMP Input field, please help!
Thank you!

Hey Mitay, when do you think this will be fixed? Thanks!

when do you think this will be fixed? Thanks!
@awesam85
Hello, I've started work on it, at the end the week it will be fixed

@awesam85 please, check new version with your configuration, what should you do, to make TMP_InputField work:

add TMP_InputField.textComponent to TMPAutoSize.labels
add TMP_InputField.textComponent to TMPAutoSize.inputs
optional | add TMP_InputField.placeholder to TMPAutoSize.labels

Fixed as possible

Thanks

@awesam85 please, check new version with your configuration, what should you do, to make TMP_InputField work:

add TMP_InputField.textComponent to TMPAutoSize.labels
add TMP_InputField to TMPAutoSize.inputs
optional | add TMP_InputField.placeholder to TMPAutoSize.labels

Thanks Dmitry!
Won’t be able to test until next week but I’ll let you know around next weekend how I get on 👍🏻

Works Great!!


Light refactoring

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

Comparison is base (3665608) 29.81% compared to head (7a2da70) 29.81%.

Files
Patch %
Lines

...bboxes_labelling/combine_and_format_annotations.py
0.00%
1 Missing :warning:

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #86   +/-   ##
=======================================
  Coverage   29.81%   29.81%
=======================================
  Files           6        6
  Lines         332      332
=======================================
  Hits           99       99
  Misses        233      233

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


Enable options merging in watcher

At the moment the notMerge flag is set to true in the setOption call in the options watcher.
This means that the options object must contain all of the chart configuration; a merge is not possible.
By removing this flag the options will be merged.

If we assign options with a new value but it's actually doing "merging", the logic here will be inexplicit and thus cause potential bugs. If you want to merge options, you can use the instance method mergeOptions (which is different with setOption for ECharts, because I want to make the API more explicit). And this is why notMerge is true in the first place. Anyway, thanks for the concern. 👍


added hardcoded campaign specific prices

Motivation and context
There was request for campaign specific default donation amounts for Peter Zhotev campaign.
To accomodate this, now the default donation amounts are hardcoded in frontend.
Previously they were read dynamically from Stripe and were valid for all campaigns.
TODO: Need to add campaign specific config for donation amounts in database

Wouldn't it be better to just add a  minDonation field to the campaign's table and then just filter out the prices below that min amount on the front-end?


Persistent Crash during loading with Apotheosis-1.16.5-4.7.1

Forge 36.2.2
Minecraft 1.16.5
Custom modpack in progress.
Reason for posting here:
Crash report refers to Apotheosis code, and issue was resolved using Apotheosis-1.16.4-4.6.1 instead.
To be fair could be something else interfering with Apotheosis.
Crash log:
crash-2021-08-25_07.27.29-server.txt

update

Updated and working in modpack, thank you.


chore: change next version because of high severity vulnerability

Thanks for the PR! I've already updated the next version here


No product in O365 called 'Dynamics 365 Customer Service Digital Messaging add-on Trial'

The page states that users should search for the addon 'Dynamics 365 Customer Service Digital Messaging add-on Trial', there is no such product name. The product may have been renamed?

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

ID: 3820cf3e-5801-f790-5895-3b5960753600
Version Independent ID: 7bc694fb-8ad3-2a22-7272-a57c8f0c6506
Content: Try channels in Omnichannel for Customer Service
Content Source: ce/customer-service/try-channels.md
Service: dynamics-365-customerservice
GitHub Login: @neeranelli
Microsoft Alias: nenellim

Hello @sy-huss,
Please see if one of the following prerequisites is met as mentioned in the documentation:

Paid or trial subscription of Dynamics 365 Customer Service Enterprise
Paid or trial subscription of Dynamics 365 Customer Engagement

Then, when you sign into the admin center and select add-ons, you should be able to view the Dynamics 365 Customer Service Digital Messaging add-on Trial add on.
There is no change in the name or availability.
Hope this helps.
Thank you.
Neeraja

Hello @sy-huss,
Hope you were able to resolve the issue. You can also try the new trial experience that comes with a host of features. More information: Sign up for a free Dynamics 365 Customer Service trial
I am closing this issue because I haven't heard back from you.
Best regards,
Neeraja


KAFKA-17810 upgrade Jetty because of CVE-2024-8184

This fixes CVE-2024-8184
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

ping @chia7712

Thanks @chia7712!
I was about to merge it and cherry-pick it, now I don't need to :smiley:


Idea: Copy events/holidays from calendars of other teams

We work in a larger team, made up of sub teams and have to add items to calendars of both teams.
It would be nice to have an easy way to copy from one to another.

We're closing old issues so we can get back to actively maintaining the extension. Feel free to reopen if this is still an issue for you.


removing bounds check

Overview
Picked up some new goodness at gophercon 2018. so I added  some hints in order to remove bounds check (BCE)
BenchmarkBitmap_Union-8                             3748          2890          -22.89% BenchmarkBitmap_Intersect-8                         3752          2859          -23.80% BenchmarkBitmap_Difference-8                        3853          2964          -23.07%

It might be nice to add some brief comments to explain why the hints are there, or link to a post explaining it, etc.


Implementation to address issue #281. Added feature to mark price on chart

Added price coordinate feature to the chart. Developers can now programatically show a price line.
Updated documentation to show users how to use new feature.

Hi @jameslulusoft thanks for this, I might rename this as YCoordinate
-  <PriceCoordinate
+  <YCoordinate
      at="left"
      orient="left"
+     value={55}
+     price={55}
      displayFormat={format(".2f")} />

reviewing the changes and I have some ideas to change it a little bit and extract some common functions so it is reused between EdgeIndicator and this. But the feature will remain.
Will update here with the details of the changes

I removed mousemove
-drawOn={["mousemove","pan"/*  , "mouseleave"*/]}
+drawOn={["pan"/*  , "mouseleave"*/]}

and also the
-	componentDidMount() {
-		// This is needed to trigger the render code before any mouse movements
-		// to force the marker to show the instant the chart is loaded. Otherwise,
-		// it will only appear when it detects mouse movement.
-		this.refs.genericChartComponent.draw({ trigger: "pan", force: true });
-	}

and it still works, am I missing something? could you please let me know if these are still needed?

At the time of implementing the feature, the chart wouldn't render the line until it detected some kind of a mouse movement. Now looking at your change I think it might have been the mousemove that caused it. Either way, I checked out your change, ran it, and it works so I see no issues with the code being gone.


TypeError in ConversationSet.from_zip: Unexpected Dictionary Instead of String

Describe the bug
When attempting to load a conversation set using Convoviz, a pydantic_core._pydantic_core.ValidationError is encountered. This error arises due to a type mismatch in the ConversationSet model, where a string is expected, but a dictionary is received in message.content.parts. This issue prevents successful data loading and processing.
To Reproduce
Steps to reproduce the behavior:
Use Convoviz to load a conversation set from a .zip file using ConversationSet.from_zip.
Encounter a ValidationError during the process.
The error details point to multiple instances in array where message.content.parts expects a string but receives a dictionary.
Expected behavior
The expected behavior is for Convoviz to successfully load the conversation set without any type mismatch errors. The ConversationSet model should correctly handle the data structure provided in the .zip file.
OS: Windows 10
Additional context
This issue seems to stem from a mismatch between the expected data format in the Pydantic model and the actual data structure being processed. It might require either adjusting the data format or modifying the Pydantic model to align with the actual data structure.

I might have the same problem, as commented here: https://github.com/mohamed-chs/chatgpt-history-export-to-md/issues/35#issuecomment-2027052416
Is there a workaround?
Thanks!

The error is due to the introduction of metadata related to DALL-E image generations. I started working on a new type class for it but haven't had a chance to fully integrate it with all of the functions.  In the meantime you can just bypass the errors and export all of the other conversations that don't have the new field.


Remove the memoryfile

Minor edits.
Just kidding...
The memoryfile is gone! This means that the simplest explanation of a Raster is:
"A container of the transform object, CRS object, on-disk filename (if any), metadata dictionary and (if loaded) data ndarray of a raster."
The transform, CRS, metadata and data can be modified freely by the user, and all associated properties and attributes will (read "should") get updated accordingly.
Some advantages of this approach are:

Data are not duplicated as they potentially were before (data in the ndarray and in the memoryfile)
Operations are more transparent as they edit the ndarray, transform, CRS and/or metadata dict and nothing else (because there is nothing else!)
After I/O operations, the in-memory version of the raster is completely disconnected from the disk version until another I/O operation is made, meaning that it will not lock the entire file.
Easier to debug: The memoryfile was always a bit of a mystery!
Easier to completely switch backends: rio is now only used for reading, writing and some builtin functions that work on numpy arrays + transform + CRS objects. This means that rioxarray could take its place for I/O if we want.
Easier to pickle / serialize Rasters, as they are not bound to always-open I/O files

Related issues
Closes #50
Closes #226
Closes #238
Closes #246
Closes #259
Issues that I need to find out may be solved:
Maybe c loses #122 (EDIT: Nope, still an issue)
Maybe closes #159 (EDIT: It does work!!)
Probably closes #153 (EDIT: It seems to be gone!! I did some quick load 6.6Gb raster loops and I can't replicate the OOM crashes anymore).
But wait!
It's not finished...
There's one test that I need help with, probably from @adehecq  or @atedstone.
tests/test_georaster.py::TestRaster::test_reproj fails, and I don't understand why...
I temporarily disabled it to make sure that everything else works fine, but we obviously have to find out why it's not working before merging!
Help!!

To make this PR simpler, should we start enforcing masked arrays? Note that this probably doesn't increase memory usage, as the mask can be empty (a single False value). Anyone against that, @adehecq, @rhugonnet, @atedstone ?

To make this PR simpler, should we start enforcing masked arrays? Note that this probably doesn't increase memory usage, as the mask can be empty (a single False value). Anyone against that, @adehecq, @rhugonnet, @atedstone ?

I'm all up for it ! It would be more consistent. The only issue is that some regular numpy functions might not work as expected anymore...
I wonder why numpy arrays are not masked arrays with a single mask value set to False by default...

To make this PR simpler, should we start enforcing masked arrays? Note that this probably doesn't increase memory usage, as the mask can be empty (a single False value). Anyone against that, @adehecq, @rhugonnet, @atedstone ?

Up for it as well! :+1:

To make this PR simpler, should we start enforcing masked arrays? Note that this probably doesn't increase memory usage, as the mask can be empty (a single False value). Anyone against that, @adehecq, @rhugonnet, @atedstone ?

Up for it as well! +1

Nice! If @atedstone is okay with it, I'll make it so.

Amazing! partying_face And impressive how little needed to be changed in the tests, in comparison to how much was modified in the Class! Out of curiosity: did you try to check locally if everything worked fine in xdem as well?
Unfortunately I don't have so much time to get into the details of the test failing with the thesis writing, I leave that to @adehecq and @atedstone! And other than that it all looks very good to me smile
EDIT: in general, a couple more comments here and there would help quite a bit! Especially when using functions that we hardly use everyday (even something like rio.transform.rowcol, but for more unusual stuff also!)

Just so everyone knows, this is with 100% certainty not compatible with the latest xdem. Once this PR is finished, I'll jump straight into fixing xdem to work.

Okay! In summary, what is left on this PR is:

The cropping test needs to be re-enabled and needs to work. I need help on this one!
The count/nbands/indexes/etc mess needs to be cleared up.

After this, I think it's ready!

@adehecq, do you think I shall update geoutils to 0.0.6 directly in this PR?
Earlier, we have incremented versions in separate PRs or pushes directly to main. I don't really see the advantage of this, however, so I might as well change it here directly.

@adehecq, do you think I shall update geoutils to 0.0.6 directly in this PR?
Earlier, we have incremented versions in separate PRs or pushes directly to main. I don't really see the advantage of this, however, so I might as well change it here directly.

I would make it in a separate PR, just for clarity. And also because you need to include a summary of changes for the whole version, and you won't know that until this PR is closed 😉

@adehecq, do you think I shall update geoutils to 0.0.6 directly in this PR?
Earlier, we have incremented versions in separate PRs or pushes directly to main. I don't really see the advantage of this, however, so I might as well change it here directly.

I would make it in a separate PR, just for clarity. And also because you need to include a summary of changes for the whole version, and you won't know that until this PR is closed wink

The summary of changes is for tagging the commit that marks the version increment, so that comes later either way. But sure, I can wait with it.

Related to issue #272, @erikmannerfelt, with this PR, would we still have access to the rasterio dataset?
It seems like we won't.
Would it be possible to keep self.ds in case the raster was directly loaded from file. Of course, it won't work if the raster was modified afterward. This can be useful to perform some operations like cropping, reprojecting etc, without loading the data into memory...

Check that the latest rasterio release does not solve the memory issue?
https://rasterio.groups.io/g/main/topic/92199259, mostly #2141.

There's one test that I need help with, probably from @adehecq or @atedstone.
tests/test_georaster.py::TestRaster::test_reproj fails, and I don't understand why...
I temporarily disabled it to make sure that everything else works fine, but we obviously have to find out why it's not working before merging!
Help!!

I figured out why it failed. You updated the self.data property. Before, it used to just return self._data, but now you've added a condition to check that data was loaded:
        if not self.is_loaded and self._data is None:
            raise ValueError("Data are not loaded")

However, in several instances, we are running the test if self.data is not None, which raises an error in case the data is not loaded with your update.
I will try updating those cases.


Widget submodule should be updated

I just installed the latest release (3.4.2) of pragtical on NixOS and the search_ui plugin fails to load. The reason seems to be that the widget submodule tracks an old commit that doesn't include searchreplacelist.lua.

As explained on the linked PR #148 we don't rely on the git submodule to provide the widgets anymore, instead we use meson to handle the project dependencies using subprojects.
Thanks for reporting and sorry for the confusion!


Unable to get inception score for cifar-10 when compared to the original paper

First of all, I would like to thank you for sharing your implementation on github. After running my experiment on cifar-10 and computing the inception score, I discovered that the inception score computed is different from score reported on the original paper.
I get an inception score of 5 for 100 iterations, 5.03 for 200 iterations. 5.24 for 500 iteration. My inception score is calculated using the following tensorflow script.
https://github.com/dashayushman/TAC-GAN/blob/master/inception_score.py
The reported number for ACGAN paper is 8.25.
The inception score calculation is correct because I can get the same score (11.24), for all 50,000 training images. (as mentioned in Improved Techniques for Training GANs https://arxiv.org/pdf/1606.03498.pdf)
Can you shed some light as why the results differ so much? (5~ vs 8~)

Hey euwren, were you able to find a fix to reproduce the correct inception score on cifar10?

euwern， do you deal with the problem??

I am unable to reproduce the correct inception score.

@euwern I can't get over 8.25 either. Did you ever do the hyper parameter search they mention in the paper? i.e. "Performing a grid search across 27 hyperparameter configurations" where those were:  "generator_learning_rate, discriminator_learning_rate, and discriminator_activation_noise_standard_deviation, for which we used values of [0, 0.0001, 0.0002], [0, 0.0001, 0.0002] and [0, 0.1, 0.2]."
In the code here the first two were set to 0.0002 and I think the last is 0 since I don't see any noise added to activations in the code. Let me know. I can't get above 5 IS using this code with the openai tensorflow IS code with achieves 11.23 on the real CIFAR10 data.

p.s. @euwern Actually after ensuring the GAN produced image is between 0,1 and then saving, I can get the IS to 6.2. Still quite a bit below the reported number though. But in line with the non-conditional GAN IS for such a network reported elsewhere see table 2


[1.12.2] No Teleport module doesn't work at all

I've been playing with rftools for a bit and the No Teleport module just doesn't work at all.
The environmental controller is full on RF, radius set to 100 and height set to 90, 210
Screenshot: http://prntscr.com/hhv8u9
And here are the Enderman that are meant to be affected: http://prntscr.com/hhvai8
They should be within radius. But I look at them and they just swarm towards me.
Am I doing something wrong?
EDIT: This is actually the case for all effect modules

Anyone??

Can someone please help?

That's a huge area you're affecting. Check out how much RF/t that needs but I think you are exceeding the maximum allowed

you can see the RF/t in the TOP tooltip btw (look at the block)

I can't try that now, but I've never seen that tooltip appear before. But I should have enough RF considering the machine I use to generate the RF is supposed to generate 36k RF/t
I also tried this with the shortest range, I tried it on default settings, height 30, 70 radius set to very low, tried 5, tried twenty. I have Enderman near me to teleport but they were still able to teleport around.
I think this might be obvious but I'm doing this in the end. Just in case that affects anything, at a very low Y level.

I mean the WAILA/TOP tooltip that you see when looking at a block in the world. You have either of those mods yes?
36k RF/t is not going to be enough for such a huge area that you're trying to affect with this. Also note that every side of the environmental controller can only receive 20000 RF/t. So if you need more power input you will need to input from multiple sides.

But I tried it with the smallest possible range as well and it still didn't work, I tried it with potion modules too and got 0 effects while standing within range. I had everything checked multiple times.

This is a screenshot of an Enderman literally less than 5 blocks away from the active controller: http://prntscr.com/hj37fi And he was still able to teleport around, there were actually two in the area but the first one teleported before I could take the screenshot.
Here is what the inside of the controller looks like: http://prntscr.com/hj38dw
(I made no changes from when the first screenshot was taken with the enderman)
And I do not have Waila.

I recommend you add TOP or waila. It really helps to debug this problem

Can I have a link to one of those for 1.12.2 please?

I am on phone but just search for The One Probe

Got it! I'll try it later I have other stuff to do now.

Here is what TOP says when I look at the controller: http://prntscr.com/hjhojp

I think it might have to do with being in the end. Just tested in my world and no teleport works fine in the overworld but doesn't seem to effect endermen in the end. Tested the saturation module as well, which worked fine in both the overworld and the end.

rftools-1.12-7.14
mcjtylib-1.12-2.5.0
forge-1.12.2-<IP_ADDRESS>6

I will try to figure out why it doesn't work in the end

Any idea why the potion effects could not work as well?

Might be the same problem. I'll check it out

Was a solution found?

Sorry, haven't checked yet. Was busy with other mods. Will try it out soon

Okay, thanks.

I just noticed this myself, although it isn't working in the overworld for me. I am spawning in the endermen using an Industrial Foregoing mob duplicator, FWIW.

Can you try to reproduce this in a clean instance with just McJtyLib and RFTools? If it works there, can you try to figure out exactly which other mod is causing it?

I'll take a look and see what's what.

Yup, it's broken even with just McJtyLib and RFTools.

Works fine for me in both the Overworld and the End. What version of McJtyLib, RFTools, and Forge are you on? Are you sure the environmental controller is getting enough power? What do you have it set to effect? If you set it to effect "All", do you get the "No Teleport" icon in the corner, and do ender pearls not teleport you?

I just upgraded Forge and it now works in my testing instance, I am going to check it in my main instance when that starts up (it takes a few minutes as it has a lot of mods).

It seems to work with the new Forge version. I'll reply again if I find anything else. Although, I did have a lot of Endermen from an Industrial Foregoing mob duplicator (around 15 or so), so the number of them may have something to do with it.

Okay, I'll close this for now then. If you it see it again, let me know and I'll reopen it.


change backslashes to forward slashes in font path

I'm going to (slightly) change around how fonts are read just in case having it split off into non-default clientschemes causes issues. I'll implement your change then though, thanks for finding that :)


panic: close of closed channel on interrupt

panic: close of closed channel

goroutine 10015 [running]:
main.func·003()
        /home/tuxcanfly/Work/conformal/src/github.com/btcsuite/btcsim/comm.go:587 +0x6a
created by main.(*Communication).Communicate
        /home/tuxcanfly/Work/conformal/src/github.com/btcsuite/btcsim/comm.go:589 +0xcaf

This happens sometimes when a SIGINT is passed after the simulation starts

I have seen this as well...
Thanks for adding this as an issue.
Michael Angerman
Corvallis, Oregon


fix storing policyID in q param

Details
Context

I have moved policyID to be a part of q param inside this PR: https://github.com/Expensify/App/pull/47787, however on Screens other than Search its stored as policyID param
because of that we have to handle moving between these params: q.policyID <---> policyID

Done

this bug happened in NavigationRoot here: https://github.com/Expensify/App/blob/main/src/libs/Navigation/NavigationRoot.tsx#L159-L164 - there were cases where getPolicyIDFromState  did not find policyID correctly, and returned undefined
if no policyID was found, then  setActiveWorkspaceID was not called, and context was not correctly updated for workspace switcher
the fix is mainly improving getPolicyIDFromState; however I also changed the code to story current search query (q) !only! on SEARCH_CENTRAL_PANE
previously we could find q param both: on currently mounted SEARCH_BOTTOM_TAB and CENTRAL_PANE - I think this was confusing (even for me and @WojtekBoman who worked on navigation a lot)

Fixed Issues

$ https://github.com/Expensify/App/issues/48240
PROPOSAL:
Tests

follow reproduction steps from original issue
workspace switcher should behave correctly
filters are expected to be reset when changing status (Drafts/All etc)

Offline tests

QA Steps

follow reproduction steps from original issue
workspace switcher should behave correctly
filters are expected to be reset when changing status (Drafts/All etc)

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label and/or tagged @Expensify/design so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: Native

Android: mWeb Chrome

iOS: Native

iOS: mWeb Safari

MacOS: Chrome / Safari
https://github.com/user-attachments/assets/543320c8-8969-4641-a02f-7fbf26861865

MacOS: Desktop

I believe @rayane-djouah will be better for reviewing this, because he reviewed the original PR that introduced the problem and he has a lot of Search specific knowledge

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by https://github.com/luacmartins in version: 9.0.29-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/roryabraham in version: 9.0.29-12 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


XML methods for remaining commands

Note that PrivateDescriptor doesn't work correctly due to an existing issue (see #112) in the decode method with the command length being calculated incorrectly.
I also changed the length of the identifier field to 32bits to match the specification (See Table 13)

Does this fix the command length in Private Command?

It doesn't sadly.


[tracy] enable fibers feature

Adding fibers feature support for tracy library.
If this PR updates an existing port, please uncomment and fill out this checklist:

[x] Changes comply with the maintainer guide.
[N/A] SHA512s are updated for each updated download.
[N/A] The "supports" clause reflects platforms that may be fixed by this new version.
[N/A] Any fixed CI baseline entries are removed from that file.
[N/A] Any patches that are no longer applied are deleted from the port's directory.
[N/A] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[N/A] Only one version is added to each modified port's versions file.

Is there any action from me required to merge this in?

Port usage tests pass with following triplets:

x64-windows

Thanks!


add epic progress bar

This PR aims to enhance the user experience by adding the NProgress. NProgress is a lightweight tool that provides an elegant and responsive loading progress bar, which will help users better understand the status of ongoing operations.
Screenshots
https://github.com/epicweb-dev/epic-stack/assets/64654633/b50a0e06-2f4b-43d9-9dca-ecbcdc28ca4f

Yea Of course, I will add an example. I have considered your feedback, and I have found a custom component to manage the progress bar.
What are your thoughts on this?
import { useNavigation } from '@remix-run/react'
import React, { useEffect, useRef, useState } from 'react'
import { useSpinDelay } from 'spin-delay'
import { cn } from '#app/utils/misc.tsx'

function EpicProgress() {
	const transition = useNavigation()
	const busy = transition.state !== 'idle'
	const delayedPending = useSpinDelay(busy, {
		delay: 400,
		minDuration: 300,
	})
	const ref = useRef<HTMLDivElement>(null)
	const [animationComplete, setAnimationComplete] = useState(true)

	useEffect(() => {
		if (!ref.current) return
		if (delayedPending) setAnimationComplete(false)

		const animationPromises = ref.current
			.getAnimations()
			.map(({ finished }) => finished)

		Promise.allSettled(animationPromises).then(() => {
			if (!delayedPending) setAnimationComplete(true)
		})
	}, [delayedPending])

	return (

			{delayedPending && (

			)}

	)
}

export { EpicProgress }

Hey, that actually looks really great! Thanks for working on that 👍👍

Hey, that actually looks really great! Thanks for working on that 👍👍

Here is the example. Epic Stack with Progress Bar

Sorry, I should have been more specific. Your solution looks great, let's go ahead and build it into the stack itself. No example necessary 😁

Love it


Create gumed

Add new domen for Medical University of Gdansk

@lukaszCichon Please rename lib/domains/pl/edu/gumed to lib/domains/pl/edu/gumed.txt

@philipto done, sorry for the mistake


Ability Score now calculates Theme and Race ability mods

I added Theme and Race ability bonuses to Ability Score calculation

Me and @TimToxopeus have been discussing this PR some offline. We had some issues with it, but after looking a little closer, the issues have more to deal with inconsistencies on how the system is handling theme and race vs anything that you're code is doing. There is a concern that this might cause some confusion about where these values are coming from and I think this PR highlights some other issues that we are going to need to address at some point, like how do we handle ASI's and what not. But, I don't think that should prevent us from moving forward with a merge.


PSMove Controllers offset far away

I've been working a lot to get my PSVR and PSMove setup for my PC.
Everything seems to be setup just fine except the controllers are offset by what looks like 100m in Steam VR.
I had the controllers working for a while with Trinus VR but then the whole play area was offset by 100m (-99 in TrinusVR) So I couldn't play for that reason.
Also Trinus wasn't working to my satisfaction.
So I've made the switch to iVRy today and then the controllers seem to be stuck in the earlier offset position that TrinusVR was in.
I made a clean install of everything, iVRy, PSMS, Steam VR. Also redid the PSMS setup procedure with trackers and calibration to no avail.

Nevermind, I never got the "Hold the controller infront of your face and press start+select" prompt.
Found it in a YT video now and it worked.


Tag names can only contain what is considered an

Because of this tags containing dashes (and other non <ident> characters)
will not be substituted, as can be seen here:
> perl6 -e 'use Template::Mustache; Template::Mustache.render(\'{{base00-hex}}\', { \'base00-hex\' => 1 }).say'
# OUTPUT: «{{base00-hex}}␤»

The spec leaves this point somewhat open,
but the discussion in https://github.com/mustache/spec/issues/67 suggests that it can basically contain anything
that isn't interpreted in some other way (minus whitespace).
The way I see it the following token, and possibly ones using it, would need to be changed.
https://github.com/softmoth/p6-Template-Mustache/blob/5ad705e3b2e30fbc1cb9ae6590c49c7db7b51167/lib/Template/Mustache.pm#L31

Thank you for the report & PR.


Issue while playing using playChordAt function

Hello Sir,
I have built a music website using your midi sounds package and this mail is with respect to an issue that I am facing. I am using the below method to play the music :
this.midiSounds.playChordAt(playAt, instrument, [value],delay);
The problem caused is that when I click the play button second time, all the values are being played in a second and its causing a large noise. Could you please help me solve this? It's been a while since I am trying to debug this issue.
I have pasted a portion of code below.
import React, { Component } from 'react';
import './ButtonCard.css';
import MIDISounds from 'midi-sounds-react';
import './CloudsBackground.jpg';
import { Varase } from './Varase';
// import './Modal.js'
class ButtonCard extends Component {
constructor(props){
super(props);
this.state = {
instrument : 771,
speedDivisor : 1
}
}
start(event){
console.log(this.props);
console.log(Varase);
var id1 = this.props.btnNum;
this.midiSounds.stopPlayLoop();
// var a = document.getElementById(id1).value;
//console.log(event.target.id);
Varase.map((val,i) =>{
if ((val.id) == id1){
var instrument = this.state.instrument;
var v = val.value;
for (var j = 0; j<v.length;j++){
var value = val.value[j];
var delay = val.delay[j]/this.state.speedDivisor;
var playAt = val.playAt[j]/this.state.speedDivisor;
console.log("playAt :"+playAt+" instrument: "+instrument+" value :" + value + "delay: "+delay);
this.midiSounds.playChordAt(playAt, instrument, [value],delay);
}
}
})
// console.log(a);
// Varase.map((val,i) =>{
//     console.log(Varase[i].value);
// });
}
stop(){
this.midiSounds.stopPlayLoop();
}
f1 = (event) => {
    var instrument1 = event.target.value;
    this.setState({instrument : instrument1});
    this.midiSounds.stopPlayLoop();
}
f2 = (event) => {
    this.setState({speedDivisor : event.target.value});
    this.midiSounds.stopPlayLoop();
}
replay(){
    this.stop();
    this.start();
}

render(){
return (

Instrument :
Flute
Voilin
Sitar

Speed :
1
2
3
4

Play

Stop

Replay

<MIDISounds ref={(ref) => (this.midiSounds = ref)} appElementName="root"/>

)
}
}
export default ButtonCard;

Use JSBin or any other service to create code that reproduces problem
Paste link to this code here

I tried to reproduce the same scenario using tools like JSBin and JSFiddle, but could not find a way to import the library. Can we have an alternate method for this ? Or maybe I can share a simple project with you to illustrate the issue.. Please let me know if it works for you.
Thank you.

Create a files to run and reproduce problem. Zip them and paste here with instruction to execute.

I have attached the demo.zip file down below. You just need cd into the folder, install the node modules folder (npm install), midi-sounds-react package and run npm start.
There is a Play button in the UI which plays using playChordAt function. The values are hardcoded in the function. My issues are as stated below :

When you click the play button, the values are played accordingly and it is all fine. But, the issue arises when you click the button for the second time, all the values are being played at one shot and there is a large noise for the hardcoded duration (third parameter in the function playChordAt).

When the button play is clicked while the first one is playing, there is noise again for a second and the old one continues.

Is there a way I can remove the midiSounds icon from the UI ? If yes, how can I do that ?

Zip file : demo.zip
Thank you,
Kedar Naik

Fixed code for App.js
import React, { Component } from 'react';
import './App.scss';
import MIDISounds from 'midi-sounds-react';

class App extends Component {
  temp(){
	  console.log('cancel all sounds');
	  this.midiSounds.cancelQueue();
	  console.log('start sounds from',this.midiSounds.audioContext.currentTime);
	  var startTime=this.midiSounds.audioContext.currentTime;
    this.midiSounds.playChordAt(startTime+0, 771, [48], 1);
    this.midiSounds.playChordAt(startTime+1, 771, [49], 1);
    this.midiSounds.playChordAt(startTime+2, 771, [52], 1);
    this.midiSounds.playChordAt(startTime+3, 771, [53], 1);
    this.midiSounds.playChordAt(startTime+4, 771, [55], 1);
    this.midiSounds.playChordAt(startTime+5, 771, [56], 1);
    this.midiSounds.playChordAt(startTime+6, 771, [59], 1);
    this.midiSounds.playChordAt(startTime+7, 771, [60], 1);
    this.midiSounds.playChordAt(startTime+8, 771, [60], 1);
    this.midiSounds.playChordAt(startTime+9, 771, [59], 1);
    this.midiSounds.playChordAt(startTime+10, 771, [56], 1);
    this.midiSounds.playChordAt(startTime+11, 771, [55], 1);
    this.midiSounds.playChordAt(startTime+12, 771, [53], 1);
    this.midiSounds.playChordAt(startTime+13, 771, [52], 1);
    this.midiSounds.playChordAt(startTime+14, 771, [49], 1);
    this.midiSounds.playChordAt(startTime+15, 771, [48], 1);
  }

  render() {
    return(

<button  className="btn draw-border" onClick={this.temp.bind(this)}>Play</button>

          <MIDISounds ref={(ref) => (this.midiSounds = ref)} appElementName="root" instruments={[771]} />

    );
  }
}export default App;

You can't remove MIDISounds button. You can hide it in CSS.

Thank you very much sir. This works perfectly.


Fix typos in labels-annotations-taints

Performed actions below:

fix typos
add necessary blank lines
fix anchors

content/en/docs/reference/labels-annotations-taints/_index.md

Thanks @windsonsea
/approve


Refactor as_sub to make things clearer.

as_sub is removed
as_sub_limited becomes as_derivative

Polkadot companion: https://github.com/paritytech/polkadot/pull/1315

@jacogr


Maximize the Expression

Description
Given two positive integers A and B. Let’s define D such that B AND D = D. The task is to maximize the expression A XOR D.
Examples:
Input: A = 11 B = 4
Output: 15
Take D = 4 as (B AND D) = (4 AND 4) = 4.
Also, (A XOR D) = (11 XOR 4) = 15 which is the
maximum according to the given condition.
Input: A = 9 and B = 13
Output: 13
Domain
CPP
Type of Contribution
Addition
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of LearnCPP.

/assign


Jumpy assigns letters to folded code

I have a long function that I folded. When I try to jump from before-the-function to after-the-function, jumpy assigns letters to words in the folded function, and thus no letters are assigned to words after-the-function.
Example (here folded function -> folded part, jumping from the first part, want to jump to the third part)

@wkordalski Seems like Jump doesn't have this issue.

And Find => Jump too.


--sentencepiece-vocab flag is actually for sentencepiece model

📚 --sentencepiece-vocab flag requires a sentencepiece model
The --sentencepiece-vocab flag defined in fairseq/data/encoders/sentencepiece_bpe.py seems to require a path to a sentencepiece model rather than vocabulary. If you try to load a sentencpiece vocabulary (and presumably anything that isn't a sentencepiece model) you get an error like the one below. Ideally, this flag would be changed to --sentencepiece-model but I understand that this would break existing code. Instead, maybe a comment could be added to the file and docs indicating the discrepancy.
Adding this flag to the docs
I see that the docs specifying the cli flags is generated automatically here: https://github.com/pytorch/fairseq/blob/master/docs/command_line_tools.rst. Is there a way to include the arguments added programatically via the add_args methods (like in sentencepiece_bpe.py) and is this desired?
Error:
File "/Users/user/anaconda3/lib/python3.6/site-packages/sentencepiece.py", line 118, in Load return _sentencepiece.SentencePieceProcessor_Load(self, filename) RuntimeError: Internal: /Users/travis/build/google/sentencepiece/src/sentencepiece_processor.cc(73) [model_proto->ParseFromArray(serialized.data(), serialized.size())]

Fixed in ffecb4e3496379edf5ecae1483df5b7e0886c264.


Delimiter for CsvFileSource not used

Hi,
thanks a lot for writing this little library. It really helped me handling CSV Files.
But since the delimiter in my files wasn't the default ",", I had problems getting the library to work.
It seems that in CsvFileSource you included an option for different CSV delimiters, but the options are actually never used.
reader = csv.reader(self._file)
should be:
reader = csv.reader(self._file, delimiter=self.delimiter)
Thanks for your help and best regards,
Tobias

Hi Tobias. Ugh I'm sorry I missed that. I'll update it ASAP.

Fixed in 3e5e0ce.

Thanks for the incredibly fast fix!


Update app-complete.md

just fixed tutorial code typo to import package

@EG-easy Thank you for the fix!


Person vs Creator nomenclature difference.

The tests/test_example.ort file has a 'creator' key. However, if I look at the orsopy.fileio.orso.Orso class one of the attributes is aDataSource instance. DataSource has an owner attribute, which is a Person instance.
Should the ort file replace 'creator' by 'owner'?
-or-
Should the DataSource object have a creator attribute.
I'm trying to think through how to create an ORSO object from the dict that results from the parse yaml header. I would expect the yaml keys to match 1:1 with the ORSO dataclass names/attributes.

My logic was that there is owner in DataSource and creator in Reduction (however I think now the creator should actually be in Orso instead based on the latest information online. But the point was that the Person class can be used for both and the tag in the yaml will be whatever the attribute is in the class.

So should Orso or DataSource have a creator attribute?

The dict created from parsing the yaml on that file has:
>>> dct.keys()
dict_keys(['creator', 'data_source', 'reduction', 'columns', 'data set'])

the ORSO dataclass has:
    data_source: DataSource
    measurement: Measurement
    reduction: Reduction
    column_description: List[Column]
    data_set: int

Is it wrong of me to expect a 1:1 correspondence between those keys and the attributes? (e.g. measurement appears to be under data_source in the ort file)

I was putting it together based on this https://www.reflectometry.org/projects/file_formats/tasks/ws_2021-06_text/ (or what it was like at some point). I don't know if the test file matches the current standard as defined on the webpage.


rustup

@bors r+

:pushpin: Commit 830cc58f8a10598f4caa337ca97be51741945499 has been approved by RalfJung

:hourglass: Testing commit 830cc58f8a10598f4caa337ca97be51741945499 with merge fc2165dd78fede662b0d6c3645895f2c576625c9...

:sunny: Test successful - checks-actions
Approved by: RalfJung
Pushing fc2165dd78fede662b0d6c3645895f2c576625c9 to master...


[FLINK-32379][build] Skip archunit tests in java1X-target profiles

What is the purpose of the change
Archunit generates different violation sets depending on bytecode.
The PR makes skipping of Archunit rule CONNECTOR_CLASSES_ONLY_DEPEND_ON_PUBLIC_API for JDK11, 17.
Verifying this change
This change is a trivial rework.
manually
mvn clean install -DskipTests -Dfast -Pjava17-target
mvn verify -pl flink-architecture-tests/flink-architecture-tests-production/ -Darchunit.freeze.store.default.allowStoreUpdate=false

or
mvn clean install -DskipTests -Dfast -Pjava11-target
mvn verify -pl flink-architecture-tests/flink-architecture-tests-production/ -Darchunit.freeze.store.default.allowStoreUpdate=false

Also there are a couple of nightly tests testing it
Does this pull request potentially affect one of the following parts:

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

Documentation

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

@flinkbot run azure

@flinkbot run azure

the failure's root cause is another not related issue https://issues.apache.org/jira/browse/FLINK-32370

@zentol could you have a look please since we discussed it a bit in jira

Thanks for taking a look