CFFL

CFFL

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_0b7lh_cdhu/clone/recipe/meta.yaml:32: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_0b7lh_cdhu/clone/recipe/meta.yaml:33: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_0b7lh_cdhu/clone/recipe/meta.yaml:35: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_0b7lh_cdhu/clone/recipe/meta.yaml:36: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_0b7lh_cdhu/clone/recipe/meta.yaml:36: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_0b7lh_cdhu/clone/recipe/meta.yaml:37: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_0b7lh_cdhu/clone/recipe/meta.yaml:38: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_0b7lh_cdhu/clone/recipe/meta.yaml:39: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_0b7lh_cdhu/clone/recipe/meta.yaml:40: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_0b7lh_cdhu/clone/recipe/meta.yaml:59: has_run_test_and_commands: Test commands are not executed when run_test.sh (.bat...) is present.
ERROR: /tmp/abs_0b7lh_cdhu/clone/recipe/meta.yaml:71: missing_dev_url: The recipe is missing a dev_url
ERROR: /tmp/abs_0b7lh_cdhu/clone/recipe/meta.yaml:71: http_url: http://igraph.org/c/ is not https
ERROR: /tmp/abs_0b7lh_cdhu/clone/recipe/meta.yaml:71: missing_documentation: The recipe is missing a doc_url or doc_source_url
ERROR: /tmp/abs_0b7lh_cdhu/clone/recipe/meta.yaml:72: missing_documentation: The recipe is missing a doc_url or doc_source_url
ERROR: /tmp/abs_0b7lh_cdhu/clone/recipe/meta.yaml:72: missing_dev_url: The recipe is missing a dev_url
ERROR: /tmp/abs_0b7lh_cdhu/clone/recipe/meta.yaml:72: http_url: http://igraph.org/c/ is not https
Errors were found


scrollMouse not working

Looks like the scrollMouse does not work, or maybe i'm missing something?
Steps to Reproduce
const robot = require("robotjs");
async scrolll() {
robot.scrollMouse(0, 50);
}
Context
I want to scroll until the bottom of the page, but nothing happens with the code above. I have tried changing to (0, 'down') and vice-versa ('down, 0), (50,0) but no luck. Am I doing something wrong?
Your Environment

RobotJS version: 0.5.1
Types/node: 7.0.12
Node.js version: 6.10.x
npm version: 6.4.1
Operating System: Mac 10.13.3
Browser: Firefox 62.0
Resolution: 1600x1200

Try using a negative value. From the documentation:

The magnitude and direction of the scroll up and down. Down is negative.

@EJTH  thanks. I tried adding negative values, but no luck. (0, -50) or (0, -100) but no luck.

Found another solution

@kathagcam I have the same bug but on a windows system while trying to use it with electron what was your solution?

I'm also experiencing the same thing, Windows 10. Keen to find a solution.

@Smilebags I'm also experiencing the same thing, Windows 10. Keen to find a solution...
Did you find another solution. The scrolling of robotjs does not seem to work on windows.

@nickreyntjens My solution was to modify the source code and rebuild. I can't remember exactly what it was but I think there was a PR here that solved the issue but wasn't merged.

Same Problem here. Did someone have a Solution?

For anybody having the same issue: The latest release 0.6.0 from December 2019 does not include the bespoken changes. However, one can use the RobotJS module directly from GitHub as dependency in a package.json - which makes scrolling work for me on Windows:
"dependencies": {
  "robotjs": "git://github.com/octalmage/robotjs.git#8ae87a91f06f49559f0db387bc2bd1ea01419880"
}

That solved it for me too. For anyone else who wants to use this solution, since github removed the git:// protocol you have to use https:// instead now. Like this
"dependencies": {
  "robotjs": "https://github.com/octalmage/robotjs.git#8ae87a91f06f49559f0db387bc2bd1ea01419880"
}


Cannot connect to host api.capmonster.cloud:443 ssl:True

Hi bro,
I use sample code and change APIKEY my account has over 2usd but error:
from exc aiohttp.client_exceptions.ClientConnectorCertificateError: Cannot connect to host api.capmonster.cloud:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_ FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)')]
this is code:
`
import asyncio
from capmonstercloudclient import CapMonsterClient, ClientOptions
from capmonstercloudclient.requests import RecaptchaV2ProxylessRequest
client_options = ClientOptions(api_key='KEY')
cap_monster_client = CapMonsterClient(options=client_options)
async def solve_captcha():
return await cap_monster_client.solve_captcha(recaptcha2request)
recaptcha2request = RecaptchaV2ProxylessRequest(websiteUrl="https://lessons.zennolab.com/captchas/recaptcha/v2_simple.php?level=high",
websiteKey="6Lcg7CMUAAAAANphynKgn9YAgA4tQ2KI_iqRyTwd")
responses = asyncio.run(solve_captcha())
print(responses)
`
Please help me

I'm using window 10, Python 3.10.5 and I have tried many times since yesterday. I have contacted capmonster.cloud team but no response yet.
previously i used python api code below, but since 12-11 it is broken, so i have to check latest documentation from https://docs.capmonster.cloud/docs/getting-start/ and got the above problem.
here is the old code that did not run 2 days ago:
`API_KEY = 'my_key'
WEBSITE_KEY = "6Lcg7CMUAAAAANphynKgn9YAgA4tQ2KI_iqRyTwd"
async def solve_captcha(api_key, website_url, website_key):
client_options = ClientOptions(api_key=api_key)
cap_monster_client = CapMonsterClient(options=client_options)
recaptcha_request = RecaptchaV2ProxylessRequest(websiteUrl=website_url, websiteKey=website_key)
return await cap_monster_client.solve_captcha(recaptcha_request)
def get_captcha_solution(api_key, website_url, website_key):
try:
result = asyncio.run(solve_captcha(api_key, website_url, website_key))
print(result)
return result['gRecaptchaResponse']
except Exception as e:
return str(e)
def main():
captcha_result = get_captcha_solution(API_KEY, "https://lessons.zennolab.com/captchas/recaptcha/v2_simple.php?level=high", WEBSITE_KEY)
main()`

can you try following on a clean environment?
python -m pip install --upgrade pip
pip install --upgrade certifi
pip install capmonstercloudclient

seems to be the problem with local certificates

After running your 3 commands another error appears:

E:\Python\test>python main.py
C:\Users\Thanhansoft\AppData\Local\Programs\Python\Python312\Lib\site-packages\pydantic_internal_model_construction.py:61: UserWarning: validate_urls_array overrides an existing Pydantic @validator decorator
warnings.warn(f'{k} overrides an existing Pydantic {existing.decorator_info.decorator_repr} decorator')
Traceback (most recent call last):
File "E:\Python\test\main.py", line 15, in
responses = asyncio.run(solve_captcha())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Thanhansoft\AppData\Local\Programs\Python\Python312\Lib\asyncio\runners.py", line 194, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "C:\Users\Thanhansoft\AppData\Local\Programs\Python\Python312\Lib\asyncio\runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Thanhansoft\AppData\Local\Programs\Python\Python312\Lib\asyncio\base_events.py", line 687, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "E:\Python\test\main.py", line 10, in solve_captcha
return await cap_monster_client.solve_captcha(recaptcha2request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Thanhansoft\AppData\Local\Programs\Python\Python312\Lib\site-packages\capmonstercloudclient\CapMonsterCloudClient.py", line 90, in solve_captcha
return await self._solve(request, get_timeouts())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Thanhansoft\AppData\Local\Programs\Python\Python312\Lib\site-packages\capmonstercloudclient\CapMonsterCloudClient.py", line 115, in _solve
getTaskResponse = await self._createTask(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Thanhansoft\AppData\Local\Programs\Python\Python312\Lib\site-packages\capmonstercloudclient\CapMonsterCloudClient.py", line 172, in _createTask
async with session.post(url=self.options.service_url + '/createTask',
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Thanhansoft\AppData\Local\Programs\Python\Python312\Lib\site-packages\aiohttp\client.py", line 1359, in aenter
self._resp: _RetType = await self._coro
^^^^^^^^^^^^^^^^
File "C:\Users\Thanhansoft\AppData\Local\Programs\Python\Python312\Lib\site-packages\aiohttp\client.py", line 688, in _request
resp = await req.send(conn)
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Thanhansoft\AppData\Local\Programs\Python\Python312\Lib\site-packages\aiohttp\client_reqrep.py", line 775, in send
await writer.write_headers(status_line, self.headers)
File "C:\Users\Thanhansoft\AppData\Local\Programs\Python\Python312\Lib\site-packages\aiohttp\http_writer.py", line 130, in write_headers
buf = _serialize_headers(status_line, headers)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "aiohttp\_http_writer.pyx", line 132, in aiohttp._http_writer._serialize_headers
File "aiohttp\_http_writer.pyx", line 116, in aiohttp._http_writer._safe_header
ValueError: Newline or carriage return character detected in HTTP status message or header. This is a potential security issue.

That was the problem in 1.5.1 version of capmonstercloudclient, it's fixed in 1.5.2.
Or, you can go to your installed lib path and delete newline at version.txt file.

Hi,
I still get error 443 even though I upgraded successfully to 1.5.2
Error: Cannot connect to host api.capmonster.cloud:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)')] Error occurred: 'NoneType' object is not subscriptable

C:\Users\XEON\Desktop\infocom>pip show capmonstercloudclient
Name: capmonstercloudclient
Version: 1.5.2
Summary: Official CapMonsterCloud Client: https://capmonster.cloud/
Home-page: https://github.com/ZennoLab/capmonstercloud-client-python
Author: Andrey Ilyin
Author-email<EMAIL_ADDRESS>License: AGPL-3.0
Location: C:\Users\XEON\AppData\Roaming\Python\Python312\site-packages
Requires: aiohttp, pydantic
Required-by:

C:\Users\XEON>pip show certifi Name: certifi Version: 2024.8.30 Summary: Python package for providing Mozilla's CA Bundle. Home-page: https://github.com/certifi/python-certifi Author: Kenneth Reitz Author-email<EMAIL_ADDRESS>License: MPL-2.0 Location: C:\Users\XEON\AppData\Roaming\Python\Python312\site-packages Requires: Required-by: requests, selenium

Unfortunately, I couldn't reproduce this problem on three different environments, but some of our users also experience the same problem. Here's couple suggestions you may try:

Use new conda environment (install conda for windows, run

conda create -n test_env python=3.10
conda activate test_env
pip install capmonstercloudclient
python your_script.py

While creating environment, conda will pull ca-certificates-2024.9.24 bundle.
2. Import certificate from capmonstercloud to your system, like described here: https://github.com/aio-libs/aiohttp/issues/955#issuecomment-2024062890
You may use https://api.capmonster.cloud/createTask link in chrome to reach for certificate.

Is there any other way? too much trouble, my program has been stopped for days now


ERR_TOO_MANY_REDIRECTS in production mode on latest develop branch

Current behavior

If I start the VSF like yarn && yarn build && yarn start in production mode after I update to the latest develop (cf566a0e672dda5a725a3f7688e5f9119123864b) branch, the process starts correctly but the VSF isn't available in browser and returns a ERR_TOO_MANY_REDIRECTS error.
If I look the logs via yarn pm2 logs I get the following error messages:
2019-07-27 22:51:43: Error during render : /
2019-07-27 22:51:43: TypeError: Object(...) is not a function
    at Object.<anonymous> (core/store/index.ts:49:25)
    at n (webpack/bootstrap:36:0)
    at Object.<anonymous> (core/lib/storage-manager.ts:58:71)
    at n (webpack/bootstrap:36:0)
    at Object.<anonymous> (core/modules/url/helpers/index.ts:15:2)
    at n (webpack/bootstrap:36:0)
    at Object.<anonymous> (core/helpers/validators.ts:2:56)
    at n (webpack/bootstrap:36:0)
    at Object.<anonymous> (core/app.ts:1:0)
    at Object.<anonymous> (node_modules/core-js/modules/_redefine.js:4:10)
2019-07-27 22:51:43: Error during render : /error
2019-07-27 22:51:43: TypeError: Object(...) is not a function
    at Object.<anonymous> (core/store/index.ts:49:25)
    at n (webpack/bootstrap:36:0)
    at Object.<anonymous> (core/lib/storage-manager.ts:58:71)
    at n (webpack/bootstrap:36:0)
    at Object.<anonymous> (core/modules/url/helpers/index.ts:15:2)
    at n (webpack/bootstrap:36:0)
    at Object.<anonymous> (core/helpers/validators.ts:2:56)
    at n (webpack/bootstrap:36:0)
    at Object.<anonymous> (core/app.ts:1:0)
    at Object.<anonymous> (node_modules/core-js/modules/_redefine.js:4:10)

or:
Error during render : /error
TypeError: Object(...) is not a function
    at Object.<anonymous> (core/store/index.ts:9:5)
    at n (webpack/bootstrap:25:0)
    at Object.<anonymous> (core/lib/storage-manager.ts:58:71)
    at n (webpack/bootstrap:25:0)
    at Object.<anonymous> (node_modules/lodash-es/omit.js:57:15)
    at n (webpack/bootstrap:25:0)
    at Object.<anonymous> (core/lib/logger.ts:171:26)
    at n (webpack/bootstrap:25:0)
    at Object.<anonymous> (core/app.ts:1:0)
    at Object.<anonymous> (core/app.ts:125:29)

The site works without problems in develop mode via yarn dev.
I don't have a glue yet what causes the exception and going to try reproduce it on another machine. Does anybody else have this behavior or just me? If so I'm sorry for the opened issue.
UPDATE: I could now reproduce it on a plain Ubuntu machine using Node v10.16.0. FYI I'm using the https://test.storefrontcloud.io API endpoint for testing. But it appears in my custom API as well.
Expected behavior

See the storefront
Steps to reproduce the issue

Checkout develop branch on commit cf566a0e672dda5a725a3f7688e5f9119123864b and try to start it in production mode, something like:
yarn
yarn build
yarn start

Repository

cf566a0e672dda5a725a3f7688e5f9119123864b
Can you handle fixing this bug by yourself?

[ ] YES
[x] NO

Which Release Cycle state this refers to? Info for developer.
Pick one option.

[ ] This is a bug report for test version on https://test.storefrontcloud.io - In this case Developer should create branch from develop branch and create Pull Request 2. Feature / Improvement back to develop.
[ ] This is a bug report for current Release Candidate version on https://next.storefrontcloud.io - In this case Developer should create branch from release branch and create Pull Request 3. Stabilisation fix back to release.
[ ] This is a bug report for current Stable version on https://demo.storefrontcloud.io and should be placed in next stable version hotfix - In this case Developer should create branch from hotfix or master branch and create Pull Request 4. Hotfix back to hotfix.

Environment details

Browser: Chrome/FF
OS: OSX
Node: v10.15.3
Code Version: cf566a0e672dda5a725a3f7688e5f9119123864b

After some research I found out that it stopped working with the following commit b6eea29ce1410f8100efa391680493722b917e18 of PR #3255.

I can confirm this behavior with the latest develop-branch.

@filrak what can we do about this issue?

@lukeromanowicz what's the status in here/

@pkarw I've found the root cause. I will push a fix tomorrow.

It's is working again.
Thanks! :)

Am I allowed to close the issue or will it crash your workflow?

@cewald thanks for the confirmation, closing :)


Fixes building of Query Params with multiple recipients

The method was not marked static and the Result was not begin reset, so if called multiple times it would add the strings messing the result.

:+1:


Error protocol not supported

I was trying out the examples and it panics at the following line with the error protocol not supported.
stream, err := node.NewStream(ctx, peer.ID, protocol.ID("/plaintext/2.0.0"))
I tried the one mentioned in the example "/chat/1.0.0" as well. Where do I define this ?

The host sets the handler for a protocol, and then can new a stream to this host

main.go#L104

h.SetStreamHandler("/echo/1.0.0", func(s network.Stream) {
	if err := doEcho(s); err != nil {
		log.Println(err)
		_ = s.Reset()
	} else {
		_ = s.Close()
	}
})

main.go#L150

basicHost.NewStream(context.Background(), peerid, "/echo/1.0.0")


Package request: rigol_vendor_bin

Project description
rigol_vendor_bin is a command line utility to decode and encode the vendor.bin file from a Rigol oscilloscope
Metadata

homepage URL: https://github.com/zelea2/rigol_vendor_bin
source URL: https://github.com/zelea2/rigol_vendor_bin
license: not listed on github
platforms: unix, linux, darwin

Note for maintainers: Please tag this issue in your PR.

Kindly fix the source and homepage url links

Done


Add pigz to playbooks (at least for arm32)

Speeds up the final phase of the builds on arm32 by using all cores to perform the creation of the tar.gz file

@CJKwork This shoulkd be an easy one :-)


