Container not reachable after hard power off, Raspi 3B+

Hi!
Many thx for providing the CCU3 as Docker image!
I successfully used deploy.sh to start the container using this "settings" file, I only changed the REGA_PORT to avoid a conflict with an existing nginx installation.

This setup worked fine until I tried to import a RaspberryMatic backup. The container consumed all CPU and RAM ressources of my Raspi 3 B+ and didn't finish for one hour+. I decided to turn off power.
Now the container isn't reachable any more by port 85 (nor any other).
I already tried undeploy.sh/deploy.sh and manually removed (hopefully) all remaining docker remains, but withot success. The container starts, but isn't reachable.

Seems as if docker binds the container only to the ipv6 adress!?!?!?

Did you remove the docker volume after undeploy.sh? From your screenshot at

Afterwards a new deploy.sh should bring you back to where you were.
If you try again to restore a backup and it hangs then it is useful to find out what process is the one consuming all the CPU. I did time ago restore a backup myself and it did work but it is not a scenario I test regularly.

I just tried again:
undeploy.sh
docker volume prune
docker container prune
docker image prune
deploy.sh with my modified settings file
No luck! Still no open <IP_ADDRESS>:85 that points to the containers :80

Maybe it's a docker problem!? I think I read about it somewhere else...
I think I will try a fresh raspbian installation to check...

Is the docker container starting successfully? Can you please post docker logs ccu  and  docker inspect ccu?

docker logs ccu

docker inspect ccu
inspect_ccu.txt
from the process list:

It is hanging on detecting the type of adapter. This is usually a failed fw update or an older version of the ccu container.
Can you try with the latest version? What type of Homematic Adapter do you have?
If it still fails then there are some options:

manually reflash the adapter
killing the hanging process

Tried with the latest container version on an fresh raspbian image, no luck.
The adapter works fine under raspberrymatic on the same raspi.
I'll give up here and maybe try again in a few months when I have more time again...


[FEATURE] LLM API suggestions from the UI

Is your feature request related to a problem? Please describe.
At times, we don't want to fully rely on data scientists configuring things from their side but annotators might want to chat and interact with LLMs to get suggestions and context about their issues during annotation/
Describe the solution you'd like
A chat-like interface or potential update suggestion button to scope get input for *Question from within the UI.
Describe alternatives you've considered
This could potentially be also our self-hosted LLMs in the future as service within the cloud.
Additional context
As proposed by Damian Tanner.

Hey @davidberenstein1957, I'm ready to contribute. Can you share more details, like  any existing discussions or decisions? Also, are there specific areas that need attention?

Hi @Piyush-Kumar-Ghosh this issue still needs to be triaged and evaluated internally. You would be able to handle this distilabel issue perhaps?

Hi @davidberenstein1957 ,
Thank you for considering me for this task. I'm confident in my ability to contribute to the distilabel issue. While I may require some initial guidance, I'm eager to learn and collaborate closely with the team to ensure a thorough triage and evaluation process.
I'm ready to accept the work and would appreciate access to any specific resources or documentation available.
Looking forward to contributing to the resolution of this issue.


WebDriver (Chrome) distribution URL changed / WebDriver(Chrome)の配布URLが変更されております

参考：https://googlechromelabs.github.io/chrome-for-testing/
表題の通りです。
DownloadWebDriverプロシージャ内のURLが乗ったコードを、下記のように変更すればいいかと存じます。
Select Case Browser
Case BrowserName.Chrome
    Select Case True
        Case ToMajor(Version) < 115: url = Replace("https://chromedriver.storage.googleapis.com/{version}/chromedriver_win32.zip", "{version}", Version)
        Case Is64BitOS:              url = Replace("https://storage.googleapis.com/chrome-for-testing-public/{version}/win64/chromedriver-win64.zip", "{version}", Version)
        Case Else:                   url = Replace("https://storage.googleapis.com/chrome-for-testing-public/{version}/win32/chromedriver-win32.zip", "{version}", Version)
    End Select

Edgeに関しては未確認です。
24/2/17以降でいきなり動かなくなった場合は殆どこちらが原因かと思われます。
あくまで暫定対応としてご利用ください。

Translated to English:

Source: https://googlechromelabs.github.io/chrome-for-testing/
It's about the URL for downloading WebDriver.
DownloadWebDriver's download URL is not up-to-date, and I would like you to update it to the latest version.
[code]
It's a request regarding Edge.
It hasn't been updated for about 24/7/17, so if you have time, could you please update it as well.
Thank you for always providing support.

@hok10, I think that you want to update this branch of the GetCompatibleDriverVersion procedure of the WebDriverManager class:
    Case svbaBrowser.Chrome
        browserBuild = filterVersionParts(browserVersion, 3)
        verMajor = selectVersionPart(browserVersion, 1)

        If compareVersions(browserBuild, "115.0.5763") >= 0 Then
            'use new api...
            'as of 8/22/2023, this special end-point was added that
            'shortcuts using latest-patch-versions-per-build end-point!!
            url = "https://googlechromelabs.github.io/chrome-for-testing/LATEST_RELEASE_" & browserBuild

            respTxt = requestData(url)

            If Left$(respTxt, 5) = "Error" Then GetCompatibleDriverVersion = respTxt: Exit Function

            If respTxt = "Release Not Found" Then
                'in theory, we should never get here, but just in case...
                'if an exact match to the browser build was not found above, then
                'search for the maximum version that is less than the specified browser build
                url = "https://googlechromelabs.github.io/chrome-for-testing/latest-patch-versions-per-build.json"
                respTxt = requestData(url)

                If Left$(respTxt, 5) = "Error" Then GetCompatibleDriverVersion = respTxt: Exit Function

                GetCompatibleDriverVersion = findLatestChromeVersionFromBuild(respTxt, browserBuild)
                Exit Function
            End If

            GetCompatibleDriverVersion = respTxt
            Exit Function
        ElseIf verMajor = 115 Then
            'we are in the "gap" between the two api's
            'builds 115.0.5739 to 115.0.5762 do not have a corresponding ChromeDriver
            'so get the last known major version from 114...
            GetCompatibleDriverVersion = "114.0.5735.90"
            Exit Function
        Else
            'use old api
            'first see if we can find an exact build match
            url = "https://chromedriver.storage.googleapis.com/LATEST_RELEASE_" & browserBuild

            respTxt = requestData(url)

            If Left$(respTxt, 5) = "Error" Then GetCompatibleDriverVersion = respTxt: Exit Function

            If respTxt = "Release Not Found" Then
                'if exact build match failed, then maybe we have a Dev or Canary channel
                'so search for major version match, decrementing by one until success
                Do While verMajor >= 70
                    url = "https://chromedriver.storage.googleapis.com/LATEST_RELEASE_" & verMajor
                    respTxt = requestData(url)

                    If Left$(respTxt, 5) = "Error" Then GetCompatibleDriverVersion = respTxt: Exit Function

                    If respTxt <> "Release Not Found" Then Exit Do
                    verMajor = verMajor - 1
                Loop
            End If
            GetCompatibleDriverVersion = respTxt
            Exit Function
        End If

How would you change it?

皆様ありがとうございます。
気づいてはいたのですが、出かけていたために対応が遅くなり申し訳ございません。
先ほど修正しました。
Thank you all. I had noticed this, but I was out of town and am sorry for the delay in responding. It has just been corrected.


[EXE] New idea for exercise on creating a interactive ML application

Learning Goals
For people who want to not just create a machine learning model but also create an interactive dashboard to go with it, this exercise might be a great starting point!
Exercise Statement
I will provide a sample machine learning project along with a small tutorial about how to convert it to an interactive project using streamlit and heroku.
Prerequisites
Working knowledge of python and sklearn should suffice as a good prerequisite.
Example
Here is a link to my Motivation

Generator Dashboard that I created!
https://mymotivationalapp.herokuapp.com/
This kind of application will be the result of this exercise. What do you guys think?

Hi @AnanyaBanerjee thanks for the exercise idea. I think having interactive ML application is a great idea.
I am a little concern if python and sklearn are sufficient to create interactive app. Could you please elaborate what you have in mind? Thanks !

Cool @AnanyaBanerjee, I've actually wanted to learn how to quickly make ML app. I'm looking forward to your PR. Thanks !


Replace prometheus with OTEL operator + mimir

Motivation:
Prometheus is not scalable and hard to configure.
Tasks:

[ ] Deploy Mimir to replace Prometheus storage
[ ] Deploy Grafana Agent Operator
Provision integrations for

[ ] eventhandler
[ ] node-exporter
[ ] statsd-exporter
[ ] cadvisor

[ ] Provision relevant exporters from kube-prometheus-stack
[ ] Configure journald scraping via LogsInstance CRD (see current Promtail chart)
[ ] Deploy Grafana Operator via Helm
[ ] Deploy Grafana via CRD
[ ] Provision Grafana Ingress via CRD
[ ] Provision all current dashboards via CRD

Better use OTEL Operator instead of Grafana Agent Operator:

deploy important components for k8s
Configure metrics collection via Prometheus CRDs
send metrics to Mimir
send logs to Loki

Must deploy Prometheus CRD chart before OTEL operator.

For vcluster:

[ ] Deploy OTEL collector for vcluster in host cluster
[ ] Do not deploy hostpath-mapper
[ ] Configure Kubernetes Attributes Processor, Kubernetes Objects receiver and Kubernetes Cluster Receiver to talk to vcluster API
[ ] Filter all telemetry by vcluster labels
[ ] Send telemetry to mimir, loki (and tempo) inside of vcluster
[ ] Collect vcluster deployment telemetry as well
[ ] Do not collect systemd logs for k3s

Find out how to collect systemd k3s logs with OTEL.


Argument#1 'input' don't have the same device as tensor for argument#2

