Fix errors caused by 340+ not working on DB

Signed-off-by: Ahmed Hussein<EMAIL_ADDRESS>Making minimum changes to reduce the number of compilation errors
This PR fixes bunch of errors that show up due to incompatible implementation of 340+shims to DB3.3.0
This might not be the correct the implementation for DB, but the purpose is to get things compiling first.
This brings the errors down to 38 (previously it was 52)
There is a couple of error remaining in spark340+ . this is due db3.3.0 still use subErrorClass to construct the SparkException.
This argument has been removed from spark3.4+. I will fix those next, because I need to create shims for this then know what the default argument is supposed to be.

Current build errors
[INFO] Using incremental compilation
[WARNING] Pruning sources from previous analysis, due to incompatible CompileSetup.
[INFO] Compiling 323 Scala sources and 59 Java sources to /home/ubuntu/spark-rapids/sql-plugin/target/spark330db/classes...
[ERROR] /home/ubuntu/spark-rapids/sql-plugin/src/main/330+/scala/com/nvidia/spark/rapids/shims/Spark330PlusShims.scala:49: not enough arguments for constructor FileScanRDD: (sparkSession: org.apache.spark.sql.SparkSession, readFunction: org.apache.spark.sql.execution.datasources.PartitionedFile => Iterator[org.apache.spark.sql.catalyst.InternalRow], filePartitions: Seq[org.apache.spark.sql.execution.datasources.FilePartition], debugWriter: Option[com.databricks.sql.catalyst.BadFilesWriter], asyncIOSafe: Boolean, fileNotFoundHint: String => String, repeatedReadsMetrics: Option[com.databricks.sql.execution.RepeatedReadsMetrics], fileSystemMetrics: Option[com.databricks.sql.execution.FileSystemMetrics], fileScanMetrics: com.databricks.sql.execution.FileScanMetrics, readSchema: org.apache.spark.sql.types.StructType, metadataColumns: Seq[org.apache.spark.sql.catalyst.expressions.AttributeReference], options: org.apache.spark.sql.catalyst.FileSourceOptions)org.apache.spark.sql.execution.datasources.FileScanRDD.
Unspecified value parameter readSchema.
[ERROR]     new FileScanRDD(sparkSession, readFunction, filePartitions, readDataSchema, metadataColumns)
[ERROR]     ^
[ERROR] /home/ubuntu/spark-rapids/sql-plugin/src/main/330db/scala/com/nvidia/spark/rapids/shims/SparkShims.scala:49: not found: value GpuShuffleExchangeExec
[ERROR]             GpuShuffleExchangeExec(
[ERROR]             ^
[ERROR] /home/ubuntu/spark-rapids/sql-plugin/src/main/340+/scala/org/apache/spark/sql/rapids/shims/RapidsErrorUtils.scala:75: not enough arguments for constructor SparkDateTimeException: (errorClass: String, errorSubClass: Option[String], messageParameters: Array[String], context: Array[org.apache.spark.QueryContext], summary: String)org.apache.spark.SparkDateTimeException.
Unspecified value parameter summary.
[ERROR]     new SparkDateTimeException(errorClass, messageParameters, Array.empty, "")
[ERROR]     ^
[ERROR] /home/ubuntu/spark-rapids/sql-plugin/src/main/340+/scala/org/apache/spark/sql/rapids/shims/SparkUpgradeExceptionShims.scala:27: overloaded method constructor SparkUpgradeException with alternatives:
  (errorClass: String,errorSubClass: String,messageParameters: Array[String],cause: Throwable)org.apache.spark.SparkUpgradeException <and>
  (errorClass: String,errorSubClass: Option[String],messageParameters: Array[String],cause: Throwable)org.apache.spark.SparkUpgradeException
 cannot be applied to (String, scala.collection.immutable.Map[String,String], Throwable)
[ERROR]     new SparkUpgradeException(
[ERROR]     ^
[ERROR] /home/ubuntu/spark-rapids/sql-plugin/src/main/scala/org/apache/spark/sql/rapids/execution/GpuBroadcastExchangeExec.scala:32: object ShimBroadcastExchangeLike is not a member of package com.nvidia.spark.rapids.shims
[ERROR] import com.nvidia.spark.rapids.shims.{ShimBroadcastExchangeLike, ShimUnaryExecNode, SparkShimImpl}
[ERROR]        ^
[ERROR] /home/ubuntu/spark-rapids/sql-plugin/src/main/scala/org/apache/spark/sql/rapids/execution/GpuBroadcastExchangeExec.scala:318: not found: type ShimBroadcastExchangeLike
[ERROR]     child: SparkPlan) extends ShimBroadcastExchangeLike with ShimUnaryExecNode with GpuExec {
[ERROR]                               ^
[ERROR] /home/ubuntu/spark-rapids/sql-plugin/src/main/scala/com/nvidia/spark/rapids/GpuBroadcastJoinMeta.scala:34: fruitless type test: a value of type org.apache.spark.sql.execution.exchange.Exchange cannot also be a org.apache.spark.sql.rapids.execution.GpuBroadcastExchangeExec
[ERROR]               .child.isInstanceOf[GpuBroadcastExchangeExec]
[ERROR]                                  ^
[ERROR] /home/ubuntu/spark-rapids/sql-plugin/src/main/scala/com/nvidia/spark/rapids/GpuBroadcastJoinMeta.scala:35: fruitless type test: a value of type org.apache.spark.sql.execution.exchange.Exchange cannot also be a org.apache.spark.sql.rapids.execution.GpuBroadcastExchangeExec
[ERROR]       case reused: ReusedExchangeExec => reused.child.isInstanceOf[GpuBroadcastExchangeExec]
[ERROR]                                                                   ^
[ERROR] /home/ubuntu/spark-rapids/sql-plugin/src/main/scala/com/nvidia/spark/rapids/GpuBroadcastJoinMeta.scala:46: fruitless type test: a value of type org.apache.spark.sql.execution.exchange.Exchange cannot also be a org.apache.spark.sql.rapids.execution.GpuBroadcastExchangeExec
[ERROR]                   .child.isInstanceOf[GpuBroadcastExchangeExec]
[ERROR]                                      ^
[ERROR] /home/ubuntu/spark-rapids/sql-plugin/src/main/scala/com/nvidia/spark/rapids/GpuBroadcastJoinMeta.scala:47: fruitless type test: a value of type org.apache.spark.sql.execution.exchange.Exchange cannot also be a org.apache.spark.sql.rapids.execution.GpuBroadcastExchangeExec
[ERROR]       case reused: ReusedExchangeExec => reused.child.isInstanceOf[GpuBroadcastExchangeExec]
[ERROR]                                                                   ^
[ERROR] /home/ubuntu/spark-rapids/sql-plugin/src/main/scala/com/nvidia/spark/rapids/GpuOverrides.scala:27: object AQEUtils is not a member of package com.nvidia.spark.rapids.shims
[ERROR] import com.nvidia.spark.rapids.shims.{AQEUtils, DecimalArithmeticOverrides, DeltaLakeUtils, GetMapValueMeta, GpuBatchScanExec, GpuHashPartitioning, GpuRangePartitioning, GpuSpecifiedWindowFrameMeta, GpuTypeShims, GpuWindowExpressionMeta, OffsetWindowFunctionMeta, SparkShimImpl}
[ERROR]        ^
[ERROR] /home/ubuntu/spark-rapids/sql-plugin/src/main/scala/com/nvidia/spark/rapids/GpuOverrides.scala:31: object GpuShuffleExchangeExec is not a member of package org.apache.spark.rapids.shims
[ERROR] import org.apache.spark.rapids.shims.GpuShuffleExchangeExec
[ERROR]        ^
[ERROR] /home/ubuntu/spark-rapids/sql-plugin/src/main/scala/com/nvidia/spark/rapids/GpuOverrides.scala:66: object GpuFlatMapGroupsInPandasExecMeta is not a member of package org.apache.spark.sql.rapids.execution.python.shims
[ERROR] import org.apache.spark.sql.rapids.execution.python.shims.GpuFlatMapGroupsInPandasExecMeta
[ERROR]        ^
[ERROR] /home/ubuntu/spark-rapids/sql-plugin/src/main/scala/com/nvidia/spark/rapids/GpuOverrides.scala:570: not found: value AQEUtils
[ERROR]             AQEUtils.newReuseInstance(sqse, newOutput)
[ERROR]             ^
[ERROR] /home/ubuntu/spark-rapids/sql-plugin/src/main/scala/com/nvidia/spark/rapids/GpuOverrides.scala:3731: not found: value GpuShuffleExchangeExec
[ERROR]                 GpuShuffleExchangeExec(
[ERROR]                 ^
[ERROR] /home/ubuntu/spark-rapids/sql-plugin/src/main/scala/com/nvidia/spark/rapids/GpuOverrides.scala:3837: recursive value x$41 needs type
[ERROR]           val Seq(left, right) = childPlans.map(_.convertIfNeeded())
[ERROR]                   ^
[ERROR] /home/ubuntu/spark-rapids/sql-plugin/src/main/scala/com/nvidia/spark/rapids/GpuOverrides.scala:3981: not found: type GpuFlatMapGroupsInPandasExecMeta
[ERROR]       (flatPy, conf, p, r) => new GpuFlatMapGroupsInPandasExecMeta(flatPy, conf, p, r)),
[ERROR]                                   ^
[ERROR] /home/ubuntu/spark-rapids/sql-plugin/src/main/scala/com/nvidia/spark/rapids/GpuOverrides.scala:4294: not found: value DeltaLakeUtils
[ERROR]       case f: FileSourceScanExec if DeltaLakeUtils.isDatabricksDeltaLakeScan(f) =>
[ERROR]                                     ^
[ERROR] /home/ubuntu/spark-rapids/sql-plugin/src/main/scala/com/nvidia/spark/rapids/GpuOverrides.scala:4327: not found: value AQEUtils
[ERROR]         !AQEUtils.isAdaptiveExecutionSupportedInSparkVersion(plan.conf) =>
[ERROR]          ^
[ERROR] /home/ubuntu/spark-rapids/sql-plugin/src/main/scala/com/nvidia/spark/rapids/GpuOverrides.scala:4331: not found: value AQEUtils
[ERROR]         !AQEUtils.isAdaptiveExecutionSupportedInSparkVersion(plan.conf) =>
[ERROR]          ^
[ERROR] /home/ubuntu/spark-rapids/sql-plugin/src/main/scala/com/nvidia/spark/rapids/GpuOverrides.scala:27: Unused import
[ERROR] import com.nvidia.spark.rapids.shims.{AQEUtils, DecimalArithmeticOverrides, DeltaLakeUtils, GetMapValueMeta, GpuBatchScanExec, GpuHashPartitioning, GpuRangePartitioning, GpuSpecifiedWindowFrameMeta, GpuTypeShims, GpuWindowExpressionMeta, OffsetWindowFunctionMeta, SparkShimImpl}
[ERROR]                                       ^
[ERROR] /home/ubuntu/spark-rapids/sql-plugin/src/main/scala/com/nvidia/spark/rapids/GpuOverrides.scala:27: Unused import
[ERROR] import com.nvidia.spark.rapids.shims.{AQEUtils, DecimalArithmeticOverrides, DeltaLakeUtils, GetMapValueMeta, GpuBatchScanExec, GpuHashPartitioning, GpuRangePartitioning, GpuSpecifiedWindowFrameMeta, GpuTypeShims, GpuWindowExpressionMeta, OffsetWindowFunctionMeta, SparkShimImpl}
[ERROR]                                                                             ^
[ERROR] /home/ubuntu/spark-rapids/sql-plugin/src/main/scala/com/nvidia/spark/rapids/GpuOverrides.scala:31: Unused import
[ERROR] import org.apache.spark.rapids.shims.GpuShuffleExchangeExec
[ERROR]                                      ^
[ERROR] /home/ubuntu/spark-rapids/sql-plugin/src/main/scala/com/nvidia/spark/rapids/GpuOverrides.scala:66: Unused import
[ERROR] import org.apache.spark.sql.rapids.execution.python.shims.GpuFlatMapGroupsInPandasExecMeta
[ERROR]                                                           ^
[ERROR] /home/ubuntu/spark-rapids/sql-plugin/src/main/scala/com/nvidia/spark/rapids/aggregate.scala:28: object AggregationTagging is not a member of package com.nvidia.spark.rapids.shims
[ERROR] import com.nvidia.spark.rapids.shims.{AggregationTagging, ShimUnaryExecNode}
[ERROR]        ^
[ERROR] /home/ubuntu/spark-rapids/sql-plugin/src/main/scala/com/nvidia/spark/rapids/aggregate.scala:870: not found: value AggregationTagging
[ERROR]     if (AggregationTagging.mustReplaceBoth) {
[ERROR]         ^
[ERROR] /home/ubuntu/spark-rapids/sql-plugin/src/main/scala/com/nvidia/spark/rapids/aggregate.scala:28: Unused import
[ERROR] import com.nvidia.spark.rapids.shims.{AggregationTagging, ShimUnaryExecNode}
[ERROR]                                       ^
[ERROR] /home/ubuntu/spark-rapids/sql-plugin/src/main/scala/com/nvidia/spark/rapids/limit.scala:26: object GpuShuffleExchangeExec is not a member of package org.apache.spark.rapids.shims
[ERROR] import org.apache.spark.rapids.shims.GpuShuffleExchangeExec
[ERROR]        ^
[ERROR] /home/ubuntu/spark-rapids/sql-plugin/src/main/scala/com/nvidia/spark/rapids/limit.scala:177: not found: value GpuShuffleExchangeExec
[ERROR]       GpuShuffleExchangeExec(
[ERROR]       ^
[ERROR] /home/ubuntu/spark-rapids/sql-plugin/src/main/scala/com/nvidia/spark/rapids/limit.scala:26: Unused import
[ERROR] import org.apache.spark.rapids.shims.GpuShuffleExchangeExec
[ERROR]                                      ^
[ERROR] /home/ubuntu/spark-rapids/sql-plugin/src/main/scala/org/apache/spark/sql/rapids/execution/GpuBroadcastExchangeExec.scala:403: not found: value promise
[ERROR]             promise.success(broadcasted)
[ERROR]             ^
[ERROR] /home/ubuntu/spark-rapids/sql-plugin/src/main/scala/org/apache/spark/sql/rapids/execution/GpuBroadcastExchangeExec.scala:411: not found: value promise
[ERROR]               promise.failure(ex)
[ERROR]               ^
[ERROR] /home/ubuntu/spark-rapids/sql-plugin/src/main/scala/org/apache/spark/sql/rapids/execution/GpuBroadcastExchangeExec.scala:415: not found: value promise
[ERROR]               promise.failure(ex)
[ERROR]               ^
[ERROR] /home/ubuntu/spark-rapids/sql-plugin/src/main/scala/org/apache/spark/sql/rapids/execution/GpuBroadcastExchangeExec.scala:418: not found: value promise
[ERROR]               promise.failure(e)
[ERROR]               ^
[ERROR] /home/ubuntu/spark-rapids/sql-plugin/src/main/scala/org/apache/spark/sql/rapids/execution/GpuBroadcastExchangeExec.scala:32: Unused import
[ERROR] import com.nvidia.spark.rapids.shims.{ShimBroadcastExchangeLike, ShimUnaryExecNode, SparkShimImpl}
[ERROR]                                       ^
[ERROR] /home/ubuntu/spark-rapids/sql-plugin/src/main/scala/org/apache/spark/sql/rapids/execution/GpuShuffleExchangeExecBase.scala:27: object GpuShuffleExchangeExec is not a member of package org.apache.spark.rapids.shims
[ERROR] import org.apache.spark.rapids.shims.GpuShuffleExchangeExec
[ERROR]        ^
[ERROR] /home/ubuntu/spark-rapids/sql-plugin/src/main/scala/org/apache/spark/sql/rapids/execution/GpuShuffleExchangeExecBase.scala:111: not found: value GpuShuffleExchangeExec
[ERROR]     GpuShuffleExchangeExec(
[ERROR]     ^
[ERROR] /home/ubuntu/spark-rapids/sql-plugin/src/main/scala/org/apache/spark/sql/rapids/execution/GpuShuffleExchangeExecBase.scala:27: Unused import
[ERROR] import org.apache.spark.rapids.shims.GpuShuffleExchangeExec
[ERROR]                                      ^
[ERROR] 38 errors found


[PE-D][Tester B] Possible invalid input for the address with the / character.

When you use the keyword a/<address>, you probably should not be able to add a / inside of the address because it should be a reserved character used to mark a prefix for an attribute and, therefore, should probably throw an error ie can not use / inside attribute names as it is a reserved key-character. Instead, it is allowed. You might add new keywords in the future so it's nice to have that in mind.

Labels: type.FeatureFlaw severity.Low
original: TarinPairor/ped#2

Good point to consider. Perhaps in the case of a tag following in the command such as a/<address> t/<tags> and if the address has a substring t/ inside of it, what will the error message be?


how to addUser interaction

hello guys
i learn form your project a lot ，but i find that the OpenTK in WPF can not interact ，for example ，mouse  wheel and mouse left actions  .ect。
so did you add those  functions yet ? and do you think whether wpf can support OpenTK friendly ？
best wishes & look forward to reply

I've just been using the usual WPF events for those things. There's probably a way to add handlers that send the data to OpenTK, but I'm not sure what would be the best way to do it. There's probably some better way to get OpenTK and WPF to work together, but I haven't found it yet.

I've just been using the usual WPF events for those things. There's probably a way to add handlers that send the data to OpenTK, but I'm not sure what would be the best way to do it. There's probably some better way to get OpenTK and WPF to work together, but I haven't found it yet.

i have try to add handlers to WPF OpenTK control ，but it’s to hard to solve mang problems，finally ，i decide to give up。 thanks for your reply ，happy every day ~


Rename Viewport::ClearMode::CLEAR_MODE_ONLY_NEXT_FRAME to CLEAR_MODE_ONCE

As described here, Viewport::ClearMode::CLEAR_MODE_ONLY_NEXT_FRAME should be renamed  Viewport::ClearMode::CLEAR_MODE_ONCE to align with Viewport::UpdateMode::UPDATE_ONCE.
Includes a few documentation fixes too. :-)
Part of #16863

Thanks!


fix(es/compat): Handle __proto__ edge case in shorthand pass

Description:

BREAKING CHANGE:

Related issue (if exists):

https://github.com/babel/babel/pull/12664

CI will fail, but some of them are not related to this PR and will be fixed by https://github.com/swc-project/swc/pull/8079


Native

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@e2122cb). Click here to learn what that means.
The diff coverage is 73.14%.

@@            Coverage Diff            @@
##             master      #53   +/-   ##
=========================================
  Coverage          ?   46.96%
=========================================
  Files             ?      422
  Lines             ?    35474
  Branches          ?     7749
=========================================
  Hits              ?    16659
  Misses            ?    15734
  Partials          ?     3081

Impacted Files
Coverage Δ

tests/benchmarks/app_kernel/src/mailbox_b.c
0% <ø> (ø)

tests/benchmarks/app_kernel/src/master.h
0% <ø> (ø)

tests/kernel/sprintf/src/test_sprintf.c
32.03% <ø> (ø)

kernel/thread.c
70.24% <ø> (ø)

include/posix/pthread.h
71.42% <ø> (ø)

tests/benchmarks/app_kernel/src/pipe_b.c
0% <ø> (ø)

arch/posix/core/offsets/offsets.c
0% <0%> (ø)

boards/posix/simple_process/tracing.c
0% <0%> (ø)

...less/tickless_concept/src/test_tickless_sysclock.c
100% <100%> (ø)

...ling/schedule_api/src/test_sched_timeslice_reset.c
100% <100%> (ø)

... and 25 more

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 e2122cb...0ea4d60. Read the comment docs.


Conditionality of input and Celsius

Saw some problems that I thought I could amend :smile:
Added option to display temperature in either Celsius or Fahrenheit, using parameter in main.py.
Really nice work!

😍  love it!! Thank you so much for the contribution!! Confirming you're ready to merge?

love it!! Thank you so much for the contribution!! Confirming you're ready to merge?

Should be all set :D

😎 😎 😎 😎 😎 😎 😎 😎 😎 😎


Uwp edit features

@nCastle1 please review

Added UI for editing features and adding/editing related records in UWP. Adding features is coming in the next PR
Moved AttributeTemplateSelector code to shared project and updated for UWP
Improved UserPromptMessenger logic as it was failing in UWP and was not capturing user input
Updated references to UserPromptMessenger. Now works in WPF and UWP
Added sort for OriginRelationships
Updated OriginRelationshipViewModel to load feature when initialized, otherwise sorting doesn't work
Added view code in UWP to handle prompting user for input
Updated ViewModel references to account for the refactored viewmodels

I actually noticed the OAuth issue as soon as I started working on the next branch, so it'll be fixed there, as well as the NRE exception when submitting invalid value.


Dependencies for each sample

Can someone tell me where to find the dependencies for each sample as package.json is missing that.

Good point, of course to state the obvious they all do require a version Electron.
For Electron, I recommend version v9.4.4 and up(v10, v11, and v12).


Question: can I send Embedded Images via attachments?

I am trying to do this
var mailOptions = {
    ...
    html: 'Embedded image: <img<EMAIL_ADDRESS>    attachments: [{
        filename: 'image.png',
        path: '/path/to/file',
        cid<EMAIL_ADDRESS>//same cid value as in the html img src
    }]
}

This library does not support attachments at all at the moment @ericfong. It's something on the roadmap, but until then feel free to create a PR and we will review and merge in.

Closing this. Provide a PR if you can. Otherwise, it will be something we get around to at a later time.

Thx. I just need tags function and I found that the build-in SMTP can use headers to do the same thing. Sorry to move back to the built-in SMTP.
BY the way, thanks for your works


UVI Request

--- UVI JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from  to before v4.9.276",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=54ff3202928952a100c477248e65ac6db01258a7"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "54ff3202928952a100c477248e65ac6db01258a7",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "mISDN: fix possible use-after-free in HFC_cleanup()\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v4.9.276 by commit 54ff3202928952a100c477248e65ac6db01258a7. For more details please see the references link."
}
--- UVI JSON ---

