Run tests on commits

lint:
luacheck . --exclude-files mq-definitions
test:
lua ezmq_test.lua
Not a lot of tests exists currently, but would at least catch some parse errors and incorrect includes

This might require some test runner implementation to allow build to fail on failed test while running all of them.
ie https://martin-fieber.de/blog/how-to-test-your-lua/


Rewrite README

The goal is to give as much information a beginner needs in an understandable format, assuming as little background as possible.
The current README will be subsumed. Presumably a short overview will go in the README, and a fuller overview as the wiki's start page.

As I understood from the wiki page, Apropos' main goal is to generate property tests.
I think that the README or wiki page should answer the following questions:

How can you be sure that Apropos generates all the tests you need?
How to interpret the output after running the tests?


Expose stream descriptions beyond subscriptions popup

Each stream (optionally?) has a description, but this isn't particularly visible except in the settings window/popup for subscribing to streams.
I'd suggest:

at least, having a "tooltip" appear when hovering over streams, which shows the description;
perhaps also having the same tips appear elsewhere, such as when hovering over narrowed streams (in the 'location' bar at the top?)

I completely agree we should expose this more visibly.  Putting it in the "left sidebar" stream menu would be easy and probably help, but also I don't feel fully solves the problem.
(I'm not sure what you mean by tooltip here -- are you thinking on the left sidebar, or the message feed?)
Note that stream descriptions support markdown, so we need to be somewhat thoughtful about display.
I think if we can find space for it, it could be nice to put it in the navbar area; might be something to consider as we revise the navbar area design.  CC @brockwhittaker.

By tooltip, I meant a box that appears in a 'layer' above the regular UI temporarily, with some contextual content - and yes, when over a particular stream (title) in the left sidebar, though also over a narrowed stream name could work (above the message feed).

@zulipbot claim

Still working on this!

Currently we're discussing whether we should put the descriptions to the chevron menu/navbar instead, in addition to having them in the streams menu.


python -m sounddevice crashes the python.exe process

There is no exception our backtrace in the output, just the standard window dialog pop-up "python.exe has stopped working".
I've narrowed it down to sounddevice.py:2731 stdio = _ffi.dlopen(None)
I tried this both with python 2.7 as well as 3.7 (both 64-bit).
Running on Windows 10 64-bit.

Thanks for the report!
Can you please run the following code and tell me what happens?
from cffi import FFI
ffi = FFI()
lib = ffi.dlopen(None)
print(lib)

<cffi.api.FFILibrary object at 0x000000000453A3C8>
No crash during this test. However, I've noticed that _sounddevice.py imports FFI via the binary file _cffi_backend.pyd rather than from the cffi as in your example.

Thanks for the test!
Since that didn't expose the error, we'll have to dig deeper.
Can you please run the following code (which now uses _cffi_backend)?
import _cffi_backend
ffi = _cffi_backend.FFI('_dummy',
    _version = 0x2601,
    _types = b'\x00\x00\x05\x0D\x00\x00\x08\x03\x00\x00\x01\x11\x00\x00\x00\x0F\x00\x00\x09\x0D\x00\x00\x07\x03\x00\x00\x00\x0F\x00\x00\x00\x09\x00\x00\x02\x01\x00\x00\x07\x01',
    _globals = (b'\x00\x00\x05\x21__stderrp',0,b'\x00\x00\x04\x23fclose',0,b'\x00\x00\x00\x23fopen',0,b'\x00\x00\x05\x21stderr',0),
    _struct_unions = ((b'\x00\x00\x00\x07\x00\x00\x00\x10_IO_FILE',),),
    _typenames = (b'\x00\x00\x00\x07FILE',),
)
stdio = ffi.dlopen(None)
print(stdio)

Crashes

Great, now we have a much smaller test case!
Maybe we can reduce it even more:
import _cffi_backend
ffi = _cffi_backend.FFI()
stdio = ffi.dlopen(None)
print(stdio)

What does this do?
What if you replace None with some string, like e.g. ffi.dlopen('nonsense')?
What if you replace it by the empty string?
What version of CFFI are you using?
Can you upgrade CFFI (latest release is 1.14.0)?

Example above using None still crashes. Nonsensical inputs return "OSError:  cannot load library" as expected. Seems to be the problem with loading the C standard library or maybe any actual library that is found (at least judging from looking at the cffi/api.py which i assume this is a binary precompiled version of - haven't looked into how this works yet).

I'm already on the latest version of cffi.

This is interesting from the cffi documentation:
"Python 3 on Windows: ffi.dlopen(None) does not work. This problem is messy and not really fixable. The problem does not occur if you try to call a function from a specific DLL that exists on your system: then you use ffi.dlopen("path.dll")."
https://cffi.readthedocs.io/en/latest/overview.html#main-mode-of-usage

It's interesting though, that dlopen(None) actually works when you use the scripting api directly, but not when you go via this precompiled backend or whatever this is meant to be. Either way looks like you might need a workaround at the very least for python 3, as according to the documentation it's not supposed to work anyway.

I know that dlopen(None) is not supposed to work on Windows.
But I expected an exception to be thrown instead of crashing the Python interpreter.
Pure Python code should never crash, so there must be a bug somewhere, probably in CFFI or in one of its dependencies.
I've asked about this on the CFFI mailing list: https://groups.google.com/g/python-cffi/c/5DgTyV0DAas
In the meantime, you could try whether the crash also happens with older CFFI versions.

Of course pure python code should not crash the interpreter, but in this case we are not dealing with a pure python code, we are dealing with a precompiled dll (_cffi_backend.pyd) so it is completely reasonable that it might crash the interpreter. In this case it must be either A) a bug the precompiled code or B) a binary incompatibility between the precompiled code in my system. The suggestion in the mailing list reply seems reasonable - I've seen NULL pointer into "%s" crash before.
On a side note, if you know that dlopen(None) is not supposed to work on windows, but sounddevice still calls it, then clearly it is expected to do nothing and another workaround would be to simply not call it on windows.

For what it's worth, I get OSError: cannot load library '<None>': error 0x57 (no crashes) from both of the first two test cases above.
Python 2.7.15 (v2.7.15:ca079a3ea3, Apr 30 2018, 16:30:26) [MSC v.1500 64 bit (AMD64)] on win32
cffi==1.12.3
Windows 10 Pro 1903

But it makes sense to just add a check to bypass that path if it is not supposed to work on windows.

Here's Armin's answer from the mailing list:

Thanks, I've added some explicit checks. Note that I couldn't
reproduce on my Windows 10 machine, where it ends with a clean OSError
but with a somewhat obscure error message. Maybe the difference is
that I tried with a version compiled on my own, and the automatic
builders make a version that is linked with a different libc. The
error message is formatted with "%s" but in this case the pointer is
NULL. Maybe that causes only some of the versions of libc to crash...
Anyway, I've added a check and complain explicitly now before even
trying to call the Windows LoadLibrary() API.

The check he mentioned is here: https://foss.heptapod.net/pypy/cffi/-/commit/0c0a5c48f034a3bc191563c2d504f0a8d66797a4

BTW, @ileben and @daanzu, since both of you seem to be using Python 2.7: Python 2.x support will be dropped with the next release of the sounddevice module.

@mgeier Fair enough. Thanks for the heads up, and for the great package.

A few weeks ago it was working well to me, then now is coming out this issue. The significant change I had since then.. I opted -in to Windows Insider's builds, (because I needed WLS2 + gpu features) and ... the changes which I get in my PC now looks like it causes to come out this issue. I don't know what will happen when the next update of Windows, came out to large audience, somewhere in April or May. Does that cause some larger scale implications or not?!
I don't know how I could test a kind of future release of sounddevice, with Python 2.x support removed. Does that solves the issue or not?


Virtual tables

The data request has a "virtual table" concept, such as:

All the Request Variable records linked to Request variable group = ISMIP6-ImonGRE

Can something be added to make it possible to download such virtual tables defined by a simple query?

https://<IP_ADDRESS>/requestVar/ now includes a filter for request variable group, this is done via a drop down menu.
This is applied to the results on the web page as well as the downloaded data.
You can filter the results programmatically by including the id of the request variable group in the URL
https://<IP_ADDRESS>/requestVar/?requestVarGroup=188bc360-c5ee-11e6-9285-ac72891c3257&format=csv
Do you have a list of queries that you would like to make?


Query Request Implementation

Datacash query request implementation.
For reference: https://datacash.custhelp.com/app/answers/detail/a_id/1037/~/using-the-query-transaction

Hi there, thank you for the pull request.
I'm so sorry it's taken so long to respond.
I think you're changes are basically okay - changing the syntax of the array initialisation is fine. However, I think there needs to be a little bit of documentation. Specifically:
It's not clear whether the request uses a datacash reference or a merchant reference, or if either will work. It sends "$this->getTransactionReference()" in the request, but it's not clear which of those references can be used. Could you add a comment before that line just to explain what values are accepted?
Could you document the new request in the "Basic Usage" section of the README.md file?

I've just checked what "getTransactionReference()" returns, and it's the datacash_reference.
Therefore, could you document in the request class and in the README.md that it only passes the datacash_reference? Thanks!


Add speakers to open/closing talks

Not sure if worth it, but saw they had "Unknown"
Thanks!

Thank you!
Any contribution is worth it and welcome.


feat(core): add api locking interface POC

WIP
Type of Change

[ ] Bugfix
[x] New feature
[ ] Enhancement
[ ] Refactoring
[ ] Dependency updates

Description

This PR contains the functions used for API locking.
Additional Changes

[ ] This PR modifies the database schema
[ ] This PR modifies application configuration/environment variables

Motivation and Context

Api locking is required to prevent threads from modifying the same resource simultaneously.
How did you test it?

Checklist

[x] I formatted the code cargo +nightly fmt --all
[x] I addressed lints thrown by cargo clippy
[ ] I reviewed submitted code
[ ] I added unit tests for my changes where possible
[ ] I added a CHANGELOG entry if applicable

This is being worked on again by @Abhicodes-crypto


adding hover over enhancement

Earlier in Kivy-Designer we had to click on each DesignerActionGroup button to open it, we couldn't open it just by hovering over it via mouse.
This pr solves this.

Hi @kiok46 ,
Your pr looks good.
Please, just add some comments/docs about these new class attributes(like any property, what it does and its type) and new methods. And if possible, some source code comments may help new contributors ;)
Thx

Hi! @aron-bordin, see if it's ok now :)

Testing it, I realized that it's necessary to check if there is an open popup, or just identify if all action groups are closed to disable to_open
For example, go to Run -> Edit Profiles .... You will see a popup. Now, move the mouse on action bar. The action groups are opening. In such cases to_open should be set to False to avoid these issues.

Hey! @aron-bordin
I have made the changes, tell me if you want me to squash them.

Awesome @kiok46 , thx again :+1:

@aron-bordin  I enjoyed  :smile: , welcome


Add tests for Character semantics in regex matching

Several of these tests are xfail'd, as we haven't implemented this
level of character semantics yet.