I try to use apex,  and find
Traceback (most recent call last):   File "train_autodeeplab.py", line 412, in <module>     main()   File "train_autodeeplab.py", line 405, in main     trainer.training(epoch)   File "train_autodeeplab.py", line 175, in training     output = self.model(image)   File "/home/zhangjw/anaconda3/lib/python3.7/site-packages/torch/nn/modules/module.py", line 489, in __call__     result = self.forward(*input, **kwargs)   File "/home/zhangjw/anaconda3/lib/python3.7/site-packages/torch/nn/parallel/data_parallel.py", line 143, in forward     outputs = self.parallel_apply(replicas, inputs, kwargs)   File "/home/zhangjw/anaconda3/lib/python3.7/site-packages/torch/nn/parallel/data_parallel.py", line 153, in parallel_apply     return parallel_apply(replicas, inputs, kwargs, self.device_ids[:len(replicas)])   File "/home/zhangjw/anaconda3/lib/python3.7/site-packages/torch/nn/parallel/parallel_apply.py", line 83, in parallel_apply     raise output   File "/home/zhangjw/anaconda3/lib/python3.7/site-packages/torch/nn/parallel/parallel_apply.py", line 59, in _worker     output = module(*input, **kwargs)   File "/home/zhangjw/anaconda3/lib/python3.7/site-packages/torch/nn/modules/module.py", line 489, in __call__     result = self.forward(*input, **kwargs)   File "/home/zhangjw/anaconda3/lib/python3.7/site-packages/apex/amp/_initialize.py", line 194, in new_fwd     **applier(kwargs, input_caster))   File "/home/zhangjw/AutoML/auto_deeplab.py", line 165, in forward     temp = self.stem0 (x)   File "/home/zhangjw/anaconda3/lib/python3.7/site-packages/torch/nn/modules/module.py", line 489, in __call__     result = self.forward(*input, **kwargs)   File "/home/zhangjw/anaconda3/lib/python3.7/site-packages/torch/nn/modules/container.py", line 92, in forward     input = module(input)   File "/home/zhangjw/anaconda3/lib/python3.7/site-packages/torch/nn/modules/module.py", line 489, in __call__     result = self.forward(*input, **kwargs)   File "/home/zhangjw/anaconda3/lib/python3.7/site-packages/torch/nn/modules/conv.py", line 320, in forward     self.padding, self.dilation, self.groups) RuntimeError: Expected tensor for argument #1 'input' to have the same device as tensor for argument #2 'weight'; but device 1 does not equal 0 (while checking arguments for cudnn_convolution)
When I don't use apex, the error disappear. Do you have any suggestions?
@NoamRosenberg Could your please offer your version of gcc, cuda, and cudnn, and  type of  your GPU？ I guess  the issue  may be related to those, because a warning occurs in the runing:
Warning:  multi_tensor_applier fused unscale kernel is unavailable, possibly because apex was installed without --cuda_ext --cpp_ext. Using Python fallback.  Original ImportError was: ModuleNotFoundError("No module named 'amp_C'")
Did you see this warning?

What opt_level are you using?
And do you run on one gpu or multiple gpus?
Currently only a part of the opt_levels are wirking with multiple gpus.
We issue a warning if you set a combination that is not currently supported.

@iariav Thanks for your reply.
I only run with the default opt_level='00' and on two  gpus.
The hyperparameters are as the following:
CUDA_VISIBLE_DEVICES=8,9 python train_autodeeplab.py --batch-size 4 --dataset cityscapes --checkname Sep3  --alpha_epoch 20 --filter_multiplier 4 --resize 358 --crop_size 256


Error: PDF could not be generated!

RuntimeError (Error: Failed to execute:
["/home/ubuntu/app/opx/shared/bundle/ruby/2.2.0/bin/wkhtmltopdf", "-q", "--page-size", "Letter", "file:////tmp/wicked_pdf20160719-16612-1fbcnav.html", "/tmp/wicked_pdf_generated_file20160719-16612-1t9jv2f.pdf"]
Error: PDF could not be generated!
Kindly guide me.

@sajjadmurtaza this is a defect tracker, not a support interaction system. For help with your problems, please use StackOverflow.
I would suggest, however, that you start by running the command as it is printed in the error to find out more information about why wkhtmltopdf failed to generate your PDF. It is fundamentally that tool's output that you need to consult in this case.

@sigmavirus24 but in my staging server its work fine.

@sajjadmurtaza then the problem is that your staging server and your production server do not match. This is why you should not have a staging environment.


enhancement flush column unique ids for tables before 1.2 automatically

Proposed changes
close: #23617

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

run buildall

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 49.62 seconds
stream load tsv:          545 seconds loaded<PHONE_NUMBER>9 Bytes, about 130 MB/s
stream load json:         20 seconds loaded<PHONE_NUMBER> Bytes, about 112 MB/s
stream load orc:          64 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          32 seconds loaded 861443392 Bytes, about 25 MB/s
insert into select:          29.5 seconds inserted 10000000 Rows, about 338K ops/s
storage size:<PHONE_NUMBER>6 Bytes

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 46.63 seconds
stream load tsv:          539 seconds loaded<PHONE_NUMBER>9 Bytes, about 132 MB/s
stream load json:         20 seconds loaded<PHONE_NUMBER> Bytes, about 112 MB/s
stream load orc:          64 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
insert into select:          28.9 seconds inserted 10000000 Rows, about 346K ops/s
storage size:<PHONE_NUMBER>2 Bytes

run buildall

run buildall

run buildall

run buildall

run buildall

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 45.26 seconds
stream load tsv:          548 seconds loaded<PHONE_NUMBER>9 Bytes, about 130 MB/s
stream load json:         21 seconds loaded<PHONE_NUMBER> Bytes, about 107 MB/s
stream load orc:          64 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
insert into select:          29.2 seconds inserted 10000000 Rows, about 342K ops/s
storage size:<PHONE_NUMBER>4 Bytes

run buildall

run buildall

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 47.38 seconds
stream load tsv:          534 seconds loaded<PHONE_NUMBER>9 Bytes, about 133 MB/s
stream load json:         20 seconds loaded<PHONE_NUMBER> Bytes, about 112 MB/s
stream load orc:          64 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          30 seconds loaded 861443392 Bytes, about 27 MB/s
insert into select:          28.5 seconds inserted 10000000 Rows, about 350K ops/s
storage size:<PHONE_NUMBER>7 Bytes


Contract propagation

I wonder if we could inherit contacts from parent classes.
For example, we define an interface with common contract and all children (without own contract) would be obligated to fulfills parent's requirements.
I'm not sure if it's possible with goaop/framework.

Sorry, I'm going to sleep now, can discuss tomorrow.
In short: this is doable in runtime, we just take our method, then recursively ask for prototype method or for parent class, then take our annotations and just run them all.

Cya. To read tommorow - all right, but do we have to do it manually with pure reflection mechanism or goaop/framework can create some Stub with inherited annotations?

@pdaw I think goaop can't help here, it just puts an interceptor in the source code, but logic of interceptors described in the concrete aspects, for example, in ContractCheckerAspect, etc.
PhpDeal otherwise, can handle this specific job pretty nice by looking at parent methods and querying annotations from them, so all contracts from the parent classes will be applied too. As DbC is development-only tool (it's recommended as a best practice, no contract checks in production mode), this reflection API shouldn't be a performance killer (can be pre-cached in array like this Class::method => array of contracts)

I get it, may you tag it as enhancement?

@lisachenko
I think it can works in two modes:

Contract overrides parents' contracts if it's defined. Otherwise parents' contracts are applied.
Contract does not override parents' contracts, so all contracts are executed.

It would be handled with some extra annotation, ex. @Contract\Override. Default version may be the second one.

H! There are rules for applying DbC contracts for inheritance (these rules are based on Liskov principle):

Subclasses in an inheritance hierarchy are allowed to weaken preconditions (but not strengthen them)
Subclasses in an inheritance hierarchy are allowed to strengthen postconditions and invariants (but not weaken them).

So, for all Ensure and Invariant annotations we MUST collect all parents annotations and check them. If we have some more postconditions in the current class, they should be verified as well. But we SHOULD check if the parent method defines exactly the same contract to execute it only once.
For Verify annotations we should take them only from the current class and run them, no checks for parent contracts. In this way we can give an ability to weaken them. But we SHOULD check special cases for all possible inheritDoc comments in our doc block.

@lisachenko
Thanks for your full and detailed answer :) I'll try to implement it in free time.

Closed in #10, released in 0.4.0


Create a script to test reverse image search quality

Reverse image search is a crucial part of the app. To improve it, we need a way to measure the quality of the search.
As a first iteration, I suggest creating a test set like this: take some amount of images from the reference database, augment them to resemble "taking a photo in art gallery" scenario, run search and measure top-1 accuracy (whether we found the right reference or not).
Also please consider whether this should be done via telegram bot or directly by invoking the reverse image search script. First is closer to the actual metric (we deal with telegram-compressed images and we can spot our pipeline errors this way), Second is faster and easier to solve. Second option should be better since we're benchmarking the search quality and don't need to actually run telegram bot with updated algorithm, but I'm open to discussing pros and cons here.

The script was created by @mjason98 and jupyter notebook for a separate measurement was created by @mohammadsanaee - both are committed to the repo. Now we need to improve search quality.


Eval failing on Redis failover

Hello,
I am currently using redis-sentinel (https://www.npmjs.com/package/redis-sentinel) to cluster multiple redis-servers together; their Redis client is based on node_redis.
I am using the eval command to run lua scripts on the current master of my cluster. The problem is that when the redis master fails and failover occurs, the eval command isn't buffering and being replayed when the next master goes up.
Should this be the case when a failover occurs? I assume a failover would be similar to a single redis-server restart so should commands during this restart time be behaving similarly?
Thanks

This seems like it is actually expected behavior. If there is a bug here, it would probably be in the other project. I glanced at node-redis-sentinel's code, and AFAICT, the only thing that they do is open a new connection to the newly selected master, which is reasonable. It would be nice if they transferred UNSENT commands to the new client, just so long as they don't transfer the PENDING commands as well, as there are many cases where a command might have succeeded and replicated, but we didn't hear about it. That would cause a query to be executed twice...
Also note that redis doesn't have guarantees that a single-server reboot won't cause commands to be lost.


Feature request: Some way to specify container margins

In our organization where we're heavily adopting AdaptiveCards, we often run into cases where we'd like to have content within a container start drawing at a certain margin (aka inset) from the sides. Currently we achieve this behavior by putting everything inside a ColumnSet where the 1st and 3rd columns are empty and control the margins, and the 2nd column contains the content, but this is really cumbersome to do.
I propose that all container types support a property margins that looks something like this:
{
    "top": 8,
    "bottom": 8,
    "left": 15,
    "right": 15
}

And then content within that container would be surrounded by the prescribed padding.
HostConfig.SpacingsConfig doesn't work for this because it affects all elements are laid out.
Container.spacing doesn't work for this because it only affects the vertical spacing to the previous element.

@matthidinger - can you take a look at this request?

@jscalo - this currently is not supported by-design. Please take a look at our documentation to read more about the reasoning behind this: https://docs.microsoft.com/en-us/adaptive-cards/#semantic-instead-of-pixel-perfect


More than one person who is responsible | Adding observers

Great tool! Thanks,  Frédéric!
Two ideas:
First: It would be great to introduce two persons who are responsible for a task. For example: task owner and e.g.a deputy.
Second: Would be great to introduce "oberservers" of tasks. They get a notification if something is finished.
Thanks!

Hi,
I think it can be seen as a duplicate https://github.com/fguillot/kanboard/issues/1637. Perhaps a possibility to add many users with different functions. But I still think it must be as a form of a plugin.

@bdrayer I think this issue is broader than the the linked one. Solving this one here might solve the other as well.
I just wanted to add this feature request as well.
Some thoughts on this:

No notification on discussion: If I comment on a ticket noone / someone else is assigned to, I will not be notified of his answer. (Auto add to observer list? Have a box when posting a comment to add to observer list?)
It should be able to somehow "follow" a task → Observer list.
I would like to be able to add other persons to the observer list (Maybe only for task creator / project manager)

see also #1230

Closing this duplicate.


Merge commits for release 161.8834.0

Merge commits for release 161.8834.0

Can you revert the commit 4dd0fe8? This change was originally made in Github so no need to add it again

done


Bulk send

Hi @tjlytle
It's possible to send bulk?
Regards

Yup, just loop through your list. :)
The API doesn't support multiple recipients, but you can certainly make multiple send requests. The client library will rate limit accordingly.

So getting timeout error to send a lot number with loop method. How many support with this method?

This package is good option for handler this issue but I can't use that because i want use in my plugin on the wordpress.
Maybe WP Background Processing is better for wordpress.
Thanks for your help.


Solution for Coach Connecting Carla

There is a bug for Coach Connecting  Carla. It is beacause the some functions are not completed. It leads in the "self.observation" can not be transfered to the "state". Besides, the "_preprocess_observation" was not rewrite in the child class. To fix that, rewrite the "__preprocess_observation" as
def _preprocess_observation(self, observation):
if observation is None:
return None
if self.done:
return observation
return observation
Besides, it seems that "self.state" is the same object as "self.observation". In "_update_state" in carla_environment_wrapper.py, insert
self.state = self.observation
Moreover, the assignment of observation cannot work, we modify the @property and @property.setter with observation={}
By the way, Coach offer a free port for every reset of Carla environment, but Carla need three ports. All the three port should be free.
Anathor issue is that when you use the release of Carla, the enviroment cannot read the ini file. The enviroment is set by coding.
Appreciated for the work of Carla group@intel
From.   zjuybx & junweifu

Hi @zjuybx and @junweifu, thanks for letting us know.
There was indeed a bug that resulted from a refactoring of the code that was done earlier this year.
We now have a new version in which this is fixed and should be working correctly.
Please reopen the issue if it persists.


⚠ Processors has degraded performance

In b4b6140, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 58 ms

Resolved: Processors performance has improved in c65cb13.


Not working in navigation item

The button "Back" or "Cancel" or "Save" on navigation bar dose not change the language on the method 2

Thanks for reporting the issue. Sorry, I don't have time for this right now. I will try to look at end of the week.

@YKSing did you able to successfully resolve it?

I'm having this issue too... I ended up having to pop a message to the user and recommend it to restart app =[


How would you edit a message with lots of entites ?

 So the first step is to useforwardMessage and get info about body of post, The problem is the api doesnt provide full text of the message with raw entites (<b>text</b>) so we have to build the message with offsets in the entities array, Is there any method that provides full and raw text and we could easily edit a message just like telegram clients ?

It is a bad idea to use forwardMessage to get message content. Why do you need to edit a message with unknown content?

Is there any method that provides full and raw text and we could easily edit a message just like telegram clients ?

Telegram clients don't use anything like "the message with raw entites". They use WYSIWIG input fields, where you can change formatting of some text from context menu.

Is there any method that provides full and raw text ...?

Bot API frameworks in different languages have this functionality, but it should be rarely needed. Since Bot API 5.0 you can pass entities to sendMessage method in exactly the same format they are received from Bot API. You don't need to use Markdown or HTML parse modes for that.

Since Bot API 5.0 you can pass entities to sendMessage method

I didnt know that thanks!


Allow overriding skip_kfgame

With a jinja default. Currently it's ignored.

Dunno what this was about, maybe it's just the same casting issue as with the classic flag?

This needs to be implemented for install too, for CI. It'd take too much time to install full KF2 on every commit (and it'd possibly kick me out of the free tier too).

