Update documents

Codecov Report

Merging #6 into master will increase coverage by 0.07%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master       #6      +/-   ##
==========================================
+ Coverage   81.97%   82.05%   +0.07%
==========================================
  Files          57       57
  Lines        4023     4023
==========================================
+ Hits         3298     3301       +3
+ Misses        725      722       -3


Tracing integration should be more automated

The current approach to enabling tracing is very clunky and manually driven, it should be a smoother experience.

Closing as the Tracing checklist approach we have implemented is sufficient for the time being.


Fix org.gradle.usage attribute values in documentation

Contributor Checklist

[x] Review Contribution Guidelines
[x] Make sure that all commits are signed off to indicate that you agree to the terms of Developer Certificate of Origin.
[x] Make sure all contributed code can be distributed under the terms of the Apache License 2.0, e.g. the code was written by yourself or the original code is licensed under a license compatible to Apache License 2.0.
[x] Check "Allow edit from maintainers" option in pull request so that additional changes can be pushed by Gradle team
n/a Provide integration tests (under <subproject>/src/integTest) to verify changes from a user perspective
n/a Provide unit tests (under <subproject>/src/test) to verify logic
[x] Update User Guide, DSL Reference, and Javadoc for public-facing changes
n/a Ensure that tests pass sanity check: ./gradlew sanityCheck
n/a Ensure that tests pass locally: ./gradlew <changed-subproject>:quickTest

Reviewing cheatsheet
Before merging the PR, comments starting with

❌ ❓must be fixed
🤔 💅 should be fixed
💭 may be fixed
🎉 celebrate happy things

Thank you for your contribution. This looks great.

@bot-gradle test BD

I've triggered the following builds for you. Click here to see all build failures.

BuildDistributions build

@bot-gradle merge

The merge queue build has started. Click here to see all failures if any.


Input Mask

This function solves the problem (这个功能解决的问题)
Mask text inside inputs. Like Date __/__/____ or Currency US$ 150.00.
Expected API (期望的 API)
I was thinking about something like the classic inputmask.js from https://github.com/RobinHerbots/Inputmask which allows creating custom masks.
The current input could get a mask prop like <n-input v-model:value="value" type="text" mask="(999) 999-9999" />

dup of https://github.com/tusen-ai/naive-ui/issues/1385


Add support for global links trigger in amv2

https://regex101.com/r/66S6AR/1
Something like this would return multiple links in a text


Keynote: William Kahan - Debugging Tools for Floating-Point Code

Will keep updating here! :)
Video Link : link
00:00 Prof. Alan Edelman introducing Prof. William Kahan
00:24 History of IEEE Floating Point Standard
00:19 How does a Floating-Point Program differ from others
3:55 Common misconception regarding floating-point
5:32 Problem 1 - Accuracy isn't Transitive
8:24 Problem 2 - Roundoff

awesome! Thank you.

@Sov-trotter bumping this

Yeah sorry for leaving this mid way. WIll try to get it done before the weekend.

Closing for now but feel free to re-open if you get around to this, no pressure!

I will try to finish timestamps for this video.


Feature/travis

Merging because I want the updated drivers, will reopen PR to add travis correctly.


Filter Layer Color in FontView.py Error

Tried to run it in the font view:
Traceback (most recent call last):
  File "Filter Layer Color in FontView.py", line 45
    Glyphs.font.customParameters["glyphOrder"] = GenerateLayerColorGlyphOrder()
  File "Filter Layer Color in FontView.py", line 20, in GenerateLayerColorGlyphOrder
    colorMeaning = Map_Keys(Get_Key_File())
NameError: name 'Map_Keys' is not defined

I think I fixed it, can you try again ?


不会自动连接

Mac盒盖后再打开rayon就断开监控了，不会自动连接刷新

Hi -- I'm afraid I can only provide support in English, and Google Translate didn't help me with your question either.

If you can find someone to help you with asking your question in English, then feel free to re-open this.


Error running repDiversity after repSample

❓ Questions and Help
We have a set of listed tutorials available on the website.
Hello, I am trying to run a diversity function after downsampling and am receiving the follow error:
> tmp <- repSample(immdata$data[c(1,2,3,4,6,7)])
>
> class(tmp)
[1] "list"
> class(immdata)
[1] "list"
> div_div <- repDiversity(tmp$data, "div", .q = 1)
Error in UseMethod("select_") :
  no applicable method for 'select_' applied to an object of class "NULL"

@lothm2014
Thank you for asking!
Note the "data" here:
tmp <- list()
tmp$data <- repSample(immdata$data[c(1,2,3,4,6,7)])
tmp$meta <- immdata$meta
# proceed as in your code

Hi @lothm2014
Did it work?

Yes it did, thank you!


QUIC not TCP

Discussed in https://github.com/hyprspace/hyprspace/discussions/31

Originally posted by notassigned September 10, 2021
Since this is a VPN we shouldn't be using TCP, since we may run into a TCP meltdown when running a TCP connection over the VPN connection.
I suggest switching the listen addrs to QUIC.
https://openvpn.net/faq/what-is-tcp-meltdown/

I have a branch for this. Just give me write permission and I'll push it.

Does your branch completely replace TCP with QUIC or provide both as options?
There are situations where TCP is the only way the VPN can be formed, such as in very locked down public networks within offices or campuses that for some reason block all UDP traffic including QUIC, so keeping TCP as an option is needed when QUIC won't work.

I just removed the TCP listen addrs and replaced them with QUIC multiaddrs. TCP is still a transport that can be used but the node doesn't advertise listen addrs for it. The reason I removed them is because I'm not entirely sure how libp2p decides which transports to use when dialing a peer. I will test having both transports and see if I can force the order.
Another thing to keep in mind is that hole punching was just merged into go-libp2p (not released yet) and the success rate for QUIC is far higher than TCP.
Here is my branch on a fork: https://github.com/notassigned/hyprspace/tree/add-quic-transport

Ah I see, some form of hyprspace init --force-tcp option would probably need to added, there must be a way to define the order of transports; I'll look out for it if I can find it.

Hi all! Just saw #37 and maybe we should consider adding this as a field in the hyprspace configuration for a given interface? Possibly something like,
accepted_transports:
    - tcp
    - quic
    - etc...

By default maybe we accept both QUIC and TCP but allow users to pick one specifically if they can't use QUIC/TCP for a network.

The dial method will try to dial multiaddrs for the peer until it gets a connection, so if QUIC can't be used and TCP can then the connection to the peer will be established over TCP. But realistically QUIC will work on virtually all networks and provides numerous benefits over TCP like native roaming, faster connection establishment, and native stream muxing.
I think the only potential downside is that if you were on a network which QUIC couldn't be used then you would have to wait an extra few seconds for the QUIC dial to fail.


Decorator breaks enzyme tests

Example:
@pure
class A extends Component {
  aMethod(){}
}

const wrapper = mount(<A />);
wrapper.instance().aMethod() // Error, Cannot read property aMethod of undefined

You wrap one component with other component using pure enhancer, why you expect that instance methods of internal component will be available on upper instance?
It is expected behavior.

@istarkov I was expecting to not affect the tests, but probably I am wrong.
Is it a way to access the method, although the component is wrapped?

Almost all recompose enhancers generates Hight Order Component - wrapper,
in pure case it's some kind of
class B extends Component {
   shouldComponentUpdate {
      shallowEqual ...
   }
   render() {
       return <A {...this.props} />; // Here A is your component
   }
}

real code pure uses
shouldUpdate

I'm going to close this issue because it's not a bug.


Implement burn logic

At this moment, the Starklane bridge only use the escrow strategy. When a token is deposited, it's put into escrow before the message can reach the other chain.
In some configuration, one also wants to burn a token once the bridge request is successfully processed on the destination chain.
However, burning the token in a synchronous manner instead of putting the token in escrow is too dangerous.
For this concern, when someone deposit a token with the burn flag enabled, a transaction must then be possible on Starklane Bridge contract to effectively burn the token (which is in escrow at this moment).
In this work, you should implement the burn logic in the bridge, ensuring that:

The request containing the token is effectively allowing the burn.
Ensuring the collection authorizes the bridge to burn a token.
Burn all the tokens related to the request.

hello, can I work on this project?


Ability to connect to Synapse Spark Pool in notebooks

Please allow for Azure data studio to connect to spark pools via an Azure Data Studio notebook.

Closing as a duplicate of https://github.com/microsoft/azuredatastudio/issues/14693


Does it work with "Vue 2.7.16"？

hi！
I doing this https://github.com/vuejs/create-vue/issues/408
Does it work with "Vue 2.7.16".
However, I tested some and he works fine.

if it worked with Does it work with "Vue 2.7.16".
then add to<EMAIL_ADDRESS>in peerDependencies

No it doesn't work with Vue 2, this is the repository for Vue 3 (check the readme for more info)


In storybook depends on react, @types/react package is required

But I forgot to add it to the package.json file. This commit fixes that.

Codecov Report
Patch has no changes to coverable lines.
:loudspeaker: Thoughts on this report? Let us know!.


PR comment: Change successor function in basic_block module

Problem
Referencing https://github.com/noir-lang/noir/pull/1211/files#r1175710844
Proposed solution
Once #1200 has been merged, modify that function.
Alternatives considered
No response
Additional context
No response
Submission Checklist

[X] Once I hit submit, I will assign this issue to the Project Board with the appropriate tags.

I'm having doubts about the visitor pattern I introduced in #1200 as it doesn't seem versatile. Forcing the use of lamdas makes result handling inconvenient. For example if I attempt to apply to display_block_with_successors I end up with something like:
pub(crate) fn display_block_with_successors(
    function: &Function,
    block_id: BasicBlockId,
    f: &mut Formatter,
) -> Result {
    display_block(function, block_id, f)?;

    let basic_block = &function.dfg[block_id];
    if basic_block.maybe_terminator().is_none() {
        // If the terminator is assigned it is not safe to attempt to visit its successors.
        return Ok(());
    }
    let mut ok_or_first_err = Ok(());
    basic_block_visitors::visit_block_succs(basic_block, |succ_id| {
        match display_block(function, succ_id, f) {
            Err(err) => ok_or_first_err = Err(err),
            _ => {}
        }
    });
    ok_or_first_err
}

