Why i cant select  QUERY_MATCH

2021-02-02 16:16:08.481  WARN 1 --- [nio-8080-exec-3] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.http.converter.HttpMessageNotReadableException: JSON parse error: Cannot deserialize value of type com.castlemock.model.mock.rest.domain.RestResponseStrategy from String "XPATH_INPUT": not one of the values accepted for Enum class: [SEQUENCE, RANDOM, JSON_PATH, XPATH, QUERY_MATCH, HEADER_QUERY_MATCH]; nested exception is com.fasterxml.jackson.databind.exc.InvalidFormatException: Cannot deserialize value of type com.castlemock.model.mock.rest.domain.RestResponseStrategy from String "XPATH_INPUT": not one of the values accepted for Enum class: [SEQUENCE, RANDOM, JSON_PATH, XPATH, QUERY_MATCH, HEADER_QUERY_MATCH]
at [Source: (PushbackInputStream); line: 1, column: 83] (through reference chain: com.castlemock.web.mock.rest.model.UpdateRestMethodRequest["responseStrategy"])]

I am creating a rest with parameters but I don't have the option to query about them

Thank you so much for reporting this @galak06.
I have resolved the issue and will prepare a new release today.

Thanks, I really love to work with the server.


Fix small edge case in get_module_leaves

What does this PR do ?
This PR fixes a small edge case when we compute the leaves of a model introduced in this PR . This should solves the failing test in our CI.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


Update eslint-plugin-react-hooks version

What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Does this PR introduce a user-facing change?:

NONE

Nice 🚀
/approve


Add generic preview boxes in Live Preview