Done.


Added User.Read into scopes for Connect-Graph

Description

Related Issue

https://github.com/rubrikinc/polaris-o365-powershell/issues/29

Motivation and Context

The cmdlet Get-MgOrganization cannot be called without the proper permissions. User.Read is the lowest level permission to run the cmdlet. It's not required to specify User.Read when connecting to MS Graph, but the permission needs to be consented to.
By directly specifying this permission in the scopes when connecting, the user will be prompted to grant consent for the permission.
How Has This Been Tested?

Tested by running Connect-MgGraph -Scopes "Application.ReadWrite.All", with no permissions already consented to. Running Get-MgOrganization fails due to insufficient privileges.
Reconnecting with Connect-MgGraph -Scopes "Application.ReadWrite.All", "User.Read" allows the cmdlet Get-MgOrganization to be run succesfully
Reconnecting with Connect-MgGraph with no scopes, the cmdlet Get-MgOrganization still runs as User.Read permission has already been consented to
Screenshots (if appropriate):

Types of changes
What types of changes does your code introduce? Put an x in all the boxes that apply:

[X] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:
Go over all the following points, and put an x in all the boxes that apply. If you're unsure about any of these, don't hesitate to ask. We're here to help!

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[X] I have read the CONTRIBUTION document.
[ ] I have updated the CHANGELOG file accordingly for the version that this merge modifies.

Thanks @scottwtang ! Looks great.


litellm_get_search_query does not use a local llm config

In the standard ask pipeline, the function litellm_get_search_query does not employ custom llm settings config available in query.settings.llm_config:
https://github.com/Future-House/paper-qa/blob/e49f1af67e5463ee5188cbe20bdb9747f14db1f9/paperqa/agents/main.py#L178-L180
This leads to creating a default LiteLLMModel instance which by default calls some public endpoint (eg, OpenAI one)
https://github.com/Future-House/paper-qa/blob/e49f1af67e5463ee5188cbe20bdb9747f14db1f9/paperqa/agents/helpers.py#L54-L55
I found this behavior after setting all llm_config, summary_llm_config and agent_llm_config pointing to a custom (local) vLLM endpoint, but PaperQA always calls some hardcoded open endpoint at this step and fails because those endpoints don't recognize custom model names.
I managed to solve this by patching litellm_get_search_query to accept a config dict and using it in the LiteLLMModel initialization:
for search in await litellm_get_search_query(
        question, llm=query.settings.llm, count=3, config=query.settings.llm_config
    ):

and
model = LiteLLMModel(name=llm, config=config)

Is this a bug (I can submit a PR if you'd like) or a feature of the fake agent? 🤔

Hi @migalkin thanks for the issue and nice spot, I follow what you're saying. Feel free to open a PR for this 👍
Looks like the same thing happens in AnswerResponse.get_summary.
Let's call this a bug because we advertise as working for local LLMs

Hi @migalkin I was in the code nearby, so I just fixed it just now. Please pip install our main branch via pip install<EMAIL_ADDRESS>for the fix, and it will be included in the next release (sometime in coming week)


⚠ Turnos 24x7 has degraded performance

In f028e0a, Turnos 24x7 (https://reservas-dev.alternativasinteligentes.com/) experienced degraded performance:

HTTP code: 200
Response time: 1114 ms

Resolved: Turnos 24x7 performance has improved in 36bea38.


App Styling PR

Bookstore: styling
👨💻👨💻👨💻👨💻👨💻👨💻👨💻
Edited styles of the app to match exactly the one given in the sneak peek.
To highlight:
✔ Added the middle section that shows the progress status
✔ Aligned the input fields
✔ Added app screenshot in the README.md
✔ Changed the font-size to be the body font-size from the design

I actually added them but did that in the styling branch. 👍 Thanks, bro.


Add missing entries to changelog

I've focused on my stuff because that's what I can identify. Feel free to add anything I've missed.
This PR was primarily motivated by wanting to backport the changes to the changelog in release 0.5.5.

Is this for 0.5.5 or the next release?

Is this for 0.5.5 or the next release?

Ahh good question! Half of these belong to 0.5.5. I'll fix it later!

bors r+

bors retry


overflow evaluating requirement for &pyo3::Bound<'_, _>: pyo3::IntoPyObject<'_>

Found while attempting to upgrade pydantic-core to test out PyO3 main.
Consider the following code from 0.22.
use pyo3::prelude::*;

pub trait Foo<'py>: ToPyObject {}

fn takes_foo<'py>(foo: impl Foo<'py>) {}

... this compiles fine, and is a useful pattern. Unfortunately, the upgrade path for this seems difficult in our current 0.23 draft.
Given the ToPyObject super trait (i.e. by-ref conversion), the simple thing I tried is:
use pyo3::prelude::*;

pub trait Foo<'py>
where
    for<'a> &'a Self: IntoPyObject<'py>,
{
}

fn takes_foo<'py>(foo: impl Foo<'py>) {}

Unfortunately, this immediately blows up the compiler with a recursion error:
error[E0275]: overflow evaluating the requirement `&pyo3::Bound<'_, _>: pyo3::IntoPyObject<'_>`
  |
  = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`pyo3_scratch`)
  = note: required for `&&pyo3::Bound<'_, _>` to implement `pyo3::IntoPyObject<'_>`
  = note: 126 redundant requirements hidden
  = note: required for `&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&...` to implement `for<'a> pyo3::IntoPyObject<'py>`
  = note: the full name for the type has been written to '/Users/david/Dev/pyo3-scratch/target/debug/deps/pyo3_scratch.long-type-2493199481127865716.txt'
  = note: consider using `--verbose` to print the full type name to the console

Interestingly, tweaking to add a "real" implementation of IntoPyObjectRef fixes the problem, though I think I would need to add a method to the IntoPyObjectRef trait (maybe into_pyobject_ref) to actually be able to access the conversion:
use pyo3::prelude::*;

pub trait IntoPyObjectRef<'py> {}

impl<'a, 'py, T: 'a> IntoPyObjectRef<'py> for T where &'a T: IntoPyObject<'py> {}

pub trait Foo<'py>: IntoPyObjectRef<'py> {}

pub fn takes_foo<'py>(foo: impl Foo<'py>) {}

