Make figure generation optional

Suggested feature
As discussed in #1207, we would like to make figure generation optional for large experiments. The proposed interface is:

If fewer than 10 figures are expected for the experiment, always generate figures.
If more than 10 figures and the flag generate_figs is selective, only generate figures when chi-square > figure_chisq_threshold (default ~5) and chi-square = 0 (indicating something has probably gone wrong).
If more than 10 figures and the flag generate_figs is never, don't generate figures at all.

The plan is:

Next release: Add generate_figs flag and figure_chisq_threshold, don't change the default behavior of generate_figs = always
Next next release: Switch generate_figs to selective by default

That's a good idea, @yaelbh!

Another question is whether to use the generate_figs flag to toggle analysis.options.plot, or leave that as an override option that users can still manually set to enable/disable specific analysis figures. In the latter case, the behavior can be like:
options.plot is unset by default. If options.plot is not set by the user, behavior is specified by generate_figs. Otherwise, use options.plot's value to determine whether to generate that figure.


'Found another file with the destination path' during collectstatic deployment step

The material theme green is not rendering on our server and the following errors are listed when collecting the static files.
We are using Django 1.11 and Material 1.0.0. Our static files are served from an S3 bucket. Everything runs fine on our local instance.
Found another file with the destination path 'material/imgs/background.svg'. It will be ignored since only the first encountered file is collected. If this is not what you want, make sure every static file has a unique path.
Found another file with the destination path 'material/imgs/sidenav.svg'. It will be ignored since only the first encountered file is collected. If this is not what you want, make sure every static file has a unique path.
Found another file with the destination path 'material/css/materialize.admin.css'. It will be ignored since only the first encountered file is collected. If this is not what you want, make sure every static file has a unique path.
Found another file with the destination path 'material/css/materialize.frontend.min.css'. It will be ignored since only the first encountered file is collected. If this is not what you want, make sure every static file has a unique path.
Found another file with the destination path 'material/css/materialize.admin.min.css'. It will be ignored since only the first encountered file is collected. If this is not what you want, make sure every static file has a unique path.
Found another file with the destination path 'material/css/materialize.frontend.css'. It will be ignored since only the first encountered file is collected. If this is not what you want, make sure every static file has a unique path.
Found another file with the destination path 'material/css/materialize.forms.css'. It will be ignored since only the first encountered file is collected. If this is not what you want, make sure every static file has a unique path.
Found another file with the destination path 'material/css/materialize.css'. It will be ignored since only the first encountered file is collected. If this is not what you want, make sure every static file has a unique path.
Found another file with the destination path 'admin/js/SelectFilter2.js'. It will be ignored since only the first encountered file is collected. If this is not what you want, make sure every static file has a unique path.
Found another file with the destination path 'admin/js/prepopulate.js'. It will be ignored since only the first encountered file is collected. If this is not what you want, make sure every static file has a unique path.
Found another file with the destination path 'admin/js/jquery.init.js'. It will be ignored since only the first encountered file is collected. If this is not what you want, make sure every static file has a unique path.
Found another file with the destination path 'admin/js/admin/RelatedObjectLookups.js'. It will be ignored since only the first encountered file is collected. If this is not what you want, make sure every static file has a unique path.
Found another file with the destination path 'admin/js/admin/DateTimeShortcuts.js'. It will be ignored since only the first encountered file is collected. If this is not what you want, make sure every static file has a unique path.

That's not the error, just the well know warning not related to the problem this theme serve
See #150


Add crash monitoring handler

The iOS SDK needs to report crashes. We will add another repo which will provide different crash reporting services to the main repo. This commit adds the interface for a general crash handler and looks specifically for a raygun provider

Can one of the admins verify this patch?

test this please

test this please

test this please


feat: disable previous dates from now date

Fixes # .
Changes proposed in this pull request:

Fix isSelectable algorithm in UiCalendar base component

@sarmatdev please add the issue number in your PR description

@sarmatdev can we also disable the back arrow when the previous month have already past.

@sarmatdev can we also disable the back arrow when the previous month have already past.

Ready to check

@sarmatdev Can you remove the button back instead of disabling it?

@sarmatdev the month and year are not longer centered

@sarmatdev the month and year are not longer centered

Oh, really... Any ideas how it might be centered?🤔
I have tried several, but I did not get accurate centering


drop dig_rb and update required ruby version to 2.3

ruby2.3 or higher version has dig_rb gem function as default, see top of https://github.com/jrochkind/dig_rb/blob/master/README.md
Now distros support ruby2.3 or higher version, bump up it would be okay, IMO.

Debian9 or newer (Debian10 will be released 2 or 3 months later)
Ubuntu16.04 or newer
RHEL7 and its clone CentOS has ruby2.0, so out of the scope already ;)

Thanks for the patch.
The problem is we can't drop older ruby support without annoucement.
One idea is drop ruby 2.1/2.2 support in this year. In addition, drop one old ruby version in each year.
2020 drops ruby 2.3. 2012 drops ruby 2.4, ...

Make sense, I got it.
How about raise another issue to drop old ruby version and depends on it?

Now, we can drop dig-rb. could you update this branch?

https://github.com/fluent/fluentd/pull/2750 includes these changes.
So we can close.
Thanks for the patch and suggestion!


Some questions about the record generate in the fault queue

The IOMMU may identify multiple requests as having detected an identical fault. In such cases the
IOMMU may report each of those faults individually, or report the fault for a subset, including one,
of requests.

I don't quite understand the above sentence. Are those requests errors detected at the same time？
What is "report the fault for a subset"?Does it mean that only one report is generated for those requests?
And if multiple faults detected at the same time, should they all generate their own record  to the FQ? And what order do they follow?

Imagine an IOMMU overseeing a PCIe root port, to which a device, like an NVMe controller, is connected. This device can initiate a series of writes. If tasked with copying 4 KiB of data from storage to memory with a maximum payload of 512 bytes, it would generate 8 memory writes.
Should the IOMMU encounter an address translation fault, and since all these writes target the same page, they would all identify the same fault. Depending on the IOMMU, it might report:

All 8 faults individually.
A single consolidated fault.
Some fraction of the 8 identical faults.

Some IOMMUs can only handle one request at a time, meaning they'd report every fault. However, more advanced IOMMUs can process multiple requests concurrently, potentially consolidating these faults.
I hope this clarification helps.

I see, thanks a lot.

Thanks for raising this question, @wangyongzhen0322. Glad that was helpful. If you have any more questions or concerns in the future, please don't hesitate to ask. Closing this issue now


Messages should be sent in batch for Repair and Submit

PR #206 has changed the original code that was sending messages in batches.
To address perf and UX, batching needs to be re-implemented.

I can work on implementing batchign, unless someone else is already doing it.

I don't have capacity ATM, but can point at what I've done in the past.
Just breaking messages into batches is not going to work. The size reported by BrokeredMessage is always smaller than the actual size over the wire. Instead, what I've done is breaking a batch into multiple ones (chunking) using some estimated size. The post is two years old, but customers didn't have issues with this approach so far 🙂

This was more complicated than I initially thought. My plan of approach was to extend https://github.com/paolosalvatori/ServiceBusExtensions using the solution in Seans excellent post https://weblogs.asp.net/sfeldman/asb-batching-brokered-messages, but support for non-string custom properties needs to be added. We do seem to run into edge cases, like the size issue with message size in issue #195, so this cannot be omitted. I also looked at https://mikhail.io/2017/07/sending-large-batches-to-azure-service-bus/. As both solutions might have issues with other message formats - there are many: https://abhishekrlal.com/2012/03/30/formatting-the-content-for-service-bus-messages/ this complicates things. Then there is the error handling in case a batch fails to be delivered. In short, besides a tricky implementation part adding this feature would require extensive testing.
The issue of batching is solved in the new Service Bus client and therefore I feel it is not worth spending more time on this feature. I suggest this issue is closed.

The challenge with Dictionary<string,object> based headers is that we'll not be able to know the size until object graph is serialized. That's the reason I didn't bother with anything other than Dictionary<string, string> (what my customers use).


Table entity page makes a call with all fields

Table entity page loads all the data in one call to backend.
We should load the pages incrementally, example schema page only needs base details of table
and for sampledata , we can make another call to get those details

Reopening as similar changes are required for other entities.


Simple device plugin 'abstract' implementation.

The NSM is going to need to provide a 'deviceplugin' for
a resource
nsm.ligato.io

so that Pods can request NSM as a resource.

The NSM is also going to provide a 'deviceplugin' for
resources:

nsm.ligato.io/${service}/${channel}

so that the Pod may request an actual hardware NIC providing
that Network Service.

In otherwords, the NSM will need to provide multiple 'deviceplugins'.

For this reason, I'm attemtping to abstract he housekeeping parts
of the 'deviceplugin' into a deviceplugin.go and we can then use
Go composition to construct easily the *specific* device plugins we
need for those resources.

References:
"Why Go Structs are superior to class based inheritance":
https://medium.com/@simplyianm/why-gos-structs-are-superior-to-class-based-inheritance-b661ba897c67

K8s DevicePlugin documentation:
https://kubernetes.io/docs/concepts/cluster-administration/device-plugins/

Just FYI - We were also creating a few DPs and we also have an abstraction: DPM https://github.com/kubevirt/device-plugin-manager/
Side note IIRC there was some issue with more than one slash in resource names, i.e.  nsm.ligato.io/${service}/${channel} might not work
/cc @phoracek

LGTM


chore(test): prevent E2E tests from running in draft PRs

Description
Prevents E2E tests from running on draft PRs.
BREAKING CHANGES
N/A
CHANGES

Disables E2E that used paid large runners from running on draft PRs

Related Issue
N/A
Checklist before merging

[x] Tests, documentation, ADR added or updated as needed
[x] Followed the Contributor Guide Steps

Registry1 Weekly will fail, as we are still waiting for approval of 0.12.2 on IronBank.
https://repo1.dso.mil/dsop/opensource/defenseunicorns/leapfrogai/api/-/merge_requests/32
https://vat.dso.mil/vat/image?imageName=opensource/defenseunicorns/leapfrogai/api&tag=v0.12.2&branch=renovate/defenseunicorns-leapfrogai-0.x


[SPARK-34642][DOCS][ML] Fix TypeError in Pyspark Linear Regression docs

