Add Object method mocking functionality

Purpose
Object method mocking functionality is implemented in this PR
Fixes #
Approach
Iterate through type definitions to verify if the function exists in the Object and it the return types are compatible
During BIR generation, the callTerminator of the object method we are mocking is modified.
isVirtual is set to false and the Object reference is removed from the arguments
Check List

[X] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

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

Codecov Report

Merging #22348 into master will not change coverage by %.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master   #22348   +/-   ##
=======================================
  Coverage   14.59%   14.59%
=======================================
  Files          51       51
  Lines        1411     1411
  Branches      219      219
=======================================
  Hits          206      206
  Misses       1189     1189
  Partials       16       16

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 87ade9f...6d4264f. Read the comment docs.


Broadlink learner/sender switch not working

Home Assistant release with the issue:
0.96.0
Last working Home Assistant release (if known):
0.95.4
Operating environment (Hass.io/Docker/Windows/etc.):
Raspbian Stretch / Home Assistant on wheels
Python 3.7
Component/platform:
https://www.home-assistant.io/components/broadlink/
Description of problem:
It's not working.
Jul 18 22:10:05 raspberrypi hass[577]: 2019-07-18 22:10:05 ERROR (MainThread) [homeassistant.components.switch] Error while setting up platform broadlink
Jul 18 22:10:05 raspberrypi hass[577]: Traceback (most recent call last):
Jul 18 22:10:05 raspberrypi hass[577]:   File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py", line 126, in _async_setup_platform
Jul 18 22:10:05 raspberrypi hass[577]:     SLOW_SETUP_MAX_WAIT)
Jul 18 22:10:05 raspberrypi hass[577]:   File "/usr/local/lib/python3.7/asyncio/tasks.py", line 416, in wait_for
Jul 18 22:10:05 raspberrypi hass[577]:     return fut.result()
Jul 18 22:10:05 raspberrypi hass[577]:   File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
Jul 18 22:10:05 raspberrypi hass[577]:     result = self.fn(*self.args, **self.kwargs)
Jul 18 22:10:05 raspberrypi hass[577]:   File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/broadlink/switch.py", line 80, in setup_platform
Jul 18 22:10:05 raspberrypi hass[577]:     broadlink_device = broadlink.rm((ip_addr, 80), mac_addr, None)
Jul 18 22:10:05 raspberrypi hass[577]:   File "/srv/homeassistant/lib/python3.7/site-packages/broadlink/__init__.py", line 529, in __init__
Jul 18 22:10:05 raspberrypi hass[577]:     device.__init__(self, host, mac, devtype)
Jul 18 22:10:05 raspberrypi hass[577]:   File "/srv/homeassistant/lib/python3.7/site-packages/broadlink/__init__.py", line 171, in __init__
Jul 18 22:10:05 raspberrypi hass[577]:     self.update_aes(key)
Jul 18 22:10:05 raspberrypi hass[577]:   File "/srv/homeassistant/lib/python3.7/site-packages/broadlink/__init__.py", line 184, in update_aes_crypto
Jul 18 22:10:05 raspberrypi hass[577]:     backend=default_backend())
Jul 18 22:10:05 raspberrypi hass[577]:   File "/srv/homeassistant/lib/python3.7/site-packages/cryptography/hazmat/backends/__init__.py", line 15, in default_backend
Jul 18 22:10:05 raspberrypi hass[577]:     from cryptography.hazmat.backends.openssl.backend import backend
Jul 18 22:10:05 raspberrypi hass[577]:   File "/srv/homeassistant/lib/python3.7/site-packages/cryptography/hazmat/backends/openssl/__init__.py", line 7, in <module>
Jul 18 22:10:05 raspberrypi hass[577]:     from cryptography.hazmat.backends.openssl.backend import backend
Jul 18 22:10:05 raspberrypi hass[577]:   File "/srv/homeassistant/lib/python3.7/site-packages/cryptography/hazmat/backends/openssl/backend.py", line 74, in <module>
Jul 18 22:10:05 raspberrypi hass[577]:     from cryptography.hazmat.bindings.openssl import binding
Jul 18 22:10:05 raspberrypi hass[577]:   File "/srv/homeassistant/lib/python3.7/site-packages/cryptography/hazmat/bindings/openssl/binding.py", line 15, in <module>
Jul 18 22:10:05 raspberrypi hass[577]:     from cryptography.hazmat.bindings._openssl import ffi, lib
Jul 18 22:10:05 raspberrypi hass[577]: ImportError: /usr/lib/arm-linux-gnueabihf/libssl.so.1.1: version `OPENSSL_1_1_1' not found (required by /srv/homeassistant/lib/python3.7/site-packages/cryptography/hazmat/bindings/_openssl.abi3.so)

tried updating and reinstalling open ssl, no change.

see this thread. https://github.com/home-assistant/home-assistant/issues/25248#issuecomment-512958031

Yep, @cubilon, the solution is in the thread that @aidbish is referring to.


Unable to run yardoc

Installed plugin through Gemfile:
gem "yard-contracts", github: "sfcgeorge/yard-contracts"

When I run it, I get:
➜  ar_left_over_guardian git:(master) ✗ bundle exec yardoc --plugin contracts
[warn]: Error loading plugin 'yard-contracts'
Files:           3
Modules:         2 (    2 undocumented)
Classes:         2 (    2 undocumented)
Constants:       2 (    2 undocumented)
Methods:         3 (    1 undocumented)
 22.22% documented

I think I know why. I forgot that I need to be on last contracts.ruby master

Yep, just works :)

YARD gives really unhelpful (no) errors and --backtrack and --debug do nothing here.
I spent an hour trying to get it to work, correct versions of gems, ruby, etc. Glad you got it sorted :)

On 26 Mar 2015, at 01:41, Alexey Fedorov<EMAIL_ADDRESS>wrote:
Installed plugin through Gemfile:
gem "yard-contracts", github: "sfcgeorge/yard-contracts"
When I run it, I get:
➜  ar_left_over_guardian git:(master) ✗ bundle exec yardoc --plugin contracts
[warn]: Error loading plugin 'yard-contracts'
Files:           3
Modules:         2 (    2 undocumented)
Classes:         2 (    2 undocumented)
Constants:       2 (    2 undocumented)
Methods:         3 (    1 undocumented)
22.22% documented
—
Reply to this email directly or view it on GitHub.

The easiest way to get the real error, is to use -e path/to/lib/yard/extension.rb. Because it renders the errors that happened.

In my case it was cannot load such file: contracts/formatters

Ah thanks you for pointing out that the -e flag shows errors, I'm sure that will be useful.
contracts/formatters isn't really needed currently as I copied it over and modified, but I left the require assuming those will get merged back into Contracts.


Fix RenderListTile actual baseline computation

It should be calling tile.getDistanceToActualBaseline() rather than
tile.getDistanceToBaseline().  This is causing us to hit assertions
getDistanceToBaseline()

LGTM to submit to unblock roll, i'll submit a more thorough PR that fixes this in other places and adds tests

Thanks for the fix, LGTM


MartinMalik-REALiX.HWiNFO version 7.04

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?

[x] Does your manifest conform to the 1.0 schema?

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

Microsoft Reviewers: Open in CodeFlow

Package already added https://github.com/microsoft/winget-pkgs/tree/master/manifests/r/REALiX/HWiNFO

Package already added https://github.com/microsoft/winget-pkgs/tree/master/manifests/r/REALiX/HWiNFO

ah right didn't see it, will close this pr


can't set style of svg path objects

Basic info:

Node.js version: 8.6
jsdom version: 11.3.0

Minimal reproduction case
https://runkit.com/graingert/59d64b929dc8c10012b8c118
How does similar code behave in browsers?
https://jsfiddle.net/wuv2kovb/1/

This is a duplicate of https://github.com/tmpvar/jsdom/issues/2001.

Closing in favour of #2001


Mouseleave event triggers while entering an inner text element

Hi, I'm not sure if I'm going about this the wrong way, but currently, I have a render setup similar to this:
let render = ({
  context,
}: {
  context: CanvasRenderingContext2D;
}) => {
  context.fillStyle = PlaygroundConfig.NODE_BG_COLOR;
  context.beginPath();
  context.arc(x, y, PlaygroundConfig.NODE_RADIUS, 0, 2 * Math.PI);
  context.closePath();
  context.fill();

  context.font = `25px Jetbrains Mono, monospace`;
  context.textAlign = 'center';
  context.textBaseline = 'middle';
  context.fillStyle = PlaygroundConfig.NODE_TEXT_COLOR;
  context.fillText(value!.toString(), x, y);
};

I would like to do some stuff when the user hovers over the circle, so naturally, I've set up on:mouseenter and on:mouseleave events on the corresponding Layer component. The events work correctly, however when the mouse touches the text inside the circle, the mouseleave event is triggered, and then when exiting the text and entering the circle area again the mouseenter event is triggered. Ideally, I would only like the mouseleave event to trigger only after the mouse leaves the circle path itself.
I'm fairly new to Canvas, so I wouldn't be surprised if there's a better way to do this where I wouldn't encounter this issue. I'd very much appreciate any help solving this issue :)

This is a bug — thanks for flagging. I'll look into a fix, but if you need a hacky solution in the meantime, you can set context.fillStyle = 'transparent' and redraw the circle again after the text. That should prevent mouseleave from misfiring.

Fixed in svelte-canvas 2.0.2!


Maven requires alpha, beta versions

We need to exclude alpha, beta versions from the official release builds. Maven includes also the alpha versions of the google libs. Possible solution:
https://stackoverflow.com/a/22174801/2302437

Tracking this here: https://leanplum.atlassian.net/browse/LP-7591


How to cite DynamicQuantities.jl?

Hi,
I am writing a paper and I reference DynamicQuantities.jl so I am wondering what would be the best way to cite the packge!
Thanks.

Thanks, for right now there’s no citation or zenodo, so perhaps just link the GitHub URL in a footnote.

Thanks @MilesCranmer . I can use the Github url for citing.
Best,
Ahmed.


Remove redundant activation events

@audgirka Apparently this is a sign that these activation events are needed. I am bit confused because vscode reports them as no longer needed, as being implicit:

See https://stackoverflow.com/questions/68870703/why-should-i-declare-the-command-again-in-activationevents-filed-of-package-js
Any ideas?


Step 3 Clustering failed to stop

Warning message on my R console:
Warning in heatmap.2(-log10(heatmap.pathway.pvalue), col = (c(intpalette(c("#FFFFD5FF",  :
Discrepancy: Rowv is FALSE, while dendrogram is both'. Omitting row dendogram. Warning in heatmap.2(-log10(heatmap.pathway.pvalue), col = (c(intpalette(c("#FFFFD5FF",  :   Discrepancy: Colv is FALSE, while dendrogram is column'. Omitting column dendogram.
Warning: Error in observeEventHandler: could not find function "sendSuccessMessages"
Stack trace (innermost first):
65: observeEventHandler [server/meta_path_server.R#163]
1: shiny::runApp

Anzhe encounter the same problem and he said the error was from "sendSuccessMessages" should be "sendSuccessMessage".
It seems he didn't correct this one yet.
This should a bug in metaOmics. I have open up a issue about this, maybe we can merge them and yours have details information.

Sure : )

I will try to figure out how to do this automatically.
In the future you can also mark the label the issue with "bug" or other problems.

Hi, forgot to close the isse, it's fixed in latest release. Please pukk from master


gen_l10n: Cannot use an int as parameter?

The following app_en.arb produces an Generating synthetic localizations package has failed. error during flutter run. I think the file is syntactically correct, so it's not clear why generation failed (as noted in https://github.com/flutter/flutter/issues/82714 the error message could be more helpful).
{
  "orderTitle": "Order #{orderNumber}",
  "@orderTitle": {
    "description": "The title for an order with the orderNumber",
    "placeholders": {
      "orderNumber": {
        "type": "int",
      }
    }
  }
}

From experimenting, it looks like if you use "type": "int" you also have to specify a "format" with one of the options given in https://docs.google.com/document/d/10e0saTfAv32OZLRmONy866vnaw0I2jwL8zukykpgWBc/edit#heading=h.4jrxhcva98zs?
There doesn't appear to be a format, though, where the int value is just printed as an int as its needed in this example to just represent an ID?

I think my expectation would be if you use type: int without a format, the int will just be used verbatim?

/cc @shihaohong @HansMuller

I don't think that's valid JSON? The last map entry, shouldn't conclude with a ","

That is correct. However, if I remove the extra comma, the error still stays the same.


Plugin/KiCad crashes with a Memory Access Errors

The plugin/KiCad dies ~0.5 seconds after I run the plugin under Linux (KDE Neon - Ubuntu 22.04 based).
The plugin seams to run through the parts of the hierarchical sheet/sub-PCB but dies shortly after it starts with the parts of the main PCB.
Any advice how I can debug this?
Running KiCad with gdb (gdb kicad) gave this:
Thread 1 "kicad" received signal SIGSEGV, Segmentation fault.
0x00007fff92ad72c0 in ?? () from /usr/bin/_pcbnew.kiface

KiCad Info:
Application: KiCad x86_64 on x86_64
Version: 7.0.7-7.0.7~ubuntu22.04.1, release build
Libraries:
wxWidgets 3.2.1
FreeType 2.11.1
HarfBuzz 6.0.0
FontConfig 2.13.1
libcurl/7.81.0 OpenSSL/3.0.2 zlib/1.2.11 brotli/1.0.9 zstd/1.4.8 libidn2/2.3.2 libpsl/0.21.0 (+libidn2/2.3.2) libssh/0.9.6/openssl/zlib nghttp2/1.43.0 librtmp/2.3 OpenLDAP/2.5.16
Platform: KDE neon 5.27, 64 bit, Little endian, wxGTK, KDE, x11
Build Info:
Date: Aug 13 2023 23:14:49
wxWidgets: 3.2.1 (wchar_t,wx containers) GTK+ 3.24
Boost: 1.74.0
OCC: 7.5.2
Curl: 7.88.1
ngspice: 38
Compiler: GCC 11.4.0 with C++ ABI 1016
Build settings:
KICAD_SPICE=ON

Hey, thanks for reaching out. I have no idea why this is happening, but if you can generate a minimal example PCB that has this bug I'll be happy to take a look.
Also, does this happen if run on another platform (Windows/OSX)?

Hey, I don't have a Linux machine handy to reproduce this bug, so I'm closing it for now. If you have a minimal PCB example (or any insight into where the bug is), I'll be happy to look into it.


Adding project map badge to README.adoc

Adding a link to the high-level diagrams including module, library dependency and others (https://sourcespy.com/github/redisdeveloperriot/). Built directly from source and updated on schedule. Intended to simplify developer's introduction to the project.
In the spirit of transparency - I am the author of the diagrams. Hope contributors find it useful.

Julien, any chance you can take a quick look? This is a documentation-only, single-file change. Thank you! @jruaux


vmss list_instance_connection_info should be list-instance-connection-info

This command should not be named with underscores and should probably be changed before GA of the module.
/cc @twitchax @johanste

also, the help file has this as a group, not a command:
$ az vmss list_instance_connection_info -h

Group
    az vmss list_instance_connection_info: Get the IP address and port number used to connect to
    individual instances.

'CommandHelpFile' object has no attribute 'children'
Traceback (most recent call last):
  File "/Users/david/code/azure/azure-cli/src/azure-cli/azure/cli/main.py", line 37, in main
    cmd_result = APPLICATION.execute(args)
  File "/Users/david/code/azure/azure-cli/src/azure-cli-core/azure/cli/core/application.py", line 129, in execute
    args = self.parser.parse_args(argv)
  File "/Users/david/.pyenv/versions/3.5.3/lib/python3.5/argparse.py", line 1726, in parse_args
    args, argv = self.parse_known_args(args, namespace)
  File "/Users/david/.pyenv/versions/3.5.3/lib/python3.5/argparse.py", line 1758, in parse_known_args
    namespace, args = self._parse_known_args(args, namespace)
  File "/Users/david/.pyenv/versions/3.5.3/lib/python3.5/argparse.py", line 1946, in _parse_known_args
    positionals_end_index = consume_positionals(start_index)
  File "/Users/david/.pyenv/versions/3.5.3/lib/python3.5/argparse.py", line 1923, in consume_positionals
    take_action(action, args)
  File "/Users/david/.pyenv/versions/3.5.3/lib/python3.5/argparse.py", line 1832, in take_action
    action(self, namespace, argument_values, option_string)
  File "/Users/david/.pyenv/versions/3.5.3/lib/python3.5/argparse.py", line 1129, in __call__
    subnamespace, arg_strings = parser.parse_known_args(arg_strings, None)
  File "/Users/david/.pyenv/versions/3.5.3/lib/python3.5/argparse.py", line 1758, in parse_known_args
    namespace, args = self._parse_known_args(args, namespace)
  File "/Users/david/.pyenv/versions/3.5.3/lib/python3.5/argparse.py", line 1946, in _parse_known_args
    positionals_end_index = consume_positionals(start_index)
  File "/Users/david/.pyenv/versions/3.5.3/lib/python3.5/argparse.py", line 1923, in consume_positionals
    take_action(action, args)
  File "/Users/david/.pyenv/versions/3.5.3/lib/python3.5/argparse.py", line 1832, in take_action
    action(self, namespace, argument_values, option_string)
  File "/Users/david/.pyenv/versions/3.5.3/lib/python3.5/argparse.py", line 1129, in __call__
    subnamespace, arg_strings = parser.parse_known_args(arg_strings, None)
  File "/Users/david/.pyenv/versions/3.5.3/lib/python3.5/argparse.py", line 1758, in parse_known_args
    namespace, args = self._parse_known_args(args, namespace)
  File "/Users/david/.pyenv/versions/3.5.3/lib/python3.5/argparse.py", line 1964, in _parse_known_args
    start_index = consume_optional(start_index)
  File "/Users/david/.pyenv/versions/3.5.3/lib/python3.5/argparse.py", line 1904, in consume_optional
    take_action(action, args, option_string)
  File "/Users/david/.pyenv/versions/3.5.3/lib/python3.5/argparse.py", line 1832, in take_action
    action(self, namespace, argument_values, option_string)
  File "/Users/david/.pyenv/versions/3.5.3/lib/python3.5/argparse.py", line 1016, in __call__
    parser.print_help()
  File "/Users/david/.pyenv/versions/3.5.3/lib/python3.5/argparse.py", line 2358, in print_help
    self._print_message(self.format_help(), file)
  File "/Users/david/code/azure/azure-cli/src/azure-cli-core/azure/cli/core/parser.py", line 167, in format_help
    is_group)
  File "/Users/david/code/azure/azure-cli/src/azure-cli-core/azure/cli/core/_help.py", line 52, in show_help
    print_detailed_help(help_file)
  File "/Users/david/code/azure/azure-cli/src/azure-cli-core/azure/cli/core/_help.py", line 81, in print_detailed_help
    _print_groups(help_file)
  File "/Users/david/code/azure/azure-cli/src/azure-cli-core/azure/cli/core/_help.py", line 210, in _print_groups
    if len(help_file.children) > 0 \
AttributeError: 'CommandHelpFile' object has no attribute 'children'


Upgrade Cesium from version 1.34 to 1.38

Done!. No breaking functionality detected.

Merged into branch #351

Change Log
1.38 - 2017-10-02
Breaking changes
Scene/CullingVolume has been removed. Use Core/CullingVolume.
Scene/OrthographicFrustum has been removed. Use Core/OrthographicFrustum.
Scene/OrthographicOffCenterFrustum has been removed. Use Core/OrthographicOffCenterFrustum.
Scene/PerspectiveFrustum has been removed. Use Core/PerspectiveFrustum.
Scene/PerspectiveOffCenterFrustum has been removed. Use Core/PerspectiveOffCenterFrustum.
Added support in CZML for expressing orientation as the velocity vector of an entity, using velocityReference syntax. #5807
Fixed CZML processing of velocityReference within an interval. #5738
Added ability to add an animation to ModelAnimationCollection by its index. #5815
Fixed a bug in ModelAnimationCollection that caused adding an animation by its name to throw an error. #5815
Fixed issue in Internet Explorer and Edge with loading unicode strings in typed arrays that impacted 3D Tiles Batch Table values.
Zoom now maintains camera heading, pitch, and roll. #4639
Fixed a bug in PolylineCollection preventing the display of more than 16K points in a single collection. #5538
Fixed a 3D Tiles point cloud bug causing a stray point to appear at the center of the screen on certain hardware. #5599
Fixed removing multiple event listeners within event callbacks. #5827
Running buildApps now creates a built version of Sandcastle which uses the built version of Cesium for better performance.
Fixed a tileset traversal bug when the skipLevelOfDetail optimization is off. #5869
1.37 - 2017-09-01
Breaking changes
Passing options.clock when creating a new Viewer instance is removed, pass options.clockViewModel instead.
Removed GoogleEarthImageryProvider, use GoogleEarthEnterpriseMapsProvider instead.
Removed the throttleRequest parameter from TerrainProvider.requestTileGeometry and inherited terrain providers. It is replaced with an optional Request object. Set the request's throttle property to true to throttle requests.
Removed the ability to provide a Promise for the options.url parameter of loadWithXhr and for the url parameter of loadArrayBuffer, loadBlob, loadImageViaBlob, loadText, loadJson, loadXML, loadImage, loadCRN, loadKTX, and loadCubeMap. Instead url must be a string.
Added classificationType to ClassificationPrimitive and GroundPrimitive to choose whether terrain, 3D Tiles, or both are classified. #5770
Fixed depth picking on 3D Tiles. #5676
Fixed glTF model translucency bug. #5731
Fixed replaceState bug that was causing the CesiumViewer demo application to crash in Safari and iOS. #5691
Fixed a 3D Tiles traversal bug for tilesets using additive refinement. #5766
Fixed a 3D Tiles traversal bug where out-of-view children were being loaded unnecessarily. #5477
Fixed Entity id type to be String in EntityCollection and CompositeEntityCollection #5791
Fixed issue where Model and BillboardCollection would throw an error if the globe is undefined. #5638
Fixed issue where the Model glTF cache loses reference to the model's buffer data. #5720
Fixed some issues with disableDepthTestDistance. #5501 #5331 #5621
Added several new Bing Maps styles: CANVAS_DARK, CANVAS_LIGHT, and CANVAS_GRAY. #5737
Added small improvements to the atmosphere. #5741
Fixed a bug that caused imagery splitting to work incorrectly when CSS pixels were not equivalent to WebGL drawing buffer pixels, such as on high DPI displays in Microsoft Edge and Internet Explorer. #5743
Added Cesium3DTileset.loadJson to support overriding the default tileset loading behavior. #5685
Fixed loading of binary glTFs containing CRN or KTX textures. #5753
Fixed specular computation for certain models using the KHR_materials_common extension. #5773
Fixed a picking bug in the 3D Tiles Interactivity Sandcastle demo. #5703
Updated knockout from 3.4.0 to 3.4.2 #5703
1.36 - 2017-08-01
Breaking changes
The function Quaternion.fromHeadingPitchRoll(heading, pitch, roll, result) was removed. Use Quaternion.fromHeadingPitchRoll(hpr, result) instead where hpr is a HeadingPitchRoll.
The function Transforms.headingPitchRollToFixedFrame(origin, headingPitchRoll, ellipsoid, result) was removed. Use Transforms.headingPitchRollToFixedFrame(origin, headingPitchRoll, ellipsoid, fixedFrameTransform, result) instead where fixedFrameTransform is a a 4x4 transformation matrix (see Transforms.localFrameToFixedFrameGenerator).
The function Transforms.headingPitchRollQuaternion(origin, headingPitchRoll, ellipsoid, result) was removed. Use Transforms.headingPitchRollQuaternion(origin, headingPitchRoll, ellipsoid, fixedFrameTransform, result) instead where fixedFrameTransform is a a 4x4 transformation matrix (see Transforms.localFrameToFixedFrameGenerator).
The color, show, and pointSize properties of Cesium3DTileStyle are no longer initialized with default values.
Deprecated
Scene/CullingVolume is deprecated and will be removed in 1.38. Use Core/CullingVolume.
Scene/OrthographicFrustum is deprecated and will be removed in 1.38. Use Core/OrthographicFrustum.
Scene/OrthographicOffCenterFrustum is deprecated and will be removed in 1.38. Use Core/OrthographicOffCenterFrustum.
Scene/PerspectiveFrustum is deprecated and will be removed in 1.38. Use Core/PerspectiveFrustum.
Scene/PerspectiveOffCenterFrustum is deprecated and will be removed in 1.38. Use Core/PerspectiveOffCenterFrustum.
Added glTF 2.0 support, including physically-based material rendering, morph targets, and appropriate updating of glTF 1.0 models to 2.0. #5641
Added ClassificationPrimitive which defines a volume and draws the intersection of the volume and terrain or 3D Tiles. #5625
Added tileLoad event to Cesium3DTileset. #5628
Fixed issue where scene would blink when labels were added. #5537
Fixed label positioning when height reference changes #5609
Fixed label positioning when using HeightReference.CLAMP_TO_GROUND and no position #5648
Fix for dynamic polylines with polyline dash material #5681
Added ability to provide a width and height to scene.pick. #5602
Fixed Viewer.flyTo not respecting zoom limits, and resetting minimumZoomDistance if the camera zoomed past the minimumZoomDistance. 5573
Added ability to show tile urls in the 3D Tiles Inspector. #5592
Fixed a bug when reading CRN compressed textures with multiple mip levels. #5618
Fixed issue where composite 3D Tiles that contained instanced 3D Tiles with an external model reference would fail to download the model.
Added behavior to Cesium3DTilesInspector that selects the first tileset hovered over if no tilest is specified. #5139
Added Entity.computeModelMatrix which returns the model matrix representing the entity's transformation. #5584
Added ability to set a style's color, show, or pointSize with a string or object literal. show may also take a boolean and pointSize may take a number. #5412
Added setter for KmlDataSource.name to specify a name for the datasource #5660.
Added setter for GeoJsonDataSource.name to specify a name for the datasource #5653
Fixed crash when using the Cesium3DTilesInspectorViewModel and removing a tileset #5607
Fixed polygon outline in Polygon Sandcastle demo #5642
Updated Billboard, Label and PointPrimitive constructors to clone NearFarScale parameters #5654
Added FrustumGeometry and FrustumOutlineGeometry. #5649
Added an options parameter to the constructors of PerspectiveFrustum, PerspectiveOffCenterFrustum, OrthographicFrustum, and OrthographicOffCenterFrustum to set properties. #5649
1.35.2 - 2017-07-11
This is an npm-only release to fix an issue with using Cesium in Node.js.
Fixed a bug where Cesium would fail to load under Node.js and some webpack configurations. #5593
Fixed a bug where a Model's compressed textures were not being displayed. #5596
Fixed documentation for OrthographicFrustum. #5586
1.35.1 - 2017-07-05
This is an npm-only release to fix a deployment issue with 1.35. No code changes.
1.35 - 2017-07-05
Breaking changes
JulianDate.fromIso8601 will default to midnight UTC if no time is provided to match the Javascript Date specification. You must specify a local time of midnight to achieve the old behavior.
Deprecated
GoogleEarthImageryProvider has been deprecated and will be removed in Cesium 1.37, use GoogleEarthEnterpriseMapsProvider instead.
The throttleRequest parameter for TerrainProvider.requestTileGeometry, CesiumTerrainProvider.requestTileGeometry, VRTheWorldTerrainProvider.requestTileGeometry, and EllipsoidTerrainProvider.requestTileGeometry is deprecated and will be replaced with an optional Request object. The throttleRequests parameter will be removed in 1.37. Instead set the request's throttle property to true to throttle requests.
The ability to provide a Promise for the options.url parameter of loadWithXhr and for the url parameter of loadArrayBuffer, loadBlob, loadImageViaBlob, loadText, loadJson, loadXML, loadImage, loadCRN, loadKTX, and loadCubeMap is deprecated. This will be removed in 1.37, instead url must be a string.
Added support for 3D Tiles for streaming massive heterogeneous 3D geospatial datasets (#5308). See the new Sandcastle examples. The new Cesium APIs are:
Cesium3DTileset
Cesium3DTileStyle, StyleExpression, Expression, and ConditionsExpression
Cesium3DTile
Cesium3DTileContent
Cesium3DTileFeature
Cesium3DTilesInspector, Cesium3DTilesInspectorViewModel, and viewerCesium3DTilesInspectorMixin
Cesium3DTileColorBlendMode
Added a particle system for effects like smoke, fire, sparks, etc. See ParticleSystem, Particle, ParticleBurst, BoxEmitter, CircleEmitter, ConeEmitter, ParticleEmitter, and SphereEmitter, and the new Sandcastle examples: Particle System and Particle System Fireworks. #5212
Added options.clock, options.times and options.dimensions to WebMapTileServiceImageryProvider in order to handle time dynamic and static values for dimensions.
Added an options.request parameter to loadWithXhr and a request parameter to loadArrayBuffer, loadBlob, loadImageViaBlob, loadText, loadJson, loadJsonp, loadXML, loadImageFromTypedArray, loadImage, loadCRN, and loadKTX.
CzmlDataSource and KmlDataSource load functions now take an optional query object, which will append query parameters to all network requests. #5419, #5434
Added Sandcastle demo for setting time with the Clock API #5457;
Added Sandcastle demo for ArcticDEM data. #5224
Added fromIso8601, fromIso8601DateArray, and fromIso8601DurationArray to TimeIntervalCollection for handling various ways groups of intervals can be specified in ISO8601 format.
Added fromJulianDateArray to TimeIntervalCollection for generating intervals from a list of dates.
Fixed geocoder bug so geocoder can accurately handle NSEW inputs #5407
Fixed a bug where picking would break when the Sun came into view #5478
Fixed a bug where picking clusters would return undefined instead of a list of the clustered entities. #5286
Fixed bug where if polylines were set to follow the surface of an undefined globe, Cesium would throw an exception. #5413
Reduced the amount of Sun bloom post-process effect near the horizon. #5381
Fixed a bug where camera zooming worked incorrectly when the display height was greater than the display width #5421
Updated glTF/glb MIME types. #5420
Added Cesium.Math.randomBetween.
Modified defaultValue to check for both undefined and null. #5551
The throttleRequestByServer function has been removed. Instead use RequestScheduler.throttleRequest to throttle requests.


Memory Leak

I'm seeing the same thing here. There are several other memory leaks that can be easily seen by running these methods and then using "Debug Memory Graph" and looking at the leaked objects.


"Use Hex Code to Mix Colors" Bug

Challenge use-hex-code-to-mix-colors has an issue.
User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
I entered the correct hexidecimal values but the dodger blue hex value is still showing to be incorrect. Would appreciate some help with this so I can mark this challenge as complete.

I am red!

I am green!

I am dodger blue!

I am orange!

    ```

