Suppress GCC<11 pragmas warning

The suppression of warning -Wrange-loop-construct in unit-items.cpp causes GCC<11 to warn about pragmas.

For reference:
Here's a g++10 run before this PR: https://github.com/nlohmann/json/runs/6973062108?check_suite_focus=true#step:5:92
With the patch, it builds cleanly: https://github.com/nlohmann/json/runs/6978632144?check_suite_focus=true#step:5:89

Coverage remained the same at 100.0% when pulling a3464662c0f18b498cdc07b18693837686279abc on falbrechtskirchinger:fix-gcc11-warning into 87cda1d6646592ac5866dc703c8e1839046a6806 on nlohmann:develop.

Thanks!


fix(TS): EntryRouteModule default export optional

Because of Resource Routes, the EntryRouteModule's default property is optional.

I made this edit in GitHub, so I'm not sure of the impact on everything else here. Just figured this was more helpful than an issue (though maybe not quite as helpful as a more legit PR 😅)

Whoops. jk. I just realized that there's already a distinction between ServerRouteModule and EntryRouteModule. I'll have to figure out what I have wrong in my own code that triggered this error. It will probably be a different fix.

If this comes up again I'll look at it.


Cartesian Joint Position

Hi Brax,
Is there a way to extract from an environment the cartesian coordinates of each of the joints in the model?  Getting the quaternion-based state out is easy enough, but is there an in-built way to convert/extract this to 3-D cartesian (x-y-z) coordinates that is aware of the models geometry.
Thanks,
Andy

I think this was referred to as xpos in the original MuJoCo link

Hi @andrewwarrington ! In the current version of brax, the physics state is stored in maximal coordinates, so you should be able to extract the 3-D cartesian coordinates from QP directly without any additional transformations (pos and rot). Hope that answers the question!


how about mac software

Hi team,
I moved this from here: https://github.com/MicrosoftDocs/azure-docs.nl-nl/issues/579
@WillemVerwijs commented 9 hours ago — with docs.microsoft.com
We have some of those non professionals who use Eppul Mek (or however you write that). Is there a client for those lo...s and cloud you also make a link available to that software. prio:... well. low? or is that too high?

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

ID: 524e47b0-1295-7d07-0cbc-86e6daaa1358
Version Independent ID: 1cb3a5d8-4f16-583c-ad85-325f7638a873
Content: Connect to Windows Virtual Desktop Windows 10 or 7 - Azure
Content Source: articles/virtual-desktop/connect-windows-7-and-10.md
Service: virtual-desktop
GitHub Login: @Heidilohr
Microsoft Alias: helohr

@WillemVerwijs You can access Windows Virtual Desktop resources from your macOS devices with our downloadable client. This guide will tell you how to set up the client.
https://docs.microsoft.com/en-us/azure/virtual-desktop/connect-macos
https://docs.microsoft.com/nl-nl/azure/virtual-desktop/connect-macos

We will now close this issue. If there are further questions regarding this matter, please tag me in a comment. I will reopen it and we will gladly continue the discussion.


feat: syscalls

List the syscalls available on Starknet, what they do, and how to call them. You will write explanatory text for each syscall and provide a meaningful example
This will be an appendix.
est. 1 hour

🙋♂🙋♂🙋♂

hi, regarding this task, it is to add a new appendix section consisting syscalls from starknet which can be found from this link right: https://docs.starknet.io/documentation/architecture_and_concepts/Smart_Contracts/system-calls-cairo1/

Hey @TedZy829 thanks for your interest in this issue. I am not sure it is still relevant, given that the documentation page that you linked didn't exist when this issue was created. I do not see a lot of value add if we replicate it in the book, this is pretty much what I had in mind at the time

i see, thank you for the feedback!

Hey @TedZy829 after discussing the idea, I think it's nice to have it in the book, even though it's replicated from the page I linked. If you want to handle this, the idea would be to copy the page, add credits redirecting to it on top, and modify the format so that it's nice with mdbook

+1, could be nice to have a summary of syscall here, and like this we can add some additional content later if some edge-cases are detected or interesting to know.

Noted, thanks for the feedback! I will most probably take this issue and work on it soon!

Great!

Hi @TedZy829 , are you still working on this or can I take it?

Hi @TedZy829 , are you still working on this or can I take it?

No I am not, feel free to take it!

Thanks! Will take this one @enitrat please


Add heiko, parallel to ss58 registry

Hi, This is registration for SS58.
prefix 110 for Heiko network.
prefix 172 for Parallel network.

Hi @BenWhiteJam @bkchr  we'd to follow up here and see what do you think


db(dm): use net.JoinHostPort to generate host-port part of URI

What problem does this PR solve?

Issue Number: close #6249
What is changed and how it works?
unifies how we generate host-port part of db uri to net.JoinHostPort.
Check List
Tests

Unit test
Integration test
Manual test (add detailed scripts or steps below)
No code

Questions
Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?
Release note
use `net.JoinHostPort` to generate host-port part of URI to support ipv6 address.

/run-dm-integration-test

/run-dm-integration-test

/run-dm-integration-test

/cc @lance6716 @buchuitoudegou

dial tcp [::1]:3306: connect: network is unreachable

our CI doesn't support ipv6, we can only test it in our own PC

/hold
CI doesn't support IPv6

wait https://github.com/pingcap/tidb/pull/36113 merged, need to update dependency

code changed, ptal again @lance6716 @buchuitoudegou

/unhold
lgtm
some API error
[2022-07-15T09:12:10.508Z] cdc/entry/schema_storage_test.go:901:23: txnMeta.GetAllHistoryDDLJobs undefined (type *meta.Meta has no field or method GetAllHistoryDDLJobs) (typecheck)

[2022-07-15T09:12:10.508Z] 	jobs, err := txnMeta.GetAllHistoryDDLJobs()

[2022-07-15T09:12:10.508Z]

/run-verify
/run-leak-test

Codecov Report

Merging #6248 (05dcb75) into master (ef587e6) will increase coverage by 0.4764%.
The diff coverage is 66.3206%.

Flag
Coverage Δ

dm
51.8809% <49.5495%> (-0.0083%)
:arrow_down:

engine
62.4929% <80.0000%> (-0.0410%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.
@@               Coverage Diff                @@
##             master      #6248        +/-   ##
================================================
+ Coverage   58.4193%   58.8957%   +0.4764%
================================================
  Files           711        725        +14
  Lines         84205      85288      +1083
================================================
+ Hits          49192      50231      +1039
- Misses        30540      30583        +43
- Partials       4473       4474         +1

/lgtm

/run-all-tests

/run-integration-test
/run-dm-integration-test

/run-all-tests

/run-all-tests

/run-dm-integration-test

/run-all-tests

@lance6716 ptal

/merge

/run-verify


[Bug] Unable to install MLC-AI & MLC-Chat on Ubuntu 18.04 LTS via pre-build packages

🐛 Bug
I didn't manage to install MLC-AI & MLC-Chat on Ubuntu 18.04 LTS via pre-build packages as described here: https://mlc.ai/mlc-llm/docs/install/tvm.html#install-tvm-unity
To Reproduce
I have an RTX 3090 and CUDA 11.6 installed and when launching the required install command: pip install --pre --force-reinstall mlc-ai-nightly-cu116 mlc-chat-nightly-cu116 -f https://mlc.ai/wheels
I got the following error message:
ERROR: Could not find a version that satisfies the requirement mlc-ai-nightly-cu116 (from versions: none)
ERROR: No matching distribution found for mlc-ai-nightly-cu116

Is there a workaround to install them on my machine?
Environment

Platform (e.g. WebGPU/Vulkan/IOS/Android/CUDA):  CUDA 11.6
Operating system (e.g. Ubuntu/Windows/MacOS/...): Ubuntu 18.04 LTS
Device (e.g. iPhone 12 Pro, PC+RTX 3090, ...): RTX 3090
How you installed TVM-Unity (pip, source): pip
Python version (e.g. 3.10): 3.8.17

did you solve this? I met the same problem

I finished by upgrading Ubuntu to 22.04

This is likely due to the Ubuntu libc issue. Upgrading glibc or use latest LTS should work


handle logoutType properly

remove Jsonignore annotation from logoutType property to have another values as BACK_CHANNEL
included test is failing with annotation on place

 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.Jozef Kotlar seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Changed place and method of testing as required.

Excellent. Thanks very much.

should I provide another PR for 5.1 branch?

Only if you want to :) (Or I can do the same too if you prefer) The "rule" mostly is: changes/fixes done to branches other than master need be brought forward but not the other way around unless you do want to yourself. Because of course, you always want the latest release/master to contain newer fixes/features and have folks upgrade to it when it's released.

OK, actually is that not needed as I have to maintenance either another set of changes for supporting MFA on RSA SecurId on 5.1.


Dustin

Hi, I'm not sure what the issue is about and am going to close this for now. If you meant to report/request something, please fill out the description.


Error when using box2D environment CarRacing-v0

Hello every body,
with ATARI games the code work very well, but when, i tried to train CarRacing-v0  game (box2D environment), i get the error below. please, i need some help.
python main.py --env-name "CarRacing-v0"
Track generation: 1056..1324 -> 268-tiles track
Track generation: 1162..1460 -> 298-tiles track
Track generation: 1112..1400 -> 288-tiles track
retry to generate track (normal if there are not many of this messages)
Track generation: 1321..1655 -> 334-tiles track
Track generation: 1108..1389 -> 281-tiles track
Traceback (most recent call last):
File "main.py", line 205, in
main()
File "main.py", line 100, in main
rollouts.masks[step])
File "/home/osboxes/Downloads/pytorch-a2c-ppo-acktr-master/model.py", line 49, in act
value, actor_features, rnn_hxs = self.base(inputs, rnn_hxs, masks)
File "/home/osboxes/anaconda3/envs/AI35/lib/python3.5/site-packages/torch/nn/modules/module.py", line 477, in call
result = self.forward(*input, **kwargs)
File "/home/osboxes/Downloads/pytorch-a2c-ppo-acktr-master/model.py", line 163, in forward
x = self.main(inputs / 255.0)
File "/home/osboxes/anaconda3/envs/AI35/lib/python3.5/site-packages/torch/nn/modules/module.py", line 477, in call
result = self.forward(*input, **kwargs)
File "/home/osboxes/anaconda3/envs/AI35/lib/python3.5/site-packages/torch/nn/modules/container.py", line 91, in forward
input = module(input)
File "/home/osboxes/anaconda3/envs/AI35/lib/python3.5/site-packages/torch/nn/modules/module.py", line 477, in call
result = self.forward(*input, **kwargs)
File "/home/osboxes/anaconda3/envs/AI35/lib/python3.5/site-packages/torch/nn/modules/linear.py", line 55, in forward
return F.linear(input, self.weight, self.bias)
File "/home/osboxes/anaconda3/envs/AI35/lib/python3.5/site-packages/torch/nn/functional.py", line 1024, in linear
return torch.addmm(bias, input, weight.t())
RuntimeError: size mismatch, m1: [16 x 2048], m2: [1568 x 512] at /opt/conda/conda-bld/pytorch_1532499195775/work/aten/src/TH/generic/THTensorMath.cpp:2070