This issue has been assigned UVI-2021-1001461


API Request: onDidChangeTextDocument - differentiate between user input and redo/undo

The extension API of VS Code 1.54.3 offers the event workspace.onDidChangeTextDocument that can be used to subscribe to text changes.
Currently, it does not seem to be possible to differentiate between text changes caused by user-input and those caused by redo/undo.
This is problematic if an extension wants to use the onDidChangeTextDocument event to modify the document when certain characters are typed by the user.
For example, the abbreviation rewrite feature of the Lean VS Code extension makes use of it (if the user types \alpha it gets replaced by α immediately).
However, if the user undoes and redoes their changes, onDidChangeTextDocument is also triggered. When undoing/redoing, new text edits are very harmful though, as they destroy the redo stack. Thus, extensions must not modify the document on redos/undos.
If redos cannot be differentiated from user input, this problem cannot be avoided if an extension wants to modify the document on certain text changes.
Proposal
It would be helpful if VS Code could provide a reason that caused the text change.
Reasons could be:

userInput: The user typed a character.
redo: Caused by redo
undo: Caused by undo
unknown: E.g. caused by liveshare or use of workspace.applyEdit

The reason could be provided by the TextDocumentChangeEvent:
export enum TextDocumentChangeReason {
    /** The text change is caused by extensions or other unknown sources. */
    unknown,

    /** The text change is caused by the user editing the document. */
    userInput,

    /** The text change is caused as part of an redo operation. */
    redo,

    /** The text change is caused as part of an undo operation. */
    undo,
}

/**
 * An event describing a transactional [document](#TextDocument) change.
 */
export interface TextDocumentChangeEvent {

    /**
     * The affected document.
     */
    readonly document: TextDocument;

