Why the model quantification acceleration is not obvious ？

Before deploying with openvino, it took about 26s for 300 images ,。
After deployment, the time was significantly increased to 12s, although not the same test code was used .
But after the quantification to int8 , the time was shortened to 9.2s, and the effect was not very obvious. What may be the cause? Is there any way to improve it? Thanks.

@su26225
Does your model use FP16 or FP32?
OpenVINO official said that in CPU operation, using FP16 will automatically convert to FP32, so the speed of using FP16 or FP32 in CPU operation is the same.
There are two quantized INT8 models, FP32-INT8 or FP16-INT8, both of which are faster than FP32 and FP16 in terms of CPU operations.
If you choose GPU computing, FP32-INT8 and FP16-INT8 will not increase the speed.
There are many ways to quantify models, which require experimentation. Some quantifications are full model quantification (the fastest speed and the most loss of accuracy), and some quantifications determine the degree of quantification based on the mAP loss before and after quantization. Please refer to: https://docs.openvinotoolkit.org/latest/pot_docs_BestPractices.html
我是Jacky，如果你需要用中文溝通也沒問題!

@su26225
Does your model use FP16 or FP32?
OpenVINO official said that in CPU operation, using FP16 will automatically convert to FP32, so the speed of using FP16 or FP32 in CPU operation is the same.
There are two quantized INT8 models, FP32-INT8 or FP16-INT8, both of which are faster than FP32 and FP16 in terms of CPU operations.
If you choose GPU computing, FP32-INT8 and FP16-INT8 will not increase the speed.
There are many ways to quantify models, which require experimentation.

I use a CPU, from FP32 quantization to INT8, the image detection time is shortened from 47.9ms to 39.9ms, and the time of one video frame is shortened from 108ms to 77.6ms, which is about 1/4 reduction.
At first I thought it was the reason that openvino deployment made targeted optimization for floating-point calculations, so I turned off model optimization.
https://docs.openvinotoolkit.org/latest/openvino_docs_MO_DG_prepare_model_Model_Optimization_Techniques.html
However, the result of unoptimized deployment and quantification is that the time for image detection is shortened from 56.6ms to 43.1ms, which is effective, but the effect is also not obvious.


Feature Request: Run custom command before upload

Is it feasible to add a config option that runs a command before uploading to the server. I'm using SASS and this extension will upload to the server before SASS has completed compiling into css.
It'd be nice to be able to set the uploadOnSave option and also have a "beforeUpload" option that you can put commands into.

You should use watcher for this.


Bad performance when there are lots of optim_groups (for example, using layer-wise learning rate)

DeepSpeed is much slower when there are lots of optim_groups in FusedAdam.
For example, when you are using layer-wise learning rate for a model with 100+ layers.
In that case, you will see 100+ "partitions" in each "Rank", and the training speed is much worse.

@BlinkDL, can you provide details to repro?

Closing as stale.  @BlinkDL - if this still impacts you, please let us know and we would be happy to take a look, same to anyone else who might hit this, please open a new issue and link this one and we would be happy to take a look.


is_url_superb prevents downloading from intranet domains

The is_url_superb package throws an error when dealing with domains defined on the local intranet (example .local domains). Can I suggest/contribute a validateURL option?

Exposing that would be leaky abstraction.
@kevva I see no reason for doing such a strict check on the input. Maybe add a loose mode option in is-url-superb that download could use which allowed any kind of domain?

Yes, that's much better API-wise.

Would probably need to add it in url-regex first.


Azure Static Web Apps Environment Variable Not Working

Describe the bug
I'm deploying a React app with Azure Static Web Apps and have configured environment variables in the Azure Portal under Configuration > Environment variables. However, these variables are not being injected into the app during deployment.
In the deployed app:
Logging process.env shows that the expected environment variables are undefined.
When referencing these variables directly in index.html for testing, they remain as placeholders (e.g., %VARIABLE_NAME%) instead of being replaced with their actual values, suggesting they aren’t injected during the build.
The environment variables work correctly when I use a .env file locally, so this issue appears specific to the Azure Static Web Apps deployment.
Troubleshooting Steps Taken:

[x] Verified that the environment variables are correctly set in the Azure Static Web Apps settings.

[x] Ensured that variables have the required prefixes, as per Create React App requirements.

[x] Triggered redeployments to rule out potential caching issues.

[x] Confirmed that the environment variables are accessible locally with .env.

Additional Details:

App Location: Root directory (/)
Output Location: build
Deployment Method: GitHub Actions

To Reproduce
Steps to reproduce the behavior:

Set up a React application deployed through Azure Static Web Apps.
Add the environment variable REACT_APP_API_URL in the Azure Static Web App settings under Configuration > Environment variables.
Deploy the application through GitHub Actions as per the default workflow setup by Azure.
Log process.env.REACT_APP_API_URL in the application code (or %REACT_APP_API_URL% in index.html for testing) to check the value of the environment variable.

Expected behavior
The environment variable REACT_APP_API_URL should be accessible in my React application as process.env.REACT_APP_API_URL, displaying the value set in the Azure Portal configuration.
Device info (if applicable):

OS: [e.g. Mac OS]
Browser [e.g. chrome]

@juliamuiruri4

CC @BandaruDheeraj

It's not working for me either, but looking at the docs, seems that it's not supposed to work like this.


Cant connect to Vtrust wifi on RPI2

I have gone through the tutorial 2 different times fresh installs and get up to connecting to the vtrust wifi but i get incorrect wifi password every time with different devices (iphone, android, and laptop). My devices im trying to flash are Merkury smart outdoor outlets

Not enough info to help you, other than to triple check you are indeed using the correct password flashmeifyoucan and try the Troubleshooting page on the wiki. If you are still having trouble please follow the instructions when opening an issue and post your logs.

Not enough info to help you, other than to triple check you are indeed using the correct password flashmeifyoucan and try the Troubleshooting page on the wiki. If you are still having trouble please follow the instructions when opening an issue and post your logs.

password is correct and there isnt much on the wiki for this issue. How can i pull a log on the ap?


Use WGSL shaders

[x] Rewrite shaders to WGSL
[x] Maybe look into first basic version of templating (e.g. jinja2)
[x] Define uniform structs with numpy dtypes instead of pyshader.
[x] Auto-generate wgsl struct code from these, warn/fix for alignments?

Would you mind trying examples/helpers.py as a quick check on the coordinate systems?


create admin ova image for eka-a baremetal lab

create admin ova image for eka-a baremetal lab
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Yeah I'm fine with that.

@g-gaston I addressed additional comments and split files as requested. Thank you!

@jaxesn I addressed all @g-gaston comments, but looks like he is on PTO this week. Please take a look as I would like to close this out by tomorrow if possible. Thank you

/lgtm
Leaving the final approval for @jaxesn

/approve


Way to get Connected accounts

Summary
A way to get connected/linked accounts from a discord user/selfbot user
What is the feature request for?
The core library
The Problem
I need to get the linked/connected accounts of my own selfbot user. the username and link but I do not see any way of doing so.
The Ideal Solution
self.user.connectedaccounts.link[1] & self.user.connectedaccounts.username[1]
(I do not know a good way of doing it this doesnt look great but idk what else)
The Current Solution
Well I want to get it for a project I am working on so I can technically just link the accounts manually but sometimes I want to change the user so that would not be possible that way.
Additional Context
I am not good at writing these sorry for the typos and more lmao

Consider reading the docs.
https://discordpy-self.readthedocs.io/en/latest/api.html?highlight=connections#discord.Client.connections
https://discordpy-self.readthedocs.io/en/latest/api.html?highlight=connections#discord.Client.fetch_connections

Consider reading the docs. https://discordpy-self.readthedocs.io/en/latest/api.html?highlight=connections#discord.Client.connections https://discordpy-self.readthedocs.io/en/latest/api.html?highlight=connections#discord.Client.fetch_connections

Consider making the docs not crash my browser everytime I try to open it.
I have tried looking for it but on any browser I use it crashes or lags out my whole browser.
On one it worked for a bit I looked up connections in the docs and nothing came up at the time sorry.


[Feature] Setting to disable completion

It's annoying to complete start no to start start now
It also tries to use 'context' and, for example, completes strafe 15 to strafe 158deg in a script of mine

On the latter issue, that's not the extension's fault. I believe that'd be "word based suggestions", a quick Google shows how to turn them off:
https://code.visualstudio.com/docs/editor/intellisense#_customizing-intellisense

Late, but the former is caused by snippets, which are basically short forms for some text. You can disable snippets as described here.


fix: treat whitespace as insignificant in .vue files

this treats whitespace as insignificant in .vue files. see https://prettier.io/docs/en/options.html#html-whitespace-sensitivity

@ctot-nondef opinions?

I have admittedly used both css and ignore in the past, so let's see what breaks first


Connector is jumping 1 batch on foreachBatch call

while executing
def write_to_console(batch_df, batch_id):
    batch_df.show(truncate=False)
    num_rows = batch_df.count()
dataStreamReader.writeStream.foreachBatch(write_to_console).start().awaitTermination()
The connectors behaviour is to jump on each 1 batch, printing only 1 batch every 2 batches

RabbitMQ does not handle offsets, which means once a message is consumed from the queue, it cannot be re-read. Be cautious when performing actions in your Spark jobs that could consume the data, as you cannot recompute or re-read input data. This is particularly important if you call multiple actions (e.g., count(), show()) on the same DataFrame in your Spark script. In summary, avoid calling multiple actions on the same DataFrame within the foreachBatch function unless you cache it first. If you must call multiple actions, consider using cache() to persist the DataFrame.
def write_to_console(batch_df, batch_id):
    batch_df.cache()  # Cache the DataFrame
    batch_df.show(truncate=False)
    num_rows = batch_df.count()
    batch_df.unpersist()  # Unpersist the DataFrame to free up memory


FreeSolv missing from ADME datasets

After upgrading to the newest TDC, I'm getting the following error:
ValueError: ('hydrationfreeenergy_freesolv', 'does not match to available values. Please double check.')

when trying to run:
from tdc.single_pred import ADME
data = ADME(name = 'hydrationfreeenergy_freesolv')

Is there any reason why FreeSolv is missing from the following file?
https://github.com/mims-harvard/TDC/blob/2d4fb74ac00e88986306b2b12ffdb3be87418719/tdc/metadata.py#L10

Hi, good point, i think it is due to an accidental removal. We will add it back


Updated docs

It looks like the docs could use some sprucing up. The options documented seem incomplete, and feature like jquery.emoji.js aren't mentioned at all atm.
I'd be down to help get this library fully documented if you think I could help out, @iamcal!