https://github.com/ikostrikov/pytorch-a2c-ppo-acktr/commit/790c90e32fb656c6f774d1947210beeb5d429325
For the moment, this repository doesn't support envs with pixels inputs different from atari.
See the wrap_deepmind function. You need to implement similar preprocessing.


JS doesn't fire when opening a 'page' in a new window

I found the following issue:
I am hosting the 'public' folder on a server and all is working fine.
However, when I click the "open in a new window" link in the drop down and It opens in a new window. My JS doesn't fire. In my console I am seeing '. This happens locally as well.
[HMR] Waiting for update signal from WDS...
[WDS] Hot Module Replacement enabled.

How do I view my project working as expected outside of the patternlab enviorment?
Recommendations on Solutions:

Looks like Brian replied to that issue, if you find anything else, please don't hesitate to log a issue on either or both projects.


Handle context canceled errors + better http proxy error handling

This PR fixes how fabio is handling the HTTP/HTTPS proxy "context canceled" errors that are caused basically by the client side closing the connection before getting any response and wrongly reporting a 502 status code in the logs. This is specially annoying for systems like Nomad that use long polling API endpoints and whenever you navigate in the UI, you are constantly closing the long polled connection and getting the context canceled error in the logs.
Along with the fix, we are using the HTTP Status Code 499 which is a non standard status code created by Nginx to represent Client Closed Request responses.
Since Fabio also supports HTTP/2, this also solves misleading logs reporting 502 responses when HTTP/2 is used... The HTTP/2 RFC allows a client to close a request connection when the requested resources are already in cache.
I've tested these changes in our internal QA environment and stderr logging is also improved by using the HTTP Proxy ErrorHandler along with context canceled being correctly handled.
Closes #264

 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.

Can I please get someone to take a look in this PR? It would be nice to get it in the next release.

@danlsgiga yes, sorry I'll try to find some time to give this a look.

My team at Hashicorp would love to see this merged. We have some legitimate 502s we'd like to investigate, but we can't see them through the forest of illegitimate context-canceled 502s.

Seems a simple change.  Thank you @danlsgiga ... and sorry for the long delay.


Exclude example_dataset_consumer from example dags

Fix flaky CI test - example_datasets.py dag.

Excluding should be the very last solution.

100% Agreed

@utkarsharma2 cant we just reorder the dags so that they are being executed in the right order?
Another alternative would be to use pytest-order or pytest-dependency for example and run these two examples separately. WDYT?
Excluding should be the very last solution.

@feluelle @kaxil  we want to run this DAG as dataset dag so just was thinking if there is a way to run it programmatically, Ideally isn't should be the case that the consumer DAG should wait until the producer succeded automatically?   currently, we are getting it from DAG bag and triggering dag i.e we are running both dag separately which is not our intention here

I understand, but instead of excluding we can run them separately and make sure that they run in the correct order i.e. first the producer than the consumer dag. For example, with pytest-order you do sth. like this:
import pytest

def test_example_dag_producer():
    assert True

@pytest.mark.run(after='test_example_dag_producer')
def test_example_dag_consumer():
    assert True

We can also add the markers in pytest.param(...) and conditionally based on dag_id set the marker or not.

@utkarsharma2 @pankajastro WDYT of e70e7ce?


Add language identifiers to code blocks on README.md for syntax highl…

Add language identifiers to code blocks on README.md for syntax highlighting
https://help.github.com/articles/github-flavored-markdown/#syntax-highlighting

Looks good to me. Thanks @abinoam


Kalimdor balance

Including but not limited to:
Smaller hero models for elementals (maybe increase cenarius also)
Black empire limited elite too squishy?
Skywall elite too squishy?
All old god factions have tanky elites? Can one be made support / range?
Old god tentacle spawns too strong?

Just jotting some notes from games I have played:

lower cool-down on mass AMS / make single target or nerf numbers.
a large amount of crowd control abilities make
Skywall Elite's attack starts off crazy high in comparison to all others but scales the same

Old god team income much lower than kalimdor team.
Cthun untargetable beetles annoying/too much damage?
Mana flare visuals not clear for skywall.
Old god tentacle abilities too powerful - Reduce power and increase range of old god abilities in general?
Skywall heroes too much aoe?
BE/Cthun armies "too slow"? -> Also, look at starting of BE / sents so that they more likely meet outside of feathermoon.


fix(lint): lint now waits until exiting the loop to write to file, handles multiple validation results

Description

[x] lint now waits until exiting the loop to write to file
[x] handles multiple validation results

Related Issue
#481

https://github.com/defenseunicorns/lula/assets/86802655/f23e4eeb-47e2-4b8e-a05f-ed5517bcdf79


Make it possible to add client ID/secret pairs for both iOS and Android

I'm confused by what is requested here. Do iOS and Android use different client ID's and secrets?

They do :)


FOI Request Form (Angular App) - Double Charging on Environment and EAO

Describe the bug in current situation
An issue was raised by our intake team, where they noticed the applicant may have been inadvertently charged twice for submitting a request to both the Ministry of Environment (MOE) and Environment Assessment Office (EAO)
Link bug to the User Story
Impact of this bug
Applicants will be extra charged, and IAO will have to process refunds.
Chance of Occurring (high/medium/low/very low)
Medium - behaviour happens every time an applicant selects both MOE and EAO, but only if the applicant makes such a choice.
Pre Conditions: which Env, any pre-requesites or assumptions to execute steps?
Steps to Reproduce
Steps to reproduce the behavior:

Go to the test form and submit a general request
Click on Ministry of Environment and Environmental Assessment Office
Scroll down to Total
See value showing as $20 (wrong value)

Actual/ observed behaviour/ results
On receipt generation - when both are picked, it shows two lines for the Ministry of Environment:
Environment and Climate Change Strategy $10.00
Environment and Climate Change Strategy (and
Minister Responsible for Translink) $10.00
Environmental Assessment Office
Expected behaviour
GIVEN an applicant is submitting a general request
WHEN they select Ministry of Environment
AND Environmental Assessment Office
THEN they will only be charged the single 10 dollar value
Screenshots/ Visual Reference/ Source

@abin-aot - appreciate the quick work! Couple things:

Emails aren't being sent to the inbox, so I can't confirm that part for QA - can you update the test inbox to me or the usual test inbox?

Issue appears to be fixed, but on the receipt there is an issue:

Can the correct name move up and replace the old name? Apologies for my drawing, hope it makes sense!

@m-prodan , I followed the same pattern of 'Finance' and others which has one charge for multiple public body selection. This one will be grouped under 'Environment' . Also updated TEST FOI Request Submission inbox with  yours

@abin-aot  - just did a quick check, it's getting there. - but there should only be Environmental Assessment Office grouped under "Environment and Climate Change Strategy" - right now the receipt just shows Environment, and groups both Environment and Climate Change Strategy, and Environmental Assessment Office.
It should look more like this:
Environment and Climate Change Strategy             $10.00
           Environmental Assessment Office

@abin-aot - QA Passed - created a new release, 5.1 emergency hotfix - shall we deploy around lunch time?
cc: @lmullane

@m-prodan , @lmullane : deployed!


Front Page not available over bridged conection

I have the  container up and running on ubuntu server in virtualbox in a mint host.
With Nat i can access to the front page via port 80 from the host browser.
If i just change to bridge i get 'unable to connect' error.
Guest with internet access and i can run the docker hello world and also compose the container normally.
Tested with all the different adapter types and promiscuous mode allowing all, but didn't work.
Check ufw and added to allow the ports and still nothing.
Public IP setup.
From my noob point of view it must be something with the virtualbox setup that i am missing because it works in nat but not in bridge. ( bridge should be easier due to the 'direct' network connection?)
I just want to be able to access the container front page from other devices in the network.
Can someone smarter than me advise what am i missing?
regards

@Shango-13;
There is definitely going to be some networking complexity introduced by running a docker container, inside a Virtualbox VM. I wouldve also thought that the easier route would be 'bridge' mode too.
I guess we can start trying to debug the connectivity first. If you nmap your network, does the Virtualbox show up (in bridge mode)? Even if all the ports are closed.

@Shango-13;
There is definitely going to be some networking complexity introduced by running a docker container, inside a Virtualbox VM. I wouldve also thought that the easier route would be 'bridge' mode too.
I guess we can start trying to debug the connectivity first. If you nmap your network, does the Virtualbox show up (in bridge mode)? Even if all the ports are closed.

Closing this issue due to inactivity. Please reopen the issue if you would like to continue the discussion.


change color to red

This is for issue #7

I like blue better

@jinpark  please review :+1:

For demo purpose only


Exec tachikoma update<PHONE_NUMBER>3333

:hamster::hamster::hamster:   Strategy none
Powered by Interval Pull Request as a Service - Tachikoma.io Announcement: 2015-06-28 Updated permissions - Tachikoma.io

Coverage remained the same at 68.0% when pulling 4e3994ba5eca8910ae33ffd087e7b3243903b636 on pazjacket:tachikoma/update-20170205163333 into 7fbdc97ccc97bfc344bfcbc1f1fa6866d5a7265c on sanemat:master.

Coverage remained the same at 68.0% when pulling 4e3994ba5eca8910ae33ffd087e7b3243903b636 on pazjacket:tachikoma/update-20170205163333 into 7fbdc97ccc97bfc344bfcbc1f1fa6866d5a7265c on sanemat:master.