Or probably better:
    let mut successor_ids = vec![];
    basic_block_visitors::visit_block_succs(basic_block, |succ_id| successor_ids.push(succ_id));
    for succ_id in successor_ids {
        display_block_with_successors(function, succ_id, f)?
     I was merely mimicking cranelift without a great deal of thought.
Tangential point: I've also included handling of the terminator's optionality in the above snippet because I think there may be demons down the line. I'd in favour of having a separate factory struct.

I generally do like having functions for traversing the data since it helps separate the traversal from the "business logic" of whatever operation is actually being done. That being said, they're just a tool so if they're hard to use then we should change them. It seems to me that visit_block_succs would benefit from having a version that handles Results internally for usecases like display_block_with_successors.

successors_iter would work but you'll have a hard time creating an iterator without collecting each id into a Vec first I think, and at that point you can use the successors function.

Yep, I see what you mean. I've done a PR nonetheless, but feel free to chuck it.
https://github.com/noir-lang/noir/pull/1231


[suggestion] every nth week

Is there the possibility to make something like this valid?
50 21 * * 0,2,3,4/2
This command would run at 21:50 on Sun, Tue, Wed, Thu every second week.
Do you think it's possible?
Apparently '0 6 * * Tue expr date +\%W % 2' works on crontab but doesn't look so good.
Appreciate all the good work. Thanks 👍

That's an interesting proposition. From the looks of things your hacky way with the date format is one of the few ways to get cron to actually accept an arbitrary date range, since weeks is not part of the cron format.
I'd like to keep this library as close to the actual cron format as possible, but I'll leave this open for input from other people and maybe consider it for the future.

I get what you mean. Thanks for leaving it open and your fast reply 👍 :fingers crossed:

This is actually a feature I require for my application. My intent is to allow customers to schedule campaigns such as first tuesday of every month.
I would propose the format that follows quartz.

# - used to specify “the nth” XXX day of the month. For example, the value of “6#3” in the day-of-week field means “the third Friday of the month” (day 6 = Friday and “#3” = the 3rd one in the month). Other examples: “2#1” = the first Monday of the month and “4#5” = the fifth Wednesday of the month. Note that if you specify “#5” and there is not 5 of the given day-of-week in the month, then no firing will occur that month.

http://www.quartz-scheduler.org/documentation/quartz-2.x/tutorials/crontrigger.html

Also the README for this project states

hash (#) to find the nth weekday of a given month.

+1 for staying close to Cron syntax.

Closing this issue. There's been no movement, and I'm still of the mind to stick as close to actual Cron (specifically cronie) behavior as possible


AMAZON.StopIntent is not triggered

I'm submitting a...

[X ] Bug report

Expected Behavior
When I build the Jovo HelloWorld Template, I add the AMAZON.StopIntent with this.tell("This text is never read").
I say "Alexa, open my test app"
She replies : Hello World! What's your name?
If I say: "Stop" she should reply "This text is never read" and shut down.
Current Behavior
When I try to trigger this intent, the skill just shuts down without reading my prompt.
The AMAZON.HelpIntent is working though.
Error log
code
app.setHandler({
    'LAUNCH': function() {
        this.toIntent('HelloWorldIntent');
    },

    'HelloWorldIntent': function() {
        this.ask('Hello World! What\'s your name?', 'Please tell me your name.');
    },

    'MyNameIsIntent': function(name) {
        this.tell('Hey ' + name.value + ', nice to meet you!');
    },

    'AMAZON.HelpIntent': function(name) {
        this.tell('Help is triggered');
    },

    'AMAZON.StopIntent': function(name) {
        this.tell('Stop wont trigger');
    },
});

For AMAZON.StopIntent
{
	"version": "1.0",
	"response": {
		"shouldEndSession": true
	},
	"sessionAttributes": {}
}

For AMAZON.HelpIntent
{
	"version": "1.0",
	"response": {
		"shouldEndSession": true,
		"outputSpeech": {
			"type": "SSML",
			"ssml": "<speak>Help is triggered</speak>"
		}
	},
	"sessionAttributes": {}
}

Your Environment

Jovo Framework version used: 1.3
Operating System: MacOS

Hi @QuentinDela, the AMAZON.StopIntent is mapped to the END handler by default

Alright! thanks for the super fast reply.


Fix warnings caused by passing custom styles to text props

This is caused by an improper prop type being set to the text styles.
Closes #4

@WilsonChiang Thanks a lot.


supporting realtime streams using URLs

Is your feature request related to a problem? Please describe.
We use Speechmatics to transcribe m3u of mp3 livestream, and  we have to fetch the stream, chunk it and forward it to Speechmatics, with all extra processing and potential errors that come with that.
Describe the solution you'd like
it would be great if the stream-reading part could live on the Speechmatics side.
@willemmulder

Thanks for the separate issue!


Question: How does this work?

First of all: thanks for this resource. It's been really helpful for us.
I'd like to re-use this resource in order to cache some other stuff, but I am having a hard time to understand how this resource actually works. I would really appreciate if you could explain it in a little more detail as to what actually happens when I am using this resource. For example: how is the actual workflow here, how do we have the actual cache, where is it stored etc?
Thanks again and I hope you can answer this.  #16 .
Maybe we need to make a documentation about how is working a custom resource in Concourse and how we do the wrapper from one existent resource to be used for our own goals.
We are here to help don't worry about to ask all whatever you need to know.


Activate travis CI for this repository

Need admin access to activate this repository to build in travis CI.

Travis enabled.


Make instructions for disabling group privacy more clear

Messages from game in tg - OK
Messages from tg in game - only system messages will be sent

P.S. Errors in console to ignore - it was another issue)

Im checked #21 - enable admin roles and messages sent to the game!
Please update instructions and it issue can be closed

The instructions already specify that you should disable group privacy in BotFather. I will try to make it more clear

Im checked #21 - enable admin roles and messages sent to the game! Please update instructions and it issue can be closed

Hello! Tell me, what exactly did you do? Messages from Telegram appear in the server console, but players do not see them in chat


recording of observational data to be an auxiliary element

As a fisherman I would like the recording of observational data to be an auxiliary element or 'optional extra', as it may deter many fishermen from using the App all together, especially those who are not 'conservation minded'. https://github.com/StAResComp/sifids/issues/6

Should - think this will only work if entering observational data is not a 'compulsory' precursor for using the App.


[FEATURE REQUEST] Add Support for S3A prefix

Is your feature request related to a problem? Please describe.
I have set the allowed location of the created catalog to S3 storage type using s3:// prefix. When I run remove_orphan_files procedure in Spark, it results in an error message: No FileSystem for scheme "s3".  To solve this problem, I attempted to create the catalog with the s3a:// prefix, but I received a 400 Bad Request error with the message: Location prefix not allowed.

Describe alternatives you've considered
No response
Additional context
No response

Do other DMLs(e.g., insert, delete)work? Can you share the stack of the error?

Can you remove this config and try again?
            .config("spark.sql.catalog.polaris.io-impl", "org.apache.iceberg.aws.s3.S3FileIO")

Yes, the other DML commands work as expected, and I also removed the config above, but it still results in an error. This is the code I ran
spark.sql("""CALL polaris.system.remove_orphan_files(table => 'polaris.namespace.table')""").show()
Here's the error.
Py4JJavaError: An error occurred while calling o48.sql.
: java.io.UncheckedIOException: org.apache.hadoop.fs.UnsupportedFileSystemException: No FileSystem for scheme "s3"
at org.apache.iceberg.spark.actions.DeleteOrphanFilesSparkAction.listDirRecursively(DeleteOrphanFilesSparkAction.java:386)
at org.apache.iceberg.spark.actions.DeleteOrphanFilesSparkAction.listedFileDS(DeleteOrphanFilesSparkAction.java:311)
at org.apache.iceberg.spark.actions.DeleteOrphanFilesSparkAction.actualFileIdentDS(DeleteOrphanFilesSparkAction.java:296)
at org.apache.iceberg.spark.actions.DeleteOrphanFilesSparkAction.doExecute(DeleteOrphanFilesSparkAction.java:247)
at org.apache.iceberg.spark.JobGroupUtils.withJobGroupInfo(JobGroupUtils.java:59)
at org.apache.iceberg.spark.JobGroupUtils.withJobGroupInfo(JobGroupUtils.java:51)
at org.apache.iceberg.spark.actions.BaseSparkAction.withJobGroupInfo(BaseSparkAction.java:130)
at org.apache.iceberg.spark.actions.DeleteOrphanFilesSparkAction.execute(DeleteOrphanFilesSparkAction.java:223)
at org.apache.iceberg.spark.procedures.RemoveOrphanFilesProcedure.lambda$call$3(RemoveOrphanFilesProcedure.java:185)
at org.apache.iceberg.spark.procedures.BaseProcedure.execute(BaseProcedure.java:107)
at org.apache.iceberg.spark.procedures.BaseProcedure.withIcebergTable(BaseProcedure.java:96)
at org.apache.iceberg.spark.procedures.RemoveOrphanFilesProcedure.call(RemoveOrphanFilesProcedure.java:139)
at org.apache.spark.sql.execution.datasources.v2.CallExec.run(CallExec.scala:34)
at org.apache.spark.sql.execution.datasources.v2.V2CommandExec.result$lzycompute(V2CommandExec.scala:43)
at org.apache.spark.sql.execution.datasources.v2.V2CommandExec.result(V2CommandExec.scala:43)
at org.apache.spark.sql.execution.datasources.v2.V2CommandExec.executeCollect(V2CommandExec.scala:49)
at org.apache.spark.sql.execution.QueryExecution$$anonfun$eagerlyExecuteCommands$1.$anonfun$applyOrElse$1(QueryExecution.scala:107)
at org.apache.spark.sql.execution.SQLExecution$.$anonfun$withNewExecutionId$6(SQLExecution.scala:125)
at org.apache.spark.sql.execution.SQLExecution$.withSQLConfPropagated(SQLExecution.scala:201)
at org.apache.spark.sql.execution.SQLExecution$.$anonfun$withNewExecutionId$1(SQLExecution.scala:108)
at org.apache.spark.sql.SparkSession.withActive(SparkSession.scala:900)
at org.apache.spark.sql.execution.SQLExecution$.withNewExecutionId(SQLExecution.scala:66)
at org.apache.spark.sql.execution.QueryExecution$$anonfun$eagerlyExecuteCommands$1.applyOrElse(QueryExecution.scala:107)
at org.apache.spark.sql.execution.QueryExecution$$anonfun$eagerlyExecuteCommands$1.applyOrElse(QueryExecution.scala:98)
at org.apache.spark.sql.catalyst.trees.TreeNode.$anonfun$transformDownWithPruning$1(TreeNode.scala:461)
at org.apache.spark.sql.catalyst.trees.CurrentOrigin$.withOrigin(origin.scala:76)
at org.apache.spark.sql.catalyst.trees.TreeNode.transformDownWithPruning(TreeNode.scala:461)
at org.apache.spark.sql.catalyst.plans.logical.LogicalPlan.org$apache$spark$sql$catalyst$plans$logical$AnalysisHelper$$super$transformDownWithPruning(LogicalPlan.scala:32)
at org.apache.spark.sql.catalyst.plans.logical.AnalysisHelper.transformDownWithPruning(AnalysisHelper.scala:267)
at org.apache.spark.sql.catalyst.plans.logical.AnalysisHelper.transformDownWithPruning$(AnalysisHelper.scala:263)
at org.apache.spark.sql.catalyst.plans.logical.LogicalPlan.transformDownWithPruning(LogicalPlan.scala:32)
at org.apache.spark.sql.catalyst.plans.logical.LogicalPlan.transformDownWithPruning(LogicalPlan.scala:32)
at org.apache.spark.sql.catalyst.trees.TreeNode.transformDown(TreeNode.scala:437)
at org.apache.spark.sql.execution.QueryExecution.eagerlyExecuteCommands(QueryExecution.scala:98)
at org.apache.spark.sql.execution.QueryExecution.commandExecuted$lzycompute(QueryExecution.scala:85)
at org.apache.spark.sql.execution.QueryExecution.commandExecuted(QueryExecution.scala:83)
at org.apache.spark.sql.Dataset.<init>(Dataset.scala:220)
at org.apache.spark.sql.Dataset$.$anonfun$ofRows$2(Dataset.scala:100)
at org.apache.spark.sql.SparkSession.withActive(SparkSession.scala:900)
at org.apache.spark.sql.Dataset$.ofRows(Dataset.scala:97)
at org.apache.spark.sql.SparkSession.$anonfun$sql$1(SparkSession.scala:638)
at org.apache.spark.sql.SparkSession.withActive(SparkSession.scala:900)
at org.apache.spark.sql.SparkSession.sql(SparkSession.scala:629)
at org.apache.spark.sql.SparkSession.sql(SparkSession.scala:659)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:75)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:52)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at py4j.reflection.MethodInvoker.invoke(MethodInvoker.java:244)
at py4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:374)
at py4j.Gateway.invoke(Gateway.java:282)
at py4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:132)
at py4j.commands.CallCommand.execute(CallCommand.java:79)
at py4j.ClientServerConnection.waitForCommands(ClientServerConnection.java:182)
at py4j.ClientServerConnection.run(ClientServerConnection.java:106)
at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: org.apache.hadoop.fs.UnsupportedFileSystemException: No FileSystem for scheme "s3"
at org.apache.hadoop.fs.FileSystem.getFileSystemClass(FileSystem.java:3443)
at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:3466)
at org.apache.hadoop.fs.FileSystem.access$300(FileSystem.java:174)
at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:3574)
at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:3521)
at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:540)
at org.apache.hadoop.fs.Path.getFileSystem(Path.java:365)
at org.apache.iceberg.spark.actions.DeleteOrphanFilesSparkAction.listDirRecursively(DeleteOrphanFilesSparkAction.java:356)
... 55 more