@ezana11 thanks for the issue. This is a known issue https://github.com/FreeCodeCamp/FreeCodeCamp/issues/10523. Closing this issue as a duplicate. Happy coding!


Multi line comments and docstrings are highlighted right

Working on ways to fix this

The idea I have is this: pygments the in view range line by line and store those tokens. Then run the docstrings and multi line comment regexes (stolen from pygments) across the whole file (contiguously) and override and ranges that were used for other tokens with a docstring token and then return that final list

Comment (css comments aren't considered multiline for some reason), Comment.Multiline, String.Heredoc, String.Doc. Just check these cases

from typing import Callable

from pygments.lexer import RegexLexer
from pygments.lexers import get_lexer_by_name
from pygments.token import Comment, String, _TokenType

def get_closure_vars(func: Callable):
    if func.__closure__ is not None:
        return tuple(cell.cell_contents for cell in func.__closure__)[0]
    return None

def get_comment_regexes(language: str) -> list[str]:
    lex = get_lexer_by_name(language)

    if not isinstance(lex, RegexLexer):
        return []

    root_tokens: list[str] | list[tuple[str, _TokenType]] = lex.tokens["root"]

    if isinstance(root_tokens[0], str):
        root_tokens = lex.tokens[root_tokens[0]]

    useful_toks = {String.Doc, String.Heredoc, Comment, Comment.Multiline}
    regexes: list[str] = []

    for token_tuple in root_tokens:
        if isinstance(token_tuple[1], Callable):
            tokens = get_closure_vars(token_tuple[1])

            if not tokens:
                continue

            for token in tokens:
                if token in useful_toks:
                    regexes.append(token_tuple[0])
                    continue

        if token_tuple[1] in useful_toks:
            regexes.append(token_tuple[0])

    return list(set(regexes))

print(get_comment_regexes("python"))


python modification for Point3D

Point3D is added in the python API of opencv, this could be used in some DNN and viz based python program.

:+1:


X2 Multiplier for resuming game

Not an issue, but an improvement for https://github.com/sov3333/0xVenture-Capitalist/issues/19
Original mobile game has a feature to X2 offline earnings(can be further boosted with booster buying for Gold) when resuming game after periods of inactivity (game minimized or closed), by watching an Ad in game.
It would be good implement similar feature. Not necessarily implementing Ad watching for this, maybe require the user do a certain action: like/share a tweet, leave a review somewhere (maybe even paying a small amount of tokens on chain?).
A crew3.xyz integration, or similar platform, might be of help?

It would be good implement similar feature. Not necessarily implementing Ad watching for this, maybe require the user do a certain action: like/share a tweet, leave a review somewhere (maybe even paying a small amount of tokens on chain?).

nice @iulianbadoi, thats a good idea! maybe sharing a tweet then getting the bonus.
also added the overview of ads you sent via telegram in #40


swiper.autoplay.timeout change from 6 version

Check that this is really a bug

[X] I confirm

Reproduction link
https://jsitor.com/bYz-mQ5fo
Bug description
Hi, I've tried to figure in changelog but I can't found nothing.
Seems that from Swiper v7 something change in autoplay.timeout and this script (for example) don't work properly:
https://jsitor.com/bYz-mQ5fo
There is a new event name for retrieve the same value?
Regards
Expected Behavior
No response
Actual Behavior
No response
Swiper version
8.2.2
Platform/Target and Browser Versions
Edge Chromium
Validations

[X] Follow our Code of Conduct
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
[X] Make sure this is a Swiper issue and not a framework-specific issue

Would you like to open a PR for this bug?

[X] I'm willing to open a PR

Swiper v9 comes with fully reworked autoplay module. If you have similar issues in Swiper 9, open a new issue with a CodeSandbox showing the issue.


CU2 => CU4 Upgrade Failure - upgrade step 'msdb110_upgrade.sql' encountered error 1105, state 2, severity 17

I tried upgrading our CU2 container to CU4 and get these errors. It will not start. I only changed the tag reference.
2018-02-22 13:46:06.60 Server      The licensing PID was successfully processed. The new edition is [Express Edition].
2018-02-22 13:46:06.85 Server      Microsoft SQL Server 2017 (RTM-CU4) (KB4056498) - 14.0.3022.28 (X64)
        Feb  9 2018 19:39:09
        Copyright (C) 2017 Microsoft Corporation
        Express Edition (64-bit) on Linux (Ubuntu 16.04.3 LTS)
2018-02-22 13:46:06.86 Server      UTC adjustment: 0:00
2018-02-22 13:46:06.87 Server      (c) Microsoft Corporation.
2018-02-22 13:46:06.87 Server      All rights reserved.
2018-02-22 13:46:06.87 Server      Server process ID is 4120.
2018-02-22 13:46:06.88 Server      Logging SQL Server messages in file '/var/opt/mssql/log/errorlog'.
2018-02-22 13:46:06.88 Server      Registry startup parameters:
         -d /var/opt/mssql/data/master.mdf
         -l /var/opt/mssql/data/mastlog.ldf
         -e /var/opt/mssql/log/errorlog
2018-02-22 13:46:06.89 Server      SQL Server detected 1 sockets with 2 cores per socket and 2 logical processors per socket, 2 total logical processors; using 2 logical processors based on SQL Server licensing. This is an informational message; no user action is required.
2018-02-22 13:46:06.91 Server      SQL Server is starting at normal priority base (=7). This is an informational message only. No user action is required.
2018-02-22 13:46:06.91 Server      Detected 1584 MB of RAM. This is an informational message; no user action is required.
2018-02-22 13:46:06.92 Server      Using conventional memory in the memory manager.
2018-02-22 13:46:07.19 Server      Buffer pool extension is already disabled. No action is necessary.
2018-02-22 13:46:07.31 Server      InitializeExternalUserGroupSid failed. Implied authentication will be disabled.
2018-02-22 13:46:07.31 Server      Implied authentication manager initialization failed. Implied authentication will be disabled.
2018-02-22 13:46:07.31 Server      Successfully initialized the TLS configuration. Allowed TLS protocol versions are ['1.0 1.1 1.2']. Allowed TLS ciphers are ['ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA:ECDHE-ECDSA-AES128-SHA:AES256-GCM-SHA384:AES128-GCM-SHA256:AES256-SHA256:AES128-SHA256:AES256-SHA:AES128-SHA:!DHE-RSA-AES256-GCM-SHA384:!DHE-RSA-AES128-GCM-SHA256:!DHE-RSA-AES256-SHA:!DHE-RSA-AES128-SHA'].
2018-02-22 13:46:07.36 Server      The maximum number of dedicated administrator connections for this instance is '1'
2018-02-22 13:46:07.36 Server      Node configuration: node 0: CPU mask: 0x0000000000000003:0 Active CPU mask: 0x0000000000000003:0. This message provides a description of the NUMA configuration for this computer. This is an informational message only. No user action is required.
2018-02-22 13:46:07.37 Server      Using dynamic lock allocation.  Initial allocation of 2500 Lock blocks and 5000 Lock Owner blocks per node.  This is an informational message only.  No user action is required.
2018-02-22 13:46:07.38 Server      In-Memory OLTP initialized on lowend machine.
2018-02-22 13:46:07.53 Server      Database Instant File Initialization: enabled. For security and performance considerations see the topic 'Database Instant File Initialization' in SQL Server Books Online. This is an informational message only. No user action is required.
2018-02-22 13:46:07.55 Server      Query Store settings initialized with enabled = 1,
2018-02-22 13:46:07.55 spid6s      Starting up database 'master'.
2018-02-22 13:46:07.56 Server      Software Usage Metrics is disabled.
2018-02-22 13:46:08.04 spid6s      6 transactions rolled forward in database 'master' (1:0). This is an informational message only. No user action is required.
2018-02-22 13:46:08.04 spid6s      0 transactions rolled back in database 'master' (1:0). This is an informational message only. No user action is required.
2018-02-22 13:46:08.04 spid6s      Recovery is writing a checkpoint in database 'master' (1). This is an informational message only. No user action is required.
2018-02-22 13:46:08.13 spid6s      Service Master Key could not be decrypted using one of its encryptions. See sys.key_encryptions for details.
2018-02-22 13:46:08.14 spid6s      An error occurred during Service Master Key initialization. SQLErrorCode=33095, State=8, LastOsError=0.
2018-02-22 13:46:08.19 spid6s      SQL Server Audit is starting the audits. This is an informational message. No user action is required.
2018-02-22 13:46:08.19 spid6s      SQL Server Audit has started the audits. This is an informational message. No user action is required.
2018-02-22 13:46:08.26 spid6s      SQL Trace ID 1 was started by login "sa".
2018-02-22 13:46:08.28 spid6s      Server name is 'dbb9efba6165'. This is an informational message only. No user action is required.
2018-02-22 13:46:08.29 spid21s     Always On: The availability replica manager is starting. This is an informational message only. No user action is required.
2018-02-22 13:46:08.30 spid21s     Always On: The availability replica manager is waiting for the instance of SQL Server to allow client connections. This is an informational message only. No user action is required.
2018-02-22 13:46:08.30 spid6s      Starting up database 'msdb'.
2018-02-22 13:46:08.30 spid9s      Starting up database 'mssqlsystemresource'.
2018-02-22 13:46:08.31 spid9s      The resource database build version is 14.00.3022. This is an informational message only. No user action is required.
2018-02-22 13:46:08.32 spid9s      Starting up database 'model'.
2018-02-22 13:46:08.52 spid18s     A self-generated certificate was successfully loaded for encryption.
2018-02-22 13:46:08.53 spid18s     Server is listening on [ 'any' <ipv4> 1433].
2018-02-22 13:46:08.53 spid18s     Dedicated administrator connection support was not started because it is disabled on this edition of SQL Server. If you want to use a dedicated administrator connection, restart SQL Server using the trace flag 7806. This is an informational message only. No user action is required.
2018-02-22 13:46:09.10 spid9s      Polybase feature disabled.
2018-02-22 13:46:09.10 spid9s      Clearing tempdb database.
2018-02-22 13:46:09.18 spid6s      24 transactions rolled forward in database 'msdb' (4:0). This is an informational message only. No user action is required.
2018-02-22 13:46:09.20 spid6s      0 transactions rolled back in database 'msdb' (4:0). This is an informational message only. No user action is required.
2018-02-22 13:46:09.21 spid6s      Recovery is writing a checkpoint in database 'msdb' (4). This is an informational message only. No user action is required.
2018-02-22 13:46:10.05 spid9s      Starting up database 'tempdb'.
2018-02-22 13:46:10.39 spid21s     The Service Broker endpoint is in disabled or stopped state.
2018-02-22 13:46:10.40 spid21s     The Database Mirroring endpoint is in disabled or stopped state.
2018-02-22 13:46:10.42 spid21s     Service Broker manager has started.
2018-02-22 13:46:11.12 spid6s      Database 'master' is upgrading script 'msdb110_upgrade.sql' from level 234884032 to level 234884046.
2018-02-22 13:46:11.13 spid6s      ----------------------------------
2018-02-22 13:46:11.14 spid6s      Starting execution of PRE_MSDB.SQL
2018-02-22 13:46:11.14 spid6s      ----------------------------------
2018-02-22 13:46:11.27 spid6s      Setting database option COMPATIBILITY_LEVEL to 100 for database 'msdb'.
2018-02-22 13:46:11.31 spid6s      -----------------------------------------
2018-02-22 13:46:11.31 spid6s      Starting execution of PRE_SQLAGENT100.SQL
2018-02-22 13:46:11.32 spid6s      -----------------------------------------
2018-02-22 13:46:11.32 spid6s      Setting database option COMPATIBILITY_LEVEL to 140 for database 'msdb'.
2018-02-22 13:46:11.37 spid6s      Configuration option 'allow updates' changed from 1 to 1. Run the RECONFIGURE statement to install.
2018-02-22 13:46:11.38 spid6s      Configuration option 'allow updates' changed from 1 to 1. Run the RECONFIGURE statement to install.
2018-02-22 13:46:11.45 spid6s      Error: 17053, Severity: 16, State: 1.
2018-02-22 13:46:11.45 spid6s      /var/opt/mssql/data/MSDBLog.ldf: Operating system error 31(A device attached to the system is not functioning.) encountered.
2018-02-22 13:46:12.52 spid6s      Error: 17053, Severity: 16, State: 1.
2018-02-22 13:46:12.52 spid6s      /var/opt/mssql/data/MSDBData.mdf: Operating system error 31(A device attached to the system is not functioning.) encountered.
2018-02-22 13:46:12.55 spid6s      Error: 1105, Severity: 17, State: 2.
2018-02-22 13:46:12.55 spid6s      Could not allocate space for object 'dbo.upgrade_perms'.'indnc' in database 'msdb' because the 'PRIMARY' filegroup is full. Create disk space by deleting unneeded files, dropping objects in the filegroup, adding additional files to the filegroup, or setting autogrowth on for existing files in the filegroup.
2018-02-22 13:46:12.58 spid6s      Error: 912, Severity: 21, State: 2.
2018-02-22 13:46:12.58 spid6s      Script level upgrade for database 'master' failed because upgrade step 'msdb110_upgrade.sql' encountered error 1105, state 2, severity 17. This is a serious error condition which might interfere with regular operation and the database will be taken offline. If the error happened during upgrade of the 'master' database, it will prevent the entire SQL Server instance from starting. Examine the previous errorlog entries for errors, take the appropriate corrective actions and re-start the database so that the script upgrade steps run to completion.
2018-02-22 13:46:12.61 spid6s      Error: 3417, Severity: 21, State: 3.
2018-02-22 13:46:12.61 spid6s      Cannot recover the master database. SQL Server is unable to run. Restore master from a full backup, repair it, or rebuild it. For more information about how to rebuild the master database, see SQL Server Books Online.
2018-02-22 13:46:12.62 spid6s      SQL Trace was stopped due to server shutdown. Trace ID = '1'. This is an informational message only; no user action is required.
2018-02-22 13:46:18.76 Server      Microsoft SQL Server 2017 (RTM-CU4) (KB4056498) - 14.0.3022.28 (X64)
        Feb  9 2018 19:39:09
        Copyright (C) 2017 Microsoft Corporation
        Express Edition (64-bit) on Linux (Ubuntu 16.04.3 LTS)
2018-02-22 13:46:18.76 Server      UTC adjustment: 0:00
2018-02-22 13:46:18.76 Server      (c) Microsoft Corporation.
2018-02-22 13:46:18.76 Server      All rights reserved.
2018-02-22 13:46:18.76 Server      Server process ID is 4120.
2018-02-22 13:46:18.77 Server      Logging SQL Server messages in file '/var/opt/mssql/log/errorlog'.
2018-02-22 13:46:18.77 Server      Registry startup parameters:
         -d /var/opt/mssql/data/master.mdf
         -l /var/opt/mssql/data/mastlog.ldf
         -e /var/opt/mssql/log/errorlog
2018-02-22 13:46:18.78 Server      SQL Server detected 1 sockets with 2 cores per socket and 2 logical processors per socket, 2 total logical processors; using 2 logical processors based on SQL Server licensing. This is an informational message; no user action is required.
2018-02-22 13:46:18.78 Server      SQL Server is starting at normal priority base (=7). This is an informational message only. No user action is required.
2018-02-22 13:46:18.78 Server      Detected 1584 MB of RAM. This is an informational message; no user action is required.
2018-02-22 13:46:18.78 Server      Using conventional memory in the memory manager.
2018-02-22 13:46:18.94 Server      Buffer pool extension is already disabled. No action is necessary.
2018-02-22 13:46:19.05 Server      InitializeExternalUserGroupSid failed. Implied authentication will be disabled.
2018-02-22 13:46:19.05 Server      Implied authentication manager initialization failed. Implied authentication will be disabled.
2018-02-22 13:46:19.05 Server      Successfully initialized the TLS configuration. Allowed TLS protocol versions are ['1.0 1.1 1.2']. Allowed TLS ciphers are ['ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA:ECDHE-ECDSA-AES128-SHA:AES256-GCM-SHA384:AES128-GCM-SHA256:AES256-SHA256:AES128-SHA256:AES256-SHA:AES128-SHA:!DHE-RSA-AES256-GCM-SHA384:!DHE-RSA-AES128-GCM-SHA256:!DHE-RSA-AES256-SHA:!DHE-RSA-AES128-SHA'].
2018-02-22 13:46:19.09 Server      The maximum number of dedicated administrator connections for this instance is '1'
2018-02-22 13:46:19.09 Server      Node configuration: node 0: CPU mask: 0x0000000000000003:0 Active CPU mask: 0x0000000000000003:0. This message provides a description of the NUMA configuration for this computer. This is an informational message only. No user action is required.
2018-02-22 13:46:19.10 Server      Using dynamic lock allocation.  Initial allocation of 2500 Lock blocks and 5000 Lock Owner blocks per node.  This is an informational message only.  No user action is required.
2018-02-22 13:46:19.11 Server      In-Memory OLTP initialized on lowend machine.
2018-02-22 13:46:19.32 Server      Database Instant File Initialization: enabled. For security and performance considerations see the topic 'Database Instant File Initialization' in SQL Server Books Online. This is an informational message only. No user action is required.
2018-02-22 13:46:19.35 Server      Query Store settings initialized with enabled = 1,
2018-02-22 13:46:19.37 spid7s      Starting up database 'master'.
2018-02-22 13:46:19.37 Server      Software Usage Metrics is disabled.
2018-02-22 13:46:19.64 spid7s      6 transactions rolled forward in database 'master' (1:0). This is an informational message only. No user action is required.
2018-02-22 13:46:19.65 spid7s      0 transactions rolled back in database 'master' (1:0). This is an informational message only. No user action is required.
2018-02-22 13:46:19.65 spid7s      Recovery is writing a checkpoint in database 'master' (1). This is an informational message only. No user action is required.
2018-02-22 13:46:19.74 spid7s      Service Master Key could not be decrypted using one of its encryptions. See sys.key_encryptions for details.
2018-02-22 13:46:19.75 spid7s      An error occurred during Service Master Key initialization. SQLErrorCode=33095, State=8, LastOsError=0.
2018-02-22 13:46:19.80 spid7s      SQL Server Audit is starting the audits. This is an informational message. No user action is required.
2018-02-22 13:46:19.80 spid7s      SQL Server Audit has started the audits. This is an informational message. No user action is required.
2018-02-22 13:46:19.85 spid7s      SQL Trace ID 1 was started by login "sa".
2018-02-22 13:46:19.86 spid7s      Server name is 'dbb9efba6165'. This is an informational message only. No user action is required.
2018-02-22 13:46:19.88 spid9s      Starting up database 'mssqlsystemresource'.
2018-02-22 13:46:19.88 spid9s      The resource database build version is 14.00.3022. This is an informational message only. No user action is required.
2018-02-22 13:46:19.89 spid21s     Always On: The availability replica manager is starting. This is an informational message only. No user action is required.
2018-02-22 13:46:19.89 spid21s     Always On: The availability replica manager is waiting for the instance of SQL Server to allow client connections. This is an informational message only. No user action is required.
2018-02-22 13:46:19.89 spid7s      Starting up database 'msdb'.
2018-02-22 13:46:19.90 spid9s      Starting up database 'model'.
2018-02-22 13:46:20.03 spid18s     A self-generated certificate was successfully loaded for encryption.
2018-02-22 13:46:20.05 spid18s     Server is listening on [ 'any' <ipv4> 1433].
2018-02-22 13:46:20.06 spid18s     Dedicated administrator connection support was not started because it is disabled on this edition of SQL Server. If you want to use a dedicated administrator connection, restart SQL Server using the trace flag 7806. This is an informational message only. No user action is required.
2018-02-22 13:46:20.45 spid7s      34 transactions rolled forward in database 'msdb' (4:0). This is an informational message only. No user action is required.
2018-02-22 13:46:20.47 spid7s      0 transactions rolled back in database 'msdb' (4:0). This is an informational message only. No user action is required.
2018-02-22 13:46:20.47 spid7s      Recovery is writing a checkpoint in database 'msdb' (4). This is an informational message only. No user action is required.
2018-02-22 13:46:20.49 spid9s      Polybase feature disabled.
2018-02-22 13:46:20.49 spid9s      Clearing tempdb database.
2018-02-22 13:46:21.34 spid9s      Starting up database 'tempdb'.
2018-02-22 13:46:21.75 spid21s     The Service Broker endpoint is in disabled or stopped state.
2018-02-22 13:46:21.75 spid21s     The Database Mirroring endpoint is in disabled or stopped state.
2018-02-22 13:46:21.78 spid21s     Service Broker manager has started.
2018-02-22 13:46:22.36 spid7s      Database 'master' is upgrading script 'msdb110_upgrade.sql' from level 234884032 to level 234884046.
2018-02-22 13:46:22.36 spid7s      ----------------------------------
2018-02-22 13:46:22.36 spid7s      Starting execution of PRE_MSDB.SQL
2018-02-22 13:46:22.36 spid7s      ----------------------------------
2018-02-22 13:46:22.52 spid7s      Setting database option COMPATIBILITY_LEVEL to 100 for database 'msdb'.
2018-02-22 13:46:22.59 spid7s      -----------------------------------------
2018-02-22 13:46:22.59 spid7s      Starting execution of PRE_SQLAGENT100.SQL
2018-02-22 13:46:22.60 spid7s      -----------------------------------------
2018-02-22 13:46:22.60 spid7s      Setting database option COMPATIBILITY_LEVEL to 140 for database 'msdb'.
2018-02-22 13:46:22.63 spid7s      Configuration option 'allow updates' changed from 1 to 1. Run the RECONFIGURE statement to install.
2018-02-22 13:46:22.64 spid7s      Configuration option 'allow updates' changed from 1 to 1. Run the RECONFIGURE statement to install.
2018-02-22 13:46:22.70 spid7s      Error: 17053, Severity: 16, State: 1.
2018-02-22 13:46:22.70 spid7s      /var/opt/mssql/data/MSDBLog.ldf: Operating system error 31(A device attached to the system is not functioning.) encountered.
2018-02-22 13:46:23.73 spid7s      Error: 17053, Severity: 16, State: 1.
2018-02-22 13:46:23.73 spid7s      /var/opt/mssql/data/MSDBData.mdf: Operating system error 31(A device attached to the system is not functioning.) encountered.
2018-02-22 13:46:23.73 spid7s      Error: 1105, Severity: 17, State: 2.
2018-02-22 13:46:23.73 spid7s      Could not allocate space for object 'dbo.upgrade_perms'.'indnc' in database 'msdb' because the 'PRIMARY' filegroup is full. Create disk space by deleting unneeded files, dropping objects in the filegroup, adding additional files to the filegroup, or setting autogrowth on for existing files in the filegroup.
2018-02-22 13:46:23.73 spid7s      Error: 912, Severity: 21, State: 2.
2018-02-22 13:46:23.73 spid7s      Script level upgrade for database 'master' failed because upgrade step 'msdb110_upgrade.sql' encountered error 1105, state 2, severity 17. This is a serious error condition which might interfere with regular operation and the database will be taken offline. If the error happened during upgrade of the 'master' database, it will prevent the entire SQL Server instance from starting. Examine the previous errorlog entries for errors, take the appropriate corrective actions and re-start the database so that the script upgrade steps run to completion.
2018-02-22 13:46:23.74 spid7s      Error: 3417, Severity: 21, State: 3.
2018-02-22 13:46:23.74 spid7s      Cannot recover the master database. SQL Server is unable to run. Restore master from a full backup, repair it, or rebuild it. For more information about how to rebuild the master database, see SQL Server Books Online.
2018-02-22 13:46:23.75 spid7s      SQL Trace was stopped due to server shutdown. Trace ID = '1'. This is an informational message only; no user action is required.
2018-02-22 13:46:27.99 Server      Microsoft SQL Server 2017 (RTM-CU4) (KB4056498) - 14.0.3022.28 (X64)
        Feb  9 2018 19:39:09
        Copyright (C) 2017 Microsoft Corporation
        Express Edition (64-bit) on Linux (Ubuntu 16.04.3 LTS)
2018-02-22 13:46:27.99 Server      UTC adjustment: 0:00
2018-02-22 13:46:27.99 Server      (c) Microsoft Corporation.
2018-02-22 13:46:27.99 Server      All rights reserved.
2018-02-22 13:46:27.99 Server      Server process ID is 4120.
2018-02-22 13:46:27.99 Server      Logging SQL Server messages in file '/var/opt/mssql/log/errorlog'.
2018-02-22 13:46:27.99 Server      Registry startup parameters:
         -d /var/opt/mssql/data/master.mdf
         -l /var/opt/mssql/data/mastlog.ldf
         -e /var/opt/mssql/log/errorlog
2018-02-22 13:46:28.00 Server      SQL Server detected 1 sockets with 2 cores per socket and 2 logical processors per socket, 2 total logical processors; using 2 logical processors based on SQL Server licensing. This is an informational message; no user action is required.
2018-02-22 13:46:28.00 Server      SQL Server is starting at normal priority base (=7). This is an informational message only. No user action is required.
2018-02-22 13:46:28.00 Server      Detected 1584 MB of RAM. This is an informational message; no user action is required.
2018-02-22 13:46:28.00 Server      Using conventional memory in the memory manager.
2018-02-22 13:46:28.17 Server      Buffer pool extension is already disabled. No action is necessary.
2018-02-22 13:46:28.29 Server      InitializeExternalUserGroupSid failed. Implied authentication will be disabled.
2018-02-22 13:46:28.29 Server      Implied authentication manager initialization failed. Implied authentication will be disabled.
2018-02-22 13:46:28.29 Server      Successfully initialized the TLS configuration. Allowed TLS protocol versions are ['1.0 1.1 1.2']. Allowed TLS ciphers are ['ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA:ECDHE-ECDSA-AES128-SHA:AES256-GCM-SHA384:AES128-GCM-SHA256:AES256-SHA256:AES128-SHA256:AES256-SHA:AES128-SHA:!DHE-RSA-AES256-GCM-SHA384:!DHE-RSA-AES128-GCM-SHA256:!DHE-RSA-AES256-SHA:!DHE-RSA-AES128-SHA'].
2018-02-22 13:46:28.33 Server      The maximum number of dedicated administrator connections for this instance is '1'
2018-02-22 13:46:28.33 Server      Node configuration: node 0: CPU mask: 0x0000000000000003:0 Active CPU mask: 0x0000000000000003:0. This message provides a description of the NUMA configuration for this computer. This is an informational message only. No user action is required.
2018-02-22 13:46:28.34 Server      Using dynamic lock allocation.  Initial allocation of 2500 Lock blocks and 5000 Lock Owner blocks per node.  This is an informational message only.  No user action is required.
2018-02-22 13:46:28.34 Server      In-Memory OLTP initialized on lowend machine.
2018-02-22 13:46:28.51 Server      Database Instant File Initialization: enabled. For security and performance considerations see the topic 'Database Instant File Initialization' in SQL Server Books Online. This is an informational message only. No user action is required.
2018-02-22 13:46:28.52 Server      Query Store settings initialized with enabled = 1,
2018-02-22 13:46:28.54 Server      Software Usage Metrics is disabled.
2018-02-22 13:46:28.54 spid7s      Starting up database 'master'.
2018-02-22 13:46:28.84 spid7s      6 transactions rolled forward in database 'master' (1:0). This is an informational message only. No user action is required.
2018-02-22 13:46:28.85 spid7s      0 transactions rolled back in database 'master' (1:0). This is an informational message only. No user action is required.
2018-02-22 13:46:28.85 spid7s      Recovery is writing a checkpoint in database 'master' (1). This is an informational message only. No user action is required.
2018-02-22 13:46:28.93 spid7s      Service Master Key could not be decrypted using one of its encryptions. See sys.key_encryptions for details.
2018-02-22 13:46:28.93 spid7s      An error occurred during Service Master Key initialization. SQLErrorCode=33095, State=8, LastOsError=0.
2018-02-22 13:46:28.98 spid7s      SQL Server Audit is starting the audits. This is an informational message. No user action is required.
2018-02-22 13:46:28.98 spid7s      SQL Server Audit has started the audits. This is an informational message. No user action is required.
2018-02-22 13:46:29.05 spid7s      SQL Trace ID 1 was started by login "sa".
2018-02-22 13:46:29.06 spid7s      Server name is 'dbb9efba6165'. This is an informational message only. No user action is required.
2018-02-22 13:46:29.07 spid21s     Always On: The availability replica manager is starting. This is an informational message only. No user action is required.
2018-02-22 13:46:29.07 spid21s     Always On: The availability replica manager is waiting for the instance of SQL Server to allow client connections. This is an informational message only. No user action is required.
2018-02-22 13:46:29.07 spid7s      Starting up database 'msdb'.
2018-02-22 13:46:29.07 spid9s      Starting up database 'mssqlsystemresource'.
2018-02-22 13:46:29.08 spid9s      The resource database build version is 14.00.3022. This is an informational message only. No user action is required.
2018-02-22 13:46:29.10 spid9s      Starting up database 'model'.
2018-02-22 13:46:29.22 spid18s     A self-generated certificate was successfully loaded for encryption.
2018-02-22 13:46:29.23 spid18s     Server is listening on [ 'any' <ipv4> 1433].
2018-02-22 13:46:29.24 spid18s     Dedicated administrator connection support was not started because it is disabled on this edition of SQL Server. If you want to use a dedicated administrator connection, restart SQL Server using the trace flag 7806. This is an informational message only. No user action is required.
2018-02-22 13:46:29.65 spid7s      44 transactions rolled forward in database 'msdb' (4:0). This is an informational message only. No user action is required.
2018-02-22 13:46:29.66 spid9s      Polybase feature disabled.
2018-02-22 13:46:29.66 spid9s      Clearing tempdb database.
2018-02-22 13:46:29.67 spid7s      0 transactions rolled back in database 'msdb' (4:0). This is an informational message only. No user action is required.
2018-02-22 13:46:29.68 spid7s      Recovery is writing a checkpoint in database 'msdb' (4). This is an informational message only. No user action is required.
2018-02-22 13:46:29.69 spid7s      Error: 17053, Severity: 16, State: 1.
2018-02-22 13:46:29.69 spid7s      /var/opt/mssql/data/MSDBLog.ldf: Operating system error 31(A device attached to the system is not functioning.) encountered.
2018-02-22 13:46:30.49 spid9s      Starting up database 'tempdb'.
2018-02-22 13:46:30.70 spid7s      Could not write a checkpoint record in database msdb because the log is out of space. Contact the database administrator to truncate the log or allocate more space to the database log files.
2018-02-22 13:46:30.71 spid7s      Recovery completed for database msdb (database ID 4) in 2 second(s) (analysis 3 ms, redo 6 ms, undo 16 ms.) This is an informational message only. No user action is required.
2018-02-22 13:46:30.96 spid23s     The Service Broker endpoint is in disabled or stopped state.
2018-02-22 13:46:30.98 spid23s     The Database Mirroring endpoint is in disabled or stopped state.
2018-02-22 13:46:31.01 spid23s     Service Broker manager has started.
2018-02-22 13:46:31.48 spid7s      Database 'master' is upgrading script 'msdb110_upgrade.sql' from level 234884032 to level 234884046.
2018-02-22 13:46:31.48 spid7s      ----------------------------------
2018-02-22 13:46:31.48 spid7s      Starting execution of PRE_MSDB.SQL
2018-02-22 13:46:31.48 spid7s      ----------------------------------
2018-02-22 13:46:31.57 spid7s      Setting database option COMPATIBILITY_LEVEL to 100 for database 'msdb'.
2018-02-22 13:46:31.62 spid7s      -----------------------------------------
2018-02-22 13:46:31.62 spid7s      Starting execution of PRE_SQLAGENT100.SQL
2018-02-22 13:46:31.62 spid7s      -----------------------------------------
2018-02-22 13:46:31.62 spid7s      Setting database option COMPATIBILITY_LEVEL to 140 for database 'msdb'.
2018-02-22 13:46:31.65 spid7s      Configuration option 'allow updates' changed from 1 to 1. Run the RECONFIGURE statement to install.
2018-02-22 13:46:31.65 spid7s      Configuration option 'allow updates' changed from 1 to 1. Run the RECONFIGURE statement to install.
2018-02-22 13:46:32.74 spid7s      Error: 17053, Severity: 16, State: 1.
2018-02-22 13:46:32.74 spid7s      /var/opt/mssql/data/MSDBData.mdf: Operating system error 31(A device attached to the system is not functioning.) encountered.
2018-02-22 13:46:32.74 spid7s      Error: 1105, Severity: 17, State: 2.
2018-02-22 13:46:32.74 spid7s      Could not allocate space for object 'dbo.upgrade_perms'.'indnc' in database 'msdb' because the 'PRIMARY' filegroup is full. Create disk space by deleting unneeded files, dropping objects in the filegroup, adding additional files to the filegroup, or setting autogrowth on for existing files in the filegroup.
2018-02-22 13:46:32.75 spid7s      Error: 912, Severity: 21, State: 2.
2018-02-22 13:46:32.75 spid7s      Script level upgrade for database 'master' failed because upgrade step 'msdb110_upgrade.sql' encountered error 1105, state 2, severity 17. This is a serious error condition which might interfere with regular operation and the database will be taken offline. If the error happened during upgrade of the 'master' database, it will prevent the entire SQL Server instance from starting. Examine the previous errorlog entries for errors, take the appropriate corrective actions and re-start the database so that the script upgrade steps run to completion.
2018-02-22 13:46:32.76 spid7s      Error: 3417, Severity: 21, State: 3.
2018-02-22 13:46:32.76 spid7s      Cannot recover the master database. SQL Server is unable to run. Restore master from a full backup, repair it, or rebuild it. For more information about how to rebuild the master database, see SQL Server Books Online.
2018-02-22 13:46:32.76 spid7s      SQL Trace was stopped due to server shutdown. Trace ID = '1'. This is an informational message only; no user action is required.

This may be related to the fact that I recently enabled Bitlocker on my host machine.

It seems this is not related to Bitlocker as other tested machines are also having this same problem.


Fix generated file duplication

For dir examples/echo, there are examples/echo/src/protos/hello_echo.rs and examples/echo/src/echo/grpc.examples.echo.rs, which is duplicated.
Let's clarify those:

src/echo/ is source dir.
src/generated/ is generated source dir.
proto/ is *.proto dir.

Why commit generated file(examples/echo/src/generated/grpc.examples.echo.rs) to the repo?
It's helpful for code navigation, so keep it (temporarily).
Why modified generated file?
To pass rustfmt and license check, keep those edit, and I will fix those check.

LGTM


RTMP ingest is not stable on 2.1.4

RTMP ingest is not stable on 2.1.4
I use OBS stream to NMS and it will disconnect in few minutes.

10/31/2019 09:22:00 29335 [INFO] Node Media Server v2.1.4
10/31/2019 09:22:00 29335 [INFO] Node Media Rtmp Server started on port: 1935
10/31/2019 09:22:00 29335 [INFO] Node Media Http Server started on port: 8000
10/31/2019 09:22:00 29335 [INFO] Node Media WebSocket Server started on port: 8000
10/31/2019 09:22:00 29335 [INFO] Node Media Https Server started on port: 8443
10/31/2019 09:22:00 29335 [INFO] Node Media WebSocketSecure Server started on port: 8443
[NodeEvent on preConnect] id=UL6R06CK args={"app":"live","type":"nonprivate","flashVer":"FMLE/3.0 (compatible; FMSc/1.0)","swfUrl":"rtmp://vconf.open-cdn.com:1935/live","tcUrl":"rtmp://vconf.open-cdn.com:1935/live"}
10/31/2019 09:22:02 29335 [INFO] [rtmp connect] id=UL6R06CK ip=::ffff:<IP_ADDRESS> app=live args={"app":"live","type":"nonprivate","flashVer":"FMLE/3.0 (compatible; FMSc/1.0)","swfUrl":"rtmp://vconf.open-cdn.com:1935/live","tcUrl":"rtmp://vconf.open-cdn.com:1935/live"}
[NodeEvent on postConnect] id=UL6R06CK args={"app":"live","type":"nonprivate","flashVer":"FMLE/3.0 (compatible; FMSc/1.0)","swfUrl":"rtmp://vconf.open-cdn.com:1935/live","tcUrl":"rtmp://vconf.open-cdn.com:1935/live"}
[NodeEvent on prePublish] id=UL6R06CK StreamPath=/live/myLive args={}
10/31/2019 09:22:03 29335 [INFO] [rtmp publish] New stream. id=UL6R06CK streamPath=/live/myLive streamId=1
[NodeEvent on postPublish] id=UL6R06CK StreamPath=/live/myLive args={}
10/31/2019 09:22:03 29335 [INFO] [rtmp publish] Handle audio. id=UL6R06CK streamPath=/live/myLive sound_format=10 sound_type=2 sound_size=1 sound_rate=3 codec_name=AAC 44100 2ch
10/31/2019 09:22:03 29335 [INFO] [rtmp publish] Handle video. id=UL6R06CK streamPath=/live/myLive frame_type=1 codec_id=7 codec_name=H264 640x360
10/31/2019 09:23:02 29335 [INFO] [rtmp ping timout] id=UL6R06CK
10/31/2019 09:23:02 29335 [INFO] [rtmp publish] Close stream. id=UL6R06CK streamPath=/live/myLive streamId=1
[NodeEvent on donePublish] id=UL6R06CK StreamPath=/live/myLive args={}
10/31/2019 09:23:02 29335 [INFO] [rtmp disconnect] id=UL6R06CK
[NodeEvent on doneConnect] id=UL6R06CK args={"app":"live","type":"nonprivate","flashVer":"FMLE/3.0 (compatible; FMSc/1.0)","swfUrl":"rtmp://vconf.open-cdn.com:1935/live","tcUrl":"rtmp://vconf.open-cdn.com:1935/live"}

ฺีBut, It is stable on 21.3.  stream a week without any problem.
Thanks.

Sorry it clone from master, not 2.1.4 released
After test 2.1.4 released. it work fine.

Git version has a ping implementation commit, I haven't tested it yet.
Ffmpeg works fine, but obs has this problem.
Thanks for your feedback.


Stop duplicate suspended role operation

Stops the execution of the processSuspendedRole function if they already contain the role.

:tada: This PR is included in version 6.9.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 6.9.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Use of negatives during training

I'm looking at the code and seems like the per-query negatives are never used when calculating the loss: https://github.com/nomic-ai/contrastors/blob/e326624a4fb531fad15d099d1d310547a62d275d/src/contrastors/trainers/text_text.py#L194C13-L194C29 ?
So the only negatives during contrastive loss are the in-batch negatives?

for weakly supervised contrastive retraining, yes we only use in batch negatives. for fine tuning we do use hard negatives. the link above is old code and instead the negatives get added alongside the documents: https://github.com/nomic-ai/contrastors/blob/main/src/contrastors/dataset/text_text_loader.py#L419
there’s a bunch of bad indirection here that should be cleaned up eventually

Ah I see, so you add them in the dataloader itself. Thanks for confirming!

Ah I see, so you add them in the dataloader itself. Thanks for confirming!


Create FAQs in README

How markets work (using CCXT)
Order book building

Refer to ticker functionality in #142


Solve #59: action :destroy fails on powered off VM

Description
A quick fix where we check that a VM isn't powered off before shutting it down.
Issues Resolved
#59
Check List
Not really tested since there is just one line of code added, but it fixed my problem.

awesome thanks!


[Kernel] Add punica dimensions for Granite 13b

This PR adds a few more dimensions to the punica kernel to work with the 13b family of IBM granite models.
I followed this previous PR: https://github.com/vllm-project/vllm/pull/4850/files
Please let me know if there is anything else I need to add, thanks!
FIX (N/A)
BEFORE SUBMITTING, PLEASE READ THE CHECKLIST BELOW AND FILL IN THE DESCRIPTION ABOVE

 PR Checklist (Click to Expand)
Thank you for your contribution to vLLM! Before submitting the pull request, please ensure the PR meets the following criteria. This helps vLLM maintain the code quality and improve the efficiency of the review process.
PR Title and Classification
Only specific types of PRs will be reviewed. The PR title is prefixed appropriately to indicate the type of change. Please use one of the following:

[Bugfix] for bug fixes.
[CI/Build] for build or continuous integration improvements.
[Doc] for documentation fixes and improvements.
[Model] for adding a new model or improving an existing model. Model name should appear in the title.
[Frontend] For changes on the vLLM frontend (e.g., OpenAI API server, LLM class, etc.)
[Kernel] for changes affecting CUDA kernels or other compute kernels.
[Core] for changes in the core vLLM logic (e.g., LLMEngine, AsyncLLMEngine, Scheduler, etc.)
[Hardware][Vendor] for hardware-specific changes. Vendor name should appear in the prefix (e.g., [Hardware][AMD]).
[Misc] for PRs that do not fit the above categories. Please use this sparingly.

Note: If the PR spans more than one category, please include all relevant prefixes.
Code Quality
The PR need to meet the following code quality standards:

We adhere to Google Python style guide and Google C++ style guide.
Pass all linter checks. Please use format.sh to format your code.
The code need to be well-documented to ensure future contributors can easily understand the code.
Include sufficient tests to ensure the project to stay correct and robust. This includes both unit tests and integration tests.
Please add documentation to docs/source/ if the PR modifies the user-facing behaviors of vLLM. It helps vLLM user understand and utilize the new features or changes.

Notes for Large Changes
Please keep the changes as concise as possible. For major architectural changes (>500 LOC excluding kernel/data/config/test), we would expect a GitHub issue (RFC) discussing the technical design and justification. Otherwise, we will tag it with rfc-required and might not go through the PR.
What to Expect for the Reviews
The goal of the vLLM team is to be a transparent reviewing machine. We would like to make the review process transparent and efficient and make sure no contributor feel confused or frustrated. However, the vLLM team is small, so we need to prioritize some PRs over others. Here is what you can expect from the review process:

 After the PR is submitted, the PR will be assigned to a reviewer. Every reviewer will pick up the PRs based on their expertise and availability.
 After the PR is assigned, the reviewer will provide status update every 2-3 days. If the PR is not reviewed within 7 days, please feel free to ping the reviewer or the vLLM team.
 After the review, the reviewer will put an  action-required label on the PR if there are changes required. The contributor should address the comments and ping the reviewer to re-review the PR.
 Please respond to all comments within a reasonable time frame. If a comment isn't clear or you disagree with a suggestion, feel free to ask for clarification or discuss the suggestion.

Thank You
 Finally, thank you for taking the time to read these guidelines and for your interest in contributing to vLLM. Your contributions make vLLM a great tool for everyone!

@Yard1 @mgoin thanks for the approvals!
It looks like the AMD tests have been waiting for 2 days, do I need to do something to re-trigger those?

@joerunde We were having several CI issues last week. I'd recommend merging with latest main to get the latest state


Host documentation to readthedocs

After #11 all the requirements are set to host the documentation on rtd.

https://unraphael.readthedocs.io/


Review Fixes and Enhancements to the SDK

setRange and getRange methods added to PriceBookPricing

Fixed an issue where the right error was not thrown from the uploadPhoto method when file size
exceeds 20mb

Added methods to extract the error message from its enclosing enum case

JSON root Key now has a default value of DATA since most handlers use this value . Other handlers
can override this value using setJSONRootKey method

Response Root Key is now Non-Optional in both CommonAPIResponse and APIResponse since it
has a  default value of DATA

Fixed an issue where the  initialiseRequest method of the API Request Class would stall when
isOauth == false

ZCRMSubForm setters now have optional parameters to accomodate nil values

Added validation to prevent uploading files other than the supported ones (GIF,PNG,BMP,JPG)  in CRM

Reverted Back ZCRMSubForm setters to have non-optional setters .
JSON Root Keys now have their own Struct in Common Utils Class

@karthikShiva1997  Resolve merge conflicts.


Deeply nesting relation using via does not work

This PR adds a failing test from #7625 by @fernandezekiel and adjusted test data that fails even one of the existing relation tests.
these test failures cover the issue described in #5341

The problem lies in ActiveRelationTrait bucket building among these lines: https://github.com/yiisoft/yii2/blob/1c200626287588b53b51c3abec4ba653c0962f31/framework/db/ActiveRelationTrait.php#L240-L251

What's the status of deeply nesting relations with via? Is there an AR solution for this in Yii2?  I'm getting an error when trying to chain two relations. It's looking for the property in the primary model instead of the next relation in the chain.  I was able to chain as many as I needed in Yii1.  I hope we didn't lose this functionality because it was extremely useful for my relational model describing biological samples, in which I frequently need to traverse 4 or more tables.
If this is not possible, is there some documentaton on writing sql joins within relations?

It is currently not possible. I am planning to try fixing this for 2.0.13

Hi there!
Thanks for your great work!
Need this fix
Hope soon we will see it :)