Reconnection attempts are spammed during disconnections

If grisp_connect looses connection with grisp.io it spamms connection attemps.
It should at least wait a bit.
=NOTICE REPORT==== 1-Jan-1988::00:04:52.122951 ===
    port: 8443
    domain: www.dev.local
    event: connecting
=WARNING REPORT==== 1-Jan-1988::00:04:52.313901 ===
    reason: {shutdown,econnrefused}
    event: gun_crash

Planned solution will use exponential backoff


[Feature]: Add customer_descriptions field to SubscriptionInterface

What should we build?
the subscription customerDescriptions was forgotten in the current inplementation of SubscriptionInterface and needs to be added.

PR merged: https://github.com/workfloworchestrator/orchestrator-core/pull/520


libuv on darwin fails in sandbox

Describe the bug
I'm trying to build Csound with darwin, it works with no-sandbox, but with sandbox it fails with the following message
 nix-build . -A csound --sandbox
these derivations will be built:
  /nix/store/8ppq3fn1kzm9dplanmir6x8zx3shy0iq-csound-6.13.0.drv
building '/nix/store/8ppq3fn1kzm9dplanmir6x8zx3shy0iq-csound-6.13.0.drv'...
unpacking sources
unpacking source archive /nix/store/g90lj6hc962l6cgc0913dzp0wlrd9ah7-source
source root is source
patching sources
configuring
fixing cmake files...
cmake flags: -DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_SKIP_BUILD_RPATH=ON -DBUILD_TESTING=OFF -DCMAKE_INSTALL_LOCALEDIR=/nix/store/x73vz79yjm9b4sv4vkll40hj6fasj05r-csound-6.13.0/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/x73vz79yjm9b4sv4vkll40hj6fasj05r-csound-6.13.0/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/x73vz79yjm9b4sv4vkll40hj6fasj05r-csound-6.13.0/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/x73vz79yjm9b4sv4vkll40hj6fasj05r-csound-6.13.0/share/doc/ -DCMAKE_INSTALL_INFODIR=/nix/store/x73vz79yjm9b4sv4vkll40hj6fasj05r-csound-6.13.0/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/x73vz79yjm9b4sv4vkll40hj6fasj05r-csound-6.13.0/share/man -DCMAKE_INSTALL_OLDINCLUDEDIR=/nix/store/x73vz79yjm9b4sv4vkll40hj6fasj05r-csound-6.13.0/include -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/x73vz79yjm9b4sv4vkll40hj6fasj05r-csound-6.13.0/include -DCMAKE_INSTALL_SBINDIR=/nix/store/x73vz79yjm9b4sv4vkll40hj6fasj05r-csound-6.13.0/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/x73vz79yjm9b4sv4vkll40hj6fasj05r-csound-6.13.0/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/x73vz79yjm9b4sv4vkll40hj6fasj05r-csound-6.13.0/lib -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_OSX_DEPLOYMENT_TARGET= -DCMAKE_OSX_SYSROOT= -DCMAKE_FIND_FRAMEWORK=last -DCMAKE_STRIP=/nix/store/ca22h96ag2fq0laa8v91vnv0pyy87sfc-cctools-binutils-darwin/bin/strip -DCMAKE_RANLIB=/nix/store/ca22h96ag2fq0laa8v91vnv0pyy87sfc-cctools-binutils-darwin/bin/ranlib -DCMAKE_AR=/nix/store/ca22h96ag2fq0laa8v91vnv0pyy87sfc-cctools-binutils-darwin/bin/ar -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_INSTALL_PREFIX=/nix/store/x73vz79yjm9b4sv4vkll40hj6fasj05r-csound-6.13.0 -DBUILD_CSOUND_AC=0 -DJACK_HEADER=/nix/store/33krb0hjynmqrvwb25lsdbyx3g7q2sbr-libjack2-1.9.12/include/jack/jack.h -DBUILD_PYTHON_OPCODES=0 -UCS_FRAMEWORK_DEST -DCS_FRAMEWORK_DEST=/nix/store/x73vz79yjm9b4sv4vkll40hj6fasj05r-csound-6.13.0/Library/Frameworks
dyld: Library not loaded: /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
  Referenced from: /nix/store/mchl5h7qsj8f9jikb2b2blb4jrhxbp7z-libuv-1.32.0/lib/libuv.1.dylib
  Reason: no suitable image found.  Did find:
        /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation: file system sandbox blocked stat()
        /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation: file system sandbox blocked stat()
/nix/store/cl95rnpzkf8q2lciy219v8wpa7f7wq24-cmake-3.15.1/nix-support/setup-hook: line 15: 45054 Abort trap: 6           cmake ${cmakeDir:-.} $cmakeFlags "${cmakeFlagsArray[@]}"
builder for '/nix/store/8ppq3fn1kzm9dplanmir6x8zx3shy0iq-csound-6.13.0.drv' failed with exit code 134
error: build of '/nix/store/8ppq3fn1kzm9dplanmir6x8zx3shy0iq-csound-6.13.0.drv' failed

To Reproduce
here's my current derivation
{ stdenv, fetchFromGitHub, cmake, libsndfile, libsamplerate, flex, bison, boost, gettext,
  Accelerate, AudioUnit, Cocoa, CoreAudio, CoreFoundation, CoreGraphics, CoreMIDI
, alsaLib ? null
, libpulseaudio ? null
, libjack2 ? null
, liblo ? null
, ladspa-sdk ? null
, fluidsynth ? null
# , gmm ? null  # opcodes don't build with gmm 5.1
, eigen ? null
, curl ? null
, tcltk ? null
, fltk ? null
}:

stdenv.mkDerivation rec {
  pname = "csound";
  # When updating, please check if https://github.com/csound/csound/issues/1078
  # has been fixed in the new version so we can use the normal fluidsynth
  # version and remove fluidsynth 1.x from nixpkgs again.
  version = "6.13.0";

  enableParallelBuilding = true;

  hardeningDisable = [ "format" ];

  src = fetchFromGitHub {
    owner = "csound";
    repo = "csound";
    rev = version;
    sha256 = "14822ybqyp31z18gky2y9zadr9dkbhabg97y139py73w7v3af1bh";
  };

  cmakeFlags = [ "-DBUILD_CSOUND_AC=0" ] # fails to find Score.hpp
               ++ stdenv.lib.optional (libjack2 != null) "-DJACK_HEADER=${libjack2}/include/jack/jack.h"
               ++ stdenv.lib.optionals stdenv.isDarwin [
                 "-DBUILD_PYTHON_OPCODES=0"
                 "-UCS_FRAMEWORK_DEST"
                 "-DCS_FRAMEWORK_DEST=${placeholder "out"}/Library/Frameworks"
               ];

  nativeBuildInputs = [ cmake flex bison gettext ];
  buildInputs = [ libsndfile libsamplerate boost ] ++
                stdenv.lib.optionals stdenv.isDarwin [
                  Accelerate AudioUnit Cocoa CoreAudio
                  CoreFoundation CoreGraphics CoreMIDI
                ] ++
                builtins.filter (optional: optional != null) [
                  liblo libjack2 fluidsynth eigen
                  curl tcltk fltk
                ] ++
                stdenv.lib.optionals stdenv.isLinux
                  (builtins.filter (optional: optional != null) [
                    alsaLib ladspa-sdk libpulseaudio
               ]);

  meta = with stdenv.lib; {
    description = "Sound design, audio synthesis, and signal processing system, providing facilities for music composition and performance on all major operating systems and platforms";
    homepage = http://www.csounds.com/;
    license = licenses.gpl2;
    maintainers = [maintainers.marcweber];
    platforms = platforms.unix;
  };
}

@cstrahan
@MarcWeber

Sorry for that noise. Coming from linux makes darwin bit confusing
https://github.com/NixOS/nixpkgs/pull/58147
this means that I need to add extra sandbox paths to prevents this.


[HOLD for payment 2023-09-06] [$1000] Web - On reload on attachment preview and close, app displays random chat for few seconds

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Open the app
Open any report
Send any image attachment
Click and open attachment in preview
Copy the attachment preview url
Go to other chat
Paste the saved url in the current search bar
Reload
Close the preview and observe that app displays random chat for few seconds before again displaying the right chat

Expected Result:
App should display same chat in which attachment is located when we close the preview - navigation should occur before closing the modal
Actual Result:
App displays random chat when we click on attachment, reload on preview and close the preview
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[x] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: <IP_ADDRESS>
Reproducible in staging?: n/a
Reproducible in production?: n/a
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/93399543/258e753d-c23d-4cf4-9b62-df1ffce7e4c0
Expensify/Expensify Issue URL:
Issue reported by: @dhanashree-sawant
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1690103101672499
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~015ceaa38feb4bfce8
Upwork Job ID:<PHONE_NUMBER>784937472
Last Price Increase: 2023-08-05
Automatic offers:

tienifr | Contributor | 26201629
dhanashree-sawant | Reporter | 26201630

Updated the reproduction steps in the original description, thanks!

I like @tienifr's proposal!  https://github.com/Expensify/App/issues/23958#issuecomment-1659554531
C+ reviewed 🎀 👀 🎀

@bernhardoj thanks for your proposal but I think we should display the report where attachment is coming from vs the last acessed report id

Friendly bump @Julesssss

I don't think so, the attachment URL is just same like the internal link, when we click on the internal link, we should navigate to that page.

it would be less annoying to me if the report redirect occurred PRIOR to the attachment modal being closed. That's the annoying part to me.

we want to navigate to target report after dismissing the modal.

Lets update the desired behaviour: Yes you should see the parent report when the modal is closed, but the navigation shouldn't occur only after closing the modal.
Does anyone disagree?

Lets update the desired behaviour: Yes you should see the parent report when the modal is closed, but the navigation shouldn't occur only after closing the modal.

To rephrase, are you saying that the navigation should occur before closing the modal?

Nice so that looks good to me, but we'll need to look out for regressions here. Just in case other things depend on the existing logic.

@rushatgabhane can you review again pls

As we are combining the proposal from @tienifr and mine, will it make sense for me to get the bounty too?

Yes, I think that would make sense. Since you're not actually writing the PR, your payment will not be the full amount - once the proposal is accepted, I can discuss with the team to see what amount makes sense.
@rushatgabhane could you please have a look at the updated proposal?

@Julesssss  @tienifr's proposal tests well
C+ reviewed 🎀 👀 🎀

FYI I am OOO this week. Feel free to reassign in the meantime, or I will be back on Monday 28th

@cristipaval I've assigned you to help review the PR: https://github.com/Expensify/App/pull/25521
If you can't review, let us know, @Julesssss can do it when he's back.

I went ahead and paid out the reporter bounty to @dhanashree-sawant
@rushatgabhane could you please complete the BZ checklist by tomorrow? That way we can approve your manual payment right away after the 7-day hold.

Thanks @rushatgabhane! I assigned @JmillsExpensify to handle the payment request.
Everyone else has been paid out, I'll leave this open so Jason can approve the final payment.

We're good to close, the NewDot payment requests will be handled.

$1,500 payment approved for @rushatgabhane based on BZ summary.