@TheerachotTle I think the issue is this config:
            .config("spark.hadoop.fs.s3a.impl", "org.apache.hadoop.fs.s3a.S3AFileSystem") \

If you refer to the quickstart guide, it gives an example of Spark configs that can be used to connect to an Iceberg REST catalog

the other DML commands work as expected

if this is specific to remove_orphan_files, lets change the title to reflect it.

If you refer to the quickstart guide, it gives an example of Spark configs that can be used to connect to an Iceberg REST catalog.

Removing the config and it still doesn't work. From my understanding, the remove_orphan_files operation involves file listing to determine which files should be removed, and the Spark procedure uses Hadoop FS to perform listing operations.

if this is specific to remove_orphan_files, lets change the title to reflect it.

I have tried this procedure with other Iceberg catalogs, and it has the same problem when using the s3:// prefix. I'm not sure if the title should be changed to be about this procedure?

the Spark procedure uses Hadoop FS to perform listing operations.

Yup, I'm guessing the failure is triggered due to procedure is using the Spark Hadoop FS while other DML commands use the FileIO from the iceberg catalog. It more likely a config thing than a bug, but I need to take a close look. Would you share a way to to reproduce it? for example, the spark version and config, and the command used to call the procedure.

I'm using spark 3.5.0
create catalog with POST request
{"name": "testcatalog", "type": "INTERNAL", "properties": {
        "default-base-location": "s3://bucket/folder/"
    },"storageConfigInfo": {
        "roleArn": "arn:aws:iam::xxxxxxxxx:role/demo-polaris",
        "storageType": "S3",
        "allowedLocations": [
            "s3://bucket/folder"
        ]
    } }

config of spark
spark = SparkSession.builder \
            .config("spark.jars.packages","org.apache.iceberg:iceberg-spark-runtime-3.5_2.12:1.5.2,org.apache.iceberg:iceberg-aws-bundle:1.5.2,org.apache.hadoop:hadoop-aws:3.4.0,org.apache.hadoop:hadoop-common:3.4.0") \
            .config("spark.sql.extensions", "org.apache.iceberg.spark.extensions.IcebergSparkSessionExtensions") \
            .config('spark.sql.catalog.polaris.header.X-Iceberg-Access-Delegation', 'true') \
            .config("spark.sql.catalog.polaris.uri", POLARIS_URI) \
            .config("spark.sql.catalog.polaris.type", "rest") \
            .config("spark.sql.catalog.polaris", "org.apache.iceberg.spark.SparkCatalog") \
            .config("spark.sql.catalog.polaris.warehouse", POLARIS_CATALOG_NAME) \
            .config("spark.sql.catalog.polaris.io-impl", "org.apache.iceberg.aws.s3.S3FileIO") \
            .config("spark.hadoop.fs.s3a.impl", "org.apache.hadoop.fs.s3a.S3AFileSystem") \
            .config('spark.sql.catalog.polaris.credential', POLARIS_CREDENTIALS) \
            .config('spark.sql.catalog.polaris.scope', POLARIS_SCOPE) \
            .config('spark.sql.catalog.polaris.token-refresh-enabled', 'true') \
            .getOrCreate()

code to reproduce
spark.sql("USE polaris")
spark.sql("USE NAMESPACE namespace1")
spark.sql("""CREATE TABLE IF NOT EXISTS table1 (
    id bigint NOT NULL COMMENT 'unique id',
    data string)
USING iceberg
LOCATION "s3://bucket/folder/namespace1/table1"
""")
spark.sql("INSERT INTO table1 VALUES (1,'test')")
spark.sql("""CALL polaris.system.remove_orphan_files(
  table => 'polaris.namespace1.table1'
  )
""").show()

This is an Iceberg issue instead of a Polaris one. To summarize, DML commands and procedures usually use FileIO object provided by the catalog for read and write files. However, the procedure RemoveOrphanFile uses the Spark configuration to get the FileSystem object for listing, which is a Hadoop s3a File System. It couldn't recognize the s3://. Solutions would be

Using catalog FileIO instead of the File System from Spark config. ResolvingFileIO is the default one used by REST catalog, which delegates to S3FileIO in this case, it supports listPrefix.
Using aws s3 client instead of Hadoop s3a client in Spark, I guess this only needs a config change, I'm not familiar with that though. Recommend to check with the Iceberg community.

Here is another old thread on Iceberg slack about this issue
https://apache-iceberg.slack.com/archives/C025PH0G1D4/p1636652647457600?thread_ts=1636639133.442800&cid=C025PH0G1D4

RemoveOrphanFiles is probably the only procedure that requires HadoopFileSystem in Iceberg, because it has to scan the entire storage and Iceberg’s FileIO interface as of today does not have a list-flavor API

Since listPrefix is now available, maybe we can update the procedure to use FileIO. I will create an issue in Iceberg.

Thanks @anuragmantri for chiming in. It'd be ideal to use Iceberg FileIO in removeOrphanFile, so that we don't have to config Spark file system differently, which is a duplication to avoid. I will take a look at the Iceberg PR.
We will still need a workaround at this moment though, as the Iceberg change and release will take a while. You can customize your iceberg lib of course, but not every user is able to do that. @dennishuo mentioned a workaround here.  It doesn't work for me locally, but worth to try. cc @TheerachotTle
spark.hadoop.fs.s3.impl=org.apache.hadoop.fs.s3a.S3AFileSystem
spark.hadoop.fs.AbstractFileSystem.s3.impl=org.apache.hadoop.fs.s3a.S3A

How about replacing s3:// with s3a:// and configuring spark.sql.catalog.polaris.io-imp to use org.apache.iceberg.io.ResolvingFileIO ?

How about replacing s3:// with s3a://

Polaris doesn't allow me to create a catalog with this prefix.

spark.hadoop.fs.s3.impl=org.apache.hadoop.fs.s3a.S3AFileSystem
spark.hadoop.fs.AbstractFileSystem.s3.impl=org.apache.hadoop.fs.s3a.S3A

With this config, I can use remove_orphan_files without any error.

Let's document it before it is fixed in the Iceberg side, actually it should be documented in Iceberg side.


Could not find com.kovachcode:timePickerWithSeconds:1.0.1

Followed the instruction to add this library in my Android Studio project but I am getting this error :
Could not find com.kovachcode:timePickerWithSeconds:1.0.1
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/kovachcode/timePickerWithSeconds/1.0.1/timePickerWithSeconds-1.0.1.pom
- https://repo.maven.apache.org/maven2/com/kovachcode/timePickerWithSeconds/1.0.1/timePickerWithSeconds-1.0.1.pom
- https://jitpack.io/com/kovachcode/timePickerWithSeconds/1.0.1/timePickerWithSeconds-1.0.1.pom
What is the solution?

Can you please remove .gradle and .idea folder from your project directory and rebuild it with internet.

@PallabJunior : Let us know your issue fixed or not. Also, give us a star if it's helpful to you

@PallabJunior : Closing this issue. Let us know if you still have any issue.

@PallabJunior : Closing this issue. Let us know if you still have any issue.


Enable testing of backpressure from TCP connections

There are certain error conditions we want to test out that only happen when the TCP connection stalls and doesn't write right away (returns Poll::Pending on write). Would be great if Turmoil allowed for that - so in the simple code below, the host b just waited forever instead of the simulation panicking with socket buffer full.
use std::{
    net::{IpAddr, Ipv4Addr},
    time::Duration,
};
use tokio::{io::AsyncWriteExt, time::sleep};
use turmoil::{
    net::{TcpListener, TcpStream},
    Result,
};

#[test]
fn want_backpressure() -> Result {
    let mut sim = turmoil::Builder::new().build();
    sim.host("b", || async {
        let listener = TcpListener::bind((IpAddr::from(Ipv4Addr::UNSPECIFIED), 9876))
            .await
            .expect("Bind to local host");
        let (mut conn, _addr) = listener.accept().await.expect("Accept conn");
        for _ in 0..10000 {
            conn.write_all(b"message").await.expect("Write");
            conn.flush().await.expect("flush");
        }
        Ok(())
    });
    sim.client("a", async move {
        let _conn = TcpStream::connect("b:9876").await.expect("Open to b");
        sleep(Duration::from_millis(100)).await;
        Ok(())
    });
    sim.run()
}

I also just ran into this. I think this is related to turmoil skipping flow-control logic?
https://github.com/tokio-rs/turmoil/blob/6728fbeea09b1486c16b0d635c400ae2b276a6a8/src/envelope.rs#L26-L28
Is there any appetite to add flow-control emulation to turmoil?
In my use case I am trying to use turmoil for a test case that sends a large amount (~100 Gb) of data, but was running into this panic when trying to reproduce a different issue that I was running into 😄 .

I think there is an appetite for back pressure, but I'm not sure we need to implement a flow control message protocol. One idea for this is that we just poll on write when the egress tcp buffer fills (doesn't exist today) instead of putting packets directly on the network.


Unique channel ids

Channel ids have only been unique for a single token network so far.
This change hashes the token network address and chain id into the
channel id, thus making it globally unique.
Advantages:

Simplifies usage of raiden contacts (e.g. you can create channel_id ->
channel mappings)
Identifying channels during debugging is easier
No chance of accidentally identifying the wrong channel
Could mitigate attacks that rely on reusing signatures
Mostly backwards compatible

Disadvantages:

openChannel costs ~3300 gas more
We can't distinguish between channels that have never been created and
channels that have been removed. We used the sequential channel_id for
that before
Channel ids are usually longer than before

There's no clear preference either way, so let's be conservative and just close this.


Distance correction?