... this also makes me wonder, should we do more crazy things like un-deprecate ToPyObject? We could instead maybe have this blanket:
impl<T> IntoPyObject<'py> for &'_ T where T: ToPyObject { /* details */ }

The justification would be that if we need to have a real trait to be usable as a super-trait for "I can be converted by-reference to Python" like the IntoPyObjectRef above, ToPyObject already fills this need. If we ended up with the final pair being ToPyObject and IntoPyObject, that seems ok to me.
The idea would be that perhaps in 0.24 we would "break" ToPyObject to make it fallible etc.
I think I need to sleep on this...

Maybe we could even make the changes ToPyObject immediately in 0.23. I think we'd know what we'd like the final state to be and it would avoid a weird intermediate state. It probably wouldn't be much different to whatever we're going to have to ask users to upgrade through when we change FromPyObject...

Uff, that seems tricky indeed. This seems like the correct approach to me. To be honest I think the error here is a compiler limitation and this should just work™

use pyo3::prelude::*;

pub trait Foo<'py>
where
    for<'a> &'a Self: IntoPyObject<'py>,
{
}

fn takes_foo<'py>(foo: impl Foo<'py>) {}

It seems a bit unfortunate if we need to stick with two traits for this, but I agree that this looks like a useful pattern.
If we need to provide a blanket, my first thought would be to use the first one
impl<'a, 'py, T: 'a> IntoPyObjectRef<'py> for T where &'a T: IntoPyObject<'py> {}

and have IntoPyObjectRef (or ToPyObject if we want to reuse that name) Sealed, so that IntoPyObject is the primary tool for conversion and IntoPyObjectRef is "just" the workaround to make it usable for now.
It seems like with -Znext-solver this starts to work, we just need to repeat the bound on the impl, because only bounds with a literal Self on their left side are currently implied:
pub trait Foo<'py>
where
    for<'a> &'a Self: IntoPyObject<'py>,
{
}

fn takes_foo<'py, F>(foo: F)
where
    F: Foo<'py>,
    for<'a> &'a F: IntoPyObject<'py>,
{
}

Actually that last example also works on stable, so maybe the compiler just has a really awful error message to tell us to repeat the bound....

Ah, great insights! Yes, perhaps in that case we can avoid doing anything rash here and keep things as-is for 0.23
I'll try to proceed with the pydantic-core update today and hopefully find a pattern that's good enough while we learn about next refinements 👍

It looks like with -Znext-solver it is possible to at least see where the problematic uses of impl Trait are (maybe ~100 of them, so it's going to be a chunky diff), so that makes me feel more comfortable about this given that the result should hopefully then compile on stable. Using nightly as a one-off workaround to get feedback during painful upgrades seems acceptable, albeit unfortunate.
I will experiment briefly with the blanket idea too, I wonder if I can localise it to pydantic-core to learn without needing to impose changes here.

Well, I found a different solution, which makes it more convenient to upgrade.
I transformed the trait from
pub trait Foo<'py>: ToPyObject {}

into
pub trait Foo<'py> {
    /// Convert this `Foo` to a Python object, by-reference
    #[inline]
    fn to_object<'a>(&'a self, py: Python<'py>) -> PyResult<Bound<'py, PyAny>> {
        Ok(self
            .py_converter()
            .into_pyobject(py)
            .map_err(Into::into)?
            .into_bound()
            .into_any())
    }

    /// GAT which allows conversion into Python objects, this is expected to be `&Self`
    type PyConverter<'a>: IntoPyObject<'py>
    where
        Self: 'a;

    /// Helper method to prepare for conversion into a Python object
    fn py_converter(&self) -> Self::PyConverter<'_>;
}

This made it so that callsites using impl Foo just needed to switch .to_object() calls to .to_object()?.unbind(), and everything then pretty much worked as it did before.

Nice trick, you might be able to get rid of the extra GAT by using fn py_converter(&self) -> impl IntoPyObject<'py>; if your using 1.75+


New package: AhoyLabs.BackyardAI version 0.30.0

Checklist for Pull Requests

[x] Have you signed the Contributor License Agreement?
[ ] Is there a linked Issue?

Manifests

[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[x] Does your manifest conform to the 1.6 schema?

Note: <path> is the directory's name containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Hi @SpecterShell,
Manual Validation ended with:

SquirrelSetup log contents:
2024-10-22 11:56:59> Program: Starting Squirrel Updater: --install . --silent --rerunningWithoutUAC
2024-10-22 11:57:00> Program: Starting install, writing to C:\Users\user\AppData\Local\SquirrelTemp
2024-10-22 11:57:00> Program: About to install to: C:\Users\user\AppData\Local\faraday
2024-10-22 11:57:00> CheckForUpdateImpl: Couldn't write out staging user ID, this user probably shouldn't get beta anything: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\user\AppData\Local\faraday\packages\.betaId'.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)
   at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)
   at System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost)
   at System.IO.File.WriteAllText(String path, String contents, Encoding encoding)
   at Squirrel.UpdateManager.CheckForUpdateImpl.getOrCreateStagedUserId()
2024-10-22 11:57:00> CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\user\AppData\Local\faraday\packages\RELEASES'.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
   at Squirrel.Utility.LoadLocalReleases(String localReleaseFile)
   at Squirrel.UpdateManager.CheckForUpdateImpl.<CheckForUpdate>d__2.MoveNext()
2024-10-22 11:57:00> CheckForUpdateImpl: Reading RELEASES file from C:\Users\user\AppData\Local\SquirrelTemp
2024-10-22 11:57:00> CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch
2024-10-22 11:57:04> ApplyReleasesImpl: Writing files to app directory: C:\Users\user\AppData\Local\faraday\app-0.30.0
2024-10-22 11:57:06> LogHost: Rigging execution stub for Backyard AI_ExecutionStub.exe to C:\Users\user\AppData\Local\faraday\Backyard AI.exe
2024-10-22 11:57:26> ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\user\AppData\Local\faraday\app-0.30.0\Backyard AI.exe]
2024-10-22 11:57:28> ApplyReleasesImpl: Starting fixPinnedExecutables
2024-10-22 11:57:28> ApplyReleasesImpl: Examining Pin: File Explorer.lnk
2024-10-22 11:57:28> ApplyReleasesImpl: Examining Pin: Windows PowerShell.lnk
2024-10-22 11:57:28> ApplyReleasesImpl: Fixing up tray icons
2024-10-22 11:57:28> ApplyReleasesImpl: cleanDeadVersions: for version 0.30.0
2024-10-22 11:57:28> ApplyReleasesImpl: cleanDeadVersions: exclude folder app-0.30.0

Noticing path errors for subfolders of /packages - the /packages folder only holds a .nupkg file, and no subfolders:

Hi @SpecterShell,
Manual Validation ended with:  SquirrelSetup log contents:
2024-10-22 11:56:59> Program: Starting Squirrel Updater: --install . --silent --rerunningWithoutUAC
2024-10-22 11:57:00> Program: Starting install, writing to C:\Users\user\AppData\Local\SquirrelTemp
2024-10-22 11:57:00> Program: About to install to: C:\Users\user\AppData\Local\faraday
2024-10-22 11:57:00> CheckForUpdateImpl: Couldn't write out staging user ID, this user probably shouldn't get beta anything: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\user\AppData\Local\faraday\packages\.betaId'.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)
   at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)
   at System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost)
   at System.IO.File.WriteAllText(String path, String contents, Encoding encoding)
   at Squirrel.UpdateManager.CheckForUpdateImpl.getOrCreateStagedUserId()
2024-10-22 11:57:00> CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\user\AppData\Local\faraday\packages\RELEASES'.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
   at Squirrel.Utility.LoadLocalReleases(String localReleaseFile)
   at Squirrel.UpdateManager.CheckForUpdateImpl.<CheckForUpdate>d__2.MoveNext()
2024-10-22 11:57:00> CheckForUpdateImpl: Reading RELEASES file from C:\Users\user\AppData\Local\SquirrelTemp
2024-10-22 11:57:00> CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch
2024-10-22 11:57:04> ApplyReleasesImpl: Writing files to app directory: C:\Users\user\AppData\Local\faraday\app-0.30.0
2024-10-22 11:57:06> LogHost: Rigging execution stub for Backyard AI_ExecutionStub.exe to C:\Users\user\AppData\Local\faraday\Backyard AI.exe
2024-10-22 11:57:26> ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\user\AppData\Local\faraday\app-0.30.0\Backyard AI.exe]
2024-10-22 11:57:28> ApplyReleasesImpl: Starting fixPinnedExecutables
2024-10-22 11:57:28> ApplyReleasesImpl: Examining Pin: File Explorer.lnk
2024-10-22 11:57:28> ApplyReleasesImpl: Examining Pin: Windows PowerShell.lnk
2024-10-22 11:57:28> ApplyReleasesImpl: Fixing up tray icons
2024-10-22 11:57:28> ApplyReleasesImpl: cleanDeadVersions: for version 0.30.0
2024-10-22 11:57:28> ApplyReleasesImpl: cleanDeadVersions: exclude folder app-0.30.0

Noticing path errors for subfolders of /packages - the /packages folder only holds a .nupkg file, and no subfolders:

But it is all good in my VM. 🤔

Verify:


Dev environment releases not working

The dev releases are not working right now due to major changes. You can use multi_node_screen.sh for now
I will wait for all the major PRs to be merged before fixing it.

I was also having trouble getting the the dev build to work over the weekend. My problems were around rustler and compiling rox, however. Is that currently the issue?
The multi_node_screen.sh worked to make an effective release, but I wasn't sure how to use it further after staring up the release with the console command.

Yes, the issue is about rox not compiling and the application can't start properly I suppose. I will fix it in the coming days.


Perform the following update to the Terra TOS