Keep getting " NoMethodError in Admin::WelcomeController#index undefined method `authenticate_admin!' for #Admin::WelcomeController:0x47bb228"

I just started a new project and I have this problem with Devise. The odd thing is that it works for a while and then just brakes and I keep getting this error. What is the problem?!
I am using Ruby 2.1.4 and rails 4.1.6.
Devise version: 3.4.1

create a new file  will_paginate in # config /initializers /will_paginate .rb
add dis code into the will_paginate.rb
if defined?(WillPaginate)
module WillPaginate
module ActiveRecord
module RelationMethods
alias_method :per, :per_page
alias_method :num_pages, :total_pages
end
end
end
end
module ActiveRecord
class Relation
alias_method :total_count, :count
end
end
restart the server   .......its work

(OR) add code in will_paginate.rb
if defined?(WillPaginate)
ActiveSupport.on_load :active_record do
module WillPaginate
module ActiveRecord
module RelationMethods
def per(value = nil) per_page(value) end
def total_count() count end
end
end
module CollectionMethods
alias_method :num_pages, :total_pages
end
end
end
end
dis code also will works

thank you

I added that code into will_paginate.rb file still not work


Issue while running restore file

Describe the bug
Getting error while running restore file via .\restore.cmd command
Expected behavior
Should able to setup core in local
Additional context
getting below error:
Run C:\Users\mritunjai_pratapsing\source\repos\Learning\AspNetCore\eng\scripts\InstallVisualStudio.ps1 to install Visual Studio prerequisites.
Could not find an installation of MSBuild which satisfies the requirements specified in korebuild.json.
At C:\Users\Name\source\repos\AspNetCore.dotnet\buildtools\korebuild\3.0.0-build-20190412.2\s
cripts\KoreBuild.psm1:524 char:5

throw 'Could not find an installation of MSBuild which satisfies  ...

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : OperationStopped: (Could not find ...korebuild.json.:String) [], RuntimeException
FullyQualifiedErrorId : Could not find an installation of MSBuild which satisfies the requirements specified in
korebuild.json.

After running the Installation file while loading the solution I get below error:
Detailed Information:
Unable to locate the .NET Core SDK. Check that it is installed and that the version specified in global.json (if any) matches the installed version.

Also in command prompt, I get below error:
C:\Users\mritunjai_pratapsing\source\repos\Learning\AspNetCore>.\restore.cmd
Using KoreBuild 3.0.0-build-20190412.2
WARNING: dotnet found on the system PATH is 'C:\Program Files\dotnet\dotnet.exe' but KoreBuild will use 'C:\Users\mritunjai_pratapsing\source\repos\Learning\AspNetCore.dotnet\x64\dotnet.exe'.
WARNING: Adding 'C:\Users\mritunjai_pratapsing\source\repos\Learning\AspNetCore.dotnet\x64' to system PATH permanently may be required for applications like Visual Studio or VS Code to work
correctly.
Adding C:\Users\mritunjai_pratapsing\source\repos\Learning\AspNetCore.dotnet\x64 to PATH
.NET Core SDK 3.0.100-preview4-011136 is already installed. Skipping installation.
Detected Visual Studio Enterprise 2019 (16.0.28803.156) in 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise'

msbuild.exe C:\Users\mritunjai_pratapsing\source\repos\Learning\AspNetCore\build\tasks\RepoTasks.csproj -v:m -restore -t:Publish -p:Configuration=Release -p:PublishDir=C:\Users\mritunjai_pratapsing\source\repos\Learning\AspNetCore\build\tasks\bin\publish -nologo -p:RepoTasksSdkPath=C:\Users\mritunjai_pratapsing\source\repos\Learning\AspNetCore.dotnet\buildtools\korebuild\3.0.0-build-20190412.2\scripts..\msbuild\KoreBuild.RepoTasks.Sdk\Sdk /p:BuildAllProjects=true /p:_RunBuild=False /p:_RunPack=False /p:_RunTests=False /p:_RunSign=False /p:TargetArchitecture=x64 /p:TargetOsName=win @C:\Users\mritunjai_pratapsing\source\repos\Learning\AspNetCore\artifacts\logs\msbuild.logger.rsp
Restore completed in 67.7 ms for C:\Users\mritunjai_pratapsing\source\repos\Learning\AspNetCore\build\tasks\RepoTasks.csproj.
C:\Users\mritunjai_pratapsing.nuget\packages\microsoft.build.tasks.git\1.0.0-beta2-18618-05\build\Microsoft.Build.Tasks.Git.targets(36,5): warning : Submodule 'googletest' doesn't have any commit,
the source code won't be available via source link. [C:\Users\mritunjai_pratapsing\source\repos\Learning\AspNetCore\build\tasks\RepoTasks.csproj]
C:\Users\mritunjai_pratapsing.nuget\packages\microsoft.build.tasks.git\1.0.0-beta2-18618-05\build\Microsoft.Build.Tasks.Git.targets(36,5): warning : Submodule 'src/submodules/MessagePack-CSharp' do
esn't have any commit, the source code won't be available via source link. [C:\Users\mritunjai_pratapsing\source\repos\Learning\AspNetCore\build\tasks\RepoTasks.csproj]
RepoTasks -> C:\Users\mritunjai_pratapsing\source\repos\Learning\AspNetCore\build\tasks\bin\Release\net472\RepoTasks.dll
RepoTasks -> C:\Users\mritunjai_pratapsing\source\repos\Learning\AspNetCore\build\tasks\bin\publish\

Build succeeded.
C:\Users\mritunjai_pratapsing.nuget\packages\microsoft.build.tasks.git\1.0.0-beta2-18618-05\build\Microsoft.Build.Tasks.Git.targets(36,5): warning : Submodule 'googletest' doesn't have any commit,
the source code won't be available via source link. [C:\Users\mritunjai_pratapsing\source\repos\Learning\AspNetCore\build\tasks\RepoTasks.csproj]
C:\Users\mritunjai_pratapsing.nuget\packages\microsoft.build.tasks.git\1.0.0-beta2-18618-05\build\Microsoft.Build.Tasks.Git.targets(36,5): warning : Submodule 'src/submodules/MessagePack-CSharp' do
esn't have any commit, the source code won't be available via source link. [C:\Users\mritunjai_pratapsing\source\repos\Learning\AspNetCore\build\tasks\RepoTasks.csproj]
2 Warning(s)
0 Error(s)
Time Elapsed 00:00:02.48

msbuild.exe @C:\Users\mritunjai_pratapsing\source\repos\Learning\AspNetCore\artifacts\logs\msbuild.rsp @C:\Users\mritunjai_pratapsing\source\repos\Learning\AspNetCore\artifacts\logs\msbuild.logger.rsp
Microsoft (R) Build Engine version 16.0.461+g6ff56ef63c for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.

C:\Users\mritunjai_pratapsing\source\repos\Learning\AspNetCore.dotnet\x64\sdk\3.0.100-preview4-011136\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.DefaultItems.targets(235,13): error MSB4248: C
annot expand metadata in expression "$([MSBuild]::ValueOrDefault('%(FullPath)', '').StartsWith($([MSBuild]::EnsureTrailingSlash($(MSBuildProjectDirectory)))))". The item metadata "%(FullPath)" canno
t be applied to the path "TestFiles\ApiActionsDoNotRequireExplicitModelValidationCheckAnalyzerIntegrationTest\NoDiagnosticsAreReturned_ForApiActionsReturning400FromNonModelStateIsValidBlocks.cs". Pa
th: C:\Users\mritunjai_pratapsing\source\repos\Learning\AspNetCore\src\Mvc\Mvc.Api.Analyzers\test\TestFiles\ApiActionsDoNotRequireExplicitModelValidationCheckAnalyzerIntegrationTest\NoDiagnosticsAre
Returned_ForApiActionsReturning400FromNonModelStateIsValidBlocks.cs exceeds the OS max path limit. The fully qualified file name must be less than 260 characters. [C:\Users\mritunjai_pratapsing\sour
ce\repos\Learning\AspNetCore\src\Mvc\Mvc.Api.Analyzers\test\Mvc.Api.Analyzers.Test.csproj]
Build FAILED.
C:\Users\mritunjai_pratapsing\source\repos\Learning\AspNetCore.dotnet\x64\sdk\3.0.100-preview4-011136\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.DefaultItems.targets(235,13): error MSB4248: C
annot expand metadata in expression "$([MSBuild]::ValueOrDefault('%(FullPath)', '').StartsWith($([MSBuild]::EnsureTrailingSlash($(MSBuildProjectDirectory)))))". The item metadata "%(FullPath)" canno
t be applied to the path "TestFiles\ApiActionsDoNotRequireExplicitModelValidationCheckAnalyzerIntegrationTest\NoDiagnosticsAreReturned_ForApiActionsReturning400FromNonModelStateIsValidBlocks.cs". Pa
th: C:\Users\mritunjai_pratapsing\source\repos\Learning\AspNetCore\src\Mvc\Mvc.Api.Analyzers\test\TestFiles\ApiActionsDoNotRequireExplicitModelValidationCheckAnalyzerIntegrationTest\NoDiagnosticsAre
Returned_ForApiActionsReturning400FromNonModelStateIsValidBlocks.cs exceeds the OS max path limit. The fully qualified file name must be less than 260 characters. [C:\Users\mritunjai_pratapsing\sour
ce\repos\Learning\AspNetCore\src\Mvc\Mvc.Api.Analyzers\test\Mvc.Api.Analyzers.Test.csproj]
0 Warning(s)
1 Error(s)
Time Elapsed 00:00:52.05
msbuild.exe failed with exit code: 1
At C:\Users\mritunjai_pratapsing\source\repos\Learning\AspNetCore.dotnet\buildtools\korebuild\3.0.0-build-20190412.2\scripts\common.psm1:11 char:9

    throw "$cmdName failed with exit code: $exitCode"

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : OperationStopped: (msbuild.exe failed with exit code: 1:String) [], RuntimeException
FullyQualifiedErrorId : msbuild.exe failed with exit code: 1

exceeds the OS max path limit. The fully qualified file name must be less than 260 characters.

Try moving your source code into a shorter prefix. "C:\Users\mritunjai_pratapsing\source\repos\Learning\AspNetCore" is too long. Most developers on our team use something like "C:\source\AspNetCore" instead.

Build Team Triage: closing as there is no action item pending here. See previous comment for recommendation on working around git + Windows max_path limitations.

Is it unreasonable to expect that a modern runtime understands path lengths beyond 260 characters? Windows Explorer doesn't seem blocked by this issue, the max_path constant as far as I understand it is for compatibility these days.


Revert adding net7.0 and net8.0 to packages

Relates to https://github.com/microsoft/testfx/pull/1917#issuecomment-1871211763

why? As soon as we add new analyzers to improve or use new api we will start to benefit from the multi-tfm. What's the issue to have multi-tfm?

@Romfos the runner Microsoft.Testing.Platform is actually having improved APIs for both net7.0 and net8.0 so it's providing quite some perf boost to have the extra additions. We could avoid the extra TFMs for the framework only but it's going to be easier to know this is already packaging everything needed so we can start using the new features.

it make sense if we have specific optimizations for .net 8.0. thank you for clarification

Thanks for caring :)


Use UTF-8 when writing strings in SimpleJsonProtocol

Fixes #316

Codecov Report

Merging #317 into master will increase coverage by 0.14%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master     #317      +/-   ##
============================================
+ Coverage     76.59%   76.74%   +0.14%
- Complexity      380      381       +1
============================================
  Files            29       29
  Lines          1662     1664       +2
  Branches        148      148
============================================
+ Hits           1273     1277       +4
+ Misses          292      291       -1
+ Partials         97       96       -1

Impacted Files
Coverage Δ
Complexity Δ

...microsoft/thrifty/protocol/SimpleJsonProtocol.java
71.76% <100%> (+1.52%)
27 <0> (+1)
:arrow_up:

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 1b24924...9ec7c7d. Read the comment docs.


tunnel client does not recognize when the instance under debug has closed

Steps to Reproduce:
When working on the vscode repo on a remote win11 machine, I can debug OSS (which launches on the remote machine), but when OSS is closed, the client window needs to be reloaded for the debugging session to end. Pressing stop or disconnect on the debug toolbar doesn't seem to have any effect

actually, clicking disconnect does seem to work, it's just slow, and I have to go through each process/worker so it takes a while.
also just experienced a case where the connection temporarily dropped, and OSS closed suddenly, and then I'm in the same position.


[BUG]: generating a docker image locally,it always reports that the port cannot be used

How are you running AnythingLLM?
Docker (local)
What happened?
[BUG]: After compiling and generating a docker image locally, when generating a container, it always reports that the port cannot be used, but the port is clearly not occupied

Are there known steps to reproduce?

You have a process already running on port 3001, you need to kill that process or just change your command to use another port 3002:3001. Also the command you are using will lead to you not being able to use the web scraper and you will lose all your data on container rebuild. Use the official command so you dont run into issues!
# Run this in powershell terminal
$env:STORAGE_LOCATION="$HOME\Documents\anythingllm"; `
If(!(Test-Path $env:STORAGE_LOCATION)) {New-Item $env:STORAGE_LOCATION -ItemType Directory}; `
If(!(Test-Path "$env:STORAGE_LOCATION\.env")) {New-Item "$env:STORAGE_LOCATION\.env" -ItemType File}; `
docker run -d -p 3001:3001 `
--cap-add SYS_ADMIN `
-v "$env:STORAGE_LOCATION`:/app/server/storage" `
-v "$env:STORAGE_LOCATION\.env:/app/server/.env" `
-e STORAGE_DIR="/app/server/storage" `
mintplexlabs/anythingllm;


[M3] Integrate Persona into cash-in flow - To be broken down

As a prerequisite to using our in-house liquidity solution, users must first complete KYC through Persona. We will be integrating the Persona screens into the cash-in and cash-out flows to make that process seamless for users.
Designs: https://www.figma.com/file/2GviFls4HMHzf686hOviOh/Add%2C-Withdraw%2C-Spend?node-id=1326%3A6
AC:

