[Module Proposal]: avm-res-network-vpngateway (tf)

Check for previous/existing GitHub issues/module proposals

[X] I have checked for previous/existing GitHub issues/module proposals.

Check this module doesn't already exist in the module indexes

[X] I have checked for that this module doesn't already exist in the module indexes; or I'm proposing the module to be migrated from CARML/TFVM.

Bicep or Terraform?
Terraform
Module Classification?
Resource Module
Module Name
avm-res-network-vpngateway
Module Details
Terraform module for VPN Gateway
Do you want to be the owner of this module?
No
Module Owner's GitHub Username (handle)
No response
(Optional) Secondary Module Owner's GitHub Username (handle)
No response

I believe this is already covered by the following module.
https://registry.terraform.io/modules/Azure/avm-ptn-vnetgateway/azurerm/latest

Decision is to use existing AVM ptn module for vwan. No need for dedicated resource module

@PmeshramPM are we closing this?

Closing as we agree.


Fixed nested prefabs not showing pending changes for Interactable.

Overview
Updated inspector EditorGUILayout fields to use PropertyFields so that pending changes will be shown in prefabs.
Changes

Fixes: #4369 .
Nested Prefabs work poorly with MRTK custom inspectors

Verification
When Interactable is part of a prefab, the inspector should show a blue vertical line to the left of any property and bold text when it has been edited and pending an override. This would mainly cover the main portion above Profiles and the Events section.

Inspectors should work and look as they did before.
No data should be lost.
properties inside of themes would not show a blue mark or bold text when edited, they are ScriptableObjects and their properties are not stored in the prefab.

/azp run mrtk_pr

/azp run rc2_stabilization_PR

/azp run rc2_stabilization_PR

/azp run rc2_stabilization_PR

/azp run rc2_stabilization_PR

/azp run mrtk_pr

/azp run mrtk_pr


Add Knowledge / Guidelines for aider

Issue
I want to add some additional guidelines to aider, so it will understand some specific code syntax, methods based on local documention in md or pdf.
for instance I'm using d2lang for diagramming, unfortunatly openai or other models do not understand how to use it, they usualy knows plantuml or marmaid.
I tried adding guideline to docs/d2lang.md in repo but still aider makes mistakes
I also used /add but not better.
is it possible that my guidline is too long?
Version and model info
No response

found option /read

@Palkers76 So /read is like knowledge and prompts used in every query?


Retry FileDisk Open for should-be-existing files