@ztdan4ik this works. Just use via instead of  via_table for chaining relations.

@GlyphDataServices
I've problem exactly with via() and joinWith()
My problem is same like in tests https://github.com/yiisoft/yii2/commit/7ec045bfa4c7690ca9942ed94b1b4f2f78876a88#diff-dca0f800c4dd790fb5d5914365547549R1194
See the screenshots

Model relations http://i.de-v.net/1528213816.png
ModelSearch http://i.de-v.net/1528213884.png
Result http://i.de-v.net/1528213917.png

In this case work fine  But this way looks not good.

@ztdan4ik two possible issues I've had to work around-

try creating in Orders model public $digitId; as a dummy param, even if it's not an actual model param.
I can't be sure without seeing your db schema, but your ProductItem relation looks wrong.  Does it really have an ID column?  Looks like a pivot table that should have a product_id and item_id category?

@GlyphDataServices
Thanks for your reply
See please my schema
Dummy param not solving the problem. First it's asking for $digit_id, then it's asking for $item_id, then $product_id... And in result I see Trying to get property of non-object in my view because actually relations is not chaining :(

@ztdan4ik your schema is a bit confusing. Why are you using product_digit_items if they are all hasOne relations?  This sounds like a m2m pivot table but all your relations are hasOne.  I would expect to see digit_id and item_id columns in this table.
It's hard for me to make sense of this schema.
But regardless, I can confirm that I've been able to chain my relations using both hasMany and hasOne.
Also note that I set an alias for all my relations, even if it's the same as the function name.

	/**
	 * @return \yii\db\ActiveQuery
	 */
	public function getLibrariesIsolates()
	{
		return $this->hasMany(LibrariesIsolates::className(), ['library_id' => 'id'])->alias('librariesIsolates');
	}

	/**
	 * @return \yii\db\ActiveQuery
	 */
	public function getIsolates()
	{
		return $this->hasMany(Isolates::className(), ['id' => 'isolate_id'])->via('librariesIsolates')->alias('isolates');
	}

	/**
	 * @return \yii\db\ActiveQuery
	 */
	public function getSamplesIsolates()
	{
		return $this->hasMany(SamplesIsolates::className(), ['isolate_id' => 'isolate_id'])->via('librariesIsolates')->alias('samplesIsolates');
	}

	/**
	 * @return \yii\db\ActiveQuery
	 */
	public function getSamples()
	{
		return $this->hasMany(Samples::className(), ['id' => 'sample_id'])->via('samplesIsolates')->alias('samples');
	}

	/**
	 * @return \yii\db\ActiveQuery
	 */
	public function getOrganisms()
	{
		return $this->hasMany(Organisms::className(), ['id' => 'organism_id'])->via('samples')->alias('organisms');
	}

	/**
	 * @return \yii\db\ActiveQuery
	 */
	public function getOrganismsPrograms()
	{
		return $this->hasMany(OrganismsPrograms::className(), ['organism_id' => 'id'])->via('organisms')->alias('organismsPrograms');
	}

	/**
	 * @return \yii\db\ActiveQuery
	 */
	public function getPrograms()
	{
		return $this->hasMany(Programs::className(), ['id' => 'program_id'])->via('organismsPrograms')->alias('programs');
	}

@GlyphDataServices
Shop
has Product[] Windows 8 and Windows 10
Windows 10 has ProductItem[] Windows 10 (two copies per order) and Windows 10 (one copy per order)
Windows 10 (two copies) has ProductDigit[] №1 (created by manager 1) and №2 (created by manager 2)
№1 has ProductDigitItem[] license code 1, license code 2, license code 3
№2 has ProductDigitItem[] license code 1, license code 2, license code 3
So,
Shops hasMany Product
each Product hasMany ProductItem
each ProductItem hasMany ProductDigit
each ProductItemDigit hasMany ProductDigitItem
each ProductDigitItem hasMany Orders
In back way it's always o2m, like you seen in my schema
I'll try wit aliases and give feedback here later


graphics/amd: use modsettings driver

See https://github.com/NixOS/nixpkgs/pull/218437

cc @britter

We use this for quite a while in nixos-hardware without any complaints. So I think this works fine. @britter let me know if this works for you.

@Mic92 looking at the issue and the default value for services.xserver.videoDrivers I wonder whether it makes sense to have it in facter modules.

@britter you mean because it's the default this xserver service anyway?

@Mic92 yes exactly. What facter-modules does here seems to be no-op.


rs-imshow issue

I guess after connecting D435 and run
./rs-imshow
I should be able to have a window and can see the image stream but I didn't see anything. The program just exit by itself.
![problem](https://user-images.githubusercontent.com/25599902/60644555-b9b87c
I try another example capture
./rs-capture
I can get the image stream.

80-9df3-11e9-8f9b-e2fd7b398f5f.png)
Example code is not modified.Any idea what's happening here?
Thanks

Sorry about the first image. I delete a ) accidentally. it is