[ ] Persona is shown during the cash-in flow if a user hasn't KYC'ed
[ ] Persona is not shown during the cash-in flow if the user has KYC'ed
[ ] Persona is only shown to users with a US IP address (in-house liquidity will only be available to US users)
[ ] User is directed to a "verification pending" screen if a manual review is required
[ ] User is directed to a "contact support" screen if KYC fails

redundant with m1


[Style] Adding hover effect in Navbar

What's the style idea?
We need to improve
hover effect on navbar looks much more attractive and amazing, I want to apply proper hover effect to the navbar links, please assign this task to me @DEV-Soumya-Ranjan-Swain @CSEdgeOff

Checklist

[X] I have checked the existing issues.
[X] I follow Contributing Guidelines of this project.
[X] I am a GSSoC'24 contributor.

Code of Conduct

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

@HarshitGupta1511 I am not the owner of this repo

Hello @Durgesh-Vaigandla .. i want to work on that issue please assign this task to me..i will complete this as soon as possible for me

The issue was resolved earlier but didn't added to the main yet


Defaultrefererfix

Relaxing getReferer() visibility to 'protected' in order to unit test it
directly; replacing several test methods for referer check with
redirect/forward with a single method that tests the getReferer()
returned value in various situations

that sounds nice to me, @valeriolopes! thanks for doing this.
I'll wait a few more time to get more reviews before merge it.

Done as @lucascs asked, breaking down the test method into more specific methods.
Besides, added a more safe check on the referer path, because the previous condition doesn't cover all cases:
return refererPath.startsWith(ctxPath) ? refererPath.substring(ctxPath.length()) : refererPath;
If the context path strings appears in the beggining of the url path but it is not the context path (ex: context path = /vrap; url path = /vrapanything/test), this would return anything/test, a wrong path. It's a very specific condition but it can occur.
In order to remove the context path from the url, it should appear in the beggining of the url path in one of those conditions: 1) being followed by a '/' and anything (or nothing) after it; 2) be equal to the url path (nothing should come after it).In this case, we return what's after the context path. This covers all cases:
Context path = /ctx
http://vraptor.com/ctx - return ""
http://vraptor.com/ctx - return "/"
http://vraptor.com/ctxtest/tef/ctx/test/ctx - return /ctxtest/tef/ctx/test/ctx
http://vraptor.com/ctx/test/ctx/ok - return /test/ctx/ok
I thought using a regexp to test this  - ^/ctx(/.*|$) would do it - but thought again because I would have to compile the regex every time the referer was requested since the context path is not a fixed value (well.. it's a fixed value after the web app is started but I would have to capture that info somewhere and save it.. to much work). Ended up staying with plain old string and it char array.

Done

thanks!

YW -- It was an honor giving this tiny contribution to vraptor. If you guys need more hands to help I'll be around (maybe fixing bug reports or whatever else). Is there any technical documentation of the framework or the code is the only (and prob the best) document?

that was a nice contribution... not tiny at all :+1:

If you guys need more hands to help
I'll be around (maybe fixing bug reports or whatever else)

great! if you want to, you can check our issues

Is there any technical documentation of the framework
or the code is the only (and prob the best) document?

take a look on http://www.vraptor.org/en/docs/one-minute-guide/

From the framework user perspective I have a good knowledge; I meant something about its internals (how it is organized from inside), but since the code is well structured with some study one should learn about it.
BTW, how do you guys organize these issues?You just pick up one issue, branch it, do whatever you want and then submit it for review?

You can use our test coverage to get into the framework, it's a very effective
way to learn about a project :) About the issues, yes, anyone can choose one
issue that is not assigned, implement it in a fork and send us a PR for review.


how does this compare to tabout.nvim?

https://github.com/abecodes/tabout.nvim
does this do the same thing?

This is exactly the same…
I ended up creating this plugin without knowing about that plugin.
Thank you for letting me know!

Thank you for letting me know!

happened with me quite a few times, i can feel you 😢


RocksDb Support -> feat-rocksdb

Repointing this PR at feat-rocksdb

bors merge

bors merge

bors merge


label and taint arrays invalid in newer versions of ansible

new versions (2.13.1) generate:
node-label: '[] + []'
node-taint: '[] + []'
instead of:
node-label: []
node-taint: []

fixed with #120


Possibility to get notification on outcome of bot-triggered WF run?

Is there any way to get notifications for workflow runs that were triggered indirectly through this workflow-dispatch action?
In pypdfium2, we have a scheduled trigger action that calls another action with specific inputs.
However, we only get notified for the trigger, which effectively always passes. But we don't get notified about the indirect call, even if it failed, which is problematic.

I thought of maybe sending an e-mail with the outcome at the end of the workflow in an if: ${{ always() }} block or something, if that's possible. However, that would probably take more effort than it's worth.
Anyway, the more straightforward thing to do would be migrate to reusable workflows.


Python version >3.7 not supported due to ray dependencies

Due to installation issues of the ray library in Python version>3.7, I would propose to define the supported python version as <=3.7 in the installation tutorials until the issue on the side of ray is solved.

Ray-Installing does not work on python 3.9 #169
Kind regards,
Kilagi

thanks for report it.

Actually it depends on the architecture that you use. It's not supported for aarch64 but it work on M1 processors.


TimberHelper::function_wrapper not working for me

Hello,
I am trying to use the TimberHelper::function_wrapper like this:
$context['get_src'] = TimberHelper::function_wrapper('wp_get_attachment_image_srcset');
Timber::render('templates/album.twig', $context);

But when I try to use the function in the template like this:
{{ get_src(foto.id, 'medium') }}

It gives me a unknown function error:
Fatal error: Uncaught exception 'Twig_Error_Syntax' with message 'Unknown "get_src" function in "templates/album.twig" at line 76.'

Any idea what the problem is?
Thanks!

Bit late but just saw this one. As far as I have used, TimberHelper::function_wrapper doesn't return a function, it adds it straight to Twig.
So for this usage, you can just do:
TimberHelper::function_wrapper(_string_);
Timber::render('templates/album.twig, $context);

And then in your .twig:
{{ wp_get_attachment_image_srcset(foto.id, 'medium') }}

Alternatively, I believe all the standard WP functions are accessible via fn(), so you can just do:
 {{ fn('wp_get_attachment_image_src', foto.id, 'medium') }}
Without adding it to your context at all.

Ahh alright, thanks for the help. I will try it soon. It is still useful for me :)

@dennis-van-bennekom did this work for you?

@connorjburton yes it did. Thanks!


Serverless 3 peerdep

As far as I can tell, this is all that's needed. I've used this for the last two weeks myself but can't vouch for it being 100%.
Closes #12

Thanks for shipping this, @neovasili!


Fix res:// error when dragging file from outside of editor

If file in file system dock is selected, then dragging file outside editor try to copy it to unknown folder res://selected_file.txt (it is really a file path)
This PR extract directory from selected file so instead trying to create file
res://selected_file.txt/new_file.txt, create res://new_file.txt
Fix #25625

Thanks!


update repo link

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://6581efa96717f3539c17aa27--harness-developer.netlify.app


[opus] update to v1.5.1

Fixes https://github.com/microsoft/vcpkg/issues/38111
Modified the feature name and corresponding option as avx2 because the upstream change: https://github.com/xiph/opus/commit/84484a679009fc703d80cedfafebb50d42b97cd4.
Tested all feature and usage on the following triplets:
x64-windows
x64-windows-static
x86-windows

[x] Changes comply with the maintainer guide.
[x] SHA512s are updated for each updated download.
[ ] ~The "supports" clause reflects platforms that may be fixed by this new version.~
[ ] ~Any fixed CI baseline entries are removed from that file.~
[ ] ~Any patches that are no longer applied are deleted from the port's directory.~
[x] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[x] Only one version is added to each modified port's versions file.

Waiting for https://github.com/microsoft/vcpkg/pull/37971 is merged.


[NOMERGE] [stdlib] Rationalize bitshifting in protocols

This requires at least core team, if not evolution, discussion.
Only FixedWidthInteger, not BinaryInteger, should have masking shifts.
BinaryInteger should have a non-masking shift requirement.
Removed some dead code.

@swift-ci Please test

@swift-ci Please benchmark

@swift-ci Please test source compatibility

/cc @natecook1000

Build failed
Jenkins build - Swift Test Linux Platform
Git Commit - a86d9ae5623fd88833121ba6219cb9699a6b15f9
Test requested by - @dabrahams

@moiseev @rudkx Ow!

Source compatibility just registers a UPASS on Chatto

Build comment file:
Optimized (O)

Regression (4)

TEST
OLD
NEW
DELTA
SPEEDUP

PopFrontArray
1106
1203
+8.8%
0.92x (?)

ObjectiveCBridgeStubNSDateMutationRef
11797
12706
+7.7%
0.93x (?)

Calculator
31
33
+6.5%
0.94x

CaptureProp
4572
4851
+6.1%
0.94x

Improvement (3)

TEST
OLD
NEW
DELTA
SPEEDUP

MapReduceAnyCollection
331
302
-8.8%
1.10x

PrefixWhileSequence
312
294
-5.8%
1.06x

MapReduceString
99
94
-5.1%
1.05x

No Changes (314)

TEST
OLD
NEW
DELTA
SPEEDUP

AngryPhonebook
2951
2951
+0.0%
1.00x

AnyHashableWithAClass
66582
66975
+0.6%
0.99x (?)

Array2D
1976
1975
-0.1%
1.00x (?)

ArrayAppend
772
770
-0.3%
1.00x (?)

ArrayAppendArrayOfInt
597
596
-0.2%
1.00x (?)

ArrayAppendAscii
9923
9921
-0.0%
1.00x (?)

ArrayAppendFromGeneric
597
596
-0.2%
1.00x (?)

ArrayAppendGenericStructs
1223
1229
+0.5%
1.00x (?)

ArrayAppendLatin1
31592
31564
-0.1%
1.00x (?)

ArrayAppendLazyMap
929
929
+0.0%
1.00x

ArrayAppendOptionals
1215
1224
+0.7%
0.99x (?)

ArrayAppendRepeatCol
837
838
+0.1%
1.00x (?)

ArrayAppendReserved
533
533
+0.0%
1.00x

ArrayAppendSequence
944
944
+0.0%
1.00x

ArrayAppendStrings
13588
13601
+0.1%
1.00x (?)

ArrayAppendToFromGeneric
597
596
-0.2%
1.00x (?)

ArrayAppendToGeneric
597
596
-0.2%
1.00x (?)

ArrayAppendUTF16
29452
29434
-0.1%
1.00x (?)

ArrayInClass
61
61
+0.0%
1.00x

ArrayLiteral
1227
1225
-0.2%
1.00x (?)

ArrayOfGenericPOD
219
219
+0.0%
1.00x

ArrayOfGenericRef
4004
4011
+0.2%
1.00x (?)

ArrayOfPOD
166
166
+0.0%
1.00x

ArrayOfRef
3894
3889
-0.1%
1.00x (?)

ArrayPlusEqualArrayOfInt
597
596
-0.2%
1.00x

ArrayPlusEqualFiveElementCollection
4641
4677
+0.8%
0.99x (?)

ArrayPlusEqualSingleElementCollection
771
771
+0.0%
1.00x

ArrayPlusEqualThreeElements
1587
1601
+0.9%
0.99x

ArraySubscript
1460
1459
-0.1%
1.00x (?)

ArrayValueProp
6
6
+0.0%
1.00x

ArrayValueProp2
6
6
+0.0%
1.00x

ArrayValueProp3
6
6
+0.0%
1.00x

ArrayValueProp4
6
6
+0.0%
1.00x

BitCount
148
147
-0.7%
1.01x (?)

ByteSwap
118
118
+0.0%
1.00x

CStringLongAscii
4447
4674
+5.1%
0.95x (?)

CStringLongNonAscii
2098
2146
+2.3%
0.98x (?)

CStringShortAscii
4673
4724
+1.1%
0.99x (?)

CharIndexing_ascii_unicodeScalars
14212
14202
-0.1%
1.00x (?)

CharIndexing_ascii_unicodeScalars_Backwards
11644
11638
-0.1%
1.00x (?)

CharIndexing_chinese_unicodeScalars
10769
10759
-0.1%
1.00x

CharIndexing_chinese_unicodeScalars_Backwards
8831
8825
-0.1%
1.00x (?)

CharIndexing_japanese_unicodeScalars
17008
16999
-0.1%
1.00x (?)

CharIndexing_japanese_unicodeScalars_Backwards
13929
13924
-0.0%
1.00x (?)

CharIndexing_korean_unicodeScalars
13781
13772
-0.1%
1.00x (?)

CharIndexing_korean_unicodeScalars_Backwards
11293
11287
-0.1%
1.00x (?)

CharIndexing_punctuatedJapanese_unicodeScalars
2592
2582
-0.4%
1.00x

CharIndexing_punctuatedJapanese_unicodeScalars_Backwards
2152
2145
-0.3%
1.00x

CharIndexing_punctuated_unicodeScalars
3236
3228
-0.2%
1.00x

CharIndexing_punctuated_unicodeScalars_Backwards
2679
2673
-0.2%
1.00x

CharIndexing_russian_unicodeScalars
11844
11836
-0.1%
1.00x (?)

CharIndexing_russian_unicodeScalars_Backwards
9711
9705
-0.1%
1.00x

CharIndexing_tweet_unicodeScalars
28011
28008
-0.0%
1.00x (?)

CharIndexing_tweet_unicodeScalars_Backwards
22949
22950
+0.0%
1.00x (?)

CharIndexing_utf16_unicodeScalars
82690
82692
+0.0%
1.00x (?)

CharIndexing_utf16_unicodeScalars_Backwards
82524
82573
+0.1%
1.00x (?)

CharIteration_ascii_unicodeScalars
16221
15817
-2.5%
1.03x

