Unprocessable Entity using Neural Chat via OpenAI interface with meta--lama/llama-2-7b-chat-hf

Is there a specific version of openai that is aligned with the OpenAI interfaces offered by neuralchat? I am currently testing using the current 1.12.0 but encountering a 422 Unprocessable Entity error.
I saw that meta-llama/Llama-2-7b-chat-hf is a supported model and appears to be small enough to fit into my Intel Data Center Flex 170 XPU.
I can successfully run this model locally with the code outlined in deploy_chatbot_on_xpu.
However, when I attempt to use the OpenAI interface per the instructions at https://github.com/intel/intel-extension-for-transformers/tree/main/intel_extension_for_transformers/neural_chat, the server shows 422 Unprocessable Entity and the client gets an error about a missing value. I am assuming this relates to a mismatch between the OpenAI client and the neural_chat server in terms of the required fields. I have also included the text extracted from the tcpdump below.
Following along from the notebook examples, I have prepared textbot.yaml and server.py as below.
Starting the server
$ grep -v "^#" textbot.yaml | grep -v "^$"
host: <IP_ADDRESS>
port: 8000
model_name_or_path: "meta-llama/Llama-2-7b-chat-hf"
device: "xpu"
tasks_list: ['textchat']

$ cat server.py
#!/usr/bin/env python

import os
import time
import multiprocessing
from intel_extension_for_transformers.neural_chat import NeuralChatServerExecutor
import nest_asyncio

nest_asyncio.apply()

def start_service():
    server_executor = NeuralChatServerExecutor()
    server_executor(config_file="textbot.yaml", log_file="neuralchat.log")
multiprocessing.Process(target=start_service).start()

$ ./server.py
/home/REDACTED/miniconda3/envs/jupyter2/lib/python3.9/site-packages/torchvision/io/image.py:13: UserWarning: Failed to load image Python extension: ''If you don't plan on using image functionality from `torchvision.io`, you can ignore this warning. Otherwise, there might be something wrong with your environment. Did you have `libjpeg` or `libpng` installed before building `torchvision` from source?
  warn(
/home/REDACTED/miniconda3/envs/jupyter2/lib/python3.9/site-packages/pydub/utils.py:170: RuntimeWarning: Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work
  warn("Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work", RuntimeWarning)
Loading config settings from the environment...
2024-02-19 14:11:22.837584: I tensorflow/core/util/port.cc:113] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable `TF_ENABLE_ONEDNN_OPTS=0`.
2024-02-19 14:11:22.841047: I external/local_tsl/tsl/cuda/cudart_stub.cc:31] Could not find cuda drivers on your machine, GPU will not be used.
2024-02-19 14:11:22.887207: E external/local_xla/xla/stream_executor/cuda/cuda_dnn.cc:9261] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered
2024-02-19 14:11:22.887246: E external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:607] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered
2024-02-19 14:11:22.888669: E external/local_xla/xla/stream_executor/cuda/cuda_blas.cc:1515] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
2024-02-19 14:11:22.896900: I external/local_tsl/tsl/cuda/cudart_stub.cc:31] Could not find cuda drivers on your machine, GPU will not be used.
2024-02-19 14:11:22.897194: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: AVX2 AVX512F AVX512_VNNI FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
2024-02-19 14:11:23.782914: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT
2024-02-19 14:11:27,327 - datasets - INFO - PyTorch version 2.1.0a0+cxx11.abi available.
2024-02-19 14:11:27,328 - datasets - INFO - TensorFlow version 2.15.0.post1 available.
Loading model meta-llama/Llama-2-7b-chat-hf
Loading checkpoint shards: 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 2/2 [00:01<00:00,  1.25it/s]
2024-02-19 14:11:31,912 - root - INFO - Model loaded.
INFO:     Started server process [2913373]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     Uvicorn running on http://<IP_ADDRESS>:8000 (Press CTRL+C to quit)

Additional logs after starting the TextChatClientExecutor client - successful inference
[2024-02-19 14:32:57,683] [    INFO] - Checking parameters of completion request...
[2024-02-19 14:32:57,683] [    INFO] - Predicting chat completion using prompt 'Tell me about Intel Xeon Scalable Processors.'
[2024-02-19 14:33:07,119] [    INFO] - Chat completion finished.
INFO:     <IP_ADDRESS>:60734 - "POST /v1/chat/completions HTTP/1.1" 200 OK

Additional logs after connecting via OpenAI - failing access
INFO:     <IP_ADDRESS>:39368 - "POST /v1/chat/completions HTTP/1.1" 422 Unprocessable Entity

Open AI Client contents
Aside from the shebang and the modified model string, this should be identical to the content on the webpage.
$ cat openai-client.py
#!/usr/bin/env python

import openai
openai.api_key = "EMPTY"
openai.base_url = 'http://<IP_ADDRESS>:8000/v1/'

response = openai.chat.completions.create(
      model="meta-llama/Llama-2-7b-chat-hf",
      messages=[
          {"role": "system", "content": "You are a helpful assistant."},
          {"role": "user", "content": "Tell me about Intel Xeon Scalable Processors."},
      ],
)
print(response.choices[0].message.content)