Per @davidbernick. Add the following text:
"You must conduct only authorized business on the system.
Your level of access to systems and networks owned by Broad Institute is limited to ensure your access is no more than necessary to perform your legitimate tasks or assigned duties. If you believe you are being granted access that you should not have, you must immediately notify the Broad Institute Operations Center<EMAIL_ADDRESS>You must maintain the confidentiality of your authentication credentials such as your password. Do not reveal your authentication credentials to anyone; a Broad Institute employee should never ask you to reveal them.
You must follow proper logon/logoff procedures. You must manually logon to your session; do not store you password locally on your system or utilize any automated logon capabilities. You must promptly logoff when session access is no longer needed. If a logoff function is unavailable, you must close your browser. Never leave your computer unattended while logged into the system.
You must report all security incidents or suspected incidents (e.g., lost passwords, improper or suspicious acts) related to Broad Institute systems and networks to the Broad Institute Operations Center<EMAIL_ADDRESS>You must not establish any unauthorized interfaces between systems, networks, and applications owned by Broad Institute.
Your access to systems and networks owned by Broad Institute is governed by, and subject to, all Federal laws, including, but not limited to, the Privacy Act, 5 U.S.C. 552a, if the applicable Broad Institute system maintains individual Privacy Act information. Your access to Broad Institute systems constitutes your consent to the retrieval and disclosure of the information within the scope of your authorized access, subject to the Privacy Act, and applicable State and Federal laws.
You must safeguard system resources against waste, loss, abuse, unauthorized use or disclosure, and misappropriation.
You must not process U.S. classified national security information on the system.
You must not browse, search or reveal information hosted by Broad Institute except in accordance with that which is required to perform your legitimate tasks or assigned duties.
You must not retrieve information, or in any other way disclose information, for someone who does not have authority to access that information.
You agree to contact the Broad Institute Chief Information Security Officer or the Broad Institute Operations Center<EMAIL_ADDRESS>if you do not understand any of these rules."

@davidbernick should this section go under By accessing and using Terra, you agree that you will:? Some of the existing information is a close duplicate of the new language provided by Brad. Should I replace that section with the exact wording from Brad? Or this update in addition to what exists in the TOS?

Great question! Can you do your best to de-dupe the language and just add
what you think is not duplicative? Best judgment is fine!
On Mon, Feb 11, 2019 at 5:21 PM Kate Voss<EMAIL_ADDRESS>wrote:

@davidbernick https://github.com/davidbernick should this section go
under By accessing and using Terra, you agree that you will:
https://github.com/DataBiosphere/saturn-ui/blob/dev/src/pages/TermsOfService.js#L33?
Some of the existing information is a close duplicate of the new language
provided by Brad. Should I replace that section with the exact wording from
Brad? Or this update in addition to what exists in the TOS?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/DataBiosphere/saturn-ui/issues/1177#issuecomment-462518677,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB-AMTeTCGTaV5qwNzrXcDi5qhXqe7WJks5vMe0BgaJpZM4a1JiN
.


Update instructions for cherry-picking commits.

Codecov Report

Merging #1736 into master will increase coverage by 0.01%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #1736      +/-   ##
============================================
+ Coverage     82.12%   82.13%   +0.01%
  Complexity     1950     1950
============================================
  Files           288      288
  Lines          9061     9061
  Branches        862      862
============================================
+ Hits           7441     7442       +1
  Misses         1329     1329
+ Partials        291      290       -1

Impacted Files
Coverage Δ
Complexity Δ

...census/implcore/trace/export/SpanExporterImpl.java
97.26% <0%> (+1.36%)
9% <0%> (ø)
:arrow_down:

Continue to review full report at Codecov.

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


[FEATURE] Add --secrets-topic and --policy-topic flags + env vars to wash up

Affected project(s)

[ ] documentation
[ ] examples
[ ] wasmCloud host
[X] wasmCloud CLI (wash)
[ ] wasmCloud dashboard UI (washboard)
[ ] capability providers
[ ] provider bindgen
[ ] control interface client
[ ] other / not sure

Is your feature request related to a problem? Please describe.
wash up currently doesn't have command line flags to provide a secrets-topic or policy-topic subject to wasmCloud for secrets and policy configuration, respectively. You can use the environment variables to pass these down to wasmCloud, but that might be hard to know if you did it correctly.
Describe the solution you'd like
I would like for you to be able to run either of these commands to configure secrets & policy services.
WASMCLOUD_SECRETS_TOPIC=wasmcloud.secrets wash up
WASMCLOUD_POLICY_TOPIC=wasmcloud.policy wash up

or
wash up --secrets-topic wasmcloud.secrets
wash up --policy-topic wasmcloud.policy

Describe alternatives you've considered
No response
Additional context
No response

@brooksmtownsend I'd like to pick this issue up please !

this issue can be closed !


[ml] Switch to using temporary data reference SAS uri for snapshot uploads

Description
Please add an informative description that covers that changes made by the pull request and link all relevant issues.
If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
All SDK Contribution checklist:

[ ] The pull request does not introduce [breaking changes]
[ ] CHANGELOG is updated for new features, bug fixes or other significant changes.
[ ] I have read the contribution guidelines.

General Guidelines and Best Practices

[ ] Title of the pull request is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

API change check
API changes are not detected in this pull request.

Note: I will squash most of the later commits as they are all merge resolutions/test recordings

Please verify the UI can properly display code snapshots with this change.

Please verify the UI can properly display code snapshots with this change.

Sure, here are some screenshots. It's been confirmed multiple times, and I held a bug bash in December where Office team confirmed their workflows work with the branch: https://msdata.visualstudio.com/Vienna/_workitems/edit/2009264/?triage=true


Add endpoint to enable estimation of inclusion fee

What problem does your feature solve?
As a transaction-submitting developer, I need a way to estimate inclusion fee so that I can be sure my transaction will make it into the next ledger.
What would you like to see?
An endpoint that returns an inclusion fee, where the value of the fee is such that it maximizes the probability of the transaction making it into the current ledger while minimizing wasted XLM.
What alternatives are there?
N/A

Notes:

this endpoint could potentially be a field returned by simulateTransaction.transactionData as well... I'm open to both possibilities cc: @janewang
docs should be updated to suggest best practices for using the endpoint
the logic to compute the value of inclusion fee is TBD

Ethereuem geth looks 20 blocks behind and only considers the cheapest 3 transactions for each block, choosing the 60th percentile. 20 blocks is likely too long for Soroban

References that may help in determining computing logic:

https://docs.alchemy.com/docs/how-to-build-a-gas-fee-estimator-using-eip-1559#relationship-between-gasusedratio-and-basefeepergas
https://github.com/ethereum/pm/issues/328#issuecomment-853234014

Feel free

Another idea that came up while discussing with Jane. We can simplify the MVP even more: use the same logic as fee_stats but filter out soroban tx for the new endpoint

Closed in favor of https://github.com/stellar/soroban-rpc/issues/114


FR: Multus chart with extra customization with helm values

I would love to be able to set these in the helm values: https://github.com/samip5/k8s-cluster/blob/e32536ce7c88ade8fc139805098c722762ff7120/cluster/apps/networking/multus-shit.yaml#L36#L42
Which are arguments for the container and I would also like to be able to see the log with kubectl log if the log file arg is specified.
Currently there is no way to specify the multus log level or a log file for it which is troublesome.

Since all the charts are based in the common library from @bjw-s you could set the args with
args:
- arg1
- arg2
- ...

See https://github.com/bjw-s/helm-charts/blob/725f6ea31be10a36ecbaf1f255549fcfbbc9a2cf/charts/library/common/values.yaml#L72

@samip5 - does this works for you?

@samip5 - does this works for you?

No, as I don't think this does actually work:
{ "cniVersion": "0.3.1", "name": "multus-cni-network", "type": "multus", "kubeconfig": "/etc/cni/net.d/multus.d/multus.kubeconfig", "delegates": [ { "cniVersion": "0.3.1", "name": "cilium", "type": "cilium-cni", "enable-debug": false, "log-file": "/var/run/cilium/cilium-cni.log" } ] }

https://github.com/samip5/k8s-cluster/blob/32367c240028786a5976c9ccbcd3f94d78d39cba/cluster/apps/networking/multus/app/helm-release.yaml#L25

@samip5 - revisiting this.
I see you pass parameters - is this anything missing args you need to pass?

I don't think there is, but I'm currently holding off on updating as "if it works, don't update"


Create Streak tasks for everyone that asked for help from Hackbot in the last check-in and assign them to Kyle

I'll leave a comment fleshing out what needs to happen for this task in a bit.

We've decided not to do Streak tasks this week.
I've provided Kyle a CSV for all the people with notes, and he has reached out to all of them


Front matter block causing error on Windows

On a Windows machine (Windows 11), if I include the yaml matter block and run presenterm [path] I get the following error:
invalid presentation metadata: deserializing from YAML containing more than one document is not supported

If I remove the block, the presentation renders as expected.
The following works...
Header
---

This is a test.

<!-- end_slide -->

But this does not...
---
title: Test
author: Test
---

Header
---

This is a test.

<!-- end_slide -->

Forgot to add, I'm using presenterm version 0.4.1

Thanks for the report! This is now fixed in master.


docs: Add ubuntu installation guide

Add ubuntu installation guide for kata containers packages.
Fixes #60
Signed-off-by: Gabriela Cervantes<EMAIL_ADDRESS>

Currently this is blocked by https://github.com/kata-containers/packaging/issues/28

adding DNM label as per @GabyCT request

@jcvenegas currently this is working for ubuntu 16.04 and 17.10

Thanks @GabyCT!

I had issues setting this up. When I tried to install  just the kata-shim I got an error about Protocol "http" not support or disabled on libcurl but it points to https site.  Note:  curl -O https://download.clearlinux.org/current/clear-22350-azure-docker.vhd.gz works for me so curl is working through https on my machine.  It also works on http connections.
$ sudo -E apt-get -y install kata-runtime kata-proxy kata-shim
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
kata-runtime : Depends: kata-shim (>= 0.0.1+git.2bdea2e-14) but 0.0.1+git.2bdea2e-13 is to be installed
E: Unable to correct problems, you have held broken packages.
kata@kata1:~$ sudo apt install kata-shim
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libboost-random1.58.0 libboost-thread1.58.0
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
kata-shim
0 upgraded, 1 newly installed, 0 to remove and 150 not upgraded.
Need to get 2,289 kB of archives.
After this operation, 9,178 kB of additional disk space will be used.
Err:1 https://download.opensuse.org/repositories/home:/katacontainers:/release/xUbuntu_16.04  kata-shim 0.0.1+git.2bdea2e-13
Protocol "http" not supported or disabled in libcurl
E: Failed to fetch https://download.opensuse.org/repositories/home:/katacontainers:/release/xUbuntu_16.04/./amd64/kata-shim_0.0.1+git.2bdea2e-13_amd64.deb  Protocol "http" not supported or disabled in libcurl
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Umm, that should be "tested on Ubuntu 17.10 ftr" :smile:

@eadamsintel, I could not be able to reproduce it
$ sudo -E apt-get -y install kata-runtime kata-proxy kata-shim                                                                                Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  kata-containers-image kata-ksm-throttler kata-linux-container
  libboost-iostreams1.62.0 libboost-random1.62.0 libboost-regex1.62.0
  libboost-system1.62.0 libboost-thread1.62.0 libibverbs1 libnl-route-3-200
  libnspr4 libnss3 libpixman-1-0 librados2 librbd1 qemu-lite qemu-vanilla
