Dracula preset

Idea
I have created a Dracula preset. I'm wondering if you are interested in adding it as a built-in preset.
Some changes were also added to the custom.css file.
#today-queries > div.lazy-visibility { border-radius: 4px; background: #323341; counter-reset: list-number;}
#today-queries > div.lazy-visibility div.fade-enter > div.ls-block { background: #44475a; margin: 10px; border-radius: 4px; padding-left: 30px; }
#today-queries > div.lazy-visibility div.fade-enter > div.ls-block:before {counter-increment: list-number; content: counter(list-number); margin-left: 10px; color: #6272a4; position: absolute; left: 0px;}
div.admonitionblock.important {border: 1px solid #bf525b; border-radius: 4px; padding: 10px; background: #332936; margin: 4px; }
div.admonitionblock.important .admonition-icon { border-right-color: #bf525b; }
div.admonitionblock.caution {border: 1px solid #df951d; border-radius: 4px; padding: 10px; background: #363029; margin: 4px; }
div.admonitionblock.caution .admonition-icon { border-right-color: #df951d; }
div.admonitionblock.warning {border: 1px solid #df951d; border-radius: 4px; padding: 10px; background: #363029; margin: 4px; }
div.admonitionblock.warning .admonition-icon { border-right-color: #df951d; }
div.admonitionblock.tip {border: 1px solid #4e82cd; border-radius: 4px; padding: 10px; background: #292f36; margin: 4px; }
div.admonitionblock.tip .admonition-icon { border-right-color: #4e82cd; }
div.admonitionblock.note {border: 1px solid #4e82cd; border-radius: 4px; padding: 10px; background: #292f36; margin: 4px; }
div.admonitionblock.note .admonition-icon { border-right-color: #4e82cd; }
div.admonitionblock.pinned {border: 1px solid #bf525b; border-radius: 4px; padding: 10px; background: #363029; margin: 4px; }
div.admonitionblock.pinned .admonition-icon { border-right-color: #bf525b; }
.ls-wide-mode .cp__sidebar-main-content>div {margin-left: 20px; margin-right: 20px; margin-top: 20px;}

Screenshots

nice... need to think... i've started to port Dracula twice ))
do you have a light version too? )

I'm not aware of a light version of Dracula :)
Found this though, it could be the one: https://marketplace.visualstudio.com/items?itemName=ashrafhadden.dracula-dot-min

I have created a light version, also did some changes on the dark one:

custom.css:
#today-queries > div.lazy-visibility { border-radius: 4px; counter-reset: list-number;}
#today-queries div.custom-query {background: var(--ls-block-properties-background-color);}
#today-queries > div.lazy-visibility div.fade-enter > div.ls-block { background: var(--awSt-ui-body-bg-user); margin: 10px; border-radius: 4px; padding-left: 30px; }
#today-queries > div.lazy-visibility div.fade-enter > div.ls-block:before {counter-increment: list-number; content: counter(list-number); margin-left: 10px; color: #6272a4; position: absolute; left: 0px;}
#today-queries>.lazy-visibility+.lazy-visibility {margin-left: 0px;}
div.admonitionblock.important {border: 1px solid #bf525b; border-radius: 4px; padding: 10px;  margin: 4px; }
div.admonitionblock.important .admonition-icon { border-right-color: #bf525b; }
div.admonitionblock.caution {border: 1px solid #df951d; border-radius: 4px; padding: 10px; margin: 4px; }
div.admonitionblock.caution .admonition-icon { border-right-color: #df951d; }
div.admonitionblock.warning {border: 1px solid #df951d; border-radius: 4px; padding: 10px; margin: 4px; }
div.admonitionblock.warning .admonition-icon { border-right-color: #df951d; }
div.admonitionblock.tip {border: 1px solid #4e82cd; border-radius: 4px; padding: 10px; margin: 4px; }
div.admonitionblock.tip .admonition-icon { border-right-color: #4e82cd; }
div.admonitionblock.note {border: 1px solid #4e82cd; border-radius: 4px; padding: 10px; margin: 4px; }
div.admonitionblock.note .admonition-icon { border-right-color: #4e82cd; }
div.admonitionblock.pinned {border: 1px solid #bf525b; border-radius: 4px; padding: 10px; margin: 4px; }
div.admonitionblock.pinned .admonition-icon { border-right-color: #bf525b; }

wow! niceeee! 🤗
BTW, will it work without custom.css? i'm trying to not add any "this one particular color preset" CSS...
for ex Bear was tottaly different, but i got rid of it's "additional recoloring"

official position about light mode 🤣🤣🤣🤣
https://draculatheme.com/contribute

can open settings.json file & post here as code content of presetCustom\2\3 (depending on your used "slot")
remind me of your Discord Logseq name, so i will mention you in announce
is it only mine  settings.json looks broken, too big and with deep levels presetLogseqDefault or are other users too? 🤔

My custom.css only enhances the admonitions and the custom queries. It looks okay without that. But please double check :)
I created the light theme based on this: https://github.com/ashmichael/Dracula.min/blob/master/colors-used-table.md

My settings.json contains 297 lines of code, I have no such issue.
My name on Discord is "szjani"
The preset from settings.json:
    "fontContentName": "OS System default",
    "fontContentSize": "16px",
    "fontUiSize": "13px",
    "colorLightTitleText": "#008504",
    "colorLightContentText": "#282A36",
    "colorLightContentTextBold": "#282A36",
    "colorLightContentTextItalic": "#282A36",
    "colorLightLink": "#855FBF",
    "colorLightLinkExt": "#007E90",
    "colorLightTag": "#A0651B",
    "colorLightUiPanelsBg": "#F7F7F7",
    "colorLightUiBodyBg": "#E1E1DB",
    "colorLightContentBg": "#F8F8F2",
    "colorLightContentPropsBg": "#EAEAE5",
    "colorLightContentAltBg": "#EAEAE5",
    "colorLightH1": "#c13f8e",
    "colorLightH2": "#c13f8e",
    "colorLightH3": "#c13f8e",
    "colorLightH4": "#c13f8e",
    "colorLightH5": "#c13f8e",
    "colorLightH6": "#c13f8e",
    "colorLightMarkBg": "#6C7908",
    "colorLightMarkText": "#F8F8F2",
    "colorLightQuoteBg": "#7E8EC2",
    "colorLightQuoteText": "#f8f8f2",
    "colorDarkTitleText": "#50fa7b",
    "colorDarkContentText": "#F8F8F2",
    "colorDarkContentTextBold": "#f8f8f2",
    "colorDarkContentTextItalic": "#f8f8f2",
    "colorDarkLink": "#BD93F9",
    "colorDarkLinkExt": "#8BE9FD",
    "colorDarkTag": "#FFB86C",
    "colorDarkH1": "#FF79C6",
    "colorDarkH2": "#FF79C6",
    "colorDarkH3": "#ff79c6",
    "colorDarkH4": "#ff79c6",
    "colorDarkH5": "#ff79c6",
    "colorDarkH6": "#ff79c6",
    "colorDarkUiPanelsBg": "#323341",
    "colorDarkUiBodyBg": "#44475A",
    "colorDarkContentBg": "#282A36",
    "colorDarkContentPropsBg": "#323341",
    "colorDarkContentAltBg": "#313341",
    "colorDarkMarkBg": "#f1fa8c",
    "colorDarkMarkText": "#44475A",
    "colorDarkQuoteBg": "#323341",
    "colorDarkQuoteText": "#F8F8F2",
    "backgroundURL": "lsp://logseq.io/logseq-awesome-styler/dist/img/bg.webp",
    "backgroundPadding": "0px 0px 0px 0px",
    "backgroundShadow": true,
    "bannersAsBackground": false,
    "bannersIconGlow": false,
    "contentMaxWidth": "870px",
    "contentWideMaxWidth": "100%",
    "colorLightInlineCodeText": "#282a36",
    "colorLightInlineCodeBg": "#F8F8F2",
    "colorDarkInlineCodeText": "#F8F8F2",
    "colorDarkInlineCodeBg": "#282a36",
    "backgroundURLLight": "",
    "backgroundURLDark": "",
    "presetMia_quattro": {
      "fontContentName": "Inter (Logseq default)"
    },
    "colorDarkUiLSidebarBg": "#282A36",
    "colorDarkUiRSidebarBg": "#282A36",
    "colorDarkUiLSidebarBgAccent": "#BD93F9",
    "fontUiName": "OS System default",
    "colorLightTagText": "#F7F7F1",
    "colorLightUiRSidebarBg": "#F8F8F2",
    "colorLightUiLSidebarBg": "#F8F8F2",
    "colorLightUiLSidebarBgAccent": "#855FBF",
    "colorDarkTagText": "#282A36",
    "colorLightUiLSidebarText": "#282A36"

oh, this one. it's shoudn't be such and there

can't find "colorDarkUiLSidebarText" ((

updated a little... few dimmed colors

With these changes it is not Dracula anymore

let's discuss...
i've changed:

title - from green to magenta as other headers,
text- little darker, code too contrast
disabled bg around content, cose nobody likes it
set sidebar bg gray (from darcula pelette)

which one? sidebar?

sidebars https://draculatheme.com/roam-research

title: I can distinguish days faster on the Journals screen if the title is green. But this is subjective.
text: The Dracula theme defines it to be #f8f8f2.
ext links: The Dracula theme lists light blue as #8be9fd
disabled bg around content: I have just updated the plugins, now I even lost the ability to have separate background. Why? I love that.
sidebar: The Dracula theme does not list that color, but it's fine.
Overall, I tried to use the Dracula colors as much as possible, see text and ext links. Using a different color from the Dracula palette in certain cases (like links, title) might even improve the theme, but using just a slightly different color makes your theme Dracula-ish.


Logged in state does not persist over reload

After logging in, the "Mein Account" subpage shows the message "Hallo, ".
However, when the page is reloaded, the subpage will show the login prompt again (even though the user is actually logged in).


Cache getting site for hostname

This query is run for every single page load. It runs fairly quickly, but avoiding it entirely is much nicer.
This caches sites based on hostname and port. Due to caching API limitations, it requires caching a dict, and manually updating that as necessary (there are race conditions, but the race will result in 1 extra cache miss, so the impact is small).
Please check the following:

[x] Do the tests still pass?[^1]
[x] Does the code comply with the style guide?

[x] Run make lint from the Wagtail root.

[x] For Python changes: Have you added tests to cover the new/fixed behaviour?

Please describe additional details for testing this change.
[^1]: Development Testing
[^2]: Browser and device support
[^3]: Accessibility Target

Discussed at https://github.com/wagtail/wagtail/discussions/9701

the changes touching this context should purge the cached units

It should, and does: https://github.com/wagtail/wagtail/pull/8937/files#diff-9e2fc90f09e08c4af86e25111803a306e91d17f5ad97333b51a2f2805226af2aR14

@allcaps - just seeing if you might be keen on reviewing this one


[Unity] Allow eliminating only call nodes in CSE pass

The CSE pass eliminates expressions very eagerly. This can result in an undesirable result, for example relax.arange(...) op  which requires all of its inputs to be PrimValue complains when its inputs are CSE variables.
https://github.com/apache/tvm/blob/unity/src/relax/op/tensor/create.cc#L248-L253
  File "/Users/masa/projects/dev/tvm/src/relax/ir/block_builder.cc", line 138
TVMError: Arange expects the `start` to be a PrimValue, but got relax.expr.DataflowVar

That error can be easily fixed, but I've also hit similar issues with other ops like strided_slice as well. Since I only need common CallNodes to be eliminated, I'm adding an option to avoid the default fine-grained elimination.
cc @slyubomirsky @sunggg

The proposed changes are implemented correctly and I don't object to them per se. But I wonder if this is the right solution. Perhaps we should exclude PrimValues from CSE in general instead? There isn't really a good reason to CSE them in the first place. Maybe there are other types of expressions we shouldn't CSE either.


ran babel-upgrade to keep up with beta

We had a stackathon student run into deprecation warnings for the stage-* babel presets.
Looks like those preset bundles are on the way out in favor of explicit opt-in.
I ran the codemod from babel: https://github.com/babel/babel-upgrade
And this is the result.

Closes #126

I am ambivalent re: the other package updates.
In theory they are all minor upgrades, but that's no guarantee.
Our micro test-suite passes... so do we feel good about that?
( This is a potential argument a blessed grace-shopper solution with tests that can stand as a QA tool for boilermaker upgrades. )

I feel similarly. Just wanted to bring it up as a sanity check.


Template enforcer server configs

Purpose

Describe the problems, issues, or needs driving this feature/fix and include links to related issues in the following format: Resolves issue1, issue2, etc.

Goals

Describe the solutions that this feature/fix will introduce to resolve the problems described above

Approach

Describe how you are implementing the solutions. Include an animated GIF or screenshot if the change affects the UI (email<EMAIL_ADDRESS>to review all UI text). Include a link to a Markdown file or Google doc if the feature write-up is too long to paste here.

User stories

Summary of user stories addressed by this change>

Release note

Brief description of the new feature or bug fix as it will appear in the release notes

Documentation

Link(s) to product documentation that addresses the changes of this PR. If no doc impact, enter “N/A” plus brief explanation of why there’s no doc impact

Training

Link to the PR for changes to the training content in https://github.com/wso2/WSO2-Training, if applicable

Certification

Type “Sent” when you have provided new/updated certification questions, plus four answers for each question (correct answer highlighted in bold), based on this change. Certification questions/answers should be sent to<EMAIL_ADDRESS>and NOT pasted in this PR. If there is no impact on certification exams, type “N/A” and explain why.

Marketing

Link to drafts of marketing content that will describe and promote this feature, including product page changes, technical articles, blog posts, videos, etc., if applicable

Automation tests

Unit tests

Code coverage information

Integration tests

Details about the test cases and coverage

Security checks

Followed secure coding standards in http://wso2.com/technical-reports/wso2-secure-engineering-guidelines? yes/no
Ran FindSecurityBugs plugin and verified report? yes/no
Confirmed that this PR doesn't commit any keys, passwords, tokens, usernames, or other secrets? yes/no

Samples

Provide high-level details about the samples related to this feature

Related PRs

List any other related PRs

Migrations (if applicable)

Describe migration steps and platforms on which migration has been tested

Test environment

List all JDK versions, operating systems, databases, and browser/versions on which this feature/fix was tested

Learning

Describe the research phase and any blog posts, patterns, libraries, or add-ons you used to solve the problem.

Codecov Report
Patch coverage has no change and project coverage change: +56.72% :tada:

Comparison is base (59534db) 23.38% compared to head (a062785) 80.10%.
Report is 1 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #1663       +/-   ##
===========================================
+ Coverage   23.38%   80.10%   +56.72%
===========================================
  Files         146        9      -137
  Lines       16530      548    -15982
  Branches     2544      246     -2298
===========================================
- Hits         3866      439     -3427
+ Misses      12533      109    -12424
+ Partials      131        0      -131

Flag
Coverage Δ

common-controller
?

idp-domain-service
80.10% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.
see 155 files with indirect coverage changes

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


Transaltion --> Translation

There is one instance of the word translation spelled as transaltion on this page.

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

ID: 645a2b61-25b4-897e-2653-af01487b5c35
Version Independent ID: c4b7cb6c-8e38-ade5-7eaf-aacc705abcb8
Content: What is Document Translation? - Azure AI services
Content Source: articles/ai-services/translator/document-translation/overview.md
Service: cognitive-services
Sub-service: translator-text
GitHub Login: @laujan
Microsoft Alias: lajanuar

Thank you @PatTelford!

@PatTelford
Thanks for reporting this! We have created a PR for this issue and the changes should go live soon.


Raspiblitz Connection to Bisq Dies Ever Few Seconds

The Bisq connection to Raspiblitz over tor dies every few seconds.
https://pastebin.com/1ssqHapd

My bad. I had set maxuploadtarget to a lower number.
It is now connecting OK. Please close this issue


Add Ukrainian Language

Add Ukrainian Language

Coverage remained the same at 94.597% when pulling 9025cbe82a4df9d2c8cbeff071a53965dbf1580f on shadoll:master into 38dbd246a4dff652f117e83f34d383cc1e6358de on MarshallOfSound:master.


Item 8417: Support for changing lineColor in trendline plots

Rationale
Support to add a new property in trend line graphs to provide the line color.
Related Pull Requests

https://github.com/LabKey/targetedms/pull/343

Changes

new lineColor prop in LABKEY.vis.TrendingLinePlotType

Looks good to me.
@labkey-nicka this is still managed here, not in the JS API repo, correct?

Yes, the vis package plot.js code is still in the visualization module and not in the JS API rep.


Move scripts to litex-conda-ci submodule

This PR:

Moves all scripts to litex-conda-ci
Updates all paths in README
This PR should not be merged before https://github.com/litex-hub/litex-conda-ci/pull/1 , and bumping litex-conda-ci submodule.

Does this need me to reviw?

Yes please. In general this should be the same as PR in other litex-conda-*. This will be ready to merge after https://github.com/litex-hub/litex-conda-ci/pull/3 is merged.


Replace to_lowercase with to_string in sql example

Which issue does this PR close?

Closes #.
Rationale for this change

Complete todo item in sql example.
What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

Thank you @lewiszlw  and @comphead


add option to draw the grid RTL

it would be very good to add an option to fill the grid from right to left
i.e. position (0, 0) be the top-right point of grid
thanks for the great project

+1

+1


MRTK3 VR interactions without using XRTK

Describe the problem
Currently, there is nothing on MRTK3 teleportation system. How can we add teleportation using MRTK3 without using XRTK.
Same problem with socket interactor (to join or drop objects in specific location).
Describe the solution you'd like
Can we achieve basic physical interactions like teleporting, joining, grabbing etc. without using XRTK?
Additional context
If the features are there in MRTK3, where we can find its documentation?
Thanks.

To clarify here, by "XRTK" are you referring to Unity's XR Interaction Toolkit?
If so, we've been using XR Interaction Toolkit (we tend to refer to it as XRI) for the things it supports, like teleportation and any existing interactors. I'd refer to Unity's docs for those features, like https://learn.unity.com/tutorial/locomotion-and-teleportation-in-the-xr-interaction-toolkit.
Are you finding gaps in their support? We've been working to make MRTK3 as interoperable and compatible as possible with the rest of Unity's XR Interaction Toolkit without reinventing the things they already do, so please flag anything we've missed!

Ah okay thanks for the answer. I got it.


Can't run on a Java project

I tried to run the tool on a Java project and, unfortunately, the AST generation fails with
$ genese cpx -l java ./src
Welcome to @genese cli
✖ AST generation
/home/skytreader/.nvm/versions/node/v16.7.0/lib/node_modules/@genese/complexity/node_modules/@genese/core/dist/index.js:2
export * from './utils/primitives/arrays.util';
^^^^^^

SyntaxError: Unexpected token 'export'
    at Object.compileFunction (node:vm:352:18)
    at wrapSafe (node:internal/modules/cjs/loader:1031:15)
    at Module._compile (node:internal/modules/cjs/loader:1065:27)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
    at require (node:internal/modules/cjs/helpers:94:18)
    at Object.<anonymous> (/home/cestioco/.nvm/versions/node/v16.7.0/lib/node_modules/@genese/complexity/dist/src/languages-to-json-ast/java/cstToAstCases/primary.js:5:16)
    at Module._compile (node:internal/modules/cjs/loader:1101:14)

I tried to add "type": "module" in<EMAIL_ADDRESS>as suggested here but to no avail. I also tried to install and run it with node v12.22.12 with pretty much the same result.
How can I run this on a Java project? Works fantastic for Typescript, btw. :)

Hello,
Thanks for your interest in @genese/complexity. Could you copy here the entire code of your file ? Or, better, could you copy a link to your project, if you have it on GitHub ? It may have some problems when you use @genese/complexity with -l java with folders containing Js or Ts files
Thanks !

Sure. I was actually running it on Enterprise Fizzbuzz.
Context: I'm aware Enterprise Fizzbuzz is a joke but my use case is anything but :). I was actually in the process of writing you a longer inquiry and I was trying to use this repo as an example when I bumped into the bug described above.

There was a bug driven by an old dependency.
Your problem should now be solved with the version 1.1.29 of @genese/complexity
npm i -g @genese/complexity

Works perfect now, thank you. :tada:


Cannot finalize a resource created by the old version of Metacontroller

I upgraded Metacontroller from https://github.com/GoogleCloudPlatform/metacontroller to the recent version - v1.5.6 and I noticed problems with finalizing resources that were created with the old version of Metacontroller.
I looked closer at one of the resources that failed to delete and noticed that the new version expects a slightly different finalized string - metacontroller.io/* instead of metacontroller.app/*
finalizers:
 - metacontroller.app/compositecontroller-ecr-repository-e2e-operator
 - metacontroller.io/compositecontroller-ecr-repository-e2e-operator

It looks like it's related to the refactoring that occurred in this commit: https://github.com/metacontroller/metacontroller/commit/899b843e544ef3793e2c223832077423a6680437

hi @janaz this is true. I will update documentation. In general similar thing needs to be done - https://github.com/AmitKumarDas/metac#differences-from-metacontroller
so sth like
kubectl get <comma separated list of your resource types here> --no-headers --all-namespaces | awk '{print $2 " -n " $1}' | xargs -L1 -P 50 -r kubectl patch -p '{"metadata":{"finalizers": [null]}}' --type=merge

https://kubernetes.slack.com/archives/CA0SUPUDP/p1570787333031800

https://github.com/metacontroller/metacontroller/pull/256


may you clarify what is difference between pyod and TODS

it is written
For time-series outlier detection, please use TODS. For graph outlier detection, please use PyGOD.
PyOD is the most comprehensive and scalable Python library for detecting outlying objects in multivariate data
may you clarify what is difference between pyod and TODS

thanks


Profile: Hide sheltered immersion from program

Who is this PR for?
Bedford educators
What problem does this PR fix?
The program_assigned field contains a mix of different information across districts.  The profile page now uses it to tell information about special education placement, and so for Somerville we hide values here about sheltered language immersion.  The values for this are different in Bedford.
Also, before shipping https://github.com/studentinsights/studentinsights/pull/2217, for students in Bedford where "N/A" was exported as the sped_liaison, this would incorrectly suggest there was an IEP with more info because it appeared as if there was a SPED liaison.
What does this PR do?
Hides the value for Bedford.  Also doesn't consider sped_liaison when deciding whether to show IEP link.  If that's all there is, it's likely a data quality bug upstream.
Checklists
Which features or pages does this PR touch?

[x] Student Profile
[x] Included specs for changes

selfie


fix StablehloConvertToSignless linkage

StablehloPasses needs to link StablehloLinalgTransforms since StablehloConvertToSignless needs RemoveSignTypeConverter from linalg/transforms/TypeConversion

Thanks a lot for your contribution!
Can you please tell us bit  more about your setup where the linker fails?
The change SGTM.
Can you please add the similar dependency linalg_passes   to BUILD.bazel file here

Thanks a lot for your contribution! Can you please tell us bit more about your setup where the linker fails?

I am trying to upgrade LLVM in onnx-mlir, where I found the linkage error here:
[ 80%] Linking CXX shared library ../../../../Release/lib/libStablehloPasses.so
CMakeFiles/obj.StablehloPasses.dir/StablehloConvertToSignless.cpp.o: In function `mlir::stablehlo::(anonymous namespace)::StablehloConvertToSignlessPass::runOnOperation()':
StablehloConvertToSignless.cpp:(.text._ZN4mlir9stablehlo12_GLOBAL__N_130StablehloConvertToSignlessPass14runOnOperationEv+0x118): undefined reference to `mlir::stablehlo::RemoveSignTypeConverter::RemoveSignTypeConverter()'
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [third_party/stablehlo/stablehlo/transforms/CMakeFiles/StablehloPasses.dir/build.make:183: Release/lib/libStablehloPasses.so.19.0git] Error 1
make[1]: *** [CMakeFiles/Makefile2:8699: third_party/stablehlo/stablehlo/transforms/CMakeFiles/StablehloPasses.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

The change SGTM. Can you please add the similar dependency linalg_passes to BUILD.bazel file

It is already added there, though it is missing in the CMake file.

@sdasgup3 Can you trigger the CI workflows please?


Bootstrap modal working incorrectly with bootcards

Modal does not work properly when using bootstrap 3.3.2 with bootcards,this plunkr uses 3.3.2 to show a modal.The result looks like this.However it works perfectly when loaded with bootstrap 3.2.0 here
I do not know if this is a bootstrap issue or an issue with the bootcards plugin.

Hi @vamsiampolu!
You appear to have posted a live example (http://run.plnkr.co/plunks/icoOyW5gcxQVX0D0vsBE/), which is always a good first step. However, according to Bootlint, your example has some Bootstrap usage errors, which might potentially be causing your issue:

line 25, column 13: E032: .modal-body must be a child of .modal-content
line 25, column 13: E032: .modal-footer must be a child of .modal-content
W001: <head> is missing UTF-8 charset <meta> tag
W002: <head> is missing X-UA-Compatible <meta> tag that disables old IE compatibility modes
W003: <head> is missing viewport <meta> tag that enables responsiveness
line 5, column 5: W013: Bootstrap version might be outdated. Latest version is at least 3.3.1 ; saw what appears to be usage of Bootstrap 3.2.0
line 8, column 5: W013: Bootstrap version might be outdated. Latest version is at least 3.3.1 ; saw what appears to be usage of Bootstrap 3.2.0

You'll need to fix these errors and post a revised example before we can proceed further.
Thanks!
(Please note that this is a fully automated comment.)

Hi @vamsiampolu!
You appear to have posted a live example (http://run.plnkr.co/plunks/OsUiWKFGEqR5rJTjpl9E/), which is always a good first step. However, according to Bootlint, your example has some Bootstrap usage errors, which might potentially be causing your issue:

line 25, column 13: E032: .modal-body must be a child of .modal-content
line 25, column 13: E032: .modal-footer must be a child of .modal-content
W001: <head> is missing UTF-8 charset <meta> tag
W002: <head> is missing X-UA-Compatible <meta> tag that disables old IE compatibility modes
W003: <head> is missing viewport <meta> tag that enables responsiveness

You'll need to fix these errors and post a revised example before we can proceed further.
Thanks!
(Please note that this is a fully automated comment.)

We can't help you with issues involving third-party plugins.
Please file an issue with https://github.com/bootcards/bootcards instead.

Also, see the above Bootlint errors that @twbs-lmvtfy has pointed out.


ZREM no working, Hi am trying to remove my set form  User Key, but it's not deleting. Returning 0 every time.

This is the syntax am writing.
client.zrem("u:9980a8a7-dae8-4ac1-8a8d-5c002132e3dc", "65MEL5eSLQjOKea0ao1wQX:",);

Likely the member does not exist and therefore 0 is returned in the (here missing?) callback. This does definitely work in node_redis.


feature: Add a new  component. (Do not merge yet)

What is this.

This component simplifies writing text using shadcn-ui and TailwindCSS.
Although there is an existing Typography example, it makes the code look messy due to its length when used.
So, I created a Text component to manage text throughout the project.
For more information.
I’ve uploaded the component to a public repository. Feel free to check it out!
-> Repository
In conclusion.
Additional work is still needed, such as a user guide, installation, etc. Once merged, I will work on it further to fit shadcn-ui and submit an additional pull request so that it can be used right away.

The contribution guide mentions that when requesting to create a new component, a Discussion should be opened, so I submitted the PR based on that.
I’ll create an issue first, discuss it, and then submit the PR again later!


Fill in missing gaps in metric reporting for agent api jobs

Previously the jobs launched with the agent weren't being considered in various metrics
This PR also improves the queries used for some metric generation and hopefully the performance of the system by caching aggregate data for health and metric reporting and periodically updating it

Coverage decreased (-0.06%) to 92.387% when pulling 41bfe9073c7f08f9393926b541e7fa947579ed1f on tgianos:GENIE-608 into 0d51fac3bc72adf536a17027b2aed83d2c332132 on Netflix:master.


Certificate verify failed (_ssl.c:590)

Using every version of yt-dl released in the past 3 weeks, any link. What gives?
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'https://www.youtube.com/watch?v=_64g0z-o5BI']
[debug] Encodings: locale cp1250, fs mbcs, out None, pref cp1250
[debug] youtube-dl version 2015.11.02
[debug] Python version 2.7.10 - Windows-8-6.2.9200
[debug] exe versions: ffmpeg N-71839-g6197672
[debug] Proxy map: {}
ERROR: Unable to download webpage: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)> (caused by URLError(SSLError(1, u'[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)'),))
File "youtube_dl\extractor\common.pyo", line 329, in _request_webpage
File "youtube_dl\YoutubeDL.pyo", line 1873, in urlopen
File "urllib2.pyo", line 431, in open
File "urllib2.pyo", line 449, in _open
File "urllib2.pyo", line 409, in _call_chain
File "youtube_dl\utils.pyo", line 794, in https_open
File "urllib2.pyo", line 1197, in do_open

Duplicate of #7309


Open links in new tab!

• Opening Facebook profile link logs user out
• Opening typeform link changes page & logs user out

Use My Link. See https://www.jitbit.com/alexblog/256-targetblank---the-most-underestimated-vulnerability-ever/


Fix wrong screenshot in linking-a-pull-request-to-an-issue.md

Why:
linking-a-pull-request-to-an-issue.md shows the same screenshot for linking an issue to a pull-request for linking from the issue page and from the pull-request page. The current screenshot is from the issue page
What's being changed (if available, include any code snippets, screenshots, or gifs):
Added a screenshot from the pull-request page and updated links accordingly
Check off the following:

[x] I have reviewed my changes in staging, available via the View deployment link in this PR's timeline (this link will be available after opening the PR).

For content changes, you will also see an automatically generated comment with links directly to pages you've modified. The comment won't appear if your PR only edits files in the data directory.

[x] For content changes, I have completed the self-review checklist.

@jenshb Thanks so much for opening a PR! I'll get this triaged for review ✨


New header in responsive mobile portrait/landscape

New headers should be implemented in mobile versions to better the usability for our users.
Landscape related issues: #401 #405

The header should disappear when scrolling down: https://zpl.io/VOkXen1
Designs (portrait): https://app.zeplin.io/project/5a8e8992554d385c76ad5aeb/dashboard?seid=5b1fd0955639ebad77152b5f
Designs (lanscape): https://app.zeplin.io/project/5a8e8992554d385c76ad5aeb/dashboard?seid=5b1fd052e02db4652256c1da

@edgarordonez this will also close https://github.com/kiwicom/smart-faq/issues/338, correct?

Probably yes @kantord, in fact with the new header should load the FAQ before, and the user can press the options to see the information that is showing the Header currently. So, if I understood correctly, I guess that it will close #338.

@edgarordonez Will you work on this in the near future? If no, can you unassign?

Design review:
The header should disappear or be just static when you scroll through the FAQ. https://zpl.io/VOkXen1
After clicking trip it should expand everything, not only the trip heading.

Arrow to go back is in the header only when you are in an article, not when you are in a category.

:heavy_check_mark: Back button fixed

:heavy_check_mark: booking detail expansion fixed

:heavy_check_mark: scroll-hide issue fixed

I found a few things:
The first one is about scrolling, when I am on an upcoming trip I cannot scroll down. For better understanding, I will send you @kantord video in DM.
The second thing is about correct centralization of "manage my booking" and "select other.." on the landscape version.
Demo v.

Prototype v.

Another thing is about the magnifier: When I click on the magnifier and go on an upcoming trip. The magnifier is still present. Is IT ok?

The last issue is about Opera mini. There is a problem with login. I will send you a video. :)
Thanks

Another thing is about the magnifier: When I click on the magnifier and go on an upcoming trip. The magnifier is still present. Is IT ok?

I cannot reproduce this.

@kantord This last thing was fixed in https://github.com/kiwicom/smart-faq/pull/575

Cool, that's why I cannot reproduce it then :-)

after https://github.com/kiwicom/smart-faq/pull/600, landscape design should be ok, check it again pls

I think we cannot close this yet because of the scroll issue :(
The opera mini issue is probably not related to this issue however.

The scroll issue is relatively still persistent. When I go to "select another trip" I cannot scroll down. I will send you video :)
I go to "select another trip" and how can I go back from this page? When I clicked on magnifier, it nothing happened.
The last thing, when I typed into the search box and scroll down, It looks like this:

Thank you @jalbertsr @kantord

Thanks @MagdalenaAlmanova for reporting these issues

I am creating new issues for the rest. @MagdalenaAlmanova @jalbertsr do you agree with moving this card to done and solving the remaining problems as separate issues?


Bump Language Server Protocol Version to 3.15

Description:
Currently we use version 3.14 and we need to migrate to the currently available latest version, 3.15.

LSP version bumped to 3.16. Hence closing the issue.


fix: Make hooks bash 3.2 compatible

Put an x into the box if that apply:

[ ] This PR introduces breaking change.
[x] This PR fixes a bug.
[ ] This PR adds new functionality.
[ ] This PR enhances existing functionality.

Description of your changes
In new versions, macOS use zsh by default and include bash 3.2 for compatibility reasons.
That OS will never upgrade bash to 4+, during license issues.
theverge.com/2019/6/4/18651872/apple-macos-catalina-zsh-bash-shell-replacement-features
So looks like we need to maintain compatibility with bash 3.2 🙄
Or require bash 4.2+ as deps.
Fixes #337
How can we test changes
Run on macOS:
repos:
- repo: https://github.com/antonbabenko/pre-commit-terraform
  rev: 48bc03ca3f0f2f782d2f430069868019a6892062
  hooks:
    - id: terraform_fmt

@yermulnik I agree that toil is bad here but I am also not sure how hard it is for users to install Bash 4+ on various systems where pre-commit is executed.

@antonbabenko From my knowledge it's either very old and outdated version of existing distros, or MacOS only. The latter has at least four more or less easy and more or less user friendly and/or widely used ways to upgrade to a modern version of Bash.
I also would like to mention there's OSes where Bash is not installed by default either. Should we support these OSes as well relying only on fully POSIX-compatible shell features?
If we'd support outdated version of Bash for only one "brand" of OS, someone may also ask us to provide support for e.g. non-Bash shells (there are a plenty of and zsh and fish are only a few of them which are widely used) or for embedded systems where the base system misses a lot of OS or shell tools and features.

Also those systems which lack modern Bash (and any other tool used by pre-commit and pre-commit-terraform to bring the best UX and functionality) should probably consider looking into using pre-commit-terraform as Docker container — it seems the only sensible meaning for maintaining this Docker image, eh?

Also those systems which lack modern Bash (and any other tool used by pre-commit and pre-commit-terraform to bring the best UX and functionality) should probably consider looking into using pre-commit-terraform as Docker container — it seems the only sensible meaning for maintaining this Docker image, eh?

@yermulnik That isn't going to scale well in organizations where not everyone has Docker installed.
I understand the sentiment not wanting to have to support old versions of bash. However, this should be introduced as a breaking change. We have hundreds of projects using these hooks and to all of the sudden now require them to install an updated version of bash (and hope they got it right) is a big burden.

@pshamus
(apologies for long-read)

We have hundreds of projects using these hooks and to all of the sudden now require them to install an updated version of bash

It is not about the number of projects, but about the number of engineers.
If you have hundreds engineers who work with at least one repository with pre-commit enabled and who use company-managed macos-based laptops, you may want to leverage packaging automation and mass-installing (e.g. https://github.com/scriptingosx/GNU-bash-mac-installer).
If this is about a dozen of engineers working with hundreds of projects, they most probably already use Homebrew or MacPorts. Or at least they may be interested to start using it, as it's a one of the 1st things engineers would want on the freshly installed macos since macos ships with a plenty of quite old tools in base.
And yep, I fully agree such a change should have been announced in advance along with proper semantic versioning for changes with backward incompatibility.
As I already stated before, my personal opinion (I'm not founder or owner, I'm collaborator) is we either revisit this entire repo and convert it to become fully POSIX-compliant so that we rely upon /bin/sh on every single POSIX-compliant system (what to do with those which are not? 🤔), or we drop support for ancient versions (not old, but ancient) of required tools and continue developing this project and comply with modern toolset.
ps: one of the main reasons against bash3 support would be the need to maintain and test every single change and release with bash3 which is not impossible, but, you know, «That isn't going to scale well in organizations where not everyone has Docker installed» — I see  Docker as the only sensible approach to run bash3 w/o littering our workstations with ancient software and quirks to temporarily fool local environment about which bash version should come up via /usr/bin/env bash 😉

@antonbabenko  let's fix breaking changes introduced in v1.63 for some Mac users,  by merging that PR.
Got confirmation in #337 that the code works fine.
@yermulnik could you please check in a week, how much effort need to make code POSIX-compatible?
If it needs from us to rewrite too much stuff or make code unreadable, I suppose to officially break support for bash <4.2 in v2.0.0

@yermulnik could you please check in a week, how much effort need to make code POSIX-compatible?

Do we have any plans to switch to /bin/sh instead of relying on bash?
Otherwise it doesn't make any sense to even look into making in strictly POSIX-compatible/compliant.
What's needed to make code compatible with Bash v3 I (by a surprising coincident) already described in https://github.com/antonbabenko/pre-commit-terraform/issues/337#issuecomment-1048949146 today 😃

Do we have any plans to switch to /bin/sh instead of relying on bash?

If it is not too difficult - why not

Do we have any plans to switch to /bin/sh instead of relying on bash?

If it is not too difficult - why not

This may make sense, btw. Though we need to inspect our code and ensure it complies to POSIX standard and rip off any bashisms including those that belong to bash 3.
We can start with leveraging e.g. https://github.com/duggan/shlint (or any other alike tool) to test compatibility and (if possible) create GH action to run this tool on PRs/commits in container with most common /bin/sh implementations installed (zsh ksh bash dash sh).

This PR is included in version 1.64.1 :tada:


Is it possible to open two columns?

Is your feature request related to a problem? Please describe.
All examples show just one section off-canvas. For an app I need this navigation:
[ main ] | [ section1 ] | [ section 2]
Where section 1 and section 2 are off-canvas for main. Then an item in main (button/link) opens section 1, there section 2 is off-canvas for section 1, and an item in section 1 (button/link) opens section 2.
I'm not sure if something like this is supported.

Hi @ppazos,
this definitly possible - like gmaps Menu
can you try this.

   <button class="c-button js-offcanvas-trigger" data-offcanvas-trigger="off-canvas-left">Section 1</button>

Section 1

  <button class="js-offcanvas-trigger" data-offcanvas-trigger="off-canvas-left-inside">Open Section 2</button>
 <button class="js-offcanvas-close">Close</button>

Section 2

 <button class="js-offcanvas-close">Back</button>

@vmitsaras thanks, I'll try in on the weekend and get back.


Remove Unmaintained Themes

The following themes are unmaintained
Beg (was removed in #671 but then the commit was overwritten probably due to a forced push)
Gindoro (has an unresolved issue about its screenshot in the README since 2016)
Shiori (has an unresolved issue about its screenshot in the README since 2016)
EDIT
The second commit is about the following:
Remark-Twemoji has unresolved issues from years ago, also tested this theme locally and it renders blank for reasons unrelated to Hugo.
Remark-Minion same as above has unresolved issues from years ago and it also renders blank.
@digitalcraftsman once this is merged it would be useful if the themes were updated and the Netlify cache reset to update the site. Several themes have also been reported as fixed in #682
Thanks

I've reset the cache in Netlify. The build will be pending for a while due to the rebuilds triggered by the merged pull requests.


LWIP编译失败

             from ../../lwip/input.go:5:

../../lwip/src/include/lwip/arch.h:119: error: redefinition of typedef 'u8_t'
../../lwip/src/include/arch/cc_others.h:46: note: previous declaration of 'u8_t' was here
../../lwip/src/include/lwip/arch.h:120: error: redefinition of typedef 's8_t'
../../lwip/src/include/arch/cc_others.h:47: note: previous declaration of 's8_t' was here
../../lwip/src/include/lwip/arch.h:121: error: redefinition of typedef 'u16_t'
../../lwip/src/include/arch/cc_others.h:48: note: previous declaration of 'u16_t' was here
../../lwip/src/include/lwip/arch.h:122: error: redefinition of typedef 's16_t'
../../lwip/src/include/arch/cc_others.h:49: note: previous declaration of 's16_t' was here
../../lwip/src/include/lwip/arch.h:123: error: redefinition of typedef 'u32_t'
../../lwip/src/include/arch/cc_others.h:50: note: previous declaration of 'u32_t' was here
../../lwip/src/include/lwip/arch.h:124: error: redefinition of typedef 's32_t'
../../lwip/src/include/arch/cc_others.h:51: note: previous declaration of 's32_t' was here
能否提供个windows下的 makefile .谢谢

@50611 可以再试一下，我没在 Windows 上编译过，如果还不行可以用 xgo 来编译

Centos7环境下编译成功
[root@DC05R02DS25-03 go-tun2socks]# cd build/
[root@DC05R02DS25-03 build]# ls
tun2socks-darwin-10.6-amd64  tun2socks-linux-amd64  tun2socks-windows-4.0-amd64.exe
yun install docker -y
service docker start
docker pull karalabe/xgo-latest
go get github.com/karalabe/xgo
go get github.com/eycorsican/go-tun2socks
cd $GOPATH/src/github.com/eycorsican/go-tun2socks
xgo
make release

支持 UDP，你要有个支持 UDP 的服务器和正确设置 DNS，具体什么情况建议你抓包看看


Refactor Batch TypeSpec to be standardized

Data Plane API Specification Update Pull Request
This PR refactors the Azure Batch TypeSpec.
These changes are being made to:

better follow TypeSpec conventions
make the generated Azure REST API Specs documentation clearer/more readable.

The generated SDK for all languages should remain the same.
Also: Adds BatchNodeReimageContent (one of the models) back to the TypeSpec, as it was mistakenly removed earlier.
See discussion here: https://teams.microsoft.com/l/message/19:e3b3ac41192a4fd89bd510c6330e43c3@thread.skype/1717017491269?tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47&groupId=ee55ae6a-a467-4e2b-88d1-8dc7750ab15b&parentMessageId=1717017491269&teamName=Azure Batch&channelName=Resource Management&createdTime=1717017491269

[!TIP]
Overwhelmed by all this guidance? See the Getting help section at the bottom of this PR description.

PR review workflow diagram
Please understand this diagram before proceeding. It explains how to get your PR approved & merged.

API Info: The Basics
Most of the information about your service should be captured in the issue that serves as your API Spec engagement record.

Link to API Spec engagement record issue:

Is this review for (select one):

[ ] a private preview
[ ] a public preview
[ ] GA release

Change Scope
This section will help us focus on the specific parts of your API that are new or have been modified. Please share a link to the design document for the new APIs, a link to the previous API Spec document (if applicable), and the root paths that have been updated.

Design Document:
Previous API Spec Doc:
Updated paths:

Viewing API changes
For convenient view of the API changes made by this PR, refer to the URLs provided in the table
in the Generated ApiView comment added to this PR. You can use ApiView to show API versions diff.
Suppressing failures
If one or multiple validation error/warning suppression(s) is detected in your PR, please follow the
Swagger-Suppression-Process
to get approval.
❔Got questions? Need additional info?? We are here to help!

 Contact us!
The Azure API Review Board is dedicated to helping you create amazing APIs. You can read about our mission and learn more about our process on our wiki.

💬 Teams Channel
💌 email

Click here for links to tools, specs, guidelines & other good stuff
Tooling

Open API validation tools were run on this PR. Go here to see how to fix errors
Spectral Linting

Guidelines & Specifications

Azure REST API Guidelines
OpenAPI Style Guidelines
Azure Breaking Change Policy

Helpful Links

Schedule a data plane REST API spec review

Getting help

First, please carefully read through this PR description, from top to bottom.
If you don't have permissions to remove or add labels to the PR, request write access per aka.ms/azsdk/access#request-access-to-rest-api-or-sdk-repositories
To understand what you must do next to merge this PR, see the Next Steps to Merge comment. It will appear within few minutes of submitting this PR and will continue to be up-to-date with current PR state.
For guidance on fixing this PR CI check failures, see the hyperlinks provided in given failure
and https://aka.ms/ci-fix.
If the PR CI checks appear to be stuck in queued state, please add a comment with contents /azp run.
This should result in a new comment denoting a PR validation pipeline has started and the checks should be updated after few minutes.
If the help provided by the previous points is not enough, post to https://aka.ms/azsdk/support/specreview-channel and link to this PR.

/azp run

/azp run


[ MESON ] fix capi-nnstreamer dependency

remove capi-nnstreamer dependency
Self evaluation:

Build test:	 [X]Passed [ ]Failed [ ]Skipped
Run test:	 [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: jijoong.moon<EMAIL_ADDRESS>

:memo: TAOS-CI Version: 1.4.20191203. Thank you for submitting PR #931. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://nnsuite.mooo.com/.


[BUG] dbsize return wrong value

##################
redis
##################
<IP_ADDRESS>:6379> keys *

"a"
"tntchecker"
"b"
<IP_ADDRESS>:6379> dbsize    <========== keys count
(integer) 3
<IP_ADDRESS>:6379>  info keyspace
-# Keyspace
db0:keys=3,expires=0,avg_ttl=0    <======== keys=3

##################
kvrocks
##################
<IP_ADDRESS>:6666> keys *

"a"
"tntchecker"
"b"
<IP_ADDRESS>:6666> dbsize    <========== keys count
(integer) 0               <======= always return 0!!
<IP_ADDRESS>:6666>  info keyspace
-# Keyspace
-# Last scan db time: Thu Jan  1 00:00:00 1970
db0:keys=0,expires=0,avg_ttl=0,expired=0   <===== keys 0
sequence:38283437
used_db_size:603247462
max_db_size:0
used_percent: 0%
disk_capacity:322110992384
used_disk_size:161157144576
used_disk_percent: 50%

Thanks for your report, it's not a bug actually, the kvrocks key-values were stored in disk, and find out expired keys it's impossible unless we can scan it. So we MUST execute the dbsize scan command to async scan the DB for finding out the key number.

Thanks!
and Thank you for nice KVROCKS open source.

Also welcome you to join in improving kvrocks 😄


react_native_rsa_native/RNRSA.h' file not found

Library
npm install --save @open-native/core react-native-rsa-native

Error
In file included from /Volumes/Development/Work/.../node_modules/@open-native/core/platforms/ios/lib_community/RNPodspecs.m:1:
/Volumes/Development/Work/.../node_modules/@open-native/core/platforms/ios/lib_community/RNPodspecs.h:4:9: fatal error:
      'react_native_rsa_native/RNRSA.h' file not found
#import <react_native_rsa_native/RNRSA.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Development/Work/.../node_modules/@open-native/core/platforms/ios/lib_community/RNPodspecs.h:4:9: note: did not find header 'RNRSA.h' in
      framework 'react_native_rsa_native' (loaded from '/Volumes/Development/Work/.../platforms/ios/build/Debug-iphonesimulator/react-native-rsa-native')
1 error generated.

Same error after completing the following steps.
Version:

Ran:
npm install -D metro-react-native-babel-preset

Added to webpack:
...
    config.resolve.alias.set('react-native', '@open-native/core');
    config.module
      .rule('rnmodules')
      // Add each react-native module that gives errors in webpack build here
      // like this:
      .include.add(/node_modules(.*[/\\])+react-native-rsa-native/)
      .end()
      .use('babel-loader')
      .before('ts-loader')
      .loader('babel-loader')
      .options({
        babelrc: false,
        presets: ['module:metro-react-native-babel-preset'],
      });
...

Swift modules now work with open-native!

Now I'm getting
Undefined symbols for architecture x86_64:
  "_RCTRegisterModule", referenced from:
      _initialize_RNRSA in RNRSA-eb438ca2a311d56d55e8cd4fc3e062f5.o
      _initialize_RNRSAKeychain in RNRSAKeychain-d66bd83edb08798d1ece26e10d112b88.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I don't know if this is related or because I'm running M1 and something else is up. :)


Compiling a JSON schema -> Ruby fails when there are relative path $refs in the schema

https://www.shalerb.org/#compiling-json-and-xml-schema uses a simple example for generation that doesn't include $refs.  Given a file that uses a simple relative path ref that exists in the same directory, the shaleb -c -i user.json command fails with the following message:
/Library/Ruby/Gems/2.6.0/gems/shale-1.0.0/lib/shale/schema/json_compiler.rb:184:in `resolve_ref': can't resolve reference 'http://example.com/schemas/common.json#/definitions/address' (Shale::SchemaError)
	from /Library/Ruby/Gems/2.6.0/gems/shale-1.0.0/lib/shale/schema/json_compiler.rb:310:in `compile'
	from /Library/Ruby/Gems/2.6.0/gems/shale-1.0.0/lib/shale/schema/json_compiler.rb:336:in `block in compile'
	from /Library/Ruby/Gems/2.6.0/gems/shale-1.0.0/lib/shale/schema/json_compiler.rb:335:in `each'
	from /Library/Ruby/Gems/2.6.0/gems/shale-1.0.0/lib/shale/schema/json_compiler.rb:335:in `compile'
	from /Library/Ruby/Gems/2.6.0/gems/shale-1.0.0/lib/shale/schema/json_compiler.rb:89:in `as_models'
	from /Library/Ruby/Gems/2.6.0/gems/shale-1.0.0/lib/shale/schema/json_compiler.rb:124:in `to_models'
	from /Library/Ruby/Gems/2.6.0/gems/shale-1.0.0/lib/shale/schema.rb:51:in `from_json'
	from /Library/Ruby/Gems/2.6.0/gems/shale-1.0.0/exe/shaleb:88:in `<top (required)>'
	from /usr/local/bin/shaleb:23:in `load'
	from /usr/local/bin/shaleb:23:in `<main>'

cat user.json| jq
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "http://example.com/schemas/user.json",
  "type": "object",
  "properties": {
    "firstName": {
      "type": "string"
    },
    "lastName": {
      "type": "string"
    },
    "address": {
      "$ref": "./common.json#/definitions/address"
    }
  }
}

cat common.json| jq
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "http://example.com/schemas/common.json",
  "definitions": {
    "address": {
      "type": "object",
      "properties": {
        "street": {
          "type": "string"
        },
        "city": {
          "type": "string"
        }
      }
    }
  }
}

Hey Jon,
first thing is you are using Draft-07 JSON schema. Shale supports only Draft 2020-12.
Second thing is $refs in JSON schema are not paths, they are just identifiers used to resolve references. You have to provide all the schema files that you're using.
Taken from https://json-schema.org/understanding-json-schema/structuring.html#id

Even though schemas are identified by URIs, those identifiers are not necessarily network-addressable. They are just identifiers. Generally, implementations don’t make HTTP requests (https://) or read from the file system (file://) to fetch schemas. Instead, they provide a way to load schemas into an internal schema database. When a schema is referenced by it’s URI identifier, the schema is retrieved from the internal schema database.

So working example would look like this:
shaleb -c -i user.json,common.json

And schema files:
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "http://example.com/schemas/user.json",
  "type": "object",
  "properties": {
    "firstName": {
      "type": "string"
    },
    "lastName": {
      "type": "string"
    },
    "address": {
      "$ref": "http://example.com/schemas/common.json#/$defs/address"
    }
  }
}

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "http://example.com/schemas/common.json",
  "$defs": {
    "address": {
      "type": "object",
      "properties": {
        "street": {
          "type": "string"
        },
        "city": {
          "type": "string"
        }
      }
    }
  }
}


onDestroy not called when navigating

With Svelte we can do some cleanup when a component is destroyed by either returning a function in onMount or using onDestroy. These are both ignored when navigating back via actionBar or using navigate.
Reproduction: https://github.com/daveychu/svelte-native-on-destroy-bug

ns run ios
Tap "Tap me" to go to "Details"
Tap the back button in the action bar or "Tap me" to go back to "Home"
Expected: Both intervals cleared
Actual: None are cleared

Page components are usually cached for backwards navigation, and that might be why you face this problem.
Upon navigating back using back button or goBack method, component will trigger onDestroy callback.


[CosmosDB] Bump up management SDK package from 8.0.0 to 9.0.0

Related command

Description

This PR bumps up management sdk package (azure-mgmt-cosmosdb) from 8.0.0 to 9.0.0.  This package now support client side encryption which was earlier part of preview package and now in stable release. Also fixes issue with CosmosDB container update for containers configured with client encryption policy.
Testing Guide

History Notes

[cosmosDB] az cosmosdb container create : GA Client Side Encryption feature.
[cosmosDB] az cosmosdb container update : Reverts a change that was done in a previous release which cause updates to fail for containers with client encryption policy.

This checklist is used to make sure that common guidelines for a pull request are followed.

[x] The PR title and description has followed the guideline in Submitting Pull Requests.

[x] I adhere to the Command Guidelines.

[x] I adhere to the Error Handling Guidelines.

CosmosDB

Can you add the history notes in the format of :

az cosmosdb xxx: GA XXX feature
az cosmosdb yyy: Fix the issue of ......

Can you add the history notes in the format of :

az cosmosdb xxx: GA XXX feature
az cosmosdb yyy: Fix the issue of ......

Fixed

Hi @kr-santosh, I merged another PR bumping cosmosDB from 8.0.0 to 9.0.0 and it brings many conflicts to your PR..... Can you help resolve?

Hi @kr-santosh, I merged another PR bumping cosmosDB from 8.0.0 to 9.0.0 and it brings many conflicts to your PR..... Can you help resolve?

Fixed. Thanks

Closed it by mistake


Error creating SSL/TLS Channel (Solved)

I don't think this is a bug with Sharpbrake but I received it while using Sharpbrake because it's the only part of my app that negotiates a stream. There's a solution and explanation at the bottom, provided for any others.

Sharpbrake version: 5.0.1
.NET platform version: 4.6.2

Airbrake config
Performed in web.config.
<add key="Airbrake.Environment" value="developer" />
<add key="Airbrake.ProjectId" value="<secret>" />
<add key="Airbrake.ProjectKey" value="<secret>" />

Description
Running on a dev machine that uses IIS and self-signed certificates to run SSL locally. I use a mapped hostname of localhost.com in my hosts file.
When sending an exception to Airbrake, I get the following exception:
System.Net.WebException
The request was aborted: Could not create SSL/TLS secure channel.
 at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
 at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)

The code I'm using to test Airbrake is an MVC service:
public class TestErrorController : Controller
{
    [HttpGet]
    public ActionResult Throw500()
    {
        var exception = new InvalidOperationException("Test Error Controller was called and this is a test 500 error exception");
        exception.SendToAirbrake();
        throw exception;
    }
}

For this example, I use an extension method SendToAirbrake(). You don't need the SendToAirbrake() call as the Http Module nuget package will do that for you. However, to help debug this problem, I needed to use the extension method. It looks like this:
 public static class ExceptionExtensions
{
    public static void SendToAirbrake(this Exception exception)
    {
        AirbrakeNotifier airbrakeNotifier = Singleton<IUnityContainer>.Instance.Resolve<AirbrakeNotifier>();

        var notice = airbrakeNotifier.BuildNotice(exception);
        var result = airbrakeNotifier.NotifyAsync(notice).Result;
    }

}

The notifier is injected via Unity. Here's the configuration:
private static void InitialiseLogger(IUnityContainer container)
{
        var settings = ConfigurationManager.AppSettings.AllKeys
                                           .Where(key => key.StartsWith("Airbrake", StringComparison.OrdinalIgnoreCase))
                                           .ToDictionary(key => key, key => ConfigurationManager.AppSettings[key]);

        var config = AirbrakeConfig.Load(settings);
        var airbrake = new AirbrakeNotifier(config);
        container.RegisterInstance(airbrake);
}

Which is called via a small chain of methods from global.asax.
Solution
The problem appears to be that .NET 4.6.2 does not default to a security protocol. So, it will use whatever is listed on your machine. You can see that by putting this into Powershell:
[Net.ServicePointManager]::SecurityProtocol

I have:
Ssl3, Tls

SSL3 is vulnerable to the POODLE attack so you need to tell .NET to use the stronger TLS protocols rather than insecure SSL3. Airbrake won't let you use SSL3 and rightly so.
Depending on which .NET version you're running, that will involve something different. For me, it was setting the ServicePointManager.SecurityProtocol in my global.asax startup. This forces my system to use TLS at least one of the TLS versions and not SSL3. It's not forwardly compatible, thus the comment.
// TODO Remove on 4.7 infrastructure upgrade
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls |
                                               SecurityProtocolType.Tls11 |
                                               SecurityProtocolType.Tls12;

Thank you Rob for all your valuable investigations. We will think on improving support of different security protocols within the notifier itself and your investigations should help here a lot.

You're welcome. I think this is a very-edge case and I'm only hitting it while I wait for an infrastructure upgrade to .NET 4.7.x. I wanted to share for others rather than an action for you. Hopefully Google has spidered it by now, so please do close this issue if you like.

https://github.com/airbrake/sharpbrake/issues/106


Fix order of columns after to flatten

Before submitting (must do checklist)

[x] Did you read the contribution guide?
[x] Did you update the docs? We use Numpy format for all the methods and classes.
[x] Did you write any new necessary tests?
[x] Did you update the CHANGELOG?

Proposed Changes

It may be useful to impose the same order on the return dataframe of .to_dataset() for the sake of consistency. Current order of columns in the return dataframe of ._to_dataset() places "target" along other features in alphabetical order.
Closing issues

closes #873

The "Proposed Changes" paragraph may be misleading.
The pull requests solves all problems and only those problems outlined in issue#873.
I wrote "Proposed Changes" as a statement of what can be further done in the direction established by issue#873 after the issue is closed. If I was wrong in doing this, please inform me.

Codecov Report

Merging #1095 (c1cc01b) into master (d65999e) will decrease coverage by 78.44%.
The diff coverage is 0.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##           master   #1095       +/-   ##
==========================================
- Coverage   86.96%   8.53%   -78.44%
==========================================
  Files         170     170
  Lines        9324    9322        -2
==========================================
- Hits         8109     796     -7313
- Misses       1215    8526     +7311

Impacted Files
Coverage Δ

etna/datasets/tsdataset.py
29.34% <0.00%> (-62.56%)
:arrow_down:

etna/models/naive.py
0.00% <0.00%> (-100.00%)
:arrow_down:

etna/models/utils.py
0.00% <0.00%> (-100.00%)
:arrow_down:

etna/auto/__init__.py
0.00% <0.00%> (-100.00%)
:arrow_down:

etna/metrics/utils.py
0.00% <0.00%> (-100.00%)
:arrow_down:

etna/models/linear.py
0.00% <0.00%> (-100.00%)
:arrow_down:

etna/models/nn/mlp.py
0.00% <0.00%> (-100.00%)
:arrow_down:

etna/models/nn/rnn.py
0.00% <0.00%> (-100.00%)
:arrow_down:

etna/analysis/utils.py
0.00% <0.00%> (-100.00%)
:arrow_down:

etna/auto/pool/utils.py
0.00% <0.00%> (-100.00%)
:arrow_down:

... and 145 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Could you please run make format command to fix linting ci stage?

Proposed Changes section is about what is done inside PR, not about what we want to do in the future. I agree that it can be unclear, I usually just leave a link to the issue in this section.


github actions for build docker and push to dockerhub when merge to main branch

https://docs.docker.com/build/ci/github-actions/multi-platform/

https://github.com/cyberfly-io/cyberfly-node/commit/4715b20d3be0e03b03dc498a706b59c76dd71de7


Change window title to the one thats set from the platform for the cu…

As specified here: https://mattermost.uservoice.com/forums/306457-general/suggestions/14974134-windows-mattermost-client-make-us-of-the-window-c
Known bug
(I would like some help here)
- If you change your team, via the tabs, it doesn't change the title. You first need to select some channel in the new team.
I fall back to the app name now in this case
Possible solution is to go grab the title on a switch, but might need some custom code.
- If you have multiple teams and and are in team a, if a channel title in team b changes, it will be set as window title

One bug down one two go, working much better now already.
We just need to handle the * case and maybe also decide if we want to show the ````*``` in the title at all.

@yuya-oc
I've cherrypicked your two commits.
Tested everything on windows 10 and can't find any problem anymore. If you ask me this is ready to be tested on every platform/merged.

Thanks. It's now ready to test and need one tester. Artifacts are available here. https://circleci.com/gh/mattermost/desktop/595#artifacts

I have to say that this is quite nice! Just tested and love this improvement.
Great work @Razzeee and @yuya-oc!
Could we have someone's help testing this on OS X? Perhaps @mmahkamov your help?
You can download the artifact here

Not necessary, your testing is enough. This doesn't depends on operating system.
Thanks!


Increase compatibility with LyCORIS?

it seems that it can not load lokr with Lora Mecha Recipe, since they have different layer name.

oh, i miss the new-config branch of sd-mecha. So it will be compatible soon?

I don't know when I'll be able to finish the config update v0.1.0. Indeed, it contains many improvements to the library.
It's been long overdue. I have ran into situations I did not initially account for, and it became this huge upcoming update as a result. I have very recently found a good way to support model conversion (i.e. SDXL lyco to SGM, or SGM to diffusers, or flux-backbone-only to flux-with-text-encoder, etc.) which has been a huge problem for a while. Although this is more or less in the past now, the API and implementation still need more work.
With the structure in v0.0.X, it is not possible (or very impractical) to support some kinds of lycoris, for example BOFT. With the new update it will become practical and hopefully straightforward to implement loading BOFT for all architectures.
The major problem for me right now is understanding how the keys differ between different architectures to avoid duplicating the same conversion code in 20 places, especially for loras. I also need to register model configs from kohya to generate the appropriate keys for lycoris models.
Additionally, I'm not able to spend as much time as I would like maintaining this library. I am doing a lot of experiments on the side, and real life also gets in the way.
Once this update is done, I will focus on writing docs. I suppose it could make it easier for potential contributors to lend a hand, and at the very least it would make the lib less obscure to learn to use.

Hey just for transparency, the update currently does not support full lycoris merging yet. It is too big to add support for this in the same update.
The difference tbe update brings is that now it will be possible to support merging any type of lycoris. We just need to implement it now.


Pictures of code

Please don't use pictures of code.

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

ID: 36a7fc54-584b-4ae2-ad71-6343ad8e2801
Version Independent ID: 0784bf12-f389-3660-ae7a-1641a82d3e46
Content: Convert foreach loop to LINQ - Visual Studio
Content Source: docs/ide/reference/convert-foreach-linq.md
Product: visual-studio-windows
Technology: vs-ide-general
GitHub Login: @kendrahavens
Microsoft Alias: kehavens

Could you let me know why? Are you wanting to copy the code and try out the codefix for yourself or is there another reason? I could definitely add the triggering code to this doc:
var greetings = new List<string>()
    { "hi", "yo", "hello", "howdy" };

IEnumerable<string> enumerable()
{
    foreach(var greet in greetings)
    {
        if(greet.Length < 3)
        {
            yield return greet;
        }
    }

    yield break;
}

I use pictures so that it is obvious where the cursor is that triggers the refactoring and what the refactoring menu should look like. Thanks for your help on this!

Same as at Stack Overflow. Need to copy a bit or the whole thing. Pictures of code are not acceptable.
From: Kendra Havens<EMAIL_ADDRESS>Sent: Monday, April 8, 2019 6:02 PM
To: MicrosoftDocs/visualstudio-docs<EMAIL_ADDRESS>Cc: maryob77062<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/visualstudio-docs] Pictures of code (#3014)
Could you let me know why? Are you wanting to copy the code and try out the codefix for yourself or is there another reason? I could definitely add the triggering code to this doc:
var greetings = new List()
{ "hi", "yo", "hello", "howdy" };
IEnumerable enumerable()
{
foreach(var greet in greetings)
{
if(greet.Length < 3)
{
yield return greet;
}
}
yield break;

}
I use pictures so that it is obvious where the cursor is that triggers the refactoring and what the refactoring menu should look like. Thanks for your help on this!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/MicrosoftDocs/visualstudio-docs/issues/3014#issuecomment-481038674 , or mute the thread https://github.com/notifications/unsubscribe-auth/AhqHh2UFdRvGa9i0jkyzaXl8AVAVRcuLks5ve8pagaJpZM4cgRSG .  https://github.com/notifications/beacon/AhqHh0Vcm4CFV4dpYA_5Z1QhuWdmSM0eks5ve8pagaJpZM4cgRSG.gif


A lot of Cloud ERROR: 'error': 504 messages

Currently  I am receiving a lot of messages in HA System->Logs
Logger: custom_components.sonoff.core.ewelink.cloud
Source: custom_components/sonoff/core/ewelink/cloud.py:379
integration: Sonoff (documentation, issues)
First occurred: April 7, 2024 at 1:34:56 PM (4246 occurrences)
Last logged: 10:14:04 AM
Messages are in the following format:
Cloud ERROR: {'error': 504, 'reason': 'Request Timeout', 'deviceid': '1001710bf5', 'apikey': 'the api key for the sonoff site', 'sequence': '1712682539312'}
I jave just S31 wifi energy monitors - 4 of them. Diagnostics are attached.
sonoff-4de7ada4da267f89c0532539a24bde50-Family-Room-S31-ae71fcd86d2e2b82a06e68828b5908f5.json
How can this be fixed?

504 is a problem with connection to your device from cloud. Maybe bad WiFi or something else. Integration can't do anything about this.


mpfi: 1.5.3 -> 1.5.4

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/mpfi/versions.
meta.description for mpfi is: "A multiple precision interval arithmetic library based on MPFR"
meta.homepage for mpfi is: "https://gforge.inria.fr/projects/mpfi/"
meta.changelog for mpfi is: ""
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 1.5.4 with grep in /nix/store/33w686928rczgkv28idvq7y831pw2hil-mpfi-1.5.4

directory tree listing: https://gist.github.com/09ebd0be7a37b0263765ce7ba41676fa

du listing: https://gist.github.com/466c8fb965339a009073c70b4c3809d9

Rebuild report (if merged into master) (click to expand)

13 total rebuild path(s)

5 package rebuild(s)

5 x86_64-linux rebuild(s)
3 i686-linux rebuild(s)
2 x86_64-darwin rebuild(s)
3 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
giac
giac-with-xcas
mpfi
sage
sageWithDoc

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/33w686928rczgkv28idvq7y831pw2hil-mpfi-1.5.4 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A mpfi https://github.com/r-ryantm/nixpkgs/archive/bd9f2cc0b5ec9a3f3e24c53c3fd86a07dcc0a18f.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/33w686928rczgkv28idvq7y831pw2hil-mpfi-1.5.4
ls -la /nix/store/33w686928rczgkv28idvq7y831pw2hil-mpfi-1.5.4/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
nixpkgs-review took longer than 45m and timed out

Maintainer pings
cc @7c6f434c for testing.

@timokau @omasanori Is this known to be Sage-safe?

@timokau @omasanori Is this known to be Sage-safe?

No known bugs on SageMath Trac, while Debian still stays at 1.5.3 in 2020-11 even though 1.5.4 was released in 2019-08, which makes me worry a bit. There is no bugs on Debian ITS too, though.

No known bugs on SageMath Trac, while Debian still stays at 1.5.3 in 2020-11 even though 1.5.4 was released in 2019-08, which makes me worry a bit. There is no bugs on Debian ITS too, though.


consider adding app.json to main branch

expo cries if the slug and bundle id don't match a regex, so maybe we can add this back
possible to add config.js/en.json as well? ponder on it, and update the deployment docs as appropraite

decided not to


[Feature]:  Add the possibility to create custom PVC

Is there an existing issue already for this feature request/idea?

[X] I have searched for an existing issue, and could not find anything. I believe this is a new feature request to be evaluated.

What problem is this feature going to solve? Why should it be added?
Mount a shared storage into the pod where I can store created backup files that will be used by the developers
Describe the solution you'd like
Be able to add additional volume by specifying the storageclass, PVC size and where I need it mounted.
Describe alternatives you've considered
None.
Additional context
No response
Backport?
N/A
Are you willing to actively contribute to this feature?
No
Code of Conduct

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

my +1

I would contribute to the feature but I don't have the required skills for it.

+1 would like to attach nfs per volume or hostpath for backups


How can i handle web browser history in web platform

Hi,
With voyager navigation, i cant see any option to interact with browser history or url.
For example, controlling the browser history back and forward button and changing the content according to that,
And during navigation, changing the  url in browser.
And also if we change url directly in the browser, how to handle that case with tab navigators and navigators in voyager.
Thanks

Without a routing system this will not be easy to be handled on Voyager. Browser stack is to limitaded to store all voyager stack info and all browser history info is path based.
So, I'm trying bring Kotlin Routing to Voyager here and I have a little experiment using browser APIs here that is not complete yet.

Great, yes, then it will be possible. waiting for that. I was also looking into ktor routing to manually do all this stuff with voyager navigator. But thanx to you, now we can probably get this in voyager very soon i think.

I needed it so I added it to my fork https://github.com/Syer10/voyager
You can reference https://github.com/programadorthi/kotlin-routing/tree/main/samples/kotlin-js-sample/src/jsMain/kotlin for adding support to control browser history, its not in the library but its not difficult to port the sample to Voyager.

If you're looking for inspiration, I recently implemented it in my (non voyager) library - WasmHistory.kt


Python API documentation searching problem

Description

Seem some js error on the console.

Steps to reproduce
search what ever you want, always stay on the searching...

Hi there, your issue has been closed due to not correctly following the issue template. Please read the documentation about filing issues and open a new issue which does follow the issue template. Do not reply to this issue with more information or with a correctly formatted issue, as that will only lead to confusion.
I try to address all github issues and fix bugs quickly, but badly formatted issues or poorly described bug reports especially are a significant drain on project resources. Taking a few minutes to file a good issue makes a huge difference and will get it addressed faster - everybody wins!
In github when you first create a new issue the form is pre-populated with a template which you should read over and follow. As linked above there is documentation going into more detail about what makes a good issue.


fix typos on resources.adoc and improve language

Fix a couple of typos and improve the overall language in the Advanced->Resource Management documentation

@oscerd What's the build/publish process like for the Camel-K documentation page? I don't see the changes in this merged commit reflected in the website yet.

It needs to be done manually from the CI.

The changes are still not reflected in the actual Camel K website. Pardon me if this is a silly question, but who updates the website? What do you exactly mean by "it needs to be done manually from the CI"? Is it something I can do? Thanks!

The last good build of the website was on 10 March. This one was merged on 12. That's the reason. It seems there are troubles with the build now: https://ci-builds.apache.org/job/Camel/job/Camel.website/job/main/1166/console
We need to investigate

It seems that there were some successful builds on the 24th and 21st of March, but I still don't see the fix reflected on the docs. What needs to be done exactly?

It should be published already. That's weird at least

I'll check on Monday

https://camel.apache.org/camel-k/next/installation/advanced/resources.html
This is because you were looking at 1.12.x branch and not on main. Your changes are showed only on the next release. You should backport the change on release-1.12.x and older doc branches.

Alright, that makes sense. 👍🏻
As per backporting my changes to 1.12.x and older branches, that is something I haven't done before. Could you please provide some instructions?
Thanks.

The active branches are release-1.12.x, release-1.11.x and release-1.10.x.
Copy the commit id of the PR merge on main and on the branches listed above run
git cherry-pick '-S' <commit_id>
if it works straightforward, open a PR, otherwise you'll need to manually modify the doc files on the branches.


Usage is broken on electron's renderer.

I get uncaughts axios.post is not a function at every function call.
I imagine it can be a matter of implementing something like this: https://github.com/axios/axios/issues/552#issuecomment-262884004
Will check it out soon.

I'm not too sure if it that is actually the case, I tried running on background and got the same issue...

Try using quickchart-js instead.  It's the same API, except with browser support (which needed by electron)

Looks good, thanks for the tip.
(although from electron's background process shouldn't need browser support, from my understanding)


update structs

version_title is now a string in the API.
and I could really use the id field on Genre!

Coverage remained the same at 94.846% when pulling bad7aed7134df0382a41863abe11f8e02a9f9b84 on kriztoph:master into 28d0c383d9b4e6628619b12065be86815a886285 on Henry-Sarabia:master.


There is a code error in the MRTK Doc

Existing Doc Link
the link is :
https://microsoft.github.io/MixedRealityToolkit-Unity/Documentation/Input/InputEvents.html#global-input-registration-example
Bug Report
the function OnSourceDetected() and  OnSourceLost() code is same. And i think
there is something wrong with  OnSourceLost().The code in this function need to be changed

Thanks for pointing this out! I opened https://github.com/microsoft/MixedRealityToolkit-Unity/pull/6832 to update this code.

Fixed via #6832


Stop listening?

Hello! How can I make the server stop listening for X amount of seconds or permanently without a .dispose();?
Thanks in advance!
EDIT: Server MUST not be disposed at any point in the code.

Hi @Antwns could you give this a try and let me know if any issues?
NuGet: https://www.nuget.org/packages/SuperSimpleTcp/<IP_ADDRESS>
Commit: https://github.com/jchristn/SimpleTcp/commit/5b26e499fcf8e003fb65a94e3d6b22000ce9c8a2

Hello! The new .Strop(); Command works perfectly!!! Thank you so much! 😄

Awesome :)  Enjoy!


Vulnerability roundup 97: nomad-0.12.2: 1 advisory [6.5]

search, files

[ ] CVE-2020-28348 CVSSv3=6.5 (nixos-20.09)

Scanned versions: nixos-20.09: 50c8d1e0deb.
Cc @endocrimes
Cc @pradeepchhetri
Cc @rushmorem

See also: #102887


Consider adding Custom Twemoji API as a community project

Hi, I'm the author and maintainer of Custom Twemoji API (website, repo). It's been around since 2021 and was inspired by the old account EmojiMashupBot, which was/is closed source. I've been updating the API recently and plan to add v15 support soon. I still consider it in beta because I haven't gotten around to adding a staging environment (for stability) or an authentication layer (for visibility & security).
Thought it might be good to include in the Community Projects section of the README. If not, no worries, you can close this out.
Thank you for maintaining a fork.

Cool project! Added to README. Feel free to make your own PR next time for an addition like this; it'll probably be quicker :)


Update extension name

Solve the warning when using sphinx.
WARNING: sphinx.ext.pngmath has been deprecated. Please use sphinx.ext.imgmath instead.

ok with me. as it is quite simple I merge without waiting for @serge-sans-paille  or @aguinet confirmation


Changing visibility of a property or element causes elasticsearch to return hits from the old visibility.

In aggregations this returns the incorrect numbers.
In search this results the incorrect result counts.

https://github.com/v5analytics/vertexium/pull/86 should fix this


Cloud Native Chapter 7

Summary
Chapter 7 files.

@mairaw should be good to merge.

Still looks good to me. :shipit:

Ok should be good to go.


WebSockets

Fundamentals -> WebSockets

@danroth27, any news on webSockets for core? I see it is in rc1 so at least some basic example or api doc  would be real great.

https://www.nuget.org/packages/Microsoft.AspNetCore.WebSockets/
samples folder in the WebSockets repository.

app.Use(async (context, next) =>
{
  if (context.WebSockets.IsWebSocketRequest)
  {
    var webSocket = await context.WebSockets.AcceptWebSocketAsync();
    await DoSomethingCool(context, webSocket);
  }
  else
  {
    await next();
  }
});

@danroth27 : getting requests for priority on this

see also #2789

We have https://docs.microsoft.com/en-us/aspnet/core/aspnetcore-1.1#websockets-support, but we need to figure out where this should go in the actual TOC.

Let's put it under Fundamentals.

Proposed outline for the doc:

What is it:

Brief explanation of what WebSocket protocol is, link out for details.
WS support for ASP.NET Core is provided in Microsoft.AspNetCore.WebSockets NuGet package that includes client and server integration components.

Prerequisites

ASP.NET Core 1.1
Works on all OSes that ASP.NET Core runs on (Windows 7+, Windows Server 2008+, Linux, macOS)

Exception: With Kestrel and IIS, or with WebListener, requires Windows 8+ or Windows Server 2012+

Supported browsers:  http://caniuse.com/#feat=websockets

When to use it

If you can run on full .NET, SignalR is a better choice for most apps: higher level of abstraction with features such as:

Support for a broader range of browser versions by using automatic fallback to alternative transport methods such as server-sent events and long polling.
Automatic reconnection when a connection drops.
Support for clients calling methods on server or vice versa
Support for scaling to multiple servers

SignalR is being ported to Core; see the repo for more info
Use WS if you need to work directly with a socket connection. For example, for games that need best possible performance

How to use it

Install package
app.UseWebSockets in Configure method

Can configure some settings

KeepAliveInterval
ReceiveBufferSize

Somewhere later (in Configure method, in an MVC action, etc.) check if it's a WebSocket request and accept the WebSocket request

(snippet from sample app)
You get back a WebSocket object - WebSocket is  a .NET Core type, in System.Net.WebSockets
The TCP connection is upgraded to a WebSocket connection.

Once you have the WebSocket object use it to send and receive messages.

(snippet from sample app)
While doing that you stay where you're at in the Middleware pipeline

When done, close the connection, and the rest of the Middleware pipeline runs

(snippet from sample app)

Sample app - use the echo example from the repo, simplified by removing functionality added there for testing.

Please review - @anurse @Rick-Anderson @dlebedynskyi @danroth27

Brief comments:

Microsoft.AspNetCore.WebSockets is just the server components. Client components are part of the .NET Standard Library
SignalR does not work on ASP.NET Core at all, even on full .NET. I'd avoid recommending the old SignalR at all in this doc. What we can do is mention that SignalR provides a richer application model, but is not supported on ASP.NET Core yet, and link off to the repo for more information on the future of SignalR on ASP.NET Core

SignalR Repo is actually at https://github.com/aspnet/SignalR

Short descriptions of the options you can provide in app.UseWebSockets():

KeepAliveInterval - How frequently we'll send "Ping" frames to the client, to ensure Proxies keep the connection open
ReceiveBufferSize - The size of the buffer we'll use to receive data. Only a very advanced user would need to change this, for performance tuning based on the size of their data.

I'd reword the comment about the middleware pipeline something like this: "When you accept the WebSocket, the middleware pipeline ends; upon closing the the socket, the pipeline will unwind" (i.e. we stop moving forward in the pipeline when you accept a WebSocket, just as we would when you hit an MVC action, etc., but when you finish, we'll go back up the pipeline)

@anurse Thanks! Revised the outline.

Regarding the client components -- the WebSockets repo readme says it has "a managed implementation of the WebSocket protocol, along with client and server integration components." What does client components refer to here?
I'm thinking it's still worth explaining briefly what richer app model means by offering a few examples of SignalR features, but I could be persuaded otherwise.

Good catch, the WebSockets README is out of date, I'll fix it.
I agree that it's good to explain what SignalR can do, but I don't want to create the wrong impression that the old SignalR can be used with ASP.NET Core, so as long as we're clear that SignalR does not currently work with ASP.NET Core, but we're working on it, I'm good with it