$ ./openai-client.py
Traceback (most recent call last):
  File "/home/REDACTED/jupyter/./openai-client.py", line 7, in <module>
    response = openai.chat.completions.create(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/REDACTED/miniconda3/envs/openai/lib/python3.11/site-packages/openai/_utils/_utils.py", line 275, in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/home/REDACTED/miniconda3/envs/openai/lib/python3.11/site-packages/openai/resources/chat/completions.py", line 663, in create
    return self._post(
           ^^^^^^^^^^^
  File "/home/REDACTED/miniconda3/envs/openai/lib/python3.11/site-packages/openai/_base_client.py", line 1200, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/REDACTED/miniconda3/envs/openai/lib/python3.11/site-packages/openai/_base_client.py", line 889, in request
    return self._request(
           ^^^^^^^^^^^^^^
  File "/home/REDACTED/miniconda3/envs/openai/lib/python3.11/site-packages/openai/_base_client.py", line 980, in _request
    raise self._make_status_error_from_response(err.response) from None
openai.UnprocessableEntityError: Error code: 422 - {'detail': [{'loc': ['body', 'prompt'], 'msg': 'field required', 'type': 'value_error.missing'}]}

Text from packet capture of exchange
POST /v1/chat/completions HTTP/1.1
Host: REDACTED:8000
Accept-Encoding: gzip, deflate
Connection: keep-alive
Accept: application/json
Content-Type: application/json
User-Agent: _ModuleClient/Python 1.12.0
X-Stainless-Lang: python
X-Stainless-Package-Version: 1.12.0
X-Stainless-OS: Linux
X-Stainless-Arch: x64
X-Stainless-Runtime: CPython
X-Stainless-Runtime-Version: 3.11.7
Authorization: Bearer EMPTY
X-Stainless-Async: false
Content-Length: 197

{"messages": [{"role": "system", "content": "You are a helpful assistant."}, {"role": "user", "content": "Tell me about Intel Xeon Scalable Processors."}], "model": "meta-llama/Llama-2-7b-chat-hf"}

HTTP/1.1 422 Unprocessable Entity
date: Mon, 19 Feb 2024 23:02:02 GMT
server: uvicorn
content-length: 90
content-type: application/json

{"detail":[{"loc":["body","prompt"],"msg":"field required","type":"value_error.missing"}]}

Thank you!

It seems that the issue is related to the missing API key in the OpenAI client. You need to provide a valid API key to access the OpenAI API. You can obtain an API key from the OpenAI website. Once you have the API key, replace "EMPTY" in the openai.api_key = "EMPTY" line with your actual API key.
If you need help, please @NeuralChatBot

The error you are receiving is due to the missing API key in the OpenAI client. You need to provide a valid API key to access the OpenAI API. You can obtain an API key from the OpenAI website. Once you have the API key, replace "EMPTY" in the openai.api_key = "EMPTY" line with your actual API key.

@NeuralChatBot

@NeuralChatBot

@NeuralChatBot


Tapo C500 Camera

Can the Camera c500 be added to the list, my Tapo Tlink will not pick it up as new device
async def main():
# create generic tapo api
config = TapoApiClientConfig("", "", "")
sw = TapoApiClient.from_config(config)
await sw.login()
await sw.on()
await sw.set_brightness(100)
state = await sw.get_state()
print(state.get_unmapped_state())
loop = asyncio.get_event_loop()
loop.run_until_complete(main())
loop.run_until_complete(asyncio.sleep(0.1))
loop.close()
if name == "main":
main()

@shannonTutor, you need another integration for that one:
https://github.com/JurajNyiri/HomeAssistant-Tapo-Control


update dependecy graph

Overview
closes: #607

Checklist

[ ] New and updated code has appropriate documentation
[ ] New and updated code has new and/or updated testing
[ ] Required CI checks are passing
[ ] Visual proof for any user facing features like CLI or documentation updates
[ ] Linked issues closed with keywords

Updated mentions of Rollmint to Rollkit, updated outdated issue links to the correct repository, and fixed some typos.


⚠ Samsung has degraded performance

In 7c950b2, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 1670 ms

Resolved: Samsung performance has improved in 1c57aa8.


allow revision type customizations

@mpdude  could you please merge this and create a tag? many thanks.

What exactly is the purpose of this change?


Figure out and fix weird "unknown role" error

This error is happening intermittently, and I'm not sure why. It doesn't seem to actually hurt anything, but we need to figure out what's happening.

Add error handling to the role handler (thanks ben)


add dynamic aud and iss and change status to 500 for error secret

401 Unauthorized is the correct response for missing or bad authentication, while 500 is for internal server error only. From the RFC: If the request already included Authorization credentials, then the 401 response indicates that authorization has been refused for those credentials.

You may be right. but, it is internal server error, if the secret is missing.
right?

I don't think so. The server is working correctly and refuses authentication when the secret is missing. There is no server error at all, the error is on the user/client side for not submitting a password with his login request.

You've convinced me.
And, it may not be necessary to add dynamic aud and iss.
I will close this pull request.
Thanks~

@Jackong you were totally right on this, it is a server error and should therefore respond with error code 500 because no jwt secret for token verification is available on the server side. I mixed this up with the login credentials... sorry for the confusion ;)


public/javascripts selectivizr-min.js source code formatting/indenting

Please make sure you are NOT reporting a problem about git itself

[x] This is not an issue about

the Git documentation (a.k.a. man/help pages, i.e. anything with a URL starting with https://git-scm.com/docs), which should be raised with the community,
the contents of the Pro Git book (i.e. anything with a URL starting with https://git-scm.com/book or its PDF versions), which should be raised at progit/progit2.
Git itself, which should also be raised with the community, or
Git for Windows, which should be raised at git-for-windows/git.
and is actually about the website itself (e.g. website-specific content, JS, or CSS that doesn't seem to be doing its job correctly).

Description of problem:
The selectivizr script located at https://github.com/git/git-scm.com/blob/master/public/javascripts/selectivizr-min.js is very hard to read, because it is not formatted in any way.
Discussion:
Usually source code is formatted in nice blocks/indents for ease of reading. This code is not formatted/indented in any way. Is this intended?

that's intended @HonkingGoose :) it's called assets minification, for performance purposes. There are tons of resources online where you can explore the subject. Here's a quick example: https://blog.stackpath.com/glossary/minification/

Ah okay, I read the link you provided. Thanks for the link! :+1:
If I understand correctly:

minifiying is something you do after writing the code, but before deploying.
The benefit of minifying is not sending whitespace and formatting to the end-user (saves bandwidth).

The selectivizr script itself is already minified it seems. How is this intended to be maintained then? Do you just copy+paste a new script when the old one breaks/needs updating?

@HonkingGoose You're correct on both points. Normally JS scripts are minified as part of a pre-deployment build process. The developer will make their updates to a normally formatted JS file and then have the minifier do its thing prior to deploying.
If you're looking to un-minify a JS script, you can do this in your browser's web inspector. For example, Chrome has this "pretty print" button in the bottom left:


Terratest coverage for modules

Summary
We will create Terratest test code to cover the below modules
Please create a tracking list here

### Tasks
- [ ] Prepare template of test skeleton
- [ ] Prepare tests for modules

Proposition of next steps regarding testing VM-Series modules for AWS:

[ ] close all open issues with label tests and stale (besides this issue - #86)
[ ] after merging PR 2 with samples for Terratest test skeleton:

[ ] in all Go files in folders examples and tests change import in order to use test skeleton for Terratest - replace github.com/PaloAltoNetworks/terraform-aws-vmseries-modules/go/testskeleton by github.com/PaloAltoNetworks/terraform-modules-vmseries-tests-skeleton/pkg/testskeleton
[ ] remove Go files with folders from go/testskeleton and go/helpers

[ ] in folder tests, which contains integrations tests for modules:

[ ] add integration tests for modules, which are working only with terraform plan (this kind of tests are going to be executed for PR CI)
[ ] simplify existing integration tests for modules, which are deploying every module (this kind of tests are going to be executed for Release CI) - now sometimes for 1 module we have multiple tests e.g. for vmseries module we have tests:
TestOutputForModuleVmseriesWithFullVariables, TestOutputForModuleVmseriesWithMinimumVariables, TestOutputForModuleVmseriesWithS3BootstrappingAndFullVariables. In order to shorten time of testing and limits cloud costs, maybe we should have only 2 kind of tests: TestModuleNNNPlan, TestModuleNNNDeployment.
[ ] add tests for modules, for which currently we don't have any tests in folder tests

[ ] extend GitHub workflows to execute modules tests from folder tests for PR CI (only plan) and for Release CI (with apply)  - now we are not executing any Terratest from folder tests, only from folder examples, which for PR CI are only checking the plan, for Release CI are deploying all examples.


Fix type ID comparison

Purpose
$title.

Closing this since 2201.0.x will be used for the patch and changes will be introduced in https://github.com/ballerina-platform/ballerina-lang/pull/35165.


Update service.py

Changes made to fix:
lifeTV, liveTV records, and audio files without tracknumber

Thank you 👍


In client Idle Notification rather than Windows Notification

I love the idle notifier but the windows notification sound is loud, obnoxious, and blocks the bottom right of my screen. Would be really cool if we could have some sort of sound come from the client itself that way I know when I'm going to logout without being bothered by the windows notifications all the time

As a workaround you can change the Notification sound in Sound menu. https://www.groovypost.com/howto/turn-off-change-windows-10-notification-sounds/
Also Duplicate #1884

Duplicate of #1884


#247 purchases

Resolves #247 and #284
Description

Type of change

Bug fix (non-breaking change which fixes an issue)
New feature (non-breaking change which adds functionality)
This change requires a documentation update

How Has This Been Tested?
model/controller/features for purchases;
for issue #284 tests are in "models/storage_location_spec.rb:131"

Screenshots

Looks great, thanks @IlinDmitry !
For future reference: don't put # in the branch name :)


Integration testing for memory limits

This contains 3 PRs worth of work and will be refactored.
The sequence is as follows:

While race-testing the new integration test, the Arrow receiver turned up a bug identified by the race detector. the inFlightWG was shared by all streams in the receiver, so it would work in testing (almost always) but was incorrect. This may explain unusually long stream shutdowns.
The Arrow exporter was not consistently using gRPC status errors, which the Reciever had fixed in https://github.com/open-telemetry/otel-arrow/pull/205; the code was out-of-line with the design of the top-level directory. Whereas the OTel-Arrow exporter had been inserting consumererror.NewPermanent() wrappers, it is the Exporter module which supports standard OTLP and Arrow one layer up that is responsible for permanent error labeling. Returning gRPC status errors is always preferred to fmt.Errorf in gRPC components.
A new memory-limited integration test is added, which exposed the need for correct status error handling, also exposed an Arrow Consumer bug. The underlying Arrow IPC Reader object has an Err() method that was not being checked--instead we had (3a) a fallback mechanism, checking expected record count, and (3b) write to os.Stderr because of the (known) missing error.

Replaced by all the above mentions.


Updated screenshots in Readme file

Apni Dukaan
Shopping! Who hate shopping? Everyone wants to get their hands on latest fashion trends and smartest new gadgets.

Shopping with your best friends can be a fun experience! You get to spend some quality time, and bond over new trends.
>
But shopping with friends too can be a nightmare! Especially if your friends insist on taking a long walk in crowded bazaars, with stacks of cash, and heavy shopping bags.

Now say goodbye to those tensions because Apni Dukaan is here.

Everything you are looking for is just a click away at Apni Dukaan. Stop wandering around packed malls to compare prices, as you can grab a bargain at Apni Dukaan where everything is cheaper than the market, and your purchases will be at your doorsteps without much wait.

Take a chill pill because Apni Dukaan is here to save you from headaches of traditional shopping.

A sneak peek into what we have here🙈 :
Home Page

Category Page

Product Page

Sign-up Page

Offers Page

My Cart Page

Contact us page

FAQs Page

About

ApniDukaan.com is a site where everyone gets everything they need. ApniDukaan.com allows users to buy items of their choice from a wide range of products such as clothes, electronic gadgets, toys, electric appliances, cosmetics, household products, stationery, books, and many more.

Link to the Website
https://qazimaazarshad.github.io/Apni-Dukaan/
Tech Stack

How to get started❓
You can refer to the following articles on the basics of Git and Github and also contact the Project Mentors, in case you are stuck:

If you don't have git on your machine, install it.
Watch this video to get started, if you have no clue about open source
Forking a Repo
Cloning a Repo
How to create an Issue
How to create a Pull Request
Getting started with Git and GitHub

Contribution Guidelines 🏗
Are we missing any of your favorite features, which you think you can add to it❓ We invite you to contribute to this project and improve it further
To start contributing, follow the below guidelines:
🌟.  Star🌟 the repository to appreciate the work.
0.  Take a look at the existing issues or create your own issues. Wait for the Issue to be assigned to you after which you can start working on it.
1.  Fork this repository.
2.  Clone your forked copy of the project.
git clone --depth 1 https://github.com/<your_user_name>/Apni-Dukaan.git

3. Navigate to the project directory :file_folder: .
cd Apni-Dukaan

4. Add a reference(remote) to the original repository.
git remote add upstream https://github.com/QAZIMAAZARSHAD/Apni-Dukaan.git

5. Check the remotes for this repository.
git remote -v

6. Always take a pull from the upstream repository to your master branch to keep it at par with the main project(updated repository).
git pull upstream master

7. Create a new branch.
git checkout -b <your_branch_name>

8. Perform your desired changes to the code base.

9. Track your changes:heavy_check_mark: .
git add .

10. Commit your changes .
git commit -m "Relevant message"

11. Push the committed changes in your feature branch to your remote repo.
git push -u origin <your_branch_name>

12. To create a pull request, click on compare and pull requests. Please ensure you compare your feature branch to the desired branch of the repo you are supposed to make a PR to.
13. Add an appropriate title and description to your pull request explaining your changes and efforts done.
14. Click on Create Pull Request.
15. Voila :exclamation: You have made a PR to the Apni-Dukaan project :boom: . Sit back patiently and relax while the project maintainers review your PR. Please understand, at times the time taken to review a PR can vary from a few hours to a few days.

Project Admin👨

Qazi Maaz Arshad
Open Source Programs we have been associated with

Code of Conduct

Click to read
License

MIT License
Contributors

I've put all the screenshots. @QAZIMAAZARSHAD

@ysh-01 you made changes but not pushed it.
Check!!!
Make a PR again.


'Open file location' and 'Properties' context menu items for process modules are bugged

For any module on process properties -> Modules tab clicking Open file location always opens the user profile folder
and clicking 'Properties' throws PE Viewer - Unable to open the file. message box saying that the path doesn't exist.
Both seem like recent regressions as I didn't have them until one of the latest (nightly) updates.

Both seem like recent regressions

There was a regression for those menus on Windows 7 but not Win8/10/11. It's already been fixed but we have to wait for the buildbot to get updated.

Fixed in latest nightly build


Logitech linux 5.2

TODO:

Confirm the corded IDs of the G703/G703 Hero and G903/G903 Hero are not mixed

Maybe it would be best to not remove the Powerplay as its ID still hasn't been added to the kernel.

Ready.


swupdate support for IOT2050

Does the example image already supports swupdate?

Not yet, at least not in this public layer. We may add it in the future - depends on concrete demand and available resources.


Add descriptions to some options

Example area shown. Push content down if description is given. I can add the descriptions once a method is available.

We can add an optional description field to settings


Can't get it to work on Anet A8

Hi there! I am having a hard time connecting the Tango v1 board to my Anet A8 with BLTouch sensor and Anet 12864 Full Graphics LCD. Apparently the connections EXP1 & EXP2 don't match the ones on the LCD. I have smoked the first board I bought trying out the different procedures on youtube so I bought a second one, hastily.  Also, I thought it wouldn't be so difficult to add an SD card reader but I can't find any instructions on how to. I would really appreciate some help. Thank you in advance!

if you find the info on the bltouch pinout please let me know, I have the tango on my Anet A8 (heavily modified for tri-color), but I have the discount full graphic LCD from a ramps kit and it is working fine, have almost everything ready except the touch probe as I can't find a pinout diagram for the touch

I figured out the BL touch and have my setup about 99% working including the 3dtouch.  only thing I am currently fighting with is extruder 1 doesn't work, it drives extruder 0, (i am upgrading to a diamond hot end).  If you run a single extruder you should be fine, just change the number of extruders back to zero.
marlin-1_1_9.zip.
I have the bltouch configured this way, using the input for ZMAX as the input from the touch probe.  this is set in the pin_ramps.h file (look for servo0) you will see the setting is 32, where the default is 5 in the zip above.  note that you will need to adjust the position of your probe in the configuration file based on your setup, but everything else should be right for the A8
https://www.antclabs.com/wiring2
Once I get everything working I will do a proper drawing of the connections for the touch and etc.
Hope this helps you get going

Thanks Dloranger! I am trying it out now, I'll let ya all know how I go.

B.t.w. I gave up trying with the Anet 12864 Full Graphics LCD and got myself a Reprap Discount Full Graphics LCD which works fine on the Tango board but not with the Ramps & Arduino it came with D:

HEY ALL.  how did you get on with this,  did anyone mange to get the bltouch working with this mobo?  like most of you i have the anet a8 but wanted more,   hitting a brick wall with this board as there does not seem to be much supporting docs with it,  if anyone can shed light on this i'll be greatfull
thanks

The Tango v1 works great here.  Exp1 and 2 are not for servo pins. They are exclusively for display and sd card readers.
The gnd, 5v, servo pins are located on additional header. I think they are 1,3,5.  On the odd bank of pins.  I can get a pic. But the board is labeled.

I'm getting there. all powered up for the first time tonight. got the motors to move lol all good so far,   will try to attach a Bl-touch tomorrow,
its a shame the board isnt documented well as it does seem to be the bees knees. but time will tell.

I have the board working fully with bltouch and running a diamond tri-color
hot end, works great other than nozzle drool on the hot-end, but thats not
the boards fault.  it will work I assure you
On Thu, May 23, 2019 at 1:04 PM wolfiejp<EMAIL_ADDRESS>wrote:

I'm getting there. all powered up for the first time tonight. got the
motors to move lol all good so far, will try to attach a Bl-touch tomorrow,
its a shame the board isnt documented well as it does seem to be the bees
knees. but time will tell.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/bigtreetech/Tango-3D-Printer-Motherboard/issues/4?email_source=notifications&email_token=ACPI3DNSE6EK6JO36STK3OLPW32FPA5CNFSM4G2C3U72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWDKYAY#issuecomment-495365123,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACPI3DO7G5U6MUOEEMCRNVTPW32FPANCNFSM4G2C3U7Q
.

--
Daniel Loranger

hey thanks for the replies.   im starting to wonder if my board is defective,  i send code to move X axis and Y moves,  i send code to move Y and Z will move,  i send code to move Z and X+Y+E1 move.
Other times i send code to say move Y 130 mm  and it will move a little and then another random axis will move a little as well.
I was hoping to be set  up and printing by now but  i might have to give this up as a bad joke.
has any one had issues like this?

Those are strange symptoms.  what are your stepper drivers?
what are the jumpers for the stepper drivers set to? how did you calibrate the steps per millimeter? are you using micro steps?

The drivers are A4988's    no jumpers      and that's as far as ive got,  no calibrations as of yet,  i was just checking if the motors worked,

The next thing would be to verify the wire order for your steppers.  then I would verify firmware settings for the proper drivers for each axis. this tango board is very forgiving. I'm pretty sure it's going to be an issue you can fix

I'll  have to google how to check the order for the motors, what i did was a straight swap with the motors from my A8,
I think i have the firmware all set up correct, i'll have another look in the morning as ive been working on this all day and i admit defeat for today at least.
Thank you for your comments today,
Has anyone got a firmware set up so i can have a look just to double check i have mine correct,
Have a good weekend

I would say for the x driving y, and y driving Z, you likely just have the wires on the wrong stepper driver connector, that should be an easy fix.  For the Z driving 3 motors, that is really strange and I can't reconcile that.
You do need the jumpers under the drivers to be closed, that really messed with me until I figured that out.  I think you need all of them for it to work properly, my motors just buzzed and chattered until I did those jumpers.  From there is was a lot smoother sailing.  I don't think there is any reason to change the wiring unless did some weird twisting around and randomly shoved the wires into the sockets.
Here is my last edit to the marlin (entire folder) as I had to hack one of the pins for the touch as well, which I assume you also will want.  Think its setup for z max on the touch gpio.  I would send you pictures of everything, but its all in a cabinet and not accessible at all.
marlin_1_1_9.zip

Thanks Dloranger for your input. I know the motors are in the correct ports as ive pulled all my motors out and no commands correspond to the correct axis,  Its most strange some times a Gcode command to move Axis Y will move Y but a minute or two later i can send the same Gcode and it will move Y + Z  Or Y + X.
I didn't have a Clue that i had to do anything with the jumpers, i'll try as you have suggested and hope it corrects it,
Once ive had a coffee or three i'll double check the wiring for the motors,
Thank you for sending me your marlin config It should be easy enough for me to spot if its a config error on my end or if its something else.
I have another Tango board arriving today as i have a feeling it could be the board that at fault.
Fingers crossed i get it all sorted and printing soon if not i think im going to have to look for another board with support for more then one Extruder
Thanks again

Just a note. Closing All 3 rows means u are micro stepping at 1/32.  so your firmware and feedrate need to be adjusted

Also, when I said to check the wires for each stepper I meant to verify AaBb wires correspond to the driver output. you may need to adjust wires at the molex. I did. under the board gives you labels to check.  you also need your wire diagram for the steppers.  assuming motors are all the same you can examine one.

Thanks Aurawin,  Looks like i have a busy day ahead of me,   Fingers crossed

Ok not a bad day, got the board wired up powered up and the correct motors now move when they should " perhaps i had a bad board but the new one no problems with that bit"
Few problems still remain tho, Did anyone have any issues with there End stops,   i have tried two different once today the bog standard ones that came with my A8 and also some Makerbot v3's i have. Neither seem to trigger a EndStop Event.    No doubt im missing something in the firmware so any hints would be great.
Got to work out the way to use Dual Z Axis,  ive read you can use one of the extruder ports for the Z-b Axis,  as i do not feel comfortable duelling them from the one Z Axis port, "
The Bl touch Well im going to have to come back to that one. Lack of information found on the internet and i dont wish to make things worse so it can wait.
Have a good weekend all and thanks for getting me this far ;-)  Hope to be off printing soon ;-)
ttfn

Endstops are either NO or NC.  Ideally you want normally closed.  If the switch fails the board will detect a constant problem.
So first I would set my limit switches to NC.  If you don't know just use a DMM swapping pins if needed.
Then you want to match up the endstops in the configuration.h

I ganged my Z as I had to build new crimp blocks anyways so I can;t help
with that part.
as for the end stops, 2 things to check

are you using the correct ones? for the A8 it only has mins, so you
have to disable the max option, note if you are using my code base, the
zmin is done with the bl touch not the original a8 stop

you may need to invert the logic if the motors will only travel in one
direction.  This took a while to figure out as well as the code allows you
to go away from the stop forever, but never towards is the logic is
inverted.

Good Luck
On Sat, May 25, 2019 at 11:35 AM wolfiejp<EMAIL_ADDRESS>wrote:

Ok not a bad day, got the board wired up powered up and the correct motors
now move when they should " perhaps i had a bad board but the new one no
problems with that bit"
Few problems still remain tho, Did anyone have any issues with there End
stops, i have tried two different once today the bog standard ones that
came with my A8 and also some Makerbot v3's i have. Neither seem to trigger
a EndStop Event. No doubt im missing something in the firmware so any hints
would be great.
Got to work out the way to use Dual Z Axis, ive read you can use one of
the extruder ports for the Z-b Axis, as i do not feel comfortable duelling
them from the one Z Axis port, "
The Bl touch Well im going to have to come back to that one. Lack of
information found on the internet and i dont wish to make things worse so
it can wait.
Have a good weekend all and thanks for getting me this far ;-) Hope to be
off printing soon ;-)
ttfn
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/bigtreetech/Tango-3D-Printer-Motherboard/issues/4?email_source=notifications&email_token=ACPI3DJRT6UXLK3FIZLNKY3PXGBFPA5CNFSM4G2C3U72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWHW55Y#issuecomment-495939319,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACPI3DJ2PMRAGXJ6VBUBGUTPXGBFPANCNFSM4G2C3U7Q
.

--
Daniel Loranger

Configuration.h values:
#define MOTHERBOARD BOARD_RUMBA
#define X_DRIVER_TYPE (YOUR STEPPER DRIVER HERE)
#define REVERSE_MENU_DIRECTION
#define DISPLAY_CHARSET_HD44780 WESTERN
#define LCD_LANGUAGE en
#define X_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
#define Y_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
#define Z_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
#define X_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
#define Y_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
#define Z_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
#define Z_MIN_PROBE_ENDSTOP_INVERTING false // set to true to invert the logic of the probe.
#define SOFT_ENDSTOPS_MENU_ITEM
#define AUTO_BED_LEVELING_UBL
#define RESTORE_LEVELING_AFTER_G28
#define MULTIPLE_PROBING 2
#define ENDSTOPPULLUPS
#define BLTOUCH
#if ENABLED(BLTOUCH)
#define BLTOUCH_DELAY 200   // (ms) Enable and increase if needed
/**

BLTouch V3.0 and newer smart series
For genuine BLTouch 3.0 sensors. Clones may be confused by 3.0 command angles. YMMV.
If the pin trigger is not detected, first try swapping the black and white wires then toggle this.
*/
#define BLTOUCH_V3
#if ENABLED(BLTOUCH_V3)
#define BLTOUCH_FORCE_5V_MODE
//#define BLTOUCH_FORCE_OPEN_DRAIN_MODE
#endif
#endif

Configuration_adv.h
#define EXTRA_FAN_SPEED
#define Z_STEPPER_ALIGN_ITERATIONS
#define Z_STEPPER_AUTO_ALIGN
#define Z_STEPPER_ALIGN_X { 25, 248 }
#define Z_STEPPER_ALIGN_Y { 150, 150 }
#define Z_DUAL_STEPPER_DRIVERS
#define Z_STEPPER_AUTO_ALIGN
#define MICROSTEP32 HIGH,HIGH,HIGH
#define MICROSTEP_MODES { 32, 32, 32, 32, 32 } // [1,2,4,8,16]
#define E0_AUTO_FAN_PIN 8 // note that if you swap out the fan0 - fan1 on the board you don't need this but if fan0 is the extruder fan I needed this option to remap the outputs labeled on the board.
#define EXTRUDER_AUTO_FAN_TEMPERATURE 120 // sets fan on when the extruder reaches this temp
#define PINS_DEBUGGING

If any of your steppers move in reverse look for any of these items and swap your values needed
#define INVERT_X_DIR TRUE/FALSE
#define INVERT_Y_DIR TRUE/FALSE
#define INVERT_Z_DIR TRUE/FALSE
#define INVERT_E0_DIR TRUE/FALSE

Thanks all for your input,  all seems to be working now apart from the BLTouch..
Fingers crossed i should be printing soon,

Is this topic still open, not an admin by any means, just thinking it is best to close it when resolved. Keeps it cleaner if anyone else comes looking for help.


chore: update dependencies

Update package dependencies :)

@JacobCoffee Same sphinx related issues here as well. I have no idea where this is coming from. The sphinx version hasn't been updated, and I've manually tried downgrading every sphinx-related package we have..

@cofin AA PR https://github.com/litestar-org/advanced-alchemy/pull/229 seems to break some test, so I've pinned added a constraint for <=0.17.1. We should investigate. I believe it has something to do with this in particular: https://github.com/litestar-org/advanced-alchemy/blame/e39430e0a9cd2f3d86eb604cd305e8b58ae8d2b8/advanced_alchemy/extensions/litestar/plugins/init/config/sync.py#L163

I've also added a constraing for psycopg<3.2, as it's breaking something in the channels backend (unsubscribes seem to hang). We'll need to investigate there.


Ensure reasonable size of Omnipool position

to avoid spam and dust on the chain we should check that you cannot create or update omnipool position so its value is lower than some boud (for example 1000 HDX)

This is also problematic with LM on top.

I think there are 2 issues intertwined.

Storage - We could just charge more for NFT creation and then possibly refund?
Nonsensical computation + LM problems.

We need to make sure that this is not exploitable. If we add deposit for position, we need to make sure the deposit either stays in account locked or is recorded in position or not change the price.
If we add minimal limit it shouldn't change and should be per-asset otherwise you might lock yourself out as we had this problem in the past in XYK.


feature: adds details to video file name generation

adds seed, model, and original image name into video file name

Thanks I copy pasted this in.


Peer Feedback

Please leave some feedback!

it is a great idea that user have to have their username and password to enter their own page. One humble advice is that you could have some descriptions on the readme file.

it is a great idea that user have to have their username and password to enter their own page. One humble advice is that you could have some descriptions on the readme file.

Thanks @Mengjun74! Just updated the README.md

Awesome app! My only constructive feedback is:

Some visual feedback on the app. The subtitle has a few words that are capitalized but others that are not. You could potentially have it like a sentence or title cased. Another thing is that the "Hi!" doesn't line up with the title of the plot.
Consider changing the bar chart to a lollipop chart that shows simple points instead of a bar, since the x-axis is each day and we are only showing a summary point.

This app looks very informative and insightful.
I see a potential for a business idea here.
My first comment is about adding a short description in the login page and improve the user experience by guiding them through the authentication processes.
The overall visual aspect of the charts also could be improved too


YAMLException when listing drives in Windows

Hey,
I am getting an exception whenever I try to list drives. Any ideas?
OS: Windows 10 x64.
line: parse.js 89
Uncaught Exception:
YAMLException: bad indentation of a sequence entry at line 8, column 12:
- path: C:
^
at generateError (F:\Projekty\myproject\myproject\node_modules\js-yaml\lib\js-yaml\loader.js:162:10)
at throwError (F:\Projekty\myproject\myproject\node_modules\js-yaml\lib\js-yaml\loader.js:168:9)
at readBlockSequence (F:\Projekty\myproject\myproject\node_modules\js-yaml\lib\js-yaml\loader.js:932:7)
at composeNode (F:\Projekty\myproject\myproject\node_modules\js-yaml\lib\js-yaml\loader.js:1326:12)
at readBlockMapping (F:\Projekty\myproject\myproject\node_modules\js-yaml\lib\js-yaml\loader.js:1057:11)
at composeNode (F:\Projekty\myproject\myproject\node_modules\js-yaml\lib\js-yaml\loader.js:1327:12)
at readDocument (F:\Projekty\myproject\myproject\node_modules\js-yaml\lib\js-yaml\loader.js:1489:3)
at loadDocuments (F:\Projekty\myproject\myproject\node_modules\js-yaml\lib\js-yaml\loader.js:1545:5)
at load (F:\Projekty\myproject\myproject\node_modules\js-yaml\lib\js-yaml\loader.js:1562:19)
at Object.safeLoad (F:\Projekty\myproject\myproject\node_modules\js-yaml\lib\js-yaml\loader.js:1580:10)
[OK]

Hm, that's weird. YAML is a bit sensitive with spaces/tabs so we could be doing something wrong there. Can you try running the scripts/win32.bat in your computer and pasting the whole output here?

i just created pull request for this issue.

device: "\\.\PHYSICALDRIVE0"
description: "PLEXTOR PX-128M6S"
size:<PHONE_NUMBER>80
raw: "\\.\PHYSICALDRIVE0"
system: True
protected: False
mountpoints:

path: C:

device: "\\.\PHYSICALDRIVE1"
description: "ASMT 2105 USB Device"
size:<PHONE_NUMBER>80
raw: "\\.\PHYSICALDRIVE1"
system: True
protected: False
mountpoints:

path: D:
path: F:

I've released v5.0.1 to npm with this fix.

gj, that was quick! I will test that out


How to stop puppeteer follow redirects

Currently it seems the default behaviour of puppeteer is to follow redirects and return the DOM at the end of the chain.
How can this be changed when need to stop the behaviour and make the .goto to stop after the first redirect and simply return the html from that first 301 page for example?

Use the await page.setRequestInterceptionEnabled(true); when within the interceptor function if the initial response is 3xx, call the request.respond() method to break the chain and discontinue the redirect chain.

Same problem here…
I agree, the page.goto() should return the 30x response in the promise.
It could be a params to pass to it upon calling it, like followRedirect: false.

So I have a solution now but I agree with @GuilloOme that followRedirect: false should be a .goto option prop.
let docRedirected = false;

const onResponseHandler = (response) => {
    docRedirected = redirects.isRedirect(response);
};
const onRequestHandler = (request) => {
    if (docRedirected) { return request.abort(); } //Aborts all subsequent requests
    reqRejection.shouldReject(request, options) ? request.abort() : request.continue();
};
page.on('request', onRequestHandler);
page.on('response', onResponseHandler);

then in redirect I have:
const redirectStatuses = [301, 302, 303, 307, 308];

exports.isRedirect = (response) => {
    return redirectStatuses.includes(response.status)
        && response.request().resourceType === "document";
};

Thanks a lot @ali-habibzadeh for this workaround!
Still, it would be better to have this docRedirected state in puppeteer.

definitely agree. using let with side effect like i have done is not ideal code. followRedirect: false as an option for .goto would be much better.

@ali-habibzadeh, your solution is good enough if you are sure that it will not be any concurrent request. In my context, it could be possible to have multiple concurrent request ; so, to avoid blocking the wrong request, I store the redirect response and compare the "location" url with the given url.
Here is my workaround:
let lastRedirectResponse = undefined;
page.setRequestInterceptionEnabled(true);

page.on('response', response => {
    // if this response is a redirect
    if ([301, 302, 303, 307, 308].includes(response.status)
            && response.request().resourceType === 'document') {
        lastRedirectResponse = response;
    }
});

page.on('request', interceptedRequest => {
    // if this request is the one related to the lastRedirect
    if (lastRedirectResponse
            && lastRedirectResponse.headers.location === interceptedRequest.url) {
        interceptedRequest.abort();
    }
});

@ali-habibzadeh @GuilloOme I'm curious why would you need to load without redirects?

@GuilloOme Would concurrency of request be a concern even if chromium is running with --process-per-tab? Perhaps your solution is more applicate to --process-per-site?
@aslushnikov My rationale for this is mainly based on two things. Firstly if you're a technical tool that reports on redirect chains, it suits the context more to make a clean request, get the response and report on it.
Most libraries handle their request like this e.g. node or cURL both require the user to enable the following of redirects. Which makes sense in terms of user experience too. If you are able to enable it then you have both options, if it follows by default then not having it requires a fair bit of implementation.

@ali-habibzadeh, my concern is more about pages where multiple resources are requested at the "same" time and  in the case of one or more returns a redirect, I will block the wrong one… You make me think that I should store all the redirect response (not only the last one) and check against them all.
Using --process-per-tab/site will not prevent the page from requesting multiples resources at the same time since these calls are async.
@aslushnikov, to add some context to @ali-habibzadeh's point: I use puppeteer with chromium to crawl pages. For a given starting url, I need to get all the "outbound" urls without navigating it. The redirect is a type of "outbound" url since it goes "away" from my starting url. Then, I make a decision based on multiple factors to go through with it or not. In this case, it is very important to have a complete control over any navigation (on a side note, that also why I need some workaround for #823)

We potentially need to bring meta refresh directs under the umbrella of this. Unfortunately page scripts can not stop those redirects. Also there isn't a supported methodology for modifying the response text before the page is rendered (e.g. to modify/remove the meta refresh tags).
Anyone has a solution for stopping the meta redirect too?
I found this page: https://bugs.chromium.org/p/chromium/issues/detail?id=63107
However contains lots of contradictory conversations.

@ali-habibzadeh, I tried and you can prevent the meta redirect with the extension I wrote as a workaround for the "navigation away" problem (here: https://github.com/GoogleChrome/puppeteer/issues/823#issuecomment-343560580). if you have question about the extension, you can comment on the related gist.

Coupling request interception with request.isNavigationRequest and request.redirectChain, you can now abort navigation redirects:
await page.setRequestInterception(true);
page.on('request', request => {
  if (request.isNavigationRequest() && request.redirectChain().length)
    request.abort();
  else
    request.continue();
});
await page.goto('https://example.com');

@aslushnikov
Cool! I've been waiting for this feature since last year!

@aslushnikov Thank you! Life saver )

@aslushnikov
Commenting here to prevent from creating a new issue.
I have a problem with these, im trying to take screenshots from pages before the make the redirect, if I use your example im unable to do this, as it takes it as a navigation error, theres no real way to prevent the redirects from making me get another url?

Any way I can call request.abort(); and make it raise net::ERR_TOO_MANY_REDIRECTS?


Tab Bar Black Screen on every vc but one

I'm having an issue with implementing the Slide Menu within a Tab Bar controller.  Each tab bar item has a SlideNavigationController in it but it's only listening to one view out of 3 that are currently trying to implement it.
I get the notifications for the open / close right menu on each view, the menu is there and the slide animation works but its ignoring everything else; initialization, the side offset, etc is all ignored.
I have the following setup in each instance of ViewDidLoad:
UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"primaryNavStoryboard" bundle:nil];
pbDrawerMainViewController *drawerView = (pbDrawerMainViewController*)[storyboard instantiateViewControllerWithIdentifier:@"drawerView"];
[SlideNavigationController sharedInstance].rightMenu = drawerView;
[SlideNavigationController sharedInstance].portraitSlideOffset = [self pixelsFromIndex:1];
[drawerView.tableView setUserInteractionEnabled:YES];