CharIteration_ascii_unicodeScalars_Backwards
16576
16567
-0.1%
1.00x (?)

CharIteration_chinese_unicodeScalars
12284
11979
-2.5%
1.03x

CharIteration_chinese_unicodeScalars_Backwards
12550
12542
-0.1%
1.00x (?)

CharIteration_japanese_unicodeScalars
19414
18912
-2.6%
1.03x

CharIteration_japanese_unicodeScalars_Backwards
19847
19837
-0.1%
1.00x (?)

CharIteration_korean_unicodeScalars
15728
15340
-2.5%
1.03x

CharIteration_korean_unicodeScalars_Backwards
16072
16064
-0.0%
1.00x

CharIteration_punctuatedJapanese_unicodeScalars
2938
2866
-2.5%
1.03x

CharIteration_punctuatedJapanese_unicodeScalars_Backwards
2992
2983
-0.3%
1.00x

CharIteration_punctuated_unicodeScalars
3679
3590
-2.4%
1.02x

CharIteration_punctuated_unicodeScalars_Backwards
3746
3737
-0.2%
1.00x

CharIteration_russian_unicodeScalars
13511
13179
-2.5%
1.03x

CharIteration_russian_unicodeScalars_Backwards
13809
13800
-0.1%
1.00x (?)

CharIteration_tweet_unicodeScalars
31971
31183
-2.5%
1.03x

CharIteration_tweet_unicodeScalars_Backwards
32753
32743
-0.0%
1.00x (?)

CharIteration_utf16_unicodeScalars
91728
91449
-0.3%
1.00x (?)

CharIteration_utf16_unicodeScalars_Backwards
119502
119662
+0.1%
1.00x (?)

CharacterLiteralsLarge
6023
6010
-0.2%
1.00x (?)

CharacterLiteralsSmall
403
403
+0.0%
1.00x

Chars
417
416
-0.2%
1.00x

ClassArrayGetter
13
13
+0.0%
1.00x

DeadArray
186
186
+0.0%
1.00x

Dictionary
556
555
-0.2%
1.00x (?)

Dictionary2
1838
1834
-0.2%
1.00x (?)

Dictionary2OfObjects
3280
3289
+0.3%
1.00x (?)

Dictionary3
440
440
+0.0%
1.00x

Dictionary3OfObjects
886
881
-0.6%
1.01x (?)

DictionaryBridge
2532
2528
-0.2%
1.00x (?)

DictionaryGroup
276
275
-0.4%
1.00x (?)

DictionaryGroupOfObjects
1790
1794
+0.2%
1.00x (?)

DictionaryLiteral
1478
1476
-0.1%
1.00x (?)

DictionaryOfObjects
2315
2319
+0.2%
1.00x (?)

DictionaryRemove
2425
2423
-0.1%
1.00x (?)

DictionaryRemoveOfObjects
23389
23433
+0.2%
1.00x (?)

DictionarySwap
429
433
+0.9%
0.99x

DictionarySwapOfObjects
6992
6963
-0.4%
1.00x (?)

DropFirstAnyCollection
56
56
+0.0%
1.00x

DropFirstAnyCollectionLazy
44813
44884
+0.2%
1.00x

DropFirstAnySeqCRangeIter
26292
26290
-0.0%
1.00x (?)

DropFirstAnySeqCRangeIterLazy
26282
26281
-0.0%
1.00x (?)

DropFirstAnySeqCntRange
50
50
+0.0%
1.00x

DropFirstAnySeqCntRangeLazy
50
50
+0.0%
1.00x

DropFirstAnySequence
5686
5779
+1.6%
0.98x

DropFirstAnySequenceLazy
5670
5755
+1.5%
0.99x

DropFirstArray
24
24
+0.0%
1.00x

DropFirstArrayLazy
24
24
+0.0%
1.00x

DropFirstCountableRange
32
32
+0.0%
1.00x

DropFirstCountableRangeLazy
32
32
+0.0%
1.00x

DropFirstSequence
2093
2093
+0.0%
1.00x

DropFirstSequenceLazy
2118
2118
+0.0%
1.00x

DropLastAnyCollection
22
22
+0.0%
1.00x

DropLastAnyCollectionLazy
14932
14980
+0.3%
1.00x (?)

DropLastAnySeqCRangeIter
4567
4566
-0.0%
1.00x (?)

DropLastAnySeqCRangeIterLazy
4564
4567
+0.1%
1.00x (?)

DropLastAnySeqCntRange
16
16
+0.0%
1.00x

DropLastAnySeqCntRangeLazy
16
16
+0.0%
1.00x

DropLastAnySequence
6749
6627
-1.8%
1.02x

DropLastAnySequenceLazy
6493
6506
+0.2%
1.00x (?)

DropLastArray
8
8
+0.0%
1.00x

DropLastArrayLazy
8
8
+0.0%
1.00x

DropLastCountableRange
10
10
+0.0%
1.00x

DropLastCountableRangeLazy
10
10
+0.0%
1.00x

DropLastSequence
596
570
-4.4%
1.05x

DropLastSequenceLazy
597
570
-4.5%
1.05x

DropWhileAnyCollection
70
69
-1.4%
1.01x

DropWhileAnyCollectionLazy
103
103
+0.0%
1.00x

DropWhileAnySeqCRangeIter
20996
21287
+1.4%
0.99x

DropWhileAnySeqCRangeIterLazy
103
103
+0.0%
1.00x

DropWhileAnySeqCntRange
64
64
+0.0%
1.00x

DropWhileAnySeqCntRangeLazy
103
103
+0.0%
1.00x

DropWhileAnySequence
6557
6555
-0.0%
1.00x (?)

DropWhileAnySequenceLazy
2032
2032
+0.0%
1.00x

DropWhileArray
37
37
+0.0%
1.00x

DropWhileArrayLazy
78
78
+0.0%
1.00x

DropWhileCountableRange
36
36
+0.0%
1.00x

DropWhileCountableRangeLazy
68
68
+0.0%
1.00x

DropWhileSequence
1548
1547
-0.1%
1.00x (?)

DropWhileSequenceLazy
65
65
+0.0%
1.00x

EqualStringSubstring
387
388
+0.3%
1.00x

EqualSubstringString
385
386
+0.3%
1.00x

EqualSubstringSubstring
384
387
+0.8%
0.99x (?)

EqualSubstringSubstringGenericEquatable
389
388
-0.3%
1.00x (?)

ErrorHandling
2913
2866
-1.6%
1.02x (?)

Hanoi
3342
3244
-2.9%
1.03x

HashTest
1682
1677
-0.3%
1.00x (?)

Histogram
299
304
+1.7%
0.98x (?)

Integrate
266
266
+0.0%
1.00x

IterateData
759
761
+0.3%
1.00x (?)

Join
385
372
-3.4%
1.03x (?)

LazilyFilteredArrays
63659
63750
+0.1%
1.00x (?)

LazilyFilteredRange
3884
3885
+0.0%
1.00x (?)

LessSubstringSubstring
385
386
+0.3%
1.00x (?)

LessSubstringSubstringGenericComparable
384
385
+0.3%
1.00x (?)

LinkedList
7160
7178
+0.3%
1.00x (?)

MapReduce
327
327
+0.0%
1.00x

MapReduceAnyCollectionShort
2078
1992
-4.1%
1.04x

MapReduceClass
3068
3071
+0.1%
1.00x (?)

MapReduceClassShort
4569
4607
+0.8%
0.99x

MapReduceLazyCollection
15
15
+0.0%
1.00x

MapReduceLazyCollectionShort
45
45
+0.0%
1.00x

MapReduceLazySequence
90
90
+0.0%
1.00x

MapReduceSequence
451
449
-0.4%
1.00x (?)

MapReduceShort
1917
1921
+0.2%
1.00x (?)

MapReduceShortString
21
21
+0.0%
1.00x

Memset
234
234
+0.0%
1.00x

MonteCarloE
10277
10276
-0.0%
1.00x (?)

MonteCarloPi
43789
43787
-0.0%
1.00x (?)

NSDictionaryCastToSwift
5334
5295
-0.7%
1.01x (?)

NSError
290
289
-0.3%
1.00x (?)

NSStringConversion
354
358
+1.1%
0.99x (?)

NopDeinit
22889
22890
+0.0%
1.00x (?)

ObjectAllocation
179
178
-0.6%
1.01x (?)

ObjectiveCBridgeFromNSArrayAnyObject
21901
21998
+0.4%
1.00x (?)

ObjectiveCBridgeFromNSArrayAnyObjectForced
3482
3473
-0.3%
1.00x (?)

ObjectiveCBridgeFromNSArrayAnyObjectToString
38589
38616
+0.1%
1.00x (?)

ObjectiveCBridgeFromNSArrayAnyObjectToStringForced
32845
32595
-0.8%
1.01x (?)

ObjectiveCBridgeFromNSDictionaryAnyObject
117979
118264
+0.2%
1.00x (?)

ObjectiveCBridgeFromNSDictionaryAnyObjectForced
5075
5082
+0.1%
1.00x (?)

ObjectiveCBridgeFromNSDictionaryAnyObjectToString
89644
90377
+0.8%
0.99x (?)

ObjectiveCBridgeFromNSDictionaryAnyObjectToStringForced
97678
100862
+3.3%
0.97x (?)

ObjectiveCBridgeFromNSSetAnyObject
63979
64179
+0.3%
1.00x (?)

ObjectiveCBridgeFromNSSetAnyObjectForced
4185
4161
-0.6%
1.01x (?)

ObjectiveCBridgeFromNSSetAnyObjectToString
67115
67142
+0.0%
1.00x (?)

ObjectiveCBridgeFromNSSetAnyObjectToStringForced
67620
67065
-0.8%
1.01x (?)

ObjectiveCBridgeFromNSString
992
998
+0.6%
0.99x (?)

ObjectiveCBridgeFromNSStringForced
1810
1821
+0.6%
0.99x (?)

ObjectiveCBridgeStubDataAppend
3741
3748
+0.2%
1.00x (?)

ObjectiveCBridgeStubDateAccess
181
181
+0.0%
1.00x

ObjectiveCBridgeStubDateMutation
272
272
+0.0%
1.00x

ObjectiveCBridgeStubFromArrayOfNSString
24505
24398
-0.4%
1.00x (?)

ObjectiveCBridgeStubFromNSDate
3602
3599
-0.1%
1.00x (?)

ObjectiveCBridgeStubFromNSDateRef
4005
4009
+0.1%
1.00x (?)

ObjectiveCBridgeStubFromNSString
536
525
-2.1%
1.02x

ObjectiveCBridgeStubFromNSStringRef
142
142
+0.0%
1.00x

ObjectiveCBridgeStubNSDataAppend
2347
2276
-3.0%
1.03x (?)

ObjectiveCBridgeStubNSDateRefAccess
312
311
-0.3%
1.00x (?)

ObjectiveCBridgeStubToArrayOfNSString
28933
28748
-0.6%
1.01x (?)

ObjectiveCBridgeStubToNSDate
14630
14487
-1.0%
1.01x (?)

ObjectiveCBridgeStubToNSDateRef
3216
3256
+1.2%
0.99x (?)

ObjectiveCBridgeStubToNSString
1514
1510
-0.3%
1.00x (?)

ObjectiveCBridgeStubToNSStringRef
109
109
+0.0%
1.00x

ObjectiveCBridgeStubURLAppendPath
220531
221841
+0.6%
0.99x (?)

ObjectiveCBridgeStubURLAppendPathRef
220311
220217
-0.0%
1.00x (?)

ObjectiveCBridgeToNSArray
28973
28965
-0.0%
1.00x (?)

ObjectiveCBridgeToNSDictionary
44317
44368
+0.1%
1.00x (?)

ObjectiveCBridgeToNSSet
38722
38914
+0.5%
1.00x (?)

ObjectiveCBridgeToNSString
1270
1272
+0.2%
1.00x (?)

ObserverClosure
2252
2256
+0.2%
1.00x (?)

ObserverForwarderStruct
1091
1090
-0.1%
1.00x (?)

ObserverPartiallyAppliedMethod
3727
3724
-0.1%
1.00x (?)

ObserverUnappliedMethod
2609
2609
+0.0%
1.00x

OpenClose
51
51
+0.0%
1.00x

Phonebook
5823
5782
-0.7%
1.01x (?)

PolymorphicCalls
22
22
+0.0%
1.00x

PopFrontArrayGeneric
1211
1203
-0.7%
1.01x

PopFrontUnsafePointer
9536
9537
+0.0%
1.00x (?)

PrefixAnyCollection
56
56
+0.0%
1.00x

PrefixAnyCollectionLazy
45005
44870
-0.3%
1.00x (?)

PrefixAnySeqCRangeIter
20573
20616
+0.2%
1.00x (?)

PrefixAnySeqCRangeIterLazy
20741
20615
-0.6%
1.01x (?)

PrefixAnySeqCntRange
50
50
+0.0%
1.00x

PrefixAnySeqCntRangeLazy
50
50
+0.0%
1.00x

PrefixAnySequence
5029
4990
-0.8%
1.01x

PrefixAnySequenceLazy
5007
5011
+0.1%
1.00x (?)

PrefixArray
24
24
+0.0%
1.00x

PrefixArrayLazy
25
25
+0.0%
1.00x

PrefixCountableRange
32
32
+0.0%
1.00x

PrefixCountableRangeLazy
32
32
+0.0%
1.00x

PrefixSequence
1571
1571
+0.0%
1.00x

PrefixSequenceLazy
1515
1515
+0.0%
1.00x

PrefixWhileAnyCollection
96
96
+0.0%
1.00x

PrefixWhileAnyCollectionLazy
75
75
+0.0%
1.00x

PrefixWhileAnySeqCRangeIter
12398
12492
+0.8%
0.99x

PrefixWhileAnySeqCRangeIterLazy
75
75
+0.0%
1.00x