Coverage remained the same at 68.0% when pulling 4e3994ba5eca8910ae33ffd087e7b3243903b636 on pazjacket:tachikoma/update-20170205163333 into 7fbdc97ccc97bfc344bfcbc1f1fa6866d5a7265c on sanemat:master.


Don't translate Trusted Publisher notification emails

Fixes #15915.

Thanks for the quick fix! 👍


[Suggestion] Add FAQ blocks

Tailwind component sites have little to no FAQ sections/blocks. This would be very helpful, especially if you add animations.
Thanks in advance, the site is great!

Hello @iHildy, thank you for your advice, I will work on this.


Workspaces with icons not outputting on correct display and in wrong order

I have set icons to my workspaces in i3 but they are no longer being output on the correct display and are not in the right order. I'd like them to still display on the bar in order from 1-10 like the default index sorting.
i3
set $ws1 
set $ws2 
set $ws3 
set $ws4 
set $ws5 
set $ws6 
set $ws7 
set $ws8 
set $ws9 
set $ws10 

# Switch workspace
bindsym $mod+1 workspace $ws1
bindsym $mod+2 workspace $ws2
bindsym $mod+3 workspace $ws3
bindsym $mod+4 workspace $ws4
bindsym $mod+5 workspace $ws5
bindsym $mod+6 workspace $ws6
bindsym $mod+7 workspace $ws7
bindsym $mod+8 workspace $ws8
bindsym $mod+9 workspace $ws9
bindsym $mod+0 workspace $ws10
bindsym $mod+Tab workspace back_and_forth

workspace $ws1 output $display2
workspace $ws2 output $display2
workspace $ws3 output $display2
workspace $ws4 output $display1
workspace $ws5 output $display1
workspace $ws6 output $display1
workspace $ws7 output $display1
workspace $ws8 output $display1
workspace $ws9 output $display1
workspace $ws10 output $display1

# move focused container to workspace
bindsym $mod+Shift+1 move container to workspace $ws1
bindsym $mod+Shift+2 move container to workspace $ws2
bindsym $mod+Shift+3 move container to workspace $ws3
bindsym $mod+Shift+4 move container to workspace $ws4
bindsym $mod+Shift+5 move container to workspace $ws5
bindsym $mod+Shift+6 move container to workspace $ws6
bindsym $mod+Shift+7 move container to workspace $ws7
bindsym $mod+Shift+8 move container to workspace $ws8
bindsym $mod+Shift+9 move container to workspace $ws9
bindsym $mod+Shift+0 move container to workspace $ws10

Polybar
[module/i3]
type = internal/i3
format = <label-state> <label-mode>
index-sort = true
wrapping-scroll = false

ws-icon-0 = 1;
ws-icon-1 = 2;
ws-icon-2 = 3;
ws-icon-3 = 4;
ws-icon-4 = 5;
ws-icon-5 = 6;
ws-icon-6 = 7;
ws-icon-7 = 8;
ws-icon-8 = 9;
ws-icon-9 = 10;
;ws-icon-default =

strip-wsnumbers = true

label-background = ${colors.background}

label-mode-padding = 2
label-mode-foreground = ${colors.foreground}
label-mode-background = ${colors.background}

; focused = Active workspace on focused monitor
label-focused = %name%
label-focused-foreground = ${colors.accent}
label-focused-background = ${colors.darkgray}
label-focused-underline = ${colors.accent}
label-focused-padding = 4

; unfocused = Inactive workspace on any monitor
label-unfocused = %name%
label-unfocused-background = ${self.label-background}
label-unfocused-underline =
label-unfocused-padding = 4

; visible = Active workspace on unfocused monitor
label-visible = %name%
label-visible-foreground = ${colors.accent2}
label-visible-background = ${colors.background}
label-visible-underline = ${colors.accent2}
label-visible-padding = 4

; urgent = Workspace with urgency hint set
label-urgent = %name%
label-urgent-foreground = ${colors.urgent}
label-urgent-background = ${colors.darkgray}
label-urgent-underline = ${colors.urgent}
label-urgent-padding = 4

I've fixed my own issue by changing the variables in i3 config
set $ws1 "1: "
set $ws2 "2:"
set $ws3 "3:"
set $ws4 "4:"
set $ws5 "5:"
set $ws6 "6:"
set $ws7 "7:"
set $ws8 "8:"
set $ws9 "9:"
set $ws10 "10:"

It seems the strip-wsnumbers splits on the :

Thanks for posting your fix.


refresh as optional prop

Codecov Report

Merging #17 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master    #17   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           9      9
  Lines          76     76
  Branches        5      5
=====================================
  Hits           76     76

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 9d1ef32...6a4340f. Read the comment docs.


Is it possible to fine tune the model with face dataset.

Hi, it's nice work. I wonder is it helpful for face depth estimation if I fine tune it on human face dataset. What is the dataset size should be? Thanks very much.

Yes, it is possible to fine-tune your method on face data. I believe that the quantity of data is not the key; rather, the diversity of the data and, especially, the similarity between the training data and your target scene are more important. If the scenes are similar, just learning the generalization to faces, I think data of 1-2k images is sufficient. As I found, it’s possible to tune our method on the THuman 2.0 dataset, which includes 500 humans, and it shows improved robustness in human depth estimation.”

Very detailed explaination. Thanks alot.

I’ll close this issue. Feel free to reopen it if you have any more questions!


Dropping seconds-level precision from frontend to match backend

See https://github.com/JeetShetty/GreenPiThumb/pull/122

Coverage remained the same at 46.875% when pulling a67d8c176b6e4a771cd4167573108cdf283dbc85 on mtlynch:no-seconds2 into 185d35473cb0a916679959b9eefe5cf692c36bd6 on JeetShetty:master.

Coverage remained the same at 46.875% when pulling 351a2f1014578dd9f50206aeef572df1bce8e31a on mtlynch:no-seconds2 into 185d35473cb0a916679959b9eefe5cf692c36bd6 on JeetShetty:master.


Command no longer supported for validating current OAuth settings

Command "Get-CsOAuthConfiguration" provided in one of the steps for checking the current settings is coming back with an error:
Get-CsOAuthConfiguration : This cmdlet is no longer supported, please consult public documentation
At line:1 char:1

Get-CsOAuthConfiguration

  + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
  + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Microsoft.Teams.ConfigApi.Cmdlets.GetC sOAuthConfiguration

Can you validate and update the document as required and confirm what is the other way to validate the settings for legacy authentication?
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 021e4ae8-fffc-505f-7f07-892d0d28a078
Version Independent ID: 4aba9a3f-9db5-ccb8-2157-c1d0446373f2
Content: Blocking legacy authentication protocols in Azure AD - Microsoft Entra
Content Source: articles/active-directory/fundamentals/concept-fundamentals-block-legacy-authentication.md
Service: active-directory
Sub-service: conditional-access
GitHub Login: @MicrosoftGuyJFlo
Microsoft Alias: joflore

Try the info found in this section of one of the linked articles... https://docs.microsoft.com/microsoft-365/enterprise/hybrid-modern-auth-overview?view=o365-worldwide#check-the-modern-authentication-status-of-your-on-premises-environment

#please-close


Improve error ico doc-targets with same name

Replace the assert! that was triggered in #4539 with a bail!, giving the user a clear error that points to the offending packages. The error message now looks like