    /**
     * An array of content changes.
     */
    readonly contentChanges: ReadonlyArray<TextDocumentContentChangeEvent>;

    // >>>>>>>>> NEW
    readonly reason: TextDocumentChangeReason;
    // <<<<<<<<<
}

Thank you!

Should be easy'ish for undo/redo because the underlying change event has this information: https://github.com/microsoft/vscode/blob/2243766d3effa5381bc4e3b378aae40c395f3ea1/src/vs/editor/common/model/textModelEvents.ts#L64

Fixed by b81aebe5d7a00ac9761c86d1c356e5921c8cc8c7.


Server Translations API let drop MSTP to Death

Hey, we had on our side a problem with the Server Translation API,
we had added Vanish from DrexHD https://github.com/DrexHD/Vanish/issues/14, the server has started to lag, after a few tests we had found out, that the Server Translation API will let drop MSTP and TP from our Server, without the mod, the Impact does not inccure.
Please look on this issue, i think the communicaton should be cuted down to stop this impact.

You don't have any data or anything? I've never experienced that and this is first report (and there are a lot of server using this without your issue)

@suerion you have mentioned spark reports on the issue report in my repository. It would be great if you could share them here, so we can take a look at the data!

Generally, this mod should only effect networking performance (as all translation stuff is done there, being skipped otherwise). So I can't see how it would effect server/main thread performance

Hey, yeah i had yesterday shared some datas from spark, i will share it again, after disabling vanish, or server translations api, it does work normaly.
i will come back to you. after searching the datas from yesterday. (TP impact is bigger as MSTP)

After restarting our dedicated server, it has no problem anymore,
https://spark.lucko.me/2b0IIGpHjY -> only the normal problemes we are working on. (Vanish is active)
Don't found the right Spark profil anymore, only this old one, after disabling server translation api, it does run normal again.
https://spark.lucko.me/3qjengBL9S
but we tested a lot the last few days, and after disabling server translations api, the TP and MSTP are back to normal, with this it has a lot of problems.
If i could reproduce this error, i will come backt to the issue

@Patbox @DrexHD i think it was an issue with our dedicated server, we don't have any issues. i will close the issues


Distinguish a parenthesised expression from a function invocation in legacy syntax

Steps to reproduce
A parenthesised expression delimited with space, and written
in legacy syntax, can be accepted as a function invocation
and would fail (E1085):
echo v:numbermin (1 << 63)
legacy echo v:numbermin (1 << 63)

unless there is a function proper to match it:
echo abs (1 << 63)
legacy echo abs (1 << 63)

echo strlen ('hello world')
legacy echo strlen ('hello world')

or there is no ambiguity about the expression:
echo (1 << 63)
legacy echo (1 << 63)

In Vim9 syntax, no space is tolerated between the function
name and its left paren (E121):
vim9cmd echo abs (1 << 63)
vim9cmd echo strlen ('hello world')

and expressions are accepted as such:
vim9cmd echo v:numbermin (1 << 63)
vim9cmd echo 'abs' (1 << 63)
vim9cmd echo 'strlen' ('hello world')

Expected behaviour
Try harder at parsing the input for legacy syntax.
Version of Vim
Vim 9.0 (v9.0.2032)
Environment
Debian GNU/Linux (testing/trixie)
Logs and stack traces
No response

Using optional space characters between a name and the opening parenthesis "(" is a valid syntax in legacy Vim scripts.
So this cannot be changed without breaking backward compatibility.

I see.  Fortunately, such function look-ups can be worked
around by explicitly concatenating expressions:
echo v:numbermin '' .. (1 << 63)
echo v:numbermin .. '' (1 << 63)


Text Selection refactoring of Ralph - continuation of PR #238 - fixing final tests

I have reviewed and continued Ralph's PR #238
The Fix in the Nutshell:
Realized that two navigators where working on the same DOC and one was changing the DOC, but the other had a cached selection, which was not updated as the prior STATIC SelectionManager should now be moved to the OdfDocument instance to be able to dirty flag
According to  GitHub docu - and from my understanding of it - I can only contribute to a PR, by creating a new one:
https://docs.github.com/de/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally
This is what I did today:

update my PR branch
Complete build of ODF Toolkit successfull on Windows 10 -> but a dozen files with Indent Normalization
These files changed by "Indent Normalization" committed locally to remove noise
The two ignored Tests activated in TextSelectionTest(@Ignore deleted) & all test output files named differently in relation to their test method
does hang/loop in this TextSelectionTest in complete build.. - pasteAtEndOf causes loop
Enhance readablity in Tests - Making TextSelection and TextNavigation variables mnemonic, e.g. search4XY and selection4XY
Enhance robustness in Tests -> Exchanging global TextSelection & TextNavigation variables with local ones!
Fixed loop see above.

Sure, the SelectionManager could offer such a functionality. Let me update!

I called the method unregisterAll() as there was already a method called:
public void unregisterItem(Selection item)


3.4 Keypad View orientations changed.

I've changed the functionality of the editor's viewport when pressing the keypad 1, 3, and 7 keys (also, of course, the front, right, and top orthogonal views). Before they seemed backwards, except for front and rear views. That is, when pressing keypad 3, the view was actually from the right. With this, it should now be from the left. The same goes for top and bottom. They are now orientated based on the front view.

Thanks for opening a pull request :slightly_smiling_face:
Pull requests (especially ones that break backwards compatibility) should be opened against the master branch instead of 3.x. This is because feature development occurs in the master branch. We can then cherry-pick specific PRs to the 3.x branch if they don't break backwards compatibility.

I see. I changed it according to how the front view works, but it seems the "front" may be "backwards". I simply set it up similar to Blender, because it makes more sense to me, as in Godot everything is based off the front view, so when the go to the right view, it's coming from the right relative from the front view. The same is so with the other views.

It's actually Blender which uses a confusing convention: https://blenderartists.org/t/why-are-front-back-top-bot-views-different-from-left-right-views/1185701
Godot follows the convention established in engineering drawing, see e.g. https://fractory.com/engineering-drawing-basics/ and https://en.wikipedia.org/wiki/Multiview_orthographic_projection
This image from the Blender thread helps visualize it:

Image you're looking at a house, with the observer/camera looking at the "Front" side. If the camera goes towards the right, it's looking at the "Right" side of the house. The house is not an animate object with intrinsic left and right sides like animals have with their limbs, the sides depend from the observer.

It seems like we might make it an option, since it's such a common thing for people to be concerned with? Regardless, I can always just compile my own version without issue, so it'll be easier for me to understand, at least.

It seems like we might make it an option, since it's such a common thing for people to be concerned with? Regardless, I can always just compile my own version without issue, so it'll be easier for me to understand, at least.

Well you can just change the hotkeys in the editor settings.
But in this case I think we should revert to match the Blender behavior which seems correct to me. We just need to make sure we also get Front right, which I'm not sure we do.

I would change the shortcuts but the top view isn't orientated the way I would like, with the front view being on the bottom.

the top view isn't orientated the way I would like, with the front view being on the bottom.

I guess you mean "the front view being on the back" and not "the bottom"? The "bottom view" is something else and perpendicular to the front, back and side views, let's try to be explicit on terminology as it's confusing enough as is :)

The Front view should be the view of a character's front, and the Back view should be of a character's back. Here is a correctly oriented character in the current master with "Front Orthogonal" view:

Having the character face forward (towards -Z) is implied if we accept that +X means right. This orientation is the only way for the character's right hand to be on the right (+X).

Of course, there is some confusion of a camera that is on the right and looking left, vs a camera that is on the left and looking right. In Godot we choose the "on the" sides for the names.

This PR is targeting the 3.4, which is not the right place to change this. It would need to target the master branch so that the change can be applied to all future Godot versions. It could then be backported to 3.x and possibly 3.4 too.
But there's still some discussion needed to really agree on what the view orientation mean and should be. I tend to agree with the proposed change/revert but this should be discussed in a https://github.com/godotengine/godot-proposals so that we can reach consensus and make the change once and for all.


bug: nixos: 'cargo': no such file or directory

Current Behavior:
doing nix-shell shell.nix --run 'cargo r' results in error: command failed: 'cargo': No such file or directory (os error 2)
Expected Behavior:
it should run
Steps To Reproduce:

clone the repo
cd to it
run nix-shell shell.nix --run 'cargo r'
error: command failed: 'cargo': No such file or directory (os error 2)

Screenshots Or Videos

Environment:
[lily@dawn:~]$ nix-shell -p nix-info --run "nix-info -m"
 - host os: `Linux 6.6.46, NixOS, 24.05 (Uakari), 24.05.4169.797f7dc49e0b`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.5`
 - channels(root): `"nixos-24.05, nixos-unstable"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Anything else:
this may be a "my environment skill issue" but it's nixos so it shouldn't happen, right?

Current nix setup is inpure. I guess we can add cargo and rustc in buildInputs

oh yeah that's how my shell.nix files are usually set up

this appears to not actually be the reason. unless nix opens a shell file when you cd into a directory, something i completely don't understand has happened. in /tmp cargo works, but in /tmp/verso, cargo doesn't. no nix-shell invocation was performed.

Can reproduce


Create codeql-analysis.yml

Why:
Closes [issue link]

What's being changed (if available, include any code snippets, screenshots, or gifs):

Check off the following:

[ ] I have reviewed my changes in staging (look for the "Automatically generated comment" and click the links in the "Preview" column to view your latest changes).
[ ] For content changes, I have completed the self-review checklist.

Writer impact (This section is for GitHub staff members only):

[ ] This pull request impacts the contribution experience

[ ] I have added the 'writer impact' label
[ ] I have added a description and/or a video demo of the changes below (e.g. a "before and after video")

This seems to have been opened accidentally, I am going to close it now :yellow_heart:
Take a look at the contributing.md to learn how to contribute in this repo. You can open a discussion if you have any questions or check out issues with the help wanted label. :sparkles:

I speak Thai I don't I speak Reed English And Code แอน( speak English a little bit)

I want project Microsoft 365 and read the language in the document Microsoft Word and Project from government document form Thailand.

ผมต้องการทีม


Setting diagnostic_scrollbar_sign = false

After lsp is loaded and diagnostic is displayed I get following:
Error executing luv callback:                                                                                /home/kamil/.vim/plugs/navigator.lua/lua/navigator/util.lua:398: bad argument #1 to 'next' (table expected, got boolean)                                                                                stack traceback:                                                                                [C]: in function 'next'                                                                                /home/kamil/.vim/plugs/navigator.lua/lua/navigator/util.lua:398: in function 'empty'                                                                                ...l/.vim/plugs/navigator.lua/lua/navigator/diagnostics.lua:47: in function 'fn'                                                                                ...amil/.vim/plugs/navigator.lua/lua/navigator/debounce.lua:9: in function <...amil/.vim/plugs/navigator.lua/lua/navigator/debounce.lua:7>
I was trying with setting:
diagnostic_scrollbar_sign = false
or
diagnostic_scrollbar_sign = {false}

Thanks for reporting this. It was fixed.


SelfService password reset does not appear to work as per the doc?

Just tried this on a test B2C tenant in my MSDN subscription. First the steps appear not to match? Step 3 should be "Password Reset" as the toggle in 4) is not on the Properties but on Password Reset page.
Second, even with the Self-service password reset enabled toggle set on Active Directory to ALL, it appears to make no difference to the "Sign-up or sign-in policies", although it does appear to affect "Sign-in policies"?

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

ID: b0576a50-8bfd-ac73-6cfc-5121de4c1ba1
Version Independent ID: df6d7234-db4f-1a15-3010-26bd56d934e8
Content: Azure Active Directory B2C: Self-service password reset
Content Source: articles/active-directory-b2c/active-directory-b2c-reference-sspr.md
Service: active-directory-b2c
GitHub Login: @davidmu1
Microsoft Alias: davidmu

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

@brianesb Thanks for reporting! I have assigned the issue to the document author to investigate and update as appropriate.

#in-progress