It just shows I pressed enter after I input ./rs-imshow the program exit immediately

I don't assume I need modify the original code of im-show to get the image stream. However, seems I have to do it.
The original code loop part is
    while (waitKey(1) < 0 && getWindowProperty(window_name, WND_PROP_AUTOSIZE) >= 0)
    {
        rs2::frameset data = pipe.wait_for_frames(); // Wait for next set of frames from the camera
        rs2::frame depth = data.get_depth_frame().apply_filter(color_map);

        // Query frame size (width and height)
        const int w = depth.as<rs2::video_frame>().get_width();
        const int h = depth.as<rs2::video_frame>().get_height();

        // Create OpenCV matrix of size (w,h) from the colorized depth data
        Mat image(Size(w, h), CV_8UC3, (void*)depth.get_data(), Mat::AUTO_STEP);

        // Update the window with new data
        imshow(window_name, image);
    }

I simply change it to
    while (1)// && getWindowProperty(window_name, WND_PROP_AUTOSIZE) >= 0
    {
        rs2::frameset data = pipe.wait_for_frames(); // Wait for next set of frames from the camera
        rs2::frame depth = data.get_depth_frame().apply_filter(color_map);

        // Query frame size (width and height)
        const int w = depth.as<rs2::video_frame>().get_width();
        const int h = depth.as<rs2::video_frame>().get_height();

        // Create OpenCV matrix of size (w,h) from the colorized depth data
        Mat image(Size(w, h), CV_8UC3, (void*)depth.get_data(), Mat::AUTO_STEP);

        // Update the window with new data
        imshow(window_name, image);
        waitKey(1);
    }