The app delegate is only handling the notifications.  The above code works only in a single view controller.  The rest are presenting the menu and sliding but the view is ignoring the offset and the sub view itself is black, even though the code and storyboard itself is identical for each view.
How do I handle this?

I had the same issue, what I did was to use the delegate methods (opposed to the block), and it worked. Also, you need to connect the view controllers to the navigation controller in storyboard (navigation controller being the slidernavigationcontroller). Then using the popAll...method (the readme file and the amazing tutorial by the author has that), navigate to the view controller you need (create the storyboard, instantiate the view controller and the rest).
I hope this helped.

Any luck? I am also in the same loop. Kindly help.


[BUG] cimage shows up every text message

Hi. Every text message on the chat "cimage" appears. I just typed the message and pressed enter

fvtt 11307
current chat media build
google chrome
windows 10

Unfortunately this is still happening for me on 3.3.5

@tehguitarist tested and retested is working, did you have any other module active ? what system are you using ? what version of foudnry are you using ?

Hey, sorry, was during a game. I just tested on a clean world and it didn't happen, I'll do some digging to see if I can find a module that's causing it. Strangely, I opened a world in Firefox, and it didn't happen. But then opening the same world in Edge (different cookies - so different settings) and it started happening again.
The only thing I can think of is that I had to manually enter the manifest again to update, so maybe it was some weird cacheing thing (I connect via a cloudflare proxy). So sorry for the bother!

