Can't find the necessary components for the vmware_fusion vagrant provider

I am following this guide on OS X:
https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/getting-started-guides/vagrant.md
I am able to run other vagrant's using the same provider.
$ ./cluster/kube-up.sh
Starting cluster using provider: vagrant
... calling verify-prereqs
Can't find the necessary components for the vmware_fusion vagrant provider, please fix and retry.

Same here, looking at it.

It's likely because vmrun is not in your path. Patch incoming, but you can add /Applications/VMware\ Fusion.app/Contents/Library to your PATH as a workaround in the interim.

Thanks @jameskyle. Modifying the path fixed the reported error, but there are still some problems. Looking at the following gist the minion fails to be created, but the master is created and started.
https://gist.github.com/moander/fb67060b39d2667066ab
/sbin/ifdown ens33

Stdout from the command:

ERROR    : [/etc/sysconfig/network-scripts/ifdown-eth] Device ens33 has MAC address 00:0C:29:29:F0:F0, instead of configured address 00:0C:29:16:5F:2B. Ignoring.

@moander I have the same issue as you at the moment. I bought the vmware adapter as I was unable to get the virtualbox vagrant cluster running. I'm going to be digging in today, will update if I find anything.

I found the same issue reported here #10906 @moander

I'm closing this as a duplicate of #10906.

Please re-open this issue. It is not a duplicate of #10906.

reopened

Resolved by #12067


Compile-able code in readme

(currently this snippet fails 'unused var err' check)

I don't see why travis should fail. Looks fine.


Loading Values from Multi-Dimensional JSON Array of Objects

I'm currently attempting to load this json into selectize:

{"platforms":
[{"id":32,"name":"Sega Saturn","slug":"saturn"},
{"id":14,"name":"Mac","slug":"mac"},
{"id":47,"name":"Virtual Console (Nintendo)","slug":"vc"},
{"id":34,"name":"Android","slug":"android"},
{"id":84,"name":"SG-1000","slug":"sg1000"},
{"id":58,"name":"Super Famicom","slug":"sfam"},
{"id":82,"name":"Web browser","slug":"browser"}]
}

I have this code, which isn't working, could anyone give me some suggestions?
var data = JSON.parse('{"platforms":[{"id":32,"name":"Sega Saturn","slug":"saturn"},{"id":14,"name":"Mac","slug":"mac"},{"id":47,"name":"Virtual Console (Nintendo)","slug":"vc"},{"id":34,"name":"Android","slug":"android"},{"id":84,"name":"SG-1000","slug":"sg1000"},{"id":58,"name":"Super Famicom","slug":"sfam"},{"id":82,"name":"Web browser","slug":"browser"}]}');
var options = [];
$.each(data.platforms, function()
{
    options.push({
        id: this.id,
        title: this.name,
        url: "hhtp://site.com/"+this.slug
    });
});
var $select = $('#select-tools').selectize({
    maxItems: null,
    valueField: 'id',
    labelField: 'title',
    searchField: 'title',
    options: options,
    create: false
});

I'm basing it [off of this example] (https://github.com/brianreavis/selectize.js/blob/master/examples/api.html), [and this one too.] (https://github.com/brianreavis/selectize.js/blob/master/examples/movies.html)
What am I doing incorrectly?

I fixed it, the Javascript was correct. My HTML wasn't.


transform function is not working under eval command

I tried the following command but it is giving me error.
command :
./transporter eval --config ./test/config.yaml 'Source({name:"localmongo", type:"mongo", namespace: "boom.foo"}).transform("transformers/transform2.js").save({name:"tofile", type:"file"})'
error :
save error, transform error. unable to find node 'transformers/transform2.js'

@codepope, I developed my own adaptor for Kinesis streaming. I run the following command but giving me error of 'no such file exists.'
Command  :
./transporter eval --config ./test/config.yaml 'Source({name:"kinesisstream"}).transform({filename: "transformers/json_converter.js", namespace: "kinesis.appbase_test", debug: true}).save({name:"appbaseapp", namespace:"test_123.appbase_test", debug:true})'
Error :
cannot create transformer adaptor (kinesisstream/2ceab30d-c7fe-4363-5f9f-b45d0ed40b92). open transformers/json_converter.js: no such file or directory
The application is working fine with the run command, but not with eval command.
My application.js file.
Thanks.

@rishiloyola the transform file should be specified relative to your application.js file. I've not been able to reproduce what you've reported locally.

closing due to inactivity, please feel free to reopen if still experiencing an issue.


Fix for AFIT token if there's no trading history.

Running the website locally against the test api causes issues for the AFIT token since there is no trading history for that token.

@Melonman0 Beautiful. Thank you.


What should happen when message in sent in background ?

I'm sorry if im asking something stupid but i tried to send sms in background but nothing happens, i dont see the sms being sent or anything relatable to it.
This is the code i tried:
var smsMessenger = CrossMessaging.Current.SmsMessenger;
if (smsMessenger.CanSendSmsInBackground)
    smsMessenger.SendSmsInBackground(contactos, "Some text");

But nothing happens ...
And if i send message normally, how can i know if message was sent or cancelled or some other error happened ?
if (smsMessenger.CanSendSms)
    smsMessenger.SendSms(contactos, "some text");

After this, how can i know that the message was sucessfully sent ?

I think PR #115 can help you, when you are using smsMessenger.SendSmsInBackground


Change lifespans to not rely on empty vs 0 vs number, I'd rather we have checkboxes

I don't really like this help text below the input. I want the input itself to be self explanatory if possible. I think we should have a checkmark for Remember Value? and then a checkmark for Remember Forever? and then an input that shows up whenever remember value is checked but remember forever isn't.
are there parameters to remember forever? If not that then we can just omit that option for now.
@broham89 certainly open to your input here.

Closed by https://github.com/samtecspg/articulate/commit/3084f980a4a84800cf9b7bac0fe26a40b83cdd31


OpenSearch Bulk API Source

Summary
This creates a new Data Prepper source which accepts data in the form of the OpenSearch Bulk API.
Configuration
source:
  opensearch_api:
    port: 9200
    path_prefix: opensearch/

Operations
The _bulk API supports:

index
create
update
delete

This source can do something similar to what the dynamodb source does. Specifically it should include the opensearch_action metadata.
Sample
POST opensearch/_bulk
{ "index": { "_index": "movies", "_id": "tt1979320" } }
{ "title": "Rush", "year": 2013 }

The above request is the simplest case since it is an index request.
It creates an Event with data such as:
{ "_id": "tt1979320" "title": "Rush", "year": 2013 }

Additionally, the event will need metadata that we can use in the opensearch sink.
opensearch_action: "index"
opensearch_index: "movies"
opensearch_id: "tt1979320"

Query parameters
The _bulk API supports a few query parameters. The source should also support most of these and provide some of them as metadata.

pipeline -> Sets metadata: opensearch_pipeline
routing -> Sets metadata: opensearch_routing
timeout -> Configures an alternate timeout for the request in the source. This probably doesn't need to be provided downstream.

Some other parameters that we may wish to support:

refresh
require_alias
wait_for_active_shards

Finally, we should not support these parameters as they are being deprecated.

type

Response
Being able to provide the _bulk API response may be more challenging. There are a few reasons:

Unless end-to-end acknowledgments are enabled, we won't have any knowledge of the writes.
Even when acknowledgments are enabled all the metadata needed in a typical response is still not available.

An initial version could provide responses that either have empty values (where appropriate) or use synthetic values.

I would like to work on this issue. Could you please assign this to me?

For the first milestone, we are going to support the OpenSearch Bulk API Index action. All other actions like create, update and delete  will be available in later milestones.

Thanks @sb2k16 for picking this up. This is of interest to me working on OpenSearch UBI.
I don't want to restrict where UBI events and queries are indexed because there can be valid reasons for wanting to store those items on a different OpenSearch instance (different meaning different from where the query was done). Allowing the user to specify an OpenSearch API-compatible endpoint to receive that data would allow UBI to store data in any instance of OpenSearch with minimal overhead.
The Bulk API will be helpful because the UBI OpenSearch module can use that endpoint directly to send data to another instance of OpenSearch via Data Prepper. Additionally, using Data Prepper is valuable because of the flexibility it gives the user.
I hope that gives some insight into one use-case for this feature request. If it would be helpful to chat more about it please let me know.

Completed in #5024.

This is awesome! Thanks everyone!


singularize("gas")

There are many exceptions for which the singularize doesn't work. For instance, "gas", "bias", "atlas" etc.

I have a similar issue. When the word ends in -ous, like "ambitious", "ovious", "dangerous"...


animateHeight={true} workaround

Quick and dirty hack to workaround animateHeight={true} bug during child view resizing
In client code, use:
static contextTypes = {
	refreshSwipeableContainerHeight: PropTypes.func.isRequired
};

foo() {
	this.context.refreshSwipeableContainerHeight(); // call it whenever child view resizes
}

Closed by #280


Remove app icon from sdk

This replaced our app's icon, I think its not needed in SDK

Hello, I'm Stipop's mobile SDK developer kyum.
I merged your request and release new version 0.9.5-beta.3
Thank you for your efforts and Please update SDK to version 0.9.5-beta.3.
Thanks.


[Brew] Failed to search on brew Extension

Extension – Brew
Author: @nhojb

The current behavior
I have an error sending me to try search again and again
The expected behavior
list all the brew itens
Raycast version
Version: 1.43.2

Just pushed an update that should fix this issue.


WASM: Add support for tracks, streams, and media

#479 only adds support for DataChannel, but eventually we would like to support video and audio functionality by implementing bindings for Track and other related objects/methods.

So this is working towards a browser based video conferencing system ? All golang ?

@gedw99 Yes, in WASM the Pion API forms a wrapper around the JavaScript WebRTC API so you can use it in the same (or very similar) way you would on the server. For the media stuff there will probably be some differences in the API between the JavaScript and native implementation. This would indeed allow you to write both the server and the client side of a video conferencing system in Go.

thanks @backkem - much appreciated.

I added support for addTransceiver. This is a good start and we can just iterate as we get more demand


Update README.md

Closes #439

Add information about creating a user for the admin panel

Coverage remained the same at 99.207% when pulling 0dbade6b4e0dd12dc1c5fcbb36fcf486d7cb1c1e on readme-create-admin into 11a68ac734ba559b6abf442ecaa0bbd1a7df08bb on main.


multiple_simulations_multiple_analysis.py fails on stampede

Iteration 1: Waiting for analysis tasks: misc.ccount to complete2016-05-12 20:53:49,608: radical.entk.simulation_analysis_loop.static.default: MainProcess                     : MainThread     : INFO    : Analysis in iteration 1/kernel 1: misc.ccount completed.
            done2016-05-12 20:53:49,658: radical.entk.simulation_analysis_loop.static.default: MainProcess                     : MainThread     : INFO    : Submitted tasks for simulation iteration 2.
2016-05-12 20:53:49,658: radical.entk.simulation_analysis_loop.static.default: MainProcess                     : MainThread     : INFO    : Waiting for 8 simulations in iteration 2/ kernel 1: misc.mkfile to complete.