Revised the steps to reflect the current user interface in the Azure portal. A note currently exists in the article that says the setting applies to sign-in and a link is provided to an article that describes using custom policy for sign-up/sign-in.
#please-close


Add skills/interested in to user profile

Each Veteran should have a list of skills and a list of interests in their profile.

The skills to choose from should be in their own model (Skill?) with at least one attribute name.
A user should be able to add how ever many skills to their skill section.
A user should be able to add how ever many skills to their skill section.
These two areas should be separate.
Skills should be a prepopulated, non user editable list of languages and topics. eg ruby, python, web development, javascript etc

This can be done in an ajax-y way or a bit more beginner friendly with either a multi select or some check boxes.

I think it might make sense to giveVeterans skills and Veterans that are mentors skills AND interests.

Should volunteers be a separate location? Example, fundraising, et.
On Tue, Mar 22, 2016 at 3:53 PM, Rick<EMAIL_ADDRESS>wrote:

I think it might make sense to giveVeterans skills and Veterans that are
mentors skills AND interests.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/OperationCode/operationcode/issues/145#issuecomment-200068414

--
David Molina
https://about.me/molina

What about people that are veterans and volunteers?
What about a badge on volunteer pages that says what they do?

That would work too. We already have the small "medal" logo that's used in
the avatar.
On Tue, Mar 22, 2016 at 4:17 PM, Rick<EMAIL_ADDRESS>wrote:

What about people that are veterans and volunteers?
What about a badge on volunteer pages that says what they do?
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/OperationCode/operationcode/issues/145#issuecomment-200074638

--
David Molina
https://about.me/molina

Closing this out due to lack of activity. Please feel free to open a new issue if this is still needed.


Replace 'calculateBCRFromRanges' to 'getBoundingClientRect'

When measuring the clientRect of a textNode,
I think it is no problem to use rangeHelper.getBoundingClientRect () instead of calculateBCRFromRanges.
When I run it, it seemed no problem.
Is there a particular reason for using calculateBCRFromRanges?

@KimDal-hyeong I guess I just didn't knew I can do getBoundingClientRect on document.createRange()! Great find, thank you 👏


feat(Core): onStart callback

@Urigo
Related to #1092

this.subscribe('books', () => [ this.getReactively('published') ], {
  onStart() {}, // new callback
  onReady() {},
  onStop() {}
});

I used object as a hook container instead of a single variable for onStart, so we'll be ready to add new hooks.
Let's say we want to create beforeStart and afterStart, it's now a two lines thing.

@kamilkisiela that's very interesting.
Do you think it can also go as a PR to Meteor itself?

@Urigo Yes, it could be done but is it necessary? Meteor.subscribe() is a synchronous function so if everything after it would behave the same as in onStart callback.
What do you think, Uri?

but if someone uses it separately on the client side?


Design for Frontend

Design or wireframe for the Sociomark website

Wireframes:  https://www.figma.com/file/2OZl4uV0wLoXk9m9gVM94A/SocioMark?node-id=0%3A1

#100 SocioMark Logo


Remove deprecated DefaultHttpClientAdapter (#1823)

New Pull Request Checklist

[x] I have read the Documentation
[x] I have searched for a similar pull request in the project and found none
[x] I have updated this branch with the latest main branch to avoid conflicts (via merge from master or rebase)
[ ] I have added the required tests to prove the fix/feature I'm adding
[x] I have updated the documentation (if necessary)
[x] I have run the tests without failures
[x] I have updated the CHANGELOG.md in the corresponding package

Additional context and info (if any)

What's the purpose of the request? I thought we'll merge from 6.0 after we've done updates to that branch.

Just the wrong target branch

Oh, I was mislead by the title too.


PRO-2697: Functional Tests

JIRA link (if applicable)
https://tools.hmcts.net/jira/browse/PRO-2697
Change description

Added all integration tests (from separate repo) into a new functional test folder.
Modified gradle build to include function task.
application.properties for all tests sit in the src/test/resources folder

Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[X] No

@reddy1praveen Done - merging into CNP now.


Fix some localizations

This is a work in progress pull request, fixing some strings that are not localized.
Requires https://github.com/concrete5/bedrock/pull/188

This PS is ready for review


save file in repository

I can't find the way to save the screenshot as artifact AND in the repository. Is it possible ? Maybe it's a dumb question but my Action fails everytime I try to update my repo with a screenshot. Thanks !

 Maybe swinton/commit can help?

Thanks, I'll try !


Use router to generate technology URL

Hello,
Instead of hard coding the path, I suggest to use the router.generate method.
Don't know if that's a good practice, but it is (in my opinion) better than hard coding the path.
(Note that the commit fix a lot of extra whitespaces too, the real change is line 150)
Regards,
Peekmo

Thanks Axel. Surely this has to be a good practice.


blocks sites that were not added to the list of blocked sites

sites such as google.com are blocked when they were not added to the list.

@angelamu2012
thanks for your comments :)

sites such as google.com are blocked when they were not added to the list.
hmm...
can you paste your options page screenshot at here?


v(load|store)_half & rounding mode

clspv is using GLSL PackHalf and UnPackHalf to perform vload_half and vstore_half.
This implementation can be enough for the default rounding mode, it does not solve it for all rounding mode.
Also, on AMD devices the default rounding mode of GLSL pack/unpack half seems to be rtz.

I guess this "issue" with not using PackHalf/UnPackHalf would be the requirement on the Int16 & Float16 capabilities which are not needed at the moment.


Agent may not create phedex subscriptions eventually

Jean-Roch/Julian pointed me out to one workflow where only the LHE sample was subscribed, but not the GEN one
pdmvserv_task_HIG-RunIIWinter15wmLHE-00047__v1_T_150421_001721_9640.tasks.HIG-RunIIWinter15wmLHE-00047_0
I still have to investigate this issue, however my theory is the following. IF the first block of that GEN sample got created just after the PhEDExSubscriber cycle AND the workflow moved to "completed" before the next subscriber cycle, then what may have happened is that the agent cleaned up WMBS and thus the component could not find this subscription there -> so it never gets automatically created.
Just a theory... I don't have time to investigate it right now.

@ticoann mark it as high prio please. We need to do it by the next upgrade.

Now that we have moved the dbs cleanup to a later stage, it may be that this issue got fixed.
Let's leave it open for a couple months more to see if someone reproduces the issue in production, otherwise we close it as fixed :-)

I failed to reproduce it in my last attempts and, since it hasn't happened again for the last ~half year, I'm closing this issue.


Prefix management

We should handle an empty schema folder case (e.g. schemas/icrc) and throw an exception accordingly.

It is now handled with b442e65a186f28d832cc171c79178852be7f2f26


Application crash in ios device when I use ColumnChart

On Android, it runs well.And I found that only the Column Chart causes the program to crash, while all others function normally.

Any update for this @ehsannarmani ?

Hi @658jjh , not yet.
I don't have ios and mac device to test and debug, if you have, you can debug code and after fixing that you can make pr.


Autostyle color picker on widgets options

@saleiva commented on Thu Sep 01 2016
We had this originally, we removed, but is a common request now...

@arianaescobar commented on Wed Sep 14 2016
Here's the UI proposal for this: https://invis.io/7D8LN1VEQ @urbanphes @saleiva
The idea is to allow the users to specify which particular colors or color ramp they want to see when applying the widget autostyle from that particular widget settings.

@urbanphes commented on Thu Sep 15 2016
I think is good approach.

@saleiva commented on Mon Sep 26 2016
Love it, close and promote, please!

This is blocking some very interesting use cases on tools for location analysis on cities with some clients. cc/ @mbforr @zingbot


ci(semantic-releaser): do not persist credentials in releaser

This PR is included in version 1.1.0 :tada:


Identity Verification with Idemia

Description
Identity verification has become more and more important with online systems, especially with the new normal of working from home. The main goal of identity verification is to make sure the online users who interact with a system, are actually who they claim to be. There are multinational companies in the world that provide identity verification as a service and the goal of this project is to integrate two of those highly recognized companies with WSO2 Identity Server. These companies have a strong base on biometric-based identity verification and capabilities to verify on government-issued identities being trendsetters in the domain. We already have a working connector that verifies the identity of self-registered users using EvidentID verification services. Similarly, we need to develop another connector that can verify user identities with Idemia.

Deliverables

[x] Connector for IDEMIA Identity Verification.
[ ] Connector for IDEMIA based Biometric Authentication.
[x] Documentation.
[ ] Article/Blogs/Screencasts.

Learning Materials:

https://www.evidentid.com/
https://www.idemia.com
https://is.docs.wso2.com/en/5.10.0/learn/self-registration-and-account-confirmation/
https://is.docs.wso2.com/en/5.10.0/learn/creating-users-using-the-ask-password-option/
https://everything1know.wordpress.com/2020/06/03/identity-verification-with-wso2-identity-server-and-evident-id/
https://github.com/wso2-extensions/identity-verification-evident/tree/v1.0.0/docs

I'm working on this

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


ARROW-9448: [Java] fix empty ArrowBuf getting a null log in debug mode

CC @rymurr

Thanks for the review. I'll merge this to fix the bug for now.


Active Environment Name As Env Variable

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/3377
Originally created by @pnadolny13 on 2022-04-05 16:48:58

Proposal
Would expose MELTANO_ENVIRONMENT to child processes, even if environment is set via another method (--environment at the CLI or default_environment in meltano.yml.)
Background
Based on this thread in slack https://meltano.slack.com/archives/C01TCRBBJD7/p1643919224929049
My original comment was:

I'm looking for a way to detect the active environment using environment variables and I know you can set a meltano environment using --environment=prod or through a MELTANO_ENVIRONMENT. Its easy to solve if I use the second method but if I define it using the --environment argument there doesnt seem to be any environment variable set. Is there a way to consistently do this?

We also now have default environments so the environment can be set in the meltano.yml too.
For any down stream process that wants to call meltano commands like I do in the dbt airflow dag generator https://gitlab.com/pnadolny13/files-airflow-dbt/-/blob/master/bundle/orchestrate/dags/generator_cache_builder.py#L36 it would be helpful to have the meltano environment exposed in the environment variables context. If I call meltano --environment=prod invoke airflow webserver then the dag generator should be able to access MELTANO_ENVIRONMENT.
It might be an anti pattern but it gives more flexibility to users so we can customize more.

View 10 previous comments from the original issue on GitLab


[RFC] Envoy as a (caching) (network) filesystem proxy

description
Im thinking it could be very useful both in terms of edge and middle proxying if Envoy was able to proxy http to some (networked) filesystems - for example:

nfs
sshfs/fuse
s3
ipfs
storj
filecoin
local

this suggestion would be for extensions rather than something in core.
i guess it would want to take advantage of existing stack - like kernel drivers - to utilize these filesystems, but im thinking that Envoy/extensions could be responsible for  configuration/setup/teardown of the mounts - a bit like docker allows.
It would then be able to provide the Envoy routing/load balancing/network features - and potentially cache to a policy, or enforce some kind of ACL
it would - esp with a local driver - make Envoy more of a webserver - but at least i think in keeping with its network proxy focus.

the ultimate goal i had in mind is that a user can do something like this:
docker run -p 8000:8000 envoy httpproxy --target::8000:/::s3::https://s3target

as an example of a s3 bucket to webserver in one line

~related https://github.com/envoyproxy/envoy/issues/7319

related #378

I like it.
The local store would need access to a file extension to mime type database. Some of the other stores, like nfs would need this as well, so I guess a mechanism for sharing such a database would be nice?

bump

Dropbox talk about leveraging the Cache filter for static serving from S3 in https://dropbox.tech/infrastructure/how-we-migrated-dropbox-from-nginx-to-envoy

When HTTP cache in Envoy becomes production-ready, we could move most of static-serving use cases to it, using S3 instead of filesystem for long-term storage. To read more about eCache design, see “eCache: a multi-backend HTTP cache for Envoy.”

thanks @moderation, that is really helpful.
that post is like a goldmine!

implementing this is beyond my current c++ knowledge, altho i have been tempted to  try and prototype something very basic with wasm.
design-wise i think we would want some kind of vfs/plugin architecture to make it easy as possible to implement  different backends