PrefixWhileAnySeqCntRange
90
90
+0.0%
1.00x

PrefixWhileAnySeqCntRangeLazy
75
75
+0.0%
1.00x

PrefixWhileAnySequence
13906
13912
+0.0%
1.00x (?)

PrefixWhileAnySequenceLazy
1491
1492
+0.1%
1.00x

PrefixWhileArray
62
62
+0.0%
1.00x

PrefixWhileArrayLazy
49
49
+0.0%
1.00x

PrefixWhileCountableRange
36
36
+0.0%
1.00x

PrefixWhileCountableRangeLazy
32
32
+0.0%
1.00x

PrefixWhileSequenceLazy
28
28
+0.0%
1.00x

Prims
789
775
-1.8%
1.02x (?)

ProtocolDispatch
2424
2424
+0.0%
1.00x

ProtocolDispatch2
160
160
+0.0%
1.00x

RC4
160
160
+0.0%
1.00x

RGBHistogram
2361
2366
+0.2%
1.00x (?)

RGBHistogramOfObjects
24330
24382
+0.2%
1.00x (?)

RangeAssignment
308
308
+0.0%
1.00x

RecursiveOwnedParameter
2331
2329
-0.1%
1.00x (?)

ReversedArray
49
49
+0.0%
1.00x

ReversedBidirectional
29017
28961
-0.2%
1.00x (?)

ReversedDictionary
110
110
+0.0%
1.00x

SetExclusiveOr
3156
3187
+1.0%
0.99x (?)

SetExclusiveOr_OfObjects
9526
9474
-0.5%
1.01x (?)

SetIntersect
299
300
+0.3%
1.00x (?)

SetIntersect_OfObjects
1723
1717
-0.3%
1.00x (?)

SetIsSubsetOf
292
292
+0.0%
1.00x

SetIsSubsetOf_OfObjects
359
359
+0.0%
1.00x

SetUnion
2719
2726
+0.3%
1.00x (?)

SetUnion_OfObjects
8142
8026
-1.4%
1.01x (?)

SevenBoom
1465
1466
+0.1%
1.00x (?)

Sim2DArray
276
276
+0.0%
1.00x

SortLargeExistentials
7908
7891
-0.2%
1.00x (?)

SortLettersInPlace
1146
1146
+0.0%
1.00x

SortSortedStrings
839
847
+1.0%
0.99x (?)

SortStrings
1641
1652
+0.7%
0.99x (?)

SortStringsUnicode
7889
7548
-4.3%
1.05x

StackPromo
22277
22424
+0.7%
0.99x (?)

StaticArray
18
18
+0.0%
1.00x

StrComplexWalk
720
720
+0.0%
1.00x

StrToInt
1980
1940
-2.0%
1.02x

StringAdder
3517
3506
-0.3%
1.00x (?)

StringBuilder
1025
1018
-0.7%
1.01x (?)

StringBuilderLong
930
931
+0.1%
1.00x (?)

StringEdits
114837
114903
+0.1%
1.00x (?)

StringEqualPointerComparison
333
333
+0.0%
1.00x

StringFromLongWholeSubstring
13377
13372
-0.0%
1.00x (?)

StringFromLongWholeSubstringGeneric
22
22
+0.0%
1.00x

StringHasPrefix
16
16
+0.0%
1.00x

StringHasPrefixUnicode
14774
14687
-0.6%
1.01x

StringHasSuffix
16
16
+0.0%
1.00x

StringHasSuffixUnicode
61807
61909
+0.2%
1.00x (?)

StringInterpolation
10834
10898
+0.6%
0.99x (?)

StringMatch
7720
7415
-4.0%
1.04x

StringUTF16Builder
1876
1868
-0.4%
1.00x (?)

StringWalk
1287
1292
+0.4%
1.00x

StringWithCString
57827
59514
+2.9%
0.97x (?)

SubstringComparable
1539
1534
-0.3%
1.00x (?)

SubstringEqualString
1425
1418
-0.5%
1.00x (?)

SubstringEquatable
3756
3740
-0.4%
1.00x

SubstringFromLongString
10
10
+0.0%
1.00x

SubstringFromLongStringGeneric
60
60
+0.0%
1.00x

SuffixAnyCollection
22
22
+0.0%
1.00x

SuffixAnyCollectionLazy
14873
14924
+0.3%
1.00x (?)

SuffixAnySeqCRangeIter
4891
4891
+0.0%
1.00x

SuffixAnySeqCRangeIterLazy
4891
4891
+0.0%
1.00x

SuffixAnySeqCntRange
16
16
+0.0%
1.00x

SuffixAnySeqCntRangeLazy
16
16
+0.0%
1.00x

SuffixAnySequence
6637
6652
+0.2%
1.00x (?)

SuffixAnySequenceLazy
6507
6537
+0.5%
1.00x (?)

SuffixArray
8
8
+0.0%
1.00x

SuffixArrayLazy
8
8
+0.0%
1.00x

SuffixCountableRange
10
10
+0.0%
1.00x

SuffixCountableRangeLazy
10
10
+0.0%
1.00x

SuffixSequence
4409
4385
-0.5%
1.01x

SuffixSequenceLazy
4408
4385
-0.5%
1.01x

SuperChars
80851
80683
-0.2%
1.00x (?)

TwoSum
963
970
+0.7%
0.99x (?)

TypeFlood
0
0
+0.0%
1.00x

UTF8Decode
253
253
+0.0%
1.00x

Walsh
356
354
-0.6%
1.01x (?)

XorLoop
347
347
+0.0%
1.00x

accessGlobal
3
3
+0.0%
1.00x

accessInMatSet
18
18
+0.0%
1.00x

accessIndependent
2
2
+0.0%
1.00x

Unoptimized (Onone)

Regression (5)

TEST
OLD
NEW
DELTA
SPEEDUP

NopDeinit
171683
185164
+7.9%
0.93x

TypeFlood
156
167
+7.1%
0.93x (?)

ObjectiveCBridgeFromNSArrayAnyObject
23501
24951
+6.2%
0.94x

StringHasPrefix
1636
1736
+6.1%
0.94x

MapReduceLazySequence
25233
26671
+5.7%
0.95x

Improvement (2)

TEST
OLD
NEW
DELTA
SPEEDUP

ObjectiveCBridgeFromNSSetAnyObjectToStringForced
76554
70930
-7.3%
1.08x (?)

AngryPhonebook
5221
4922
-5.7%
1.06x (?)

No Changes (314)

TEST
OLD
NEW
DELTA
SPEEDUP

AnyHashableWithAClass
84376
84519
+0.2%
1.00x

Array2D
603261
603344
+0.0%
1.00x (?)

ArrayAppend
3669
3596
-2.0%
1.02x

ArrayAppendArrayOfInt
653
653
+0.0%
1.00x

ArrayAppendAscii
51751
50766
-1.9%
1.02x

ArrayAppendFromGeneric
657
655
-0.3%
1.00x

ArrayAppendGenericStructs
1293
1293
+0.0%
1.00x

ArrayAppendLatin1
73532
72618
-1.2%
1.01x

ArrayAppendLazyMap
220951
213451
-3.4%
1.04x

ArrayAppendOptionals
1285
1290
+0.4%
1.00x (?)

ArrayAppendRepeatCol
210678
216552
+2.8%
0.97x (?)

ArrayAppendReserved
3538
3430
-3.1%
1.03x

ArrayAppendSequence
73164
72508
-0.9%
1.01x

ArrayAppendStrings
13652
13729
+0.6%
0.99x (?)

ArrayAppendToFromGeneric
655
655
+0.0%
1.00x

ArrayAppendToGeneric
655
657
+0.3%
1.00x (?)

ArrayAppendUTF16
74681
73581
-1.5%
1.01x

ArrayInClass
6640
6646
+0.1%
1.00x

ArrayLiteral
1737
1744
+0.4%
1.00x (?)

ArrayOfGenericPOD
2986
3078
+3.1%
0.97x

ArrayOfGenericRef
10080
10028
-0.5%
1.01x (?)

ArrayOfPOD
1892
1892
+0.0%
1.00x

ArrayOfRef
9098
9020
-0.9%
1.01x

ArrayPlusEqualArrayOfInt
654
654
+0.0%
1.00x

ArrayPlusEqualFiveElementCollection
299969
296141
-1.3%
1.01x (?)

ArrayPlusEqualSingleElementCollection
295004
292419
-0.9%
1.01x (?)

ArrayPlusEqualThreeElements
10915
10813
-0.9%
1.01x (?)

ArraySubscript
4182
4203
+0.5%
1.00x (?)

ArrayValueProp
3562
3592
+0.8%
0.99x (?)

ArrayValueProp2
18267
18314
+0.3%
1.00x (?)

ArrayValueProp3
3967
3960
-0.2%
1.00x (?)

ArrayValueProp4
3878
3862
-0.4%
1.00x (?)

BitCount
1719
1724
+0.3%
1.00x (?)

ByteSwap
4156
4147
-0.2%
1.00x (?)

CStringLongAscii
4419
4532
+2.6%
0.98x

CStringLongNonAscii
2262
2301
+1.7%
0.98x

CStringShortAscii
8575
8605
+0.3%
1.00x (?)

Calculator
1162
1163
+0.1%
1.00x (?)

CaptureProp
109162
110750
+1.5%
0.99x

CharIndexing_ascii_unicodeScalars
475880
472192
-0.8%
1.01x (?)

CharIndexing_ascii_unicodeScalars_Backwards
548205
532505
-2.9%
1.03x (?)

CharIndexing_chinese_unicodeScalars
357194
355536
-0.5%
1.00x (?)

CharIndexing_chinese_unicodeScalars_Backwards
409165
400487
-2.1%
1.02x (?)

CharIndexing_japanese_unicodeScalars
586712
564338
-3.8%
1.04x

CharIndexing_japanese_unicodeScalars_Backwards
651252
661408
+1.6%
0.98x (?)

CharIndexing_korean_unicodeScalars
458149
458211
+0.0%
1.00x (?)

CharIndexing_korean_unicodeScalars_Backwards
522291
525762
+0.7%
0.99x (?)

CharIndexing_punctuatedJapanese_unicodeScalars
81981
81180
-1.0%
1.01x (?)

CharIndexing_punctuatedJapanese_unicodeScalars_Backwards
93182
92187
-1.1%
1.01x (?)

CharIndexing_punctuated_unicodeScalars
103312
103213
-0.1%
1.00x (?)

CharIndexing_punctuated_unicodeScalars_Backwards
117707
118274
+0.5%
1.00x (?)

CharIndexing_russian_unicodeScalars
392912
391656
-0.3%
1.00x (?)

CharIndexing_russian_unicodeScalars_Backwards
446108
447362
+0.3%
1.00x (?)

CharIndexing_tweet_unicodeScalars
936892
948635
+1.3%
0.99x (?)

CharIndexing_tweet_unicodeScalars_Backwards
1065737
1064951
-0.1%
1.00x (?)

CharIndexing_utf16_unicodeScalars
534797
534638
-0.0%
1.00x (?)

CharIndexing_utf16_unicodeScalars_Backwards
603122
598084
-0.8%
1.01x (?)

CharIteration_ascii_unicodeScalars
180622
180004
-0.3%
1.00x

CharIteration_ascii_unicodeScalars_Backwards
328513
321006
-2.3%
1.02x

CharIteration_chinese_unicodeScalars
136331
136237
-0.1%
1.00x (?)

CharIteration_chinese_unicodeScalars_Backwards
242001
241811
-0.1%
1.00x (?)

CharIteration_japanese_unicodeScalars
215700
215944
+0.1%
1.00x (?)

CharIteration_japanese_unicodeScalars_Backwards
384108
383530
-0.2%
1.00x (?)

CharIteration_korean_unicodeScalars
174967
174428
-0.3%
1.00x (?)

CharIteration_korean_unicodeScalars_Backwards
312448
310220
-0.7%
1.01x (?)

CharIteration_punctuatedJapanese_unicodeScalars
32006
31967
-0.1%
1.00x

CharIteration_punctuatedJapanese_unicodeScalars_Backwards
56005
55996
-0.0%
1.00x (?)

CharIteration_punctuated_unicodeScalars
40209
40115
-0.2%
1.00x (?)

CharIteration_punctuated_unicodeScalars_Backwards
71266
71419
+0.2%
1.00x (?)

CharIteration_russian_unicodeScalars
149847
150033
+0.1%
1.00x (?)

CharIteration_russian_unicodeScalars_Backwards
268260
270393
+0.8%
0.99x (?)

CharIteration_tweet_unicodeScalars
355465
357005
+0.4%
1.00x

CharIteration_tweet_unicodeScalars_Backwards
637241
637400
+0.0%
1.00x (?)

CharIteration_utf16_unicodeScalars
212759
213125
+0.2%
1.00x (?)

CharIteration_utf16_unicodeScalars_Backwards
416789
416324
-0.1%
1.00x (?)

CharacterLiteralsLarge
6201
6207
+0.1%
1.00x (?)

CharacterLiteralsSmall
653
658
+0.8%
0.99x (?)

Chars
48406
48392
-0.0%
1.00x (?)

ClassArrayGetter
987
986
-0.1%
1.00x

DeadArray
114646
113126
-1.3%
1.01x (?)

Dictionary
3035
3070
+1.2%
0.99x (?)

Dictionary2
3509
3505
-0.1%
1.00x (?)

Dictionary2OfObjects
6128
6092
-0.6%
1.01x (?)

Dictionary3
1321
1315
-0.5%
1.00x (?)

Dictionary3OfObjects
2340
2326
-0.6%
1.01x (?)

DictionaryBridge
2637
2626
-0.4%
1.00x (?)

DictionaryGroup
4998
4969
-0.6%
1.01x

DictionaryGroupOfObjects
8115
8128
+0.2%
1.00x (?)

DictionaryLiteral
8364
8347
-0.2%
1.00x (?)

DictionaryOfObjects
6621
6653
+0.5%
1.00x (?)