Iteration 2: Waiting for 8 simulation tasks: misc.mkfile to complete2016-05-12 20:54:06,404: radical.entk.simulation_analysis_loop.static.default: MainProcess                     : MainThread     : INFO    : Simulations in iteration 2/ kernel 1: misc.mkfile completed.
        done2016-05-12 20:54:06,443: radical.entk.simulation_analysis_loop.static.default: MainProcess                     : MainThread     : INFO    : Submitted tasks for analysis iteration 2.
2016-05-12 20:54:06,443: radical.entk.simulation_analysis_loop.static.default: MainProcess                     : MainThread     : INFO    : Waiting for 8 analysis tasks in iteration 2/kernel 1: misc.ccount to complete.

Iteration 2: Waiting for analysis tasks: misc.ccount to complete2016-05-12 20:54:10,307: radical.saga.pty    : MainProcess                     : OutputFileTransferWorker-1: ERROR   : flushing failed
Traceback (most recent call last):
  File "/Users/giorgos/vivek-tests/lib/python2.7/site-packages/saga/utils/pty_process.py", line 174, in flush
    tmp = self.read (timeout=0.1)
  File "/Users/giorgos/vivek-tests/lib/python2.7/site-packages/saga/utils/pty_process.py", line 676, in read
    raise e
NoSuccess: unexpected EOF (s or how to disable)

   Would you like to know how much memory your code uses during execution? Try TACC's remora tool:
     $ module load remora
     $ module help remora

login4.stampede(1)$ $$PROMPT-0->PROMPT-0->PROMPT-0->PROMPT-0->PROMPT-0->PROMPT-0->) (/Users/giorgos/vivek-tests/lib/python2.7/site-packages/saga/utils/pty_process.py +606 (read)  :  raise se.NoSuccess ("unexpected EOF (%s)" % self.tail))
2016-05-12 20:54:10,384: radical.pilot       : MainProcess                     : OutputFileTransferWorker-1: ERROR   : Output transfer failed: unexpected EOF (s or how to disable)

   Would you like to know how much memory your code uses during execution? Try TACC's remora tool:
     $ module load remora
     $ module help remora

login4.stampede(1)$ $$PROMPT-0->PROMPT-0->PROMPT-0->PROMPT-0->PROMPT-0->PROMPT-0->) (/Users/giorgos/vivek-tests/lib/python2.7/site-packages/saga/utils/pty_process.py +606 (read)  :  raise se.NoSuccess ("unexpected EOF (%s)" % self.tail))
Traceback (most recent call last):
  File "/Users/giorgos/vivek-tests/lib/python2.7/site-packages/radical/pilot/controller/output_file_transfer_worker.py", line 147, in run
    session=self._session)
  File "/Users/giorgos/vivek-tests/lib/python2.7/site-packages/saga/filesystem/file.py", line 86, in __init__
    _adaptor, _adaptor_state, _ttype=_ttype)
  File "/Users/giorgos/vivek-tests/lib/python2.7/site-packages/saga/namespace/entry.py", line 89, in __init__
    url, flags, session, ttype=_ttype)
  File "/Users/giorgos/vivek-tests/lib/python2.7/site-packages/saga/base.py", line 101, in __init__
    self._init_task = self._adaptor.init_instance (adaptor_state, *args, **kwargs)
  File "/Users/giorgos/vivek-tests/lib/python2.7/site-packages/saga/adaptors/cpi/decorators.py", line 57, in wrap_function
    return sync_function (self, *args, **kwargs)
  File "/Users/giorgos/vivek-tests/lib/python2.7/site-packages/saga/adaptors/shell/shell_file.py", line 1014, in init_instance
    self.initialize ()
  File "/Users/giorgos/vivek-tests/lib/python2.7/site-packages/saga/adaptors/shell/shell_file.py", line 1055, in initialise
    ret, out, _ = self.shell.obj.run_sync (cmd)
  File "/Users/giorgos/vivek-tests/lib/python2.7/site-packages/saga/utils/pty_shell.py", line 637, in run_sync
    self.pty_shell.flush ()
  File "/Users/giorgos/vivek-tests/lib/python2.7/site-packages/saga/utils/pty_process.py", line 174, in flush
    tmp = self.read (timeout=0.1)
  File "/Users/giorgos/vivek-tests/lib/python2.7/site-packages/saga/utils/pty_process.py", line 676, in read
    raise e
NoSuccess: unexpected EOF (s or how to disable)

   Would you like to know how much memory your code uses during execution? Try TACC's remora tool:
     $ module load remora
     $ module help remora

login4.stampede(1)$ $$PROMPT-0->PROMPT-0->PROMPT-0->PROMPT-0->PROMPT-0->PROMPT-0->) (/Users/giorgos/vivek-tests/lib/python2.7/site-packages/saga/utils/pty_process.py +606 (read)  :  raise se.NoSuccess ("unexpected EOF (%s)" % self.tail))
Exception in thread OutputFileTransferWorker-1:
Traceback (most recent call last):
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 810, in __bootstrap_inner
    self.run()
  File "/Users/giorgos/vivek-tests/lib/python2.7/site-packages/radical/pilot/controller/output_file_transfer_worker.py", line 147, in run
    session=self._session)
  File "/Users/giorgos/vivek-tests/lib/python2.7/site-packages/saga/filesystem/file.py", line 86, in __init__
    _adaptor, _adaptor_state, _ttype=_ttype)
  File "/Users/giorgos/vivek-tests/lib/python2.7/site-packages/saga/namespace/entry.py", line 89, in __init__
    url, flags, session, ttype=_ttype)
  File "/Users/giorgos/vivek-tests/lib/python2.7/site-packages/saga/base.py", line 101, in __init__
    self._init_task = self._adaptor.init_instance (adaptor_state, *args, **kwargs)
  File "/Users/giorgos/vivek-tests/lib/python2.7/site-packages/saga/adaptors/cpi/decorators.py", line 57, in wrap_function
    return sync_function (self, *args, **kwargs)
  File "/Users/giorgos/vivek-tests/lib/python2.7/site-packages/saga/adaptors/shell/shell_file.py", line 1014, in init_instance
    self.initialize ()
  File "/Users/giorgos/vivek-tests/lib/python2.7/site-packages/saga/adaptors/shell/shell_file.py", line 1055, in initialise
    ret, out, _ = self.shell.obj.run_sync (cmd)
  File "/Users/giorgos/vivek-tests/lib/python2.7/site-packages/saga/utils/pty_shell.py", line 637, in run_sync
    self.pty_shell.flush ()
  File "/Users/giorgos/vivek-tests/lib/python2.7/site-packages/saga/utils/pty_process.py", line 174, in flush
    tmp = self.read (timeout=0.1)
  File "/Users/giorgos/vivek-tests/lib/python2.7/site-packages/saga/utils/pty_process.py", line 676, in read
    raise e
NoSuccess: unexpected EOF (s or how to disable)

   Would you like to know how much memory your code uses during execution? Try TACC's remora tool:
     $ module load remora
     $ module help remora

login4.stampede(1)$ $$PROMPT-0->PROMPT-0->PROMPT-0->PROMPT-0->PROMPT-0->PROMPT-0->) (/Users/giorgos/vivek-tests/lib/python2.7/site-packages/saga/utils/pty_process.py +606 (read)  :  raise se.NoSuccess ("unexpected EOF (%s)" % self.tail))

2016-05-12 20:54:13,065: radical.entk.simulation_analysis_loop.static.default: MainProcess                     : Thread-3       : ERROR   : ComputeUnit error: STDERR: grep: asciifile.dat: No such file or directory
, STDOUT: grep: asciifile.dat: No such file or directory

2016-05-12 20:54:13,065: radical.entk.simulation_analysis_loop.static.default: MainProcess                     : Thread-3       : ERROR   : Pattern execution FAILED.
2016-05-12 20:54:13,065: radical.pilot       : MainProcess                     : Thread-3       : ERROR   : unit manager controller thread caught system exit -- forcing application shutdown
Traceback (most recent call last):
  File "/Users/giorgos/vivek-tests/lib/python2.7/site-packages/radical/pilot/controller/unit_manager_controller.py", line 262, in run
    self.call_unit_state_callbacks(unit_id, new_state)
  File "/Users/giorgos/vivek-tests/lib/python2.7/site-packages/radical/pilot/controller/unit_manager_controller.py", line 199, in call_unit_state_callbacks
    cb(self._shared_data[unit_id]['facade_object'], new_state)
  File "/Users/giorgos/vivek-tests/lib/python2.7/site-packages/radical/ensemblemd/exec_plugins/simulation_analysis_loop/static.py", line 318, in unit_state_cb
    sys.exit(1)
SystemExit: 1
Execution interuptedTraceback (most recent call last):
  File "/Users/giorgos/vivek-tests/lib/python2.7/site-packages/radical/ensemblemd/exec_plugins/simulation_analysis_loop/static.py", line 622, in execute_pattern
    resource._umgr.wait_units(bids)
  File "/Users/giorgos/vivek-tests/lib/python2.7/site-packages/radical/pilot/unit_manager.py", line 698, in wait_units
    time.sleep (0.5)
KeyboardInterrupt

Starting Deallocation..
2016-05-12 20:54:13,255: radical.entk.SingleClusterEnvironment: MainProcess                     : MainThread     : INFO    : Deallocating Cluster
2016-05-12 20:54:26,367: radical.entk.SingleClusterEnvironment: MainProcess                     : Thread-1       : INFO    : Resource xsede.stampede state has changed to Canceled
2016-05-12 20:54:26,367: radical.entk.SingleClusterEnvironment: MainProcess                     : Thread-1       : INFO    : Resource allocation cancelled.
Resource allocation cancelled.                                              done

Well, I run this example again and it worked. It seems that I encountered this error because I tried to run another job on stampede concurrently with this one

So this can be closed, right ?


Group training samples by page

Currently our setup/generate_dataset.py creates a list of tuples, these are (x, y) elements where x represents the training data and consists of text and y consists of a list of ixbrl annotations. We want to create a list of lists, [(x1, y1), (x2, y2)] where each list corresponds to a page and each tuple represents an annotated web-element on that page.

@kamilkrukowski
in the TODO，

TODO: Convert to list of [lists of tuples, page number, parent_company_tikr] scheme where each list of tuples consists of all annotated webelements on that page

do we need to specify the document for the lists of tuples?
i.e. [lists of tuples, doc_reference,page number, parent_company_tikr]
doc_reference is the value from the parser.get_annotated_submissions(tikr)

@kamilkrukowski Is this the correct structure?

[ #i.e. this is page L of document N of company M, but those 3 variables are hidden within the features of x
(x: value, y: [label_list]),
(x: value, y: [label_list]),
...
]


Use LLVM intrinsics for memcpy/memmove in codegen

LLVM optimises calls to its intrinsics better than calls to standard libc functions.

This looks good, but I think instead of:
#ifdef PLATFORM_IS_ILP32