The following NEW packages will be installed:
  kata-containers-image kata-ksm-throttler kata-linux-container kata-proxy
  kata-runtime kata-shim libboost-iostreams1.62.0 libboost-random1.62.0
  libboost-regex1.62.0 libboost-system1.62.0 libboost-thread1.62.0 libibverbs1
  libnl-route-3-200 libnspr4 libnss3 libpixman-1-0 librados2 librbd1 qemu-lite
  qemu-vanilla
0 upgraded, 20 newly installed, 0 to remove and 1 not upgraded.
Need to get 54.9 MB of archives.
After this operation, 683 MB of additional disk space will be used.

(Reading database ... 66159 files and directories currently installed.)
Preparing to unpack .../00-kata-containers-image_0.0.1-18_amd64.deb ...
Unpacking kata-containers-image (0.0.1-18) ...
Selecting previously unselected package kata-ksm-throttler.
Preparing to unpack .../01-kata-ksm-throttler_0.0.1.git+fd007ea-20_amd64.deb ...
Unpacking kata-ksm-throttler (0.0.1.git+fd007ea-20) ...
Selecting previously unselected package kata-linux-container.
Preparing to unpack .../02-kata-linux-container_4.14.22-111_amd64.deb ...
Unpacking kata-linux-container (4.14.22-111) ...
Selecting previously unselected package kata-proxy.
Preparing to unpack .../03-kata-proxy_0.0.1+git.de18929-19_amd64.deb ...
Unpacking kata-proxy (0.0.1+git.de18929-19) ...
Selecting previously unselected package kata-shim.
Preparing to unpack .../04-kata-shim_0.0.1+git.2bdea2e-20_amd64.deb ...
Unpacking kata-shim (0.0.1+git.2bdea2e-20) ...
Selecting previously unselected package libpixman-1-0:amd64.
Preparing to unpack .../05-libpixman-1-0_0.34.0-1_amd64.deb ...
Unpacking libpixman-1-0:amd64 (0.34.0-1) ...
Selecting previously unselected package libboost-iostreams1.62.0:amd64.
Preparing to unpack .../06-libboost-iostreams1.62.0_1.62.0+dfsg-4build3_amd64.de                                                                                b ...
Unpacking libboost-iostreams1.62.0:amd64 (1.62.0+dfsg-4build3) ...
Selecting previously unselected package libboost-system1.62.0:amd64.
Preparing to unpack .../07-libboost-system1.62.0_1.62.0+dfsg-4build3_amd64.deb .                                                                                ..
Unpacking libboost-system1.62.0:amd64 (1.62.0+dfsg-4build3) ...
Selecting previously unselected package libboost-random1.62.0:amd64.
Preparing to unpack .../08-libboost-random1.62.0_1.62.0+dfsg-4build3_amd64.deb                                                                                ..
Unpacking libboost-random1.62.0:amd64 (1.62.0+dfsg-4build3) ...
Selecting previously unselected package libboost-regex1.62.0:amd64.
Preparing to unpack .../09-libboost-regex1.62.0_1.62.0+dfsg-4build3_amd64.deb                                                                                .
Unpacking libboost-regex1.62.0:amd64 (1.62.0+dfsg-4build3) ...
Selecting previously unselected package libboost-thread1.62.0:amd64.
Preparing to unpack .../10-libboost-thread1.62.0_1.62.0+dfsg-4build3_amd64.deb                                                                                ..
Unpacking libboost-thread1.62.0:amd64 (1.62.0+dfsg-4build3) ...
Selecting previously unselected package libnl-route-3-200:amd64.
Preparing to unpack .../11-libnl-route-3-200_3.2.29-0ubuntu3_amd64.deb
Unpacking libnl-route-3-200:amd64 (3.2.29-0ubuntu3) ...
Selecting previously unselected package libibverbs1.
Preparing to unpack .../12-libibverbs1_1.2.1-2ubuntu1_amd64.deb
Unpacking libibverbs1 (1.2.1-2ubuntu1) ...
Selecting previously unselected package libnspr4:amd64.
Preparing to unpack .../13-libnspr4_2%3a4.16-1ubuntu2_amd64.deb
Unpacking libnspr4:amd64 (2:4.16-1ubuntu2) ...
Selecting previously unselected package libnss3:amd64.
Preparing to unpack .../14-libnss3_2%3a3.32-1ubuntu3_amd64.deb
Unpacking libnss3:amd64 (2:3.32-1ubuntu3) ...
Selecting previously unselected package librados2.
Preparing to unpack .../15-librados2_12.2.2-0ubuntu<IP_ADDRESS>_amd64.deb
Unpacking librados2 (12.2.2-0ubuntu<IP_ADDRESS>) ...
Selecting previously unselected package librbd1.
Preparing to unpack .../16-librbd1_12.2.2-0ubuntu<IP_ADDRESS>_amd64.deb
Unpacking librbd1 (12.2.2-0ubuntu<IP_ADDRESS>) ...
Selecting previously unselected package qemu-lite.
Preparing to unpack .../17-qemu-lite_2.11.0+git.6ba2bfbee9-32_amd64.deb
Unpacking qemu-lite (2.11.0+git.6ba2bfbee9-32) ...
Selecting previously unselected package qemu-vanilla.
Preparing to unpack .../18-qemu-vanilla_2.11+git.e3050471ff-28_amd64.deb
Unpacking qemu-vanilla (2.11+git.e3050471ff-28) ...
Selecting previously unselected package kata-runtime.
Preparing to unpack .../19-kata-runtime_0.0.1+git.ea789db-30_amd64.deb
Unpacking kata-runtime (0.0.1+git.ea789db-30) ...
Setting up kata-shim (0.0.1+git.2bdea2e-20) ...
Setting up kata-linux-container (4.14.22-111) ...
Setting up kata-ksm-throttler (0.0.1.git+fd007ea-20) ...
Setting up libboost-regex1.62.0:amd64 (1.62.0+dfsg-4build3) ...
Setting up kata-proxy (0.0.1+git.de18929-19) ...
Setting up libnl-route-3-200:amd64 (3.2.29-0ubuntu3) ...
Setting up libnspr4:amd64 (2:4.16-1ubuntu2) ...
Setting up kata-containers-image (0.0.1-18) ...
Setting up libboost-iostreams1.62.0:amd64 (1.62.0+dfsg-4build3) ...
Setting up libpixman-1-0:amd64 (0.34.0-1) ...
Processing triggers for libc-bin (2.26-0ubuntu2.1) ...
Setting up libboost-system1.62.0:amd64 (1.62.0+dfsg-4build3) ...
Setting up libibverbs1 (1.2.1-2ubuntu1) ...
Setting up libboost-thread1.62.0:amd64 (1.62.0+dfsg-4build3) ...
Setting up libboost-random1.62.0:amd64 (1.62.0+dfsg-4build3) ...
Setting up libnss3:amd64 (2:3.32-1ubuntu3) ...
Setting up librados2 (12.2.2-0ubuntu<IP_ADDRESS>) ...
Setting up librbd1 (12.2.2-0ubuntu<IP_ADDRESS>) ...
Setting up qemu-vanilla (2.11+git.e3050471ff-28) ...
Setting up qemu-lite (2.11.0+git.6ba2bfbee9-32) ...
Setting up kata-runtime (0.0.1+git.ea789db-30) ...
Processing triggers for libc-bin (2.26-0ubuntu2.1) ...

@jodh-intel , changes applied

@jodh-intel , thanks for the feeback, I changed it to use curl

@klynnrif could you please check this? thanks

Thanks @GabyCT.
lgtm
@klynnrif - it might be worth mentioning that the wording for all our install guides should be as similar as possible, atleast in their respective group. That is to say, the wording should be identical (where possible) with only the distribution-specific commands being different.
This is the approach we also took for Clear Containers where the following "groups" are almost identical:

Popular developer distros:

https://github.com/clearcontainers/runtime/blob/master/docs/fedora-installation-guide.md
https://github.com/clearcontainers/runtime/blob/master/docs/ubuntu-installation-guide.md

Enterprise distros:

https://github.com/clearcontainers/runtime/blob/master/docs/centos-installation-guide.md
https://github.com/clearcontainers/runtime/blob/master/docs/rhel-installation-guide.md
https://github.com/clearcontainers/runtime/blob/master/docs/sles-installation-guide.md

Other:

https://github.com/clearcontainers/runtime/blob/master/docs/bclinux-installation-guide.md (references the CentOS install guide, on which BCLinux is based).
https://github.com/clearcontainers/runtime/blob/master/docs/clearlinux-installation-guide.md (probably the most minimal install guide as it's the easiest distro to install on ;-)

I finally got this to work but I had to manually edit /etc/apt/sources.list.d/kata-containers.list and change the kata containers repo from https to http. Other guides online seem to indicate that this error is because an https repository is redirecting to http.
deb http://download.opensuse.org/repositories/home:/katacontainers:/release/xUbuntu_16.04/ /

Yes. I am sure it is proxy related. I checked a few other machines and none use https for repositories so I don't have a great way to verify.

@GabyCT @egernst  @eadamsintel  @jodh-intel , is this ready to merge?


Added option --only-licenses to allow whitelisting of licenses

Purpose of This Pull Request

[X] Documentation update
[ ] Bug fix
[X] New feature
[ ] Other (please explain):

Overview of Changes
I added a new option --only-licenses to allow whitelisting a set of licenses in a license check and updated the documentation accordingly
Reviewer Focus
I made sure to match the code style and hope I didn't miss anything required for this change.
Additional Notes
The idea behind this feature is that we would like to have our own whitelist of licenses we allow in our projects, instead of blacklisting all the licenses we don't allow in our projects.

Lgtm. Thank you for this :)


pypi is missing the tar-ball

Hi
I'm trying to package PySoundFile for Opensuse, but there is not source tar-ball on
https://pypi.python.org/pypi/PySoundFile
for 0.8.1. Could they be included again?
Thanks
Arun

Oh, I'm sorry, I forgot to upload the source dist. It should appear on PyPi momentarily.
I did upload the source wheel though, which should work with any modern python distribution. Or maybe you need to have pip wheel installed?

great, thanks;) Actually not sure if we can use the wheel  distro to build the package... the standard seems to be to use tar-balls or zip.


fix: escape double quotes in Strings for toString in generated Input Types

If an Input object has double quotes in a String field, escape them when toString() is called.
resolves #123

These changes are looking good @richardcresswell. I have some changes off your branch to add a compilation check to the kotlin tests. Could you give me permissions to push a PR?