@swift-ci Please test

@swift-ci Please test Linux platform

@swift-ci Please test Linux platform


.well-known/openid-configuration

Hi,
are there any plans to support the .well-known/openid-configuration endpoint of a openid connect server? It should simplify setup somewhat.
Regards,
Daníel

@danielbsig – that's a great idea. I've been planning to circle back and flesh out this lib for quite a while. Can't make promises on timing until the new docs are done. We desperately need complete, up to date docs.
Thanks!

Perhaps there are bits that could be useful here: https://github.com/IdentityModel/oidc-client. The author of that library is planning a rewrite to allow it to be both a client library as well as a server library. Maybe some collaboration could make this easier?

...when you say "we desperately need complete, up to date docs", are you referring to OpenID Connect docs?

Referring to Anvil Connect docs.

@danielbsig latest release includes support for .well-known/openid-configuration via .discover().

Excellent, thanks!


Add documentation for newly added metrics

The metrics documentation website page needs to be updated for all newly added metrics: https://opensearch.org/docs/latest/monitoring-plugins/pa/reference/
This can be done by modifying https://github.com/opensearch-project/documentation-website/blob/main/_monitoring-plugins/pa/reference.md
The following metrics need to be added to the documentation website:
@dhwanilpatel
#466

[ ] Data_RetryingPendingTasksCount
[ ] Master_ThrottledPendingTasksCount

@amathur1893
#436

[ ] Shard_State

#470

[ ] LeaderCheck_Latency
[ ] FollowerCheck_Failure
[ ] LeaderCheck_Failure
[ ] FollowerCheck_Latency

#563

[ ] ClusterApplierService_Latency
[ ] ClusterApplierService_Failure

#584

[ ] PublishClusterState_Latency
[ ] PublishClusterState_Failure

@psychbot
#560

[ ] Indexing_Pressure_Current_Limits
[ ] Indexing_Pressure_Current_Bytes
[ ] Indexing_Pressure_Last_Successful_Timestamp
[ ] Indexing_Pressure_Rejection_Count
[ ] Indexing_Pressure_Average_Window_Throughput

@mitalawachat
#571

[ ] AdmissionControl_ThresholdValue
[ ] AdmissionControl_RejectionCount
[ ] AdmissionControl_CurrentValue

@meetshah777
#583

[ ] Election_Term

@eirsep
#70

[ ] Thread_Waited_Event
[ ] Thread_Waited_Time

Reached out to individual contributors for providing documentation update.


speed

The library works great, however im curious if there are ways to improve the rendering speed.  I'm getting like 3fps. It's a armv5 machine
Thanks,

If you have different format source / destination frame buffers, then Golang's draw.Draw() falls back to the slower path and uses the image.Image and the color.Color interface at each pixel, which is unfortunately the price one has to pay to gain flexibility at reduced code complexity.
Ahmet

Can you elaborate on the source/destination? You mean like image format types?
What would be the correct source type to have it render at a decent speed? I can literally watch it draw each line on the screen ;p
Thanks for your work, I'm really hoping to use it!

I meant the src / dst image.Image arguments to the draw.Draw() function.
I guess you're trying to show a GIF animation where each src frame from the decoded GIF is copied to the dst frame, one after another, correct?
So if you have enough system memory, you could render the entire GIF animation to frame buffers of the same type, that you got from framebuffer.Open().
Then you could basically use the builtin copy function and be done here.
Another option is, if you have a lot of video memory and even can change the displayed resolution to a lower one while having a bigger virtual resolution, to render all GIF frames to the video frame buffer side by side and if supported by the video driver, simply call the FBIOPAN_DISPLAY ioctl to switch the output between the frames.
Panning is usually instantaneous and if implemented correctly, done at the vertical retrace and therefore you would have a very smooth animation.
I really do love Golang, but for this kind of thing, where I need the highest performance while keeping the flexibility, I always return back to C++ and template code.
I will give it some time and thought if I can improve things, but I can give no promises ;-)
Ahmet


CSS is not applied in Docker image