Perhaps it should be:
if(target_is_ilp32(c->opt->triple)

That way, the intrinsic depends on the target triple.


udp: default-on SO_REUSEPORT doesn't work with listening on port 0

This is for tracking the issue we discussed about SO_REUSEPORT in https://github.com/envoyproxy/envoy/pull/19188. In Linux, if multiple Envoy instances are all configured to listen on port 0 for their UDP listeners, they may end up sharing the same port because of the default-on SO_REUSEPORT socket option if they are under the same user ID. This kernel behavior somewhat aligns with the contract of binding port 0 and SO_REUSEPORT.  And a similar issue is explored here https://gavv.github.io/articles/ephemeral-port-reuse/.
This unexpected behavior was uncovered in QUIC integration tests because it affects UDP listeners which do not listen() more than TCP listeners. Currently SO_REUSEPORT is disabled in most of the integration tests(https://github.com/envoyproxy/envoy/pull/19188) to prevent parallel bazel tests sharing the same port.
The mitigation is only in tests, not in production. Given that we aren't aware of any use case where Envoy is configured to listen on port 0 in production. But if there is, the Envoy should also explicitly disable SO_REUSEPORT like https://github.com/envoyproxy/envoy/pull/19188 does. If both SO_REUSEPORT and listening on port 0 are desired, we need to revisit this issue and look into more sound solution, i.e. making Envoy manage a pool of ports.

cc @alyssawilk @wrowe

seems interesting. I would like to take this.

@ankatare this issue is mitigated in test already. Are you running into the same issue in production so that a more comprehensive solution is needed?

@danzh2010 Ohh.got it. We are not using envoy in production


What max size is vespa's raw field?

Can I store 1G bytes in raw field?

Yes, if it fits i memory you can store it in a document.

Some caveats: there are a lot of 32-bit offsets internally in the document management code, so I'd be extremely wary of trying to push anything close to INT32_MAX bytes over the wire. Also documents are considered as atomic blobs for both insertion and retrieval; there is no streaming of per-document data. This means you'll be dealing with large allocations and copy operations on every path a document takes on the way in and out.

Thanks a lot.

Not sure if storing large blobs of binary data is Vespa's primary use case :)


974px vs 1140px

Hi @peter-mouland
can i get a little background why we have two versions?

all of sky use to be 974px wide so when the grid was first created it was this wide.  Then with the redeisgns of couple years ago this was changed to 1200px (or 1140 without gutters) and the hope was everyone would 'quickly' transition across.
so for backwards capability ive kept the option to easily restrict the width... maybe we can remove it as the restriction could easily be done in their own project....

I think version 1.0.0 should have any deprecations removed.


added packageName to example configuration

updated the example configuration with the changes I made in the last release

Thanks for the contribution


try to move the image processing to the graphic card

the classifier project should try to use the graphic subsystem if available

tested and abandoned in branch gcloud


AttributeError encountered while running poetry run poe test

As instructed in the Development section of Readme, after forking, cloning and installing dependencies (poetry install), when I tried to run poetry run poe test, I am getting the following error.
beaupy on  master is 󰏗 v3.8.3 via  v3.12.4 (beaupy-py3.12) took 2s
❯ poetry run poe test
Traceback (most recent call last):
  File "/home/hyperoot/.cache/pypoetry/virtualenvs/beaupy-7Cx4z3mP-py3.12/bin/ward", line 8, in <module>
    sys.exit(run())
             ^^^^^
  File "/home/hyperoot/.cache/pypoetry/virtualenvs/beaupy-7Cx4z3mP-py3.12/lib/python3.12/site-packages/click/core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/hyperoot/.cache/pypoetry/virtualenvs/beaupy-7Cx4z3mP-py3.12/lib/python3.12/site-packages/click/core.py", line 1078, in main
    rv = self.invoke(ctx)
         ^^^^^^^^^^^^^^^^
  File "/home/hyperoot/.cache/pypoetry/virtualenvs/beaupy-7Cx4z3mP-py3.12/lib/python3.12/site-packages/click/core.py", line 1688, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/hyperoot/.cache/pypoetry/virtualenvs/beaupy-7Cx4z3mP-py3.12/lib/python3.12/site-packages/click/core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/hyperoot/.cache/pypoetry/virtualenvs/beaupy-7Cx4z3mP-py3.12/lib/python3.12/site-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/hyperoot/.cache/pypoetry/virtualenvs/beaupy-7Cx4z3mP-py3.12/lib/python3.12/site-packages/click/decorators.py", line 33, in new_func
    return f(get_current_context(), *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/hyperoot/.cache/pypoetry/virtualenvs/beaupy-7Cx4z3mP-py3.12/lib/python3.12/site-packages/ward/_run.py", line 199, in test
    mod_infos = get_info_for_modules(paths, exclude)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/hyperoot/.cache/pypoetry/virtualenvs/beaupy-7Cx4z3mP-py3.12/lib/python3.12/site-packages/ward/_collect.py", line 102, in get_info_for_modules
    if is_test_module(mod) and not _is_excluded_module(mod, exclude):
                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/hyperoot/.cache/pypoetry/virtualenvs/beaupy-7Cx4z3mP-py3.12/lib/python3.12/site-packages/ward/_collect.py", line 34, in _is_excluded_module
    return _excluded(_get_module_path(module), exclusions)
                     ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/hyperoot/.cache/pypoetry/virtualenvs/beaupy-7Cx4z3mP-py3.12/lib/python3.12/site-packages/ward/_collect.py", line 30, in _get_module_path
    return Path(module.module_finder.find_module(module.name).path)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'FileFinder' object has no attribute 'find_module'

After researching the possible cause of the issue, I found the reason. The problem is with the ward package. In that, if you check the _collect.py file and look for FileFinder object, you will notice that its attribute is now changed to find_spec instead of file_module. Normally, I should report this issue to the official repo of ward but they stopped actively maintaining the package. So, at the moment, we must either fix it or move to another alternative.
If you have any other solution to the said problem, then kindly let me know. I would like to contribute to this project.

Hi, thank you very much for taking a look and investigating.
I believe issue you are encountering was fixed in a most recent beta release: https://github.com/darrenburns/ward/issues/374
But thank you for bringing the issue with maintenance to my attention. That is going to be problematic in a long-run.
I am going to consider some options with regards to that - I wouldn't mind taking over the maintenance of ward myself per-se. I am very hesitant to move to pytest or other alternatives as I find ward to be objectively better.

Hi, thank you so much for responding.
Judging by their activity, I don't think they will fix it. Are you planning to create a fork of it and publish a new package?

I am very hesitant to move to pytest or other alternatives as I find ward to be objectively better.

I have never used ward. So, if you plan to maintain it (and I know it's a big decision), then I will learn how to utilize it, otherwise, I will stick with popular testing frameworks.

I will look into how well the commitment of maintaining ward fits into my schedule in the near future. But as far as I am aware the issue with 3.12 compatibility is fixed.
Can you share what is your version of ward?

I have version 0.67.1b0 of bard.
beaupy on  master is 󰏗 v3.8.3 via  v3.12.4 (beaupy-py3.12)
❯ poetry run python -m ward --version
python -m ward, version 0.67.1b0

Apologies for the late response. I was occupied with something personal.

But as far as I am aware the issue with 3.12 compatibility is fixed.

Why can't I run the command if that's the case? I followed the instructions as given in the readme file. The poetry install was all good. But poetry run poe test is not working.

It seems you are not on the latest version, as far as I understand Python 3.12 is supported on ward==0.68.0b0

Thanks. Now it is working. So, we need to change the pyproject.toml. I have not checked, but this ward version (ward==0.68.0b0) should be backward compatible. I am creating a new pull request for this change.

Thanks, I've merged #98 and #99.

Thank you a lot.


Records with default constructor not shown as single tests

Describe the bug
I would expect this to create three single entries in the Test Explorer, but it does not (-> you can not repeat a single test, only all three):
public record CustomRecord(
    decimal Number,
    string Comment
);

public static IEnumerable<object[]> RecordTestData
{
    get
    {
        yield return new object[] {
            new CustomRecord(1m, "first")
        };

        yield return new object[] {
            new CustomRecord(2m, "second")

        };

        yield return new object[] {
            new CustomRecord(3m, "third")
        };
    }
}

[TestMethod]
[DynamicData(nameof(RecordTestData))]
public void TestWithRecordTestData(CustomRecord item)
{
    Console.WriteLine($"item number is {item.Number} entries");
}

In this case, no "subentries" are created in the Test Explorer (you can see that as the triangle on the left side is not there):

However it works when using
public record CustomRecord
{
    public decimal Number;
    public string Comment = "";
}

instead of
// I call this record constructor variant
public record CustomRecord(
    decimal Number,
    string Comment
);

See how we suddenly have three single entries in the Test Explorer:

Steps To Reproduce
see bug description
Expected behavior

all tests shown as single entries
both record "variants" (constructor and property "variant") should yield the same output in Test Explorer

Actual behavior
all tests shown as one entry when using record constructor variant

Hi @wondering639,
This issue is related to #1462. MSTest is currently relying on datacontract serializer as a way to discriminate entries. Because of that some data types are not "supported". We know how painful this is but we are really limited by the design of vstest in fixing this issue.


Fix relative links between document pages

Relative links between pages on the Docs part of the homepage does did not work.
E.g. from the page https://www.finbuckle.com/MultiTenant/Docs/v7.0.2/Stores, the link to Strategies results in the URL https://www.finbuckle.com/Strategies instead of https://www.finbuckle.com/MultiTenant/Docs/v7.0.2/Strategies
Current links are formatted in the .md-files as [MultiTenant strategies](Strategies). Here the relative link is handled as a folder instead of a filename, resulting in the wrong URL.
Fixed all internal relative links to include ../, e.g. [MultiTenant strategies](../Strategies).

Fixed this a different way.


Add functional dependency constraint

This PR introduces a Functional Dependency Constraint. It enhances the existing Uniqueness Constraint, which validates rows' uniqueness based on key columns.
The new constraint allows for the specification of arbitrary functional dependencies, not just primary keys.
For example consider the following table:

a
b
c

1
2
3

1
2
4

2
3
5

2
3
6

3
4
1

3
4
2

Using this constraint, we can ensure that the FD A -> B and C -> B holds by using add_functional_dependency_constraint(["a"], ["b"]) and add_functional_dependency_constraint(["c"], ["b"])

I once came across the heuristic that if something is explained from author to review in a PR review process, it's usually a good call to move this explanation into the code. :)
Maybe a very short additional explanation or reference such as the link you provided could be valuable. My first intuition was to think of mathematical functions, which seems to be a decent enough proxy for the definition you provided.


use convertid method

Hi Guys
trying to use convertid method to get different type of ID
what code i should use. i cant find any example.
public function ConvertId($request)
{
$this->initializeSoapClient();
    echo __FUNCTION__;

    $response = $this->soap->{__FUNCTION__}($request);

    return $this->processResponse($response);
}

Hey @nikunjtrapasiya , did you ever get this figured out? I'm working on trying to figure out the same thing now. Thanks!

@nikunjtrapasiya Got this figured out, and also in case anyways helps needs it.
`
//Replace with your credentials
$ews = new ExchangeWebServices($ews_host, $ews_user, $ews_password, $ews_version);
$request = new EWSType_ConvertIdType();
/*Specify the original format of the ID (types are 'EntryId', 'EwsId', 'EwsLegacyId', 'HexEntryId', 'OwaId', 'StoreId') */
$request->SourceIds->AlternateId->Format='HexEntryId';
//Replace $TheIdYouWantToConvert with The original Id
$request->SourceIds->AlternateId->Id=$TheIdYouWantToConvert;
//Must be the primary SMTP email address
<EMAIL_ADDRESS>/*Specify the new format you want (types are 'EntryId', 'EwsId', 'EwsLegacyId', 'HexEntryId', 'OwaId', 'StoreId') */
$request->DestinationFormat='EwsId';
$response = $ews->ConvertId($request);
print_r($response);
`


Possibility to change data protection class

Currently the default file protection class "NSFileProtectionCompleteUntilFirstUserAuthentication" is used.
It should be possible to manipulate this property so higher data protection classes can be served.

Implemented with https://github.com/HUK-COBURG/schwifty-resources/pull/14


Send available disk space information to master

Warning: This needs an accompanying change in the master, otherwise there will be an incompatibility.

Coverage increased (+0.13%) to 73.34% when pulling afa965ebe945db466f94e8228afd046907a7b175 on guidow:track_disks into 00a861d3104790e7cc75f0c5c863721c94032ae2 on pyfarm:master.

Coverage increased (+0.13%) to 73.34% when pulling afa965ebe945db466f94e8228afd046907a7b175 on guidow:track_disks into 00a861d3104790e7cc75f0c5c863721c94032ae2 on pyfarm:master.

Coverage increased (+0.13%) to 73.35% when pulling abce6b9bd4f83304f66aa7a47790b033ffc4169b on guidow:track_disks into 00a861d3104790e7cc75f0c5c863721c94032ae2 on pyfarm:master.

Unfortunately, getting a list of disks available is something highly platform dependent again, and I have no OS X or BSD boxes to test this on.

Looks good, thanks.


Allow to use NodePort and LoadBalancer type for deployment

Hey i want to to use loadbalancer type for the services of temporal and temporal ui, how could i do that.
apiVersion: temporal.io/v1beta1
kind: TemporalCluster
metadata:
name: prod
namespace: demo
spec:
version: 1.22.7
numHistoryShards: 1
persistence:
defaultStore:
sql:
user: temporal
pluginName: mysql
databaseName: temporal
connectAddr: mysql.demo.svc.cluster.local:3306
connectProtocol: tcp
passwordSecretRef:
name: mysql-password
key: PASSWORD
visibilityStore:
sql:
user: temporal
pluginName: mysql
databaseName: temporal_visibility
connectAddr: mysql.demo.svc.cluster.local:3306
connectProtocol: tcp
passwordSecretRef:
name: mysql-password
key: PASSWORD
ui:
enabled: true
admintools:
enabled: true
metrics:
enabled: false

Hi! @manojkumargogula !
You're right, this is not supported for now.
Isn't an ingress a good solution for you ?
While waiting for this feature to be available, you can duplicate the ui service on your cluster.


port: [#4062] Log BadRequest in adapter (#6135)

Fixes #4062
#minor
Description
Add warn logger when the activity hasn't a type.
Specific Changes

Added in the common function, between botFrameworkAdapter and cloudAdapater, that validate the actity type.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.3%) to 84.55%

Files with Coverage Reduction
New Missed Lines
%

libraries/botbuilder-lg/src/templateExtensions.ts
1
84.48%

Totals

Change from base Build<PHONE_NUMBER>:
0.3%

Covered Lines:
19670

Relevant Lines:
22038

💛  - Coveralls

Promoted to MS in PR# 4155


[Ansor][AutoTVM v2.0] Phase 1: The base class for cost models

For the full upstream plan, see Ansor RFC.
This PR adds the base class for cost models and a random cost model.
Because learning-based models typically use python packages (e.g., xgboost, pytorch, tensorflow), we prefer to implement them in python and use the c++ wrapper PythonBasedCostModel for calling them in c++.
The later PR will introduce a cost model based on manual features and xgboost.

cc @junrushao1994 @comaniac @tqchen @jcf94

Will review Tuesday night


Use configuration classes instead of @Value annotations

You're using @Value about a dozen times, which isn't considered best practice anymore.
To quote Thomas Uhrig (@tuhrig):

What will happen when you use this technique through your application? Well, whenever you need some property, you will inject it. You will inject it in services, controllers and components and you will properly inject the same property in different classes. That’s easy and absolutely what the mechanism is about.
However, this means nothing else than scattering your configuration about your whole application. Every class can pick a couple of properties to use. You will have no idea or control which class is using which properties. You will end-up with doing a full text search on your project to find out where a single key is used. You will have a lot of fun if you want to rename one of those keys or when you need to set each and every property for each and every class in your unit tests.
[...]
If you do so [use a configuration class], you will have a single point of responsibility to load and get your configuration from. As any other service, you can easily change the implementation. Maybe you don’t want to load your properties from a properties file, but from a database or web service!
(source)

While this issue wouldn't qualify as high priority right now, it'll probably help in the future.

Hey there,
I'd like to contribute and work on this issue?
BTW: Great that you uses the good first issue label.

@MALPI You can have a look at the spring boot docs regarding the @ConfigurationProperties annotation:

https://docs.spring.io/spring-boot/docs/current/reference/html/spring-boot-features.html#boot-features-external-config-enabling

The way to go would be to keep the property keys the same and use a separate class that binds the common key prefix (e.g. services.submission)  and provides type safe config values. Then inject that into the class that currently uses @Value.
See here for an example:

https://www.baeldung.com/configuration-properties-in-spring-boot

@MALPI : Are you still planning to work on this? If you're not planning to I would be happy to take over.

Hey,
I didn't find the time yet. Feel free to take it.
Gesendet von ProtonMail mobile
-------- Original-Nachricht --------
An 21. Mai 2020, 03:52, Anuj Patel schrieb:

@MALPI : Are you still planning to work on this? If you're not planning to I would be happy to take over.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

I tried to use @ConfigurationProperties in an upcoming PR but didn't have any luck with it. I either ran into issues regarding default constructor visibility or the configuration property just didn't get autowired. Here's my attempt: https://github.com/corona-warn-app/cwa-server/commit/7d752e8ba17e41b20deb5c9299c14fe8539c9649. Unfortunately, I don't have the time right now to investigate this further, but I would be interested if somebody could please tell me what I was doing wrong.


[BUG] README inconsistencies

Describe the bug

Table of contents missing
Remove text concerning returning nullable values as this rule does not hold since v2.0.0
Add badges
Add information about type inference and caveats (.empty and creation with .of)
Add security policy
Update Node.js example

Fixed in v4.0.0


output nearly unreadable for print_r() command

Hii there,
I've tried using your notebook, but already at the first moment of using it, I found a little inconvenience:

I wonder if this could be solved soon?
Cheers

Hi @FinlayDaG33k , I'll check it. I'm sorry for being slow responding here.
In fact, I'm currently working on a "workspaces" feature (to manage composer dependencies in a truly isolated way).
When I'll finish with the workspaces work, I'll check this issue.

P.D.: I think that we could "overwrite" the print_r function (creating another one available in the current namespace) producing a nicer output. But this is not a solution for people who calls the function using its fully qualified name \print_r .

Bug also seems to affect var_dump().

For the sake of, I've also tried var_export(), however, it doesn't seem to affect that?

also noticed that both var_dump() and var_export() end with null, while print_r() ends with true.


LL-4537 input clear button for dark/dusk themes

Stops using the native clear button for iOS devices since we can't specify the theme that we are using. Mirroring the implementation from the Android component who implement our own clear button that gets the right color from the theme.
https://user-images.githubusercontent.com/4631227/109646254-40d56f00-7b58-11eb-8a92-8d3cb974ae3b.mov

Type
UI Polish
Context
https://ledgerhq.atlassian.net/browse/LL-4537
Parts of the app affected / Test plan
Although not used in many parts, inputs are present throughout the app and we need to make sure that this has not introduced any regressions in them. So for the sake of clarity, make sure the inputs still work in at least:

Send flow
Add account flow
Manager search
Manual fees input

LGTM could you check if this implementation can also work for android if so maybe we can unify both TextInput into one 🤷

Sadly the logic still differs for the keyboard type, I mean, it could be done and it might not be that hard but certainly not as it stands right now. Passing the keyboard type needed for android on the input fields, crashes on ios because it's not a valid type. So we'd end up with platform specific stuff in the component anyway.
Could fit a new ticket for cleaner code though

oh my -.-

I think it's best if we just revisit the whole component as @LFBarreto suggested some time ago and unify it between Android and iOS, this was supposed to be a quick win for dark themes and it clearly hasn't been. I've moved the issue back to todo and I would suggest whomever takes the task to disregard these changes.


COUNT_DISTANCES  is increased when verifying

COUNT_DISTANCES is increased whenever pointCenterDist2() is called.
I had expected COUNT_DISTANCES would represent count only during normal kmeans execution.
However, COUNT_DISTANCES is incremented inside verifyAssignment().
I suggest to fast-kmeans to not count distances when VERIFY_ASSIGNMENTS is defined.
Something like the following seems to work:
void Kmeans::verifyAssignment(int iteration, int startNdx, int endNdx) const {
    #ifdef VERIFY_ASSIGNMENTS
    #ifdef COUNT_DISTANCES
     long long tmp = numDistances;
    #endif
 //  ...
 // code continues...
 //...
    #ifdef COUNT_DISTANCES
    numDistances = tmp;
    #endif
    #endif
}

Thanks @albertiniufu, can you create a pull request?


Hope to add a feature like clicking to insert the code snippet from "new" area to editing file

Now the only way I know is to copy code from "new" then paste in the editing file

When the code generation is done, there will be a notification pop up at the right-bottom corner. You can simply click the "Accept" button to apply the changes (as the diff shows) automatically.


Add ILogger support for TryRefreshAsync in .NET Core package

This PR adds a new public property to the IConfigurationRefresher interface to support logging some exceptions (401/403/KeyVaultErrors) that occur during refresh operations:
ILoggerFactory IConfigurationRefresher.LoggerFactory { get; set; }
Additionally, to set the ILoggerFactory instance, a new API has been added to AzureAppConfigurationOptions:
public AzureAppConfigurationOptions RegisterLoggerFactory(ILoggerFactory loggerFactory)
Usage:
var config = new ConfigurationBuilder()
            .AddAzureAppConfiguration(options =>
            {
                options.ConfigureRefresh(refreshOptions =>
                {
                    refreshOptions.Register("Sentinel", true)
                        .SetCacheExpiration(TimeSpan.FromSeconds(30));
                })
                .RegisterLoggerFactory(_loggerFactory);

                refresher = options.GetRefresher();
            })
            .Build();

Alternatively, if you prefer to get your ILoggerFactory through dependency injection, the default ILoggerFactory will be added automatically. No code changes are needed.
Breaking Change
This is a breaking change because we added a new dependency on Microsoft.Extensions.Logging package and the public interface has changed.
The AspNetCore middleware doesn't need any special changes to support ILogger.

Instead of having ILogger as an argument of TryRefresh, can we have ILogger registered on our configuration provider?

Instead of having ILogger as an argument of TryRefresh, can we have ILogger registered on our configuration provider?

Our configuration provider is created during app startup but dependency injection takes place after startup has completed. So AzureAppConfigurationProvider will not be able to get ILogger from DI. Or maybe I'm missing something? What is the benefit of registering ILogger with config provider instead of as an argument of TryRefreshAsync?

It is a bit of a chicken and egg problem in the context of asp.net core dependency injection. Passing ILogger to each invocation of TryRefreshAsync just seems a bit odd to me. I expect ILogger to be more of a state of the refresher object than an argument to operations on the refresher.
Having a settable logger property on IConfigurationRefresher would seem more reasonable to me, but having it on the provider itself sounds even better.

Your PR description is great! The one thing I would add is to the part about dependency injection to call out that the logger factory will be wired up automatically as long as services.AddAzureAppConfiguration is called.


Dockerfile does not work

Building a Docker image using the Dockerfile results in errors.

Is this resolved now?

Same, I did not manage to build a Docker Image.
I'm trying with an other based image node:8.4.0-alpine with a not root user. So success for now :( If someone manage to do it... Please share ;-)

In my case ngx-admin works with the Dockerfile:
FROM node:10.5.0-alpine
WORKDIR /usr/src
COPY package*.json ./
RUN npm install
RUN npm audit fix
COPY . .
EXPOSE 4200
CMD ["npm", "start"]
In which setting WORKDIR was instrumental in not having this issue.

@Naeus I've tried with your Dockerfile (obviously changing paths..) and this docker-compose.yml with no success:
version: '3'
services:
  ngx-admin:
    build:
      context: .
      dockerfile: Dockerfile
    container_name: ngx-admin
    networks:
      - ngx-admin
    ports:
      - '3001:3001'
    environment:
     - HOST=<IP_ADDRESS>
    command: npm run start
    volumes:
    # Mounts the project directory on the host to /ngx-admin inside the container,
    # allowing you to modify the code without having to rebuild the image.
     - .:/ngx-admin
    # Just specify a path and let the Engine create a volume.
    # Data present in the base image at the specified mount point will be copied
    # over to the new volume upon volume initialization.
    # node_modules from this new volume will be used and not from your local dev env.
     - /ngx-admin/node_modules/
networks:
  ngx-admin:
    driver: bridge

any suggestions?
Thanks!

Hi guys. See #1795 for working dockerfile.


version ( -v ) does not work

the version flag does not work
[~]$ punchblock-console -v
  uninitialized constant Object::VERSION
  Usage: punchblock-console [-u<EMAIL_ADDRESS>[-p abc123]
    -u, --username USERNAME          Specify the XMPP JID to connect to
    -p, --password PASSWORD          Specify the XMPP password to use
    -d, --rayo-domain DOMAIN         Specify the domain Rayo is running on
          --wire-log-file log/wirelog.log
                                 Specify the file to which the wire log should be written
          --transport-log-file log/transportlog.log
                                 Specify the file to which the transport log should be written
   -h, --help                       Show this message
   -v, --version                    Show version
[~]$ punchblock-console -v

This is fixed in v0.1.4 of punchblock-console


[Feature Request] Add clicking score opens MAL (or AniList)

Hi,
I think it would be a really nice feature to have clicking on the score opening MAL or AniList, that way you can click the 6.05 here and then it can open up MAL so you can read more about it:

Cheers.

Thank you for the suggestion! I agree it would be a useful feature. I initially avoided it to prevent easy retrieval of associations between Crunchyroll, MyAnimeList, and AniList through my API. However, I’ll consider implementing it.
Would you like an option to display both MAL and AniList scores? I could also add a MAL or AniList logo next to the score for clarity (as an optional feature)

I didn't even consider an option to display both scores, that's a fantastic idea.
I'm big on optional features, so yes everything you just said sounds great to me.

The feature to click on a score and open the corresponding MyAnimeList (MAL) or AniList page has been successfully implemented. However, the option to display both MAL and AniList scores simultaneously has not been added in this update. I didn’t have time but will do it soon.

I'm on the new update, but clicking on the score doesn't seem to be working, nothing happens when clicking on the score:

This is expected behavior when there's no ID. The extension hasn’t updated the scores yet, so it hasn’t received the ID for it.
It works for me.
Maybe I should add a button to refresh manually if needed


Removed the weak reference from PBBA calls

In the React Native app, the weakSelf references are nil, making PBBA transactions impossible to execute

In the React Native app, the weakSelf references are nil, making PBBA transactions impossible to execute

Did you test in native for memory leaks?
Also, if RN make problems with this.. iDeal service i guess have the same approach (polling weak self)

@AlexeiJovmir we don't have a standalone iDEAL button. This stuff only fails on the standalone PBBA button call.
If PBBA is used from the Payment Method Screen, everything works as intended.

This stuff only fails on the standalone PBBA button call.
If PBBA is used from the Payment Method Screen, everything works as intended.

@mpetrenco this issue persist even with the changes from here:  https://github.com/Judopay/JudoKit-ReactNative/pull/52 ?
maybe it is the same problem - losing JudoKit reference

@stpopa the RN reference fix solved this one as well. Closing.


Can I make a PR to support generation from variables?

Our design team uses variables (which has been described as the new way of doing things- see screenshot). It's structured with a variable name for the colour with a "light" and "dark" scheme.
It would be great to be able to use this tool with them instead of Figma styles.
Would you be open to me raising a PR for this?

cc: https://www.figma.com/developers/api#variables

PR raised here: https://github.com/RedMadRobot/figma-export/pull/228
Would like to get this working with the API instead of downloading the token but it's still in Beta and for Enterprise customers only so this at least allows a short term solution until the API is more stable and readily available.
Will make a further PR to improve on that. Could also expand to support more than colours too


Use UTF8 BOM in emit

I found this while working on the test harness. When we write a file and pass true for the writeByteOrderMark parameter, we incorrectly prefix the content with the UTF-16 Big Endian BOM (0xFE 0xFF) instead of the UTF-8 BOM (0xEF 0xBB 0xBF), despite the fact that we explicitly write the file as UTF-8.
We don't see an error in our tests because our test harness supplies its own writeFile function which emits the correct BOM for tests.

This is not correct, please consider reverting this change.
https://stackoverflow.com/questions/17879198/adding-utf-8-bom-to-string-blob/27975629#27975629
https://github.com/Microsoft/TypeScript/issues/21878


fix(hmac-auth) add deprecation transition for pr #3339

Summary
Add deprecation transition for PR #3339 by adding support for older signatures generated from request-line without the query_string. This is intended to be a patch on 0.13.1 but may apply to 0.14+ although I haven't tested this.
Full changelog

add deprecation hmac-auth transition for pr #3339

Issues resolved
Fix #3672

@mlehner616 Thanks for taking the initiative here!
@shashiranjan84 Will you help review the proposed patch for this behaviour? Thanks!

@shashiranjan84 I made the changes you requested, I haven't had a chance to write tests for this yet.

@mlehner616 thanks, we will review it.

@thibaultcha @shashiranjan84  Thanks for the feedback. I've committed changes that address your latest suggestions. Let me know if there are any other tweaks needed. Is there any chance this PR will get backported to a 0.13.2+ release? We're actually blocked on the 0.14 versions right now since we're not ready to drop API support.

@mlehner616 We do not have plans for a 0.13.2 version so far.

not ready to drop API support.

Not sure what you mean by that. In 0.14, the API entity is still supported (/apis on the Admin API). or are you talking about other specific changes in the Admin API itself?

Sorry, I thought I remember seeing 0.14 dropped API entities so it looks like I misread that section. Thanks for the clarification, I'll wait for the release to get cut and give it a shot.

@mlehner616 Great, thank you!


Equivalent to Blueprint's RunningText

A <RunningText> component would apply typography styles to basic html elements in it, so something like this:
<RunningText>

Foo

</RunningText>

Would behave like this:
<Typography variant="h2">Foo</Typography>

[x] This is not a v0.x issue.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior 🤔
Within a <RunningText> all of the styles normally applied by <Typography> would be applied to the corresponding plain html elements.
Current Behavior 😯
If you want to render markdown in Material-UI, you have to use something like https://github.com/remarkjs/remark-react and its remarkReactComponents to make transformations like
 => <Typography variant="h2">.  If you want to render arbitrary rich text from something like ProseMirror, you have to use something like https://github.com/remarkablemark/html-react-parser/ and its replace functionality to do the same.  If you want to render rich text from a contenteditable with WYSIWYG, you're out of luck because there's no way to use <Typography> in the editing control of things like ProseMirror.
Examples 🌈
Blueprint.js is React component library unrelated to Material Design.  It has a feature like this, documented here as "RUNNING_TEXT": https://blueprintjs.com/docs/#core/components/html
Context 🔦
I listed some specific use cases in Current Behavior, but basically any situation where you want to render basic document content that might be dynamically generated and where using lots of <Typography> elements would be difficult.

@nmain We don't have such a component. For the markdown problem. You have two options:

markdown-to-jsx: You specify to a parser the React component to use for each type of element. You have a demo here:
https://github.com/mui-org/material-ui/blob/2f6a982aa74ffa46680798089ad20ed67ed0c5ae/docs/src/pages/getting-started/page-layout-examples/blog/Markdown.js#L1-L352.
markdown-to-html: You use a traditional html generator, then style the output. You have a demo here:
https://github.com/mui-org/material-ui/blob/2f6a982aa74ffa46680798089ad20ed67ed0c5ae/docs/src/modules/components/MarkdownElement.js#L1-L309

n°1 has the advantage of being fully idiomatic with React. The drawback is that it's slower than n°2.

So what I'm proposing is a component that implements style rules similar to line 105 here: https://github.com/mui-org/material-ui/blob/2f6a982aa74ffa46680798089ad20ed67ed0c5ae/docs/src/modules/components/MarkdownElement.js#L105-277 be added to Material-UI

A similar concept component for benchmark: https://elastic.github.io/eui/#/display/text.

I'm also looking for something like this.
Bulma's content an another similar thing.
Is there any reason not to just copy MarkdownElement pretty much as-is and rename it to RunningText?
I guess remove the renderedMarkdown prop, and it might be nice to have add a prop that works like the reverse of variantMapping to map semantic elements to variants.
Would you accept a PR for something like this?


@twind/wmr: style tag does not populate with styles with prerender

Apologies if this is intentional, though I'm not quite sure why it would be.
It appears the style tag that gets generated on prerender is not populated with the styles of the application. This can be seen using the example WMR app: https://github.com/tw-in-js/example-wmr. Simply build the application, remove the JS imports from the built HTML/disable JS and you'll see none of the styling is there to be applied.

Thanks for the report. This was not intentional. It had something to do with async hooks scoping (00aa9ca).
Could you please try<EMAIL_ADDRESS>

Odd issue, but looks good to me! Thanks!


Choose both directions of wedged/hashed bonds from right-clicking the bond

User should be able to change the direction of a directed bond on canvas via bond context menu. For this purpose a new menu item 'Change direction' should be added to the bond context menu. The new item should appear above 'Attach S-Group...'.
The new menu item should appear for the following types of bond only:

Dative
Single Up
Single Down
Single Up/Down

The new menu item should change bond direction to the opposite.

(?) Related Indigo task - #2069

Verified

Environment:
Ketcher Version 2.25.0-rc.2 Build at 2024-09-20; 05:37:02
Indigo Version 1.25.0-dev.1.23-gb97a4a6d-wasm32-wasm-clang-12.0.0
Chrome 128.0.6613.138
MacOs 14.6

Verified - there is a new section in the menu and direction is changed.

Environment
https://rc.test.lifescience.opensource.epam.com/KetcherDemoSA/index.html
Ketcher Version 2.26.0-rc.1 Build at 2024-10-04; 18:45:04
Indigo Version 1.25.0-rc.1.0-g704673fcb-wasm32-wasm-clang-19.0.0
MacOs
Chrome 129.0.6668.71 (Official Build) (arm64)


Color Picker slider arrows don't align with the mouse

Tested versions
4.3.dev4, exists in 4.2.1 too
System information
Godot v4.3.dev4 - Pop!_OS 22.04 LTS - X11 - GLES3 (Compatibility) - Mesa Intel(R) Graphics (ADL GT2) () - 12th Gen Intel(R) Core(TM) i5-1235U (12 Threads)
Issue description
https://github.com/godotengine/godot/assets/85438892/234ab65d-0dd2-4e37-9d8d-a3c19c2bb8a6
The slider is never right under my mouse, it tends to veer off to the side as I drag it further.
Steps to reproduce
Use any color picker in the Godot editor, like the modulate one.
Minimal reproduction project (MRP)
N/A

Already fixed by #88068.


Fixing Issue #107 Learn.md File Index Not Linked

Linked all the table of contents properly to their respective sections in the learn.md file.

@sanjay-kv Sir, as this was a GSSOC level 1 issue, requesting if it possible to add the level 1 tag because this is not reflecting in my score on the leaderboard.

It was a link issue thats why not giving levels.

its there on leaderboard


selenium-server-node is not working

fixed: https://github.com/gdbtek/ubuntu-cookbooks/commit/31d8d3b8d80ab04f55b8d4455ace583bbbed9174


struct Rav1dPicture: impl PartialEq, Eq, Hash based on what fn md5_write hashes

I've been using this to debug the remaining three failing tests for #652.  I'm not sure if we want this, but it could be useful.

Looks like this needs rebasing, but b344ece7c710b2934ce612c3a3c09cd794ba0528 LGTM

Doesn't seem like it'll really be useful for any debugging.


vendoring lile

I would like to use dep or vgo to vendor the lile framework.  unfortunately, both currently fail due to transitive package dependencies.
This is due to a transitive dependency on github.com/apache/thrift/lib/go   and github.com/satori/go.uuid, where the authors broke the contract and did not increment the package version.   dep ensure and vgo get    create broken builds.
satori.uid, where the later version changes the NewV1() signature to return two variables (uid, error)
TProtobuff.Flush(ctx) now takes a context parameter
Would be helpful to include a normative Gopkg.toml/Gopkg.lock,  and Go.mod   .
I had to adjust the GoPkg files like so:
GoPkg.toml
[[override]]
name = "github.com/apache/thrift"
branch = "master"
[[override]]
name = "github.com/satori/go.uuid"
branch="master"

This is a real pain, I'm aware of this problem. Whilst this would help if you use dep ensure immediately, it doesn't help in that a go get is still broken.

We now support Go modules


Annotations that aren't associated with a node don't cause validation errors

What happened?
Annotations that aren't associated with a node are consumed but don't do anything. I would have expected a validation error.
To reproduce
{% #a %}

This produces an empty document with no errors.
Version
0.2.2
Additional context
No response

Oops, sorry! Looks like this is validated against, I just didn't see the error when I was looking in the sandbox since the validation error is on the document node itself and there isn't more specific location information than the document node so the error isn't visible in the editor there.


(MacOS) dotnet process 250% CPU only when developing dotnet 5 Web mvcApp.

Description
Got this issue when i developed on a dotnet 5 MVC WebApp for a school project. My macbook pro just started to take off. This happend when i ran the app via Visual Studio 2019 MacOs (did not try it with VS 2022 for mac yet).
I opened activity monitor and there was a dotnet process running at 250% CPU. I already stopped the app!
When i force quit the dotnet process my macbook calmed down.  When i rebuild or re-run the same thing happens again.
Configuration
Visual Studio 2019 for Mac
Visual Studio 2022 for Mac
Dotnet version: 5.0
Mvc App with induvidual user accounts
MacOs: Monterey version 12.0.1
Architecture: x64 (core i9)
Chrome: Version 99.0.4844.84 (Official Build) (x86_64)
Regression?
I never came across this when developing web API's. Seems to be only occuring with mvc apps.
Other information
Macbook specs: 16" 2019 model, core i9, 64gb ram and 2tb ssd.

Can you provide more information? What version of VS Studio were you using? Can you share a sample of the project you were working on?


Internals of ModelingToolkit | Yingbo Ma | SciMLCon 2022

youtube timestamps for internals of ModelingToolkit talk

Timestamps are in place, so we can close the issue.


feat: add CSP header to all the pages

What it solves
Adds an explicit Content Security Policy to the website pages
How this PR fixes it
Sets the Content Security Policy through a <meta> tag
I tried to keep the allowed src lists as restrictive as possible without braking anything or lose of functionality

But if the ID is always fixed

Yes, in this case the Contentful space ID remains the same


New 'ratings' action for displaying & tracking average App Store rating

New Issue Checklist

[X] Updated fastlane to the latest version
[X] I have read the Contribution Guidelines

Issue Description
Per Submitting the action to the fastlane main repo this issue is to gauge interest for a new reviews action which displays and saves your average App Store rating. If there is not interest then I can just make it available as a separate plugin.
About the action
This action gets your app's current review average. It writes average.txt, emojis.txt, and sentence.txt to disk, which can be helpful to display the average on a build monitor or other automated display, or use in an automated e-mail report.
reports will configure itself automatically using Deliverfile, or pass the relevant arguments to select your app and iTC team.
Example run
[00:35:40]: ---------------------
[00:35:40]: --- Step: ratings ---
[00:35:40]: ---------------------
[00:35:40]: Successfully loaded '/Users/getaaron/fastlane/Deliverfile' 📄

+----------------+------------------------------------+
|    Detected Values from './fastlane/Deliverfile'    |
+----------------+------------------------------------+
| app_identifier | com.redacted.also_redacted         |
| team_id        | 123456                             |
| username       |<EMAIL_ADDRESS>|
+----------------+------------------------------------+

[00:35:40]: Login to iTunes Connect<EMAIL_ADDRESS>[00:35:44]: Login successful 👌🏾
[00:35:45]: Average rating is 5.0 / 5. ⭐⭐⭐⭐⭐

File Output
The output can be saved in a variety of formats for easy display on a dashboard or loading into a report:
$ tail -n +1 fastlane/ratings_output/*
==> fastlane/ratings_output/average.txt <==
5.0
==> fastlane/ratings_output/emojis.txt <==
⭐⭐⭐⭐⭐
==> fastlane/ratings_output/sentence.txt <==
Average rating is 5.0 / 5.

Example implementation
The implementation is pretty straightforward:
      def self.run(params)
        app = app(params)

        average = app.ratings.average_rating
        emojis = '⭐' * average
        sentence = "Average rating is #{average} / 5."

        UI.success sentence + ' ' + emojis

        FileUtils.mkdir_p params[:output_directory]

        ['average', 'emojis', 'sentence'].each do |filename|
          path = File.join(params[:output_directory], "#{filename}.txt")
          File.write(path, binding.local_variable_get(filename))
        end
      end

      def self.app(params)
        require 'spaceship'

        # proc { } suppresses complaints about Deliverfile options we don't use
        params.load_configuration_file("Deliverfile", proc { })

        UI.message "Login to iTunes Connect (#{params[:username]})"
        Spaceship::Tunes.login(params[:username])
        Spaceship::Tunes.select_team
        UI.message "Login successful 👌🏾"

        app = Spaceship::Tunes::Application.find(params[:app_identifier])
      end

The available options are just the output directory, and the relevant deliver options in case the user doesn't want to use Deliverfile for some reason:
      def self.available_options
        ratings_options + filtered_deliver_options
      end

      def self.ratings_options
        containing = FastlaneCore::Helper.fastlane_enabled_folder_path
        default_output_directory = File.join(containing, "ratings_output")
        [FastlaneCore::ConfigItem.new(key: :output_directory,
                                      env_name: "FL_RATINGS_OUTPUT_DIRECTORY",
                                      description: "The directory in which all reports will be stored",
                                      default_value: default_output_directory)]
      end

      def self.filtered_deliver_options
        require "deliver"
        require "deliver/options"
        available = FastlaneCore::CommanderGenerator.new.generate(Deliver::Options.available_options)
        available.select do |o|
          [:username, :app_identifier, :team_id, :team_name].include? o.key
        end
      end

That's awesome, would love to see this as a plugin for sure ❤  Sorry for the late reply


Collision with small tiles

Hello, I am experimenting with Akihabara and so far I love everything about it.
I took the "Leave Me Alone" demo and made the tiles half-sized (10px square instead of 20px square). If the character stands on the edge of a platform, facing the edge, then turns around, he will fall through the edge of the wall.
Is there a way to change the sensitivity of the tile collision for platform-based games, just as with top-down-based games? If I were to address the problem myself, where is a good place to start looking? Currently digging around in toys.js.

@thefifthcircuit We changed the Akihabara repository to here: https://github.com/akihabara/akihabara
This is an issue yet? If you think it deserves some work please post it as an issue on the new repository. :)
@kesiev can we close this one?

This is a non-issue, they are faling through because they didn't change the tile size in all the appropriate places. This is a change and they need to go over the code to make sure they changed it in all the correct places.


Fork, Commit, Merge - Easy Issue (HTML)

Fork, Commit, Merge - Easy Issue (HTML)
Note: You don't have ask permission to start solving the issue or get assigned, since these issues are supposed to be always open for new contributors. The actions-user bot will reset the file back to previous state for the next contributor after your commit is merged. So you can just simply start working with the issue right away!
Open the tasks/html/easy directory from the root of your project.
Your task is to insert an h1 tag with the name John Doe above the h2 tag in the index.html file.
Note: Only the index.html file needs modification for this task.

Check out README.md for more instructions and how to make a pull request.
Feel free to ask any questions here if you have some problems!
Also, kindly give this project a star to enhance its visibility for new developers!

I would like to work on this issue

I would like to work on this issue

Sure, go ahead! As it is said on the description, there is no need to ask permission for these educational issues.

I made a PR here and resolved this issue. I am giving this repo a star, I will contribute more into this repo as I know React, Django, HTML, CSS, JS, Python, C, C++. Thankyou for your time if you read this.

I made a PR here and resolved this issue. I am giving this repo a star, I will contribute more into this repo as I know React, Django, HTML, CSS, JS, Python, C, C++. Thankyou for your time if you read this.

Thank you, i appreciate it!


[HOLD for payment 2024-12-07] Increase Search router recent chats limit to 20

Coming from this thread, we decided to increase the Search router recent chats limit to 20.
Issue OwnerCurrent Issue Owner: @garrettmknight

This was all internal and it's done. No need for regression tests.


Package Microsoft.AspNetCore.Blazor.Cli 0.8.0-preview-19104-04 is not compatible with netcoreapp2.2

Hi,
Trying to build your project, I have the following error :
"Error	NU1202	Package Microsoft.AspNetCore.Blazor.Cli 0.8.0-preview-19104-04 is not compatible with netcoreapp2.2 (.NETCoreApp,Version=v2.2). Package Microsoft.AspNetCore.Blazor.Cli 0.8.0-preview-19104-04 supports: netcoreapp3.0 (.NETCoreApp,Version=v3.0)	BlazorDemo.App	D:\Temp\Blazor-master\HelloWorldDragDrop\BlazorDemo.App\BlazorDemo.App.csproj"
Any help would be appreciated...
Note that the link "https://blazordemo.azurewebsites.net/" is down...
Thanks for advance.
Sybaris

Hi @sybaris
Yes you're right. Please apologize I didn't update the project to new Blazor and .NET Core environments. This was only a test/demo project with Blazor v0.5

Hi,
It doesn't matter.
I found another example/tuto here : https://chrissainty.com/investigating-drag-and-drop-with-blazor/ and here : https://github.com/chrissainty/SimpleDragAndDropWithBlazor
Regards
Sybaris


Dependency updates and more

Updated KaTeX to 2.0, marked to 3.3 and also added entities for HTML decoding which was causing issues in math equations that contains less-than or greater-than signs that had to be encoded.

This project doesn't seem to be maintained, so I'm going to close this PR.


Problems with SSL and Faraday

I was having problems with SSL and Faraday. And managed to solve it. Documenting it here, because I imagine that other people will look for an issue here if they face a similar problem.
Recently updated my stack on Heroku to Ubuntu 22, and that brings in OpenSSL 3.
This lib uses the Faraday gem under the hood, and Faraday got a bit lost after this was updated ☝. I had a few other libs installed that have also broken in similar fashion.
https://github.com/lostisland/faraday/wiki/Setting-up-SSL-certificates#ubuntu
On their wiki, they suggest passing down a ca_path or ca_file.
You can set that up on your Notion.configure block. Follow the instructions on the Faraday wiki to figure out the path of the certificate file on your system. Mine ended up looking like this:
Notion.configure do |config|
  ...
  config.ca_file = "/usr/lib/ssl/certs/ca-certificates.crt"
end

On the Faraday wiki they also suggest setting up the SSL_CERT_FILE env variable. I've tried that, but it didn't seem to fix it 🤷.

Thank you so much for taking the time to document your solution! I’m sure it’ll be helpful to many others. I’m going to close the issue as it doesn’t require any further action—if you think there is something more to be done, feel free to reply and we’ll reopen it!

Thanks for this.
In my app I added:
Rails.application.config.to_prepare do
  ... other stuff...

  # Heroku path to certs
  if File.exist?("/usr/lib/ssl/certs/ca-certificates.crt")
    Notion.configure do |config|
      config.ca_file = "/usr/lib/ssl/certs/ca-certificates.crt"
    end
  end
end

Faraday::SSLError (SSL_CTX_load_verify_file: system lib)
Just writing down the error I had for SEO as it took me a long time to find the solution
Thanks for the solution 🙏


diagram saying what row goes where would be nice :P

You might thing people would know.  You might think people online are consistent in naming rows online.

[also, thanks a bunch for this - working on my own keycaps from it right now with a friend :)

]

gratuitous update:

And the final keyboard:

Thanks :)

Nice! Thanks for the update 😸


Initial pass at adding ChartTrendLine

Todo

[x] Add unit tests
[x] Add examples
[x] Investigate custom series text

@dfinke nothing in the pipeline at the moment :-)


duplicate content on long form?

I am noticing duplicate content. in the podcast they will repeat the same concept 3+ times in long form.
I call it like this:
python -m podcastfy.client --text #{safe_text} --topic #{topic} -cc #{config}.yml  --longform"
this is the config I am using:
conversation_style:

"engaging"
"fast-paced"
"innovation"
roles_person1: "main summarizer"
roles_person2: "questioner/clarifier"
dialogue_structure:
"Discuss current news"
"Conclusion"
podcast_name: "topic Diaries"
podcast_tagline: "Diving deep into the topic"
output_language: "English"
engagement_techniques:
"rhetorical questions"
"anecdotes"
"analogies"
"debating"
"humor"
creativity: 1
max_num_chunks: 8 # maximum number of rounds of discussions in longform
min_chunk_size: 888 # minimum number of characters to generate a round of discussion in longform

How can one control for this? I am assuming it has something to do with the chunk sizes?

conversation_style:
"engaging"
"concise"
"thought-provoking"
roles_person1: "main summarizer"
roles_person2: "fact-checker"
dialogue_structure:

"Discuss current news"
"Explore implications"
"Provide actionable takeaways"
"Conclusion"
podcast_name: "Topic Diaries"
podcast_tagline: "Diving deep into the topic"
output_language: "English"
engagement_techniques:
"analogies"
"debating"
creativity: 0.8
max_num_chunks: 5
min_chunk_size: 600

Just verifying, I see a few changes , is the main change to chunk size and max chunk?  I’ll test that, why would  that fix it?

Looking at the code for LongFormContentGenerator, there doesn't seem to be a "LLM-based reducer" operation that combines all generated chunk-conversation parts and combines everything into a coherent conversation.
_clean_transcript_response_DEPRECATED used to have LLM calls that could be appropriated to dedup but the new _clean_transcript_response does not call any LLM.
Seems like there could be a benefit in having a configurable post-processing/reduction step via LLM.

Something like: https://github.com/souzatharsis/podcastfy/pull/205

the changes from earlier changing the numbers didnt work for me.
@ivanmkc are you running a custom branch?

I ended up using my own custom system to generate the transcript as a stop gap. In clocks in around 8 min worth of content which is good enough for me for now.

I am glad you worked it out, jtoy!
BTW: I was listening to some NotebookLM audio overviews recently and I've
noticed repetition too, which indicates this can be an effect of repetition
on the input being reflected in the output.
Best Regards,
--
Thársis
souzatharsis.com http://www.souzatharsis.com/
http://linkedin.com/in/tharsissouza
On Mon, Dec 16, 2024 at 7:03 PM jtoy @.***> wrote:

I ended up using my own custom system to generate the transcript as a stop
gap. In clocks in around 8 min worth of content which is good enough for me
for now.
—
Reply to this email directly, view it on GitHub
https://github.com/souzatharsis/podcastfy/issues/202#issuecomment-2546926194,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADTMY3NBPWV46RWLEAYX7TL2F5E25AVCNFSM6AAAAABSYUGZLWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNBWHEZDMMJZGQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Consider making deny_unknown_fields the default

Ah never mind, I found a fairly compelling discussion in #204. It is pretty different from my use case but it makes sense.


Auth to Zenodo using ORCID

If you navigate to "Submit Data" and select Zenodo before logging in to the dsp with orcid,
then try to authenticate to Zenodo WITH ORCID it fails
video
This occurs on v0.5.5 as well as Develop at commit 9edd918ebd22fa1bc71746db79ab1d4f022e45f2

This is still present as of this writing 7e2c2974708897db47bf149850e46d7155347654
test_ze_000002_repo_then_auth_w_orcid


clone of old version

Hey,
How can I clone old version(e.g. 2.0)?
If mutual bug  (e.g. from version 3.0 & version 2.0) have found, do you fix the old version ?
Thanks!

We suggest using the latest version to minimize the possibility of facing bugs.

Thanks!
if I dont have some of the hardware that version 3.0 need (ASU etc.) can I use the monitor and guardian moduls?

Stale issue closed.


Customize layer names

Overview

Added FhirCodeService, which is responsible for returning the name of a CodeableConcept
The default implementation simply returns code.text
Built-in mappers now call FhirCodeService.getName() instead of using code.text
Cardiovascular-health app now provides a custom FhirCodeService that replaces some of the names with ones that are shorter and more consistent
Added some utility functions for comparing FHIR codes
Changed reference range annotation matching code so it uses the new chartsOnFhir.referenceRangeAnnotation property on the dataset object instead of using the dataset label. Now the annotations will be matched correctly after customizing the dataset labels.
Rewrote BloodPressureMapper so it passes a modified resource to the ComponentObservationMapper instead of modifying the layer afterwards.

How it was tested

Ran showcase and cardio apps locally.
Checked that all layer and dataset names display correctly on chart, tooltips, summary cards, and data-layer-list
Checked that annotation colors match the corresponding dataset
Checked that summary component displays correct values for BP card, including Out Of Range

Checklist

[x] The title contains a short meaningful summary
[x] I have added a link to this PR in the Jira issue
[x] I have described how this was tested
[ ] I have included screen shots for changes that affect the user interface
[ ] I have updated unit tests
[ ] I have run unit tests locally
[ ] I have updated documentation (including README)


Refactor DataFrame.aggregate

Refactor DataFrame.aggregate to:

support multi-index columns
avoid attaching possibly heavy default index
avoid falling back to pandas

Thanks! merging.


Feat: Build our new website

/azp run

/azp run

/azp run

Awesome first draft of this!!! Here's some thoughts

We should clean out all the content from the template that's not used

Theres a few TODOs on main page that we should clean up: Boringly Easy -> Install

We should make a section on the main page that shows how simple it is to apply a variety of algos. Like one tab for Text Analytics, one for Deep Learning with new ONNX Stuff, one for model interpretability, one for LightGBM etc. These would be short little simple examples that show off how simple these experiments are with mmlspark

We should build out the automated creation of this. In particular, if you had to run nbconvert to generate this content we should make a script to do this automatically from the notebooks. If you had to do any post-processing we should do this in the upstream notebooks and then use an automated tool to regen the notebooks. This tool might also add a link to each generated MD with a button that says "download as a notebook" or points to the original notebook for people to download and move to databricks

/azp run

/azp run

/azp run

/azp run

/azp run

/azp run

/azp run

/azp run


feat: Added options for signUp method

Thank you for your contribution! I appreciate the effort to extend the signUp method with additional options. However, as this is a starter project, I'm aiming to keep the codebase minimal and focused on the essentials. Including unused features or ones not yet fully typed might add complexity for new users trying to learn from this template.
For now, I'll close this PR. Feel free to re-open it or submit a new one if we decide to expand this functionality in the future, especially with typed options and documentation. Your contributions are valuable, and I look forward to any future improvements you might suggest!


Distribute .py files needed by the test suite

Hello Stefan,
during test suite setup I came across some issues.

without having conftest.py, I was getting many errors like:

      def test_h2_711_12(self, env, repeat):
E       fixture 'repeat' not found
>       available fixtures: __pytest_repeat_step_number, _class_scope, _session_scope, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, doctest_namespace, env, monkeypatch, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory
>       use 'pytest --fixtures [testpath]' for help on them.

/tmp/tmp.6rABq4Ca9P/BUILD/mod_http2-2.0.26/test/modules/http2/test_711_load_post_cgi.py:60

It would be good to mention in README.md, that also following python3 modules are needed by mod_http2's TS:

pip3 install cryptography pytest-repeat websockets python-multipart

I saw that load_test.py is also reachable by Makefile, so it might be a good idea to include it as well?

Apart from that, I'm getting 3 more errors when running TS on the latest 2.0.26:
=================================== FAILURES ===================================
_________________________ TestProxy.test_h2_500_31[0] __________________________

self = <http2.test_500_proxy.TestProxy object at 0x7f0ac314d790>
env = <http2.env.H2TestEnv object at 0x7f0ac3023160>, repeat = 0

    def test_h2_500_31(self, env, repeat):
        url = env.mkurl("https", "cgi", "/proxy/h2test/error?body_error=timeout")
        r = env.curl_get(url)
>       assert r.exit_code != 0, r
E       AssertionError: ExecResult[code=0, args=['curl', '-s', '--path-as-is', '-D', '/tmp/tmp.GIEiTmNJQA/BUILD/mod_http2-2.0.26/test/pyhttpd/...XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX----stderr---------------------------------------
E
E       assert 0 != 0
E        +  where 0 = ExecResult[code=0, args=['curl', '-s', '--path-as-is', '-D', '/tmp/tmp.GIEiTmNJQA/BUILD/mod_http2-2.0.26/test/pyhttpd/...XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX----stderr---------------------------------------\n.exit_code

modules/http2/test_500_proxy.py:151: AssertionError
---------------------------- Captured stdout setup -----------------------------
setup_method: test_h2_500_31
--------------------------- Captured stdout teardown ---------------------------
teardown_method: test_h2_500_31
_________________________ TestProxy.test_h2_500_32[0] __________________________

self = <http2.test_500_proxy.TestProxy object at 0x7f0ac314d580>
env = <http2.env.H2TestEnv object at 0x7f0ac3023160>, repeat = 0

    def test_h2_500_32(self, env, repeat):
        url = env.mkurl("https", "cgi", "/proxy/h2test/error?body_error=timeout&error_bucket=0")
        r = env.curl_get(url)
>       assert r.exit_code != 0, r
E       AssertionError: ExecResult[code=0, args=['curl', '-s', '--path-as-is', '-D', '/tmp/tmp.GIEiTmNJQA/BUILD/mod_http2-2.0.26/test/pyhttpd/...XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX----stderr---------------------------------------
E
E       assert 0 != 0
E        +  where 0 = ExecResult[code=0, args=['curl', '-s', '--path-as-is', '-D', '/tmp/tmp.GIEiTmNJQA/BUILD/mod_http2-2.0.26/test/pyhttpd/...XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX----stderr---------------------------------------\n.exit_code

modules/http2/test_500_proxy.py:157: AssertionError
---------------------------- Captured stdout setup -----------------------------
setup_method: test_h2_500_32
--------------------------- Captured stdout teardown ---------------------------
teardown_method: test_h2_500_32
________________________ TestH2Proxy.test_h2_600_31[0] _________________________

self = <http2.test_600_h2proxy.TestH2Proxy object at 0x7f0ac3075af0>
env = <http2.env.H2TestEnv object at 0x7f0ac3023160>, repeat = 0

    def test_h2_600_31(self, env, repeat):
        conf = H2Conf(env)
        conf.add_vhost_cgi(h2proxy_self=True)
        conf.install()
        assert env.apache_restart() == 0
        url = env.mkurl("https", "cgi", "/h2proxy/h2test/error?body_error=timeout")
        r = env.curl_get(url)
        # depending on when the error is detect in proxying, if may RST the
        # stream (exit_code != 0) or give a 503 response.
        if r.exit_code == 0:
>           assert r.response['status'] == 502
E           assert 200 == 502

modules/http2/test_600_h2proxy.py:187: AssertionError
=========================== short test summary info ============================

In case you can recognize some of the errors above or you know what could cause these errors, it would be helpful to share the info with me. In case you don't have any idea, I can continue with investigation but so far I haven't found the root of the problem :-( . Maybe I'm missing some other library/script...
Thanks in advance.


[Feature Request] Mac m1 silicon support

When I install autok3s as the official website do in my new macbook pro with M1.
It could not found and download file autok3s_darwin_arm64
And then an error xml appeared in my dir /usr/local/bin/autok3s, content like this:
<?xml version="1.0" encoding="UTF-8"?>
<Error>
  NoSuchKey
  <Message>The specified key does not exist.</Message>
  <RequestId>610FD13B998B3E39366EF3F1</RequestId>
  <HostId>rancher-mirror.cnrancher.com</HostId>
  <Key>autok3s/v0.4.3/autok3s_darwin_arm64</Key>
</Error>

@llqgit Thanks for your report. How did you install AutoK3s? Using the install command below?
curl -sS http://rancher-mirror.cnrancher.com/autok3s/install.sh  | sh

@llqgit There's something wrong with our mirror when sync with the Github release, please try again.
Thanks!

I have tried curl -sS http://rancher-mirror.cnrancher.com/autok3s/install.sh  | INSTALL_AUTOK3S_MIRROR=cn sh of cause and still not work now,  with return a xml is the same as before.

It's very curious with the same error XML because AutoK3s has released v0.4.4.
What about command as below:
curl -sS http://rancher-mirror.rancher.cn/autok3s/install.sh | INSTALL_AUTOK3S_MIRROR=cn sh

It has changed to:
<?xml version="1.0" encoding="UTF-8"?>
<Error>
  NoSuchKey
  <Message>The specified key does not exist.</Message>
  <RequestId>611133AFF15BB2383377569E</RequestId>
  <HostId>rancher-mirror.rancher.cn</HostId>
  <Key>autok3s/v0.4.4/autok3s_darwin_arm64</Key>
</Error>

I think the point is darwin_arm64 arm64 with mac M1 cpu, not the version 0.4.4.

Sorry about the misunderstanding. AutoK3s is not supported darwin_arm64 for now.

I handle this problem by download and copy the autok3s_darwin_amd64 as autok3s to the /usr/local/bin dir manually. And  it is worked for now.

Closed. If there are other problems please reopen.

For anyone who lands here and is looking for m1 Mac support + k3s ---> look into k3d.


Fixed int interpolation issue, closes #22763

When interpolating between two equal int values a and b, floating point calculation imprecision can result in different values depending on the interpolation factor. For a=3, b=3 the result will be < 3, sometimes >= 3, with the result being either 2 or 3 due to the int cast:
ERROR: interpolate: interpolate va=3 vb=3 c=0.363636 r_dst=3
At: core/variant_op.cpp:3546.
ERROR: interpolate: interpolate va=3 vb=3 c=0.454545 r_dst=2
At: core/variant_op.cpp:3546.
Edit: uses @CptPotato solution now

Is it possible to force push an ammended commit? Of course, the "else"-case should be r_dst = va;

I'm wondering about other interpolations that may fail due to float precision. Maybe rounding the output (int)(x + 0.5f) would get rid of these.

Do you mean r_dst = int(((1.0 - c) * va + vb * c) +.5f);? This also influences the interpolation behavior for va != vb with respect to the timing, because the next keyframe value is reached not only when c = 1.0 but before due to the addition of .5f? Is this desired?
Example: va = 0; vb = 1; c = 0.6

int((1.0 - c) * va + vb * c) = int(0.6) = 0
int(((1.0 - c) * va + vb * c) +.5f) = int(1.1) = 1

I was only looking at it from a linear interpolation view. Now that you say it, for animations floor() instead of round() makes more sense, so I think the way you suggested might be the better option.

That's clever! And much better without if/else :+1:  Thanks!

Thanks!

Was the old version merged which uses the va == vb check or am I not seeing this right?

Looks like it yeah, I assumed that it was the result of the discussion since it had been rebased after the last comment. PR welcome to improve it further.

In case @qonnop makes a follow-up PR it might be a good idea to change the interpolation of REAL to r_dst = va + (vb - va) * c;, aswell, as I think this will be a small speed improvement.

@CptPotato I must have forgotten to add before amending the commit, sry -.- Ok, I'll do that :+1:

Now that Godot 3.1 has been released, we only plan to cherry-pick critical bug fixes to the 3.0 branch, unless there is very strong support in favor of a specific non-critical issue. Removing cherrypick label for 3.0.


Incomplete installation doc?

How do I install this for my openresty stack and does this support all features of latest mongodb 3.4??

Same as with any other pre-opm lua-resty-* - install requirements and put it in your openresty lua lib path. There's no plan to support opm until it supports C modules (because lua-libbson is a C module)
No. For example there's no support for CA or client certificates, as it states in the docs.


Think of edge case test cases similar to tx_valid.json/tx_invalid.json and script_tests.json

Here are examples of how bitcoin core does this with testing script and transaction validity. Here are the examples:
https://github.com/bitcoin/bitcoin/tree/master/src/test/data
Initial corner cases I can think of revolve around both positive and negative test cases for

timeouts cases
fees

Some random test cases:
Utxo Cases

Case where each party has a single UTXO
Case where one party has multiple UTXO
Case where each party has multiple UTXO

Change case

Case where both parties have a change output
Case where only one party has a change output
Case where none of the parties have a change output

We might also want to distinguish between the cases where the change is exactly zero or when it is dust (though we need to decide on #11 first)
CET cases

Case where none of the outcome contain dust
Case where some outcomes contain dust (for both parties)

Outcomes

Case with single message outcome
Case with multiple messages outcome (multiple oracle signatures)


Add qtquickcontrols2-qmlplugins

Thanks merged with small tweak in commit message, next time please add your SOB line.
5b71df60..44d44933  kirkstone -> kirkstone
8363b198..1a917695  master -> master
8363b198..1a917695  master-next -> master-next

Thanks merged with small tweak in commit message, next time please add your SOB line.

Thanks, I'm afraid that I don't know what SOB line means. It's the packagegroup-qt5-toolchain-target:  prefix?
Just out of curiosity, why qtquickcontrols2 recipe doesn't automatically add qtquickcontrols2-qmlplugins  as dependency? Same for the Qt other recipes.
This way when I'm creating a new recipe for an application with DEPENDS += "qtquickcontrols2" it should add all dependencies needed by that application. Right now, apart from adding that package name to my IMAGE_INSTALL_append I also need to add packagegroup-qt5-toolchain-target which add way more stuff than my application needs.

SOB = Signed-off-by
For qtquickcontrols2-qmlplugins you should add it to your application RDEPENDS:${PN}, then it gets installed into your image with your app, you shouldn't use packagegroup-qt5-toolchain-target to do that.


add multiple images

Version
2.2.0
Current Behavior
I want to provide the function that is add multiple images, like this:

I have written the code for that, but there still have some problems to solve.
Expected Behavior
First of all, the biggest problem is how to handle descriptions for mult-images. In the screenshot below, you can enter multiple image urls, but you cannot add a description for each image. If it is entered like this, the description of each image syntax in the markdown is the same.

And the number of images that can be added must also be limited. Now it can be added without any limit, which will be a performance issue.

I think the multi image upload function is not simple. We had to solve the following three problems and write code for this function first.

The specification for the function must be defined.
Considering UI/UX, the design should match the Editor's look and feel.
Performance issues need to be considered.

This issue is related to #881 PR, and I would like to discuss the specifications together. Interested people would like to comment.

이 문제가 아직 진행 중인가요?..?

new toolbar button "multiple image" (only file & single description)
i need it so much "multipleImageUpload"


CanBeDeleted managed property is not included

Forms and Views have a CanBeDeleted managed property that isn't mentioned here.

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

ID: 7afdabe8-29fe-15f6-5d77-fc3155175de9
Version Independent ID: e67b084e-d344-066b-f8d5-598c033d637e
Content: Use managed properties (Common Data Service) - PowerApps
Content Source: powerapps-docs/developer/common-data-service/use-managed-properties.md
Service: powerapps
GitHub Login: @shmcarth
Microsoft Alias: jdaly

@JimDaly Thanks for your feedback. We are closing this issue because we are either unable to find relevant information or reproduce this. If you're still experiencing the issue described here, please reopen or create a new issue.

@phecke
See:

SystemForm.CanBeDeleted
SavedQuery.CanBeDeleted

And add them to the list on this page.
Let me know if you have any questions

@JimDaly Doc updated.