DictionaryRemove
21361
21534
+0.8%
0.99x

DictionaryRemoveOfObjects
59699
59454
-0.4%
1.00x (?)

DictionarySwap
5253
5318
+1.2%
0.99x (?)

DictionarySwapOfObjects
23182
23060
-0.5%
1.01x (?)

DropFirstAnyCollection
18766
18979
+1.1%
0.99x

DropFirstAnyCollectionLazy
137678
137206
-0.3%
1.00x (?)

DropFirstAnySeqCRangeIter
28289
28464
+0.6%
0.99x (?)

DropFirstAnySeqCRangeIterLazy
28099
28784
+2.4%
0.98x

DropFirstAnySeqCntRange
18966
18904
-0.3%
1.00x (?)

DropFirstAnySeqCntRangeLazy
18729
19180
+2.4%
0.98x

DropFirstAnySequence
12779
12889
+0.9%
0.99x (?)

DropFirstAnySequenceLazy
12679
12917
+1.9%
0.98x

DropFirstArray
6153
6311
+2.6%
0.97x

DropFirstArrayLazy
44634
44448
-0.4%
1.00x (?)

DropFirstCountableRange
339
340
+0.3%
1.00x

DropFirstCountableRangeLazy
37470
37887
+1.1%
0.99x (?)

DropFirstSequence
11682
11775
+0.8%
0.99x (?)

DropFirstSequenceLazy
11543
11823
+2.4%
0.98x

DropLastAnyCollection
6259
6320
+1.0%
0.99x (?)

DropLastAnyCollectionLazy
45785
45864
+0.2%
1.00x (?)

DropLastAnySeqCRangeIter
43183
43269
+0.2%
1.00x (?)

DropLastAnySeqCRangeIterLazy
43734
43062
-1.5%
1.02x

DropLastAnySeqCntRange
6254
6354
+1.6%
0.98x

DropLastAnySeqCntRangeLazy
6329
6382
+0.8%
0.99x (?)

DropLastAnySequence
28913
29288
+1.3%
0.99x

DropLastAnySequenceLazy
29053
28989
-0.2%
1.00x

DropLastArray
2082
2107
+1.2%
0.99x

DropLastArrayLazy
14903
14827
-0.5%
1.01x

DropLastCountableRange
118
118
+0.0%
1.00x

DropLastCountableRangeLazy
12481
12520
+0.3%
1.00x (?)

DropLastSequence
28733
28518
-0.7%
1.01x (?)

DropLastSequenceLazy
28925
29188
+0.9%
0.99x

DropWhileAnyCollection
24524
24571
+0.2%
1.00x (?)

DropWhileAnyCollectionLazy
27244
27121
-0.5%
1.00x (?)

DropWhileAnySeqCRangeIter
30561
30679
+0.4%
1.00x (?)

DropWhileAnySeqCRangeIterLazy
26741
27150
+1.5%
0.98x (?)

DropWhileAnySeqCntRange
24794
24672
-0.5%
1.00x

DropWhileAnySeqCntRangeLazy
26930
27185
+0.9%
0.99x

DropWhileAnySequence
15106
15168
+0.4%
1.00x (?)

DropWhileAnySequenceLazy
12187
12677
+4.0%
0.96x

DropWhileArray
9761
9844
+0.9%
0.99x

DropWhileArrayLazy
16776
16770
-0.0%
1.00x (?)

DropWhileCountableRange
6006
5971
-0.6%
1.01x

DropWhileCountableRangeLazy
25701
26450
+2.9%
0.97x

DropWhileSequence
14155
14499
+2.4%
0.98x

DropWhileSequenceLazy
10947
11394
+4.1%
0.96x

EqualStringSubstring
660
666
+0.9%
0.99x

EqualSubstringString
660
663
+0.5%
1.00x (?)

EqualSubstringSubstring
776
774
-0.3%
1.00x

EqualSubstringSubstringGenericEquatable
415
416
+0.2%
1.00x

ErrorHandling
6801
6751
-0.7%
1.01x (?)

Hanoi
18249
18159
-0.5%
1.00x

HashTest
18114
18230
+0.6%
0.99x (?)

Histogram
8981
9081
+1.1%
0.99x (?)

Integrate
697
729
+4.6%
0.96x

IterateData
12821
12818
-0.0%
1.00x (?)

Join
1200
1195
-0.4%
1.00x

LazilyFilteredArrays
1684759
1678083
-0.4%
1.00x

LazilyFilteredRange
676556
665567
-1.6%
1.02x

LessSubstringSubstring
781
776
-0.6%
1.01x (?)

LessSubstringSubstringGenericComparable
436
437
+0.2%
1.00x

LinkedList
40461
40483
+0.1%
1.00x

MapReduce
37791
37491
-0.8%
1.01x (?)

MapReduceAnyCollection
37297
37425
+0.3%
1.00x (?)

MapReduceAnyCollectionShort
49945
49888
-0.1%
1.00x (?)

MapReduceClass
42691
42661
-0.1%
1.00x (?)

MapReduceClassShort
53704
53698
-0.0%
1.00x (?)

MapReduceLazyCollection
32624
34169
+4.7%
0.95x (?)

MapReduceLazyCollectionShort
43552
43654
+0.2%
1.00x (?)

MapReduceSequence
40526
40696
+0.4%
1.00x (?)

MapReduceShort
49986
49940
-0.1%
1.00x (?)

MapReduceShortString
275
276
+0.4%
1.00x (?)

MapReduceString
2608
2617
+0.3%
1.00x (?)

Memset
43720
43717
-0.0%
1.00x (?)

MonteCarloE
135458
134836
-0.5%
1.00x

MonteCarloPi
52509
52513
+0.0%
1.00x (?)

NSDictionaryCastToSwift
6538
6568
+0.5%
1.00x (?)

NSError
706
704
-0.3%
1.00x (?)

NSStringConversion
398
397
-0.3%
1.00x

ObjectAllocation
1486
1471
-1.0%
1.01x (?)

ObjectiveCBridgeFromNSArrayAnyObjectForced
6742
6661
-1.2%
1.01x

ObjectiveCBridgeFromNSArrayAnyObjectToString
39939
39603
-0.8%
1.01x (?)

ObjectiveCBridgeFromNSArrayAnyObjectToStringForced
33519
33332
-0.6%
1.01x (?)

ObjectiveCBridgeFromNSDictionaryAnyObject
124251
121402
-2.3%
1.02x (?)

ObjectiveCBridgeFromNSDictionaryAnyObjectForced
7474
7671
+2.6%
0.97x (?)

ObjectiveCBridgeFromNSDictionaryAnyObjectToString
93846
92896
-1.0%
1.01x (?)

ObjectiveCBridgeFromNSDictionaryAnyObjectToStringForced
100880
104883
+4.0%
0.96x (?)

ObjectiveCBridgeFromNSSetAnyObject
68735
68882
+0.2%
1.00x

ObjectiveCBridgeFromNSSetAnyObjectForced
7446
7381
-0.9%
1.01x (?)

ObjectiveCBridgeFromNSSetAnyObjectToString
72775
73251
+0.7%
0.99x (?)

ObjectiveCBridgeFromNSString
3856
3903
+1.2%
0.99x (?)

ObjectiveCBridgeFromNSStringForced
2185
2213
+1.3%
0.99x (?)

ObjectiveCBridgeStubDataAppend
3996
3907
-2.2%
1.02x (?)

ObjectiveCBridgeStubDateAccess
1031
1033
+0.2%
1.00x (?)

ObjectiveCBridgeStubDateMutation
485
485
+0.0%
1.00x

ObjectiveCBridgeStubFromArrayOfNSString
25098
24751
-1.4%
1.01x (?)

ObjectiveCBridgeStubFromNSDate
4083
4121
+0.9%
0.99x (?)

ObjectiveCBridgeStubFromNSDateRef
4478
4475
-0.1%
1.00x (?)

ObjectiveCBridgeStubFromNSString
582
568
-2.4%
1.02x

ObjectiveCBridgeStubFromNSStringRef
181
181
+0.0%
1.00x

ObjectiveCBridgeStubNSDataAppend
2645
2658
+0.5%
1.00x (?)

ObjectiveCBridgeStubNSDateMutationRef
16015
15670
-2.2%
1.02x (?)

ObjectiveCBridgeStubNSDateRefAccess
1887
1900
+0.7%
0.99x (?)

ObjectiveCBridgeStubToArrayOfNSString
29438
29080
-1.2%
1.01x (?)

ObjectiveCBridgeStubToNSDate
15473
15147
-2.1%
1.02x (?)

ObjectiveCBridgeStubToNSDateRef
3323
3331
+0.2%
1.00x (?)

ObjectiveCBridgeStubToNSString
1569
1564
-0.3%
1.00x (?)

ObjectiveCBridgeStubToNSStringRef
155
155
+0.0%
1.00x

ObjectiveCBridgeStubURLAppendPath
224570
228034
+1.5%
0.98x (?)

ObjectiveCBridgeStubURLAppendPathRef
223841
222896
-0.4%
1.00x (?)

ObjectiveCBridgeToNSArray
28851
28754
-0.3%
1.00x (?)

ObjectiveCBridgeToNSDictionary
45393
44874
-1.1%
1.01x (?)

ObjectiveCBridgeToNSSet
39667
39828
+0.4%
1.00x (?)

ObjectiveCBridgeToNSString
1302
1300
-0.2%
1.00x (?)

ObserverClosure
6914
6831
-1.2%
1.01x

ObserverForwarderStruct
4860
4842
-0.4%
1.00x (?)

ObserverPartiallyAppliedMethod
8508
8514
+0.1%
1.00x (?)

ObserverUnappliedMethod
8493
8519
+0.3%
1.00x (?)

OpenClose
392
392
+0.0%
1.00x

Phonebook
21788
21682
-0.5%
1.00x (?)

PolymorphicCalls
5228
5387
+3.0%
0.97x

PopFrontArray
9967
9899
-0.7%
1.01x (?)

PopFrontArrayGeneric
8880
8880
+0.0%
1.00x

PopFrontUnsafePointer
98280
97905
-0.4%
1.00x (?)

PrefixAnyCollection
18833
18808
-0.1%
1.00x (?)

PrefixAnyCollectionLazy
137778
136476
-0.9%
1.01x (?)

PrefixAnySeqCRangeIter
22639
22748
+0.5%
1.00x (?)

PrefixAnySeqCRangeIterLazy
22531
22500
-0.1%
1.00x (?)

PrefixAnySeqCntRange
18957
18845
-0.6%
1.01x (?)

PrefixAnySeqCntRangeLazy
18728
19203
+2.5%
0.98x

PrefixAnySequence
10632
10739
+1.0%
0.99x (?)

PrefixAnySequenceLazy
10637
10805
+1.6%
0.98x

PrefixArray
6167
6303
+2.2%
0.98x

PrefixArrayLazy
44652
44462
-0.4%
1.00x (?)

PrefixCountableRange
339
340
+0.3%
1.00x

PrefixCountableRangeLazy
37489
37935
+1.2%
0.99x (?)

PrefixSequence
9516
9554
+0.4%
1.00x

PrefixSequenceLazy
9486
9643
+1.7%
0.98x

PrefixWhileAnyCollection
36095
35682
-1.1%
1.01x

PrefixWhileAnyCollectionLazy
22423
22520
+0.4%
1.00x (?)

PrefixWhileAnySeqCRangeIter
40803
40139
-1.6%
1.02x

PrefixWhileAnySeqCRangeIterLazy
22249
22249
+0.0%
1.00x

PrefixWhileAnySeqCntRange
36483
35666
-2.2%
1.02x

PrefixWhileAnySeqCntRangeLazy
22095
22497
+1.8%
0.98x

PrefixWhileAnySequence
29614
29783
+0.6%
0.99x

PrefixWhileAnySequenceLazy
11209
11204
-0.0%
1.00x (?)

PrefixWhileArray
16747
16836
+0.5%
0.99x

PrefixWhileArrayLazy
14561
14567
+0.0%
1.00x (?)

PrefixWhileCountableRange
17203
17174
-0.2%
1.00x (?)

PrefixWhileCountableRangeLazy
21347
21588
+1.1%
0.99x

PrefixWhileSequence
28251
28460
+0.7%
0.99x

PrefixWhileSequenceLazy
10256
10651
+3.9%
0.96x

Prims
10071
10125
+0.5%
0.99x (?)

ProtocolDispatch
7007
6999
-0.1%
1.00x (?)

ProtocolDispatch2
493
493
+0.0%
1.00x

RC4
19717
20700
+5.0%
0.95x

RGBHistogram
34171
34387
+0.6%
0.99x (?)

RGBHistogramOfObjects
108058
108419
+0.3%
1.00x (?)

RangeAssignment
5722
5760
+0.7%
0.99x

RecursiveOwnedParameter
11210
11157
-0.5%
1.00x

ReversedArray
43885
44378
+1.1%
0.99x (?)

ReversedBidirectional
76249
74895
-1.8%
1.02x (?)

ReversedDictionary
28444
28280
-0.6%
1.01x

SetExclusiveOr
21341
21403
+0.3%
1.00x (?)

SetExclusiveOr_OfObjects
48075
48295
+0.5%
1.00x

SetIntersect
10956
10915
-0.4%
1.00x (?)

SetIntersect_OfObjects
12590
12540
-0.4%
1.00x (?)

SetIsSubsetOf
1675
1677
+0.1%
1.00x

SetIsSubsetOf_OfObjects
1581
1578
-0.2%
1.00x

SetUnion
11776
11763
-0.1%
1.00x (?)

SetUnion_OfObjects
33526
33640
+0.3%
1.00x

SevenBoom
1598
1585
-0.8%
1.01x (?)

Sim2DArray
31917
31931
+0.0%
1.00x (?)

SortLargeExistentials
17873
17943
+0.4%
1.00x

SortLettersInPlace
3154
3140
-0.4%
1.00x