What changes were proposed in this pull request?
Fix a call to setParams in the Linear Regression docs example in Pyspark to avoid a TypeError.
Why are the changes needed?
The example is slightly wrong and we should not show an error in the docs.
Does this PR introduce any user-facing change?
None
How was this patch tested?
Existing tests

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

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

Test build #135828 has started for PR 31760 at commit 27b59d8.

Test build #135828 has finished for PR 31760 at commit 27b59d8.

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

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

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

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

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


#raw output on rich text fields contains model objects

Not sure if this is a bug or expected behavior- feel free to close if it's the latter.
I've got a model that has a rich text field with an embedded entry. When I call #raw on an instance of that model, the output contains the entry ruby object:
$ MyModel.raw

{
 "sys"=>{...},
 "fields"=> {
   "richTextField"=>
    {
      "data"=>{},
      "content"=>
      [{"data"=>{}, "content"=>[{"data"=>{}, "marks"=>[], "value"=>"", "nodeType"=>"text"}], "nodeType"=>"paragraph"},
       ...
       # Right here
       {"data"=>{"target"=><RelatedFile[relatedFiles] id=‘1JZpjo5NYPjYlvIZiIM8w5’>}, "content"=>[], "nodeType"=>"embedded-entry-block"},
      ],
     "nodeType"=>"document"
    }
  }
}

Should this just be the JSON of the API response instead?

Still happening today, should we switch to Contentful::Client for this?

This is expected behaviour.
Cheers
On Mon, Mar 22, 2021 at 5:11 PM Ignacio Morales @.***>
wrote:

Still happening today, should we switch to Contentful::Client for this?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/contentful/contentful_model/issues/142#issuecomment-804193936,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAH4EAT2YV4NZV4LO7TK6VTTE5T2XANCNFSM4MCQIHSQ
.

--
David Litvak Bruno
Solution Architect, Customer Experience - Solution Services Team
https://ctfl.io/3kAf9ak
@.***
+491629770622
Twitter @dlitvakb https://twitter.com/dlitvakb
GitHub @dlitvakb https://github.com/dlitvakb
LinkedIn in/dlitvakb/ https://www.linkedin.com/in/dlitvakb/
Contentful GmbH
Ritterstraße 12-14
10969 Berlin, Germany https://goo.gl/maps/9qViWH2BwXB2
www.contentful.com
Privacy Policy https://www.contentful.com/legal/de/privacy/
Registration Court: Berlin-Charlottenburg HRB 155607 B
Managing Directors: Steve Sloan, Paolo Negri, Dr. Markus Harder


feat(integrations): Add WandbTracer

WandbTracer
This PR adds the WandbTracer and deprecates the existing WandbCallbackHandler.
Added an example notebook under the docs section alongside the LangchainTracer
Here's an example colab with the same notebook and the trace generated from the colab run
Who can review?
Community members can review the PR once tests pass. Tag maintainers/contributors who might be interested:
@agola11

@agola11 : Thanks for the review and comments. I have incorporated all of your review suggestions and resolved the comments. Let me know if this looks good. I will add the serialized logging to the trace view once the serialization is finalized.

cc @dev2049


chore(deps): updated to .NET 8.0 LTS

:tada: This PR is included in version 2.2.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Docker issues with Postgres and Mongo