no worries, like you said it's seem some cache problem.
I'll close the ticket, but let me know it if you  find something i can fix on  my side.


Added all tests for testing on travis-ci

Done adding tests (tests python version and checks if corpora is installed or not).
Corresponding issue: /cltk/issues/202
Corresponding build: /achaitanyasai/cltk_docker/builds/116673836

And now this repo can be integrated with travis-ci.

Thank you sir.

Thank you! I won't have time to think more about this for a few days. In your opinion, what work remains for this Docker work?

I think we can do more like mentioned in the main issue #178 we can add cltk_front end and make it serve as a web server.
I will deploy on docker hub soon.

Question: When we build a new container here, can we auto-deploy to Docker Hub?
And will we need to trigger anything manually when a new CLTK release is made?

When we build a new container here, can we auto-deploy to Docker Hub?

Yes, yesterday when I was looking travis documentation for Docker, I found this feature, but I didn't go deep into it. I will try it out.

And will we need to trigger anything manually when a new CLTK release is made?

Yes we need to build a new image based on the new CLTK version.

@achaitanyasai Understood that these are temporary answers, they're appreciated. Let's both do a little research and share what we learn
In the long run, here is what we will want: 1 container for each of our main CLTK software suites (cltk, cltk_api, and cltk_frontend). These will be 3 different containers on Docker Hub. Ideally, everything will build automatically, upon the creation of a new tagged version of the software.

