Allow custom Http Method like LIST

Describe the feature you'd love to see
The proxy response with 400 Bad Request with http request LIST
I could not find any options to allow other http methods over the config.
Tried with the default webpack-dev-server provided with angular 17
Additional context (optional)
No response

LIST is not a official HTTP request method, that's why you are getting a 400 response.
https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods
https://datatracker.ietf.org/doc/html/rfc7231#section-4.3

The proxy is blocking the request and there is no option for configuration/allow custom http methods.
A direct connection to the Vault API worked of course without issues.

Think it's the dev server blocking the request. Not the proxy.
https://expressjs.com/en/api.html#routing-methods
Workaround
https://developer.hashicorp.com/vault/api-docs

The API documentation uses LIST as the HTTP verb, but you can still use GET with the ?list=true query string.


FireStore plugin doesn't expose document ID

According to the documentation you can do something like this:
db.collection("cities").get().then(function(querySnapshot) {
    querySnapshot.forEach(function(doc) {
        console.log(doc.id, " => ", doc.data());
    });
});

The flutter example does this
          children: snapshot.data.documents.map((document) {
            return new ListTile(
              title: new Text(document['title']),
              subtitle: new Text(document['author']),
            );

This is almost the same, but with flutter you already have the data of the document. The FireStore plugin should also expose the document ID.

@collinjackson

I've temporarily got around this issue by assigning an ID manually as a field for my object, but I'd expect to have a getter or something mapped to the real document ID.

This is a blocker for me switching my project to Firestore. It's currently impossible for me to assign a DocumentReference as a value to another Document.

Thanks for the ping, I should have an update on this shortly.

Also ran into this the other day. I imagine most people switching to Firestore will run into this at some point - sooner or later you'll need the documentID.

Fixed by flutter/plugins#244, but I want to tweak the API a bit and write a test for it once flutter/plugins#254 lands.

Okay, so how can one get the document id or the path inside the iteration like this:
            return new ListTile(
              title: new Text(document['title']),
              subtitle: new Text(document['author']),
            );`

@dshukertjr I think this would be a good question for StackOverflow.
Closed issues aren't tracked and comments easily get lost.

@renefloor
This issue has been moved to https://github.com/FirebaseExtended/flutterfire/issues/955. Any further collaboration will be done there.

As a ride-along to this, am I missing (or is just not available) the ability to set a custom id? A users collection with the unique email address as the ID would be super helpful, as one example.


1.68: Fix or revert libgit2-sys 0.14.2

As explained in #11609, there are some issues with the recent libgit2-sys update. We'll need to either fix it or revert it on rust-lang/rust beta (after the beta branch).

Would we able to bump the pinned dependency to 0.14.2+1.5.1 ? RUSTSEC-2023-0003 - CVE-2023-22742

https://github.com/rust-secure-code/cargo-geiger/issues/452

I'll send a PR

Sent a PR to unpin and bump:

#11913


Add http monitoring

Add a flask server in deploy.py that responds 200 OK to help keep tabs on when the bot is up and running.

What should the server do other than respond with HTTP 200? Log errors?

Not sure. It doesn't really need to do anything other than let me use an uptime monitoring service to ping the bot to make sure it's up.
At first I was thinking of integrating a simple Flask app in the deploy script, but actually now that I think of it, installing something like supervisor.d in the Dockerfile might be better since it can restart the process if it crashes and has web monitoring.


[AIRFLOW-XXX] Pin Flask App Builder to Fix CI

This is a temporary solution to resolve the following error:
37) ERROR: test_success (tests.www_rbac.test_views.TestAirflowBaseViews)
----------------------------------------------------------------------
   Traceback (most recent call last):
    tests/www_rbac/test_views.py line 425 in test_success
      resp = self.client.get(url)
    .tox/py27-backend_postgres-env_docker/lib/python2.7/site-packages/werkzeug/test.py line 830 in get
      return self.open(*args, **kw)
    .tox/py27-backend_postgres-env_docker/lib/python2.7/site-packages/flask/testing.py line 127 in open
      follow_redirects=follow_redirects)
    .tox/py27-backend_postgres-env_docker/lib/python2.7/site-packages/werkzeug/test.py line 803 in open
      response = self.run_wsgi_app(environ, buffered=buffered)
    .tox/py27-backend_postgres-env_docker/lib/python2.7/site-packages/werkzeug/test.py line 716 in run_wsgi_app
      rv = run_wsgi_app(self.application, environ, buffered=buffered)
    .tox/py27-backend_postgres-env_docker/lib/python2.7/site-packages/werkzeug/test.py line 923 in run_wsgi_app
      app_rv = app(environ, start_response)
    .tox/py27-backend_postgres-env_docker/lib/python2.7/site-packages/flask/app.py line 1997 in __call__
      return self.wsgi_app(environ, start_response)
    .tox/py27-backend_postgres-env_docker/lib/python2.7/site-packages/flask/app.py line 1985 in wsgi_app
      response = self.handle_exception(e)
    .tox/py27-backend_postgres-env_docker/lib/python2.7/site-packages/flask/app.py line 1540 in handle_exception
      reraise(exc_type, exc_value, tb)
    .tox/py27-backend_postgres-env_docker/lib/python2.7/site-packages/flask/app.py line 1982 in wsgi_app
      response = self.full_dispatch_request()
    .tox/py27-backend_postgres-env_docker/lib/python2.7/site-packages/flask/app.py line 1614 in full_dispatch_request
      rv = self.handle_user_exception(e)
    .tox/py27-backend_postgres-env_docker/lib/python2.7/site-packages/flask/app.py line 1517 in handle_user_exception
      reraise(exc_type, exc_value, tb)
    .tox/py27-backend_postgres-env_docker/lib/python2.7/site-packages/flask/app.py line 1612 in full_dispatch_request
      rv = self.dispatch_request()
    .tox/py27-backend_postgres-env_docker/lib/python2.7/site-packages/flask/app.py line 1598 in dispatch_request
      return self.view_functions[rule.endpoint](**req.view_args)
    airflow/www_rbac/decorators.py line 120 in wrapper
      return f(self, *args, **kwargs)
    .tox/py27-backend_postgres-env_docker/lib/python2.7/site-packages/flask_appbuilder/security/decorators.py line 26 in wraps
      return f(self, *args, **kwargs)
    airflow/www_rbac/decorators.py line 55 in wrapper
      return f(*args, **kwargs)
    airflow/www_rbac/views.py line 1127 in success
      future, past, State.SUCCESS)
    airflow/www_rbac/views.py line 1085 in _mark_task_instance_state
      details=details)
    airflow/www_rbac/views.py line 146 in render
      **context)
    .tox/py27-backend_postgres-env_docker/lib/python2.7/site-packages/flask/templating.py line 134 in render_template
      context, ctx.app)
    .tox/py27-backend_postgres-env_docker/lib/python2.7/site-packages/flask/templating.py line 116 in _render
      rv = template.render(context)
    .tox/py27-backend_postgres-env_docker/lib/python2.7/site-packages/jinja2/environment.py line 989 in render
      return self.environment.handle_exception(exc_info, True)
    .tox/py27-backend_postgres-env_docker/lib/python2.7/site-packages/jinja2/environment.py line 754 in handle_exception
      reraise(exc_type, exc_value, tb)
    airflow/www_rbac/templates/airflow/confirm.html line 18 in top-level template code
      {% extends "airflow/master.html" %}
    airflow/www_rbac/templates/airflow/master.html line 18 in top-level template code
      {% extends "appbuilder/baselayout.html" %}
    airflow/www_rbac/templates/appbuilder/baselayout.html line 19 in top-level template code
      {% import 'appbuilder/baselib.html' as baselib %}
    .tox/py27-backend_postgres-env_docker/lib/python2.7/site-packages/flask_appbuilder/templates/appbuilder/init.html line 46 in top-level template code
      {% block body %}
    airflow/www_rbac/templates/appbuilder/baselayout.html line 38 in block "body"
      {% block navbar %}
    airflow/www_rbac/templates/appbuilder/baselayout.html line 40 in block "navbar"
      {% include 'appbuilder/navbar.html' %}
    airflow/www_rbac/templates/appbuilder/navbar.html line 40 in top-level template code
      {% include 'appbuilder/navbar_menu.html' %}
    airflow/www_rbac/templates/appbuilder/navbar_menu.html line 29 in top-level template code
      {% if item1 | is_menu_visible %}
    .tox/py27-backend_postgres-env_docker/lib/python2.7/site-packages/flask_appbuilder/filters.py line 118 in is_menu_visible
      return self.security_manager.has_access("menu_access", item.name)
    airflow/www_rbac/security.py line 250 in has_access
      return self._has_view_access(user, permission, view_name)
    .tox/py27-backend_postgres-env_docker/lib/python2.7/site-packages/flask_appbuilder/security/manager.py line 883 in _has_view_access
      if (view_name == permission.view_menu.name) and (permission_name == permission.permission.name):
    .tox/py27-backend_postgres-env_docker/lib/python2.7/site-packages/sqlalchemy/orm/attributes.py line 237 in __get__
      return self.impl.get(instance_state(instance), dict_)
    .tox/py27-backend_postgres-env_docker/lib/python2.7/site-packages/sqlalchemy/orm/attributes.py line 584 in get
      value = self.callable_(state, passive)
    .tox/py27-backend_postgres-env_docker/lib/python2.7/site-packages/sqlalchemy/orm/strategies.py line 530 in _load_for_state
      (orm_util.state_str(state), self.key)
   DetachedInstanceError: Parent instance <PermissionView at 0x7f626be339d0> is not bound to a Session; lazy load operation of attribute 'permission' cannot proceed

Make sure you have checked all steps below.
Jira

[ ] My PR addresses the following Airflow Jira issues and references them in the PR title. For example, "[AIRFLOW-XXX] My Airflow PR"

https://issues.apache.org/jira/browse/AIRFLOW-XXX

Description

[x] Here are some details about my PR, including screenshots of any UI changes:

Tests

[x] My PR adds the following unit tests OR does not need testing for this extremely good reason:
n/a

Commits

[x] My commits all reference Jira issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters (not including Jira issue reference)
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

Documentation

[x] In case of new functionality, my PR adds documentation that describes how to use it.

When adding new operators/hooks/sensors, the autoclass documentation generation needs to be added.

Code Quality

[x] Passes flake8

Ah. So my revert was pointless then :( Sorry @aoen, I'll undo the revert.

Well, well. @aoen Can you create a new PR with the same changes but with master rebased? We need to find out what was the cause of failure as I probably tried to fix at the same time when you reverted that PR @ashb


Azure AD Application Proxy related information

I'd like to ask you to remove the sentence related to Azure AD Application Proxy. It's misleading. The correct statement is located here: https://docs.microsoft.com/bs-latn-ba/azure/active-directory/manage-apps/application-proxy-faq
WebSocket
Does WebSocket support work for applications other than QlikSense?
Currently, WebSocket protocol support is still in public preview and it may not work for other applications. Some customers have had mixed success using WebSocket protocol with other applications. If you test such scenarios, we would love to hear your results. Please send us your feedback at<EMAIL_ADDRESS>Features (Eventlogs, Powershell and Remote Desktop Services) in Windows Admin Center (WAC) or Remote Desktop Web Client do not work through Azure AD Application Proxy presently.

@jasongerend  Please look at this change and let me know if it's ready to merge. Thanks!

@JasonGerend could you please give us an update here?


chore: Adjusting the page layout

Fixes: Now look at the layout is too small, need to be optimized, adjust the page layout, I made a few changes in the layout of.
1, the entire layout of the padding left and right to increase the width
2, all the pictures are enlarged to twice the previous
#1027
Changes:

https://apisix.apache.org/zh/showcase/
Screenshots of the change:

Hi, I asked some questions in https://github.com/apache/apisix-website/issues/1027#issuecomment-1098643265.
I think we can answer some questions before starting the review.

@guoqqqi  @baoyuantop
I'm done with you all to see what you have to say

@juxianzheng Any update here?

will be updated on another PR


fix: await in sequence

It's critical that any list of messages coming in are added to the log in the right order.
We have channels/actions that write this incoming data into the database upon adding to the log.
It can potentially run out of order because we run lines 74-78: https://github.com/logux/core/blob/0a021beaffa01fc5a602ad3d59d35c0cfb8d4708/sync/index.js#L74-L81
the inFilter is actually another promise, and on logux/server, it awaits processor.access:
https://github.com/logux/server/blob/63337798eea393fbeee1c6cb519bce3ae71ef354/server-client/index.js#L214
This means the this.log.add and subsequent processor.process could be out of order.

Good fix. I added Promise.all to make it faster by “parallel” processing, but I agree that it could create more problems.
We need to release it as major release. Do you need to release it quickly?

Good fix. I added Promise.all to make it faster by “parallel” processing, but I agree that it could create more problems.
We need to release it as major release. Do you need to release it quickly (or you found some hacky workaround)?

@ai a quicker release would be preferred, but appreciate whatever works best for you!

I will try to do the release on weekend

Done. I released Logux Core 0.8 (release name Ա in honor of Armenian alphabet) and major versions of Logux Server and Logux Client.


Ignore confirmations

This behaviour is often specialized to the implementation.
Enforcing it at this level seems suitable, but odd once you start changing from the defaults.
Instead,  it would be better to pull this behaviour up further,  and let users decide what to give as unspents to this API.
With age-based priority being disabled by many miners,  it is probably also worth ignoring that in selection code as well.

Removed in https://github.com/bitcoinjs/bip32-wallet/pull/4


Signup snackbar error for a new user.

Description
Signup snackbar error for a new user.

The snack bar has some meaningless message shown when the user clicks on sign up.
Steps to reproduce:
The user fills up the details, clicks on sign up and a misleading snack bar pops up.
I would like to work on this.

@Swati4star Please provide difficulty tags.

@jddeep you can work on this

Have you been able to fix this? Please do so I’m facing difficulty without using this app during my travel here before going back in a the after tmr

Closing this since it seems fixed!
@jddeep  Feel free to reopen if it isn't fixed


Don't use hard-coded crio config

Description of problem
In show_container_mgr_details(), it used "cat /etc/crio/crio.conf" instead of "crio config".

Ok, in kata 1.0, it is in show_runtime_configs() where we have this hard-coding.


Typing punctuation goes to beginning of line

Issue Type: Bug

Paste this into a file:

class C

Click on line 2. (There should be at least one blank line after class C.)
Hit the left arrow on your keyboard to now be at the end of class C on line 1.
Type a punctuation character such as   (space) or {. (NOTE: The bug will not reproduce if there is already a space after C.)
The cursor will be taken back to the beginning of the line.
Typing a non-punctuation character does not reproduce the bug, so you can type Cow without being taken to the start. The bug will not reproduce if you've typed non-puncutation after hitting the left arrow to move up from line 2.
Does not reproduce in vscode non-insiders.

VS Code version: Code - Insiders 1.25.0-insider (777c8e57e0eb1cbffb87a57ffd4f9c3d274f9429, 2018-06-18T05:19:20.432Z)
OS version: Linux x64 4.13.0-43-generic

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz (8 x 2109)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: disabled_softwarevideo_decode: unavailable_softwarevideo_encode: unavailable_softwarewebgl: enabledwebgl2: enabled

Load (avg)
2, 1, 2

Memory (System)
7.63GB (1.29GB free)

Process Argv
/usr/share/code-insiders/code-insiders .

Screen Reader
no

VM
0%

Extensions (1)

Extension
Author (truncated)
Version

typescript-javascript-grammar
ms-
0.0.42

Could be #52080. Does this reproduce in the latest insiders?

Thanks, looks like a duplicate of #52080. I was experiencing the bug in JSON too but couldn't reproduce it as reliably as this.


Increase z-index of Select Dropdown element

Increased z-index of select's dropdown element. Closes #4447. Tested manually.
Checklist (put an "x" (case-sensitive!) next to all the items, otherwise the build will fail)

[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation (e.g. ENVIRONMENT VARIABLES)
[x] My changes generate no new warnings (e.g. Sonar is happy)
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged

A picture of a cute animal (not mandatory but encouraged)

Me and @Haarolean  no longer support this repo, don't you mind to post this to https://github.com/kafbat/kafka-ui


Use a unified approach for querying the API with multiple requests

Right now the app is triggering separate data requests for permafrost, tas/pr, and GeoJSON.  We know we'll be adding a few more of these requests, and it gets messy to handle errors for each separately.
We should use the Store to trigger all async stuff and handle errors in a single place, as well as using a "spread/settle" pattern.
This x-refs #97 and #5.

We've got the network requests pulled into the stores, but it's still (necessarily) fragmented in terms of no single wrapped (spread/settle) format.  The downside here is that it looks like the page's fetchState can sometimes resolve before all requests are actually finished, which means that the page can have some junk when you're on a high latency connection or things are just slow.
Still some work to be done here, not sure offhand exactly what.

This may have been resolved.  The main thing to test here is, is the entire report loaded (no in-flight HTTP requests) by the time the loading indicator is hidden and the report is displayed?


Show SDM toggle updates

When the “Show rodent reservoirs distribution” (SDM) toggle switch is OFF:

[x] All Species Distribution Maps (SDM) should be removed from the map
[x] All "Reservoir Species" checkboxes should be set to off and disabled

@yunica was this changed with the partner? I now see "Show viral hotspot" as a toggle.

Yes, this change was made because the partner wanted to show the hotspots and the SDM at the same time.
We can better adapt the description.

Noting - we should change this back to "Show Species Distribution Maps"


Write-Host doesn't handle really long lines in Azure pipelines

Required Information
Entering this information will route you directly to the right team and expedite traction.
Question, Bug, or Feature?
Type: Bug
Enter Task Name: Powershell
(Bash is also affected, I haven't tested Azure powershell, Azure CLI and other similar tasks)
Environment
Azure Pipelines
bokiodev/voder/UK-Staging release/staging-release-31
Agent - Private: Windows 2016 datacenter / Agent version: 2.165.0
Issue Description
I'm trying to write the contents of a file to a variable. But the Write-Host call will truncate the middle of the string with *** .. ***
On my computer Powershell will not do this.
In the middle of a long string I will get this part. I have confirmed it's position based and not an encoding issue by changing the order in the file.

There are ~1224 characters before the first *** in the string here. Total length should be 3405  but it's truncated to 1752
I also confirmed I got the same problem when trying to use the bash task instead of powershell.
Code used for the powershell task (some debugging stuff in there):
# This prints the whole content (with line breaks)
Get-Content -Path "$(System.DefaultWorkingDirectory)/Bokio build - staging/bokio/environment-config/bokio/uk-staging.econfig"

$content = Get-Content -Path "$(System.DefaultWorkingDirectory)/Bokio build - staging/bokio/environment-config/bokio/uk-staging.econfig"
#This truncates the string
Write-Host "##vso[task.setvariable variable=settings;isOutput=true]$content"
#This also truncates the string
Write-Host $content

The bash script I tested that have the same issue.
var=`cat "$(System.DefaultWorkingDirectory)/Bokio build - staging/bokio/environment-config/bokio/uk-staging.econfig"`
nw_strr="${var//$'\r\n'/ }"
echo '##vso[task.setvariable variable=foo;isOutput=true]$nw_strr'

Task logs
Because we are trying to write settings these logs contains a bunch of somewhat sensitive information. I could share them over some secure transfer if needed as they should be OK but maybe not OK enough to share with the whole internet.
Note:
For context, what we were trying to achieve was to store our app-service settings (not secrets) in source control and update the app service we are hosting in when we deploy it.

Hey @MikaelEliasson - from the behavior, it sounds like the sensitive information you're trying to write may be getting masked out of the logs as a secret. That would lead to the behavior you're reporting.
If that's the case, it would get masked from the logs, but it would behave correctly in the actual execution. For example, if you have a secret named BAR, and run:
$content = "FOO_BAR"
Write-Host $content
// Do something with $content

FOO_*** would get written to the logs, but $content would still have the value FOO_BAR.
We mask all instances of secrets from the logs by design. We also intentionally mask out some additional potential areas where secrets could leak in urls - it looks like that might be what's happening here. Does that sound right? If so, that is by design and is a security feature that we're unlikely to change.

I'm pretty sure that's not the case.

It removes about 2000 characters
Moving the content at the first *** and running it again doesn't make the *** move. It's locked to an index, not the content which should be the case if it was the secret replacement.

Its possible its the same issue as https://github.com/microsoft/azure-pipelines-agent/issues/2842 - could you try upgrading your agents and seeing if the issue still appears?

Closing due to inactivity


Snakemake

I tried reproducing the workflow with snakemake. Got a bit further, but not complete yet. This again exposes how annoying WRF is with respect to input/output file configurability.
Snakemake is geared towards reproducing work in the same folder. Might need some tricks to make it create timestamped dirs for different experiments.

Maybe only list the log files as output? https://stackoverflow.com/questions/63467186/snakemake-how-to-create-rule-without-explicit-output-file-and-only-with-specif

@ClaireDons there are still some todo's here, but perhaps you can already try this out (see instructions in workflows/snakemake/README)? Then we can work on it together tomorrow, merging it with your work from #10 and before.

Thanks for the review! Let's merge and continue to work on it in follow-up PRs


Make schema work in a HA setup

With the changes that are going to happen in #468, we need a way to synchronize between multiple weaviate processes that form one "instance".

Hi @moretea, what is the status of this issue (also based on our email conversation).

Implementing this would entail implementing two interfaces:

https://github.com/creativesoftwarefdn/weaviate/blob/develop/database/manager.go
https://github.com/creativesoftwarefdn/weaviate/blob/develop/database/locks.go#L8-L14

Simply follow the logic that instantiates the LocalSchemaManager from here on.

Thanks @moretea!

Has been implemented by switching the schema management to etcd.


Use view.getRotation and view.getResolution instead of view.getState

view.getState calls 4 functions and creates an object and an array.
It's more efficient to use view.getRotation and view.getResolution.

Nice catch, LGTM

Thanks for the review


[BUG] Failed to create detector: [security_analytics_exception] analyzer [rule_analyzer] has not been configured in mappings

What is the bug?
create a new Security Analytics Detector
ERROR: Failed to create detector:
[security_analytics_exception] analyzer [rule_analyzer] has not been configured in mappings
How can one reproduce the bug?
Steps to reproduce the behavior:

Go to Security Analytics and create a new detector
See error

What is the expected behavior?
Want to create a detector based on auditbeat 7.13.4 logs to find with the SIMGA rule "System Network Discovery - Linux"
What is your host/environment?

OS: Ubuntu bullseye/sid
Version 2.5.0
Plugins logtash 8.4.0, opensearch-security-analytics <IP_ADDRESS>

Do you have any screenshots?
opensearch node log
Caused by: java.lang.Exception: java.lang.IllegalArgumentException: analyzer [rule_analyzer] has not been configured in mappings
... 9 more
uncaught exception in thread [DefaultDispatcher-worker-1]
AlertingException[analyzer [rule_analyzer] has not been configured in mappings]; nested: Exception[java.lang.IllegalArgumentException: analyzer [rule_analyzer] has not been configured in mappings];
at org.opensearch.alerting.util.AlertingException$Companion.wrap(AlertingException.kt:70)
at org.opensearch.alerting.util.DocLevelMonitorQueries.updateQueryIndexMappings(DocLevelMonitorQueries.kt:359)
at org.opensearch.alerting.util.DocLevelMonitorQueries.access$updateQueryIndexMappings(DocLevelMonitorQueries.kt:41)
at org.opensearch.alerting.util.DocLevelMonitorQueries$updateQueryIndexMappings$1.invokeSuspend(DocLevelMonitorQueries.kt)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(Dispatched.kt:285)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:594)
at kotlinx.coroutines.scheduling.CoroutineScheduler.access$runSafely(CoroutineScheduler.kt:60)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:742)
Caused by: java.lang.Exception: java.lang.IllegalArgumentException: analyzer [rule_analyzer] has not been configured in mappings
... 9 more
[2023-01-24T17:35:14,004][INFO ][o.o.p.PluginsService     ] [opensearch-node1] PluginService:onIndexModule index:[.opensearch-sap-linux-alerts/usv-AHTXR_KClWRreCZqWQ]
[2023-01-24T17:35:14,013][INFO ][o.o.p.PluginsService     ] [opensearch-node1] PluginService:onIndexModule index:[.opensearch-sap-linux-alerts-history-2023.01.23-1/OypQ-vxZRC-h-FaAw89axA]
[2023-01-24T17:35:14,018][INFO ][o.o.p.PluginsService     ] [opensearch-node1] PluginService:onIndexModule index:[.opensearch-sap-linux-findings-2023.01.23-1/W_-cMmlGTD20B9oFf5HiLA]
[2023-01-24T17:35:14,025][INFO ][o.o.p.PluginsService     ] [opensearch-node1] PluginService:onIndexModule index:[.opensearch-sap-linux-detectors-queries-000001/T_nv-1T0Rb2zgim5THXltg]
[2023-01-24T17:35:14,176][INFO ][o.o.p.PluginsService     ] [opensearch-node1] PluginService:onIndexModule index:[.opensearch-sap-linux-alerts/usv-AHTXR_KClWRreCZqWQ]
[2023-01-24T17:35:14,185][INFO ][o.o.p.PluginsService     ] [opensearch-node1] PluginService:onIndexModule index:[.opensearch-sap-linux-alerts-history-2023.01.23-1/OypQ-vxZRC-h-FaAw89axA]
[2023-01-24T17:35:14,190][INFO ][o.o.p.PluginsService     ] [opensearch-node1] PluginService:onIndexModule index:[.opensearch-sap-linux-findings-2023.01.23-1/W_-cMmlGTD20B9oFf5HiLA]
[2023-01-24T17:35:14,199][INFO ][o.o.p.PluginsService     ] [opensearch-node1] PluginService:onIndexModule index:[.opensearch-sap-linux-detectors-queries-000001/T_nv-1T0Rb2zgim5THXltg]
[2023-01-24T17:35:14,392][INFO ][o.o.p.PluginsService     ] [opensearch-node1] PluginService:onIndexModule index:[.opensearch-sap-linux-alerts/usv-AHTXR_KClWRreCZqWQ]
[2023-01-24T17:35:14,397][INFO ][o.o.a.a.AlertIndices     ] [opensearch-node1] Index mapping of .opensearch-sap-linux-alerts is updated
[2023-01-24T17:35:14,404][INFO ][o.o.p.PluginsService     ] [opensearch-node1] PluginService:onIndexModule index:[.opensearch-sap-linux-alerts-history-2023.01.23-1/OypQ-vxZRC-h-FaAw89axA]
[2023-01-24T17:35:14,407][INFO ][o.o.a.a.AlertIndices     ] [opensearch-node1] Index mapping of .opensearch-sap-linux-alerts-history-2023.01.23-1 is updated
[2023-01-24T17:35:14,414][INFO ][o.o.p.PluginsService     ] [opensearch-node1] PluginService:onIndexModule index:[.opensearch-sap-linux-findings-2023.01.23-1/W_-cMmlGTD20B9oFf5HiLA]
[2023-01-24T17:35:14,415][INFO ][o.o.a.a.AlertIndices     ] [opensearch-node1] Index mapping of .opensearch-sap-linux-findings-2023.01.23-1 is updated
[2023-01-24T17:35:14,421][INFO ][o.o.p.PluginsService     ] [opensearch-node1] PluginService:onIndexModule index:[.opensearch-sap-linux-detectors-queries-000001/T_nv-1T0Rb2zgim5THXltg]
[2023-01-24T17:35:14,422][ERROR][o.o.a.u.AlertingException] [opensearch-node1] Alerting error: java.lang.IllegalArgumentException: analyzer [rule_analyzer] has not been configured in mappings
[2023-01-24T17:35:14,422][ERROR][o.o.b.OpenSearchUncaughtExceptionHandler] [opensearch-node1] uncaught exception in thread [DefaultDispatcher-worker-1]
org.opensearch.alerting.util.AlertingException: analyzer [rule_analyzer] has not been configured in mappings
at org.opensearch.alerting.util.AlertingException$Companion.wrap(AlertingException.kt:70) ~[opensearch-alerting-<IP_ADDRESS>.jar:<IP_ADDRESS>]
at org.opensearch.alerting.util.DocLevelMonitorQueries.updateQueryIndexMappings(DocLevelMonitorQueries.kt:359) ~[opensearch-alerting-<IP_ADDRESS>.jar:<IP_ADDRESS>]
at org.opensearch.alerting.util.DocLevelMonitorQueries.access$updateQueryIndexMappings(DocLevelMonitorQueries.kt:41) ~[opensearch-alerting-<IP_ADDRESS>.jar:<IP_ADDRESS>]
at org.opensearch.alerting.util.DocLevelMonitorQueries$updateQueryIndexMappings$1.invokeSuspend(DocLevelMonitorQueries.kt) ~[opensearch-alerting-<IP_ADDRESS>.jar:<IP_ADDRESS>]
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) [kotlin-stdlib-1.6.10.jar:1.6.10-release-923(1.6.10)]
at kotlinx.coroutines.DispatchedTask.run(Dispatched.kt:285) [kotlinx-coroutines-core-1.1.1.jar:?]
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:594) [kotlinx-coroutines-core-1.1.1.jar:?]
at kotlinx.coroutines.scheduling.CoroutineScheduler.access$runSafely(CoroutineScheduler.kt:60) [kotlinx-coroutines-core-1.1.1.jar:?]
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:742) [kotlinx-coroutines-core-1.1.1.jar:?]
Caused by: java.lang.Exception: java.lang.IllegalArgumentException: analyzer [rule_analyzer] has not been configured in mappings
... 9 more
uncaught exception in thread [DefaultDispatcher-worker-1]
AlertingException[analyzer [rule_analyzer] has not been configured in mappings]; nested: Exception[java.lang.IllegalArgumentException: analyzer [rule_analyzer] has not been configured in mappings];
at org.opensearch.alerting.util.AlertingException$Companion.wrap(AlertingException.kt:70)
at org.opensearch.alerting.util.DocLevelMonitorQueries.updateQueryIndexMappings(DocLevelMonitorQueries.kt:359)
at org.opensearch.alerting.util.DocLevelMonitorQueries.access$updateQueryIndexMappings(DocLevelMonitorQueries.kt:41)
at org.opensearch.alerting.util.DocLevelMonitorQueries$updateQueryIndexMappings$1.invokeSuspend(DocLevelMonitorQueries.kt)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(Dispatched.kt:285)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:594)
at kotlinx.coroutines.scheduling.CoroutineScheduler.access$runSafely(CoroutineScheduler.kt:60)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:742)
Caused by: java.lang.Exception: java.lang.IllegalArgumentException: analyzer [rule_analyzer] has not been configured in mappings
... 9 more

Is there a chance that you have V2 index template with pattern which covers .opensearch-sap* ?

When I start logstash the following template is used.
[2023-01-30T07:29:05,808][INFO ][logstash.outputs.opensearch][main] Using a default mapping template {:version=>2, :ecs_compatibility=>:v8}
Full logstash log:
[2023-01-30T07:28:58,999][INFO ][logstash.runner ] Log4j configuration path used is: /usr/share/logstash/config/log4j2.properties
[2023-01-30T07:28:59,024][INFO ][logstash.runner ] Starting Logstash {"logstash.version"=>"8.4.0", "jruby.version"=>"jruby <IP_ADDRESS> (2.6. 8) 2022-06-27 7a2cbcd376 OpenJDK 64-Bit Server VM 17.0.4+8 on 17.0.4+8 +indy +jit [x86_64-linux]"}
[2023-01-30T07:28:59,026][INFO ][logstash.runner ] JVM bootstrap flags: [-Xms1g, -Xmx1g, -Djava.awt.headless=true, -Dfile.encoding=UTF-8, -Djruby .compile.invokedynamic=true, -Djruby.jit.threshold=0, -XX:+HeapDumpOnOutOfMemoryError, -Djava.security.egd=file:/dev/urandom, -Dlog4j2.isThreadContextMapInheritable=true, -Dls.cgroup.cpuacct. path.override=/, -Dls.cgroup.cpu.path.override=/, -Djruby.regexp.interruptible=true, -Djdk.io.File.enableADS=true, --add-exports=jdk.compiler/com .sun.tools.javac.api=ALL-UNNAMED, --add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED, --add-exports=jdk.compiler/com.sun .tools.javac.parser=ALL-UNNAMED, --add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED, --add-exports=jdk.compiler/com.sun.tools .javac.util=ALL-UNNAMED, --add-opens=java.base/java.security=ALL-UNNAMED, --add-opens=java.base/java.io=ALL-UNNAMED, --add-opens =java.base/java.nio.channels=ALL-UNNAMED, --add-opens=java.base/sun.nio.ch=ALL-UNNAMED, --add-opens=java.manage ment/sun.management=ALL-UNNAMED]
[2023-01-30T07:29:01,077][INFO ][logstash.agent ] Successfully started Logstash API endpoint {:port=>9600, :ssl_enabled=>false}
[2023-01-30T07:29:01,808][INFO ][org.reflections.Reflections] Reflections took 153 ms to scan 1 urls, producing 125 keys and 434 values
[2023-01-30T07:29:04,636][INFO ][logstash.javapipeline ] Pipeline main is configured with pipeline.ecs_compatibility: v8 setting. All plugins in this pipeline will default to ecs_compatibility => v8 unless explicitly configured otherwise.
[2023-01-30T07:29:04,714][INFO ][logstash.outputs.opensearch][main] New OpenSearch output {:class=>"LogStash::Outputs::OpenSearch", :hosts=>["https: //<IP_ADDRESS>:9200"]}
[2023-01-30T07:29:04,765][WARN ][logstash.outputs.opensearch][main] ** WARNING ** Detected UNSAFE options in opensearch output configuration!
** WARNING ** You have enabled encryption but DISABLED certificate verification.
** WARNING ** To make sure your data is secure change :ssl_certificate_verification to true
[2023-01-30T07:29:05,053][INFO ][logstash.outputs.opensearch][main] OpenSearch pool URLs updated {:changes=>{:removed=>[], :added=>[https:// admin:xxxxxx@<IP_ADDRESS>:9200/]}}
[2023-01-30T07:29:05,586][WARN ][logstash.outputs.opensearch][main] Restored connection to OpenSearch instance {:url=>"https://admin:xxxxxx@<IP_ADDRESS>:9200/" }
[2023-01-30T07:29:05,667][INFO ][logstash.outputs.opensearch][main] Cluster version determined (2.5.0) {:version=>2}
[2023-01-30T07:29:05,808][INFO ][logstash.outputs.opensearch][main] Using a default mapping template {:version=>2, :ecs_compatibility=>:v8}
[2023-01-30T07:29:05,841][INFO ][logstash.javapipeline ][main] Starting pipeline {:pipeline_id=>"main", "pipeline.workers"=>1, "pipeline.batch.size"= >125, "pipeline.batch.delay"=>50, "pipeline.max_inflight"=>125, "pipeline.sources"=>["/usr/share/logstash/pipeline/logstash.conf"], :thread= >"#<Thread:0x5bb5d35d run>"}
[2023-01-30T07:29:07,227][INFO ][logstash.javapipeline ][main] Pipeline Java execution initialization time {"seconds"=>1.36}
[2023-01-30T07:29:07,264][INFO ][logstash.inputs.beats ][main] Starting input listener {:address=>"<IP_ADDRESS>:5044"}
[2023-01-30T07:29:07,280][INFO ][logstash.javapipeline ][main] Pipeline started {"pipeline.id"=>"main"}
[2023-01-30T07:29:07,369][INFO ][logstash.agent ] Pipelines running {:count=>1, :running_pipelines=>[:main], :non_running_pipelines=>[]}
[2023-01-30T07:29:07,440][INFO ][org.logstash.beats.Server][main][bf34f3b6d68ff47817d658bd941ee537dd4cfa11f824da94cc0a13d9c4c5792b] Starting server on port: 5044

GET _cat/templates
ecs-logstash                                             [ecs-logstash-] 1
tenant_template                                          [.kibana_-, .kibana_0, .kibana_1, .kibana_2, .kibana_3, .kibana_4, .kibana_5, .kibana_6, .kibana_7, .kibana_8, .kibana_9_]<PHONE_NUMBER>
.opensearch-sap-detectors-queries-index-template         [.opensearch-sap-s3-detectors-queries, .opensearch-sap-others_compliance-detectors-queries*, .opensearch-sap-others_application-detectors-queries*, .opensearch-sap-dns-detectors-queries*, .opensearch-sap-others_cloud-detectors-queries*, .opensearch-sap-others_web-detectors-queries*, .opensearch-sap-windows-detectors-queries*, .opensearch-sap-cloudtrail-detectors-queries*, .opensearch-sap-others_macos-detectors-queries*, .opensearch-sap-ad_ldap-detectors-queries*, .opensearch-sap-test_windows-detectors-queries*, .opensearch-sap-network-detectors-queries*, .opensearch-sap-apache_access-detectors-queries*, .opensearch-sap-linux-detectors-queries*, .opensearch-sap-others_apt-detectors-queries*, .opensearch-sap-others_proxy-detectors-queries*] 0
.opensearch-sap-alias-mappings-index-template-auditbeat- [auditbeat-*] 0           [.opensearch-sap-alias-mappings-component-auditbeat-]

Hi! Check your index settings. Manualy adding settings to the index .opensearch-sap-linux-detectors-queries-000001 helped me. In your case it maybe another index, like ".opensearch-sap-linux-detectors-queries-000002"
On devtools do:
PUT .opensearch-sap-linux-detectors-queries-000001
{
"settings": {
"analysis": {
"analyzer": {
"rule_analyzer": {
"char_filter": [
"rule_ws_filter"
],
"tokenizer": "keyword"
}
},
"char_filter": {
"rule_ws_filter": {
"pattern": "(ws)",
"type": "pattern_replace",
"replacement": " "
}
}
}
}
}

it looks like that it is still there.
{
"error": {
"root_cause": [
{
"type": "resource_already_exists_exception",
"reason": "index [.opensearch-sap-linux-detectors-queries-000001/eZKLq8OpROSVdS1D9zzOLg] already exists",
"index": ".opensearch-sap-linux-detectors-queries-000001",
"index_uuid": "eZKLq8OpROSVdS1D9zzOLg"
}
],
"type": "resource_already_exists_exception",
"reason": "index [.opensearch-sap-linux-detectors-queries-000001/eZKLq8OpROSVdS1D9zzOLg] already exists",
"index": ".opensearch-sap-linux-detectors-queries-000001",
"index_uuid": "eZKLq8OpROSVdS1D9zzOLg"
},
"status": 400
}

In my case, I deleted the problematic index and it was created anew. But the number of indexes .opensearch-sap-linux-detectors-queries-xxxxxx is growing enormously

Same here,
we have configured two clusters - for some reason it works on one cluster, but on the other cluster .opensearch-sap-linux-detectors-queries-xxxxxx is creating new indices as well.
I'll keep you updated if we find whats wrong!

Not the solution but a difference I found between the two clusters:
NOK:
green open .opensearch-sap-linux-detectors-queries-000002 62ngm4GKS2-xyj_sJlTpkg 1 1 0 0 416b 208b
green open .opensearch-sap-linux-detectors-queries-000001 b4KS2zJqTb-12N9SmK9wUw 1 1 0 0 208b 208b
OK:
green open .opensearch-sap-dns-detectors-queries-000001      -VF8oH9uShKPdw4et4HeCw 1 1    12    24  80.9kb 41.2kb
green open .opensearch-sap-linux-detectors-queries-000001    VhEFcSxvTqmoAPVF1wwA_A 1 1   119     0 141.9kb 70.9kb
for example the linux-queries index is way bigger on the working cluster - so there must be something wrong when creating the queries index and it just retries again and again.

green open .opensearch-sap-pre-packaged-rules-config           bOuG4pIiSwiWz9fJWTdP8Q 1 1 17244 12  7.9mb   4mb
green open .opensearch-sap-pre-packaged-rules-config         UsQRm7d-RDiFBn3ylGFOLw 1 1 17244 12  38.6mb 19.4mb
The Pre-Packaged Config is way smaller as well, even though i used an ansible script to setup both clusters, so those should be the same.

This will fix the linux mapping problem, still tested.
https://github.com/opensearch-project/security-analytics/pull/320

It turned out to stop the growth of indexes apache_access-detectors-queries by increasing the number of fields in the index. On DevTools
PUT .opensearch-sap-apache_access-detectors-queries*/_settings
{
"index.mapping.total_fields.limit": 3000
}

We observe similar effect with winlogbeats and windows detector.
Our only solution for now has been to fully disable security analytics and remove any trace of template or index we can find related to security analytics and still we can see the indices created but at least there's no constant rollover messing with the max number of shard we can manage.
For now our only way to use the security analitics would be to reinstall from scratch.

Can you please update to 2.5 and try? This issue should be fixed,
It would be safest to cleanup all SAP/Alerting created indices if you can.

We already upgrade from 2.4 to 2.5 recently.
We tried to remove all the indices named ´.opensearch-sap-windows*´ and they keep being recreated. but now at least they stopped rollovering.
The detectors have been created after the upgrade.
Is there a simple way to remove all indices from security analitics so we can renable it without it going wild ?

I'm sorry I mistyped: upgrade to 2.6
Issue with total_fields limit has been fixed completly in 2.6


Bump RKE2 to v1.24.9+rke2r1

Related issue: https://github.com/harvester/harvester/issues/3321
Test bump. We need to use the 2023 Jan or Feb release.

Need to skip v1.24.9+rke2r1
https://github.com/rancher/rke2/releases/tag/v1.24.9%2Brke2r1

⚠ WARNING
This release is affected by https://github.com/containerd/containerd/issues/7843, which causes the kubelet to restart all pods whenever RKE2 is restarted. For this reason, we have removed this RKE2 release from the channel server. Please use v1.24.9+rke2r2 instead.


LLAMA-936: Notify all handlers

Reason for change: By default, Notify in
PluginHost::JSONRPC notifies only the first handler.
Test Procedure: Use code sample from ticket
Risks: Low
Signed-off-by: Nikita Poltorapavlo<EMAIL_ADDRESS>

#1035


Did this stop working?

I was using it fine till yesterday. And now the messages have stopped appearing in Roam. Any ideas?

Yes, this stopped working because heroku dropped free plans, I forked the project and deployed my own servers but you will have to reinstall from this link https://github.com/panterarocks49/telegroam (The code and the trusted media proxy attribute changed)

Thank you so much!!


Remove extra '.0' from GooGet packages in artifact-releaser-test

/hold

/lgtm

/lgtm

Decided to put all the fixes in the same PR. I've found a problem where the file endings did not exactly match that found on GCS, so this PR should fix that. This PR also introduces a rather unelegant, but working solution to the compute-image-windows package file endings. The solution will be reverted when a standard is decided on for at least those GooGet packages regarding file endings.

/lgtm

/unhold


Bump dependencies to latest versions

Maybe we should bump lodash et al before we push out the beta. @oliver---- makes sense? @Integral wanna take that task?

Absolutely.

Is this done already @Integral ?

Yes!


test: partially enable some C++ interop tests on Windows

This enables the majority of the operator tests on Windows as these now
pass.  However, we cannot enable all of the tests, a few of them crash
due to invalid parameter ordering due to bugs in IRGen with C++ interop.

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

CC: @zoecarver

@swift-ci please test

Build failed
Swift Test OS X Platform
Git Sha - 0d95706f74f8eeb67f035ab28df182563d91a619

@swift-ci please test macOS platform

Build failed
Swift Test OS X Platform
Git Sha - 0d95706f74f8eeb67f035ab28df182563d91a619

@swift-ci please test macOS platform


[DPTOOLS-2252] Publish Docker image via Travis CI

Summary of Changes
Add Travis publish step to push Docker image into Dockerhub
Tests
Tested out Makefile locally. Testing publish to Travis is not feasible (too much effort AFAIK)
Documentation
NA
CheckList
Make sure you have checked all steps below to ensure a timely review.

[x] PR title addresses the issue accurately and concisely. Example: "Updates the version of Flask to v1.0.2"

In case you are adding a dependency, check if the license complies with the ASF 3rd Party License Policy.

[x] PR includes a summary of changes, including screenshots of any UI changes.
[x] PR adds unit tests, updates existing unit tests, OR documents why no test additions or modifications are needed.
[x] In case of new functionality, my PR adds documentation that describes how to use it.

All the public python functions and the classes in the PR contain docstrings that explain what it does

[x] PR passes all tests documented in the developer guide
[x] I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message"

Codecov Report

Merging #150 into master will decrease coverage by 0.42%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #150      +/-   ##
==========================================
- Coverage   53.13%   52.71%   -0.43%
==========================================
  Files         106      106
  Lines        2650     2637      -13
  Branches      273      268       -5
==========================================
- Hits         1408     1390      -18
- Misses       1213     1216       +3
- Partials       29       31       +2

Impacted Files
Coverage Δ

amundsen_application/models/user.py
80.55% <0%> (-12.87%)
:arrow_down:

amundsen_application/api/utils/request_utils.py
51.72% <0%> (-4.38%)
:arrow_down:

amundsen_application/api/search/v0.py
74.41% <0%> (ø)
:arrow_up:

amundsen_application/config.py
100% <0%> (ø)
:arrow_up:

amundsen_application/api/metadata/v0.py
75.57% <0%> (+0.24%)
:arrow_up:

amundsen_application/api/v0.py
41.93% <0%> (+1.93%)
:arrow_up:

Continue to review full report at Codecov.

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

cc: @jornh

FYI. Publishing part from Travis itself is hard to test AFAIK and will be testing out by releasing it.


read_csv from alternative S3 still tries to connect to Amazon

import dask.dataframe as dd

storage_options = {
    'key': input_config['config']['clientId'],
    'secret': input_config['config']['clientSecret'],
    "client_kwargs": {
        "endpoint_url": "https://s3.alternative-region.other-cloud",
    },
    "config_kwargs": {"s3": {"addressing_style": "virtual"}},
}

df = dd.read_csv('s3://bucket/sample.csv', storage_options=storage_options)

Returns
EndpointConnectionError: Could not connect to the endpoint URL: "https://bucket.alternative-region.other-cloud.amazonaws.com/?list-type=2&prefix=&delimiter=%2F&encoding-type=url"
Somewhere amazonaws.com is appended to the URL

cc @martindurant
On Mon, Oct 7, 2019 at 1:07 AM fgadaleta<EMAIL_ADDRESS>wrote:

``
import dask.dataframe as dd
storage_options = {
'key': input_config['config']['clientId'],
'secret': input_config['config']['clientSecret'],
"client_kwargs": {
"endpoint_url": "https://s3.alternative-region.other-cloud",
},
"config_kwargs": {"s3": {"addressing_style": "virtual"}},
}
df = dd.read_csv('s3://bucket/sample.csv', storage_options=storage_options)
Returns
EndpointConnectionError: Could not connect to the endpoint URL: "https://bucket.alternative-region.other-cloud.amazonaws.com/?list-type=2&prefix=&delimiter=%2F&encoding-type=url"
Somewhere amazonaws.com is appended to the URL
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/dask/dask/issues/5468?email_source=notifications&email_token=AACKZTC52YIM7QGCRV5WASDQNLGZNA5CNFSM4I6ADJH2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HP6735Q,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AACKZTDUCRAGM67MA4YQMPLQNLGZNANCNFSM4I6ADJHQ
.

The above is equivalent to
session = boto3.session.Session(aws_access_key_id, aws_secret_access_key)
conf = boto3.conf.Config(**config_kwargs)
client = session.client('s3', config=conf, **client_kwargs)

Can you please check whether this gets the correct URL?

FYI, doing fsspec.filesystem('s3', **storage_options), which is what Dask effectively does, seems to point to the correct endpoint for me (Could not connect to the endpoint URL: "https://s3.alternative-region.other-cloud/").

The above is equivalent to
session = boto3.session.Session(aws_access_key_id, aws_secret_access_key)
conf = boto3.conf.Config(**config_kwargs)
client = session.client('s3', config=conf, **client_kwargs)

Can you please check whether this gets the correct URL?

boto3 has no attribute conf

Sorry, botocore.config.Config

import botocore

storage_options = {
    'key': input_config['config']['clientId'],
    'secret': input_config['config']['clientSecret'],
    "client_kwargs": {
        "endpoint_url": "https://s3.alternative.cloud",
    },
    "config_kwargs": {"s3": {"addressing_style": "virtual"}},
}

conf = botocore.config.Config(**storage_options)
conf = botocore.config.Config(**storage_options['config_kwargs'])
client = session.client('s3', config=conf, **storage_options['client_kwargs'])

client.download_file(Bucket='buckname', Filename='sample.csv', Key='sample.csv')

returns ClientError: An error occurred (400) when calling the HeadObject operation: Bad Request

That's not particularly helpful :|
Perhaps client.list_buckets() might be a simpler call to try.

That's not particularly helpful :|
Perhaps client.list_buckets() might be a simpler call to try.

that also gives me
EndpointConnectionError: Could not connect to the endpoint URL: "https://s3.nl-ams.amazonaws.com/"

I does not do that for me, so I can only suppose it is getting some additional config from your system, environment or files or instance metadata.
I have never used "virtual" addressing, so that might be worth reading into.

@fgadaleta were you able to debug this any further?

Yes it seems to work. Thanks


Not Support Angular 18 SSR yet

Not Support Angular 18 SSR yet:

Please provide all the information required in the issue template.


issue with installation and usage of promptify

I tried installing promptify in my local i get the following error "ModuleNotFoundError: No module named 'promptify.models.nlp'
installed promptify as well and other relevent packages but no luck.This is the case as well with colab notebook  provided please find the link below. can anyone help.
https://colab.research.google.com/drive/16DUUV72oQPxaZdGMH9xH1WbHYu6Jqk9Q?usp=sharing

I too facing the same issue.
ModuleNotFoundError: No module named 'promptify.models.nlp'

same

Add a code cell:
!pip3 install -r requirements.txt
Then update next cell as below:
%cd /content/Promptify
import json
from promptify.models.nlp.openai_model import OpenAI
from promptify import OpenAI
from promptify import Prompter
from promptify.prompts.nlp.prompter import Prompter
from pprint import pprint
from IPython.display import Markdown, display
from IPython.core.display import display, HTML


Impl ErgoDataBridge

We don't need to track all on-chain events, but rather only those, which satisfy a certain predicate (e.g. Contain boxes with certain ErgoTreeTemplate).

Right. Since DataBridge returns the receivers, the consumers (protocol handlers) can filter as they wish. Now perhaps different PHs filter in different ways and we're multicasting the TX stream from a central location, so we need to send every TX. Are my assumptions correct here?


gwt gl20 sync: Use one map per object type instead of a big unified map

This is what libgdx does and it seems more efficient and less "over-engineered" than the unified map.

p.s. Anything I should do in addition to "mvn test"?

I would install this build locally and then build and run the test project:
mvn -f tests/pom.xml -Phtml integration-test

Then look at all the screens to make sure nothing looks broken. You can compare against Desktop Java by also running:
mvn -f tests/pom.xml -Pjava test

Thanks! Looks all good!

Hi, @stefanhaustein!
Could you, please, provide the  justification for your solution or reasont to change. It's looks funny when you replace the one method with for loop with 3-4 methods with same loop just to fix "over engineered"  code.
What is the root cause for this change?

The main goal is to synchronize with the libgdx variant of this class, where I am also doing changes for the same purpose, e.g: https://github.com/libgdx/libgdx/pull/4162
While this change indeed adds some (trivial) loops, the alternative is to have a secondary dispatch and additional object type management code, which increases overhead and indirection and thus may harm performance and readability.
Note that the loops are currently more verbose than they need to be -- otherwise the change probably would reduce the total number of lines of code:
for (int i = 0; i < n; i++) {
  int id = textures.get();
  WebGLTexture texture = this.textures.remove(id);
  gl.deleteTexture(texture);

}
could be rewritten as
for (int i = 0; i < n; i++) {
  gl.deleteTexture(this.textures.remove(textures.get()));

}
I am avoiding shortening right now because I wanted to get to a consistent change with minimal changes on both sides -- before doing any more advanced cleanup in sync.

LGTM. I agree that the intmaps are much simpler than the old megamap, and likely faster.
Hopefully the few tabs that snuck in will go away once you've got things in sync. I'm pretty sure libGDX uses spaces too, rather than tabs.

Hm, seems I missed main changes at night. Sorry.
It is better, totally agree.


fix: allow whisperer loot to trigger notifications

Closes #282
Related: https://github.com/runelite/runelite/commit/c2dfda9ede854a5d3f8aeabd1facee36d3951568#diff-54526cb6ca5997b52b0c3195802d3299ccab3e74ed63b9e76d08871bdc2cf602R715 & https://discord.com/channels/301497432909414422/419891709883973642/1138628715199332372

Tests LGTM, ty


Fix toggle switch bug in high-contrast mode

Fixes #7451
Screenshots:

Tested on:

OS: Windows 10 Normal & High-Contrast mode
Browsers:

Google Chrome - Version 94.0.4606.61 (Official Build) (64-bit)
Mozilla Firefox - Version 92.0.1 (64-bit)
Microsoft Edge - Version 94.0.992.31 (Official build) (64-bit)

Is it fine if I work on 1-2 more good first issues to get the hang of contributing to the codebase?

@SakshiUppoor Yes, of course! :) And thank you for this contribution! We'll try to review it soon.

Thanks! 😁

@thibaudcolas That's a really valid point.
I went through a few articles and some suggest using checkboxes if the changes are applied immediately without having to click the submit button.
But for now,  adding another visual indicator might help. So, this could be a good and easy option:

Toggle switch in normal, b&w and high contrast modes respectively
References:
https://medium.muz.li/redesigning-the-toggle-switch-4eef8ded88cb
https://www.nngroup.com/articles/toggle-switch-guidelines/


Improve GoodManners API

A lot of modifications should be made to the API of GoodManners. There should be shorthands for common tasks (e.g. make it possible do stuff in a single line), generally useful functions and more of the kind. It's basically just sugar, but good nevertheless, as it usage of GoodManners can be rather wordy at the moment.

I'm closing this. I have embraced the wordiness (though wordy, the code is clean and very easy to understand) and a plethora of changes have been made to the API since I created this issue.


Also run go lint and go vet

Also run go lint and go vet as a github action
Not sure if it will work.

Previously we had build/test as part of one step.
Should these be separate steps that run in parallel like lint and shadow?

/shrug. It makes sense to me for them to be serial, since Test depends on Build.


Calling Notification in Background

Thanks developer team for this awsome package.
Im trying to implement calling in my app. In my scenerio im invoking CALL notification using fcm token. In foreground notification is working fine, it is ringing.
But the problem is when the app is in background i did receive call notification but its not ringing just notification alert sound. And furthermore when i tap on reject button it is rejecting call but also sending me to the app. And no more notification when app killed.
I will highly thankfull if you help me in solving these issues. Thanks in advance

Did you found anything?


won't allow typing

Issue Type: Bug
My computer (HP laptop) doesn't work well with Prettier.  When I save my VSC doesn't fix anything with Prettier.  Also, it is not allowing me to type in the editor anymore <.  I see what I am typing on the status bar below.  However , it is not showing up in the editor itself
VS Code version: Code 1.51.1 (e5a624b788d92b8d34d1392e4c4d9789406efe8f, 2020-11-10T23:34:32.027Z)
OS version: Windows_NT x64 10.0.18363

System Info

Item
Value

CPUs
AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx   (8 x 1996)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offopengl: enabled_onprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
7.66GB (1.49GB free)

Process Argv
--crash-reporter-id 06ea7323-fe1a-4875-81e8-5d0be3718666

Screen Reader
no

VM
0%

Extensions (6)

Extension
Author (truncated)
Version

vscode-javascript-snippet-pack
aka
0.1.6

vscode-standardjs
che
1.4.0

vscode-eslint
dba
2.1.13

prettier-vscode
esb
5.8.0

vim
vsc
1.17.2

JavaScriptSnippets
xab
1.8.0

Does the problem also happen if you run the command to reload with all extensions disabled?


 Some tests fail when running with Valgrind due to timeouts failure. This is because semantic of the send function in the transports was changed. Before, when timeout is reached the message is tried to be sent with time-out 0 and always return true. Now when timeout function fails.
This PR restores the old semantic.

Build status:

Linux
Mac
Windows

Build status:

Linux
Mac
Windows


check infeasibility errors for all examples in debugging.rst

And more generally, throughout the docs, unit test that inline comments saying
 # such and such will happen

are correct.


Implement --immutable option

Implement --immutable option to treat source and destination files as immutable and disallow modification. Fail if existing files have been modified.
This can be useful as an additional layer of protection for immutable or append-only data sets.
Changes with --immutable enabled:

Add check in equal() to disable silent update of destination timestamp when size and hash match
Return an error from pairChecker() if destination exists and does not match

Updated docs and error message, rebased on master.

Thanks - that looks great :-)


Cicognara collection cannot reindex due to manifest load time

[Pomegranate/production] Net::ReadTimeout: Net::ReadTimeout
Backtrace
line 5 of [PROJECT_ROOT]/app/models/external_manifest.rb: load
line 41 of [PROJECT_ROOT]/app/queries/external_collections_query.rb: all_manifest
line 45 of [PROJECT_ROOT]/app/queries/external_collections_query.rb: collections

View full backtrace and more info at honeybadger.io
Figgy ticket is pulibrary/figgy#1656

That collection is not in use.


[wip] crossover: init at 19.02

Motivation for this change
crossover is not currently in NixOS.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

@rycee
I get this error at runtime:
crossover: No python interpreter found
Would I need a wrapper to solve this?

This is really frustrating - I was looking here for ideas on how to base my Crossover for Linux (and Mac?) Nix package, but the commits are all gone, and I can't even see the progress. I'm a beta tester for Crossover, so I was hoping to maintain a Nix package. Does anyone know a way to recover the commits? I'd be happy to step up as a maintainer.

Crossover not being in nixpkgs yet is a huge oversite imo

I've forked this branch, but to be honest, Nixpkgs is a volunteer-led project. It's not obligatory to package everything in existence. I'm in talks with Crossover about the i386 packages Crossover requires.


Anti-Request Forgery

ASP.NET MVC -> Security -> Anti-Request Forgery

The link to for more information in the http://docs.asp.net/projects/mvc/en/latest/getting-started/first-mvc-app/controller-methods-views.html tutorial led me here because the "more information" page (http://docs.asp.net/projects/mvc/en/latest/security/anti-request-forgery.html) was being worked on. When do you expect it may be ready for the masses?
And tnx for a nice tut so far!

We plan to have a completed doc set by the summer.

Merging this content into #89 now that we have merged the MVC content into the ASP.NET Core TOC.


VS Code cannot breakpoint 3rd party Python code in Jupyter Notebook

One of my main uses for a debugger is to step through parts of new libraries to better understand how they work and how to use them. But, my current install of VS Code refuses to let me set breakpoints or step through 3rd party libraries when I am in Jupyter Notebooks--where almost all my code is. I get a 'Breakpoint in file excluded by filters' error.
I've looked through everything I could find online about this problem, and nothing I've tried has worked. I have:
In File > Preferences > Settings > Debug turned on 'Allow breakpoints everywhere' for both User and Workspace
In ... Settings > Extensions > Jupyter turned off 'Debug Just My Code' for both
In launch.json changed ' "justMyCode": true ' to ' "justMyCode": false '
After suggestions in https://stackoverflow.com/questions/52980448/how-to-disable-just-my-code-setting-in-vscode-debugger, I tried to add a separate debug configuration to launch.json. This used to do the trick, but ' "request": "test" ' can no longer be used. Various alternatives I've tried here also do not work (e.g. "request": "attach" or "purpose": "debug-test").

If I extract the code from Jupyter Notebook, put it in a .py file, I have no problem stepping through the 3rd party code.  So, there's a filter being applied only when I 'debug cell' in a Jupyter Notebook.  But, as I've mentioned, I've set the 'Debug Just My Code' for jupyter to false in both User and Workspace.  I am at a loss for what other switches I can throw or configuration files I can alter.

Please try in the latest Insiders vscode build, with the latest pre-release Jupyter extension, this was only just implemented https://github.com/microsoft/vscode-jupyter/issues/8146

Thank you roblourens!

Hi:  I'm using VSCode as part of the MX Linux repository.  More recent
versions of Code are not tested with MX Linux and would require special
upkeep because updates won't automatically be detected and installed, I
imagine, and add-ons would likely need to be reinstalled.  Because I don't
yet much need to step through 3rd party code and can work around that issue
by extracting NB code into a .py file, which does allow me to step through,
I have not yet sought to fix the problem with a new version of MSCode.
There may come a point where that takes too long.
Peter
On Fri, Nov 4, 2022 at 9:58 AM vickkot @.***> wrote:

@PeterM18 https://github.com/PeterM18
Hi, did you manage to get it working?
If yes, could you please tell me what vscode version you used?
Thanks
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode/issues/164178#issuecomment-1303688337,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQVBQJ25YZFU4OJCOPU74MDWGUQC5ANCNFSM6AAAAAARKQG7RU
.
You are receiving this because you were mentioned.Message ID:
@.***>

@PeterM18
Thanks for the answer


feat(example): plumbing, intra-node routing for #308

As per the change request: https://github.com/hyperledger/cactus/pull/308#issuecomment-720195413

Moreover, I don't feel comfortable because the title of your PR is "docs" and this PR includes not only documents but also actual codes. Would you mind if you divide your PR into docs(example) and feat(example)?

cc: @takeutak

What are the codes to change this pull-request?  Are they all 166 codes on "Files changed" or the part filtered with some commit name?

@petermetz Moreover, as above, I think there will be no problem except the changelog setting. However, from the next time, when issuing multiple Pull requests, please do not create Pull requests that depend heavily on other Pull requests, such as by separating branches. To be honest, it is very difficult to review.

@petermetz I almost agree to these pull-request. But I'm wondering the config of emojis on changelog.config.js. Would you mind if you delete these config of emojis?

@takeutak Done: 30ad1b4

LGTM

LGTM.

@takeutak Cheers!

@petermetz Please make the same correction for other your dependent pull requests before they are merged. Otherwise, when merging dependent pull-requests, the modifications will be reversed by mistake.

@takeutak Yeah, thankfully, rebase takes care of that automatically (assuming no conflicts) It's a big part of the reason why I strongly prefer rebase to merges in general.


Update common .rubocop_rspec_base.yml

Updating .rubocop_rspec_base.yml per @pirj request

We've started on this at approximately the same time. I'll close this in favour of #296, since they are effectively duplicates.
Thanks for tackling this in any case.


Glad and KHR

Required Info

Camera Model
D435

Firmware Version
<IP_ADDRESS>

Operating System & Version
Win (10)

Platform
PC

SDK Version
2.32

Language
C++

Segment
desktop app

Issue Description
I'm trying to integrate some code that relies on glad. It throws all sorts of errors right now  using the sdk infrastructure.
I noticed that in thirdparty/glfw/dep you have glad files. I tried to add includes and I tired other solutions I found to solve the subsequent errors and I  just caused more errors.
This may be a basic programing question, in which case I'll be happy to take it to a Glad message board(if there is one)
but is there  a simple best practices way for me to incorporate code with alternate glad dependencies?
Your product has been good to me the last few months and I'm almost finished with the project I'm on - but my final task is  creating some graphical indicators (in my case  spinning needles - like a compass) and it's been a struggle figuring out how to use opengl properly because all example code fails in your environment.  I've worked a few tutorials in opengl at this point and they work fine but they don't port to your environment (for me) and I cant seem to search a  solution.
If I can get this  https://learnopengl.com/Getting-started/Transformations to work in your environment I could complete this project.
Thanks.

Hi @arothenberg  The link below has a discussion about a C++ user who was attempting to link Glad to librealsense in their project.  Whilst the case does not have a confirmation of whether the developer was successful, it may provide you with useful insights.
https://stackoverflow.com/questions/52477124/why-cant-the-c-compiler-find-librealsense

Hi @arothenberg  The link below has a discussion about a C++ user who was attempting to link Glad to librealsense in their project.  Whilst the case does not have a confirmation of whether the developer was successful, it may provide you with useful insights.
https://stackoverflow.com/questions/52477124/why-cant-the-c-compiler-find-librealsense

Thank you Marty. Appreciate it. I'll have a look.

Thank you Marty. Appreciate it. I'll have a look.

I think that one is more about Cmake.  My libreasense sdk cmakes fine.
And there is  a glad directory in the sdk that looks right and looks like its meant to be used.
I think I'm making progress though so I'll close this out. It's hard though.
I'll open something back up if I can't move forward.
Thanks.

I think that one is more about Cmake.  My libreasense sdk cmakes fine.
And there is  a glad directory in the sdk that looks right and looks like its meant to be used.
I think I'm making progress though so I'll close this out. It's hard though.
I'll open something back up if I can't move forward.
Thanks.

Hey, could you give me one link to someone doing a transformation of an image within the Realsense environment.
That's all I need at this point. The amount of time I'm spending trying to do this is getting prohibitive. All the tutorials I use work fine. If I could get just any example I'd be good to go. It's been a week and I cant solve this.
Thanks.

Hey, could you give me one link to someone doing a transformation of an image within the Realsense environment.
That's all I need at this point. The amount of time I'm spending trying to do this is getting prohibitive. All the tutorials I use work fine. If I could get just any example I'd be good to go. It's been a week and I cant solve this.
Thanks.


unclear/ambiguous language code notation

While working on a mapping of bibliographic language codes (ISO 639-2/B due to the RDA application guidelines of the German National Library https://wiki.dnb.de/download/attachments/127172808/Kapitel_6.pdf?version=2&modificationDate=1505213938000&api=v2) to the corresponding (presumably ISO 639-2/T coded?) language models, I came across three language codes for which I could not find a match:

tesseract_best/frk.traineddata
tesseract_best/kmr.traineddata
tesseract_best/osd.traineddata

I therefore suspected that the encoding of the language models was done according to ISO 639-3 (https://iso639-3.sil.org/code_tables/639/data) and found matches for frk(=Frankish) and kmr(=Northern Kurdish), but still none for osd. Finally, I consulted the documentation (https://tesseract-ocr.github.io/tessdoc/Data-Files-in-different-versions.html) again and could see that kmr(=Northern Kurdish) is a correct suffix, while frk actually means "Frakturschrift" (is that correct?) and osd stands for the "Orientation & Script Detection Module".
Since these two are not languages in the actual sense, it would be appropriate in my opinion to designate these two training models in such a way that they can be clearly distinguished from the language codes consisting of three letters. Furthermore it would be surely good to put these models into another directory and not parallel to the languages, so that no further misunderstandings arise here. This already happens with the font types and should therefore be done here in the same way.
I am aware that there are some languages with multiple models that need to be in parallel because:

_vert (vertical text flow)
_latn / _cyrl (other type system)
_old (old)
_sim (simplified writing system)
_tra (traditional notation)

In such cases it is also clear that here a notation reduced to three letters is not possible and all those models are necessary as they are. Nevertheless, at least the stem of the language code should be clearly assignable. A clear indication whether for this purpose ISO 639-2/T or ISO 639-3 is coded would be helpful.
Since kmr(=Northern Kurdish) does not emerge from ISO 639-2, but only kur(=Kurdish) is used there, one would conclude, as I do, that ISO 639-3 is authoritative. In this case, however, one could possibly also erroneously expect the typification according to macrolanguage construct used in ISO 639-3. ara(=Arabic) could then be understood as "Includes Standard Arabic and Egyptian Arabic), or nor(=Norwegian) "Includes Nynorsk and Bokmal). However, there are no language models available for this, as far as I can see.
For macro languages, however, a complete examination of the current language codes would actually have to take place and would also require the creation of "language sets", which do not currently exist in the form...I think this could be a stimulating discussion point and possibly an interesting feature in the future...but goes too far at this point. Also ISO 639-3 with currently 7910 language-codes is far bigger, than ISO 639-2 with about 460 language codes.
Thank you,
Michael Kubina

Sorry to bother again...i have now looked into this document (https://github.com/tesseract-ocr/tesseract/blob/main/doc/tesseract.1.asc#LANGUAGES) as well but here it states, that frk does actually stand for Frankish, which would also be an ISO 639-3 code just like kmr(kurmandschi). This would leave the osd as the non-language, and the rest as proper ISO 639-2/T languagecodes.
This on the other hand would mean, that the documenation at https://tesseract-ocr.github.io/tessdoc/Data-Files-in-different-versions.html would describe frk wrongfully as "German Fraktur", whilst Fraktur in general has been moved to the scripts subfolder.
So its not clear, if frk stands for frankish or german fraktur...

Related issue: https://github.com/tesseract-ocr/tessdata_fast/issues/28

frk was for a long time described as being "Frankish", but the included dictionary, the character set and the fonts used for training indicate that it is de facto a model for Fraktur.

The current developers (including myself) are not related to Google where the current OCR models where trained, and details of the training process and the reasons for the existing names are therefore unknown.
Meanwhile there also exist models which were trained outside of Google, for example better models for Fraktur and other historic scripts which I trained at UB Mannheim.
Do you have suggestions how the current situation could be improved? Personally I'd like to have a JSON file which describes all OCR models, their names, their meaning (maybe with translations), comments, download link and other metadata).

Such a json file would be a nice addition. Perhaps it could even include fields for different ISO notations like ISO 639-2/B and ISO 639-3.

Another guess regarding the data included in the standard frk model: since the notably large word list (+450.000 entries, which is really hard to gain with real historical print data) contains very unlikely terms (DSL-HARDWARE, AZ-Web.de or IT-Fortbildung, to mention a few) plus the list of used fonts  assume that is has been trained like the standard en model from synthetic image-line pairs and text tokens from the web. (Default punctuation and number files fit in with their poor quality.)

That's right, all standard models where trained with synthetic line images. And as you noted, the text look like a collection of various texts from the web, maybe using language indicators from the HTML code which also results in dictionaries which are not necessarily representative for the time and language. And sometimes even important characters were missing in that texts, so they never were trained.

Meanwhile there also exist models which were trained outside of Google, for example better models for Fraktur and other historic scripts which I trained at UB Mannheim.

I already use GT4HistOCR and i really appreciate your hard work. it works very well...even outside of the whole OCR-D space.

Do you have suggestions how the current situation could be improved? Personally I'd like to have a JSON file which describes all OCR models, their names, their meaning (maybe with translations), comments, download link and other metadata).

I agree with you, that we need some kind of description for the different models and a JSON would suit this very well, since it can be easily read by humans and machines. You have already mentioned a important set of information and with your expertise you will most certainly come up with a plethora of other important metadata. I think apart from the name, the "trainer" and his/hers contact, download links, links to the training data that you have mentioned, @M3ssman stated the importance of wether its from real image data or from a synthetic image set - or in other words a description on how the model was actually trained and in which depth.
...and i agree with @Blightbuster that there need to be fields for the models target languag(es). I would prefer not only to state which ISO 639-2B/T and ISO 639-3 it refers to, but also a fallback to ISO 639-1. It would take away some struggle of doing a mapping for projects, where the darabase holds the language code in ISO 639-1.
IMO we would additionally need an infomation about which writing system it was trained on/for. Here we could use the ISO 15924 standard (https://en.wikipedia.org/wiki/ISO_15924), which is partially used in naming the models for the scripts as well. IETF Language Tags (https://en.wikipedia.org/wiki/IETF_language_tag) are an interesting concept, but i am not quite happy, that the languagecode is preferably in ISO 639-1.
But this could inspiring for a more descriptive filename-convention for the models...especially when it comes to languages, that use different writing systems, e.g. Azerbaijan with Latin script since the independence from the soviet union (prior cyrillic) and persian script in its southern region ("always"). Similiar for German with Fraktur or Latin script, Serbian (Cyrillic & Latin) etc. So a mixture of both the ISO 639-2/T and the ISO 15924 could work here in our favor naming at least the standard models and giving some insights on whats currently hidden or just implied:

aze_Latn, aze_Cyrl, aze_Arab
deu_Latf, deu_Latn or deu_Latf_Latn
srp_Cyrl, srp_Latn or srp_Cyrl_Latn

So, i believe that a clear naming convention for the models and a descriptive JSON for the metadata would help a lot. And it could be used to automatically aggregate such informations for the documentation pages.
As for my initial question, i will keep in mind, that frk does actually stand for Fraktur.

the rest as proper ISO 639-2/T languagecodes

Just to clarify, does that mean that nor is trained on both nno and nob text?

IETF Language Tags (https://en.wikipedia.org/wiki/IETF_language_tag) are an interesting concept, but i am not quite happy, that the languagecode is preferably in ISO 639-1.

Although the IETF BCP 47 rule of using the shortest available code, making for variable length codes, is a little awkward, BCP 47 codes are common on the web and are also used by things like the fastText language identification module (even though they're mistakenly called ISO codes on the model page), so I think they're important to include.
Wikidata is a good way to be able to easily crosswalk the different codes, as well as access other useful information, like autonym, translated versions of the name, etc., and might be a good link to include in the metadata to allow easy access to additional information.


WIP: sandbox: add "sandboxedTask"  in addition to shimTask

If the sandbox provides task API itself, shim management is not required anymore, and shimTask is no longer suitable for the task type provided by the sandbox. So I'm adding a "sandboxedTask" type here, and separating the two types can effectively reduce code complexity.

@fuweid

The codes has been splitted into several PRs, close this one.


Comment here to be added as a collaborator

Comment below - you can say anything
We will all be using this repository today. Even though it's public right now, you will not be able to make changes until you're given the correct permissions. We've automated this process via the GitHub API and some fancy chatops. Once you comment, we will add you as a collaborator.
You'll also start to receive a lot of emails. (:exclamation:) You can slow these down immediately by clicking the 'Unwatch' button and selecting either the 'Not watching' or 'Ignoring' option.

I am leaving a comment

Comment

Test

ping

Comment

comment

Comment

@shyam test

hey hey!

testing

Here

Hello there!

comment

hello world!

Comment

.

adding a new comment!

learn how to use ...

@beardofedu


[BUG] useTable does not return antd Form props properly

searchFormProps from useTable hook is a FormInstance, not a Form props.
<Form
  form={..searchFormProps}
  onValuesChange={() => {
    // this does not work since searchFormProps.form dosn't exist
    searchFormProps.form?.submit(v);

    // searchFormProps.submit exists but onSearch in useTable is not triggered
    searchFormProps.submit();
  }}
>

Steps to reproduce the behavior:
const { searchFormProps } = useTable({ onSearch: () => {...} });
console.log(searchFormProps);

Hey @soonoo ,
Good point! Thank you!
I've created PR #1437. I hope enough reviews come today and I can release!

Hey @soonoo  ,
We've released 2.6.2. Could you approve this fix?

Hi @omeraplak
It's good! Thanks a lot.


Link data from one place to another

Instead of denormalizing data everywhere it is displayed, it would be useful to come up with a way to link them together in one direction.
Strawman API:
// `path` is an array of strings. it must point to a path with a `change` function.
[ path, ... ]

This would make a linked field impossible to render, it has to link to fields that do render.

Nevermind, this doesn't seem like a good idea because this introduces values that don't render anything in the DOM. I think this should be left to another abstraction outside of this library.


Adding new source issue

Hi,
I was trying to add my own vector tiles source programatically and it didn't work well. What I did is:

Load default style from mapbox studio via url

           mapboxMap.LoadStyleUri("mapbox://styles/myacc/cllde6avf00yt01qsem1jggzx", styleLoadedListener);

On styleLoadedListener I've added vector tiles source like:
     var url = "http://<IP_ADDRESS>:3000/herbicide/{z}/{x}/{y}";
     var jsonArray = new GoogleGson.JsonArray();
     foreach (var str in new string[] { url })
     {
         jsonArray.Add(new JsonPrimitive(str));
     }

     var sourceProperties = new JsonObject();
     sourceProperties.Add("type", new JsonPrimitive("vector"));
     sourceProperties.Add("tilejson", new JsonPrimitive("herbicide"));
     sourceProperties.Add("sourceId", new JsonPrimitive("herbicide"));
     sourceProperties.Add("tiles", jsonArray);

     // Convert the JsonObject to a Value
     var sourceValue = new Value(sourceProperties.ToString());

     // 2. Add the VectorSource to the style
     p0.AddStyleSource(SOURCE_ID, sourceValue);

When I check collection of objects in StylesSources there were only two objects mapped as Com.Mapbox.Maps.StyleObjectInfo, both comes from Uri loaded default style.

@jmielczarkowski Can you make that work with native Java/Kotlin?

@jmielczarkowski Can we close this issue?

Yeah let's close. I manage to handle it using styles.json modification.


The installed version of bitsandbytes was compiled without GPU support

System Info
image config
(
        modal.Image.from_registry(
            "nvidia/cuda:12.1.0-base-ubuntu22.04", add_python="3.10"
        )
        .pip_install("gamla")
        .apt_install("git")
        .run_commands(
            [
                "cd home && git clone -b v1.0 https://github.com/camenduru/LLaVA",
                "cd home/LLaVA && pip install .",
            ]
        )
        .run_commands("pip install --upgrade --force-reinstall bitsandbytes")
        .run_function(worker.load_model)
    )

Reproduction
def load_model():
    from llava.model import LlavaLlamaForCausalLM

    model_path = "4bit/llava-v1.5-13b-3GB"
    # model_path = "liuhaotian/llava-v1.6-vicuna-7b"
    model = LlavaLlamaForCausalLM.from_pretrained(
        model_path,
        low_cpu_mem_usage=True,
        device_map="auto",
        load_in_4bit=True,
        quantization_config=BitsAndBytesConfig(
            load_in_4bit=True,
            bnb_4bit_compute_dtype=torch.float16,
            bnb_4bit_use_double_quant=True,
            bnb_4bit_quant_type="nf4",
        ),
    )
    vision_tower = model.get_vision_tower()
    if not vision_tower.is_loaded:
        vision_tower.load_model()
    vision_tower.to(device="cuda")
    return (
        model,
        AutoTokenizer.from_pretrained(model_path, use_fast=False),
        vision_tower.image_processor,
    )

Expected behavior
getting
/usr/local/lib/python3.10/site-packages/bitsandbytes/cextension.py:34: UserWarning: The installed version of bitsandbytes was compiled without GPU support. 8-bit optimizers, 8-bit multiplication, and GPU quantization are unavailable.

also tried compiling from source and got the same message

I think I was missing this:
from modal import Image

image = (
    Image.debian_slim()
    .pip_install("bitsandbytes", gpu="any")
)


Multiplayer not shown on map

For 3 or more multi player using the same server,
map should show all players who checked "view by others player ".
After using this mod, map only shows the latest player who you sent your map to him, and others are disappear from the map.
-Without using mod: player A,B,C,D,E all shown in map
-Used the map and F10(send map) to playerA: playerA still in map, but player B,C,D,E has no player icon in map.
-After F10 to playerA, if I F10 to playerB, it will changed to show playerB, but playerA,C,D,E disappear from map.

Can you verify this is still happening in 1.1.2?

just checked it seems cannot reproduce, thanks
Sent from my iPhone

On 4 Mar 2021, at 20:03, rolopogo<EMAIL_ADDRESS>wrote:

Can you verify this is still happening in 1.1.2?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.


Inconsistent results when using FETCH with boundary.post

When using the HTTP API to ingest events the first class ingested is ignored by FETCH when specifying  boundary.post.
For example: if an event is written for both classA and classB in sequence and the timestamp for classA is < classB the following FETCH should return the classA event, instead it returns the classB event. If only a single class is present no results are returned by FETCH
{
  'token' $rt
  'class' '~.*'
  'labels' {}
  'end' MINLONG 1 +
  'count' 0
  'boundary.post' 1
} FETCH

I've written a script to show this in action here: https://gist.github.com/tmacro/90d328a9743f50b2c21bce71a11c80a9

Thanks for this detailed issue.
We could reproduce the problem and a fix is on the way: #902

Thanks for this detailed issue.
We could reproduce the problem and a fix is on the way: #902

The issue was related to two things which were addressed in PR #902.
The first one was a case not taken into account when post boundaries were requested but when this was actually fixed we encountered a bug in the underlying LevelDB library which caused iterators to become invalid when seeking past the last key in the key space (which is the case you encountered when starting from an empty DB). To address this issue we forced the creation of a dummy record with a key after the last raw data key. This record is added once and for all when LevelDB is first open and fixes the issue since no iterator on the raw data key space can now become invalid.

The issue was related to two things which were addressed in PR #902.
The first one was a case not taken into account when post boundaries were requested but when this was actually fixed we encountered a bug in the underlying LevelDB library which caused iterators to become invalid when seeking past the last key in the key space (which is the case you encountered when starting from an empty DB). To address this issue we forced the creation of a dummy record with a key after the last raw data key. This record is added once and for all when LevelDB is first open and fixes the issue since no iterator on the raw data key space can now become invalid.

Hi @hbs ,
Would you be able to issue a patch release for this fix?

Hi @hbs ,
Would you be able to issue a patch release for this fix?

Hi @rahulreddy,
The 2.7.3 version will be released in the next few days to make this fix available.

Hi @rahulreddy,
The 2.7.3 version will be released in the next few days to make this fix available.


add QpsLimitExceeded error code

Issue #, if available:
Description of changes:
Check all that applies:

[ ] Did a review by yourself.
[ ] Added proper tests to cover this PR. (If tests are not applicable, explain.)
[ ] Checked if this PR is a breaking (APIs have been changed) change.
[ ] Checked if this PR will not introduce cross-platform inconsistent behavior.
[ ] Checked if this PR would require a ReadMe/Wiki update.

Check which platforms you have built SDK on to verify the correctness of this PR.

[ ] Linux
[ ] Windows
[ ] Android
[ ] MacOS
[ ] IOS
[ ] Other Platforms

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

cspell has been broken at previous PR.
https://github.com/ClickHouse/aws-sdk-cpp/pull/21


Fix compile too long

Proposed changes
Issue Number: close #xxx
Problem summary
Describe your changes.
Checklist(Required)

Does it affect the original behavior:

[ ] Yes
[ ] No
[ ] I don't know

Has unit tests been added:

[ ] Yes
[ ] No
[ ] No Need

Has document been added or modified:

[ ] Yes
[ ] No
[ ] No Need

Does it need to update dependencies:

[ ] Yes
[ ] No

Are there any changes that cannot be rolled back:

[ ] Yes (If Yes, please explain WHY)
[ ] No

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 34.79 seconds
load time: 452 seconds
storage size:<PHONE_NUMBER>4 Bytes
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20221108113450_clickbench_pr_42033.html


Update asciicast

Once we get a little bit more feature stability, it would be good to update the asciicast with all of the nice new features :))

How hard would it be to have a CI for that ? 👀

How hard would it be to have a CI for that ? eyes

https://github.com/PierreMarchand20/asciinema_automation


Display Facebook users (maybe others)

Answering the facebook login and perhaps the following request https://github.com/ARKHAM-Enterprises/meteor-comments-ui/issues/31, I propose you a way to get the name of the user.
Regards,

Awesome, gonna have a look at this soon.

I am having this same issue with Google Oauth.

Thanks!


Unique suffixes for items in defs sections of svg

@davydkov , linearGradient is defined in defs section of svg and thus is scoped to the whole document rather than that particular image. Added fix with unique suffix to defs content.
I'm not quite happy with the implementation. It feels wrong to do that many changes at once. Do you have some kind of import script for icons? Probably fix could be applied there?

Hey @pavelpykhtin
Wow, great that you nailed the issue.
But these changes will be overwritten by npm run update-icons - right?
What if we utilise some plugin from svgo, like here

Totally missed that script! Thanks for pointing out!
Added prefixIds plugin into config.


MSL: is it possible to support function constants?

I'm not sure if there is any option to convert an uniform constant to function constant in MSL.
Function constant is compile time constant and might be useful for certain optimizations.
Since GLSL doesn't have function constants concept. It would be useful to have an option to convert a uniform to function constant.

Function constants are supported. This maps to Vulkan's specialization constants.

Thanks for the info.

Ok, don't think there is anything to do here.


Federated Ingress for GCP

Description
Add description here
Progress Tracker

[ ] Before Alpha

[ ] Write and maintain draft quality doc

[ ] During development keep a doc up-to-date about the desired experience of the feature and how someone can try the feature in its current state. Think of it as the README of your new feature and a skeleton for the docs to be written before the Kubernetes release. Paste link to Google Doc: DOC-LINK

[ ] Design Approval

[ ] Design Proposal.  This goes under docs/proposals.  Doing a proposal as a PR allows line-by-line commenting from community, and creates the basis for later design documentation.  Paste link to merged design proposal here: PROPOSAL-NUMBER
[ ] Initial API review (if API).  Maybe same PR as design doc. PR-NUMBER

Any code that changes an API (/pkg/apis/...)
cc @kubernetes/api

[ ] Identify shepherd (your SIG lead and/or<EMAIL_ADDRESS>will be able to help you). My Shepherd is<EMAIL_ADDRESS>(and/or GH Handle)

A shepherd is an individual who will help acquaint you with the process of getting your feature into the repo, identify reviewers and provide feedback on the feature. They are not (necessarily) the code reviewer of the feature, or tech lead for the area.
The shepherd is not responsible for showing up to Kubernetes-PM meetings and/or communicating if the feature is on-track to make the release goals. That is still your responsibility.

[ ] Identify secondary/backup contact point. My Secondary Contact Point is<EMAIL_ADDRESS>(and/or GH Handle)

[ ] Write (code + tests + docs) then get them merged.  ALL-PR-NUMBERS

[ ] Code needs to be disabled by default.   Verified by code OWNERS
[ ] Minimal testing
[ ] Minimal docs

cc @kubernetes/docs on docs PR
cc @kubernetes/feature-reviewers on this issue to get approval before checking this off
New apis: Glossary Section Item in the docs repo: kubernetes/kubernetes.github.io

[ ] Update release notes

[ ] Before Beta

[ ] Testing is sufficient for beta
[ ] User docs with tutorials
- Updated walkthrough / tutorial in the docs repo: kubernetes/kubernetes.github.io
- cc @kubernetes/docs on docs PR
- cc @kubernetes/feature-reviewers on this issue to get approval before checking this off
[ ] Thorough API review

cc @kubernetes/api

[ ] Before Stable

[ ] docs/proposals/foo.md moved to docs/design/foo.md
- cc @kubernetes/feature-reviewers on this issue to get approval before checking this off
[ ] Soak, load testing
[ ] detailed user docs and examples

cc @kubernetes/docs
cc @kubernetes/feature-reviewers on this issue to get approval before checking this off

FEATURE_STATUS is used for feature tracking and to be updated by @kubernetes/feature-reviewers.
FEATURE_STATUS: IN_DEVELOPMENT
More advice:
Design

Once you get LGTM from a @kubernetes/feature-reviewers member, you can check this checkbox, and the reviewer will apply the "design-complete" label.

Coding

Use as many PRs as you need.  Write tests in the same or different PRs, as is convenient for you.
As each PR is merged, add a comment to this issue referencing the PRs.  Code goes in the http://github.com/kubernetes/kubernetes repository,
and sometimes http://github.com/kubernetes/contrib, or other repos.
When you are done with the code, apply the "code-complete" label.
When the feature has user docs, please add a comment mentioning @kubernetes/feature-reviewers and they will
check that the code matches the proposed feature and design, and that everything is done, and that there is adequate
testing.  They won't do detailed code review: that already happened when your PRs were reviewed.
When that is done, you can check this box and the reviewer will apply the "code-complete" label.

Docs

[ ] Write user docs and get them merged in.
User docs go into http://github.com/kubernetes/kubernetes.github.io.
When the feature has user docs, please add a comment mentioning @kubernetes/docs.
When you get LGTM, you can check this checkbox, and the reviewer will apply the "docs-complete" label.

@quinton-hoole Are the docs ready? Please update the docs in https://github.com/kubernetes/kubernetes.github.io, and then add PR numbers and check the docs box in the issue description

Docs are being written.  Should be done next week.
On Fri, Sep 2, 2016 at 11:34 AM, Janet Kuo<EMAIL_ADDRESS>wrote:

@quinton-hoole https://github.com/quinton-hoole Are the docs ready?
Please update the docs in https://github.com/kubernetes/
kubernetes.github.io, and then add PR numbers and check the docs box in
the issue description
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/kubernetes/features/issues/82#issuecomment-244454343,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJ6NAYxpVhiAWiYkbHlRBNiQRzX9sJwqks5qmGwegaJpZM4JtiRN
.

@quinton-hoole   Thanks for the heads up.

@quinton-hoole Can you add the docs PR to this issue when it's ready to review?

@nikhiljindal Another ping on docs. Any PRs you can point me to?

Filed https://github.com/kubernetes/kubernetes.github.io/issues/1215 for all federation docs

Released alpha in v1.4


Updated my scenario and now it seems to have been removed from the download list

Just tried to update the title, though the root folder should have been the same name, so I'm not sure why it's not showing up on the list.
https://github.com/bluefishj/TheExperiment

Did you change the folder location in the repo by any chance?
Try now! Seems to be working.

Thanks!