Hi,
Tried to run the docker container and got some strange postgres issues.
I can see it is restarting itself
CONTAINER ID   IMAGE                                                  COMMAND                  CREATED         STATUS                           PORTS                                                                                NAMES
6bf77340b279   haproxy:latest                                         "docker-entrypoint.s…"   6 minutes ago   Up 5 minutes                     <IP_ADDRESS>:80->80/tcp, :::80->80/tcp, <IP_ADDRESS>:443->443/tcp, :::443->443/tcp, <IP_ADDRESS>:1936->1936/tcp, :::1936->1936/tcp   haproxy
ad1630b238d4   nginx:1.19.6                                           "/docker-entrypoint.…"   6 minutes ago   Up 6 minutes                     80/tcp, <IP_ADDRESS>:81->81/tcp, :::81->81/tcp                                                                             nginx
8596a0ec897b   newsblur/newsblur_python3:latest                       "/bin/sh -c newsblur…"   6 minutes ago   Up 6 minutes                     <IP_ADDRESS>:8000->8000/tcp, :::8000->8000/tcp                                                                             newsblur_web
3fb35cb5d208   newsblur/newsblur_node:latest                          "docker-entrypoint.s…"   6 minutes ago   Up 6 minutes                     <IP_ADDRESS>:8008->8008/tcp, :::8008->8008/tcp                                                                             node
cd03bef3c10a   postgres:13.1                                          "docker-entrypoint.s…"   6 minutes ago   Restarting (1) 6 seconds ago                                                                                db_postgres
53dcca347315   newsblur/newsblur_python3                              "celery worker -A ne…"   6 minutes ago   Up 6 minutes                                                                                task_celery
93b2995f423c   docker.elastic.co/elasticsearch/elasticsearch:7.16.3   "/bin/tini -- /usr/l…"   6 minutes ago   Up 6 minutes                     <IP_ADDRESS>:9200->9200/tcp, :::9200->9200/tcp, <IP_ADDRESS>:9300->9300/tcp, :::9300->9300/tcp                                  db_elasticsearch
e65e93fa26a8   yusukeito/imageproxy:v0.11.2                           "/app/imageproxy -ad…"   6 minutes ago   Restarting (1) 9 seconds ago                                                                                imageproxy
4bc92905cee1   redis:latest                                           "docker-entrypoint.s…"   6 minutes ago   Up 6 minutes                     6379/tcp, <IP_ADDRESS>:6579->6579/tcp, :::6579->6579/tcp                                                                   db_redis
e40e4a48cc94   mongo:4.0                                              "docker-entrypoint.s…"
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/django/db/backends/base/base.py", line 219, in ensure_connection
    self.connect()
  File "/usr/local/lib/python3.9/site-packages/django/utils/asyncio.py", line 26, in inner
    return func(*args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/django/db/backends/base/base.py", line 200, in connect
    self.connection = self.get_new_connection(conn_params)
  File "/usr/local/lib/python3.9/site-packages/django_prometheus/db/common.py", line 45, in get_new_connection
    return super().get_new_connection(*args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/django/utils/asyncio.py", line 26, in inner
    return func(*args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/django/db/backends/postgresql/base.py", line 187, in get_new_connection
    connection = Database.connect(**conn_params)
  File "/usr/local/lib/python3.9/site-packages/psycopg2/__init__.py", line 122, in connect
    conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
psycopg2.OperationalError: could not translate host name "db_postgres" to address: Name or service not known

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/srv/newsblur/./manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/usr/local/lib/python3.9/site-packages/django/core/management/__init__.py", line 401, in execute_from_command_line
    utility.execute()
  File "/usr/local/lib/python3.9/site-packages/django/core/management/__init__.py", line 395, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/local/lib/python3.9/site-packages/django/core/management/base.py", line 330, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/usr/local/lib/python3.9/site-packages/django/core/management/base.py", line 371, in execute
    output = self.handle(*args, **options)
  File "/usr/local/lib/python3.9/site-packages/django/core/management/base.py", line 85, in wrapped
    res = handle_func(*args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/django/core/management/commands/migrate.py", line 92, in handle
    executor = MigrationExecutor(connection, self.migration_progress_callback)
  File "/usr/local/lib/python3.9/site-packages/django/db/migrations/executor.py", line 18, in __init__
    self.loader = MigrationLoader(self.connection)
  File "/usr/local/lib/python3.9/site-packages/django/db/migrations/loader.py", line 53, in __init__
    self.build_graph()
  File "/usr/local/lib/python3.9/site-packages/django/db/migrations/loader.py", line 216, in build_graph
    self.applied_migrations = recorder.applied_migrations()
  File "/usr/local/lib/python3.9/site-packages/django/db/migrations/recorder.py", line 77, in applied_migrations
    if self.has_table():
  File "/usr/local/lib/python3.9/site-packages/django/db/migrations/recorder.py", line 55, in has_table
    with self.connection.cursor() as cursor:
  File "/usr/local/lib/python3.9/site-packages/django/utils/asyncio.py", line 26, in inner
    return func(*args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/django/db/backends/base/base.py", line 259, in cursor
    return self._cursor()
  File "/usr/local/lib/python3.9/site-packages/django/db/backends/base/base.py", line 235, in _cursor
    self.ensure_connection()
  File "/usr/local/lib/python3.9/site-packages/django/utils/asyncio.py", line 26, in inner
    return func(*args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/django/db/backends/base/base.py", line 219, in ensure_connection
    self.connect()
  File "/usr/local/lib/python3.9/site-packages/django/db/utils.py", line 90, in __exit__
    raise dj_exc_value.with_traceback(traceback) from exc_value
  File "/usr/local/lib/python3.9/site-packages/django/db/backends/base/base.py", line 219, in ensure_connection
    self.connect()
  File "/usr/local/lib/python3.9/site-packages/django/utils/asyncio.py", line 26, in inner
    return func(*args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/django/db/backends/base/base.py", line 200, in connect
    self.connection = self.get_new_connection(conn_params)
  File "/usr/local/lib/python3.9/site-packages/django_prometheus/db/common.py", line 45, in get_new_connection
    return super().get_new_connection(*args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/django/utils/asyncio.py", line 26, in inner
    return func(*args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/django/db/backends/postgresql/base.py", line 187, in get_new_connection
    connection = Database.connect(**conn_params)
  File "/usr/local/lib/python3.9/site-packages/psycopg2/__init__.py", line 122, in connect
    conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
django.db.utils.OperationalError: could not translate host name "db_postgres" to address: Name or service not known

make: [Makefile:32: nb] Error 1 (ignored)
docker exec newsblur_web ./manage.py loaddata config/fixtures/bootstrap.json
 ---> Starting NewsBlur development server...
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/django/db/backends/base/base.py", line 219, in ensure_connection
    self.connect()
  File "/usr/local/lib/python3.9/site-packages/django/utils/asyncio.py", line 26, in inner
    return func(*args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/django/db/backends/base/base.py", line 200, in connect
    self.connection = self.get_new_connection(conn_params)
  File "/usr/local/lib/python3.9/site-packages/django_prometheus/db/common.py", line 45, in get_new_connection
    return super().get_new_connection(*args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/django/utils/asyncio.py", line 26, in inner
    return func(*args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/django/db/backends/postgresql/base.py", line 187, in get_new_connection
    connection = Database.connect(**conn_params)
  File "/usr/local/lib/python3.9/site-packages/psycopg2/__init__.py", line 122, in connect
    conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
psycopg2.OperationalError: could not connect to server: No route to host
        Is the server running on host "db_postgres" (<IP_ADDRESS>) and accepting
        TCP/IP connections on port 5432?

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/srv/newsblur/./manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/usr/local/lib/python3.9/site-packages/django/core/management/__init__.py", line 401, in execute_from_command_line
    utility.execute()
  File "/usr/local/lib/python3.9/site-packages/django/core/management/__init__.py", line 395, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/local/lib/python3.9/site-packages/django/core/management/base.py", line 330, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/usr/local/lib/python3.9/site-packages/django/core/management/base.py", line 371, in execute
    output = self.handle(*args, **options)
  File "/usr/local/lib/python3.9/site-packages/django/core/management/commands/loaddata.py", line 71, in handle
    with transaction.atomic(using=self.using):
  File "/usr/local/lib/python3.9/site-packages/django/db/transaction.py", line 175, in __enter__
    if not connection.get_autocommit():
  File "/usr/local/lib/python3.9/site-packages/django/db/backends/base/base.py", line 389, in get_autocommit
    self.ensure_connection()
  File "/usr/local/lib/python3.9/site-packages/django/utils/asyncio.py", line 26, in inner
    return func(*args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/django/db/backends/base/base.py", line 219, in ensure_connection
    self.connect()
  File "/usr/local/lib/python3.9/site-packages/django/db/utils.py", line 90, in __exit__
    raise dj_exc_value.with_traceback(traceback) from exc_value
  File "/usr/local/lib/python3.9/site-packages/django/db/backends/base/base.py", line 219, in ensure_connection
    self.connect()
  File "/usr/local/lib/python3.9/site-packages/django/utils/asyncio.py", line 26, in inner
    return func(*args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/django/db/backends/base/base.py", line 200, in connect
    self.connection = self.get_new_connection(conn_params)
  File "/usr/local/lib/python3.9/site-packages/django_prometheus/db/common.py", line 45, in get_new_connection
    return super().get_new_connection(*args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/django/utils/asyncio.py", line 26, in inner
    return func(*args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/django/db/backends/postgresql/base.py", line 187, in get_new_connection
    connection = Database.connect(**conn_params)
  File "/usr/local/lib/python3.9/site-packages/psycopg2/__init__.py", line 122, in connect
    conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
django.db.utils.OperationalError: could not connect to server: No route to host
        Is the server running on host "db_postgres" (<IP_ADDRESS>) and accepting
        TCP/IP connections on port 5432?

make: [Makefile:33: nb] Error 1 (ignored)

What do the logs of those misbehaving contains say? docker logs db_postgres and docker logs db_mongo and docker logs imageproxy.

Hello Everyone, I haven't diffed the current master with this tag yet but have discovered if you take the last verified version: 969d60ecc875db10fa7c66485be02507c5c554f5 that was put out before this issue was posted. Newsblur build/make(s) correctly. This suggest the bug was introduced sometime between these 2 versions:
Working version:
969d60ecc875db10fa7c66485be02507c5c554f5
May 17, 2022
Broken sometime/before:
f6f0738acd330337de8329a40906122383a2108f
on May 21, 2022


sturdier url parsing ?

hello
when the image url already has some parameters and such, and worst, some parameters that collide with those of the service it may fails (mostly because the image url parameters are not taken into account and the image grabbing fails)
could it be that the url parameter is mandatorily the last one and all the other parameters behind it are those of the image url
and only the parameters before the url parameters are for the service ?
like for instance : https://images.weserv.nl/?n=-1&w=600&we&url=https://my.image.host/some/stuff/foobar?type=jpg&size=large&we=we&so=on
where https://my.image.host/some/stuff/foobar?type=jpg&size=large&we=we&so=on is the whole url parameter
?

This would cause a lot of issues with people that are already using the public service, and I'm also not sure if it would be possible to do so. Please urlencode your &url=, it will solve your problems.


Confusing documentation

I really liked the idea of having native UI using cordova. I've never used XAML before.
And I was a bit disappointed about not being able to use it on Linux.
So the only option is to have all the UI generated with JS.
But I find the documentation a bit confusing.
For example I need to make a button. I need to position it, to change style and content. But the docs here have nothing on those methods. And there are some examples here in styling section.
Did I look in the right place? =)
Is there a better way getting to know ace?

@orangecoloured XAML is one way of defining the UI. At the moment, we are exploring alternative ways to define the UI - people have told us that XAML may not be their preferred language.
Would you prefer something like Ionic's HTML like markup instead ?

HTML would be a nice thing for web-developers. If this is your target group with ace then probably yeah.
Not sure about all the caveats here. I don't mind generating the UI with JS or any other way, my only concern here is the documentation.

You are correct that the documentation is minimal at the moment. You position elements depending on the layout panel, so the documentation for that is at http://microsoft.github.io/ace/docs/layout/. Styling is indeed described at http://microsoft.github.io/ace/docs/styling/. And you set content with a control's setContent method. I'll add some pointers and info to that reference page, so hopefully that will help.


Feature

This is a curriculum-based project I had to code a dictionary/search site. I choose to create a site where people can search for various online courses. the project is completed using bootstrap.

https://www.loom.com/share/9486ac52c25945baa18ae6445e76d9bb

Hey Tse's,
My Pr is failing, I need some time to figure this out.

Hey Tse's,
I need one more day.
thank you.

https://www.loom.com/share/9486ac52c25945baa18ae6445e76d9bb. This Project is an online course directory from around the world. A single window portal to search, apply  for suitable courses.

https://www.loom.com/share/9486ac52c25945baa18ae6445e76d9bb. This Project is an online course directory from around the world. A single window portal to search, apply  for suitable courses.

https://www.loom.com/share/9486ac52c25945baa18ae6445e76d9bb. This Project is an online course directory from around the world. A single window portal to search, apply  for suitable courses.

https://www.loom.com/share/9486ac52c25945baa18ae6445e76d9bb. This Project is an online course directory from around the world. A single window portal to search, apply  for suitable courses.


 Will leave this open until we here back from @johnhaskew about specific immediate requirements for Somalia.

I think we can call this done for now.


Can you make this app for android

because android doesn't have good foss code editor at all
it would be great to see android port of lapce with native android UI
Can You Please Do It

there are some efforts from people using Android to package it for termux but I believe this is a non-goal for the project itself

because android doesn't have good foss code editor at all it would be great to see android port of lapce with native android UI

Try Acode from playstore, It's a really good code editor for android.


My dojos Page

Dependency: #1072
Rework to ensure SAD process is usable post-creation of a dojo
Part of ui-refresh

Duplicate @DanielBrierton


Fix documentation build

Signed-off-by: Bernát Gábor<EMAIL_ADDRESS>

docs/readthedocs.org:platformdirs Pending — Read the Docs build is in progress! - ah now it works!


feat: support raw str for root cssobject

如果是顶层提供 string 作为 cssinjs 配置会直接作用，以支持 layer 优先级配置。
修复 hashedId 对于 element selector 适配问题（如 .hashIdp => p.hashId）
LayerName 定义时支持配置顺序

Codecov Report

Merging #43 (a9124e4) into master (eff5ced) will increase coverage by 0.26%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #43      +/-   ##
==========================================
+ Coverage   94.18%   94.44%   +0.26%
==========================================
  Files          11       11
  Lines         447      450       +3
  Branches      145      147       +2
==========================================
+ Hits          421      425       +4
+ Misses         26       25       -1

Impacted Files
Coverage Δ

src/hooks/useStyleRegister.tsx
100.00% <100.00%> (+0.86%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


VehicleSeat Camera and SkateboardPlatform Camera have unexpected and annoying behavior.

The previous design for the VehicleSeat and SkateboardPlatform camera was as follows: the camera would be attached to the head (offset upwards by 5 studs) and rotate with the head as it rotates on the Y axis. Panning the camera would rotate the camera relative to the head, which would persist.
The current design for the VehicleSeat and SkateboardPlatform camera is as follows: the camera is pointed at the head (but not attached to it), and does not rotate with the head as it rotates on the Y axis. After 2 seconds of inactivity, the camera will tween to facing the same direction as the head.
This change is bad for a number of reasons.
First, it does not replicate the previous behavior in any way, shape, or form, which is expected of this project.
Second, it severely limits the ability for people to look around the vehicle or skateboard if they have to move the camera every 2 seconds to keep it from looking forwards again.
Third, the tweening is very jerky if the player is changing velocity quickly, which is disorienting and weird.

Some clarification, if it's needed: https://www.youtube.com/watch?v=cVDMPjbINcE

Is this still a problem?

Kind of, when you have mouselock on your players camera and character go hay wire. I reported it to ROBLOX via<EMAIL_ADDRESS>They are currently looking into the problem.

Oh, In case it wasn't clear. It goes haywire while sitting in the seat.

No longer happens to me, I believe it was patched. Do either of you to experience it still? @spacek531 @kyle-emmerich

Mouselock doesn't go haywire on me.

This issue was moved to GitBlox/Core-Scripts#9

tHAT me cUM in u LOL.


Create Nvidia Branch for testing and development

Hi Eric, It's Brian Mahabir, it was a pleasure to meet you at Dev Conf!
I have a bare-bones fully working demo that utilizes Nvidia GPU support. I'd like to have a nv branch on ramalama repo to have a record of the development.
Although you can build llama.cpp with GPU support it doesn't work seamlessly. For example, it takes time to offload the work to Vram so when using GPU you would have to wait about 15-30 seconds before the chatbox appears. However, Ollama handles this much better albeit at the cost of some performance. The plan is to look at how Ollama handles GPU support and integrate those changes for a better experience as it's built ontop of llama.cpp.

Hey @bmahabirbu great to hear from you again. @swarajpande5 was looking into Nvidia support too, maybe you guys can look into it together. For branching, just fork the repo, create a branch and open a PR that way, that's generally how we do things.
Funnily enough I got AMD GPUs working today, by building a container like this:
FROM registry.access.redhat.com/ubi9/ubi:9.4-1214.1726694543

# renovate: datasource=github-releases depName=huggingface/huggingface_hub extractVersion=^v(?<version>.*)
ARG HUGGINGFACE_HUB_VERSION=0.25.1
# renovate: datasource=github-releases depName=containers/omlmd extractVersion=^v(?<version>.*)
ARG OMLMD_VERSION=0.1.5
# renovate: datasource=github-releases depName=tqdm/tqdm extractVersion=^v(?<version>.*)
 But all the bits still have to be put together properly.
Then this 3b model works with GPU offload via ROCM to AMD GPU:
/usr/bin/ramalama run llama3.2

Thats fantastic! What branch should I make the PR request to?
Heres the container I used
FROM nvidia/cuda:12.2.0-devel-ubi9

# renovate: datasource=github-releases depName=huggingface/huggingface_hub extractVersion=^v(?<version>.*)
ARG HUGGINGFACE_HUB_VERSION=0.25.0
# renovate: datasource=github-releases depName=containers/omlmd extractVersion=^v(?<version>.*)
  It had some trouble finding  libcuda.so.1 even when I specifically added a systemlink to it. I ended up using just the regular make and things worked out. I think it had something to do with the build config for llama.cpp cuda. Its great the amd build can use cmake properly.
Otherwise everything else looks very similar!
Great method to figure out vram and adjust the --ngl parameter for it.
How should I reach out to @swarajpande5 to get things rolling!
Thanks Eric!

@bmahabirbu open it against main branch, in somewhere like:
container-images/ramalama/latest-cuda/Containerfile
I think you did the right thing using nvidia/cuda image by the way. It is a UBI9 image at the end of the day and Nvidia do a good job at maintaining those. Although I think we shoudl try the latest version:
nvidia/cuda:12.6.1-devel-ubi9
rather than:
nvidia/cuda:12.2.0-devel-ubi9

Btw, this:
For example, it takes time to offload the work to Vram so when using GPU you would have to wait about 15-30 seconds before the chatbox appears. However, Ollama handles this much better albeit at the cost of some performance. The plan is to look at how Ollama handles GPU support and integrate those changes for a better experience as it's built ontop of llama.cpp.
may be partially because Ollama has a daemon and a lot of things are pre-loaded these and we are daemonless.
We would be open to a daemon-mode, but it would likely not be the default.

We already have a daemon-mode of sorts with the quadlet generator, but it requires some manual setup. That would make a great blog post!

It makes sense that Ollama has a daemon for pre-loading. I ran their container and used docker-exec to load llama3 and it went smoothly. I'm assuming Podman's quadlet generator can work similarly by having the containers run in the background with systemd and called upon when needed.
Great stuff! Definitely going to be checking this out

@ericcurtin
> what is the first 5 prime numbers
4444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444
>

Solved


Fail to run exmaple todo

I cloned master branch and ran cargo run --package todos
Then a white window brought up and exited with output in the terminal below
    Finished dev [unoptimized + debuginfo] target(s) in 0.57s
     Running `target\debug\todos.exe`
error: Invalid record (Producer: 'LLVM3.8.0' Reader: 'LLVM 3.8.0')
error: process didn't exit successfully: `target\debug\todos.exe` (exit code: 0xc0000005, STATUS_ACCES
S_VIOLATION)
[1]    423 segmentation fault  cargo run --package todos

I just tested it on windows 10, it worked for me. I downloaded iced, then ran your command, and it worked.

I just tested it on windows 10, it worked for me. I downloaded iced, then ran your command, and it worked.

I'm on Windows 10 too.
I just found that 0.3 worked for me but master branch didn't.
There is a pdb file that might help but it's too big to be uploaded

Your error mentions LLVM, which is the compiler for Rust. Your error is probably with your Rust install


Implement access sequence $SolutionDir$ across all levels

Describe The Problem To Be Solved
The access sequence $SolutionDir$ cannot be used in *.clayer.yml file.
Suggest A Solution
It should be possible to use $SolutionDir$ in every YML input file.  Check also for restrictions on other access sequences.

$SolutionDir()$ is already supported as documented in Access Sequences, regardless of being in csolution.yml, cproject.yml or clayer.yml files.
Given the comments from the above mentioned related GH issue https://github.com/Open-CMSIS-Pack/devtools/issues/1429, it seems what is required is to support $SolutionDir()$ in variables, for example:
solution:
  variables:
    - Board-Layer: $SolutionDir()$/layers/board.clayer.yml
---
project:
  layers:
    - layer: $Board-Layer$

Yes the problem is the usage with variables.


Unable to load dynamic library doing npm start

Getting this error when trying to setup a local developer environment.
Mac: 14.2.1 (23C71)
Logs
  Morpheus git:(main) npm run start

><EMAIL_ADDRESS>start
> electron .

2024-02-10 18:22:24.235 Electron[18621:11545396] WARNING: Secure coding is not enabled for restorable state! Enable secure coding by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState: and returning YES.
Ollama server is running
Error: HTTP Error (500): {"error":"Unable to load dynamic library: Unable to load dynamic server library: dlopen(/var/folders/vd/0nngp7x525j4mv831pz446vw0000gn/T/ollama4108819979/metal/libext_server.dylib, 0x0006): tried: '/var/folders/vd/0nngp7x525j4mv831pz446vw0000gn/T/ollama4108819979/metal/libext_server.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/var/folders/vd/0nngp7x525j4mv831pz446vw0000gn/T/ollama4108819979/metal/libext_server.dylib' (no such file), '/var/folders/vd/0nngp7x525j4mv831pz446vw0000gn/T/ollama4108819979/metal/libext_server.dylib' (no su"}
    at Ollama.generate (/Users/yash/Desktop/yashkumarverma.com/github.com/Morpheus/src/service/ollama/ollama.js:286:13)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Ollama.run (/Users/yash/Desktop/yashkumarverma.com/github.com/Morpheus/src/service/ollama/ollama.js:177:5)
    at async run (/Users/yash/Desktop/yashkumarverma.com/github.com/Morpheus/src/service/ollama/ollama.js:329:10)
    at async IpcMainImpl.runOllamaModel (/Users/yash/Desktop/yashkumarverma.com/github.com/Morpheus/src/api.js:36:5)
^C/Users/yash/Desktop/yashkumarverma.com/github.com/Morpheus/node_modules/electron/dist/Electron.app/Contents/MacOS/Electron exited with signal SIGINT

Versions

Node: v18.17.1
NPM: 9.6.7

This screen shot mentioned version 0.0.4
I believe this issue has already been addressed in version 0.0.6.
See the Beta branch.


A11y_AzureDataStudio_Dashboard_Databases_ScreenReader : The expand/collapse state is not announced for "Show Action" control for screen reader user.

"Check out Accessibility Insights! - Identify accessibility bugs before check-in and make bug fixing faster and easier.”

Connect to server.
Double click on connected server or right click on it & select manage option to open the Dashboard.
Navigate to Databases under Dashboard & hit enter.
Start screen reader, navigate to the "Show Action" control and observe if the expand/collapse state is announced or not.

Actual:
When screen reader users navigate to the "Show Action" control, it's state is announced as 'selected' which is incorrect state that is announced.
This issue is observe in the below scenarios:

Notebook - Markdown Toolbar -> The expand/collapse state is not announced for "Cell" control for screen reader user.

Expected:
The "Show Action" control should be provided with expand/collapse state for screen reader users so that users are able to identify it's state on interacting with it.
User Impact:
If proper state of the control is not announced to the scree reader users the they will not understand how to interact with that control.
Attachment link for Reference:
11553_A11y_AzureDataStudio_Dashboard_Databases_ScreenReader The expand:collapse state is not announced for "Show Action" control for screen reader user.zip

for this particular issue, the ... button is not meant to be a button with expanded/collapsed state. it is just providing an extra way to open the context menu. closing as won't fix.

dupe of #10650


When clicked in date part of event the event detail's alignment gets disturbed

I'm submitting a ...

[x] bug report
[ ] feature request

Current behaviour:
When clicked in date part of the event, the event detail's alignment gets disturbed.
the problem persists in (profile details also).

Expected behaviour:
event detail's alignment must not alter when clicked on certain elements.
put a 'x' inside [ ] to check.
Steps to reproduce:

Working on it!

@LuisHansen waiting for your PR. :+1:


ci: add dump_packages to weekly_ci

Add dump_packages callback to weekly_ci so we can get
lists of packages for ostree builds.
Signed-off-by: Rich Megginson<EMAIL_ADDRESS>

[citest]


Delete pr branch test

Testing PR workflow with temp folder.

Repoman Generation Results
Repoman pushed changes to remotes for the following projects:
Project: todo-nodejs-mongo
Remote: azure-samples
Branch: pr/29
You can initialize this project with:
azd init -t kaizentm/todo-nodejs-mongo -b pr/29

View Changes | Compare Changes

Project: todo-python-mongo
Remote: azure-samples
Branch: pr/29
You can initialize this project with:
azd init -t kaizentm/todo-python-mongo -b pr/29

View Changes | Compare Changes


Assemble direct cross-references from anchors

Each reference is resolved from an anchor's outward edges.  Grouped together by source, these are the primary data necessary for the CrossReferences API.

PTAL


Allow removal of video check intro steps with config option

When we have only a text chat, may want to disable the intro sequence video check. Specify a config option to allow this, and add it to the cypress test for the video chat.

add
"checkAudio": false, "checkVideo": false,
to batch config if desired.
if checkVideo is not set to false, will check audio regardless of what checkAudio is set to.


Still sending bp messages after execution [Occasional]

It's occasional.
Config:
{
    "NODE_EVENTS": [
        "tx",
        "bp",
        "block",
        "fork",
        "query"
    ],
    "W3_EVENTS": [
        "network.msg.departure",
        "network.msg.arrival",
        "network.ready",
        "chain.block.added",
        "chain.fork",
        "node.verify"
    ],
    "NODES_AMOUNT": 5,
    "COLLECTORS_AMOUNT": 1,
    "WITNESSES_AMOUNT": 1,
    "WITNESS_ROUNDS_AMOUNT": 2,
    "INIT_CHAIN_INTERVAL": 10000,
    "MSG_ARRIVAL_RATIO": 1,
    "LATENCY_LOWER_BOUND": 0,
    "LATENCY_UPPER_BOUND": 100,
    "LOCAL_COMPUTATION_LATENCY": 30,
    "WITNESS_AND_MINT_LATENCY": 520,
    "UNCONFIRMED_BLOCKS_HEIGHT": 0,
    "EPOCH_TIME": 2210,
    "EPOCH_COLLECTING_TIME": 1690,
    "EPOCH_WITNESS_AND_MINT_TIME": 520,
    "SINGLE_NODE_MODE": false,
    "W3_EVENTS_ON": true,
    "tps": 15
}

tx_amount is 30.

need to destroy after execution.

This is what we expect exactly. Since the real last time of epoch is somewhat random rather than fixed.


defining new Operators fails

//  1 - the following passes the compilation
let (=>) (f:'a->'b) (g:'b->'c) (x:'a) = g (f x)
// 2 - the following does not pass the compilation
let (|>)  (f:'a->'b) (g:'b->'c) (x:'a) = g (f x)

the second definition gives a parsing error "(Error 168) Syntax error: Parsing.Parse_error  1 error was reported (see above)", I suspect it has to do with the char '|'.

You are right, (| ... |) is F* syntax for dependent tuple values, and so this is a parsing error.
However, you can add a space let ( |> ) ... and then it should work. In fact, we already have a definition of this symbol for the ML effect in FStar.All (https://github.com/FStarLang/FStar/blob/master/ulib/FStar.All.fst#L39), you can similarly re-define it for Tot effect.
Closing it, please reopen or file other issues as you see fit, thanks!


Make molecules not unique by hash again

Description

It turns out that due to some other issues, the molecule table can have duplicate molecules. This is confirmed in the main MolSSI database, which has >400 duplicates. This of course breaks the migration in v0.15.4
This is a serious issue, which also leads to other consistency issues. But that is something for another day
So for now what we can do is this:
1.) Comment out that part of the previous migration (c05d)
2.) Add a migration that deletes the old index, and adds a new one with unique=False (6b07)
Assume this commit forms release v0.15.5. These modifications should work in the following two scenarios
1.) User upgraded (successfully) to v0.15.4 prior to this commit/release. Their migration for c05d made the molecule hash unique. The new migration 6b07 will delete that unique index and make a new one with unique=False
2.) User did not upgrade to v0.15.4. The updated old migration c05d will not touch the molecule table. The new migration 6b07 will delete the existing  (non-unique) index, and just recreate it.
Changelog description

Status

[X] Code base linted
[ ] Ready to go

This still isn't completely functional. There are duplicate base_result.hash_index as well. I have to remove that migration the same as I did for molecule :(

After these changes, it will now successfully migrate the molssi database


Capitalized CSS classes are not emitted

I am not sure if this is a bug or a feature but I will document it here for others
Capitalized CSS classes are not emitted in the resulted code in React + TSX:
App.module.css
.App {
    color: red;
}

App.tsx
import styles from './App.module.css'

export function App() {
    return (

Hello

    )
}

HTML Output:

Hello

Using a lowercase style name (eg. .app + styles.app) works fine

Hi, what version of plugin are you using?

发件人: Asad-ullah Khan @.>
发送时间: Saturday, July 1, 2023 3:44:52 AM
收件人: indooorsman/esbuild-css-modules-plugin @.>
抄送: Subscribed @.***>
主题: [indooorsman/esbuild-css-modules-plugin] Capitalized CSS classes are not emitted (Issue #55)
I am not sure if this is a bug or a feature but I will document it here for others
Capitalized CSS classes are not emitted in the resulted code in React + TSX:
App.module.css
.App {
color: red;
}
App.tsx
import styles from './App.module.css'
export function App() {
return (
Hello
)
}
HTML Output:
Hello
Using a lowercase style name (eg. .app) works fine
―
Reply to this email directly, view it on GitHubhttps://github.com/indooorsman/esbuild-css-modules-plugin/issues/55, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABFRA3KYXZDTLZLOII7HONTXN4UDJANCNFSM6AAAAAAZ2HVTEE.
You are receiving this because you are subscribed to this thread.Message ID: @.***>


Allow grouping of validators

I'd like to propose the following feature:
Instead of weighing each single validator on a UNL by the same weight, I'd like to be able to weight lists of validators by the same weight.
Example:
Alice operates 3 validators (A1, A2 and A3)
Bob runs 2 of them (B1, B2)
Charlie runs only one (C)
Currently I can only add one of the A's one of the B's and the C validator to an UNL, e.g. [A1, B2, C]
I'd like to be able to have an UNL like this: [[A1, A2, A3], [B1, B2], C]
From each sub-list the first validator would be considered (in this example, even if A2 and A3 disagree with A1, as long as a validation from A1 reaches my node, it would count that). A different approach might be to weigh all sub-validators the same but in relation to the global UNL (all the A validators are weighed 1/9, the Bs 1/6 and the C one 1/3). That would be probably closer to what might be expected, but might lead to more churn/work.
Anyways: Grouping validators together for failover or just because some entity might choose to run more than one is a useful feature to have and would be also helpful for decentralization efforts.

I agree that automating the failover is a very useful feature.
How do you propose distinguishing

A1 crashed and is offline
You just haven't yet received a validation from A1

So if you have heard from A2, but not A1, after some duration you will ignore A1 and go with A2 validation? I worry how best to chose that duration, given that A1 and A2 might disagree, but you do not know if other validators (which you might trust) have received A1s validation.

That's a problem in general - if these were independent the same situation could arise.
In the proposed case it would just be harder for an entity to be considered offline if they are operating more than one validator and just one of these goes down.

I agree that this is a problem in general. However, for a single UNL with A1 and A2 acting this way, you can consider the safety of this scenario relative to your fault tolerance threshold. Your proposal seems like using conditional UNLs, in which you switch to a new UNL based on validator activity. Managing the fork-safety and overlap requirements in that setting seems combinatorially challenging.
Granted, rippled does not currently provide a way for managing UNL overlap complexity anyway, so I am very sympathetic to your argument that this doesn't really introduce a new challenge.

Consensus is relatively fork-safe anyways, the bigger threat is not making forward progress. Also individual servers don't have any way of even querying the global state necessary to calculate these thresholds (#1751 recently celebrated its 2nd birthday with no reaction whatsoever). Even if there was some information, it would be relatively easy to feed someone false information designed to interrupt them.
Consensus doesn't really take into account the global state, I don't see that this would change it or how this proposal would require stronger guarantees. If anything, it would help with network stability.

I think Brad is concerned about a situation where A1 submits a validation for some ledger b1 and A2 submits a validation for b2. Now suppose node C1 lists the two A nodes as belonging to the same operator, whereas node C2 lists the two A nodes as separate. Then from the perspective of C1, A2 validates b1, whereas from the perspective of C2, A2 validates b2. Thus A2 exhibits the worst kind of Byzantine behavior even though no one is behaving incorrectly and there's no way to identify that anything went wrong.

My understanding of your suggestion was that all A validators are treated as having validated whatever ledger was validated by the lowest-index A-validator from whom we received a validation. Is the logic you're actually suggesting as follows?: After the timeout, let b be the ledger validated by the lowest-index A-validator from whom we received a validation. Then for each A-validator from whom we didn't receive a validation, pretend that validator actually validated b; and for each A-validator from whom we received a validation for a different ledger than b, pretend that validator didn't submit a validation.
If so, this scheme still has a similar exploit, although it's slightly harder to enact. A2 just needs to submit their validation to C2 such that it arrives just before the timeout. Then there won't be enough time for C1 to see the validation for b2 so C1 will treat A2 as having validated b1. Again there's no identifiably faulty behavior going on here, so there's essentially no risk in attempting this attack.

That's just "normal" byzantine behavior though? From the perspective of C1, A2 jsut was offline or very late, from the perspective of C2 it was still in time. I don't see how that would be any better or worse if validators were grouped.
The idea in general is that I would like to move from "An UNL contains a list (actually set...) of validators" to "An UNL contains a list (actually set) of node operating entities with their actual validators as sub-lists/sub-sets" with some easy to understand rules how to resolve eventual conflicts within the nodes of a single operator (e.g. "take the first one in the list", "take the first one that actually arrives at my node", "take the majority within that operator" or even "take a random one").

C2 would also see the validation for b1 from A1 though, so it would consider 2 opposing votes from the same operator, while a grouped UNL would only consider one. C1 would have at least one validator fewer than C2 in its UNL btw., it would not count the A1 vote twice.
I still fail to see how this would present any issue or be a safety threat, maybe the example is too simple or the explanation what happens unclear?
With the validators in the original issue:
Alice operates 3 validators (A1, A2 and A3)
Bob runs 2 of them (B1, B2)
Charlie runs only one (C)
Now 2 validators D1 and D2 have 2 different UNLs: D1 is grouped (3 operators: [[A1, A2, A3], [B1, B2], C]), D2 is ungrouped(6 validators: [A1, A2, A3, B1, B2, C]). You are concerned that if B2 is rather late from the perspective of D1 and also conflicting with B1, this is somehow worse if D1 does grouping?

Ok, then in that case the UNL overlap between D1 and D2 is effectively just [A1,B1,C] which is only 50% of D2's UNL, insufficient for guaranteeing safety even with 100% honest nodes.
Let's consider an example where there is a single UNL [A1,A2,B1,B2,C1,C2,D,E] and all nodes agree to use the obvious grouping structure. Suppose [A1,B1,C1,D] validate b1 and [A2,B2,C2,E] validate b2. Now if a node receives the validations from [A1,B1,C1,D] (and possibly E) but the validations from [A2,B2,C2] are delayed past the timeout, then it will see 80% support for b1 and fully validate. If instead a node receives the validations from [A2,B2,C2,E] (and possibly D) but the validations from [A1,B1,C1] are delayed past the timeout, then it will fully validate b2.
Thus with your proposal, even if all nodes agree on the UNL and its grouping structure, then the network can fork in the event of (1) an extremely rare accident even with all nodes behaving honestly, (2) an adversary with strong control over the p2p network even with all validators on the UNL behaving honestly, or (3) an adversary controlling 60% of the UNL (namely the A,B,C validators) with no significant control over the p2p network. In (2) and (3) the attack can be executed while maintaining plausible deniability for the attacker. Note that in the current algorithm, even an adversary controlling 100% of the validators cannot fork the network while maintaining plausible deniability.

One option might be to require all/most configured validators to actually cast a vote for something and then just drop some when calculating the outcome. One could also require validators from an operator to have a (simple?/super?) majority among themselves, with the current option of a single validator being the trivial case.
Still sounds a bit too hand-wavy for my liking, but I still think the problem is a relevant one unless there is a global agreement between validator operators to always operate at least a certain number of validators and add the same number per operator to recommended UNLs.


Fixes FF daily data with different data/exchange tz

The issue with having a different data and exchange time zone is that
daily data no longer follows a common assumption of beginning and ending
at midnight each day. This assumption was baked into the existing impl
to its own detriment. Specifically, the get next market open date calc
was being improperly executed. In most case (data resolution < one day)
we would use the start time of the bar, but since daily data spans a day,
we need to use the end time of the bar to properly calculate this value.
Fixes #1073

@jaredbroad @andrewhart098 @StefanoRaggi
Comments very welcome. This is super sensitive code. The commit message describes my
line of thinking as to why this happened and also the reason for the fix. In short, with daily
data being filled forward on daily increments, we need to choose a different reference
start time in order to properly calculate next market open.
Also, please check the test added as it is a modified form of #1073 because I think the
assertions outlined there were incorrect as they were missing the Sat-Sun bar, since the
market opens at 5PM America/New_York and the daily bar ends at 8PM same tz.

@mchandschuh - I think this PR fixes at least one bug in the FillForwardEnumerator. I have a hunch that there's still another bug somewhere in the FFE.  When running an algorithm using Oanda daily data, the consolidators are sporadically updated (if at all).
I'm struggling to place my finger on it exactly, but basically in the main AlgorithmManager loop, at the point where the AlgorithmManager updates the consolidators, there's a conditional that ensures that data is only passed into the consolidator if it has the same Date as Algorithm.UtcTime. Even with this PR, virtually all of the data in ConsolidatorUpdateData is one day behind  Algorithm.UtcTime.
My hunch is that it's the FFE, but I'm still digging.  This PR does affect how the consolidators are updating. For now, I'm going to leave this PR open until I understand why the Oanda daily consolidators are not updating. It could be something else too! There's a lot of code between the AlgorithmManager and the FFE.
Thanks for looking into this. If you have any idea why the Oanda daily data consolidators are not updating I'd love to hear it.

yes, this is a similar bug as the other one addressed. The real issue is anytime we do 'daily' rounding on data with different data/exchange time zones. Daily data with different data/exchange time zones will be timestamped at, for example, 1600, so the daily rounding drastically changes the value.
Really what we're trying to do here is determine if it's a fill forwarded piece of data from a lower resolution, such as daily data fill forwarding every minute. In this case, we don't want to push the duplicate data through. I suppose the correct solution here would be to round in the data time zone.
I have some code working locally that performs the rounding in the data time zone. I'm trying to find other cases where this might be an issue as well, should have this PR updated this afternoon.

fyi, first commit includes whitespace changes, easier to view diff commit by commit

Hey @mchandschuh - the OandaFillsForwardDailyForexOnWeekends test is failing with the latest commit. There are now 5 bars emitted from the FFE. The 5 bars emitted are:

Bar.Time
Bar.EndTime

{7/19/2012 8:00:00 PM}
{7/20/2012 8:00:00 PM}

{7/19/2012 4:00:00 AM}
{7/20/2012 4:00:00 AM}

{7/20/2012 12:00:00 AM}
{7/21/2012 12:00:00 AM}

{7/21/2012 8:00:00 PM}
{7/22/2012 8:00:00 PM}

{7/22/2012 8:00:00 PM}
{7/23/2012 8:00:00 PM}

The second bar looks freaky - it's before the first. Stepping through the test, I notice that when the test first gets to RequiresFillForwardData(), the nextFillForwardTime is calculated correctly. However, when the fillForward.Time is calculated you use RoundDownInTimeZone. Correct me if I'm wrong, but I think it would be incorrect to calculate the fillForward.Time in the data tz because the fill forward frontier time is based on the exchange Tz not the data Tz, i.e.
// find the next fill forward time after the next market open
 var nextFillForwardTime = Exchange.Hours.GetNextMarketOpen(previous.EndTime, _isExtendedMarketHours) + fillForwardResolution;

In other words, I think we should swap RoundDownInTimeZone for RoundDown one line 277 of the FFE.

The rounding must be performed in the data time zone. That extension method
converts to data tz, performs rounding, and then converts it back.
There is definitely something wrong with the existing impl, which is what I
get for playing around with it too much. I've been beyond swamped this past
week, but hoping to take another look at it soon.
If you have time feel free to modify this PR. My thought process here is
that rounding must be performed in the data time zone. Consider daily
rounding, which will always end up at midnight. But then consider data time
zone != exchange time zone. Daily rounding should be rounded to midnight in
the data time zone, not the exchange time zone.
I did a little analysis and also identify consolidators as needing some
attention as they perform a similar check. Basically the logical check that
is usually being performed is to check if a piece of data is on the
requested resolution of not. For example, daily data will fill forward on
minutes, but you don't want daily bars pumped into consolidators every
minute.
Feel free to call and chat and I how to get back to this issue soon.
On Sep 7, 2017 4:12 PM, "andrewhart098"<EMAIL_ADDRESS>wrote:

Hey @mchandschuh https://github.com/mchandschuh - the
OandaFillsForwardDailyForexOnWeekends test is failing with the latest
commit. There are now 5 bars emitted from the FFE. The 5 bars emitted are:
Bar.Time Bar.EndTime
{7/19/2012 8:00:00 PM} {7/20/2012 8:00:00 PM}
{7/19/2012 4:00:00 AM} {7/20/2012 4:00:00 AM}
{7/20/2012 12:00:00 AM} {7/21/2012 12:00:00 AM}
{7/21/2012 8:00:00 PM} {7/22/2012 8:00:00 PM}
{7/22/2012 8:00:00 PM} {7/23/2012 8:00:00 PM}
The second bar looks freaky - it's before the first. Stepping through the
test, I notice that when the test first gets to RequiresFillForwardData(),
the nextFillForwardTime is calculated correctly. However, when the
fillForward.Time is calculated you use RoundDownInTimeZone. Correct me if
I'm wrong, but I think it would be incorrect to calculate the
fillForward.Time in the data tz because the fill forward frontier time is
based on the exchange Tz not the data Tz, i.e.
// find the next fill forward time after the next market open
var nextFillForwardTime = Exchange.Hours.GetNextMarketOpen(previous.EndTime, _isExtendedMarketHours) + fillForwardResolution;
In other words, I think we should swap RoundDownInTimeZone for RoundDown
one line 277 of the FFE.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/QuantConnect/Lean/pull/1111#issuecomment-327914712,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAgb2F23nDH4aLCbYxTo5iVYXv-ex-L2ks5sgE44gaJpZM4PK_6f
.

@andrewhart098 - noticed CustomDataRegressionAlgorithm is failing when I run on master, is this normal?

Newest implementation lazily evaluates the bar end times and pre sorts based on fill forward/data resolution values

@jaredbroad - still need to get some benchmark numbers on old vs new -- was able to run through the daily oanda case and the data is getting pumped through as expected -- not a huge fan of the rounding we do in SubscriptionSynchronizer -- basically the FFE can emit something on say an hour 0900-100 and if it's daily data, it would round that down to the previous day before being pumped into the algo

@jaredbroad - this is about as good as it gets without unrolling the enumerable into a giant if/else block.
This implementation is ~40% slower than the existing, but is still only about a second slower over 2.7 million fill forward bars.
Existing
Elapsed (s): 2.48
DataPoints : 2765521

New
Elapsed (s): 3.43
DataPoints : 2765521

I think this is ready for a final review.


[v3] Copy to clipboard suggestion

Right now when I use "Copy to clipboard" for MathML or Tex code, it also copy the formatting of the text in the box in addition to the text itself. So when I directly paste it in Word for example, it will not parse to Mathtype formula but instead it will paste it as formatted text (it even includes a left blockquote bar):
https://i.ibb.co/d5Jtdx3/1.png
Therefore to paste formula in Word I have to use "Paste special > Unformatted text" instead of the regular paste.
I think it will be much better if "Copy to clipboard" in MathJax will do it as Plain Text instead.

Access to the clipboard from javascript is surprisingly difficult, and varies from browser to browser.  There are some standards for how to do it, but not all browsers implement them, and few give control over the format of the data stored in the clipboard.  MathJax uses a mechanism that works across browsers, and the effect is the same as if you copied the text from a textarea element.  I would expect that that would be treated as plain text, but that may vary from browser to browser as well (I have not done exhaustive testing of that).  In any case, MathJax doesn't get to say how it is interpreted.
We can investigate other techniques, as they become more commonly available, but we may not be able to force the clipboard to store the math as plain text.


Basic Usage Example

I'm trying to play around with using this code to communicate with my airtouch4. Could you provide an example of how to use airtouch4pyapi to issue commands and retrieve info from my airtouch4?
I was hoping to do something quite basic along the lines of:
from airtouch4pyapi.airtouch import AirTouch
airTouch = AirTouch("<IP_ADDRESS>")

# do some cool stuff

Can you provide some guidance here?

Hi @nathanhaigh
a list of some of the functions available is here: https://github.com/LonePurpleWolf/airtouch4pyapi#usage
The main/only usage of this is as a home assistant library, this file has some examples of what calls look like (eg. see highlighted line): https://github.com/home-assistant/core/blob/dev/homeassistant/components/airtouch4/climate.py#L168
In general, after your line its:
await airTouch.UpdateInfo() #get all the info from the at system about groups, temps etc.
airTouch.GetGroups() #interrogate for group number
airTouch.TurnGroupOn(groupNumber)

Thanks for the help. I think I am misunderstanding something entirely!
I get:
SyntaxError: 'await' outside function

Any chance you could provide a minimal reproducible example? Something along the lines of:
from airtouch4pyapi.airtouch import AirTouch
import asyncio

airTouch = AirTouch("<IP_ADDRESS>")

async def zoneOn(groupNumber):
    await airTouch.UpdateInfo()
    airTouch.GetGroups()
    airTouch.TurnGroupOn(groupNumber)

asyncio.run(getGroupInfo(2))

However, I get:
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: getGroupInfo() takes 0 positional arguments but 1 was given

Hi @nathanhaigh
It's tough to be able to give better advice on how to debug beyond the basics - if the behaviour you're getting is hanging, the first thing id be doing is working out what line thats happening on by using print statements, etc. When I run your code, I get an asyncio based issue because the last function isnt awaited - changing it to:
from airtouch4pyapi.airtouch import AirTouch
import asyncio

airTouch = AirTouch("<IP_ADDRESS>")

async def zoneOn(groupNumber):
    await airTouch.UpdateInfo()
    airTouch.GetGroups()
    await airTouch.TurnGroupOn(groupNumber)

asyncio.run(zoneOn(2))

closes fine and works on my setup (turns the expected group on) - after the UpdateInfo function you can     print(airTouch.Status) to see if the airtouch module was able to be contacted as another diagnostic step.
Have you done much with asyncio before? If not and you're interested, can definitely recommend this video as a starter: https://developers.home-assistant.io/docs/asyncio_101/ - might help with some of the confusing bits!


Added third type to /weakness

In case of Trick-or-Treat or Forest's Curse, a pokémon can have three types. I updated the /weakness command to reflect that.

MIT license?

Repeat after me: I hereby license all my contributions to Pokémon Showdown under the MIT license.

I hereby license all my contributions to Pokémon Showdown under the MIT license.

A little question: how should I display triple weaknesses/resistances? I decided to go with bold+italic, but if anyone has a better idea I could change it.
(An example could be /weak dark, psychic, grass a Malamar with Forest Curse; triple weakness to bug)

Bold+italic is fine; this is too rare to bother thinking of something more.
You could also use something like (×8)


Fix slack signing body decoding

... Well, this is where I look the fool ...
I just tested with the merged PR #30 and found I wasn't
decoding the body of incoming requests properly.
When I originally built this I had worked with a slack-sansio
diff to perform the decoding inside of validate_request_signature
but when I moved over to writing the tests here I switched to the
upstream slack-sansio without the change and wrote the tests for
that incorrect behavior. This fixes the issue entirely within sirbot.
The alternative solution is to update both slack-sansio and this
library at the same time to match my original diff there.

Please test as well, but as a note this code has been running for the past 24hrs talking with slack successfully.


add sentinelsat to remote sensing for Copernicus Sentinel satellite data

Project name: sentinelsat
Project website/repository: https://github.com/sentinelsat/sentinelsat
License: GPL3

Checklist for new projects:

[x] The project is open-source and accessible.
[x] Searched the existing entries to make sure this is not a duplicate.
[x] Contains only a single addition (make separate PRs if adding more than one).
[x] Added the link to the bottom of the relevant category.
[x] Add icon from the media/icon/ folder if applicable (like ![Python](media/icon/python.png) ).
[x] Created a new category only if necessary.
[x] Checked spelling and grammar.
[x] Removed trailing whitespace and periods.
[x] Confirm the dash – is not a minus -.
[x] Used title-casing (AP style) for project name.

Thanks for your contribution!


fix word "namespae" -> "namespace"

Describe what this PR does / why we need it
Does this pull request fix one issue?

Describe how you did it
Describe how to verify it
Special notes for reviews

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


Adding max_seq_length to vision eval config

Context
What is the purpose of this PR? Is it to

[ ] add a new feature
[x] fix a bug
[ ] update tests and/or documentation
[ ] other (please add here)

I added max_seq_length back to the eval recipe with https://github.com/pytorch/torchtune/pull/1773 but missed this config.
Test plan
Please make sure to do each of the following if applicable to your PR. If you're unsure about any one of these just ask and we will happily help. We also have a contributing page for some guidance on contributing.

[ ] run pre-commit hooks and linters (make sure you've first installed via pre-commit install)
[ ] add unit tests for any new functionality
[ ] update docstrings for any new or updated methods or classes
[ ] run unit tests via pytest tests
[ ] run recipe tests via pytest tests -m integration_test
[ ] manually run any new or modified recipes with sufficient proof of correctness
[ ] include relevant commands and any other artifacts in this summary (pastes of loss curves, eval results, etc.)

UX
If your function changed a public API, please add a dummy example of what the user experience will look like when calling it.
Here is a docstring example
and a tutorial example

[ ] I did not change any public API
[ ] I have added an example to docs or docstrings

Mind running this config real quick? I'm assuming going from not specifying the sequence length to setting it to 8192 should not increase memory usage or anything, but good to be sure

Mind running this config real quick? I'm assuming going from not specifying the sequence length to setting it to 8192 should not increase memory usage or anything, but good to be sure

So I tested this with the original PR that landed it and https://github.com/pytorch/torchtune/pull/1763 where I noticed the bug and fixed it, there's no difference in memory usage/speed. @joecummings pointed it out so i factored it out to ensure it doesn't exist on main.


⚠ Bofrost.at has degraded performance

In 2fd1ab7, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1537 ms

Resolved: Bofrost.at performance has improved in cc22b2c after 6 minutes.


Partytown implementation

Any idea how to implement @nuxtjs/partytown with this module?

Tried to implement what is mentioned at here - https://partytown.builder.io/nuxt but looks like we don't have the support to add/edit type attribute to script tag.
For letting partytown handle the gtag, we need to somehow add type="text/partytown" to the script tag for gtag

Also @andrevferreiraa if you look at line 38 at https://github.com/nuxt-community/google-gtag-module/blob/master/lib/module.js , it looks like the module is directly adding script tag to the head along with async option.


Add polyfill to suport Microsoft Edge/IE10-11

Microsoft Edge and IE browsers do not support server side events (EventSource API). In that case, I suggest adding a polyfill to fill in the gap, which should provide the desired behaviour.
This polyfill should do the trick.

@imetallica Are you interested in providing a PR for this?

I could give a shot, let me give a try during the coming weekend.

@imetallica Let me know if you need any help (or ask directly on https://gitter.im/kittoframework/Lobby)

Closing due to inactivity.


about the train output feature

sorry to bother you again. I want train the model with a small backbone such as resnet50. Because I only have three GPU and I run with command:
CUDA_VISIBLE_DEVICES=0,1,2 python v83.py  --dist-url 'tcp://localhost:10001' --multiprocessing-distributed --world-size 1 --rank 0 --seed 9 \
  --epochs 5 --lr 0.1 --wd 1e-6 --batch-size 96 --ncrops 2 \
  --gem-p 1.0 --pos-margin 0.0 --neg-margin 1.0 \
  --input-size 256 --sample-size 1000000 --memory-size 20000 \
/root/zhx3/data/fb_train_data/train

I find a strange problem. I test checkpoint_000{0..4}.pth.tar model. only the checkpoint_0002.pth.tar ouput different when the input is different. I mean other model will output same embedding no matter what different you input. thanks in advance.
the loss log output such as:
epoch 5:   0%|          | 0/15873 [00:00<?, ?it/s]=> loading checkpoint './v83/train/checkpoint_0004.pth.tar'
=> loaded checkpoint './v83/train/checkpoint_0004.pth.tar' (epoch 5)
epoch 6:   0%|          | 0/15873 [00:00<?, ?it/s]epoch=5, loss=1.0154363534772417
epoch 7:   0%|          | 0/15873 [00:00<?, ?it/s]epoch=6, loss=1.012835873522891

I solved by change the lr to 0.05. Because I only have three GPUs. so I set batch size 64. and I should run more epoch and set a small learning rate. so amazing........


plug#end() taking several minutes to complete

After I've modified and re-sourced my .vimrc several times in a session, I notice a huge slowdown. I profiled it and found that the plug#end() function is the cause. Here's a transcript of that section of the profile: http://pastebin.com/sTGCnXQz

VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Jan  9 2017 12:21:30)
Included patches: 1-160
Compiled by eater@x1
Huge version with GTK2 GUI.  Features included (+) or not (-):
+acl             +conceal         +file_in_path    +libcall         +mouse_sgr       +profile         +tag_old_static  +viminfo
+arabic          +cryptv          +find_in_path    +linebreak       -mouse_sysmouse  +python          -tag_any_white   +vreplace
+autocmd         +cscope          +float           +lispindent      +mouse_urxvt     -python3         -tcl             +wildignore
+balloon_eval    +cursorbind      +folding         +listcmds        +mouse_xterm     +quickfix        +termguicolors   +wildmenu
+browse          +cursorshape     -footer          +localmap        +multi_byte      +reltime         +terminfo        +windows
++builtin_terms  +dialog_con_gui  +fork()          -lua             +multi_lang      +rightleft       +termresponse    +writebackup
+byte_offset     +diff            +gettext         +menu            -mzscheme        +ruby            +textobjects     +X11
+channel         +digraphs        -hangul_input    +mksession       +netbeans_intg   +scrollbind      +timers          -xfontset
+cindent         +dnd             +iconv           +modify_fname    +num64           +signs           +title           +xim
+clientserver    -ebcdic          +insert_expand   +mouse           +packages        +smartindent     +toolbar         -xpm
+clipboard       +emacs_tags      +job             +mouseshape      +path_extra      +startuptime     +user_commands   +xsmp_interact
+cmdline_compl   +eval            +jumplist        +mouse_dec       -perl            +statusline      +vertsplit       +xterm_clipboard
+cmdline_hist    +ex_extra        +keymap          -mouse_gpm       +persistent_undo -sun_workshop    +virtualedit     -xterm_save
+cmdline_info    +extra_search    +lambda          -mouse_jsbterm   +postscript      +syntax          +visual
+comments        +farsi           +langmap         +mouse_netterm   +printer         +tag_binary      +visualextra
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
 2nd user vimrc file: "~/.vim/vimrc"
      user exrc file: "$HOME/.exrc"
  system gvimrc file: "$VIM/gvimrc"
    user gvimrc file: "$HOME/.gvimrc"
2nd user gvimrc file: "~/.vim/gvimrc"
       defaults file: "$VIMRUNTIME/defaults.vim"
    system menu file: "$VIMRUNTIME/menu.vim"
  fall-back for $VIM: "/usr/local/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2    -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: gcc   -L. -Wl,-Bsymbolic-functions -Wl,-z,relro -L/build/buildd/ruby2.1-2.1.2/debian/lib -fstack-protector -rdynamic -Wl,-export-dynamic  -L/usr/local/lib -Wl,--as-needed -o vim   -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype  -lSM -lICE -lXt -lX11 -lXdmcp -lSM -lICE  -lm -ltinfo -lnsl   -ldl    -L/usr/lib/python2.7/config-x86_64-linux-gnu -lpython2.7 -lpthread -ldl -lutil -lm -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions   -lruby-2.1 -lpthread -lgmp -ldl -lcrypt -lm

Type:

[X] Bug
[ ] Enhancement
[ ] Feature Request
[ ] Question

OS:

[ ] All/Other
[X] Linux
[ ] OS X
[ ] Windows

Vim:

[ ] Terminal Vim
[X] GVim
[ ] Neovim

This obviously doesn't sound like an issue of vim-plug, most of the time is spent on filetype plugin indent on. You might want to profile it specifically
filetype off
filetype plugin indent off
profile start /tmp/profile.log
profile func *
profile file *
filetype plugin indent on
profile pause
noautocmd qall

Figured it out, thanks!


⚠ WSINGRESOS - GENERICO has degraded performance

In 69f17bc, WSINGRESOS - GENERICO (https://srvshyweb.yucatan.gob.mx/cgi-bin/wspd_cgi.sh/WService=wsingresos/internet/servicios/wsGenericoPagosWeb.r) experienced degraded performance:

HTTP code: 200
Response time: 2273 ms

Resolved: WSINGRESOS - GENERICO performance has improved in 60c41ef after 52 minutes.


"Requesting You Pull, Please" , problems

Hey there,
I keep on getting the same two errors from reporobot.
Screenshot below:

I've followed the instructions closely (obviously not close enought).  When it says rename and re-add it, I do it. When it says there is more than one file (which there isn't) I get stumped, normally delete the file and remake it. Still doesn't work. Please help!
Thanks,
bfrisch1

Hi! Sorry about the confusion!
So when I look at your branch I can see there is an additional file:

contributors/add-p1xt.txt

I'm not quite sure how it ended up there (assuming you didn't create it) but if you can delete it (you can open it up in your file manager and just visually delete it, or use command line from inside of your patchwork directory: rm contributors/add-p1xt.txt), push that change to your branch then close and reopen your PR it should be good.

Ya i saw that too, definitely didn't create that file or even touch it.  Thanks for the quick reply, I've honestly tried that like three times. I even had my nodeschool host/moderator stand over my shoulder and watch me. Please define "PR".
I'll try it again and reply back shortly.

Please define "PR".

Sorry, I mean pull request.

Hey there @jlord I used  --  rm contributors/add-P1xt.txt -- added, committed, and pushed the changes, closed then reopened my PR and got this error

Thanks,
Brandon


Album Art no longer present in master branch

The way the album art div was done does not work well with flexboxes. This needs to be redone.

Fixed in Commit: c2aa95fe4e46492de1e5adfa64b0fbd7b6a23b8a


Android 12 systemuiandroide. Google. Con. Mx. Usa. Developer. @Luis00077

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

100%created. Boot

100%sussesful created Android 12 systemui. Google. Pixel12

100%created.graficos.net

Created### sistemuy. Android. 12. Actualización developer### Luis00077..
Automatizated
Created
Acep
Loaded

Crear. Permisos
###actualizar. Datos. De. Funciones. De. Android. 11.convinar.lo. Mejor. De. Datos. En. General. Pará. Creation.for.android12
Created. Automatizing. Api. Desarrollo. For. Android. 12.new.actualizacion....

Fusionar con prollecto beta


OnExit(), OnQuite() the camera instance

Hi James !
I'm just coming over here because I have a little question.
You know, for some reasons, I need to know when the user exit/leave/quite the camera, like an event that tell me "The user close the camera".
Is it possible?
Thank in advance !

Hmmm, since the camera is getting launch from a method asynchronous, what did I do is call a method just before the return. I was just thinking that a event or something like that would exists :) but thank you !


solves permission denied errors on windows devices

Using deno 1.0.2 on latest Windows 10. Drun crashes with permission denied errors. OS may have some locks on the process. The solution is to wait some milliseconds and try again to kill the process. This solves the issue for me.
The PR code will 10 times try to kill the process and waits 10ms between each try. The maximum delay will be only 100ms.

Oh nice thanks for your contribution to fix this bug !
It works also for me.
It will be part of the next release.


Update course.yml

Hey @moocutpl - glad to see you are interested in Course in a Box! It looks like you made some changes that you want to show up on your course. To do that you need to make the changes to your gh-pages branch. You can do so by following this link: https://github.com/moocutpl/course-in-a-box/edit/gh-pages/_data/course.yml


[FEATURE] Add cookie validation for derive

I would like to derive something from a cookie, but currently as far as I know there is no way to provide cookie validation for the derive function, so all cookies have the type any inside derive. This would be a nice dev exp feature :)

Using a group or a guard with a schema will allow you to access a typed version of the cookie from derive . The same goes for other things you can assign schemas for, like query and params.
const examplePlugin = new Elysia()
    .guard({
        cookie: t.Cookie({
            someCookie: t.Object({
                name: t.String(),
            })
        })
    }, app => app
        .derive(({ cookie: { someCookie } }) => {

            // type error, id is not part of cookie
            someCookie.value.id;

            return { user: someCookie.value.name }
        })
        .get("/test", ({ user }) => {

            return "Hello " + user;
        })
    )

Fixed by introduction of resolve


Duplicate enums are not generated

There are a couple of bugs related to enum generation.

When you have two anonymous enum types defined for attributes within different complex types, the enum only generates for a single one of these comples types (see the example in the attachment)
SimpleSchema.zip

When you have two anonymous enum types defined for elements within different complex types, the enum is not generated at all (please see the example in the attachment)
SimpleSchemaElement.zip

Hello,
Yes I'm aware of the issue; I've been trying to properly diagnose & fix the issue in the multipleEnumFix branch, but due to time constraints haven't been able to get to the root cause.

@mamift - I see that your most recent commit to master branch has fixed this issue. Do you know when you plan to release this version so that it can be used without building the tool from the sources?

Yes I do intend to do that; I'll see if I can get around to it this coming weekend.

@auliere New release should be publicly visible shortly: https://www.nuget.org/packages/LinqToXsdCore/3.2.1

@mamift  Thank you very much for the fix and a prompt release! Works nice and helps us to get the job done!
Looks like problem 2 still persists though - but I didn't encounter any problems with it for now in my real projects.


[WIP] Multiple selection

This PR enables selecting multiple regions at once.
Demo: https://l.sr.ht/NU-U.mp4
Implemented:

[x] Ctrl+Click extends the selection with a new region
[x] Delete deletes all selected regions

TODO:

[ ] Fix deselection
[ ] Make sure move/resize/etc. actions modify all selected boxes
[ ] Add a tool (or hijack Ctrl/Shift + drag) to select regions with dragging
[ ] Add a knob to disable this behavior, if necessary
[ ] Ensure this doesn't break UniversalDataTool
[ ] Agree with Severin on behavior

Very cool @Hummer12007! Thanks for publishing your progress!!!
Thanks for the detailed description, looks great so far!


Looking for someone to change my params.

Hello,
I just hooked an jailbroken device, and I extracted the Tokens.
However, I managed to use addfriend endpoint. and works perfectly.
But I tried to send a snap with failed attempt. sounds my image doesn't upload to snapchat servers for some reasons.
I need somebody to fix the params. Its a NodeJS script.
code: https://gist.github.com/mzaboss/9d4be77151eb7f366d6d69f0aacbb479
If you can help me am willing to pay good. Skype: mzaboss
Thank you,
regards.

This is a PHP Library. Please remove your issue.


doesn't work on svelte html comments with eslint-plugin-svelte

i'm not sure if this is an issue with this plugin or eslint-plugin-svelte, so i'm raising it on both projects
from https://github.com/ota-meshi/eslint-plugin-svelte/issues/328:

Before You File a Bug Report Please Confirm You Have Done The Following...
* [x]  I have tried restarting my IDE and the issue persists.

* [x]  I have updated to the latest version of the packages.

What version of ESLint are you using?
8.30.0
What version of eslint-plugin-svelte are you using?
2.14.1
What did you do?
Configuration
<script>
    // error: eslint-comments/require-description
    //eslint-disable-next-line
    console.log(1)
</script>

<!-- no error -->
<!-- eslint-disable-next-line -->
<input value="asdf">

What did you expect to happen?
eslint-comments/require-description error on the html comment
What actually happened?
no error on the html comment
Link to GitHub Repo with Minimal Reproducible Example
https://github.com/DetachHead/eslint-plugin-svelte-issue/tree/d0eb35b9d72cd26928488f7bbe8cb0ee0f0d1222
Additional comments
i'm not sure whether this is an issue with this plugin or eslint-plugin-eslint-comments, so i'm raising it in both projects

see https://github.com/ota-meshi/eslint-plugin-svelte/issues/328#issuecomment-1357742731


Add tensor product kernel class

What's the new feature?
Using the definition of Joint Maximum Mean Discrepancy (for example, from [1]), we can target the joint distribution $\mathbb{P}(X,Y )$ as a coreset discrepancy metric by defining the kernel $k_3 = k_1 \otimes k_2$ where $k_1: \mathcal{X}\times \mathcal{X} \to \mathbb{R}$ and $k_2:\mathcal{Y}\times \mathcal{Y} \to \mathbb{R}$ are our usual kernel functions defined on different input spaces, and $\otimes$ is the tensor product. In practice this results in a kernel which we evaluate in the following way:
$k_3((x_1,y_1), (x_2, y_2)) = k_1(x_1, x_2)k_2(y_1, y_2)$
i.e. a simple product. This functionality is not currently included in coreax by the use of ProductKernel as the input kernels must have the same domain.
References
[1] - Evaluating Aleatoric Uncertainty via Conditional Generative Models (https://arxiv.org/abs/2206.04287)
What value does this add?
More functionality.
Is there an alternative you've considered?
No response
Additional context
No response

Not to be done.


Use decoded path name to read files

To solve #12, I decoded path name before pass to MarkdownWatcher.
Thank you!

Thanks!