Problem statement
I found the "wait 5 minutes then try again" behaviour useful when plotting, since on multiple occasions I misjudged my remaining disk space and ran out of space. Currently, that behaviour doesn't exist when opening a file handle, which irrecoverably fails the plotting process if you move a temp file (say, to another disk to get some space back, so that other parallel plotting instances can continue).
Solution
Use the same "wait 5 minutes then retry" behaviour for FileDisk instances when they call Open in Read or Write, since they already Opened successfully before (in the constructor).
Notes
I've held back from using this behaviour in the constructor, since that's the first time we encounter a particular file (and we aren't wasting a plotting run by failing at the beginning). It's also a unit test case, so I figured that I shouldn't change that behaviour.
Testing

Compiled and mkdir tmp tmp2 as preparation
Ran ./ProofOfSpace create -s 16000 -u 0 -t ./tmp -d ./tmp -k 20
mv tmp/plot.dat.table2.tmp tmp2 during execution
After confirming the error message, moved it back mv tmp2/plot.dat.table2.tmp tmp

operation: create
Generating plot for k=20 filename=plot.dat id=022fb42c08c12de3a6af053880199806532e79515f94e83461612101f9412f9e

[. . .]

sorting table 3
sort time =  0.140 seconds. CPU (100.040%) Thu Mar 11 18:29:46 2021
Backpropagating on table 2
Could not open "./tmp/plot.dat.table2.tmp": No such file or directory. Retrying in five minutes.
scanned table 2
scanned time =  300.020 seconds. CPU (0.000%) Thu Mar 11 18:34:46 2021
sorting table 2
sort time =  0.151 seconds. CPU (99.290%) Thu Mar 11 18:34:46 2021
table 1 new size: 835133
Time for phase 2 = 301.046 seconds. CPU (0.310%) Thu Mar 11 18:34:46 2021
Wrote: 145

Starting phase 3/4: Compression from tmp files into "./plot.dat.2.tmp" ... Thu Mar 11 18:34:46 2021
Compressing tables 1 and 2

[. . .]

Time for phase 4 = 0.107 seconds. CPU (99.450%) Thu Mar 11 18:34:48 2021
Approximate working space used (without final file): 0.043 GiB
Final File size: 0.015 GiB
Total time = 306.523 seconds. CPU (2.470%) Thu Mar 11 18:34:48 2021
Copied final file from "./plot.dat.2.tmp" to "./tmp/plot.dat.2.tmp"
Removed temp2 file "./plot.dat.2.tmp"? 1
Renamed final file from "./tmp/plot.dat.2.tmp" to "./tmp/plot.dat"

Thank you for the second review! I've committed your suggestion.

OK, checked that tests pass locally and did the manual file move thing again. Should work now.

@L3Sota thanks for your contribution!


add sanity_check_data.json

oldest sb profile reference: https://piped.kavin.rocks/watch?v=7Z5AFsGHnR0
highest nw reference:

PSS pr limbo

i kinda forgot about this


chore(marketplace): bump to 1.2.0

Bumping the marketplace chart version to 1.2.0 in prep for the next release, following the release docs.
Placing in draft because I think we'll want updated Spin Operator and shim versions as well, prior to the next release; ref https://github.com/spinkube/azure/issues/30
Note: bumping Spin Operator will be a breaking change (per their CRD domain name update) but since we haven't published the Marketplace extension to the public yet, I'm inclined to stay at 1.x until we do so.
Diff from v1.1.1

Diff alone is hard to tell what are the major difference between the old and new versions. In runwasi and containerd-spin-shim, we are maintaining Changelog.md following best practices from https://keepachangelog.com/en/1.1.0/. It might be worth considering in this repo as well,

@Mossaka good call; I've created https://github.com/spinkube/azure/issues/36
For this release, I've update the description with the main changes.


Example Template SPX1 Ticker Sheet Errors

Example Template SPX1 Ticker Sheet works ok in Web Playout preview but no in CasparCG.
Tested on CasparCG 2.3.0 LTS and 2.3.2 LTS Beta
In both versions Caspar throws error:
[2021-03-08 16:43:49.441] [error]   html[http://<IP_ADDRESS>:5000/templates/smartpx/Template_Pack_1/SPX1_TICKER_SHEET.html] 1920 1080 50.000000 Log: Uncaught (in promise) TypeError: Cannot read property 'forEach' of undefined

Yes, this has come up by other users also. I have a fix for this and will share this in future versions.

(closed accidentally)

Fixed in an update.


Adds conference and google meet support for all new incidents.

Adds support for automatically creating a video conference on incident creation (default is google meet).

+1


When a backend service returns a GOAWAY, client need to handle it without dropping next requests

Description:
When a backend service has sent a GOAWAY to the client and there are more requests to be sent to the backend, the current implementation tries to create new streams in the same connections and ends up with Cannot create stream %d greater than Last-Stream-ID %d from GOAWAY. This needs to be handled gracefully by creating a new connection without trying to use the same connection.

I was able to add the following native tests to the module.
GOAWAY Frame

Http2TcpServerSendGoAwayForAllStreamsScenarioTest
Http2TcpServerGoAwayWhileReceivingBodyScenarioTest
Http2TcpServerGoAwaySingleStreamScenarioTest
Http2TcpServerGoAwayMultipleStreamScenarioTest
Http2ServerAbruptClosureInUpgradeScenarioTest
Http2TcpServerGoAway100ContinueScenarioTest

In these test cases, following scenarios are tested.

Sending GO_AWAY frame before sending the headers
Sending GO_AWAY frame after sending the headers and before sending the body
Sending GO_AWAY frame after client sends a 100-continue request

RST_STREAM Frame

Http2TcpServerRSTStreamFrameWhenReadingBodyForSingleStreamTest
Http2TcpServerRSTStreamFrameForSingleStreamTest
Http2TcpServerRSTStreamFrameForMultipleStreamsTest
Http2TcpServerRSTStreamFrameFor100ContinueTest

In these test cases, following scenarios are tested.

Sending RST_STREAM frame before sending the headers
Sending RST_STREAM frame after sending the headers and before sending the body
Sending RST_STREAM frame after client sends a 100-continue request

As a summary,

Client's States
SendingHeaders
WaitingFor100Continue
SendingEntityBody
RequestCompleted
ReceivingHeaders
ReceivingEntityBody
EntityBodyReceived
SendingRstFrame

Frame Type

GO_AWAY
1*
✔
1*
✔
2*
✔
N/A

RST_STREAM
1*
✔
1*
✔
2*
✔
N/A

1* - Tried to send requests in the middle of sending headers and body (Tried to send a large header and set the tcp buffer to a small value to make the buffer full and make netty pause writing headers). However was not able to achieve thes test cases.
N/A - Sending GoAway and RST_Stream frames are not applicable for this scenarios.
2* - Tried the receiving header state by sending a part of header frame first so that client thinks the rest headers will come in a CONTINUATION frame and tried to send a GOAWAY frame before sending the CONTINUATION frame. However, netty internally intercepts this and responds with a protocol error. Therefore, this scenario was also could not be tested.


Update jest to 25.3

Description
This PR updates:

jest, ts-jest jest-matcher-utils, babel-jest to 25.3.
jest-enzyme to 7.1.2
@types/jest to 25.2.1

Type of change

[x] @shopify/ast-utilities Minor: New feature (non-breaking change which adds functionality)
[x] @shopify/graphql-testing Minor: New feature (non-breaking change which adds functionality)
[x] @shopify/react-testing Minor: New feature (non-breaking change which adds functionality)

Checklist

[X] I have added a changelog entry, prefixed by the type of change noted above

Completely wrecked this branch with a bad rebase. Created a new one here: https://github.com/Shopify/quilt/pull/1375


Support risc-v

RISC-V is a good start to get Ethereum nodes running in free hardware, which is a necessary step for a local-first decentralized economy. Lightclients are another necessary step, so these two worlds together are very powerful.
Please support the risc-v architecture in this project.

helios fails to compile in risc-v because it has an old version of ring.
We need to update jsonrpsee in this repository in order to update ring.

closed by #374


refactor: remove unused function NewClusterIDFromUint

What this PR does
Remove unused function NewClusterIDFromUint.

Current dependencies on/for this PR:

main

PR #552   👈

This comment was auto-generated by Graphite.

Codecov Report
Patch coverage has no change and project coverage change: -0.04% :warning:

Comparison is base (ebca873) 61.81% compared to head (c6e70d8) 61.77%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #552      +/-   ##
==========================================
- Coverage   61.81%   61.77%   -0.04%
==========================================
  Files         137      137
  Lines       18759    18754       -5
==========================================
- Hits        11596    11586      -10
- Misses       6586     6592       +6
+ Partials      577      576       -1

Files Changed
Coverage Δ

pkg/types/types.go
58.53% <ø> (-2.39%)
:arrow_down:

... and 6 files with indirect coverage changes

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


v0.29.0

See CHANGELOG

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license.

Any idea why https://github.com/awslabs/aws-cdk/commit/a89758fcb46e78620ccc60979b066a47e1cf2cd5 is the only commit between v0.28.0 and v0.29.0 not listed in the changelog?

@jogold I'll be guessing the commit parser somehow did not recognize this commit properly... That's happened a couple of times in the past.


change ResetNarcolepsy to be more lenient

Description

since you drink in 5u increments, meds that are supposed to reset narcolepsy won't work if you don't take them in precisely the correct dosage. this should fix it so that if you have the correct dosage or higher then the effect properly triggers.
TODO

need to test, i just wrote this without even checking if it'd compile or if this is even the bug i think it is
Media

Changelog

:cl:

fix: Made narcolepsy meds slightly more lenient for correct dosing

after testing: this isnt the bug. it's technically sorta not a bug but it's really annoying and narcolepsy should be handled a different way in the first place
i don't even know why this line exists it's misleading and after adding a log line to check the value of args.Scale i don't even know when it could be !=1 given the effect doesnt even trigger before the threshold
i think the issue i was experiencing was simply due to metabolism being quite quick meaning you'd really have to sip another extra 5u if you want to do it without pills
anyway i'll talk to someone about actually fixing narcolepsy instead of tweaking its awkwardness slightly


Remove print statements

There are 2 print statements in interface.py that should be replaced by log.error

Removed in 2cd5828dff2ab26226bbb5a4f5f72948ae2aa50f


[Bug]: add a new model fails "file _.safetensors could not be found" on Firefox

What happened?
Uploading a lora file always fails when clicking save. Website is unable to find the model I uploaded when using Firefox
Steps to reproduce the problem

click upload a model
Select LORA
Create a new version
Upload the LORA .safetensors file
Add required fields for the LORA
Click Save
Get error

What should have happened?
Model uploads just fine and I can save / publish a draft
What platforms do you use to access the site?
Windows
What browsers do you use to access the site?
Mozilla Firefox
Additional information, context and logs
Error message
"Could not save model
An error occurred while saving the model: File NameOfLORA.safetensors could not be found.
Please re-upload."
Worked when I upload on Brave browser instead of Firefox.

Same issue, I tried using a different file and even renaming it the same as the model but I cannot upload any .safetensor file on the site

Hey @Best-by-feb132024 @ffedev can you please confirm this is an issue for you still? We did some updates to the uploading system and shouldn't be happening anymore

Just tried and same error on firefox. My only guesses might be I'm using incognito/private browsing, or it's a browser extension I am using somehow interfering

I think this might be a bug on our end. Would you mind sharing more info? Are you uploading a new model or editing an existing one? Is it just a single version? Are you uploading multiple files along with the main LoRA file? Does uploading anything other than .safetensors let you save the model? Did you try saving as draft? All of this is useful to figure out the root cause of the issue. I'd appreciate if you could share it

Hey @Best-by-feb132024 @ffedev can you please confirm this is an issue for you still? We did some updates to the uploading system and shouldn't be happening anymore

Hi, I "resolved" by uploading it with Chrome.
I re-tried now with Firefox and got the same error, I re-logged from an incognito window and it worked.
currently I'm running:
ClearURLs, Decentraleyes, Facebook Container, Greasemonkey, Privacy Badger, Privacy Possum, Sponsorblock, uBlock Origin.
while Incognito only had uBlock origin for this test,
my user agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/110.0

@ffedev All of this is helpful, thank you. If possible, can you try doing that upload again, try to save your model (could be draft), then check your network tab in devtools and see if there's any errors with the request? If there is, please share the details of the error and the payload sent. I've run a couple of tests on my end using firefox and all seems to work fine, that's why I'm asking for all this info cause this seems like a particular issue with you guys

@manuelurenah
Only tried with LORA and .safetensors files, but testing with a textual inversion .bin file also failed for me just now
it fails whether I upload 1 or multiple, and whether I am creating a new LORA / editing a preexisting one / creating a draft.
I have similar privacy plugins to ffedev, and run a VPN

Ublock origin
duckduckgo privacy essentials
clearURLs
privacy possom
decentraleyes
privacy badger

Firefox version is Ver 110.0


239436

update line 175 from "reused" to "used" for loc fix of a possible typo

#sign-off

@MSKaiLian can you please merge this?


Update google-cloud-pubsub to 1.116.1

Updates com.google.cloud:google-cloud-pubsub from 1.107.0 to 1.116.1.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.google.cloud", artifactId = "google-cloud-pubsub" } ]

labels: library-update, early-semver-minor, semver-spec-minor, commit-count:1

Superseded by #294.


Update rocksdb: fix a segfault

Fix a potential segfault when we have a very large number of ranges on stack in https://github.com/pingcap/rust-rocksdb/commit/b127863a82fcf7784d5697261207df827f6c74a0.

LGTM

LGTM

./run-all-test

/run-all-tests


Fix 'file(s) failed to synchronize' count

Current failedFileCount does not include files that are missing where the state property is empty
Before

After

Quick note: This does introduce some confusion to the UX IMO. We have a file that is missing and in the 'failed' state, but at the same time we are displaying a message that is saying 'No synchronization issues found'. Maybe we should add some logic where if the file count and failed file count are equal we do not display the 'No synchronization issues found' message.

I have also removed the message "No synchronization issues found" when all files have failed to synchronize, and there are no issues found inside the report.


feat(cli): unified the display format of description in CLI

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 82.821%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
5067

Relevant Lines:
6118

💛  - Coveralls


Error in federated learning example

What happened:
When I follow  https://github.com/kubeedge/sedna/tree/main/examples/federated_learning/yolov5_coco128_mistnet, an error occurred while mistnet was deploying federated learning samples
# kubectl logs yolo-v5-train-cnq8h
[2021-11-18 06:26:58,662] aggregation.py(294) [INFO] - /home/data/pretrained/
[2021-11-18 06:26:58,666] aggregation.py(314) [INFO] - address <IP_ADDRESS>, port 7363
[INFO][06:26:58]: Server: mistnet
[INFO][06:26:58]: [Server #7] Started training on 1 clients with 1 per round.
[INFO][06:26:58]: [Server #7] Configuring the server...
[INFO][06:26:58]: Training: 1 rounds or 99.0% accuracy

[INFO][06:26:58]: Trainer: yolov5
[INFO][06:26:59]: Generating new fontManager, this may take some time...
[INFO][06:27:02]:
                 from  n    params  module                                  arguments
[INFO][06:27:02]:   0                -1  1      3520  yolov5.models.common.Focus              [3, 32, 3]
[INFO][06:27:02]:   1                -1  1     18560  yolov5.models.common.Conv               [32, 64, 3, 2]
[INFO][06:27:02]:   2                -1  1     18816  yolov5.models.common.C3                 [64, 64, 1]
[INFO][06:27:02]:   3                -1  1     73984  yolov5.models.common.Conv               [64, 128, 3, 2]
[INFO][06:27:02]:   4                -1  1    156928  yolov5.models.common.C3                 [128, 128, 3]
[INFO][06:27:02]:   5                -1  1    295424  yolov5.models.common.Conv               [128, 256, 3, 2]
[INFO][06:27:02]:   6                -1  1    625152  yolov5.models.common.C3                 [256, 256, 3]
[INFO][06:27:02]:   7                -1  1   1180672  yolov5.models.common.Conv               [256, 512, 3, 2]
[INFO][06:27:02]:   8                -1  1    656896  yolov5.models.common.SPP                [512, 512, [5, 9, 13]]
[INFO][06:27:02]:   9                -1  1   1182720  yolov5.models.common.C3                 [512, 512, 1, False]
[INFO][06:27:02]:  10                -1  1    131584  yolov5.models.common.Conv               [512, 256, 1, 1]
[INFO][06:27:02]:  11                -1  1         0  torch.nn.modules.upsampling.Upsample    [None, 2, 'nearest']
[INFO][06:27:02]:  12           [-1, 6]  1         0  yolov5.models.common.Concat             [1]
[INFO][06:27:02]:  13                -1  1    361984  yolov5.models.common.C3                 [512, 256, 1, False]
[INFO][06:27:02]:  14                -1  1     33024  yolov5.models.common.Conv               [256, 128, 1, 1]
[INFO][06:27:02]:  15                -1  1         0  torch.nn.modules.upsampling.Upsample    [None, 2, 'nearest']
[INFO][06:27:02]:  16           [-1, 4]  1         0  yolov5.models.common.Concat             [1]
[INFO][06:27:02]:  17                -1  1     90880  yolov5.models.common.C3                 [256, 128, 1, False]
[INFO][06:27:02]:  18                -1  1    147712  yolov5.models.common.Conv               [128, 128, 3, 2]
[INFO][06:27:02]:  19          [-1, 14]  1         0  yolov5.models.common.Concat             [1]
[INFO][06:27:02]:  20                -1  1    296448  yolov5.models.common.C3                 [256, 256, 1, False]
[INFO][06:27:02]:  21                -1  1    590336  yolov5.models.common.Conv               [256, 256, 3, 2]
[INFO][06:27:02]:  22          [-1, 10]  1         0  yolov5.models.common.Concat             [1]
[INFO][06:27:02]:  23                -1  1   1182720  yolov5.models.common.C3                 [512, 512, 1, False]
[INFO][06:27:02]:  24      [17, 20, 23]  1    229245  yolov5.models.yolo.Detect               [80, [[10, 13, 16, 30, 33, 23], [30, 61, 62, 45, 59, 119], [116, 90, 156, 198, 373, 326]], [128, 256, 512]]
[W NNPACK.cpp:79] Could not initialize NNPACK!  Please do not use them for anything important until they are released as stable. (Triggered internally at  /pytorch/c10/core/TensorImpl.h:1156.)
  return torch.max_pool2d(input, kernel_size, stride, padding, dilation, ceil_mode)
[INFO][06:27:04]: Model Summary: 283 layers, 7276605 parameters, 7276605 gradients, 17.1 GFLOPs
[INFO][06:27:04]:
[INFO][06:27:04]: Algorithm: mistnet
[INFO][06:27:04]: [Server #7] Loading a pre-trained model.
[INFO][06:27:04]: [Server #7] Loading a model from ./models/pretrained/yolov5.pth.
Traceback (most recent call last):
  File "aggregate.py", line 37, in <module>
    run_server()
  File "aggregate.py", line 33, in run_server
    server.start()
  File "/home/lib/sedna/service/server/aggregation.py", line 324, in start
    self.server.run()
  File "/home/plato/plato/servers/base.py", line 87, in run
    self.configure()
  File "/home/plato/plato/servers/fedavg.py", line 72, in configure
    self.load_trainer()
  File "/home/plato/plato/servers/mistnet.py", line 30, in load_trainer
    self.trainer.load_model()
  File "/home/plato/plato/trainers/basic.py", line 86, in load_model
    self.model.load_state_dict(torch.load(model_path))
  File "/usr/local/lib/python3.6/dist-packages/torch/serialization.py", line 594, in load
    with _open_file_like(f, 'rb') as opened_file:
  File "/usr/local/lib/python3.6/dist-packages/torch/serialization.py", line 230, in _open_file_like
    return _open_file(name_or_buffer, mode)
  File "/usr/local/lib/python3.6/dist-packages/torch/serialization.py", line 211, in __init__
    super(_open_file, self).__init__(open(name, mode))
FileNotFoundError: [Errno 2] No such file or directory: './models/pretrained/yolov5.pth'

I have created /model and /pretrained directories at the locations specified in each node according to the tutorial
I find the error code in /home/plato/plato/config.py:123
# Pretrained models
            Config.params['model_dir'] = "./models/pretrained/"
            Config.params['pretrained_model_dir'] = "./models/pretrained/"

I don't know why this happens. Do I need to change it to the correct path of the pre training model and repackage the image?
The docker images information :
kubeedge/sedna-example-federated-learning-mistnet-yolo-client       v0.4.0     70fcd2fc71e2   2 months ago    4.95GB
kubeedge/sedna-example-federated-learning-mistnet-yolo-aggregator   v0.4.0     fd0a0512f024   2 months ago    4.95GB

Environment:
Sedna Version
$ kubectl get -n sedna deploy gm -o jsonpath='{.spec.template.spec.containers[0].image}'
# kubeedge/sedna-gm:v0.4.3

$ kubectl get -n sedna ds lc -o jsonpath='{.spec.template.spec.containers[0].image}'
# kubeedge/sedna-lc:v0.4.3

Kubernets Version
$ kubectl version
# Client Version: version.Info{Major:"1", Minor:"20", GitVersion:"v1.20.0", GitCommit:"af46c47ce925f4c4ad5cc8d1fca46c7b77d13b38", GitTreeState:"clean", BuildDate:"2020-12-08T17:59:43Z", GoVersion:"go1.15.5", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"20", GitVersion:"v1.20.12", GitCommit:"4bf2e32bb2b9fdeea19ff7cdc1fb51fb295ec407", GitTreeState:"clean", BuildDate:"2021-10-27T17:07:18Z", GoVersion:"go1.15.15", Compiler:"gc", Platform:"linux/amd64"}

KubeEdge Version
$ cloudcore --version
# KubeEdge v1.8.2

$ edgecore --version
# KubeEdge v1.8.2

CloudSide Environment:
Hardware configuration
$ lscpu
# 架构：           x86_64
CPU 运行模式：   32-bit, 64-bit
字节序：         Little Endian
CPU:             24
在线 CPU 列表：  0-23
每个核的线程数： 2
每个座的核数：   6
座：             2
NUMA 节点：      2
厂商 ID：        GenuineIntel
CPU 系列：       6
型号：           45
型号名称：       Intel(R) Xeon(R) CPU E5-2620 0 @ 2.00GHz
步进：           7
CPU MHz：        2299.795
CPU 最大 MHz：   2500.0000
CPU 最小 MHz：   1200.0000
BogoMIPS：       3999.64
虚拟化：         VT-x
L1d 缓存：       32K
L1i 缓存：       32K
L2 缓存：        256K
L3 缓存：        15360K
NUMA 节点0 CPU： 0-5,12-17
NUMA 节点1 CPU： 6-11,18-23

OS
$ cat /etc/os-release
# NAME="Ubuntu"
VERSION="18.04.6 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.6 LTS"
VERSION_ID="18.04"

Kernel
$ uname -a
# Linux node01 5.4.0-84-generic #94~18.04.1-Ubuntu SMP Thu Aug 26 23:17:46 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

PTAL @jaypume @XinYao1994

@skrlin @JoeyHwong-gk
It is very hard to understand why your image is produced 2 months ago. Did you make sure that you have successfully updated the image?

@skrlin @JoeyHwong-gk It is very hard to understand why your image is produced 2 months ago. Did you make sure that you have successfully updated the image?

I think the reason is that @skrlin used v0.4.0 which has a bug. And I suggest you can try the latest version(i.e. v0.4.3).

@XinYao1994 can you help to update the version of  federated learning example yaml?

@JoeyHwong-gk
I didn’t update the mirror, just pulled the v0.4.0 version of the mirror in the depository according to the tutorial

@llhuii @skrlin @jaypume We have planned to add a tutorial demo recently. Hope that can help. :) Federated learning example yaml will be updated before we release that demo.

@llhuii OK, thank you very much for your answer

@XinYao1994 OK, thank you very much for your answer

@skrlin @JoeyHwong-gk It is very hard to understand why your image is produced 2 months ago. Did you make sure that you have successfully updated the image?

I think the reason is that @skrlin used v0.4.0 which has a bug. And I suggest you can try the latest version(i.e. v0.4.3).

我也遇到了这个问题：
[INFO][02:29:18]: New cache created: data/COCO/coco128/labels/train2017.cache
[INFO][02:29:18]: No clients are launched (server:disable_clients = true)
[INFO][02:29:18]: Starting a server at address <IP_ADDRESS> and port 7363.
[INFO][02:29:32]: <IP_ADDRESS> [23/Nov/2021:02:29:32 +0000] "GET /socket.io/?transport=polling&EIO=4&t=1637634572.613998 HTTP/1.1" 200 292 "-" "Python/3.6 aiohttp/3.8.0"
[INFO][02:29:32]: <IP_ADDRESS> [23/Nov/2021:02:29:32 +0000] "GET /socket.io/?transport=polling&EIO=4&t=1637634572.612923 HTTP/1.1" 200 292 "-" "Python/3.6 aiohttp/3.8.0"
[INFO][02:29:32]: [Server #6] A new client just connected.
[INFO][02:29:32]: [Server #6] A new client just connected.
[INFO][02:29:32]: [Server #6] New client with id #2 arrived.
[INFO][02:29:32]: [Server #6] Starting training.
[INFO][02:29:32]:
[Server #6] Starting round 1/1.
[INFO][02:29:32]: [Server #6] Selecting client #2 for training.
[INFO][02:29:32]: [Server #6] Sending the current model to client #2.
[INFO][02:29:32]: [Server #6] New client with id #1 arrived.
[INFO][02:29:37]: [Server #6] Sent 27.96 MB of payload data to client #2.
[INFO][02:31:31]: [Server #6] Received 400.11 MB of payload data from client #2.
[INFO][02:31:31]: [Server #6] All 1 client reports received. Processing.
[ERROR][02:31:31]: Task exception was never retrieved
future: <Task finished coro=<AsyncServer._handle_event_internal() done, defined at /usr/local/lib/python3.6/site-packages/socketio/asyncio_server.py:502> exception=AttributeError("'list' object has no attribute 'num_train_examples'",)>
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/socketio/asyncio_server.py", line 504, in _handle_event_internal
    r = await server._trigger_event(data[0], namespace, sid, *data[1:])
  File "/usr/local/lib/python3.6/site-packages/socketio/asyncio_server.py", line 547, in _trigger_event
    event, *args)
  File "/usr/local/lib/python3.6/site-packages/socketio/asyncio_namespace.py", line 37, in trigger_event
    ret = await handler(*args)
  File "/home/plato/plato/servers/base.py", line 59, in on_client_payload_done
    data['obkey'])
  File "/home/plato/plato/servers/base.py", line 446, in client_payload_done
    await self.process_reports()
  File "/home/plato/plato/servers/mistnet.py", line 40, in process_reports
    sampler = all_inclusive.Sampler(feature_dataset)
  File "/home/plato/plato/samplers/all_inclusive.py", line 18, in __init__
    self.all_inclusive = range(dataset.num_train_examples())
AttributeError: 'list' object has no attribute 'num_train_examples'

@XinYao1994 帮忙看一下

@skrlin @JoeyHwong-gk It is very hard to understand why your image is produced 2 months ago. Did you make sure that you have successfully updated the image?

I think the reason is that @skrlin used v0.4.0 which has a bug. And I suggest you can try the latest version(i.e. v0.4.3).

我也遇到了这个问题，用的是v0.4.3，log如下：
[INFO][02:29:18]: New cache created: data/COCO/coco128/labels/train2017.cache
[INFO][02:29:18]: No clients are launched (server:disable_clients = true)
[INFO][02:29:18]: Starting a server at address <IP_ADDRESS> and port 7363.
[INFO][02:29:32]: <IP_ADDRESS> [23/Nov/2021:02:29:32 +0000] "GET /socket.io/?transport=polling&EIO=4&t=1637634572.613998 HTTP/1.1" 200 292 "-" "Python/3.6 aiohttp/3.8.0"
[INFO][02:29:32]: <IP_ADDRESS> [23/Nov/2021:02:29:32 +0000] "GET /socket.io/?transport=polling&EIO=4&t=1637634572.612923 HTTP/1.1" 200 292 "-" "Python/3.6 aiohttp/3.8.0"
[INFO][02:29:32]: [Server #6] A new client just connected.
[INFO][02:29:32]: [Server #6] A new client just connected.
[INFO][02:29:32]: [Server #6] New client with id #2 arrived.
[INFO][02:29:32]: [Server #6] Starting training.
[INFO][02:29:32]:
[Server #6] Starting round 1/1.
[INFO][02:29:32]: [Server #6] Selecting client #2 for training.
[INFO][02:29:32]: [Server #6] Sending the current model to client #2.
[INFO][02:29:32]: [Server #6] New client with id #1 arrived.
[INFO][02:29:37]: [Server #6] Sent 27.96 MB of payload data to client #2.
[INFO][02:31:31]: [Server #6] Received 400.11 MB of payload data from client #2.
[INFO][02:31:31]: [Server #6] All 1 client reports received. Processing.
[ERROR][02:31:31]: Task exception was never retrieved
future: <Task finished coro=<AsyncServer._handle_event_internal() done, defined at /usr/local/lib/python3.6/site-packages/socketio/asyncio_server.py:502> exception=AttributeError("'list' object has no attribute 'num_train_examples'",)>
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/socketio/asyncio_server.py", line 504, in _handle_event_internal
    r = await server._trigger_event(data[0], namespace, sid, *data[1:])
  File "/usr/local/lib/python3.6/site-packages/socketio/asyncio_server.py", line 547, in _trigger_event
    event, *args)
  File "/usr/local/lib/python3.6/site-packages/socketio/asyncio_namespace.py", line 37, in trigger_event
    ret = await handler(*args)
  File "/home/plato/plato/servers/base.py", line 59, in on_client_payload_done
    data['obkey'])
  File "/home/plato/plato/servers/base.py", line 446, in client_payload_done
    await self.process_reports()
  File "/home/plato/plato/servers/mistnet.py", line 40, in process_reports
    sampler = all_inclusive.Sampler(feature_dataset)
  File "/home/plato/plato/samplers/all_inclusive.py", line 18, in __init__
    self.all_inclusive = range(dataset.num_train_examples())
AttributeError: 'list' object has no attribute 'num_train_examples'

@Poorunga @llhuii
Please make sure you have used the most updated version because it has been fixed at here


[0837] Migrate the PE allocations section open state

Context
Migrate the PE allocations section open state
Changes proposed in this pull request
Added repeat allocation flow
Added edit initial allocation flow
Added choose an org allocation flow
Guidance to review
Providers with repeat allocations

https://teacher-training-api-pr-2631.london.cloudapps.digital/publish/organisations/D86/2022/allocations
https://teacher-training-api-pr-2631.london.cloudapps.digital/publish/organisations/E69/2022/allocations
https://teacher-training-api-pr-2631.london.cloudapps.digital/publish/organisations/2BA/2022/allocations
https://teacher-training-api-pr-2631.london.cloudapps.digital/publish/organisations/L51/2022/allocations
https://teacher-training-api-pr-2631.london.cloudapps.digital/publish/organisations/L24/2022/allocations
https://teacher-training-api-pr-2631.london.cloudapps.digital/publish/organisations/C55/2022/allocations
https://teacher-training-api-pr-2631.london.cloudapps.digital/publish/organisations/G12/2022/allocations
https://teacher-training-api-pr-2631.london.cloudapps.digital/publish/organisations/1S2/2022/allocations
https://teacher-training-api-pr-2631.london.cloudapps.digital/publish/organisations/1WU/2022/allocations
https://teacher-training-api-pr-2631.london.cloudapps.digital/publish/organisations/E65/2022/allocations
https://teacher-training-api-pr-2631.london.cloudapps.digital/publish/organisations/24P/2022/allocations
https://teacher-training-api-pr-2631.london.cloudapps.digital/publish/organisations/B52/2022/allocations
https://teacher-training-api-pr-2631.london.cloudapps.digital/publish/organisations/O66/2022/allocations
https://teacher-training-api-pr-2631.london.cloudapps.digital/publish/organisations/B71/2022/allocations
https://teacher-training-api-pr-2631.london.cloudapps.digital/publish/organisations/25G/2022/allocations
https://teacher-training-api-pr-2631.london.cloudapps.digital/publish/organisations/28E/2022/allocations
Provider without repeat allocations

https://teacher-training-api-pr-2631.london.cloudapps.digital/publish/organisations/1WH/2022/allocations
https://teacher-training-api-pr-2631.london.cloudapps.digital/publish/organisations/S25/2022/allocations
https://teacher-training-api-pr-2631.london.cloudapps.digital/publish/organisations/26U/2022/allocations
https://teacher-training-api-pr-2631.london.cloudapps.digital/publish/organisations/1SG/2022/allocations
https://teacher-training-api-pr-2631.london.cloudapps.digital/publish/organisations/1A9/2022/allocations
https://teacher-training-api-pr-2631.london.cloudapps.digital/publish/organisations/1SH/2022/allocations
https://teacher-training-api-pr-2631.london.cloudapps.digital/publish/organisations/2H8/2022/allocations
https://teacher-training-api-pr-2631.london.cloudapps.digital/publish/organisations/28T/2022/allocations
https://teacher-training-api-pr-2631.london.cloudapps.digital/publish/organisations/K60/2022/allocations
https://teacher-training-api-pr-2631.london.cloudapps.digital/publish/organisations/F82/2022/allocations
https://teacher-training-api-pr-2631.london.cloudapps.digital/publish/organisations/2A6/2022/allocations
https://teacher-training-api-pr-2631.london.cloudapps.digital/publish/organisations/2BB/2022/allocations
https://teacher-training-api-pr-2631.london.cloudapps.digital/publish/organisations/B60/2022/allocations
https://teacher-training-api-pr-2631.london.cloudapps.digital/publish/organisations/B31/2022/allocations
https://teacher-training-api-pr-2631.london.cloudapps.digital/publish/organisations/252/2022/allocations
https://teacher-training-api-pr-2631.london.cloudapps.digital/publish/organisations/N73/2022/allocations
Notes

Checklist

[x] Make sure all information from the Trello card is in here
[x] Attach to Trello card
[x] Rebased master
[x] Cleaned commit history
[x] Tested by running locally

 Migrate the PE allocations section, open state

Something I just noticed..are the table widths supposed to span over the width? eg

Something I just noticed..are the table widths supposed to span over the content width? eg

It's per design, the text is two third width and the table is full width.
See
https://bat-design-history.netlify.app/publish-teacher-training-courses/request-pe-courses/#new-organisation-added


Added vmware tools version 12.1

12.1.0 is also confirmed vulnerable (running <IP_ADDRESS>, observed in our environment)
Thank you for your contribution! Some pointers to get it merged quickly:
For contributions in software/:

[x] PR Title: Please use "Add <vendor/product name>" (instead of "Update README.md")

[x] Status: please select a value from the status table at the top

[x] Version: Status Vulnerable / Workaround? -> List vulnerable versions.
Status Fix?                     -> List fixed versions.

[ ] Links: make sure you link to a public statement by the developer.
Alternatively, include and link a file in the software/vendor-statements/ directory
statement not available, found in local environment

[x] Please mind the sorting

Added these for readability, version numbers under one another. removing the linebreak will put them next to eachother in some views. let me know what you prefer and ill change accordingly


Bridge app test updates

Problem
The bridge-app example was updated to support the bridge test plan and to conform to specification changes.
Change overview
Commands were added to the bridge-app to add, remove, rename, and change the state for dynamic endpoints with a Matter aggregator(bridge).
The aggregator(bridge) was changed to use a non-zero endpoint ID to match the specification.
The bridge-app was changed so that it does not use fixed labels. (A function replaced by Action clusters).
Testing
The changes to the bridge-app were tested by running the chip-bridge-app from a Linux terminal and using chip-tool to examine the parts-list, node labels, and on-off state.

Start bridge app and wait for initialization to complete
Run chip-tool pairing
chip-tool pairing ethernet 12344321 20202021 3840 localhost 5540
Run chip-tool to get parts-list and verify all endpoint IDs are listed
chip-tool descriptor read parts-list 12344321 0
Run chip-tool to get parts-list for the aggregator(bridge) and verify bridged nodes are listed
chip-tool descriptor read parts-list 12344321 1
Press 2  in bridge-app to add "light 2"
Run chip-tool to observe a new endpoint in parts-list
chip-tool descriptor read parts-list 12344321 1
Press 4 in the bridge-app to remove "Light 1"
Run chip-tool to observe "Light 1" was removed from parts-list
chip-tool descriptor read parts-list 12344321 1
Press 5 in the bridge-app to add "Light 1"
Run chip-tool to observe "Light 1" was added again (it will have a different endpoint number)
chip-tool descriptor read parts-list 12344321 1
Run chip-tool to observe the node label for "Light 1"
./out/host/chip-tool bridgeddevicebasic read node-label 12344321 11
Press b in the bridge-app to rename Light 1
Run chip-tool to observe the node label for "Light 1" changed to "Light 1b"
Run chip-tool to observe on-off state for "Light 1" to see initial on-off state
chip-tool onoff read  on-off 12344321 11
Press c in the bridge-app to change the on-off state of the lights
Run chip-tool to observe the on-off state for "Light 1" has changed
chip-tool onoff read  on-off 12344321 11

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Hi @jwinder-ca
I'm kicking CLA bot right now to fix the CLA issue, however there are two real build failures here:
https://github.com/project-chip/connectedhomeip/runs/6804286561?check_suite_focus=true
and
https://github.com/project-chip/connectedhomeip/runs/6804286365?check_suite_focus=true


Patching reflected XSSs

Hi, I've patched reflected XSSs.

Thank you very much for your contribution @taky! I confirm the patch fixes reflected XSSs.


Changes implemented for SOCIALLI-6

I've implemented SOCIALLI-6 in it's entirety.   Any chances of getting changes pulled to main repo as changes are extensive and and enough functionality that linkedin api can be released with facebook api.

Wow, great work! I was hoping to get to some of this myself soon, but I'm also happy to receive this contribution. I'll try to find some time to review it soon (later this week, maybe...possible a bit later) and let you know.

I'm getting ready to merge this, but must request a few changes...

Please sync up your code with the latest spring-social-linkedin code. Primarily this will bring your build.gradle up to speed with current dependencies
Fix all of the deprecation warnings (mostly pertaining to stuff deprecated in Jackson 1.9.x)
CommunicationTemplateTest.sendEmailInvitation() failed for me because of the order of fields in the response. No big deal, but confirm that it works and reorder the expectation if necessary to make it work.
In NetworkUpdateOperations, please don't declare methods as "public". That's unnecessary in interfaces.
Fix all JavaDoc warnings

Thanks


Allow failure when setting file mtime.

Some filesystems do not allow changing file mtimes (most recent example is a Windows mount in WSL). Since these operations are not critical to Cargo's operation, errors should probably just be ignored. (Currently they are used for mid-build modification protection, and the unstable mtime-on-use).
Fixes #8184

r? @alexcrichton
(rust_highfive has picked a reviewer for you, use r? to override)

@bors: r+

:pushpin: Commit 5f9d9f2111c56bafb69c49987b39953cb38907f5 has been approved by alexcrichton

:hourglass: Testing commit 5f9d9f2111c56bafb69c49987b39953cb38907f5 with merge ba832aca751cc3ee93c108f773870e347554b08d...

:sunny: Test successful - checks-azure
Approved by: alexcrichton
Pushing ba832aca751cc3ee93c108f773870e347554b08d to master...


Validation of the organization does not return a result

After the validation of the organization, either the matching information is returned or no information at all.

Possibly an estimated time would make sense.

Fixed by #59


2024.09.03 release cannot build in a directory that does not exist

The new release (2024.09.03) throws an error if the output directory does not exist. It needs to build both the _build and any doctrees directory else it errors out.
Reverting to 2024.04.16 fixes the issue.
Error log below:
. .sphinx/venv/bin/activate; sphinx-autobuild -b dirhtml "." "_build" -c . -d .sphinx/.doctrees -j auto
Traceback (most recent call last):
  File "/home/skoll/git/sphinx-docs-starter-pack/.sphinx/venv/bin/sphinx-autobuild", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/home/skoll/git/sphinx-docs-starter-pack/.sphinx/venv/lib/python3.12/site-packages/sphinx_autobuild/__main__.py", line 34, in main
    args, build_args = _parse_args(list(argv))
                       ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/skoll/git/sphinx-docs-starter-pack/.sphinx/venv/lib/python3.12/site-packages/sphinx_autobuild/__main__.py", line 101, in _parse_args
    args.outdir = Path(sphinx_args.outputdir).resolve(strict=True)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/pathlib.py", line 1242, in resolve
    s = self._flavour.realpath(self, strict=strict)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen posixpath>", line 435, in realpath
  File "<frozen posixpath>", line 470, in _joinrealpath
FileNotFoundError: [Errno 2] No such file or directory: '_build'

If you then manually create the _build directory:
root@DESKTOP-*:~/test/sphinx-docs-starter-pack# mkdir _build
root@DESKTOP-*:~/test/sphinx-docs-starter-pack# make run
make -f Makefile.sp sp-run
make[1]: Entering directory '/root/test/sphinx-docs-starter-pack'
. .sphinx/venv/bin/activate; sphinx-autobuild -b dirhtml "." "_build" -c . -d .sphinx/.doctrees -j auto
Traceback (most recent call last):
  File "/root/test/sphinx-docs-starter-pack/.sphinx/venv/bin/sphinx-autobuild", line 8, in <module>
    sys.exit(main())
  File "/root/test/sphinx-docs-starter-pack/.sphinx/venv/lib/python3.10/site-packages/sphinx_autobuild/__main__.py", line 34, in main
    args, build_args = _parse_args(list(argv))
  File "/root/test/sphinx-docs-starter-pack/.sphinx/venv/lib/python3.10/site-packages/sphinx_autobuild/__main__.py", line 103, in _parse_args
    args.doctree_dir = Path(sphinx_args.doctreedir).resolve(strict=True)
  File "/root/.pyenv/versions/3.10.7/lib/python3.10/pathlib.py", line 1077, in resolve
    s = self._accessor.realpath(self, strict=strict)
  File "/root/.pyenv/versions/3.10.7/lib/python3.10/posixpath.py", line 395, in realpath
    path, ok = _joinrealpath(filename[:0], filename, strict, {})
  File "/root/.pyenv/versions/3.10.7/lib/python3.10/posixpath.py", line 430, in _joinrealpath
    st = os.lstat(newpath)
FileNotFoundError: [Errno 2] No such file or directory: '.sphinx/.doctrees'
make[1]: *** [Makefile.sp:69: sp-run] Error 1
make[1]: Leaving directory '/root/test/sphinx-docs-starter-pack'
make: *** [Makefile:30: run] Error 2

If I then make the .sphinx/.doctrees directory it works fine:
. .sphinx/venv/bin/activate; sphinx-autobuild -b dirhtml "." "_build" -c . -d .sphinx/.doctrees -j auto
[sphinx-autobuild] Starting initial build
[sphinx-autobuild] > sphinx-build -b dirhtml . _build -c . -d .sphinx/.doctrees -j auto
Running Sphinx v8.0.2
loading translations [en]... done
matplotlib is not installed, social cards will not be generated
myst v4.0.0: MdParserConfig(commonmark_only=False, gfm_only=False, enable_extensions={'substitution', 'linkify', 'deflist'}, disable_syntax=[], all_links_external=False, links_external_new_tab=False, url_schemes=('http', 'https', 'mailto', 'ftp'), ref_domains=None, fence_as_directive=set(), number_code_blocks=[], title_to_header=False, heading_anchors=0, heading_slug_func=None, html_meta={}, footnote_sort=True, footnote_transition=True, words_per_minute=200, substitutions={}, linkify_fuzzy_links=True, dmath_allow_labels=True, dmath_allow_space=True, dmath_allow_digits=True, dmath_double_inline=False, update_mathjax=True, mathjax_classes='tex2jax_process|mathjax_process|math|output_area', enable_checkboxes=False, suppress_warnings=[], highlight_code_blocks=True)
building [mo]: targets for 0 po files that are out of date
writing output...
building [dirhtml]: targets for 2 source files that are out of date
updating environment: [new config] 2 added, 0 changed, 0 removed
reading sources... [100%] readme
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
copying assets...
copying static files... done
copying extra files... done
copying assets: done
/root/test/sphinx-docs-starter-pack/.sphinx/venv/lib/python3.10/site-packages/sphinx_tabs/tabs.py:335: RemovedInSphinx90Warning: The str interface for _JavaScript objects is deprecated. Use js.filename instead.
  if path.suffix == ".js" and path.as_posix() in context["script_files"]:
/root/test/sphinx-docs-starter-pack/.sphinx/venv/lib/python3.10/site-packages/sphinx_tabs/tabs.py:336: RemovedInSphinx90Warning: The str interface for _JavaScript objects is deprecated. Use js.filename instead.
  context["script_files"].remove(path.as_posix())
/root/test/sphinx-docs-starter-pack/.sphinx/venv/lib/python3.10/site-packages/sphinx_tabs/tabs.py:335: RemovedInSphinx90Warning: The str interface for _JavaScript objects is deprecated. Use js.filename instead.
  if path.suffix == ".js" and path.as_posix() in context["script_files"]:
/root/test/sphinx-docs-starter-pack/.sphinx/venv/lib/python3.10/site-packages/sphinx_tabs/tabs.py:336: RemovedInSphinx90Warning: The str interface for _JavaScript objects is deprecated. Use js.filename instead.
  context["script_files"].remove(path.as_posix())
writing output... [100%] readme
generating indices... genindex done
writing additional pages... search done
dumping search index in English (code: en)... done
dumping object inventory... done
build succeeded.

The HTML pages are in _build.
[sphinx-autobuild] Serving on http://<IP_ADDRESS>:8000
[sphinx-autobuild] Waiting to detect changes...

Please see PR https://github.com/sphinx-doc/sphinx-autobuild/pull/175.

Please see PR #175.

You may want to change that PR from a draft and tag AA-Turner for a review- as they seem to be the most active maintainer of sphinx-autobuild recently.

It's not a draft :)  But let's tag @AA-Turner here as well 👋


Waiting ....

Hello folks,
I have been trying this code since last November - no luck to get it to work!
I am not a coder, so no clue but very good at following instructions!
So, last November I discovered this code and got to learn about their brilliant developers. During first few weeks, I got stuck at waiting for feeder.
No error message or anything unusual. The DNS worked fine and was able to redirect things to the IP address of my feeder. Except, the feeder never showed up.
Gave up until beginning of this year which things didn't work at all.
Gave up again!
Came back and learned that it wasn't just me and developers have done some even more work using their own precious time to update the code.
So, I tried it again - and it is now showing waiting for feeder - again! LOL
Just registered to see what I'm missing or any further guidance. My feeder is V2.
Thanks for reading.

Hi,

No error message or anything unusual. The DNS worked fine and was able to redirect things to the IP address of my feeder. Except, the feeder never showed up.

You need to redirect *.arrowconnect.io to the IP of your docker thing not the feeder it self.


Replace s1pro by rs for nativeapi.prip.host doc

Already done on value.yaml:

Note also that the design graph needs to be updated: https://github.com/COPRS/production-common/blob/develop/rs-core/native-api/media/native-api-stac.png


Native LangChain agents in crewAI?

I have a query: can we use the native pre-built LangChain agents along with custom agents created in crewAI?
For e.g., instead of creating Agents and providing them roles, can we use LangChain agents like CSV agents or SQL agents to fetch data and do some tasks?

Bump
Wondering the same. I have tried but they appear incompatible. Can only seem to use LangChain tools.

Bump, tried and failed:
from langchain_community.agent_toolkits.sql.base import create_sql_agent
from langchain_community.utilities.sql_database import SQLDatabase
from langchain_openai import ChatOpenAI
from crewai import Agent
from crewai.agent import CrewAgentExecutor

db = SQLDatabase.from_uri("postgresql://localhost:5432/app")
llm = ChatOpenAI(model="gpt-3.5-turbo", temperature=0)

langchain_executor = create_sql_agent(llm, db=db, agent_type="openai-tools", verbose=True)

executor = CrewAgentExecutor.from_agent_and_tools(
  agent=langchain_executor.agent,
  tools=langchain_executor.tools,
  verbose=True
)

db_agent = Agent(
  role="Database Admin",
  goal="Interact with SQL database",
  backstory="I am a database admin who can interact with SQL databases to run queries and fetch data",
  tools=executor.tools,
  agent_executor=executor,
  verbose=True,
  allow_delegation=True
)

This snippet however doesn't work and goes into a loop, and the agent tries to fix the Action input
 [DEBUG]: == Working Agent: Database Admin
 [INFO]: == Starting Task: Find total number of active users

> Entering new CrewAgentExecutor chain...
I need to check the available tables in the database to see if there is a table that contains information about the users.

Action:
sql_db_list_tables

Action Input:
""
Thought:
I apologize for the mistake. I should have provided the input as a dictionary. Let's fix that.

Action:
sql_db_list_tables

Action Input:
{}

user_permissions, users

Thought:
There is a table named 'users'. I need to check the schema of this table to see if there is a column that indicates user activity.

Action:
sql_db_schema

Action Input:
{"tables": "users"} <==== this key is wrong, it should be table_names

I encountered an error while trying to use the tool. This was the error: InfoSQLDatabaseTool._run() got an unexpected keyword argument 'tables'.
 Tool sql_db_schema accepts these inputs: Input to this tool is a comma-separated list of tables, output is the schema and sample rows for those tables. Be sure that the tables actually exist by calling sql_db_list_tables first! Example Input: table1, table2, table3

According to the expected types on the input here:
https://github.com/langchain-ai/langchain/blob/22dbcc9441cec11f15e03d963149db491002c1a8/libs/community/langchain_community/tools/sql_database/tool.py#L53-L69
When I run langchain_executor.invoke("Find total number of active users"), it works flawlessly.
What would be the best way to not re-invent the prompts for existing langchain agents, and still use these agents as part of the Crew?

How we can execute the sql query in database which is  generated by the llm using agent ????


[BUG] Stable readthedocs documentation is returning 404 not found error

Describe your issue
When you go to stable documentation via:

URL https://cython.readthedocs.io/en/stable/index.html
link in the top bar in the latest documentation
setuptools link to cython docmentation: https://setuptools.pypa.io/en/latest/userguide/ext_modules.html

you will get error: 404 not found

stable documentation seems working now. Hence, I am closing this issue...


Error publishing empty file

Request
{
  "jsonrpc": "2.0",
  "method": "publish",
  "params": {
    "name": "emptyfile",
    "bid": 1,
    "metadata": {
      "title": "An Empty File",
      "description": "There's nothing here",
      "license": "Public Domain",
      "language": "en",
      "nsfw": false
    },
    "file_path": "\/home\/grin\/Desktop\/an_empty_file"
  },
  "id": 188
}

Error
2017-05-23 10:45:27,842 INFO     lbrynet.lbrynet_daemon.Daemon:1851: Publish: {'fee': None, 'bid': 1, 'metadata': {u'license': u'Public Domain', u'description': u"There's nothing here", u'language': u'en', u'title': u'An Empty File', 'version': '_0_1_0', u'nsfw': False}, 'name': u'emptyfile', 'file_path': u'/home/grin/Desktop/an_empty_file'}
2017-05-23 10:45:27,842 INFO     lbrynet.lbrynet_daemon.Publisher:26: Starting publish for emptyfile
2017-05-23 10:45:28,360 INFO     lbrynet.lbryfile.EncryptedFileMetadataManager:243: Saving sd blob hash b27ffd3e24a108fad3bb3927a0b730b1316414d63de18c6759521f7efacd984ac7f70652cecb1c02c5f1c53db42dc865 to stream hash 172a24c0b63cf6533b0eeecf16e676520c3aafad64facdb7ab88b556105cf73e921d23708a8a3fca530d1b4a1df98fac
2017-05-23 10:45:28,373 INFO     lbrynet.core.Wallet:1334: Send claim: emptyfile for 1: 080110011a980108011242080410011a0d416e20456d7074792046696c65221454686572652773206e6f7468696e6720686572652a00320d5075626c696320446f6d61696e38004a0052005a001a50080110011a30b27ffd3e24a108fad3bb3927a0b730b1316414d63de18c6759521f7efacd984ac7f70652cecb1c02c5f1c53db42dc86522186170706c69636174696f6e2f6f637465742d73747265616d
2017-05-23 10:45:29,164 INFO     lbrynet.core.Wallet:936: Saving metadata for claim 1e71eaafc33a1faaa3a96f296ffe889bd0fc4f5e591964b5cf34ea273b979cd7 0
2017-05-23 10:45:29,191 ERROR    lbrynet.lbrynet_daemon.auth.server:346: Failed to process publish: b27ffd3e24a108fad3bb3927a0b730b1316414d63de18c6759521f7efacd984ac7f70652cecb1c02c5f1c53db42dc865
Traceback (most recent call last):
  File "site-packages/twisted/internet/defer.py", line 1297, in _inlineCallbacks
  File "site-packages/twisted/python/failure.py", line 389, in throwExceptionIntoGenerator
  File "site-packages/lbrynet/lbrynet_daemon/Daemon.py", line 1878, in jsonrpc_publish
  File "site-packages/twisted/internet/defer.py", line 1297, in _inlineCallbacks
  File "site-packages/twisted/python/failure.py", line 389, in throwExceptionIntoGenerator
  File "site-packages/lbrynet/lbrynet_daemon/Daemon.py", line 695, in _publish_stream
  File "site-packages/twisted/internet/defer.py", line 1297, in _inlineCallbacks
  File "site-packages/twisted/python/failure.py", line 389, in throwExceptionIntoGenerator
  File "site-packages/lbrynet/lbrynet_daemon/Publisher.py", line 44, in create_and_publish_stream
  File "site-packages/twisted/internet/defer.py", line 1299, in _inlineCallbacks
  File "site-packages/lbrynet/lbryfilemanager/EncryptedFileDownloader.py", line 125, in load_file_attributes
NoSuchSDHash: b27ffd3e24a108fad3bb3927a0b730b1316414d63de18c6759521f7efacd984ac7f70652cecb1c02c5f1c53db42dc865

Should probably place a check in publishing to not allow you to publish an empty file

The UI should prevent this and the daemon should error clearly, IMO. Needs
changes in both places.
On Fri, May 26, 2017 at 12:21 PM, Umpei Kay Kurokawa <
<EMAIL_ADDRESS>wrote:

Should probably place a check in publishing to not allow you to publish an
empty file
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/lbryio/lbry/issues/646#issuecomment-304325730, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAgZVjHJAeD4-gSI9rQBhXxDdni0BPNaks5r9vwAgaJpZM4NjzyW
.

--
Jeremy Kauffman, Founder, LBRY http://lbry.io/
(267) 210-4292
Build LBRY: get https://lbry.io/get, follow https://twitter.com/lbryio,
like https://facebook.com/lbryio

https://github.com/lbryio/lbry/pull/653 will prevent publish in the daemon


Fixed NSError domain and code

Changed NoSuchElementError to be an error code, and introduced BrightFuturesErrorDomain as the domain for NSErrors.

:+1: thanks!


Created separate Installation instructions

Added separate installation instructions for Linux, Windows and MacOS.
Ran the commands on Linux and installation works fine (even ran with one of the samples).

@Udayraj123 could you review this and let me know if any changes are needed?

@Rohan-G can you please take latest pull again?


Language toggle breaking in Swahili mode

When you change language to Swahili it doesn't change back to English no matter how many times you click the toggle

Resolved by https://github.com/bioinformatics-hub-ke/BOSS22/pull/37


Preset:inline / Link Popup Closes

Jodit Version:  3.4.27
Browser:  Chrome/IE/Safary/FF
OS:   Windows
https://xdsoft.net/jodit/play.html?toolbarButtonSize=large&preset=inline
You can´t enter a Link:
.) select text
.) click on the link button
.) try to enter URL or TEXT --> the popup closes

I noticed the same issue on the video url & image url in the popups

Same issue here.

@xdan I've added more information here: https://github.com/xdan/jodit/issues/582


Add Historical Traces to the Map

To better analyze and improve driving strategies, we want the historical traces to be displayed as a floating layer on the map. A detailed introduction will be later added in a periodic report.

See https://github.com/ProjectNeura/LEADS/blob/master/docs/reports/2024-03-07.md.

Here's the .gpx data for the 2023 Waterloo EV Challenge downloaded from Strava. You will need to scrub the data to get the course route with and without the pit. There's some extraneous data as well but I am sure you will be able to pick that out. Here's the Strava link if you want to view the data on their app but it's easy enough to upload to google earth/maps.

Waterloo_Electric_Vehicle_Challenge_2023.txt

See https://github.com/ProjectNeura/LEADS/blob/master/docs/reports/2024-03-07.md.

@HaydenHour Please see one of us if you have any questions about this task.

Accidentally mentioned this issue. It should be #73.

@HaydenHour Any update on this? Can you give us some more information on where you're stuck?

@ATATC @qmascarenhas Sorry I did not post sooner, I did not have access to my laptop over the weekend. It appears that the code is hitting an issue when trying to read the GPX file (specifically regarding the parse function on line 10). This is my code below:
import gpxpy
def gpx_to_custom_csv(gpx_file_path, output_csv_file_path):
# Open GPX file
with open(gpx_file_path, 'r') as gpx_file:

    #Issue appears to be here with the parse
    gpx = gpxpy.parse(gpx_file)

    # write data in CSV format
with open(output_csv_file_path, 'w') as csv_file:
    for track in gpx.tracks:
        for segment in track.segments:
            for point in segment.points:
                # Write latitude and longitude separated by semicolon
                csv_file.write(f"{point.latitude};{point.longitude},")

file paths:
gpx_file_path = "C:/Users/hayde/OneDrive/VeC/Waterloo_Electric_Vehicle_Challenge_2023.gpx"
output_csv_file_path = "C:/Users/hayde/OneDrive/VeC/VEC2023_CSV.csv"
gpx_to_custom_csv(gpx_file_path, output_csv_file_path)

Please provide the error message.

This works for me.

Oh, that's weird. So did it create a new file with the right formatting?

I haven't tested the file part. I replaced it with print(). But I believe write overwrites the file. There should be an appending function.

Btw please fork the repository to be ready to merge your contributions.

I'm gonna finish this feature (including auto corner speed marking) for the website this week.

This is excellent @ATATC !

@HaydenHour Sorry for the wrong instructions previously. I had some misunderstanding about CSV files. I'll provide a new handout later.

2023.csv

Result
An enhanced version with inferred speeds.
2023.csv
from gpxpy import parse
from leads.data_persistence import CSVCollection
from leads.data import dlat2meters, dlon2meters

def gpx_to_custom_csv(gpx_file_path: str, output_csv_file_path: str) -> None:
    with open(gpx_file_path, 'r') as gpx_file:
        gpx = parse(gpx_file)
    csv = CSVCollection(output_csv_file_path, ("t", "voltage", "speed", "front_wheel_speed", "rear_wheel_speed",
                                               "forward_acceleration", "lateral_acceleration", "mileage", "gps_valid",
                                               "gps_ground_speed", "latitude", "longitude"))
    # prev time
    t_0 = None
    # prev latitude
    lat_0 = None
    # prev longitude
    lon_0 = None
    for track in gpx.tracks:
        for segment in track.segments:
            for point in segment.points:
                t = point.time.timestamp()
                lat = point.latitude
                lon = point.longitude
                if t_0 is None or lat_0 is None or lon_0 is None:
                    t_0, lat_0, lon_0 = t, lat, lon
                    csv.write_frame(int(t * 1000), *((None,) * 9), lat, lon)
                    continue
                # dt
                dt = t - t_0
                dlat = lat - lat_0
                dlon = lon - lon_0
                # dy
                dy = dlat2meters(dlat)
                # dx
                dx = dlon2meters(dlon)
                # c
                hyp = (dy ** 2 + dx ** 2) ** 0.5
                print(hyp, dt)
                # v
                v = hyp / dt
                # m/s to km/h
                v *= 3.6

                t_0 = t
                lat_0 = lat
                lon_0 = lon

                csv.write_frame(int(t * 1000), None, v, v, v, *((None,) * 5), lat, lon)

gpx_to_custom_csv("Waterloo_Electric_Vehicle_Challenge_2023.gpx", "data/2023.csv")


Reconsider how we use/advertise idom.run()

Current Situation
idom.run() probably shouldn't be the primary advertised way of using IDOM. Especially in it's current state.
Using a development webserver for production use is a big no-no, and by prominently displaying idom.run() as the first steps to using IDOM shows we are encouraging people to do just that. I believe the primary way of utilizing IDOM should be embedding within existing applications (see https://github.com/idom-team/idom/issues/653).
Proposed Actions
Determine a way of either discouraging idom.run() usage or making idom.run() production usable.
See #654 for more info.
Work Items
Choose one or more of these options

Remove idom.run() completely and have embedding IDOM be the only supported usage pattern
Have idom.run() utilize a production grade webserver (Hypercorn or Daphne)

Also ensure all frameworks are set to secure defaults when utilizing idom.run()

Change the idom.run() callable path to something to better indicate what it's doing

idom.testing.webserver()
idom.shortcuts.run()
idom.devtools.run_webserver()

Rework the docs to more prominently indicate that you probably don't want to be using idom.run() for any complex scenarios.
Add console logging to indicate idom.run() is not suited for production use, and to look at integrating it with a real implementation

Note: If option 2 isn't selected then I'd recommend performing the rest as an immediate breaking changes, to give a visible critical failures. This would let all users know they probably shouldn't be using idom.run() the way they currently are.

My personal opinion is that idom.run() should be tucked away into a "dev tools" closet as-is and shouldn't be prominently advertised.
Instead, we should focus on simplifying how users integrate IDOM into existing applications.

We could add a big fat warning about this instead? Technically doing idom.run is fine with Sanic (and I think Tornado too), but not  the others.

Meh, nevermind. We should completely shift how this works:

Drop the run function
stop calling things a per-client state "server" and instead call it a "view"
Make app a required argument of PerClientStateView etc.

Doing this with appropriate deprecation warnings will be a bit tricky, but I think that sends a more accurate message about how you should expect to use IDOM.

The only question then is how you many the "hello world" still look simple...

Maybe do:
from idom import component, html, server

@component
def App():
    return html.h1("Hello, World!")

server.default.run(App)

Except run only accepts one argument (use lack of configuration as deterrent) and produces a big fat warning.

There's also a question of the install target: https://github.com/idom-team/idom/issues/600
I think we should we remove any sense of a "default" install target too since you'd always need to explicitly call out which server implementation you're using.

Doing this with appropriate deprecation warnings will be a bit tricky, but I think that sends a more accurate message about how you should expect to use IDOM.

IDOM is still <v1.0.0, technically we've never needed to deprecate anything. Immediate breaking changes are fully acceptable on pre-release version numbers.

The only question then is how you many the "hello world" still look simple...

Maybe we consider a pattern like this (with the run callable name being TBD)
from idom import component, html, devtools
from fastapi import FastAPI

fastapi_app = FastAPI()

@component
def Hello():
    return html.h1("Hello, World!")

# This should print a warning that it is not production usable
devtools.run(fastapi_app, component=Hello)

I'm worried about the hello-world implying a preference for a given server implementation.

That's pretty much an impossible problem to solve without just duplicating the examples. We support multiple web frameworks, but we need to choose at least one to first demo with.
Could just be a comment saying "Utilize whatever Python web framework you like here!"

stop calling things a per-client state "server" and instead call it a "view"
Make app a required argument of PerClientStateView etc.
Rename idom.server.proto.ServerType.run to run_dev_server

That's a good first step. This actually brings up another thing I've forgotten to mention. I really dislike the name PerClientState<X>. It's really hard to tell what it does based on that name.

I think we should we remove any sense of a "default" install target too since you'd always need to explicitly call out which server implementation you're using.

I also agree with this. It's best for us to not dictate what gets used.
In that case, we really don't need a parameter at all. We can just say it's up to them to separately install a web framework, similar to how whitenoise has no Flask/FastAPI/Django/etc pip parameters,

In that case, we really don't need a parameter at all.

True

I really dislike the name PerClientState

I've gotten an inverse comment at some point. With that said, I had a hard time coming up with a name that accurately described what they did so I'd be open to suggestions.

IDOM is still <1.0.0, technically we've never needed to deprecate anything.

I feel some obligation to make things easier on early adopters where possible.

Based on your your thoughts above, I think I've come up with the best solution for everyone.
Implement all of the following within one PR

Keep idom.run() as is, but add logging to indicate idom.run() is not suited for production use, and developers should look into embedding IDOM into an existing WSGI/ASGI application.

We'd also need to expand the docs to add clear steps for each supported web framework

Remove the pip parameter for frameworks (it's really not needed)
idom.run() will continue to automatically look for any installed server implementations, and will raise a more simple to understand exception if the user has forgotten to install a web framework

ex. Looks like you don't have a web framework installed. You'll need to pip install one of the following: fastapi, flask, sanic

Expand the ease-of-use for integrating into supported web frameworks, similar to Django-IDOM

#653

Optionally:

Change the callable name/path to more appropriately indicate DANGER or FOR QUICK TESTING ONLY

I really dislike the name PerClientState

I've gotten an inverse comment at some point. With that said, I had a hard time coming up with a name that accurately described what they did so I'd be open to suggestions.

Just removing State from the name makes it a lot easier to understand. For example PerClientView .

Let me know if you agree on https://github.com/idom-team/idom/issues/657#issuecomment-1032354703

I think this issue may be related: https://github.com/idom-team/idom/issues/653

Ah, whoops, didn't read through your comment.
Yes, I think I agree.

Probably with the addition that idom.run takes a single argument (the component) to discourage use in the long term.

How do you feel about removing SharedView? https://github.com/idom-team/idom/issues/657#issuecomment-1032359747

I agree


Feature/decline request

Summary of Changes
Added a "declined" Proof State. Added a "decline request" method, allowing the holder to decline proof requests.
Pull Request Checklist

[x] All commits contain a DCO Signed-off-by line (we use the DCO GitHub app to enforce this).
[x] Updated LICENSE-3RD-PARTY.md for any added dependencies or vendored components.
[x] Added tests for changed code (run scripts/preflight to run tests and check code style).
[x] Prefixed code comments with GitHub nick and an appropriate prefix.
[x] Coding style is consistent with the rest of the framework.
[x] Updated documentation for changed code and new or modified features.

Codecov Report

Merging #509 (d07a791) into main (b1e2b8c) will decrease coverage by 0.11%.
The diff coverage is 11.11%.

@@            Coverage Diff             @@
##             main     #509      +/-   ##
==========================================
- Coverage   86.42%   86.31%   -0.12%
==========================================
  Files         266      266
  Lines        5740     5749       +9
  Branches      923      923
==========================================
+ Hits         4961     4962       +1
- Misses        778      786       +8
  Partials        1        1

Impacted Files
Coverage Δ

packages/core/src/modules/proofs/ProofsModule.ts
87.09% <0.00%> (-2.91%)
:arrow_down:

...s/core/src/modules/proofs/services/ProofService.ts
86.55% <0.00%> (-1.22%)
:arrow_down:

packages/core/src/modules/proofs/ProofState.ts
100.00% <100.00%> (ø)

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 b1e2b8c...d07a791. Read the comment docs.


[10.x] Add time unit conversion helpers

There are many functions in PHP and Laravel that expect microseconds/seconds/minutes as a parameter, whenever I use these functions I have to multiply higher units to get the value in seconds etc.
This PR adds helper functions that will convert higher units to lower units. For example Number::minutes(hours: 1) will return 60. This will make the code more readable and easier to understand.
Before:
Cookie::queue('name', 'value', 60 * 24 * 365);

After:
Cookie::queue('name', 'value', Number::minutes(years: 1));

Thanks for your pull request to Laravel!
Unfortunately, I'm going to delay merging this code for now. To preserve our ability to adequately maintain the framework, we need to be very careful regarding the amount of code we include.
If possible, please consider releasing your code as a package so that the community can still take advantage of your contributions!
If you feel absolutely certain that this code corrects a bug in the framework, please "@" mention me in a follow-up comment with further explanation so that GitHub will send me a notification of your response.


Add: LanteaCraft Support

By request of Mimiru
https://github.com/PC-Logix/LanteaCraft/tree/lc-1.7.10
http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/1292427-lanteacraft

I imagine it would be like this:

Build a sideways but larger gate
Make a multi block structure that goes over the top of it
Enter coordinates and launch.


Container width $xl-media

Hi,
In the compiled CSS the .container class does not use the 1260px breakpoint
.container {
    margin: 0 auto;
    padding-left: 10px;
    padding-right: 10px;
    width: 100%;
    /* Breakpoints | Min Width */
}

@media (min-width: 590px) {
    .container {
        max-width: calc(100% - 50px);
    }
}

@media (min-width: 790px) {
    .container {
        max-width: calc(100% - 100px);
    }
}

@media (min-width: 1160px) {
    .container {
        max-width: 1150px;
    }
}

This is because the _containers.scss file does not define container widths for $xl-media. I recommend adding a definition for $xl-media
P.S. you shouldn't close issues until they're resolved. For example, the issue about jQuery should stay open until the jQuery dependency is deprecated. That is to provide a todo-list to you and your contributors and to prevent other people from accidentally opening an issue about the same thing.

Thanks for pointing out, I'll fix that on next update.


Question; when generating where do the icons get stored?

I am just wondering, when you are using this with the following nuxt config. Where does the icons get stored when you generate? (Or how does it work as i don't fully understand).
Reason I ask is that i have used this library for a project that runs offline; I have installed the icons locally to the project. And sometimes the icons do not appear on my offline project.
I have recently added the icon: entry to the nuxt config to see if this fixes it. And to be honest I don't know if the outcome of this has done anything yes or no, because it is hard to replicate the bug of the icons not appearing.
Any ideas?
export default defineNuxtConfig({
  compatibilityDate: "2024-04-03",
  devtools: { enabled: true },
  vite: {
    css: {
      preprocessorOptions: {
        scss: {
          api: "modern",
        },
      },
    },
  },
  nitro: {
    publicAssets: [
      {
        dir: "public",
        maxAge: 60 * 60 * 24 * 365, // 1 year
      },
    ],
  },
  icon: {
    clientBundle: {
      scan: true,
      includeCustomCollections: true,
      icons: [
        "heroicons:user-solid",
        "heroicons:document-arrow-down",
        "heroicons:arrow-up-circle-16-solid",
        "heroicons:arrow-down-circle-16-solid",
        "heroicons:flag-20-solid",
        "heroicons:lock-open-solid",
        "heroicons:heart-solid",
        "heroicons:chat-bubble-oval-left-16-solid",
        "heroicons:minus-circle-16-solid",
        "heroicons:speaker-wave-solid",
        "heroicons:phone-16-solid",
        "material-symbols:mail-rounded",
        "material-symbols:database",
        "material-symbols:list-alt",
        "material-symbols:headphones-rounded",
        "fa6-solid:users",
        "fa6-solid:battery-full",
        "fa6-solid:battery-three-quarters",
        "fa6-solid:battery-half",
        "fa6-solid:battery-quarter",
        "fa6-solid:wifi",
        "fa6-solid:users",
        "fa6-solid:check",
      ],
    },
  },
  modules: [
    "@nuxtjs/ionic",
    "@nuxtjs/tailwindcss",
    "@vueuse/nuxt",
    "@nuxt/icon",
    "nuxt-particles",
    "@vite-pwa/nuxt",
  ],
  ssr: false,
});

Entries to package.json
 "@iconify-json/fa6-solid": "^1.2.1",
    "@iconify-json/heroicons": "^1.2.1",
    "@iconify-json/material-symbols": "^1.2.4",

Can you create a minimal reproduction for me to investigate? I am happy to help

@antfu I'll give it a go when I get a chance tomorrow! It's hard to reproduce the effect because of the nature of the symbols not appearing. But I think when I turn the device on aeroplane mode, i get it. So i'll just confirm and reproduce it and will update this issue with it!


upload or include from a url

There's no reason why folie should be limited to embedded and local files for both include (#2) and upload (#3) requests - it could also accept a URL, fetch it. and use that contents instead.

Great idea, starters don't even need the development environment.

Good idea, the !send command could have a list of pre-defined URLs (e.g. pointing to github) and allow fetch/sending then using the !s <n> notation, just like uploads do now.

Or there could be a !dir <url> command, which grabs the page, parses links in it, and presents a selection dialog to fetch and then sends the text to the attached µC.
Neat side-effect: could allow pointing to a blog post, and "running" the demo(s) listed on that page. Because this is aimed at Forth, the links could be filtered to only those pointing to *.fs files.
(from a suggestion by @tve)


Fire events for actions such as "dump annotation"

The idea here would be fire an event that can be caught in a custom Django plugin. One idea would be to use Django Signals.
A use case for this would be that when an annotator dumps annotations, we can then create and push a new version of the annotations up to S3 or GCS or in our case our datasets.

@nmanovic we are noticing this is a big pain point for customers, is there an interim way to address this that will be quicker than November? I am pretty sure this is something that will be very useful for everyone.


Question: Use data from ORM with a detail row

Hi
is it possible to retrieve data from ORM (doctrine) to use it with a detail row like in the example here:
use Omines\DataTablesBundle\Adapter\Doctrine\ORMAdapter:
https://datatables.net/examples/api/row_details.html
And if yes, how?
I'm very new in developping so this maybe just a silly question, sorry already about that.

Nope, neither a silly question nor supported out of the box. It's a pretty advanced usage of the datatables library that lives almost completely on the client side, and we're "not opinionated" on that - the bundle only provides serverside integrations for plain table rendering.
We actually have this setup in use in an internal application here, loading the child panels with Ajax on click, it's just a matter of doing the right XHR calls with a Twig template. Not terribly complex but really mostly a DataTables JS issue where this bundle plays no real role.

OK
Thanks for the information :)
And for you it's not compley lol - I'm still learning.
Than I gonna try to figure out how to do it.
By the way, is this a server side processing or not?
Like with these options here:
"processing": true,
"serverSide": true,
And if not, can these options be used as these seems to be just for ajax callings if I understand right


Add ESMF weights file-building service, logging

This is a rough pass at weights-file building functionality. I also set up logging.
This adds:

CLI interface: dodola buildweights <inputfile_url> -m "bilinear" --output /new-weightsfile.nc
build_weights() in dodola/services.py.
build_xesmf_weights_file() in dodola/core.py - Does the work, returns the weights file path.
xesmf is now a dependency.
Tests to check that service outputs a file where we tell it to. Checks that the CLI doesn't give an error if someone tries to run dodola buildweights --help.
We now have services logging so we have a basic record of whats happening, when. Trying to keep it simple and see how it goes.

You can pick whichever regridding method you want and this is passed on to xesmf. This also lets xesmf handle errors and input checks for the weights file creation, etc.
close #9, close #14
This PR includes a minor docstr fix.

One additional suggestion is that on considering this more I think we don't want to hardcode the regridding to a 1 degree x 1 degree global grid, as we may want to regrid to a 2 or 2.5 degree global grid for climate model output that is natively at a coarser resolution if we also use this for downscaling. Can we add a resolution CLI option where we pass in a value, e.g. 0.5, 1, 2, or 2.5, that would be the inputs to xe.util.grid_global?

Thank you! That's a fine idea. I added an option to adjust the target global grid resolution in the shape file with b2ca192.
To output weights needed to regrid to a 2.5 x 2.5 global grid you'd run:
dodola buildweights <inputfile_url> -m "bilinear" -r 2.5 --output /new-weightsfile.nc


Unable to achieve accuracy shown in Benchmark

Hi tsattler,  The results obtained by using parameters given in README (match method is LoFTR) can not achieve the accuracy shown in the benchmark, especially at (0.25m, 2 degrees) level. Would you please help us solve it?
Looking forward to your reply.

Can you explain what exactly you are doing?

We are running meshloc on the Aachen Day-Night v1.1 dataset using parameters given in README, but the result is not so precise.

Hi @NudtCalculus ,
Are you trying to match the highlighted results in the Table 3 in the paper?

That is:

database of original photos (not rendered) from Aachen v1.1 dataset at 800 px resolution
depth maps rendered from AC14 mesh
LoFTR with none of "triangulate", "merge_3D_points", "cluster_keypoints", "covisibility_filtering", "all_matches_ransac" adjustments turned on
precomputed retrieval pairs with NetVLAD top 50 database images
RANSAC with min. 10,000 and max. 100,000 iterations and 20 px reprojection error threshold

Thanks for your reply, I'll try again.


Added information about Html Textarea

What is the change?
Added information about Text-area by creating Html_Textarea.md file
Related issue?
closes: #19
Checklist:
Before you create this PR, confirm all the requirements listed below by checking the checkboxes [x]:

[x] I have followed the Code of Conduct.
[x] I have checked there aren't other open Pull Requests for the same update/change.
[x] I have you tested the code before submission.
[x] I have commented on my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I'm a Hacktoberfest'21 contributor.

Screenshots (if any)

There is some plagiarism ,please write the explanation in your own words

Please do review it again.


Smart Buttons: Run Workflow (v1.2.381.1)

There seems to be an issue with the "Start Workflow Confirmation Text" not showing in the classic UI. The message shows just fine in the UCI.
I did check the page elements and the message does seem to be there, it's just not displaying. I've attached images of the UCI and Classic UI results as well as the Smart Button Config.

P.S. I've also confirmed that this is the case in other modern browsers as well.

The new version of Smart Buttons is not supported in the Classic UI since it will not be around for much longer!


Improve performance

Especially in All in One sample, it works too slow. Increase multiplier takes seconds to update. At the background it does same calculations hundred times. Find a solution!

Most of the calculations (numericValue, passiveRating, aggressiveRating, indexIncome etc. functions) are cached and they only calculated when there is an actually change in one of the related values.
All in One sample increase multiplier action was reduced under a second from 7 seconds.


Disable clicks in content

Hi,
first thanks for the amazing Framework.
I got an issue with clicks in the content. Probaly I just to blind to find the correct setting.
I dont want the menu to be accessible via sliding.
But now I am able to click in the content.
So the content changes but its only visible for about 50dip.
My content is a list fragment.
Is there any method to close the menu when the content is clicked?
With sliding activated this works.
Regards in advance
Dave
PS. Excuse my english not my mother tounge...

I had similar issue, enabling hardwareAcceleration in manifest solved it.


Occur error when connect ftp on Chrome

I ran ftp server  on Unbutu 12.04.
And I connected through chrome browser I got error.
Both firefox and ie were work fine.
Here is my server code
`const os = require('os');
const FtpSrv = require('ftp-srv');
const bunyan = require('bunyan');
const log = bunyan.createLogger({ name: '97' });
log.level('trace');
const server = new FtpSrv('ftp://<IP_ADDRESS>:21', {
anonymous: 'sillyrabbit',
log: log,
pasv_range: 8881,
greeting: ['Welcome', 'to', 'the', 'jungle!'],
tls: {
key: ${process.cwd()}/files.mysite.key,
csr: ${process.cwd()}/files.mysite.csr,
crt: ${process.cwd()}/files.mysite.crt
}
});
server.on('login', (data, resolve, reject) => {
if (data.username === 'anonymous') {
    resolve({
        root: '/home6/common/'
    });
} else {
    reject();
}

});
server.on('client-error', ({ connection, context, error }) => {
console.log(context);
console.log(error);
});
server.on('error', (err) => {
console.log(err);
});
server.on('uncaughtException', (err) => {
console.log(err);
})
server.listen();`
And followed log is error when I connect through Chrome.
{"name":"97","hostname":"VDBS1485","pid":15878,"id":"99231d2a-68a7-4bd9-b3c6-b636384702ab","ip":null,"level":10,"msg":"[ 'LIST -l' ]","time":"2017-07-05T04:35:28.656Z","v":0} {"name":"97","hostname":"VDBS1485","pid":15878,"id":"99231d2a-68a7-4bd9-b3c6-b636384702ab","ip":null,"directive":"LIST","level":10,"command":{"directive":"LIST","arg":"-l","raw":"LIST -l"},"msg":"Handle command","time":"2017-07-05T04:35:28.656Z","v":0} {"name":"97","hostname":"VDBS1485","pid":15878,"id":"99231d2a-68a7-4bd9-b3c6-b636384702ab","ip":null,"directive":"LIST","level":50,"err":{"message":"ENOENT: no such file or directory, stat '/home6/common/-l'","name":"Error","stack":"Error: ENOENT: no such file or directory, stat '/home6/common/-l'\n    at Error (native)","code":"ENOENT"},"msg":"ENOENT: no such file or directory, stat '/home6/common/-l'","time":"2017-07-05T04:35:28.657Z","v":0} {"name":"97","hostname":"VDBS1485","pid":15878,"id":"99231d2a-68a7-4bd9-b3c6-b636384702ab","ip":null,"level":10,"port":21,"encoding":"utf8","packet":"451 ENOENT: no such file or directory, stat '/home6/common/-l'","msg":"Reply","time":"2017-07-05T04:35:28.657Z","v":0}

Looks like you're passing in an argument (-l) to the LIST command.
Currently, options are not supported, but I'll see if I can add them.

https://github.com/trs/ftp-srv/pull/32

@trs It work well!! :+1:


Could not build Objective-C module 'web3swift'

Hello,
Im installed the lib with cocoapod.
In the podfile i write:
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '9.0'
target 'testETH' do
use_frameworks!
pod 'web3swift'
end
when i try to import web3swift to swift file i got error:
Could not build Objective-C module 'web3swift'
What I need to do to fix that?
Thanks
EDIT:
I tried install on my older macbook (Mojave 10.14.6, xcode 11.3.1) and its work fine.
With my Big Sur 11.4, xcode 12.5.1 I got that error.
When I copy the project files from my older macbook to my Big Sur i go the 'Could not build Objective-C module 'web3swift'' error again...

I have that same issue too, on Big Sur 11.4, Xcode 12.5.1, and I use the M1 Macbook

Try this fork as it is working with mac os Big sur
https://github.com/veerChauhan/web3swift
Go through the Example #Web3supportBrowser

Please attach screen shot of the issue

Try this fork as it is working with mac os Big sur
https://github.com/veerChauhan/web3swift
Go through the Example #Web3supportBrowser

I downloaded this example and it worked at my "Big Sur 11.4, xcode 12.5.1".
How i can use that fork at new xcode project?
Thanks

@DorenBoust please have a look at this solution does it work for you?

Authour of this issue haven't replied, so I suppose it was resolved and thus closing this issue.
To anyone still experiencing similar problems, feel free to reopen it.


Move Items

Allow the user to change the order of the items in the list

Try using this library: https://www.npmjs.com/package/react-native-draggable-flatlist


changed hosting adress to new repo

I corrected my mistake in the footer part and was trying to push the file
to the github but I got this error. Could someone help me. Thank you
On Thu, Apr 22, 2021 at 5:14 AM kant imam @.***> wrote:

Merged #29 https://github.com/ReDI-School/job-board/pull/29 into main.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ReDI-School/job-board/pull/29#event-4628222106, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AE27FQ6ZEWYQVSIXEME7GQ3TJ6H75ANCNFSM43KUHORA
.

Hello @mojvaf i think you wrote this comment in the wrong pull request.


Using a third SPI peripheral with LVGLs Display and Touch drivers

Describe the issue
I'm using an ESP32 with a ILI9341 driver display and a XPT2046 touch driver. They're both running on HSPI.
I'm trying to incorporate another SPI peripheral in the same bus (HSPI).
In the ESP32 documentation it says it is possible to have 3 peripherals per SPI bus.
When I try to use the same SPI bus for all of these, I get the error:
E (8973) spi: SPI2 already claimed by spi master.
E (8983) spi_master: spi_bus_initialize(232): host already in use

I am initializing the 3rd SPI peripheral like this:
  spi_bus_config_t bus = {
       .miso_io_num = 19,
       .mosi_io_num = 13,
       .sclk_io_num = 14,
       .quadwp_io_num = -1,
       .quadhd_io_num = -1,
       .max_transfer_sz = 0};

   ret = spi_bus_initialize(HSPI_HOST, &bus, 1);
   assert(ret == ESP_OK);

   spi_device_interface_config_t dev = {
       .clock_speed_hz = 9000000,
       .mode = 0,
       .spics_io_num = 5,
       .queue_size = 1,
       .flags = 0,
       .pre_cb = NULL};
   ret = spi_bus_add_device(HSPI_HOST, &dev, &__spi);

As for LVGL, I'm using the same SPI pins and
DISP_SPI_CS 12
TOUCH_SPI_CS 32

I am initializing LVGL first and only (works normally, both the display and the touch panel) and then the other peripheral, on a separate task.
ESP32 Chip version
ESP32-WROOM-32
ESP-IDF version
ESP-IDF 4.1
Development kit used
ESP 32 DEVKIT V1
Development machine OS
Ubuntu 14.04.5 LTS

I am not positive about this but I believe this issue may be trying to call spi_bus_initialize() a second time. I think it can only be called once and the esp32 LVGL drivers already do that.

I am not positive about this but I believe this issue may be trying to call spi_bus_initialize() a second time. I think it can only be called once and the esp32 LVGL drivers already do that.

I have tried that and now I get
I (172413) spi_master: Allocate RX buffer for DMA
Do you have any idea why this is?
From what I can tell, LVGL alocates the buffer size relative to the display buffer size

The LVGL SPI driver is set up to use DMA so if you are using buffers for transfers, then they must be in DMA capable RAM. You need to use heap_caps_malloc() and specify MALLOC_CAP_DMA for your transfer buffers.

@C47D were you able to do some testing on this?

Hi @BFFonseca,
I did, and successfully added two devices into the SPI master, apart of the display (my touch controller isn't working). What I did in main, is:
/* Initialize SPI or I2C bus used by the drivers */
lvgl_driver_init();

const spi_device_interface_config_t devcfg = {
    .clock_speed_hz = 1000*2 /* your device speed in hz */,
    .mode = 0 /* your device spi mode */,
    .spics_io_num = 13,
    .input_delay_ns = 0,
    .queue_size = 1,
    .pre_cb = NULL,
    .post_cb = NULL,
    .flags = SPI_DEVICE_NO_DUMMY | SPI_DEVICE_HALFDUPLEX,
};

esp_err_t ret = spi_bus_add_device(TFT_SPI_HOST, &devcfg, &spi);
assert(ESP_OK == ret);

spi is a global variable of type spi_device_handle_t, you also would need to include driver/spi_master.h.
I haven't tested transferring data with the new device, the new device is a SD card connected via SPI, so it will take me a bit more research.

@C47D I will do some more testing based on that code when I get the chance.
I will let you know when I do.
Thank you!

I will try to add a thread to do dummy transfers periodically.

I'm currently working on adding a SD card connected via SPI (same spi of the display controller) for a personal project, will update if I'm able to make it work.


Maybe riot can be a clone of yacy-serarch enging in go.

Yacy
也许riot可以成为一个Yacy搜索引擎的Go语言实现？

Yacy是一个分布式的搜索引擎

Maybe, maybe elasticsearch.


Because test_package depends on media_kit_native_event_loop ^1.0.5 which doesn't match any versions, version solving failed

Because test_package depends on media_kit_native_event_loop ^1.0.5 which doesn't match any versions, version solving failed

Select dependencies from the README on pub.dev!


ParseError: 'import' and 'export' may appear only with 'sourceType: module'

I'm getting the below error with the latest angular 2 & ionic beta libraries ...
node_modules\angular2-websocket\angular2-websocket.ts:1
import {Injectable} from "angular2/core";
^
ParseError: 'import' and 'export' may appear only with 'sourceType: module'
Kindly guide

I am Having the same issue

Resolved?

Try using the module as a component post installing via npm
that works for me!
Thank You
Best Regards,
Chirag A.
On Mon, Apr 25, 2016 at 7:04 PM, Raphxyz<EMAIL_ADDRESS>wrote:

Resolved?
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/afrad/angular2-websocket/issues/11#issuecomment-214330090

Did you compiled the code?
npm run compile

nope
Thank You
Best Regards,
Chirag A.
On Mon, Apr 25, 2016 at 10:51 PM, afrad<EMAIL_ADDRESS>wrote:

Did you compiled the code?
npm run compile
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/afrad/angular2-websocket/issues/11#issuecomment-214448780

#16 The fix is to simply move the ts file. Both the ts and .d.ts, being in the same folder causes the problem. The PR has the fix along with some further fixes on type mismatches.


When mode = OtpHashMode.Sha512 Microsoft Authenticator gen wrong code

I'm not sure if it's an error in this lib or the app. But when the mode is set to OtpHashMode.Sha512, the codes generated by Microsoft Authenticator do not work, while those from Google Authenticator work.
Putting it in Sha1 both work.

My guess is Microsoft Authenticator doesn't support Sha512 and is probably generating Sha1 codes.

Exactly.
I found this thread:
https://answers.microsoft.com/en-us/msoffice/forum/all/authenticator-app-not-working-with-sha-256-and-sha/f0023746-2d4b-499e-aee5- 2463d96a8144