Describe the bug
CSS style is not applied.
To Reproduce
Run the docker version :
docker run -it -p 8080:8080 -v `pwd`/mydata:/label-studio/data heartexlabs/label-studio:latest`

Expected behavior
Having CSS style.
Screenshots

Environment

OS: Ubuntu 18.04
Chromium 89
Docker
Label Studio Version "latest"

@flavienbwk what domain do you use for LS? Does it have subpath? E.g. domain.com/foo

I'm on localhost:8080

Are you sure you are using LS 1.0.1? Please, check /version page in browser.

I edited the title, it is about the latest image of Docker, 1.0.1 works well. For latest :
{
  "package": {
    "version": "1.0.1",
    "short_version": "1.0",
    "latest_version_from_pypi": "1.0.1",
    "latest_version_upload_time": "2021-04-05T19:13:41",
    "current_version_is_outdated": false
  },
  "backend": {},
  "label-studio-frontend": {
    "commit": "5164462ced2fe8a0bbdd7cd9c4a5bec3772577ab",
    "branch": "master",
    "date": "2021-03-31T10:57:00Z"
  },
  "dm2": {
    "commit": "7751a996682f145d651123af27286f4f392c293c",
    "branch": "master",
    "date": "2021-04-02T13:15:22Z"
  }
}

And I have this in my console :
[2021-04-11 23:26:58,562] [root::_read_py::52] [ERROR] Can't read version file: version_.py
[2021-04-11 23:26:58,562] [root::_read_py::53] [ERROR] No module named 'version_'

I build dokcer image from the latest master source on my local server, I got the same error with @flavienbwk mentioned above.
[2021-04-11 23:26:58,562] [root::_read_py::52] [ERROR] Can't read version file: version_.py
[2021-04-11 23:26:58,562] [root::_read_py::53] [ERROR] No module named 'version_'

but  finally I got the docker image build success and the error happend in console when I run the docker.  logs as follow:
  Applying io_storages.0003_localfilesimportstorage... OK
  Applying ml.0001_initial... OK
  Applying ml.0002_auto_20210308_1559... OK
  Applying ml.0003_auto_20210309_1239... OK
  Applying organizations.0002_auto_20210310_2044... OK
  Applying sessions.0001_initial... OK
  Applying users.0002_auto_20210308_1559... OK
  Applying users.0003_user_active_organization... OK
=> Run /bin/sh -c bash /label-studio/deploy/start_label_studio.sh...
Make simple Label Studio launch...
=> Database and media directory: /label-studio/data
=> Static URL is set to: /static/

[2021-04-12 05:55:57,958] [root::_read_py::52] [ERROR] Can't read version file: version_.py
[2021-04-12 05:55:57,958] [root::_read_py::53] [ERROR] No module named 'version_'
[2021-04-12 05:55:58,261] [root::_read_py::52] [ERROR] Can't read version file: version_.py
[2021-04-12 05:55:58,262] [root::_read_py::53] [ERROR] No module named 'version_'
Start browser at URL: http://localhost:8080
Performing system checks...

System check identified no issues (0 silenced).
 To overcome it, simply run
python label_studio/core/version.py

right before running docker build command.
Do you also have that missed CSS issue?

@flavienbwk could you please pull again the latest docker image? :latest tag always points to the head of the master branch, so maybe your local version is a bit outdated

I want to use label_studio directly locally, I press F5 to run the server.py. I also got the same error with @flavienbwk mentioned above.

@Shumeng-edge it's another kind of the problem Looks like you have to collectstatic before LS run:
DJANGO_SETTINGS_MODULE=htx.settings.label_studio python ./label_studio/manage.py collectstatic

Seem to work now.

@silverlining21 ,
The [ERROR] you face only affects /version endpoint, but shouldn't break other things somehow. To overcome it, simply run
python label_studio/core/version.py

right before running docker build command.
Do you also have that missed CSS issue?

It did not affect using LS's  function.


UI improvement for tagging instances

We run a multi-tenant cluster at my company. When onboarding a new table or scaling up resources for an existing table, we have to tag newly provisioned servers under the table's tenant, but currently the process is a bit tedious requiring the user to open the page for all the instances and edit the tags in the UI or run a script that calls the API.
An enhancement I can think of is to a Tag Brokers, Tag Realtime Servers, and Tag Offline Servers button to the Tenant page. When clicked, this would bring up a popup modal with a list of all the broker / server instances in the cluster, and the ones currently tagged would be "checked". The users could update which are checked.

Any thoughts / feedback on this would be appreciated, thanks!

Closing this issue, ended up handling this internally be specifying an environment variable on the pod which would register it to that tenant on startup.


spin deploy without -k causes blocking error

><> spin deploy
thread 'main' panicked at 'Unable to log into Hippo: error in reqwest: error sending request for url (https://localhost:5309/api/account/createtoken): error trying to connect: error:0A000086:SSL routines:tls_post_process_server_certificate:certificate verify failed:../ssl/statem/statem_clnt.c:1883: (self-signed certificate)', /home/bacongobbler/code/spin/src/commands/deploy.rs:244:23
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

><> spin deploy -k
thread 'main' panicked at 'Unable to create and push bindle from Spin app: Failed to push bindle to server

Caused by:
    Bindle spin-hello-world/1.0.0 already exists on the server', /home/bacongobbler/code/spin/src/commands/deploy.rs:110:14
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

This occurs because spin deploy will happily push the invoice to bindle, but then it will not update Hippo. This is because Bindle is listening for HTTP requests while Hippo is listening for HTTPS requests, and I do not have my local certificate chain set up properly.
In this case, I've pushed the invoice to Bindle but due to a configuration mismatch, I cannot proceed. IMO spin deploy should catch the "already exists" error and either continue or prompt the user if they wish to proceed, possibly with some information about the module they are about to deploy.

There was a recent change in Spin that does not allow Spin to push a bindle if it already exists on the server. This is the relevant PR: https://github.com/fermyon/spin/pull/459
It's be nice to use a hash (hash of the generated invoice) as the tag/version of the bindle so we can push if there are actual changes to the app. Otherwise, we can use the bindle that already exists. Would Hippo support that kind of tag? I probably need to look and see if Bindle even supports that kind of workflow.

I think this issue contains a few different topics we might want to split out.

I believe Hippo would indeed support that kind of tag. The ChannelRevisionSelectionStrategy might not, but if we're using the UseSelectedRevision strategy, we're golden

@michelleN What's the context of the 'already exists' issue?  Is it a problem for redeploying the same bindle (in which case we can try to make the error checking smarter), or is it for when you deploy a new bindle but don't change the revision (in which case the error is unavoidable because Bindle doesn't allow this)?

It is the latter case @itowlson. The deploy logic was temporarily taking advantage of the bindle server allowing multiple post requests with the same bindle version.

@bacongobbler I saw that I don't need to use the -k flag anymore on spin. Do you know what changed?

We stopped serving things over HTTPS. Everything's over HTTP now

Thank you! Closing this issue now.


Raspberry + HomeAssistant

First fo all, thanks for your work.
I would like to use your project to integrate the Aqara camera into HA.
But I have one question, should I need to have this proxy running always on on the raspy ?
I dont understant how it works... It's not just the token.. I need the service up , right?
Is there any solution to have it always up after restart/reboot of the raspy?
Thanks in advance

You can check the tutorial here:
https://community.home-assistant.io/t/new-xiaomi-aqara-camera-gateway/36108/113?u=sendorm


Add Azure OpenAI support

@CodiumAI-Agent

Preparing review...

PR Analysis

🎯 Main theme: Adding support for Azure OpenAI in the AI handler
🔍 Description and title: No
📌 Type of PR: Enhancement
🧪 Relevant tests added: No
✨ Minimal and focused: Yes, the PR is focused on adding support for Azure OpenAI and all changes are relevant to this theme.
🔒 Security concerns: No, the PR does not introduce any obvious security concerns. However, it is important to ensure that the new settings variables are stored securely and not exposed in any logs or error messages.

PR Feedback

💡 General PR suggestions: The PR lacks a description which is important for understanding the context and the reason for the changes. It is also missing tests for the new functionality. It would be beneficial to add tests to ensure the new functionality works as expected and does not break in the future.

🤖 Code suggestions:

relevant file: pr_agent/algo/ai_handler.py
suggestion content: Consider adding error handling for the new settings variables. If these are not set correctly in the settings file, the application may crash or behave unexpectedly. [important]

relevant file: pr_agent/settings/.secrets_template.toml
suggestion content: Consider adding comments to explain what each new setting is for and how to get the values. This will make it easier for others to use and configure the application. [medium]

relevant file: pr_agent/algo/ai_handler.py
suggestion content: Consider refactoring the initialization of the OpenAI settings into a separate method. This will make the code more modular and easier to read and maintain. [medium]

relevant file: pr_agent/algo/ai_handler.py
suggestion content: Consider adding a check to ensure that the correct API type is set before setting the other Azure OpenAI settings. This will prevent potential errors if the wrong API type is set. [important]

How to use

Tag me in a comment '@CodiumAI-Agent' to ask for a new review after you update the PR.
You can also tag me and ask any question, for example '@CodiumAI-Agent is the PR ready for merge?'

@CodiumAI-Agent Does the PR include tests for the new feature?

Preparing answer...

Question: Does the PR include tests for the new feature?
Answer:
The PR does not include any tests for the new feature. It's important to include tests when adding new features to ensure they work as expected and do not break existing functionality. The developer should consider adding tests that check if the Azure OpenAI support works correctly, for instance, by mocking the Azure OpenAI responses and checking if the AiHandler class handles them correctly.


Compile error: Can't build benchmark tests

Running cargo bench yields the following error:

Compiling crust v0.2.3 (file:///I:/MaidSafe/Rust/SuperProject/Crust)

benches\connection_manager.rs:46:14: 46:68 error: no method named `start_listening` found for type `crust::connection_manager::ConnectionManager` in the current scope
benches\connection_manager.rs:46     match cm.start_listening(vec![Port::Tcp(cm_listen_port)], None) {
                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
benches\connection_manager.rs:48:16: 48:24 error: the type of this value must be known in this context
benches\connection_manager.rs:48             if result.0.len() > 0 {
                                                ^~~~~~~~
benches\connection_manager.rs:67:16: 67:75 error: no method named `start_listening` found for type `crust::connection_manager::ConnectionManager` in the current scope
benches\connection_manager.rs:67   match cm_aux.start_listening(vec![Port::Tcp(cm_listen_port - 10)], None) {
                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
benches\connection_manager.rs:69:12: 69:20 error: the type of this value must be known in this context
benches\connection_manager.rs:69         if result.0.len() > 0 {
                                            ^~~~~~~~
error: aborting due to 4 previous errors
Could not compile `crust`.

It looks like the benches have not been updated to match changes that happened in the library. I am taking a look at fixing this.

Should this bench be based on the connection_manager_start function in src/connection_manager.rs?

HI @dcampbell24, sorry for not responding sooner. I only recently had a look at why the test was failing to compile, there have been few API changes that caused this. On top of that, the ConnectionManagers must be started without any network activity (specially beacon discovery) for which we haven't yet had API in crust. Hopefully it is fixed now (works for me locally).

Fixed in #305

@inetic no worries. Thanks for providing some insight into what happened and fixing it.


When sending batch requests, it only works intially but then stops getting request

Description
When sending batch of requests. It works the first time and the kafka endpoint receives the batch. But after the first batch it stops receiving anything.
How to reproduce
using (var context = new ContextFactory())
        {
            var items = new List<string> { "test data 1", "test data 2" };// in reality these are json files
            List<Task> pushKafaTasks = (from bm in items
                                        select kafkaContext.SimplePushAsync("mytopic", bm.Value)).ToList();

            Task everything = Task.WhenAll(pushKafaTasks).ContinueWith(t =>
            {
                if (t.Status != TaskStatus.Faulted)
                {
                    // do some work here if the batch was completed successfully
                }
                else
                {
                    //log error
                }
            });
        }

public class ContextFactory
{
    private static string kafkaEndpoint = "xx.xx.xx.xx:9092";
    private Producer<Null, string> producer;
    public ContextFactory()
    {
        var config = new Dictionary<string, object> {
                            { "bootstrap.servers", kafkaEndpoint },
                            { "queue.buffering.max.ms", 5000 },
                            { "queue.buffering.max.kbytes", 10240 },
                            { "socket.blocking.max.ms", 1 },
                            { "message.send.max.retries", 0 },
                            { "default.topic.config", new Dictionary<string, object>
                                {
                                    { "message.timeout.ms", 1000 },
                                    { "request.required.acks", "1" },
                                }
                            }
                        };
        producer = new Producer<Null, string>(config, null, new StringSerializer(Encoding.UTF8));

    }

    public void Flush()
    {
        producer.Flush(10);
    }

    public async Task SimplePushAsync(string queue, string data)
    {
        await producer.ProduceAsync(queue, null, data);
    }

    public async Task<Tuple<string, object>> PushAsync(string queue, string data, object obj)
    {
        var deliveryReport = await producer.ProduceAsync(queue, null, data);
        var error = deliveryReport.Error.Reason;

        return new Tuple<string, object>(error, obj);
    }

    public string Push(string queue, string data)
    {
        var deliveryReport = producer.ProduceAsync(queue, null, data).Result;
        var error = deliveryReport.Error.Reason;

        return error;
    }

    public void Dispose()
    {
        producer.Dispose();
    }
}

Checklist
Please provide the following information:

[ ] Confluent.Kafka nuget version: 0.11.5, 0.11.2
[ ] Apache Kafka version:
[ ] Client configuration:
[ ] Operating system: Produces is running on Windows 7
[ ] Provide logs (with "debug" : "..." as necessary in configuration)
[ ] Provide broker log excerpts
[ ] Critical issue

The code t.Status != TaskStatus.Faulted will not operate as you expect as the 0.11.5 client never sets the Task exception (errors are set in the Error property of the result). This is changed to behave the way you expect in the 1.0-experimental-7 package. For new development, I'd recommend using this. We're currently busy turning this into a more legitimate release. Other than the above, I don't immediately see the problem. Having switched to 1.0-experimental, can you then provide a complete program that all i need to do is copy/paste/run? then I'll debug it. thanks!

@mhowlett , thanks for the quick response. A friend helped me find the root cause. If I just keep the default configurations the above code works perfectly fine. I even tried with a batch of 10k records and it worked like a charm.
So, basically just had to do this..
            var config = new Dictionary<string, object> {
                    { "bootstrap.servers", kafkaEndpoint }
                };
            producer = new Producer<Null, string>(config, null, new StringSerializer(Encoding.UTF8));


Hide Guidelines 2.0 patterns on Guidelines 3.0 branch

Related to https://github.com/db-ui/core/issues/71 & https://github.com/db-ui/base/issues/69

This isn't relevant anymore, as we'll be mainly documenting within the Marketingportal for Guidelines 3.0


KYC Match : CountryMatchScore makes no sense

In the current list of attributes for which a MatchScore can be supplied in case the Match is false, also Country is included.
Country is however now become formatted as ISO 3166-1 alpha-2, so I don't think it makes much sense here to supply a MatchScore anymore

@HuubAppelboom, I wonder if we should not apply the same rules for streetNumber and remove streetNameMatchScore as it will be done for countryCode and postalCode.
BR
Gilles

@GillesInnov35 Do you mean streetNameMatchScore or streetNumberMatchScore ?
For streetNameMatchScore we definitely see a need to provide it, since streetName may contain spelling mistakes.
For streetNumberMatchScore we had some doubts, but since it is now defined as a  string people may enter here what we consider the houseNumberExtension.
We think that maybe it is better to see how people will use it, and we can always remove it in future when it is not being used.
In retrospect it may have been better to define streetNumber as an integer as wel...
Best regards
Huub

thanks Huub, yes it concerns streetNumberMatchScore (sorry for the mistake).
As you say, if streetNumber moves to an a integer type, streetNumberMatchScore should not be useful. TMF geographicAddress's design proposes a streetNrSuffix, currently there's no streetNumberSuffix in kyc-match design. It means that streetNumber should remain a string type (perhaps). We can see how streetNumber will be managed as you propose.
BR
Gilles

Yes, and we also have still houseNumberExtension that parties can use


[firefox only?] upload page time input issues

[ ] For the month field, if you click it and try to start typing a month, such as '10', '11' or '12', as soon as you press '1' it instantly assumes it is the 1st month and jumps straight to the day slot (the day slot doesn't do this and awaits an additional input).

[ ] For the minute field, it is possible to input more than 2 digits consecutively, and a number greater than 59. Although we can manually check this, I believe this is a major bug for Odysee.

[ ] If using 24 hour clock in settings, also show options in this format (nice to have)

_ jumps straight to the day slot _

It is actually due to the year being 2022 + we disallow any future dates, so month=12 is deemed invalid right now, thus it jumps straight to the next field when 1 is entered.
Perhaps we should move the date restriction out of the widget -- let users put anything, then put an error message outside of the widget for any future dates.

For the minute field, it is possible to input more than 2 digits consecutively, and a number greater than 59. Although we can manually check this, I believe this is a major bug for Odysee.

The widget currently highlights it red, and we don't actually update the redux field, so it is still set to the last valid value.  I don't think the invalid value hits the API (phew), but agree that this is not obvious to the user.  Will try to put that into a sentence rather than a super dim red background.


Fix issue #85

Changes Attribute.attach to only define the 'has' property if it doesn't already exist.
Note: I'm not sure why this is actually even needed. I don't see Type.has referenced anywhere. Where is this code from?

It's kinda needed. It's part of public API introduced in 1.0, intended to replace .options.
http://volicon.github.io/backbone.nestedTypes/#attribute-options
As I said, when I replace underscore with lodash I don't see an error you described. Could you provide me an access to your page with that error?

Closing - See #85


Problems running large PCAs

I'm having problems running a PCA across the whole of the Ag3 resource. I'm running on a dask cluster with ~100 workers, all goes fine through the initial allele counts stage, but then the cluster grinds to a halt I think during the computation of the biallelic diplotypes.
I eventually got an error message about jobs being retried and failing multiple times, and have an associated stack trace for one of the workers where the job failed, here is an extract:
File "/opt/coiled/env/lib/python3.12/site-packages/allel/abc.py", line 40, in __getattr__
return getattr(self.values, item)
^^^^^^^^^^^
File "/opt/coiled/env/lib/python3.12/site-packages/allel/abc.py", line 26, in values
return self._values
^^^^^^^^^^^^
File "/opt/coiled/env/lib/python3.12/site-packages/allel/abc.py", line 40, in __getattr__
return getattr(self.values, item)
^^^^^^^^^^^
File "/opt/coiled/env/lib/python3.12/site-packages/allel/abc.py", line 26, in values
return self._values
^^^^^^^^^^^^
File "/opt/coiled/env/lib/python3.12/site-packages/allel/abc.py", line 40, in __getattr__
return getattr(self.values, item)
^^^^^^^^^^^
File "/opt/coiled/env/lib/python3.12/site-packages/allel/abc.py", line 26, in values
return self._values
^^^^^^^^^^^^
RecursionError: maximum recursion depth exceeded
distributed.worker - INFO - Stopping worker at tls://<IP_ADDRESS>:40125. Reason: check-worker-ttl-1726482783.8158462
distributed.worker - ERROR - failed during get data with tls://<IP_ADDRESS>:40125 -> tls://<IP_ADDRESS>:44005

Full trace: gsu-vector-team-ca83e1d6-worker-30873129b3-instance.txt
My guess is that there is a recursion error triggered when objects are being pickled and unpickled for transfer between dask workers. This is associated with scikit-allel array wrapper objects, which could be e.g. an instance of AlleleCountsArray or GenotypeArray. Confirming that this does occur, this code:
import allel
import pickle

ac = allel.AlleleCountsArray(
    [[0, 10], [5, 5]]
)
pickle.loads(pickle.dumps(ac))

...gerates this trace:
---------------------------------------------------------------------------
RecursionError                            Traceback (most recent call last)
Cell In[3], line 7
      2 import pickle
      4 ac = allel.AlleleCountsArray(
      5     [[0, 10], [5, 5]]
      6 )
----> 7 pickle.loads(pickle.dumps(ac))

File /home/conda/global/ed168cff47e4d286b98549fb3c35a1f734f57225dd106a89340e6bb53ac0ae59-20240915-075204-087108-72-mgenv-6.0.0/lib/python3.12/site-packages/allel/abc.py:40, in ArrayWrapper.__getattr__(self, item)
     36 if item in {'__array_struct__', '__array_interface__'}:
     37     # don't pass these through because we want to use __array__ to control numpy
     38     # behaviour
     39     raise AttributeError
---> 40 return getattr(self.values, item)

File /home/conda/global/ed168cff47e4d286b98549fb3c35a1f734f57225dd106a89340e6bb53ac0ae59-20240915-075204-087108-72-mgenv-6.0.0/lib/python3.12/site-packages/allel/abc.py:26, in ArrayWrapper.values(self)
     17 @property
     18 def values(self):
     19     """The underlying array of values.
     20
     21     Returns
   (...)
     24
     25     """
---> 26     return self._values

File /home/conda/global/ed168cff47e4d286b98549fb3c35a1f734f57225dd106a89340e6bb53ac0ae59-20240915-075204-087108-72-mgenv-6.0.0/lib/python3.12/site-packages/allel/abc.py:40, in ArrayWrapper.__getattr__(self, item)
     36 if item in {'__array_struct__', '__array_interface__'}:
     37     # don't pass these through because we want to use __array__ to control numpy
     38     # behaviour
     39     raise AttributeError
---> 40 return getattr(self.values, item)

File /home/conda/global/ed168cff47e4d286b98549fb3c35a1f734f57225dd106a89340e6bb53ac0ae59-20240915-075204-087108-72-mgenv-6.0.0/lib/python3.12/site-packages/allel/abc.py:26, in ArrayWrapper.values(self)
     17 @property
     18 def values(self):
     19     """The underlying array of values.
     20
     21     Returns
   (...)
     24
     25     """
---> 26     return self._values

    [... skipping similar frames: ArrayWrapper.__getattr__ at line 40 (1486 times), ArrayWrapper.values at line 26 (1485 times)]

File /home/conda/global/ed168cff47e4d286b98549fb3c35a1f734f57225dd106a89340e6bb53ac0ae59-20240915-075204-087108-72-mgenv-6.0.0/lib/python3.12/site-packages/allel/abc.py:26, in ArrayWrapper.values(self)
     17 @property
     18 def values(self):
     19     """The underlying array of values.
     20
     21     Returns
   (...)
     24
     25     """
---> 26     return self._values

File /home/conda/global/ed168cff47e4d286b98549fb3c35a1f734f57225dd106a89340e6bb53ac0ae59-20240915-075204-087108-72-mgenv-6.0.0/lib/python3.12/site-packages/allel/abc.py:40, in ArrayWrapper.__getattr__(self, item)
     36 if item in {'__array_struct__', '__array_interface__'}:
     37     # don't pass these through because we want to use __array__ to control numpy
     38     # behaviour
     39     raise AttributeError
---> 40 return getattr(self.values, item)

RecursionError: maximum recursion depth exceeded

Raising here as it prevents large PCAs from being run, but the fix probably needs to happen upstream in scikit-allel.

Unfortunately this is still not resolved. I've fixed the upstream issue https://github.com/cggh/scikit-allel/issues/424 but in doing so have created a new bug https://github.com/cggh/scikit-allel/issues/426. Working on a fix now.

After upgrading to scikit-allel v1.3.13 I have managed to run a PCA of all Ag3 samples up to and including Ag3.13 (21,666) almost all the way to the end. All of the data preparation steps complete. But then the SVD calculation fails with:
svd ValueError: Indexing a matrix of<PHONE_NUMBER> elements would incur an in integer overflow in LAPACK.

It looks like the underlying SVD implementation uses 32-bit integers and so cannot handle input data with more than 2,147,483,647 elements. We will hit this with ~20,000 samples and ~100,000 SNPs. This doesn't look easy to resolve, so the workaround will have to be run with less SNPs.

I've managed to get a PCA of all Ag to run, so will close this one for now. Have raised a follow-up issue #607 to capture possible further improvements in making it easier to run big PCAs.


The file format is not supported. No ImagePreloader found for null

Hi,
while testing your sample.xml with fop-qrcode-zxing, the qrcode is not drawn in the pdf document and I got the following error:
SEVERE: Image not available. URI: (instream-object). Reason: org.apache.xmlgraphics.image.loader.ImageException: The file format is not supported. No ImagePreloader found for null (No context info available)

Hi!
Which version of fop are you using?
Try to add  true  to the fop.xconf.

Hi,
I'm using FOP 1.0.
I managed to get it working without using prefer-renderer in the conf but I had to implement the rendering by using org.apache.xmlgraphics.image.loader.spi.Image* instead of org.apache.fop.render.XMLHandler.
If you want, I can fork your repo to show you.

This has been quite a while – but can you still remember how you fixed this?


Morph v0.30.0 v0.36.0

Summary

add morph migration files for v0.30.0-v0.36.0.
add constraints validation for migration tests
move schema, index, and constraint info extraction in one function

Ticket Link
No ticket
Checklist

- [ ] Telemetry updated
- [ ] Gated by experimental feature flag

[x] Unit tests updated

/update-branch


use timeline profiling

Codecov Report
Attention: 9 lines in your changes are missing coverage. Please review.

Comparison is base (51515a7) 70.12% compared to head (8ce57a6) 69.99%.

Files
Patch %
Lines

...ental_experiment/torch_bench/dort_bench_profile.py
0.00%
9 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #33      +/-   ##
==========================================
- Coverage   70.12%   69.99%   -0.14%
==========================================
  Files          32       32
  Lines        4265     4273       +8
==========================================
  Hits         2991     2991
- Misses       1274     1282       +8

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Breaking changes info

For discussion of how we want to present this
Breaking changes checklist at https://github.com/fermyon/spin/issues/2815
Content must go through a pre-merge checklist.
Pre-Merge Content Checklist
This documentation has been checked to ensure that:

[ ] The title, template, and date are all set
[ ] Does this PR have a new menu item (anywhere in templates/*.hbs files) that points to a document .md that is set to publish in the future? If so please only publish the .md and .hbs changes in real-time (otherwise there will be a menu item pointing to a .md file that does not exist)
[ ] File does not use CRLF, but uses plain LF (hint: use cat -ve <filename> | grep $'\r' | wc -l and expect 0 as a result)
[ ] Has passed bart check
[ ] Has been manually tested by running in Spin/Bartholomew (hint: use PREVIEW_MODE=1 and run npm run styles to update styling)
[ ] Headings are using Title Case
[ ] Code blocks have the programming language set to properly highlight syntax and the proper copy directive
[ ] Have tested with npm run test and resolved all errors
[ ] Relates to an existing (potentially outdated) blog article? If so please add URL in blog to point to this content.

Updated HTTP info; there is one link still needed for LLM changes which I'll fill in when @karthik2804 has written them up.


fix: chunk file generation for Windows: ensure [name]-[hash].js naming

[FIX]: Extension not working on Windows
Resolves #217

@sstephanyy: Just a fyi. These are the supported keywords to link an issue and PR. This will auto-close the issue once the PR has been merged. 👍


Bug #26 : [Education Portal] Student Registration- If we set 'Are you…

… above 13?' No the below Already Registered? Login? link hidden

@Pratikshakhandagale please review


TensorRT - KeyError: 'shape'

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):yes
OS Platform and Distribution: Linux Ubuntu 16.04
TensorFlow installed from (source or binary):
TensorFlow version (use command below):

tensorflow (1.8.0)
tensorrt (<IP_ADDRESS>)

Python version: 2.7.14
Bazel version (if compiling from source):None
CUDA/cuDNN version: 9.0
Exact command to reproduce:

Describe the problem
Getting the following error while trying to optimize the predict node in from a frozen graph of an estimator-based transformer model. This is the line where I get the issue :
uff_model = uff.from_tensorflow_frozen_model(frozen_file, ["train/enc_0"])
Source code / logs
Warning: No conversion function registered for layer: IteratorGetNext yet.
Converting as custom op IteratorGetNext train/IteratorGetNext
name: "train/IteratorGetNext"
op: "IteratorGetNext"
input: "train/Iterator"
attr {
  key: "output_shapes"
  value {
    list {
      shape {
        dim {
          size: -1
        }
        dim {
          size: -1
        }
      }
      shape {
        dim {
          size: -1
        }
        dim {
          size: -1
        }
      }
    }
  }
}
attr {
  key: "output_types"
  value {
    list {
      type: DT_INT32
      type: DT_INT32
    }
  }
}

Traceback (most recent call last):
  File "tensorRT_optimize.py", line 25, in <module>
    uff_model = uff.from_tensorflow("logs/check_tiny/frozen_model_new.pb", ['train/pred_0'])
  File "/home/user/.local/lib/python2.7/site-packages/uff/converters/tensorflow/conversion_helpers.py", line 120, in from_tensorflow
    name="main")
  File "/home/user/.local/lib/python2.7/site-packages/uff/converters/tensorflow/converter.py", line 76, in convert_tf2uff_graph
    uff_graph, input_replacements)
  File "/home/user/.local/lib/python2.7/site-packages/uff/converters/tensorflow/converter.py", line 63, in convert_tf2uff_node
    op, name, tf_node, inputs, uff_graph, tf_nodes=tf_nodes)
  File "/home/user/.local/lib/python2.7/site-packages/uff/converters/tensorflow/converter.py", line 38, in convert_layer
    fields = cls.parse_tf_attrs(tf_node.attr)
  File "/home/user/.local/lib/python2.7/site-packages/uff/converters/tensorflow/converter.py", line 209, in parse_tf_attrs
    for key, val in attrs.items()}
  File "/home/user/.local/lib/python2.7/site-packages/uff/converters/tensorflow/converter.py", line 209, in <dictcomp>
    for key, val in attrs.items()}
  File "/home/user/.local/lib/python2.7/site-packages/uff/converters/tensorflow/converter.py", line 204, in parse_tf_attr_value
    return cls.convert_tf2uff_field(code, val)
  File "/home/user/.local/lib/python2.7/site-packages/uff/converters/tensorflow/converter.py", line 189, in convert_tf2uff_field
    'type': 'dtype', 'list': 'list'}[code]
KeyError: 'shape'

Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks.
GPU model and memory

@Aashit-Sharma ,
This is an UFF issue. Please report this to Nvidia forums for TensorRT.

hi @Aashit-Sharma , did you solve the issue?, I got a similar error:
Warning: No conversion function registered for layer: IteratorGetNext yet.
Converting as custom op IteratorGetNext IteratorGetNext
name: "IteratorGetNext"
op: "IteratorGetNext"
input: "OneShotIterator"
attr {
key: "_output_shapes"
value {
list {
shape {
dim {
size: 8
}
dim {
size: 224
}
dim {
size: 224
}
dim {
size: 3
}
}
shape {
dim {
size: 8
}
dim {
size: -1
}
}
}
}
}
attr {
key: "output_shapes"
value {
list {
shape {
dim {
size: 8
}
dim {
size: 224
}
dim {
size: 224
}
dim {
size: 3
}
}
shape {
dim {
size: 8
}
dim {
size: -1
}
}
}
}
}
attr {
key: "output_types"
value {
list {
type: DT_FLOAT
type: DT_INT64
}
}
}
Traceback (most recent call last):
File "tf_to_trt_chest_bhavesh_model.py", line 188, in
main()
File "tf_to_trt_chest_bhavesh_model.py", line 158, in main
uff_model = uff.from_tensorflow(tf_model, ["probs"])
File "/usr/lib/python3.5/dist-packages/uff/converters/tensorflow/conversion_helpers.py", line 120, in from_tenso                             rflow
name="main")
File "/usr/lib/python3.5/dist-packages/uff/converters/tensorflow/converter.py", line 76, in convert_tf2uff_graph
uff_graph, input_replacements)
File "/usr/lib/python3.5/dist-packages/uff/converters/tensorflow/converter.py", line 63, in convert_tf2uff_node
op, name, tf_node, inputs, uff_graph, tf_nodes=tf_nodes)
File "/usr/lib/python3.5/dist-packages/uff/converters/tensorflow/converter.py", line 38, in convert_layer
fields = cls.parse_tf_attrs(tf_node.attr)
File "/usr/lib/python3.5/dist-packages/uff/converters/tensorflow/converter.py", line 209, in parse_tf_attrs
for key, val in attrs.items()}
File "/usr/lib/python3.5/dist-packages/uff/converters/tensorflow/converter.py", line 209, in
for key, val in attrs.items()}
File "/usr/lib/python3.5/dist-packages/uff/converters/tensorflow/converter.py", line 204, in parse_tf_attr_value
return cls.convert_tf2uff_field(code, val)
File "/usr/lib/python3.5/dist-packages/uff/converters/tensorflow/converter.py", line 189, in convert_tf2uff_fiel                             d
'type': 'dtype', 'list': 'list'}[code]
KeyError: 'shape'

@vilmara, your problem is related with uff which is pure tensorrt and not related with tensorflow. Please raise the issue in NVIDIA forums.


Support for z/VM NAMES files, GML/BOOKMASTER files, and PL/X

Support in VS Code for z/VM - CMS NAMES files, DCF-GML and Bookmaster files and for PL/X files
The title says it all.......and I already have the .json textmate files that I would be happy to contribute to the project. I just don't know how to make those into a installable package.
I can be reached at<EMAIL_ADDRESS>Thank you very much.
DJ

Thanks a lot for the request. Right now we have no plans on expanding the scope of our extension for supporting these files and languages.


WAL analysis tool improvements

We want to improve WAL log analysis tool to serve as a better signal/input into workload analysis tooling.
Here is the current wal log analysis tool available for etcd: etcd-dump-logs
@jpbetz @cheftako @mml

performance bottle neck.

The read path operations wont be recorded in WAL files. For read heavy workload, it might not help to find perf bottleneck.
Do you know what exactly you would like to improve over today's tool you listed above?

Yep. The WAL log only contains the linearized range reads, no watches or any of the other non-linearized reads.
We might rephrase the purpose of these improvements as- "improve WAL log analysis tool to serve as a better signal/input into workload analysis tooling".  We don't have any workload analysis tooling yet, but we're looking to do some adhoc data crunching to better understand the shapes of etcd workloads for a variety of real-world kubernetes clusters, and were thinking as using the WAL log as one of our inputs.

@jpbetz
We already moved l-read out of raft serialized execution path to allow concurrent read (also more parallelism if you have multi-core available).  With that effort, l-read is no longer in raft log any more.

@xiang90 Thanks. I'll try to catch up on the concurrent read improvements today, I'm a bit behind.
Does/should etcd have some sort of access log, maybe disabled by default, that could be used as a more comprehensive recording of a workload?

@jpbetz
There is an issue for audit logging https://github.com/coreos/etcd/issues/5019. We probably can extend it to be a workload recorder.

#9628 added an entry-type flag to the current etcd-dump-logs, so the user could set the flag and list interested entries types accordingly. I would consider it to be just a small part of the fix to this issue. It DOES not address the audit logging  #5019 yet. And I will keep working on WAL log analysis as well as etcd workload analysis. Do I need to create several measurable issues instead of referring this issue for all related fixes? @jpbetz @gyuho  @xiang90

Let's close this when https://github.com/coreos/etcd/pull/9628 gets merged, since it already adds filtering. And can you create new issues that you want to work on?

@gyuho sure, here it is: #9631


Honor disabling of telemetry on config

Honor telemetry.disable flag in config.

This is now incorporated in #62


Refine illegal attr ty err msg

1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".):

[ ] N
[x] Y

[Enhancement] #99

2. What is the scope of this PR (e.g. component or file name):

KCLVM Resolver Related Files:

kclvm/sema/src/resolver/node.rs
kclvm/sema/src/resolver/attr.rs

3. Provide a description of the PR(e.g. more details, effects, motivations or doc link):

[x] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Other

See #99, the error messages are improved

4. Are there any breaking changes?(Y/N) and describe the breaking changes(e.g. more details, motivations or doc link):

[x] N
[ ] Y

5. Are there test cases for these changes?(Y/N) select and add more details, references or doc links:

[x] Unit test
[ ] Integration test
[ ] Benchmark (add benchmark stats below)
[ ] Manual test (add detailed scripts or steps below)
[ ] Other

test_resolve_program_illegal_attr_fail in kclvm/sema/src/resolver/tests.rs

6. Release note

Please refer to Release Notes Language Style Guide to write a quality release note.
None

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

34 of 34 (100.0%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.5%) to 41.251%

Totals

Change from base Build<PHONE_NUMBER>:
0.5%

Covered Lines:
15213

Relevant Lines:
36879

💛  - Coveralls


Crash by only importing the library

Only importing the libary using:
from binance.client import Client or from binance import Client
causes this error:
Traceback (most recent call last):
  File "/path/to/project/main.py", line 13, in <module>
    from binance.client import Client
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/binance/__init__.py", line 9, in <module>
    from binance.client import Client, AsyncClient  # noqa
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/binance/client.py", line 3, in <module>
    import aiohttp
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/aiohttp/__init__.py", line 6, in <module>
    from .client import (
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/aiohttp/client.py", line 35, in <module>
    from . import hdrs, http, payload
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/aiohttp/http.py", line 7, in <module>
    from .http_parser import (
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/aiohttp/http_parser.py", line 15, in <module>
    from .helpers import NO_EXTENSIONS, BaseTimerContext
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/aiohttp/helpers.py", line 667, in <module>
    class CeilTimeout(async_timeout.timeout):
TypeError: function() argument 'code' must be code, not str

i think it's related to the version of the dependencies. could it be? i try know changing the aiohttp version.

Uhm... i uninstalled aiohttp, reinstalled, and now it seems to work O_o


Fix unit tests for Leap exercise

Change the unit tests for the Leap exercise to accept a named function import instead of a default named import as per issues #274 and #436:

Change default import Year to named import { isLeap }.
Remove unnecessary const year = new Year(... calls.
Change year.isLeap() calls to isLeap(XXXX).
Rewrite example.js file to export a single named function.

this change may broke other people solution that are already submitted.
thank you for your contribution, lets wait for mainteners.

This may be true, but I believe the impact will be fairly minimal.  Currently I see only ten unapproved submissions for Leap on the mentor dashboard which is quite manageable.

I'd like to reiterate my case for this PR by referring to my experiences as a mentor on the JavaScript track.  I've seen quite a few submissions come in from beginner developers who were capable of solving the problem, but struggled with constructing the problem in the way that the current unit tests demand.
I know that beginner developers are not really Exercism's target audience, but I see them coming through anyway on the JS track.  There are many languages where this exercise is a one-liner, and others, particularly OOP languages, where there's quite a bit more work involved.  JavaScript is quite capable of being one of the one-liner languages so forcing students to frame their answer in an OOP style makes this exercise artificially more complicated than it needs to be.
As the first mentored exercise on the track, I really think we should try to keep this one as simple as possible.


I place a marker by clicking a flag of the country, the country is highlighted. Then I click a marker. The marker is highlighted.

Resolved with commit: Countries and markers are clickable


Cmake Error

Hello,
iam realy new to the Linux World and iam using PopOS, i tried to install huesync, but i get the following error, wafter using the cmake command in the terminal.
`CMake Error at CMakeLists.txt:24 (find_package):
By not providing "FindQt5Quick.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Qt5Quick",
but CMake did not find one.
Could not find a package configuration file provided by "Qt5Quick" with any
of the following names:
Qt5QuickConfig.cmake
qt5quick-config.cmake