The local store would need access to a file extension to mime type database. Some of the other stores, like nfs would need this as well, so I guess a mechanism for sharing such a database would be nice?

yep, i think it would need this.
im wondering what other shared resources/specifications this might need. Some kind of typed_config i guess and setup/teardown routines.
one thing im not totally clear is in terms of Envoy architecture. This seems like a type of filter in terms of it requiring an http <> fs
adapter, but i guess the upstreams themselves would be more like clusters.
Trying to think this through, and lacking in depth knowledge of Envoy internals, im imagining idealized configs, and how they would work from an end users pov.


DeserializationUtils in 2.13.1 with SnakeYaml 2 no longer loads large YAML files

I am trying to use 2.13.1 with Snakeyaml 2 and our large (4+ MB) YAML file will no longer load.
This code was working with 2.11.1 and Snakeyaml 1.33:
int maxCodePoints = 5 * 1024 * 1024;  //5MB
System.setProperty("maxYamlCodePoints", Integer.toString(maxCodePoints));
OpenAPIV3Parser v3parser = new OpenAPIV3Parser();
openApi = v3parser.read(OPEN_API_SPECIFICATION);

Now with 2.13.1 and Snakeyaml 2, I receive this error:
org.yaml.snakeyaml.error.YAMLException: The incoming YAML document exceeds the limit: 3145728 code points.
The issue is with this commit to the DeserializationUtils class.  Prior to the commit, line ~266 would set the maxYamlCodePoints on the LoaderOptions class.  That code was replaced by the buildLoaderOptions() method, which does not set the maxYamlCodePoints property.

Thanks for reporting this!
Fixed by #1914


auth api-info command edits

Summary of changes
Changes introduced in this pull request:

Make auth api-info behave more similar to how it does on Lotus, with regards to local defaults.
Remove AuthApiInfo RPC API.

Reference issue to close (if applicable)

Closes
Other information and links

Note: This is a PR into a PR.
An example of this using configuration to find the keystore file, and unlocking an unencrypted keystore. for the encrypted keystore command, I had restarted the daemon and used the encrypted keystore option in another window:

It also handles errors correctly, and overrides the encrypt_keystore configuration if the option is provided via the CLI:

@connormullett you should sync your branch with main so that this diff is more manageable

@connormullett you should sync your branch with main so that this diff is more manageable

I did prior to adding my review, but it didn't seem to help

I dont think I can review this PR if its in this state. I notice this is trying to merge into connor/api-info as opposed to main.

I think to fix this, since @connormullett has merged main into his branch, is to pull connor/api-info on top of this branch.

I think to fix this, since @connormullett has merged main into his branch, is to pull connor/api-info on top of this branch.

Done.


Bugs in dedicated nodes

Filters do not reset after changing page then mounting the dedicated nodes again.
Reset filters button does not clear data from the filters
Filters dropdown is always closed by default, so if user filtered and no data returned, he might think no data are being returned without filtering

dedicated_nodes_filter.webm
Filters do not apply unless the tab is changed. This goes for GPU too.
filters2.webm

Should be fixed in https://github.com/threefoldtech/tfgrid-sdk-ts/pull/1580

Issue Update

Resolved the reset filter issues by implementing a function that returns an object with the default values. This approach replaces the previous direct object usage () => obj.
Reset filters in the farms page, updated the nodes page, and addressed an issue related to the max integer value in the filters.

Verified,

Devnet
2d54818

All the filters are opened by default when you select the page.

The request is done after 1 second

And changing tabs when filter is applied does re-request with new filters

Test cases:

TC2225 - Filter dedicated nodes by Total SRU
TC2226 - Filter dedicated nodes by Total HRU
TC2227 - Filter dedicated nodes by Total MRU
TC2228 - Filter dedicated nodes by Total CRU
TC2229 - Filter dedicated nodes by GPU's vendor name
TC2230 - Filter dedicated nodes by GPU's device name

verified on:

devnet
8c32384


Check root privileges

I realized that it is necessary to install some packages, using the bootstrap script.
So I suggest user verification.

Note your PR is still broken, comments have been left there.

Hi @akwrobel, thanks for reminding me. I'm returning home now, from a city a little far away. As soon as it arrives, I will continue. once again, thank you.

closing due to age


Centered text does not appear (feature request)

Text alignment is not currently supported.  (It would be great if it was.)  Anyway, I have some text that is centered and it simply does not appear (rather than appearing but being left aligned).
    const dummyData = {
      ops: [
        { insert: "Title for This Document" },
        { attributes: { align: "center" }, insert: "\n" },
      ],
    };
    const pdfBlob = await window.QuillToPdf.pdfExporter.generatePdf(dummyData);
    const blobUrl = URL.createObjectURL(pdfBlob);

@andrewanthro is there an update about this?

@andrewanthro I have this same problem and I still haven't found the solution. This bug was corrected?


Weibull adstock graph problem

When using Weibull adstock the graphical output is problematic and borderline useless.
For example assume that someone uses few years of daily data and has 10-20 channels. In that case Weibull part of results is so compressed on the graph that nothing useful can be seen. Also why does x axis on this graphs span the range of the whole data set? If I analyse 3 years of daily data why do I need almost 1000 days on x axis?
Graphical results for Weibull adstock should be presented on a separate page. If there are many channels graphs need to be split across multiple pages, e.g. 10 channels per page.
In case of Weibull pdf adstock showing half life probably makes no sense. Maybe indicating peak is more informative.

"Borderline useless" is very passive aggressive language.

Why this issue was closed? Was I incorrect in my description of the problem? Right now using Weibull pdf is a huge pain when it comes to interpretation of the results.


Support infinite:true

Its bad to force 1 instead of allowing true for a boolean value

I could be wrong but I think it's using a numeric value because you can have multiple slides to show. I believe you would use the same value for infinite and multiple slides to show in that case. Like in this example:
http://codepen.io/nstanard/pen/yaKxzK

Oh! Interesting, thanks for the Info!


cudnn Dropout reproducibility

https://github.com/apache/incubator-mxnet/blob/master/src/operator/nn/dropout-inl.h#L491-L493
The seed of CUDNN dropout does not respect the random seed in mxnet

I did a quick recursive grep and found several other usages of the rand function. Here is the full list I found (some of these may be correct):

https://github.com/apache/incubator-mxnet/blob/master/src/operator/nn/dropout-inl.h#L95
https://github.com/apache/incubator-mxnet/blob/master/src/operator/nn/dropout-inl.h#L491
https://github.com/apache/incubator-mxnet/blob/master/src/operator/random/sampler.h#L110
https://github.com/apache/incubator-mxnet/blob/master/src/operator/rnn-inl.h#L1551
https://github.com/apache/incubator-mxnet/blob/master/src/operator/rnn_impl.h#L159
https://github.com/apache/incubator-mxnet/blob/master/src/operator/rnn_impl.h#L1004
https://github.com/apache/incubator-mxnet/blob/master/src/operator/rnn_impl.h#L1891

@ptrendx @DickJC123 just FYI

So all those places should be seeded propperly correct?

random/sampler.* and rnn_impl.* are for other operators, not dropout. But yes, in general those should also be fixed, and deserve separate github issues

below is a test case:
import mxnet as mx

a = mx.nd.ones((10,10), ctx=mx.gpu())
dropout = mx.gluon.nn.Dropout(0.5)
seed = 1234

mx.random.seed(seed)

with mx.autograd.record():
    b = dropout(a)

mx.random.seed(seed)

with mx.autograd.record():
    c = dropout(a)

print(b)
print(c)
mx.test_utils.assert_almost_equal(b.asnumpy(), c.asnumpy())

we need to delay the initialization of the seed in https://github.com/apache/incubator-mxnet/blob/master/src/operator/nn/dropout-inl.h#L497
request a random resource: https://github.com/apache/incubator-mxnet/blob/e260f13499a6c84737a97aae09e5921ad8fdd4fd/src/operator/numpy/random/np_choice_op.cc#L71
get a random number generator: https://github.com/apache/incubator-mxnet/blob/e260f13499a6c84737a97aae09e5921ad8fdd4fd/src/operator/numpy/random/np_choice_op.h#L166
do sampling with the generator: https://github.com/apache/incubator-mxnet/blob/e260f13499a6c84737a97aae09e5921ad8fdd4fd/src/operator/numpy/random/np_choice_op.h#L179

Reopen as fix is reverted due to performance issue.


CC: Create an account in the managed cockroachDB console

Background: Create an account in the managed cockroachDB console
PM: @kannanlakshmi

Addressed in https://github.com/cockroachdb/docs/pull/5681


Any MINLP examples?

Hey, I was curious if it was possible to have more general objective/constraints i.e they are not necessarily linear or quadratic - it seems to me all your examples fall into one of these categories.
Thanks a lot.

No. CPLEX is a mixed-integer linear/quadratic solver.
You might be interested in specialized MINLP solvers:
https://github.com/JuliaOpt/KNITRO.jl
https://github.com/lanl-ansi/Juniper.jl
https://github.com/lanl-ansi/Alpine.jl

Thanks for answering the question so quickly odow, and giving me references to other software. I really appreciate it!


tests are failing sometimes due to container failures

Version Information
latest dev branch
Describe the bug
Sometimes running test locally and in CI fails due to container startup timeout
To Reproduce
Run tests a few times
Expected behavior
Test runs are consistent and containers are starting smoothly
Actual behavior
log
2024-04-17T22:57:07.3196154Z   Passed Sql should be able to query events by persistence id on data created by other persistence plugin [405 ms]
2024-04-17T22:58:08.0647740Z [xUnit.net 00:18:57.53]     Sql should recover data created using other persistence plugins [FAIL]
2024-04-17T22:58:08.8334824Z [xUnit.net 00:18:57.54]       System.Exception : Docker image failed to run within 00:01:00.
2024-04-17T22:58:08.8335818Z [xUnit.net 00:18:57.54]       Stack Trace:
2024-04-17T22:58:08.8336357Z [xUnit.net 00:18:57.54]         /home/vsts/work/1/s/src/Akka.Persistence.Sql.Data.Compatibility.Tests/Internal/DockerContainer.cs(174,0): at Akka.Persistence.Sql.Data.Compatibility.Tests.Internal.DockerContainer.AwaitUntilReadyAsync(String marker, TimeSpan timeout)
2024-04-17T22:58:08.8337183Z [xUnit.net 00:18:57.54]         /home/vsts/work/1/s/src/Akka.Persistence.Sql.Data.Compatibility.Tests/Internal/DockerContainer.cs(120,0): at Akka.Persistence.Sql.Data.Compatibility.Tests.Internal.DockerContainer.InitializeAsync()
2024-04-17T22:58:08.8337919Z [xUnit.net 00:18:57.54]         /home/vsts/work/1/s/src/Akka.Persistence.Sql.Data.Compatibility.Tests/DataCompatibilitySpecBase.cs(59,0): at Akka.Persistence.Sql.Data.Compatibility.Tests.DataCompatibilitySpecBase`1.InitializeAsync()
2024-04-17T22:58:08.8338506Z   Failed Sql should recover data created using other persistence plugins [1 ms]
2024-04-17T22:58:08.8338832Z   Error Message:
2024-04-17T22:58:08.8339116Z    System.Exception : Docker image failed to run within 00:01:00.
2024-04-17T22:58:08.8339477Z   Stack Trace:
2024-04-17T22:58:08.8339938Z      at Akka.Persistence.Sql.Data.Compatibility.Tests.Internal.DockerContainer.AwaitUntilReadyAsync(String marker, TimeSpan timeout) in /home/vsts/work/1/s/src/Akka.Persistence.Sql.Data.Compatibility.Tests/Internal/DockerContainer.cs:line 174
2024-04-17T22:58:08.8341270Z    at Akka.Persistence.Sql.Data.Compatibility.Tests.Internal.DockerContainer.InitializeAsync() in /home/vsts/work/1/s/src/Akka.Persistence.Sql.Data.Compatibility.Tests/Internal/DockerContainer.cs:line 120
2024-04-17T22:58:08.8341955Z    at Akka.Persistence.Sql.Data.Compatibility.Tests.DataCompatibilitySpecBase`1.InitializeAsync() in /home/vsts/work/1/s/src/Akka.Persistence.Sql.Data.Compatibility.Tests/DataCompatibilitySpecBase.cs:line 59