Let's both do a little research and share what we learn

Yeah sure thank you, right now I am looking into it and get back once I figured out something.
Yes we want 3 different containers. And I think cltk_frontend took care of building docker container already but cltk_api doesn't.

Travis enabled! Would you please check the build and add a badge to the README?

Yeah sure.

Done adding badge to README. But I am unable to check build. I mean I am unable to find branches/pull requests/build history in https://travis-ci.org/cltk/cltk_docker/branches
Also when I am trying to build my forked repo : https://travis-ci.org/achaitanyasai/cltk_docker
two builds start simultaneously. One build is my actual build and other is from you : https://travis-ci.org/achaitanyasai/cltk_docker/builds
Is there some thing wrong ?
Also I am opening a new issue for discussing about auto-deployment to dockerhub.


Bugs Fixes

Iops round off Fix
"%" shown for donut chart in host overview.

@r0h4n Please merge these changes. I have verified it.


Developers: "Open Opportunities" nav to profiles and issues broken

Still getting a 404 when I click the "partner" link and nothing happens when I click the "issue"

this should be good now, I removed the links to the programs though as those would have to be hard-coded for each individual program without having some other meta-data attached to the mini-app.  if this is a firm requirement then I can do the typing but it will be a hand coding step if we add or remove programs

All good


Files sdnoverlay.exe and sdnbridge.exe are reported as malicious software

Description
After downloading the windows release cri-containerd-cni-1.7.11-windows-amd64.tar.gz the antivirus reports the files
.\cni\bin\sdnoverlay.exe
.\cni\bin\sdnbridge.exe
als malicious software. For double check, if the file was uploaded to www.virustotal.com, they say that 43 / 72 of their security vendors analysis complain this as malicious.
Screenshot:

As other example for a newer release, uploading windows relase cri-containerd-cni-1.7.14-windows-amd64.tar.gz to www.virustotal.com, this reports only on 5 / 72 of their security vendors analysis as malicious.
So is this a false positive and can be added to exclusions, or is this really malicious?
Steps to reproduce the issue

Download https://github.com/containerd/containerd/releases/download/v1.7.11/cri-containerd-cni-1.7.11-windows-amd64.tar.gz
Extract tar.gz (and afterwards .zip)
Enable Antivirus Software (in my case TrendMicro) or Upload file to www.virustotal.com

Describe the results you received and expected
The result is, that the file was quarantined by antivirus software.
Expected behavior is, that antivirus software should not complain.
What version of containerd are you using?
1.7.11
Any other relevant information
No response
Show configuration if it is related to CRI plugin.
No response

It should be a false positive.


Missing Python API guide in Rasa 1.0 docs

Rasa version: Rasa 1.0
Python version: 3.6
Operating system (windows, osx, ...): Linux
Issue: A general Python API guide is missing in Rasa 1.0 docs I think many developper who have used Rasa since its very creation have developed their own scripts for training, testing and running models using the Python API guide, such as the old ones http://legacy-docs.rasa.com/docs/nlu/python/. However, this page seems to have been removed. The transition from rasa nlu+core to rasa 1.0 which broke some compabilities makes things even harder, as the migration guide (http://rasa.com/docs/rasa/migration-guide/) doesn't explain all, for example, Agent.train (https://forum.rasa.com/t/call-agent-train-occurs-typeerror-coroutine-object-is-not-iterable/10135).
If one can have a simple Python API guide, which describes examples of training a nlu model, running a nlu with a given model, training a core model, running a chatbot with a nlu model and a core model (or directly a rasa model), that could be super.
Content of configuration file (config.yml): Not Relevant Content of domain file (domain.yml) (if used & relevant): Not Relevant

Yes very good point, we should add some more examples like this one https://rasa.com/docs/rasa/api/agent/#rasa.core.agent.Agent.handle_text to the function docs.

Dear @tmbo . I'd like to see more examples like before. I had seen this example you mentioned: https://rasa.com/docs/rasa/api/agent/#rasa.core.agent.Agent.handle_text. Sorry to say I found it very difficult to understand. First, why is RasaNLUInterpreter imported; second, because of asyncio, a normal user cannot run this code easily.
More generally speaking, because of asyncio, many scripts in rasa.core which worked before (as examples in the previous docs) don't work anymore. Like the example I cited previously: Agent.train (https://forum.rasa.com/t/call-agent-train-occurs-typeerror-coroutine-object-is-not-iterable/10135), many ppl are still waiting for solutions.

We are on it. But in the meantime you should just wrap any functions that are async with an event loop, e.g.
loop = asyncio.get_event_loop()
training_data = loop.run_until_complete(agent.load_data(training_data_file))
agent.train(training_data)

Thank you @tmbo for your quick reply and your understanding. In terms of asyncio, yes. I advise to mention "asyncio" in miragtion guide or somewhere else, as I could only find which functions are now using async by viewing source code in rasa.core.
PS: I also found that asyncio in python3.7+ can make use of new functions (asyncio.run) that didn't exist for python3.6-.

I am also looking forward to the Python API guide. Just a heads up, the links here: http://legacy-docs.rasa.com/docs/ all point to the new Rasa 1.0 docs, not the legacy Python docs. Additionally, the links to documentation for rasa-nlu on PyPi are all redirecting to the root directory of the new documentation: https://pypi.org/project/rasa-nlu/.
Please keep us up to date when the Python API docs for Rasa 1.0 are ready!

Just a heads up, the links here: http://legacy-docs.rasa.com/docs/ all point to the new Rasa 1.0 docs, not the legacy Python docs.

Thanks for catching this! I've already implemented these fixes, they just haven't been built yet 🙂should hopefully be live by the end of the week

@amn41 is this fixed now?

I too need this. I think my issue will probably be resolved with this

I have no exact timeline yet, but we'll be working on a bunch of additions to the docs in the next few months

Same thoughts here. I've been "hacking" away at the code to try and get Rasa to do what I need without using the CLI. It's been frustrating at times, but I'm not too annoyed because I'm learning a whole lot.

Same problem here! I have been trying to update from 0.14, but with the amount of breakage and non availability of python api documentation it is not remotely possible.
Also, a general question to the audience - We should be able to use Rasa 1.2+ in the same way as before ? My workflow has been train using python api, and inference of intent+entity through the trained model. Is it mandatory to run Rasa as a separate HTTP endpoint, or is it possible to have my code (flask application) run standalone as a single python instance like before with rasa 1.2+ ?
Thanks,
Thusitha

you don't need to run a server, it is still possible to load and use models directly from code. e.g. here is an example in the agent interface documentation: https://rasa.com/docs/rasa/api/agent/#rasa.core.agent.Agent.handle_text

Any updates on publishing an API Guide?  It would make the developer community an order of magnitude faster and successful with on-boarding to Rasa.  I spend my days reading Rasa code to infer how to use the APIs, which is an incredible waste of time, and extremely error prone and unproductive.  A single API Guide would lift the entire Rasa development community, which is seriously needed as that community is currently exploding.

exploding? 😄 I agree this is very important, and it is among the docs issues we're working on tackling. Thanks for letting us know

+1 from this community member https://forum.rasa.com/t/merging-queries-and-slow-response-of/24929/6

Hello team, is there an updated guide for Python?
And do you need assistance creating one if it isn't ready yet?

We really need some type of documentation on the python side. It just seems that the only way to use rasa is using the sdk shell, but that's incorrect.

I always end up writing custom hooks and overriding behaviour when needed.
It's not the most flexible way, but works most of the time.
On Sat, 20 Mar 2021, 12:43 Urbano Gutiérrez, @.***>
wrote:

We really need some type of documentation on the python side. It just
seems that the only way to use rasa is using the sdk shell, but that's
incorrect.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/RasaHQ/rasa/issues/3609#issuecomment-803248084, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABVRIJ7OU73E2FABWOE4UIDTEQRYTANCNFSM4HP4NGOA
.

Closing as 1.0 is no longer maintained :)


Show closing labels in dart source code not visible in Android Studio

Steps to Reproduce
Install Android Studio
Install IntelliJ IDEA Community and Ultimate
Open a Flutter App
The Problem
In Preferences -> Editor -> General -> Appearance
the "Show closing labels in dart source code" option is available in IntelliJ IDEA IDEs but not in android studio.
IntelliJ IDEA, community, and Ultimate

Android Studio