Add the installation prefix of "Qt5Quick" to CMAKE_PREFIX_PATH or set
"Qt5Quick_DIR" to a directory containing one of the above files.  If
"Qt5Quick" provides a separate development package or SDK, be sure it has
been installed.
-- Configuring incomplete, errors occurred!
See also "/home/benjaminschey/huestacean/build/CMakeFiles/CMakeOutput.log".
`

Download and Install Qt5.10 from https://download.qt.io/archive/qt/5.10/5.10.1/qt-opensource-linux-x64-5.10.1.run in /opt and set:
export MAKE_PREFIX_PATH=/opt/Qt5.10.1/5.10.1/gcc_64/lib/cmake/Qt5RemoteObjects:/opt/Qt5.10.1/5.10.1/gcc_64/lib/cmake/Qt5Test


feat: auto close ssh connection if couldn't create the requested subdomain

…omain

Please, check this pull request

Hey @sonntuet1997,
This was actually intentionally. Because clients can ask for multiple forwards, we don't want to close the connection until all forwards are complete (or the client requests it). But because sish supports local forwards (direct-tcpip), we don't know if clients are done with their connection until they disconnect. Sorry it took so long for me to respond here.
I'll be closing this for the above. I was thinking maybe we could have clients that use a local forward tell clinc so? I want to still try to stick as much to the ssh semantics as possible though.


How do I generate Bip38 paper wallets / private keys suitable for ECMultiplyLotSequence?

I see in the unit tests the following line that appears to solve my need (a raw signature over arbitrary data)
How do I create a strSecret suitable for import in the following line:
BitcoinSecret bsecret1C = Network.Main.CreateBitcoinSecret(strSecret1C);

see https://github.com/MetacoSA/NBitcoin/issues/727


issues following tutorial

Hi,
I am following the tutorial regarding gce. I cloned this repository and create the instance. However, it seems there is an issue with honcho (see log below). Thanks!
Jul 30 14:25:18 my-app-instance GCEMetadataScripts[731]: 2021/07/30 14:25:18 GCEMetadataScripts: startup-script: supervisorctl reread
Jul 30 14:25:19 my-app-instance GCEMetadataScripts[731]: 2021/07/30 14:25:19 GCEMetadataScripts: startup-script: pythonapp: available
Jul 30 14:25:19 my-app-instance GCEMetadataScripts[731]: 2021/07/30 14:25:19 GCEMetadataScripts: startup-script: supervisorctl update
Jul 30 14:25:19 my-app-instance supervisord[3257]: 2021-07-30 14:25:19,531 INFO spawnerr: can't find command '/opt/app/gce/env/bin/honcho'
Jul 30 14:25:19 my-app-instance GCEMetadataScripts[731]: 2021/07/30 14:25:19 GCEMetadataScripts: startup-script: pythonapp: added process group
Jul 30 14:25:19 my-app-instance GCEMetadataScripts[731]: 2021/07/30 14:25:19 GCEMetadataScripts: startup-script: # [END getting_started_gce_startup_script]
Jul 30 14:25:19 my-app-instance GCEMetadataScripts[731]: 2021/07/30 14:25:19 GCEMetadataScripts: startup-script exit status 0
Jul 30 14:25:19 my-app-instance GCEMetadataScripts[731]: 2021/07/30 14:25:19 GCEMetadataScripts: Finished running startup scripts.
Jul 30 14:25:19 my-app-instance systemd[1]: Started Google Compute Engine Startup Scripts.
Jul 30 14:25:19 my-app-instance systemd[1]: Reached target Multi-User System.
Jul 30 14:25:19 my-app-instance systemd[1]: Reached target Graphical Interface.
Jul 30 14:25:19 my-app-instance systemd[1]: Starting Update UTMP about System Runlevel Changes...
Jul 30 14:25:19 my-app-instance systemd[1]: Started Update UTMP about System Runlevel Changes.
Jul 30 14:25:19 my-app-instance systemd[1]: Startup finished in 1.551s (kernel) + 1min 29.418s (userspace) = 1min 30.969s.
Jul 30 14:25:20 my-app-instance supervisord[3257]: 2021-07-30 14:25:20,535 INFO spawnerr: can't find command '/opt/app/gce/env/bin/honcho'
Jul 30 14:25:22 my-app-instance supervisord[3257]: 2021-07-30 14:25:22,538 INFO spawnerr: can't find command '/opt/app/gce/env/bin/honcho'
Jul 30 14:25:25 my-app-instance supervisord[3257]: 2021-07-30 14:25:25,541 INFO spawnerr: can't find command '/opt/app/gce/env/bin/honcho'
Jul 30 14:25:25 my-app-instance supervisord[3257]: 2021-07-30 14:25:25,541 INFO gave up: pythonapp entered FATAL state, too many start retries too quickly

Hi @romanodev,
Thanks for filing an issue. I see the same error when I follow the instructions here: https://cloud.google.com/python/docs/getting-started/getting-started-on-compute-engine#create_and_configure_a_compute_engine_instance
I'll investigate a bit more and put together a PR to fix the tutorial.

@busunkim96 , thanks. As a reference, this tutorial seems to work
https://cloud.google.com/memorystore/docs/redis/connect-redis-instance-gce#python_1

I’m getting the same error. I think the error starts because the python virtual environment isn’t being activated, and thus the honcho dependencies aren’t being installed.
Further up in the output I get, after the step running
Source bin/activate to start the virtual environment
I get an error from that script saying
This file must be used with “source bin/activate” from bash

Is there any short term workaround for this?

I've confirmed that the gce tutorial is now working with the changes in #430.


IP of docker manager node

File: get-started/part4.md
Hi all,
in the docs at docker-machine ssh myvm1 "docker swarm init --advertise-addr <myvm1 ip>", it is not mentioned that the  has to be the URL of the myvm1, given by
docker-machine ls. This wasn't obvious to me, maybe an additional sentence might help? I propose:

[...] and the second is a worker.
Note that you have to advertise the IP address of the manager node to join manager and workers together, in this case <IP_ADDRESS>.

Closing this ticket due to its age, and the impending refactor. If you think this is in error, feel free to reopen. Thanks!


Add support for radare2

radare2 is a widely known commandline tool for reverse engineering which is actively developed and
I'm looking forward to get support for radare2 in runno for two different purposes:

write interactive changelogs (on a website that embeds runno, containing an r2 script and let users modify it and run it to see the output)
have a website like it was https://webassembly.sh, but it got broken after latest wapm changes.

For now I would like to focus on the first point, because i think it should be feasible, and maybe make it official to "runno" so it would be as easy as selecting "radare2" as the language. Ideally it should be also possible to add custom files in the filesystem (or write the script to run as a file in there).
I can confirm that radare2 wapm builds work well in https://runno.dev/wasi i can pass arguments, use stdin, set environment or add files to the filesystem. I'm not sure if I really need to report that here or if it's already possible if the package is already published via wapm
You can download the release builds (wasm files compiled with the wasi sdk) in the release page https://github.com/radareorg/radare2/releases/tag/5.8.8 but it's also available via wasmer, but having the ability to let users run it in the browser would be ideal (like i did before wasmer broke everything again).
I would like to have some insights on this as I think other people can also benefit from running r2 scripts inside the browser

Hey @trufae! Thanks for dropping this in. radare2 looks like a super useful tool, but probably isn't the right fit for a programming language on Runno. However that doesn't mean you can't use Runno to run it!
I wrote an article Running WASI binaries from your HTML using Web Components about how to run your own WASI binaries from HTML. You should be able to use this to run radare2 if you have a working WASI binary for it!
The article goes through how to use the WASI Web Component, including adding controls, and specifying the file system.
Does that solve your problem?

Radare2 have it's own scripting capabilties, as well as it's also integrating the quickjs runtime having access to all the internal features of the tool. So it can be kind-of considered a "language" too. But I understand that maybe a bit out of context for the project.
I've never used web components and i have already read the article, tried building the examples (without success) and I still miss some steps or commands to run to get a hello world to work. It is possible to just download a precompiled css/js and embed it into a plain html file to use it?
Having the ability to use this component will clearly work for me!
Thanks!

Ahh of course! You'd do plain HTML, no bundler, with https://www.unpkg.com/. I'm too busy right now to write up an example, but could you see if there's enough there for you? If not I'll write up a codepen soon.

I found a different way to get this to work by using the api instead of the web component:
I wrote a proof of concept here: https://radare.org/w
So this works for me but i agree that it would be great if you could provide a more direct way to use the runno component.
I can download the script to not depend on third party servers to make this work too.
I guess you can close this ticket now as long as it works for my needs now :)
the only question I have (which i can probably solve if i play a little more) is about handling the stdin in an async way. Aka simulating the whole tty, the stdin callback takes the data when requested instead of when available. But that’s probably unrelated to this ticket.
thank you!

Having a quick play it seems like I'm not shipping a JS build that can be used without a bundler or import. My apologies!
In modern browsers you can do something like this:
<script type="module">import "https://cdn.jsdelivr.net/npm/@runno/runtime@0.6.2/dist/runtime.js";</script>
<runno-wasi src="https://radare.org/w/radare2.wasm?v=5.8.8" controls></runno-wasi>

It depends on the browser having support for modules, but they are pretty widely supported now.

If you'd like to roll your own implementation, my docs for @runno/wasi explain how you can do async io. https://runno.dev/docs/wasi/

I'll close this, but I'm happy to answer further questions on the Discussions page

Thank you! <3


add tar and rsync to image

LGTM

Changes like this are asking for reasoning in commit message.
Consider you want to make the image smaller but you are worried
about possible consequences..  and git blame does not help.
I'm asking for better commit messages, PR discussion is decoupled
from the change itself and thus might be considered non-persistent.

@praiskup good point, sorry about that.  In this particular case we added rsync and tar because they are needed to support the openshift "rsync" capability for copying files into a container:
https://docs.openshift.org/latest/dev_guide/copy_files_to_container.html
That said, git blame isn't likely to help because we're going to update that line repeatedly.  But certainly the commit history could help.
It might make even more sense to just have a comment in the dockerfile that lists each package we install and why.


 These can be made totally lazy by adding a third internal Maybe type (Lazy) that represents a Some that has been flatMapped or filtered (and thus is in an unknown state - could be either Some or None, the actual state won't be known until observed).

Implemented in https://github.com/aol/cyclops-react/pull/141


[AutoPR containerservice/resource-manager] ARO - New 2019-10-27-preview API

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/7733

(message created by the CI based on PR content)


Update stable version in repo from 2.0.3 to 2.1.0

Think about update stable version to 2.1.0
Version: stable=2.0.3 (177 days old) => latest=2.1.0 (15 days old)
Installs: stable=314 (55.28%), latest=30 (5.28%), total=568
Click to use developer portal
Click to edit
Note: This is an automatically generated message and not personally authored by bluefox!
Do not close this issue manually as a new issue will be created if condition for update still exists
@mcm1957 for evidence

Is there any reason to delay updating stable any longer?
Please drop a commit if you know any reason to refrain from updating.
If there is no response until 05.03.2024 we could decide to update anyway.

This issue seems to be outdated.
This issue suggests to update the stable version of this adapter to 2.1.0 but the current stable version is already 2.1.0.
So this issue should be closed.
@mcm1957 for evidence


(pipelines) Update MLMD visualization output file approach. Fix #5564

Partial https://github.com/kubeflow/pipelines/issues/5564.
Update visualization documentation: Use OutputPath to write mlpipeline_ui_metadata file. Also update screenshot of KFP UI confusion matrix visualization.

/approve
you can self LGTM when fixing the last two issues

Thank you Yuan! Updated accordingly to comment.


[excel] (Load/Sync) Discussing default load exclusions

Staging site.
Some of the new Excel preview API properties will not be loaded by default with a parameter-less load statement. This behavior needs to be documented. I restructured the load section of this article because I didn't want to have a note within a note.

Docs Build status updates of commit 0824494:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/excel/excel-add-ins-advanced-concepts.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


[BUG] CUDA extension not installed error when running AutoGPTQ in Docker

Describe the bug
When I try to run an AutoGPTQ-based model from a Python script in a Docker container, I get a "CUDA extension not installed" error. However, the model works fine for inference (but likely on CPU). I'm unsure why this error appears.
Hardware details
GPU
Software version
Operating System: Ubuntu 18.04 (Docker)
Docker image runtime: pytorch/pytorch:1.11.0-cuda11.3-cudnn8-runtime
CUDA Toolkit: 11.3
Python: 3.8
AutoGPTQ: 0.3.2
PyTorch: 1.11.0
To Reproduce

Create a Docker image with the base image pytorch/pytorch:1.11.0-cuda11.3-cudnn8-runtime.
Install AutoGPTQ in the Docker image using the following command:

RUN wget https://github.com/PanQiWei/AutoGPTQ/releases/download/v0.3.2/auto_gptq-0.3.2+cu117-cp38-cp38-linux_x86_64.whl && \
    GITHUB_ACTIONS=true pip3

Expected behavior
If I use a AutoGPTQ model like:
model = AutoGPTQForCausalLM.from_quantized("TheBloke/CodeLlama-7B-GPTQ",
            use_safetensors=True,
            trust_remote_code=False,
            device="cuda:0",
            use_triton=False,
            quantize_config=None)

the code is running without a "CUDA extension not installed" errorr.

GITHUB_ACTIONS=true is no longer needed, and AutoGPTQ can now be installed with pre-built wheels on CUDA 11.7 and 11.8
Here's an extract from my Docker container
ARG CUDA_VERSION="11.8.0"
ARG CUDNN_VERSION="8"
ARG UBUNTU_VERSION="22.04"

# Base NVidia CUDA Ubuntu image
FROM nvidia/cuda:$CUDA_VERSION-cudnn$CUDNN_VERSION-devel-ubuntu$UBUNTU_VERSION AS base

ENV TORCH_CUDA_ARCH_LIST="8.0;8.6;8.6+PTX;8.9;9.0"
# Install pytorch wheel built above
RUN pip3 install torch --index-url https://download.pytorch.org/whl/cu118

# Install AutoGPTQ
RUN pip3 install auto-gptq --extra-index-url https://huggingface.github.io/autogptq-index/whl/cu118/

This works well

thanks for the quick response @TheBloke. i am depending on the runtime pytorch/pytorch:1.11.0-cuda11.3-cudnn8-runtime which comes only with CUDA 11.3 this is why i have to find workaround.

Oh right - does AutoGPTQ even work with PyTorch 1.1?

yes, when installing it like:
RUN wget https://github.com/PanQiWei/AutoGPTQ/releases/download/v0.3.2/auto_gptq-0.3.2+cu117-cp38-cp38-linux_x86_64.whl && \
    GITHUB_ACTIONS=true pip3 install auto_gptq-0.3.2+cu117-cp38-cp38-linux_x86_64.whl

Except it's not working if it's not building the CUDA extension.
I'd suggest you try compiling from source:
ENV TORCH_CUDA_ARCH_LIST="8.0;8.6;8.6+PTX;8.9;9.0"
RUN pip3 uninstall -y auto-gptq && \
  git clone https://github.com/PanQiWei/AutoGPTQ && \
  cd AutoGPTQ && \
  pip3 install .

You could add git checkout v0.3.2 if you want to pin it to that version

Thank you for suggesting this🙏. It fails with Preparing metadata (setup.py): finished with status 'error'.

Can't really help with so little info, would need to see the full output
You can run docker build with docker build --progress=plain to see full logs

Here again the full docker file:
# Must use a Cuda version 11+
FROM pytorch/pytorch:1.11.0-cuda11.3-cudnn8-runtime

WORKDIR /

# Install git and wget
RUN apt-get update && apt-get install -y git wget

# Upgrade pip
RUN pip install --upgrade pip

# Set the CUDA architecture list
ENV TORCH_CUDA_ARCH_LIST="8.0;8.6;8.6+PTX;8.9;9.0"

# Install AutoGPTQ from source
# Install AutoGPTQ from source
RUN pip3 uninstall -y auto-gptq && \
    git clone https://github.com/PanQiWei/AutoGPTQ && \
    cd AutoGPTQ && \
    git checkout v0.3.2 && \
    pip3 install .

ADD requirements.txt requirements.txt
RUN pip3 install -r requirements.txt

# Add your model weight files
ADD download.py .
RUN python3 download.py

ADD . .

EXPOSE 8000

CMD python3 -u app.py

and here all logs when building:
Step 1/13 : FROM pytorch/pytorch:1.11.0-cuda11.3-cudnn8-runtime

 ---> ca04e7f7c8e5

Status: Image is up to date for pytorch/pytorch:1.11.0-cuda11.3-cudnn8-runtime
Pulling from pytorch/pytorch  1.11.0-cuda11.3-cudnn8-runtimeStep 2/13 : WORKDIR /

 ---> Using cache

 ---> e1dd44cfbc90

Step 3/13 : RUN apt-get update && apt-get install -y git wget

 ---> Using cache

 ---> cb2274f75036

Step 4/13 : RUN pip install --upgrade pip

 ---> Using cache

 ---> 5a9a50961d77

Step 5/13 : ENV TORCH_CUDA_ARCH_LIST="8.0;8.6;8.6+PTX;8.9;9.0"

 ---> Running in c48e8f45a564

 ---> efc9d1ffa2d6

Step 6/13 : RUN pip3 uninstall -y auto-gptq &&     git clone https://github.com/PanQiWei/AutoGPTQ &&     cd AutoGPTQ &&     git checkout v0.3.2 &&     pip3 install .

 ---> Running in dc43b8e116e3

Processing /AutoGPTQ

Note: checking out 'v0.3.2'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at a7167b1 simplify setup.py
  Preparing metadata (setup.py): started

  Preparing metadata (setup.py): finished with status 'error'

error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
The command '/bin/sh -c pip3 uninstall -y auto-gptq &&     git clone https://github.com/PanQiWei/AutoGPTQ &&     cd AutoGPTQ &&     git checkout v0.3.2 &&     pip3 install .' returned a non-zero code: 1
Build stage failed
2023-09-05T10:30:16.000Z You've triggered a build + deploy on Banana. It may take 5-15 min to complete. Thanks for your patience.
Waiting for logs...

SUCCESS: Git Authorization
SUCCESS: Build Started
ERROR: Encountered an error building your source code:
Error response from daemon: dockerfile parse error on line 20: unknown instruction: &&
INTERNAL ERROR: Build server encountered an unexpected error
2023-09-05T10:31:25.000Z You've triggered a build + deploy on Banana. It may take 5-15 min to complete. Thanks for your patience.
Waiting for logs...

SUCCESS: Git Authorization
SUCCESS: Build Started
Step 1/13 : FROM pytorch/pytorch:1.11.0-cuda11.3-cudnn8-runtime

 ---> ca04e7f7c8e5

Status: Image is up to date for pytorch/pytorch:1.11.0-cuda11.3-cudnn8-runtime
Pulling from pytorch/pytorch  1.11.0-cuda11.3-cudnn8-runtimeStep 2/13 : WORKDIR /

 ---> Using cache

 ---> d8345b15f7d2

Step 3/13 : RUN apt-get update && apt-get install -y git wget

 ---> Using cache

 ---> f101135e68c2

Step 4/13 : RUN pip install --upgrade pip

 ---> Using cache

 ---> 749b81e176ee

Step 5/13 : ENV TORCH_CUDA_ARCH_LIST="8.0;8.6;8.6+PTX;8.9;9.0"

 ---> Running in b0017e7013fc

 ---> 4334b380cd1a

Step 6/13 : RUN pip3 uninstall -y auto-gptq &&     git clone https://github.com/PanQiWei/AutoGPTQ &&     cd AutoGPTQ &&     git checkout v0.3.2 &&     pip3 install .

 ---> Running in a34c9eca0268

Processing /AutoGPTQ

Note: checking out 'v0.3.2'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at a7167b1 simplify setup.py
  Preparing metadata (setup.py): started

  Preparing metadata (setup.py): finished with status 'error'

error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
The command '/bin/sh -c pip3 uninstall -y auto-gptq &&     git clone https://github.com/PanQiWei/AutoGPTQ &&     cd AutoGPTQ &&     git checkout v0.3.2 &&     pip3 install .' returned a non-zero code: 1
Build stage failed

I just checked setup.py - it lists minimum requirements as Torch 1.13.0:
requirements = [
    "accelerate>=0.19.0",
    "datasets",
    "sentencepiece",
    "numpy",
    "rouge",
    "gekko",
    "torch>=1.13.0",
    "safetensors",
    "transformers>=4.31.0",
    "peft",
    "tqdm",
]

Not sure why that would cause it to fail like that so you may have a different error. But you won't be able to run it on torch 1.11.0 anyway, at least not unmodified.  If it did work, the first thing it would do is try to upgrade torch to 1.13.0 which I guess is not what you want?

The requirements from setup.py, i.e., torch 1.13, are installed when the auto-gptq library is installed.
It turns out that it runs with a pure pip install of the newest version of auto-gptq, which is 0.4.2. It also works fine with CUDA 11.3, and the CUDA extension error no longer appears. Thanks again for helping out, @TheBloke 🙏.


Can you please include CytoTRACE Trajectory Reconstruction Analysis into Scanpy?

Can you please include CytoTRACE Trajectory Reconstruction Analysis into Scanpy?
https://cytotrace.stanford.edu/
Thanks

It's included in CellRank. Check these two https://cellrank.readthedocs.io/en/stable/beyond_rna_velocity.html and https://github.com/theislab/scvelo/issues/773

That is great! Thanks!


pedir uma função

I wanted you to put the prize and winners_count to be added by a command within the bot, I think it would be better to use

In this case, would adding "winners_count" be used to forcefully add winning numbers? Skipping the draw stage.
Or would it be a counter for the number of marked numbers that were drawn?
Since the bot structure only draws marked numbers, without saving them.


adding placeholder and scroll down

when we move to login page there is no placeholder under the username and password by which user could understand that he/she have to enter the name and password . Secondly there is no scroll down option for register page

I have assigned you. Go ahead! 👍

/src/pages/logreg/LogReg.jsx

@leesha19

it is too difficult for editing such file why there is no specific html file all the languages are mixed other projects respo are so good and manageable

it is too difficult for editing such file why there is no specific html file all the languages are mixed other projects respo are so good and manageable

We haven't used raw HTML, CSS, we have used a Javascript library ReactJS for frontend. So i think you can checkout about ReactJS and then you are good to go.

it is too difficult for editing such file why there is no specific html file all the languages are mixed other projects respo are so good and manageable

Are you still working on the issue?

it is too difficult for editing such file why there is no specific html file all the languages are mixed other projects respo are so good and manageable

Are you still working on the issue?

i could not work on this project cause i dont know anything about react if it was in html css js it was easier to work for me

Can I work on this issue?

@kushagra487 Sure, go ahead!

Will it be considered in SWOC'21?

hey @Anurag5086  can I work on this issue?


feat: add aks-engine release v0.33.2

See https://github.com/Azure/aks-engine/releases/tag/v0.33.2

Tested by pushing to my fork's master and doing brew install mboersma/aks-engine/aks-engine.


ReScript web site header doesn't work in Edge on Windows 10

This is really weird and think the problem is new because I've been using this website for a couple weeks and haven't noticed any problem. I’m using Edge browser on Windows 10. The header at the top of The ReScript Programming Language (rescript-lang.org) only has links for “Docs” and “API”. The other links aren’t there - moving the mouse over them does nothing. It’s as if the window was much smaller than it really is and those menu items have been removed and put in the ... menu instead. If I view the website using Chrome or Firefox or (surprisingly) Edge in Private mode, the page header is fine. Edge Version 93.0.961.52 (Official build) (64-bit). Here is what it looks like. Don't know if it matters but I'm signed in to the community forum.

What pixel size does the viewport have in this particular example? Does it show the full navigation when you make the window width larger?

I’ll check when I get back. But I’m pretty sure it was broken with the web browser maximized Since that is usually how I use the web browser. I took a small screenshot to put in the bug report. You can see that the image doesn’t include an overflow menu which it should if that were the problem.

Very big screen size, maximized. Here is some of the HTML...

Anyone try to repro this? I'm still having this problem. This is the default browser on Windows 10 - a major issue.

I recently re-deployed my windows 10 computer to be able to replicate this. Let's see if I can reproduce this.

The problem went away for me. Using Edge version 94.0.992.38 now. Maybe it was a bug in Edge?

Yesterday I tried it as well, and it didn't show the bug you described. Not sure what this was about, since the newest Edge version runs on the V8 engine afaik.


Support redis-py 3.2.0

fake redis is broken when redis-py 3.2.0 is installed, see here: https://stackoverflow.com/questions/55139276/fakeredis-exception-fakesocket-does-not-have-fileno-method

Looks like this bug is related to fakeredis python library not to this ruby library :)


Install datadog-agent in KMT VMs

What does this PR do?
This PR provides a task to install the datadog-agent on KMT VMs.
It also provides an option in kmt.build to override the system-probe/security-agent binary in the datadog-agent package. This allows a user to run the full datadog-agent with a local copy of system-probe/security-agent.
The PR also provides an option to allow the user to specify a script to run after VM creation.

Motivation
Allow system-probe running in KMT VMs to send data to the backend.

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

/merge


Is there a way to catch errors?

If I start a second instance of a node-livereload server, I get the follow message and a stack trace, which is to be expected:
Error: listen EADDRINUSE :::35729
    ... stacktrace here ...

However, I can't figure out a way to catch and prevent this message from being printed in the console.  I've tried try/catch, but the error happens asynchronously (and probably in another process?).
My use-case for this: I'd like to be able to catch the error and print a friendlier error message, like "Unable to start the LiveReload server!  This is most likely because you have another instance of the LiveReload server running on this port."

@nfriend How are you invoking the server? Through the CLI or are you using the API directly?

I'm using the API directly:
const livereload = require('livereload');

const server = livereload.createServer();
server.watch('path/to/watch');

@nfriend 0.7.0 is released. It now supports an error event you can watch. The examples/ folder has an example of this.


Twitter's Improvements to Mustache.js

Hello!
As you know, we use Mustache.js on the new Twitter.com.  We've had to make a few changes to support our use, which I've just finished getting officially integrated into our fork on GitHub, with tests in the Mustache.js suite.  We'd love to be able to port these changes upstream to the wider community.
The main changes we've made are:

Added i18n support, through {{_i}}{{/i}} tags.  The README in our fork has more info on how this works.

Fixed a bug we uncovered recently, where the content of section tags would get rendered twice, allowing Mustache injection.  We fixed this silently since it was a pretty embarrassing bug in the site, the fix just hit our production site today.  I'd be happy to provide more details on this, but we've also added a regression test to the suite in our fork.

I've added Rhino as a test runner, in addition to running with jsc.  We actually found some subtle regex-related bugs that caused failures in Mustache in Rhino and v8 only, so more coverage here seemed warranted.  In the longer run, it would be nice to be able to also run the suite on a web page with QUnit or something, so you can try it in all browsers you'd like.

For now, we've changed the version to "0.3.1-twitter" to make it clear in our codebase, but we'd love to integrate with the main branch.
Thanks!

@bcherry
Is the i18n stuff ready? I was hoping to use it. I was sad to see it got removed and never put back.

@adjenks sorry, unfortunately I no longer work at Twitter nor maintain any of their open-source projects. It does look like the Mustache.js fork was removed and I believe is no longer in use there. I haven't used it, but this NPM module appears to offer the same functionality in a somewhat more modern package: https://www.npmjs.com/package/mustache-i18n

@bcherry Thank you for the suggestion. Best of luck in whatever you're doing now.


Remove inter-process communication doc

ConnectionFactory is being removed from .NET 5 - https://github.com/dotnet/runtime/pull/41648
IPC will have to wait for .NET 6, and the doc on it needs to be removed.
I'm removing the doc rather than changing the version to >= net6 because the API might be different when it is re-added.

>= net6

The other factor on that is that these identifiers are manually created, and I don't think that one exists yet.


Doxygen 1.9.4

Checklist

[X] Used a personal fork of the feedstock to propose changes
[X] Bumped the build number (if the version is unchanged)
[X] Reset the build number to 0 (if the version changed)
[X] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[X] Ensured the license file is being packaged.

From the build, it looks like it's still targeting SDK 10.9.

From the build, it looks like it's still targeting SDK 10.9.

Nice catch ! Do you think it also requires MACOSX_DEPLOYMENT_TARGET ? Or MACOSX_SDK_VERSION should be enough ? I can try to rollback 4b33ad7 if it works.

Any news on this?

Any news on this?

@MuellerSeb Unfortunately, no... I think I am going to close this PR and try again later.
If you want, you can try to do it, no worries ;-)


Error running the ascli config wizard command

When running the wizard command we're getting the following issue after entering a url
from C:/Users/usr/Ruby/bin/ascli:23:in `<main>'
        14: from C:/Users/usr/Ruby/bin/ascli:23:in `load'
        13: from C:/Users/usr/Ruby/lib/ruby/gems/2.7.0/gems/aspera-cli-4.15.0/bin/ascli:38:in `<top (required)>'
        12: from C:/Users/usr/Ruby/lib/ruby/gems/2.7.0/gems/aspera-cli-4.15.0/lib/aspera/cli/main.rb:287:in `process_command_line'
        11: from C:/Users/usr/Ruby/lib/ruby/gems/2.7.0/gems/aspera-cli-4.15.0/lib/aspera/cli/plugins/config.rb:979:in `execute_action'
        10: from C:/Users/usr/Ruby/lib/ruby/gems/2.7.0/gems/aspera-cli-4.15.0/lib/aspera/cli/plugins/config.rb:629:in `identify_plugins_for_url'
         9: from C:/Users/usr/Ruby/lib/ruby/gems/2.7.0/gems/aspera-cli-4.15.0/lib/aspera/cli/plugins/config.rb:629:in `each'
         8: from C:/Users/usr/Ruby/lib/ruby/gems/2.7.0/gems/aspera-cli-4.15.0/lib/aspera/cli/plugins/config.rb:634:in `block in identify_plugins_for_url'
         7: from C:/Users/usr/Ruby/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:83:in `require'
         6: from C:/Users/usr/Ruby/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:83:in `require'
         5: from C:/Users/usr/Ruby/lib/ruby/gems/2.7.0/gems/aspera-cli-4.15.0/lib/aspera/cli/plugins/preview.rb:9:in `<top (required)>'
         4: from C:/Users/usr/Ruby/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:83:in `require'
         3: from C:/Users/usr/Ruby/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:83:in `require'
         2: from C:/Users/usr/Ruby/lib/ruby/gems/2.7.0/gems/aspera-cli-4.15.0/lib/aspera/preview/terminal.rb:5:in `<top (required)>'
         1: from C:/Users/usr/Ruby/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:83:in `require'