Then I can get the image stream

EM...The example code should change seems or maybe it is my personal setting problem?


Generating short videos with 1.2?

Hi, I previously had success training models that could output a small number of frames (e.g. 16) with the OpenSora 1.1 architecture. However, when training with the new VAE and rectified flow, my model fails catastrophically on videos with 16 frames or less and simply outputs noise (example attached), even though it is being trained on videos of the same length. The model works fine on longer videos.
I noticed in the OpenSora 1.2 training configs that you moved to a minimum of 51 frames in the bucket configuration. Is there a reason why the new VAE and/or rectified flow should not work with short videos?

@aweitz Hello, I have encountered a similar problem. I tried to use the v1.2 model to train a 16-frame video, but the loss converged to about 1 and stopped decreasing, and the sampled video was also noisy. Have you tried to train a model with more frames on version 1.2? Will the effect be more normal? Looking forward to hearing from you soon.

Yes at 32 frames and above, 1.2 was able to learn/generate videos correctly.


Is it possible to listen to events of an inputbox?

If I accept input using
window.showInputBox();

Is there any way I can listen to key change events? I am writing an extension and I want to accept an input from the user and I want to autocomplete when the user hits tab like most terminals. If this is not possible inside the inputbox is there any other control I can use to achieve this?

@mithun-daa currently not, but it seems you want a lot more, also the ability to alter the input after the call to showInputBox.