Adds the generic preview embed source to the decorations builder in view-plugin.ts to display preview boxes in editor view. (Fix for #54)

thanks for fixing @udbhav-s!


Add parameter type to pipeline Parameters page

The parameter type is defined in the parameter schema but it isn't rendered in the Parameters page on the website. A couple of users have tripped up thinking e.g. the --trim_nextseq parameter is boolean when in fact it should be an integer. Be good if this is documented on the website properly.

Should we do it like it is done for the parameter types on the module pages, i.e. "--$parameter($type)"?

Would it be possible to add it as an extra column after the parameter name instead? Would be clearer to see if everything is aligned together properly.

How about something like this (we have limited horizontal screen estate)?

This is a good compromise 👍🏽


adding listener '<IP_ADDRESS>:15006': filter chain match rules require TLS Inspector listener filter when STRICT mode and no associated Service

This should have no impact, as the injected inspector would match our own. However, it indicates a gap in test coverage and is a bug.

Not stale. might be fixed, but need to verify
On Sun, Feb 7, 2021 at 10:01 PM Istio Policy Bot<EMAIL_ADDRESS>wrote:

🧭 This issue or pull request has been automatically marked as stale
because it has not had activity from an Istio team member since 2020-11-09.
It will be closed on 2021-02-22 unless an Istio team member takes action.
Please see this wiki page
https://github.com/istio/istio/wiki/Issue-and-Pull-Request-Lifecycle-Manager
for more information. Thank you for your contributions.
Created by the issue and PR lifecycle manager.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/istio/istio/issues/28723#issuecomment-774891834, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEYGXKIH7U5B37FZNXT7BLS5542FANCNFSM4TP5BGIQ
.

confirmed fixed


Translation applet

Is your feature applicable to LaunchMenu as a whole, or specific to an applet? Please describe
A new applet
Is your feature request related to a problem? Please describe.
Use google translate to translate words from one language to another. API Example:
Request required
HTTP GET {"content-type" : "application/json"}
https://translate.googleapis.com/translate_a/single?client=gtx&sl=en&tl=es&dt=t&q=Hello

Params
sl = Source Language
tl = To language
q = Query

Language codes:
export const LANGS = {
  auto: { code: 'auto', name: 'Auto' },
  ar: { code: 'ar', name: 'Arab' },
  be: { code: 'be', name: 'Belarusian' },
  ca: { code: 'ca', name: 'Catalan' },
  cs: { code: 'cs', name: 'Czech' },
  da: { code: 'da', name: 'Danish' },
  de: { code: 'de', name: 'German' },
  en: { code: 'en', name: 'English' },
  eo: { code: 'eo', name: 'Esperanto' },
  es: { code: 'es', name: 'Spanish' },
  et: { code: 'et', name: 'Estonian' },
  fa: { code: 'fa', name: 'Persian' },
  fi: { code: 'fi', name: 'Finnish' },
  fr: { code: 'fr', name: 'French' },
  ga: { code: 'ga', name: 'Irish' },
  he: { code: 'he', name: 'Hebrew' },
  hi: { code: 'hi', name: 'Hindi' },
  hu: { code: 'hu', name: 'Hungarian' },
  id: { code: 'id', name: 'Indonesian' },
  is: { code: 'is', name: 'Icelandic' },
  it: { code: 'it', name: 'Italian' },
  ja: { code: 'ja', name: 'Japanese' },
  kk: { code: 'kk', name: 'Kazakh' },
  ko: { code: 'ko', name: 'Korean' },
  ky: { code: 'ky', name: 'Kyrgyz' },
  lt: { code: 'lt', name: 'Lithuanian' },
  lv: { code: 'lv', name: 'Latvian' },
  nl: { code: 'nl', name: 'Dutch' },
  no: { code: 'no', name: 'Norwegian' },
  pl: { code: 'pl', name: 'Polish' },
  pt: { code: 'pt', name: 'Portuguese' },
  ro: { code: 'ro', name: 'Romanian' },
  ru: { code: 'ru', name: 'Russian' },
  sk: { code: 'sk', name: 'Slovak' },
  sl: { code: 'sl', name: 'Slovenian' },
  sv: { code: 'sv', name: 'Swedish' },
  th: { code: 'th', name: 'Thai' },
  tr: { code: 'tr', name: 'Turkish' },
  uk: { code: 'uk', name: 'Ukrainian' },
  vi: { code: 'vi', name: 'Vietnamese' },
  yi: { code: 'yi', name: 'Yiddish' },
  zh: { code: 'zh', name: 'Chinese' },
}

I think I'm going to try this this weekend.

Alternative engine:
https://github.com/plainheart/bing-translate-api


vitePreprocess runs Sass, but PostCSS too

Describe the bug
When using <style lang="scss"> vitePreprocess also applies the PostCSS transformations.
Take the following example:
<button class="btn">Hello</button>

<style lang="scss">
  .btn {
    background: gray;
    border: 2px outset;

    &:focus-visible {
      outline: 2px solid orange;
    }
  }
</style>

When using postcss-preset-env this results in:
[vite-plugin-svelte] /src/App.svelte:8:0 Unused CSS selector ".btn.focus-visible"
It looks like the transformations are:

Step
Processor
Effect

1
Sass
creates .btn:focus-visible selector

2
PostCSS
adds .btn.focus-visible selector

3
Svelte Compiler
removes .btn.focus-visible selector

4
PostCSS
adds the .btn.focus-visible selector again

I think the default should be to remove the 2nd step, don't run PostCSS before passing the css to the Svelte Compiler.
Reproduction URL
https://stackblitz.com/edit/vitejs-vite-pkrz2a?file=src/App.svelte
Reproduction
The error is visible in the console when the App.svelte is compiled.

npm run dev

Logs
[vite-plugin-svelte] /src/App.svelte:8:0 Unused CSS selector ".btn.focus-visible"

System Info
Binaries:
    Node: 16.14.2 - /usr/local/bin/node
  npmPackages:
    @sveltejs/vite-plugin-svelte: ^2.0.2 => 2.0.2
    svelte: ^3.55.1 => 3.55.1
    vite: 4.0.4

is the behavior different from using svelte-preprocess?
vitePreprocess applies vites css pipeline before compile, I'm not sure you can selectively disable parts of it

Hmm I didn't take into account that Vite would also apply postcss for normal css files. I'd say this is expected behaviour as Vite does this too, and could be worked around by suppressing the warning with onwarn.
Maybe we should also let Vite preprocess regardless if lang exists in this case 🤔

While the double processing is unfortunate and we should look into possible ways to avoid it, i wonder why it creates a class for focus-visible in the first place. It has really good browser support nowadays, so unless you target obscure or dead browsers, it should not even turn that into an extra class.
Did you just not add a browserslist config to your reproduction? Didn't see one in either .browserslistrc or package.json.

FWIW svelte-preprocess runs PostCSS with lang="scss" too if you configure postcss: true for it. (Stackblitz example). The behaviour you're looking for is without the postcss: true configuration, but I feel like vitePreprocess processing postcss even in scss is a feature rather than a bug, because that's how Vite processes CSS files too.
If we don't run postcss, someone mixing Tailwind's @apply and SCSS would break (for example, but there can be many other cases), so the PR would be a breaking change unless we introduce an option. But I don't think we really need to go that length as you can use onwarn to suppress it if it's incorrect.

yes, postcss is mostly a post-processor, but there are postcss plugins that apply transforms that have to be executed before svelte.compile because the syntax they use as input is not accepted by the svelte compiler. Combine any of those (tailwind is just the most prominent example) with a preprocessor like scss and it would break if we skipped postcss before compile.
I also would like to encourage you again to investigate why this class is created in the first place and what rules it contains.  looking at https://github.com/WICG/focus-visible  it appears to require additional javascript to make it work in browsers that don't support it ootb. Something a postcss plugin cannot provide on it's own.

<style lang="scss">
  .title {
    @apply text-3xl;
  }
</style>

@bluwy You'll probably get an Unknown at rule @apply warning in vscode, but the code will still output the desired css
.title.s-y_bCXRrkrYfP{font-size: 1.875rem;line-height: 2.25rem}
with or without the PR applied.
PostCSS is still run (again) after svelte has added its classes for css scoping (and removed unused selectors).

Yes, but still the point is that running PostCSS is part of the style preprocessing pipeline even for SCSS in Vite and we shouldn't change that.

given that both svelte-preprocess and vite run postcss as preprocessor aswell and that there are postcss plugins that require this behavior to prevent breaking existing applications i'm inclined to say that this is not a bug in vite-plugin-svelte and works as designed.
the extra .focus-visible class is added like this:
<style lang="scss">.btn {
  background: gray;
  border: 2px outset;
}
.btn.focus-visible {
  outline: 2px solid orange;
}
.btn:focus-visible {
  outline: 2px solid orange;
}</style>

which requires additional javascript to add/remove the class from the .btn element. The svelte compiler is correct to complain/remove here as there is nothing in the component that uses this class and it compiles scoped styling.
As you already mentioned in the end it works because it is readded by the final postcss pass, so what you are dealing with here is a warning. You are able to remove this by providing a custom onwarn handler.
Regarding "defaults" browserslist , that includes browsers like uc-, qq- and opera mini, which are notoriously bad at web standards. Unless you have a site that caters to a usergroup that is known to use these browsers, i would suggest to exclude them.

closing as described above. This doesn't mean we won't consider a feature request for adding different behavior in the future, but given that this is the only report so far and onwarn config provides an easy way to avoid the warning this doesn't have priority currently.

For anyone who wants a more svelte-preprocess compatible  processing of sass, use the following configuration:
// svelte.config.js
import { vitePreprocess } from "@sveltejs/kit/vite";

/** @type {import('@sveltejs/kit').Config} */
export default {
  preprocess: vitePreprocess({
    style: {
      css: {
        postcss: { plugins: [{ postcssPlugin: "vitePreprocess" }] },
      },
    },
  })
}

But you can't use <style lang="postcss"> anymore. If you also want svelte-preprocess's :global { } syntax, look at globalStyle for inspiration (or keep using svelte-preprocess).


format python code in python directory

use pep8 code style to format python code in python directory
#254

Coverage decreased (-0.009%) to 62.897% when pulling a1ba3f442fd80382969ed2c434a66985be1e2c1f on QiJune:format_py_code_2nd into ef5e483ca408d29b25969633e1e65c862e17b751 on baidu:develop.


[CLEANUP][TEST] Moving MockedPanCommandExecutor to a Test inner class…

…, rather than having declared as a class file of its own
@pentaho/rogueone

Build Completed
:fire: This pull request has some issues. It would be preferable to fix them in order for it to be just perfect. See below for more details. Some links are also available below for further assistance in addressing those issues.
Build Commands
mvn -B -f 'pom.xml' -pl 'engine' -P '!assemblies' -Dsurefire.runOrder=alphabetical -Daudit -amd clean install

Cleanup Commands
mvn -B -f 'pom.xml' -pl 'engine' -P '!assemblies' -amd build-helper:remove-project-artifact

Changed files
  engine/src/test/java/org/pentaho/di/pan/MockedPanCommandExecutor.java
  engine/src/test/java/org/pentaho/di/pan/PanCommandExecutorTest.java

Unit Test Coverage
These statistics help you identify how your changes have affected the coverage of the following files. If a file is not in this list, then its coverage was not affected by your changes. To get some help interpreting these metrics, please refer to Jacoco's documentation.

:warning: Coverage Changes (click to expand)
org.pentaho.di.trans.steps.checksum.CheckSumMeta

Instruction Change: -0.2% :small_red_triangle_down:

org.pentaho.di.job.entries.getpop.MailConnectionMeta

Branch Change: -2% :small_red_triangle_down:
Complexity Change: -2.9% :small_red_triangle_down:
Instruction Change: -0.6% :small_red_triangle_down:

org.pentaho.di.job.entries.waitforsql.JobEntryWaitForSQL

Branch Change: -0.8% :small_red_triangle_down:
Complexity Change: -1% :small_red_triangle_down:
Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.ldapinput.LDAPInputMeta

Branch Change: -1.6% :small_red_triangle_down:
Complexity Change: -0.9% :small_red_triangle_down:
Instruction Change: -0.1% :small_red_triangle_down:


Infinite loop in console after enabling MessageQueue.spy

Description
Setting MessageQueue.spy(true) causes an infinite loop of console logs and a RedBox error 'Exception in HostFunction: Malformed Calls from JS'.
Related: https://github.com/facebook/react-native/issues/27027
React Native version:
0.62.2
System:
    OS: macOS Mojave 10.14.6
    CPU: (12) x64 Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
    Memory: 7.28 GB / 32.00 GB
    Shell: 3.2.57 - /bin/bash
  Binaries:
    Node: 12.16.3 - ~/.nvm/versions/node/v12.16.3/bin/node
    Yarn: 1.16.0 - /usr/local/bin/yarn
    npm: 6.14.4 - ~/.nvm/versions/node/v12.16.3/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.9.1 - /Users/brent.kelly/.rvm/gems/ruby-2.6.3/bin/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 13.2, DriverKit 19.0, macOS 10.15, tvOS 13.2, watchOS 6.1
    Android SDK:
      API Levels: 23, 26, 27, 28, 29
      Build Tools: 28.0.2, 28.0.3, 29.0.0, 29.0.1, 29.0.2, 29.0.3
      System Images: android-21 | Intel x86 Atom_64, android-22 | Intel x86 Atom_64, android-23 | Google APIs Intel x86 Atom_64, android-24 | ARM 64 v8a, android-25 | Intel x86 Atom_64, android-27 | Intel x86 Atom_64, android-28 | Google APIs Intel x86 Atom_64, android-29 | Google APIs Intel x86 Atom, android-29 | Google Play Intel x86 Atom_64
      Android NDK: Not Found
  IDEs:
    Android Studio: 3.6 AI-192.7<IP_ADDRESS>08749
    Xcode: 11.3.1/11C504 - /usr/bin/xcodebuild
  Languages:
    Java: 1.8.0_201 - /usr/bin/javac
    Python: 2.7.16 - /usr/bin/python
  npmPackages:
    @react-native-community/cli: Not Found
    react: 16.11.0 => 16.11.0
    react-native: 0.62.2 => 0.62.2
  npmGlobalPackages:
    *react-native*: Not Found

Steps To Reproduce

npx react-native init InfiniteLoop
open index.js and add...

import MessageQueue from 'react-native/Libraries/BatchedBridge/MessageQueue';
MessageQueue.spy(true);

yarn android

Expected Results
Console should log TO_JS and TO_NATIVE traffic on the bridge.
Snack, code example, screenshot, or link to a repository:

Debugged this a bit today.
The enqueueNativeCall function in MessageQueue.js is getting called over and over by the 'send' method from WebSocketModule. I'm not sure if this is expected or not?
If it is expected then we should perhaps suppress logging traffic from WebSocketModule by default (since there is just so much of it and it never ends)?
Would just need to update this block:
https://github.com/facebook/react-native/blob/21186034af265c093901c8b37497b600e97e4740/Libraries/BatchedBridge/MessageQueue.js#L321-L328
With something like:
if (__DEV__ && this.__spy && isFinite(moduleID)) {
+  const moduleName = this._remoteModuleTable[moduleID];
+  if (moduleName !== 'WebSocketModule') {
        this.__spy({
          type: TO_NATIVE,
          module: this._remoteModuleTable[moduleID],
          method: this._remoteMethodTable[moduleID][methodID],
          args: params,
        });
+  }
}

For anyone needing this behavior now you can do the following workaround when spying on the MessageQueue...
import MessageQueue from 'react-native/Libraries/BatchedBridge/MessageQueue';

MessageQueue.spy((data) => {
  // Ignore logs from WebSocketModule
  if (data.module === 'WebSocketModule') {
    return;
  }

  console.log(data);
});

Debugged this a bit today.
The enqueueNativeCall function in MessageQueue.js is getting called over and over by the 'send' method from WebSocketModule. I'm not sure if this is expected or not?
If it is expected then we should perhaps suppress logging traffic from WebSocketModule by default (since there is just so much of it and it never ends)?
Would just need to update this block:
https://github.com/facebook/react-native/blob/21186034af265c093901c8b37497b600e97e4740/Libraries/BatchedBridge/MessageQueue.js#L321-L328
With something like:
if (__DEV__ && this.__spy && isFinite(moduleID)) {
+  const moduleName = this._remoteModuleTable[moduleID];
+  if (moduleName !== 'WebSocketModule') {
        this.__spy({
          type: TO_NATIVE,
          module: this._remoteModuleTable[moduleID],
          method: this._remoteMethodTable[moduleID][methodID],
          args: params,
        });
+  }
}

For anyone needing this behavior now you can do the following workaround when spying on the MessageQueue...
import MessageQueue from 'react-native/Libraries/BatchedBridge/MessageQueue';

MessageQueue.spy((data) => {
  // Ignore logs from WebSocketModule
  if (data.module === 'WebSocketModule') {
    return;
  }

  console.log(data);
});

Thanks for the workaround, save my day.


Fix typo 'cahnnel' -> 'channel'

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Codecov Report

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

@@          Coverage Diff          @@
##           master    #10   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           5      5
  Lines         223    223
  Branches       37     37
=====================================
  Hits          223    223

Continue to review full report at Codecov.

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

Codecov Report

Merging #10 into master will not change coverage by %.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master       #10   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            5         5
  Lines          223       223
  Branches        37        37
=========================================
  Hits           223       223

Continue to review full report at Codecov.

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


fix: Ignore URL construction error from invalid performance resource event

This PR fixes an error originating from recordResourceEvent() method when it tries to process an event that has an invalid name prop. While trying to construct a URL from the string, it fails with Failed to construct 'URL': Invalid URL. This causes the failure from RUM library to be logged as a RUM error event.
Adding a try/catch around the URL construction to silently ignore errors originating from unintended string formats.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Hey thanks for the contribution. What sort of URL are you failing with?

Hi @williazz, although I have noticed 50-100+ errors being logged for this every day, I have not been able to successfully reproduce the exact steps that lead to this. It's particularly why I was hesitant to create an issue for this.
Based on the error message (Failed to construct 'URL': Invalid URL) the URL string is either falsy or in an invalid format. I am not quite sure which one is the culprit. But in either scenario the URL creation would be causing the RUM error to be logged as an error event.

Based on documentation, name should be a valid URL. But maybe the URL is sometimes a relative URL and missing a base, which can cause that exact error.

When the PerformanceEntry is a PerformanceResourceTiming object, the name property refers to the resolved URL of the requested resource.
https://developer.mozilla.org/en-US/docs/Web/API/PerformanceEntry/name

More deep dive is needed to resolve the data loss, but maybe we can release this as a patch. Will discuss offline with team.

@shubhsheth please share the URL patterns that are causing validation errors to help with prioritization, if you are able to identify them.

Patterns such as: null, undefined, "" (empty string), or "/someUrlPath" would fail in this step. I understand that the type checks does not allow non-string values for name. But it is possible that this could be occurring during runtime.
It'd be great if we can merge this patch to mitigate the issue from triggering false events. And then prioritizing a fix for the data loss.

While suppressing errors is a pattern we use elsewhere, I am hesitant do the same here without first understanding its root cause.
Note that it is possible to configure the web client to ignore these errors.

Can you expand upon why it's not good to suppress this error? - Errors that are being thrown from RUM aren't actually valuable for the product team because it's not surfacing any product issue and there's also nothing they can fix to resolve it.
I looked into ignoring this error, however I couldn't find a good method. The only pattern that was reliable was matching the error message. Other patterns such as filename, line no etc change frequently after new changes are built. The issue with using error message is that it risks ignoring an actual issue that could be occurring from the product code base.
Therefore I was proposing to suppress this from RUM instead of ignoring. I understand that data loss is important to you and you'd want to find the root cause for it. However, the data loss seems to already happen and that wouldn't change with this patch.

Can you expand upon why it's not good to suppress this error?

How do we know that suppressing the error is the correct behavior? It is difficult to have confidence in this decision without knowing something about the root cause.
Regarding relative URLs, the PerformanceNavigationTiming documentation explicitly states it uses the document.URL property, however the PerformanceResourceTiming documentation is less clear. A brief search suggests that relative resource URLs are expanded.
If we can't identify the root cause, we could:

Suppress the error. The resource will not be recorded when the name is not a valid URL. If users do in fact need this information, we will not know unless someone identifies the problem and creates an issue.
Modify the catch block to throw an error, and include the name (URL) property in the error message. Once we have a better understanding, decide on action.

I think (1) is a reasonable option, but I would like first like to see if we can't find the root cause. Would you be able to make the changes for (2) on your branch and deploy them?

@qhanam Thanks for the explanation, that sounds reasonable. I've updated the try/catch to log a custom error with the name property. Can you please review the changes?

Hey I added a unit test to your PR but accidentally closed this. Could you reopen this PR with the unit tests?
https://github.com/shubhsheth/aws-rum-web/pull/1

@williazz I couldn't re-open this PR, I created a new one: https://github.com/aws-observability/aws-rum-web/pull/532


performance_rating more task

try to inspect the ellipse task...
weird shape...

Actual method for drawing ellipse is not ideal, because if you want to draw big eliplse, variables that helps draw it will owerflow through dword and that's why this weird shape happens. In original code these variables are long, but it do not work in 32 bit mode. BleskOS need some other method for drawing big ellipses.


[Feature Request]: Streaming ASR (WIP)

🚀 The feature
Streaming ASR being a goal for SpeechBrain has already been discussed internally among the core team members, but it seems worthwhile to share the info/personal notes/WIP I have and to keep this publicly updated. I'll try to semi-regularly update the issue according to how things evolve, and it will be closed once a working implementation is merged.
Solution outline
The current plan is to base off work on #1782, first meaning changes to certain modules have to be done to enable streaming and having a working recipe. Implementing the actual interfaces for streaming ASR can come after once there is a proven to be working model. Certain features (like beam search decoding or LM rescoring) are non-essential for a proof-of-concept.
Some notes:

k2/icefall appears to use https://arxiv.org/pdf/2012.05481.pdf aka a form of "chunked attention"

during training, at a given batch, a random chunk size is emulated by aligning visible future context for an output token to the chunk size (the paper explains it better)
because the model is trained with multiple chunk sizes, it can be adjusted for a latency-performance tradeoff at runtime
DCConv is an interesting variant (implemented and detailed further down): https://arxiv.org/pdf/2304.09325.pdf

Implementation status:
tl;dr on the streaming architecture changes:

Feature extraction sees little changes

Padding is adjusted/performed manually in order to make it easier to align frames exactly as we want, because center==True in STFT could cause problems otherwise with certain sequence lengths. No other change.

Conformer changes

Attention is masked in "chunks": All outputs within a chunk (of e.g. 16) can "see" the keys of its chunk + eventually some left context. For example, assuming infinite left context:

ALL outputs 0..15 will depend on inputs 0..15, but cannot depend on 16..
ALL outputs 16..31 will depend on inputs 0..31, but cannot depend on 32..
ALL outputs 32..47 wil ldepend on inputs 0..47, but cannot depend on 48..
etc.
Thus, if we were to have no left context, each output would reliably only depend on 16 inputs.

The convolution requires masking, because with no special care its perceptive field would peek into future frames. I use the DCConv approach (AWS paper) which effectively "masks" frames future to each chunk.

The way it is done is that the convolution operator is replaced to split the input into chunks (the same way as attention effectively does). Then, we add the left context (of size (kernel_size-1)/2) to serve as left padding to the convolution. The right padding will be applied as normally, and will not be future chunk data (but zero-padding or reflected padding or whatever).
This means that we need to perform the padding manually for best efficiency. Otherwise, the convolution would add left padding to our left padding, and output a tensor of length (chunk_size + left_context) even though we only need the last (chunk_size) elements.
We also (ab)use the DCConv operator to limit left context in the way that we would like. TODO: is this necessary

Dynamic Chunk Training is implemented: For each back, 50% chance of full context (as usual) or 50% chance of picking a random chunk size between e.g. 8 and 32 chunks. Papers mention this as a requirement for proper convergence.

Randomly switching between chunk sizes means the model should be able to adapt to them, meaning the chunk size can be selected at runtime for a tradeoff between accuracy and latency.

Limiting left context is slightly tricky, because allowing chunks to see e.g. 1 chunk to the past means this will repeat across every layer of the conformer. Thus with 12 encoder layers, a left context of 1 chunk ultimately translates into 12 chunks of left context.

... Unless the left context visibility is only applied to a single layer, but I do not know how standard that is.
Left context is specified in number of chunks as it is the most natural fit (consider inter-chunk dependencies across layers) and we probably do not nede finer granularity.

Depending on certain batching and masking circumstances, it is possible for some sequences to be entirely masked, i.e. their keys are set to -inf in attentional score calculation. This is a problem, because it means that all inputs to the softmax layer in attention can become -inf, which causes all outputs to become NaN (because the divisor in the softmax formula sums to 0 as e^-inf = 0). This regularly broke training with NaN losses that never recovered. Adding an epsilon value to the divisor mitigates the issue as it will become > 0.

Computing chunk sizes, required left contexts, etc. and effective frame counts is entirely predictable here, but it does depend on deep understanding of the models inputs. Here, 8 chunks corresponds roughly to a latency of 365ms (to double check).
tl;dr on what will be required for the model when it comes to streaming interfaces:

For feature extraction, chunking is relatively easy, but carries left dependencies due to the striding nature of the FBanks and CNN.
At the output of each conformer layer, the input-output dependency properties mentioned before for attention are respected. Thus, left context of chunks can be cached at each layer of the conformer.
Left context keys and values can be cached in the MHA.
For everything involved, some adjustments may prove necessary for chunk-by-chunk inference.

tl;dr on what work would be needed to port this approach to the Branchformer:

At a glance, it does not seem like many conceptual changes are necessary compared to the Conformer model here. DCConv-like masking should be applied in the Conv1D in the CSGU (aside of the attn changes) and that should be about it.
Investigate if any other "bricks" were modified that could cause issues; adjust contexts and chunk size effective frame count calculations. Use the dependency detection functions I made.

Additional context
No response

Quick notes I wrote of the DCConv which may help visualizing:

As for what the DCConv implementation does:

(Big image) Input are taken with strides of 5ms (80 frames) on the x axis for testing wrt the input @16kHz with a transformer chunk size of 8 (post CNN downsampling). This is an example for a 5s (random) input signal on an untrained model.
This is a "dependency plot" which highlights which inputs every output depends on. Right now, this is with full left attention, so an output token can see all prior input tokens.

Full attention would mean the entire image would be red. Here, you can observe "chunks" of attention, which are of perfect/predictable length in time. This is what most of this preliminary work focused on accomplishing.
For example, if you looked at x=80(*80 = 6400 for actual input frame) and y=5, the cell is white, meaning the 5th output token does not depend on the 6400th input frame.


How to customize the sorting?

Software
Version

PHP
7.4.7

Elasticsearch
7.3.2

Laravel
8.15.0

Laravel Scout
8.4.0

Elastic Scout Driver
1.2.0

Hi,
Just checking if there is a way to do more custom sorting? I have the search
$searchResult = Event::boolSearch()
->filter('terms', ['category_id' => $request->category])
->should('term', ['showtype' => 'a'])
->should('range', ['shows.date' => [ 'gte' => $request->dates[0],'lte' => $request->dates[1]]])
->minimumShouldMatch(1)
->sort('published_at', 'desc')
->paginate(12);

When I do a search for a certain date I get 3 results back, two of them with dates and one that is at anytime. Because of the sort('published_at', 'desc') it shows the events in the order
1. Event- with date
2. Event- anytime
3. Event- with date

I believe this is the published at order. However I would prefer that if there were dates it would change the sorting order to
1. Event- with date
3. Event- with date
2. Event- anytime

And the events with dates are in published at desc order and the anytime are in published at desc order.
Is this possible?
Thanks so much!!

There are 2 methods in your disposal:

sort($field, $direction)
sortRaw($parameters)

The last one is more flexible, so maybe it's something you are looking for. It's not quite clear what is anytime (string or missing field), but it's better if you check ES docs, there are many useful options, that might help you to configure your sorting.
I'm closing this one as it's not package related, but rather ES related question.


Fix URL for Facebook AMP embed

The new Facebook API endpoint doesn't include a trailing slash in the author
URL. This led to a broken URL for the AMP embed of Facebook videos.
For reference the legacy oembed documentation includes it in the example.
https://www.facebook.com/Devex/videos/231586811299265
To see the new result you need to enter an access token and video url here:
https://developers.facebook.com/tools/explorer/?method=GET&path=oembed_video

+1, Thanks!

+1

+1

@towanda Is this under plus-pull or manual?


Calibri: inconsitent stroke on ȺⱥȻȼɆɇØøȾⱦꞸꞹꝞꝟ

Calibri 6.26 has an inconsistent stroke on letters with diagonal stroke (ȺⱥȻȼɆɇØøȾⱦꞸꞹꝞꝟ). Some of those letters are used within the same writing systems and should be consistent. For example Tepinapa Chinantec orthography uses ⱥ ɇ ø and their uppercase, 1989 Mazahua orthography uses ⱥ ɇ ø ꞹ and their uppercase, or Saanich SENĆOŦEN orthography uses Ⱥ Ȼ Ⱦ.

calibril.ttf, calibrili.ttf have a thinner stroke on ȺȻɆȾꞸ than on Ꝟ and a thicker stroke on Ø, a longer stroke on ⱥȼɇⱦꞹ than on ꝟ and a shorter stroke on ø
calibri.ttf, calibrib.ttf, calibrii.ttf, calibriiz.ttf have horizontally cut terminals on ØøꞸꞹꝞꝟ but right-angle cut terminals on ȺⱥȻȼɆɇȾⱦ, the stroke is noticeably thinner on Ꞹꞹ

Could you recommend a font that encompasses all these characters and can serve as a benchmark font for reference purposes?

Could you recommend a font that encompasses all these characters and can serve as a benchmark font for reference purposes?

@alib-ms Good question. Most fonts covering these characters share the same issue, likely because the representative glyphs in the Unicode charts are not consistent either. That said, the stroke doesn’t have to be excatly the same across the whole set, but at least should look similar within the groups used by single ortographies.
So ȺⱥɆɇØøꞸꞹ should look similar because they are used together in Mazahua and ȺȻȾ should look similar because they are used together in Saanich SENĆOŦEN. Ꝟꝟ doesn’t seem to be used in orthographies using the others.
"Similar" can mean the stroke still varies in slope, thickness or length to some degree if that works better by design.
Here is ȺⱥȻȼɆɇØøȾⱦꞸꞹꝞꝟ with Charis SIL (where the stroke on ⱦ is longer intentionally, and the stroke on Ꝟꝟ with a noticeably distinct slope to fit better with the letter):


WK Radar <IP_ADDRESS>5

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.4 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/microsoft/winget-pkgs/pull/110371&drop=dogfoodAlpha

@WKSistemas please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
@microsoft-github-policy-service agree [company="{your company}"]

Options:

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

@microsoft-github-policy-service agree

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

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

Contributor License Agreement

@WKSistemas please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
@microsoft-github-policy-service agree [company="{your company}"]

Options:

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

@microsoft-github-policy-service agree

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

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

Contributor License Agreement

@WKSistemas please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
@microsoft-github-policy-service agree [company="{your company}"]

Options:

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

@microsoft-github-policy-service agree

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

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

Contributor License Agreement

@microsoft-github-policy-service agree company="WK WK Sistemas de Computação Ltda."

@ItzLevvie I changed and validated, according to your considerations. Thanks!
@stephengillie  @JohnMcPMS In local tests, using SandboxTest.ps1/Windows Sandbox, the process completed successfully.

This package appears to be exhausting the validation pipeline's available memory:

I believe that it is not the app itself, it is very light and this one specifically in the image (WK CR) only uses elements through the Remote App.
What I imagine might be blocking the process is this message (called "Alarm 1202"), which is a simple warning to the end user that the server is running low on resources. An OK and it is finished.
In time: this MSI has several executables (used or not depending on the application's end user profile), so if the automated test opens them all at once without finishing, I believe that at some point, on a very simple machine, the resources may be run out.

I believe that it is not the app itself, it is very light and this one specifically in the image (WK CR) only uses elements through the Remote App. What I imagine might be blocking the process is this message (called "Alarm 1202"), which is a simple warning to the end user that the server is running low on resources. An OK and it is finished. In time: this MSI has several executables (used or not depending on the application's end user profile), so if the automated test opens them all at once without finishing, I believe that at some point, on a very simple machine, the resources may be run out.

Apologies - part of validation is to run all installed applications at once, and perform a Defender scan. This is a very memory-intensive process, so this is more in regards to the volume of applications and the pipeline's available memory, and wouldn't be indicative of any individual application's performance.


Change repo name from 'concrete5-composer' to 'composer'?

As the name suggests, stop repetition and reads cleaner.

Done


The choreography is broken after update

Basically the bots are trying to play the match normally instead of dancing. It happens with all hivemind choreographies even from other creators so it might be Hivemind issue actually. I already reported to VilliamVadocz. There are no actual errors so no way to stacktrace. Something must have went bad with the update.

Fixed by reinstalling RLBot. I had verison mismatch.


#159875040 refactor react redux code base

What does this PR do?
refactor react redux code base
Description of Task to be completed?

Add normalizr to normalize API responses
Persist checkedOutOrder across page reloads
Normalized reducers and store

How should this be manually tested?
N/A
Any background context you want to provide?
To make code align to the idiomatic way of writing react and redux application
What are the relevant pivotal tracker stories?(if applicable)
#159875040

Pull Request Test Coverage Report for Build 213

10 of 10 (100.0%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.7%) to 98.635%

Totals

Change from base Build 211:
0.7%

Covered Lines:
1676

Relevant Lines:
1686

💛  - Coveralls


Simple Dialog

This is more of a question than a issue, how do i get the click events on each of the string in

MaterialDialog.Instance.SelectActionAsync()

Hi. Unfortunately you can't. Once a choice is clicked, the dialog dismisses and returns the string that was selected.

Hi. What i am trying to achieve is the click event of one dialog triggers a next dialog. So i taught there was a click event that was associated with the Dialog control

You can check the returned string value of the dialog. It returns string.Empty if the dialog was dismissed other than when a choice was clicked. If the string is not empty, then show the other dialog.

This is what i am attempting to do :
`var actions = new string[] { "Test1", "Test2" };
var result = MaterialDialog.Instance.SelectActionAsync("Select an option", actions);
if(actions[0] == "Test1"
{
//Do something
}
else
{
//Do something else
}
`

Hi, my mistake. SelectActionAsync returns only the index of the selected choice. If the dialog was dismissed, it returns -1. You need to detect the negative index to avoid an exception.
var actions = new string[] { "Test1", "Test2" };
var result = MaterialDialog.Instance.SelectActionAsync("Select an option", actions);

if(result >= 0)
{
    switch(actions[result])
    {
        case "Test1":
              MethodForSomething();
              break;
        case "Test2":
              MethodForSomethingElse();
              break;
    }
}

You can also use this.
var actions = new string[] { "Test1", "Test2" };
var result = MaterialDialog.Instance.SelectActionAsync("Select an option", actions);

switch(result)
{
    case -1:
          MethodForNoAction();
          break;
    case 0:
          MethodForSomething();
          break;
    case 1:
          MethodForSomethingElse();
          break;
}

Would i have to Dispose() of the previous dialog to see the new one?? I added a method with the same code:
var actions = new string[] { "Test3", "Test4" }; var result = MaterialDialog.Instance.SelectActionAsync("Select an option", actions);
and i am not seeing this dialog when i tapped on "Test1"

No need to dispose. Add the await keyword before calling the method.
var result = await MaterialDialog.Instance.SelectActionAsync("Select an option", actions);

Ok thanks, i got it to work for my use case.

This is the code i have but it doesnt display a next dialog
var actions = new string[] { "Residents 1", "Residents 2" };

var result = await MaterialDialog.Instance.SelectActionAsync("Select an option", actions);

switch (result)
{
   case -1:
       break;
   case 0:
       var resident1 = new string[] { "Home", "Away" };
       var result1 = await MaterialDialog.Instance.SelectActionAsync("Residents 1", resident1);
       break;
   case 1:
       var resident2 = new string[] { "Local", "Away" };
       var result2 = await MaterialDialog.Instance.SelectActionAsync("Residents 2", resident2);
       break;
}

No new dialog appears

Hi. After some investigation, I saw the problem. The result is being returned but before showing the next dialog, it was dismissed immediately since the disappearing animation of the first dialog was still not finished.

Ok thats good because i taught i was misusing the library. Is is possible to allow the animation of the first dialog to disappear on click?

Will test when its released

Tested it, works as expected.


[Public Catalog] handle UTM paramaters for quickstarts installs

On Click of Install Quickstart button by a user  who comes to the I/O site via a link with a UTM paramater in the URL ensure the user is sent to the sign up flow, and also we pass through the UTM parameter.
Acceptance Criteria

[x]  User is not logged in AND has come from a UTM link, send them to sign up flow
[x] IKey off of the value of CPC, that utm_medium=cpc

ex: url: https://newrelic.com/jp/sign-up-japan?utm_source=google&utm_medium=cpc&utm_campaign=apj_jp-fy22-q3-signup

[x]  UTM parameters should pass through with the URL for tracking reasons.

sign up flow - should work as expected

user sign email confirmation is received
user clicks confirmation
a user would be sent to the quickstart.

Alternative cases - should work as expected

user is not logged in AND has not come from a UTM link send them to the login flow
user is logged in send them to guided install flow for that particular quickstart.

Since the sites do not have any type of authentication and authorization for New Relic accounts, we have no way knowing whether or not a particular visitor to our site is logged into an account. I am also not sure that the UTM code would be propagated from the quickstart page to the install link without some dev work to pass it along.

This is now ready for review, i've also tested the search parameters and they aren't affected by this so 👍
https://user-images.githubusercontent.com/17122543/134539545-b8414655-9faf-4e65-9e8a-aa6d03001161.mp4


Multiple (Fixed part of code) Remotes & Stop

Hey
Thanks for this little nugget, I got this to work with my venetian blinds! First ever dabble in Arduino and 433mhz space - good learning!
Not an issue, I have a few questions to better my understanding.
1st Question on multiple remotes: I am assuming this is catering to having one remote (so one fixed part of the code) and multiple shades controlled by this one remote on different channels. In my case I have multiple remotes controlling 1 shade each. How do i adapt to that? Are multiple platforms allowed?
2nd question on Stop. I don't see a stop code being sent at all. I thought the plugin would send a stop code after value in "Time it takes shade to open or close" (maxTime) but it seems to not do that. At first i thought my maxTime is possibly conflicting with xmitWait but tested and that is definitely not the case.
Lastly, a question that combines both of the above. On my venetian blinds to tilt-up or tilt-down (but remain closed) on the physical remote I would manually press UP then STOP after a few seconds and vice versa. To achieve this, given that there isn't a third button for STOP, I would imagine it would have to added as another shade but with a suitable (shorter) maxTime. Are such duplicates of the same shade allowed?
I have indeed tried to play with adding multiple platforms and shades but with no success.
One suggestion for what i think might be a typo; on the plugin settings form in the UI, where the 3 codes for Open, Close and Stop are defined the field label for Stop (third field) shows as "Code(s) for close (HEX) *", maybe you intended it to be "Code(s) for stop (HEX) *".
Many thanks
Uzi

Thanks, glad it helped.
Q1 - I don't think it matters that you have multiple remotes. A platform can contain multiple accessories, even different types of accessories. You just need to configure multiple shade accessories within your platform. Having a platform means that the parts of the config that apply equally to every shade need not be repeated.
Another method would be to implement an accessory only. However, that would require a config file for each one. Almost certainly that would be an unnecessary pain.
Q2 - Stop codes are sent only when the selected shade position is between 0 and 100. If 0 or 100 is selected, the shade is assumed to stop itself.
Q3 - If I understand this correctly, when your blinds are closed, for the first few seconds of 'Open' it is rotating the blinds. If you stop then, the blinds are tilted open, but not raised. From the way you described it. it sounds like your codes may work differently from mine. It may be that it moves while you press the button, then stops when you release it. That would imply that it moves while it is receiving codes, then stops when it stops receiving codes. My Arduino sketch would have to be modified to work in that manner. I guess it could also be that your remote sends "Up" at button down and 'Stop' at button up. That actually seems more likely to me than continuous transmit.
In any case, it appears that you need a timed 'Stop'. You need to determine how long from completely closed to tilted open. Then send your codes with that timing.
A different question is how you represent this in Homekit. HK has specific devices and characteristics that it understands. You need to find a device and set of characteristics among Apple's set that most closely matches your need. I believe there are characteristics that line up with a slatted venetian blind.
Thanks for th pointer to the typo.
-Good luck

Thanks, glad it helped.
Q1 - I don't think it matters that you have multiple remotes. A platform can contain multiple accessories, even different types of accessories. You just need to configure multiple shade accessories within your platform. Having a platform means that the parts of the config that apply equally to every shade need not be repeated.
Another method would be to implement an accessory only. However, that would require a config file for each one. Almost certainly that would be an unnecessary pain.
Q2 - Stop codes are sent only when the selected shade position is between 0 and 100. If 0 or 100 is selected, the shade is assumed to stop itself.
Q3 - If I understand this correctly, when your blinds are closed, for the first few seconds of 'Open' it is rotating the blinds. If you stop then, the blinds are tilted open, but not raised. From the way you described it. it sounds like your codes may work differently from mine. It may be that it moves while you press the button, then stops when you release it. That would imply that it moves while it is receiving codes, then stops when it stops receiving codes. My Arduino sketch would have to be modified to work in that manner. I guess it could also be that your remote sends "Up" at button down and 'Stop' at button up. That actually seems more likely to me than continuous transmit.
In any case, it appears that you need a timed 'Stop'. You need to determine how long from completely closed to tilted open. Then send your codes with that timing.
A different question is how you represent this in Homekit. HK has specific devices and characteristics that it understands. You need to find a device and set of characteristics among Apple's set that most closely matches your need. I believe there are characteristics that line up with a slatted venetian blind.
Thanks for th pointer to the typo.
-Good luck

Hey,
i am struggling on the decoding part and hope you can help me. It is also my first time to connect the Arduino to the pi.
I understand the fixed part and the open part of the lower section but I don't know how to correctly interpret my decodings in terms of the timings ( what's the zero on, zero off etc part)
This is my Signal:
Detected OOK package	2022-02-03 17:51:32
Analyzing pulses...
Total count:  287,  width: 365.39 ms		(91348 S)
Pulse width distribution:
[ 0] count:    7,  width: 4808 us [4796;4824]	(1202 S)
[ 1] count:  162,  width:  376 us [356;396]	(  94 S)
[ 2] count:  118,  width:  740 us [724;768]	( 185 S)
Gap width distribution:
[ 0] count:    7,  width: 1480 us [1464;1500]	( 370 S)
[ 1] count:  159,  width:  692 us [672;712]	( 173 S)
[ 2] count:  117,  width:  328 us [300;368]	(  82 S)
[ 3] count:    3,  width: 7912 us [7688;8028]	(1978 S)
Pulse period distribution:
[ 0] count:    7,  width: 6288 us [6288;6296]	(1572 S)
[ 1] count:  276,  width: 1068 us [1056;1108]	( 267 S)
[ 2] count:    3,  width: 8404 us [8392;8436]	(2101 S)
Pulse timing distribution:
[ 0] count:    7,  width: 4808 us [4796;4824]	(1202 S)
[ 1] count:  279,  width:  356 us [300;396]	(  89 S)
[ 2] count:  277,  width:  712 us [672;768]	( 178 S)
[ 3] count:    7,  width: 1480 us [1464;1500]	( 370 S)
[ 4] count:    3,  width: 7912 us [7688;8028]	(1978 S)
[ 5] count:    1,  width: 48244 us [48244;48244]	(12061 S)
Level estimates [high, low]:  16129,   3108
RSSI: -0.1 dB SNR: 7.2 dB Noise: -7.2 dB
Frequency offsets [F1, F2]:   19533,      0	(+74.5 kHz, +0.0 kHz)
Guessing modulation: Pulse Width Modulation with sync/delimiter
view at https://triq.org/pdv/#AAB060060112C8016402C805C81EE8BC74839292A192A192A1A1929292A1A1A1A1A192929292A1A1A192A1929292929292A1929292A1929292A1839292A192A192A1A1929292A1A1A1A1A192929292A1A1A192A1929292929292A1929292A1929292A455+AAB089060112C8016402C805C81EE8BC74839292A192A192A1A1929292A1A1A1A1A192929292A1A1A192A1929292929292A1929292A1929292A1839292A192A192A1A1929292A1A1A1A1A192929292A1A1A192A1929292929292A1929292A1929292A1839292A192A192A1A1929292A1A1A1A1A192929292A1A1A192A1929292929292A1929292A1A1A1A19455+AAB037060112C8016402C805C81EE8BC74839292A192A192A1A1929292A1A1A1A1A192929292A1A1A192A1929292929292A1929292A1A1A1A19455+AAB037060112C8016402C805C81EE8BC74839292A192A192A1A1929292A1A1A1A1A192929292A1A1A192A1929292929292A1929292A1A1A1A19555
Attempting demodulation... short_width: 376, long_width: 740, reset_limit: 8032, sync_width: 4808
Use a flex decoder with -X 'n=name,m=OOK_PWM,s=376,l=740,r=8032,g=0,t=0,y=4808'
pulse_demod_pwm(): Analyzer Device
bitbuffer:: Number of rows: 7
[00] {40} d4 e0 f1 7e ee : 11010100 11100000 11110001 01111110 11101110
[01] {40} d4 e0 f1 7e ee : 11010100 11100000 11110001 01111110 11101110
[02] {40} d4 e0 f1 7e ee : 11010100 11100000 11110001 01111110 11101110
[03] {40} d4 e0 f1 7e ee : 11010100 11100000 11110001 01111110 11101110
[04] {40} d4 e0 f1 7e e1 : 11010100 11100000 11110001 01111110 11100001
[05] {40} d4 e0 f1 7e e1 : 11010100 11100000 11110001 01111110 11100001
[06] {40} d4 e0 f1 7e e1 : 11010100 11100000 11110001 01111110 11100001
Thanks in advance
Felix


Issue #257 Environments configuration

This would introduce a standard environment configuration for the developer experience and deployment.
As documented here this implementation changes the way of how the development environment are addressed into the app, using the standard approach of .env files.
The developer has to configure his local setup in order to use the proper configuration.
This also removes any hardcoded information from the code and fixes #257
The documentation should be updated and i'm gonna open a specific issue on the doc repo.

This is what I am thinking the developer experience should be like

npm start builds and runs the site pointing it at either localhost or dev apis (we can pick a default)
npm start:local-api builds and runs the site pointing it at localhost for the API
npm start:dev-api builds and runs the site pointing it at dev-api.clearlydefined.io for the API
npm start:prod-api builds and runs the site pointing it at api.clearlydefined.io for the API

These should all just work out of the box, no fussing about copying files and configuring urls or ...
On the server we have a docker file that runs and the REACT_APP_SERVER env var is set in the configuration of the docker build so nothing is really needed there. Now if we wanted to source control the dev and prod environments then we shoudl talk about putting those settings files and configuring build scripts


Add filter disclaimer banner

This PR adds the Filter disclaimer banner when one filter (not of the land use, ...) is selected. When discarded it doesn't show again
https://vizzuality.atlassian.net/browse/ORC-668?atlOrigin=eyJpIjoiZGJjNDNmZTFhMDc5NDUyZGJkZWViNGFjMDA5MWIxZDEiLCJwIjoiaiJ9

@Bluesmile82 I've updated the acceptance criteria based on a discussion with Cirad. Only the land use type filter should update the map.

Same comment on this PR: would we hide the notice when moving to the mobile view? You can directly merge the PR.


FakeJSON REST API to create test data

Thank you for taking the time to work on a Pull Request for this project!
To ensure your PR is dealt with swiftly please check the following:

[x] Your submissions are formatted according to the guidelines in the contributing guide
[x] Your additions are ordered alphabetically
[x] Your submission has a useful description
[x] The description does not end with punctuation
[x] Each table column should be padded with one space on either side
[x] You have searched the repository for any relevant issues or pull requests
[x] Any category you are creating has the minimum requirement of 3 items

Hi @pelmenept , thanks for the PR. Can you please remove REST API from the description? Everything here is an API so no need to specify.

Hi @davemachado  Done. Made update to remove "REST API". thanks

Thanks!


Possible Wrong Link in VS "Learn More"

Hello,
In VS if you click on Learn More in "Create new project" under Web Application I believe it should take you to this page (Razor).  Instead it currently links to the same page as the standard MVC application here: https://docs.microsoft.com/en-us/aspnet/core/tutorials/first-mvc-app/start-mvc?view=aspnetcore-2.1&tabs=aspnetcore2x  Is that the expected bahavior?

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

ID: a25bf940-8977-fec4-461b-542a9f550fc8
Version Independent ID: 5492c641-af15-64b8-beaa-ddf511be73e6
Content: Get started with Razor Pages in ASP.NET Core
Content Source: aspnetcore/tutorials/razor-pages/razor-pages-start.md
Service: unspecified
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

Hi @joeruder. This will depend on the VS version you have. If RC1, then the link should take you here regardless of whether the project is Razor or MVC https://docs.microsoft.com/en-us/aspnet/core/?view=aspnetcore-2.1

@joeruder Thanks for catching it! I'll look up who owns that feature for 15.6 and let them know. I don't see any reference to the "read more" in the doc itself, so I'll close this issue.


Porting react native

I want to port this library to react-native where can i start is any tips in there? there is library called react-native-svg it will cover svg parts, i think.

The SVG pieces of charts is handled within the library, see ChartComponents.js and draw.js These two pieces are where most of rendering happens.
Each chart also has it's own constructor based on it's type, these handle data preprocessing, tooltips and general lifecycle stuff.


bump continuity and console version  that remove pkg/errors

bump continuity version to v0.2.0 that remove pkg/errors
xref:

https://github.com/containerd/continuity/pull/185
https://github.com/containerd/console/pull/54

Signed-off-by: Zou Nengren<EMAIL_ADDRESS>

/ok-to-test


Native group list

Believe this was tossed up because we needed to test actions running on GH. Going to close for now, @dnbrwstr feel free to reopen if/when ready.


webrtc

Can webrTC in the telegram be found on Git。If I import my iOS project directly from the telegram source code,I'm going to delete a lot of files that the telegram didn't import, and change the path of each file's import header，A little bit of work。

Telegram apps are open source, so you can find all the code.

Telegram 应用程序是开源的，因此您可以找到所有代码。

I just read the telegram source code。I will telegram source weBRTC into my iOS project, or individual file error, iOS12。

The header files are all system，

We can't even get a global search for these

Telegram apps are open source, so you can find all the code.

I do not know why the error is reported, I are directly taken from the tetegram source code


Is it possible to do case-insensitive comparison with the tiny-utf8?

Hi, is it possible to do case-insensitive comparison with tiny-utf8?
Basically what this question on SO is asking: https://stackoverflow.com/questions/11635/case-insensitive-string-comparison-in-c.
I'm trying to avoid using ICU in my app.
Thanks!

Hi there,
tiny-utf8 is a container for utf8-encoded unicode codepoints. It has no insights into the meaning of certain codepoint values.
In principle, what is necessary to compare two strings (=two codepoint values) case-insensitively is a Database of Codepoints and their relations (e.g. x is uppercase of y, and so on). I'm sorry, tiny-utf8 was not built for this task. ICU provides such a database.
However, once you have figure out how to compare two codepoints case-insensitively, you can do the following:
tiny_utf8::string str1, str2;
bool is_same = std::equal( str1.begin() , str1.end() , str2.begin() , str2.end() , []( char32_t cp1 , char32_t cp2 ){
    return codepoint_insensitive_compare( cp1 , cp2 );
} );

Good luck with your

Hi Jakob,
Thank you very much for your answer, it's very clear. Also I'd also like to thank you for such a wonderful library, it has helped me a lot!
Thanks again!
Avi

Hi Avi,
Yes, sure! Thank you for your words, I'm happy to hear that it has served you.
And it really is my pleasure! It is messages like yours that remind me of why I'm doing this 😊
Jakob


Provide examples

Providing some examples(clear and concise) would help getting started quickly.
Thanks

Seconded, I'm getting null pointer deferences and haven't figured out whats going on yet...

I'm still not sure wether I'm supposed to start a new Connection on every query or if it behaves like database/sql and sqlx where the DB struct represents a connection pool.
Docs are definitely needed.

PRs for docs are definitely welcome. To answer your question, pop, uses sqlx under the cover, which in turns wraps the sql package. So, connection pooling is automatically implemented for you.

@markbates And what about transactions? Looking at the transaction code, if I share the same *pop.Connection it seems that if I open a transaction in a goroutine while another is still not done with its own, it will try to use the latter's; unlike sqlx where transactions are separated.
In other words, with sqlx I can safely share *sqlx.DB between all my goroutines and can freely call its methods without explicitly opening and closing connections. What's the equivalent for this in pop?

Transactions on a po.connection are not shared. You get a new transaction. However if you try to create a transaction on a transaction you get back the original transaction.

The https://github.com/markbates/pop (v3.x) repo has been moved to https://github.com/gobuffalo/pop (v4.x). The markbates/pop repo has been put into READ-ONLY mode and will no longer be updated. You may continue to use this repository, but be aware no more updates will be made on it.
If this is issues is still relevant, please open a new issue on the repository.
For more information on this move see https://github.com/markbates/pop/issues/164
Thank you so much and I apologize in advance for any trouble this may cause you.


Fix issues with relative templates in includes and incorrect id

After trying to use this in a non-trivial way in our rather complex app I found some issues with the include support.
Mainly around relative templates and the ID references that templates are stored within twig.

Thanks for your PR!
Until now I've been able to put all my twig views in a single folder which is far from ideal indeed. I realize that the current stable version will probably not work when using relative path require statements. Which you hopefully have solved! :-)

What query config do you mean ? Can you post an example ?
I currently don't have much time to try this out myself, I need a couple of days...

I'll try to describe the problem in detail :)
The issue was with the identifier that we were assigning the template to within twig.
In the current release this is just the filename (path excluded), this means if using template within other directories, there could be clashes.
So I changed the ID to be the full path to the template.
I also re-assigned the reference in the template (during compilation) so that it referenced the full path rather than a relative one.
This worked.
However I wanted to also be able to include templates from a designated "templateRoot" directory otherwise all includes would have needed to be relative to the current template.
To do this I added a query option that can be set via webpack (config file or in the require statement) to set the templateRoot, if this option is set then the full path has the templateRoot removed from it when creating the ID allowing the consumer to use both relative and templateRoot relative includes.
However when adding this option, setting the twig loader within the require statement broke.
I'm happy to revert that just as long as we know that in that case it seems that all includes must be relative to the current template (probably not too much of an issue)

I finally got some time to look at this...
This is my testing setup:

index.js requires views/a.html.twig and views/b.html.twig.
a.html.twig also includes ./subfolder/b.html.twig
As expected, I got an error when running webpack: You may need an appropriate loader to handle this file type. So I added the twig! loader prefix.
The project is building just fine, but when I execute the built package, twig returns an error:
Error parsing twig template E:Projects3-front  est-twig-loaderiewsa.html:
TypeError: Cannot set property 'options' of null

Just to be sure: is this what you're trying to achieve ?
I'll try to figure out this bug...

This could help:
http://webpack.github.io/docs/how-to-write-a-loader.html#should-not-embed-absolute-paths

Hi,
The Cannot set property 'options' of null error is due to the twigjs runtime not being able to find the included template as it is looking for a different ID than what the template is stored under.
I'll take a look at that link and see what I can do.
I've also found a limitation of my implementation of not being able to reference templates in higher level relative directories eg: ../template.html.twig

I think I managed to add support to relative template paths. This should now work fine with all kinds of relative paths such as ../ and ./. However, I need to investigate if this still works if you do use webpack configuration such as resolve.root
Can you give my relative-path-support branch a try and give me some feedback ?
I was having some trouble with all the refactoring you did in your PR, so I basically started over from my master

OK Cool, I'll take a look later tonight :)

@webberig I've tested out your branch with my project and it seems to be working as expected, nice work! please merge :)

OK, I'll close this one and continue my work on #5


AUBIO WARNING: too many filters, 50 allocated but 40 requested

A warning reported on LibraZiK-2, raised from aubio libraries. Examine this.

the same here on linux mint 19.1, version 18.04

Unfortunately, some previous stable versions of aubio do not have a workable implementation of the MFCC (Mel Frequency Cepstrum Coefficients).
It's the most vital part for the AI; as it's a score for estimating the similarity of the instrument to the target sound.
I think the best option is of embedding a newer aubio source in the source tree.


upload TubeR

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Thanks for the comments.
Have them addressed.


[admin] merge to live

Docs Build status updates of commit 213ee52:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/sdn-interface/incallquality-element-messagetype-complextype-lync-sdn-interface-2-1-1.md
:bulb:Suggestion

Details

docs/sdn-interface/incallquality-element-messagetype-complextype-lync-sdn-interface-2-1-1.md

Line 2, Column 1: [Suggestion: description-missing - See documentation] Missing required attribute: 'description'.
Line 23, Column 6: [Suggestion: disallowed-html-attribute - See documentation] HTML attribute 'style' on tag 'col' isn't allowed. Replace it with approved Markdown or escape the brackets if the content is a placeholder.
Line 24, Column 6: [Suggestion: disallowed-html-attribute - See documentation] HTML attribute 'style' on tag 'col' isn't allowed. Replace it with approved Markdown or escape the brackets if the content is a placeholder.
Line 61, Column 6: [Suggestion: disallowed-html-attribute - See documentation] HTML attribute 'style' on tag 'col' isn't allowed. Replace it with approved Markdown or escape the brackets if the content is a placeholder.
Line 62, Column 6: [Suggestion: disallowed-html-attribute - See documentation] HTML attribute 'style' on tag 'col' isn't allowed. Replace it with approved Markdown or escape the brackets if the content is a placeholder.
Line 63, Column 6: [Suggestion: disallowed-html-attribute - See documentation] HTML attribute 'style' on tag 'col' isn't allowed. Replace it with approved Markdown or escape the brackets if the content is a placeholder.
Line 86, Column 6: [Suggestion: disallowed-html-attribute - See documentation] HTML attribute 'style' on tag 'col' isn't allowed. Replace it with approved Markdown or escape the brackets if the content is a placeholder.
Line 87, Column 6: [Suggestion: disallowed-html-attribute - See documentation] HTML attribute 'style' on tag 'col' isn't allowed. Replace it with approved Markdown or escape the brackets if the content is a placeholder.
Line 88, Column 6: [Suggestion: disallowed-html-attribute - See documentation] HTML attribute 'style' on tag 'col' isn't allowed. Replace it with approved Markdown or escape the brackets if the content is a placeholder.
Line 126, Column 6: [Suggestion: disallowed-html-attribute - See documentation] HTML attribute 'style' on tag 'col' isn't allowed. Replace it with approved Markdown or escape the brackets if the content is a placeholder.
Line 127, Column 6: [Suggestion: disallowed-html-attribute - See documentation] HTML attribute 'style' on tag 'col' isn't allowed. Replace it with approved Markdown or escape the brackets if the content is a placeholder.
Line 128, Column 6: [Suggestion: disallowed-html-attribute - See documentation] HTML attribute 'style' on tag 'col' isn't allowed. Replace it with approved Markdown or escape the brackets if the content is a placeholder.
Line 129, Column 6: [Suggestion: disallowed-html-attribute - See documentation] HTML attribute 'style' on tag 'col' isn't allowed. Replace it with approved Markdown or escape the brackets if the content is a placeholder.
Line 130, Column 6: [Suggestion: disallowed-html-attribute - See documentation] HTML attribute 'style' on tag 'col' isn't allowed. Replace it with approved Markdown or escape the brackets if the content is a placeholder.

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Hello, ask a question in hear.

With regard to the problem of excessive memory dispersion, can you solve the problem by upgrading the memoryfix later?@vit9696

Not sure what you mean? The included AptioMemoryFix is updated with each new build.

Sorry, I asked this question to you because there is no issue on vit9696.There is a small percentage of people who have a high probability of booting KP, although the configuration is correct. It is said that the memory is too scattered. I recently tested the boot with memoryfix and lowmemfix.

To solve a problem either buy a new PC or write its firmware from scratch. Unfortunately not much can be done there.

@vit9696 Hi. I personally don't have this problem but I'm curious in why this happens. It seems that for the same model (XPS 9550 in this case) some machines work absolutely fine while some others don't. Does it have anything to do with the motherboard?

lul


how can i change the sga_target?

ORA-00821: Specified value of sga_target 300M is too small, needs to be at least 364M
ORA-01078: failure in processing system parameters


Add DynamicDocs API

[x] My submission is formatted according to the guidelines in the contributing guide
[x] My addition is ordered alphabetically
[x] My submission has a useful description
[x] The description does not have more than 100 characters
[x] The description does not end with punctuation
[x] Each table column is padded with one space on either side
[x] I have searched the repository for any relevant issues or pull requests
[x] Any category I am creating has the minimum requirement of 3 items
[x] All changes have been squashed into a single commit

Hi @Rodionov5
Thanks for your contribution ;)
We have some problems with Public APIs, so we won't be able to review/add this improvement right now.
Read this issue for more information, please: https://github.com/public-apis/public-apis/issues/3104

L


Romaji lyrics converter

Not sure how hard it's to implement or if it's possible at all, but it'd be nice if we could convert japanese lyrics to readable format like in spicetify lyrics plus https://github.com/spicetify/cli/tree/main/CustomApps/lyrics-plus

So essentially translation? You want to convert kanji into romaji? That's beyond the scope of openlyrics and would be better done with external tools.


[FLINK-29582][state-processor] Relax 1+ operator requirement

Based on #21085.
The SavepointWriter previously had to enforce that the user provides at least 1 operator because we used them to get access to the execution environment. No operator -> no environment -> can't setup remaining operations.
This PR adds new factory methods that have the user explicitly pass the environment. With that we can define any operation we like internally without requiring another operator.
The existing factory methods were deprecated. They will continue to work, but it they are used the program is still subject to the old requirement of having at least 1 operator.

@alpinegizmo I can't find other usages in the docs. (although I did find a few more in tests/javadocs :sweat_smile: )

@alpinegizmo I can't find other usages in the docs. (although I did find a few more in tests/javadocs 😅 )

I was thinking of the references in https://nightlies.apache.org/flink/flink-docs-master/docs/libs/state_processor_api/#writing-new-savepoints and in https://nightlies.apache.org/flink/flink-docs-master/docs/libs/state_processor_api/#modifying-savepoints.
Somehow I missed that you already updated those. Sorry about the false alarm.

@flinkbot run azure


[SPARK-34212][SQL][FOLLOWUP] Move the added test to ParquetQuerySuite

What changes were proposed in this pull request?
This pr moves the added test from SQLQuerySuite to ParquetQuerySuite.
Why are the changes needed?

It can be tested by ParquetV1QuerySuite and ParquetV2QuerySuite.
Reduce the testing time of SQLQuerySuite(SQLQuerySuite ~ 3 min 17 sec, ParquetV1QuerySuite ~ 27 sec).

Does this PR introduce any user-facing change?
No.
How was this patch tested?
Unit test.

Test build #137065 has started for PR 32090 at commit fda77c7.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41643/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41643/

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

Test build #137068 has started for PR 32090 at commit 4fdb0aa.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41646/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41646/

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

Test build #137065 has finished for PR 32090 at commit fda77c7.

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

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

Test build #137068 has finished for PR 32090 at commit 4fdb0aa.

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

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

is this a regression of 2.4? cc @viirya

Thank you, @wangyum .

is this a regression of 2.4? cc @viirya

Yes. I can confirm that before SPARK-34212, the example query works in 2.4.

I think we should not support this case. It has potential data issues. For example:
    import org.apache.spark.sql.types.StructType

    spark.sql("SELECT 999999999 AS a").write.mode("overwrite").parquet("/tmp/SPARK-34212")
    val df = spark.read.schema(StructType.fromDDL("a decimal(2, 0)")).parquet("/tmp/SPARK-34212")
    df.write.saveAsTable("t1")

    spark.sql("select a, a * a as a2, a * a * a as a3, a * a * a * a as a4 from t1").write.saveAsTable("t2")
    spark.sql("select * from t2").show(false)
    spark.sql("desc t2").show(false)

+----------+----+----+
|a         |a1  |a2  |
+----------+----+----+
|2147483647|null|null|
+----------+----+----+

+--------+------------+-------+
|col_name|data_type   |comment|
+--------+------------+-------+
|a       |decimal(2,0)|null   |
|a1      |decimal(5,0)|null   |
|a2      |decimal(8,0)|null   |
+--------+------------+-------+

I think we should not support this case. It has potential data issues. For example:
    import org.apache.spark.sql.types.StructType

    spark.sql("SELECT 999999999 AS a").write.mode("overwrite").parquet("/tmp/SPARK-34212")
    val df = spark.read.schema(StructType.fromDDL("a decimal(2, 0)")).parquet("/tmp/SPARK-34212")
    df.write.saveAsTable("t1")

    spark.sql("select a, a * a as a2, a * a * a as a3, a * a * a * a as a4 from t1").write.saveAsTable("t2")
    spark.sql("select * from t2").show(false)
    spark.sql("desc t2").show(false)

+----------+----+----+
|a         |a1  |a2  |
+----------+----+----+
|2147483647|null|null|
+----------+----+----+

+--------+------------+-------+
|col_name|data_type   |comment|
+--------+------------+-------+
|a       |decimal(2,0)|null   |
|a1      |decimal(5,0)|null   |
|a2      |decimal(8,0)|null   |
+--------+------------+-------+

@wangyum I think we can still support some cases? For example, if the parquet field is int type, we can read it as decimal(p, s) where p - s > Decimal.MAX_INT_DIGITS

It may be out of range?
scala> spark.sql(s"select cast(${Int.MaxValue} as decimal(9, 0)), cast(${Long.MaxValue} as decimal(18, 0))").show(false)
+--------------------------------+------------------------------------------+
|CAST(2147483647 AS DECIMAL(9,0))|CAST(9223372036854775807 AS DECIMAL(18,0))|
+--------------------------------+------------------------------------------+
|null                            |null                                      |
+--------------------------------+------------------------------------------+

scala> spark.sql(s"select cast(${Int.MaxValue} as decimal(10, 0)), cast(${Long.MaxValue} as decimal(19, 0))").show(false)
+---------------------------------+------------------------------------------+
|CAST(2147483647 AS DECIMAL(10,0))|CAST(9223372036854775807 AS DECIMAL(19,0))|
+---------------------------------+------------------------------------------+
|2147483647                       |9223372036854775807                       |
+---------------------------------+------------------------------------------+

correction: p - s > Decimal.MAX_INT_DIGITS

Many places need to be changed to support this case:
https://github.com/apache/spark/blob/a418548dad57775fbb10b4ea690610bad1a8bfb0/sql/core/src/main/java/org/apache/spark/sql/execution/vectorized/WritableColumnVector.java#L364-L367
https://github.com/apache/spark/blob/faeb71b39d746afdc29f154e293e7c09871c1254/sql/core/src/main/java/org/apache/spark/sql/execution/vectorized/OnHeapColumnVector.java#L543-L549
https://github.com/apache/spark/blob/5013171fd36e6221a540c801cb7fd9e298a6b5ba/sql/core/src/main/java/org/apache/spark/sql/execution/datasources/parquet/VectorizedColumnReader.java#L119-L122

Test build #137262 has started for PR 32090 at commit d182f65.

Ah I see, the so-called 32BitDecimalType can't hold Int.Max, so it's very difficult to support reading a plain int as decimal. The same to 64BitDecimalType.
What we can support is reading plain int as 64BitDecimalType, which may need more changes.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41841/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41841/

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

Test build #137262 has finished for PR 32090 at commit d182f65.

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

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

thanks, merging to master/3.1/3.0!

Hi, as 2.4.8 RC2 is under voting now. I'd like to confirm that we don't want to support the case, right? This PR just moves the test case. cc @wangyum @cloud-fan


Problems installing with pip

The dash character in chromatography–mass in the README.md causes problems when installing biosaur2 with pip on Ubuntu:
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-jx9d8cpi/biosaur2_6eef657309334ce3bccee32aada0c084/setup.py", line 47, in <module>
        long_description     = (''.join(open('README.md').readlines())),
      File "/usr/lib/python3.6/encodings/ascii.py", line 26, in decode
        return codecs.ascii_decode(input, self.errors)[0]
    UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 530: ordinal not in range(128)

Removing this character from the README.md allows for correct installation.

Thanks, Matthew! A fixed biosaur2 will be uploaded at the PyPi soon.
Mark

Thanks, works now!


Use master nodepool

For now all we need to do is start up a nodepool server and point it at
it. The old state will need to be rebuilt but that's ok for us.

I'm going to merge this so i have a bit of time to play with it.

Starting gate_github jobs.


Test against Ruby 2.3.0 on Travis CI

Thanks! Rubocop failures are fixed in master.

Thanks :smiley:


build(release-please): Add missing PR title prefixes to the workflow

Pull Request Checklist
Task Description/Number

Issue Number: NO-TICKET
This PR just adds recently added perf prefix to release creation workflow and slightly updates PR template.
PR Type

[x] chore: maintenance tasks (no production code change)
[ ] docs: documentation changes (no production code change)
[ ] feat: represents a new feature
[ ] fix: represents bug fixes
[ ] perf: performance improvements
[ ] refactor: represents production code refactoring
[ ] test: all about tests: adding, refactoring tests (no production code change)

Basic Requirements for bug fixes and features

[ ] Tests for the changes have been added
[ ] Docs have been added / updated

Does this PR introduce a breaking change?

[ ] Yes

Does this PR change client-test-data?

[ ] Yes

I just moved perf to Enhancements section instead Maintenance, which IMO makes more sense.


Add some screenshots?

Hi Dan,
Screenshot has been added at the top of README (https://github.com/igor-bezkrovny/texturer).
Please run example/app/resources/build.cmd to create more screenshots. They will be placed into example/app/source/images folder by default.
Is it enough?
Thanks

Thanks Igor. I'm not very familiar with texture mapping, so I'll let others comment? Hope to see more users come to the project.


Error: WRONGTYPE Operation against a key holding the wrong kind of value

Stack trace:
10/1 06:44 [15406] - error: /api/category/4/discussion
 Error: WRONGTYPE Operation against a key holding the wrong kind of value
    at JavascriptReplyParser._parseResult (/home/***/NodeBB/node_modules/redis/lib/parsers/javascript.js:43:16)
    at JavascriptReplyParser.try_parsing (/home/***/NodeBB/node_modules/redis/lib/parsers/javascript.js:114:21)
    at JavascriptReplyParser.run (/home/***/NodeBB/node_modules/redis/lib/parsers/javascript.js:135:22)
    at JavascriptReplyParser.execute (/home/***/NodeBB/node_modules/redis/lib/parsers/javascript.js:107:10)
    at Socket.<anonymous> (/home/***/NodeBB/node_modules/redis/index.js:131:27)
    at Socket.emit (events.js:95:17)
    at Socket.<anonymous> (_stream_readable.js:748:14)
    at Socket.emit (events.js:92:17)
    at emitReadable_ (_stream_readable.js:410:10)
    at emitReadable (_stream_readable.js:406:5)

Seems to happen when one makes use of _level = "moderator" for user imports. This error happens whenever I try to visit any category after importing users that have _level set to "moderator".

Might also happen with "administrator" set. I'm using a dump that only has 1 administrator. The nodebb admin takes over the administrator of the dump.

this one is a little weird. I'll take a look.
By the way, any reason you're using redis and not mongo?

I think i know why.

i think i fixed it.

Thanks. It's fixed now. :)
I use redis in other projects. I want to do some integration with those projects and the forum and figured it would easier if both shared the same db. Perhaps I'm wrong with this assumption. Other than that, redis is familiar while mongo is something I've never used before.

no worries - my only problem with redis is that you need to keep adding RAM as your DB increases (and you could potentially loose data on crashes) other than that, its fast


qemu: disable debug info on aarch64-linux

This is basically a partial revert of a0262a08026.

Motivation for this change
Blocked nixos-unstable channel.
Things done

Built on platform(s)

[ ] x86_64-linux
[x] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Sizes now:
/nix/store/7hf3iiw993iwd395s21bzkwjxal5ljjj-qemu-6.1.0<PHONE_NUMBER>
/nix/store/wbfy9shaxfhin5iy1ml18vq9br61xsg3-qemu-6.1.0-ga            776752

I also built nixos.amazonImage.aarch64-linux.

Huh. Wonder why debug info is so much bigger on aarch64.

Right, 20% increase in .debug isn't negligible.  Maybe the very different design of the instruction set is related.


16x9 thumbnails have gap below

Check out advocates. Options, preferred ones first, I think:

Figure out how to crop the sides
Figure out how to letterbox top and bottom
Go back to squat, cropped, thumbnails across the board

Actually, looking at it, those Advocates thumbnails are squished, rather than being true 16x9, as are these:

http://ov-qa1.wgbh-mla-test.org/collections/vietnam-the-vietnam-collection/archival-footage#tabs
http://ov-qa1.wgbh-mla-test.org/collections/wpna-wpna-war-and-peace-in-the-nuclear-age/original-footage#tabs
http://ov-qa1.wgbh-mla-test.org/collections/rock-and-roll/interviews

While a few others seem to be non-4x3, but are not squished:

http://ov-qa1.wgbh-mla-test.org/collections/vietnam-the-vietnam-collection/photographs#tabs

So I think we're best off adding a height 100% only because it seems that most of our thumbnails will look best when stretched to those dimensions. I have no idea why some are squashed, but it's what we have to work with.


[Web][Canvaskit]: Mixed byte order in result of Image.toByteData() using format: ui.ImageByteFormat.rawRgba

Steps to reproduce

Call test() method in the attached code snippet on canvaskit renderer
Using the default rawRgba, the bytes of the first pixel are in RGBA order, but others are in BGRA instead of RGBA
Using rawStraightRgba, all pixel data are in BGRA instead of RGBA
Running test() method on html renderer the results look good

Expected results
Response Bytes: [66, 77, 70, 0, 0, 0, 0, 0, 0, 0, 54, 0, 0, 0, 40, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0, 1, 0, 24, 0, 0, 0, 0, 0, 16, 0, 0, 0, 195, 14, 0, 0, 195, 14, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 232, 162, 0, 39, 127, 255, 0, 0, 76, 177, 34, 36, 28, 237, 0, 0]
Image Bytes (rawRgba):         [34, 177, 76, 255, 237, 28, 36, 255, 0, 162, 232, 255, 255, 127, 39, 255]
Image Bytes (rawStraightRgba): [34, 177, 76, 255, 237, 28, 36, 255, 0, 162, 232, 255, 255, 127, 39, 255]
Actual results
Response Bytes: [66, 77, 70, 0, 0, 0, 0, 0, 0, 0, 54, 0, 0, 0, 40, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0, 1, 0, 24, 0, 0, 0, 0, 0, 16, 0, 0, 0, 195, 14, 0, 0, 195, 14, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 232, 162, 0, 39, 127, 255, 0, 0, 76, 177, 34, 36, 28, 237, 0, 0]
Image Bytes (rawRgba):         [34, 177, 76, 255, 36, 28, 237, 255, 232, 162, 0, 255, 39, 127, 255, 255]
Image Bytes (rawStraightRgba): [76, 177, 34, 255, 36, 28, 237, 255, 232, 162, 0, 255, 39, 127, 255, 255]
Code sample
Code sample
  Future test(String url) async {
    var imgData = await _downloadImage(url);
    print("Response Bytes: " + imgData.toString());

    final image = await _loadImage(imgData);

    final ByteData? rawRgbaBytes = await image.toByteData();
    if (rawRgbaBytes != null) {
      print("Image Bytes (rawRgba):         " + rawRgbaBytes.buffer.asUint8List().toString());
    }

    final ByteData? rawStraightRgbaBytes = await image.toByteData(format: ui.ImageByteFormat.rawStraightRgba);
    if (rawStraightRgbaBytes != null) {
      print("Image Bytes (rawStraightRgba): " + rawStraightRgbaBytes.buffer.asUint8List().toString());
    }
  }

  Future<Uint8List> _downloadImage(String url) async {
    http.Response response = await http.get(Uri.parse(url));
    return response.bodyBytes;
  }

  Future<ui.Image> _loadImage(Uint8List list) async {
    final completer = Completer<ui.Image>();
    ui.decodeImageFromList(list, completer.complete);
    return completer.future;
  }

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
[√] Flutter (Channel stable, 3.16.5, on Microsoft Windows [Version 10.0.22631.3007], locale en-US)
    • Flutter version 3.16.5 on channel stable at C:\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 78666c8dc5 (3 months ago), 2023-12-19 16:14:14 -0800
    • Engine revision 3f3e560236
    • Dart version 3.2.3
    • DevTools version 2.28.4

[√] Windows Version (Installed version of Windows is version 10 or higher)

[X] Android toolchain - develop for Android devices
    X Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[!] Visual Studio - develop Windows apps (Visual Studio Professional 2022 17.8.6)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Professional
    • Visual Studio Professional 2022 version 17.8.34525.116
    X Visual Studio is missing necessary components. Please re-run the Visual Studio installer for the "Desktop development with C++" workload, and include these components:
        MSVC v142 - VS 2019 C++ x64/x86 build tools
         - If there are multiple build tool versions available, install the latest
        C++ CMake tools for Windows
        Windows 10 SDK

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).

[√] VS Code (version 1.87.0)
    • VS Code at C:\Users\lpeter\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.84.0

[√] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.22631.3007]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 122.0.6261.95
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 122.0.2365.66

[√] Network resources
    • All expected network resources are available.

! Doctor found issues in 3 categories.

@laszlopeter1
I think this is similar to https://github.com/flutter/flutter/issues/135409 in which you can follow-up for further updates.
You may share your findings in it for better tracking.
Closing this as a duplicate. If you disagree, write in comments and I'll reopen it.

It seems #135409 will solve only the rawStraightRgba case, but there is problem with rawRgba format as well. I'm not sure solving the issue with rawStraightRgba will solve rawRgba problem as well. Please reopen my issue.

Thanks for the feedback. Reopening.

Making P1 since it's being actively worked on.