Sure thing, I sent an invite!


Errors when generating FileDialog thumbnails if GDScript files are present in the folder

Godot 3.0.6
Godot 3.1 alpha 2
Windows 10 64 bits
I was going to set the default directory for the project manager, and I found out that the editor started showing errors like this:
ERROR: Failed loading resource: D:/PROJETS/INFO/GODOT/fsm_state.gd
   At: core/io/resource_loader.cpp:186
SCRIPT ERROR: GDScript::reload: Parse Error: Can't preload resource at path: D:/PROJETS/INFO/GODOT/fsm_state.gd
          At: D:/PROJETS/INFO/GODOT/fsm - Copy.gd:2
ERROR: reload: Method/Function Failed, returning: ERR_PARSE_ERROR
   At: modules/gdscript/gdscript.cpp:583

It turns out, Godot tries to load and compile GDScript files just to generate their thumbnail, even if the folder you are in is not even part of a project. I happened to have several random GDScript files here, which were just random code doodlings or whatever which are not loadable anyways.
I would suggest for Godot to not try to compile such files if the intention is just to make a thumbnail, because apparently it even succeeds generating it anyways.
Reproduction steps:

Pick a GDScript file which has preloads, syntax errors or incompatible code inside
Put that GDScript file into a folder which is not inside a Godot project
In the editor, open a File Dialog which usually shows thumbnails and allows to browse outside the project. Example: FileSystem/Directories/Default Project Path
Notice errors as the thumbnail gets generated

Seems fixed in 4.0 (and possibly 3.3)

Tried it again in Godot 3.4 beta3, it still happens.

Weird. I actually tested in 4.0 first and the thumbnails generated without errors. Then in 3.3 there were no thumbnails (so no errors either).


confd work with redis, and how to set a specify database?

I can't  find a example of the confd config file that work with redis.
who can give me a example?
how to set redis auth
how to set redis db
more...

Take a look at the integration tests for redis. Let me know if you have any specific questions.

Is it supported to connect special db?

I'm not sure what you mean by that. Can you provide a link or elaborate more on what you mean by "special db"?

<IP_ADDRESS>:6379/8

I looked at the redis code. Its not possible at the moment to specify a specific redis db.
But the redis client lib we are using supports it:

https://github.com/garyburd/redigo/blob/master/redis/conn.go#L112

To support this we may need to create a new flag. We could also add the database to the connection string (localhost:6379/4) for example.

@koolay I have created a pull request (#505).
Feel free to test it !


Gwyneth review - file deletes

@v-kents,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

globalization/country-region-list.md
:white_check_mark:Succeeded

globalization/frequently-asked-questions.md
:white_check_mark:Succeeded

globalization/unicode-code-point-info.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Table Creation

I want to create 2-D tables, with rows and columns. Is there any APIs present in the pdfkit which does that?

As of now there isn't afaik. It is still on the TODO list. Might be a good thing for a PR?

See #29.


Implemented New --list-boards Argument

Creates and adds functionality to the --list-boards argument. This lists every board available for testing in fpga-tool-perf according to the boards.json file.

Removes an unnecessary import from symbiflow.py.

Ready for merge.


Fix bug due to joining of NoneType commands and change dockerfile to …

Hello @JayjeetAtGithub! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file cli/test/test_runner_slurm.py:

Line 302:80: E501 line too long (108 > 79 characters)
Line 303:80: E501 line too long (270 > 79 characters)


Alter Parameter 518

Can 518*518 be altered to larger values?

You are referring to the input image resizing in the pipeline? I had the same question and tried to increase the value. However, the mesh output got worse the higher I set the value. Maybe some other factor needs to be changed at the same time, but I guess the model was trained at a specific resolution?

yes, exactly


Random crashes of pragtical as packaged in nixos

This is nixos gnome as installed from the iso, which uses wayland
Launching from bash gets you a window, and it crashes at random times with the following error:
rtrtrr@nixos:~]$ pragtical&
[1] 187982

[rtrtrr@nixos:~]$ X Error of failed request:  BadRROutput (invalid Output parameter)
  Major opcode of failed request:  140 (RANDR)
  Minor opcode of failed request:  9 (RRGetOutputInfo)
  Serial number of failed request:  1052
  Current serial number in output stream:  1052

Launching from fish:
"fish: Job 1, 'sudo nohup pragtical /etc/keyd/…' terminated by signal SIGSEGV (Address boundary error" quite often

Testing here on gnome x11 and gnome wayland but can't reproduce.
Some  questions:

Do you have nvidia graphics card?
Did you upgraded the nvidia or mesa drivers the same day you confronted the issue?
If upgraded driver, did you kept using the system without restarting x11/xorg-xwayland or rebooting the system?

If upgraded drivers and not rebooting the system (specially on nvidia systems), can cause issues with X11 applications. Also you can run pragtical by using the SDL wayland backend (which will behave much better with scaling changes) by setting the corresponding environment variable:
SDL_VIDEODRIVER=wayland pragtical

Thanks jgmdev .
The answer is no to the 3 questions. Will try that environment variable and report back

Using  that environment variable seems to not fix the problem using fish. Will try bash and report back. Since the crashes are random but they take a while, I can only report when they happen.
pragtical --version
3.3.1-jit

Haven't you tried running the latest version 3.5.0?

I wonder if this is an SDL issue... Which version of SDL 2 are you linking with? Could using a newer SDL version fix the issue? May also be some issue of software against the hardware display you are using. Also, maybe some other bug when using multiple displays...
It is also strange that the application supposedly keeps querying display information using X libraries when running on Wayland mode, unless your system is lacking some Wayland dependencies resulting in video backend falling back to X11, or SDL (for a strange reason) not been compiled with Wayland support.
The last resort would be compiling Pragtical with debug symbols enabled, also force fallbacks to use meson SDL subproject (which would ensure you are also running SDL 2 with debugging symbols) and attach a debugger to see where exactly is the crash occuring.

It's not an SDL issue, I don't think. I got it to work. When pragtical is launched from bash (not fish) with that ENV variable, it produces a window with a title bar not following the DE color scheme... and that's good news. It seems to be using wayland then, and doesn't crash anymore. So closing this as solved!

Version: 2.30.2 (stable nix channel) before your suggestion to move to pragtical 3.5. After SDL Version: 2.30.6 (unstable nix channel)

Reopening as the issue is back. I have updated to nixos 24.11, might be related, might be not. Pragtical opens a window, then crashes eventually (could be open for hours, or minutes) with this error:
X Error of failed request:  BadRROutput (invalid Output parameter)
  Major opcode of failed request:  140 (RANDR)
  Minor opcode of failed request:  9 (RRGetOutputInfo)
  Serial number of failed request:  35277
  Current serial number in output stream:  35277

It ignores that SDL_VIDEODRIVER=wayland.
pragtical --version is still 3.5.0-jit; nothing changed there.
Oh, I'm launching it now with steam-run because it seems to help other apps with linked dependencies behave better.
So after tons of crashes, I'm now trying bash:
$ SDL_VIDEODRIVER=wayland steam-run pragtical&

which seems to work and not crash. But with fish it's absolutely not stable.
It might be I've added new plugins.
Here they are:
~/.c/p/plugins> ls
autosave.lua      datetimestamps.lua  link_opener/  lsp_c/                  sticky_scroll.lua
bracketmatch.lua  input_latency.lua   lintplus/     selectionhighlight.lua  tab_switcher.lua
cleanstart.lua    lfautoinsert.lua    lsp/          smoothcaret.lua         typingspeed.lua

It seems to work with nushell:
$env.SDL_VIDEODRIVER = 'wayland'
steam-run pragtical &

So perhaps is just a fish problem in nixos; if so, sorry about the fuzz.


Add images: Android Basics with Compose

URL of codelab
https://developer.android.com/codelabs/basic-android-kotlin-compose-add-images
In which task and step of the codelab can this issue be found?
Task 7, Step 2
Describe the problem
The Kotlin code in the code block for adding the modifier has the wrong case. The current code is:
Column(
   modifier = modifier.fillMaxSize()
) {
  //...
}

The correct code there should have Modifier written with a capital M. So it should be:
Column(
   modifier = Modifier.fillMaxSize()
) {
  //...
}

This issue was a mistake on my part - I misread. I did not realize a parameter named modifier was added to the function.


Footer area is empty

Add content to the footer area!

Hi @duraanali can you assign this to me

@Suldana , Yes!

Hey @duraanali i'm not able to locate the footer, can you please help me??

Hi @duraanali

We designed to the figma file, but I am unable to find the resources and materials for this project. If you know where I can look for it, please let me know. as well as designed the footer for this landing page, check to see if it is acceptable to turn it into code, Thanks


[AMHACK] [Store] Add a place holder to email field found in Manage Alerts

Description:
In API Store Manage alerts we can specify emails but the user needs to press enter or comma separated before saving the changes for the email to be recognized. So its better to provide a placeholder similar to which is done in Publisher. Refer the image below.
Suggested Labels:
Improvement
Affected Product Version:
APIM wum updated - wso2am-<IP_ADDRESS>0928473100.zip
OS, DB, other environment details and versions:
Standalone
Ubuntu 14
JDK - jdk1.8.0
DB - h2
Browser - Chrome Version 62.0.3202.62
Steps to reproduce:

Login to api store

Navigate to Analytics -> Manage alerts

This UI section is removed in AM 3.0.0 due to UI re-writing based on react.


fix(date-picker): reset datePicker when modelValue is undefined or an…

… empty string
Checklist
List of tasks you have already done and plan to do.

[ ] Fix linting errors
[ ] Tests have been added / updated (or snapshots)

Change information
Describe your modifications here.
Issues
close #1776
Related Links
Links related to this pr.

Please fix the test case error

Please fix the test case error

fix done

cc @chouchouji

thanks for your review , I've changed sth. @chouchouji

thanks for your review , I've changed sth. @chouchouji

Thanks for your great work!


Add JupyterLab installation instructions to the docs

https://ipyvolume.readthedocs.io/en/latest/install.html
Add any JupyterLab specific instructions.
Or if no additional installations steps are JupyterLab, state that.

Thanks, I put them here in the README:
https://github.com/maartenbreddels/ipyvolume
but not yet in the docs.


Parse error: syntax error, unexpected '[' in /home/zoads/public_html/survival/stats/classes/bluestats.class.php on line 10

Hey,
I just installed this on my webserver and I am getting this error on the main root page, just wondering what it means, I went through the toubleshooting and edited this http://puu.sh/kZjQJ/6bf066c59e.png to how it is now (manually because your quiery was giving errors) and this didnt fix it. I tried the other troubleshooting steps and it changed nothing.