yeah, they are incomplete and often wrong :(

+1
Please update the docs with some working examples to understand how this library work.

docs were updated last year and should now be accurate (and useful)


Java RMI: error handling for "open"

When an outlet is exported, but registering it fails due to a bad ticket, the outlet remains exported and the client keeps running until interrupted.
Explicitly exit the program in this case? Or (try to) unexport the outlet?
However, generic error handling should not interfere with this part of the exercise:

Open an outlet, for a few seconds only. Make sure that the program closes the outlet and exits cleanly.

Might be best to just leave the behavior as it is. But at least think about it.

Already fixed with #65.


Some systems failed to build for Quicklisp dist

Building with SBCL <IP_ADDRESS>-02bc916fd / ASDF 3.3.5 for quicklisp dist creation.
Trying to build commit id b916229a73bd64d36443d0d1e70774a4155ddf3e
data-frame fails to build with the following error:
; caught ERROR:
;   READ error during COMPILE-FILE: Package SB-CLTL2 does not exist. Line: 565, Column: 44, File-Position: 23051 Stream: #<SB-INT:FORM-TRACKING-STREAM for "file /home/quicklisp/quicklisp-controller/dist/build-cache/data-frame/0afa85af3d8f216024d8a7bf148125780a7d7725/data-frame-20220926-git/src/data-frame.lisp" {10136D6A93}>
...
Unhandled UIOP/LISP-BUILD:COMPILE-FILE-ERROR in thread #<SB-THREAD:THREAD "main thread" RUNNING {10016C8003}>: COMPILE-FILE-ERROR while compiling #<CL-SOURCE-FILE "data-frame" "data-frame">

data-frame/tests fails to build because of a failure in  data-frame.
Full log here

Fixed in 58ea914

Assuming this works now. Please reopen if there is a problem.


Reorganize Profile Section in Web Module for Improved Usability

Issue Summary:
The current profile section in the web module appears cluttered with multiple protocols and products, making it challenging for users to navigate and select profiles efficiently. This issue proposes reorganizing the profile section to enhance user experience.
Proposed Changes:

Separate Section for Profiles:
Introduce a separate section for profiles to declutter the existing profile selection interface.

Improved Categorization:
Group profiles based on protocols and products to make it more intuitive for users.

Screenshot:

Implementation Plan:

Identify the relevant HTML templates and JavaScript files responsible for rendering the web interface.
Introduce modifications to separate the profile section and improve categorization.

Benefits:

Enhances user experience by providing a more organized and user-friendly profile selection interface.
Simplifies the process of selecting profiles, especially when dealing with multiple protocols and products.

I am new to the project and would like to work on this issue.
As a newcomer, I'd really appreciate mentorship or guidance through the codebase.
Could you please assign me this project? @securestep9

@prbhtkumr Claim
i start working on it

@prbhtkumr Claim i start working on it

Hey @vikas-chaudhary-2802
Thank you for showing interest in this issue.
Currently, there's an ongoing code refactoring initiative in progress, and I would like to align my efforts with this issue as I'm relatively new to the project and it offers a great learning opportunity.
I hope you understand.
However, there are plenty of other exciting areas within the project where your contributions would be highly valuable. I encourage you to explore other open issues or functionalities that interest you.
If you have any questions or need assistance finding another area to contribute, feel free to ask. I look forward to seeing your contributions to the project!

There is indeed some refactoring going on. As this improvement was proposed by @prbhtkumr  it is only fair for him to work on it in own fork.   For you @vikas-chaudhary-2802  I suggest to have a look at the the pagination feature in crawler results #805


Holograms not working in 1.14.4

Recently updated my server to 1.14.4 and all holograms do not exist. Is a 1.14.4 update coming soon?

1.14.4 is supported by the plugin


Fix "See Also" links in chef-automate CLI page

Signed-off-by: IanMadd<EMAIL_ADDRESS>:nut_and_bolt: Description: What code changed, and why?
Fixes the "See Also" relative links in the data-cli.html template.
:chains: Related Resources
:+1: Definition of Done
:athletic_shoe: How to Build and Test the Change
make serve
Go to localhost:1313/docs/cli-chef-automate/
:white_check_mark: Checklist

[ ] I have read the CONTRIBUTING document.
[ ] Tests added/updated?
[ ] Docs added/updated?
[X] All commits have been signed-off for the Developer Certification of Origin.

:camera: Screenshots, if applicable

whoa, i did not know these were broken, thank you!!


fix remaining js sample

The "old" docs still have various samples that don't fully compile. search for
```js

Changing the only remaining sample from js to ts doesn't break the build.
However, it doesn't look like the language.config.js is ever used - in docusaurus.config.js the constant languageConfig is never used. I also couldn't find processToExecute anywhere in node_modules/*; also compile.js doesn't return an error code

All errored samples are now marked with ignore-errors and will fail the build if this flag is removed.

can't find any ignore-errors, please reopen if needed


Fresh install and setup, terraform plan error

Hello @ofhouse ,
I have been trying to implement it as per readme, but constantly getting this error:
 Error: invalid value for name (must match [\w+=,.@-])
│
│   with module.tf_next.aws_iam_role.lambda["app/__NEXT_PAGE_LAMBDA_0"],
│   on .terraform/modules/tf_next/iam.tf line 20, in resource "aws_iam_role" "lambda":
│   20:   name        = "${var.deployment_name}_${each.key}"
│
╵
╷
│ Error: invalid value for name (must match [\w+=,.@-])
│
│   with module.tf_next.aws_iam_role.lambda["app/__NEXT_API_LAMBDA_0"],
│   on .terraform/modules/tf_next/iam.tf line 20, in resource "aws_iam_role" "lambda":
│   20:   name        = "${var.deployment_name}_${each.key}"
│
╵
╷
│ Error: invalid value for function_name (must be valid function name or function ARN)
│
│   with module.tf_next.aws_lambda_permission.current_version_triggers["app/__NEXT_API_LAMBDA_0"],
│   on .terraform/modules/tf_next/main.tf line 94, in resource "aws_lambda_permission" "current_version_triggers":
│   94:   function_name = "${var.deployment_name}_${each.key}"
│
╵
╷
│ Error: invalid value for function_name (must be valid function name or function ARN)
│
│   with module.tf_next.aws_lambda_permission.current_version_triggers["app/__NEXT_PAGE_LAMBDA_0"],
│   on .terraform/modules/tf_next/main.tf line 94, in resource "aws_lambda_permission" "current_version_triggers":
│   94:   function_name = "${var.deployment_name}_${each.key}"

any idea?
Thank you! :)

Terraform:
Terraform v1.1.9
on darwin_arm64
+ provider registry.terraform.io/hashicorp/aws v4.12.1
+ provider registry.terraform.io/hashicorp/external v2.2.2
+ provider registry.terraform.io/hashicorp/local v2.2.2
+ provider registry.terraform.io/hashicorp/null v3.1.1

Hi, looks like your deployment_name input variable contains a character that cannot be used as function name for AWS Lambda.
module "tf_next" {
  source = "milliHQ/next-js/aws"
  ...
  deployment_name = "xxx" # <-- This here
}

Hello, I tried without it because i saw it was falling back to a value in the TF file. I also tried putting just demo. But still failed :(

I then updated my local code and removed _${each.key} from function_name = "${var.deployment_name}_${each.key}". And did the same in iam.tf and now its happy :/

Ah I see, it's because you are using the basePath setting.
This adds the basePath in the form of <basePath>/<LambdaName>, but the / character is not allowed in function names.
Same issue as #288

Ahh okok! Any way to bypass without having a local copy of the lib? :)

Not without an update to the module unfortunately.
Would probably enough to insert a method that replaces / with _ for the value in each.key.

No worries! That helps :)

I removed the basePath temporarily for now and it did work, till it got stuck on a quote for concurrent requests. Waiting for that now :).
In the meantime, can I ask if there is a way to sponsor the project? :)

There is no way to sponsor the project, but I am working to establish a sustainable business model for it.
Currently working towards the v1.0.0 release that will include support for unlimited parallel deployments.
While the module itself will stay free, I plan to offer a plugin on top of it that provides a better integration for GitHub/GitLab and the Hashicorp stack.
Basically something like the preview deployments that Netlify & Vercel offer, but self-hosted 😬
Yeah, the problem with concurrent requests is also something that will be resolved with v1.0.0 release, because we don't have to ensure that only one deployment is running at a time.

Sounds good! Let me know, where we can help :)


Integration tests with irods4.3

Write integration tests for iRODS 4.3.
Example: https://github.com/chStaiger/iBridges-Integration-tests
Depends on #29

Done!


Error in Uploading Cookbook

When i try to upload cookbook i get an exception
ERROR: Tarball has contents that are not what they are reported to be
knife supermarket share cookbook_name -VV -o . --supermarket-site https://XXXXXXXX.YYYYY.com
knife cookbook site share vault -o . -VV  --supermarket-site https://XXXXXXXX.YYYYY.com
My Chef DK version is Given Below :
Chef Development Kit Version: 1.4.3
chef-client version: 12.19.36
delivery version: master (41b94ffb5efd33723cf72a89bf4d273c8151c9dc)
berks version: 5.6.4
kitchen version: 1.16.0
inspec version: 1.25.1
I use a centos 7.
Stack Trace given below :
INFO: Using configuration from /home/vagrant/.chef/knife.rb
DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_request
DEBUG: Chef::HTTP calling Chef::HTTP::JSONOutput#handle_request
DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_request
DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
DEBUG: Initiating GET to https://supermarket.local.com/api/v1/cookbooks/cookbook_masked_name
DEBUG: ---- HTTP Request Header Data: ----
DEBUG: Accept: application/json
DEBUG: Accept-Encoding: gzip;q=1.0,deflate;q=0.6,identity;q=0.3
DEBUG: X-REMOTE-REQUEST-ID: 67b7f2da-2628-498f-a65c-68f48b92430a
DEBUG: ---- End HTTP Request Header Data ----
DEBUG: ---- HTTP Status and Header Data: ----
DEBUG: HTTP 1.1 404 Not Found
DEBUG: server: nginx/1.8.0
DEBUG: date: Thu, 08 Jun 2017 17:27:57 GMT
DEBUG: content-type: application/json; charset=utf-8
DEBUG: transfer-encoding: chunked
DEBUG: connection: close
DEBUG: status: 404 Not Found
DEBUG: x-frame-options: SAMEORIGIN
DEBUG: x-xss-protection: 1; mode=block
DEBUG: x-content-type-options: nosniff
DEBUG: cache-control: no-cache
DEBUG: x-request-id: 6eb951ea-a75c-4ee1-adf7-ebbe904c767b
DEBUG: x-runtime: 0.007986
DEBUG: content-encoding: gzip
DEBUG: ---- End HTTP Status/Header Data ----
DEBUG: ---- HTTP Response Body ----
DEBUG: ▒VJ-*▒/▒▒M-.NLO-V▒▒V
J-▒/-JNUH▒O-V▒▒/QH▒▒,.▒S▒Ձ▒N▒OIU▒R▒▒▒w▒▒sQ▒▒?H
DEBUG: ---- End HTTP Response Body -----
DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_response
DEBUG: HTTP server did not include a Content-Length header in response, cannot identify truncated downloads.
DEBUG: Chef::HTTP calling Chef::HTTP::RemoteRequestID#handle_response
DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_response
DEBUG: Decompressing gzip response
DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_response
DEBUG: Chef::HTTP calling Chef::HTTP::JSONOutput#handle_response
DEBUG: Chef::HTTP calling Chef::HTTP::JSONInput#handle_response
INFO: HTTP Request Returned 404 Not Found:
DEBUG: No chefignore file found at /home/vagrant/chefignore no files will be ignored
INFO: Validating ruby files
DEBUG: Ruby file cookbook_masked_name/libraries/helpercookbook_masked_name.rb is unchanged, skipping syntax check
DEBUG: Ruby file cookbook_masked_name/libraries/matchers.rb is unchanged, skipping syntax check
DEBUG: Ruby file cookbook_masked_name/libraries/cookbook_masked_name_ops.rb is unchanged, skipping syntax check
DEBUG: Ruby file cookbook_masked_name/libraries/cookbook_masked_name_ssl.rb is unchanged, skipping syntax check
DEBUG: Ruby file cookbook_masked_name/libraries/cookbook_masked_name_unseal.rb is unchanged, skipping syntax check
DEBUG: Ruby file cookbook_masked_name/metadata.rb is unchanged, skipping syntax check
DEBUG: Ruby file cookbook_masked_name/recipes/install_cookbook_masked_name_service.rb is unchanged, skipping syntax check
DEBUG: Ruby file cookbook_masked_name/recipes/ssl_apply.rb is unchanged, skipping syntax check
DEBUG: Ruby file cookbook_masked_name/recipes/ssl_ca_pem.rb is unchanged, skipping syntax check
DEBUG: Ruby file cookbook_masked_name/recipes/_service.rb is unchanged, skipping syntax check
INFO: Validating templates
DEBUG: Template cookbook_masked_name/templates/default/cookbook_masked_name-init.erb is unchanged, skipping syntax check
DEBUG: Template cookbook_masked_name/templates/default/cookbook_masked_name-sysconfig.erb is unchanged, skipping syntax check
INFO: Syntax OK
DEBUG: Staging at /tmp/chef-cookbook_masked_name-build20170608-3261-r08o76
DEBUG: Staging /home/vagrant/cookbooks/cookbook_masked_name/recipes/_service.rb to /tmp/chef-cookbook_masked_name-build20170608-3261-r08o76/cookbook_masked_name/recipes/_service.rb
DEBUG: Staging /home/vagrant/cookbooks/cookbook_masked_name/recipes/install_cookbook_masked_name_service.rb to /tmp/chef-cookbook_masked_name-build20170608-3261-r08o76/cookbook_masked_name/recipes/install_cookbook_masked_name_service.rb
DEBUG: Staging /home/vagrant/cookbooks/cookbook_masked_name/recipes/ssl_apply.rb to /tmp/chef-cookbook_masked_name-build20170608-3261-r08o76/cookbook_masked_name/recipes/ssl_apply.rb
DEBUG: Staging /home/vagrant/cookbooks/cookbook_masked_name/recipes/ssl_ca_pem.rb to /tmp/chef-cookbook_masked_name-build20170608-3261-r08o76/cookbook_masked_name/recipes/ssl_ca_pem.rb
DEBUG: Staging /home/vagrant/cookbooks/cookbook_masked_name/libraries/helpercookbook_masked_name.rb to /tmp/chef-cookbook_masked_name-build20170608-3261-r08o76/cookbook_masked_name/libraries/helpercookbook_masked_name.rb
DEBUG: Staging /home/vagrant/cookbooks/cookbook_masked_name/libraries/matchers.rb to /tmp/chef-cookbook_masked_name-build20170608-3261-r08o76/cookbook_masked_name/libraries/matchers.rb
DEBUG: Staging /home/vagrant/cookbooks/cookbook_masked_name/libraries/cookbook_masked_name_ops.rb to /tmp/chef-cookbook_masked_name-build20170608-3261-r08o76/cookbook_masked_name/libraries/cookbook_masked_name_ops.rb
DEBUG: Staging /home/vagrant/cookbooks/cookbook_masked_name/libraries/cookbook_masked_name_ssl.rb to /tmp/chef-cookbook_masked_name-build20170608-3261-r08o76/cookbook_masked_name/libraries/cookbook_masked_name_ssl.rb
DEBUG: Staging /home/vagrant/cookbooks/cookbook_masked_name/libraries/cookbook_masked_name_unseal.rb to /tmp/chef-cookbook_masked_name-build20170608-3261-r08o76/cookbook_masked_name/libraries/cookbook_masked_name_unseal.rb
DEBUG: Staging /home/vagrant/cookbooks/cookbook_masked_name/templates/default/cookbook_masked_name-init.erb to /tmp/chef-cookbook_masked_name-build20170608-3261-r08o76/cookbook_masked_name/templates/default/cookbook_masked_name-init.erb
DEBUG: Staging /home/vagrant/cookbooks/cookbook_masked_name/templates/default/cookbook_masked_name-sysconfig.erb to /tmp/chef-cookbook_masked_name-build20170608-3261-r08o76/cookbook_masked_name/templates/default/cookbook_masked_name-sysconfig.erb
DEBUG: Staging /home/vagrant/cookbooks/cookbook_masked_name/.gitignore to /tmp/chef-cookbook_masked_name-build20170608-3261-r08o76/cookbook_masked_name/.gitignore
DEBUG: Staging /home/vagrant/cookbooks/cookbook_masked_name/chefignore to /tmp/chef-cookbook_masked_name-build20170608-3261-r08o76/cookbook_masked_name/chefignore
DEBUG: Staging /home/vagrant/cookbooks/cookbook_masked_name/Jenkinsfile to /tmp/chef-cookbook_masked_name-build20170608-3261-r08o76/cookbook_masked_name/Jenkinsfile
DEBUG: Staging /home/vagrant/cookbooks/cookbook_masked_name/metadata.rb to /tmp/chef-cookbook_masked_name-build20170608-3261-r08o76/cookbook_masked_name/metadata.rb
DEBUG: Staging /home/vagrant/cookbooks/cookbook_masked_name/Policyfile.rb to /tmp/chef-cookbook_masked_name-build20170608-3261-r08o76/cookbook_masked_name/Policyfile.rb
DEBUG: Staging /home/vagrant/cookbooks/cookbook_masked_name/README.md to /tmp/chef-cookbook_masked_name-build20170608-3261-r08o76/cookbook_masked_name/README.md
DEBUG: Generating metadata
Generating metadata for cookbook_masked_name from /tmp/chef-cookbook_masked_name-build20170608-3261-r08o76/cookbook_masked_name/metadata.rb
DEBUG: Generated /tmp/chef-cookbook_masked_name-build20170608-3261-r08o76/cookbook_masked_name/metadata.json
DEBUG: Temp cookbook directory is "/tmp/chef-cookbook_masked_name-build20170608-3261-r08o76"
Making tarball cookbook_masked_name.tgz
which: no gnutar in (/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/vagrant/.local/bin:/home/vagrant/bin:/opt/chefdk/embedded/bin:/opt/chefdk/embedded/bin:/sbin:/bin)
DEBUG: Signing: method: post, url: https://supermarket.local.com/api/v1/cookbooks, file: #<File:0x00000001326788>, User-id: username, Timestamp: 2017-06-08T17:27:57Z
ERROR: Tarball has contents that are not what they are reported to be

This might be related to the lack of the gnutar utility so I am curious if installing that resolves the issue?


HLS Source switching causes level to drop to 0, then loop=true brings it back down each time.

Current Behavior:

Load HLS Video1
Video is loaded at level 2 (top level)
Switch src to Video2
Video is loaded at level 3 (top level)
Switch src to Video1
Video is loaded at level 0

Expected Behavior:
Would like the level to be maintained or passed thru to the next load when src is switched.
Example:
https://codesandbox.io/p/sandbox/videobackground-level-err-qywfos

You'd have to set the level yourself on source change.
This is HLS behavior, not vidstack.
HLS automatically picks the level by default (-1)


refactor(frontend): reduce code duplications using objects

@tamirGer please resolve the conflicts before the merge

@derevnjuk Should be good to merge now :)


Updated bluefin_original.yaml with unreleased fixes #10747 #10748

I submitted two PRs to fix upstream doc generation issues:

https://github.com/truenas/middleware/pull/10747
https://github.com/truenas/middleware/pull/10748

The good news is that they were accepted :)
The bad news is that I suspect they won't release them until "catfish" or whatever they call their next release :(
I manually applied the fixes to a VM and generated these docs. However this is of course controversial:

Technically they may never be in any "bluefin" release, so one could argue they shouldn't be included in bluefin_original.yaml

If we do include them, then any further updates to bluefin_original.yaml must also come from a patched version (otherwise it'll drop the fixes)

The changes are indeed fixes, and I did them because without them, adding new routes would've required far more manual work than I'm prepared to do

If you are OK to merge these fixes, I pinky swear I'll provide updated (patched) bluefin_original.yaml files for any new bluefin patch versions.
If you prefer to not include these, we can either have them in a new release name "bluefinupstream", or I can maintain my fork until the next true release comes out, and then try to merge up to you on that release name.

Also note: I haven't checked whether there's any compatibility issues with terraform-provider-truenas files. Hope to do that in the coming days.


Fix and modernize nix builds to flake.nix + haskell.nix

This PR updates the nix build infrastructure to use flakes and haskell.nix and converts default.nix to be a wrapper around the new flake.nix.

$ nix build --print-out-paths
/nix/store/wb08r3yvimd8bnj70399vskq2cmrcvz6-chainweb-mining-client-exe-chainweb-mining-client-0.5

$ nix-build
/nix/store/wb08r3yvimd8bnj70399vskq2cmrcvz6-chainweb-mining-client-exe-chainweb-mining-client-0.5

Note that even though the old "Build and publish application binaries" action is failing on this branch while they appear to have passed on the latest commit of master, it's not due to any of the changes happening here. I've tested the latest status of that action by pushing a commit on top of master that just touches the README, and this action is failing there too, so it's due to changes in hackage. In fact we're fixing the builds for GHC <9.2.
I've spent a little bit of time trying to fix that action completely, but it seems to be a non-trivial task to find a set of constraints that will satisfy all the GHC versions that we're currently supporting. Seems to me like the breaking changes in aeson-2 makes it tricky to satisfy old GHC versions together with new. So, even though I'd like to update our GHC version, that would start a larger discussion than I'd like to have before merging this PR since this PR is part of a group of PRs opened against multiple repos.


Improve index handling in Bits and Signal classes

Enable syntax like a[0:] and a[:n], an often useful feature.
Please let me know if any other place will require such a change.

Thanks for the PR. Looks good to me! Can you add a unit test in pymtl3/datatypes/test/bits_test.py? And perhaps a unit test for Connectables in pymtl3/dsl/test/Slicing_test.py?

The test case in Slicing_test.py is failing, but I cannot debug the problem. To me, it looks like the s._dsl.all_upblk_writes cannot find variables that are in the form of  A[:16] as I am getting the following error with the test
pymtl3/dsl/test/Slicing_test.py:181: in test_write_two_slices_and_bit_without_specifying_width
    _test_model(Top)
pymtl3/dsl/test/Slicing_test.py:24: in _test_model
    A.elaborate()
pymtl3/dsl/ComponentLevel2.py:638: in elaborate
    s._elaborate_collect_all_vars()
pymtl3/dsl/ComponentLevel3.py:785: in _elaborate_collect_all_vars
    s._check_valid_dsl_code()
pymtl3/dsl/ComponentLevel3.py:745: in _check_valid_dsl_code
    s._check_upblk_writes()
pymtl3/dsl/ComponentLevel2.py:409: in _check_upblk_writes
    raise MultiWriterError( \
E   pymtl3.dsl.errors.MultiWriterError: Multiple update blocks write s.A.
E    - up_wr_16_32 at s
E    - up_wr_0_16 at s

As you can see it consider s.A[:16] and s.A[16:] both being s.A

The test case in Slicing_test.py is failing, but I cannot debug the problem. To me, it looks like the s._dsl.all_upblk_writes cannot find variables that are in the form of A[:16] as I am getting the following error with the test
pymtl3/dsl/test/Slicing_test.py:181: in test_write_two_slices_and_bit_without_specifying_width
    _test_model(Top)
pymtl3/dsl/test/Slicing_test.py:24: in _test_model
    A.elaborate()
pymtl3/dsl/ComponentLevel2.py:638: in elaborate
    s._elaborate_collect_all_vars()
pymtl3/dsl/ComponentLevel3.py:785: in _elaborate_collect_all_vars
    s._check_valid_dsl_code()
pymtl3/dsl/ComponentLevel3.py:745: in _check_valid_dsl_code
    s._check_upblk_writes()
pymtl3/dsl/ComponentLevel2.py:409: in _check_upblk_writes
    raise MultiWriterError( \
E   pymtl3.dsl.errors.MultiWriterError: Multiple update blocks write s.A.
E    - up_wr_16_32 at s
E    - up_wr_0_16 at s

As you can see it consider s.A[:16] and s.A[16:] both being s.A

Hmm this can be tricky. I am looking into this. Might be related to the AST parsing logic.

https://github.com/pymtl/pymtl3/blob/2eb57d3c4ca87d7fdc3fda467a9a9dca294c2c75/pymtl3/dsl/AstHelper.py#L64-L65
I think you may also need to modify this (and also in the starting_py39 function) to allow up and low to be None. Let me know if this works!

The test is passing now, thanks.


chore: hide network unavailable modal behind feature flag

The type of this PR is: chore

This PR resolves this comment and this comment  on #5494
Description
Hide network unavailable modal behind feature flag
Note: Please only merge after https://github.com/artsy/echo/pull/129

PR Checklist (tick all before merging)

[x] I have included screenshots or videos to illustrate my changes, or I have not changed anything that impacts the UI.
[x] I have tested my changes on iOS and Android.
[x] I have added tests for my changes, or my changes don't require testing, or I have included a link to a separate Jira ticket covering the tests.
[x] I have added a feature flag, or my changes don't require a feature flag. (How do I add one?)
[x] I have documented any follow-up work that this PR will require, or it does not require any.
[x] I have added an app state migration, or my changes do not require one. (What are migrations?)
[x] I have added a changelog entry below or my changes do not require one.

Changelog updates
Changelog updates

Cross-platform user-facing changes

iOS user-facing changes

Android user-facing changes

Dev changes

Hide network unavailable modal behind feature flag - mounir

This PR contains the following changes:

Dev changes (Hide network unavailable modal behind feature flag - mounir)

  Generated by :no_entry_sign: dangerJS against 9977731e9fa5ddcc25963f51ec8f0baf54112bb0

Looks like test failure is because we don't have an echo flag yet

Good catch. I linked a PR with the echo in the description, would you mind if you take a look at it


Figure out documentation layout

We have a chance to improve the way we handle docs/examples since we're moving to a new repo, lets not waste it. Ideas on how we should lay out examples ?
@aledbf @mdelio @justinsb
One idea mentioned was to use https://github.com/apiaryio/api-blueprint/tree/master/examples to handle documentation and testing for cross platform cases https://github.com/kubernetes/contrib/issues/775

Using https://apiblueprint.org/ is possible to express one or more test cases just using markdown files. Is possible to extend the recognized tags so is possible to add particular things like all the related to kubernetes. Something like this:

with this approach is easy to add new tests (e2e), any user can build a new test case and use this format as a standard way to express the intent using standard kubernetes api objects and also enable the use of custom docker user images.

Can you stand up a POC in your repo?


Bulk Scan Updates

@ragini7913 It looks like bulk_scan.html is missing, can you please upload that and address the lint errors?

Hi @raginirai553 please see the below comments/issues:

When I upload a file and choose Sort by Project, I get the following exception:

    response = self.full_dispatch_request()
  File "/Users/api_user/miniconda3/envs/microsetta-admin/lib/python3.8/site-packages/flask/app.py", line 1952, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/Users/api_user/miniconda3/envs/microsetta-admin/lib/python3.8/site-packages/flask/app.py", line 1821, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/Users/api_user/miniconda3/envs/microsetta-admin/lib/python3.8/site-packages/flask/_compat.py", line 39, in reraise
    raise value
  File "/Users/api_user/miniconda3/envs/microsetta-admin/lib/python3.8/site-packages/flask/app.py", line 1950, in full_dispatch_request
    rv = self.dispatch_request()
  File "/Users/api_user/miniconda3/envs/microsetta-admin/lib/python3.8/site-packages/flask/app.py", line 1936, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "microsetta_admin/server.py", line 994, in bulk_scan
    return _visualize_scans()
  File "microsetta_admin/server.py", line 897, in _visualize_scans
    table=_compose_table(legends, criteria),
  File "microsetta_admin/server.py", line 864, in _compose_table
    current_cols.append([rec[5], legends[val], proj, status, src])
KeyError: 'THDMI - Spain (Main)'

I'm seeing the following in the logs, so I think you'll need to find a more efficient way to pass data around than using the session scope. It's safe to use session for a few specific options, but not large amounts of data:

It would be good to add the Sort By dropdown to the upload screen so that there's not an extra step when first viewing a file.

@raginirai553 There are a couple of significant issues with the Bulk Scan function that I'm experiencing in testing:

When I sort by Sample Project, I receive the following exception:

[2023-05-16 08:49:59,572] ERROR in app: Exception on /scan-bulk [POST]
Traceback (most recent call last):
  File "/Users/api_user/miniconda3/envs/microsetta-admin/lib/python3.8/site-packages/flask/app.py", line 2447, in wsgi_app
    response = self.full_dispatch_request()
  File "/Users/api_user/miniconda3/envs/microsetta-admin/lib/python3.8/site-packages/flask/app.py", line 1952, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/Users/api_user/miniconda3/envs/microsetta-admin/lib/python3.8/site-packages/flask/app.py", line 1821, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/Users/api_user/miniconda3/envs/microsetta-admin/lib/python3.8/site-packages/flask/_compat.py", line 39, in reraise
    raise value
  File "/Users/api_user/miniconda3/envs/microsetta-admin/lib/python3.8/site-packages/flask/app.py", line 1950, in full_dispatch_request
    rv = self.dispatch_request()
  File "/Users/api_user/miniconda3/envs/microsetta-admin/lib/python3.8/site-packages/flask/app.py", line 1936, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "microsetta_admin/server.py", line 1024, in bulk_scan
    return _visualize_scans()
  File "microsetta_admin/server.py", line 905, in _visualize_scans
    table=_compose_table(legends, criteria),
  File "microsetta_admin/server.py", line 872, in _compose_table
    curr_cols.append([code, legends[val], proj, status, src])
KeyError: 'PROJECT NAME REDACTED - XXXXX (XXXXX)'

When I sort by Sample Status or Sample Type, the first sample in the upload file renders 96 times in a single row:

Are you experiencing either of these issues in your local development environment?


"Păcureți" is listed in the drop-down menu

"Păcureți" is listed in the drop-down menu alongside its corresponding county according to the law
Precondition:
The website is up an running.

Step 1
Type "Păcureți" in the search bar.

Expected results
The location is listed in the drop-down menu as "Comuna Păcureți, PRAHOVA".


Documentation: Containers.md has wrong instructions for X mount point

Windows build number:
10.0.19044.0
Your Distribution version:
Arch (but applies to Debian as well)
Your WSL versions:
WSL-Version: <IP_ADDRESS>
Kernelversion: <IP_ADDRESS>
WSLg-Version: 1.0.47
MSRDC-Version: 1.2.3575
Direct3D-Version: 1.606.4
DXCore-Version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows Version: 10.0.19044.2364

Steps to reproduce:

Read https://github.com/microsoft/wslg/blob/main/samples/container/Containers.md
Run step The container can be build then launch as follow.:

sudo docker build -t xclock -f Dockerfile.xclock .
sudo docker run -it -v /tmp/.X11-unix:/tmp/.X11-unix -v /mnt/wslg:/mnt/wslg \
    -e DISPLAY=$DISPLAY -e WAYLAND_DISPLAY=$WAYLAND_DISPLAY \
    -e XDG_RUNTIME_DIR=$XDG_RUNTIME_DIR -e PULSE_SERVER=$PULSE_SERVER xclock

WSL logs:
No response
WSL dumps:
No response
Expected behavior:
X window "xclock" is displayed.
Actual behavior:
No X window is displayed.

What fixed it on my end, was changing the mount point from /tmp/.X11-unix:/tmp/.X11-unix to /mnt/wslg/.X11-unix:/tmp/.X11-unix.
Needs clarification, though. Please test on your machines as well if necessary.

@thetredev the examples are valid, however you're encountering the can't open display issue. That's why it works when pointing to /mnt/wslg/.X11-unix/X0 socket directly. Here's a screenshot with the xclock container running:

Before you launch the container again make sure /tmp/.X11-unix/X0 exists. There was an effort to have this linked to /mnt/wslg/.X11-unix/X0 but didn't worked as expected causing many can't open display issues to be filed.

The X0 file is available in both locations for me:

Can you point me to the issue you've mentioned?


New Features

Background & motivation
I'm trying x should y
Desired behaviour
I'm trying y should c
How important is this to you?
Critical; Kurtosis is unusable for me without it.
What area of the product does this pertain to?
CLI: the Command Line Interface

.diff

.patch


Show memory in GiB and KiB

Description
This PR implements the ability to display memory in GiB or KiB instead of MiB. The default is to use MiB, to preserve current behaviour. The precision for both used and total RAM can be set. These precisions both default to 1.
~I chose to use "gb" instead of "gib" in the option names because GiB just looks weird in snake case, and adding a single character will also require a whole bunch of whitespace realignment in the code around line 4673.~
I also noticed a single character whitespace misalignment and took the liberty of cleaning that up in this PR too.
Features
Memory can be shown in GiB or KiB using ~memory_use_gb="on"~ memory_unit=<kib|mib|gib>
Precision for both used and total GiB can be set separately using memory_used_gib_prec=<int> and memory_used_gib_prec=<int>.
Issues
Closes https://github.com/dylanaraps/neofetch/issues/1170
TODO
N/A

How's it look? @dylanaraps

I merged a slightly different implementation of this feature. Thanks!


Flextype Admin Panel: Add ability to populate tabs

Add ability to populate tabs.
There is now way to do this for all Admin Panel areas.

moved to https://github.com/flextype-plugins/admin/issues/90


MAINT: Define default end_date in assets.db as max int64, for clarity

We had previously reduced this value in https://github.com/quantopian/zipline/commit/ee9c79a6f849e4d7e9035bc58977bce125ef6f5e as a workaround, but it should no longer be an issue.

Coverage remained the same at 87.141% when pulling 47836f26b4a9bad102fec2e079ef52b188539353 on end-date-default-int64-max into 0848a8a4862fd8bbe7ba64654e6bc731b4b622b7 on master.

@yankees714 are you blocked on this?

@FreddieV4 This must have just slipped through the cracks, I'll rebase and merge if that's good with you?

Coverage remained the same at 87.64% when pulling 04a6736f36a286ad984673f9dca69f9f3d53418e on end-date-default-int64-max into 5160b11bc1a8360b0c794faf6ca5988f800e8f5e on master.


Mattermost connector

Proposed changes:

Adding in the mattermost connector including the documentation

Status (please check what you already did):

[X] made PR ready for code review
[ ] added some tests for the functionality
[X] updated the documentation
[ ] updated the changelog

first initial working of the connector for mattermost

Sorry let me remove that was debugging :)

Print statements have been removed


No notifications in Ubuntu 20.04

Hello, I have a issue with notifications in Ubuntu 20.04.
If I click on send on this site the notification is not shown

No, notifications anywhere, I have made a pull request to fix it:
https://github.com/jiahaog/nativefier/pull/955


vscode find/replace breaks

I confirmed the bug happens when this vscode extension is the only one enabled.
As you can see in the video, if you find-replace in toml files with the extension enabled it often doesn't work entirely or works only partially.
https://www.dropbox.com/s/mcuy3r4p7wyifw4/find-replace-toml-bug.mov

Looks like a race condition between Search/Replace all and Format on save VS Code features, which triggers when using taplo as the TOML formatter.
When Format on save is enabled, and there are matched in multiple TOML files, replacing works for some files but not all. And sometimes, it does not work at all.
When Format on save is disabled, replacing all occurrences works fine across all files, every time.


ENTITY_GENERIC_ERROR when updating an existing device

After I created a service group and provisioned a motion sensor device I get an error when I update the device by using a PUT-request with the IoT-Agent endpoint:
from filip.models.ngsi_v2.iot import ServiceGroup, Device, DeviceAttribute
from filip.clients.ngsi_v2 import IoTAClient
from filip.models.base import FiwareHeader

fiware_header = FiwareHeader(service="openiot", service_path="/")

iota_client = IoTAClient(url="http://localhost:4041", fiware_header=fiware_header)

service_group = ServiceGroup(service="openiot",
                             subservice="/", apikey="4jggokgpepnvsb2uv4s40d59ov",
                             cbHost="http://localhost:1026", entity_type="Thing",
                             resource="")

motion_sensor_device = Device(service="openiot", service_path="/", device_id="motion001",
                              entity_name="urn:ngsi-ld:Motion:001", entity_type="Motion",
                              protocol="PDI-IoTA-UltraLight", transport="MQTT", timezone="Europe/Berlin",
                              attributes=[DeviceAttribute(object_id="c", name="count", type="Integer")])

motion_sensor_device_updated = Device(service="openiot", service_path="/", device_id="motion001",
                                      entity_name="urn:ngsi-ld:Motion:001", entity_type="Motion",
                                      protocol="PDI-IoTA-UltraLight", transport="MQTT", timezone="Europe/Berlin",
                                      attributes=[DeviceAttribute(object_id="c", name="count", type="Integer"),
                                                  DeviceAttribute(object_id="c2", name="count2", type="Integer")])

iota_client.post_group(service_group, update=True)
iota_client.post_device(device=motion_sensor_device, update=True)
print(iota_client.get_device(device_id="motion001").attributes)
iota_client.update_device(device=motion_sensor_device_updated)
print(iota_client.get_device(device_id="motion001").attributes)

The program exits with an

requests.exceptions.HTTPError: 409 Client Error: Conflict for url: http://localhost:4041/iot/devices

When I looked at the response content of the PUT-request of the IoTAClient, I get the error

{"name":"ENTITY_GENERIC_ERROR","message":"Error accesing entity data for device: motion001 of type: Motion"}

I fixed this problem for me by including the attribute "entity_name" in the PUT-request of the "update_device" method:
res = self.put(url=url, headers=headers, json=device.dict(
                include={'entity_name', 'attributes', 'lazy', 'commands', 'static_attributes'},
                exclude_none=True))

I again used the FIWARE setup from the Git-Repo https://github.com/FIWARE/tutorials.IoT-over-MQTT.git

Similar to #204 , try to change your code for the provisioning:

remove cbHost
specify resource, here /iot/ul

Besides, I also recommend:

service and subservice in your code, because it is the same with the fiware-header

Please let me know if it solves your problem.


Add support for mypy in the CI CD pipeline

Currently priority will be running mypy and fix code smells. Blocked by #140

I think this should be addressed along with #140 in the same PR. After all it's just a matter of copy/pasting the following lines into the CI config:
      - name: mypy
        run: mypy foca

Closing this issue.


Skype image attachment do not work after botframework 3.5.5 upgrade

Before I upgrade the Bot Framework with C# environment
I can only send an image attachment in Skype with the following code
    var replyMessage = context.MakeMessage();
    Attachment attachment = null;
    attachment = GetInlineAttachment();
    replyMessage.Attachments = new List<Attachment> { attachment };
    context.PostAsync(replyMessage);
    private static Attachment GetInlineAttachment()
    {
        var imagePath = HttpContext.Current.Server.MapPath("~/App_Data/p1.png");
        var imageData = Convert.ToBase64String(File.ReadAllBytes(imagePath));
        return new Attachment
        {
            Name = "p1.png",
            ContentType = "image/png",
            ContentUrl = $"data:image/png;base64,{imageData}"
        };
     }

but after the upgrade, It do not work for Skype but still work well on Bot Emulator
How to fix it ?
BTW, I think that is impossible to send a "txt" file from bot to user  or save a txt file from user client now, is it?
(the txt file is saved in the C# project  )

@gmiloveyou Hello, to troubleshoot this problem we will need more context such as your bot id or conversation id for the failed request. Thank you!

First, thanks you guys for response.
Now,I can give you the information is the post response I got from bot in Emulator.
The others needs some time due to some reason.
/***
Remind that the code work well in Emulator
However, it do not response anything in Skype.
In normal condition, I suppose that I will get the message from the bot framework.
like "Sorry, my bot code has some problem" if my code went wrong.
But in this case,  My bot response nothing and I can continue to interact with my bot.
***/
Is that Enough?
{
"type": "message",
"timestamp": "2017-03-31T05:45:31.2390338Z",
"serviceUrl": "https://327285a3.ngrok.io",
"channelId": "emulator",
"from": {
"id": "6a3m955cmjfc2kf51c",
"name": "Bot"
},
"conversation": {
"id": "jk4e6l2imk3cmc"
},
"recipient": {
"id": "default-user",
"name": "User"
},
"locale": "zh-TW",
"text": "",
"attachments": [
{
"contentType": "image/png",
"contentUrl": "data:image/png;base64,iVBORw0KGgoAAAANSU....(very long)".
"name": "p1.png"
}
],
"entities": [],
"replyToId": "gfkcn28gg943kb1c"
}

@gmiloveyou That payload is fine. Could you please share your bot msa app id and I will search backend logs for possible errors? Thank you.

@konstlut
d49d65e8-1b54-4ef5-952c-1a221d157ac2  thanks

@gmiloveyou, are you still able to reproduce the issue? If so, what error do you get from BotFramework side?
Could you please show the full server response and timestamp? It would be extremely helpful :)

@konstlut  @ilyalukinykh    hello, thanks for reply

--
Recently I found that sometimes the bot work on Skype.
This picture shows my problem.  When I type in "pic", the bot should show me a picture.
It sometimes works.(Maybe 5% when I try recently) .

However, I always work on Emulator

I guess the emulator will reply any message correctly.
But in Skype, when the execution time takes to long, Skype just ignore the reply ?
I have the same problem when I try to using "SendToConversation()" to send a message directly.
The message do not always send.
Thanks for your help.

@gmiloveyou, that's looks quite strange. Let me dive in logs to understand what could be the reason.
By the way, could you please show the HTTP response body that bot is getting after the request that you've shown above?
context.PostAsync(replyMessage);

@ilyalukinykh
Actually, I do not known how to get the HTTP response body from Skype. Maybe I should check something on Azure?
(Sorry for my low technical ability,I hope that do not cause any unnecessary problems )
I suppose you mean the information from Emulator?

@gmiloveyou, by the way, please notice that context.PostAsync(replyMessage) call is asynchronous, however it's not being awaited in the code listed above.
Shouldn't it be await context.PostAsync(replyMessage) in that case?

When I use "await" is the same. Work on Emulator but not in Skype.
Additional,allow let me explain my code simple structure,  hope this could help to find the problem
First I use IDialog , when  this IDialog got a message from user, I analysis the message.
Then use "reflection invoke"
(
Type tType = Type.GetType("myfunction_name");
MethodInfo mInfo = tType.GetMethod(myfunction_name);
mInfo.Invoke(Activator.CreateInstance(tType), new object[] { context });
)
to execute a function pass the context object into the function
(exp:  I type in "pic" ,then execute the pic(context){}   function)
Would this structure cause any problem?

@konstlut  @ilyalukinykh
Thanks you guys help, after you guys tell me about the issue about the await.
It reminds me that I forget to check something in my code.
Then I found that there is a thread problem  when I try to
"mInfo.Invoke(Activator.CreateInstance(tType), new object[] { context });"
after use "task.ConfigureAwait(false);"
Now everything is back on the track now.
Appreciate you guys patient and help.
It really helps a lot in my work.  You guys are awesome.


CI workflow to push docker image to github packages

Push releases to GitHub packages docker registry.
Fixes #19

@bitner looking to get a 0.2.8 release out as the ingestion is broken in 0.2.7 and it's blocking testing of pgstac on stac-fastapi; I'm fine manually tweaking version numbers and will have a PR up to review in a bit that should be good for the release; is there any reason not to merge this to also have a 0.2.8 image to work with from gcr?

it's blocking testing of pgstac on stac-fastapi

This may not be true, looks like the testing env is generally botched on my machine; but generally would be good to get a release with https://github.com/stac-utils/pgstac/commit/26df853ba27eeef830974e0d6f6d2511c4fda59f out

@bitner any reason not to push to dockerhub and GitHub?

@bitner any reason not to push to dockerhub and GitHub?
ref: https://github.com/developmentseed/titiler/blob/master/.github/workflows/ci.yml#L142-L152

@vincentsarago my immediate response is lazily that ghcr.io doesn't require me to find any additional credentials

Closing this PR, I wrapped this into #24

@vincentsarago also Dockerhub has user account restrictions # for free organization (e.g. stac-utils on dockerhub), and doesn't allow you to publish with org-specific credentials. We got in a situation where we thought we may have to publish to stac-utils dockerhub with a developers account creds, I went to make a bot account instead, but we were already at the limit for the org...then we found out GCR would solve all of these problems and have been focusing on that as a docker publishing platform since.


fix(labs): Make TypedObject, EchoDatabase and SpaceProxy not proxied by @deepsignal/react

🤖 Generated by Copilot at 7a7614c
Summary
🐛🚚♻

This pull request fixes a proxying bug in labs-app by importing and assigning some classes to global properties, and refactors the client package to export the SpaceProxy class.

SpaceProxy moves
from client to other modules
refactoring in spring

Walkthrough

Export SpaceProxy class from @dxos/client package to enable interaction with spaces from other modules (link).

Current dependencies on/for this PR:

main

PR #3724   👈

This comment was auto-generated by Graphite.

Fix for https://github.com/dxos/dxos/issues/3713


Module 1.1 Assignment

I'd like a repository to put example code, coding assignments and classroom discussions in. The fact that I can see student's progess over time helps to discourage plagiarism and gives me a head's up on student's progress.

Given what you have learned about Git, why would you want to use Git in your classroom?


fix: move post processing material along with camera

If we don't move the Quad material along with the camera we'll get a cropped up viewport as the player moves the camera around. Adding those to the same entity (and as such making them share a transform), solves the issue.
Fixes #51

Turns out the issue is with moving the PostProcessing camera. One shouldn't move that camera but only move all of the other main cameras where the world is rendered to.


Error loadModel

I download from 'Word2Vec' http://nilc.icmc.usp.br/embeddings
this http://<IP_ADDRESS>:22980/download.php?file=embeddings/word2vec/cbow_s50.zip
And try to load
var w2v2 = require( 'word2vec' );
w2v2.loadModel( 'C:\Users\Ranieri\Documents\Projetos\playground\datas.txt', function( error, model ) {
    console.log(error)
    console.log( model );
});

but nothing happens
Node 8.11

Add some logging to the node_modules/word2vec/lib/model.js file and you might find some answers. My issue was that I was trying to load a .json file. The init function has a switch statement with no default case. I added a default case to throw an error. Try this.
	function init( file ) {
		var mime_type = mime.getType( file );
		switch ( mime_type ) {
			case 'text/plain':
				console.log('File type is text/plain')
				readTxt( file );
			break;
			case 'application/octet-stream':
				console.log('File type octet-stream')
				readBinary( file );
			break;
			default: throw new Error( 'Invalid file type!' );
		}
	}
	init( file );

@Mattperkinsee Please respect the callback and don't just throw your own errors, since the callback explicitly defines it:
https://github.com/Planeshifter/node-word2vec/pull/27/files

@Mattperkinsee loadModel takes a callback and calls it with (error, model), which is not given with your code.
So you raise an error, but then have to catch it via try/catch and cannot rely on the given API just in that error case.
Just pointing out the existing API, good that you got it to work!


MAINT, BUG, TST: incremental API cleaning

This PR

resolves a bug with IncrementalSearchCV where it would be stuck in an infinite loop when decay_rate=0.
implement a test for tol
revise the patience test to make sure it returns the correct best_estimator_

This PR depends on #404. A clean diff can be found at https://github.com/stsievert/dask-ml/pull/2.

Merged master.

(if we deem that necessary).

There aren't many user-facing changes in this PR. I think it updating this could be a point release. It improves on the implementation (decay_rate=0 is allowed and defines patience to be what the user expects (but they're currently the same thing with default params).
The largest user facing issue is with the bug this PR solves (it removes an infinite loop if decay_rate=0).

I think that infinite loop was fixed in https://github.com/dask/dask-ml/pull/373

I think that infinite loop was fixed in #373

I don't think so. It's with decay_rate specifically, and involves the property that for all x > 0, 1 / x**0 == 1.

Gotcha. I'll try splitting that bug fix out.
On Tue, Oct 16, 2018 at 2:46 PM Scott Sievert<EMAIL_ADDRESS>wrote:

I think that infinite loop was fixed in #373
https://github.com/dask/dask-ml/pull/373
I don't think so. It's with decay_rate specifically, and involves the
property that for all x > 0, 1 / x**0 == 1.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/dask/dask-ml/pull/406#issuecomment-430374425, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABQHIn_NtW4dfu3dE7cJgf2670s-rj2Aks5uljeDgaJpZM4XbkCU
.

I don't think this PR fixes the decay_rate=0 bug. AFAICT, test_search_basic isn't really being run now, since the tests exists as soon as the test helper _test_search_basic is called. I believe you need to await it.
diff --git a/tests/model_selection/test_incremental.py b/tests/model_selection/test_incremental.py
index 5d828b7..c52b06a 100644
--- a/tests/model_selection/test_incremental.py
+++ b/tests/model_selection/test_incremental.py
@@ -196,9 +196,10 @@ def test_explicit(c, s, a, b):
 @gen_cluster(client=True)
 def test_search_basic(c, s, a, b):
     for decay_rate in {0, 1}:
-        _test_search_basic(decay_rate, c, s, a, b)
+        yield _test_search_basic(decay_rate, c, s, a, b)

<EMAIL_ADDRESS> def _test_search_basic(decay_rate, c, s, a, b):
     X, y = make_classification(n_samples=1000, n_features=5, chunks=(100, 5))
     model = SGDClassifier(tol=1e-3, loss="log", penalty="elasticnet")

Alrighty, I had a look and I think these changes look good. I like thinking about patience in terms of the number of partial_fit_calls.
Planning to merge this evening.

Thanks @stsievert!


Update ArduinoAndWindows10.md

Docs Build status updates of commit 9f80849:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

windows-iotcore/learn-about-hardware/ArduinoAndWindows10.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.

Docs Build status updates of commit 13aa929:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

windows-iotcore/learn-about-hardware/ArduinoAndWindows10.md
:white_check_mark:Succeeded

windows-iotcore/learn-about-hardware/ArduinoWiring.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.

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

File
Status
Preview URL
Details

windows-iotcore/learn-about-hardware/ArduinoAndWindows10.md
:white_check_mark:Succeeded

windows-iotcore/learn-about-hardware/ArduinoWiring.md
:white_check_mark:Succeeded

windows-iotcore/learn-about-hardware/ArduinoWiringProjectGuide.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.

Docs Build status updates of commit 6668932:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error] Cannot sync git repo to specified commit because branch saraclay-patch-1 has been deleted or has been force pushed: fatal: Couldn't find remote ref saraclay-patch-1

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.


Deal with Assertion in TSPUnarchiver

Example assertion:
#Assert *** Assertion failure #0: -[TSPUnarchiver validateReferenceToObjectIdentifier:objectClass:isWeak:validateStrongReferences:selector:weakSelector:] /Library/Caches/com.apple.xbs/Sources/iWorkDependenciesMacOS/iWorkDependenciesMacOS-7034.0.86/shared/persistence/src/TSPUnarchiver.mm:704 Object [TSTTableTile-10000011] is not strongly referenced from message [TST.TableModelArchive-904538] message type 6001. Use TSPReadWeakLazyReferenceMessage<TSTTableTile>(unarchiver, message, completion) instead.

That particular assertion was resolved in 3.4.2 and the root cause is understood (a missing reference)


ceylon.http.server tests are broken

As mentioned in #589 the failing assertions weren't being counted as test failures. We we need to fix the broken tests.

So just testAsyncStream() is failing now. In the debugger I see that:

The call to response.writeStringAsynchronous()( serverTests.ceylon, line 305) blocks until the string is written and the onCompletion() callback has been called, and
It runs on the same thread the whole time, then
We execute line 315 and 316 stil on that thread.

This behavior is fundementally at odds with the expectation of the test that response.writeStringAsynchronous() returns immediatly so that the asyncServiceStatus can transition to "returning" and later transition to "completing".
@matejonnet please explain what the intended behaviour is

As you said the method should not block. I wonder where it is blocked, as the call is delegated to the async method exchange.responseSender.send(jByteBuffer, sendCallback) (https://github.com/ceylon/ceylon-sdk/blob/master/source/ceylon/http/server/internal/ResponseImpl.ceylon#L147)
I see there are blocking and async responseSender senders, could be that the exchange does not have the correct impl.

I checked and it's really an async exchange.
https://github.com/undertow-io/undertow/blob/master/core/src/main/java/io/undertow/io/AsyncSenderImpl.java#L149 shows that it will try writing, if it can, and it seems to be able to fit everything in there, so it calls the listener. There must be a buffer to hold it in, because I don't think the client is reading the response.

Yeah, there's a buffer. At a response size of 2 megs it will complete immediatly, but at 20 megs the test will pass. And indeed on my machine the max socket buffer for write is 4194304 (4 megs):
$ cat /proc/sys/net/ipv4/tcp_wmem
4096	16384	4194304

So that's a bogus test ;)

Fixed!


Loading various Init() functions in eggos.go

Thanks for merging https://github.com/icexin/eggos/pull/96, it's really helped me debug the issues I'm having.
The problem is that I'm missing logs which happen in init() functions in eggos, due to the order in which init functions run- source files are loaded in alphabetical order, the packages are loaded, and those init functions are added to the run order first, then the ones in the main package.
This means in order to set the log level you need to do something a bit gory like I've done here - create a file which is guaranteed to be parsed first (I prefixed mine with 00_) and have that include a package whose init function only exists to call out to set the log level.
Now if that's the way you want this problem solving, then that's fine (I can keep this approach), but I think a better approach would be to change the build tool to:

Generate a file in the build dir called, for instance, zz_eggos.go (following conventions from tools like the operator SDK)
Write to this file the contents of the current eggos.go file (rather than importing it, which will allow us to avoid the top)

I'd also like to make a minor change to how drivers and stuff are initialised. Rather than having them panic() out, which exits on baremetal and, in my case, clears output (so I can't even see what failed and why) I'd like them to print errors to the console and halt so that the output exists long enough to read. Ignore this, it's an ordering issue with where the panic trap happens, which I will fix.
But I can open a new issue to discuss that design.

Closing, discussion in https://github.com/icexin/eggos/pull/99


Can google ApI client  be used from Chrom extensions?

I am trying to invoke google app engine from a chrom extensions JS file. but i am not able to go through init mehod. Not able to get the error too. WHat is that has to be done ?Is it supported from extension?

Thanks for the question, but I think I do not understand completely. What do you mean by "invoke Google AppEngine" exactly? And when you say "JS file" do you refer to the background page, a content script, or something else?
Also, Chrome extensions are not among the supported environments listed here: https://developers.google.com/api-client-library/javascript/start/start-js#supported-environments
This means it might or might not work, and even if it does work you are pretty much on your own support-wise. That said, searching a bit showed evidence that some people did get it working: http://stackoverflow.com/questions/18681803/loading-google-api-javascript-client-library-into-chrome-extension

This is a duplicate of https://github.com/google/google-api-javascript-client/issues/64


FR: Curly quotes from straight quotes

Is Your Feature Request Related to a Problem? Please Describe.
I often run into straight quotes in my documents, either because my system put them in as I typed, or because I pasted some text in that contained them.
Describe the Solution You'd Like
I would like a Rule that changed straight single and double straight quotes to curly ones.
Describe Alternatives You've Considered
The Smart Typography plugin does this, but only as you type, not afterwards.

Any hope for this? It would be very helpful!

This may help in implementing this feature: https://github.com/othree/smartypants.js

As far as I am aware, this is not a hard feature to add, but this is not a high priority on my list of things to work on right now. I am open to PRs around this, but the most I can say about this right now is that it is in the project backlog and will be addressed as those tickets get worked through. Thanks for your patience!

As noted by @slappycat2, it will likely cause issues with YAML and plugins, so it is not recommended that the curly single or double quotes be used. Even so, I think that the custom regex feature that has been suggested (#455 ) would allow this change.

It should be possible to not convert within YAML or code blocks, right? Wouldn't that avoid the problem?

That would potentially avoid the problem, but the custom regex would not know the difference. Thus you would have to use custom ignore (#334) to get finished in the next couple of releases to go ahead and do the change.

So while it is possible, this would likely not be directly supported natively in the linter as a rule specifically for this. It would likely be made up of custom ignore and custom replace being used in conjunction with one another.

Note that the issues with plugins like Templater would likely still exist as well as incompatibility with other plugins as well.

I mean—I'm not familiar with the Obsidian API, but does it report when something is supposed to be rendered in monospaced font?

Just looking at some issues with Smart Typography, there may be problems with converting to curly quotes with other parsing plugins, in particular Templator and the sidenotes CSS hack. This doesn't mean it can't be done, but I would see what @mgmeyers comes up with first. It might be nice to have, but at the risk of losing Templator-like plugins, I'll stick with straight quotes. ;-)

When I am making this change, I am not adding any special concern for Templator. I may need to consider doing so to prevent issues with that plugin. I will reevaluate once I get the core of the logic in place. I am planning on ignoring code blocks, math block, inline code, inline math, YAML, and html. I may need to add a regex match for templater blocks as well to make sure I do not update them either as that is code. But the recent feature to turn off the Linter for specific portions of code (#725 ) should allow for ignoring Templater blocks manually.

This rule should be added in the next release. If it has any issues please let us know.
Note that this rule should ignore Templater blocks.


DBZ-361 Adding example image for MongoDB

https://issues.jboss.org/browse/DBZ-361

@jpechane Force-pushed an update to address your comments.
Unfortunately, I didn't find a way to have the initialization script being run as part of the container start-up. In the call to rs.initiate(), the actual host name of the container must be used, but I cannot seem to find a way for getting hold of it when executing the script via /docker-entrypoint-initdb.d/. Instead, that's left as a manual step to be executed afterwards:
docker run -it --link some-mongo:mongo --rm mongo sh -c 'exec /usr/local/bin/init-inventory.sh'

It's not ideal and I'm happy to adjust if you find a better way, but I'm out of ideas :)

IMHO it is doable. The problem is that the default entrypoint script binds to localhost.
We need to provide our own ENTRYPOINT that is going to be very simplified. It will not bind to localhost but to HOSTNAME or all intefaces. Then it is possible to a create replica set listening on public interface.
The entrypoint script is going to be much simplified - start mongod, execute commands that are now located in init-inventory.sh and Mongo instance will be up and running.

Yes, we could provide our own entrypoint script, but I'm not sure whether it's worth the efforts. Also it'd be nice if we could keep the full semantics of the upstream mongo image. All in all I'd rather stick to the current proposal, I think it's acceptable.

I agree, thanks!


How to force -v option if install from package

If user installs only from package, they will not get pytest.ini, and hence will not be forced to use -v option. This is required to parse results.

Override default by tweaking config object in hook pytest_configure


SetIntermediateCallback bug on macOS and Windows

The SetIntermediateCallback has an underscore prepended to it on macOS, causing callback registration to fail:
dpo:~/dev/julia/Ipopt.jl (test-callback %)$ nm /Users/dpo/dev/julia/Ipopt.jl/deps/usr/lib/libipopt.1.10.10.dylib | grep -i SetIntermediateCallback
00000000000151b0 t _SetIntermediateCallback

See https://github.com/JuliaOpt/Ipopt.jl/pull/157.

This is related to the symbol filtering at https://github.com/JuliaOpt/IpoptBuilder/blob/224ffe686e3a4049ff7117d6f5588a87695792d8/build_tarballs.jl#L45
SetItermediateCallback is the only function in the public C API whose name doesn't include Ipopt, so it gets filtered unintentionally.


Adds c_rasterband method to Rasterband

[x] I agree to follow the project's code of conduct.
[x] I added an entry to CHANGES.md if knowledge of this change could be valuable to users.

Can you add a changelog entry? The users might be interested in knowing about this.
bors d+

bors r+


Support --google-disk-type flag for google driver

Signed-off-by: Koichi Shiraishi<EMAIL_ADDRESS>

cc @ehazlett

sorry, I forgot gofmt.

Does this commit there any problem?
Because not familiar with golang, please tell me if there is a problem.
Thanks.

@zchee Thanks for the contribution!   Looks like this needs a rebase and signed commits: https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work

@ehazlett Fiinish Signed-off.

@zchee thx -- this needs a rebase

Rebased.

@zchee this also needs a gofmt https://travis-ci.org/docker/machine/builds/54972776#L208  thanks

I apologize for the delay in replying.
Fixed.

@ehazlett
I wrote golang this is the first time, not well understood golang... :(
I will study harder.
What to you is what improvements have think ideal?

No problem!  I was just wondering why the variables aren't matching the option names.  Seems like it would be confusing down the road.

Fixed.
Will that be OK?

LGTM

Thanks :tada:

thanks for the contribution!!


Fix/cs 326 check existence of proof purpose

@hkny can we get an update on that ? we discussed this before that not every proof have proofPurpose but in our case in MIW every proof should have a proofPurpose.
should we merge that or just close the PR ?

implemented feature


Add /etc mount for falco container

Fixes #473.
This is required to support COS and Minikube as the probe loader script looks for the OS version by reading files in /etc.
I also added the environment variables to enable the eBPF probe, but left them commented out.

Do you think it would be more secure to explicitly mount /etc/os-release and /etc/VERSION instead of all of /etc/ ? You did create the mount read-only, which is good, but someone who got into the falco daemonset pod could read stuff like /etc/passwd (and maybe even shadow, depending on how it's running) from the host.

Ok, did as you suggested and I am only mounting the files Falco needs.
There's a bug in the probe loader script in the logic used to detect COS vs Minikube for eBPF support. I need to submit a PR to fix that before we should merge this.

Required probe loader script fix in draios/sysdig/1273.

(Commenting on this since I saw it referenced from https://github.com/draios/sysdig/pull/1273)
Are we sure we want to introduce that much granularity in the mount paths, which need to be propagated to sysdig, agent as well as traditional command lines?
What you seem to be wanting to prevent is already possible in a very easy way: just go into a Falco container and run cat /host/proc/1/root/etc/shadow, you'll easily get access to the host file system even if you didn't mount /etc.
And this is without even counting that we are a privileged container, have full access to the Docker socket, and have the ability to compile and inject custom code into the kernel, we are basically already root++ on the host, so mounting /etc basically doesn't make a difference.
From my point of view, the only reason why we are not mounting the entire host file system, thus greatly simplifying the command line invocation, is just because we don't want to keep those mount points busy when containers churn, otherwise I'd consider it reasonable, and more practical, to do that as well (other projects, such as Google's cadvisor, do exactly that and mount the entire host's /).
Feel free to ignore this, just wanted to provide my perspective.


Build from CI cloned repo (and fix netlify previews)

This PR changes the production build to build from the locally fetched repo in the CI.
As the build happens in netlify, a script is necessary to fetch all to content - netlify does a bare clone initially.
As a consequence the netlify previews in PRs now actually work!

lovely jubbly!


add HellaSwag-like tests

See https://github.com/ggerganov/llama.cpp/discussions/2321
Perhaps: --hellaswag & --perplexity CLI arguments
Automatically download test corpus

Since both tests computes the perplexity, perhaps --hellaswagish and --basic ?
The timing values for the tests are not very useful if there is no data on the system running the test like CPU, GPU and RAM. The timing value of interest would be tokens per second taken from llama.cpp output.
A more detailed description of the tests in the readme would me nice, maybe I could help with that.

--basic it is...
Agree, at this stage, timing is is not very useful... as the underlying hardware will vary. Though this mini project was started in response to a request from GG for perplexity + latency benchmarking... with the expectation that Azure baremetal or dedicated host would be imminent. IF/when that happens  - IMO then the latency score start to become useful. With same dedicated hardware and model(s) overtime (GG suggest open-llama 7B & 13B)... then quality and performance of the code can be assessed across builds. (Pls correct me if I've missed something)
"more detailed description": Yes, pls write something up and drop it here or in a PR to the mini-project repo
FYI: once this code is working well and debugged... sanity checked by those more knowledgable than me... I plan to submit the python test running to llama.cpp via a PR (/examples/perplexity_runner).


Fail forward upgrades

Introduce support for Fail Forward Upgrades
Description:
This commit introduces OLM support for fail forward upgrades. Existing upgrade behavior is now defined as "Default" upgrade behavior. A new upgrade strategy referred to as UnsafeFailForward has been introduced in a tech preview state. When fail forward upgrades are enabled, CSVs will now be able to move from the failed state to the replacing state, effectively allowing operators in a namespace to fail forward from failed installs or upgrades. Additionally, it will be possible to recover from failed installPlans by updating the upgrade graph defined in the catalog. Fail forward upgrades are generally unsafe and  unsupported as they could result in unexpected behavior or lost data due to the fact that critical version of an operator may not be visited.
Enhancement Proposal: https://github.com/operator-framework/enhancements/blob/87e6ac32a0caac86fdfc733740892da612d00ee2/enhancements/fail-forward-upgrades.md
JIRA Ticket: https://issues.redhat.com/browse/OLM-2475

Gonna hold this until unit/e2e tests are added.
/hold

@awgreene Please add a summary on the PR with a description of the patch and relevant links to the EP, jira, and elsewhere. I find that a good description really helps future us maintain the project.

I ran this locally and ran into the following error (after added a debug level log and re-deploying the catalog operator):
time="2022-04-14T13:54:20Z" level=debug msg="failed to list the operatorgroups in the ff-e2e-fcprn namespace: cannot list OperatorGroups with a NullOperatorGroupNamespaceLister"

/hold

I ran this locally and ran into the following error (after added a debug level log and re-deploying the catalog operator):
time="2022-04-14T13:54:20Z" level=debug msg="failed to list the operatorgroups in the ff-e2e-fcprn namespace: cannot list OperatorGroups with a NullOperatorGroupNamespaceLister"

/hold

We don't have OG lister on catalog operator. That's why I said in one of my comments in my review about adding the informer and lister for operatorgroup in order to use the OperatorGroupLister here. (See like 887 on catalog/operator.go).

/retest

/lgtm

/label tide/merge-method-rebase

/hold cancel


Improve About Page.

Click on the "About App" button to open the page and improve its styling and make it look more attractive.

@AKD-01 i think i can do this task kindly assign me this task

Hi @amansingh1373 please assign me this task.

@AKD-01 ill be happy to contribute. You can assign this to me.

I want to work on this ,please assign it to me

@debopriyadey you can work on this

Just a follow up can i use this as the bg image for about section.

Yes, you can

yes I have merged it.


Can't use timestamps plugin from inside a repo

From @alexandru-calinoiu on April 23, 2017 15:36
My repo look like
    class Entries < IngestService::Repository[:entries]
      relations :ingest_steps
      commands :create, use: :timestamps
   end

I expect that calling Entries.new.create(args) will add timestamps to my entry, but that is not the case.
The Timestamp plugin get's applied at runtime when I call create, only then ClassInterface is extended adding timestamps method that can be used to configure the colmuns. Without calling timestamps the InstanceMethods will never be included and thus timestamps never added.
Unfortunately my understanding of the plugins is very limited, they look like being targeted mostly to commands, will love some pointers for the right direction.
Copied from original issue: rom-rb/rom-sql#189

From @alexandru-calinoiu on April 23, 2017 15:37
One easy way to solve it is for the timestamp_column to have default values, but is not complete as one won't be able to configure them from a repo.

Ah, right. I'm sorry I forgot we didn't make timestamps plugin work with repos yet. This will be addressed in rom 4.0 as we need to improve plugin architecture first.

In order to make this work, we need to enable passing options for command plugins here and then refactor timestamp plugin, so that Timestamp is a Module subclass, and accepts options. Then based on these options we can automatically configure a command. I would also say that this plugin should be moved to core, as it is not sql-specific.

@solnic I would love to help with this one

Done via https://github.com/rom-rb/rom/commit/962bb273931a7b224bfb0c4eb52e940f76af7e40


non referenced parameters / unclear documentation

There is no reference on this site to the following parameter:
SignaturesUpdatesChannel
There is no mention on this site what the following means:
SignatureScheduleDay                         : 8
8: Never
The statement is as follows:
The default value is 8, never. If you specify a value of 8 or do not specify a value, Windows Defender checks for definition updates by using a default frequency.
Great what is the default frequency? There is no mention to this.
Per this site mysettings are as follows (is it safe to say I am never being updated because I have no clue what a default frequency means?):
SignatureAuGracePeriod                       : 0
SignatureBlobFileSharesSources               :
SignatureBlobUpdateInterval                  : 60
SignatureDefinitionUpdateFileSharesSources   :
SignatureDisableUpdateOnStartupWithoutEngine : False
SignatureFallbackOrder                       : MicrosoftUpdateServer|MMPC
SignatureFirstAuGracePeriod                  : 120
SignatureScheduleDay                         : 8
SignatureScheduleTime                        : 01:45:00
SignaturesUpdatesChannel                     : 0
SignatureUpdateCatchupInterval               : 1
SignatureUpdateInterval                      : 2

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

ID: a43741f9-62d8-4bcb-8f1e-2f9bcf0b8e92
Version Independent ID: cc8d93f2-8837-4169-0fc7-167d0ffca777
Content: Set-MpPreference (Defender)
Content Source: docset/winserver2019-ps/defender/Set-MpPreference.md
Product: w10
Technology: windows
GitHub Login: @JasonGerend
Microsoft Alias: jgerend

@SquirrelAssassin , I have used the below set-mppreference settings,i added in text file.
set-mppreference.zip
Also, windows 10 os have prebuilt default values for Microsoft defender under below location of registry key
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PolicyManager\default\Defender
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PolicyManager\default\WindowsDefenderSecurityCenter

Closing the issue based on the response provided by the community above.
Thank you for the discussion.


Managing Vector Stores

What is the best possible way to manage vector stores?
The use case is as follows - we want to use a vector store to store document sets on different problem domains and to query them independently.
Now if we are trying to ingest new documents, it seems that they are stored along with the old ones and when we do a query, we get answers based on the old documents.
It's understandable that we probably have to create a new index on the database level and to query over it, but how to do so in the best way with synaptic runtime?

Thank you for reaching out! It sounds like you're looking for best practices to manage vector stores and ensure isolated queries for different problem domains. Based on your use case and the code you already have, here’s how you can approach this:

Dynamic Document Management with DFS
The Distributed File System (DFS) is an excellent way to manage dynamic document needs. The following example demonstrates how you can configure a Local DFS for your setup:
'local:document-store': {
  Details: {
    Type: 'Local',
    FileRoot: 'C:/documents/store/',
  } as EaCLocalDistributedFileSystemDetails,
},

This new code provides a structure to handle documents dynamically. While the DFS Loader is still in development and will be released soon, it will allow you to specify file roots and automatically keep new or changed files updated in the store. For now, you can continue hardcoding paths using your current loader configuration patterns.

Key Points from Your Current Configuration
Looking at your existing AI as Code (AIaC) configuration, here are some important considerations:

Loaders for Document Sources

Loaders enable you to define multiple sources for documents.
While the DFS Loader will streamline this process in the future, for now, you can hardcode paths manually following the existing loader configuration patterns.

Vector Store Definition

Use the VectorStore configuration to isolate documents by problem domain.
For each domain, create a unique vector store and use the IndexName property to differentiate between them (e.g., 'domain-1', 'domain-2', etc.).

Retriever Configuration

Each problem domain should have a retriever linked to the corresponding vector store and its associated loaders.
This ensures the retriever fetches data only from the appropriate sources and serves isolated queries for the specific domain.

Refresh On Start

During ingestion, set RefreshOnStart: true in the retriever configuration to refresh document stores automatically.
Run your application with the command deno task dev to process and update the document stores during startup.
Note: Queries will still work even with RefreshOnStart: true, though startup may take longer as documents are refreshed.

Switching to Query Mode

After initial ingestion, you can set RefreshOnStart: false to speed up subsequent startups.
With this setup, queries will work against the preloaded vector stores, ensuring fast and efficient results for your specific problem domain.

Recommended Workflow

Dynamic Uploads and Document Management

Continue using the existing loader configuration to hardcode paths for document sources. Once released, the DFS Loader will simplify this process by automatically tracking file changes and keeping the document store updated.

Isolated Queries by Problem Domain

Ensure each problem domain has:

A separate vector store with a unique IndexName.
A retriever linked to both the corresponding vector store and its associated loaders.

Document Ingestion Process

During initial ingestion, enable RefreshOnStart: true and run the site with deno task dev. This ensures that all retrievers refresh their document stores dynamically.

Post-Ingestion Optimization

After ingestion, set RefreshOnStart: false in your retrievers to reduce startup time. Queries will continue working efficiently even if RefreshOnStart: true remains enabled.

Outcome
With this setup, you can:

Dynamically manage documents using the DFS configuration.
Isolate document sets and queries for each problem domain.
Ensure accurate document ingestion and efficient querying workflows.

Let us know if you have additional questions or need further assistance!

I wanted to provide a quick update:
It turns out we do have the DFSDocumentLoader available! While it's not fully feature-complete yet, you can still use it for your current setup. Here's what you need to know:

Manual Refresh:

The DFSDocumentLoader doesn't currently support automatic refreshing. For now, you'll need to restart the app to refresh the document store.
Alternatively, it's simple to create an API endpoint that triggers a refresh programmatically. This can act as a workaround until we release the auto-refresh feature, which is coming soon.

Configuration Example:
Here’s how the DFSDocumentLoader configuration looks in practice:
Loaders: {
  [docsLookup]: {
    Details: {
      Type: 'DFSDocument',
      DFSLookup: existingDocLoaderDetails.DFSLookup,
      Documents: [
        ...new Set([
          ...existingDocLoaderDetails.Documents,
          file!.name,
        ]),
      ],
    } as EaCDFSDocumentLoaderDetails,
  },
},

Key Notes:

The Documents array currently requires paths hardcoded relative to the DFS root.
In the near future, we’ll release an upgrade that supports glob syntax, making it much easier to define and manage document collections.

If you have any questions or need guidance on implementing this, feel free to reach out! We're excited to see how you're utilizing these tools and are here to help you get the most out of them.


Ability to use json OR yaml for config file

Most of our tooling is done in node and Shipit uses ejson so our other tools are converting .yml files to .json. It would be great to be able to pass Themekit a json file instead of a yml file if we want.

If anyone has moved to json ( love this feature, thank you! ), and gets this error on theme watch:
Error: json: cannot unmarshal string into Go value of type time.Duration
In your config.json, make sure time is a number, not a string, with no "s" at the end. e.g.
"timeout": 30,
not
"timeout": "30s", or "timeout": 30s,
Here is a sample config.json that watches a folder called "theme", since this hasn't made it into the docs yet:
 {   "development": {     "password": "xxxxxxxxxxxxxxxxxxxxxxxxxx",     "theme_id": "123456789",     "store": "myshop.myshopify.com",     "directory": "theme/",     "bucket_size": 40,     "refill_rate": 2,     "timeout": 10,     "ignores": [       ".DS_Store",       "Thumbs.db",       ".Trashes"     ]    } }

There seems to be a bug with timeout using the json format.
If you convert YAML to json, the 30s turns into a string "timeout": "30s", that throws an errorjson: cannot unmarshal string into Go value of type time.Duration
If you create it as a number, and drop the "s", "timeout": 30, you get an error Put https://xxxxxx.myshopify.com/admin/themes/1234566789/assets.json: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers) unless you set timeout to something like at least "timeout":<PHONE_NUMBER>,
Any insight into what time units are being used there?
The default timeout value is fine for most cases but I need to up for themes with larger assets.

I have left the json config undocumented because it is not the recommended config usage. The issue with your timeout however is that the value when given to a Go time.Duration in the form of an int is used as a nanosecond so your value of<PHONE_NUMBER> nanoseconds is one second.

Ah, that makes sense! Thanks for the insanely quick response!
The config.json file is very nice for us compared to config.yml because it's really easy to natively pass some of the store data to Gulp, BrowserSync, etc without having to add an extra dev dependency to get at the info, or have it duplicated in another place. That said YAML does have its benefits over json, so I am happy having the undocumented option. Everything is working well so far except for getting the time units wrong ;)
Once again, appreciate all the efforts. ThemeKit rocks!


Why sphinx instead of rustdoc?

I'm just curious.  :-)

AFAIK rustdoc doesn't support man pages, but if I'm wrong I'd be willing to switch.  Sphinx just seemed to support most of what I thought was important out of the box (e.g. easy to read and write man pages and HTML documents).

Good reason!  Thanks.