Perhaps hidden in #3579 was the request for an extension to have this functionality as a part of the command structure (and not particular to an input box).  In that issue, it is described that an extension author may want to have command 'options' show up as they type a command name.  For instance, given commands today that are hard-coded as:
team create bug
team create task
team create work item
The functionality I'm looking for would be for the command palette to show "team create" by default and when "team create" was either completed (or the only command option left based on matching) would the values "bug", "task" and "work item" would appear.  This allows extension developers to provide "dynamic" commands.
In addition (or maybe alternatively), it would be welcome for a command to take a variable number of arguments.  The command that gets called could then take action based on what was passed in to the command.  In the example above, the command could be "team create", then one of the 3 options would appear, and the user could type even more values (that would be passed to the command that was selected).

I thought i'd give it a go at writing an extension to improve fast file searching (see https://github.com/17twenty/fzf-go ) but without a way to get events from the inputbox it's pretty useless.
The part I don't get is that the functionality already exists as a number of the existing dialogs use the concept.
I want to be able to take an input, shell out and get results based on that input, and then as the input changes do more processing etc..
+-------------------------------------------+
|                                           |
| > Enter file parts here                   |
|                                           |
+-------------------------------------------+
| Downloads/lol_frontend.png                |
| Downloads/nicetrace.go                    |
| Downloads/BuildingSoftwareProductsInAWeeke|
| Downloads/TheOpportunityAnalysisCanvas.pdf|
| Downloads/9781785286421-PRACTICAL_LINUX_SE|
| Downloads/google-apps-security-and-complia|
+-------------------------------------------+