C:/Users/usr/Ruby/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:83:in `require': cannot load such file -- rmagick (LoadError)

There are several ways to avoid this problem, that should be fixed in next version.
You can try ONE of the following methods, in order of difficulty:

when executing the wizard, specify the expected application:
ascli conf wizard eudemo.asperademo.com faspex5
or, patch the faulty source:

execute ascli conf gem path : it displays a folder path, go to this folder.
inside this folder, edit the file : aspera/cli/plugins/preview.rb
remove (or comment-out with a #) the line near beginning: require 'aspera/preview/terminal'

or, Install the missing gem: gem install rmagick
or, install the beta from : https://ibm.biz/aspera-cli-beta

4.16 should fix this


Update sbt-decent-scala to 0.7.0+62-74ac4a3a

Updates com.github.sideeffffect:sbt-decent-scala from 0.7.0+59-378a8581 to 0.7.0+62-74ac4a3a.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.github.sideeffffect", artifactId = "sbt-decent-scala" } ]

labels: sbt-plugin-update, early-semver-build-metadata, semver-spec-build-metadata

Superseded by #8.


Use php_fpm_listen

Use the nginx vhost template to use php_fpm_listen rather than hard-coding it into the template.
I've also opened a PR upstream to update this variable for Debian/Ubuntu servers. https://github.com/geerlingguy/ansible-role-php/pull/78

Makes sense! For the upstream issue, I left a comment there. I'd like to keep the default using the TCP/IP port for easier translatability with HHVM and other systems.