Failed to install VS Code update -

VSCode Version: 1.24.0
OS Version: 1709
Steps to Reproduce:

Selected upgrade from the Visual Studio Code prompt
Error was produced after removing old version
vscode-inno-updater.log

Does this issue occur when all extensions are disabled?: Yes/No  Cannot test VSCode deleted

I also had a similar issue...

VSCode Version: 1.24.1
OS: Windows 10 Pro (version 1803) - Build 17134.112

Log File:
vscode-inno-updater.log

You seem to have #47841.
Please read this comment if you can provide more detail: https://github.com/Microsoft/vscode/issues/47841#issuecomment-393101777
Please read this one to disable background updates: https://github.com/Microsoft/vscode/issues/47841#issuecomment-395017687


beam_PostCommit_Python36 - CrossLanguageSpannerIOTest - flakey failing

Use this form to file an issue for test failure
_https://ci-beam.apache.org/job/beam_PostCommit_Python36/4385/_

apache_beam.io.gcp.tests.xlang_spannerio_it_test.CrossLanguageSpannerIOTest.test_spanner_read_query
apache_beam.io.gcp.tests.xlang_spannerio_it_test.CrossLanguageSpannerIOTest.test_spanner_read_table

Initial investigation:

Error Message
RuntimeError: Pipeline BeamApp-jenkins-0921123257-8b921bc2_f20c9b92-9261-4f0b-9d6c-31732a12287b failed in state FAILED: akka.pattern.AskTimeoutException: Ask timed out on [Actorakka://flink/user/rpc/taskmanager_0#31887928] after [10000 ms]. Message of type [org.apache.flink.runtime.rpc.messages.LocalRpcInvocation]. A typical reason for AskTimeoutException is that the recipient actor didn't send a reply.
Stacktrace
self = <apache_beam.io.gcp.tests.xlang_spannerio_it_test.CrossLanguageSpannerIOTest testMethod=test_spanner_read_query>
def test_spanner_read_query(self):
self.insert_read_values('query_read')
> self.run_read_pipeline('query_read', query=f'SELECT * FROM {self.table}')
apache_beam/io/gcp/tests/xlang_spannerio_it_test.py:194:

apache_beam/io/gcp/tests/xlang_spannerio_it_test.py:220: in run_read_pipeline
SpannerTestRow(f_int64=2, f_string=f'{prefix}2', f_boolean=False),
apache_beam/pipeline.py:590: in exit
self.result = self.run()
apache_beam/testing/test_pipeline.py:116: in run
state = result.wait_until_finish()

self = <apache_beam.runners.portability.portable_runner.PipelineResult object at 0x7fa74c495860>
duration = None
def wait_until_finish(self, duration=None):
"""
:param duration: The maximum time in milliseconds to wait for the result of
the execution. If None or zero, will wait until the pipeline finishes.
:return: The result of the pipeline, i.e. PipelineResult.
"""
def read_messages():

type: () -> None
previous_state = -1
for message in self._message_stream:
if message.HasField('message_response'):
logging.log(
MESSAGE_LOG_LEVELS[message.message_response.importance],
"%s",
message.message_response.message_text)
else:
current_state = message.state_response.state
if current_state != previous_state:
_LOGGER.info(
"Job state changed to %s",
self._runner_api_state_to_pipeline_state(current_state))
previous_state = current_state
self._messages.append(message)

message_thread = threading.Thread(
target=read_messages, name='wait_until_finish_read')
message_thread.daemon = True
message_thread.start()
if duration:
state_thread = threading.Thread(
target=functools.partial(self._observe_state, message_thread),
name='wait_until_finish_state_observer')
state_thread.daemon = True
state_thread.start()
start_time = time.time()
duration_secs = duration / 1000
while (time.time() - start_time < duration_secs and
state_thread.is_alive()):
time.sleep(1)
else:
self._observe_state(message_thread)
if self._runtime_exception:
> raise self._runtime_exception
E RuntimeError: Pipeline BeamApp-jenkins-0921123257-8b921bc2_f20c9b92-9261-4f0b-9d6c-31732a12287b failed in state FAILED: akka.pattern.AskTimeoutException: Ask timed out on [Actorakka://flink/user/rpc/taskmanager_0#31887928] after [10000 ms]. Message of type [org.apache.flink.runtime.rpc.messages.LocalRpcInvocation]. A typical reason for AskTimeoutException is that the recipient actor didn't send a reply.
apache_beam/runners/portability/portable_runner.py:600: RuntimeError
----
After you've filled out the above details, please assign the issue to an individual. Assignee should treat test failures as high-priority, helping to fix the issue or find a more appropriate owner. See Apache Beam Post-Commit Policies.
Imported from Jira BEAM-12928. Original Jira may contain additional context.
Reported by<EMAIL_ADDRESS>

This test looks stable now per https://ci-beam.apache.org/job/beam_PostCommit_Python37/lastCompletedBuild/testReport/junit/apache_beam.io.gcp.tests.xlang_spannerio_it_test/CrossLanguageSpannerIOTest/history/


How to get data when using datasets and transformations?

Version
5.0.2
Steps to reproduce
i cannot find a API to get the result after dataset has transformed.
What is expected?
A API or another solution to get the transformed data.
What is actually happening?
Before. we can use the aXis and series data length to control the datazoom.
Now. we use the dataset and transform to render the chart. we cannot get the data of current view. so we cannot to control the data-zoom through data.
Could you please give some suggestion to us to get the current view data (transformed).

You cannot get the transformed data. What do you need the data for?

in our case, we add a custom series (a polygon) based on the data from each existing line series. think of it like the confidence band, but with the possibility to have values above and below zero.

I am trying to rework this now to using datasets and it would be great to have a way to access the data for each series/dataset after the transformation (which is right now a simple filter based on the series name)

You cannot get the transformed data. What do you need the data for?

In my case, I need to get the selected data within brush area, the brushSelected event params only returns seriesIndex and dataIndex, and the corresponding series are using transformed dataset, so I am also wondering how to get the actual data values within brush area?

in my case, i had to implement my own transform method and generate the transformed datasets explicitly and let series points to these transformed datasets

still an open question


insert back removed jquery regexes

The previous "scripts"-regexes (present until v6.6.0) were removed and replaced with "jquery". For me the version detection has declined due to this change. May I ask, what is the reason behind this? If I have missed something, sorry for bothering and feel free to close this proposed change.
Thanks in advance

It's because of #3957, the version was often wrong. The jQuery version can usually be detected through jQuery.fn.version, which is always accurate.

Hi,
thanks for your reply. I would like to challenge this change a little bit (in a positive way). I tested this now on a few different pages.
With jQuery.fn.version only, I am not able to detect the the jQuery version of amazon.com, stackoverflow.com, nor the qfayet website (referenced in #3957)
I even tried different js-code snippets (found here)

$().jquery
$.fn.jquery

Checks:

amazon.com - the html regexes helped me, the snippets did not (seems to be kind of a "custom" implementation)
stackoverflow.com - different js snippets helped, determining the version + regexes too.
github.com - jQuery.fn.version returns as well: undefined. The other snippets helped here too + regex got it right as well.

I would now extend the js-detection + leave the html regexes as a backup.
What are your thoughts on this?
Greetings & thanks in advance

We can add $.fn.jquery but $().jquery won't work as we only analyse static variables.
For the scripts patterns we can use (\\d+\\.\\d+\\.\\d+) to ensure the format is correct. I don't trust the ?version=xxx parameter but these would work:
      "js": {
        "jQuery.fn.jquery": "([\\d.]+)\\;version:\\1"
        "$.fn.jquery": "([\\d.]+)\\;version:\\1"
      },
      "scripts": "jquery",
      "scripts": [
        "/jquery(-(\\d+\\.\\d+\\.\\d+))[/.-];version:\\1",
        "/(\\d+\\.\\d+\\.\\d+)/jquery[/.-];version:\\1"
      ],

Thanks for your reply,
I agree ?version=XXX is too generic and can be ignored.  I hope the change is okay for you.
In your comment you put "scripts" twice in there - I guessed a copy issue, therefore I only added the list.

Thanks!


Allow adding only specific integrations

It should be possible to split this into multiple packages, e.g. okgrow:analytics-google, okgrow:analytics-mixpanel, etc.
I haven't investigated but we could probably split out the integrations from analytics.js into separate packages.
Note that I've tested it and we would only save about 40k currently. Less if you use more than one integration.

Segment.io provides seperate repo's for each integration. You can check them all out here. I think it is a good idea as it will solve all the enhancement requests. Will need to think of a good way to implement this.

We plan to address this issue by unbundling the currently embedded customized Segment analytics.js module which will allow much greater flexibility by having users of this package install what they need from Segment’s module.” You will see this coming in version 4.0.0 of this package and version 2.0.0 of the https://github.com/okgrow/auto-analytics package in the next couple of weeks.

@ccuilla so how does the latest version of this package function? Is analytics.js embedded or it needs to be added separately as in auto-analytics ?

@Macbit The latest version (3.0.5) of this (the Meteor) package has a dependency on version 1.0.6 of our underlying npm package https://github.com/okgrow/auto-analytics. Version 1.0.6 of that package still includes our build of the most common Segment analytics integrations. In short you should just be able to install this package and get the whole thing.
At this point we have not updated the Meteor package to depend on version 2.x of https://github.com/okgrow/auto-analytics which removes the embedded analytics.js so you can roll your own.
I hope this helps clarify things.


Create a column with default current date time value

DBFlow Version: 3
Issue Kind (Question):
In model how can create a column with default current date time value?
In this example i defined create_date as Date. It's true? How can implement Sqlite data types in model?
Like this:
@Column(defaultValue = "default CURRENT_DATE")
Date create_date

yes
You can try simply
Date create_date = System.currentTimeMillis();

This should get executed at object creation time.

There isnt support for columns as true date columns.


Imagecropauto feature

Does SimpleImage supports imagecropauto (as called in GD) to remove white (or black, etc) background?
$cropped = imagecropauto($image, IMG_CROP_WHITE);

Not presently, but I'd accept a PR for it.

For croping i am using this function
public function cropImage($cropType=IMG_CROP_DEFAULT) {
    $croppedImage = imagecropauto($this->image, $cropType);
    if ($croppedImage!== false) {
      imagedestroy($this->image);
      $this->image = $croppedImage;
    }
    return $this;
  }


Unable to set Stop On Failure when editing a resilience probe

What happened:
When trying to edit a probe if you click on switch to toggle Stop On Failure nothing happens
What you expected to happen:
Being able to toggle Stop On Failure on probes during edit
How to reproduce it (as minimally and precisely as possible):

Create a Resilience Probe without Stop On Failure set to true
Edit Probe
Try to toggle Stop On Failure switch

Thanks for reporting this issue!

Hey @smitthakkar96 thanks for reporting this issue, we've taken a look at this and this issue has been fixed in version 3.4.0 and above. Feel free to reopen this issue if you feel otherwise. Thanks.


Simple way to add elements to the default dag node

Hi. I know that we can use customTemplates to design a custom node. However, I just want to add a few elements to the default dag node. Do I have to write the custom template from scratch or there is a way for me to extend it?

Hey there!
Could you describe in more detail what kind of elements you'd want to display in the node? Generally, the recommended way is to create a custom template as that supports any content you'd want to show.

Hi. For example, I just want to add one more button on the existing component. It seems like if I want to use a custom template, I would have to mimic the existing component from scratch

hi @biharygergo and all i actually want to use workflow-graph to get vortex ai data into log data into my app anyway to get it directly or are you guys adding FE logic on google to transform vortex logs into feedable content in DAG? as i can see same being used there


Document filter-dropdown without all the inline svgs

http://esri.github.io/calcite-web/documentation/patterns/#filter-dropdown
At the very least, we should define these svgs and then inline them with the use syntax.

use syntax isn't supported until IE/Edge 13, and I'm not willing to add a polyfill, so the documentation will remain the same.


PDF of 0.9.5 gets 404

When searching for doc - https://github.com/zowe/docs-site/tree/master/docs the pdf verison for 0.9.5 gives a http 404

PR #371 is opened to fix this.

This issue is fixed. Closing.


Import setuptools before distutils

Setuptools wants to be imported before distutils, and prints a warning if it is not. Starting with a recent version (>57.2, <=61.2), not following this rule causes catkin's own monkey patching to fail. This commit reverses the import order to fix the warning and patching issue.

Can you please supply a list of commands to run and the necessary environment to verify this change works?


(MAINT) Upgrade puppet dependencies

Corresponding ci-job-config PR: https://github.com/puppetlabs/ci-job-configs/pull/283

Whoops forgot to update the spec test, doing that now...

:+1:


Add hash to js bundle names

Adding hash to the js bundle name should solve the problem with the browser cache after updating cvat-* component(s).
Resolve #1545
Motivation and context

How has this been tested?
Manually
Checklist

[x] I submit my changes into the develop branch
[ ] I have added description of my changes into CHANGELOG file
[ ] I have updated the documentation accordingly
[ ] I have added tests to cover my changes
[ ] I have linked related issues (read github docs)
[ ] I have increased versions of npm packages if it is necessary (cvat-canvas,
cvat-core, cvat-data and cvat-ui)

License

[x] I submit my code changes under the same MIT License that covers the project.
Feel free to contact the maintainers if that's a concern.
[ ] I have updated the license header for each file (see an example below)

# Copyright (C) 2020 Intel Corporation
#
# SPDX-License-Identifier: MIT

Pull Request Test Coverage Report for Build 6162

0 of 0   changed or added relevant lines in 0 files are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.03%) to 65.13%

Files with Coverage Reduction
New Missed Lines
%

cvat/apps/engine/media_extractors.py
2
77.06%

Totals

Change from base Build 6153:
0.03%

Covered Lines:
11006

Relevant Lines:
16487

💛  - Coveralls


Using make_userdata.sh common.

we populate the same variable cloud_provider=vagrant-vbox and populate
new source for hiera data called hiera/data/cloud_provider/vagrant-vbox.yaml
This with contrast to pull request #413 has lesser changes to make_userdata.sh
I would like to change the while loop endlessly via a variable, to run once against endlessly in case of errors. Since Vagrant requires to check for errors easily.

please test this

FAIL: setUpClass (tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON), is this expected?

FAIL: setUpClass (tempest.api.compute.volumes.test_volumes_list.VolumesTestJSON), is this expected?

please test this

please test this

please test this

please test this

please test this

Can one of the admins verify this patch?


React 15.5 deprecation warnings

Using jsxstyle with versions of React after v15.5.0 produce the following warning:
Warning: Block: React.createClass is deprecated and will be removed in
version 16. Use plain JavaScript classes instead. If you're not yet ready
to migrate, create-react-class is available on npm as a drop-in replacement.

Either src/makeStyleComponentClass.js needs to be rewritten or jsxstyle needs to add create-react-class as a dependency.

@rperce yep, we’re on it 😊

@meyer awesome! Good to hear :) Let me know if you need extra testing or anything - absolutely love jsxstyle!

@meyer is this being worked on? If not, would you accept a PR that fixes this?

@leoasis yep, we’ve migrated makeStyleComponentClass.js to ES6 classes. Will have the fix out in the next release.

Awesome, thanks for the response

Any info on when the next release will be (since there hasn't been a commit on master since December)?

@phyrog I’m aiming to have a new release out in the next week or two. Will have 2.0 WIP up on a branch as soon as we get a chance to discuss things on our end.

@meyer Alright, thanks for the update!

@meyer for now it would be great to at least release a patch to resolve the annoying warnings 🙈


Find a vocab

I need an RDF vocab, which can describe documentations. It should contain class, method, function, parameters, etc... such things. So I can easily add rdf:label and rdf:description to them. Luckily rdfs is such a thing. So using rdf+rdfs is a natural choice. I don't think I'll need more, but it could probably contain example codes and pictures as well. Hmm.

I'll check LOV, maybe there is an existing vocab in the topic.

I have found https://github.com/edumbill/doap , which appears to have the same goals. Maybe I can contribute, or use their system, I'll check.

DOAP is more like about documenting a project, but not about documenting a framework api. Here is an example: https://github.com/edumbill/doap/blob/master/examples/doap-doap.rdf It describes only the project name, releases, repository, maintainer, etc... Some of these properties can be part of the documentation, and some of them can be part of the github pages configuration file.

There is no existing vocab as far a I know, so I have to write my own.


Update cybsafe-provisioning-tutorial.md

Updated the URL to point to the CybSafe website rather than login page to correctly direct users to the right information

@twimmers
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off


Remove support for DarkSky

DarkSky is no longer available. I suggest the API should be removed.
(Then I can update converter.getRainAccumulated() for use by the SmartWeather API. Only DarkSky uses this API)

Hi, I dont run a homebridge instance anymore. Feel free to provide a PR and I will review and merge it.

I have a patch, but I am seeing if I can bundle a few minor patches together.

Fixed and landed in #276


DocsArchive-<IP_ADDRESS>Auto archive content

Auto archive content from https://github.com/opstest2/docs-archive-test-source.git

Docs Build status updates of commit 64fe6b6:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error: RepositoryUnauthorizedWithSourceCommit] Git data access to 'https://github.com/opstest2/docs-archive-test-target' (branch: Release_Archive_main_2022-01-06-03-57-51) is not authorized.. It looks like this might be the first time user: v-alji submitted a pull request to this repo. Before user can run builds in a pull request, he/she can enable 'v-alji' GitHub account in Docs by visiting Docs Portal (https://ops.microsoft.com). After enabling his/her account (v-alji), close and then reopen this pull request to start another build.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Questions about multiple ST datasets displayed on a grid

I'm trying to show multi spatial transcirptome datasets on one grid by loading a h5ad file. But I'm wondering how can I intergate mutiple scanpy object together to get a h5ad and this h5ad file can be loaded into tissuumaps successfully. Could you please give me some example code for doing this? Thank you very much!

Hi,
This can be a bit tricky, and I see there actually is a bug with the last version of TissUUmaps with library ids as strings. I'll fix that for next version.
For now, here is an example of code to merge multiple anndata and keep library_id and images:
import scanpy as sc
import anndata

visium_names = [
    "V1_Human_Lymph_Node",
    "V1_Human_Heart",
    "V1_Mouse_Kidney",
    "V1_Adult_Mouse_Brain"
]

# We load the datasets and store them in a list
adata_list = []
for visium_name in visium_names:
    adata = sc.datasets.visium_sge(sample_id=visium_name, include_hires_tiff=True)
    # We need to make the var_names unique for merging to work:
    adata.var_names_make_unique()

    adata_list.append(adata)

# We concatenate the datasets, we need to specify the keys as integers because of a
# bug in the last version of TissUUmaps
grouped_adata = anndata.concat(
    adata_list, merge="same", uns_merge="first", label="library_id", keys=[0,1,2,3]
    )

# We keep the spatial data in the uns slot, but we need to change the key to
# match the new library id (0, 1, 2, 3) instead of the library name
for key, adata in enumerate(adata_list):
    lib = list(adata.uns["spatial"].keys())[0]
    grouped_adata.uns["spatial"][str(key)] = adata.uns["spatial"][lib].copy()
    del grouped_adata.uns["spatial"][lib]

# We save the concatenated dataset
grouped_adata.write("visium_sge.h5ad")

Thanks!!! Looking forward to the latest version.


Incorrect escaping of '%' characters

If you use '%' in any string field, the character will not be correctly escaped when passed via the json GET querystring parameter.
This is the diff I used to narrow down the bug:
diff --git a/myservice-letmegrpc/myservice.letmegrpc.go b/myservice-letmegrpc/myservice.letmegrpc.go
index 389156e..9f8b747 100644
--- a/myservice-letmegrpc/myservice.letmegrpc.go
+++ b/myservice-letmegrpc/myservice.letmegrpc.go
@@ -35,7 +35,10 @@ It has these top-level messages:
 */
 package myservice

-import net_http "net/http"
+import (
+       net_http "net/http"
+       "net/url"
+)
 import encoding_json "encoding/json"
 import io "io"
 import golang_org_x_net_context "golang.org/x/net/context"
@@ -2437,7 +2440,17 @@ s += '
' + buildSomething_som

 func (this *htmlmyservice) CreateSomething(w net_http.ResponseWriter, req *net_http.Request) {
        w.Write([]byte(Header(`myservice`, `CreateSomething`)))
-       jsonString := req.FormValue("json")
+
+       rawQuery := req.URL.RawQuery[len("json="):]
+       fmt.Println("raw query =", rawQuery)
+
+       //      jsonString := req.FormValue("json")
+       jsonString, err := url.QueryUnescape(rawQuery)
+       if err != nil {
+               w.Write([]byte("
" + err.Error() + "
"))
+               return
+       }
+
        someValue := false
        msg := &CreateSomethingRequest{}
        if len(jsonString) > 0 {
@@ -2450,6 +2463,8 @@ func (this *htmlmyservice) CreateSomething(w net_http.ResponseWriter, req
                        w.Write([]byte("
" + err.Error() + "
"))
                }
                someValue = true
+       } else {
+               w.Write([]byte("
" + `No JSON sent` + "
"))
        }
        w.Write([]byte(Formmyservice_CreateSomething))
        if someValue {

Their is definitely a problem here.
I am investigating further about how to fix this.

This should fix the problem
https://github.com/gogo/letmegrpc/commit/d9e70ab6c48be9a1a130359784b3c26118a8f52c

@awalterschulze yes I can see that will fix the issue, but wouldn't be best to simply perform URL encoding when the json= querystring is composed?

Sorry I am really a noob web programmer.
Wouldn't it make the rest of the url less readable/hackable?

I don't want this
{"bla":1}

To reslut in
%7B%22bla%22%3A1%7D

@awalterschulze well, if you are missing other sequences that need escaping, it will simply break.
I suggest to use the correct JavaScript function encodeURIComponent and then if you want to have some characters encoded by the browser (that's what happens when you type them non-encoded) you can replace after the call to the proper encoding function. The list of reserved characters is here for example: https://en.wikipedia.org/wiki/Percent-encoding

I am going on holiday, but I'll be back in about a week, then I'll look at this again.
Thank you for the help.

Yes if there are other sequences that require escaping it will break :(
I am struggling to understand the second paragraph.
The wikipedia page says that encodeURIComponent is a non-standard function, or am I reading it wrong?
Maybe there is a better js function?
Reserved characters that don't cause problems
! $ ( ) * + , / : ? @ [ ]

Reserved characters that cause problems
# ; =

Reserved characters that cause problems that have been fixed
& '

Percent is also a problem, but has now been fixed
%

But I haven't taken into account character sequences.
Do you have any examples?

@awalterschulze sorry, this issue went out of my radar.
The wikipedia page says

Non-standard implementations
There exists a non-standard encoding for Unicode characters: %uxxxx, where xxxx is a UTF-16 code unit represented as four hexadecimal digits. This behavior is not specified by any RFC and has been rejected by the W3C. The third edition of ECMA-262 still includes an escape function that uses this syntax, along with encodeURI and encodeURIComponent functions, which apply UTF-8 encoding to a string, then percent-escape the resulting bytes.

I think you're reading it wrong :) It's referring to unicode not specifically to the encodeURIComponent function which is standard since ECMA3, a summary is here: https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/encodeURIComponent
What is non-standard is not encoding some characters, because browsers might vary in the way of handling it. But let's say that letmegrpc is only supposed to be used with a few browsers that do support our hack with some characters, then what I proposed before in that 2nd paragraph was:
use encodeURIComponent on all input from user
do a string replace for some of the characters you want instead the browser to take care of e.g.  !%20%24%20(%20)%20*%20%2B%20%2C%20%2F%20%3A%20%3F%20%40%20%5B%20%5D%20%7B%20%7D (which is the encoding for ! $ ( ) * + , / : ? @ [ ] { })
I would still suggest to limit the replacement, leaving out of this 2nd-pass replacement ? for example (a known query-string delimiter)

Ok so you want to use encodeURIComponent and then "decode" some of the encoded characters?
I just want to make sure I understand you clearly.
Instead of only encoding some of the characters.
This way their will be a better catch all, but we can still try and make the URL readable and editable by "decoding" most of the characters.
Is that what you meant?

@awalterschulze yes that! :)

Ok so characters that would be decoded include:
, } { <all ascii characters> "

Does that sound about right?


fix(assertions): support non-standard JSX syntax

Previously, JSX occurring in an assertion block would not be transpiled at all, resulting in a syntax error when running the tests.
Now, JSX is transpiled (given that the user sets up his babel config correctly) and power assertions also show the syntax in their error messages.

Codecov Report

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

@@          Coverage Diff          @@
##           master     #2   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           3      3
  Lines          27     26    -1
  Branches        4      4
=====================================
- Hits           27     26    -1

Impacted Files
Coverage Δ

src/index.ts
100% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


ERROR: Label BA1_exvivo does not exist in SUBJECTS_DIR fsaverage! The fsaverage link probably points to an older freesurfer version

What happened?
I am running fmriprep-23.2.1 with singularity on Slurm and am getting the error described in the title. This error occurs for most subjects. What should I do about it?
What command did you use?
TEMPLATEFLOW_HOST_HOME=$HOME/.cache/templateflow
FMRIPREP_HOST_CACHE=$HOME/.cache/fmriprep

export SINGULARITYENV_TEMPLATEFLOW_HOME="/templateflow"
export SINGULARITYENV_FS_LICENSE="/share/apps/imaging/freesurfer-7.3.2/license.txt"

singularity run \
        --cleanenv \
        -B $PROJECT:/rootdir \
        -B $BIDS_DIR:/data \
        -B $DERIVS_DIR:/output \
        -B $WORK_DIR:/work \
        -B ${TEMPLATEFLOW_HOST_HOME}:${SINGULARITYENV_TEMPLATEFLOW_HOME} \
        -B ${SINGULARITYENV_FS_LICENSE}:/freesurfer_license \
    ${FMRIPREP} /data /output \
    participant --participant_label $subject \
    -w /work \
    -vv \
    --fs-license-file /freesurfer_license \
    --mem-mb 32000 \
    --n-cpus 8 \
    --write-graph \
    --output-spaces MNI152NLin2009cAsym:res-2 \
    --return-all-components

exitcode=$?

What version of fMRIPrep are you running?
23.2.1
How are you running fMRIPrep?
Singularity
Is your data BIDS valid?
Yes
Are you reusing any previously computed results?
No
Please copy and paste any relevant log output.
/output/sourcedata/freesurfer/sub-023023/label
#--------------------------------------------
#@# BA_exvivo Labels lh Thu Mar 21 08:20:45 EDT 2024
-------------------------------------------------------------------------
ERROR: Label BA1_exvivo does not exist in SUBJECTS_DIR fsaverage!
The fsaverage link probably points to an older freesurfer version
-------------------------------------------------------------------------

Additional information / screenshots
No response

So the issue is that in your $DERIVS_DIR/freesurfer, there's a copy of fsaverage that comes from an older FreeSurfer version. You probably just want to delete that.

I just got the same error with 23.2.1. I used empty output and working directories, so I don't think there's an old fsaverage copy in $DERIVS_DIR/freesurfer in my case.

I'm running fMRIPrep with a job array (one job for each of 8 subjects), but that's all that's writing to the freesurfer/ directory. I did just clear out the working and output directories and resubmitted my jobs with --contain-all, so maybe that will fix it. If it doesn't I'll follow up here.

Adding --contain-all seems to have resolved the issue for me.
@WangYunHong98 did clearing out the working and output directories fix the problem for you?

Hi @tsalo
I cleaned out all directories and added --fs-subjects-dir /output/freesurfer. It works for me.

Hi @effigies
Is there a possibility that if I first submit the fmriprep job for dataset 1 in slurm, and at the same time I submit another freesurfer job in terminal (no it's with slurm), setting the environment variable $SUBJECTS_DIR. So would this situation cause this error to be reported?
Best,
Yunhong


Will the target SDK version change to 33 on Aug. 2023?

Hi,
On https://github.com/rive-app/rive-android :

Currently, this runtime library supports a minimum SDK version of 21, and the target SDK verison is 31.

On https://www.reddit.com/r/androiddev/comments/xovl15/minimum_api_requirement_for_new_apps_is_it/

Starting August 1, 2023, new apps will have to target API level 33. Starting November 1, 2023, updates to existing apps will have to target API level 33.

So, in that regard is it safe to use Rive on Android?
Thanks!

@umberto-sonnino
Thank you very much for the confirmation!

Hi @FranckSCTV, the target SDK has been bumped to 33 in the newest version!


fix: require.cache undefined

Summary
closed #2460
Currently, require.cache will transform to __webpack_require__.c, but I'm confusing about where to insert runtime_globals::MODULE_CACHE to runtime_requirement.
Since &mut runtime_requirement is borrowed to inject_runtime_helper,  I can't find a good solution unless move transform require.cache operation to inject_runtime_helper and insert MODULE_CACHE in it.
Perhaps my confusion comes from my lack of familiarity with rust, and if so, please forgive me, I'm trying to learn.

Related issue (if exists)

Types of changes

[ ] Docs change / Dependency upgrade
[x] Bug fix
[ ] New feature / Improvement
[ ] Refactoring
[ ] Breaking change

Checklist

[x] I have added changeset via pnpm run changeset.
[ ] I have added tests to cover my changes.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.faga seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

@faga295 Could you refactor the code using const dependency? here is an example https://github.com/web-infra-dev/rspack/blob/main/crates/rspack_plugin_javascript/src/visitors/dependency/scanner.rs#L336

faga seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
@faga295 Look like cla is not signed. Look like your name of commit is not equal to your github name, Could you check it?

@faga295 Look like you need to rebase the main branch, because runtime_globals moved to RuntimeGlobals. Look like cargo clippy crashed in ci, you can run cargo clean && cargo clippy in local environment to check it.

@faga295 I fixed clippy error at my commit. It colud run ci success.

Thanks a lot!


Way to set Intacct API URL by the Consumer to Mock the Response in Real Integration

Would it be possible to set other than the Intacct API URL which does not intacct.com or an Intacct API URL?  We want to provide our own URL to send the own response so that real integration can be tested. suppose 503 error then we have our own logic to handle 503 so we want to test that logic in a real environment which requires to use own API URL to send 503 response.
Stripe .net SDK is providing a way to set stripe API URL: https://github.com/stripe/stripe-dotnet/blob/3b2ed3af048889e19ecdaaf2edcdea275848f317/src/Stripe.net/Services/_common/RequestOptions.cs
Twilio .ent SDK is providing a way too:  https://www.twilio.com/docs/libraries/csharp-dotnet/custom-http-clients-dot-net-framework?code-sample=code-how-to-pass-a-twiliorestclient-2&code-language=C%23&code-sdk-version=default

Check out the mockhandler in the unit test here -- https://github.com/Intacct/intacct-sdk-net/blob/master/Intacct.SDK.Tests/SessionProviderTest.cs#L71

Check out the mockhandler in the unit test here -- https://github.com/Intacct/intacct-sdk-net/blob/master/Intacct.SDK.Tests/SessionProviderTest.cs#L71

Here is an example with a 502 -- https://github.com/Intacct/intacct-sdk-net/blob/d1d20ac6a0dbd52ad345f711a96e66d41e0dad83/Intacct.SDK.Tests/Xml/RequestHandlerTest.cs#L217

Here is an example with a 502 -- https://github.com/Intacct/intacct-sdk-net/blob/d1d20ac6a0dbd52ad345f711a96e66d41e0dad83/Intacct.SDK.Tests/Xml/RequestHandlerTest.cs#L217

Please reopen this request if your question has not been answered.


Initialization of vxlan failed with cluster-store in format ip:port/path

Description of problem:
Usually in swarm, we are setting up a store with the ip:port/path format. When doing so with the --cluster-store option, the vxlan id manager could not start.
Error response from daemon: failed to initialize vxlan id manager: failed to initialize bit sequence handler: Get http://<IP_ADDRESS>:8500/master/v1/kv/docker/libnetwork/idm/vxlan-id/?consistent=: dial tcp: unknown port tcp/8500/master

docker version:
Version:      1.9.0-dev
API version:  1.21
Go version:   go1.4.2
Git commit:   ed9434c
Built:        Sun Oct 11 00:23:12 UTC 2015
OS/Arch:      linux/amd64
Experimental: true
docker info:
Containers: 0
Images: 0
Engine Version: 1.9.0-dev
Storage Driver: aufs
Root Dir: /var/lib/docker/0.0/aufs
Backing Filesystem: extfs
Dirs: 0
Dirperm1 Supported: true
Execution Driver: native-0.2
Logging Driver: json-file
Kernel Version: 3.16.0-4-amd64
Operating System: Debian GNU/Linux 8 (jessie)
CPUs: 1
Total Memory: 494.5 MiB
Name: node-1
ID: GWKV:EV4G:NZSL:TW5N:WSPR:HZVX:W5OG:AXYA:V7QJ:ZQTV:6XSX:DY25
Labels:
provider=digitalocean
Experimental: true
Cluster store: consul://<IP_ADDRESS>:8500/master
WARNING: No memory limit support
WARNING: No swap limit support
uname -a:
Linux node-1 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1 (2015-05-24) x86_64 GNU/Linux
Environment details (AWS, VirtualBox, physical, etc.):
DigitalOcean
Steps to Reproduce:

Create an engine containing --cluster-store ip:port/path
Create a multihost network with $ docker network create -d overlay multihost

Actual Results:
Error response from daemon: failed to initialize vxlan id manager: failed to initialize bit sequence handler: Get http://<IP_ADDRESS>:8500/master/v1/kv/docker/libnetwork/idm/vxlan-id/?consistent=: dial tcp: unknown port tcp/8500/master

Expected Results:
A network should be normally created.

ping @mavenugo for the networking part
@abronan for libkv

@chanwit cluster-store config needs only the ip and port. for ex: --cluster-store=consul://<IP_ADDRESS>:8500

@sanimej it's cannot be like that for the discovery service. FYI, this cluster-store code is from swarm and what we've done there are allowing /path in the store URL.
Here's the reference:
https://github.com/abronan/docker/blob/fix_discovery_pkg_readme/pkg/discovery/README.md
Basically, we need to parse the cluster-store URL, chop the /path of for the networking stuff. But for the discovery service stuff, we should use the URL which include /path.

path is not mandatory for discovery as well. To make progress now you can try without the path.
In libnetwork, yes, we have to remove the path from the url if its present. I will fix that.

@chanwit @sanimej issue is pretty old. Can we close it now?

@chanwit I'll go ahead and close this, but ping me if this is still an issue


[karma-esm] IE11 in .browserslistrc fails karma start

When I have IE 11 query in my .browserslistrc and start karma like this:

./node_modules/.bin/karma start karma.bs.conf.js --coverage --compatibility all

I get the following error:
26 08 2019 09:29:57.058:ERROR [plugin]: Error during loading<EMAIL_ADDRESS>plugin:
  Your browserslist configuration should not include ie 11.
The browserslists configuration is for the modern build.
Use the --legacy flag for a build for legacy browsers.

26 08 2019 09:29:57.554:ERROR [karma-server]: Server start failed on port 9877: Error: No provider for "framework:esm"! (Resolving: framework:esm)

First of all, I don't see why this fails the process and not just logs a warning, and next there is no --legacy flag anymore, I'm already using --compatibility all (you can see this above in my karma start command) which is the replacement for --legacy. Any thoughts?

The thinking behind this is that for the build tools we use browserslist to know what browsers to target for the modern build, and then have an optional legacy build for IE11. That's why people shouldn't put IE11 in there.
We're reusing this in the dev server and karma, which makes the error message incorrect so we need to do something about that.
I'm open to alternative ideas on how to handle this, having multiple builds is not something that blends well with browserslist.


Add `disable animations' options if it works slow for some people

Is there any precedent for this? I think we can improve on animations rather than giving another option.

I guess should no longer be an issue. Sealnote used the latest and greatest API in its time, and was heavy for some devices.


[stable/keycloak] disable welcome page

https://developer.jboss.org/thread/242941
Would it be possible to have option to disable the welcome site or replace it.

The Keycloak chart here is being deprecated (#13316) and moved to a new home:
https://github.com/codecentric/helm-charts
I'm closing this issue. Feel free to open a new issue in the new repo. Thanks.


[FEATURE] Define rg.Settings based on datasets.Features

Description

This PR define a module that interacts with the datasets server API to create a Settings object based on  datasets features.
It can be used like this:
from argilla import Settings, Dataset
from datasets import load_dataset

settings = Settings.from_hub(repo_id= "yahma/alpaca-cleaned")
dataset = Dataset(name= "alpaca-cleaned", settings=settings)
dataset.create()
hf_dataset = load_dataset(path=repo_id, split="train[:10]")
dataset.records.log(hf_dataset)

Things to note

It's implemented as a helper module with functions, in case we want to migrate it to the server.
It's pretty cautious in it's error handling from datasets-server, we might want to add a fall back, and more warnings.
I think we should upgrade integration testing when we use this in the from_hub method.

Next Steps
The next step is to integrate it with from_hub, so this works:
dataset = rg.Dataset.from_hub(repo_id="yahma/alpaca-cleaned")

Type of change

New feature (non-breaking change which adds functionality)

How Has This Been Tested

Checklist

I added relevant documentation
I followed the style guidelines of this project
I did a self-review of my code
I made corresponding changes to the documentation
I confirm My changes generate no new warnings
I have added tests that prove my fix is effective or that my feature works
I have added relevant notes to the CHANGELOG.md file (See https://keepachangelog.com/)

@burtenshaw, could you update the branch :)?

@burtenshaw, can you update the PR and only include the relevant commits?

Sorry @davidberenstein1957 I'll resolve that now.

@davidberenstein1957 It's now pointed at develop


trying to deploy to netlify

Describe the bug
An unknown error occured while running an action.
Link to the Bolt URL that caused the error
https://bolt.new/~/sb1-za9du6
Steps to reproduce
i just need to publish my webapp on netlify but keep giving error
Expected behavior
i just need to publish my webapp on netlify but keep giving error
Screen Recording / Screenshot
No response
Platform
Browser name = Chrome
Full version = <IP_ADDRESS>
Major version = 128
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36 OPR/<IP_ADDRESS>
performance.memory = {
  "totalJSHeapSize": 81768609,
  "usedJSHeapSize": 62362797,
  "jsHeapSizeLimit":<PHONE_NUMBER>
}
Username = ahmetarslan
Chat ID = 61d396bb5393

Additional context
Error:
An unknown error occured while running an action.

Hi @ahmetarslan,
Appreciate the feedback. We are aware of this issue and are tracking it here: #499.


Models of AMD GPUs supported

May I ask which models of AMD GPUs are currently supported by vLLM?

vLLM currently supports AMD Instinct MI210, MI250, MI250X, and MI300.

vLLM currently supports AMD Instinct MI210, MI250, MI250X, and MI300.

Thanks！

how about 7900 XTX?

t


header file not being reset

When resetting a header, it seems that the final value is not being applied
To reproduce, add the following code to a SAS file in Drive:
filename mc url "https://raw.githubusercontent.com/sasjs/core/main/all.sas";
%inc mc;
%mfs_httpheader(Content-Type, application/text)
%mfs_httpheader(Content-Type, application/json)

The Content-Type in the response should be application/json, but instead it's application/text.
On further testing, it seems this bug is only with application/json - the following code works fine:
filename mc url "https://raw.githubusercontent.com/sasjs/core/main/all.sas";
%inc mc;

%mfs_httpheader(Content-Type, application/json)
%mfs_httpheader(Content-Type, something/unique)

See #58 for more details on the original development.

Closing - actually the bug was on the SAS side, the header file was being redirected


DOC: Update the tutorials

I updated the tutorials using the last version of RLF. I also add some README files

This is blocked on the current changes that break the API, converted to draft.


Add ability to strip ghost zones.

Jeremy White wants to export data for further processing in other tools. Unfortunately, when exporting data it includes the ghost zones (and marks it with avtGhostZones). The ghost zones (and associated nodes) are causing him problems. I've had several people encounter this over the last few years, so this is definitely a use case. Stripping the ghost zones isn't easily done. The natural thing would be to use the Threshold operator on avtGhostZones, but that isn't possible.
I can see a couple of ways to do this. One is to provide an expression that gives the ghost zone information that can be used with the Threshold operator. Another is to add a StripGhostZones operator that can be used to strip ghost zones. The last is to add an option to the Export capability to optionally strip the ghost zones prior to exporting. The last option would be more limiting, but it is the situation where it's been needed.

#3224 is already in the system as your option 1. I think it is best added as an expression.
As an immediate work-around for the user...export to ascii VTK (or another easily edited file format). Change the name of the avtGhostZones to something like foo...read back into VisIt, threshold on foo and write back out. Did you already try that? Will that work?

#3224 is already in the system as your option 1. I think it is best added as an expression.
As an immediate work-around for the user...export to ascii VTK (or another easily edited file format). Change the name of the avtGhostZones to something like foo...read back into VisIt, threshold on foo and write back out. Did you already try that? Will that work?

Also, can you use the avtGhostZone filter to remove the ghost zones?

Also, can you use the avtGhostZone filter to remove the ghost zones?

Your work-around is the solution I came up with. Seems pretty complicated, but it should work. I believe I've done that in the past.

Your work-around is the solution I came up with. Seems pretty complicated, but it should work. I believe I've done that in the past.

I assume your talking about the Inverse Ghost Zone operator. I checked it and didn't see an option to do that.

I assume your talking about the Inverse Ghost Zone operator. I checked it and didn't see an option to do that.

Yeah, that is what I meant. Ok, so that operator allows us to turn ON cells that would otherwise not be visible, right? I guess it doesn't allow us to wholly remove them though.

Yeah, that is what I meant. Ok, so that operator allows us to turn ON cells that would otherwise not be visible, right? I guess it doesn't allow us to wholly remove them though.

Another thing to consider is whether we should just adopt, by fiat, a new approach to handling internal variables like this in VisIt and just always export them to somewhere in metadata so that they are always avaiable to a user without them either waiting for a developer to create an expression function that does this or having to write an expression that exports it.
Having said that, if we do go the new expression function route, instead of making that function specific to ghost zones, lets call it MakeInternalVariableVisible(<mesh-name>, <string-naame) which would then have the effect of working for any variable a user knows the magic internal name of going forward.

Another thing to consider is whether we should just adopt, by fiat, a new approach to handling internal variables like this in VisIt and just always export them to somewhere in metadata so that they are always avaiable to a user without them either waiting for a developer to create an expression function that does this or having to write an expression that exports it.
Having said that, if we do go the new expression function route, instead of making that function specific to ghost zones, lets call it MakeInternalVariableVisible(<mesh-name>, <string-naame) which would then have the effect of working for any variable a user knows the magic internal name of going forward.


Text overlap on Firefox with narrow viewport

Hey Grommet :slightly_smiling_face:
I was browsing your docs on a half-screen Firefox with my code editor taking the other half, and I noticed this:

.
Screenshot

The examples overlap the next section :arrow_right:

I looked deep into this, my findings are:

It is not a problem with documentation and is a much bigger problem with <Box /> when rendered on Firefox. It should be moved to https://github.com/grommet/grommet where it may get more visibility and ideas.
Firefox does not render flexbox correctly. I'd attach 2 screeenshots to make that situation more approachable.

Screenshots:
Initial render:

Uncheck flex-direction and check it again to reset styles back to force render:

Possible fix (theory):
We may have to use display: -moz-box but it is not a standard and is not a good thing to add anyway.

Closing, tested on Firefox and this no longer appears to be an issue


Sidekiq worker prototype

This will put all requests for individual gem info on a queue and store the results in Redis.
The only part missing is what to do when these requests complete. I sort of want to experiment with websockets: keep a connection to the server, use server-sent events to tell the browser to fetch the final result.

This would still be an improvement! 😄


ExecPath not working

ExecPath is only working if the path provided in is $PATH and the name of the binary is in the predefined array of binary name list.
is it suppose to be this way?

You can pass it an absolute path, which it will use directly. I'm not sure what you mean. This is very well documented:

The given path can be an absolute path to a binary, or just the name of the program to find via exec.LookPath.

I am giving it an absolute path but it's still not working.
Can you give me an example code that uses ExecPath and is working. I did not find any in here

I want to correct my self -->
/random/random/chromium works but
/random/random/change_chromium_to_weird_name
does not work as path in ExecPath
Is this how it's suppose to work or is it bug?

How about this
Lets say there is an chromium executable package in the same folder of your app, like this
| workspace
--| main.go
--|Google Chrome/chrome
Then you can use it like this
dir, dirError := os.Getwd()
if dirError != nil {
	panic(dirError)
}
opt := []func(allocator *chromedp.ExecAllocator){
	chromedp.ExecPath(path.Join(dir, "Google Chrome", "chrome")),
}

allocatorCtx, allocatorCancel := chromedp.NewExecAllocator(
	context.Background(),
	append(opt, chromedp.DefaultExecAllocatorOptions[:]...)[:]...,
)

ctx, err := chromedp.NewContext(allocatorCtx)
chromedp.Run(ctx, ...)

/random/random/change_chromium_to_weird_name

It's not cleared what's in the weird_name, but I have tested the following names on Ubuntu, all works:

space in name: chrome a
-- in name:  chrome --a
emoji: 🌺

error: unknown flag 'disable-background-networking'

flag is special in golang. So I guess /random/random/change_chromium_to_weird_name is a path to an executable compiled from go source. I compiled an executable from the following source, and observed the similar error (flag provided but not defined: -foo, foo changes  every time).
// go 1.16.3
package main

import (
	"flag"
)

func main() {
	flag.Parse()
}

Anyway, it's very rare that one will change the browser to a weird_name, so closing this issue.


"Could not find codec parameters" error

Checklist

[ ] I'm reporting a broken site support issue
[x] I've verified that I'm running youtube-dl version 2021.06.06
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar bug reports including closed ones
[x] I've read bugs section in FAQ

Verbose log

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['https://www.youtube.com/playlist?list=PLZHQObOWTQDMsr9K-rj53DwVRMYO3t5Yr', '-v']
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, pref cp1252
[debug] youtube-dl version 2021.06.06
[debug] Python version 3.8.8 (CPython) - Windows-10-10.0.19041-SP0
[debug] exe versions: ffmpeg N-55702-g920046a, ffprobe N-55702-g920046a
[debug] Proxy map: {}
[youtube:tab] PLZHQObOWTQDMsr9K-rj53DwVRMYO3t5Yr: Downloading webpage
[download] Downloading playlist: Essence of calculus
[youtube:tab] playlist Essence of calculus: Downloading 12 videos
[download] Downloading video 1 of 12
[youtube] WUvTyaaNkzM: Downloading webpage
[debug] Default format spec: bestvideo+bestaudio/best
[debug] Invoking downloader on 'https://r5---sn-p5qs7nsr.googlevideo.com/videoplayback?expire=1623521920&ei=IKbEYJKYHIeE_9EP4d2LqAs&ip=<IP_ADDRESS>&id=o-AEVIdtpQjAEeRVkOfYusclqDOme8iEqgtv82Be3G0BHL&itag=399&aitags=133%2C134%2C135%2C136%2C137%2C160%2C242%2C243%2C244%2C247%2C248%2C278%2C394%2C395%2C396%2C397%2C398%2C399&source=youtube&requiressl=yes&mh=8g&mm=31%2C26&mn=sn-p5qs7nsr%2Csn-ab5sznld&ms=au%2Conr&mv=m&mvi=5&pl=17&initcwndbps=2121250&vprv=1&mime=video%2Fmp4&ns=a2kUj1vAUPjX9q0QKIHRETcF&gir=yes&clen=38104713&dur=1024.289&lmt=1588535879221869&mt=1623499718&fvip=5&keepalive=yes&fexp=24001373%2C24007246&c=WEB&txp=5531432&n=ujus0HRq9RsqOo5Z7tq&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRgIhAOOOCJe8hs3fzz_P3zyYAu74ehVpPAbvbfBhTU6M9e6XAiEA01gbE583b0-BwKbfQ78i3NuQ6BkCrZCEL6gtLi-QGss%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRQIhALfn6W31jamOUgWJoFQdkJiTHghxTAI-tLdBHhUrjY5rAiA8ZZlsJebT9KTzZMTVTp2Qp6f3-3mElfzsDzVjrQp25A%3D%3D'
[download] Destination: The essence of calculus-WUvTyaaNkzM.f399.mp4
[download] 100% of 36.34MiB in 00:01
[debug] Invoking downloader on 'https://r5---sn-p5qs7nsr.googlevideo.com/videoplayback?expire=1623521920&ei=IKbEYJKYHIeE_9EP4d2LqAs&ip=<IP_ADDRESS>&id=o-AEVIdtpQjAEeRVkOfYusclqDOme8iEqgtv82Be3G0BHL&itag=140&source=youtube&requiressl=yes&mh=8g&mm=31%2C26&mn=sn-p5qs7nsr%2Csn-ab5sznld&ms=au%2Conr&mv=m&mvi=5&pl=17&initcwndbps=2121250&vprv=1&mime=audio%2Fmp4&ns=a2kUj1vAUPjX9q0QKIHRETcF&gir=yes&clen=16269850&dur=1024.348&lmt=1538116643685598&mt=1623499718&fvip=5&keepalive=yes&fexp=24001373%2C24007246&c=WEB&txp=5533332&n=ujus0HRq9RsqOo5Z7tq&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRQIgJMyVn-AEn-q57JlQ2N2BuXvXpLYpmcXlffyfoRF-4pACIQCPGmb98LKEbQsS6XZN2ftMd2mT1Z02ucFqY0-mIg4vTg%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRQIhALfn6W31jamOUgWJoFQdkJiTHghxTAI-tLdBHhUrjY5rAiA8ZZlsJebT9KTzZMTVTp2Qp6f3-3mElfzsDzVjrQp25A%3D%3D'
[download] Destination: The essence of calculus-WUvTyaaNkzM.f140.m4a
[download] 100% of 15.52MiB in 00:00
[ffmpeg] Merging formats into "The essence of calculus-WUvTyaaNkzM.mp4"
[debug] ffmpeg command line: ffmpeg -y -loglevel "repeat+info" -i "file:The essence of calculus-WUvTyaaNkzM.f399.mp4" -i "file:The essence of calculus-WUvTyaaNkzM.f140.m4a" -c copy -map "0:v:0" -map "1:a:0" "file:The essence of calculus-WUvTyaaNkzM.temp.mp4"
ERROR: file:The essence of calculus-WUvTyaaNkzM.f399.mp4: could not find codec parameters
Traceback (most recent call last):
  File "c:\users\space\appdata\local\programs\python\python38\lib\site-packages\youtube_dl\YoutubeDL.py", line 2115, in post_process
    files_to_delete, info = pp.run(info)
  File "c:\users\space\appdata\local\programs\python\python38\lib\site-packages\youtube_dl\postprocessor\ffmpeg.py", line 523, in run
    self.run_ffmpeg_multiple_files(info['__files_to_merge'], temp_filename, args)
  File "c:\users\space\appdata\local\programs\python\python38\lib\site-packages\youtube_dl\postprocessor\ffmpeg.py", line 235, in run_ffmpeg_multiple_files
    raise FFmpegPostProcessorError(msg)
youtube_dl.postprocessor.ffmpeg.FFmpegPostProcessorError: file:The essence of calculus-WUvTyaaNkzM.f399.mp4: could not find codec parameters

Description

I'm trying to download the "Essence of calculus" playlist from 3Blue1Brown, and I get this error. I have also tried to download the specific video that was causing the issue by just the link instead of the playlist, and I get the same error. I have both ffmpeg and youtube-dl installed through pip on windows 10. I also get this exact same error when downloading the "Essence of linear algebra", although the error shows up on video 14 of the playlist rather than video 1. I have tried reinstalling ffmpeg and youtube-dl.

Maybe your ffmpeg is just too old. Googled and found many 'ffmpeg version N-55702-g920046a Copyright (c) 2000-2013'.

I tried multiple versions of ffmpeg earlier (namely N-55702-g920046a and 4.0.2) and neither of those worked, so I somewhat ruled it out from my reasoning. After reading this comment, I tried out the latest build from gyan.dev, and that worked fine. It seems to just have been a ffmpeg issue then.


except localhost, nothing else is working

hi,
except localhost, it's not working because your apacheserver is always resend result in localhost.
So I know that you certainly only want the usecase of a docker engine installed on the localmachine where you are working out but there are a lot more usecase;
For example, you can imagine someone working on a tablet or a phone to rapidly make changes to an html file and he want to test it. So because of your one usecase, he will have to connect to the online website to validate the modification he just did.
Other usercase, every windows computer doesn't allow to use docker because of the CPU which has not vt-x etc. ... And sometimes you don't have internet but just your intranet so it could be great if you could change it to make it work on <IP_ADDRESS> and not only localhost? if it is possible. If I had the time right now I would gladly do it myself but I will have to wat a few more weeks if I have to do it myself and it would be great if I could use it right now....

Thanks for the issue post @boistordu - but I'm not quite sure I understand the problem here?
Since you're in a Docker container runtime listening on <IP_ADDRESS> won't help - as you still need to --publish the port back to the host with docker run.
Can you maybe provide a screenshot of what the issue is to help explain?

well if I try the tool, when I entered something it will return to me a localhost address so not the adress of the server.... SO of course i would have a 404 error
nothing about ports here....

Yeah I'm still not understanding. I just re-built the image from Dockerfile to check.

Run the image via ./run.sh
Visit http://<IP_ADDRESS>:8080/ on host.
Enter a URL - either local to your network or public internet. Local URL's will need to be resolvable via the container, so either a local DNS server in your network, or you might need to pass your /etc/hosts entries into the container at run time.
Page is validated.

I guess we might have a communication breakdown here?

if you want to understand better I can pm you the adres and you can test by yourself

there are no interface on the host. the run command was 'docker run --restart=always --network=accessed --name valid -p 45116:80 -p 45117:8080 -d magnetikonline/html5validator` and so obviously it's no different as your run.

So after that run line - if you visit http://127.0.01:45116/ what do you get?

@magnetikonline, do you have an idea how I'd deploy this with now.sh? I can start it by simply running now, however, the form will redirect to localhost when submitting: https://dockerhtml5validator-azybyqnlkf.now.sh. Same issue with now -p 8080:80 -p 8888:8888.

@magnetikonline sorry for the delay of answer.
<IP_ADDRESS> did you understand that it was on a local VPS my installation right? The goal is to not having it on localhost no <IP_ADDRESS> then....  so if I upload a file from remote host it will put the following adress: http://localhost:8888/html5/#file
for bug debugging purposes, I've installed docker on one of the workstation and as @backflip have said, your html code is redirecting to localhost:8888 which is unusable for docker of course! You have to use environment variable or something else to retain the port redirection and your code html have to point it with this variable.

It would probably make sense to use a single port instead of two (now.sh does not expose multiple ports, e.g., https://github.com/zeit/now/issues/149#issuecomment-264240143).

@boistordu right, so finally I understand what you're saying now.
(For others reading):

When submitting HTML to the validator, if the source is HTML5 the validator replays the validation against the HTML5 VNU validator.
Currently the setup here is hardcoded to that endpoint being localhost:8888/html5, which is fine locally, but if you were to install this publicly or listening on an alternative domain a redirection/replay to localhost:8888 isn't going to help you.

As you say, will probably need to solve this with an environment variable as the environment itself can't possibly work this hostname out itself, also:

Will probably need to avoid calling supervisord direct from Dockerfile - instead call a bash script that adjusts /etc/w3c/validator.conf with a given environment variable which is your desired public hostname. This could be baked into run.sh as an argument as well.
The adjustment would be to here before running Apache/HTML5 validator parts via supervisord https://github.com/w3c/markup-validator/blob/master/htdocs/config/validator.conf#L128.

I think I have given you the steps you need to solve this - so go at it! I might tackle this in the future if time allows, but for me personally - it's low use.
Thanks.

@backflip seems your issue is very much related. Yeah I don't have a fix for now - short of hacking this:
https://github.com/magnetikonline/dockerhtml5validator/blob/master/resource/configure.sh#L82-L85
But that's not very flexible - so injecting a hostname/port via run.sh into the container which is then used to modify validator.conf before running services, would serve this better.

I'll close this for now, as mentioned if I feel inspired I'll try to write an enhancement.

Hey @magnetikonline, I decided on exposing 8888 instead of 80 since I need the HTML5 validator only. Works like a charm.

@backflip nice one.... yep, that would do the trick 💃

May I ask you why you download the old validator too in place of just the new one? Since it is standalone with a webui

Okey so the vnu is working as expected in standalone. This is your combination with something which is not maintained anymore which cause the problem: https://github.com/w3c/markup-validator/issues/17


Gstreamer transcode 1to N tests added

Support transcode 1toN tests
It supports AVC/HEVC to AVC/HEVC/MPEG2/MJPEG transcoding for N times

Signed-off-by: Wang Zhanjun<EMAIL_ADDRESS>

can you help have a review, thanks @haribommi  @uartie

Please update vaapi-fits example test baselines for gst transcode.

Please update vaapi-fits example test baselines for gst transcode.

have done it, thanks

Whoops.  Looks like you didn't provide i965 baseline.  Please submit in new pull-request.


feat(pgwire): expose SSL functionality via RW_SSL_CERT and RW_SSL_KEY

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?

Expose SSL functionality via RW_SSL_CERT and RW_SSL_KEY

Checklist

[ ] I have written necessary rustdoc comments
[ ] I have added necessary unit tests and integration tests
[ ] I have added test labels as necessary. See details.
[ ] I have added fuzzing tests or opened an issue to track them. (Optional, recommended for new SQL features #7934).
[ ] My PR contains breaking changes. (If it deprecates some features, please create a tracking issue to remove them in the future).
[ ] All checks passed in ./risedev check (or alias, ./risedev c)
[ ] My PR changes performance-critical code. (Please run macro/micro-benchmarks and show the results.)

[ ] My PR contains critical fixes that are necessary to be merged into the latest release. (Please check out the details)

Documentation

[ ] My PR needs documentation updates. (Please use the Release note section below to summarize the impact on users)

Release note
If this PR includes changes that directly affect users or other significant modifications relevant to the community, kindly draft a release note to provide a concise summary of these changes. Please prioritize highlighting the impact these changes will have on users.

expose SSL functionality via RW_SSL_CERT and RW_SSL_KEY
Users can configure SSL cert and key file location via setting environment variables RW_SSL_CERT and RW_SSL_KEY for frontend nodes.

After this PR, SSL can work?

With a certificate with a localhost sign, I used psql to test it and it works. For on-prem users, they need to configure these environment variables by themselves. However, for cloud users, we have a proxy to provide TLS/SSL functionality.
psql "postgresql://root:@localhost:4566/dev?sslmode=verify-full"
psql (14.8 (Homebrew), server 9.5.0)
SSL connection (protocol: TLSv1.3, cipher: TLS_AES_256_GCM_SHA384, bits: 256, compression: off)
Type "help" for help.

dev=>

cc @mikechesterwang Could you please take a look based on your experience on SSL proxy?


feature(share): allow instagram share

The type of this PR is: Feature

This PR is part of Hackathon 8. It's about https://www.notion.so/artsy/Instagram-share-button-on-the-Artwork-page-in-the-Artsy-app-and-mobile-web-c08f321c8d414ba996cbdcc2296798d1.
Jira link: CX-832
Description
I am making this PR so we have a diff basically, and maybe we can have a way to try this on the beta app.
In order to make it wor, we share two "representations", one is the URL that takes us to the artwork page/screen, and the other one is a base64 of the image. This way, if we share with an app that needs an image, it uses that, like Instagram. If an app needs a URL, it will grab the URL.
I added a button behind a flag. When that button is clicked, Instagram opens and you can share the image on your feed or stories.
There is also a second flag about removing after sharing. To share with Instagram, the image needs to be in your camera roll. If the flag is on, the app will remove it after the share. If the flag is off, it will keep it.
Demos:
~~https://f.p0l.co/file/dropshare-public-pavlos/RPReplay_Final1605182083.MP4~~
~~https://f.p0l.co/file/dropshare-public-pavlos/RPReplay_Final1605279585.MP4~~
https://f.p0l.co/file/dropshare-public-pavlos/RPReplay_Final1608654922.MOV
https://f.p0l.co/file/dropshare-public-pavlos/RPReplay_Final1608654922-2.MOV
PR Checklist (tick all before merging)

[x] I have included screenshots or videos to illustrate my changes, or I have not changed anything that impacts the UI.
[x] I have added tests for my changes, or my changes don't require testing, or I have included a link to a separate Jira ticket covering the tests.
[x] I have documented any follow-up work that this PR will require, or it does not require any.
[x] I have added an app state migration, or my changes do not require one. (What are migrations?)
[x] I have added a CHANGELOG.yml entry or my changes do not require one.

This should be good to go.

This should be good to go.


first commit for Sphinxel SPX

I agree to not ping anybody on Discord/Twitter/email about this pull request. Instead I will inquire by posting a new comment in the pull request if needed.

PRs are reviewed in bulk and and can take up to two weeks to be merged.
This repository is managed using an auto merge action. Please ensure your PR has no deleted lines, and it will be merged.
Please provide the following information for your token.
Please include change to the src/tokens/solana.tokenlist.json file in the PR.
DON'T modify any other token on the list.
At minimum each entry should have
Token Address: H6JocWxg5g1Lcs4oPnBecmjQ4Y1bkZhGJHtjMunmjyrp
Token Name: Sphinxel
Token Symbol: SPX
Logo: https://raw.githubusercontent.com/solana-labs/token-list/main/assets/mainnet/H6JocWxg5g1Lcs4oPnBecmjQ4Y1bkZhGJHtjMunmjyrp/logo.png
Link to the official homepage of token: https://sphinxel.com
Coingecko ID if available (https://www.coingecko.com/api/documentations/v3#/coins/get_coins__id_): Not yet.

Test.

sdd


Cannot play more than 20 videos simultaneously

Generic information

Vlc.DotNet version : 3.0.0
Vlc.DotNet project used : WinForms
libvlc version : <IP_ADDRESS> x86 + NuGet
.net version : 4.7.2
Project language : C#
Project build architecture : AnyCPU
Operating system : (Windows 10 Home x64

Summary
Hello,
I am trying to create an app for surveillance purposes.
Everything works fine when playing 20 or less instances of VlcControl on a single Form; CPU usage is fluctuating between 10-15%. However, as soon as I try to play more than 20 instances of VlcControl, CPU usage soars to about 80-100%. I am a bit perplexed.
Thank you.
Specs:
i7-7700HQ
32 GB RAM
512 GB RAM
GTX 1050

https://code.videolan.org/videolan/LibVLCSharp/issues/262

I would like to add that this problem appears to be more or less solved in version 4 of the VLC nightly build. VlcControl scales linearly, CPU usage is kept under control and GPU is more involved. Although, starting the streams has become significantly slower.
I am, however, facing another problem now. It is not possible to call vlcControl.SourceProvider.Dispose() manually, which causes major memory leaks.

This library does not (yet?) support libvlc4.


Revise Trendicity, Authentication and Instagram service chapters

Cleanup current writing.  Work TODO's.  Make changes as appropriate based on beta14 upgrade

Complete


Add GItHub Organization Branch Protection Rate Limit

Summary
Add GItHub Organization Branch Protection Rate Limit
Background
We need to consider GitHub's API rate limit when enabling branch protection.  Some organizations, such as cloudfoundry, have 500 repositories configured in PROD for EasyCLA.
Tasks

[ ] Add GItHub Organization Branch Protection Rate Limit - see this bit of code/flow which can possibly be 500+ items in the list.

User Story
As a developer, I want to update 500+ repositories without being rate limited and failing.
Assumptions

EasyCLA GH Bot has GH Org admin permissions.

Acceptance Criteria
The "done" criteria when this feature or problem is resolved. Such as:

Unit Tests added and running in CI
Functional Tests updated to cover feature, if applicable
Demonstrate the set of capabilities to the product team while the code is running in the STAGING environment.

References
(Optional) Provide any code or specification references that would be helpful for the developer implementing this feature.

Code looks good - unfortunately, we don't have a good way to scale/test this feature. For now, let's close and re-open if we have problems.


Investigate reported size discrepancy between Rust and AssemblyScript contracts

As reported by @willemneal some contracts when implemented in Rust are an order of magnitude larger than equivalent contracts implemented in AssemblyScript. We need to get these contracts and debug where the size bloat comes from. The first thing is however, to get an example of such contract. @nearmax have not observed such discrepancy himself.
Assigning to @willemneal to provide an example of an order of magnitude discrepancy. Also assigning to @olonho to investigate the source of the size bloat.

Created size analysis tool at https://github.com/near/wasm_sizer.  Doesn't work properly on AssemblyScript files yet due to decoding library bug. Filed bug https://github.com/athre0z/wasm/issues/7

Reachability analysis for ten largest functions in regular build of https://github.com/olonho/voting-app/blob/master/contract/src/lib.rs and after application of wasm-opt.

flow_base.pdf

flow_opt.pdf

Just compiled the assemblyscript counter: https://github.com/near-examples/counter with
node asconfig.js -O3z

and the resulting binary is 18K.
Then compiled https://github.com/near-examples/rust-counter
Initially got 41K.  Then wasm-opt -o out/opt.wasm -0z out/main.wasm resulted in out/opt.wasm being 35K.
Then I returned to the assemblyscript.  The unoptimized was 30K, but with the above wasm-opt command it became 16K.
Then when I passed the optimized AS binary to wasm-opt I got 12K!
Now I'm going to use @olonho's  new tool to investigate further.

I guess it's because wasm-dis -> wasm-as loose a lot of debug and sourcemap info. If you disable sourcemapping on AS it could be also small I guess

Hmm it wasn't compiled with source maps, but --debug wasm on so I'll take a look at removing that.  Also we need assert because it provides needed runtime checks.

Ah, ok

After removing the debug flag and doing -O3z, I was able to get 12K, and the unoptimized went down to 20K!

@olonho Removing the --debug flag also makes the binary work with your sizer tool.

So after inspecting the Rust counter's source, I realized it differs from the AssemblyScript as its increment/decrement functions don't take an amount parameter.  After adding this to the contract, the rust binary became 100K and optimized to 85K.

@willemneal So are you saying Rust contract went from 41K to 100K after adding arguments? If that's true then it seems like serde_json adds a significant bloat to our contract size.

Yep exactly. So it's serde_json for sure.

Yep exactly. So it's serde_json for sure.

serde + serde_json.

Improved analysis tool, so that it only shows the relevant nodes (i.e. ones participating in paths to large functions).

1.pdf

With 5 largest function source of bloat becomes pretty obvious, and is an indirectly called function 662, which is
static u32 f662(u32 p0, u32 p1) {
  u32 l2 = 0;
  f64 l3 = 0;
  FUNC_PROLOGUE;
  u32 i0, i1, i2, i3, i4;
  f64 d0, d1;
  i0 = p1;
  i0 = i32_load8_u((&memory), (u64)(i0));
  i1 = 1u;
  i0 <<= (i1 & 31);
  i1 = 2u;
  i0 &= i1;
  l2 = i0;
  i0 = p0;
  d0 = f64_load((&memory), (u64)(i0));
  l3 = d0;
  i0 = p1;
  i0 = i32_load((&memory), (u64)(i0 + 16));
  i1 = 1u;
  i0 = i0 != i1;
  if (i0) {
    i0 = p1;
   d1 = l3;
    i2 = l2;
    i0 = f633(i0, d1, i2);
    goto Bfunc;
  }
  i0 = p1;
  d1 = l3;
  i2 = l2;
  i3 = p1;
  i4 = 20u;
  i3 += i4;
  i3 = i32_load((&memory), (u64)(i3));
  i0 = f632(i0, d1, i2, i3);
  Bfunc:;
  FUNC_EPILOGUE;
  return i0;
}

and indeed is never called directly, but stored in the table of indirect calls as
T0.data[offset + 128] = (wasm_rt_elem_t){func_types[1], (wasm_rt_anyfunc_t)(&f662)};

flow.pdf
Curiously, in case of the debug binary, the 5 largest functions are reachable in way saner manner
flow.pdf
and indeed looks like serialization code.

Closing issue of investigation because this and other points of bloat have been identified since. Feel free to re-open if we want to use this as a tracking issue, but seems stale to me


Clarify cargo manifest edition field docs

addresses #8951
This PR aims to clarify the documentation for the edition field in the Cargo manifest.
The confusion (IME) stems from the behavior of cargo new (defaults to writing edition = "2018") being confused for the default behavior of how Cargo interprets the manifest (edition is an optional key, defaults to 2015).
would love to get some other thoughts on how we can clarify this since it seems like I'm not the only one who got confused @Eh2406

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @Eh2406 (or someone else) soon.
If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.
Please see the contribution instructions for more information.

thanks for the review @Eh2406 , see my updated wordsmithing changes :)

I think it is good, but want @ehuss's opinion before we merge. I have messed this up before. :-P

Looks great, thanks!
@bors r=Eh2406

:pushpin: Commit da5b0794c7681a627522e3769a8023ecbe15664b has been approved by Eh2406

:hourglass: Testing commit da5b0794c7681a627522e3769a8023ecbe15664b with merge d274fcf862b89264fa2c6b917b15230705257317...

:sunny: Test successful - checks-actions
Approved by: Eh2406
Pushing d274fcf862b89264fa2c6b917b15230705257317 to master...


Parent Menu issue

What if i don't want to put a link on parent menu if i remove itemId key from it console shows me warning of unique key, kindly please suggest how to remove link from Parent menu only submenu have link.There should be two different key for link and for key , so if someone dont want to add link on parent menu so he can simply remove it and key value in "key"  so that he cannot get warning of unique key issue.

Will look into this

I found used trick here to solve parent key link issue:

just pass null value to the parents   itemId: ''
And in <Navigation onSelect={({itemId}) => { // maybe push to the route only if item id is not null }} />

is there a way to add my own class to parent and child menu?


1>e:\000work\hpx\src\throw_exception.cpp(54): error C2440: '': cannot convert from 'boost::system::error_code' to 'hpx::exception'

1>e:\000work\hpx\src\throw_exception.cpp(54): error C2440: '': cannot convert from 'boost::system::error_code' to 'hpx::exception'
boost 1.69
hpx::exception(ec), // boost::system::error_code ec
vs
explicit exception(boost::system::system_error const& e);

Workaround fixes (windows):
hpx:
In std::exception_ptr get_exception()
1-hpx::exception(boost::system::system_error(ec)),
In default_write_handler()
hpx::detail::get_exception(    hpx::exception(boost::system::system_error(ec)) ,
2- boost:
In struct allocator_traits
#undef max
static size_type max_size(const A&) BOOST_NOEXCEPT {
return std::numeric_limits<size_type>::max() / sizeof(value_type);

@K-ballo do you know what this might be about? 1.69 is not out yet so it may be a bug in Boost, or we have to deal with it once 1.69 actually is out.

@K-ballo do you know what this might be about?

Boost 1.69 went ahead and implemented LWG3162. We'll need a constructor from error_code to make this conversion explicit.

The second workaround listed above (adding #undef max) is caused by Boost violating their own guidelines.

Boost 1.69 went ahead and implemented LWG3162. We'll need a constructor from error_code to make this conversion explicit.

@K-ballo Boost made the conversion constructor explicit. Do you suggest for us to add an implicit constructor exception(boost::system::error_code const&) to compensate?

See #3558 for a possible fix. @alanthie could you please check whether this fixes your issue? Also, please report the #undef issue to the Boost mailing list.

@K-ballo Do you suggest for us to add an implicit constructor exception(boost::system::error_code const&) to compensate?

Our constructor should be explicit, just as the current constructor from boost::system::system_error is.


加入排除關鍵字的配置 (fix #24)

. 只要符合排除關鍵字，就會跳過該 release
What are you doing
加入關鍵字排除，只要 Release 標題包含指定關鍵字就會跳過

配置項多一個 except_keyword
其他就是對標題做個 contain 判斷

Testing
Please describe how you tested your changes.

Checklist
What kind of change does this PR introduce? (check at least one)

[ ] Bugfix
[x] Feature
[ ] Code style update
[ ] Refactor
[ ] Build-related changes
[ ] Other, please describe:

Does this PR introduce a breaking change? (check one)

[ ] Yes
[x] No

If yes, please describe the impact and migration path for existing applications:
The PR fulfills these requirements:

[x] It's submitted to the dev branch
[x] When resolving a specific issue, it's referenced in the PR's title (e.g. fix #xxx[,#xxx], where "xxx" is the issue number)
[x] My PR is based on the latest version of the dev branch.

Other Information

close #24


5.87.0 and upwards removes needed csproj assembly references

Description
When using paket update with a version above 5.86.1, such as versions 5.87.0, 5.89.0 and 5.89.1, it removes certain assembly references that are required which cause compilation errors. Reverting to 5.86.1 and running paket update resolved those issues.
Repro steps
I'm hoping included logs from each paket update run, the dependency files and the before and after lock files might help diagnose the problem. If it doesn't I can try to create a reproduction, but it may involve a lot of work.
Here is a zip files:
PaketIssue.zip
It includes:

paket.dependencies
paket.references of the two projects that failed to compile with the latest Paket (Gator and Gator.FunctionalTests)
Before and after files of:

The paket.lock file
The csproj of both projects
The log when running paket update

In Gator.csproj, compilation fails because Microsoft.Framework.OptionsModel and Microsoft.Framework.Caching.Abstractions references are missing.
In Gator.FunctionalTests.csproj, compilation fails because System.Reactive.Core is missing.
Known workarounds
Revert to Paket version 5.86.1.

I believe this is a duplicate of #2652. We are already working on a solution. If you use v2 nuget url in your paket.dependencies file then it should work as temporary workaround. In any case thanks for reporting. We hope to provide a fix soon

ok I pushed a temporary workaround which automatically uses v2 feed. This gives us a bit time until we do the correct fix. you may need to use -f to invalidate the cache.


Error: No Credentials Providers

I am getting the following error when attempting to run the steps.

provider.aws: error validating provider credentials: error calling sts:GetCallerIdentity: NoCredentialProviders: no valid providers in chain. Deprecated.

Specifically the following command generates this  error:
terraform plan -out /tmp/tfplan

When I wrote this example only KOPS was available, now the native AWS credential provider is available for EKS.  To get this example to work, you would have to either a) download and configure KOPS or b) refactor the template to use AWS cred provider.  Here's more context -- https://stackoverflow.com/questions/51445566/kops-over-aws-eks-or-vice-versa

Thanks.  The solution was to modify the main.tf file with the following information per the AWS access key and secret.
Configure the AWS Provider
provider "aws" {
access_key = "${var.aws_access_key}"
secret_key = "${var.aws_secret_key}"
region     = "us-east-1"
}


How to use mne-analyze

How to use mne-analyze gui based. Does it require to install mne-C or it works with mne python also.
Also to create a forward solution we need transformation matrix, can anyone tell me how to generate the file from mri structure file in .nii format.

Yeah I read that. But I couldn't figure out how to launch the gui of mne_analyze.

mne_analyze is a C program.
to get the coregistration you need to use in Python the "mne coreg" tool.
See doc in https://martinos.org/mne/stable/auto_tutorials/plot_forward.html?highlight=coregistration


Feature importance results sensitive to feature order

I'm using the xgboost R package (version 0.71.1) under R 3.5.0 with Windows 10. The problem I'm working on is regression with continuous features.
In my features, I have one (x11) that is a monotone transformation of another feature (x1). When I have column subsampling turned off, I still get different feature importance results depending on where x11 is. With x11 being the first one among all the features, its gain is 0.72 and x1 doesn't show up. With it as the last one, it doesn't even show up in the list and x1 has a gain of 0.61.
x11 was added because it is believed that this transformation should help, so x11 and x1 should not be a tie in terms of their effects on loss reduction (and the gains of the two features prove that). So it doesn't make any sense that the feature order matters so much here. This issue was raised before but one time it was claimed that it's a feature (https://github.com/dmlc/xgboost/issues/2414) and another time Tianqi said it only affects the results when there's a tie (https://github.com/dmlc/xgboost/issues/1256). Responses in neither satisfactorily address my concerns here.

Can you post a script here to demonstrate "different feature importance results"?

Since this is a general question, let us move the discussion to https://discuss.xgboost.ai/
Unfortunately, feature importance will indeed be sensitive to order of features, this is because when there are duplicated features, the selection algorithm will favor the features that occured first

@hcho3 I'll have to post the data to demonstrate this problem and unfortunately I can't do that. @tqchen The features I have are not duplicated features, they are definitely highly collinear because one is a monotone transformation of the other, but it is expected the transformed one would perform better, which is proven by some other algorithms. I was surprised xgboost was not able to pick up that subtle but important difference. In my mind, it is a deficiency that needs to be addressed.

Again I would be happy to continue discuss this at the forum :)  https://discuss.xgboost.ai/
This behavior have something to do with trees


Multitouch Interaction Manager

I was under the impression that PIXI v3 was "multitouch ready". However looking at the InteractionManager, it seems that there's a single .eventData property that holds the state of the various touches. Its properties get overwritten when various touches get updated - meaning it's impossible to reason about the state of the touches.
It seems to me that to fix this we should make eventData an object using the key of each touch ?
Does this seem like a sensible approach ?
J

I have managed a multitouch PinchGesture using e.data.originalEvent.touches within one touch 'touchstart' event on a Container, is this what you mean?

I mean that this.eventData is essentially the last touch event, but this isn't very useful if you want to process another touch that was previous to this.
I'm trying out a hack that swaps this.eventData to the current touch in each of the handlers like so :
this.eventData = this.eventDataObject[touchData.identifier] || this.createNewEventData()

I just wanted to see if this was a mad idea or not !

ahh ok, i'll leave this to the experts then, I just use the touches array for each finger position etc... good luck

my hack seems to work ok - is it a good/bad idea ? @englercj ? @GoodBoyDigital ?

I'm having an issue (#1979) that sounds like your hack would work but I can't figure out how to implement it, or if I did implement it properly it didn't work. Because I'm not sure if this will solve my issue, I'm not sure if I implemented it correctly.
Do you have a jsfiddle or something with your fix in place ?

Yes my fix has been working for me. I can upload soon...

That'd be awesome, I need to deliver an ALPHA and this is the only major issue right now.
Thanks a lot.

so I replaced :
    this.eventData = {
        stopped: false,
        target: null,
        type: null,
        data: this.mouse,
        stopPropagation:function(){
            this.stopped = true;
        }
    };

with
    this.eventDataObject = {}
    this.createNewEventData = function() {
        return {
            stopped: false,
            target: null,
            type: null,
            data: this.mouse,
            stopPropagation:function(){
                this.stopped = true;
            }
        };
    }
    this.eventData = this.createNewEventData()

and added
this.eventData = this.eventDataObject[touchData.identifier] = this.eventDataObject[touchData.identifier] || this.createNewEventData()

after each (3 of):
 touchData.originalEvent = event;

here's the latest version of pixi + my changes
https://gist.github.com/weepy/73354fb4e0022ce12939

Thanks for posting, that's exactly what I had done when trying to implement this however there is no change to the behavior for me.
I start dragging the joystick and all is well and then as soon as I touch anything else the joystick is now responding to that touch, and then whatever touch is the most recently updated ... I don't know what I'm missing here.

hmm sorry - I don't really now how to help further :(

Thanks for the investigation/patch. Sucks that this isn't properly supported yet...

Actualy, you can do multitouch with Pixi v3, but you need to build your own EventManager to control the touches id in memory, the order to know the first, second touch etc.
My events tested:  start, move, end, endout, endorout, tap, doubletap, pinchstart, pinchmove, pinchend, holdlong, holdlong.
I'm working on a editor, with move, zoom, multitouch pinch like googlemap, so yes that's work !
You need:
e.data.originalEvent.timeStamp
e.data.originalEvent.touches
e.data.originalEvent.changedTouches
changedTouches[i].identifier (i == index)
changedTouches[i].clientX ... Y
With all these data, you should do it easily!

Hum... I was hoping multitouch was working out of the box too. Any chance this will be implemented any time soon? Or will this work in v4?

Multitouch should work since we pass back the original event. There is a bug where we aren't properly passing back identifiers but that is tracked elsewhere.


Update netty-handler to 4.1.107.Final

About this PR
📦 Updates io.netty:netty-handler from 4.1.92.Final to 4.1.107.Final
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "io.netty", artifactId = "netty-handler" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "io.netty", artifactId = "netty-handler" }
}]

labels: library-update, commit-count:1

Superseded by #1654.


How to insert custom data which is hard to pre-defined

I'm writing a kafka consumer, it consumes message and insert those message into clickhouse according to message's meta info, like:
{
  "table": "ch_table_1",
  "data": [
    {"col_name": "foo", "type": "uint32", "val": "3"},
    {"col_name": "bar", "type": "string", "val": "hello"}
    //...
  ]
}

How do I construct the Row to insert? Didn't find any docs about this

The ideal way is to use the Row derive macro if the structure is static. In the recent string of releases, I added RawRow and UnitValue structs. RawRow functions identically to that in tokio-postgres, while UnitValue functions the same, but to receive a single statically defined column (i.e. a UInt64 from a count operation).
Since your format doesn't look static, RawRow would be the way to go... alas, but I didn't add support to write to the RawRow. I'll push an update shortly.

I just published v0.7.2 which includes some utility functions to create and write a RawRow.
It can be used as such:
let mut row = RawRow::default();
row.set("col1", 5u64);
row.set_typed("col2", Type::UInt64, 5u64);
client.insert_into_block("...", vec![row]);

If you want custom column based operations, I don't have a clean API for those yet, but working with the raw Block type is the way to go.
docs.rs: https://docs.rs/klickhouse/0.7.2/klickhouse/struct.RawRow.html (at the time of posting, docs.rs has not yet built docs for the version I just published, but this link should work in short order)