any progress of this ?

Being able to have any input in the QuickPickList would be also needed for my extension.

Pretty please? Vim users will love you forever.

Assign this to me as I'm interested in it and I need it.

This would also open up for navigating file directories like the C-x C-f of EMACS

bump @rebornix was interested in doing it, and it would clear the way for #23169

+1

+1

+1 - I would like to focus on input box so I can paste text, anyone know if this is possible yet?

The new API allows for listening for value changes on the input field and dynamically update the list of items in a "QuickPick": https://github.com/Microsoft/vscode/issues/53327 with an example: https://github.com/Microsoft/vscode-extension-samples/blob/master/quickinput-sample/src/quickOpen.ts

Available for a while: https://github.com/Microsoft/vscode/blob/d3a6a234497b9028b02f20465b9b6d1a0158d2f1/src/vs/vscode.d.ts#L6804


Minor follow-up/tweaks for CI (for working with templates and Windows test parallelization)

Noting things that need small updating or tweaks here and there after the big "templates" (#41 + #46) and "Windows test parallelization" (#50) PRs.

Job dependencies: The "Release Branch Build" and "Nightly Release" pipelines have an "upload artifacts" job. This used to depend on the "Windows" job, and still does, but it should actually now depend on the "Windows_RendererTests" job. (So it doesn't try to upload binaries for untested code).

Semi-related: Windows_RendererTests: This could possibly use a nice displayName. For example, for macOS there is macOS_tests --> displayName: macOS test (though this is vague, and I would prefer macOS package tests, so maybe the displayName on Windows can be Windows renderer tests.

Cache identifier: Most of the "bootstrap breaking" type changes we would make (Installing recent node and npm, installing recent compiler toolchains, installing apt packages, etc. etc.) have been moved from script/vsts/platforms/ [macos.yml, linux.yml, windows.yml] to script/vsts/platforms/templates/preparation.yml. We should add preparation.yml to the cache identifier.
Linux container comment: The Linux build no longer runs in a container. The comment about "this image is the host for the container" is not applicable to our fork anymore and can be deleted.
Slow build tools installation happens in Windows test jobs: We should not be upgrading npm and windows-build-tools in the Windows renderer test jobs. Use the npm bundled with Node. If I understand correctly, the windows-build-tools aren't even used when running the Renderer tests. Installing the environment takes about 9 minutes before tests even begin! This could speed up "run failed jobs" by quite a bit, both in time before we can press that button, and time it takes for re-runs to complete.

Can look into if such speedups are possible on macOS too, I suppose. But I don't think environment setup time is as egregious, and the package tests do actually need to build native code, so I think this optimization woul not be applicable the the macOS test jobs.

miscellaneous cleanup: These PRs have unearthed some odd things we and upstream do in CI that could be cleaned up. For example:

There is a mis-labeled "Install Windows Build Dependencies" script step. This actually just installs the node_modules for script/vsts. It is totally unused after being installed here. We should just delete this, it doesn't appear to do anything beside waste a couple minutes of time under CI on Windows.

(The script/vsts packages are needed for GetReleaseVersion and the "Upload Artifacts" steps of the "Release Branch Build" and "Nightly Release" pipelines. But the script/vsts/node_modules dependencies are already properly installed for those. We're just doing it an extra, totally unnecessary additional time on Windows.)

Okay, these are needed to run script/vsts/windows-run.js on Windows x86. We should condition this script to only run on Windows x86, and not run it on windows x64.

There may be more that I didn't noticed, or saw and forgot about. Will try to post them here (or in a PR!) once I see/remember them.

Not really a fixup after the templatization/parallelization PRs, but another miscellaneous tweak to do:
if we don't pass REPO_OWNER, MAIN_REPO and NIGHTLY_RELEASE_REPO in as env: variables in the yaml, we can default the values to atom, atom, and atom-nightly-releases respectively in the JavaScript files.
That way:

Upstream can merge our fork-friendly changes having to set any variables in Azure Pipelines UI. Things "just work" for them, no changes needed.
We only have to set one variable (REPO_OWNER = atom-ide-community), not three.

Some stuff identified to try from #78

Consolidate camelCase buildArch and ALL_CAPS_WITH_UNDERSCORES BUILD_ARCH into just one variable, preferably buildArch as it's easy on the eyes.
See if we can get away with not installing the script\vsts\node_modules dependencies on Windows x64, since they are never really used during a normal everything-went-well "bootstrap, build test" CI run of Windows x64.

It's still used to upload crash reports from CI, when something goes wrong, but we don't look at those crash reports. We can turn that off here, but we can't turn it off upstream unless upstream similarly doesn't care about the CI-generated crash reports.

Some stuff identified to try from #78

Consolidate camelCase buildArch and ALL_CAPS_WITH_UNDERSCORES BUILD_ARCH into just one variable, preferably buildArch as it's easy on the eyes.

BUILD_ARCH is already defined in Azure. So that's my preferred way.

See if we can get away with not installing the script\vsts\node_modules dependencies on Windows x64, since they are never really used during a normal everything-went-well "bootstrap, build test" CI run of Windows x64.

This should be a separate PR.

It's still used to upload crash reports from CI, when something goes wrong, but we don't look at those crash reports. We can turn that off here, but we can't turn it off upstream unless upstream similarly doesn't care about the CI-generated crash reports.

I look at those. They are useful in some cases.

I'm honestly s bit confused why crash reports need to be uploaded to S3, perhaps because Azure Pipelines doesn't store them forever.
We certainly don't need to try to upload gem to some S3 bucket.
As for buildArch, the snippet you just linked was exactly what I was mainly hoping to factor out. It's all redundant, and the CI is actually pretty minimal and readable if you take out some of these odd workarounds for things. Maybe I'll do a branch to prove the point that this can and should be simpler IMO.

We do more preparation than is necessary (we run the whole preparation.yml template) before making a Nightly release.
We can speed up by dropping the template from Nightly in the Release job, or do what upstream does and only "install a pinned version of Node" as preparation, no further preparation needed.
Example of upstream's Nightly pipeline preparing quickly with only one step (install Node): https://github.visualstudio.com/Atom/_build/results?buildId=57005&view=logs&j=8d802004-fbbb-5f17-b73e-f23de0c1dec8

We install npm twice during the Windows Build job.

We do more preparation than is necessary (we run the whole preparation.yml template) before making a Nightly release.
We can speed up by dropping the template from Nightly in the Release job... or do what upstream does and only install a pinned version of Node as preparation, no further preparation needed.
Example of upstream's Nightly pipeline preparing quickly with only one step (install Node): github.visualstudio.com/Atom/_build/results?buildId=57005&view=logs&j=8d802004-fbbb-5f17-b73e-f23de0c1dec8

The nightly build is not performance-critical. When I made the templates I was aware of the extra steps that happen nightly. However, easier maintenance is more important than shaving 1min from a CI job that runs once in a while.

We install npm twice during the Windows Build job.

These should be fixed in #44


Added the option to specify a subPath

I'm using this to share a config and data volume across multiple pods

Can you add a commented out option to the chart's values.yaml, to help users find this?
Thanks for the PR! 😄

Will do, hopefully today.

Thanks @gandazgul and @billimek!

Omg thank you. I totally forgot about this.