MWPW-150665: [POC] Spectrum 2 Styles and Spectrum CSS Tokens Integration Script

This PR serves as a POC for ingesting Spectrum 2 Tokens into Milo. It introduces a script designed to extract and format Spectrum CSS Token values and integrate them into a single Spectrum 2 Milo CSS file.

Introduces Spectrum 2 Milo CSS styles: This file includes all the core required Spectrum 2 custom properties for Milo. It consists of Milos specfic S2 custom properties sourced from Spectrum CSS Tokens* and "Narrative" values that only exist in Milo.

--spectrum prefixed custom properties are properties sourced from Spectrum CSS Tokens
--sn prefixed custom properties are "Narrative" properties specific to Milo

Automated Spectrum 2 Token Script: A script is added to streamline the process of updating Spectrum 2 Milo CSS styles with S2 Token values. This script extracts and formats S2 values from Spectrum CSS Tokens, and updates the corresponding values in the Spectrum 2 Milo CSS file.

Demonstrated Concept:
This POC demonstrates a viable option for integrating Spectrum Tokens into Milo. It formats and extracts only the essential custom properties from the original 25kB gzipped Spectrum Tokens file resulting in a leaner 4.8kB Milo CSS file that's more in alignment with Milo's performance standards.
Resolves: MWPW-150665
Validation

Verify custom properties in s2-styles.css align with Milo Spectrum 2 Values from design
Verify working build by changing values of --spectrum prefixed custom properties. Run node build.mjs in the directory to verify the build automatically updates the custom property to the correct value as specfied in the document in the previous step.

*Spectrum 2 CSS Tokens are currently sourced from Spectrum CSS tokens v14.0.0-next.7 beta branch.
URL for testing:

https://saasha-mwpw-150665-spectrum2-poc--milo--adobecom.hlx.page/

Hi @saashapina! Thanks for the contribution! I'd suggest we don't merge this to stage directly, I've created a new spectrum-narrative one from it, it might be a better fit and would allow for some easier testing.
I also have a quick question - would it be possible to make some adjustments so we can run the script similar to some other ones, like these? I'd just like to follow a pattern so we don't introduce any exceptions.

And one more question - there are a lot of --spectrum-... property names, is there anything speaking against replacing that with --s2-...? I think the reduction might add up to a noticeable difference in file size.

And one more question - there are a lot of --spectrum-... property names, is there anything speaking against replacing that with --s2-...? I think the reduction might add up to a noticeable difference in file size.

@overmyheadandbody Yes we should be able to do this. The --spectrum prefix is directly from Spectrum CSS sources I should be able to add in a conversion to an --s2 prefix for the Milo file. This could reduce the file size by a couple kb

@saashapina how did you create the KB output? If we can read that, it might be valuable to log changes of the size BEFORE/AFTER so that if the size changes considerably between versions, we have a quick comparison

@saashapina how did you create the KB output? If we can read that, it might be valuable to log changes of the size BEFORE/AFTER within the script so that if the size changes considerably between versions, we have a quick comparison

Hey @mokimo the kB output above is the raw local file size from a VScode extension called filesize. But looking into it, we could probably get the outputted file size from the statSync method from the fs module and log that. I can throw up a commit for it.

Hey @mokimo the kB output above is the raw local file size from a VScode extension called filesize. But looking into it, we could probably get the outputted before/after file size from the statSync method from the fs module and log that. I can throw up a commit for it.
But, I don't see this file size ever changing drastically after a build since we aren't retrieving new custom properties in this script. We are only receiving values for our already established custom properties. If there are requests for additional custom properties they would need to be added on our end first.

@saashapina Yeah no worries, if you can get something running quick that's cool - otherwise it's not critical enough to spend a lot of time/resource on it!

I don't have a good picture just yet as to how we'd want to use the classes for buttons, links, details, titles, headings, etc. We don't use those classes in our blocks, nor is there any flexibility to add them through authoring. Furthermore, no build process means we can't "import" class definitions inside already existing class definitions. We might want to consolidate this output with styles.css.
But that can be another discussion outside the scope of the POC, I think this serves our purposes to prove that this mechanism could work. Great job on this!

Yea, I don't have clear picture of this just yet either. I know we aren't just yet to the point of propagating Spectrum 2 throughout milo, would we still want to consolidate this with the main style.css file? At least for our upcoming showcase page? I seen a few places throughout Milo utilizing a loadStyle() utility, is something we could utilize?

loadStyle would do it in a JS context, to fetch styles for a particular block. Since the Spectrum ones should tailor to all our styles, I'd say they should be loaded OOTB. In the short run, for the purposes of the showcase page, styles.css and the Spectrum 2 ones could probably co-exist. In the long run, they should be consolidated into a single file without much redundancy.


PathParams must be always string

Information
@PathParam('paramName') must be always type string.

Version: 5.x
Type: Issue/Story

Description
I have this code:
  @Get('/:deploymentId')
  @UseAuth(UsernamePasswordMiddleware)
  public async getConfiguration(
    @Required()
    @PathParams('deploymentId')
    deploymentId: number,
    @QueryParams('v')
    version?: string
  ): Promise<version | version[]> {
     ...
  }

And I was expecting to have a number in deploymentId but it seems like it is not doing a casting, so a @PathParam is going to be always a string and TypeScript must raise an error saying that number is not compatible with the type string.
Acceptance criteria

[ ] @PathParams must return a variable of type string

Don't really know how to fix this issue, I think we have to change this function
https://github.com/TypedProject/ts-express-decorators/blob/370f2aa91fc0c5baffeb8165acfe3b04da8895c2/packages/common/src/mvc/registries/ParamRegistry.ts#L85
And check there whether the filter is string and is "PATH" to set param.type = "string" or something like that @Romakita?

Hey @gabrielperales, I had same issue when @PathParam stopped casting param into correct type.
After researching I found that guys updated default parameters of @PathParam and now useConverter is false.
To allow @PathParam casts value into correct type, you have to put parameter useConverter as true, like:
@PathParams({ expresion: 'deploymentId', useConverter: true })

@Yaroslav-wb cool, I had to make a custom filter in order to parse those PathParams in to integers... but useConverter is very handy. In the other hand the issue I'm describing still there, TypeScript should know that a PathParam is string if you are not using useConverter.

@gabrielperales change the useFilter function doesn't make sense.
useConverter is the right solution in absolute, but isn't the efficient solution.
I'll fix the PathParams configuration to support by default the casting type.

v3.31.4 will fix this regression :)


inset adds space between lines not just around the border

inset: 8pt

inset not specified

I see what you mean, I think a good solution would be an inset that can take a dict for different values, I'll see to implementing this when I have the time, feel free to open a PR in the meantime if you, or somebody else, feels like it!

This was added in a recent commit. So closing it for now


Null camera

Hello,
We discovered some crashes on our production app. Here is the stack trace:

Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'android.hardware.Camera$Parameters android.hardware.Camera.getParameters()' on a null object reference
at com.commonsware.cwac.cam2.ClassicCameraEngine$1.run(ClassicCameraEngine.java:85)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at java.lang.Thread.run(Thread.java:818)

It happened on following devices:

Sony D6503
Infinix-X600-LTE
Infinix-X552
Prestigo PSP7557
BLU LIFE MARK

OS Versions:
4.x and 5.1
Actually there is a check in onCreate method if device has camera so it should not be a problem. And also camera switch option is hidden when there is only one camera available.

You would appear to be using some earlier version of the library. Line 85 of ClassicCameraEngine.java is a closing brace.
I have updated ClassicCameraEngine to check for a null response to getParameters(), skipping that camera. I have no idea if this will help you, as I do not have any of these devices, but it is unlikely to hurt. I will release an update to the library tomorrow that includes this change.

Hello,
Thanks for quick answer.
We use 0.5.3 version and I can see it is quite old version. I forgot to check release notes before creating an issue, sorry for that.
We also don't have any of those devices so I hope this fix will help to resolve the issue.

Addressed in v0.6.5.


call updateDocumentModelFromDOM automatically on save/share #798

updateCellsFromDOM method was added to one or more code cells.
this method is called on save/share.

:+1:

:+1:


CMS com live preview

Primeira tentativa com iframe + web containers (cenário ideal, mais próximo do deploy real):

https://github.com/decaporg/decap-cms/issues/2183#issuecomment-997373169
https://github.com/wisley7l/Poc-WebContainer-IndexedDB