Screenshots
If applicable, add screenshots to help explain your problem.
Environment
Locally on linux and on azure devops
Additional context
GetContainerLogsAsync marked as obsolete and called right before the warm waiting loop
https://github.com/akkadotnet/Akka.Persistence.Sql/blob/fe49a6bd028763d99b07c889d787d1ffa58acb81/src/Akka.Persistence.Sql.Tests.Common/Containers/DockerContainer.cs#L115
https://github.com/akkadotnet/Akka.Persistence.Sql/blob/fe49a6bd028763d99b07c889d787d1ffa58acb81/src/Akka.Persistence.Sql.Data.Compatibility.Tests/Internal/DockerContainer.cs#L105

Can't run local tests against mssql container due to https://github.com/microsoft/mssql-docker/issues/868


service fails when resolved by angular.injector

When using angular.injector to resolve the service it doesn't set or get.
http://plnkr.co/edit/rCngpgwrOq7l94uqXqJd?p=preview

There are several mistakes in the code you provided. First of all, the config block doesn't get executed, cause you are not initializing it with the ng-app attribute. That causes that, in your loginOnFirstVisit function, the storageType is still set to localStorage instead of your desired sessionStorage.
By injecting the LocalStorageService by hand, it doesn't get configured, so you should use a controller instead.
Is there a special reason, why you are doing it that way?


Update ASPNETCORE_ENVIRONMENT in production service(s)

Currently set to Development

https://learn.microsoft.com/en-us/aspnet/core/fundamentals/environments?view=aspnetcore-8.0 defines values of:

Development
Staging
Production


Applying dark colors to dock regardless of active theme

In order to keep good reading experience, all dock tab contents are dark now regardless of active theme type. Also, permanent dark theme applied to all ace editor instances in general.

Fixes #1724
Signed-off-by: Alex Andreev<EMAIL_ADDRESS>

@aleksfront linter still complains.


Fix incorrect dtype in LayerNormLinear

We've encountered a runtime error in LayerNormLinear when training LLaMa since RMSNorm is outputting to a buffer with an invalid dtype. In particular, we are not properly handling the case where the RMSNorm output is returned in bf16.
Note that LayerNormMLP handles this correctly:
https://github.com/NVIDIA/TransformerEngine/blob/f456ba19d97e2ce3a4906f631631d0d63e13040a/transformer_engine/pytorch/module/layernorm_mlp.py#L146

/te-ci pytorch

I opened https://github.com/NVIDIA/TransformerEngine/pull/485 to fix the errors in the fused attention test.

/te-ci pytorch


SPARKC-206: Tuples support in Java API

Added methods to CassandraJavaUtil which allow to create RowReaderFactory and RowWriterFactory for tuples.

+1


Incorrecly reformats python code

Describe the bug
context
When I pass in a code block such as below. (notice the indented inner class)

click to expand
1. Add a serializer class

    ```python
    class RecurringEventSerializer(serializers.ModelSerializer):  # (1)!
        """Used to retrieve recurring_event info"""

        class Meta:
            model = RecurringEvent  # (2)!
            fields = (
                "uuid",
                "name",
                "start_time",
                "duration_in_min",
                "video_conference_url",
                "additional_info",
                "project",
            )
            read_only_fields = (
                "uuid",  # (3)!
                "created_at",
                "updated_at",
            )
    ```

expectation
I expected mdformat to either:

ignore the block
leave it alone because it knows that python inner classes are indented from the outer class

bug
But instead it re-indents the inner class to the same level as the outer class.
Here's the output... (where the error is the un-indented inner class code)

click to expand
1. Add a serializer class

    ```python
    class RecurringEventSerializer(serializers.ModelSerializer):  # (1)!
        """Used to retrieve recurring_event info"""

    class Meta:
        model = RecurringEvent  # (2)!
        fields = (
            "uuid",
            "name",
            "start_time",
            "duration_in_min",
            "video_conference_url",
            "additional_info",
            "project",
        )
        read_only_fields = (
            "uuid",  # (3)!
            "created_at",
            "updated_at",
        )
    ```

problem
This is a problem for people creating programming guides because readers can't run the code they copy/pasted from the documentation.
Reproduce the bug

I uninstalled mdformat from my system to to eliminate possiblities.

I have the original text in a file called test.md

click to expand
1. Add a serializer class

    ```python
    class RecurringEventSerializer(serializers.ModelSerializer):  # (1)!
        """Used to retrieve recurring_event info"""

        class Meta:
            model = RecurringEvent  # (2)!
            fields = (
                "uuid",
                "name",
                "start_time",
                "duration_in_min",
                "video_conference_url",
                "additional_info",
                "project",
            )
            read_only_fields = (
                "uuid",  # (3)!
                "created_at",
                "updated_at",
            )
    ```

My pre-commit config for mdformat:

click to expand
  - repo: https://github.com/executablebooks/mdformat
    rev: 0.7.17
    hooks:
      - id: mdformat

There's no plugin being used.

 Based on Ubuntu Xenial I think.

I'm closing the issue. I ran mdformat without pre-commit and it's doing the correct thing.