Logs
N/A
Flutter Doctor
[  +17 ms] [/Users/raveesh/MyCode/SDKs/Flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +45 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/alpha
[        ] [/Users/raveesh/MyCode/SDKs/Flutter/] git rev-parse --abbrev-ref HEAD
[  +13 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] alpha
[        ] [/Users/raveesh/MyCode/SDKs/Flutter/] git ls-remote --get-url origin
[  +12 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[        ] [/Users/raveesh/MyCode/SDKs/Flutter/] git log -n 1 --pretty=format:%H
[  +14 ms] Exit code 0 from: git log -n 1 --pretty=format:%H
[        ] 2e449f06f0a3be076e336ad6b30b0e9ec99dbdfe
[        ] [/Users/raveesh/MyCode/SDKs/Flutter/] git log -n 1 --pretty=format:%ar
[  +12 ms] Exit code 0 from: git log -n 1 --pretty=format:%ar
[        ] 11 days ago
[        ] [/Users/raveesh/MyCode/SDKs/Flutter/] git describe --match v*.. --first-parent --long --tags
[  +14 ms] Exit code 0 from: git describe --match v*.. --first-parent --long --tags
[        ] v0.0.21-0-g2e449f06f
[ +181 ms] /usr/bin/defaults read /Applications/Android Studio.app/Contents/Info CFBundleShortVersionString
[  +64 ms] Exit code 0 from: /usr/bin/defaults read /Applications/Android Studio.app/Contents/Info CFBundleShortVersionString
[        ] 3.0
[ +185 ms] [✓] Flutter (on Mac OS X 10.13.3 17D47, locale en-IN, channel alpha)
[   +1 ms]     • Flutter version 0.0.21 at /Users/raveesh/MyCode/SDKs/Flutter
[        ]     • Framework revision 2e449f06f0 (11 days ago), 2018-01-29 14:26:51 -0800
[        ]     • Engine revision 6921873c71
[        ]     • Tools Dart version 2.0.0-dev.16.0
[        ]     • Engine Dart version 2.0.0-edge.da1f52592ef73fe3afa485385cb995b9aec0181a
[   +9 ms] /usr/bin/defaults read /Applications/Android Studio.app/Contents/Info CFBundleShortVersionString
[  +57 ms] Exit code 0 from: /usr/bin/defaults read /Applications/Android Studio.app/Contents/Info CFBundleShortVersionString
[        ] 3.0
[ +107 ms] java -version
[  +91 ms] [✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
[        ]     • Android SDK at /Users/raveesh/Library/Android/sdk
[        ]     • Android NDK location not configured (optional; useful for native profiling support)
[        ]     • Platform android-27, build-tools 27.0.3
[        ]     • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
[        ]     • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08)
[ +163 ms] DevToolsSecurity -status
[  +56 ms] Developer mode is currently enabled.
[        ] python -c import six
[  +71 ms] idevice_id -h
[  +11 ms] idevice_id -h
[  +22 ms] idevice_id -l
[  +23 ms] ideviceinstaller -h
[   +9 ms] ios-deploy --version
[  +16 ms] ios-deploy --version
[  +18 ms] 1.9.2
[   +2 ms] ios-deploy --version
[  +15 ms] ios-deploy --version
[  +19 ms] 1.9.2
[   +2 ms] pod --version
[ +514 ms] pod --version
[ +483 ms] 1.3.1
[   +2 ms] pod --version
[ +479 ms] 1.3.1
[   +1 ms] [✓] iOS toolchain - develop for iOS devices (Xcode 9.2)
[        ]     • Xcode at /Applications/Xcode.app/Contents/Developer
[        ]     • Xcode 9.2, Build version 9C40b
[        ]     • ios-deploy 1.9.2
[        ]     • CocoaPods version 1.3.1
[   +1 ms] [✓] Android Studio (version 3.0)
[        ]     • Android Studio at /Applications/Android Studio.app/Contents
[        ]     • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08)
[   +2 ms] /usr/bin/defaults read /Users/raveesh/Applications/JetBrains Toolbox/IntelliJ IDEA Ultimate.app/Contents/Info CFBundleShortVersionString
[  +65 ms] Exit code 0 from: /usr/bin/defaults read /Users/raveesh/Applications/JetBrains Toolbox/IntelliJ IDEA Ultimate.app/Contents/Info CFBundleShortVersionString
[        ] 2017.3.4
[  +86 ms] [✓] IntelliJ IDEA Ultimate Edition (version 2017.3.4)
[        ]     • Flutter plugin version 21.2.3
[        ]     • Dart plugin version 173.4548.30
[   +4 ms] /Users/raveesh/Library/Android/sdk/platform-tools/adb devices -l
[  +17 ms] Exit code 0 from: /Users/raveesh/Library/Android/sdk/platform-tools/adb devices -l
[        ] List of devices attached
[   +5 ms] idevice_id -h
[  +21 ms] /usr/bin/xcrun simctl list --json devices
[ +134 ms] /Users/raveesh/Library/Android/sdk/platform-tools/adb devices -l
[  +19 ms] List of devices attached
[   +1 ms] [-] Connected devices
[        ]     • None
[  +17 ms] "flutter doctor" took 2,909ms.
[ +107 ms] ensureAnalyticsSent: 103ms
[   +4 ms] exiting with code 0

For more information about diagnosing and reporting Flutter bugs, please see https://flutter.io/bug-reports/.

+1

Would be indeed a really nice feature to have but I don't think this is the good place for such request, it has nothing to do with Flutter.

/move ide


[ProgressIndicator] ProgressIndicator presentation vertical has incorrect style in Safari

What package is this for?

[x] React
[ ] Angular

Describe the bug
This issue only occur in Safari,  ProgressIndicator presentation vertical has incorrect style.
To Reproduce
Steps to reproduce the behavior:

Go to story book, search ProgressIndicator,
choose presentation vertical
the incorrect style looks like:

Expected behavior
The style should be consistent with what shown in other browsers.
Environment/versions:

Browser: [safari]
carbon-addons-iot-react version: [e.g. v2.144.0]

Impact to product:
Maximo Assist

This issue is related to #1890

closing. fixed in both https://carbon-addons-iot-react.com/?path=/story/watson-iot-progressindicator--presentation-vertical and https://next.carbon-addons-iot-react.com/?path=/story/1-watson-iot-progressindicator--presentation-vertical


move in_progress tests count to the right from queued to avoid numbers juming

nesessary to check testruns tests passing after moving

done #764


Page.UniqueID will be removed in Hugo 0.93.0

First thing first, thanks for making this splendid template!
I tried to build and test the example site using hugo server -D and the following error appears.
ERROR  Page.UniqueID is deprecated and will be removed in Hugo 0.93.0. Use .File.UniqueID

With a quick grep I found the partial using the .UniqueID variable is breadcrumb.html.
https://github.com/hugo-apero/hugo-apero/blob/5a68e286ff017bd55d0be4a93ee1a421f9ee6c39/layouts/partials/shared/breadcrumb.html#L2-L11
As of Feb 2022, hugo is now v0.92.2.
I have no experience in writing shortcodes and do not understand much about layout templates. I am not sure how to remove the error, sorry about that.

FWIW my current dump way to work-around the error is to remove the .UniqueID variable and the if statement, making the title always be a hyperlink.

{{ template "breadcrumb" dict "currentPage" .Page }}

{{ define "breadcrumb" }}
  {{ if .currentPage.Parent }}
    {{ if ne .currentPage.Parent .IsHome }}
      {{ template "breadcrumb" dict "currentPage" .currentPage.Parent }}
    {{ end }}
      {{ .currentPage.Title }}
  {{ end }}
{{ end }}

Thanks for letting me know the method of pinning Hugo version! Have not thought about that before.

Regarding pinning Hugo version for a blogdown project, you can also look here for option in R profile, and how to install several hugo versions
https://www.rstudio.com/blog/blogdown-v1.0/#hugo-versioning-system

And regarding the fix, Hugo syntax is now .Page.File.UniqueID instead of .Page.UniqueID. This should be updated in the template file however, this could create a minimum requirement to Hugo version. But probably 0.70 (as it seems .File.UniqueID have been introduced in 4bdc9bc72)

Thanks for pointing out the way to fix it! Changed the shortcode variables as below and the error message is now gone.

{{ template "breadcrumb" dict "currentPage" .Page "id" .File.UniqueID }}

{{ define "breadcrumb" }}
  {{ if .currentPage.Parent }}
    {{ if ne .currentPage.Parent .IsHome }}
      {{ template "breadcrumb" dict "currentPage" .currentPage.Parent }}
    {{ end }}
    {{ if eq .id .currentPage.File.UniqueID }}
      {{ .currentPage.Title }}
    {{ else }}
      {{ .currentPage.Title }}
    {{ end }}
  {{ end }}
{{ end }}

You can probably open a PR with this fix then :) Thanks !

@cderv Sure! And just want to say a huge thanks to you for maintaining rmarkdown and many other packages :)


TPM clear doesnt affect Windows Hello

Hi,
I am using Windows 10 RS5 17713 build and setup windows hello(finger print and PIN) using my microsoft account, My device contains discrete TPM.
I did Clear-TPM to clear everything from TPM, but still i can use my registered fingerprint to login.
Does it mean Clear-TPM doesnt clear Windows Hello container from TPM or TPM is not at all used for windows hello even if device is TPM capable?
Regards,
Pooja

Hi @pkuntal -- this is a channel for feedback on our docs... it sounds like you need support help? If so, please review our developer support options here: https://developer.microsoft.com/en-us/windows/support. If your question is specific to one of our doc pages, please let me know the URL so I can route your question to the correct author. Thank you!

Hi Gina,
I am facing issue in ' windows hello and TPM' ..document which I referred
is
https://docs.microsoft.com/en-us/windows/security/information-protection/tpm/how-windows-uses-the-tpm#windows-hello-for-business
Could you please route to relevant group?
Regards,
Pooja
On Mon, Sep 10, 2018, 9:47 PM Gina P<EMAIL_ADDRESS>wrote:

Hi @pkuntal https://github.com/pkuntal -- this is a channel for
feedback on our docs... it sounds like you need support help? If so, please
review our developer support options here:
https://developer.microsoft.com/en-us/windows/support. If your question
is specific to one of our doc pages, please let me know the URL so I can
route your question to the correct author. Thank you!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/windows-uwp/issues/971#issuecomment-419971560,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ASfq_AegkZbuHgGGWunRHiliI1_L4SQtks5uZpCEgaJpZM4Wg26Q
.

Hi @pkuntal -- looks like that doc is in a different repo...I don't have a way to route your question to an author outside my group. Sorry about that! I recommend opening a new issue by adding your question  at the bottom of that TPM page. That should go directly to the author of that page, who can hopefully answer you.


HABridge issues

Tried to trigger some of my activities set up on HAB this morning and was told they were not responding....tried to SSH into my PI and couldn't so tried to look at the webpage assigned to it and get  this