Nesse caso restrito (?) a https://github.com/decaporg/decap-cms ou o fork https://github.com/decaporg/decap-cms
Plano B usando realtime data (onSnapshot em publicContent/*) do Firestore com https://vuefire.vuejs.org/guide/getting-started.html , abordagem parecida com https://keystatic.com/docs/recipes/real-time-previews

cc @wisley7l

https://github.com/ecomplus/cloud-commerce/commit/066c6a9a7ef158b4a3b14cd01b32307190008a5c 👉🏾 https://developer.stackblitz.com/platform/api/javascript-sdk 🤔

Testando https://cloudcannon.com/for-developers/


Fix sonarlint remarks

Some missing, seeing if Sonarlint/CodeQL now complains in this PR :)

Pull Request Test Coverage Report for Build #16

27 of 30 (90.0%)  changed or added relevant lines in 5 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.04%) to 88.367%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/main/java/edu/kit/datamanager/ro_crate/writer/ZipWriter.java
10
13
76.92%

Totals

Change from base Build #15:
0.04%

Covered Lines:
1261

Relevant Lines:
1427

💛  - Coveralls


Use hashmap for headers in netty request

Summary
We are not ordering the headers and query parameters in netty request, just use HashMap, not TreeMap.
Test
Unit test

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 18.47%. Comparing base (52ba813) to head (bcdfb55).
Report is 112 commits behind head on master.

:exclamation:  There is a different number of reports uploaded between BASE (52ba813) and HEAD (bcdfb55). Click for more details.
HEAD has 2 uploads less than BASE

Flag
BASE (52ba813)
HEAD (bcdfb55)

3
1

Additional details and impacted files
@@              Coverage Diff              @@
##             master    #2911       +/-   ##
=============================================
- Coverage     64.24%   18.47%   -45.78%
+ Complexity    10398     2929     -7469
=============================================
  Files           840      863       +23
  Lines         71755    73374     +1619
  Branches       8611     8836      +225
=============================================
- Hits          46099    13554    -32545
- Misses        23004    58563    +35559
+ Partials       2652     1257     -1395

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


Optimize serialization to a string

As far as I see String::from_utf8_unchecked can be used instead of String:from_utf8_lossy because the output is always valid utf8.

The input document is &str which is unicode;
Everything added to the tree is String which is also a valid utf8

Unless there are some raw bytes manipulations inside serialize that lead to a non-utf8 output, then it should be safe. As far as I see the serializer - all bytes are from ascii symbols or &str::as_bytes() which is utf-8. Need to check better

Ok, I did a couple of allocation optimizations and this one doesn't have a visible impact, i.e there is definitely less work to do since there is no check for utf8, but the impact is minimal. Closing, since I am not 100% sure about the underlying lib


Add build to build all packages

Current Behavior

Desired Behavior

Implementation

Acceptance Tests

Mockups

Contributor Guide

🎨 Wireframes and designs for Layer5 site in Figma (open invite)

open PR https://github.com/layer5io/sistent/pull/50

done


Update requirements and fix deprecation warnings and spurious test errors

Coverage decreased (-4.0%) to 95.867% when pulling 6d6d33f2cbf344d5404aa32f28d03ade4df71a5d on feature/requirements-update into ae697f09eb80853d036080937b6278a2bdda93d6 on develop.


[ISSUE #199] Support Kafka connector plugin and Kafka as event store #199

close #199

Codecov Report

Merging #372 (0473add) into develop (efb2c11) will increase coverage by 0.76%.
The diff coverage is 16.92%.

@@             Coverage Diff              @@
##             develop    #372      +/-   ##
============================================
+ Coverage       5.55%   6.32%   +0.76%
- Complexity        85     110      +25
============================================
  Files            118     129      +11
  Lines           5310    5694     +384
  Branches         357     403      +46
============================================
+ Hits             295     360      +65
- Misses          4973    5275     +302
- Partials          42      59      +17

Impacted Files
Coverage Δ

...onnector/kafka/common/OpenMessageDeserializer.java
0.00% <0.00%> (ø)

.../connector/kafka/consumer/KafkaConsumerConfig.java
0.00% <0.00%> (ø)

.../connector/kafka/consumer/KafkaMQConsumerImpl.java
0.00% <0.00%> (ø)

...h/connector/kafka/consumer/OMSConsumerAdaptor.java
0.00% <0.00%> (ø)

.../connector/kafka/producer/KafkaMQProducerImpl.java
17.18% <17.18%> (ø)

...mesh/connector/kafka/MessagingAccessPointImpl.java
30.76% <30.76%> (ø)

...h/connector/kafka/producer/OMSProducerAdaptor.java
32.43% <32.43%> (ø)

.../connector/kafka/common/OpenMessageSerializer.java
42.85% <42.85%> (ø)

.../connector/kafka/producer/KafkaProducerConfig.java
48.38% <48.38%> (ø)

...h/connector/kafka/config/ConfigurationWrapper.java
81.81% <81.81%> (ø)

... and 12 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 efb2c11...0473add. Read the comment docs.

@ruanwenjun Can you please submmit to branch 1.3.0, because develop is going to release for 1.2.0, thanks.

@ruanwenjun Can you please submmit to branch 1.3.0, because develop is going to release for 1.2.0, thanks.

Sorry, I will submit a new pr.


Reload targets config each 30 minutes

I see we are wasting a lot of time reloading config each minute
[INFO]  2022/03/06 16:10:52 [INFO] Attacking https://<IP_ADDRESS>:443 [INFO]  2022/03/06 16:11:36 [INFO] Attacking http://mer.govdnr.ru/ [WARN]  2022/03/06 16:11:51 [WARN] The app doesn't seem to generate any traffic, please contact your admin [INFO]  2022/03/06 16:11:51 [INFO] Loading config from "https://raw.githubusercontent.com/db1000n-coordinators/LoadTestConfig/main/config.json" [INFO]  2022/03/06 16:12:14 [INFO] Attacking https://<IP_ADDRESS>:443


Unable to start the Sourcery Hub (Error: [WinError 10013] An attempt was made to access a socket in a way forbidden by its access permissions)

I have been using Soucery for more than a year now, but for last 2 months extension has stopped working. I think I was using Paid beta version and shift back to Open Source Free plan caused it to stop. Today I was exploring to see why it is not working and got this error.
I checked that there is no configuration yaml file at %APPDATA%\sourcery\sourcery.yaml
I also added a configuration token myself from the dashboard, but it still not works. Although it shows "soucery Activated"

Hi, I have same problem too. Could you provide a solution for this problem


TypeError at /auth/activate/ TypeError(Error('Incorrect padding',),) is not JSON serializable

I am new to Django and DRF in particular. I have installed djoser in one of the project which is currently being developed. [http://github.com/aniketmaithani/DSAS]
OS : Ubuntu 14.04
Python : 2.7.6
DRF : 3.2.4
Django : 1.8.4
Whenever I am calling the following endpoint /auth/activate/
It returns the following traceback : https://dpaste.de/WPL4
Any help regarding this??

Solved. I was using the wrong UID. Closing this up


cmd ref: use example-get-started repo in pull examples

To make examples less abstract. Make them more actionable.
See how they're used in https://dvc.org/doc/command-reference/checkout#examples

It seems to me that the example of checkout is a good one for pull as well.
It can even be referenced from the pull page with a link like this: https://dvc.org/doc/commands-reference/checkout#examples
I would even go a step further and say: why not factor out interactive examples from the command pages, and then link to the relevant examples from these pages? An interactive example may be linked from more than one command page, and a command page may refer to more than one example.
(Maybe I should have started a new issue for discussing this idea, I am not sure.)

Great question. I think they can be very similar but should emphasize different parts. Also, pull can be way simpler. And dvc checkout can be simplified by making fetch -aT as a preparation step (to warm up the cache).

@shcheklein  @jorgeorpinel  I can work on this issue. As the title suggests there should be a pull example which uses example-get-started repo.
Something like this: https://dvc.org/doc/tutorials/get-started/retrieve-data

And dvc checkout can be simplified by making fetch -aT as a preparation step (to warm up the cache).

[ ] This is a good point `dvc fetch could be hidden in the "Click and expand to setup the project" section of https://dvc.org/doc/command-reference/checkout#examples

@imhardikj maybe you can start by doing that and open a PR? It will help you understand wha this issue is about. After that, you can also close this issue in the same PR:

should I add a pull example which uses example-get-started repo. Something like this: https://dvc.org/doc/tutorials/get-started/retrieve-data

It's good that you checked out that page Hardik, but please ignore it for this issue (it will be changing a lot soon). The main idea here is to come up with a way to use the example-get-started repo for https://dvc.org/doc/command-reference/pull#examples (similar to cmd-ref/checkout#examples).

Hey @jorgeorpinel  @shcheklein  I have made an example for pull examples using example-get-started repo . Could you please assign this issue to me?

And dvc checkout can be simplified by making fetch -aT as a preparation step (to warm up the cache).

@jorgeorpinel  After cloning example-get-started repo when I attempt to run dvc fetch -aT it gives an unexpected error. It worked before when I was on version 0.92.0. I tried running this on windows too but it gives same error. I coludn't find anything related to this error and raised thi issue as I thought it was a bug. I found a similar issue for dvc pull.

[ ]  This is a good point `dvc fetch could be hidden in the "Click and expand to setup the project" section of https://dvc.org/doc/command-reference/checkout#examples

In checkout example if we don't use fetch -aT in "Click and expand to setup the project" then dvc fetch needs to be used again after git checkout.
How should I proceed next w.r.t. checkout example?

@imhardikj this is known p0 problem in the recent DVC version. We are fixing it already, sorry about this inconvenience.
Could you please rely on 0.92 for now?

Hey @sarthakforwet thanks! This issue is already being worked on though. I'll get back to you on a different one.

And dvc checkout can be simplified by making fetch -aT as a preparation step (to warm up the cache)...

In checkout example if we don't use fetch -aT in "Click and expand to setup the project" then dvc fetch needs to be used again after git checkout.

@imhardikj fetch -aT is not currently used in the expandable section. The suggestion is to add it there so it can be removed from the block further down. There's an explanation about it under that block too, which would probably need to go away (moved into the expandable section too).
However the fetch + checkout parenthesis would have to go away too (not moved, just gone). Instead maybe we can just link "fetch" and "checkout" in We can now just run dvc pull that will fetch and checkout the most recent further above? Just a thought.

@shcheklein @jorgeorpinel This issue got closed because #1340 was merged. But dvc pull hasn't been updated yet. I have updated the title and description of #1340.
I will open a new PR to work on dvc pull meanwhile can you open this issue again.

@imhardikj sure thing! thanks.


Version conflict with onnxruntime

Hi 👋
Installed latest version of fast-sentence-transformers through pip on a fresh environment running python 3-10.
model = SentenceTransformer("all-MiniLM-L6-v2", device='cpu', quantize=True) returned quantize_dynamic() got an unexpected keyword argument 'optimize_model'.
This argument was removed by microsoft in June 2023 in this commit url which was then part of onnxruntime release 1.16.0
Probable causes of bug:
It seems that the install is now bringing onnx 1.15 and onnxruntime 1.16.1as a dependency which causes the error above.

Sorry for the late response but I've got good news! Sentence Transformers has an awesome maintainer again @tomaarsen, along with awesome ONNX integration, therefore I decided to archive this project. https://github.com/UKPLab/sentence-transformers


fix(challenges): Handled invalid challenges to render 404-Page-NotFound

Return an empty object when challengeName cant be found in challengeMap
BREAKING CHANGE: N/A
Closes #16949

Pre-Submission Checklist

[X] Your pull request targets the staging branch of freeCodeCamp.
[X] Branch starts with either fix/, feature/, or translate/ (e.g. fix/signin-issue)
[X] You have only one commit (if not, squash them into one commit).
[X] All new and existing tests pass the command npm test. Use git commit --amend to amend any fixes.

Type of Change

[X] Small bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds new functionality)
[ ] Breaking change (fix or feature that would change existing functionality)
[ ] Add new translation (feature adding new translations)

Checklist:

[ ] Tested changes locally.
[ ] Addressed currently open issue (replace XXXXX with an issue no in next line)

Closes #16949
Description

Return an empty object when challengeName cant be found in challengeMap

Hi @anhtran1906 ,
Thanks a lot for the pull-request and making the changes, as you may have noticed that we are moving our learning platform to https://github.com/freeCodeCamp/learn which is an effort to break the monolith, and keep the platform fast and easy to contribute to.
The new platform is based of Gatsby and is highly performant.
A few of the issues that you have worked on and fixed are probably on the learn repo. We would request you to take a look at https://learn.freecodecamp.org and give us feedback and fix them there.
Once again thanks a lot for your efforts, and apologies for closing this. This re-architecture is inevitable.
We hope you will understand the keep sending us PRs in future. Please hit us up on the https://forum.freecodecamp.org/t/quick-update-on-beta/186418/20 or the Contributors Chat room if you have any questions. We will be happy to answer all your queries.
Happy contributing!
/cc @QuincyLarson @Bouncey


P4RT-5.2: add subtests for all metadata combinations

Adds subtests for all combinations of metadata. Combination are generated from:
egress_port={not_set, "TBD BY SWITCH" (i.e., invalid), "2100" (i.e., valid)}
X
submit_to_ingress={not_set, 0x0, 0x1}
X
padding={not_set, "0"}
The test validates that traffic was sent out the correct port.

Pull Request Functional Test Report for #2126 / bb7e6ade4e18b7f57f63f501523b6afb96562132
Virtual Devices

Device
Test
Test Documentation
Job
Raw Log

Arista cEOS

P4RT-5.2: Traceroute Packetout

Cisco 8000E

P4RT-5.2: Traceroute Packetout

Cisco XRd

P4RT-5.2: Traceroute Packetout

Juniper cPTX

P4RT-5.2: Traceroute Packetout

Nokia SR Linux

P4RT-5.2: Traceroute Packetout

Openconfig Lemming

P4RT-5.2: Traceroute Packetout

Hardware Devices

Device
Test
Test Documentation
Raw Log

Arista 7808

P4RT-5.2: Traceroute Packetout

Cisco 8808

P4RT-5.2: Traceroute Packetout

Juniper PTX10008

P4RT-5.2: Traceroute Packetout

Nokia 7250 IXR-10e

P4RT-5.2: Traceroute Packetout

Help

@nraghavendran fixed.

We have observed "The DUT port1 and port2 needs to be in the same device/node for the packetout traffic with submit_to_ingress set to 0x0 or NIL and egress_port_id set to '2101' for traffic to be forwarded, else traffic will be dropped as port2 belongs to a difference device/node for which the current controller has no client session".


Singlecell browser is using humancellatlas summary on index page

Software version (git hash, date, branch)
https://dev.singlecell.gi.ucsc.edu/
Expected behavior
Singlecell browser index page should use summary from  https://service.dev.singlecell.gi.ucsc.edu/repository/summary
Actual behavior
Singlecell browser index page is using humancellatlas.org summary
https://service.explore.data.humancellatlas.org/repository/summary
Steps to reproduce the behavior
go to https://dev.singlecell.gi.ucsc.edu/

@danielsotirhos can this be closed?

@NoopDog Approved. The fix has been verified on https://dev.singlecell.gi.ucsc.edu/


Fix keyboard navigation in form modals.

Fix keyboard navigation in form modals so inputs can be properly switched with tab and enter works as a form submit.

Fixed in #13.


Adding Images, Recognizing Contributors, and Mentioning GitHub Repository in the "About Us" Section

Description
The "About Us" section on our website is informative, providing visitors with a detailed overview of our project. However, it currently lacks visual elements and does not acknowledge the contributors who play a significant role in our project.
I did some rough work on implementing this idea:

Please assign this task to me under SSOC

Hey @Dev-tanay, I raised an issue yesterday (#252) regarding changing the "About Us" and "Back to Game" links to an info icon and a left arrow. Should I include the update with this issue, or should I drop the idea? Also, please note that the issue has now been deleted.


Describe acceptable values for cursorBlinking

Add more description of acceptable values for cursorBlinking.

Thanks @V-ed for explain.


Don't worked for me

Hey, my player folder before the command

i do the command

and when i look the player folder there is not 0000000...1 file so when i try to join i create a new caracter and don't have the other one save.
and when i swap the GUID i just go back to the other save so i don't have the caracter i try to make host, what i should do ?

Check out https://github.com/xNul/palworld-host-save-fix/issues/22 for more information


Not all models

HI
I am trying to run example
tse_languageTSE.py --output_dir './output-languageTSE/' --mixture './demo/1_mix.wav' --enrollment 'Acoustic guitar'
but FileNotFoundError: [Errno 2] No such file or directory: './pretrained_models/config.json' error happens. Exeption starts from loading vae. Using config from stable_audio_vae/configs not helps.
Could you please share vae config opportuned to https://huggingface.co/westbrook/SoloAudio/tree/main/audio-vae.pt?

Hi,
Thanks for your interest in our work! It is now available at https://github.com/WangHelin1997/SoloAudio/blob/main/pretrained_models/config.json.


Replace completionUri with notification

remove completionUri from sample payloads

@RackHD/corecommitters

Looks good to me but I would invite @uppalk1 and @tannoa2 to take a look.
:+1:

:+1:


DiskOffering in CloudStackMachine CRD should be a pointer to CloudStackResourceDiskOffering

Issue #, if available:
Description of changes:
DiskOffering is an optional field in the CloudStackMachine CRD. It is currently defined as:
	// CloudStack disk offering to use.
	// +optional
	DiskOffering CloudStackResourceDiskOffering `json:"diskOffering,omitempty"`

This can lead to unnecessary reconciliations or even unintended behavior when this field is omitted from a yaml definition, because the entire structure will be included in the final object definition with its default values:
spec:
  diskOffering:
    customSizeInGB: 0
    device: ""
    filesystem: ""
    label: ""
    mountPath: ""
  failureDomainName: failure-domain-1
  offering:
    name: Medium Instance (8 GB / 4 CPU)
  sshKey: h.rakers-ed25519

DiskOffering should be changed to *CloudStackResourceDiskOffering to comply with the Kubernetes API conventions.
Testing performed:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

This PR also fixes API conversion code generation using conversion-gen (was no longer being run in the Makefile, especially for v1beta2) + updated the webhooks to conform with requirements set in CAPI 0.4


[Vis Augmenter] Add tests in OSD & AD plugin

Description
Adds tests for the Vis Augmenter / Feature Anywhere feature. Includes new tests in core OSD + tests in AD plugin to test the integration of the plugin with the feature. Includes many helper fns in core OSD for plugins to use too bootstrap a test cluster with appropriate data to test plugin integration (e.g., create a dashboard with a feature-eligible visualization and sufficient sample data).
NOTE: there may be follow-ups to refactor when these new test suites are run, and some existing script cmds may need to be updated.
Issues Resolved
Closes #426
Closes #428
Closes #431
Closes #432
Closes #749
Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@kavilla fixed NPE in latest commit. Regarding saved obj imports, I can explore doing that for some of the functionality. But a lot of the UI-based setup is through functions that take different parameters to be able to create different visualizations specific for a certain test suite or certain plugin testing the integration. I guess this could also be done with pre-created saved obj fixtures, but my concern is it could lead to a large number of json files for that.
I can write this up in a separate issue. For 2.9, I would prefer to get the current implementation merged to unblock. Thanks for taking the time to help debug as well :)

@ohltyler I understand but with the NPE check I was not able get to actual test cases locally because it fails to succeed the setup steps. Im running the tests with cypress open from my Macbook and pointing to my EC2 instance.
Im willing to merge if not flakey. Do you have a github actions link with the cypress test passing consistently that we can feel confident in adding this?

@kavilla i've fixed the setup failures caused by a non-empty cluster putting pages into different state. Besides that, I've always been able to pass successfully on my local 3.0 cluster. Now it passes with existing data / saved objs on my local as well. Please try with the latest if you are still seeing issues

@kavilla i've fixed the setup failures caused by a non-empty cluster putting pages into different state. Besides that, I've always been able to pass successfully on my local 3.0 cluster. Now it passes with existing data / saved objs on my local as well. Please try with the latest if you are still seeing issues

I'm still trying to figure out how to easily run on a non-3.0 branch since none of the tests are running since it fails to bring up 3.0 clusters to begin with...

@ohltyler I have created a draft PR and recreated the feature anywhere branch (since it was already merge). So any changes on the cypress feature/feature-anywhere branch should be pulled in here:
https://github.com/opensearch-project/OpenSearch-Dashboards/pull/4561

For merging to main, I'm seeing the following 2 issues:

When running the AD test workflows, all tests are failing due to elements not found. And when looking at the workflow logs, looks like AD Dashboards plugin is not being added into the cluster, hence all tests fail
When running in AD plugin, it is failing due to the following issue. It isn't seen on 2.x/2.9/etc., but I'm able to reproduce locally on a 3.0 build:

http://localhost:5601/api/console/proxy

We attempted to make an http request to this URL but the request failed without a response.

We received this error at the network level:

  > Error: connect ECONNREFUSED <IP_ADDRESS>:5601

Workflow ref: here

@ohltyler test seem to be passing well on the cypress test run for OpenSearch Dashboards. But can you check out the linter issues?

Thanks for fixing! Yeah we should either update our eslint or add a parser to let us use optional chaining.

@SuZhou-Joe Can you help take a look here, since you helped with the original merge? The blocking issue that caused the revert has been resolved.


We Fell Apart (Slowed)

Song Name
We Fell Apart (Slowed)
Artist Name
ANGUISH, AmbVsh, ily
Source
Youtube
Youtube Link
https://youtu.be/1FJvtL3KRbA?si=oUsKShp1094rsf_A
Direct File Link
No response
Song ID
71387
Start Offset [ms]
No response
Extra
No response

accept


CI: Verify examples failing

CI: Verify examples failing
Description:
See CI runs for the following PRs: 19944, 19868, 20017
All end with
run_examples@ /home/vsts/work/1/s/ci/verify_examples.sh :39 (./locality-load-balancing)

 > main@ /home/vsts/work/1/s/ci/verify_examples.sh :44

The STDIO streams did not close within 10 seconds of the exit event from process '/bin/bash'. This may indicate a child process inherited the STDIO streams and has not yet exited.

appears to be transient pypi issues
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-n_p0nsic/MarkupSafe/
The command '/bin/sh -c pip3 install -q flask' returned a non-zero code: 1
Service 'service' failed to build : Build failed

https://dev.azure.com/cncf/envoy/_build/results?buildId=101877&view=logs&j=f1a49366-51c0-540f-0294-f73c2bb311a9&t=7fd036c9-61ec-5b59-3645-e90950dc67a6&l=466

hmm, seems more like this version of flask is broken
$ pip install Flask==0.11.1
Collecting Flask==0.11.1
  Downloading Flask-0.11.1-py2.py3-none-any.whl (80 kB)
     |████████████████████████████████| 80 kB 1.6 MB/s
Collecting Werkzeug>=0.7
  Downloading Werkzeug-2.0.3-py3-none-any.whl (289 kB)
     |████████████████████████████████| 289 kB 1.2 MB/s
Collecting itsdangerous>=0.21
  Downloading itsdangerous-2.1.0-py3-none-any.whl (15 kB)
Requirement already satisfied: click>=2.0 in /home/phlax/.virtualenvs/envoydev/lib/python3.9/site-packages (from Flask==0.11.1) (8.0.1)
Requirement already satisfied: Jinja2>=2.4 in /home/phlax/.virtualenvs/envoydev/lib/python3.9/site-packages (from Flask==0.11.1) (3.0.2)
Requirement already satisfied: MarkupSafe>=2.0 in /home/phlax/.virtualenvs/envoydev/lib/python3.9/site-packages (from Jinja2>=2.4->Flask==0.11.1) (2.0.1)
Installing collected packages: Werkzeug, itsdangerous, Flask
Successfully installed Flask-0.11.1 Werkzeug-2.0.3 itsdangerous-2.1.0
WARNING: You are using pip version 21.3; however, version 22.0.3 is available.
You should consider upgrading via the '/home/phlax/.virtualenvs/envoydev/bin/python -m pip install --upgrade pip' command.
(envoydev) phlax@iota:~/.virtualenvs/envoydev/envoy/examples$ python
Python 3.9.2 (default, Feb 28 2021, 17:03:44)
[GCC 10.2.1 20210110] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import flask
Traceback (most recent call last):
  File "/home/phlax/.virtualenvs/envoydev/lib/python3.9/site-packages/flask/json.py", line 23, in <module>
    from itsdangerous import simplejson as _json
ImportError: cannot import name 'simplejson' from 'itsdangerous' (/home/phlax/.virtualenvs/envoydev/lib/python3.9/site-packages/itsdangerous/__init__.py)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/phlax/.virtualenvs/envoydev/lib/python3.9/site-packages/flask/__init__.py", line 21, in <module>
    from .app import Flask, Request, Response
  File "/home/phlax/.virtualenvs/envoydev/lib/python3.9/site-packages/flask/app.py", line 27, in <module>
    from . import json, cli
  File "/home/phlax/.virtualenvs/envoydev/lib/python3.9/site-packages/flask/json.py", line 25, in <module>
    from itsdangerous import json as _json
ImportError: cannot import name 'json' from 'itsdangerous' (/home/phlax/.virtualenvs/envoydev/lib/python3.9/site-packages/itsdangerous/__init__.py)

ill raise a PR to fix


Fix two typos in the anomaly detection chapter.

@jonbriner @rschindlauer

Looks good, thanks for fixing @papayawarrior!


updated command to clickable 5.0.0

To update the plugin at the new clickable 5.0.0

Updated command Clickable: Build and run [desktop]
Added new command Clickable: Build and run [phone (vivid 15.04)] to usupport new --vivid option

Thank you for your contribution! LGTM


player.record().start() not work

Description
I want to call start recording function automatically by calling
player.record().start()

But I get an error
window.js:14 Uncaught TypeError: Cannot set property 'muted' of undefined
    at Record.startVideoPreview (window.js:14)
    at Record.start (window.js:14)
    at audio-video.html:47

Steps to reproduce

Download example from repo
Adding line after init player

player.record().start()

like this

var player = videojs("myVideo", {
controls: true,
width: 320,
height: 240,
fluid: false,
plugins: {
record: {
audio: true,
video: true,
maxLength: 10,
debug: true
}
}
}, function(){
// print version information at startup
videojs.log('Using video.js', videojs.VERSION,
'with videojs-record', videojs.getPluginVersion('record'),
'and recordrtc', RecordRTC.version);
});
player.record().start() // failed to start

@nguyenxuanluong-luvina you cannot call start before the user gave access to microphone and/or microphone. You should also wait until player is ready. Try:
player.on('ready', function() {
    player.record().getDevice();
});

player.on('deviceReady', function() {
    player.record().start();
});

Thank you very much Thijs Triemstra
That's my mistake


Code Editor sometimes misses input or moves the cursor around

Somehow during validation (?) the editor gets stuck and misses some inputs.
If its not easily fixable  we should validate everything on blur or make the debounce time longer?

I am not entirely sure what you mean by validating on "blur", but if you have an approach in mind feel free to try it out. I have not noticed this issue so far, is it reproducible?

It's quite noticable when you for instance put some example file in and then try to edit the amount a bit.
Or write an entirely new line. Every now and then the cursor gets reset after the validation is through or one digit gets lost after the validation.
On Blur is the Event which is triggered, when the editor is not focused anymore. I'm not entirely sure yet how to fix it but I'll figure something out.

I found a matching issue on the react ace editor: https://github.com/securingsincity/react-ace/issues/861
I will remove the debounce entirely for now. Because the suggested possible fix doesn't work. We already set the editorContent State in the first line of the change event.

Shouldn't this close automatically when the branch is merged? Or has that happened?


[Service Bus] Design and implement rule manager

/check-enforcer reset

/check-enforcer evaluate

@JoshLove-msft Service Bus Track-1 doesn't have many test cases for rules/filters. I added as many as I could think of. Let me know if there are other missing test cases, we will create an issue and covered those as well.


[WIP] Refactoring

Could we also consider #57 and #25?

@Nyholm I merged / answered on them.
About this PR it's more an experiment to try to add support to historical rates, etc.

I like the concept of a query. It proves for better extensibility.

I close it in favor of https://github.com/florianv/swap/pull/66


Remove %5B%5D In Laravel after submit form

I have a form:
<form method="get">
<input type="checkbox" name="array[]">
</form>

When I submit form, I have a next url:
http://site.com/c?filter%5B%5D=19
How to remove %5B%5D in Laravel?

Please ask on the forums :)
This repo is for bug reporting only.


Increase Gradle build timeout

Purpose
This PR increases the Gradle build timeout.

Codecov Report

Merging #15036 into reduce-gradle-logs will decrease coverage by <.01%.
The diff coverage is n/a.

@@                   Coverage Diff                    @@
##             reduce-gradle-logs   #15036      +/-   ##
========================================================
- Coverage                 63.08%   63.08%   -0.01%
  Complexity                  560      560
========================================================
  Files                      2336     2336
  Lines                    103753   103753
  Branches                  13830    13830
========================================================
- Hits                      65457    65454       -3
- Misses                    33225    33228       +3
  Partials                   5071     5071

Impacted Files
Coverage Δ
Complexity Δ

...a/org/ballerinalang/bre/bvm/WorkerDataChannel.java
84.56% <0%> (-2.47%)
0% <0%> (ø)

...org/ballerinalang/bre/bvm/WaitCallbackHandler.java
82.88% <0%> (-0.91%)
0% <0%> (ø)

.../org/ballerinalang/database/sql/SQLDatasource.java
67.03% <0%> (-0.55%)
0% <0%> (ø)

...llerinalang/stdlib/socket/tcp/SelectorManager.java
77.11% <0%> (+0.42%)
0% <0%> (ø)
:arrow_down:

...n/java/org/ballerinalang/bre/bvm/BVMScheduler.java
45% <0%> (+2%)
0% <0%> (ø)
:arrow_down:

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 4e1b93e...2f9bec8. Read the comment docs.


Serve based on default domain in kubernetes like in consulcatalog?

What version of Traefik are you using (traefik version)?
1.1.2 (docker image)
What is your environment & configuration (arguments, toml...)?
kubernetes, default, --kubernetes --web
What did you do?
Run as a kubernetes ingress controller
What did you expect to see?
Enable flexible parent domain like with consul-catalog
In consul catalog mode, I can set consulcatalog.domain=foo.mydomain.com, and every service that is registered will be a sub of that service. Registering service bar means traefik will serve bar.foo.mydomain.com.
In kubernetes (and some others) it doesn't do that. Rather, if using the host:  rule in the Ingress, it just treats the value of host:  as absolute.
Is there a way to get it to say, "I have been configured with a parent domain, so all host will be subdomains of the parent", similar to how consul does it?
Technically, kubernetes ingress do support wildcard, but only as the subdomain, not the parent.
The use case: portable configs. If I put the entire parent domain in my config, my config file no longer is portable across deployments, unlike my container app deploys. I would prefer to configure my Ingress as just host: myservice, and Traefik itself in one of two modes:

--traefik.domain=some.domain.com which would cause traefik to match  myservice.some.domain.com
2 .--traefik.domain='*' which would cause traefik to match myservice.<anything>

Traefik can make apps and configs highly portable.

Any thoughts?

FYI, I overrode the kubernetes.tmpl to get it to do what I wanted. I don't love it, but it works.

Hey @deitch, do you happen to have an example that implements what you're describing? I had a similar question when I moved from consul catalog over to kubernetes and am looking for a similar solution to get that behavior in kubernetes (automatically routing to an app name as a subdomain).

@tylerjl sure. I tried to do a wildcard like mysub.*, but kube's ingress rejects that as invalid. So instead I defined a string that would be treated as wildcard. In my case, anyrootdomain123. If that appears on the Ingress, it is replaced as *, so mysub.anyrootdomain123 becomes mysub.*. Here is my template override:
kind: ConfigMap
apiVersion: v1
metadata:
  name: traefik-tmpl
  namespace: kube-system
data:
  kubernetes.tmpl: |-
    [backends]{{range $backendName, $backend := .Backends}}
        {{if $backend.CircuitBreaker}}
        [backends."{{$backendName}}".circuitbreaker]
          expression = "{{$backend.CircuitBreaker.Expression}}"
        {{end}}
        [backends."{{$backendName}}".loadbalancer]
          method = "{{$backend.LoadBalancer.Method}}"
          {{if $backend.LoadBalancer.Sticky}}
              sticky = true
          {{end}}
        {{range $serverName, $server := $backend.Servers}}
        [backends."{{$backendName}}".servers."{{$serverName}}"]
        url = "{{$server.URL}}"
        weight = {{$server.Weight}}
        {{end}}
    {{end}}

    [frontends]{{range $frontendName, $frontend := .Frontends}}
      [frontends."{{$frontendName}}"]
      backend = "{{$frontend.Backend}}"
      priority = {{$frontend.Priority}}
      passHostHeader = {{$frontend.PassHostHeader}}
        {{range $routeName, $route := $frontend.Routes}}
        [frontends."{{$frontendName}}".routes."{{$routeName}}"]
        {{ $rulewithreplace := replace $route.Rule 'anyrootdomain123' '{subdomain:.*}' }}
        rule = "{{ replace $rulewithreplace 'Host:' 'HostRegexp:' }}"
        {{end}}
    {{end}}
---
kind: DaemonSet
apiVersion: extensions/v1beta1
metadata:
  name: traefik-ingress-controller
  namespace: kube-system
  labels:
    name: traefik-ingress-lb
    kubernetes.io/cluster-service: "true"
spec:
  selector:
    matchLabels:
      name: traefik-ingress-lb
  template:
    metadata:
      labels:
        name: traefik-ingress-lb
    spec:
      terminationGracePeriodSeconds: 60
      containers:
      - image: traefik
        name: traefik-ingress-lb
        resources:
          limits:
            cpu: 200m
            memory: 30Mi
          requests:
            cpu: 100m
            memory: 20Mi
        ports:
        - containerPort: 80
          hostPort: 80
        - containerPort: 8080
        args:
        - --web
        - --kubernetes
        - --kubernetes.filename=/etc/traefik/kubernetes.tmpl
      volumeMounts:
         - name: traefik-tmpl
           mountPath: /etc/traefik/kubernetes.tmpl
            readOnly: true
  volumes:
     - name: traefik-tmpl
       configMap:
         name: traefik-tmpl
         items:
         - key: kubernetes.tmpl
           path: kubernetes.tmpl

Still ugly, but it works.....

I'll close this issue, because I think the question is answered, but feel free to continue the conversation.

The question is answered in terms of how to do an ugly hack to make it work. But it shouldn't be necessary. The issue I opened was less, "is there some way to do this" and more "can traefik support this natively"?


How do I specify timeouts for connection and/or reading?

Hey @Warfley,
In Indy, we can define timeouts in millis for connections to fail and reading to fail.
Is this something supported at the native sockets level or is it something that Indy threw in on top?
Cheers,
Gus

Use DataAvailable with timeout


Smulis 157

Introduce a Makefile with a default target that builds coral project into Klaw springboot application. If the user has set klaw.coral.enabled=true in application.properties they are able to access the Coral application from /coral paths inside the springboot app.
Resolves: #157

How to test:

Run $ make
Modify klaw.coral.enabled=true in application.properties
Run project
Access http://localhost:9097/coral/hello with your browser.

Question - if I see it correctly, user need to run

enable-coral-in-springboot to have coral in the build and
disable-embedded-in-springboot to not have it in build?

Or can they use the PHONY target (enable-embedded-in-springboot)?
I'm not sure if there is a convention for makefiles, but enable-coral-in-springboot sounds clear - although from a user perspective they may need to know what coral is and maybe the info in-springboot is not necessary. The related disable-embedded-in-springboot sounds not like it's the counterpart to  enable-coral-in-springboot, though.
Dependent on who we define as "users" for this makefile, a clearer naming might be an idea?
(If PHONY targets work as I understood them)

enable-coral-in-springboot to have coral in the build and

Yes. That make target that makes sure the assets are part of the springboot application and it toggles the klaw.coral.enabled system config true.

disable-embedded-in-springboot to not have it in build?

Simply sets klaw.coral.enabled false.
I think in the next step the users would not have to call the make targets them selves, but mvn would call the during the build process based on the application.properties value.

Thanks for the explanation! ✨

@programmiri thanks for pointing out he non consistent naming with the make targets. I did a small adjustement and now we should only have two targets that are both .PHONY.
IIRC .PHONY is a target that does not represent a specific file and it is always run only once even though it might be a prerequisite for multiple targets.


cannot import name 'download_url_to_file'_from 'torch.hub'

When reproducing the mmskeleton model, I input the instruction Python mmskl py pose_ Demo, but the following error prompt occurs：

Ask for help.

This problem has been solved.
as follows

您好，请问您完成复现了吗，可以加联系方式向您请教一些问题吗？qq1194963662，谢谢


Use ActionResult consistently

Fixes #8284

Sorry @daveabrock
I beat you too it in #9469
The tutorials are unified and much simpler. Please take a look and add your comments.

Ah, nice!


Fix type-o in OpenXRAPIExtension docs for is_environment_blend_mode_alpha_supported()

Fixes docs type-o introduced in PR https://github.com/godotengine/godot/pull/87630

Thanks!


TSServer Crashes When Opening Sharepoint Folder

TypeScript Version:  2.1.5
We're seeing a large number of reports of TSServer crashes from VSCode users when they attempt to open a project stored on sharepoint. I can repo this by opening a simple sharepoint folder with a single empty js file on windows.
Here's an example trace of the communications from VSCode:
Insiders\resources\app\extensions\typescript\node_modules\typescript\lib\tsserver.js
[Trace - 1:31:58 PM] Sending request: configure (153). Response expected: yes. Current queue length: 0
Arguments: {
    "hostInfo": "vscode"
}
[Trace - 1:31:58 PM] Response received: configure (153). Request took 294 ms. Success: true
[Trace - 1:31:58 PM] Sending request: compilerOptionsForInferredProjects (154). Response expected: yes. Current queue length: 3
Arguments: {
    "options": {
        "module": "CommonJS",
        "target": "ES6",
        "allowSyntheticDefaultImports": true,
        "allowNonTsExtensions": true,
        "allowJs": true,
        "jsx": "Preserve"
    }
}
[Trace - 1:31:58 PM] Response received: compilerOptionsForInferredProjects (154). Request took 296 ms. Success: true
Result: true
[Trace - 1:31:58 PM] Sending request: open (155). Response expected: no. Current queue length: 2
Arguments: {
    "file": "//microsoft.sharepoint.com@SSL/DavWWWRoot/teams/DD_OTP/Documents/Java and Open Tools/Node/test/main.js",
    "fileContent": ""
}
[Trace - 1:31:58 PM] Sending request: geterr (156). Response expected: no. Current queue length: 1
Arguments: {
    "delay": 0,
    "files": []
}
[Trace - 1:31:58 PM] Sending request: geterr (157). Response expected: no. Current queue length: 0
Arguments: {
    "delay": 0,
    "files": [
        "//microsoft.sharepoint.com@SSL/DavWWWRoot/teams/DD_OTP/Documents/Java and Open Tools/Node/test/main.js"
    ]
}
[Error - 1:31:58 PM] TSServer exited with code:<PHONE_NUMBER>

TSS_LOG did not produce any data, just Info 0    Binding...

Imho this should be backported to 2.1.x so that we can do a recovery build.

Does this TypeScript issue's resolution fix issue 19870 as well? That problem occurs for any js file, even with the TypeScript extension removed, yet it was closed last week as a duplicate of this issue.

Does this TypeScript issue's resolution fix issue 19870 as well?
https://github.com/Microsoft/vscode/issues/19870 is rather scarce on details, but seems like the same symptoms.

That problem occurs for any js file, even with the TypeScript extension removed, yet it was closed last week as a duplicate of this issue.

The JavaScript language service in VSCode is driven by the TypeScript engine. The problem is really caused by a bug in libuv https://github.com/libuv/libuv/issues/1221. We have a mitigation in place in<EMAIL_ADDRESS>The VSCode team is looking for releasing a new build with the fix shortly.


Add Elm icon

Add Elm language icon.
Taken from elm-lang.org/assets/logo.svg.

Looks great.  Thx for the contrib.


Long/short funding rate

This makes the funding rate dependent on the position, so the maker has more control on what rate apply to rollover.
TODO (not part of this PR):

use both rates in the UI - when we go for https://github.com/itchysats/itchysats/pull/1562 this is trivial
Adapt the automation accordingly

bors r+


Embed opencollective on website

https://docs.opencollective.com/help/collectives/embed-contribution-flow

I think this needs to be enabled on OC, first.

I've asked on Slack for us to be enabled.

Nice, you beat me to it on Slack :D

I live in the OC slack.

Were we approved? :D

Yes! But it looks bad. Design suggestions?

Hmmmm can I see a screenshot of what it looks like

There's an inner scroll in there, too.

Oh jeez. Yeah let's just scrap it for now. :(
Oh well.

We could link it, though?

Sure, yeah :)


Microsoft.PowerShell.Standard.Module.Template - add launchSettings.json / debug profiles

In .NET automation libraries I find these profiles convenient for debugging. Maybe others might find them useful.
Only works for Visual Studio though. A drawback is hard coded paths to PowerShell Core executables.
{
  "profiles": {
    "PowerShell Core x64": {
      "commandName": "Executable",
      "executablePath": "C:\\Program Files\\PowerShell\\6.0.1\\pwsh.exe",
      "commandLineArgs": "-NoExit -Command \"Import-Module '$(TargetPath)'\""
    },
    "PowerShell Core x86": {
      "commandName": "Executable",
      "executablePath": "C:\\Program Files (x86)\\PowerShell\\6.0.1\\pwsh.exe",
      "commandLineArgs": "-NoExit -Command \"Import-Module '$(TargetPath)'\""
    },
    "PowerShell Desktop x64": {
      "commandName": "Executable",
      "executablePath": "%SystemRoot%\\system32\\WindowsPowerShell\\v1.0\\powershell.exe",
      "commandLineArgs": "-NoExit -ExecutionPolicy ByPass -Command \"Import-Module '$(TargetPath)'\""
    },
    "PowerShell Desktop x86": {
      "commandName": "Executable",
      "executablePath": "%SystemRoot%\\syswow64\\WindowsPowerShell\\v1.0\\powershell.exe",
      "commandLineArgs": "-NoExit -ExecutionPolicy ByPass -Command \"Import-Module '$(TargetPath)'\""
    }
  }
}

Please open this issue here https://github.com/powershell/powershellstandard


In addition, unusual coins made of other precious metals sometimes appear. The gold piece (gp) and electrum piece (ep) are generally considered as figurative amounts rather than actual coin however, and using them in trade may arrouse suspicion or skepiticism. A gold piece is worth 10 silver pieces or 1,000 copper pieces. An electrum piece is worth 5 silver pieces or 500 copper pieces.
A standard coin weighs about a third of an ounce, so fifty coins weigh a pound—with the exception of halfpieces and tenpieces, which weight half has much or a tenth as much of a standard coin, respectively.
Additionally, various civilizations refer to different coins with different terminologies. For instance, dwarves refer to a copper piece as a copper and a silver piece as a silver, whereas a Valnorian would refer to them as a rude or a light, respectively.
Exchange Rate

Coin
cp
tp
hp
sp
ep
gp

Copper (cp)
1
1/10
1/50
1/100
1/500
1/1000

Tenpiece (tp)
10
1
1/5
1/10
1/50
1/100

Halfpiece (hp)
50
5
1
1/2
1/10
1/20

Silver (sp)
100
10
2
1
1/5
1/10

Electrum (ep)
500
50
10
5
1
1/2

Gold (gp)
1,000
100
20
10
2
1

Terminology

Coin/Dwarven
Arduin
Dales
Valnor

Copper
Pigface
Luck
Rude

Tenpiece
Jackface
Ping
Light

Halfpiece
Queenface
Sheb
Count

Silver
Kingface
Fen
Glimmer

Electrum
—
—
Spill

Gold
—
—
Purse

Selling Treasure
Generally, merchants are willing to buy just about anything as long as it's still in good condition, as long as it's within their realm of merchandising.
Arms, Armor, and Other Equipment. As a general rule, undamage weapons, armor, and other equipment fetch half their cost when sold in a market. Weapons and armor used by bandits and monsters are rarely in good enough condition to sell.
Gems, Jewelry, and Art Objects. These items retain their full value in the marketplace, and you can either trade them in for coin or use them as currency for other transactions. For exceptionally valuable treasures, the DM might require you to find a buyer in a large town or larger community first.
Trade Goods. Generally, most people are willing to conduct transactions through barter. Like gems and art objects, trade goods—bars of iron, bags of salt, livestock, and so on—retain their full value in the market and can be used as currency.

\page
Gear

Armor

Armor
Cost
Armor Class (AC)
Strength
Stealth
Weight

Light Armor

Leather Jerkin
10 sp
11+Dex modifier
—
—
10 lbs.

Leather Corslet
45 sp
12+Dex modifier
—
—
13 lbs.

Medium Armor

Hide
10 sp
12+Dex modifier (Max 2)
—
—
12 lbs.

Corslet of Mail
50 sp
13+Dex modifier (Max 2)
—
—
30 lbs.

Scale Hauberk
50 sp
14+Dex modifier (Max 2)
—
Disadvantage
45 lbs.

Heavy Armor

Ring Mail
75 sp
14
—
Disadvantage
40 lbs.

Heavy Mail
75 sp
16
Str 13
Disadvantage
55 lbs.

Shields

Round Shield
10 sp
+2
—
—
6 lbs.

Tower Shield
30 sp
+4
15
Disadvantage
45 lbs.

New Shield

***Tower Shield.*** Huge and round or barrel shaped, these shields are carried in battle by the sturdiest of warriors, and are considered too cumbersome and unwieldy by many, as a result. Tower shields remove the ability to make the Dash action, but they can be planted in the ground, creating 3/4 cover. Tower shields can only be used by size Medium or larger warriors.

New Weapon

***Mattock.*** A mattock is a heavy digging implement, sporting a flat, hammer head on one side an a spade-like "blade" on the other. Dwarves, daewar and duergar alike, choose to wield their mattocks in battle to fearsome effect.

Firearms. Though some might know the secrets of gunsmithing, only dwarves readily produce firearms and they're loathe to sell them off. Being a relatively new creation, they are prone to mishaps, but there's very little competition in terms of weaponry.
Mastercrafted Weapons and Armor
Throughout Rumenor there exist talented smiths, capable of crafting weapons or armor that are a cut-above the norm. A warrior that wishes to acquire of mastercrafted gear must find a talented enough smith to craft it for them, and willing to pay the increased price.
A mastercrafted weapon costs a base of 20 silver x the bonus value + 3x the listed price of the desired weapon. A suit of mastercrafted armor costs 50 silver x the bonus value + 2x the listed price.
For example, a longsword normally costs 40 silver. If you want a mastercrafted longsword, it's an additional 20 silver per bonus value. Thus, a +1 mastercrafted longsword costs 140 silver (or the equivalent of 14 gold).
A human mastercraft weapon adds a +1 bonus to all attack and damage rolls made with it, while
a suit of human mastercraft armor grants a +1 bonus to AC while equipped.
Only dwarves are capable of making anything superior. Dwarf-forged mastercraft armor as an added +1 bonus to Armor Class (AC), in addition to the effect of human mastercrafted armor; and dwarf-forged mastercraft weapons have a +2 bonus as opposed to +1.

\page

##### Weapons
| Name | Cost | Damage | Weight | Properties |
|:-----|:-----|:------:|-------:|:----------:|
| *Simple Melee Weapons* |  |  |  |  |
| Club           | 10 cp  | 1d4 bludgeoning | 2 lbs.  | Light |
| Dagger         | 2 sp  | 1d4 piercing    | 1 lb.   | Finesse, light, thrown (range 20/60) |
| Great Club     | 20 cp  | 1d8 bludgeoning | 10 lbs. | Two-handed |
| Hand-Axe       | 5 sp  | 1d6 slashing    | 2 lbs.  | Light, thrown (20/60) |
| Hammer         | 2 sp  | 1d4 bludgeoning | 2 lbs.  | Light, thrown (20/60) |
| Mace           | 5 sp  | 1d6 bludgeoning | 4 lbs.  | — |
| Staff              | 2 sp  | 1d6 bludgeoning | 4 lbs.  | versatile (1d8) |
| Spear          | 1 sp  | 1d6 piercing    | 3 lbs.  | Thrown (range 20/60), versatile (1d8)  |
| *Simple Ranged Weapons* |  |  |  |  |
| Light Crossbow | 25 sp | 1d8 piercing    | 5 lbs.  | Ammunition (range 80/320), |
| Short Bow      | 10 sp | 1d6 piercing    | 2 lbs.  | Ammunition (range 80/320) two-handed |
| Sling          | 10 cp  | 1d4 bludgeoning |  —      | Ammunition (range 30/120) |
| *Martial Melee Weapon* |  |  |  |  |
| Axe            | 10 sp | 1d8 slashing    | 4 lbs.  | versatile (1d10) |
| Great Axe      | 30 sp | 1d12 slashing   | 7 lbs.  | Heavy, two-handed |
| Great Spear    | 20 sp | 1d12 piercing   | 9 lbs.  | Heavy, reach, two-handed |
| Heavy Scimitar     | 50 sp | 2d6 slashing    | 6 lbs.  | Heavy, two-handed |
| Longsword      | 40 sp | 1d8 slashing    | 3 lbs.  | Versatile (1d10) |
| Mattock        | 20 sp | 2d6 piercing    | 10 lbs. | Heavy, two-handed |
| Scimitar       | 25 sp | 1d6 slashing    | 3 lbs.  | Finesse, light |
| Shortsword     | 10 sp | 1d6 piercing    | 2 lbs.  | Finesse, light |
| Broadsword     | 30 sp | 1d8 slashing    | 3 lbs.  | Finesse |
| Warhammer      | 15 sp | 1d8 bludgeoning | 2 lbs.  | Versatile (1d10) |
| *Martial Ranged Weapon* |  |  |  |  |
| Great Bow      | 40 sp | 1d8 piercing    | 3 lbs.  | Ammunition (range 150/600), heavy, two-handed |
| Heavy Crossbow | 50 sp | 1d10 piercing   | 18 lbs. | Ammunition (range 100/400), heavy, loading, two-handed |

\page

##### Aventuring Gear
| Item | Cost | Weight | Item | Cost | Weight |
|:-----|:-----|:------:|:-----|:-----|:------:|
| Backpack            | 2 sp | 5 lbs. | Lantern, hooded    | 5 sp | 2 lbs. |
| Ball bearings (bag of 1,000) | 1 sp | 2 lbs. | Hunting trap | 5 gp | 25 lbs. |
| Barrel              | 2 sp | 70 lbs.| Lock               | 10 sp | 1 lb. |
| Basket              | 40 cp | 2 lbs. | Magnifying glass   | 100 sp | — |
| Bedroll             | 1 sp | 7 lbs. | Manacles           | 2 sp | 6 lbs. |
| Bell                | 1 sp | —      | Mirror, steel      | 5 sp | 0.5 lbs |
| Blanket             | 50 cp | 3 lbs. | Oil (flask)        | 10 cp | 1 lb. |
| Block and tackle    | 1 sp | 5 lbs. | Parchment (one sheet) | 1 sp | — |
| Book                | 25 sp| 5 lbs. | Pick, miner's      | 2 sp | 10 lbs. |
| Bottle, glass       | 2 sp | 2 lbs. | Pocket handkerchief | 10 cp | — |
| Bucket              | 5 cp | 2 lbs. | Pot, iron | 2 sp | 10 lbs. |
| Candle              | 1 cp | —      | Pouch | 5 sp | 1 lb. |
| Caltrops (bag of 20)| 1 sp | 2 lbs. | Piton | 5 cp | 0.25 lbs. |
| Case, crossbow bolt | 1 sp | 1lb.   | Quiver |1 sp | 1 lb. |
| Case, map or scroll | 1 sp | 1 lb.  | Rations (1 day) | 50 cp | 2 lbs. |
| Chain (10 feet)     | 5 sp | 10 lbs.| Robes   | 1 sp | 4 lbs. |
| Chalk (1 piece)     | 1 cp | — | Rope, hempen (50 feet) | 1 sp | 10 lbs. |
| Chest               | 5 sp | 25 lbs.| Sack | 1 cp | 0.5 lbs. |
| Clothes, common     | 50 cp | 3 lbs. | Saddle | 20 sp | 30 lbs |
| Clothes, costume    | 5 sp | 4 lbs. | Scale, merchant's | 5 sp | 3 lbs. |
| Clothes, fine       | 15 sp | 6 lbs.| Sealing wax  | 50 cp | — |
| Clothes, spring & summer traveler's | 2 sp | 4 lbs. | Shovel | 2 sp | 5 lbs. |
| Clothes, fall & winter traveler's | 5 sp | 8 lbs. | Signal whistle | 5 cp | — |
| Crowbar           | 2 sp | 5 lbs.   | Signet ring | 5 sp | — |
| Fireworks         | 20 sp | — | Soap | 2 cp | — |
| Dwarven Toys      | 1 sp - 50 sp | 1 lb. | Spikes, iron (10) | 1 sp | 5 lbs. |
| Fishing tackle    | 1 sp | 4 lbs | Tent, two-person | 2 sp | 20 lbs. |
| Flask or tankard  | 2 cp | 1 lb. | Tinderbox | 50 cp | 1 lb. |
| Grappling hook    | 2 sp | 4 lbs. | Torch  |1 cp  | 1 lb. |
| Hammer            | 1 sp | 3 lbs. | Travel pots and pans | 50 cp | 1 lb. |
| Hammer, sledge    | 2 sp | 10 lbs. | Vial | 1 sp | — |
| Healer's kit      | 5 sp | 3 lbs. | War Horn    | 10 sp | 2 lbs. |
| Hourglass         | 25 sp | 1 lb. | Waterskin   | 20 cp | 5 lbs. (full) |
| Ink (1 oz bottle) | 10 sp | — | Whetstone | 1 cp | 1 lb. |
| Ink pen           | 2 cp | — | Mess Kit | 20 cp | 1 lb.  |
| Jug               | 2 cp | 4 lbs. | *Ammunition* |  |  |
| Ladder (10 feet)  | 1 sp | 25 lbs. | Arrows (20)   | 50 cp | 1 lb. |
| Lamp              | 5 sp | 1 lb. | Crossbow bolts (20)       | 1 sp | 1.5 lbs. |
| Lantern, bullseye | 10 sp | 2 lbs. | Sling bullets (20)  | 4 cp | 1.5 lbs. |

\page
## Adventuring Gear
Ball Bearings
As an action, you can spill these tiny metal balls from their pouch to cover a level area 10 feet square. A creature moving across the covered area must succeed on a DC 10 Dexterity saving throw or fall prone. A creature moving through the area at half speed doesn't need to make the saving throw.
Caltrops
As an action, you can spread a single bag of catlrops to cover a 5-foot-area. Any creature that enters the area must succeed on taking a DC 15 Dexterity saving throw or stop moving and take 1 piercing damage. Until the creature regains at least 1 hit point, it's walking speed is reduced by 10 feet. A creature moving through the area at half speed doesn't need to make the saving throw.
Candle
For 1 hour, a candle sheds bright light in a 5 foot radius and dim light for an additional 5 feet.
Case, Crossbow Bolt
This wooden case can hold up to twenty bolts.
Chain
A chain has 10 hit points. It can be burst with a successful DC 20 Strength check.
Dwarven Toys
The delightful creations of the dwarves and their apprentices come from their kingdoms in the Coldpeaks and Golden Peaks and sold at toy markets throughout Rumenor. Made from intracately carved wood and metal, the greatest (and most expensive) are so cunningly wrought that they have properties that seem magical: soldiers that march in unison, metal bears with tiny roars and little instruments that play themselves have all been sold in toy markets.
Fireworks
Small explosives that, soon after being lit, make a burst of sound, light, or both. The fireworks produced around Rumenor range from small whizz-bangs to teeth-rattling thunerclaps, and from small fire-flowers to full-sized burning shapes in the sky. Firework creatin is a relatively young art and they are not very robust as of yet.
Healer's Kit
This kit is a leather pouch containing bandage, salves, and splints. The kit has ten uses. As an action, you can spend one use of the kit to stabilize a creature that has 0 hit points, without needing to make a Wisdom (Medicine) check.

Hunting Trap
When you use your action to set it, this trap forms a saw-toothed steel ring that snaps shut when a creature steps on a pressure plate in the center. The trap is affixed by a heavy chain to an immobile object, such as a tree or a spike driven into the ground. A creature that steps on the plate must succeed on a DC 13 Dexterity saving throw or take 1d4 piercing damage and stop moving. Thereafter, until the creature breaks free of the trap, its movement is limited by the length of the chain (typically 3 feet long). A creature can use its action to make a DC 13 Strength, freeing itself or another creature within its reach on a success. Each failed check deals 1 piercing damage to the trapped creature.
Lamp
A lamp casts bright light in a 15-foot radius and dim light for an additional 30 feet. Once lit, it burns for 6 hours on a flask (1 pint) of oil.
Lantern, bullseye
A bullseye lantern casts bright light in a 60-foot cone and dim light for an additional 60 feet. Once lit, it burns for 6 hours on a flask (1 pint) of oil.
Lantern, hooded
A hooded lantern casts bright light in a 30-foot radius and dim light for an additional 30 feet. Once lit, it burns for 6 hours on a flask (1 pint) of oil. As an action, you can lower the hood, reducing the light to dim light in a 5-foot radius.
Oil
Oil usually comes in a clay flask that holds 1 pint. As an action, you can splash the oil in this flask onto a creature within 5 feet of you or throw it up to 20 feet, shattering it on impace. Make a ranged attack against a creature or object, treating the oil as an improvised weapon. On a hit, the target is covered in oil. If the target takes any fire damage before the oil dries (after 1 minute), the target takes an additional 5 fire damage from the burning oil. You can also pour a flask of oil on the ground to cover a 5-foot-square area, provided that the surface is level. If lit, the oil burns for 2 rounds and deals 5 fire damage to any creature that enters the area or ends its turn in the area. A creature can take this damage only once per turn.
Pouch
A cloth or leather pouch can hold up to 20 sling bullets, among other things.
Quiver
A quiver can hold up to 20 arrows.
Rope
Rope has 2 hit points and can be burst with a DC 17 Strength check.
Torch
A torch burns for 1 hour, providing bright light in a 20-foot radius and dim light for an additional 20 feet. If you make a melee attack with a burning torch and hit, it deals 1 fire damage.

\page
Traveling Gear
Traveling gear includes all the typical belongings that one carries when traveling. Adventurer's being a somewhat rare breed in Rumenor, there is little notion of any specialised equipment.
Traveling gear varies by the time a year a company sets out. Spring and summer gear consists of lighter clothes and cloaks, blankets, water and rations. Winter and autum gear requires warm clothing, thick jackets, fur lined cloaks and solid boots with heavier bedrolls along with water and rations.

Spring and Summer Traveling Clothes. Includes appropriate garb, backpack, blanket, mess kit, a flask of oil, a pouch, 50' hempen rope, 5 torches, a waterskin and a whetstone. With rations, this gear weighs 49 lbs and if purchased, would cost about 10 silvers.

Autumn and Summer Traveling Clothes. Includes appropriate garb, backpack, bedroll, hooded lantern, mess kit, a flask of oil, a pouch, 50' hempen rope, a waterskin, and a whetstone. With rations, this gear wieghs 54 lbs. and if purchased, would cost around 20 silvers.

Container Capacity

Container
Capacity

Backpack*
1 cubic foot/30 pounds of gear

Barrel
40 gallons liquid, 4 cubic feet solid

Basket
2 cubic feet/40 pounds of gear

Bottle
1.5 pints liquid

Bucket
3 gallons liquid, 1/2 cubic foot solid

Chest
12 cubic feet/300 pounds of gear

Flask or tankard
1 pint liquid

Jug or pitcher
1 gallon liquid

Pot, iron
1 gallon liquid

Pouch
1/5 cubic foor/6 pounds of gear

Sack
1 cubic foot/30 pounds of gear

Vial
4 ounces liquid

Waterskin
4 pints liquid

** You can also strap items, such as a bedroll or a coil of rope, to the outside of the backpack*

Tools

##### Tools
|Name|Cost|Weight|
|:---|----:|:----:|
| *Artisan's Tools* | | |
|Brewer's supplies| 20 sp | 9 lbs. |
|Calligrapher's supplies| 10 sp| 5 lbs. |
|Carpenter's tools| 8 sp | 6 lbs. |
|Cartography tools| 15 sp | 6 lbs. |
|Cobbler's tools| 5 sp | 5 lbs. |
|Cook's utensils| 1 sp | 8 lbs. |
|Glassblower's tools| 30 sp | 5 lbs. |
|Jeweler's tools| 25 sp | 2 lbs. |
|Leatherworker's tools| 5 sp | 5 lbs. |
|Mason's tools| 10 sp | 8 lbs. |
|Painter's supplies| 10 sp | 5 lbs. |
|Potter's tools| 10 sp | 3 lbs. |
|Smith's tools| 20 sp | 8 lbs. |
|Tinker's tools| 50 sp | 10 lbs. |
|Weaver's tools| 1 sp | 5 lbs. |
|Woodcarver's tools| 1 sp | 5 lbs. |
|Disguise Kit| 25 sp | 3 lbs. |
|Forgery Kit| 15 sp | 5 lbs. |
|*Gaming set*|||
|Dice set| 1 cp | — |
|Chess set| 1 sp | 0.5 lbs |
|Playing cards | 5 cp | — |
|Herbalism kit| 5 sp | 3 lbs. |
|*Musical Instruments*|||
|Bagpipes| 30 sp | 6 lbs. |
|Drum| 6 sp | 3 lbs. |
|Fiddle| 25 sp | 5 lbs. |
|Flute| 2 sp | 1 lbs. |
|Lute| 35 sp | 2 lbs. |
|Lyre| 30 sp | 2 lbs. |
|Horn| 3 sp | 2 lbs. |
|Pan flute| 12 sp | 2 lbs. |
|Viol| 30 sp | 1 lbs. |
|Navigator's tools| 25 sp | 2 lbs. |
|Thieves' tools| 25 sp | 1 lbs. |

\page
## Vehicles
Mounts and Other Animals

Item
Cost
Speed
Capacity

Donkey or mule
8 sp
40 ft.
420 lbs.

Horse, draft
50 sp
40 ft.
540 lbs.

Horse, riding
75 sp
60 ft.
480 lbs.

Mastiff
25 sp
25 sp
195 lbs.

Pony
30 sp
40 ft.
225 lbs.

Tack, Harness, and Drawn Vehicles

Item
Cost
Weight

Barding
x4
x2.

Bit and Bridle
2 sp
1 lb.

Carriage
100 sp
600 lbs.

Cart
15 sp
200 lbs.

Feed (per day)
5 cp
10 lbs.

Saddle

Military
20 sp
30 lbs.

Pack
5 sp
15 lbs.

Riding
10 sp
25 lbs.

Saddlebags
4 sp
8 lbs.

Sled
20 sp
300 lbs.

Stabling (per day)
5 sp
—

Wagon
35 sp
400 lbs.

Waterborne Vehicles

Item
Cost
Speed

Keelboat
3,000 sp
1 mph

Longship
10,000 sp
3 mph

Rowboat
50 sp
1.5 mph

Sailing Ship
10,000 sp
2 mph

Trade Goods
Most wealth is not in coins. It is measured in livestock, grain, land, rights to collect taxes, or rights to resources (such as a mine or forest).
Guilds, nobles, and royalty regulate trade. Chartered companies are granted rights to conduct trade along certain routes, to send merchant ships to various ports, or to buy or sell specific goods. Guilds set prices for the goods or services that they control, and determine who may or may not offer those goods and services. Merchants commonly exchange trade goods without using currency. The Trade Goods table shows the value of commonly exhanged goods.

Trade Goods
| Cost | Goods |
|---- :|:------|
| 1 cp   | 1 lb. of wheat |
| 2 cp   | 1 lb. of flour or one chicked |
| 5 cp   | 1 lb. of salt|
| 10 cp  | 1 lb. of iron or 1 sq. yd. of canvas |
| 50 cp  | 1 lb. copper or 1 sq. yd. of cotton cloth |
| 1 sp   | 1 lb. of ginger or one goat |
| 2 sp   | 1 lb. of cinnamon or pepper, or one sheep |
| 3 sp   | 1 lb. of cloves or one pig |
| 50 sp  | 1 lb. pf silver or 1 sq. yd. of linen|
| 10 sp  | 1 lb. sq. yd. of silk or one cow |
| 15 sp  | 1 lb. of saffron or one ox |
| 500 sp | 1 lb. gold |
Expenses
Food, Drink, and Lodging

Item
Cost

Ale

Gallon
20 cp

Mug
4 cp

Banquet
10 sp

Bread, loaf
2 cp

Cheese, hunk
10 cp

Inn Stay (per day)

Squalid
7 cp

Poor
10 cp

Modest
50 cp

Comfortable
80 cp

Wealthy
2 sp

Aristocratic
4 sp

Meals (per day)

Squalid
3 cp

Poor
6 cp

Modest
30 cp

Comfortable
50 cp

Wealthy
80 cp

Aristocratic
2 sp

Meat, chunk
30 cp

Wine

Common (pitcher)
20 cp

Fine (bottle)
10 sp

\page
Services

Item
Cost

Coach Cab

Between towns
3 cp per mile

Within a city
1 cp

Hireling

Skilled
2 sp per day

Untrained
20 cp per day

Messenger
2 cp per mile

Road or gate toll
1 cp

Ship's passage
1 sp per mile

\page
# Factions
Black Pheonix Mercenary Co.
Conclave of Druids
Merchants' Alliance
Sentinals
Thieves' Guild
<div class='pageNumber auto>

You are missing a ' in the very last line.

Thank you so much, that seems to have fixed it.

I am having this same issue. Placing a ' at the end does not fix it, however. Also, the brew doesn't auto save-now, as it used it.


Create Level Peice Workflow

Create a way to create level pieces right out of blender to stream line the workflow.

I am thinking of ither two ways, either a python script in blender or bones / vertices with Certain names


Add reviewers property to GitLabDSL

This PR adds reviewers property to gitlab merge requests. This property is an array of Users who are responsible for reviewing a merge request.

Can you please update the CHANGELOG?

@f-meloni How should I update it? I'm running Scripts/update_changelog.sh and it just adds an empty section to the changelog.

@f-meloni Changelog updated


Add new loadblancer controller

add loadbalacner resource types (./pkg/apis/networking)
add loadbalancer cotnroller (./controller)
add loadbalancer nginx proxy controller (./proxy/proxies/nginx)
add loadbalancer ipvsdr provider controller (./provider/providers/ipvsdr)
add SharedInformerFactory to create SharedIndexInformer for k8s resource and loadbalancer reousrce (./pkg/informers)
add LoadBalancerLister to help you list and get loadblance resource from local store (./pkg/listers)
add tprclient to help you operate CRUD on loadbalancer resource with k8s apiserver (./pkg/tprclient)
add some utils to help you create a controller more easily

@kdada @ddysher

After discussion with @ddysher
I will move loadbalancer api/types to pkg/apis/networking/v1beta1  according to the practice of k8s
change apiversion group name from alpha.caicloud.io to net.alpha.caicloud.io according to api-conventions

Two comments:

how to pass various configs to proxy? e.g. for nginx, there's a lot of configs; i think user can use annotation in ingress resource, or use configmap.  since ingress is created by us, we want to surface this to the API (possibly through lb.spec.proxy.xxx)?
we need to finalize proxy/provider status API (for at least supported types).

Both can be done in follow up PRs

how to pass various configs to proxy?

ingress controller use configMap to pass various configs to proxy e.g. nginx now
Maybe we will add new resource to unify all configs  e.g. ingress rules, tcp/udp configMap, proxy various configs in the future. It is now in the plan

we need to finalize proxy/provider status API

The next commit will add a status api draft
the status is now unreliable and may be not backwards compatible

BTW, I'm a little confused about multiple providers use case, can u give an example?

Multiple providers provide multiple HA accesses to loadbalancner proxy.
You can set service and ipvsdr provider in the mean time. And then,
in-cluster applications can use service provider to access loadbalancer proxy (nginx)
out-cluster applications can use vip (ipvsdr provider) to  access loadbalancer proxy.
They can work well together.
Normally one provider is absolutely enough.

Generally LGTM.
Backlog: Replace Update with Patch.
Reorganized your commits for clear purpose.

reopen

ingress configuration is important (let's give it a high priority)

ingress controller use configMap to pass various configs to proxy e.g. nginx now. Maybe we will add new resource to unify all configs e.g. ingress rules, tcp/udp configMap, proxy various configs in the future. It is now in the plan

this pr is already very large, we can deal with it in another pr

the status is now unreliable and may be not backwards compatible

Thanks!

You can set service and ipvsdr provider in the mean time. And then,
in-cluster applications can use service provider to access loadbalancer proxy (nginx)
out-cluster applications can use vip (ipvsdr provider) to access loadbalancer proxy.
They can work well together.

@zoumo LGTM
@kdada feel free to merge if this LGTY


[Question] Use a custom logging provider for PaddleInference

Hello,
First, thank you for your library and your great work!
I am using PaddleSharp in my project and I have activated the loggs with the boolean GLogEnabled It looks like it redirect the logs from PaddleInferenceC to the Console.Writeline / Standard output somehow. In my project I am using Serilog for logging. Is there any way to write an adapter for Serilog ?
Many thanks!

As you guessed it's a C native method from PaddleInferernce to enable its logging towards stdout of the process, so no changes like logging to elsewhere can be made in .NET managed side.
It's still possible to filter logging from PaddleInferernce out of stdout by preventing any other echoing to stdout like Serilog, then redirect the stdout to somewhere like a file with >.

Alright thank you

Tracked by this: https://github.com/PaddlePaddle/Paddle/issues/62367


Updated Strings.ru.xaml

hiya, any new strings to translate?

You can if you want. There will be some more until 1.5 though so you'll have to go over it again if you start now.


[BUG][connector-file-base][HIVE]If hive serves as sink, an error message is reported when not all hive fields are mapped to the source

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened
If hive serves as sink, an error message is reported when not all hive fields are mapped to the source: at org.apache.seatunnel.connectors.seatunnel.file.sink.writer.AbstractWriteStrategy.lambda$buildSchemaWithRowType$0(Abstrac tWriteStrategy.java:135)
SeaTunnel Version
2.3.3
SeaTunnel Config
env {
  execution.parallelism = 2
  job.mode = "BATCH"
  checkpoint.interval = 10000
}
source{
    Jdbc {
        url = "jdbc:mysql://****:3308/job_data?useUnicode=true&characterEncoding=utf8&useSSL=false"
        driver = "com.mysql.cj.jdbc.Driver"
        connection_check_timeout_sec = 100
        user = "***"
        password = "****"
        query = "select data_status as id,name from data2"
    }
}

sink {
     Hive {
        table_name = "myhive.test_split10"
        metastore_uri = "thrift://***"
        }
}

Running Command
./bin/seatunnel.sh --config ./config/mysql_2Hive.conf -e local

Error Exception
Exception in thread "main" org.apache.seatunnel.core.starter.exception.CommandExecuteException: SeaTunnel job executed failed
        at org.apache.seatunnel.core.starter.seatunnel.command.ClientExecuteCommand.execute(ClientExecuteCommand.java:191)
        at org.apache.seatunnel.core.starter.SeaTunnel.run(SeaTunnel.java:40)
        at org.apache.seatunnel.core.starter.seatunnel.SeaTunnelClient.main(SeaTunnelClient.java:34)
Caused by: java.lang.NullPointerException
        at org.apache.seatunnel.connectors.seatunnel.file.sink.writer.AbstractWriteStrategy.lambda$buildSchemaWithRowType$0(AbstractWriteStrategy.java:135)
        at java.util.ArrayList.forEach(ArrayList.java:1257)
        at org.apache.seatunnel.connectors.seatunnel.file.sink.writer.AbstractWriteStrategy.buildSchemaWithRowType(AbstractWriteStrategy.java:133)
        at org.apache.seatunnel.connectors.seatunnel.file.sink.writer.TextWriteStrategy.setSeaTunnelRowTypeInfo(TextWriteStrategy.java:69)
        at org.apache.seatunnel.connectors.seatunnel.file.sink.BaseFileSink.setTypeInfo(BaseFileSink.java:71)
        at org.apache.seatunnel.engine.core.parse.JobConfigParser.parseSink(JobConfigParser.java:196)
        at org.apache.seatunnel.engine.core.parse.JobConfigParser.parseSinks(JobConfigParser.java:166)
        at org.apache.seatunnel.engine.core.parse.MultipleTableJobConfigParser.parseSink(MultipleTableJobConfigParser.java:534)
        at org.apache.seatunnel.engine.core.parse.MultipleTableJobConfigParser.parse(MultipleTableJobConfigParser.java:190)
        at org.apache.seatunnel.engine.core.job.AbstractJobEnvironment.getLogicalDag(AbstractJobEnvironment.java:109)
        at org.apache.seatunnel.engine.client.job.JobExecutionEnvironment.execute(JobExecutionEnvironment.java:73)
        at org.apache.seatunnel.core.starter.seatunnel.command.ClientExecuteCommand.execute(ClientExecuteCommand.java:143)

Zeta or Flink or Spark Version
No response
Java or Scala Version
java8
Screenshots
No response
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

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

@t1234849  Look forward to your contributions


Python write file error: device is busy

Can use repo command based on git and python support. How to mount an image disk.

Can use repo command based on git and python support. How to mount an image disk.

Thank you so much for trying LPMX.
To mount an image disk, LPMX supports creating symlink when creating a container, such as:
-bash-4.1$ lpmx docker create
Error: accepts 1 arg(s), received 0
Usage:
  lpmx docker create [flags]

Flags:
  -h, --help            help for create
  -n, --name string     optional
  -v, --volume string   optional

lpmx docker create -v host_path:root_path ubuntu:16.04

For example:
lpmx docker create -v /tmp/folder:/mountdir ubunut:16.04
cd /mountdir && ls -al /mountdir

If you have any further problems, please feel free to contact me!


Thanks! I updated this manually on the generated gh-pages branch in db5fa93.

Thanks! I updated this manually on the generated gh-pages branch in db5fa93.
Originally posted by @marcphilipp in https://github.com/junit-team/junit4/pull/1718#issuecomment-936027307

Sorry, your issue will be closed as you did not submit your information in the correct format.


session.subscribe and OT.initPublisher don't take elements only element ids

In the web version of opentok.js the subscribe and initPublisher method targetElement property can be either the element ID or the element itself. So eg. both of these work:
session.subscribe(stream, document.querySelector('#subscriber'));

and
session.subscribe(stream, 'subscriber');

This doesn't work in opentok.js for Cordova.

+1


Compute public path in link_to dialog (master)

I'm developing a newsletter engine for refinerycms and links must be added with host and protocol instead of only path. Images url were fixed with a similar pull request, but I forgot to add it to files and page links.
It will only add host and protocol if action_controller.asset_host is defined

This results in error:
undefined method `compute_public_path' for #<#<Class:0x007fc1dd037018>:0x007fc1dbe7da20>

I have checked images dialog, and it should be asset_paths.compute_public_path in rails 3.1, I didn't know that change.

@scambra I modified this a bit and merged. I made changes in 54078831e88b73fced29fb10ea42f7974126f055


Remove or fix bad community sounds

Some sounds are very long
Some sounds have a lot of silence
Some sounds are ... not fitting to say the least

(But most sounds are good)

Done in #526


new complementary tool

I want to offer a new point of view, and my colaboraty
Why this stock prediction project ?
Things this project offers that I did not find in other free projects, are:

Testing with +-30 models. Multiple combinations features and multiple selections of models (TensorFlow , XGBoost and Sklearn )
Threshold and quality models evaluation
Use 1k technical indicators
Method of best features selection (technical indicators)
Categorical target (do buy, do sell and do nothing) simple and dynamic,  instead of continuous target variable
Powerful open-market-real-time evaluation system
Versatile integration with: Twitter, Telegram and Mail
Train Machine Learning model with Fresh today stock data

https://github.com/Leci37/stocks-prediction-Machine-learning-RealTime-telegram/tree/develop

@Leci37 good point !
thanks, Timothy, for your time and efforts @timothyyu


extension not usable when video has DRM

I encounter more and more videos which are copy protected by DRM .. so this extension does not work to save such videos .. i find no method to save such videos .. DRM seems "unbreakable" .. but how ?  Such video IS played in my browser, so why is it impossible to capture it ?  The bits are coming into my PC !?  The only method i can think of is to capture such video by a screencast .. BTW. i use Linux Ubuntu 18.04.

use httpdebugger and find hls string. then put string into ffmpeg

Can you please share a link?

@puemos  all videos on https://www.npostart.nl (Dutch) nowadays are DRM protected i think .. these are good examples.

I'll see what is possible, thanks!


examples/audiopannding: Suspicious clicking noise

This can be detected when the volume is big.

Duplicated with #1458?

Duplicated with #1458?

Now this cannot be confirmed...?


Properly infer tuple patterns when encountering ellipsis

We basically just split the subpatterns into two halves when the ellipsis is present and then offset the latter half to account for the ignored bindings.
Fixes #6616

bors r+


Add button 'Copy SVG to clipboard'

It would be useful to copy the generated SVG to the clipboard instead of saving it, because pasting the SVG into the target program is much quicker...
This could be useful: https://stackoverflow.com/questions/400212/how-do-i-copy-to-the-clipboard-in-javascript

I also figured out, that the order of the attributes is important in function 'resetSVG()':
Old:       mainpath.setAttributeNS(null, "style", "stroke-width: 2px; fill: none; stroke: " + (config.Inverted?"white":"black"))
New:     mainpath.setAttributeNS(null, "style", "stroke:" + (config.Inverted?"white":"black")+";stroke-width:0.2mm;fill:none;")

Otherwise I get '2px' as color name - strange. Some how a bug inside c# XElement.
My working code for copy to clipboard looks like this:
    function copytoclipboard(){
        const svgString = '<?xml version="1.0" standalone="no"?>\r\n'	//<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">\r\n'
        + (new XMLSerializer()).serializeToString(svg);

        navigator.clipboard.writeText(svgString);
    }

Sure, I could add this.
It's suspicious if the style depends on the order. They're separate properties so I wouldn't have thought it would matter - unlike, for instance, CSS border, which is a shorthand for a bunch of border properties, so it's conceivable that setting a new border could overwrite an earlier, more specific border-color. But SVG stroke and stroke-width are separate.
What are you pasting the SVGs into?

Yes it is really wired, I assume it depends on C# XElement, because i can't find a problem in my code ;-)
I paste SVGs to my https://github.com/svenhb/GRBL-Plotter