mqtt select calls' timeouts cluttering debug level logs (IDFGH-7893)

IDF version: 36f49f3

Problem Description
Do these really need to be DEBUG rather than VERBOSE?
D (16:26:43.753) TRANSPORT_BASE: poll_read: select - Timeout before any socket was ready!
D (16:26:43.754) TRANSPORT_BASE: poll_read: select - Timeout before any socket was ready!
D (16:26:43.754) mqtt_client: esp_mqtt_handle_transport_read_error: transport_read(): call timed out before data was ready!

Setting these components' log level to INFO would hide other relevant DEBUG level logs.

the timeouts are logged using the "TRANSPORT_BASE" tag, not mqtt, so just use:

esp_log_level_set("TRANSPORT_BASE",ESP_LOG_NONE");

but place it after all setup so it doesn't get changed back.

@moefear85 🤔

Again I ask: do these really need to be DEBUG rather than VERBOSE?

I'm neither a contributor nor maintainer... but you can search for the error message in vscode (or use grep) , then simply replace ESP_LOGD with ESP_LOGV. most likely it would be a one-liner edit.

@euripedesrocha

@KaeLL this was already changed in IDF 5.2.

@euripedesrocha
IDF 5.0 and 5.1 still need fix.

@euripedesrocha IDF 5.0 and 5.1 still need fix.

@euripedesrocha
There is no update for IDF 5.0 and 5.1.
Now I'm wondering if you stop maintaining esp-mqtt for older release branches?

@AxelLin we didn't stop maintaining 5.0 and 5.1 branches. We just decided to not backport this at the moment. I'll reassess and maybe start the backport process.  Sorry for let you request without an answer.


RHOAIENG-16076: tests(gha): run Makefile tests on opendatahub-io/notebooks Github Actions

https://issues.redhat.com/browse/RHOAIENG-16076
This is building up on the preparatory work merged in

https://github.com/opendatahub-io/notebooks/pull/780
https://github.com/opendatahub-io/notebooks/pull/777
https://github.com/opendatahub-io/notebooks/pull/782
https://github.com/opendatahub-io/notebooks/pull/783

Description
Deploys cri-o backed kubernetes with kubeadm to run our Makefile tests.
I considered using KinD, or Microshift, or Minikube, or OpenShift Local, or some other Kubernetes, but decided not to, because

Microshift still requires Red Hat pull secret, so it's hard to run this for PRs

There is something new there, though https://github.com/openshift/microshift/tree/main/okd/src

OpenShift Local takes long time to start, the OpenShift version needs pull-secret, and the OKD version is not getting much love
KinD, etc. with CRI-O requires custom node image https://github.com/cri-o/cri-o/blob/release-1.31/tutorials/crio-in-kind.md#cri-o-in-kind

The reason why I need cri-o is that I want to share the podman-built images into the cluster without having to copy them. Copying images is difficult because the images can be huge.

seems that k3d would've been also possible, https://devopstales.github.io/kubernetes/k3s-crio/

Known issues that I do intend to fix
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... failed: Name or service not known.
wget: unable to resolve host address ‘raw.githubusercontent.com’

[x] This needs a retry, because it happens from time to time. Also, we should not fetch test data from the main branch of the repo, we should use what's in the current checkout.

This went away after I redid my Kubernetes network. I had this problems with flannel, and since then I switched to a plain bridge with firewall masquerade. I think that (when I noticed this problem the first time, or maybe at some later point) my pods were completely unable to connect to the outside (also unable to connect to other pods, like the coredns pod, but I was dealing with other issues so I mistakenly thought the networking issues are a flakiness.

WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f95ec277fd0>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/papermill/
ERROR: Could not find a version that satisfies the requirement papermill (from versions: none)
Notice:  A new release of pip is available: 24.2 -> 24.3.1
Notice:  To update, run: pip install --upgrade pip
ERROR: No matching distribution found for papermill
command terminated with exit code 1

[x] Could it be that freshly started pod has spotty network and I need to wait?

Looks like the same problem as above. My pods were completely offline. The bridge solution needs no waiting!
Known issues (that I don't intend to fix for this PR)

GHA for a pull request skips intermediate images that have their own tests. Those tests will not be run, only leaf images in the dependency chain are having their tests run. (The push GHA tests everything.)

How Has This Been Tested?

https://github.com/jiridanek/notebooks/actions/runs/12064274658

Merge criteria:

[x] The commits are squashed in a cohesive manner and have meaningful messages.
[x] Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
[x] The developer has manually tested the changes and verified that the changes work

/test ci/prow/notebook-rocm-jupyter-tf-ubi9-python-3-11-pr-image-mirror

/test /test rocm-notebooks-e2e-tests

/test pull-ci-opendatahub-io-notebooks-main-notebook-rocm-jupyter-pyt-ubi9-python-3-11-pr-image-mirror

/test pull-ci-opendatahub-io-notebooks-main-images

/retest-required

/test rocm-notebooks-e2e-tests

Great work Jiri!
/lgtm

/approve

/override ci/prow/images

/override ci/prow/images

/override build (rocm-jupyter-pytorch-ubi9-python-3.9) / build

/override "build (rocm-jupyter-pytorch-ubi9-python-3.9) / build"

/override "build (rocm-jupyter-pytorch-ubi9-python-3.11) / build"

/override ci/prow/notebook-rocm-jupyter-pyt-ubi9-python-3-11-pr-image-mirror

/override ci/prow/notebook-rocm-jupyter-pyt-ubi9-python-3-9-pr-image-mirror
/override ci/prow/notebook-rocm-jupyter-tf-ubi9-python-3-11-pr-image-mirror
/override ci/prow/notebook-rocm-jupyter-tf-ubi9-python-3-9-pr-image-mirror

/override ci/prow/rocm-notebooks-e2e-tests


Add scroll bars

Thanks, that makes sense. Thanks for this, I'm merging this now, and also adding you to as a committer.

Thanks for the collaborator invitation!


fix: Check if a PolyFunction TypeTree has no ByName parameters

closes #21652

I see that there is already Checking.checkPolyFunctionType that is supported to check that. So I'm wondering: couldn't we just comment the assertion in PolyFunctionOf.apply, and let PostTyper check that? I tried and it seems to work for this specific example:
-- Error: test.scala:1:8 -------------------------------------------------------
1 |def k: [A] => (=> A) => A = // error
  |        ^^^^^^^^^^^^^^^^^
  |Implementation restriction: PolyFunction apply must have exactly one parameter list and optionally type arguments. No by-name nor varags are allowed.
1 error found

Good idea, less code is always better. I'm not sure about removing the assertion entirely. These types of assertions are pretty useful so that when something crashes, the error is thrown pretty early and not in an unrelated phase. Maybe just the byname and varargs part?

Hmmm, actually it doesn't work for me. It compiles without any errors by default and crashed after some later phase with -Ycheck:all

Strange, have we tried the same change?
➜  ~/dotty git:(main) ✗ cat 21671.scala
def k: [A] => (=> A) => A = // error
   [A] => a => a
➜  ~/dotty git:(main) ✗ git rev-parse HEAD
c33276637e39e71c13e049d907b239d03a98ad5d
➜  ~/dotty git:(main) ✗ git --no-pager diff
diff --git a/compiler/src/dotty/tools/dotc/core/Definitions.scala b/compiler/src/dotty/tools/dotc/core/Definitions.scala
index f95bb3cea3..c5b7aa5897 100644
--- a/compiler/src/dotty/tools/dotc/core/Definitions.scala
+++ b/compiler/src/dotty/tools/dotc/core/Definitions.scala
@@ -1221,7 +1221,7 @@ class Definitions {

     /** Creates a refined `PolyFunction` with an `apply` method with the given info. */
     def apply(mt: MethodOrPoly)(using Context): Type =
-      assert(isValidPolyFunctionInfo(mt), s"Not a valid PolyFunction refinement: $mt")
+      //assert(isValidPolyFunctionInfo(mt), s"Not a valid PolyFunction refinement: $mt")
       RefinedType(PolyFunctionClass.typeRef, nme.apply, mt)

     /** Matches a refined `PolyFunction` type and extracts the apply info.
➜  ~/dotty git:(main) ✗ sbt "scalac 21671.scala"
...
-- Error: 21671.scala:1:8 ------------------------------------------------------
1 |def k: [A] => (=> A) => A = // error
  |        ^^^^^^^^^^^^^^^^^
  |Implementation restriction: PolyFunction apply must have exactly one parameter list and optionally type arguments. No by-name nor varags are allowed.
...

Oooh, actually nevermind. It works, but the isValidPolyFunctionInfo is reused in Checking, so just removing the by-name and vararg checks doesn't work.


Is it possible to do lip sync without audio?

I'm just curious whether if its possible to just have mouth_source and input to generate a video, where the audio source can be ignored (be None). Similar to how lips sync works. I tested on mine and it didn't work.
Sorry to bother you again. I tried to figure out by looking through the codes but that didn't help.

Hi, this is a very good question! The original design of this framework supports this kind of application, just like my first paper (See my first repo). But during the final training stage of this project, we neglect the video stream to ensure that our model performs perfectly given audio conditions only (this is the most important part when formulating this paper).
Slight audio-visual mixed fine-tuning on the training set should be able to achieve this, and I will try this when I have time. But for now, the model does not support this setting.


Add recovery for failed auto-failover

Added logic to handle a failed auto-failover. A forced failover will
be triggered on a healthy follower.

Test
Time
Data/node

TestRollingUpdate
619.723s
1.9GB

Test
Time
Data/node

TestRollingUpdate
592.337s
1.9GB


Parse the CookieHandler request cookies in JavaNetCookieJar.

This brings the tests to all pass on Android.
Closes: https://github.com/square/okhttp/issues/2202

LGTM


feat(link): add proto_paths support

Summary:
Previously, this pr[3206] only processed the proto_paths during gen, but when using tailcall start, there will still be path problems, so it is necessary to save the proto_paths information on the link to ensure that the path can be processed correctly during tailcall start.
Config:
{
  "inputs": [
    {
      "proto": {
        "src": "news.proto",
        "url": "http://localhost:50051",
        "protoPaths": ["tailcall-fixtures/fixtures/protobuf"]
      }
    }
  ],

  ...
}

Output:
schema
  @server
  @upstream
  @link(
    src: "news.proto"
    # new attr
    proto_paths: ["tailcall-fixtures/fixtures/protobuf"]
    type: Protobuf
  ) {
  query: Query
}
...

Issue Reference(s):
None
Build & Testing:

[x] I ran cargo test successfully.
[x] I have run ./lint.sh --mode=fix to fix all linting issues raised by ./lint.sh --mode=check.

Checklist:

[ ] I have added relevant unit & integration tests.
[ ] I have updated the documentation accordingly.
[ ] I have performed a self-review of my code.
[ ] PR follows the naming convention of <type>(<optional scope>): <title>

@DLillard0 Thanks for the PR! Our goal ultimately is to drop link from the GraphQL configuration. I have talked about it in detail over here - https://tailcall.run/blog/migrating-to-graphql-configuration-v2/
We basically two options now:

Generate a file with just the schema information without any links.
Generate two files: a main.graphql and a main.yml (for links).

I prefer Option 1 because its a lot simpler to work with. Let me know what you think?

@tusharmath I also agree with Option 1. If there is a real need for modular configuration management, can we also implement the current link functionality by providing an additional library? This will decouple it from the current library and reduce the current complexity.
Is there a timeline for removing the link from the GraphQL configuration?

I also agree with Option 1. If there is a real need for modular configuration management, can we also implement the current link functionality by providing an additional library?

It's always nice to organize configurations into smaller files. In large organizations, these files are owned and maintained by individual teams. Link functionality still exists however it is only available in the YML/JSON format.

Is there a timeline for removing the link from the GraphQL configuration?
This feature has already been shipped, you can try it out.

@tusharmath I have two more questions.

Is there any way to generate a  YML/JSON configuration file? like tailcall gen?
Moving the Link functionality to the configuration file also seems to require dealing with the path problem of GraphQL dependencies. It seems that Link still needs to support proto_paths.

Is there any way to generate a YML/JSON configuration file? like tailcall gen?

Not via tailcall gen. But I don't think these are very complicated to hand-write.

Moving the Link functionality to the configuration file also seems to require dealing with the path problem of GraphQL dependencies. It seems that Link still needs to support proto_paths.

You are right, we need to still update config::link.rs to support proto_path. However, I think the generated file should not contain any @link directives.

Thanks for your answer!

I deleted the generate related code and only left the support for proto_paths in parsing link config. Is this ok? Or do you have plans to support proto_paths in another way?

Thanks @DLillard0 Can you update the docs with the proto_paths information also - https://github.com/tailcallhq/tailcallhq.github.io

Ok, I'll add more information later.


Does not work as intended?

Hi!
I wanted to replace the tutorial line with this but my line is reduced to the default one:

previously I added many THREE vector3 to the path attribute.
I also noticed that my log is spammed with lines by the component. It would be nice if this could be removed.

This is unfortunately not very helpful. Please be more specific.


User with Org Auditor role can't see all spaces across the ORG

History
Initially submitted to https://github.com/cloudfoundry/docs-cloudfoundry-concepts/issues/156 but then it was moved to slack at https://app.slack.com/client/T02FL4A1X/C07C04W4Q/thread/C07C04W4Q-1621450296.008000.
Issue
Our use case, we want a single user with ORG auditor role to be able to retrieve all the events for an ORG (doable now) and to be able to take the SPACE GUID for each event to get the SPACE NAME to include it in our daily "event report". Do to the SPACE NAME part now, we have to remember to add the user account to every space.
Expected result
We'd want an ORG auditor to be able to see all SPACE names in the ORG .

Hi @coobr01 thanks for filing this issue with us. When you say Do to the SPACE NAME part now, we have to remember to add the user account to every space I'm not sure exactly what command you are running, and what the expected result is.
Can you please when you have a chance update this issue with the API endpoints that you are using? Here's the documentation for the latest released version of CAPI: https://v3-apidocs.cloudfoundry.org/version/3.101.0/index.html
In addition, could you let us know which API version you are currently using?

Hello @elenasharma I'm using GSA's cloud.gov instance which is running 3.101.0.
Sorry, the "Do to the SPACE NAME part now, we have to remember to add the user account to every space." could be re-written to be "To work around this cloud foundry limitation, we have to remember to add the user account that is running the script to every space so that it can query for the space name". Just seems odd to have to do that considering the user account running the script can already see all the events for the space as they have ORG Auditor role. Seems like they should also be able to get the SPACE NAME without having to be added to every space explicitly.

Thanks for that additional information @coobr01 . When you say that the user running the script can see all events for the space, which API endpoint is being used? Is it GET /v3/audit_events or it it another endpoint?

@elenasharma sorry for misunderstanding, yes, i'm using /v3/audit_events.


Fix custom field sending in new ticket webhook

There was a race condition with custom field value object creation where the webhook was being called before the custom values were set in the DB. If anyone has a better idea on how to fix this race then please speak up. This seems to work, but I'm still testing thus the WIP status.

This seems to work, so can be merged now.

Oops, should be fixed now.


Add mix function, using Sass algorithm

This PR implements the mix function as it's implemented in sass.
Please excuse the poor test names.  I used the same tests as they're written in Sass, which don't have names for the individual tests.

Thanks again for your work. I will publish the lib as fast as possible


Header value of current state for future forecasts

When showing charts for future e.g. forecast or future electricity price the header shows value of the last of the series.
I would like to see a feature to show current state of the sensor in header. This is what "now" setting does, but in header it would be nice too se value itself.
Here is the picture. I can see the "now" line there, but the header shows the electricity price for the last value of the series.

found solution:
    series:
      - entity: sensor.nordpool_current_eur_kwh
        show:
          in_header: before_now

@IlmLV Wow. Thanks!
I actually also got around this by adding another series but didn't draw a graph for them and then hide header for the first one.
series:       - entity: sensor.nordpool_current_eur_kwh         show:           in_chart: false


Remove version: Daum.PotPlayer version 230405

Checklist for Pull Requests

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

Manifests

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

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

Microsoft Reviewers: Open in CodeFlow

URL: https://t1.daumcdn.net/potplayer/PotPlayer/Version/230405/PotPlayerSetup64.exe
Status Code: 200
(Automated message - build 871)


Code Mirror Integration

Added Syntax highlighting through CodeMirror

This is super nice! I was thinking on adding a toggle in case people don't want to wait the extra 100ms to load CM, but this seems to be fast, really fast.
One minor issue i've see testing: long content seems to break the layout:

May be you can take a look at that? Excellent work all the same :D

Ah cool - I hadn't checked that. Should be as simple as matching the CSS rules from the textarea on the CodeMirror element. I'll take a look and create a new PR.

Done - think that should work

Perfect! It's pushed to the Chrome Store, v0.5
https://chrome.google.com/webstore/detail/sketchtab/ioonoapnncbgnhjfjipkfbkpkogmknlm
Thanks so much!


Visual Studio Code c# extensions are not working on my Surface Pro X

Visual Studio Code c# extensions are not working
##start debugging ##
debugging is working
debugging is not working
Logs
OmniSharp log

Starting OmniSharp server at 9.1.2021, 14:06:56
    Target: c:\Temp\TEST
OmniSharp server started.
Path: c:\Users\andre.vscode\extensions\ms-dotnettools.csharp-1.23.8.omnisharp\1.37.5\OmniSharp.exe
PID: 5344
Das System kann den angegebenen Pfad nicht finden.
[ERROR] Error: OmniSharp server load timed out. Use the 'omnisharp.projectLoadTimeout' setting to override the default delay (one minute).

C# log

Cannot create .NET debug configurations. The OmniSharp server is still initializing or has exited unexpectedly.

Environment information
VSCode version: 1.52.1
C# Extension: 1.23.8
Dotnet Information
.NET SDK (gem�� "global.json"):
 Version:   5.0.101
 Commit:    d05174dc5a
Laufzeitumgebung:
OS Name:     Windows
OS Version:  10.0.19042
OS Platform: Windows
RID:         win10-arm64
Base Path:   C:\Program Files\dotnet\sdk\5.0.101\
Host (useful for support):
Version: 5.0.1
Commit:  b02e13abab
.NET SDKs installed:
5.0.101 [C:\Program Files\dotnet\sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 5.0.1 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 5.0.1 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
To install additional .NET runtimes or SDKs:
https://aka.ms/dotnet-download

Visual Studio Code Extensions

Extension
Author
Version

cpptools
ms-vscode
1.1.3

csharp
ms-dotnettools
1.23.8

csharpextensions
jchannon
1.3.1

csharpextensions
kreativ-software
1.3.6

This is a dupe of https://github.com/OmniSharp/omnisharp-vscode/issues/3006

This is a dupe of https://github.com/OmniSharp/omnisharp-vscode/issues/3006


How to connect dropzone in fastapi

First Check

[X] I added a very descriptive title to this issue.
[X] I used the GitHub search to find a similar issue and didn't find it.
[X] I searched the FastAPI documentation, with the integrated search.
[X] I already searched in Google "How to X in FastAPI" and didn't find any information.
[X] I already read and followed all the tutorial in the docs and didn't find an answer.
[X] I already checked if it is not related to FastAPI but to Pydantic.
[X] I already checked if it is not related to FastAPI but to Swagger UI.
[X] I already checked if it is not related to FastAPI but to ReDoc.

Commit to Help

[X] I commit to help with one of those options 👆

Example Code
n/a

Description
n/a
Operating System
Windows
Operating System Details
window 10 pro
FastAPI Version
latest
Python Version
3.9.8
Additional Context
Is there anyway to connect dropzone in fastapi. I search everywhere but no be able to find it. If someone can help me by posting examples or code it will be helpful
Thanks

dropzone is javascript library which help in upload file
i am struggling with saving file in a download folder

Well that peeked my interest. Here is a full working example:
from fastapi import FastAPI, UploadFile
from fastapi.responses import HTMLResponse

app = FastAPI()

@app.get("/")
async def root():
    return {"hello": "world"}

html = """

    <title>Some Upload Form</title>

"""

@app.get("/form")
async def present_form():
    return HTMLResponse(html)

@app.post("/uploadfiles")
async def create_upload_files(uploaded_files: list[UploadFile]):
    for file in uploaded_files:
        print(f"File uploaded: {file.filename}")

if __name__ == "__main__":
    import uvicorn

    uvicorn.run(app, host="<IP_ADDRESS>", port=8000)

The endpoint /form will present you with the most basic form there is with Dropzone. It is configured to upload files to the /uploadfiles endpoint (which is a post method).
On the FastAPI side, you will receive a UploadFile object, which you can store wherever and name whatever you want. I left out the storage part, as it's not required to demonstrate how to couple Dropzone with FastAPI.
Please close this issue if this answers your question.

Well that peeked my interest. Here is a full working example:
import aiofiles
from fastapi import FastAPI, UploadFile
from fastapi.responses import HTMLResponse

app = FastAPI()

@app.get("/")
async def root():
    return {"hello": "world"}

html = """

    <title>Some Upload Form</title>

"""

@app.get("/form")
async def present_form():
    return HTMLResponse(html)

@app.post("/uploadfiles")
async def create_upload_files(uploaded_files: list[UploadFile]):
    for file in uploaded_files:
        async with aiofiles.open(f"uploaded_files/{file.filename}", "wb") as out_file:
            content = await file.read()
            await out_file.write(content)
        print(f"File uploaded: {file.filename}")

if __name__ == "__main__":
    import uvicorn

    uvicorn.run(app, host="<IP_ADDRESS>", port=8000)

The endpoint /form will present you with the most basic form there is with Dropzone. It is configured to upload files to the /uploadfiles endpoint (which is a post method).
On the FastAPI side, you will receive a UploadFile object, which you can store wherever and name whatever you want. In this example, it is stored in uploadedfiles/ folder, which is relative from your current working directory (from where Uvicorn is run).
To try this out: run the above code, go to localhost:8000/form, drop a file in there and check your Uvicorn logs (it should say "File uploaded: ").
Please close this issue if this answers your question.

brooo thank you so much it really work

hi i have also a question that after uploading i need to send random quote from python to webpage so how can i do it @JarroVGIT

You can return a value in FastAPI, something like this:
    return {
        "uploaded": [file.filename for file in uploaded_files],
        "random_string": "randomstringhere..",
    }

And in your dropzone config, you can catch this on success:

The above sample simply writes it to the console of your browser but you can do whatever with the return value of FastAPI there. But this goes well beyond the scope of this project, so I would suggest to move any further questions related to Dropzone to StackOverflow or to its specific repo.

You can return a value in FastAPI, something like this:
    return {
        "uploaded": [file.filename for file in uploaded_files],
        "random_string": "randomstringhere..",
    }

And in your dropzone config, you can catch this on success:

The above sample simply writes it to the console of your browser but you can do whatever with the return value of FastAPI there. But this goes well beyond the scope of this project, so I would suggest to move any further questions related to Dropzone to StackOverflow or to its specific repo.

thanks mate you just save my tons of time

Wow, you owe @JarroVGIT a coffee haha ☕
Thanks for the discussion, help, and for coming back to close the issue!

@JarroVGIT for the last time i have questions 😁
i am developing a website where user will send file and it gets uploaded to anonfiles website (i am using a anonfile python module) firstly i was using mediafire but it didn't work with video because it maybe so slow to recieving file from dropzone
here is my code
main.py
`from typing import List
import uvicorn
from fastapi import FastAPI, File, Request, UploadFile
from fastapi.templating import Jinja2Templates
from bs4 import BeautifulSoup
import requests
from anonfile import AnonFile
from utils import direct_link, direct_link_anon
app = FastAPI()
templates = Jinja2Templates(directory="templates/")
def direct_link_anon(link):
down_link1 = link
r1 = requests.get(down_link1)
soup1 = BeautifulSoup(r1.content, "html.parser")
a_href1 = soup1.find("a", {"id": "download-url"}).get("href")
a1 = str(a_href1)
print(a1)
return a1
@app.post("/")
async def create_upload_files(uploaded_files: list[UploadFile]):
for files in uploaded_files:
anon = AnonFile()
upload = anon.upload(files.file)
link = upload.url.geturl()
result=direct_link_anon(link)
download = "Download"
return {'download': download,'result': result}
@app.get("/")
async def main(request: Request):
return templates.TemplateResponse('index.html',context={'request': request})
uvicorn.run(app)
index.html

file uploading

@JarroVGIT having problem again 😀
i currently making a website where user send the file and get uploaded to anonfile website (i am using anofile python module) before anonfile module i was using mediafire module but it didn't work with video files so i shift to anonfile module
here is the code
app.py
from typing import List
import uvicorn
from fastapi import FastAPI, File, Request, UploadFile
from fastapi.templating import Jinja2Templates
from bs4 import BeautifulSoup
import requests
from anonfile import AnonFile
from utils import direct_link, direct_link_anon

app = FastAPI()
templates = Jinja2Templates(directory="templates/")

def direct_link_anon(link):
  down_link1 = link
  r1 = requests.get(down_link1)
  soup1 = BeautifulSoup(r1.content, "html.parser")
  a_href1 = soup1.find("a", {"id": "download-url"}).get("href")
  a1 = str(a_href1)
  print(a1)
  return a1

@app.post("/")
async def create_upload_files(uploaded_files: list[UploadFile]):
    for files in uploaded_files:
        anon = AnonFile()
        upload = anon.upload(files.file)
        link = upload.url.geturl()
        result=direct_link_anon(link)
        download = "Download"
    return {'download': download,'result': result}

@app.get("/")
async def main(request: Request):
    return templates.TemplateResponse('index.html',context={'request': request})

uvicorn.run(app)

index.html

    <title>file upload</title>

maybe you can help

I am sorry, this is really far from out of scope of a FastAPI issue. Please post your question on StackOverflow, thanks.

ok

Thanks for coming back to close the issue @CYCNO ☕


⚠ PassThePopcorn has degraded performance

In 603b66a, PassThePopcorn ($PTP) experienced degraded performance:

HTTP code: 200
Response time: 16478 ms

Resolved: PassThePopcorn performance has improved in 43092b2 after 12 minutes.


crc16_ansi() isn't CRC-16-ANSI

Describe the bug
It appears that the crc16_ansi() function (introduced in bd75219b) does not actually implement CRC-16-ANSI.
According to Wikipedia, CRC-16-IBM is the same thing as (aka) ANSI, Modbus, etc... poly: 0x8005, init: 0xffff, reversed: yes.
Online calculators (e.g: crccalc.com) and other implementations (e.g: crc16-ansi) agree with each other.
Within Zephyr, this function is only used by subsys/net/lib/dns/resolve.c and tests (which appear to use incorrect constants)... the DNS subsys only actually uses the CRC for internal identification of a request/response, so its value is not validated.
Note also that the Modbus subsys implements its own (correct) CRC function: modbus_rtu_crc16().
I suspect that this may be a "reflected" (aka reversed) vs. "not reflected" issue, but I've not pursued that at this time.
Am I misunderstanding here? (i.e: is this function correct? misnamed?)
To Reproduce
Use the attached files - crc-test.zip.

unzip crc-test.zip
cd crc-test
gcc crc-test-zephyr.c -o crc-test-zephyr
gcc crc-test-other.c -o crc-test-other
./crc-test-zephyr
./crc-test-other

Expected behavior
Output of ./crc-test-zephyr and ./crc-test-other should match.
Impact
I was planning to use crc16_ansi() in my application, but it provides incorrect values... I've re-implemented modbus_rtu_crc16() instead.
As noted above, this isn't actually used in the Zephyr code base in any meaningful way, but it could be used by applications. Similarly to the DNS use-case above, internal integrity checking would be mostly unaffected (though for example, existing non-volatile storage may appear to be corrupt after a firmware update)... I suspect that anyone using this function with other systems will have issues.
Logs and console output
$ git clone --depth 1 https://github.com/bd2357/crc16-ansi.git
Cloning into 'crc16-ansi'...
remote: Enumerating objects: 307, done.
remote: Counting objects: 100% (307/307), done.
remote: Compressing objects: 100% (257/257), done.
remote: Total 307 (delta 16), reused 306 (delta 16), pack-reused 0
Receiving objects: 100% (307/307), 1.79 MiB | 0 bytes/s, done.
Resolving deltas: 100% (16/16), done.
Checking connectivity... done.
$ gcc crc-test-zephyr.c -o crc-test-zephyr
$ gcc crc-test-other.c -o crc-test-other
$ ./crc-test-zephyr
[hello world] --> 0x971b
68 65 6c 6c 6f 20 77 6f 72 6c 64
$ ./crc-test-other
[hello world] --> 0xddc7
68 65 6c 6c 6f 20 77 6f 72 6c 64

Thanks for reporting this. You are completely right, I will submit a fix.

@carlescufi - no problem, thanks for confirming and taking it on.


Linked enum references have incorrect link text

When looking at the MenuCommands Vs. OleMenuCommands page, I see that the source "MenuCommand Property | OLECMDF flag" table has the wrong data in the OLECMDF flag column:

MenuCommand Property
OLECMDF flag

xref:System.ComponentModel.Design.MenuCommand.Checked* = true
xref:Microsoft.VisualStudio.OLE.Interop.OLECMDF

xref:System.ComponentModel.Design.MenuCommand.Visible* = false
xref:Microsoft.VisualStudio.OLE.Interop.OLECMDF

xref:System.ComponentModel.Design.MenuCommand.Enabled* = true
xref:Microsoft.VisualStudio.OLE.Interop.OLECMDF

Compare that to the correct original MSDN docs, which has different values in the OLECMDF flag column:

MenuCommand Property
OLECMDF flag

Checked = true
OLECMDF_LATCHED

Visible = false
OLECMDF_INVISIBLE

Enabled = true
OLECMDF_ENABLED

It would be simple to fix this one issue, but I doubt the issue only happens in this one file.
It seems that when HTML anchors were converted to markdown xref tags, the link text was ignored‽
Maybe the bug in the conversion tool could be fixed, and then the delta could be merged back into this documentation?

@darthwalsh thanks for reporting this. Unfortunately I have seen this issue with other enumeration references too, so it is systemic. @gregvanl could you fix this one and any other enumeration references you can find in extensibility docs?

@gregvanl I'm assigning this back to you since no-one picked it up in the PM bootcamp.

Updated to show values as there are no individual enum value pages on dotnet/api.

@gregvanl this is a way to reference enum values:
Visible


Tag new release for Laravel 11 support

Hey, thanks for updating dev-main with Laravel 11 support. Any chance you could tag a stable release?

Done my friend :-) https://github.com/eneadm/ladder/releases/tag/v1.2.3

Legend, thanks!


[WIP] Add Information about database connections over SSL

This adds documentation for database connections using SSL. Feel free to suggest any edits to wording / flow.
Currently it's a work in progress as I'd like to confirm my assumptions with regards to Custom SSL certificates.

Um. I got a little click-happy there. @pysysops sorry - do you want me to revert? Doesn't seem critical to have this info alreayd live I dont think?


HDDS-9374. RangeKeysGenerator freon tool should support objects creation >2GB

What changes were proposed in this pull request?
To address the current limitation in RangeKeysGenerator, which restricts object creation to a maximum size of 2 GB by utilizing ContentGenerator.
This approach involves writing random keys from a finite buffer, rather than using the existing RandomUtils#nextBytes method, consequently resolving the issue of accommodating long values for objectSizeInBytes.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-9374
How was this patch tested?

Existing robot tests should cover the code changes.
Green CI/CD checks: https://github.com/tanvipenumudy/ozone/actions/runs/6391542021
Tested the changes manually with 4 GB object size:

$ ozone sh volume create voltest
$ ozone sh bucket create --layout FILE_SYSTEM_OPTIMIZED voltest/buckettest
$ ozone freon ork -n 1 -t 1 --size<PHONE_NUMBER> -v voltest -b buckettest -p test
...
$ ozone fs -ls ofs://ozone/voltest/buckettest/test
Found 1 items
-rw-rw-rw-   3 root root<PHONE_NUMBER> 2023-10-03 11:19 ofs://ozone/voltest/buckettest/test/cfcd208

Merged, Thanx @tanvipenumudy for the contribution!!!

Thank you @ayushtkn for the review!

Side note: maybe in future we should explore allowing data units for --size rather than bytes like 3GB, 100MB or so, should be easier to use.

I agree - created a Jira: HDDS-9393 for addressing this suggestion, thank you!


Cannot read a table with a byte field

I'm trying to read the table tRelais in this mdb:
https://u.pcloud.link/publink/show?code=XZu5EHVZVqot9BBBU7FMwQHIVSJ4zHIwB9i7
If I read this table with "sysinfotool MDB file viewer 20.0", I read a full table with no empty data. But, if I read with this library, I found many empty object:
{NoEngageRelais: 1487, NoEngagement: 44242, NoSerieTour: 8096, NoAthlete: 13310, NoOrdreRelais: null}
{NoEngageRelais: 1488, NoEngagement: 44242, NoSerieTour: 8096, NoAthlete: null, NoOrdreRelais: null} ...

The field NoOrdreRelais has the type octet in french language... It is a small int with 8bits.
My script:
function loadRelais (reader) {
  let cmtrelays = new Map()
  const table = reader.getTable('tRelais')
  let rows = table.getData()
  for (let row of rows) {
    console.log(row)
    let uid = row.NoEngageRelais
    let noEngagement = row.NoEngagement
    let serieTour = row.NoSerieTour
    let athUID = row.NoAthlete
    let ord = row.NoOrdreRelais
    cmtrelays.set(uid, { uid, noEngagement, serieTour, athUID, ord })
  }
  return cmtrelays
}

:wave: Hello again,
I was able to reproduce the issue. The problem seems to be that that row thinks it has more variable columns than total columns.
How was this table created? Was there a lot of altering and moving of the columns? Are you able to reproduce such broken table from scratch?
I'll hope I find time next week to investigate this further. There seems to be a related issue when only a subset of columns is read...

Hello,
This table is created by an access application developed by a french company 20 years ago and maintained until now. When you say "only a subset of columns is read", which alternative is available ?

20 years ago and maintained until now.

Yeah, I noticed that. Can't even open the file in a current Microsoft Access :(

When you say "only a subset of columns is read", which alternative is available ?

This is probably unrelated to your problem. It might lead to the same result (null values), but when calling getData() with a columns option. I need to do more investigation around this.
I don't see any workaround at the moment.

I've a computer with XP and Access97. This table is the one with this short int. Are you sure this type of data is well read ?

Yes, the column definitions are read correctly. If not, you would get null everywhere.
The issue is that fixedColumnCount becomes a negative number (https://github.com/andipaetzold/mdb-reader/blob/a9847d67ec2033b3cc8cdd0f61004d95e917dbda/src/Table.ts#L318) because variableColumnCount is greater than totalVariableCount. If that happens, we end up in the else branch (https://github.com/andipaetzold/mdb-reader/blob/a9847d67ec2033b3cc8cdd0f61004d95e917dbda/src/Table.ts#L350-L352) when reading the row and the value becomes null.

Hello,
When i read this table, I miss 1 column (NoOrdreRelais) for the first row, then I miss two columns (NoAthlete, NoOrdreRelais), then 3 columns (NoSerieTour, NoAthlete, NoOrdreRelais), then 4 columns and then it loop again with one column missing, then two.... The written values are correct.
relais {
NoEngageRelais: 228,
NoEngagement: 1222,
NoSerieTour: 444,
NoAthlete: 666,
NoOrdreRelais: null
}
relais {
NoEngageRelais: 229,
NoEngagement: 1222,
NoSerieTour: 444,
NoAthlete: null,
NoOrdreRelais: null
}
relais {
NoEngageRelais: 230,
NoEngagement: 1222,
NoSerieTour: null,
NoAthlete: null,
NoOrdreRelais: null
}
relais {
NoEngageRelais: 231,
NoEngagement: null,
NoSerieTour: null,
NoAthlete: null,
NoOrdreRelais: null
}

The table in Access97 have 5 fields:

NoEngageRelais: AutoNumber
NoEngagement: Numeric
NoSerieTour: Numeric
NoAthlete: Numeric
NoOrdreRelais: Numeric

All columns are defined and set.

I think I found the issue. Seems like this was just a small mistake in the Jet3 format configuration.
The new version should release any minute. Please let me know if you still run into issues with the latest update.

Hello,
I tried this morning and everything is ok. Good job.
Thanks for your great work.


DAO Voting Application

Application Description
This application will be a smart contract application implementing DAO voting.  Stakeholders (Owners of some specified governance token) will be able to create and vote on proposals by locking their governance tokens in the contract.  Stakeholders voting power is proportional to the amount of governance tokens locked inside of contract.
Motivation
DAO voting is an important mechanism which facilitates the coordination of multiple stakeholders in a project/protocol.
Features

[x] #76
[ ] #77
[x] #175

Additional context
Without Vec I can't think of a way to dynamically add proposals to the smart contract after deployment.  The contract could contain one proposal or a list of proposals to be voted on (passed into constructor) which is inefficient, but may have to do for now.

By "user interface related" do you mean frontend stuff or more like how the user will interact with the application from the smart contract level, such as an abi?

@Braqzen By "user interface related" do you mean frontend stuff or more like how the user will interact with the application from the smart contract level, such as an abi?

Front-end.
Sway vs non-sway related issues. Each can then be broken down further into sub-issues and workflows

Closing in favor of https://github.com/FuelLabs/sway-applications/issues/77


[Shadowrun5thA] fix second drone weapon

Changes / Comments
Roll20 Requests
Comments are very helpful for reviewing the code changes. Please answer the relevant questions below in your comment.

[x] Does the pull request title have the sheet name(s)? Include each sheet name.
[x] Is this a bug fix?
[ ] Does this add functional enhancements (new features or extending existing features) ?
[ ] Does this add or change functional aesthetics (such as layout or color scheme) ?
[ ] If changing or removing attributes, what steps have you taken, if any, to preserve player data ?
[ ] If this is a new sheet, did you follow Building Character Sheets standards ?

If you do not know English. Please leave a comment in your native language.

Character Sheet Info Roll20 Internal Use only.

Fixes https://github.com/Roll20/roll20-character-sheets/issues/10197

@Stexinator I think there is a conflict between this and the other PR I merged today. @ me when it's resolved and I'll pull.


Press backspace with no input, the browser back

When there is no input text and I press backspace key, the browser page is back.
It is happen in jsFiddle.
Even If there are tags, it is happen.
I checked it on IE and Firefox.

Thanks for letting me know. No idea how this wasn’t detected before o.O.

I still see this happen in firefox with version 2.1.6 of vue-multiselect ...

@shentao, this is still an issue on version 3.0.0 in FF v126.0.1. This issue needs to be re-opened.


any way to make a mouse-clickable image button?

I would like to make a grid of (thumb) images using ofxGuiGraphics clickable to load/enable an item...
could this be done in some way?

maybe could create a new control (extending ofxGuiGraphics) like mentioned on the readme?
Adding controls
Controls get automatically created whenever you add a parameter to the GUI.
panel->add(moving);    // creates a toggle
...
You can also add a specific control (this is very useful if you implement your own control classes):
panel->add<ofxGuiLabel>("labeltext");
panel->add<yourControlElementClass>(/* contructor parameters of control element class */);

Anybody know how to do it?

Hi @moebiussurfing, sorry I missed a lot of notifications for this repo.. I'll try to take a day off soon where I will look into some open issues. Impossible to make any promises though. Sorry.

There are now two new options for any element: background-image and background-size. With the first you specify the path to an image (relative to bin or absolute should work), and background-size can be either scale, cover, or contain. I added their descriptions to the README. The different sizings are demonstrated here. There are also methods to set them not by JSON but via API, I did not test them though..
Since you can't directly set the size for a button currently, use the padding to adjust it, see example.
Let me know if you run into any issues!

thanks @frauzufall !

I pulled into my fork and it worked perfectly. thanks again.


Add explicit support for Python 3.11

What is the expected enhancement?

[ ] Add Python 3.11 to list of Trove classifiers in client/setup.py
[ ] Add 3.11 to list of supported Python versions in badge in README.md
[ ] Add 3.11 to list of supported Python versions in badge in client/README.md
[ ] Enable testing on Python 3.11 in CI (?)

Ray doesn't have a Python 3.11 image just yet, so had to revert this in #560 ... will revert the revert (?) once the support is there

Now that we've updated Ray to v2.6.2 in #867 we can revisit adding python 3.11 support as those images now exist at https://hub.docker.com/r/rayproject/ray/tags?page=1&name=2.6.2-py311

@psschwei Can we assign this to the future milestone not to forget?

It's hard to say what milestone (unless we have a backlog one?), since Ray doesn't have a date for when they'll move out of experimental.... probably best to just drop the milestone for now and revisit if/when it gets there in Ray.

As of Ray 2.9.0, Python 3.11 support is still experimental...
https://github.com/ray-project/ray/blob/8919bf0d1f12b6fbf515b6364c873544cf0ca25b/doc/source/ray-overview/installation.rst?plain=1#L103

Hit an async error when running a quantum-serverless job using Python 3.11, so this one still isn't ready for prime time

Last news from python version support:
https://github.com/ray-project/ray/issues/42343#issuecomment-1995969824
We can expect:

python 3.8 deprecation for ray > 2.10 / 2.11
end of march support for python 3.11? Not sure

I think once we merge https://github.com/Qiskit/qiskit-serverless/pull/1272 we can add in Python 3.11 for the client

I'm going to add this for June, thanks @psschwei 👍

#1343 is the new one we need in order to support Python 3.11


Added my tool Dokyu Motion for consideration

Dokyu Motion — Dokyu simplifies motion design in After Effects so any editor can tell stories that won′t be ignored.

Checklist

[x] I made something good today 💐.
[x] I put links in the correct format: [Tool](link) — description.
[x] My description starts with the lower-case letter and ends with the full stop.
[x] I put the tool in the alphabetical order.

Optional

[x] I added the appropriate labels: free, open-source or mac.
[x] I put the tool only to one category.
[x] I followed Contribution Guidelines.

Thanks for your contribution!

Thanks Valia!
On Mon, Sep 2, 2019 at 10:33 AM Valia Havruliyk<EMAIL_ADDRESS>wrote:

Thanks for your contribution!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/LisaDziuba/Awesome-Design-Tools/pull/233?email_source=notifications&email_token=AAXON2VJL3HWEWF3BQ6ZL63QHTMXVA5CNFSM4ISV4V7KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5VJAVY#issuecomment-527077463,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAXON2UFZSAS6DLEYVVPGSDQHTMXVANCNFSM4ISV4V7A
.


create template UI for inventory system

it may not be entirely obvious that Strange uses an advanced inventory system without showing it on screen, therefore i think it is time to create a template UI for an inventory menu.

A Inventory UI is currently in development. however at the moment, it only displays the contents of the inventory and the buttons do nothing.
Eventually i would like to implement Equipping items through the inventory.

template UI completed in v0.7


Feat/adhaar dylib

Aadhaar with dylib. Should work without being plugged in to laptop.
Don't merge this; dylib hardcoded, not par of build process.
(part of zkhack https://devfolio.co/projects/two-and-a-half-zk-pocketaadhaar-and-pocketkimchi-a8a6)

Out of date with recent work


Clean command seems to just segfault.

How Odd! Mine works completely fine:

Weirdness, I'll valgrind and post what shows up and I'll see if I can tackle it from there, many of the commands segfault aswell if no default bin is provided. Maybe I'm on an old version let me update aswell.

==3138435== Invalid read of size 1
==3138435==    at 0x401BF5: run_whiteboard (run_bin.c:79)
==3138435==    by 0x4012B0: main (main.c:43)
==3138435==  Address 0x0 is not stack'd, malloc'd or (recently) free'd

Updating did nothing aswell so let,s see what the hell this is.

        if (value == NULL && !value->default_bin) {
            errx(1, "Can't find a build by that name\n");
            break;
        } else if (value == NULL && value->default_bin) {
            errx(1, "There are no default builds\n");
            break;
        }

This was never fixed I think?

        if (value == NULL && !value->default_bin) {

Line 79

How Odd! Mine works completely fine:

Can you try with only one clean?

When I took that image, I cleaned once, then built again, then did the 8x clean thing, and neither of those caused a segfault, but I think I brought up those lines of code privately and mentioned that, should value be NULL, both that line and the other else-if after it are guaranteed segfaults. I think maybe you typoed and meant to use args or something back when you wrote it?


Compatibility with Ray and XGBoost

I am planning to use xgboost_ray for a specific XGBoost version (1.7.1) How can I know whether xgboost_ray is compatible or not. Similar like Ray itself. Could maintainer provide a compatibility matrix?

We aim to be compatible with all xgboost versions >=0.90 and we test the latest release and latest master in our CI. We are also compatible with Ray as specified in setup.py (in the current release ray>=1.10)


Problems with 'Reconnect Now'

This issue seems similar to PR #319, however there are some differences

as mentioned in 319, it works with auth page, but it shows Unable to navigate to site. Will automatically reload when network is connected... message when I open a new tab to access a webpage.
the new issue is intermittent and this also happens when I click reconnect now
this time the reconnecting spinner spins infinitely
and the browser becomes unresponsive, such as logout button doesn't work, unable to switch tabs, needs about 5 clicks to switch next tab. STR: try opening new tab and try to access some link, while it is loading click auth page tab

Note: I got this issue on Windows with prod version

I'm also able to reproduce most of what you describe with the exception of the browser being unresponsive, that doesn't happen to me (on Linux), the reconnect works fine from the authenticator. The authenticator is able to reconnect successfully, but new tabs cannot connect, although existing tabs with already opened apps are able to reconnect afterwards as well, so it seems the problem is only with new tabs.
A secondary issue is that the warning message on the top which says reconnecting now doesn't go away automatically, even after I clicked to reconnect in the authenticator.

Closing legacy issue


Updates to the build.

Also updated simulacrum and made necessary source changes.
Opened an issue at Monocle to publish new artifacts, because
that's the one holding back an across-the-board upgrade.
https://github.com/julien-truffaut/Monocle/issues/399
And updated almost every plugin.

I don't understand why it failed on travis - doesn't happen like that on my machine. I tried rolling back scalaz.

Current coverage is 78.87% (diff: 75.00%)

Merging #36 into master will increase coverage by 0.76%

@@             master        #36   diff @@
==========================================
  Files            28         28
  Lines           507        497    -10
  Methods         503        487    -16
  Messages          0          0
  Branches          3         10     +7
==========================================
- Hits            396        392     -4
+ Misses          111        105     -6
  Partials          0          0

Powered by Codecov. Last update 3c0e89d...6b1b978

Again failed by codecov.

I know you have some other local changes for this, so I’ll take another look once that’s in. But I just noticed that this is (apparently) what’s keeping us from simulacrum 0.10.0 in Quasar, so I figured I should review it 😉

It's not there yet but I pushed it so you can try it out. I don't really grok the Cogen business in scalacheck 1.13 yet. In particular I'm not sure how to deal with the fact that Arbitrary[A => A] is not being found anymore and the method which produces them wants a Cogen[A] to do it.
You can run it on 2.12 if you want but for the moment you will need to publish a monocle snapshot, since there's no published version against 2.12.

"org.scalaz" %% "scalaz-scalacheck-binding" % "7.2.7-scalacheck-1.13" released

https://github.com/scalaz/scalaz/pull/1282
https://github.com/scalaz/scalaz/wiki/7.2.7

It’d be nice to have Travis tests on both Scala 2.11 and 2.12, but since 2.12 only works on JDK8, would we lose the JDK7 tests for 2.11, or is there some way to hand-code the combinations we want? Or maybe Travis just won’t try 2.12 on JDK7, since it knows it doesn’t work?

I use this slug in other projects to isolate source based on jvm and scala version - it would work here if necessary.
  /** Watch out Jonesy! It's the ol' double-cross!
   *  Why, you...
   *
   *  Given a path like src/main/scala we want that to explode into something like the
   *  following, assuming we're currently building with java 1.7 and scala 2.10.
   *
   *    src/main/scala
   *    src/main/scala_2.10
   *    src/main_1.7/scala
   *    src/main_1.7/scala_2.10
   *
   *  Similarly for main/test, 2.10/2.11, 1.7/1.8.
   */
  def doubleCross(config: Configuration) = {
    unmanagedSourceDirectories in config ++= {
      val jappend = Seq("", "_" + javaSpecVersion)
      val sappend = Seq("", "_" + scalaBinaryVersion.value)
      val basis   = (sourceDirectory in config).value
      val parent  = basis.getParentFile
      val name    = basis.getName
      for (j <- jappend ; s <- sappend) yield parent / s"$name$j" / s"scala$s"
    }
  }

@sellout With that last push I think the Cogen instance is correct, so either the failures are legitimately indicting laws which do not hold or the problem is somewhere else. I'm out for a while.

Oops, there is a whole file of other Cogen instances I'd forgotten about.

For the TravisCI config you can either:

add a jdk/scala combination you want: https://github.com/puffnfresh/wartremover/blob/8357e543512dabeb9827a0e8c0675ce89e87c56c/.travis.yml#L7-L10
or explicitly enumerate the combinations you want: https://github.com/scala/async/blob/ed2a6c160fea527ec83875b813180d6c1fda294d/.travis.yml#L12-L21

This'll need a new look.


fix: Cypress test runner in parallel mode

A hotfix to ensure cypress tests will work correctly on CI in parallel mode.

Codecov Report
Patch and project coverage have no change.

Comparison is base (362d80e) 64.83% compared to head (ee22044) 64.83%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1341   +/-   ##
=======================================
  Coverage   64.83%   64.83%
=======================================
  Files         436      436
  Lines       27109    27109
  Branches     7139     7136    -3
=======================================
  Hits        17576    17576
  Misses       8201     8201
  Partials     1332     1332

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Unable to see the test pattern on the serial monitor

I get the following error on screen :

And how to Open and View the get , pgm and   x-portable-graymap files

Hmm, it seems that the documentation has fallen out of date with respect to the code.
The demo no longer prints ASCII art output on the console, instead it starts up a web server, and you can see images in web browser (URLs are printed at startup).
I suggest setting log level to the default one (INFO), you seem to have set it to VERBOSE. It seems that when log from ISR is enabled, the application can not keep up with the timing of the frame, which eventually causes lines to be dropped.

Thank you Sir!
I changed log level to INFO mode , and the above issue was solved.
I (5339) camera_demo: Camera demo ready
I (5349) camera_demo: open http://<IP_ADDRESS>/get for single frame
I (5349) camera_demo: open http://<IP_ADDRESS>/pgm for a single image/x-portable-graymap image
I typed in the browser as "http://<IP_ADDRESS>/pgm" . A  file named 'pgm' got downloaded I added .pgm extension and the image I got the following image :

I typed in the browser as "http://<IP_ADDRESS>/get" . A file named 'get' got downloaded I added .pgm  extension and tried opening it ,  Image viewers says unsupported format . The same goes to http://<IP_ADDRESS>//x-portable-graymap
how to open and view these files , and please help me in capturing the images.
I use ESP-WROOM-32 DEVKITV1 development board and OV7725 camera.
And tried enabling test pattern i am getting the same result.

Based on the image, it looks like there is some serious noise on the lines
between the ESP and the camera. How long are the wires connecting the
camera to the ESP?
You can try reducing clock frequency (it is 20MHz by default), see camera
demo configuration in menuconfig. Try something lower, e.g. 4MHz, and see
if the pgm image becomes more clear.
On Fri, Nov 24, 2017, 17:43 James-sjec<EMAIL_ADDRESS>wrote:

Thank you Sir!
I changed log level to INFO mode , and the above issue was solved.
I (5339) camera_demo: Camera demo ready
I (5349) camera_demo: open http://<IP_ADDRESS>/get for single frame
I (5349) camera_demo: open http://<IP_ADDRESS>/pgm for a single
image/x-portable-graymap image
I typed in the browser as "http://<IP_ADDRESS>/pgm" . A file named 'pgm'
got downloaded I added .pgm extension and the image I got the following
image :
[image: pgm]
https://user-images.githubusercontent.com/32930819/33204145-6960a3bc-d0b7-11e7-9d8c-457e73e3c8d2.jpg
I typed in the browser as "http://<IP_ADDRESS>/get" . A file named 'get'
got downloaded I added .pgm extension and tried opening it , Image viewers
says unsupported format . The same goes to
http://<IP_ADDRESS>//x-portable-graymap
how to open and view these files , and please help me in capturing the
images.
I use ESP-WROOM-32 DEVKITV1 development board and OV7725 camera.
And tried enabling test pattern i am getting the same result.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/igrr/esp32-cam-demo/issues/55#issuecomment-346785856,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEJceuo3QwlI5mrOX8vZ8pli9XFNFTeWks5s5o-4gaJpZM4Qm7Vm
.

Hai ,
I soldered camera and esp32 to bread board , and the above issue was solved
I getting the following images  :

How to increase the quality of the image

Hello,
I come back here to give you a feedback. Approximately two weeks ago, I tried again with shorter wires as you told me. The result was worst than with my initial wires. I think that my wires were very bad.
Today I soldered the circuit, and... everything works fine now (as you can see below) !
Thank you very much for your help ! (and for this great sample project on github)
Regards,
Jean-François Brazeau


Java 6 incompatible

Class OSchemaHelper uses java.util.Objects from java 7
it uses only method objequals
So if remove java.util.Objects and add objequals as static method - program will run on java 6

Thank you!


Looks like this breaks the parser

I just installed tree-sitter and this tree-sitter-perl grammar file. I'm using latest neovim with the gurvbox colorscheme.
The image on the left is with tree-sitter highlighting on and the one on the right is with it off.
Looks like the parser breaks if qw/ /; contains a question mark.

@willt , this is a known issue.. the parser doesn't behave properly for all the quote like operators in perl with deliimiters other than, {, /, [, '
I'm currently fixing it since users are requesting. Expect it to be fixed by this week. Or you could use the delimiters I have mentioned above in the meantime.

Any news on this? Is it fixed?
Similar issue when my code contains something like:
print("${key}");

print("$key") looks ok.

@DavidEGx , in recent commits, I have fixed it for qw as mentioned in the above example. And there were other quote based operators which were facing the issue, so fixed them too. But there is still s// and tr// syntax left. Should push them, and make a version upgrade. Very soon!

I got the same problem with =~ s!!!;
And some subroutines have different color.

@marcelarie , I'm still working on the s/// and tr// syntaxes with other identifiers. Currently it should work with s///.
And let me checkout why that subname is highlighted differently and get back

I have publish version 0.3.0 . This should parse all these syntax properly. Let me know otherwise. :)

Amazing, thanks @ganezdragon!! I will test it at work tomorrow.

Thanks for the work.
This one seems to break it currently:
my $x;
if ($x =~ m/^asf$/) {
}

Also this one:
my $x;
if ($x =~ //) {
}

As far as I know I'm using the last version (run :TSUpdateSync).

okay, I see the $ in the regex is causing the problem. It starts to expect a scalar variable. Let me fix that.
But the latter with just // works fine for me.

Weird.

Another one:
use strict;
use warnings;

=head1 METHODS

=head2 test1

Test

=cut

sub test1 : Path('/') {
}

=head2 test2

Looks good. But now...

=cut

sub test2 : Path('/') Args(0) {
}

=head3 test3

Hmmm, this is looks odd now

=cut

sub test3 {
}

See:

BTW, shall I create separate separate github issues for any separate new problem I find?

yea we could create separate issues, as a fallout of 0.3.0 version maybe, to better keep on track.

@DavidEGx , I'm not sure if your last snippet is syntactically correct. When I compile the code I get the following,
Invalid CODE attribute: Path('/') at examples/test.pl line 13.
BEGIN failed--compilation aborted at examples/test.pl line 13.

@ganezdragon forgot to inherit from Catalyst::Controller in the example.
Fixed version:
use strict;
use warnings;
use base qw/Catalyst::Controller/;

=head1 METHODS

=head2 test1

Test

=cut

sub test1 : Path('/') {
}

=head2 test2

Looks good. But now...

=cut

sub test2 : Path('/') Args(0) {
}

=head3 test3

Hmmm, this is looks odd now

=cut

sub test3 {
}

1;

Same syntax highlighting issue.

also in the category of things that break the parser?


Max/4bit

This PR adds 4bit training/inference.
I have tested with EleutherAI/gpt-neox-20b where 8 bit yields OOM. I have also compared EleutherAI/gpt-j-6B 4bit/8bit training and its corresponding chat responses.
There is an issue with merging LORA back which can yield to OOM issues: https://github.com/h2oai/h2o-llmstudio/discussions/130  I'll have a look and see if it can be fixed and added to this PR.
I'm also not sure about this line: https://github.com/h2oai/h2o-llmstudio/blob/main/llm_studio/src/utils/modeling_utils.py#L72
It's currently left as is, I haven't found any issues with it so far.

I'm also not sure about this line: https://github.com/h2oai/h2o-llmstudio/blob/main/llm_studio/src/utils/modeling_utils.py#L72
It's currently left as is, I haven't found any issues with it so far.

IIRC this was needed for training and loading weights in different precisions

and let's also add some words in the README.md about 4bit training

One more note:
Inference in 4bit is extremely slow for me.
Would it maybe make sense to force 8bit in Chat window?
Or even better, make it somehow an option?
Might be a separate issue.

Found this:
https://github.com/huggingface/peft/blob/main/examples/fp4_finetuning/finetune_fp4_opt_bnb_peft.py
Here they are also setting llm_int8_threshold - does it have an impact in 4bit?

Here they are also setting llm_int8_threshold - does it have an impact in 4bit?

Should only affect 8bit:
https://github.com/huggingface/transformers/blob/main/src/transformers/utils/bitsandbytes.py#L133

Not sure this was lucky or has impact, but I got better inference speed with these settings:
elif cfg.architecture.backbone_dtype == "int4":
        kwargs["device_map"] = {"": cfg.environment._device}
        quantization_config = BitsAndBytesConfig(
            load_in_4bit=True,
            bnb_4bit_compute_dtype=torch.float16,
            llm_int8_has_fp16_weight=True,
            bnb_4bit_use_double_quant=True,
            bnb_4bit_quant_type="nf4",
            llm_int8_threshold=0.0
        )
        # need to force pretrained
        cfg.architecture.pretrained = True
        kwargs["torch_dtype"] = torch.float16

Let's add this also to int8:
kwargs["torch_dtype"] = torch.float16
And do you think bnb_4bit_use_double_quant=True is useful?

Getting errors when training in 4bit, and then doing inference on float16.

Is this issue still present? I started a new experiment in fp16, using previous 4bit weights; that works.

Getting errors when training in 4bit, and then doing inference on float16.

Is this issue still present? I started a new experiment in fp16, using previous 4bit weights; that works.

I think after you made the changes above it works now.

@maxjeblick did you try pushing to HF and reloading?

Cool, if possible lets also try the HF push.

Checked HF hub, it also works.


upgrade to 9.1.0 make /apt_key.rb:100: syntax error, unexpected ']'

Describe the Bug
since upgrading to 9.1.0 puppet fail to run with
Error: Could not autoload puppet/provider/apt_key/apt_key: /opt/puppetlabs/puppet/cache/lib/puppet/provider/apt_key/apt_key.rb:100: syntax error, unexpected ']'
...   key_long: fingerprint[-16..], # last 16 characters of fin...

downgrading to 9.0.2 and all works again.
puppet module install puppetlabs-apt --ignore-dependencies --version 9.0.2 --force
Expected Behavior
continue working like with 9.0.2
Steps to Reproduce
Steps to reproduce the behavior:

upgrade the module version
2 run puppet agent

Environment

Version puppet 6 with apt module 9.1.0
Platform  debian 10

Additional Context

Notice: Found 'puppetlabs-apt' (v9.0.2) in /etc/puppetlabs/code/environments/production/modules ...
Notice: Downloading from https://forgeapi.puppet.com ...
Notice: Upgrading -- do not interrupt ...
/etc/puppetlabs/code/environments/production/modules
└── puppetlabs-apt (v9.0.2 -> v9.1.0)

[~]: puppetreload
Info: Using environment 'production'
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Retrieving locales
Info: Loading facts
Error: Could not autoload puppet/provider/apt_key/apt_key: /opt/puppetlabs/puppet/cache/lib/puppet/provider/apt_key/apt_key.rb:100: syntax error, unexpected ']'
...   key_long: fingerprint[-16..], # last 16 characters of fin...

This is due to the Ruby version being too old. This version of the module doesn't support Puppet 6 anymore.

Thanks for your answer.
I wonder why puppet module upgrade it then, is there not a mean to specify which version of puppet the module suport ?
best regards,
Ghislain.

Supported Puppet versions are listed in the metadata, but it is not enforced: https://github.com/puppetlabs/puppetlabs-apt/blob/22ed8ab5509d7f0f553f3dd4fab3c096c17214b0/metadata.json#L33-L38

oh ok, so it is a bug/missing feature of puppet core then, thanks a lot !
best regards,
Ghislain.

oh ok, so it is a bug/missing feature of puppet core then, thanks a lot !
best regards,
Ghislain.


FPS unlock influences fps in other apps

When I tried running genshin with the FPS unlock while having YouTube open in another window on my second monitor, I noticed that the YouTube video started lagging occassionally, particularly when playing videos on 60fps quality. This also happens on other video streaming sites like Twitch.
The lag resolves itself when I clicked on the YouTube window, but occurs again once I switch back to genshin.

This most likely has to do with your computer's performance. Unlocking Genshin's FPS allows it to use more of your system resource, in turn results in other applications having less to work with, causing them to lag.

You should check windows community, not here this issue.

Use Process Lasso to control Genshin Impact in the background if needed.


department_ids in freshservice_requestor table

Just a heads up that it looks like the department_ids column is pulling up null in the freshservice_requestor table.

Hi @timquinn - apologies, for some reason I didn't receive a notification from GitHub about this issue being raised...
Just wanted you to know I have confirmed this is a bug & I'll get it resolved ASAP.

Released in v0.0.3


unable to open new pr request

hello sir, when i fork to open a new pr request then its shows that there is nothing to display, i mean i cant see 'submit new pr' button. what to do? please help

重新fork一下在提交试试


Cannot get Dolby Atmos on Shield

Help request
Your Environment

Netflix add-on version: v0.16.0
Operating system version/name: Android 9
Device model: Nvidia Shield

Used Operating system:

[X] Android
[ ] iOS
[ ] Linux
[ ] OSX
[ ] Raspberry-Pi
[ ] Windows

I cannot get Dolby Atmos on my Shield. Tried everything. There are only DD+ on stream selects and AV says that it is dolby digital+. Am I missing something?

Before turn on Shield, turn on the Tv (and the amplifier if you use an amplifier)
so there is a shield setting to permanently enable high quality audio tracks
i don't remember where i don't have shield

not all netflix content has Dolby atmos

Didn't worked.
It looks like this: https://photos.app.goo.gl/yRgWoT6o4tJPvL7u9

In first screenshot all streams are named DD+ it is right, becouse Kodi use "DD+" to all Dolby types
i found the shield setting path:
Shield setting -> Display & Sound -> Advanced settings -> Surround Sound -> Set to Always
in Kodi make sura that hd sound system setting are enabled:
https://user-images.githubusercontent.com/47712881/52913589-b34fbb00-32bf-11e9-9297-49293c517952.JPG
Are you sure the TV or amplifier has a Dolby Atmos decoder?

Thank you.
It has Dolby Atmos. It works with Dolby Atmos. I think that after updates shield has different settings but tried to change them and doesn't help.
What TV box do you use? Does it support Dolby Atmos?

I use an Onkyo amplifier but not support Atmos only up to Dolby True HD, the photo is of another netflix addon user.
if not depending on this, can be then it concerns the cable connection or the hdmi port, don't know..
you have to ask to other user that have Shield

Ok. Thank you.

Closed for inactivity


Disk space custom names

Adds input of user custom name for disks. If cusom name is not found it will use path as custom name.
As i have said before, i am new to this so there may be some stuff that isnt quite right :P

Nice! I was planning on doing this too!

Yep, have been meaning to do this for a while now - but this will break the database for existing users, so I think that this needs some more thought (migrations, Mongo, whatever).

Doesn't all upgrades/git pulls break the database for others? Everytime I git pull I have to recreate the database. Mind you, I generally delete the Marachino folder anyway and start over. No big hardship IMO.

No, the *.db file is in the .gitignore file (so not touched by git) and there shouldn't be anything on master which breaks the database. If it's breaking for you then something weird is happening, unfortunately... would you mind checking if your database breaks the next time you pull from master after changes have been pushed? And it sounds silly but remember that you have to restart whatever web server you are using after pulling.

Todays changes broke my Database again
Diskspace - All the specified drives disappeared and would not let me add them again).
Deleted the Database, restarted Maraschino and it fixed it.
In light of this, would now not be a good idea to add this and to inform everyone they will need to refresh their database before Maraschino goes to far down the road for this to be added?

Why hasnt this been added? I dont know about you guys, but i dont mind making a new db. I expect to update the db, each time i download the source. I have added the changes manually but im sure more people would like this feature. (other windows users that want to add smb path etc)

I don't think it's worth breaking everybody's databases for such a small
feature. You and I may not mind, but regular users might find it
inconvenient. I'd rather leave it for now and come up with a better way of
doing it.
On Mar 3, 2012 10:51 AM, "Hellowlol" <
<EMAIL_ADDRESS>wrote:

Why hasnt this been added? I dont know about you guys, but i dont mind
making a new db. I expect to update the db, each time i download the
source. I have added the changes manually but im sure more people would
like this feature. (other windows users that want to add smb path etc)

Reply to this email directly or view it on GitHub:
https://github.com/mrkipling/maraschino/pull/44#issuecomment-4299923


update on host keys and claiming host

@maelle I did some reorganisation of the text, let me know if you think that makes it clearer


Chapter 4 : ModuleNotFoundError: No module named 'admin'

After following all the steps of the process of creating a custom admin page, I get the following error:
$ python manage.py runserver Watching for file changes with StatReloader Exception in thread django-main-thread: Traceback (most recent call last):   File "C:\..\..\..\Python\Django\venv\lib\site-packages\django\utils\module_loading.py", line 44, in autodiscover_modules     if register_to:   File "C:\..\..\..\Python\Django\venv\lib\site-packages\django\utils\functional.py", line 240, in inner     self._setup()   File "C:\..\..\..\Python\Django\venv\lib\site-packages\django\contrib\admin\sites.py", line 540, in _setup     AdminSiteClass = import_string(apps.get_app_config('admin').default_site)   File "C:\..\..\..\Python\Django\venv\lib\site-packages\django\utils\module_loading.py", line 17, in import_string     module = import_module(module_path)   File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2288.0_x64__qbz5n2kfra8p0\lib\importlib\__init__.py", line 126, in import_module     return _bootstrap._gcd_import(name[level:], package, level)   File "<frozen importlib._bootstrap>", line 1050, in _gcd_import   File "<frozen importlib._bootstrap>", line 1027, in _find_and_load          File "<frozen importlib._bootstrap>", line 1004, in _find_and_load_unlocked ModuleNotFoundError: No module named 'admin'
Does anybody know what I'm doing wrong here? I followed the exact same steps and  my file structure should be correct.
I did notice that the error only occurs when I try to rename 'django.contrib.admin' to reviews.apps.ReviewsAdminConfigin the settings.py file
When i change it back to 'django.contrib.admin' it suddenly works again, but no custom admin site. :(

I think that there were some changes between Django 3.1 and Django 4.0 and this approach no longer worked.
I had to substantially rewrite this section for the forthcoming 2nd edition.
@orlandocarnate gives a great solution here:
https://github.com/PacktPublishing/Web-Development-with-Django/issues/1


🐛 Bug Report: Very long continues string (long word) unexpected behaviour

📜 Description
A message containing very long words breaks the max width.
👟 Reproduction steps
Type a 60+ character string as a question.
👍 Expected behavior
There should be a mechanism for word hyphenation at extreme cases. We don't want to break down words too often as this reduces readability. Max width for question/answer bubbles for each device should not be broken.
👎 Actual Behavior with Screenshots

https://app.docsgpt.cloud/share/65a817e7-f6b7-4e36-821f-f1598805aafd
💻 Operating system
MacOS
What browsers are you seeing the problem on?
Chrome
🤖 What development environment are you experiencing this bug on?
Docker
🔒 Did you set the correct environment variables in the right path? List the environment variable names (not values please!)
No response
📃 Provide any additional context for the Bug.
No response
📖 Relevant log output
No response
👀 Have you spent some time to check if this bug has been raised before?

[X] I checked and didn't find similar issue

🔗 Are you willing to submit PR?
None
🧑⚖ Code of Conduct

[X] I agree to follow this project's Code of Conduct

Hi, @pabik.
Love to jump on this please.

I'm interested in working on this bug


Enforce two factor for Filament Users

First of all, thanks for this awesome plugin :-).
It would be great if we could enforce the creation of 2-factor either for all users that want to login to Filament (so on first login you are forced to create two factor) or for certain user roles. I am using filament just for the admin so I don't want to enforce it for my app users only for those with access to Filament.
Is that already possible?

Great idea +1


--standalone does not work on coreclr

Compile a project with --standalone on the coreclr and the compiler crashes.
repro:

dotnet new console -lang F#
Edit the project file created and add to the propertygroup:
$(OtherFlags) --standalone
dotnet build

Observe the build failure message:
c:\temp\foop>dotnet build
Microsoft (R) Build Engine version <IP_ADDRESS>674 for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

  Restoring packages for c:\temp\foop\foop.fsproj...
  Generating MSBuild file c:\temp\foop\obj\foop.fsproj.nuget.g.props.
  Generating MSBuild file c:\temp\foop\obj\foop.fsproj.nuget.g.targets.
  Restore completed in 845.82 ms for c:\temp\foop\foop.fsproj.
FSC : error FS2014: A problem occurred writing the binary 'c:\temp\foop\obj\Debug\netcoreapp2.0\foop.dll': Error in pass3 for type Program, error: Error in GetMethodRefAsMethodDefIdx for mref = ("PrintFormatLine", "Microsoft.FSharp.Core.ExtraTopLevelOperators"), error: Exception of type 'Microsoft.FSharp.Compiler.AbstractIL.ILBinaryWriter+MethodDefNotFound' was thrown. [c:\temp\foop\foop.fsproj]

Build FAILED.

FSC : error FS2014: A problem occurred writing the binary 'c:\temp\foop\obj\Debug\netcoreapp2.0\foop.dll': Error in pass3 for type Program, error: Error in GetMethodRefAsMethodDefIdx for mref = ("PrintFormatLine", "Microsoft.FSharp.Core.ExtraTopLevelOperators"), error: Exception of type 'Microsoft.FSharp.Compiler.AbstractIL.ILBinaryWriter+MethodDefNotFound' was thrown. [c:\temp\foop\foop.fsproj]
    0 Warning(s)
    1 Error(s)

Time Elapsed 00:00:06.56

c:\temp\foop>

Expected:
build to succeed.

@cartermp Can you tell me where is this issue in the roadmap? I'm asking because you said yesterday that all .net core issues are high priority. Does it include this one?

I'm not even sure what the --standalone flag does. I'm only aware of publish to produce a standalone directory with all dependencies inside, and --no-dependencies for excluding any P2P refs.
@KevinRansom what is the scenario here?
@gusty To clarify, I said that if it involves .NET Core it's of a higher priority to me. To that end, this should definitely be fixed, but I don't think I understand the scenario.

@KevinRansom Is it just --standalone or is it --staticlink as well?

@cartermp `--standalone`` allows a form of static  linking.  It statically adds a copy of FSharp.Core to the .exe.  It's an occasionally-useful but-not-critical part of the F# toolchain for people who want to completely hide the fact that a tool is written in F#, or to deliver a single .exe.  For example Paket is delivered as a single .exe.
In the world of .NET Core it doesn't make much sense because at the moment .NET Core really involve packaging a lot of stuff with the app.   Future iterations on .NET Core may be different, but at the moment I don't see it as at all a priority or a supported part of the toolchain.
There are other options for static linking tool, e.g. mkbundle in the Mono toolchain (an excellent option because it bundles the Mono runtime as well, all into a single .EXE)  and ILMerge.

Yeah, it sounds like it's not applicable to .NET Core right now, since there is no currently supported option to produce a single .exe. I think we should relabel this as an enhancement instead of a bug.


mua: add Date and Message-ID headers when missing

👋
This PR ensures the "rendered" message has Date and Message-ID headers set. I haven't experienced it myself, but their absence seems to be causing issues for users who send emails directly (not via a relay which usually fills in these missing headers): https://github.com/ruslandoga/bamboo_mua/issues/53

Cheers, looks good

@ruslandoga the message-id format here is invalid, should be rendered in the form of <#{id}@#{address}>

Hi @ruslandoga, thanks for the quick fix. It causes MXRoute's signing relay to fail because it validates the Date and Message-ID.


Added L1 and L2 loss operations

Fixes #39  Refactored the post_processing to streamline the individual operation code.

Coverage increased (+0.07%) to 97.68% when pulling bb3d0e1562bf63e5cd6fc21c7935309f6f584854 on loss_operations into cfacfbd93d32602ef2fbd8a336c282db836fbacf on master.


No REI integration for harvester and juicer GUIs [bug]

While the custom GUIs for berry harvester and juicer were compatible with REI in previous versions of the mod, they are not compatible now (the GUIs and the recipes are not shown in REI).
Weirdly enough, the toml config for this mod generates as an empty (0B) file.
Game Version: 1.19.2 [Fabric]
Fabric Loader: 0.14.11
Mod Version: 2.0.7
I don't think the log would be necessary, but I'll attach it if you ask.

I removed it in favour of integrating with EMI, since the API is much cleaner and it's simpler to maintain for me as a developer.
If you insist on using REI, I could bring back support, but I only maintain 1.18.2 and 1.19.3 so you'd have to update your pack.


Valid regex causes lexer to fail with YKLEXERGEN004

Describe the bug
When using the built-in regex Regexes.IeeeFloatLiteral in a lexer like this:
public enum TokenKind {
  [Regex(Regexes.IeeeFloatLiteral)] MyNumberLiteral,
}

the following error is emitted by the source generator:
error YKLEXERGEN004: Failed to parse regular expression: unexpected end of string

The regex contained in the aforementioned constant is as follows:
((([0-9]*.)|([+-]?[0-9]+[0-9_]*.))?[0-9]+[0-9_]*((e|E)[+-]?[0-9]+)?)|([+-]?infinity)|(NaN)

I've tested this regex in this site: http://regexr.com/63qtu, and it looks valid. It also seems to be valid according to minimalist flavor supported by Yoakke and described in the docs.
Which libraries does it affect?
Yoakke.Parser.Generator 2021.8.16-2.23.12-nightly
To Reproduce
Steps to reproduce the behavior:

Create a lexer that uses [Regex(Regexes.IeeeFloatLiteral)] as shown above.
Build the project.

Expected behavior
The project should build normally and the regex should match floating point number literals as indicated in the valid regex.
Environment (please complete the following information):

OS: 10.0.19043
.NET version: 5.0.9 (208e377a53), SDK 5.0.400
Version: 2021.8.16-2.23.12-nightly

Turns out, the bug is caused by [+-] Right now, the parser interprets this as a range from + to ]. We'll need to rework the regex parser a bit to consider these cases.

While implementing a Lua parser, the following regex caused a parse error aswell (Lua block comment):
[Regex(@"--\[([^\]]|(\][^\-])|(\]-[^\-]))*\]--")]


Range table on network detail page is unsorted

I don't know why.

Do you have an example? It could be something like sorting by only one field that is non-unique, like name.

<IP_ADDRESS>/24


Extract ENV.fetch into initializer

Why was this closed? Seemed like a good idea.

There was a massive test-breakage doing this, I and I wasn't feeling up for it today. If someone else is willing to continue, please do


Add Dropbox LAN Sync Discovery (DB-LSP-DISC) header

The Dropbox LAN Sync Discovery Protocol (DB-LSP-DISC) would be nice to have in the future.
While I haven't done this yet, I think it would be pretty trivial to implement since it just  seems to just be a typical UDP communication on port 17500 with a JSON payload (plaintext).

@picatz what will be the interest of adding this protocol over using:

packetgen to capture/build UDP packets on port 17500,
a json library to parse/build JSON structure?

@sdaubert I like using PacketGen to help get an idea of the kind of traffic on a network. It's practically my favorite packet analyzer!
If I didn't know this was Dropbox, I would have to go through "the trouble" to figure it out.
Wireshark supports this protocol, which was how I initially figured out what it was. However, I like doing all of my network-related reconnoissance on the command-line with PacketGen.

@sdaubert To follow up with you some more on this topic, I believe this protocol would be best suited as a plugin.

@picatz yes, i think so :smiley:


feat: add helm-docs

@okaufmann example to auto-generate README.md with helm-docs
What do you think about it?

love it!


Weather app

just add weather.html in template folder and getting Weather using HTML geolocation API,

The team confirmed that this is not their submission


scaleSize has no effect in systems js

Changes to the scale size:
'scaleSize' : 64,
have no effect in
system.class.js
I've tried playing around with it a bit on my machine and I've had no luck trying to get it to have any impact on the final output at all. Looking at where it is used, I get the impression that it's being applied to a property that may require an x, y, and z scale instead?

Closing this as the other issue I created is much more clear


Stack cache and acceleration (rebased)

Replaces #767

Codecov Report

Merging #785 (a01964e) into dev (2257471) will increase coverage by 0.04%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##              dev     #785      +/-   ##
==========================================
+ Coverage   85.92%   85.96%   +0.04%
==========================================
  Files          36       36
  Lines        3460     3471      +11
==========================================
+ Hits         2973     2984      +11
  Misses        487      487

Impacted Files
Coverage Δ

src/composition/learning_networks/machines.jl
91.95% <100.00%> (ø)

src/composition/learning_networks/nodes.jl
71.24% <100.00%> (+1.37%)
:arrow_up:

src/composition/models/stacking.jl
94.66% <100.00%> (+0.14%)
:arrow_up:

Continue to review full report at Codecov.

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

@olivierlabayle I have done some integration tests for this PR. To reproduce run this script. Each model below is inserted as one of three base models in a stack, the stack is evaluated in CPU1() mode (:stack_evaluation test) and if the base model makes consistent predictions on retraining (no global RNG, and so forth) the evaluation in CPUThreads() mode is compared to the CPU1() result (:accelerated_stack_evaluation test). Non-julia models had to be excluded (see #783). Summarizing the results (all successful) below. A - indicates test was not carried because it was not applicable for that model, or because repeatability could not be established.
julia> DataFrame(report1)[:,[:name, :package_name, :stack_evaluation, :accelerated_stack_evaluation]]
22×4 DataFrame
 Row │ name                            package_name           stack_evaluation  accelerated_stack_evaluation
     │ String                          String                 String            String
─────┼───────────────────────────────────────────────────────────────────────────────────────────────────────
   1 │ ConstantRegressor               MLJModels              -                 -
   2 │ DecisionTreeRegressor           BetaML                 ✓                 ✓
   3 │ DecisionTreeRegressor           DecisionTree           ✓                 ✓
   4 │ DeterministicConstantRegressor  MLJModels              ✓                 ✓
   5 │ ElasticNetRegressor             MLJLinearModels        ✓                 ✓
   6 │ EvoTreeGaussian                 EvoTrees               -                 -
   7 │ EvoTreeRegressor                EvoTrees               ✓                 ✓
   8 │ HuberRegressor                  MLJLinearModels        ✓                 ✓
   9 │ KNNRegressor                    NearestNeighborModels  ✓                 ✓
  10 │ LADRegressor                    MLJLinearModels        ✓                 ✓
  11 │ LGBMRegressor                   LightGBM               ✓                 ✓
  12 │ LassoRegressor                  MLJLinearModels        ✓                 ✓
  13 │ LinearRegressor                 GLM                    -                 -
  14 │ LinearRegressor                 MLJLinearModels        ✓                 ✓
  15 │ LinearRegressor                 MultivariateStats      ✓                 ✓
  16 │ NeuralNetworkRegressor          MLJFlux                ✓                 -
  17 │ QuantileRegressor               MLJLinearModels        ✓                 ✓
  18 │ RandomForestRegressor           BetaML                 ✓                 -
  19 │ RandomForestRegressor           DecisionTree           ✓                 -
  20 │ RidgeRegressor                  MLJLinearModels        ✓                 ✓
  21 │ RidgeRegressor                  MultivariateStats      ✓                 ✓
  22 │ RobustRegressor                 MLJLinearModels        ✓                 ✓

julia> DataFrame(report2)[:,[:name, :package_name, :stack_evaluation, :accelerated_stack_evaluation]]
16×4 DataFrame
 Row │ name                             package_name              stack_evaluation  accelerated_stack_evaluation
     │ String                           String                    String            String
─────┼───────────────────────────────────────────────────────────────────────────────────────────────────────────
   1 │ AdaBoostStumpClassifier          DecisionTree              ✓                 ✓
   2 │ ConstantClassifier               MLJModels                 ✓                 ✓
   3 │ DSADDetector                     OutlierDetectionNetworks  -                 -
   4 │ DecisionTreeClassifier           DecisionTree              ✓                 -
   5 │ DeterministicConstantClassifier  MLJModels                 -                 -
   6 │ ESADDetector                     OutlierDetectionNetworks  -                 -
   7 │ EvoTreeClassifier                EvoTrees                  ✓                 ✓
   8 │ GaussianNBClassifier             NaiveBayes                ✓                 ✓
   9 │ KNNClassifier                    NearestNeighborModels     ✓                 ✓
  10 │ LGBMClassifier                   LightGBM                  ✓                 ✓
  11 │ LinearBinaryClassifier           GLM                       ✓                 ✓
  12 │ LogisticClassifier               MLJLinearModels           ✓                 ✓
  13 │ NeuralNetworkClassifier          MLJFlux                   ✓                 -
  14 │ PegasosClassifier                BetaML                    ✓                 ✓
  15 │ PerceptronClassifier             BetaML                    ✓                 ✓
  16 │ RandomForestClassifier           DecisionTree              ✓                 -

Going to merge this now. Thanks @olivierlabayle for your contribution.


Switch to bypass zones

Is your feature request related to a problem? Please describe.
Sometimes is handy to bypass certain zones in order to fully arm the system (eg, slightly open window in summer).
Describe the solution you'd like
Create a switch for each zone in order to toggle the zone bypass function.
Describe alternatives you've considered
Used to be very simple with old BTicino MyHomeUp app, just a couple of touch away. With the new Home + Control is way too complex (hidden many touches away).
Device
BTicino 4200 ( Kesnia Lares 16IP)
Additional context
Info on current status (bypass - BYPASS or UN_BYPASS) easily read from the /zonesStatus16IP.xml
Command which need to be used to toggle the switch: http://192.168.XXX.YYY/xml/cmd/cmdOk.xml?cmd=setByPassZone&pin=XXXXXX&zoneId=2&zoneValue=0
Where:

pin: user code (maybe needs to be hardcoded from configuration ??)
zoneId: zone number as ordered in /zonesDescription16IP.xml starting from 1
zoneValue:
   - 1: bypass ON
   - 0: bypass OFF

Let me know if more info are needed

I am a bit hesitant to store a PIN, maybe I should expose this a service instead.

In alarm control panel logic there is something available called AlarmControlPanelEntityFeature.ARM_CUSTOM_BYPASS, but not sure yet how the bypass works here

I understand your point, storing the PIN is far from ideal.
I am not familiar with the concept of services, but, if it gives the ability to bypass/unbypass a zone, than only a simple binary sensor is needed to know the current zone status.
I took a look at the ARM_CUSTOM_BYPASS option in the Alarm Panel, but, from my understanding, is currently only a further alarm activation option. Do you see any other option with the ARM_CUSTOM_BYPASS?

It could be combined with the switch, but only at arm custom bypass the bypass is done. Then I have the PIN from user entry

Yeah, that could work.
Then, would you bring it back to unbypass condition each time the alarm is disarmed?

@IAmVespa I went with the PIN storage approach, other integration also seem to use this

Available as beta version

Thanks a lot, just installed!
So far, works like a charm.


add custom network service names

@jpinsonneau I know that this is not used in the UI (the resolution is done in the UI) ... but still this adds the ability to custom the network services names using FLP - if we decide to use that <<--- maybe adding this feature also to the frontend makes sense.

@jpinsonneau I know that this is not used in the UI (the resolution is done in the UI) ... but still this adds the ability to custom the network services names using FLP - if we decide to use that <<--- maybe adding this feature also to the frontend makes sense.

Cool @eranra thanks for the update. @OlivierCazade is the one who implemented the config on front end side btw.
I feel frontend config is enough for now but I agree we can add an option to be able to switch or even manage both with a merge mecanism :+1:


SvelteKit file uploads

The previous two PRs #6 and #7 were deleted because I merged the two branches and cleaned up a few things. So this branch contains two projects — one for plain Node.js and for S3. It covers what was discussed in the file uploads issue #2
Unfortunately, POST requests with SvelteKit do not work in Stackblitz so the only way to test these examples is to clone them. The CSS is very basic and mostly handles layout for now. Functionality-wise it probably does everything you would from such an example. The only thing that is kinda missing is a place where possible errors get displayed although the only error that can really happen is that a file with the same name is uploaded again, in which case currently the request is rejected in the Node.js example and nothing happens.

one thing i noticed is that requires node 18 because of the fromweb method. is there a way around that? if no or not easy we should at least note this in the readme

one thing i noticed is that requires node 18 because of the fromweb method. is there a way around that? if no or not easy we should at least note this in the readme

Yes, true I should have added that to the README. It works with Node.js >=17.0.0. There is a manual way to deal with this but it's supposed to be more complex and I haven't found a good explanation for that.

yeah let's do that in a follow-up PR. To not have too much nesting, we should probably do that at the top level

Ok, I just made a few last minor improvements but I'm done now.

Nice! One last question: Do we need the S3-variables to be part of the dynamic env imports or can it be imported from the static ones, too?

Good question. I would say they should be dynamic. There is one public static env var used on the page and the ones used on the backend are dynamic. My idea was that when you build the project and deploy it to a container you can inject the env vars at runtime with systemd, Docker etc. These variables are also sensible. The env var used on the page is imported from static.

Should I create a PR where we move the folders — into a svelte and sveltekit directory at the top level? The sveltekit- prefix of the file upload examples can then be stripped. Would the counters example be a svelte or sveltekit example?

Let's take this discussion to Discord so other maintainers can chime in


Cannot compile because of missing files

Hello,
i would like to extend the features with some vraiables and placeholders for outputfilemgmt and so on, hope this project is still alive.
where can i get the missing crypto ssh lib ?
Greetings from Austria

Hi, that's interesting, I've just checked and the golang.org/x/crypto/ssh/terminal package import is failing to download automatically for me too.
Looks like there's a workaround. I ran:
go get -u golang.org/x/crypto/ssh/terminal

on the command line and it installed the package without a problem and then mp3cat was able to build.

HI thx yes that did the trick for me to,
finished my first work for making some music files for my child :-)

That's great, glad I could help :)


pkg_tar support for pkg_filegroup/pkg_files with a tree artifact with subdirectories

It seems as though pkg_tar supports tree artifacts with subdirectories, but not when used in conjunction with a pkg_filegroup.
Repro BUILD.bazel (uses a copied version of the directory test util):
load("@rules_pkg_0_6//:pkg.bzl", "pkg_tar")
load("@rules_pkg_0_6//:mappings.bzl", "REMOVE_BASE_DIRECTORY", "pkg_attributes", "pkg_filegroup", "pkg_files", "pkg_mkdirs")
load("//test:helper.bzl", "directory")

directory(
    name = "test_dir1",
    contents = "test_dir1",
    filenames = [
        "a",
        "b",
        "subdir/c",
        "subdir/d",
    ],
    outdir = "test_dir",
)

pkg_files(
    name = "test_files",
    srcs = [":test_dir1"],
)

pkg_filegroup(
    name = "test_fg",
    srcs = [
        ":test_files",
    ],
)

pkg_tar(
    name = "test_tar",
    srcs = [":test_fg"],
)

pkg_tar(
    name = "test_tar_2",
    srcs = [":test_dir1"],
    package_dir="test_files_2",
)

After building the tars I dumped them both to a /tmp/tar and unarachived them:
>> ls
test_tar.tar  test_tar_2.tar

>> tar xvf test_tar_2.tar
x ./
x ./test_files_2/
x ./test_files_2/a
x ./test_files_2/b
x ./test_files_2/subdir/
x ./test_files_2/subdir/c
x ./test_files_2/subdir/d

>> tar xvf test_tar.tar
x ./
x ./test_dir/
x ./test_dir/a
x ./test_dir/b
x ./test_dir/subdir/
x ./test_dir/subdir/c
x ./test_dir/subdir/d

>> ls -al test_files_2/subdir
total 16
dr-xr-xr-x  4 brian  wheel  128 Dec 31  1999 .
drwxr-xr-x  5 brian  wheel  160 Dec 31  1999 ..
-r-xr-xr-x  1 brian  wheel    9 Dec 31  1999 c
-r-xr-xr-x  1 brian  wheel    9 Dec 31  1999 d

>> ls -al test_dir/subdir
total 0

As you see in the above output, the logged output of the tar xvf look the same (besides a diff prefix). However when you list the files in the subdirectory, the one that used a pkg_filegroup does not actually have the expected files.
System Info:

MacOS 12.1 (Intel)
bazel: 5.0.0rc3
rules_pkg: 0.6.0

I am seeing this issue as well.

This seems fixed at head, and probably version 0.7.0.
The current behavior is as I suggested in the comment from 2022/02/24


Add code coverage with maven-cobertura-plugin

Example from Codecov: https://github.com/codecov/example-java-maven
Update .circleci/config.yml to upload the contents to CodeCov.

Resolved with https://github.com/ecolabardini/jdig/pull/7