Is your feature request related to a problem? Please describe.
I have 2 Bluetooth Proxies in my living/dining room (which is one open area). There is about 10 meter distance between both sensors. If someone is sitting at the end of the living room (around the blue line), he's in the middle of both sensors, causing the reading to bounce between 2 locations.
Describe the solution you'd like
I would like to be able to add a penalty to specific proxies. Lower the receiver strength (if that's possible) or something like that.
Anything to correct/alter positioning.
eg. I would like to add 3 meters to the distances to all discovered devices from proxy 0a1b2c
This way, if someone is sitting in between the living room and the dining room, it'll measure it as:
'Living room: 5 meters'
'Dining room: 8 meters'
Instead of both 5  meters.
Because a picture says a thousand words:

2 Bluetooth Proxies in both corners (blue circles)
Blue line is center of the room and is when I get equal distance readings from both proxies
Red line is what I consider the border between livingroom and dining room

So what I want is to be able to make some sort of correction to alter measurements so that the red line becomes the tipping point for determining the area a beacon is in, instead of the blue line.

Howdy! I have a similar situation (and issue) in my kitchen/dining areas.
This is effectively a duplicate of #45
The change proposed in #45 will provide settings so that you can tune the ref_power per proxy, effectively letting you alter the interpreted distance on a proxy by proxy basis.
Also worth noting that when I get the trilateration support done, this should greatly improve the situation, since then we'll be calculating (effectively) a point in XY space rather than a binary yes/no by area - but that's still a bit of an unknown as to how well that will work, so in the meantime having per-proxy adjustments should help out with your issue.
To keep the issue queue a bit easier to manage, I'll mark this as a duplicate and close it, so we can track the progress just on #45.
Feel free to follow that issue for updates!

duplicate of #45

Ah, sorry I missed that one! Looking forward to seeing #45 implemented :)


Add support for UMD

Other notable changes:

dist/react-inline-svg.js is now minified with uglify
Added examples of how to use the library with RequireJS, Browserify and raw <script> tags.

Thanks Jacob!

You're most welcome :)


Reading the exact error the browser reports

When using the API, I catch - obviously - errors with .catch(error).
The problem is that while in the browser I see a specific error message, catch reports a more generic error.
E.g: if I get in Chrome "request has been blocked by CORS policy", with catch I get "Request has been terminated, Possible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc.".
Is there a way to read the specific error message from catch, i.e. from the error the API reports?

This appears to be a function of how Superagent wraps error objects. I agree that it would be preferable to return a clearer error; this would represent a BC break so I'll add a note to the 2.0 milestone to audit our transport methods for return error clarity.


Move the command description to a markdown file for man pages

Following up on some concerns from #23825 and #25615.
This changes moves the command "long description" back to a markdown file, so that we can use "`" and so that docs contributors don't have to edit source files.
It still uses the cobra man page generation for the flags and the rest of the structure, but reads the long description from a file.
I've ported over the volume commands, which were using the in-lined description, as well as all the network commands, and a couple random top-level commands.  If this looks good I can proceed with the rest as part of #26721

cc @thaJeztah  @vdemeester

I really like this! Wondering if we need the nested directories for sub commands (volumes/ls), and possibly name it partials or so (instead of src), but that's just bike shedding, no big issue.
We could even expand on this in future to re-use this for the reference docs
design LGTM, I'm moving this to code review, but /cc @vdemeester as well

Wondering if we need the nested directories for sub commands

We could use underscore separators instead of directories, but I prefer directories.

possibly name it partials or so (instead of src)

partials to me implies that you could mix them together. It's true that they aren't the complete source. I  like src, but if we want to change it, something like descriptions might be more appropriate than partials.

We could even expand on this in future to re-use this for the reference docs

Absolutely. I'm going to start setting that up now as part of #26784 I think

Thanks! Yeah, the naming is just bike-shedding, and no strong preference on my side, so 👍

ping @vdemeester PTAL

ping, rebased again

hmf needs another rebase already
ping @vdemeester, ptal !

ping @vdemeester for review - @dnephin this needs another rebase it seems :\

@dnephin could you rebase?

I've been rebasing this almost every week for a few months. I can do it again, but it seems kind of pointless unless we're ready to merge this sometime soon.

rebased again

Can we please get this merged asap?

Squashed, and build is green


Mousemove  effect

Description
Its uses vanilla javascript code to make small colorful circle to follow the movement of mouse.
Fixes:  #546
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x ] New feature (non-breaking change which adds functionality)
[ x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Checklist:

[x ] I have taken help from some online resourses
[ x] My code follows the style guidelines of this project
[ x] I have performed a self-review of my own code

ATTACH SCREEN-SHOTS / DEPLOYMENT LINK

@mayank-del first of all its not a js project
2nd its copied
@astha2412 check his other PRs if it contains Plag or not

No just tell me, everyone present here  is a beginner , they learnt something from somewhere , then why only my marks got deducted?Why?


Design for nimble spinner

😯 Problem to Solve
We need a finalized design for the nimble spinner (indeterminate progress indicator).
We currently have this design: https://xd.adobe.com/view/6fc414f4-1660-4bff-4552-3e62baaa9e1e-19f5/screen/ced36959-68d6-440f-a0cc-031bc29d7e98/
More info at #346 (You can find example of usage in this issue)
💁 Proposed Solution
Solution should address these considerations:

Flexible sizing (16x16, 32x32, 64x62, etc.)
Color for all themes (light, dark, color)
Timing
Should there be a determinate version of this progress indicator?
If we finalize this design on the more stylized version of this component (the "bit" spinner) should we create another issue for another version that is more like a standard, radial indeterminate spinner?

I've reworked our brand version of the bits-indeterminate-spinner, and included them into Nimble components.

16, 32 and 64 size examples
Multiple UI color themes
Animation timing
Determinate version TBD
Lets use this design universally for all indeterminate instances, which will help keep brand consistency.  Unless there is a proposal (now or in the future) that provides a specific use case where this 'bits' indeterminate spinner will not work; meaning it's a UX issue for the user.

Navigate: Miscellaneous > Spinner - Indeterminate
https://xd.adobe.com/view/33ffad4a-eb2c-4241-b8c5-ebfff1faf6f6-66ac/

An example of it in use:
https://user-images.githubusercontent.com/109235103/204301301-21919e10-911a-4621-94d0-903ab66ea236.mov

An example of it in use:
spinner-in-action.mov

@nate-ni
Is this an example of a current implementation you found or the new nimble one?

A current implementation done right after the NI re-brand. Just wanted to provide an example.

Final design can be found at:
https://xd.adobe.com/view/33ffad4a-eb2c-4241-b8c5-ebfff1faf6f6-66ac/screen/f3f41187-5dc1-42f5-a9b1-c808e331a3ab/

IGNORE - testing "mention" notifications

IGNORE - testing "mention" notifications @nate-ni

IGNORE - testing "mention" notifications @nate-ni

IGNORE - testing "mention" notifications @nate-ni

IGNORE - testing "mention" notifications @nate-ni


"Cotu" is listed in the drop-down menu

Description:
"Cotu" is listed in the drop-down menu alongside its corresponding county and commune, according to the law
Precondition:
The website is up an running.

Step 1
Type "Cotu" in the search bar.

Expected results
The location is listed in the drop-down menu as "Cotu, Argeș (Cuca)".


Wrong type annotation generated in the interface file

Original discussion:
https://forum.rescript-lang.org/t/missing-type-annotation-from-generated-interface-file/5065
Not sure if this is a bug or not but when I generated an interface file using the vscode extension, it converted this type:
type tokenType = | @as("bearer") Bearer

To this type:
type tokenType = Bearer

Produced this error:
Type declarations do not match:
  type tokenType = Bearer
is not included in
  type tokenType = Bearer
The internal representations for case Bearer are not equal.

@cristianoc see any easy way of supporting this?

The information should be extracted from the types, assuming it's still available.
It should be available somewhere given the type error.
A first step would be fixing the compiler's type error to show the correct representation. Perhaps if the fix is to the printer for types, then that's the only fix required.


Which apps use Java-WebSocket?

Hello,
How many apps that use Java-WebSocket? Would you show me popular ones?
Thanks!!!

Hello @hattie0312,
personally I don't know any app, which is using this lib.
But you can check out maven, where you see which artifacts use this lib.
I e.g. use this lib for a twitch bot as well as offering a dashboard for this bot.
Greetings
marci4

I believe the dev of http://erth.io has said that they're using this lib for the game

Hello @marci4 ,
Thanks for your reply! But it seems not useful for me.
We want to use your lib in our android project, but aren't sure if it works fine in android app.
Greetings
Hattie

Thanks.


[BUG] NVIDIA Public key rotation

Describe the bug
NIVIDA recently rotated public keys and using a rapids base image such as causes an error during docker build

#5 3.599 W: GPG error: https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64  InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A4B469963BF863CC
--
  | #5 3.599 E: The repository 'https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64  InRelease' is not signed.
  | #5 ERROR: executor failed running [/bin/bash -c apt-get update --fix-missing && apt-get install -y curl figlet]: exit code: 100

Expected behavior
Successful build
Additional context
As a workaround adding
RUN wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/cuda-keyring_1.0-1_all.deb
RUN dpkg -i cuda-keyring_1.0-1_all.deb

RUN sed -i '/developer\.download\.nvidia\.com\/compute\/cuda\/repos/d' /etc/apt/sources.list.d/*
RUN sed -i '/developer\.download\.nvidia\.com\/compute\/machine-learning\/repos/d' /etc/apt/sources.list.d/*

to the docker file helps.
Is there anything that can be changed in the rapids image to account for the nvida key rotation?

thanks so much @ajschmidt8
the image is rapidsai/rapidsai-core:22.04-cuda11.0-runtime-ubuntu20.04-py3.8 , and the commands that fail are both
docker-compose and docker build -f ./Dockerfile.gpu
the dockerfile has the step RUN apt-get update --fix-missing && apt-get install -y curl figlet, and  where it fails with the public key issue
#4 3.459 W: GPG error: https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64  InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A4B469963BF863CC
#4 3.459 E: The repository 'https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64  InRelease' is not signed.
------
executor failed running [/bin/bash -c apt-get update --fix-missing && apt-get install -y curl figlet]: exit code: 100

@martham93, I see. We fixed this issue in our nightly containers, but not the stable containers. I will make sure we get a fix for the stable images out. The fix is below if you'd like to add it to your Dockerfile now:
apt-key adv \
  --fetch-keys "https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/$(uname -p)/3bf863cc.pub"

awesome thanks so much! @ajschmidt8


ApplicationInsights Fails to Configure

With this configuration:
var appInsights = require("applicationinsights"); appInsights.setup();// assuming ikey is in env var appInsights.start();
in my node app, I received a 500 error due to this:

2018-10-14T20:46:31  Welcome, you are now connected to log-streaming service.

Sun Oct 14 2018 20:47:01 GMT+0000 (Coordinated Universal Time): Application has thrown an uncaught exception and is terminated:
Error: 30912:error:140740BF:SSL routines:SSL23_CLIENT_HELLO:no protocols available:openssl\ssl\s23_clnt.c:283:
at CleartextStream._pusher (tls.js:508:24)

at CleartextStream._push (tls.js:334:25)

at SecurePair.cycle (tls.js:734:20)

at Array.0 (tls.js:660:10)

at EventEmitter._tickCallback (node.js:190:38)

ApplicationInsights:Sender [ 'Ingestion endpoint could not be reached. This batch of telemetry items has been lost. Use Disk Retry Caching to enable resending of failed telemetry. Error:',
{ [Error: socket hang up] code: 'ECONNRESET' } ]
2018-10-14T20:48:31  No new trace in the past 1 min(s).

Thanks, Osvaldo.  You're suspicions were right.  I sourced the error to another API.  thanks!


Multi Tenant Subscriptions not loading in UI

I have installed and configured AzTS as a multi-tenant scanner, using a central MI with Active Directory. I followed the instructions here: instructions
I then onboarded multiple tenant subscriptions for scanning. One of which is the subscription on which AzTS is installed. All the relevant data is being loaded into the storage bucket and log analytics, so the subscriptions of each tenant are being scanned correctly. However, when anyone logs in to the UI, they can not see any of the scan data or subscription data from any of the tenants except the one on which AzTS is installed. Only that subscription is listed in the dashboard with its scan data, none of the other onboarded tenants.
I followed the appropriate API steps for onboarding and when I do an API call to check the subscription statuses it returns as enabled.
I also made sure that whoever is logging in to the UI has the permissions in Azure AD on each tenant account to see the relevant tenant subscriptions listed.
One other thing that could be of help, is when I do an API call for onboarding or getting tenant details, the request goes through successfully. However, when I do an API call for getting compliance status or requesting a scan it returns this message, even on the subscription that AzTS is installed on and shows in the dashboard:
Could not find any subscription against your login. Please validate, you have [ Owner, Contributor, ServiceAdministrator, CoAdministrator, AccountAdministrator, Security Reader, Security Admin, CSEO DevOps Role, SCIM DevOps Role]  access on subscriptions
I am a owner and contributor on the subscription and in Azure AD, I am a global admin and privileged admin.
What could the issue be, any help would be highly appreciated as I have been struggling with this for a while now.

We are also facing the same issue.
Could anyone please help us to fix the problem? Attached is the screenshot for reference.

Hi Tian, We had call and mail thread for this issue and provided insights on this issue. To summarize, once, we have AzTS installed in a subscription and have native users (users created in that tenant) given access to the subscriptions in that tenant, then we can proceed to invite these native users as guest users to another tenant. These guest users (guest to the other tenant and not the host tenant) should be then given appropriate access to subscriptions in that tenant. Closing thread here.  Please feel free to reach out again if needed


Remote Tools Component name

Hi
I can't find the Component Name of the "Remote Tools" to be able to download and package them using the Visual Studio installer. They are listed here:
https://docs.microsoft.com/en-us/visualstudio/debugger/remote-debugging?view=vs-2019#download-and-install-the-remote-tools
But no reference on the Component listing page.
Regards
Andy Knowles
[Enter feedback here]

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

ID: a6f80d9f-168b-e3cb-6499-e03a44206826
Version Independent ID: 4b235b0d-1436-0a36-ef55-f76ba8d95bd1
Content: Visual Studio workload and component IDs
Content Source: docs/install/workload-and-component-ids.md
Product: visual-studio-windows
Technology: vs-installation
GitHub Login: @anandmeg
Microsoft Alias: meghaanand

@andykn -- Andy, thank you for your feedback.  Please consider these resources:

Visual Studio on Microsoft Q&A
Visual Studio MSDN Forum
Stack Overflow
Reddit

@anandmeg -- Megha, please look into this issue.

#reassign @christineruana

Hi Christine
I'd not realised that the Remote Tools was a separate download from Visual Studio as the 2019 Download link goes to the general Visual Studio 2022 downloads page whereas the older ones link direct to the relevant download link for the Remote Tools specifically.
Regards
Andy

Perhaps change the Visual Studio 2019 Remote Tools link from:
https://visualstudio.microsoft.com/downloads#remote-tools-for-visual-studio-2019
To:
https://my.visualstudio.com/Downloads?q=remote tools visual studio 2019

@andykn, thanks for your feedback. We've updated the link in the doc, the changes should be live later today.
Let us know if you have any other feedback. Thanks again!


Prepare for golangci-lint 1.46

See individual commits for details.

/cc @dfarrell07 @tpantelis

/cherrypick release-2.5


Fix native_snippets for vim.snippet api changes

According to this commit #2856 of neovim , fix native_snippets.

Thanks!


Docker Issues Windows

Trying to docker build on windows.
Used this command: C:\Users\admin\Github\xrx-sample-apps\patient-information-app>docker-compose up --build
Gor this error
` => ERROR [xrx-client builder 2/2] RUN npm run build                                                                                11.6s
=> [xrx-tts] resolving provenance for metadata file                                                                                0.1s
=> [xrx-stt] resolving provenance for metadata file                                                                                0.0s
=> [xrx-reasoning] resolving provenance for metadata file                                                                                0.0s

[xrx-client builder 2/2] RUN npm run build:
0.801
0.801 ><EMAIL_ADDRESS>prebuild
0.801 > cd ../xrx-core/react-xrx-client && npm install && npm run build
0.801
4.328
4.328 added 9 packages, and audited 10 packages in 3s
4.329
4.329 found 0 vulnerabilities
4.465
4.465 ><EMAIL_ADDRESS>build
4.465 > tsc
4.465
5.705
5.705 ><EMAIL_ADDRESS>build
5.705 > next build
5.705
6.212 Attention: Next.js now collects completely anonymous telemetry regarding usage.
6.212 This information is used to shape Next.js' roadmap and prioritize features.
6.212 You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
6.212 https://nextjs.org/telemetry
6.212
6.263   ▲ Next.js 14.2.3
6.264
6.319    Creating an optimized production build ...
11.34 Failed to compile.
11.34
11.35 ./src/app/page.tsx
11.35 Module not found: Can't resolve './components/pre-interaction-widget/PreInteractionComponent'
11.35
11.35 https://nextjs.org/docs/messages/module-not-found
11.35
11.35
11.35 > Build failed because of webpack errors

failed to solve: process "/bin/sh -c npm run build" did not complete successfully: exit code: 1`

@monkeydust: Sorry that you're having trouble with it on Windows. We will have a look and get back to you shortly.

` => ERROR [xrx-client builder 2/2] RUN npm run build                                                                           31.4s

[xrx-client builder 2/2] RUN npm run build:
1.011
1.011 ><EMAIL_ADDRESS>prebuild
1.011 > cd ../xrx-core/react-xrx-client && npm install && npm run build
1.011
4.173
4.173 added 9 packages, and audited 10 packages in 3s
4.176
4.176 found 0 vulnerabilities
4.579
4.579 ><EMAIL_ADDRESS>build
4.579 > tsc
4.579
9.339
9.339 ><EMAIL_ADDRESS>build
9.339 > next build
9.339
11.36 Attention: Next.js now collects completely anonymous telemetry regarding usage.
11.36 This information is used to shape Next.js' roadmap and prioritize features.
11.36 You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
11.36 https://nextjs.org/telemetry
11.36
11.60   ▲ Next.js 14.2.3
11.60
11.85    Creating an optimized production build ...
30.41 Failed to compile.
30.41
30.41 ./src/app/page.tsx
30.41 Module not found: Can't resolve './components/pre-interaction-widget/PreInteractionComponent'
30.41
30.41 https://nextjs.org/docs/messages/module-not-found
30.41
30.41
30.41 > Build failed because of webpack errors

failed to solve: process "/bin/sh -c npm run build" did not complete successfully: exit code: 1`
Tested on Windows, confirming the npm run build error. We are working on a solution.


Improve build_locally script

See README.md changes below to understand :-)

Looks good. Nevertheless, please consider using a more verbose PR description ;-)

Next time I will copy paste the README changes into the description then!

How can I trigger mergify to backport to foxy? I think this is relevant there


iOS 14 warning CDEObjectChange.propertyChangeValues is using a nil or insecure value

Hello,
After upgrading to Xcode 12 i'm getting this warning
Ensembles/Framework/Resources/CDEEventStoreModel.xcdatamodeld/CDEEventStoreModel_2.xcdatamodel:CDEObjectChange.propertyChangeValues: warning: CDEObjectChange.propertyChangeValues is using a nil or insecure value transformer. Please switch to NSSecureUnarchiveFromDataTransformerName or a custom NSValueTransformer subclass of NSSecureUnarchiveFromDataTransformer [2]
Is it safe to leave it as it is?

Yes, this should be safe. It has actually been there for a year or more.
We have some changes in the master branch to fix this, but there is no release yet. It is just a warning though, so no danger.

ok thank you @drewmccormack will close the issue.


Publication cover not working

I've created a nice background for my site header and uploaded it as publication cover - but it's simply not working.

I'd expect this to be the background in this area, like in Casper:

But whatever I try, the publication cover is simply ignored.

Hey @jacotec, publication cover is an optional setting as a large background image is great for some themes. Headline's homepage was designed to be clean sections of news feed and doesn't use cover image on its homepage.


DOCS: Update docs to indicate powershell scripts only

Docs still reference being able to generate .sh scripts. Since we implemented parallel support, generate-script only supports outputting a powershell script.

https://github.com/github/docs-early-access/pull/118


Uncaught Error: Class 'PhpOption\None' not found in ..../EnvConstAdapter.php:33

Hi,
By transferring my Laravel7 project to another shared host, I had some trouble with the composer, i.e. composer.phar. By installing it via ssh I got an Fatal Error.
Can you help me with following problem:

What does it mean. Where I have to fix it?
Thank you very much for your helps!
Best regards, Cruise Lee

It looks like your composer install failed. It's not related to this package. :)

I'd recommend asking around on some forums if you are unable to solve this on your own. Alternatively, I can provide some paid support. Just let me know.

Ok, thank you. I will come back to you... I try further to solve it by my own for more learning effects.

@CruiseLee-ZH Were you able to get to the bottom of this?


Repo needs a software license

This repo lacks a proper open source software license.  Creative Commons licenses aren't meant for code, and the CC folks suggest we use FOSS licenses: https://creativecommons.org/about/program-areas/software/

@sbendar We've been going with Apache-2.0 elsewhere.  If that's the plan for this repository too, I'd be happy to prepare the PR (it'll only take a few minutes).

Repository has a license now; closing this issue.


Move InitConfig() to endpoint to allow customization of addt'l service names to avoid conflict

Is your feature request related to a problem? Please describe.
Currently, the initial policy is loaded from within the API package.  This loads on init every time and is static.  This would cause a 2nd service to assume the same identity as the 1st.  By making this a configurable endpoint, we can begin to scale additional services without conflict.
Describe the solution you'd like
I don't know -- ask @AndrewCopeland.

We have moved this to the pkiaas init command


Add support of pure IEnumerable classes (instead of ICollection)

Currently, it seems like that it serializes classes that implement IEnumerable well, but requires ICollection to be implemented to restore.
In fact, it does not need all methods of ICollection at all. void Add(T) method or a constructor that accepts IEnumerable would be sufficient to implement restoration.

That's true. I'll see what I can do when I have a bit of spare time. Wouldn't mind a PR though if you give it a try.

That's true. I'll see what I can do when I have a bit of spare time. Wouldn't mind a PR though if you give it a try.

Good to know. Definitely, I will.

Good to know. Definitely, I will.

Ok, I have a solution in my copy of repo
https://github.com/nikolaygekht/Binaron.Serializer
The cost at this moment is more slow restoration:
Original benchmark:
|              Method |        Mean |     Error |    StdDev |
|-------------------- |------------:|----------:|----------:|
|   Binaron_Serialize |    12.91 ms |  0.174 ms |  0.163 ms |
| Binaron_Deserialize |    11.37 ms |  0.224 ms |  0.342 ms |
                           ^^^^^^^
|      Json_Serialize | 1,025.35 ms | 16.210 ms | 15.163 ms |
|    Json_Deserialize | 1,746.62 ms | 19.394 ms | 17.192 ms |

|              Method |        Mean |     Error |    StdDev |
|-------------------- |------------:|----------:|----------:|
|   Binaron_Serialize |    13.09 ms |  0.246 ms |  0.242 ms |
| Binaron_Deserialize |   97.06 ms |  0.717 ms |  0.599 ms |
                           ^^^^^^^
|      Json_Serialize | 1,012.36 ms |  9.614 ms |  8.993 ms |
|    Json_Deserialize | 1,772.35 ms | 14.614 ms | 13.670 ms |

It is inevitable for IEnumerable, but I'll check whether it could be avoided for ICollection without writing tons of "ifs"

Ok, I have a solution in my copy of repo
https://github.com/nikolaygekht/Binaron.Serializer
The cost at this moment is more slow restoration:
Original benchmark:
|              Method |        Mean |     Error |    StdDev |
|-------------------- |------------:|----------:|----------:|
|   Binaron_Serialize |    12.91 ms |  0.174 ms |  0.163 ms |
| Binaron_Deserialize |    11.37 ms |  0.224 ms |  0.342 ms |
                           ^^^^^^^
|      Json_Serialize | 1,025.35 ms | 16.210 ms | 15.163 ms |
|    Json_Deserialize | 1,746.62 ms | 19.394 ms | 17.192 ms |

|              Method |        Mean |     Error |    StdDev |
|-------------------- |------------:|----------:|----------:|
|   Binaron_Serialize |    13.09 ms |  0.246 ms |  0.242 ms |
| Binaron_Deserialize |   97.06 ms |  0.717 ms |  0.599 ms |
                           ^^^^^^^
|      Json_Serialize | 1,012.36 ms |  9.614 ms |  8.993 ms |
|    Json_Deserialize | 1,772.35 ms | 14.614 ms | 13.670 ms |

It is inevitable for IEnumerable, but I'll check whether it could be avoided for ICollection without writing tons of "ifs"

That's 8.5x slower than original even when you're not using the feature. For this to work, we need to make sure it only pays the penalty when this particular feature is required. The data structures for caching all of the object creation should already be there - you just need to extend it to make it support this new way of object activation and population. This way, we should have no adverse effect on performance.

That's 8.5x slower than original even when you're not using the feature. For this to work, we need to make sure it only pays the penalty when this particular feature is required. The data structures for caching all of the object creation should already be there - you just need to extend it to make it support this new way of object activation and population. This way, we should have no adverse effect on performance.

That's a good point. If you don't mind, I would like to discuss it a little bit more. That was my intent to go this way. Unfortunately, either I didn't get something or it is not possible right now. And it is true for both issues. The problem is that it adds to cache relying on a supposition that the ICollection interface is supported (and that default constructor exists). The actual validation of this supposition happens only during the execution.
So, there are two ways to work here:

Rewrite the logic of caching, making checks such as "is ICollection or IEnumerable" supported or "is default constructor available" before the appropriate reader is created and cached.
Make execution logic different depending on the situation (the way I went). Of course, because it involves additional checks, it has its price.

I understand the logic why the first way is preferable, but I don't see how to do it without refactoring the whole caching logic, which is, unfortunately, deeply coupled with other components. So, I am open to your suggestions if you see any less invasive way to do it.
p.s. Meanwhile, I optimized the current option, it still has its price, but way less now than before. Further optimization is to duplicate a few dozen ifs in GenericReader.cs. (if (result is ICollection) ...) inside switch (TypeOf.TypeCode), but it would make it even more longer. To tell the truth, if we decide to go this way I would rather switch to emitting the IL code on the fly, it will have way less "repeat yourself" anti-patter without any significant price.
|              Method |        Mean |    Error |   StdDev |
|-------------------- |------------:|---------:|---------:|
|   Binaron_Serialize |    12.96 ms | 0.188 ms | 0.176 ms |
| Binaron_Deserialize |    26.82 ms | 0.303 ms | 0.284 ms |
|      Json_Serialize | 1,007.49 ms | 3.591 ms | 2.999 ms |
|    Json_Deserialize | 1,717.02 ms | 5.006 ms | 4.181 ms |

That's a good point. If you don't mind, I would like to discuss it a little bit more. That was my intent to go this way. Unfortunately, either I didn't get something or it is not possible right now. And it is true for both issues. The problem is that it adds to cache relying on a supposition that the ICollection interface is supported (and that default constructor exists). The actual validation of this supposition happens only during the execution.
So, there are two ways to work here:

Rewrite the logic of caching, making checks such as "is ICollection or IEnumerable" supported or "is default constructor available" before the appropriate reader is created and cached.
Make execution logic different depending on the situation (the way I went). Of course, because it involves additional checks, it has its price.

I understand the logic why the first way is preferable, but I don't see how to do it without refactoring the whole caching logic, which is, unfortunately, deeply coupled with other components. So, I am open to your suggestions if you see any less invasive way to do it.
p.s. Meanwhile, I optimized the current option, it still has its price, but way less now than before. Further optimization is to duplicate a few dozen ifs in GenericReader.cs. (if (result is ICollection) ...) inside switch (TypeOf.TypeCode), but it would make it even more longer. To tell the truth, if we decide to go this way I would rather switch to emitting the IL code on the fly, it will have way less "repeat yourself" anti-patter without any significant price.
|              Method |        Mean |    Error |   StdDev |
|-------------------- |------------:|---------:|---------:|
|   Binaron_Serialize |    12.96 ms | 0.188 ms | 0.176 ms |
| Binaron_Deserialize |    26.82 ms | 0.303 ms | 0.284 ms |
|      Json_Serialize | 1,007.49 ms | 3.591 ms | 2.999 ms |
|    Json_Deserialize | 1,717.02 ms | 5.006 ms | 4.181 ms |

Just in case:  A version that does not touch the old implementation at all and provides a whole new implementation for classes that do not implement ICollection, but implement Add method is in change request #33. Hope this helps.

Sorry for the late reply. I've been really busy the last week and haven't had time to look at the PRs. I'll take a look as soon as I have some spare time. The serialiser is currently used in a lot of IEnumerable properties / fields that won't be able to take a performance hit, but since it's pure IEnumerable, it can take ICollection just fine.
I haven't checked the PR but would the proposed changes slow down existing code?

Going back to the support of Collection(IEnumerable items), I think we can use existing code to create a collection first, and then have another object activator to call the c'tor with the IEnumerable param, after adding the items to the collection. I think a single check should suffice?

I haven't checked the PR but would the proposed changes slow down existing code?
Suggested changes do not slow code for the collections that implement ICollection.
In my final implementation, I left this part intact and added another specific case for IEnumerable without ICollection implementation.
In short, if before the implementation was:
if (obj is ICollection<T> xxx)
   ... initialize collection using ICollection.Add
else
   ... return empty collection

After change the implementation is
if (obj is ICollection<T> xxx)
   ... initialize collection using ICollection.Add
else if (obj is IEnumerable<T> xxx)
   ... initialize collection using reflection
else
   ... return empty collection

So, ICollections work as fast as before. Anyway, I also validated the performance running benchmarking and comparing it with the previous version.
The branch for IEnumerables, which uses reflection, is 4-6 times slower, but it affects only the classes which do not implement ICollection, i.e. classes that couldn't be deserialized at all before, so we have nothing to compare :-).
I think we can use existing code to create a collection first, and then have another object activator to call the c'tor with the IEnumerable param, after adding the items to the collection. I think a single check should suffice?
Ok, let me explain the problem I was trying to avoid by my first implementation in a little bit more details.
When the object is serialized, the serializer checks only IEnumerable interface and writes the code HEnumerable, no matter does the collection support ICollection or not.
When the object is deserealized, the reader checks only HEnumerable  code and then does not do any check expecting that the object implements ICollection. The first check happens all the way down the call chain, in GenericReader.ReadHEnumerable method.
The problem is that when we know that the object is not ICollection, we are all the way in the large switch by the type of the collection element. In other words, there are dozens locations where the code checks whether ICollection is implemented.
So, the problem was not to implement the collection deserialization but to avoid writing other dozens of branches, now for IEnumerable/reflection. Unfortunately, as my first attempt demonstrated, it had a cost of 2x slow down.
There were two options I hoped would help me to avoid this massive replication of the code:
Option 1) Implement a new serialization code for IEnumerable that do not support ICollection.
Option 2) Implement the type check in Deserializer.ReadValue for HEnumerable (but it will be ugly as it will create very specific way to process this particular typecode comparing to other types). I am strongly against such irregularities in the implementation.
However, after reviewing both options, I realized that I would have to replicate the collection creation code for each type of collection element, so no real code simplification would happen in fact.

I'd justify performance over DRY at this level. If there's template metaprogramming like C++, we could avoid a lot of this code duplicate.
I think I understand the problem - that is, we create a collection regardless of whether the concrete class only implements IEnumerable and not ICollection and discard the collection eventually because we can't assign that to the concrete class which only implements IEnumerable (let's call this CustomList), correct?
What I proposed was that we don't change the existing code which creates the List (collection), but we make the code create a CustomList (via object activator, of course) and pass in our List as the ctor's single param at the point where we need to assign it to the target object. Obviously, we'd need to cache CustomList object activator somewhere (perhaps the same ObjectActivator dictionary, making it return both an ImmediateObjectActivator func and a DeferredObjectActivator func - where in existing cases we have DeferredObjectActivator = null).
Hope that makes sense?

Hm...
This makes sense for me if we speak the other issue (#32), for the read-only structures, where deferred activator would read the state into expando object and then find the best matching constructor as Json deserializer do. So, I can recognize the activator dictionary for ordinary objects, but not for the list.
Looking at the call chain of collection deserialization, I can't identify the place where DefferedObjectActivator may come into play. Right now the collection of the concrete type is created by the call of GenericReader.CreateResultObject<T, TElement>() which calls EnumerableResultObjectCreator<T, TElement>.Creator.Create(). E.g. as in GenericReader.cs:837. This value will be filled and returned without any further assignment or conversions. So, simply I don't see the place where a DefferedObjectActivator may be actually called.

Merge request #37 is opened instead of the old one.

New implementation for IEnumerable deserialization (as discussed in old request)
Fixes for nullable types (bugs accidently found during debugging the new implementation :-))

I confirm that it is fixed in current master


.text-center inside th

By using <table class="table text-center"> the text is only centered in <td> but not in <th>.
Happens at the latest version:
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css">

reboot.scss is the culprit:
th {
    text-align: left;
}

It's the same behavior that exists in v3. You should add the .text-{ALIGN} class to the td or th.

adding a class to the td or th is always possible and also easy. just ask if it make sense that the td acts as child of the table used center and the th not.

@thomasniederberger here is a great discussion on the matter:
http://stackoverflow.com/a/11321700/2564886
Since the th element is so opinionated from browser to browser this issue is a bit complicated. I do think Bootstrap is being a bit too opinionated itself by applying text-align: left in the first place -- even normalizer.css didn't do that. However, this has been the standard convention in Bootstrap for a while.
That being said, one way to handle this issue might be with an extra class such as .table-align-left. This would force the behavior of left aligning the th, and td elements -- kind of an opt-in method of left aligning the th.  I think this goes against the philosophy of Bootstrap however. Bootstrap is an easy way of implementing common design patters. And, left aligning the th is a common design pattern.

Near as I can tell, there aren't any differences in th styles across browsers. The intent in left-aligning it is to match the table cells. I'm unsure how best I'd like to proceed on this though.

I would center it. Lets leave the technical aspect on the side, out of a typograpic view, it doesn't make sence to have centred elements in the table but the headers are not. Well thats my opinion :).

Fix inbound at #22858.


Installation fails with UnsatisfiableError: The following specifications were found to be incompatible with each other

Following the instructions at https://holoviz.org/installation.html, at step 2 I'm getting:
$  conda install -c pyviz/label/dev holoviz
Collecting package metadata (current_repodata.json): done
Solving environment: failed
Collecting package metadata (repodata.json): done
Solving environment: failed

UnsatisfiableError: The following specifications were found to be incompatible with each other:

  - holoviz -> bokeh[version='>=1.2.0'] -> numpy[version='>=1.7.1'] -> blas==1.0=mkl
  - holoviz -> bokeh[version='>=1.2.0'] -> numpy[version='>=1.7.1'] -> libgcc-ng[version='>=7.3.0']
  - holoviz -> bokeh[version='>=1.2.0'] -> numpy[version='>=1.7.1'] -> libgfortran-ng[version='>=7,<8.0a0']
  - holoviz -> bokeh[version='>=1.2.0'] -> numpy[version='>=1.7.1'] -> mkl[version='>=2019.3,<2020.0a0'] -> intel-openmp
  - holoviz -> bokeh[version='>=1.2.0'] -> numpy[version='>=1.7.1'] -> python[version='>=3.6,<3.7.0a0'] -> libstdcxx-ng[version='>=7.3.0']
  - holoviz -> cffi
  - holoviz -> dask[version='>=0.18.2'] -> pandas[version='>=0.21.0']
  - holoviz -> dask[version='>=0.18.2'] -> toolz[version='>=0.7.3']
  - holoviz -> datashader[version='>=0.7.0'] -> param[version='>=1.6.0']
  - holoviz -> datashader[version='>=0.7.0'] -> pyct -> conda[version='>=4.4'] -> conda-build[version='>=3'] -> beautifulsoup4 -> soupsieve -> backports.functools_lru_cache
  - holoviz -> datashader[version='>=0.7.0'] -> pyct -> conda[version='>=4.4'] -> conda-build[version='>=3'] -> conda-verify[version='>=3.1.0'] -> backports.tempfile -> backports.weakref
  - holoviz -> datashader[version='>=0.7.0'] -> pyct -> conda[version='>=4.4'] -> conda-build[version='>=3'] -> conda-verify[version='>=3.1.0'] -> future
  - holoviz -> datashader[version='>=0.7.0'] -> pyct -> conda[version='>=4.4'] -> conda-build[version='>=3'] -> filelock
  - holoviz -> datashader[version='>=0.7.0'] -> pyct -> conda[version='>=4.4'] -> conda-build[version='>=3'] -> glob2[version='>=0.6']
  - holoviz -> datashader[version='>=0.7.0'] -> pyct -> conda[version='>=4.4'] -> conda-build[version='>=3'] -> patchelf
  - holoviz -> datashader[version='>=0.7.0'] -> pyct -> conda[version='>=4.4'] -> conda-build[version='>=3'] -> pkginfo
  - holoviz -> datashader[version='>=0.7.0'] -> pyct -> conda[version='>=4.4'] -> conda-build[version='>=3'] -> py-lief -> liblief==0.9.0=h7725739_2
  - holoviz -> datashader[version='>=0.7.0'] -> pyct -> conda[version='>=4.4'] -> conda-env[version='>=2.6']
  - holoviz -> datashader[version='>=0.7.0'] -> pyct -> conda[version='>=4.4'] -> conda-package-handling[version='>=1.3.0'] -> libarchive[version='>=3.3.3'] -> lz4-c[version='>=<IP_ADDRESS>,<1.9.0a0']
  - holoviz -> datashader[version='>=0.7.0'] -> pyct -> conda[version='>=4.4'] -> conda-package-handling[version='>=1.3.0'] -> libarchive[version='>=3.3.3'] -> lzo[version='>=2.10,<3.0a0']
  - holoviz -> datashader[version='>=0.7.0'] -> pyct -> conda[version='>=4.4'] -> conda-package-handling[version='>=1.3.0'] -> python-libarchive-c
  - holoviz -> datashader[version='>=0.7.0'] -> pyct -> conda[version='>=4.4'] -> conda-package-handling[version='>=1.3.0'] -> tqdm
  - holoviz -> datashader[version='>=0.7.0'] -> pyct -> conda[version='>=4.4'] -> pycosat[version='>=0.6.3']
  - holoviz -> datashader[version='>=0.7.0'] -> pyct -> conda[version='>=4.4'] -> ruamel_yaml[version='>=0.11.14,<0.16']
  - holoviz -> datashader[version='>=0.7.0'] -> pyct -> doit -> pyinotify
  - holoviz -> datashader[version='>=0.7.0'] -> scikit-image -> matplotlib[version='>=2.0.0'] -> subprocess32
  - holoviz -> datashader[version='>=0.7.0'] -> scikit-image -> networkx[version='>=1.8']
  - holoviz -> datashader[version='>=0.7.0'] -> scikit-image -> scipy[version='>=0.17']
  - holoviz -> datashader[version='>=0.7.0'] -> xarray[version='>=0.9.6']
  - holoviz -> fastparquet[version='>=0.2.1']
  - holoviz -> holoviews[version='>=1.12.3'] -> ipython[version='>=5.4.0']
  - holoviz -> holoviews[version='>=1.12.3'] -> notebook
  - holoviz -> holoviews[version='>=1.12.3'] -> panel
  - holoviz -> hvplot[version='>=0.4.0']
  - holoviz -> ipywidgets
  - holoviz -> netcdf4
  - holoviz -> phantomjs
  - holoviz -> python-snappy
  - holoviz -> rise
  - holoviz -> selenium
  - holoviz -> streamz

I was able to successfully install this (prior to the rename to holoviz if it helps). Using Ubuntu 16.04, conda 4.7.5

I'm also having the same issue using lubuntu 18.04 and conda 4.7.5

After doing some digging, I explicitly limited channels and I think I isolated it to a requirement that seems to be specified by the version of numpy bokeh is requiring
conda install --override-channels -c pyviz -c conda-forge holoviz
Collecting package metadata (current_repodata.json): done
Solving environment: failed
Collecting package metadata (repodata.json): done
Solving environment: failed
PackagesNotFoundError: The following packages are not available from current channels:

holoviz -> numpy[version='>=1.16.4'] -> liblapack[version='>=3.8.0,<3.9.0a0'] -> libgfortran-ng[version='>=7,<8.0a0']

I think there is something weird going on with the environment solver, I installed python=3.6 as directed first, but then followed that with installing numpy separate from holoviz, like so:
conda create -n holoviz-tutorial python=3.6
conda activate holoviz-tutorial
conda install --override-channels -c pyviz -c conda-forge numpy=1.16
conda install --override-channels -c pyviz -c conda-forge holoviz
Then conda was able to successfully solve the environment.

@meverson86 which version of conda were you using?  I just tried your workaround above using conda 4.7.5 and I'm still seeing the PackagesNotFound error in the previous comment

holoviz -> numpy[version='>=1.16.4'] -> liblapack[version='>=3.8.0,<3.9.0a0'] -> libgfortran-ng[version='>=7,<8.0a0']

Looks like conda installed numpy 1.16.2 when I ran:

conda install --override-channels -c pyviz -c conda-forge numpy=1.16

With conda 4.7.5, I'm able to get an environment to solve using either:

conda create -n holoviz-tutorial -c pyviz -c defaults -c conda-forge  python=3.6 'numpy>=1.16.4' holoviz

or (with conda-forge as higher priority)

conda create -n holoviz-tutorial -c pyviz -c conda-forge -c defaults python=3.6 'numpy>=1.16.4' holoviz

However, there is definitely something strange going on with conda 4.7.5.  It downloads all of the packages and then complains that the '.conda' new format packages are corrupt.
I reverted back to conda 4.4.7 (nothing special about the version, it's just what my vm had installed this morning before I took a snapshot) and I was able to get holoviz to install using:

conda create -n holoviz-tutorial --override-channels -c pyviz -c defaults -c conda-forge  python=3.6  holoviz

Now that I have a working install for tomorrow's tutorial, I'll try go back to looking into what conda 4.7.5 is doing.

I think there's two fixes here, either downgrading to an earlier conda or installing python=3.7. We'll try to have guidance on this asap.

@timsnyder Could you try using the following command using conda 4.7.5 and see if that works for you?
conda create -n test_env --override-channels -c pyviz -c defaults -c conda-forge python=3.6 holoviz

@philippjfr So I believe the root issue is the phantomjs version in the pyviz channel.
◰³ base  ~  conda create -n holoviz_test -c pyviz holoviz=0.1.2             (base) 847ms  Sun 07 Jul 2019 06:27:52 PM EDT
Collecting package metadata (current_repodata.json): done
Solving environment: failed
Collecting package metadata (repodata.json): done
Solving environment: failed
UnsatisfiableError: The following specifications were found to be incompatible with each other:

bokeh[version='>=1.2.0'] -> pillow[version='>=4.0'] -> freetype[version='>=2.9.1,<3.0a0']
datashader[version='>=0.7.0'] -> pillow[version='>=3.1.1'] -> freetype[version='>=2.9.1,<3.0a0']
holoviews[version='>=1.12.3'] -> bokeh[version='>=1.1.0,<2.0.0'] -> pillow[version='>=4.0'] -> freetype[version='>=2.9.1,<3.0a0']
hvplot[version='>=0.4.0'] -> bokeh[version='>=1.0.0'] -> pillow[version='>=4.0'] -> freetype[version='>=2.9.1,<3.0a0']
matplotlib==3.0.3 -> freetype[version='>=2.9.1,<3.0a0']
panel[version='>=0.6.0'] -> bokeh[version='>=1.1.0'] -> pillow[version='>=4.0'] -> freetype[version='>=2.9.1,<3.0a0']
phantomjs -> fontconfig=2.12 -> freetype[version='>=2.8,<2.9.0a0']
scikit-image -> imageio[version='>=2.1.0'] -> pillow -> freetype[version='>=2.9.1,<3.0a0']

looks like the phantomjs 2.1.1 build 0 version in the pyviz channel pins the fontconfig version to 2.12.*, whereas the 2.1.1 build 1 in conda-forge allows it to be any version.  This is why adding the conda-forge channel appeared to fix the issue, and probably didn't pop up for folks if they had conda-forge specified in their .condarc file.

I believe @jlstevens updated the pyviz channel's phantomjs with the one from conda-forge, which should make it work the same with or without that channel.  That doesn't mean it's the right thing to do, as presumably there was a reason it pinned fontconfig before, but at least it gets things working. Please reopen if you have any issues again.


L510E

Hi,
I note you've written it should be easy to add support for the L510E bulb. I have one of these and would be happy to test if you update the package to support.

Hello,
can't promise anything, but I will try to find the time.
Could you for now check if the plugin can connect with the lightbulb? And does, maybe, the on/off functionality work?

@parryg I did some progress.
Could you check the beta branch and let me know if you have any issues?
You can install it with the following command:
npm install git://github.com/apatsufas/homebridge-tapo-p100git#beta -g
For the Lightbulb to be recognised as such you will have to update the config and add the "type" property with value "light". I have also updated the readme in the brach to include this option.
Let me know if you have any questions and how it is working.

Hi,
The command doesn't work for me:
npm ERR! code 128
npm ERR! command failed
npm ERR! command git ls-remote<EMAIL_ADDRESS>npm ERR<EMAIL_ADDRESS>Permission denied (publickey).
npm ERR! fatal: Could not read from remote repository.
npm ERR!
npm ERR! Please make sure you have the correct access rights
npm ERR! and the repository exists.

Sorry my bad. Try:
npm install -g https://github.com/apatsufas/homebridge-tapo-p100.git#beta -g

Thank you. I have installed at configured, however I get stuck in a loop and this is repeated in the log:
rror: The requested platform 'TapoP100' was not registered by any plugin.
at PluginManager.getPluginForPlatform (/usr/local/lib/node_modules/homebridge/src/pluginManager.ts:224:15)
at /usr/local/lib/node_modules/homebridge/src/server.ts:387:37
at Array.forEach ()
at Server.loadPlatforms (/usr/local/lib/node_modules/homebridge/src/server.ts:374:27)
at Server.start (/usr/local/lib/node_modules/homebridge/src/server.ts:153:29)
at cli (/usr/local/lib/node_modules/homebridge/src/cli.ts:80:10)
at Object. (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)
at Module._compile (internal/modules/cjs/loader.js:1138:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)
at Module.load (internal/modules/cjs/loader.js:986:32)
at Function.Module._load (internal/modules/cjs/loader.js:879:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
at internal/main/run_main_module.js:17:47

Can you send me your config?

I think I found a better way to share with you the beta.
Try uninstalling the plugin and then use the following command to install it:
npm install -g<EMAIL_ADDRESS>Sorry for the inconvenience, I'm just getting the hang of this :)

Works perfectly now, bulb turns on and off and I can control the brightness as well, thank you!


Deploying a Cordova app to iOS Devices results in error cod 65

I have posted the same issue on stackoverlfow, no solution yet
http://stackoverflow.com/questions/40458041/deploying-a-cordova-app-to-ios-devices-results-in-error-cod-65?noredirect=1#comment68200926_40458041

If you are still facing this issue, please repost an issue on https://github.com/microsoft/remotebuild as this repository is deprecated.


Git sidebar statuses do not update with git.autofetch disabled

Many users have requested that you turn off git.autofetch by default because it updates local repositories without the user's permissions. This feature flag appears to be coupled to the entire Git setup in VSCode. For example I noticed that the new Git file sidebar doesn't update with git.autofetch unless you go to the git files tab and hit the "refresh" button.
Please decouple git.autofetch from the Git functionality of VSCode, and make it only do what the name says it does, update the repository without asking the user. The sidebar statuses and files changed list should obviously update automatically without git.autofetch, which is unrelated to those features.

Hmm, I'm not sure what triggers it to update (saving the file does nothing), but looks like I was incorrect, and it eventually updates (though i'm not sure when)


Convert form validation to use Promises.

Issue: #320

Looks nice! (except that it reminds me what a mess I made with the validateInput method... - one step at a time)
Can I add you as a contributor in package.json? If that's okay, please let me know if you'd like me to add the email address you are using in your commits (or none, or another).

Thanks, that would be very nice.  Please don't list an email address.


Lanczos implementation not useful in practice

There are multiple issues with the current implementation of the Lanczos method for the Hermetian eigenvalue problem, which makes it actually unusable in practice:

No re-orthogonalization: due to loss of orthogonality of the Krylov basis vectors, eigenvalues are detected multiple times (and therefore some aren't found):

> srand(1)
> A = rand(100, 100)
> A = A + A'
> eigvals(A)[end - 10 : end]
11-element Array{Float64,1}:
   5.74519
   5.88254
   6.3581
   6.40497
   6.56969
   6.83121
   7.01442
   7.21099
   7.48439
   7.58956
 100.818
> eiglancz(A)[end - 10 : end]
11-element Array{Float64,1}:
   7.48439
   7.58956
 100.818
 100.818
 100.818
 100.818
 100.818
 100.818
 100.818
 100.818
 100.818

The maxiter keyword is not passed on to the actual method
The stopping criterion is not useful: often you want to compute a couple eigenvalues near a target, and while other Ritz values aren't converged, the ones near the target may have. The stopping target should incorporate that.
The current implementation cannot deal with multiple eigenvalues: only one vector in the null space of (A - sI) is found, while the dimension can be larger than 1.

Fixed by #146


Add automatic release creation

Creates release after new semver tags pushed.
Fixes: #25

Looks good to me :+1:


When you create Hobby, join Hobby, then leave, it deletes the hobby? (same with event)

Might be because I own it, but it seems a bit too easy to leave right now.

In Firebase, the hobby_ids are still there under user


Mysql migration from internal MySQL databases to Azure Databases for MySQL

Changelog

Add document and scripts to migrating internal MySQL databases to Azure Databases for MySQL

@bingosummer . No, BBR is not designed for migration, it is designed for disaster recovery, its backups are intended to be restored to an environment deployed with the same configuration.


bug: Evaluating GLUE task STS-B not working

Running an evaluation of a fine-tuned BERT on STS-B task results in an error.
Steps to reproduce the behavior:

Fine-tune BERT on STS-B task
Run evaulation on the fine-tuned model on the development set of STS-B

10/10/2019 09:57:00 - INFO - nlp_architect.models.transformers.sequence_classification - Writing example 0 of 872
Traceback (most recent call last):
  File "/workspace/venv/nlp-arch/bin/nlp_architect", line 7, in <module>
    exec(compile(f.read(), __file__, 'exec'))
  File "/workspace/nlp-architect/nlp_architect/nlp_architect", line 5, in <module>
    run_cli()
  File "/workspace/nlp-architect/nlp_architect/cli/__init__.py", line 47, in run_cli
    args.func(args)
  File "/workspace/nlp-architect/nlp_architect/procedures/transformers/glue.py", line 69, in run_procedure
    do_inference(args)
  File "/workspace/nlp-architect/nlp_architect/procedures/transformers/glue.py", line 158, in do_inference
    preds = classifier.inference(examples, args.batch_size, evaluate=args.evaluate)
  File "/workspace/nlp-architect/nlp_architect/models/transformers/sequence_classification.py", line 189, in inference
    data_set = self.convert_to_tensors(examples, include_labels=evaluate)
  File "/workspace/nlp-architect/nlp_architect/models/transformers/sequence_classification.py", line 165, in convert_to_tensors
    if self.model_type in ['xlnet'] else 0)
  File "/workspace/nlp-architect/nlp_architect/models/transformers/sequence_classification.py", line 301, in _convert_examples_to_features
    label_id = label_map[example.label]
KeyError: '1'

Fixed in #95


Function IoU - Input Expectations

📚 Documentation
Changing input description to include that predictions should be an integer mask rather than raw logits [b, h, w] vs. [b, c, h, w]
If logits are provided solution runs with warning about number of classes being set incorrectly - from feeding the returned determined num_classes from get_num_classes() to stat_scores_multiple_classes() where it is called again with the now incorrect number of classes.

You can assign this to me.


How to collect update and organize python logs

Article checklist
Pre-submission checks

Please ensure that you have only one open topic suggestion (issue) + in-review article (linked pull request) at a time. This will ensure that we complete the review process in a timely manner from inception to publishing

If you have not already, please go over our Resources Page for more tips and tricks on how to improve your overall technical writing so reviews are swifter, increase the chance of a payout and provide more value to our readers.

For first-time contributors and for more details on our submission guidelines, see our Contributing Guidelines.

Formatting and structure checks

[x] Have you used the correct folder and file structure? - see Contribution Guidelines

[x] Is your article properly formatted in Markdown? - see Github Markdown guide

[x] Have you used our preferred heading structure? - H3 (###) and up

[x] Does your article follow any of the suggested structure formats? - see example formats

[x] Is your article over 750 words? - Tool: Wordcounter.net

[x] Is the article you are submitting an in-depth and unique article? Does it go beyond what is in the official docs and what is covered in other blog sites. See these articles as examples.

[x] Does your article provide enough value and detail about your topic? - Articles should be clear, accurate, and fully explained.

[x] Can your article be understood by beginners? - Assume the audience is smart but has no prior exposure to the common terminology in your article.

[x] Have you included a hero image that is 600x400 pixels and have the copyright to use it? - Tools: Pixlr Image Editor for resizing and Unsplash for Creative Commons images

Grammar & plagiarism checks

[x] Have you spellchecked and grammar checked your article? - Tools: Write&Improve - ProWritingAid - Grammarly
[x] Please place your article through a 3rd party plagiarism checker. We suggest using Quetext, this tool is free and has a daily limit. We typically accept articles with 10% or less.
[x] Have you checked your article for readability? - Tool: Hemmingway
[ ] Have you added sources for quotes and images that aren't yours?

Technical checks

[x] Are your code snippets properly formatted for syntax highlighting - see Syntax guide
[x] Have you checked your code runs correctly and you've highlighted all necessary dependencies for installation?
[x] Are the software programs and packages you're highlighting in your article up to date, using current versions and not deprecated?

Topic suggestion this closes

Remove the backticks and add the issue number below to link and close your Topic Suggestion (issue) when your article has been published (PR has been merged). See this video for more details.

This closes #4635

Finally, delete the article checklist notes in blockquotes and submit your PR. We look forward to reviewing your article.

@paulodhiambo, have polished up my article you may have a look at it when free..

Hi @kymomolly
Upon running your article through our 3rd party plagiarism checker it seemed to raise a few flags and the % was higher than we typically accept. Please see attached PDF - and revisit the article to ensure we are contributing wholly unique and original content. Be sure to see our resources page to see more info on plagiarism and what is considered as such.
How to collect update and organize python logs #5146 Copyleaks Report.pdf

@paulodhiambo, it seems some of the indicated  parts  that are highlighted are functions and cannot be changed.

@paulodhiambo, I've the required updates and I hope the article is ready to move to the next step.

@paulodhiambo, how is the progress

@kymomolly please format your code snippets

@paulodhiambo , I've done the code formatting you have a check on

@paulodhiambo, I have done the requested changes. You can have a look.

Hello @paulodhiambo , I've done the right formatting of the code snippets ,have a look.

https://github.com/section-engineering-education/engineering-education/pull/4823

@paulodhiambo
This is a duplicate PR - please keep that in mind when performing a review.

@kymomolly go through the article and rectify the grammar errors you caused when editing the article. For any help, ping me on slack. I'll be closing this article for now because it's a bit far from a polished article that can be published.

Hello @paulodhiambo , you can reopen the article. I'm with grammar fix

Hello @paulodhiambo , you can reopen the article. I'm done with grammar fix

Hello @paulodhiambo , you can reopen the article. I'm done with grammar fix

@kymomolly please move the article to the correct directory. Go through your article, I noticed you use words without checking their meaning. Please don't just through vocabulary to your article without checking the actual meaning. I will close this PR for now. Once you are done with the revisions, please open a new PR.