SortSortedStrings
1424
1412
-0.8%
1.01x

SortStrings
2514
2470
-1.8%
1.02x

SortStringsUnicode
9039
8987
-0.6%
1.01x

StackPromo
104260
101247
-2.9%
1.03x (?)

StaticArray
4592
4601
+0.2%
1.00x (?)

StrComplexWalk
6762
6764
+0.0%
1.00x (?)

StrToInt
101619
101411
-0.2%
1.00x (?)

StringAdder
3768
3768
+0.0%
1.00x

StringBuilder
6971
6928
-0.6%
1.01x (?)

StringBuilderLong
1103
1097
-0.5%
1.01x (?)

StringEdits
368325
374311
+1.6%
0.98x (?)

StringEqualPointerComparison
2434
2463
+1.2%
0.99x

StringFromLongWholeSubstring
13276
13347
+0.5%
0.99x (?)

StringFromLongWholeSubstringGeneric
208
206
-1.0%
1.01x

StringHasPrefixUnicode
16796
16437
-2.1%
1.02x

StringHasSuffix
1796
1861
+3.6%
0.97x

StringHasSuffixUnicode
63353
63256
-0.2%
1.00x (?)

StringInterpolation
13885
13804
-0.6%
1.01x (?)

StringMatch
32479
31812
-2.1%
1.02x

StringUTF16Builder
7881
7736
-1.8%
1.02x (?)

StringWalk
12482
13068
+4.7%
0.96x

StringWithCString
56185
57332
+2.0%
0.98x

SubstringComparable
4232
4232
+0.0%
1.00x

SubstringEqualString
6315
6351
+0.6%
0.99x (?)

SubstringEquatable
8055
8172
+1.5%
0.99x

SubstringFromLongString
12
12
+0.0%
1.00x

SubstringFromLongStringGeneric
111
110
-0.9%
1.01x

SuffixAnyCollection
6288
6304
+0.3%
1.00x (?)

SuffixAnyCollectionLazy
45682
45816
+0.3%
1.00x (?)

SuffixAnySeqCRangeIter
41353
41241
-0.3%
1.00x (?)

SuffixAnySeqCRangeIterLazy
41902
40936
-2.3%
1.02x

SuffixAnySeqCntRange
6268
6338
+1.1%
0.99x

SuffixAnySeqCntRangeLazy
6324
6371
+0.7%
0.99x

SuffixAnySequence
26685
26881
+0.7%
0.99x

SuffixAnySequenceLazy
26714
26901
+0.7%
0.99x

SuffixArray
2082
2107
+1.2%
0.99x

SuffixArrayLazy
14899
14833
-0.4%
1.00x (?)

SuffixCountableRange
118
118
+0.0%
1.00x

SuffixCountableRangeLazy
12475
12512
+0.3%
1.00x (?)

SuffixSequence
26321
26402
+0.3%
1.00x

SuffixSequenceLazy
26310
26730
+1.6%
0.98x

SuperChars
189298
188945
-0.2%
1.00x (?)

TwoSum
4231
4229
-0.0%
1.00x (?)

UTF8Decode
37296
37083
-0.6%
1.01x

Walsh
11949
11970
+0.2%
1.00x (?)

XorLoop
25077
25078
+0.0%
1.00x (?)

accessGlobal
184
191
+3.8%
0.96x

accessInMatSet
325
327
+0.6%
0.99x

accessIndependent
125
124
-0.8%
1.01x

Hardware Overview
  Model Name: Mac mini
  Model Identifier: Macmini7,1
  Processor Name: Intel Core i5
  Processor Speed: 2.8 GHz
  Number of Processors: 1
  Total Number of Cores: 2
  L2 Cache (per Core): 256 KB
  L3 Cache: 3 MB
  Memory: 8 GB

Since masking shifts can more efficient than non-masking ones, and since it is not possible to implement the same generic method twice, once with an additional constraint, wouldn't there be performance implications to redesigning in this way?
IMO, it is fine to consider masking shift as the most primitive operation; for a binary integer of arbitrary width, it should simply always be the same operation as the non-masking shift. This can be achieved by redefining masking shift semantics without any change in the syntax or protocol design.

@xwu good questions.  Fortunately I think I have answers.
W.r.t. performance implications, this only comes up if:

you are writing generic code on BinaryInteger
the shift amount is a non-constant
you know you can afford the semantics of a masking shift when the integer is FixedWidth
masking the shift using some constant not based on the type of the LHS would produce the wrong result.

I'm not even sure there is a use case like this, but if a use-case does exist we should figure out a way to support it.  The following might be a useful component of that solution, though admittedly it only generates good code for the fixed-width integers and thus suggests isFixedWidth should be a protocol requirement.
extension BinaryInteger {
  static var isFixedWidth: Bool {
    return isSigned
    ? Magnitude(extendingOrTruncating: ~Self()) != ~Self()
    : (~Self() << 1) < ~Self()
  }
}

With regard to defining the semantics as you suggest, I personally didn't see any way to specify them so they made sense, that didn't get into a horrible tangle.  Try to write out the formal semantic requirements of &<< and &>> for BinaryIntegerand you'll see what I mean—or else you'll succeed, and so much the better!

I've thought about the isFixedWidth idea. I wouldn't mind its addition to BinaryInteger. That said, by your "what useful algorithms does this enable" test, the utility is limited.
By this I mean that isFixedWidth could be enormously useful, for example, in implementing certain Rational<T> functions. For a fixed-width T, the use of full-width multiplication and division may be required for certain operands to avoid overflow trapping when attempting to compute the product of two instances of Rational<T>. However, just as your proposal would make it impossible to write &<< in the generic context when working with instances of typeT : BinaryInteger, it is currently impossible to use multipliedFullWidth in an algorithm that operates on instances of type T : BinaryInteger.
This is all to say that isFixedWidth is interesting, and I like it, but for its full utility we need to address the &<< vs. << problem for all operations for which there are fixed-width-specific considerations.
As to the semantics of &<< vs. <<, let me try this out:

A BinaryInteger represents, simultaneously, an integral numeric value and a sequence of bits (potentially infinite) which is the two's-complement representation of that value.
A FixedWidthInteger represents, simultaneously, an integral numeric value and a finite collection of bits, with fixed count, which is the two's-complement representation of that value.
All bitwise operators and bit shifting operators, as their names suggest, operate on the bits represented by operands and not the numeric value.
A masking shift logically preprocesses the right-hand operand by masking its bits to produce a value in the range 0...(x-1) where x is the number of bits in the left-hand operand. (Unchanged.)

Note that this definition requires &<< to be a protocol requirement without a default implementation, as there is no possible default implementation of &<< on BinaryInteger directly. Any arbitrary-width integer conforming to BinaryInteger, though, can conform to that protocol by providing an implementation of &<< consistent with the above semantics; I expect that all such arbitrary-width integer types will model an infinite sequence of bits since operations like & and | demand this interpretation, and the desired behavior of &<< therefore falls out automatically.

Thanks, @xwu—I think I'm mostly with you. Although within the current system we can't say a BinaryInteger has an infinite number of bits, it does help to model it that way.
It's helpful for me to make a distinction between what a masking shift does and what it's for. What it does is right in the name—it masks the RHS value to be in the range of 0..<lhs.bitWidth and then performs the shift. However, it's not made for the purpose of shifting bits by a masked value. Instead, it's for shifting bits without the branching that the smart shift operator performs, when you know the LHS value is "in bounds" for the type you're using.
That is to say, it isn't designed so we can write code like this:
let x: UInt8 = 2
let y = x &<< 10    // 10 & 0x7 == 2, so y == 2 << 2 == 8

Instead, it's so we can write code like this with the best possible performance, while still having defined behavior when LHS is outside the bounds that would be caught by a smart shift:
let x: UInt8 = 2
let y = x &<< 2      // or really shifted by some value we statically know is in 0..<8

I still don't think it's clear that there are any cases where the criteria Dave set forth above are met, so to me the "standard" shift operators make more sense at the BinaryInteger level. Their performance would be slightly better that at the FixedWidthInteger, since there's only the single branch to test for negative values, a case we'd need to handle for the masking shifts anyway. What do you see as the behavior for a negative masking shift on an arbitrarily-sized integer?

@xwu a few thoughts I'd like to add to what Nate said.  I agree strongly that isFixedWidth has limited utility, because you still have no way of finding out what the mask width should be in that case.  I think I just felt the need to post the implementation once I figured out how to write it :wink:. If I were going to try to handle things in this vein, I think I'd want var maxBitWidth: Int?, which would be nil for types that were not fixed-width.
But I don't think I want to handle things this way, because of what it does to the semantic description of &<<.  While your description of the semantics makes intuitive sense, it doesn't amount to what I asked for: documentation of the semantic requirements of &<< and &>> for BinaryInteger.  Specifically, you need to be able to answer the question, given an arbitrary model x of BinaryInteger and an arbitrary integer n, what can a generic algorithm writer count on about the result of x &<< n?  This is almost equivalent to answering the question, “ what useful algorithms does this enable?”

@natecook1000 @dabrahams Very good points.
Nate, you bring up an interesting question about masking shift by a negative value. In playing with implementing a bignum type, I had to figure out what to do about exactly that under the current semantics. It is not a useful operation; the semantics would imply that the result should be infinitely large, since, after masking, any negative value would be infinitely large. Absent a representation for infinity, this should be an error. This supports the notion that &<< does not have sensible semantics for a bignum.
As to what useful algorithms I'm interested in, the answer is simply: For any arbitrary integer value x and n, I want some spelling for left-shifting x by n in generic code in such a way that: (1) for 0 <= n < x.bitWidth, the result is equal to x << n; and (2) is the most performant. If, of course, it is true that Dave's criteria are never met, then the point is moot.

@xwu if what you're really interested in is x.bitWidth the answer is simple.  However, x.bitWidth is an upper bound on the number of bits required to represent x, not the number of bits representable by type(of: x), i.e. (1.bitWidth could be 1), so I doubt this is really what you're after.

@dabrahams Right, that's not quite what I'm after. The upperbound-ness of bitWidth is practical but a little tricky!

Looking a little further, I'm not convinced that bitWidth is useful the way it's currently defined, at least for BinaryInteger and ( @natecook1000 ) it looks like it is used in the documentation of &<< as though it means something like the aforementioned maxBitWidth.  IMO we should strongly consider replacing it.

@swift-ci Please Test Source Compatibility

https://github.com/apple/swift-corelibs-foundation/pull/1124
@swift-ci Please test Linux platform

I went spelunking in the SE-104 history to see how we arrived at this situation:

The initial proposal had both masking and smart shifts, but they were all only for shifting FixedWidthIntegers. In the second round, the masking shifts moved up to BinaryInteger, but obviously didn't get into the details we're discussing here.
There was once a minimumSignedRepresentationBitWidth property, which sounds like it would help this discussion or perhaps be more accurate than bitWidth for arbitrarily-sized integers.
None of the discussion of bitWidth in the proposals really reckons with these questions.

@dabrahams Do you mean getting rid of the instance-level bitWidth property? I'm really not sure what to make of that either at the BinaryInteger level.

@natecook1000 @dabrahams Agree that the current semantics of instance-level bitWidth are unsatisfying. There's the fixed-width bitWidth on the one hand that has its uses, and then really what we want is another property to tell us the position of the leading one bit of the binary representation of the absolute value--however one wants to name that property. I'd be in favor of exploring spellings that avoid "bit width" at all, to better distinguish the two.

@xwu because leadingZeroBitCount is a fundamental property, we just need something that represents... the bitWidth 😉.  Then you can subtract them.

@dabrahams It's turtles all the way down: leadingZeroBitCount is a property of fixed-width integers only (unlike trailingZeroBitCount).

apple/swift-corelibs-foundation#1124
@swift-ci Please test Linux platform

on Fri Jul 21 2017, Xiaodi Wu <notifications-AT-github.com> wrote:

@dabrahams It's turtles all the way down: leadingZeroBitCount is a
property of fixed-width integers only (unlike trailingZeroBitCount).

It's also worth pointing out that words.count gives us all the useful
information currently available from bitWidth.

In many places instance bitWidth is used in the branches in generic code over BinaryInteger with the hope that optimizer will inline a constant there and eliminate those branches completely in a fully specialized code. Even though it's not a good enough reason to design an API based on the capabilities of the compiler, replacing instance bitWidth with words.count almost certainly will result in regressions.

Perhaps we can underscore it for now... in order to discourage usages, and see what to do with it at a later date.

on Mon Jul 24 2017, Maxim Moiseev <notifications-AT-github.com> wrote:

In many places instance bitWidth is used in the branches in generic
code over BinaryInteger with the hope that optimizer will inline a
constant there and eliminate those branches completely in a fully
specialized code. Even though it's not a good enough reason to design
an API based on the capabilities of the compiler, replacing instance
bitWidth with words.count almost certainly will result in
regressions.

I can't imagine why, if Words is CollectionOfOne(UInt) in almost every
case.

@dabrahams no reason to not try it then.

Huh. Words is not a collection. So, no count for us to use.

@moiseev Collection conformance for Words requires compiler support for recursive constraints. (It works with 03f3a0ca.)
With the current compiler, it may be possible to add _IndexableBase or even _Indexable conformance; unfortunately the count property is in neither of those protocols. (Plus the extra constraint causes weird bugs that I did not have time to track down yet.)

I took a second look on the latest master and it seems BinaryInteger.Words can now be constrained to Collection -- see #11178. 🎉
This enables the use of words.count as a potential replacement for bitWidth.

on Tue Jul 25 2017, Károly Lőrentey <notifications-AT-github.com> wrote:

@moiseev Collection conformance for Words requires compiler support for recursive
constraints. (It works with 03f3a0ca.)
With the current compiler, it may be possible to add _IndexableBase
or even _Indexable conformance; unfortunately the count property
is in neither of those protocols.

We should just move the property requirement up in the protocol
hierarchy as high as we need it to be.
--
-Dave