No passwords are working so I cant SSH in....nothing has changed...is there anything I can try before I wipe the card and rebuild again from scratch (really wish Id backed up the image, which I will be doing this time

Well, looks like you have a system issue with your pi. Most likely from an auto update. This is not the place to get that resolved.

I have checked my PI and all is well with normal use...it boots into the desktop when connected with an HDMI and I am able to connect to it via WinSCP, however, the HABridge service is no longer running and if I try to execute it I get the following error
Command '"./habridge.service"'
failed with return code 126 and error message
-bash: line 7: ./habridge.service: Permission denied.
So Pi is working without issue but there still seems to be a problem with HAB in particular....does my error code shed any light?
TIA

to see if there was an issue with my existing card for some reason, I have created a new card build and installed a fresh version of HABridge but I am instantly getting the same issue and going back to the page above

I have also tried a completely different pi and get identical results

Appeared to be a browser issue.  I have always accessed via Firefox before but may have updated to Firefox Quantum since first installing HABridge....no longer works this way but then works fine from all other browsers....thanks for insight anyway


pip install currently installs version 4.0 instead of 5.0

This was reported to me, but i haven't confirmed yet.

Have you uploaded v5.0 to PyPi?
cc @weixuanfu

No i haven't done this yet. Is this all we'd need to do to fix this issue?

Yes. Check with @weixuanfu on the specifics.

Updated!
https://pypi.org/project/skrebate/
#41 Please merge this PR to master branch since the format of email addresses for setup is changed.


Idea: Key Command for Search

Improvement Idea: I want to be able to do "cmd + /" and quickly jump around the site
Why: To improve the experience for power users

#690 does have this, and it's pretty cool. Waiting for it to get a bit more stable before continuing.


feat: more conv goal structuring tactics

This adds a few tactics that are useful in both tactic mode and conv mode, by macro expansion to the tactic versions.
Also fixes a bug in tactic' => $seq which causes even tactic' => skip to turn a | a goal into |- a because the underlying equality is hidden behind an assigned metavariable.

Could you please add new tests for all new tactics?


Add Jenkins declarative pipeline

Coverage remained the same at 33.844% when pulling 53cc59d3383084d010f1a836ec69d3b390747827 on jenkinsfile-test into 6dc9e273cf670ba799fe57bda24c6b5e5591eafc on master.


Show waste management sites

https://gwmc.goa.gov.in/baling-facilities/

https://www.wwfindia.org/?27162/project-saim-a-milestone-in-goas-waste-management
"Project SAIM is an important contribution to conserving Goa's biodiversity and combating plastic pollution in sensitive ecosystems like rivers and oceans. By fostering collaboration and innovation, we aim to set a new standard for waste management in coastal regions."


WFLY-10740 Update Weld core, API, CDI API and implement new method We…

…ldClassFileInfo."
JIRA - https://issues.jboss.org/browse/WFLY-10740
For the record, CDI API update contains no new features, it merely fixes few possible problems with SM (wraps calls in privileged action).

Not sure what are those test failures, it is a Hibernate test crashing with what seems like Arq. misconfiguration (missing jbossHome).
However, it is passing locally and I noticed same failure in another PR. Should be unrelated to the contents of this PR.
Can someone please issue a re-test?

This is ok to test

Retest this please


Game outcomes

Created functionality where request animation frame loops to different scenarios based off of what happens in the game (ongoing, win, lose). Winning or losing currently renders a blank screen. These alternate loops can be changed to reflect whatever we want (ask to move to next level, ask to retry level).
Thoughts on implementation? If you have a strong feeling towards a different solution lets talk about alternatives!

Ok so what about this? If we can assume that we are going to have maybe 1-3 different versions of a level (with either more enemies, less lives, or both) maybe on the win screen you can either choose to play the next hardest version or move onto the next level.
If you lose, I think your only option should be to replay the level.
Also, I think the winning screen should calculate  score. Maybe with some silly gifs, emojis, or images. Like, you get 5 rainbow unicorns because you beat this level without losing any lives! :rainbow:

However, for now I'm going to merge this in and we can discuss what we want to do and put that on a different branch.


investigate why so many teacher-credits are deleted each week

we're currently using employeenumbers as id:s for teachers. However, there are a lot of acceptor persons for attainments who don't have any employeenumbers available in persons table. This results null credit_teacher mappings.
We should consider using personids as ids for teachers as well


Github plugin causes "(eval):1: parse error near `then'" on startup

Using this as my .zshrc:
export ZSH=$HOME/.oh-my-zsh
export ZSH_THEME="robbyrussell"
plugins=(github)
source $ZSH/oh-my-zsh.sh

I receive the following error message each time I start zsh:
(eval):1: parse error near `then'

Using the following .zshrc instead results in no error message:
export ZSH=$HOME/.oh-my-zsh
export ZSH_THEME="robbyrussell"
plugins=()
source $ZSH/oh-my-zsh.sh

My current checkout of Oh My Zsh is 83cf8dc (currently the most recent available).

That's probably coming from the _hub completion file. This is the same version over at github/hub, so the bug may not be coming from OMZ itself.
Please follow these instructions to generate a debug file (with the github plugin enabled) so I can better diagnose where the error comes from.

Done.
Direct link to parse error.

Relevant part:
if [ "$commands[(I)hub]" ]; then
  if hub --version &>/dev/null; then
    eval $(hub alias -s zsh)
  fi
fi
+/home/andrew/.oh-my-zsh/plugins/github/github.plugin.zsh:2> [ hub ']'
+/home/andrew/.oh-my-zsh/plugins/github/github.plugin.zsh:3> hub --version
+/home/andrew/.oh-my-zsh/plugins/github/github.plugin.zsh:4> hub alias -s zsh
+/home/andrew/.oh-my-zsh/plugins/github/github.plugin.zsh:4> eval alias 'git=hub' if type compdef '>/dev/null;' then compdef 'hub=git' fi
(eval):1: parse error near `then'

That is coming from the hub command itself, then. On my system, hub alias -s zsh just outputs alias git=hub. What hub --version are you using?


Extend the API compile and analyze calls to make used packages explicit

I'd like to make the packages that a code submission uses explicit, in preparation for supporting packages from pub. While we can imply used packages from import lines (and that's how it is done currently), looking at other online pad services, they tend to allow the user to specify which packages they use.
Thoughts?

Sounds good to me, it sounds like this would need on a UI component to selecting from a list of packages?
As an aside, I think we need to keep detecting package:flutter and/or dart:ui for choosing which layout to use.

One option is to make the packages explicit in the API call, and then just do the content sniffing in the front end. That way we have the content sniffing in only one place, not two.

We should also look at extending the /version call to report what packages are available and in which version.

Sounds like it's time for me to put together a design doc

@domesticmouse Does it still make sense to have this open? If so, should it be assigned to @srawlins.

Assigned

Interesting. This does sound like a design is needed. For example, if you check firebase_core, we can either auto-check flutter (probably requires a round trip to server), or leave empty and people may be surprised that their code is now Flutter. And I think continued inference from the source would be important; if someone pastes in code which imports flutter or firebase, the settings should automatically flip to use those packages.


CodeBlock support within CSS

We have an email template system that is needing some codeblock {{Variables}} placed within the CSS. e.g.
.button.primary {
    background-color: {{StoreColor}};
}

and I was hoping that they would be returned as...
...

...particularly when I found that HBS is included by default in juice.codeBlocks.
However, I've found they're actually returned as...
...

I did some digging and found that the encoding/decoding makes use of HTML comments in line 20 & 29 in juice/cherio.js.
return '';
...
var re = new RegExp('', 'g');

Is that why? Does it currently support HBS in the HTML but not in the CSS?
Do you know if that might be something that could be easily fixed so they can also be retained within the CSS?
Many many thanks.

Actually, an update - we've now swapped to using <%StoreColor%>  within the CSS instead, as that does work.
We then parse the source afterwards with...
source
  .replace(/<%/g, '{{')
  .replace(/%>/g, '}}')

...to return it to the required format.
It's a bit of a workaround, but enough for us for the time being.
I'll let you decide if you want to close the issue or not.


Add a t4 file that can turn CoffeeScript into JavaScript while editing

Hi,
I added a T4 script that is deployed through the Nuget package.  It is added to the Scripts folder and can use the CoffeeScriptEngine to transform a  coffee file into javascript while editing the CoffeeScript file.  By doing so, it is easy to reference the JavaScript from your html, but at the same time you can write CoffeeScript.
Kr,
Thomas

I'm cleaning up old open issues. Sorry for not replying sooner.
If this is still an issue, please reopen this.


Received message larger than max (5406604 vs. 4194304)

Describe the bug
I have a test case where I need to wait for request end before further interacting with page so my code look like:
${promise}    Promise To    Wait For Response    matcher
....
<Some Actions>
....
Wait For    ${promise}