I changed that line to this: public $plugins = "lolmewinstats"; and then it fixed that error and its now producing this one, that I am unsure how to fix: Parse error: syntax error, unexpected '[' in /home/zoads/public_html/survival/stats/classes/bluestats.class.php on line 15

Don't modify anything in the source. The Parse error: syntax error, unexpected '[' in /home/zoads/public_html/survival/stats/classes/bluestats.class.php on line 15 error is caused by you making a mistake. I cannot and will not help anyone that doesn't give me an error log or error report.
If the server query isn't working a you mentioned, please make sure that you have enabled MC query on my minecraft serverf and that the IP and port is correct.


US74030 Hypermedia APIs

Phew. Finally. Haven't added any tests (just got existing ones to pass, and removed the no-longer-applicable ones), and this does contain some "temporary" (read: hack) code, but that will be follow-up PRs (immediately, but time permitting w.r.t. Friday).
Phew.

Alright, minus the already discussed caveats, LGTM!


Add variables to your SASS files

The purpose of writing SASS is to give you the flexibility of quickly adjusting styles through variables. Without those variables it makes it incredibly difficult to adjust style settings.

I don't care whether Select2 starts using variables in its SASS files (though I think it should be a low priority at best), but that's a very overly reductive view of "the purpose of writing SASS". SASS has plenty of other benefits, like nesting selectors, other syntax extensions like &, mix-ins, imports, and calculations—and not caring about one of the benefits does not mean the purpose is missed.

I used this library on a project recently and found that it was very difficult to stylize. I ran into css selector hell where the solution was to override the default classes and selectors defined in the SASS files. Not ideal. I am a firm believer in templatizing SASS through the use of variables for projects like these. My overly reductive view on SASS was to point out what was missing. I have to imagine this is a widely used project. Thanks for the response and the project!

This is something we've considered and as far as I know, nobody is particularly opposed to it. Just it's so low on our priority that it's more likely to be done by a contributor (maybe you!) via a pull request than the core team.
So with that said, we welcome pull requests that add reasonably named variables (Bootstrap used to be the one to align with, no idea who nowadays) and I'll gladly review them.

This is something we've considered and as far as I know, nobody is particularly opposed to it. Just it's so low on our priority that it's more likely to be done by a contributor (maybe you!) via a pull request than the core team.
So with that said, we welcome pull requests that add reasonably named variables (Bootstrap used to be the one to align with, no idea who nowadays) and I'll gladly review them.


Error on build

I have import { existsSync } from 'node:fs';
^
SyntaxError: Unexpected token {
at Module._compile (internal/modules/cjs/loader.js:760:23)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:827:10)
at Module.load (internal/modules/cjs/loader.js:685:32)
at Function.Module._load (internal/modules/cjs/loader.js:620:12)
at Function.Module.runMain (internal/modules/cjs/loader.js:877:12)
at internal/main/run_main_module.js:21:11
npm ERR! code ELIFECYCLE
I use:
npm -v
10.7.0
node -v
v20.15.0
Am I missing something else?
Thank you!

Hey Elisa sorry for the late response.
Unfortunately the node log itself isn't much helpful. Could you check the version you're using? There's almost one (automated) release per day so it might be something with your current version. If not I could take a look

Hi @dgrammatiko , you mean the Version of joomla-tools or npm or node?

The version of the joomla-tools (found inside the package.json)

It says:
"@dgrammatiko/joomla-tools": "^0.0.6",

That's a bit old could you try changing it to:
"@dgrammatiko/joomla-tools": "^0.0.321",
and then run npm install

Probably npm: https://www.npmjs.com/package/@dgrammatiko/joomla-tools
but tbh is better to setup something like dependabot or renovate and let the bot check/update the dependencies when needed. Another options is to remove the node_modules folder and run npm install

ok Thank you :)


do not install the tests with pip install

Description
Installing elastalert2 via pip also installs the tests subdirectory, which clutters up the system.
Checklist

[x] I have reviewed the contributing guidelines.
[ ] I have included unit tests for my changes or additions.
[ ] I have successfully run make test-docker with my changes.
[ ] I have manually tested all relevant modes of the change in this PR.
[ ] I have updated the documentation.
[x] I have updated the changelog.

Questions or Comments

The description of changelog is incorrect. It seems that the previous 732 is also wrong.
- Do not install tests via pip install [#733] - @buzzdeee

↓
- Do not install tests via pip install [#733](https://github.com/jertel/elastalert2/pull/733) - @buzzdeee

yikes, I copied the CHANGELOG entry from the one before, updated both


[WIP] Plugin System

This PR adds a plugin system to micro using lua (https://github.com/yuin/gopher-lua). There are hooks to run functions after every action that can be bound. For example, the function that will run after saving the buffer is pluginName_onSave. Because of namespace problems, all functions in a plugin should begin with the plugin name followed by an underscore.
See the example go plugin that comes with this PR (runtime/plugins/go/go.lua).
All plugins will be loaded from ~/.config/micro/plugins.

There is also now an example linting plugin in runtime/plugins/linter/linter.lua. This plugin runs a linter on various different filetypes and marks the errors in the gutter.
The supported filetypes by default (although you can easily add to this with your own plugin) are C, D, Go, Python, Java, Javascript, and Lua.


[PE-D] Calendar not updated after adding in Schedules

Labels: type.FeatureFlaw severity.Medium
original: chriswengqi/ped#7

This issue cannot be replicated.


Properly handle linting configuration that does not use no-trailing-space

Some authors might not use the feature, so some lines might have a bunch of trailing whitespace. If we only pay attention to the raw line length then we get false positives for overflow. If a line has a bunch of trailing whitespace possibly leading up to or at least on or after the maximum line length threshold, then I don't think we should count that line as overflowing. Right now we do, so right now this is a bug.

parsing the "suffix" component of CommentLine and writing logic that is aware of the suffix seems to have fixed the issue.


Connection refused

Hello, and thanks for this awesome repo!
I tried your code at my device and I get [Errno 111] Connection refused. errors. I assume this is because the KEY changed? Can you help?

[2023-02-28 01:26:47] A message handler raised an exception: [Errno 111] Connection refused.
Traceback (most recent call last):
File "src/dbus_fast/message_bus.py", line 811, in dbus_fast.message_bus.BaseMessageBus._process_message
File "/home/kreach3r/.local/lib/python3.9/site-packages/bleak/backends/bluezdbus/manager.py", line 860, in _parse_msg
on_value_changed(message.path, self_interface["Value"])
File "/home/kreach3r/.local/lib/python3.9/site-packages/bleak/backends/bluezdbus/client.py", line 152, in on_value_changed
callback(bytearray(value))
File "/home/kreach3r/bm2-battery-monitor/bm2_mqtt/bm2_mqtt.py", line 36, in notification_handler
single(payload=payload, topic=mqtt_topic, port=mqtt_port, hostname=mqtt_hostname)
File "/home/kreach3r/.local/lib/python3.9/site-packages/paho/mqtt/publish.py", line 240, in single
multiple([msg], hostname, port, client_id, keepalive, will, auth, tls,
File "/home/kreach3r/.local/lib/python3.9/site-packages/paho/mqtt/publish.py", line 176, in multiple
client.connect(hostname, port, keepalive)
File "/home/kreach3r/.local/lib/python3.9/site-packages/paho/mqtt/client.py", line 914, in connect
return self.reconnect()
File "/home/kreach3r/.local/lib/python3.9/site-packages/paho/mqtt/client.py", line 1044, in reconnect
sock = self._create_socket_connection()
File "/home/kreach3r/.local/lib/python3.9/site-packages/paho/mqtt/client.py", line 3685, in _create_socket_connection
return socket.create_connection(addr, timeout=self._connect_timeout, source_address=source)
File "/usr/lib/python3.9/socket.py", line 843, in create_connection
raise err
File "/usr/lib/python3.9/socket.py", line 831, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
^CTraceback (most recent call last):
File "/home/kreach3r/bm2-battery-monitor/bm2_mqtt/bm2_mqtt.py", line 83, in
loop.run_until_complete(main())
File "/usr/lib/python3.9/asyncio/base_events.py", line 629, in run_until_complete
self.run_forever()
File "/usr/lib/python3.9/asyncio/base_events.py", line 596, in run_forever
self._run_once()
File "/usr/lib/python3.9/asyncio/base_events.py", line 1854, in _run_once
event_list = self._selector.select(timeout)
File "/usr/lib/python3.9/selectors.py", line 469, in select
fd_event_list = self._selector.poll(timeout, max_ev)
KeyboardInterrupt

Hi @KreAch3R, thanks!
AES key doesn't play any role in connection establishing process, so this is something else, unfortunately, due to amount of different devices, I am unable to help.

Thanks for the super fast reply!
Are you talking about the battery monitor device? I have the BM2 app and Battery Monitor, as close to official as it can get with chinese products. So it works in your case with the latest app?

Ok, I think I figured it out. I needed to install a local MQTT broker as per here. After I installed mosquitto as per here, and run the script using python3, I get:
[2023-02-28 03:15:15] Connected
But nothing else prints. I assume it's waiting on the device to send something? I have it currently connected on a test power supply and it's only giving out 11,6V, is that the reason it doesn't output anything?

Ok, I got it. I am supposed to use the local MQTT broker to receive the messages. Using sudo mosquitto_sub -h localhost -t bm2 I get the voltage perfectly. You're awesome again, @KrystianD. Thanks!

Oh, you are right, I haven't noticed the error was indeed related to MQTT sending! Glad you figured it out :)


Update CI to use 0.5 as a release

Coverage decreased (-0.9%) to 44.262% when pulling be03615a63d7e27b7a6514f5a734907bfb53da60 on aa/update-ci-0.5 into bb6821d0d36fefecd39724eaa666a98869ecb12f on master.

I just deactivated the Dependency CI webhook since it looks like it doesn't actually work. I forgot I even turned that on to see what it looked like.


Fulltext filter sort

I explained more my usecase why I need this feature on #4412.
There's also another issue #1823, where this PR can be useful.
I started working on the codebase in the last 2 days so I may not see all the possibles edge cases where this code can fail, feel free to review.

The filtering part was almost trivial, but the sorting part was really trick I hope this code can be useful.

I think it would be best to split this PR into two: one that fixes filtering, and one that adds multi-column sorting

@lutter, I'll close this PR and create another one for just filter and the test. After the filter (and cursor) is merged, I can create another with the sorting.