Qquery changes for slings across multiple scihub accounts with DNS Alias in netrc (#1)

Qquery changes for slings across multiple scihub accounts with DNS Alias
Changes:

5 New queues introduced (max 10 scihub slings at once). Each Queue uses 1 DNS and 1 account to sling. 2 workers are provisioned to prevent exceeding rate limits set by scihub. (refer to PR)

All job-spec and hysds-io.json changes to reflect this

qquery.py will handle the submission of sling jobs via rotation across DNS
added dns_list parameter in cron.py and query.py. This field is a comma seprated string of DNS ALIAS:

Scihub cron: cron.py --tag=chin_test20180905.2 --sling_tag=release-20180129 --dns_list="scihub.copernicus.eu,scihub-copernicus1.earthobservatory.sg" scihub
ASF Cron: cron.py --tag=chin_test20180905.2 --sling_tag=release-20180129 --dns_list="datapool.asf.alaska.edu" asf

Tests:
Over SG AOI with 2 SCIHUB DNS, 11 SLCs were found and 11 sling jobs submitted:

Qquery logs

sling logs

In Hysds 4 sling jobs executing simultaneously, rotating between scihub1 and scihub2 queues:

Nice work, @shitong01. Thanks for contributing back.


L2ExecutePayloadProof Hint Type

In order to use Kona with reth, we need to get around the debug_dbGet calls.
Reth has recently implemented the debug_executePayload RPC method. This allows us to bulk get the entire witness (codes, states, and keys) for executing a given set of payloads against a prior state.
To minimally modify Kona to support this, this PR:

Introduces the L2ExecutePayloadProof hint type
Implements this hint in the fetcher to get all the data and add it all to the KV store

This will allow a program that uses Kona as a library to perform a bulk fetch using this hint type before execution. If it succeeds, all L2 state related hints (except the final output root calculation, which doesn't use debug_dbGet) will be supplied with an existing KV store value in get_preimage() and will never need to call prefetch().
When Kona is upgraded to use this RPC method in the future, it can be integrated more deeply into the existing MPT library (and eventually, when fully trusted, can replace a lot of it). For now, this PR will give users the option to manually use this method to avoid further RPC calls.

Can we add the L2ExecutePayloadProof to the specs?

@clabby I ran a test and it works as expected. Didn't leave the test in there because there aren't any public RPCs implementing this method yet. Let me know if there's another way you'd like to include the test - otherwise, this is good to merge.


show old data if there is no elements returned from osm

this fix #257
checking by data returned by osm
if "elements" is not presented, show old data
"elements" is the list that contains features

LGTM


Pixmap error

I am getting a could not load pixmap error on launching rviz from command line.
Edit:
env | grep ROS output:
 ROS_ROOT=/opt/ros/kinetic/share/ros
 ROS_PACKAGE_PATH=/home/bruno/rodain/src:/opt/ros/kinetic/share
 ROS_MASTER_URI=http://localhost:11311
 ROSLISP_PACKAGE_DIRECTORIES=/home/bruno/rodain/devel/share/common-lisp
 ROS_DISTRO=kinetic
 ROS_ETC_DIR=/opt/ros/kinetic/etc/ros

[ERROR] [1506641021.377086471]: Could not load pixmap '/opt/ros/kinetic/share/rviz/icons/rotate.svg'
[ERROR] [1506641021.377135684]: Could not load pixmap 'package://rviz/icons/rotate.svg' -- using default cursor instead.
[ERROR] [1506641021.377253031]: Could not load pixmap '/opt/ros/kinetic/share/rviz/icons/rotate_cam.svg'
[ERROR] [1506641021.377287850]: Could not load pixmap 'package://rviz/icons/rotate_cam.svg' -- using default cursor instead.
[ERROR] [1506641021.377410667]: Could not load pixmap '/opt/ros/kinetic/share/rviz/icons/move2d.svg'
[ERROR] [1506641021.377431056]: Could not load pixmap 'package://rviz/icons/move2d.svg' -- using default cursor instead.
[ERROR] [1506641021.377542997]: Could not load pixmap '/opt/ros/kinetic/share/rviz/icons/move_z.svg'
[ERROR] [1506641021.377562364]: Could not load pixmap 'package://rviz/icons/move_z.svg' -- using default cursor instead.
[ERROR] [1506641021.377665627]: Could not load pixmap '/opt/ros/kinetic/share/rviz/icons/zoom.svg'
[ERROR] [1506641021.377683917]: Could not load pixmap 'package://rviz/icons/zoom.svg' -- using default cursor instead.
[ERROR] [1506641021.377811890]: Could not load pixmap '/opt/ros/kinetic/share/rviz/icons/crosshair.svg'
[ERROR] [1506641021.377880949]: Could not load pixmap 'package://rviz/icons/crosshair.svg' -- using default cursor instead.

[ERROR] [1506641021.463812126]: Could not load pixmap '/opt/ros/kinetic/share/rviz/icons/classes/Measure.svg'
[ERROR] [1506641021.463971367]: Could not load pixmap 'package://rviz/icons/crosshair.svg' -- using default cursor instead.
[ERROR] [1506641021.468855407]: Could not load pixmap '/opt/ros/kinetic/share/rviz/icons/classes/PublishPoint.svg'
[ERROR] [1506641021.469326412]: Could not load pixmap 'package://rviz/icons/rotate.svg' -- using default cursor instead.
[ERROR] [1506641021.469346630]: Could not load pixmap 'package://rviz/icons/rotate_cam.svg' -- using default cursor instead.
[ERROR] [1506641021.469356549]: Could not load pixmap 'package://rviz/icons/move2d.svg' -- using default cursor instead.
[ERROR] [1506641021.469365634]: Could not load pixmap 'package://rviz/icons/move_z.svg' -- using default cursor instead.
[ERROR] [1506641021.469374719]: Could not load pixmap 'package://rviz/icons/zoom.svg' -- using default cursor instead.
[ERROR] [1506641021.469386709]: Could not load pixmap 'package://rviz/icons/crosshair.svg' -- using default cursor instead.
[ERROR] [1506641021.473885044]: Could not load pixmap '/opt/ros/kinetic/share/rviz/icons/classes/Displays.svg'
[ERROR] [1506641021.477150495]: Could not load pixmap '/opt/ros/kinetic/share/rviz/icons/classes/Views.svg'
[ERROR] [1506641021.478738232]: Could not load pixmap '/opt/ros/kinetic/share/rviz/icons/classes/Time.svg'

OBS: ogre.log file is not being generated

Please do not post a picture of text. I will close this until it is updated, at which I'll reopen it.
Thanks.

Also, please include the output of env | grep ROS and the ogre.log file if you can (see rviz -h for info on how to get the ogre.log file).

@wjwwood I have updated this issue as you asked me. Could you reopen it?

Do those files exist, for example does /opt/ros/kinetic/share/rviz/icons/rotate.svg exist?

Yes, I checked some of them and they really exist.

Please link the ogre.log file, again see rviz -h for how to generate it.

For some reason running rosrun rviz rviz -l is not generating the ogre.log file. Therefore, I redirect the command line output to the I`m linking.
ogre.log

@BrunoXL It does generate it, but it's probably in ~/.ros, since that is likely the working directory of rosrun.

rviz -l might "just work" and put the file in the current directory.

How do you have your ogre installed? It looks like it cannot load any svg files, which I think could only really happen if ogre was built without support for it (not even sure that's possible).
Please try to provide the ogre.log file produced by rviz -l based on my previous two comments.

I do have ogre installed.
` bruno@glei:~$ sudo dpkg -s libogre-1.9.0v5
  Package: libogre-1.9.0v5
  Status: install ok installed
  Priority: optional
  Section: libs
  Installed-Size: 11160
  Maintainer: Ubuntu Developers<EMAIL_ADDRESS>
The only log files generated are those from ros.

I have same problem with BrunoXL. Did you solve this isue??

@Neoplanetz I could not solve it so far. If you run  rviz -l a log file is generated?

@BrunoXL what's in /home/bruno/rodain/src?

Or even, what does rospack find rviz return?

/opt/ros/kinetic/share/rviz

@BrunoXL I cannot reproduce your issue on any of my setups.
The code which is producing this error is here:
https://github.com/ros-visualization/rviz/blob/7970ba08cee3810cfa1609c3b0f5136970eb2f7c/src/rviz/load_resource.cpp#L85
It is based solely on the result of QPixmap::load():
http://doc.qt.io/qt-5/qpixmap.html#load
I don't know what else to do to help you. Perhaps the file cannot be read for some reason, permissions or corruption, I don't know. You could try writing a simple Qt program that tries to load those files to further debug it.
I'm sorry I could not figure out the issue for you.

I had the same problem, due to a corrupted Qt5 installation. You could try setting the following environmental variable: export QT_DEBUG_PLUGINS=1 and then running rviz in the same terminal. In my case the debug prints said: Cannot load library /usr/lib/x86_64-linux-gnu/qt5/plugins/imageformats/libqsvg.so: (libQt5Svg.so.5: cannot open shared object file: No such file or directory). So I solved the issue by reinstalling the related Qt plugin (sudo apt-get --reinstall install libqt5svg5).

Noticed this bug while running rviz2 from a docker container. It looks like the debian package for rviz2 doesn't include libqt5svg5 as a dependency. Installing the package manually fixed the issue for me.

In ROS2 Rolling I'm getting a lot of errors regarding this icons, and @jacobhuesman's fix did not work. I'm seeing stuff like:

[moveit_studio_ui-1] [rviz_common:debug] Error retrieving file [file:///opt/ros/rolling/share/rviz_default_plugins/icons/classes/Intensity.svg]: Couldn't open file /opt/ros/rolling/share/rviz_default_plugins/icons/classes/Intensity.svg, at /tmp/binarydeb/ros-rolling-rviz-common-8.7.0/src/rviz_common/load_resource.cpp:55

Checking the file system, the file does not exist. It appears in ROS 2 some of the icons where added in this PR https://github.com/ros2/rviz/pull/235/files but not the ones I'm missing, including Intensity.svg

Noticed this bug while running rviz2 from a docker container. It looks like the debian package for rviz2 doesn't include libqt5svg5 as a dependency. Installing the package manually fixed the issue for me.

@jacobhuesman's solution of installing libqt5svg5 worked for me.


Migrate Analytics to Strata

We need to be able to integrate Analytics and Strata under the same repo and package structure.

Fixed by a06ec1c3e5d0ed48c64d42a38f3cb32087141479


chore(release): version 5.3.0

I think we're at a good point to make a release. We can always include additional small PRs in patch releases.

I'd like to include the pending Renovate PRs in this release, as well as #1014 and #1017 if possible

All renovate PRs have been tested and merged, and the FRs are ready for review


Cannot use hotkeys like 'a' for Archive while message is being viewed

Which browser? Chrome
Which OS? Mac OS
Which layout mode? Column mode
Which threading mode? Conversation mode
Can you reproduce the problem each time? Yes
Which url? /inbox/somereallylongbase64likestring

What steps will reproduce the problem?

Go to inbox that has mail

Hit enter to read a mail

Try to archive with a

What is the expected result?
Message is archived
What happens instead?
Nothing. I have to hit esc before a. Even x to select doesn't let me archive after I've started reading a mail.
Please provide any additional information below. Attach a screenshot if possible.
If, instead of hitting enter to read the message, I click the message to read it, I can use a to archive.

Hey,
Can you reproduce the problem with the latest version ?

I'm afraid not: I moved away from ProtonMail since filing this issue.

On 6 Jul 2017, at 09:06, dhoko<EMAIL_ADDRESS>wrote:
Hey,
Can you reproduce the problem with the latest version ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


curl: Failed to download resource: Connection timed out

Hi there
Downloading main package of a formula is fine, but downloading its resources fails. Curls ends up with timeout error.
Example with brew install -v git, when attempting to download git-manpages:
==> Downloading https://www.kernel.org/pub/software/scm/git/git-manpages-2.6.1.tar.xz
/location/to/linuxbrew/opt/curl/bin/curl -fLA Homebrew 0.9.5 (Ruby 1.9.1-378; x86_64-linux) https://www.kernel.org/pub/software/scm/git/git-manpages-2.6.1.tar.xz -C 0 -o /home/me/.cache/Homebrew/git--man-2.6.1.tar.xz.incomplete
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:03:08 --:--:--     0curl: (7) Failed to connect to www.kernel.org port 443: Connection timed out
Error: Failed to download resource "git--man"
Download failed: https://www.kernel.org/pub/software/scm/git/git-manpages-2.6.1.tar.xz

However, when trying the used curl command in my prompt, with  quotes added around the user agent string, it just works:
$ /location/to/linuxbrew/opt/curl/bin/curl -fLA "Homebrew 0.9.5 (Ruby 1.9.1-378; x86_64-linux)" https://www.kernel.org/pub/software/scm/git/git-manpages-2.6.1.tar.xz -C 0 -o /home/me/.cache/Homebrew/git--man-2.6.1.tar.xz.incomplete
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  372k  100  372k    0     0   243k      0  0:00:01  0:00:01 --:--:--  243k

So, the file is available and curl can download it, but not when called by Linuxbrew. What is wrong?
Output of brew config:
HOMEBREW_VERSION: 0.9.5
ORIGIN: http://github.com/Homebrew/linuxbrew.git
HEAD: da44282a3499494d27bf923758bbfd0481ab7a2e
Last commit: 3 months ago
HOMEBREW_PREFIX: /location/to/linuxbrew
HOMEBREW_REPOSITORY: /location/to/linuxbrew
HOMEBREW_CELLAR: /location/to/linuxbrew/Cellar
HOMEBREW_BOTTLE_DOMAIN: https://linuxbrew.bintray.com
CPU: quad-core 64-bit 6
OS X: 0-x86_64
Xcode: N/A
CLT: N/A
Clang: N/A
X11: N/A
System Ruby: 1.9.1-p378 => /usr/local/ruby-1.9.1/bin/ruby
Perl: /usr/bin/perl
Python: /usr/local/python/bin/python => /usr/local/python-2.7.5/bin/python2.7
Ruby: /usr/local/bin/ruby => /usr/local/ruby-1.9.1/bin/ruby
Java: 1.7.0_95

I can't say. Can you confirm that the issue persists today? I just tried a brew fetch git, and it works for me.
$ brew fetch git
==> Downloading https://www.kernel.org/pub/software/scm/git/git-2.7.0.tar.xz
######################################################################## 100.0%
Downloaded to: /home/sjackman/.cache/Homebrew/git-2.7.0.tar.xz
SHA1: c9b9adf97236eee084608d1d8a1754ae851897fa
SHA256: fa9fb34efce9c80527152a40fbae138e83bd04a15ef9111726252259345a7b0d
Resource: man
==> Downloading https://www.kernel.org/pub/software/scm/git/git-manpages-2.7.0
######################################################################## 100.0%
Downloaded to: /home/sjackman/.cache/Homebrew/git--man-2.7.0.tar.xz
SHA1: 20730ec58479989e357f85826dfc3384f1311f79
SHA256: b7f255aa17a5d06b9b71f6e3957f65e8f15789b2d31f09b1c2bf697a21458a0d
Resource: html
==> Downloading https://www.kernel.org/pub/software/scm/git/git-htmldocs-2.7.0
######################################################################## 100.0%
Downloaded to: /home/sjackman/.cache/Homebrew/git--html-2.7.0.tar.xz
SHA1: 4fc029b470b90e4678e26fd0129d1a77e9151434
SHA256: a9d30a744eb07392ba3ffe389cca7e57a2bdd718c9ffccdf2d525eeafac548a9

Well, brew fetch git works fine. Then, brew install git succeeded. That is weird...

I'm going to close this issue. Please comment if you're able to reproduce the issue. It may have been a transient network error.

I'm also affected by this. I can't install any formula without manually fetching it first.
brew install hello
==> Downloading http://ftpmirror.gnu.org/hello/hello-2.10.tar.gz
Error: Failed to download resource "hello"
Download failed: http://ftpmirror.gnu.org/hello/hello-2.10.tar.gz

brew fetch hello
==> Downloading http://ftpmirror.gnu.org/hello/hello-2.10.tar.gz
==> Downloading from http://mirror.switch.ch/ftp/mirror/gnu/hello/hello-2.10.tar.gz
######################################################################## 100.0%
Downloaded to: /home/omegak/.cache/Homebrew/hello-2.10.tar.gz
SHA1: f7bebf6f9c62a2295e889f66e05ce9bfaed9ace3
SHA256: 31e066137a962676e89f69d1b65382de95a7ef7d914b8cb956f41ea72e0f516b

brew install hello
==> Downloading http://ftpmirror.gnu.org/hello/hello-2.10.tar.gz
Already downloaded: /home/omegak/.cache/Homebrew/hello-2.10.tar.gz
==> ./configure --disable-silent-rules --prefix=/home/omegak/.linuxbrew/Cellar/hello/2.10
^C

As a workaround, you can fetch the formula and its dependencies using brew fetch --deps hello.
Thanks for confirming the bug. It's very strange. As I'm not able to reproduce the error, it's going to be difficult to troubleshoot. Please remove the cached source and gist the logs.
rm -f `brew --cache hello`
brew install hello || brew gist-logs hello

The failed download doesn't produce any log, apparently.
$ rm -f `brew --cache hello`
$ brew install -v hello || brew gist-logs hello
==> Downloading http://ftpmirror.gnu.org/hello/hello-2.10.tar.gz
/home/omegak/.linuxbrew/opt/curl/bin/curl -fLA Homebrew 0.9.5 (Ruby 2.2.3-173; x86_64-linux) http://ftpmirror.gnu.org/hello/hello-2.10.tar.gz -C 0 -o /home/omegak/.cache/Homebrew/hello-2.10.tar.gz.incomplete
Error: Failed to download resource "hello"
Download failed: http://ftpmirror.gnu.org/hello/hello-2.10.tar.gz
Error: No logs.

Fetching the dependencies doesn't work in some cases: diff files cannot be fetched. The download fails due to time out, but again, using the curl command outputed in verbose mode works fine.
By instance: readline.
I am wondering (this is highly hypothetical), is there something special with the curl binary used and its parameters? In some cases, if I do not put location in my curlrc, it doesn't follow HTTP 302 redirection, even if there is the -L parameter. Moreover, I am behind a proxy. brew doctor  complains about the curlrc file, but how can I pass the proxy parameter otherwise?

OK, I have to export all_proxy with my proxy inside to solve this, even if it is defined in my curlrc file. So, why does not curl read its config file?

Please report
which -a curl
curl --version
brew list --versions curl

brew doctor complains about the curlrc file, but how can I pass the proxy parameter otherwise?

Try setting the environment variable.
export ALL_PROXY=…

OK, I have to export all_proxy with my proxy inside to solve this, even if it is defined in my curlrc file.

Ah, did setting the ALL_PROXY environment variable solve your issue?

So, why does not curl read its config file?

Mystery to me. You could try troubleshooting with…
strace -e open curl http://google.ca

Ah, did setting the ALL_PROXY environment variable solve your issue?

Yes. At least, it seems.
For the next, I will answer in few days.

Reporting.
which -a curl
/home/omegak/.linuxbrew/bin/curl
/usr/bin/curl

curl --version
curl 7.47.1 (x86_64-pc-linux-gnu) libcurl/7.47.1 OpenSSL/1.0.2f zlib/1.2.8
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp smb smbs smtp smtps telnet tftp
Features: IPv6 Largefile NTLM NTLM_WB SSL libz TLS-SRP UnixSockets

brew list --versions curl
curl 7.47.1 7.45.0

My quick test indicates that the Linuxbrewed curl does read the file ~/.curlrc. Please report
cat ~/.curlrc

No such file.

Sorry, I was addressing the original poster, @Neraste.

OK, I have to export all_proxy with my proxy inside to solve this, even if it is defined in my curlrc file. So, why does not curl read its config file?

I believe that curl does read its config file.

I still think there's some issue here. I can download just fine things from curl and brew fetch, but not from brew install.
brew -v install hello
==> Downloading http://ftpmirror.gnu.org/hello/hello-2.10.tar.gz
/home/omegak/.linuxbrew/opt/curl/bin/curl -fLA Homebrew 0.9.5 (Ruby 2.2.3-173; x86_64-linux) http://ftpmirror.gnu.org/hello/hello-2.10.tar.gz -C 0 -o /home/omegak/.cache/Homebrew/hello-2.10.tar.gz.incomplete
Error: Failed to download resource "hello"
Download failed: http://ftpmirror.gnu.org/hello/hello-2.10.tar.gz

I then go and try curl directly and it works:
/home/omegak/.linuxbrew/opt/curl/bin/curl -fLA "Homebrew 0.9.5 (Ruby 2.2.3-173; x86_64-linux)" http://ftpmirror.gnu.org/hello/hello-2.10.tar.gz -C 0 -o /home/omegak/.cache/Homebrew/hello-2.10.tar.gz.incomplete
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   329  100   329    0     0    272      0  0:00:01  0:00:01 --:--:--  1788
100  708k  100  708k    0     0   528k      0  0:00:01  0:00:01 --:--:--  528k

The only difference is that I had to quote Homebrew 0.9.5 (Ruby 2.2.3-173; x86_64-linux).
Any suggestion on how to keep investigating this?

I believe that curl does read its config file.

I don't think so. If I don't export all_proxy=http://myproxy, even if there is a proxy = http://myproxy in my .curlrc, curl isn't able to connect to server.
@OmeGak Are you behind a proxy?

It is strange that brew fetch should work but not brew install.
Shouldn't export all_proxy=http://myproxy be export ALL_PROXY=http://myproxy?
Please report…
cat ~/.curlrc
curl --version
echo xyz >>~/.curlrc
curl --version

@Neraste, as far as I know I'm not behind a proxy.

@OmeGak proxy was what blocked my connection
@sjackman all_proxy should be lowercase, but for curl there is no difference, AFAIK.
Here the output you wanted:
$ cat .curlrc
proxy = http://myproxy
insecure
location
$ curl --version
curl 7.47.1 (x86_64-pc-linux-gnu) libcurl/7.47.1 OpenSSL/1.0.2f zlib/1.2.8
Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp smb smbs smtp smtps telnet tftp
Features: IPv6 Largefile NTLM NTLM_WB SSL libz TLS-SRP UnixSockets
$ echo xyz >>~/.curlrc
$ curl --version
Warning: /home/pzehner/.curlrc:4: warning: 'xyz' is unknown
curl 7.47.1 (x86_64-pc-linux-gnu) libcurl/7.47.1 OpenSSL/1.0.2f zlib/1.2.8
Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp smb smbs smtp smtps telnet tftp
Features: IPv6 Largefile NTLM NTLM_WB SSL libz TLS-SRP UnixSockets

But there is nothing new. I mean, I have no problem using curl from command line. Curl called from command line read its curlrc file. The problem is when called by Brew.

Try
export HOMEBREW_VERBOSE=1 HOMEBREW_CURL_VERBOSE=1
brew install hello
brew fetch hello

Reporting with util-linux. hello link seems to be down.
$ export HOMEBREW_VERBOSE=1 HOMEBREW_CURL_VERBOSE=1

$ brew install util-linux
==> Downloading https://www.kernel.org/pub/linux/utils/util-linux/v2.27/util-linux-2.27.1.tar.xz
/home/omegak/.linuxbrew/opt/curl/bin/curl -fLA Homebrew 0.9.5 (Ruby 2.2.3-173; x86_64-linux) https://www.kernel.org/pub/linux/utils/util-linux/v2.27/util-linux-2.27.1.tar.xz -C 0 -o /home/omegak/.cache/Homebrew/util-linux-2.27.1.tar.xz.incomplete --verbose
Warning: /home/omegak/.curlrc:1: warning: 'xyz' is unknown
Error: Failed to download resource "util-linux"
Download failed: https://www.kernel.org/pub/linux/utils/util-linux/v2.27/util-linux-2.27.1.tar.xz

$ brew fetch util-linux
==> Downloading https://www.kernel.org/pub/linux/utils/util-linux/v2.27/util-linux-2.27.1.tar.xz
/home/omegak/.linuxbrew/opt/curl/bin/curl -fLA Homebrew 0.9.5 (Ruby 2.2.3-173; x86_64-linux) https://www.kernel.org/pub/linux/utils/util-linux/v2.27/util-linux-2.27.1.tar.xz -C 0 -o /home/omegak/.cache/Homebrew/util-linux-2.27.1.tar.xz.incomplete --verbose
Warning: /home/omegak/.curlrc:1: warning: 'xyz' is unknown
*   Trying <IP_ADDRESS>...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0* Connected to www.kernel.org (<IP_ADDRESS>) port 443 (#0)
* ALPN, offering http/1.1
* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
* successfully set certificate verify locations:
*   CAfile: /home/omegak/.linuxbrew/etc/openssl/cert.pem
  CApath: none
* TLSv1.2 (OUT), TLS header, Certificate Status (22):
} [5 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [512 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [111 bytes data]
* NPN, negotiated HTTP1.1
{ [5 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [3585 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [589 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [70 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Client hello (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Unknown (67):
} [36 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS change cipher, Client hello (1):
{ [1 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server did not agree to a protocol
* Server certificate:
*        subject: description=MGg8751JzNRM4B4E; C=US; ST=California; L=San Francisco; O=The Linux Foundation; CN=www.kernel.org<EMAIL_ADDRESS>*        start date: Apr  9 01:01:47 2014 GMT
*        expire date: Apr  8 15:03:50 2016 GMT
*        subjectAltName: www.kernel.org matched
*        issuer: C=IL; O=StartCom Ltd.; OU=Secure Digital Certificate Signing; CN=StartCom Class 2 Primary Intermediate Server CA
*        SSL certificate verify ok.
} [5 bytes data]
> GET /pub/linux/utils/util-linux/v2.27/util-linux-2.27.1.tar.xz HTTP/1.1
> Host: www.kernel.org
> User-Agent: Homebrew 0.9.5 (Ruby 2.2.3-173; x86_64-linux)
> Accept: */*
>
{ [5 bytes data]
< HTTP/1.1 200 OK
< Server: nginx
< Date: Fri, 19 Feb 2016 13:05:12 GMT
< Content-Type: application/x-xz
< Content-Length: 3964512
< Connection: keep-alive
< Last-Modified: Mon, 02 Nov 2015 11:06:37 GMT
< ETag: "3c7e60-5238cc55aa940"
< Accept-Ranges: bytes
< Strict-Transport-Security: max-age=15768000
< X-Frame-Options: DENY
<
{ [3850 bytes data]
100 3871k  100 3871k    0     0  1529k      0  0:00:02  0:00:02 --:--:-- 1530k
* Connection #0 to host www.kernel.org left intact
Downloaded to: /home/omegak/.cache/Homebrew/util-linux-2.27.1.tar.xz
SHA1: 462bca6320535d39b62216d8609da5531bfef0bb
SHA256: 0a818fcdede99aec43ffe6ca5b5388bff80d162f2f7bd4541dca94fecb87a290
==> Verifying util-linux-2.27.1.tar.xz checksum

The two command lines are identical, and both are reading the ~/.curlrc. That's a real mystery. Any idea why curl didn't displays its verbose output in the first case? That's where the verbose output would be useful.

I'd say curl fails even before it starts downloading on brew install.
I don't know much about the internals of homebrew, but I gather that that both brew install and brew fetch make use of Resource class, end up calling fetch on it eventually and there is where DownloadError is raised.
I have no idea why or how, but it seems the problem comes from here.
I'll probably add some print statements there to see if I spot the difference.

@biocyberman is also experiencing this issue. I haven't been able to reproduce it yet myself, so I'm having difficult troubleshooting it. Can everyone experiencing this issue please report the following? I'm curious to see if you're all perhaps using the same distribution of Linux.
brew config |egrep 'OS|Linuxbrew'

You may want to also try recompiling curl with the Homebrewed gcc and see if that helps.
brew install gcc
brew reinstall curl

Just reinstalled curl with homebrewed gcc and nothing changes. brew test curl works fine, though.
Reporting brew config:
$ brew config | egrep 'OS|Linuxbrew'
HOMEBREW_REPOSITORY: /home/omegak/.linuxbrew
OS: elementary OS Freya
OS glibc: 2.19
OS gcc: 4.8.4
Linuxbrew glibc: 2.19
Linuxbrew gcc: 5.3.0

A bit more research on my end.
The error is definitely coming from here.
The parameters passed to curl, both for install and fetch (util-linux) are:

@url: https://www.kernel.org/pub/linux/utils/util-linux/v2.27/util-linux-2.27.1.tar.xz
downloaded_size: 28672
temporary_path: /home/omegak/.cache/Homebrew/util-linux-2.27.1.tar.xz.incomplete

So it seems in principle the call is exactly the same, but the outcome is that brew install fails immediately after calling curl with at least the an url and HOMEBREW_CURL_VERBOSE=1 doesn't make it show more information.
I added system("which curl") statement right before and in both cases the binary being used is /home/omegak/.linuxbrew/bin/curl.
Any idea on where to check next?

The error is definitely coming from here.

What makes you say that? Were you able to work around the issue by changing the curl parameters in _fetch?

This curl issue and this python issue #841 may be related.
Can someone here try this patch and report whether it works around the problem?
diff --git a/Library/Homebrew/extend/ENV/std.rb b/Library/Homebrew/extend/ENV/std.rb
index ea1b4d8..42b2ec7 100644
--- a/Library/Homebrew/extend/ENV/std.rb
+++ b/Library/Homebrew/extend/ENV/std.rb
@@ -58,6 +58,7 @@ module Stdenv

     if OS.linux? && !["glibc", "glibc25"].include?(formula && formula.name)
       # Add this formula's library directory to the shared library search path.
+      FileUtils.mkdir_p formula.lib if formula
       prepend "LD_LIBRARY_PATH", formula.lib, File::PATH_SEPARATOR if formula

       # Set the dynamic linker and library search path.

I've recently fixed #841. This fix may also fix this issue. Could people here please brew update and test? Thanks!

I simply tried passing different stuff to curl modifying but I didn't manage to work around the issue. But it finally works for me after brew update. :wink:
This was a tricky one. Thanks a lot for the patience!

A lot of the credit is owed to @erigler-usgs. It would have taken me ages to figure this one out on my own.


Channel Balance Issue

Using the iOS sample app, "Basic playthru example," I am getting full levels on the left channel and low levels on the right.

hi playfulart, I'm also facing the same issue.
did u get any solutions?