The binary foo_cli is specified by packages foo (file://...) and bar (file://...) but can be documented only once. Consider renaming or marking one of the targets as doc = false.

or

The library foo_cli is specified by packages foo (file://...) and bar (file://...) ...

or

The target foo_cli is specified as a library and as a binary by package foo (file://...). It can be documented only once. Consider...

or

The target foo_cli is specified as a library by package foo (file://...) and as a binary by package bar (file://...). It can be ...

Add unit-test for all cases, including one that ensures the advertised mitigation doc = false actually works.

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

@bors: r+
Awesome, thanks!

:pushpin: Commit 9c63563 has been approved by alexcrichton

:hourglass: Testing commit 9c635636b0770fae9f7d050f6ee1871d1cbed885 with merge 2a0c6b8babd27e1842327ba407471b718744c8fe...

:sunny: Test successful - status-appveyor, status-travis
Approved by: alexcrichton
Pushing 2a0c6b8babd27e1842327ba407471b718744c8fe to master...


Include more formal definition?

Hi! I've glanced through the papers on the FMC and find the idea of extending it with first class locations intriguing. Perhaps you could include a definition of the grammar for the cFMC (the minimal core calculus) and its beta-reduction rules in the README of the repository?

Hi @August-Alm, I'm very happy to see that there is still interest in the work I did for this! I'm looking into the best way of getting this made available, since there is a lot of fantastic stuff here. In fact, I'm considering the possibility of including the full dissertation since the formal definitions I wrote often reference back to previous sections for definitions and terminology etc.

Hi @August-Alm, I've added the full thesis to the root of the repository. Chapter 4 is where the formal definitions  are given. I hope it's an interesting read!


Case study presenting a view controller from a detached view controller freezes

Description
As I was experimenting with the SwiftUI dismissal swipe gesture (the gesture where you swipe from left to right when going back to a screen), I found that the case study "03-Navigation-Sheet-LoadThenPresent" freezes when the popup triggers. I initially found this bug on the protocol branch, but I am able to consistently reproduce this on the most recent main branch.
The error in the console in the event of the screen freezing prints out:
2022-09-23 17:15:35.976082-0400 SwiftUICaseStudies[2428:123121] [Presentation] Presenting view controller <_TtGC7SwiftUI29PresentationHostingControllerVS_7AnyView_: 0x13160fb70> from detached view controller <_TtGC7SwiftUI19UIHostingControllerGVS_15ModifiedContentVS_7AnyViewVS_24NavigationColumnModifier__: 0x131609a00> is discouraged.
Checklist

[X] If possible, I've reproduced the issue using the main branch of this package.
[X] This issue hasn't been addressed in an existing GitHub issue.

Expected behavior
The dismissal gesture cancels and the screen behind the popup returns to its initial state. It could also continue the gesture, where the user would navigate to the previous screen, but the popup would dismiss.
Actual behavior
You keep control of the navigation gesture but with the popup sheet still, on top of that page. You can let go when the page is near the right side of the screen, resulting in a dismissal of that page and keeping the popup on your screen. You can also let go when the page is near the left, resulting in the screen freezing indefinitely.
Steps to reproduce

Go to the "Sheets: Load data then present" case study on the SwiftUI CaseStudies app
Press on the "Load optional count" button
Before the loading is complete, begin the swipe back gesture from the left but do not release
As you continue to hold after the popup appears, you can release the gesture near the left or right

https://user-images.githubusercontent.com/47639017/192058259-c8153b83-fe00-468d-973c-1bedbcf94a4d.mp4
The Composable Architecture version information
0.40.2
Destination operating system
iOS 15.5
Xcode version information
Version 14.0 (14A309)
Swift Compiler version information
swift-driver version: 1.62.8 Apple Swift version 5.7 (swiftlang-<IP_ADDRESS>.4 clang-14<IP_ADDRESS>)
Target: arm64-apple-macosx12.0

This is an issue with vanilla SwiftUI too as the following demonstrates:
struct ContentView: View {
  @State var isPresented = false

  var body: some View {
    NavigationStack {
      NavigationLink("Drill down") {
        Button("Present") {
          Task {
            try await Task.sleep(nanoseconds: NSEC_PER_SEC * 2)
            self.isPresented = true
          }
        }
        .sheet(isPresented: self.$isPresented) {
          Text("Hi")
        }
      }
    }
  }
}

I don't know of a workaround (in TCA or in vanilla SwiftUI) as there doesn't seem to be anyway to be notified if one is in the middle of a drag gesture so that you can cancel any inflight work.
I'm going to move this to a discussion since this is not an issue with the library.


"It's not working" - Added paragraph for non-code related questions

Closes #56
I added a small paragraph to address problems that are not directly code-related. Let me know if you want me to change anything. :)

I took the liberty to clean up the pronouns (that page needed it for a long time). Thanks!


More rows worker

they were too much spammed and were OOMing a lot this morning

Spam?! How do you know that?

Actually not sure it was spam, from the logs I don't see an activity that is that big


[staging] perl540: fix build in stage1, add C locale patch

Description of changes
This PR fixes building perl540 in bootstrap-stage-1 by adding https://github.com/Perl/perl5/pull/22569 from upstream, it also re-adds perl540 which was replaced by perl538 in 384f9f83363bce439aba5b345dcdc43e0ac95533
Same patch used by Gentoo:
https://gitweb.gentoo.org/repo/gentoo.git/commit/dev-lang/perl?id=3d29aec46e21a2ce66b39dc08ea8b559943520d2
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Is there an attribute or command you use to test stage 1 builds specifically?
I've built and tested Perl in staging, and saw it build 3 (?) times, but I don't know if I exercised the stage 1 build.


track license denials

Is there any way to log license DENIALS?  For example, when you're out of licenses and someone makes a request.

Hi @pfranz,
Your question is really good. This information is unfortunately only exposed at the debug logs, and for that reason outside the scope of this project. I would recommend you to use one of this tools,

mtail: extract whitebox monitoring data from application logs for collection in a timeseries database.
Loki:  Prometheus-inspired logging for cloud natives.
Filebeat: Lightweight Shipper for Logs.

Once you have a working solution, I would love to link and/or refer your implemetation here.

Closing. Feel free to reopen


Consider using canonical format for properties

Spring Boot has a concept of relaxed binding that allows to support several format for a property. Spring Boot also promotes kebab case as its canonical format and the metadata that other tools (IDEs) use is using that format as well.
Please consider updating your documentation and usage to the canonical format for consistency. Concretely, use spring.cloud.azure.credential-file-path rather than spring.cloud.azure.credentialFilePath

Thanks for suggestion. We'll fix this.


ID subsidized housing identification:
User feedback: something
(is_rent_subsidized)

Question ID
subsidized housing identification

Details
This page should probably include some definitions and guidance as to what a "rent subsidy" or "public housing" means and ways tenants might find that out if they don't know the answer

Variable being sought
is_rent_subsidized

Package version
1.0

Maturity target
Level 3 - this needs to be fixed to meet expectations of a sophisticated intake worker

Filename
docassemble.MOHUDEvictionProject:data/questions/MOHUDEvictionProject.yml

Subsidized housing options
3rd option says note?

Fixed problem with note
https://github.com/nonprofittechy/docassemble-MOHUDEvictionProject/commit/4c011f4dc98f60588d449fa385aa073c530e698b


Remove all k8s code/template

All k8s-related code and templates are being moved / developed in repo https://github.com/Alluxio/k8s-operator. Remove the module from Dora branch.

@Xenorith PTAL. Thanks!

alluxio-bot, merge this please


Navigate through references

Is there a way to navigate through references after "lsp_symbol_references" has listed them?

You can double-click on the references with your mouse, if you're using the "panel" style.
You can use the quick-panel style references instead: run pref:lsp from the command panel, and add the following line in the right-most view that appears:

  // Show symbol references in Sublime's quick panel instead of the bottom panel.
  "show_references_in_quick_panel": true,

Thanks!

F4 / shift-F4 also should work for the bottom output panel


CocoaLumberjackSwift + Carthage - "dyld: Library not loaded"

The project complies. When I run my app, I get a crash with this message printed to the console:

dyld: Library not loaded: @rpath/CocoaLumberjack.framework/CocoaLumberjack
Referenced from: [...]/Frameworks/CocoaLumberjackSwift.framework/CocoaLumberjackSwift
Reason: image not found

More Info:  I am trying to use the CocoaLumberjackSwift framework in my project. I have used Carthage to build version 2.2.0 of the framework. The project has a run script per the Carthage documentation. The  framework is listed in the target's "Linked Frameworks and Libraries".

Please search first.

Thanks for the thought @rivera-ernesto, but I have searched for solutions and tried many as well. As for the linked search, none of these results are relevant outside of the title.
Would it be helpful if I enumerate all of the solutions I have pursued along with their sources?

Maybe you have a bad mix of compiled binaries and (Xcode 7.3?).
Check this other search and https://github.com/CocoaLumberjack/CocoaLumberjack/issues/608#issuecomment-200527945.
I think we need some proper notes in the README.

@rivera-ernesto: It is working now, though I am not sure if my configuration is as intended. I have a Copy files phase that copies CocoaLumberjackSwift.framework. I also have a run script that takes CocoaLumberjack.framework as input (rather than CocoaLumberjackSwift.framework). The Swift framework appears in both "Embedded Binaries" and "Linked Frameworks and Libraries".
Thank you for your help.

I may be wrong, but I think there is no need to embed the library. Linking should be enough.

I created a project from scratch and got it working without embedding the framework. In this configuration I have to include both the CocoaLumberjack.framework and CocoaLumberjackSwift.framework files in the carthage copy-frameworks run script.

I had to do the same thing. Seems like the instructions in the readme should be updated to mention that while linking with just CocoaLumberjackSwift is sufficient, you have to copy both frameworks.


FP8 in tensor parallel region question

Hello, I have a couple of questions about the FP8 operations circled in the Fig 2. from the paper:

First green circle: In Megatron-LM (eg gpt-3 example) where does the conversion to FP8 happens after the layer-norm?
For the pink circle, why do we need to convert to FP8 again, doesn't the g op already gives us the results in FP8?
For the blue circle, why do we need to cast here again? As I understood the LinearReplacer it replaces all the nn.Linear modules, this should include the linear layer before the GELU, so the output of such layer should be already in FP8, no?

I suspect I'm misunderstanding the convention of the "FP8 low-bit" orange box in the image, I'd appreciate if you can help me clear up my confusion :)

Hi @afcruzs , thanks for your attention to our work!

First green circle: In Megatron-LM (eg gpt-3 example) where does the conversion to FP8 happens after the layer-norm?

The output of LayerNorm will be converted to FP8. Then it is gathered in the tensor parallelism group on the dimension of sequence length.

For the pink circle, why do we need to convert to FP8 again, doesn't the g op already gives us the results in FP8?

It is not a conversion. We declare it is a FP8 tensor, which is the output of gathering (i.e. the operation g) FP8 activation.

For the blue circle, why do we need to cast here again? As I understood the LinearReplacer it replaces all the nn.Linear modules, this should include the linear layer before the GELU, so the output of such layer should be already in FP8, no?

The output of GELU is a BF16 tensor, which will be conveted to an FP8 tensor with a scaling factor, serving as the input of FP8Linear.
If the input of a FP8Linear is an FP8 tensor with a scaling factor, there is no further FP8 conversion for the input.

From the code point of view, is the fp8 conversion from the layernorm output happening in the layernorm torch module itself or somewhere else? Maybe directly on the input of the of the gathering operation? I couldn't find it (for the gpt3 example)

@afcruzs MS-AMP can be used with Transformer Engine, and the FP8 conversion is done here.
https://github.com/NVIDIA/TransformerEngine/blob/main/transformer_engine/pytorch/module/layernorm_linear.py#L141
If not using the transformer block in Transformer Engine, the FP8 conversion will be done in the FP8Linear.
https://github.com/Azure/MS-AMP/blob/main/msamp/nn/functional.py#L32

Thanks a lot for the pointers!


chore: generate CJS build info files in dist-cjs

Context
Accidentally noticed that those files are written into the dist dir, which might not be expected (doesn't cause issues afaik though).

Weird


docs: add design guidelines

SUMMARY
Design guidelines have gotten large. This PR moves design guidelines into DESIGNGUIDELINES.md from CONTRIBUTING.md. It also adds design guidelines for buttons.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
n/a
TEST PLAN
This is a change to documents only therefore there is no test plan required.
ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Changes UI
[ ] Requires DB Migration.
[ ] Confirm DB Migration upgrade and downgrade tested.
[ ] Introduces new feature or API
[ ] Removes existing feature or API

Where design guideline lives worths some discussion as we have a lot more coming. Maintaining them in separate places can be time-consuming.
In reality, it is hard to have contributors to 'study' the guidelines before opening a PR and strictly follow them.
We plan to onboard a "CSS" expert to work closely with our community designers and be responsible for tuning UI, fixing cosmetic issues, etc.. So I think these guidelines are more for this specific team.

Agreed. We will be publishing more guidelines in the near future and already with only 2 sections, its getting too large for its current location. ie the capitalization guideline is only one part of the type system category.
The goal of these guidelines is to provide design insights for the community when creating new features/solutions that use common components (buttons, modals, etc). How to use them and when to use them while still providing room for flexibility.

FWIW, I'm planning on refactoring CONTRIBUTING.MD and potentially either moving some things to the Superset site or cleaning up into potentially multiple files. It's becoming unruly, either way I'll solicit input before making changes!

I think we should beef up https://superset.apache.org/docs/contribution and maybe even move contents in CONTRIBUTING.md to the doc site. The design guideline could potentially also live there as a separate sub-page.

@rusackas nope. I think we can close this. Thanks Evan.


⚠ Bofrost.at has degraded performance

In a1ccfc6, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1052 ms

Resolved: Bofrost.at performance has improved in 40e0bf6 after 6 minutes.


error: no suitable conversion function from "__half" to "double" exists

When building cutorch,
[ 15%] Building NVCC (Device) object lib/THC/CMakeFiles/THC.dir//./THC_generated_THCTensorMathPairwise.cu.o
/tmp/luarocks_cutorch-scm-1-8088/cutorch/lib/THC/THCTensorMathPointwise.cuh(457): error: operand types are incompatible ("__half" and "float")
/tmp/luarocks_cutorch-scm-1-8088/cutorch/lib/THC/THCTensorMathPointwise.cuh(467): error: operand types are incompatible ("__half" and "float")
/tmp/luarocks_cutorch-scm-1-8088/cutorch/lib/THC/THCTensorMathPointwise.cuh(514): error: no suitable conversion function from "__half" to "double" exists
3 errors detected in the compilation of "/tmp/tmpxft_00000df4_00000000-7_THCTensorMath2.cpp1.ii".
CMake Error at THC_generated_THCTensorMath2.cu.o.cmake:267 (message):
Error generating file
my cuda version: cuda8.0
cudnn version:cuDNN5.1

Same issue here

i fixed this by reverting the PR. things should work now. sorry for that.

Thanks a lot


IWR not accounting for Weakness to Critical Hits

A creature with a Weakness to Critical Hits or with Resistance to All except Critical Hits (such as the Cyclops Zombie) doesn't seem to be taking the extra damage from a critical hit.

(Positive damage works as expected.)

Is that a thing?

Its from the Kingmaker AP apparently.

It's an odd way to list the weakness and resistance, but this is essentially the Unkillable zombie family ability from Bestiary 1

This still isn't fixed, critical hits is not accounted for in weaknesses or resistences.


How do you get Industry filter?

Hello, thanks for the package!
I am wondering how do you get Industries?
in code:
filters_dict = {'Industry': "Silver"}
    performance = Performance()
    performance.set_filter(filters_dict=filters_dict)
    df = performance.ScreenerView()
    return df

Where do you get the proper filter for that industry? ind_silver
I want to make list of all filters, but I can't find them in your code. How do you generate filters?
Thanks

You can use the getFilters() and getFilterOptions(screen_filter) to get the filters. More details: https://finvizfinance.readthedocs.io/en/latest/screener.html.
The filter is scrapped from the website.
Thanks

Ok, thank you


README seems to be missing doc for many editors

I think the readme misses quite a few editors the project contains :)

Mmmh, actually no. I think I must have confused those so many spring archives :p


update(Profile): Improve profile page in setting

What this PR does 📖

Add editing username feature
Improve UI
Add error messages in username and status message.

Username:

Length between 4-32 characters.
No space in the beginning and end(Trimed). Allow space in the middle of text.
@ is not allowed.
Only allow alphabetic, digits and punctuation(No emoji).

https://docs.rs/regex/latest/regex/

Status Message:

Length between 0-128 characters.
No space in the beginning and end(Trimed). Allow space in the middle of text.

https://user-images.githubusercontent.com/14248245/203436650-af92bedf-5272-4805-bd1e-70f650a02b5d.mov
Which issue(s) this PR fixes 🔨

Resolve #307

Special notes for reviewers 🗒
Additional comments 🎤

Super cool! Just one minor little change:
In Status box I think it should say "Type your status message" instead of "Digit"

And one small question, should this change the name at the top as well or will we add that in the future?

@phillsatellite
Thanks for the suggestion. I just changed the text of placeholder both in username and status message.
For the username problem on the top, I think it relate to this issue #368 . I added your comment to it.

Looks good after conflicts are resolved @hyj1204


Update README.md with security policy

Summary of changes
Changes introduced in this pull request:

Update readme with security policy as requested by @GregTheGreek

Reference issue to close (if applicable)

Closes
Other information and links

 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.


A Light In The Darkness - Muffaz outside of map bounds

The SSN reporter NPC Muffaz that you have to talk to in New Atlantis to hand in news stories seems to eventually be not at her place anymore. For me this happened after I was done doing the Key for SysDef. I found similar reports but they seemed to be after the attack of the Hunter, which I'm long past, and she was definitely still there since then.

Note: The map marker is far below the map here. So she's not in the lake, it's just where I moved it for visibility.
Details
ID: 	RAD02 (29EF60)
Game Version
1.12.36
Language
English (EN)
Have you recreated this issue on a new game?
No, I cannot recreate this issue.
Reproduction Steps
Visit SSN. Don't find Muffaz where she should be?

Workaround for now: Go to the SSN building in New Atlantis, open the console and use: "00014E4E.moveto player"

This is a more widespread issue which seems to be able to affect a number of NPCs. Not specific to this one.


ENH: Multithread PointSetToPointSetMetricv4

Add Multithreading to PointSetToPointSetMetricv4
Added multithreading support to itkPointSetToPointSetMetricv4.
This significantly improves the performance when used in conjunction with the performance fix in:
https://github.com/InsightSoftwareConsortium/ITK/pull/1037
The multithreading manually creates ranges to loop over the whole data.
Each loop sums and stores its total in a seperate variable order to avoid
false sharing with multiple threads accessing the same summation variable.
A text example can be found in:
https://github.com/InsightSoftwareConsortium/ITKTrimmedPointSetRegistration
that collects timings.
By setting ITK_GLOBAL_DEFAULT_NUMBER_OF_THREADS different numbers of threads can be tested.

PR Checklist

[X] :no_entry_sign: Makes breaking changes
[X] :no_entry_sign: Makes design changes
[X] :no_entry_sign: Adds the License notice to new files.
[X] :no_entry_sign: Adds Python wrapping.
[X] :no_entry_sign: Adds tests and baseline comparison (quantitative).
[X] :no_entry_sign: Adds test data.
[X] :no_entry_sign: Adds Examples to ITKExamples
[X] :no_entry_sign: Adds Documentation.

Refer to the ITK Software Guide for
further development details if necessary.

Yes, this looks great.

@ntustison If you have time I'd appreciate you checking and commenting on the changes I did to check if the transformed point sets need to be updated. In particular:

I think the timestamp wasn't updated correctly which results in multiple reallocation of the point sets during each iteration (and associated construction of the KDTree).
(Methods TransformFixedAndCreateVirtualPointSet() and TransformMovingPointSet() in PointSetToPointSetMetricv4 )

I also added methods to check if the KDTree requires updating for a specific metric to avoid unnecessary constructions (e.g. the Euclidean metric only needs a KDTree on the moving point set which stays fixed and does not need to update the KdTree for the fixed transformed point set at every iteration).
(Methods RequiresFixedPointsLocator() and RequiresMovingPointsLocator() PointSetToPointSetMetricv4 and overrides in subclasses).


Update init.py

Allows to import ctcdecode even if torch not previously imported by user.

Thank you!


Meta: Should this card be renamed?

I suspect that (reasonably) frigate-hass-card may suggest to people that this card is Frigate only, when it actually supports any generic cameras and is easily extended to support advanced functionality for other camera types (e.g. already supports more advanced motionEye functionality).
Example new name: camera-card
Pros to renaming:

Broader appeal to users & developers.
No loss in functionality for Frigate (will always be a 1st class supported camera).

Cons to renaming:

Less obviously related to Frigate for people new to the ecosystem.
Potential disruption to (all) existing users.

What do you think?

Thank you for the feedback. Similarly, I am currently thinking this is worth it. First though, I'd like to understand the implications on HACS users, i.e. "How bad will this be for them?":
https://discord.com/channels/606225571898327139/1165331424384135219/1165331424384135219

i like the ultimate-camera-card

There are a lot of frigate users that haven't naturally discovered the card even with frigate in the name, I wouldn't worry about renaming it,.

camera-card-advanced

This is now my preferred one:

universal-camera-card

I think it good to support other cameras, however there is "Development help wanted" issue too, so I suggest maybe not doing the switch before that issue get's resolved mostly because additional support bandwidth. If other system users start using it there will be new issues cropping up or just additional support from more people figuring out how to use it.
Regarding the name I do not have a good suggestion but suggest going with something a bit more specific then just camera card because it would get hard to search. I think some 3 word combo cold be good it also permits use of abbreviations.
Also about the word card I think this project has grown far beyond capabilities of what most people expect then they get introduced to HA cards. It dose not just display a temperature number or a picture it is a fully featured customizable GUI for an NVR. You can use it basic form but really it much more than that, so I suggest using something would indicate that or replace the word card? *** advanced card or nvr-interface-card


bidi method samples have unbalanced parens

Originally reported by @lama0206 in https://github.com/GoogleCloudPlatform/google-cloud-java/pull/2764/.
This line has one extra closing paren.

This is fixed (as can be seen at https://github.com/googleapis/gapic-generator/blob/59098a9b991ce0e8a69b772e4b6b818bdc761186/src/test/java/com/google/api/codegen/gapic/testdata/java/java_library.baseline#L2308 )


Problem consultation: Node network connection error

I tried to run L2-node, using the environment variable L1_DISCOVERY_API_URL=https://orchestrator.strn.pl/nodes/nearby, the error in the picture appeared, how to solve it, thank you very much.

I changed a line of code and was able to ignore the error for the time being.

@gitsrc could you please share how you resolved this issue?

cc @aarshkshah1992


core.json Pink Block Code doesn't exist

https://daemon.pterodactyl.io/docs/configuration
I can't see the core.json example file, could you please solve this bug? I need that file in order to complete the installing of the panel.

It's not a bug, core.json is created when you add a node into the panel.

My Panel is fully without .css, it can't read the css files because the locations are different. How could i resolve this?

http://<IP_ADDRESS>/pterodactyl/server.php/auth/login
I don't get it how to make the template work.
I'm new in this kind of thing, what logs do you need?

chown -R www-data:www-data *

Done. Still nothing...

This is not an issue with the software itself, rather a configuration issue. Please use our discord or forums for more assistance.


Add option to show missing images?

Could you add an option just to list the missing thumbnail which do not strictly match the title? This would be useful for debugging purposes.

Ahhh. I think this request is a bit out of scope of this program. It's not intended as a linter of libretro-database or its server. If you have the repository you can use a unix bash command with find . -type l ! -readable or similar to find broken symlinks, and find . -type f -size -200c to find broken files (or at least small enough that it's almost a certainty they're broken).
And since you have your own script in progress, i'll close this. Thanks for the MacOS path, i didn't know what it was myself.


QueryFilterManager.AllowPropertyFilter: wrong SQL join statement

QueryFilter 1.7.15, EF 6.2.0, .Net 4.7
I'm a bit wary of complaining about this awesome piece of work, but I hope it will help make it even better.
tl;dr QueryFilterManager.AllowPropertyFilter = true joins navigation properties incorrectly.
I have a class model of Planets (parent) + Moons (child). Here's an excerpt of Planet:
public class Planet
{
    public int ID { get; set; }
    public bool Inhabitable { get; set; }
    public ICollection<Moon> Moons { get; set; }
}

I define a QueryFilter in the context hosting this class model and enable AllowPropertyFilter:
db.Filter<Planet>(items => items.Where(p => p.Inhabitable == true));
QueryFilterManager.AllowPropertyFilter = true;

Now when I run this query (in Linqpad)...
db.Set<Moon>().Select(m => new { m.Name, Planet = m.Planet.Name }).Dump();

...the expected ouput is:
Moon Earth
Phobos NULL
Deimos NULL
But the actual output is:
Moon Earth
Phobos Earth
Deimos Earth
This is because the generated SQL query is way off:
SELECT
	1 AS [C1],
	[Extent1].[Name] AS [Name],
	[Limit1].[Name] AS [Name1]
	FROM  [dbo].[Moons] AS [Extent1]
	LEFT OUTER JOIN  (SELECT TOP (1) [Extent2].[Name] AS [Name]
		FROM [dbo].[Planets] AS [Extent2]
		WHERE 1 = [Extent2].[Inhabitable] ) AS [Limit1] ON 1 = 1

As you see, the join doesn't even join the primary/foreign key fields. For each moon the first inhabitable planet the database can find is returned.
This is the full Linqpad program to reproduce the issue (just add the NuGet packages).
void Main()
{
    // Create & configure ModelBuilder.
    var mb = new DbModelBuilder();
    mb.Entity<Planet>();

    // Create DbModel.
    var ldbf = new LocalDbConnectionFactory("12", "test");
    using (var conn = ldbf.CreateConnection(@"Server=(localDB)\MSSQLLocalDB;Integrated Security=true;database=planetsPlus"))
    {
        DbModel dbModel = mb.Build(conn);

        // Create compiled model.
        DbCompiledModel compiledModel = dbModel.Compile();

        // Create & configure DbContext.
        Database.SetInitializer<DbContext>(null);
        using (DbContext db = new DbContext(conn, compiledModel, false))
        {
            db.Database.Delete();
            db.Database.Create();

            var earth = new Planet { Name = "Earth", InsertDate = DateTime.Now, Inhabitable = true,
                Characteristics = PlanetCharacteristics.Atmosphere | PlanetCharacteristics.LiquidWater | PlanetCharacteristics.MagnetoSphere | PlanetCharacteristics.Solid };
            earth.Moons.Add(new Moon { Name = "Moon" });
            var mars = new Planet
            {
                Name = "Mars",
                InsertDate = DateTime.Now,
                Characteristics = PlanetCharacteristics.Atmosphere | PlanetCharacteristics.Solid
            };
            mars.Moons.Add(new Moon { Name = "Phobos" });
            mars.Moons.Add(new Moon { Name = "Deimos" });

            db.Set<Planet>().Add(earth);
            db.Set<Planet>().Add(mars);

            db.SaveChanges();
        }
        using (DbContext db = new DbContext(conn, compiledModel, false))
        {
            db.Configuration.ProxyCreationEnabled = false;

            db.Filter<Planet>(items => items.Where(p => p.Inhabitable == true));
            //QueryFilterManager.InitilizeGlobalFilter(db);
            QueryFilterManager.AllowPropertyFilter = true;

            db.Database.Log = s => s.Dump();
            db.Set<Moon>().Select(m => new { m.Name, Planet = m.Planet.Name }).Dump();
            db.Set<Moon>().Include(m => m.Planet).Dump();
            db.Set<Planet>().Select(p => p.Name).Dump();
        }
    }
}

// Define other methods and classes here
public class Planet
{
    public Planet()
    {
        Moons = new HashSet<Moon>();
    }
    public int ID { get; set; }
    public string Name { get; set; }
    public bool Inhabitable { get; set; }
    public DateTime InsertDate { get; set; }
    public PlanetCharacteristics Characteristics { get; set; }
    public ICollection<Moon> Moons { get; set; }
}

public class Moon
{
    public int ID { get; set; }
    public int PlanetID { get; set; }
    public string Name { get; set; }
    public Planet Planet { get; set; }
}

[Flags]
public enum PlanetCharacteristics
{
    Solid = 1,
    Atmosphere = 2,
    LiquidWater = 4,
    MagnetoSphere = 8
}

Forgot to mention: I'm planning to use QueryFilter in a database-first context, so I can't use the superior DynamicFilters.

Hello @GertArnold ,
Thank you for reporting.
You are right, this property doesn't work correctly.
We tried to support it but so far, we didn't find any solution. Honestly, I'm not sure if we will be able to fix or not.
Best Regards,
Jonathan

I've the same problem, sad to hear EFP not support this so far. So is there any workaround work for this?

Is this issue somehow related to the issue #206? For the issue #206 the proposal to workaround is to use the library EntityFramework.DynamicFilters  ...


replace passing config parameters by environment variables through …

…file config (yaml or json)

fix some typos

Tests doesn't work now. Fixes will follow...

It seem to be that my new two commits were automatically added to my pull requests. Conflict in store/memory_store_test.go should to do something with the folder refactoring because I didn't change here anything.

I merged this PR manually


Not enough space to cache rdd in memory warning

Please check the FAQ documentation before raising an issue

Describe the bug (required)
I am running a nebula-exchange with spark-operator, and I got Not enough space to cache '' in memory warning.

Your Environments (required)

nebula cluster info
v3.4.0
graphd: 3 (128 Gb, 2 TB SSD Drive)
metad: 3 (128 Gb, 2 TB SSD Drive)
storaged: 5 (128 Gb, 2 TB SSD Drive)

spark-operator
driver: 1 (16 GB)
Executor: 20 (140 GB)

OS: uname -a
Commit id (e.g. a3ffc7d8)

How To Reproduce(required)
Steps to reproduce the behavior:

Step 1
Step 2
Step 3

Expected behavior

Additional context

{"level":"WARN","timestamp":"2023-03-30 23:38:41,633","thread":"Executor task launch worker for task 5592.0 in stage 1.0 (TID 5593)","message":"Not enough space to cache rdd_6_5592 in memory! (computed 24.6 MiB so far)"}
{"level":"WARN","timestamp":"2023-03-30 23:38:41,633","thread":"Executor task launch worker for task 5592.0 in stage 1.0 (TID 5593)","message":"Persisting block rdd_6_5592 to disk instead."}
{"level":"WARN","timestamp":"2023-03-30 23:38:42,289","thread":"Executor task launch worker for task 5580.0 in stage 1.0 (TID 5581)","message":"Not enough space to cache rdd_6_5580 in memory! (computed 94.3 MiB so far)"}
{"level":"WARN","timestamp":"2023-03-30 23:38:42,289","thread":"Executor task launch worker for task 5580.0 in stage 1.0 (TID 5581)","message":"Persisting block rdd_6_5580 to disk instead."}
{"level":"WARN","timestamp":"2023-03-30 23:38:43,286","thread":"Executor task launch worker for task 5580.0 in stage 1.0 (TID 5581)","message":"Not enough space to cache rdd_6_5580 in memory! (computed 94.3 MiB so far)"}
{"level":"WARN","timestamp":"2023-03-30 23:38:44,604","thread":"Executor task launch worker for task 5592.0 in stage 1.0 (TID 5593)","message":"Not enough space to cache rdd_6_5592 in memory! (computed 94.2 MiB so far)"}

you can set less executor-cores for each executor and less executor number， set more executor-memory for each executor

I have noticed that the issue you created hasn’t been updated for nearly a month, so I have to close it for now. If you have any new updates, you are welcome to reopen this issue anytime.
Thanks a lot for your contribution anyway 😊


Add docs for x-lint-port

For https://github.com/microsoft/vcpkg-tool/pull/720

Learn Build status updates of commit 7070ca2:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

vcpkg/commands/lint-port.md
:white_check_mark:Succeeded
View

vcpkg/TOC.yml
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

Learn Build status updates of commit fe6c461:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

vcpkg/commands/lint-port.md
:white_check_mark:Succeeded
View

vcpkg/TOC.yml
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel


1.3.2 is broken

Commit https://github.com/jazzband/django-constance/commit/56fb550044f004805429f0e70bd3e92ce55845af tried to fix an issue that didn't have an issue or PR opened.
Automatic tests failed and yet a PyPI release was done.
This needs to be solved properly.

@jezdez I'm very sorry about that. I did open #162 to get some help with travis.


Added DVR recording

Value for filename is stored in /etc/rec.
If the /etc/rec doesn't exist then we create the file.

Hi, you can't enable disk writing by default for everyone. What happens if the disk is not connected?

#1190 Added automatic names generation without any hardcode in the startup scripts.
Setup in the /etc/vdec.conf full path to records archive. For example:
records=/mnt/sda1/records
the recording files will look like this: video_XXXX.h265


Attaching Errors while pulling request

Hello
there are some problems in zabapgit related to SH fm extensions
please import the package the second time
the error should go away
let me know if you have any installation problems

From 30.04.2021 all SHs were deleted
No SHs based on internal tables


Transitive assembly dependencies are necessary in more eager way than in C# projects

I'm trying to create sample projects for https://github.com/picoe/Eto, same as C# projects in https://github.com/picoe/Eto/blob/develop/Samples/Tutorials/Tutorial1/Tutorial1 - Hello World.csproj
In those projects, there is assembly reference to different Eto platform assemblies (Eto.Gtk, Eto.Mac, Eto.WinForms), although those assemblies do depend on platform specific assemblies (gtk-sharp, MonoMac, System.Windows.Forms), they don't publicly expose symbols from them, or at least not in a way which makes those necessary to compile C# code.
In my F# code though, I'm getting errors for not referencing the underlying platform assemblies:
This is first example:

The type 'Widget' is required here and is unavailable. You must add a reference to assembly 'gtk-sharp, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=35e10195dab3c99f'.	Tutorial1 - Hello World (Tutorials\FSharp\Tutorial1 - Hello World)	C:\dev\src\projects\github.com\picoe\Eto\Samples\Tutorials\FSharp\Tutorial1\Program.fs	3

I just have open Eto.Forms in a project with all same references as the C# one to get this.
This way of making projects is idiomatic in Eto library, this allow to ship same binaries with all the Eto platforms assembly, and depending on which platform you run the application, it will also load the system platform assemblies (from Global Assembly Cache).
Can we make F# to be less eager in requesting transitive assembly references so it behaves like C# in this regard?

Can we make F# to be less eager in requesting transitive assembly references so it behaves like C# in this regard?

Yes we can improve this (though might not be identical to C#). Please give an exact repo following ISSUE_TEMPLATE.md

Steps to reproduce

checkout https://github.com/smoothdeveloper/Eto/tree/fsharp-tutorials
run Resources/build.cmd once
open Samples/Samples.sln in Visual Studio
build FSharp/Tutorial1 project

Actual results

The type 'Widget' is required here and is unavailable. You must add a reference to assembly 'gtk-sharp, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=35e10195dab3c99f'.	Tutorial1 - Hello World (Tutorials\FSharp\Tutorial1 - Hello World)

Expected results
Code compiles
Note: I'm trying to make a reproduce case for that issue with a set of small projects, but haven't yet found what is pulling that transitive dependency, I'll update the steps to a simpler case once I find out.

 You must add a reference to assembly 'gtk-sharp, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=35e10195dab3c99f'.
5>C:\GitHub\misc\Eto\Samples\Tutorials\FSharp\Tutorial1\Program.fs(6,5): error FS0201: Namespaces cannot contain values. Consider using a module to hold your value declarations.
5>Done building project "Tutorial1 - Hello World.fsproj" -- FAILED.
5>

@smoothdeveloper The technical problem is that the assembly being referenced contains this extension method, which appears to extend a type in the gtk-sharp library, which has not been referenced.  Does C# really cope with this?  I suppose it's OK but it's just surprising that this is allowed without compilation failure.
https://github.com/picoe/Eto/blob/9e8f9163a5d470fd3ce33bcb1b2d8dbc3390e733/Source/Eto.Gtk/GtkHelpers.cs#L45
I'll look at fixing it though
thanks

@dsyme I've faced similar issue with extension methods and needing to add more dependencies in other project, that only happened in F# but I couldn't notice it with C#.
I'm adding a simple reproduce case based on your information:
transitivedeps.zip
In that solution:

Library1 is referenced in Library2 as an assembly reference (not project reference) with Copy Local = false
Library1 defines a custom attribute (this works already in F#, no need to pull the reference)
Library2 defines an extension method on Library1's type
Library3 (F#) and Library4 (C#) both have project references on Library2, C# builds fine without adding the Library1 reference, F# fails

Thanks a lot for looking into this.

@smoothdeveloper It's fixed, please compile the fix PR and test it if you get the chance.  I added a basic test already

I confirm I can compile the project with your PR, thanks!

I'll leave the issue open until the fix is merged, thanks

Closing as it has been merged


[Best Practice] Koa Node Module

Hi Koa-Team 😄
I am back to Koa after two years and want to write a node module (requesting serialport).
My problem: I cannot find a useful starting point creating that node module. I am simple confused how it is done right today ( Guide doesn't tell me the module.exports stuff)
My current idea would be like this:
'use strict';
class Test{
	constructor(p){
		this.p = p || {param1: 'blabla'};

	}
	example(foo){
		foo = foo || this.p;

		return async function (ctx, next) {
			ctx.pars = foo;
			console.log('Hello Parameters: ',ctx.pars);
			await next();
		}
	}
}
module.exports = Test;

module usage:
const Koa = require('koa');
const TestClass = require('./example-middleware');
const test = new TestClass('foobar');
const app = new Koa();
app.use(example.example({p1: 'bar'});
app.use(ctx => {
	console.log('Example: ',ctx.pars);
});
app.listen(3000);

Is this done the right way?

This question is very general and the lack of responses here unfortunately isn't to surprising as this tracker is mainly used to discuss library specific related topics.
I'm going to close this due to inactivity. I propose you take general questions like these elsewhere, such as IRC, Stack Overflow, Gitter och Reddit - not because it's wrong to ask here but because you'll probably get better and faster help.


Bug in dtNavMeshQuery::moveAlongSurface

In our game we use moveAlongSurface for most of our entity movements, which works well in most situations. The fact that it uses the closest point to the destination works very well for us in allowing us to 'slide' along a wall of the nav mesh as long as the inputted movement is on a angle to the wall.
However, I had a few bug reports from people saying occasionally (pretty rare in our game) there would be a section of the map which they could not slide along the edge. They would be stuck in the same location as long as there was any delta off the wall edge. After some extensive debugging I have found what seems to be happening, and have a fix for the scenario, but I wanted to first discuss to make sure what I am seeing is correct.
At a high level what seems to be happening is that not all edges that need to be checked for closest points are being checked. Specifically on tile boundaries. When the edge is a tile border (found with DT_EXT_LINK) the linked poly ref gets added, but the edge is not checked for distance. While this makes sense for internal edges (as they will always have a poly on the other side which shares that edge completely) on tile boundaries it does not seem to be the case. I am seeing a tile boundary edge that links to a poly in the adjacent tile with an edge not covering the full span of the source edge. (say the source edge is 100 units, the shared edge in another tile is for example only 50). As the source edge is not checked against for nearest distance, and the full length of the edge does not exist in the adjacent tile, there is a portion of a wall which is never checked against. In the case where that portion is where the closest point would lie, I am instead getting a result of the closest point is the origin point, and thus the player can not move.
When i change the function to also check for nearest distance on tile boundary edges, everything works as expected and it finds the correct closest point.
I'll happily create a pull request with the changes I have done to resolve this scenario, but I wanted to first make sure that its a valid scenario to have a tile boundary edge not fully shared by their linked poly in another tile. If this is normal then I suspect there may be other rare cases where similar errors could be hit such as in dtNavMeshQuery::findDistanceToWall where tile border edges are not considered walls if they link to an adjacent tile's poly. If the adjacent tile's poly only partially covers the edge, then a portion of that edge should be considered a 'wall'.
I've attached a marked up screenshot illustrating the situation (which i used to debug my issue once i found a repo case).  The dashed orange line shows where a tile boundary is. The small red line inside the red circle is the startPos to endPos (the res circle being the searchPos and searchRad as determined in moveAlongSurface): Player starting on the poly vertex, and trying to move down left (which is expected to slide downwards along that vertical wall). The pink line (under the orange dotted one) highlights the boundary edge of the origin poly which is NOT checked for closest distance. Please note the poly which that boundy edge links to on the left side of the orange line shares only a portion of the edge.

Bryan McConkey

So after some additional investigation I think the source of my problem here was the tiles were not generating with identical area ids for their cells in all cases. Fixing this seems to have resulted in the tile boundary polys always sharing edges perfectly (at least in all cases I have seen so far) and thus my changes don't seem required.
I will keep an eye out for any more problems, but I suspect that was the only real problem. It would be good if there was some debug option to validate the mesh for cases like this.

Can this be closed, @bryanmcconkey?

Yes, this issue has not cropped up again.
Closing.


Remove Workbench

https://bz.apache.org/bugzilla/show_bug.cgi?id=61591

Codecov Report

Merging #330 into trunk will increase coverage by <.01%.
The diff coverage is 33.33%.

@@             Coverage Diff              @@
##              trunk     #330      +/-   ##
============================================
+ Coverage     57.82%   57.83%   +<.01%
  Complexity     9937     9937
============================================
  Files          1141     1141
  Lines         73227    73235       +8
  Branches       7305     7307       +2
============================================
+ Hits          42347    42352       +5
  Misses        28413    28413
- Partials       2467     2470       +3

Impacted Files
Coverage Δ
Complexity Δ

...pache/jmeter/protocol/http/proxy/ProxyControl.java
23.58% <ø> (+0.1%)
64 <0> (ø)
:arrow_down:

...re/org/apache/jmeter/control/gui/WorkBenchGui.java
65.71% <ø> (ø)
6 <0> (ø)
:arrow_down:

.../core/org/apache/jmeter/gui/action/CheckDirty.java
0% <ø> (ø)
0 <0> (ø)
:arrow_down:

src/core/org/apache/jmeter/gui/action/Move.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

...c/core/org/apache/jmeter/gui/util/MenuFactory.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

...meter/protocol/http/proxy/gui/ProxyControlGui.java
62.31% <0%> (ø)
27 <0> (ø)
:arrow_down:

src/core/org/apache/jmeter/gui/action/Load.java
6.66% <0%> (ø)
1 <0> (ø)
:arrow_down:

src/core/org/apache/jmeter/gui/action/Save.java
13.92% <0%> (+0.75%)
4 <0> (ø)
:arrow_down:

...ore/org/apache/jmeter/control/gui/TestPlanGui.java
62.85% <0%> (-0.92%)
6 <0> (ø)

...re/org/apache/jmeter/gui/tree/JMeterTreeModel.java
43.69% <44.73%> (-4.18%)
13 <4> (+2)

... and 1 more

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 2628269...9a5e890. Read the comment docs.


tcpClient.ConnectAsync cause Error

Hi,
i tried to use it but i faced this error when i tried to connect from Android as mobile to Pi3 with WinIoT.
[ERROR] FATAL UNHANDLED EXCEPTION: System.NotImplementedException: This PCL uses the 'Bait and Switch pattern'.
the Pi3 has a listen module and the sending is in the Android, and the error happen in the connect.

You need to ensure that you apply the NuGet to the Android project too. This is how 'Bait and Switch works'. Please see the readme.

I'm Adding the NuGet to all my projects and it's the same issue, so i downloaded the code of the ScoketLite and added it directly to the the projects (the Interface and the Bait projects only of course ) and everything working fine.
So i think something is not correct in the Nuget references.
I was trying .NETStander  from 1.5 to 2.0 trying to know where the problem but i couldn't.

@Eg-Virus I'm unable to local the cause of the issue. Could you please reprocude a miminun version of a project that has this issue and share it with me?
Thank you.

@1iveowl
This's the sample that i'm working now, try to run the the UWP and it will give you the error, may i'm missing something.
please note that i'm linking your projects not the nuget.
https://github.com/Eg-Virus/Gateway

Linking project and linking NuGet's is not the same. The NuGet spec takes care of matching the right dll with the right consumer.
Also what version of UWP are you using? If you are targeting 16299+ then .NET Standard 2.0 will work for you.

@1iveowl
Sorry for the broken link, here's the good one https://github.com/Eg-Virus/Gateway.git
And Yes I'm using UWP 16299.
and yes i tried the nugets first for .NET Standard 2.0 but i faced the issue that we talking about and then i tried to downgrade the PCL but the issue still happening, so i decided to use the projects itself and made my project .NET Standard 1.5.
I think i'm missing something but i don't know.
i hope i explained my issue clearly to you.

@1iveowl
Ohhh, that's not my entire code :), i created this sample to just reproduce the issue and investigate it :).
the sample supposed to send/receive between any 2 of the 3 Apps(UWP, Android or iOS).
the problem happened when you start to send. the problem will says that there's no implementation.

OK.
In you project you reference the project 'SocketLite.Bait.Netstandard'. This is incorrect. For UWP you must reference 'SocketLite.UWP'. This is exactly the mapping the NuGet is suppose to do for you.
For some reason your UWP project references NETStandard.Library 1.6.1 rather than NETStandard.Library 2.0.1. This might be why the NuGet is not mapping to the .NET Standard 2.0 version of SocketLite.
Also Microsoft.NETCore.UniversalWindowsPlatform should probably be updated to 6.0.7.
Could you try these things and let me know if that makes a difference?

Please see comments about UWP 16299 here

I've created an update to SocketLite to version 4.1.5.
I don't think it addresses you issue, as I still can identify the source of the issue, however it does include some house keeping I've been wanting to do. Anyhow, please give it a try.

Good,
i have created another branch to use the NuGet and i'm trying to reproduce the issue and i'll update the NuGet as well but i have another problem of my own in the network and i'm trying to solve it that i can't make a connection and get exception "No connection could be made because the target machine actively refused it" and i think it's related to the firewall of the network.
once i do i'll give you the feedback.

Has the issue been solved? Any feedback?
Thank you.

Sorry no news yet, my network in work is not helping right now, i get error that "No connection could be made because the target machine actively refused it" or there's not connection at all.

I am going to close this issue. Feel free to reopen when you are able to proceed.

Hi again,
Sorry for being late in my responses.
right now i'm using only the nuget you updated and i have the same first error i faced "This PCL uses the 'Bait and Switch pattern'. This blog post offers great insights into this pattern: http://log.paulbetts.org/the-bait-and-switch-pcl-trick/"
the error is in the Android version:
My phone is OnePlus3 with Android 8.0.
that's the error that made me use your Projects instead of the nuget.
Thank you.

What version of Visual Studio are you using. I've only testet with VS 2017.
Also, what version of Android are you compiling for?

VS 2017 15.6.2 (the latest)
Android Compiling : Android 8.1 (Latest)
Phone : Android 8.0 Oreo (OnePlus version OxygenOS 5.0.1 (Latest))

And you are using this Nuget: https://www.nuget.org/packages/SocketLite.PCL/?

Yes, check the image in both the PCL and Android projects.

the PCL is .NET Standard 2.0

same problem also for me in Xamarin Forms, PCL .net standard 2.0, android 7.1, vs2017 15.6.3 :-(

I managed to recreate the issues I think you've been having.
Could you try to see if NuGet 4.2.1 solves these issues and let me know?
Thank you

OK. Thank you.
Sound like you are unable to connect. That must be something very different. Can you do some more troubleshooting?

i'm now, i'll get back to you once i'm done trying :)

I try this evening with Nuget 4.2.1 and I'll let you know :-) Thanks!

Hi,
I think the connection problem was from my side because of Hercels listen to hidden IP not as i connect to.
SO, i able to connect , send and receive from Android and UWP. using your updated Nuget.
Thank you for your support in this issue.

Hi again,
i have 2 point to ask you and i don't if it's related to the solved issue or not.

if i choose to make the connection secure, i can't control the received data or read it.
if the address i'm trying to connect is not available then the ConnectAsync return without exception and  tcpSocketClient.IsConnected is TRUE.

Thank you.

Could you please do these two things:

Create a new issue, as these are all new issues not related to this one
Create a Pull Request with a proposal for how to deal with this?

In regards to 2) you should look at these two places:

.NET, iOS, Android and .NET Standard
UWP

I'm not able to recreate the issue, so to move forward please do the two above.


Unable to activate, URI error

I have added an OpenAPI key and left the Server Url to the default of http://localhost:6543
it's unclear how this operates, are there installation steps to run a daemon or something?
Console Log:
console.ts:137 [Extension Host] Websocket import
console.ts:137 [Extension Host] Using Continue version:  0.0.212
console.ts:137 [Extension Host] Error activating extension:  TypeError: Cannot read properties of undefined (reading 'uri')
	at g3 (/Users/cwm/.vscode/extensions/continue.continue-0.0.212/out/extension.js:54:9214)
	at b3 (/Users/cwm/.vscode/extensions/continue.continue-0.0.212/out/extension.js:54:10548)

Thanks for the report, I believe I know the issue and will push a change in the next 5 minutes. But also to be certain, you meant 65432, not 6543, right?

I believe I know the error, and I'll push a fix in the next 5 minutes

The new version is v0.0.213 and should not run into this issue.
No installation steps necessary, except for Windows users there is occasionally a required shell command to run, but you would be notified of this requirement. There is a server that runs in the background though, which you could choose to run on your own rather than it being automatically started by the extension (hence the Server URL)

Looks fixed.
Seeing Starting Continue Server... (it may take a minute to download Python packages)


Feature request: adjust multiple parameters with one Midi command

Dear Tuntorius, currently one MIDI command (pedal controller or button) can only be assigned to one parameter.
Controlling several effects toggles with one button would  enable switching on multiple effects (drive, modulation, delay) with one button.
There are several uses I can think of for the ability to assign the sweep of the pedal to several parameters at once:

increase delay level and feedback to  freeze a sound with toe down and unfreeze with heel down, create wacky delay effects
control pedal gain, amp gain  master level (and perhaps tone) with a pedal in real time to change the distortion amount without changing the volume.
increase gain, modulation and delay for a solo.

Proper implementation of multiple continuous parameter control would require setting the parameter change ranges. E.g. controller Pedal sweep from 0 to 100 corresponds to changing amp drive from 10% to 80% while simultaneously reducing amp master from 80 to 50% (to increase the drive without increasing the volume).

I echo to UN-DRE. I often use an expression pedal (as a CC generator) to control multiple MIDI parameters (e.g. increase drive gain, delay mix and master volume when soloing).
I tried to do so by sending multiple CCs directly from AUM/StreamByter to MightyPlug MP-2 (non PRO), but it seems that MP-2 can recognize only one incoming CC at once. Is it a limitation of MP-2?


added dracula theme

Since its nice to have an image for themes:

Looks good to me though! Only point I have is maybe having the tabs stick out from the background a bit more? As it is, the tabs are hard to distinguish from the background colour. I set         "background": "#191A21", to get it a little darker.
Also, is there a reason for using Dracula 1.2.7 vs the latest version (which I think is 1.5.0) : https://github.com/dracula/vim/blob/master/colors/dracula.vim. Thats where I got the darker background colour from as well.

Sounds good. I updated to the darker color and fixed the old vim color version.
I must have downloaded an old commit of the repo.

Just tested out the update - looks great @AlexanderElias ! 💯

I like the mode highlight colors a lot (and I like the look of the background with the darker color).
Thanks for the contribution @AlexanderElias - bringing it in now!


docs(readme): fix broken link to installation of binaries page

Fixes #5858
Signed-off-by: Peter Somogyvari<EMAIL_ADDRESS>

Thanks for catching this @petermetz - I just tweaked the link so it goes to the "public" ie mainnet side - it's the same content


Add opcm test integration

Outlines an approach to integrating the OPCM into the Deploy.s.sol script used in the forge test suite.

Merging this as its been approved


Qualification tool: Parse expressions in ProjectExec

This contributes to https://github.com/NVIDIA/spark-rapids/issues/5617 .
In this PR we parse expressions which are in ProjectExec. Project may have aliases so made sure we are taking that into account. Tested with several expressions locally but added only 1 test each for supporting and non-supporting case. Supporting case pretty much covers all cases where the ProjectExec string needs to be parsed.

build

If you haven't yet we should test against the NDS event logs

If you haven't yet we should test against the NDS event logs

I tested this against NDS event logs and surprisingly we don't have any unsupported exprs in any of the ProjectExec. I created some custom eventlogs with unsupported exprs to be sure that the testing is done correctly.

build


Datepicker on click not triggering

Hi everybody.
We have a very strange behavior with on click for datepicker.
We add a custom field on render:
onRender: function() {
$('' + $('.sbp_check_buttons .button[data-id="' + d_id + '"] .up_row').text() + '').prependTo($('#' + d_id + '_root .picker__date-display'));
}
Then we try to bind a click event for this class like below:
$(document).on('click','.sbp_custom_title',function()
{
alert('nikos');
        });

We have tried every possible solution but the on click event is not working at all.
We think is something with the picker__ classes.
Any ideas about that?

This isn't a materialize related problem as this pertains to custom code you added.