If I understand correctly size of the response (big json, around 5 megabytes and I am not interested in it's content) is the reason why keyword Wait For fails with message "Received message larger than max (5406604 vs. 4194304)".

We use gRPC to communicate between Python and Node lands. Messages have max limit and if that exceeded, keyword will fail. Unfortunately there is not way to increase the max limit of the message.
I guess we could cut the json and make it fit to the maximum message size. But in that case, we would not return valid json and are in dancer to loose something important information.
But I agree that how keyword works now, is not correct either and it should be fixed, in one way or another.

@allcontributors please add @JaPyR for bugs.

Any updates on this guys? Is there any alternative approach for this

Currently there is not, I tried once to solve the problem, but could not get the node side working.

I'm facing the same issue

Fix is available in next release


fix #653 Skip elements that does not have .offsetParent correctly

Some element (eg. svg) does not have .offsetParent so we can try the
nextElementSibling of it

Boof

Ready to be reviewed.


Images are not served: 404 errors

I have following next.config.js:
const withCss = require('@zeit/next-css');
const withImages = require('next-images');
module.exports = withCss(withImages({}));

And this is the component:
import React from "react";
import Btn from "./Btn";
import Link from 'next/link';
import PNG from '../static/js.png';
import './Nav.css';

export default () => (
    <nav>
        <img src={PNG} className="logo" alt="Logo"/>
        <Link href="/" passHref><Btn>Index</Btn></Link>
        <Link href="/second" passHref><Btn>Second</Btn></Link>
    </nav>
);

Here is what I get:

I had this issue it turned out the the limit was too low:
https://github.com/arefaslani/next-images/blob/master/index.js#L16
I fixed it by just adding this rule to the config manually like:
config.module.rules.push({ // separate rule for svg so we can have no limit
  test: /\.svg$/,
  use: [
    {
      loader: "url-loader",
      options: {
        fallback: "file-loader",
        publicPath: "/_next/",
        outputPath: "static/images/",
        name: "[name]-[hash].[ext]"
      }
    }
  ]
});

@realalexhomer The limit is for creating base64 string from images under 8KBytes and insert image links for files more than 8Kbytes.

@kirill-konshin It was a problem in next config. I've corrected the public path. A new version (0.9.2) is available that solved this issue.

Confirmed, it works.


Conda build fails on windows

There is an issue with the compiler setting: https://github.com/KhiopsML/khiops/actions/runs/9210331235/job/25337089165#logs

After some investigation the source of the problem comes from a change in the GitHub runners: https://github.com/actions/runner-images/issues/9701.
In summary, before this change, the VS installation contained many versions of the runtime and build tools. After that only those of VS 2022 remain.
I implemented a POC fix in this branch that largely consists in adding the vs2022_win-64 package to the conda windows build. However this impose us the constrait of adding conda-forge to the installation process in windows.
Nonetheless, implementing this fix helped me to understand better the problem.
I will try another fix by installing the necessary components in the runner before building the conda package. If this works we should be able to obtain the same package as before (without new dependencies and channels).

Simply changing the GitHub runner to windows-2019 fixes the problem.
I tried to install myself VS 2017 in the runner but it did not work. I propose for the moment merging PR #288 because the conda-forge team will soon pass to a more recent VS runtime (see https://github.com/conda-forge/vc-feedstock/issues/78). So we can move to windows-2022 when this happens.

Another useful link: List of removed components https://github.com/actions/runner-images/pull/9819/files


Use build_sysext for building OEM sysext images, drop old stuff

CI: http://jenkins.infra.kinvolk.io:8080/job/container/job/packages_all_arches/2099/cldsv

CI passed.

@krishjainx can you please review this as well

LGTM @krnowak. The report seems particularly useful as well so great addition

Thanks. It's something the old script also did, but I forgot about it before. So added it for the feature parity.


evolve throws while absent of corresponding transformations

🐛 Bug report
Current Behavior
evolve from struct throws while having absent transformations:
node_modules/fp-ts/lib/struct.js:78
            out[k] = transformations[k](a[k]);
                                       ^

TypeError: transformations[k] is not a function
    at node_modules/fp-ts/lib/struct.js:78:40

Expected behavior
Leaves unspecified entries untouched.
Reproducible example
const { pipe, identity } = require('fp-ts/function')
const { singleton } = require('fp-ts/ReadonlyRecord')
const { evolve } = require('fp-ts/struct')

// Expected { a: 1 }
const result = pipe(
    singleton('a', 1),
    evolve({
        b: identity,
    }),
)

Suggested solution(s)
Check before invoking transformations.
Additional context
Expected behavior would align with the evolve from Ramda as well.
Your environment
Did this work in previous versions of fp-ts? no
Which versions of fp-ts are affected by this issue?

Software
Version(s)

fp-ts
2.11  2.12

TypeScript
4.7

Ok, happy to see that I'm not the only one with this expectation. In fact, I expected the transformation struct to drive the logic completely, so all the functions are executed even if the passed value doesn't contain one of the keys (which TS should probably detect anyway).
Please note this is a problem because the structural typing nature of typescript, where you can pass extra properties without any type error, and  this will fail at runtime.


Better offline behaviour for provider with Pact broker

When writing a Pact test, a provider needs to specify a source for contracts using annotations on the test. The source can be either a local directory, or a broker. It's awkward to have to change the annotations to switch from the broker to running locally. This feels like the sort of scenario where a dev service might be useful.
It's not trivial, though, because a dev service would need a source of 'real' contracts.
We could either:

Cache contracts when running with the broker, and then use them in offline mode
Configure a dev service to point to a local source of contracts

The second option works great for demos, but I'm not sure how useful it would be for realistic development.
The first option may be more useful, but it's not a perfect fit for the semantics of a dev service. Normally we'd configure credentials for production, and not for dev, and then a dev service would be invoked. Here the behaviour change wouldn't be prod vs dev, but online vs offline.

If the consumer and provider are on the same machine (which is most likely for demos, but could happen in exploration scenarios too), we can publish to the broker from the consumer, using instrumentation. The consumer should only attempt to publish if it detects a broker. It should use similar testcontainer sharing logic as the kafka dev services do.


Basic api impl

Make a GET request against hostname:9000/api/[whatever] to get information.
Make a POST request using url encoding against hostname:9000/api/authenticate with
{
  name: [name of signed-in account],
  password: [hashed password of signed-in account]
}

to receive an authenticated web token.
This is so that protected routes (most likely more POST routes) can be added later, or so that the GET routes can be protected. Authentication is effectively disabled if there is not a .ranvierSecret file.


Issue with Chrome/Safari with Bootstrap

Hi,
When using the freezeheader plugin, am facing an issue with the header slightly misaligned in Chrome and Safari browsers. The cloned header's width is not aligning properly. I'm using Bootstrap table, and the freezeheader plugin on top of that. It works fine in IE. If anyone could please help advise on this, would be extremely grateful. Thanks again.

The patch in issue #3 seems to work pretty well for this.


EE3 Compatible

Are you planning of making videolink ee3 compatible?

💯 :) almost 2 years
And now for EE4 :)


Prepare for the 1.4 release

/test serving-upgrade-tests_operator_main

/test upgrade-tests_operator_main

/test integration-tests_operator_main

/test eventing-upgrade-tests_operator_main


Add rollouts

First version of a rollout feature. UI does not yet allow creating/editing rollouts - it just displays those captured directly inside the database. Will enhance this once the feature is conceptually ok.
What it does

Introduces concept of feeds and flavours to segregate different rollout streams
For devices with firmware "none" the most recent matching rollout is looked up. If it is not paused, then the referenced firmware gets installed

Limitations

No reliable approach to match firmware update success/failure events to the originating rollout/firmware version
No abort mechanism implemented yet - key feature of rollout to stop as soon as "too many" issues got detected.

Hmm, getting an error when I try and run this locally:
Traceback (most recent call last):
  File "/home/user/goosebit/main.py", line 3, in <module>
    from goosebit import app
  File "/home/user/goosebit/goosebit/__init__.py", line 9, in <module>
    from goosebit import api, db, realtime, ui, updater
  File "/home/user/goosebit/goosebit/api/__init__.py", line 1, in <module>
    from .routes import router
  File "/home/user/goosebit/goosebit/api/routes.py", line 3, in <module>
    from goosebit.api import devices, download, firmware, rollouts
ImportError: cannot import name 'rollouts' from partially initialized module 'goosebit.api' (most likely due to a circular import)

Strange. Just made a clean checkout, and ran the following commands (on macOS)

poetry install
poetry run python3 main.py

I could check on a Linux machine later today if I can reproduce the issue.

Should work now. Forgot to commit one of the files.


Runner failed to reserve

We saw this during a production deploy:
Failed to increase deployment replicas: failed to reserve runner for dpl-kcc-ktzil2tlxybtwdj: failed request to reserve a runner for dpl-kcc-ktzil2tlxybtwdj at http://<IP_ADDRESS>:8893/: unknown: can only reserve from IDLE state, not RUNNER_ASSIGNED

We saw this again yesterday. Restarting the runners was enough to fix the issue.

We'll be completely rewriting this code soon, so I don't think there's a pressing need to fix it.

I am closing this, that code path no longer exists.


Make IDBRequest's result property any

IDBRequest's also come from IDBObjectStore.get(), so their result parameter could be anything stored in the database.

oof idk what those failures mean:
[00:09:17] [800.1] Command failed: 'C:\\cygwin64\\home\\appveyor\\.opam\\4.03.0+mingw64c\\bin\\ocamlc.opt.exe' '-w' '@a-4-6-29-35-44-48-50' '-bin-annot' '-c' '-o' '.\\src\\common\\profiling\\profiling_js.cmi' '-I' '.\\_obuild\\flow-common-xx' '-I' '.' '-I' '.\\_obuild\\lz4' '-I' 'c:\\cygwin64\\home\\appveyor\\.opam\\4.03.0+mingw64c\\lib\\ocaml' '.\\src\\common\\profiling\\profiling_js.mli'
[00:09:17] -- stderr for ...build\flow-common-xx\profiling_js.cmi --
[00:09:17] File ".\src\common\profiling\profiling_js.mli", line 22, characters 46-58:
[00:09:17] Error: Unbound module Hh_json
[00:09:17] [ 627/1558]
[00:09:17] 2 errors in 29.78s. 455 jobs (parallelism 1.0x), 755 files generated.
[00:09:17] ocp-build: Leaving directory `c:\projects\flow'
[00:09:17] Error log:
[00:09:17] Error:
[00:09:17] [800.1] 'C:\\cygwin64\\home\\appveyor\\.opam\\4.03.0+mingw64c\\bin\\ocamlc.opt.exe' '-w' '@a-4-6-29-35-44-48-50' '-bin-annot' '-c' '-o' '.\\src\\common\\profiling\\profiling_js.cmi' '-I' '.\\_obuild\\flow-common-xx' '-I' '.' '-I' '.\\_obuild\\lz4' '-I' 'c:\\cygwin64\\home\\appveyor\\.opam\\4.03.0+mingw64c\\lib\\ocaml' '.\\src\\common\\profiling\\profiling_js.mli'
[00:09:17]
[00:09:17] File ".\src\common\profiling\profiling_js.mli", line 22, characters 46-58:
[00:09:17] Error: Unbound module Hh_json
[00:09:17]
[00:09:17] Error:
[00:09:17] rule 800: target .\_obuild\flow-common-xx\profiling_js.cmi not built
[00:09:17] make: *** [Makefile:216: build-flow-with-ocp] Error 2

Hmm, I’m not super comfortable making this any 😣
What about +result: mixed? Even better would be to create two different IDBRequest interfaces so we don’t lose the current typing for IDBRequest.request. Since IDBRequest is an interface, it is not nominal.

Creating different IDBRequest's seems like a big change, since that deviates from the IDL in the the standard. I agree it's better, but I just don't feel confident in my ability to bridge the IDL-Flow disconnect.
Changing this to mixed still doesn't seem to create a usable definition (I tried here, but still can't cast the lookup value to a specific type in the KeyValStore.prototype.get method).
I see why any is undesirable, but as it is, how would the current definition be usable for type-checking any read/write interaction with the database?

Hey @aaronj1335, I've been going through PRs recently. Sorry that this has been sitting for so long.
I share @calebmer's concern around making this any. I would also prefer mixed -- you can still cast through any if necessary (((x: any): SomeType)) but this makes the unsafe cast explicit and obvious to anybody reading or modifying the code.
I know it has been a long time, but if you are still interested in making this change I am happy to discuss it further. Let me know what you would like to do.

I'm going to assume you are no longer interested, and close this out. Feel free to reopen if you would like to pursue this change.


Secret key and token may not be required if the IAM profile is configured

Currently the secret key  and token is passed to boto.s3 API , but in case of IAM profile with S3 access configured for the instance , we will not need the secret key / token . boto API documents this saying we need not pass the key/token
But the tablesnap and related scripts fail as they try to pass the key and tokens. I think if the secretkey is not provided we need to just call boto.s3.connect_to_region(self.region) API

Do you get an error when you supply a token but not the key/secret? Just looking at the code, it should pass the None values along to the boto.connect_s3 method.

If an IAM role is present on the EC2 instance, I don't need to pass a key, secret, or token.  It does currently fail if none of these are passed in.  Additionally, the readme does not list any documentation for the token.  Pull requests welcome?

Yeah, tablesnap was written before IAM roles could be assigned to instances, so it was never tested without explicit credentials. Yes, patches are welcome.


Download Option Bug

Whenever we press download, the page style automatically switches

@smaranjitghose I'll do it. Please assign me this issue.


Enhanced Readme.md

PR Description 📜
Enhanced Readme.md
Fixes #215

Type of Change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[yes ] Documentation update

Mark the task you have completed ✅

[✅ ] I follow CONTRIBUTING GUIDELINE & CODE OF CONDUCT of this project.
[✅ ] I have performed a self-review of my own code or work.
[✅ ] I have commented my code, particularly in hard-to-understand areas.
[ ✅] My changes generates no new warnings.
[ ✅] I have followed proper naming convention showed in CONTRIBUTING GUIDELINE
[✅ ] I have added screenshot for website preview in assets/images
[ ✅] I have added README.md in my folder

Add your screenshots(Optional) 📸

Thank you soo much for contributing to our repository 💗

@ananyag309 share screenshot of ur changes

@trishanu-init sir do gssoc label has some points? if not please add some level label

Yes it has some points.....we have been instructed to assign only gssoc tag for documentation changes!