cmake: fix server example building on MSYS2 environments (Windows)

Winsock (ws2_32) library is needed to build bark.cpp on MSYS2 environments.
Otherwise you'll see errors like  undefined reference to '__imp_WSACleanup', etc.

Building works fine with this change.
przemoc@NUC11PHKi7C002 UCRT64 /d/git/github.com/PABannier/bark.cpp
$ cmake -B build && cmake --build build -j --config Release
-- Building for: Ninja
-- The C compiler identification is GNU 13.2.0
-- The CXX compiler identification is GNU 13.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/msys64/ucrt64/bin/cc.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/msys64/ucrt64/bin/c++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Deprecation Warning at encodec.cpp/ggml/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.

-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- CMAKE_SYSTEM_PROCESSOR: AMD64
-- x86 detected
-- Configuring done (7.5s)
-- Generating done (0.0s)
-- Build files have been written to: D:/git/github.com/PABannier/bark.cpp/build

[1/16] Building C object encodec.cpp/ggml/src/CMakeFiles/ggml.dir/ggml-backend.c.obj
[2/16] Building C object encodec.cpp/ggml/src/CMakeFiles/ggml.dir/ggml-alloc.c.obj
[3/16] Building CXX object examples/main/CMakeFiles/main.dir/main.cpp.obj
[4/16] Building CXX object examples/quantize/CMakeFiles/quantize.dir/main.cpp.obj
[5/16] Building CXX object encodec.cpp/CMakeFiles/encodec.dir/encodec.cpp.obj
D:/git/github.com/PABannier/bark.cpp/encodec.cpp/encodec.cpp:265:22: warning: multi-character character constant [-Wmultichar]
  265 |         if (magic != ENCODEC_FILE_MAGIC) {
      |                      ^~~~~~~~~~~~~~~~~~
[6/16] Building CXX object examples/CMakeFiles/common.dir/common.cpp.obj
[7/16] Linking CXX static library examples\libcommon.a
[8/16] Building CXX object CMakeFiles/bark.dir/bark.cpp.obj
[9/16] Building C object encodec.cpp/ggml/src/CMakeFiles/ggml.dir/ggml.c.obj
[10/16] Linking C static library encodec.cpp\ggml\src\libggml.a
[11/16] Linking CXX static library encodec.cpp\libencodec.a
[12/16] Linking CXX static library libbark.a
[13/16] Linking CXX executable examples\main\main.exe
[14/16] Linking CXX executable examples\quantize\quantize.exe
[15/16] Building CXX object examples/server/CMakeFiles/server.dir/server.cpp.obj
[16/16] Linking CXX executable examples\server\server.exe

Running works too:
przemoc@NUC11PHKi7C002 UCRT64 /d/git/github.com/PABannier/bark.cpp
$ ./build/examples/main/main -m ./models/bark-small/ggml_weights.bin -p "this is an audio generated by bark.cpp" -t 4encodec_load_model_weights: using CPU backend
encodec_load_model: n_q = 32
    __               __
   / /_  ____ ______/ /__        _________  ____
  / __ \/ __ `/ ___/ //_/       / ___/ __ \/ __ \
 / /_/ / /_/ / /  / ,<    _    / /__/ /_/ / /_/ /
/_.___/\__,_/_/  /_/|_|  (_)   \___/ .___/ .___/
                                  /_/   /_/
encodec_load_model_weights: in_channels = 1
encodec_load_model_weights: hidden_dim  = 128
encodec_load_model_weights: n_filters   = 32
encodec_load_model_weights: kernel_size = 7
encodec_load_model_weights: res_kernel  = 3
encodec_load_model_weights: n_bins      = 1024
encodec_load_model_weights: bandwidth   = 24
encodec_load_model_weights: sample_rate = 24000
encodec_load_model_weights: ftype       = 1
encodec_load_model_weights: qntvr       = 0
encodec_load_model_weights: ggml tensor size    = 320 bytes
encodec_load_model_weights: backend buffer size =  54.36 MB
encodec_load_model_weights: model size =    44.36 MB

bark_tokenize_input: prompt: 'this is an audio generated by bark.cpp'
bark_tokenize_input: number of tokens in prompt = 513, first 8 tokens: 20579 20172 20199 33733 58966 20203 28169 20222

Generating semantic tokens: [======================================>            ] (77%)

bark_print_statistics:   sample time =    65.43 ms / 600 tokens
bark_print_statistics:  predict time =  9105.84 ms / 15.18 ms per token
bark_print_statistics:    total time =  9192.73 ms

Generating coarse tokens: [==================================================>] (100%)

bark_print_statistics:   sample time =    26.88 ms / 1800 tokens
bark_print_statistics:  predict time = 89397.95 ms / 49.67 ms per token
bark_print_statistics:    total time = 89468.12 ms

Generating fine tokens: [==================================================>] (100%)encodec_eval: compute buffer size: 303.92 MB

write_wav_on_disk: Number of frames written = 288000.

bark_print_statistics:   sample time =    66.23 ms / 6144 tokens
bark_print_statistics:  predict time = 16397.62 ms / 2.67 ms per token
bark_print_statistics:    total time = 16478.04 ms

main:     load time =   298.60 ms
main:     eval time = 117106.52 ms
main:    total time = 117408.10 ms

Tested on my NUC11PHKi7C [Core i7-1165G7 @ 2.8GHz, DDR4-3200 32GB RAM, RTX 2060].
(I was not playing yet with any compilation flags to try to speed up bork.cpp, just wanted to test that it works.)

Thanks @przemoc ! I'll add a CI for Windows as well :)

I'll add a CI for Windows as well :)

It was my intention too, but it was late yesterday when I cloned bark.cpp, so it had to wait for today.

https://github.com/PABannier/bark.cpp/pull/153

Done in the same way as I did it for whisper.cpp.


Dot property access completions now work with non top-level discriminators

We are now resolving discriminated object types when they are not at the top level of the resource body.

Codecov Report

Merging #811 into main will increase coverage by 0.64%.
The diff coverage is 88.46%.

@@            Coverage Diff             @@
##             main     #811      +/-   ##
==========================================
+ Coverage   94.20%   94.85%   +0.64%
==========================================
  Files         285      281       -4
  Lines       12049    11918     -131
  Branches       12        0      -12
==========================================
- Hits        11351    11305      -46
+ Misses        698      613      -85

Flag
Coverage Δ

dotnet
94.85% <88.46%> (-0.08%)
:arrow_down:

typescript
?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

src/Bicep.Core/Syntax/ObjectSyntaxExtensions.cs
84.61% <80.00%> (-15.39%)
:arrow_down:

src/Bicep.Core/TypeSystem/DeclaredTypeManager.cs
89.23% <89.18%> (+0.34%)
:arrow_up:

...rc/Bicep.Core/TypeSystem/DeclaredTypeAssignment.cs
100.00% <100.00%> (ø)

...cep.Core.UnitTests/FileSystem/FileResolverTests.cs
76.66% <0.00%> (-23.34%)
:arrow_down:

src/Bicep.Core/FileSystem/PathHelper.cs
88.00% <0.00%> (-4.00%)
:arrow_down:

...p.LangServer/Completions/BicepCompletionContext.cs
95.65% <0.00%> (-0.07%)
:arrow_down:

src/Bicep.Core/TypeSystem/TypeValidator.cs
90.90% <0.00%> (-0.04%)
:arrow_down:

src/Bicep.Core/Emit/ExpressionConverter.cs
95.39% <0.00%> (-0.03%)
:arrow_down:

src/Bicep.Core/Parser/Parser.cs
93.76% <0.00%> (-0.02%)
:arrow_down:

... and 7 more


angular.element.css() method has undocumented inconsistentcy with jQuery api

"When a number is passed as the value, jQuery will convert it to a string and add px to the end of that string."
http://api.jquery.com/css/#css2
jqLite does not appear to do this.
Can result in some nasty subtle bugs which only show up when jqLite in use.

@mzgol can you take a look at this?

I wish jQuery didn't do it. :) This basically means any new CSS property that might accept plain numbers as values needs to be added to a whitelist that we maintain; we've recently had to add flexbox-related properties to the list.
A current list can be viewed at http://api.jquery.com/jQuery.cssNumber/, we've made this object public recently.
jqLite diverges from jQuery in many places but in this case. That said, we haven't removed this mechanism exactly because it might broke a lot of code and it won't throw errors but just won't apply some CSS rules so it might, indeed, be hard to debug. This would be pretty trivial to add to jqLite, maybe we should do it for compat with jQuery.
This would be a breaking change for jqLite, though so we shouldn't touch it in 1.3 IMO.

Let's add it as a candidate for 1.5 and just merge the doc update (#11614) for now.

Makes sense, this API requires one to react to new CSS properties so it adds responsibility for jqLite maintenance if we do want to match this jQuery design mistake. ;)

jQuery reference:

[convert parameters of type number] (https://github.com/jquery/jquery/blob/master/src/css.js#L287)
[list of props not to add 'px' to ('possibly unitless')] (https://github.com/jquery/jquery/blob/master/src/css.js#L230)

@adam77 No need to link to source, it's officially documented under http://api.jquery.com/jQuery.cssNumber/ with more info than in the code as I mentioned in my comment https://github.com/angular/angular.js/issues/11626#issuecomment-96643955

We'll be removing this logic in jQuery 4.0, just with a closed whitelist of properties to which we'll still append px just for back compat reasons. Because of that, adding it in jqLite doesn't make sense. Closing.


Saving the html

Dear Ran,
It is a great project. However I found that if you want to save the .html for later use
qs.reports.html(stock, benchmark="SPY", output=True, title=titlex, download_filename=tit_html,figfmt='svg')
the system gives you "handle error". The cause is that in the reports.py in row 232 You have used the "output" for creating the file instead of the "download_filename":
with open(output, 'w', encoding='utf-8') as f:
with open(download_filename, 'w', encoding='utf-8') as f:
Louis Palanki

Created PR with a fix
https://github.com/ranaroussi/quantstats/pull/164
@ranaroussi please go over and approve if possible


not working as default ip whitelist

In default config, it should inly allow connection from cloudflare ip's, and block all other requests from other ip's, including requests in LAN network.
But I can successfully connect to my traefik host via lan IP.
My local subnet is <IP_ADDRESS>/23
I have tried setting disabledefault to true and then adding all cloudflare ips in trust ip's and NOT adding my plan network subnet. Still I am able to connect via lan.
I am doubtful, does this even work?

"This plugin solves this issue by overwriting the X-Real-IP and X-Forwarded-For with an IP from the CF-Connecting-IP header."
It does not block requests, only rewrite the header.
We do add a X-Is-Trusted header which is either yes no danger (danger is when something is not right with the request and we failed to even parse it.
So you could use that header to block all requests on your webserver that are not trusted (yes).


Error running pre-trained version for VAE - SEVIR

Hello,
There is no arg "pretrained" for 'train_vae_sevirlr.py' case. It throws error for the same. Could you please fix this part so that pretrained model could be run in test mode.
Thanks.

Thank you for reporting this issue. It is now fixed in #19.


[iOS]onProgress is not called when download ".cloud" file

hi, I don't know if I'm using the api wrong or if this is a bug, I try to download a ".icloud" file and wait until it's downloaded, but it seems like the onProgress func is never be called. Here are the code pieces in my project.
This is the code used to register globalDownloadEvent to support onProgress:
export const useCloudOnProgress = () => {
  useEffect(() => {
    const r1 = CloudStore.registerGlobalDownloadEvent();
    const r2 = CloudStore.registerGlobalUploadEvent();

    return () => {
      r1?.remove();
      r2?.remove();
    };
  }, []);
};

onProgress works well when uploading file, but not when downloading file.
This is the code used to download file:
export const downloadAndWait = async cloudFilePath => {
  return new Promise((resolve, reject) => {
    CloudStore.download(cloudFilePath, {
      onProgress: data => {
        console.log('onProgress called:', data);
        if (data.progress === 100) {
          console.log('downloaded');
          resolve(true);
        }
      },
    })
      .then(() => {
        console.log('try to download file');
      })
      .catch(err => {
        console.log('failed to download');
        reject(err);
      });
  });
};

call downloadAndWait:
 downloadAndWait(".xxxx.xxx.icloud")
            .then(() => {
              console.log('downloadAndWait->ok');
            })
            .catch(err => {
              console.log('downloadAndWait->failed：', err);
            })
            .finally(() => {
              console.log('downloadAndWait->done');
            });

after downloadAndWait is called, I can only see  "try download file" in the terminal, nothing else,  it seems the Promise is not settled because onProgress is not called and no error either.
Environments:
"react-native": "0.72.4"
"react-native-cloud-store": "^0.10.3",

#16

Please try the 0.10.4, it may fix the issue.

@XHMM It works now, tested on iOS 15.7.9 & 16.7, thank you for your great work!


Failed to arm state for home assistant scripts

Checklist

[X] I checked for similar existing requests (both open and closed) before posting.
[X] My request is generic, other users may benefit from it too.

Proposal
There are currently states that home assistant can use for arming, pending, triggered, etc.  but there is not one for arming failed.  This makes running custom scripts more difficult when a failed to arm condition occurs.
Additional info
Add an available state of failed that will be the state of alarmo for a few seconds before changing to a disarmed state.

Any news on this? I'd like to create an autmation when alarmo fails to arm, and I'd like it to have a state or attribute to use as trigger.
At the moment what I can do to achieve this is creating an action inside Alarmo and running a script.

Hi,
same question here.
I would also use the "failed to arm" state in HA automations....
Please, add this state to integration.
Many thanks


todayBtn needs to be added to boolean list

todayBtn should be added to the list here:
https://github.com/asaglimbeni/django-datetime-widget/blob/master/datetimewidget/widgets.py#L146
Workaround is just to assign 'todayBtn': 'true' instead of 'todayBtn': True in the options dict.

Although I'm now reading the readme again:
If true , displays a "Today" button at the bottom of the datetimepicker to select the current date. If true, the "Today" button will only move the current date into view.
Is there a typo there and this field can take multiple values besides true and false?


Problem with UTF8

It returns ????? when UFT charset is in responce.
In APIConsumer.cs :
modify :
using (var streamReader = new StreamReader(httpResponse.GetResponseStream()))
to:
using (var streamReader = new StreamReader(httpResponse.GetResponseStream(),Encoding.UTF8) )
Thnks

I fixed by adding this too:
JsonConvert.ToString(unicodestring, '"', StringEscapeHandling.EscapeNonAscii);

I'm sorry to say again 😭
I used this function in response string and worked very fine.
static string EncodeNonAsciiCharacters(string value)
{
StringBuilder sb = new StringBuilder();
foreach (char c in value)
{
if (c > 127)
{
// This character is too big for ASCII
string encodedValue = "\u" + ((int)c).ToString("x4");
sb.Append(encodedValue);
}
else
{
sb.Append(c);
}
}
return sb.ToString();
}
return EncodeNonAsciiCharacters(ContentResult);

@mostafahk Could you please upload the error that it's throwing?.


onPress does not work on Path components on Android

Bug
The onPress event handlers on the Path component are not being fired when pressed. It's working on fine on iOS devices and some android devices. It's not working on Moto G5, Samsung s7 edge with Exynos CPU, Nexus 5x simulator with API 29 and x86 instructions, and many other devices.
Environment info
React native info output:
System:
    OS: macOS 10.15.3
    CPU: (4) x64 Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz
    Memory: 2.07 GB / 16.00 GB
    Shell: 5.7.1 - /bin/zsh
  Binaries:
    Node: 12.16.2 - /usr/local/bin/node
    Yarn: 1.22.4 - /usr/local/bin/yarn
    npm: 6.14.4 - /usr/local/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.9.1 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 13.4, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
    Android SDK:
      API Levels: 23, 28, 29
      Build Tools: 28.0.3, 29.0.2, 29.0.3
      System Images: android-28 | Google Play Intel x86 Atom, android-29 | Google APIs Intel x86 Atom
      Android NDK: Not Found
  IDEs:
    Android Studio: 4.0 AI-193.69<IP_ADDRESS>26763
    Xcode: 11.4.1/11E503a - /usr/bin/xcodebuild
  Languages:
    Java: 1.8.0_252 - /usr/bin/javac
    Python: 2.7.16 - /usr/bin/python
  npmPackages:
    @react-native-community/cli: Not Found
    react: 16.11.0 => 16.11.0
    react-native: 0.62.2 => 0.62.2
  npmGlobalPackages:
    *react-native*: Not Found
shakil@Shakils-MBP psoriasis-a

Library version: 12.1.0
Steps To Reproduce
Issues without reproduction steps or code are likely to stall.

Go to https://snack.expo.io/@shakilahmed/svg
Run this code on a Nexus 5x, API 29, x86 emulator

Describe what you expected to happen:

The handlers should be triggered

It is all in the name, really. Take a look at each part. The version prepared for others to see should be:
Short (Small) - Minimise bandwidth for the example, do not bore the audience.
Self Contained - Ensure everything is included, ready to go.
Correct - Copy, paste, (compile,) see is the aim.
Example - Displays the problem we are trying to solve.
http://www.sscce.org/

This seems to have been reported previously here: https://github.com/react-native-community/react-native-svg/issues/1321


Problem with parameter --top using at "az apim api list"

Describe the bug
Hello Team,
I´m working at a project with APIM and we need to filter using top 1
To this, we are using the command to list the fist API (this is to test and to verify witch parameter the command return)
the command is
az apim api list --resource-group rg-xxxx --service-name apim-yyy --top 1

And the return is not the first API, but full list
Can you verify it?
Related command
az apim api list --resource-group rg-xxxx --service-name apim-yyy --top 1
Errors
Not the top 1 item, but the full list
Issue script & Debug output
cli.knack.cli: Event: Cli.SuccessfulExecute []
cli.knack.cli: Event: Cli.PostExecute [<function AzCliLogging.deinit_cmd_metadata_logging at 0x0000023C44B6E5C0>]
az_command_data_logger: exit code: 0
cli.main: Command ran in 78.023 seconds (init: 0.864, invoke: 77.158)
telemetry.main: Begin splitting cli events and extra events, total events: 1
telemetry.client: Accumulated 0 events. Flush the clients.
telemetry.main: Finish splitting cli events and extra events, cli events: 1
telemetry.save: Save telemetry record of length 3690 in cache
telemetry.main: Begin creating telemetry upload process.
telemetry.process: Creating upload process: "C:\Program Files\Microsoft SDKs\Azure\CLI2\python.exe C:\Program Files\Microsoft SDKs\Azure\CLI2\Lib\site-packages\azure\cli\telemetry_init_.pyc C:\Users\felipe.augusto.azure"
telemetry.process: Return from creating process
telemetry.main: Finish creating telemetry upload process.
Expected behavior
the top 1 of list of API´s at apim
Environment Summary
azure-cli                         2.61.0
core                              2.61.0
telemetry                          1.1.0
Extensions:
azure-devops                      0.26.0
Dependencies:
msal                              1.28.0
azure-mgmt-resource               23.1.1
Python location 'C:\Program Files\Microsoft SDKs\Azure\CLI2\python.exe'
Extensions directory 'C:\Users\felipe.augusto.azure\cliextensions'
Python (Windows) 3.11.8 (tags/v3.11.8:db85d51, Feb  6 2024, 22:03:32) [MSC v.1937 64 bit (AMD64)]
Legal docs and information: aka.ms/AzureCliLegal
Your CLI is up-to-date.
Additional context
No response

Thank you for opening this issue, we will look into it.

@yonzhan, How are you?
I know you have a lot of demands, but could you help with this item, please?


Work item children should be based on a work item link category defined in the space template

Based on the discussion in the PR: https://github.com/almighty/almighty-core/pull/876

Duplicate of #1263


Remove release details from Haskell OSS guides

This information is better documented in our internal Confluence.

Link, for those that have access: https://renaissancelearning.atlassian.net/wiki/spaces/EN/pages/1442513923/Open+Source+Maintenance#Release-to-Hackage


Improve gen error messages

Gen produces pretty bad error messages, make them better.

Fixed in #426 .


Backend Signup-Logic - Self-Sprint-1 #61

To be reviewed by @askinss
resolves #61
This pull request resolves issue Backend Signup-Logic - Self-Sprint-1 #61.
This pull request resolves the following:

Validating if email Exists
Creating User account
-Sending the right status codes depending on the response

This pull request contains additional information:
Readme has been updated with how to start program for the use of developers, maintainers and devops team.

@Munalula-Sikazwe  some codacy issue on the your README, can you fix this?


Create a standard data science overlay

We should have a default overlay containing a sort of LTS for standard data science libraries: tensorflow, pytorch, numpy, pandas, etc...
Many of these libraries are not always trivial to install, so this has an added value by itself, besides the convenience for the explorative data scientist who whishes to use JupyterWith, who does not have to be concerned with package setup.

Would be great to have this + caching somewhere. Discussion in https://discourse.nixos.org/t/improving-nixos-data-science-infrastructure-ci-for-mkl-cuda/5074/22

Closing out old issues with no activity in preparation for migration to the next branch.


Exception to flathub-json-skip-appstream-check error application

Hi :wave:
The Flatpak build in https://github.com/flathub/org.getzola.zola/pull/4 is failing because it doesn't pass the "flathub-json-skip-appstream-check" check as we skip the Appstream metainfo check since we can't pass it by the nature of being a CLI application which we can't really have meaningful screenshots of. I asked about this in the Flatpak Matrix channel, and I was told to create an issue here to apply for an exception.

Seems like we don't actually need to skip this check :thinking:. The build succeeds just fine with the skip removed. Closing this as such.


SILOptimizer: support for Dictionary literals generated in the data section.

Actually: generate the array of (key, value) tuples in the data section, which is then passed to Dictionary.init(dictionaryLiteral:)
We already do this for simple arrays, e.g. arrays with trivial element types.
The only change needed for dictionary literals is to support tuple types in the ObjectOutliner.
The effect of this optimization is a significant reduction in code size for dictionary literals - and an increase in data size.
But in most cases there is a considerable net win for code+data size in total.

@swift-ci test

@swift-ci benchmark

Code size: -O

TEST
OLD
NEW
DELTA
RATIO

Improvement

Prims.o
39736
16952
-57.3%
2.34x

PrimsSplit.o
39806
17022
-57.2%
2.34x

StrToInt.o
5092
3508
-31.1%
1.45x

DictionaryBridgeToObjC.o
6166
5286
-14.3%
1.17x

DictionaryLiteral.o
1363
1251
-8.2%
1.09x

StringMatch.o
4430
4078
-7.9%
1.09x

RomanNumbers.o
8507
8027
-5.6%
1.06x

ErrorHandling.o
3097
2953
-4.6%
1.05x

DictionaryOfAnyHashableStrings.o
10724
10340
-3.6%
1.04x

Combos.o
7408
7232
-2.4%
1.02x

RangeReplaceableCollectionPlusDefault.o
6205
6077
-2.1%
1.02x

UTF8Decode.o
13322
13066
-1.9%
1.02x

StringBuilder.o
7784
7656
-1.6%
1.02x

ObjectiveCBridging.o
50748
50044
-1.4%
1.01x

Performance: -Osize

TEST
OLD
NEW
DELTA
RATIO

Improvement

DictionaryLiteral
5910
4640
-21.5%
1.27x

Code size: -Osize

TEST
OLD
NEW
DELTA
RATIO

Improvement

Prims.o
37312
14128
-62.1%
2.64x

PrimsSplit.o
37382
14198
-62.0%
2.63x

DictionaryBridgeToObjC.o
5403
4619
-14.5%
1.17x

StringMatch.o
4385
4033
-8.0%
1.09x

DictionaryLiteral.o
1075
995
-7.4%
1.08x

RomanNumbers.o
8722
8242
-5.5%
1.06x

How to read the data
The tables contain differences in performance which are larger than 8% and
differences in code size which are larger than 1%.
If you see any unexpected regressions, you should consider fixing the
regressions before you merge the PR.
Noise: Sometimes the performance results (not code size!) contain false
alarms. Unexpected regressions which are marked with '(?)' are probably noise.
If you see regressions which you cannot explain you can try to run the
benchmarks again. If regressions still show up, please consult with the
performance team (@eeckstein).

Hardware Overview
  Model Name: Mac Pro
  Model Identifier: MacPro6,1
  Processor Name: 8-Core Intel Xeon E5
  Processor Speed: 3 GHz
  Number of Processors: 1
  Total Number of Cores: 8
  L2 Cache (per Core): 256 KB
  L3 Cache: 25 MB
  Memory: 64 GB

Nice!

@swift-ci smoke test and merge

@swift-ci smoke test and merge


Touchscreen was not fully supported at pdf viewer mode.

VSCode Version: Code 1.17.1 (1e9d36539b0ae51ac09b9d4673ebea4e447e5353, 2017-10-10T14:24:50.851Z)
OS Version: Windows_NT x64 10.0.15063
Extensions:

Extension
Author (truncated)
Version

latex-workshop
Jam
3.5.5

language-julia
jul
0.7.0

java
red
0.12.0

shader
sle
1.0.0

Touchscreen was not fully supported at pdf viewer mode.
I can only operate with one folder at a time, other files need to be opened individually. This is fine with me but whenever I think about the friendly folder browsing UI on eclipse or Intellij, I miss it.

Keep it up! :) 👍

Steps to Reproduce:

Reproduces without extensions: Yes/No

For 2, please see multiroot workspaces in our VSCode insiders builds: https://code.visualstudio.com/updates/v1_17#_preview-multi-root-workspaces
For the first issue, is the pdf viewer functionality coming from the latex-workshop extension?


import numpy as np\r\nModuleNotFoundError: No module named 'numpy'\r\n'

Description
When I use pipenv to create a virtual environment of python 3.10.3 and then run my project in that virtual environment, the following problem occurs:

The remove_all_0_layers.py  reports the error points to this place:

But I use import numpy in this virtual environment, and it shows that it is installed successfully. Why is there no such module?

Virtual environments affected

[ ] Ubuntu 18.04
[ ] Ubuntu 20.04
[ ] macOS 10.15
[ ] macOS 11
[X] Windows Server 2016
[ ] Windows Server 2019
[ ] Windows Server 2022

Image version and build link
None available, testing locally with Pipenv
Is it regression?
No response
Expected behavior
No response
Actual behavior
No response
Repro steps
1、Checkout releases/Windows10/20220316
2、Build packer image
3、Wait for failure

@MOMOANNIE Hi! Thank you for the report!
Could you please elaborate what are you trying to do there? Because now it looks like you do some manipulations locally and this is unclear how we can help you in such a situation.

@MOMOANNIE Hi! Thank you for the report!
Could you please elaborate what are you trying to do there? Because now it looks like you do some manipulations locally and this is unclear how we can help you in such a situation.

I want to use the numpy module, but when I import numpy, the script will give me an error message: in <module>\r\n    import numpy as np\r\nModuleNotFoundError: No module named \'numpy\'\r\n'

but I have installed numpy as follows:

I don't know why this is happening, I am using python3.10.3，when I use python3.9, python3.6 , this error will not appear

@MOMOANNIE Hi!
Sorry, I am not completely following here, it seems you are trying to import numpy somewhere locally, if this is true, I do not really understand how the github images are relevant here. Could you please be kind and provide more context regarding your workflow?
Thanks!

@MOMOANNIE As there is no progress I am currently going to close this issue. Please feel free to reach us again if you have new details and/or questions left.


Glow not glowing

Hey there, thanks for the great plugin!
I recently installed this on my server (Running Sky Factory 3.08, SpongeForge 5.2.0, Minecraft 1.10.2)
and it worked great for a night. Came back on this morning and tried to toggle the glow, but nothing happens now. No glow, no messages, nothing glow related in the logs or console.
I noticed Sponge API is a requirement, does SpongeForge count or should I install the actual API on top? Other than that, not sure what I'm doing wrong, but would appreciate any assistance you might provide. Thanks in advance o7

Went back online and tried to toggle again, noticed an Effect timer indicating Glow, put on a helmet and my glow reappeared. Guess that is a pretty easy workaround.
Oh and "Dark Purple" looks like a dim "Light Purple", which is, in fact, actually Pink. So "Dark Purple" is really dark pink. As a huge fan of many things Purple I cannot help but point this out. grumble grumble :)
Let me know if there is any information I can provide that might ease your diagnosis and resolution of this issue (not the me bitching about the color purple part).

I think it has something to do with the Holograms plugin.
The problem is back and I've noticed that toggling Glow seems to turn off/on portions of (possibly just nearby) holograms. Toggling back and forth seems to restore the holograms so far.
Sadly, my Glow won't come back on. I am unglowed.

Are you wearing a Draconic helmet?


Issues with the "real world example"

I'm trying to follow the real world example tutorial to learn how to use mirrord.
First issue I ran into was running yarn:
$ yarn && yarn workspace auditor build

yarn install v1.22.19
[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
error<EMAIL_ADDRESS>The engine "node" is incompatible with this module. Expected version "^12.19.0 || ^14.15.0 || ^16.13.0". Got "19
.5.0"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

I found this issue and ran yarn add next-auth --ignore-engines from the auditor directory, which seems to have fixed it and modified the auditor/package.json and yarn.lock files.
The next thing I'm stuck on now is running mirrord exec I get:
$ mirrord exec --target pod/example-auditor-7bd6d89444-ppzsk yarn -- workspace auditor start
⠴ mirrord cli starting
  ✓ ready to launch process
  ✓ layer extracted
  ✓ agent pod created
  ✓ pod is ready
/var/folders/k_/jld8nl213fxc5l3qs818z2z40000gn/T/mirrord-bin/bin/bash: /var/folders/k_/jld8nl213fxc5l3qs818z2z40000gn/T/mirrord-bin/opt/homebrew/bin/yarn: No such file or directory

Not sure what that's about, I wonder if it could be something about yarn being a symlink? I installed it with Homebrew.

Expected version "^12.19.0 || ^14.15.0 || ^16.13.0". Got "19.5.0"
It looks like you're using an unsupported version of node (19.5) -- a release from the 16.x line should serve you better!

I was just using what brew install node gave me. Not too familiar with the Node ecosystem.
For the second problem, I found someone else with a similar sounding issue in the Discord, and the suggested fix worked here too:
mirrord exec --fs-mode local --target pod/example-auditor-7bd6d89444-ppzsk yarn -- workspace auditor start

It's relatively easy to install a specific version of node through brew as well:
https://formulae.brew.sh/formula/node@16
brew install node@16

node@16 yields:
yarn && yarn workspace auditor build

yarn install v1.22.19
[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
[3/4] 🔗  Linking dependencies...
[4/4] 🔨  Building fresh packages...
success Saved lockfile.
✨  Done in 1.38s.
yarn workspace v1.22.19
yarn run v1.22.19
$ parcel build
Error: Unable to deserialize cloned data due to invalid or unsupported version.
    at deserialize (node:v8:380:7)
    at deserialize (/private/tmp/nodejs-example/node_modules/@parcel/core/lib/serializer.js:249:48)
    at loadRequestGraph (/private/tmp/nodejs-example/node_modules/@parcel/core/lib/RequestTracker.js:854:52)
    at async Function.init (/private/tmp/nodejs-example/node_modules/@parcel/core/lib/RequestTracker.js:821:17)
    at async Parcel._init (/private/tmp/nodejs-example/node_modules/@parcel/core/lib/Parcel.js:256:28)
    at async Parcel.run (/private/tmp/nodejs-example/node_modules/@parcel/core/lib/Parcel.js:273:7)
    at async run (/private/tmp/nodejs-example/node_modules/parcel/lib/cli.js:376:7)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed.
Exit code: 1
Command<EMAIL_ADDRESS>Arguments: /opt/homebrew/Cellar/yarn/1.22.19/libexec/lib/cli.js build
Directory: /private/tmp/nodejs-example/auditor
Output:

More follow-up on Discord: https://discord.com/channels/933706914808889356/1067847048403103884

https://github.com/metalbear-co/mirrord/issues/986 is for the No such file or directory part of this issue.

Fixed with https://github.com/metalbear-co/mirrord/releases/tag/3.21.0 thanks for everyone involved :)

First issue I ran into was running yarn:

Should we maybe reopen this issue here, for either specifying compatible yarn versions in the example instructions, or adding to the instructions the step that solved that problem for OP? (yarn add next-auth --ignore-engines)
Or do we not expect those difficulties to arise for more users?

First issue I ran into was running yarn:

Should we maybe reopen this issue here, for either specifying compatible yarn versions in the example instructions, or adding to the instructions the step that solved that problem for OP? (yarn add next-auth --ignore-engines)
Or do we not expect those difficulties to arise for more users?

Sorry didn't notice that. @DmitryDodzin Care to check this out ?


mongodb sort error

The jenkins test user has submitted enough jobs (~2000) to trigger this limit in mongodb sort:

500 Internal Server Error

The server encountered an unexpected condition which prevented it from fulfilling the request.

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/cherrypy/_cprequest.py", line 670, in respond
    response.body = self.handler()
  File "/usr/local/lib/python2.7/dist-packages/cherrypy/lib/encoding.py", line 217, in __call__
    self.body = self.oldhandler(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/cherrypy/_cpdispatch.py", line 61, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/home/ubuntu/assembly/lib/assembly/router.py", line 504, in status
    docs = [sanitize_doc(d) for d in metadata.list_jobs(userid)]
  File "/home/ubuntu/assembly/lib/assembly/metadata.py", line 107, in list_jobs
    for j in jobs.find({'ARASTUSER':user}).sort('job_id', 1):
  File "/usr/local/lib/python2.7/dist-packages/pymongo/cursor.py", line 1058, in next
    if len(self.__data) or self._refresh():
  File "/usr/local/lib/python2.7/dist-packages/pymongo/cursor.py", line 1002, in _refresh
    self.__uuid_subtype))
  File "/usr/local/lib/python2.7/dist-packages/pymongo/cursor.py", line 940, in __send_message
    self.__compile_re)
  File "/usr/local/lib/python2.7/dist-packages/pymongo/helpers.py", line 109, in _unpack_response
    error_object)
OperationFailure: database error: too much data for sort() with no index.  add an index or specify a smaller limit

``'OperationFailure: database error: too much data for sort() with no index.  add an index or specify a smaller limit```
I think the current implementation does something dumb and queries all user jobs first and limits the records in Python space.  We need to limit the query in the mongo call instead.

Oh wait.. this is a sort problem.  I guess mongo needs to sort before returning the latest jobs.  We probably need to index.

ensureIndex !
The query is:
jobs.find({'ARASTUSER':user}).sort('job_id', 1)
For the find command:
db.jobs.ensureIndex({'ARASTUSER': 1});
For the sort command:
db.jobs.ensureIndex({'job_id': 1});

That does it? Could you create a patch?

On Feb 23, 2015, at 5:52 PM, Sébastien Boisvert<EMAIL_ADDRESS>wrote:
ensureIndex !
The query is:
jobs.find({'ARASTUSER':user}).sort('job_id', 1)
For the find command:
db.jobs.ensureIndex({'ARASTUSER': 1});
For the sort command:
db.jobs.ensureIndex({'job_id': 1});
—
Reply to this email directly or view it on GitHub https://github.com/kbase/assembly/issues/299#issuecomment-75655622.

These can be run from the mongo shell. But we should also add some code that create these indexes in the controller daemon on startup I suppose.


Proposed move of deidservice under healthcareapis

This is a proposed move of deidservice extension under healthcareapis

Releated az-client-extension PR:
https://github.com/Azure/azure-cli-extensions/pull/8224


Upgrade graphql-java lib 17.3

What Changed
Why
Todo:

[ ] Add tests
[ ] Add docs

have we taken the latest graphql-xtext as well?

have we taken the latest graphql-xtext as well?

not yet but will do


Can't get parameters in styled component

🐛 Bug Report
Disclaimer: it could be that my understanding of the system is wrong, but looking at the Button source code here it looks like I should be able to get the values of parameters in my component using themedStyle.
However, this.props.themedStyle is an empty object. My mapping looks like this:
export default {
  'meta': {
    'scope': 'all',
    'parameters': {
      'multiplierIconColor': {
        'type': 'string'
      },
    },
    'variantGroups': {},
    'states': {},
    'appearances': {
      'default': {
        'default': true
      }
    }
  },
  'appearances': {
    'default': {
      'mapping': {
        'multiplierIcon': 'color-basic-500',
      }
    }
  }
}

And my component as simple as this:
import React, { Component } from 'react'
import { StyleSheet } from 'react-native'
import { boundMethod } from 'autobind-decorator'
import { Button, styled, Icon, Divider, Text, Layout, ButtonGroup } from '@ui-kitten/components'

class OrderItemComponent extends Component {
  static styledComponentName = 'OrderItem'

  render () {
    const { themedStyle } = this.props

    console.log(themedStyle)

    return null
  }
}

export const OrderItem = styled(OrderItemComponent)

I'd expect the multiplierIconColor to be in themedStyle.

According to the code, there is no multiplierIconColor
'appearances': {
    'default': {
      'mapping': {
        'multiplierIcon': 'color-basic-500',
      }
    }
  }

@artyorsh Yes, I broke that in copy/pasting to this issue 😄 but the themedStyle is empty, so changing the name isn't going to make a difference I'm afraid.

Nope... Nope. nu-uh.
...
Leaving up the comment where I was wrong as punishment and closing the issue 😅

@RWOverdijk usually we forget to declare a variable within the parameters object. In this case, you will have a warning meaning don't know what is it. Be careful :)


add support for "helper"

Now L5Modular add helper to the module and include it at bootstrap.

Thanks for your work. I'll take a look in a few hours.


UserTiming polyfill

@triblondon better late than never :)
This is my attempt at integrating my usertiming.js polyfill for UserTiming.
Tests pass locally, but I'm not setup with SauceLabs to see if that passes as well.
The Contribution docs were slightly confusing, so if I've missed something, please let me know!

This is a very high quality PR. Thanks for taking so much care over our contrib guidelines, it makes my life a lot easier.
I've tested on Sauce, and locally on an older Opera version, and I'm happy.  Could you make the two small changes I've suggested?

All set!  Thanks Andrew.


Unable to compile Wippersnapper_NoFS.ino

Describe the bug
I am not able to get the example code at https://github.com/adafruit/Adafruit_Wippersnapper_Arduino/blob/main/examples/Wippersnapper_NoFS/Wippersnapper_NoFS.ino
to compile. Initially I received errors about missing header files, but after installing additional libraries I was able to resolve those.
My current error is below:

In file included from /Users/fembotspice/Documents/Arduino/libraries/Adafruit_WipperSnapper/src/display/ws_display_driver.h:20,
from /Users/fembotspice/Documents/Arduino/libraries/Adafruit_WipperSnapper/src/Wippersnapper.h:74,
from /Users/fembotspice/Documents/Arduino/libraries/Adafruit_WipperSnapper/src/network_interfaces/Wippersnapper_ESP32.h:21,
from /Users/fembotspice/Documents/Arduino/libraries/Adafruit_WipperSnapper/src/Wippersnapper_Networking.h:30,
from /Users/fembotspice/Documents/Arduino/libraries/Adafruit_WipperSnapper/examples/Wippersnapper_NoFS/Wippersnapper_NoFS.ino:19:
/Users/fembotspice/Documents/Arduino/libraries/Adafruit_WipperSnapper/src/Adafruit_LvGL_Glue.h:52:10: error: 'lv_disp_drv_t' does not name a type; did you mean 'lv_fs_drv_t'?
static lv_disp_drv_t lv_disp_drv;
^~~~~~~~~~~~~
lv_fs_drv_t
/Users/fembotspice/Documents/Arduino/libraries/Adafruit_WipperSnapper/src/Adafruit_LvGL_Glue.h:53:10: error: 'lv_disp_draw_buf_t' does not name a type; did you mean 'lv_draw_buf_t'?
static lv_disp_draw_buf_t lv_disp_draw_buf;
^~~~~~~~~~~~~~~~~~
lv_draw_buf_t
/Users/fembotspice/Documents/Arduino/libraries/Adafruit_WipperSnapper/src/Adafruit_LvGL_Glue.h:55:10: error: 'lv_indev_drv_t' does not name a type; did you mean 'lv_indev_data_t'?
static lv_indev_drv_t lv_indev_drv;
^~~~~~~~~~~~~~
lv_indev_data_t
/Users/fembotspice/Documents/Arduino/libraries/Adafruit_WipperSnapper/examples/Wippersnapper_NoFS/Wippersnapper_NoFS.ino:33:68: error: no matching function for call to 'Wippersnapper_ESP32::Wippersnapper_ESP32(const char [11], const char [33], const char [8], const char [13])'
Wippersnapper_WiFi wipper(IO_USERNAME, IO_KEY, WIFI_SSID, WIFI_PASS);
^
In file included from /Users/fembotspice/Documents/Arduino/libraries/Adafruit_WipperSnapper/src/Wippersnapper_Networking.h:30,
from /Users/fembotspice/Documents/Arduino/libraries/Adafruit_WipperSnapper/examples/Wippersnapper_NoFS/Wippersnapper_NoFS.ino:19:
/Users/fembotspice/Documents/Arduino/libraries/Adafruit_WipperSnapper/src/network_interfaces/Wippersnapper_ESP32.h:42:3: note: candidate: 'Wippersnapper_ESP32::Wippersnapper_ESP32()'
Wippersnapper_ESP32() : Wippersnapper() {
^~~~~~~~~~~~~~~~~~~
/Users/fembotspice/Documents/Arduino/libraries/Adafruit_WipperSnapper/src/network_interfaces/Wippersnapper_ESP32.h:42:3: note:   candidate expects 0 arguments, 4 provided
/Users/fembotspice/Documents/Arduino/libraries/Adafruit_WipperSnapper/src/network_interfaces/Wippersnapper_ESP32.h:34:7: note: candidate: 'Wippersnapper_ESP32::Wippersnapper_ESP32(const Wippersnapper_ESP32&)'
class Wippersnapper_ESP32 : public Wippersnapper {
^~~~~~~~~~~~~~~~~~~
/Users/fembotspice/Documents/Arduino/libraries/Adafruit_WipperSnapper/src/network_interfaces/Wippersnapper_ESP32.h:34:7: note:   candidate expects 1 argument, 4 provided
exit status 1
Compilation error: no matching function for call to 'Wippersnapper_ESP32::Wippersnapper_ESP32(const char [11], const char [33], const char [8], const char [13])'

Arduino board
Adafruit FunHouse
To Reproduce
Steps to reproduce the behavior:

Open up the Arduino IDE v2.3.2
Click on 'Tools' -> Manage LIbraries
Search for 'Wipper' and find the 'Adafruit WipperSnapper' library. Install version 1.0.0-beta.77
Navigate to the folder /Users//Documents/Arduino/libraries/Adafruit_WipperSnapper/examples/Wippersnapper_NoFS and open the file Wippersnapper_NoFS.ino in the Arduino IDE.
Click on 'Sketch' -> 'Verify/Compile'  and you will get an error message

Expected behavior
A clear and concise description of what you expected to happen.
I expected to be able to click on 'Sketch' -> 'Verify/Compile' and have the code compile correctly, but it did not.
Which components are connected to your device
Which components are set up on the WipperSnapper device page?
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: Mac OSX Sonoma 14.4
Browser [e.g. chrome, safari] Chrome
Version [e.g. 22] Version 122.0.6261.129 (Official Build) (arm64)

Smartphone (please complete the following information):
N/A
Additional context
Add any other context about the problem here.

Realized I skipped the easy way to get connected to AdaFruit IO. Copying downloaded .uf2 image file worked. Closing.


fix (19) add husky

Issue :warning:
Issue {19}
Check List :pencil2:

[x] Was accessibility verified?
[x] Is the code full responsive?
[x] Is the code working as expected in; Chrome, Edge, Safari & Mozilla
[x] Is the code clean?
[x] Unnecessary comments were removed?

Notes :information_source:
Fix (19) add husky

Approved! Please merge this code into the dev branch.


Web: change yarn web to run with our server instead of playground

This removes your playground yarn web runner in favour of opening web UI via our server

One argument from @alexdima in standup today was that this change means we loose the ability to test our bits in a "serverless" environment.
Some ideas and questions:

make our server also support a "serverless" mode so that we avoid having 2 different servers
do we need 2 yarn web commands for "serverless" and "serverful"

@bpasero I pushed my changes to use @vscode/test-web to run the serverless web from sources.
I clean up the commands and names:
There are now

./scripts/code-server-web for running the code-server and opening a browser on it
/scripts/code-web for running VSCode in the Web (serverless)

I removed yarn web in favor of the other scripts
The Web UI of the code-server-web still doesn't come up (page stays white). I'll have a look.

@aeschli I like it!
Running yarn web on macOS I get this now:
~/Development/Microsoft/monaco> yarn web
yarn run v1.22.17
$ echo \'yarn web\' is replaced by `./scripts/code-server-web` or `./scripts/code-web`
/bin/sh: ./scripts/code-server-web: No such file or directory
/bin/sh: ./scripts/code-web: No such file or directory
'yarn web' is replaced by or
✨  Done in 0.04s.
~/Development/Microsoft/monaco>

Also it seems to open a Chrome instance that is not my installed Chrome, are you shipping Playwright?

I pushed a fix for yarn web not working.

Yes, the @vscode/test-web extension uses Playwright.
Would you prefer not to open a Playwright browser but your system one?

@aeschli yes!


Gather list of other groups/meetups/networks that we can promote to

[ ] Studiocode
[ ] GirlDevelopIt
[ ] BarCamp
[ ] ?

@hollymariegibbs Attendee contact list from the city's first hackathon in 2/2014.
Attendee List.xlsx

@hollymariegibbs Patty Lipka at the Cade Museum is forming a Code for Girls local group to teach young and mostly at-risk girls about software development<EMAIL_ADDRESS>I'll also send her a personal email.

@samanthawolfe any word from Patty Lipka?

@hollymariegibbs No; actually just sent her the personal invite.... Kinda forgot :(

Is "Code for Girls" this? https://girlswhocode.com/
I just want to make sure it's different from Girl Develop It https://www.girldevelopit.com/

[ ] Hacker House
[ ] Launchpad
[ ] Starter Space
[ ] 352 Media Group
[ ] SharpSpring
[ ] Shadow Health
[ ] Mindtree
[ ] Innovation Hub
[ ] Gainesville CRA?

@hollymariegibbs Connected with Patty by email. Sounds like its Girls Who Code (you're first link). The Cade is partnering with Women Who Code from UF this summer. Their first class begins in late June, so sounds like they may start to plug in during the July event.

GCRA contact: Nathalie McCrate<EMAIL_ADDRESS>


Print Error

Hello , can you please check why in an async function didn't show which line has error.
for example in line 34 we have something like local x = a.y.z so if a be a string in normal function print which line has error and we can fix that but in async function it's not print on terminal which line has error.
Thank you .

You probably forgot to catch the error.
When an error occurs in an async function all the async function that awaited the errored async function will stop and propagate the error that occured in the awaited promise.
I will give you multiple examples if you're not familiar with this concept:
Like you said this example does not show anything
local coro = require('coro')

local myFunc = coro.async(function(a)
  local x = a.y
  return x
end)

local main = coro.async(function()
  local result = coro.await(myFunc())
  print(result)
end)

main()
coro.run()

This is because unlike with standard functions, if an error occurs in a promise it doesn't mean your program will stop, only the promise and those who awaited it will have an error and stop being executed.
In this example if myFunc has an error, the main function will also be errored because it depend on the result of myFunc since the function is awaited.
This is where you should be sure the promise will never throw or you should add a catch handler that is going to receive the error and continue the flow of execution.
Here I add a catch handler on the promise returned by the main function and print the error.
local coro = require('coro')

local myFunc = coro.async(function(a)
  local x = a.y
  return x
end)

local main = coro.async(function()
  local result = coro.await(myFunc())
  print(result)
end)

main():catch(function(err)
  print(err) -- error.lua:9: error.lua:4: attempt to index a nil value (local 'a')
end)
coro.run()

You could also have put the catch handler way before, directly on the myFunc function to prevent the main from being stopped in case of an error.
local coro = require('coro')

local myFunc = coro.async(function(a)
  local x = a.y
  return x
end)

local main = coro.async(function()
  local result = coro.await(myFunc():catch(function(err)
    print(err) -- error.lua:4: attempt to index a nil value (local 'a')
  end))
  print(result) -- nil
end)

main()
coro.run()

An other thing that you could do with catch is returning a new value when an error occurs like so
local coro = require('coro')

local myFunc = coro.async(function(a)
  local x = a.y
  return x
end)

local main = coro.async(function()
  local result = coro.await(myFunc():catch(function(err)
    return 42
  end))
  print(result) -- 42
end)

main()
coro.run()

In this case if myFunc is errored, the catch handler will return the value 42 so result will be equal to 42, if no error had occured then the resulting value would have been what myFunc returned.
One last thing, if you forgot to catch an async function you could use the coro.onUnhandledRejection to register a callback
that is called whenever an error occurs in an async function that has no catch handler.
Keep in mind that this handler is only here to help you find where a crashed occured if you forgot to put catch handler, your whole program should not rely on this to handle exceptions.
local coro = require('coro')

coro.onUnhandledRejection(function(err)
  print(err) -- error.lua:13: error.lua:8: attempt to index a nil value (local 'a')
end)

local myFunc = coro.async(function(a)
  local x = a.y
  return x
end)

local main = coro.async(function()
  local result = coro.await(myFunc())
  print(result)
end)

main()
coro.run()

I updated the library so the error stack is properly constructed, there was some missing informations earlier

thank you , i use coro.onUnhandledRejection as you say and print error work fine but one more thing that error will be print twice each time that aysnc function call.

Yes I've also noticed this, I updated the library and this should be fixed now

I will closed it for now, feel free to open a new issue if there is still something wrong


IAM Role Policy error

Describe the bug
cannot create IAM Policy with installer/SOCAInstallerIamPolicy.json
Please complete the following information about the solution:

[ ] Version: [e.g. v2.7.5]

[ ] Region: [e.g. us-west-2]

Screenshots
Ln 215, Col 16 | Invalid Action: The action es:CreateServiceLinkedRole does not exist.

Hello,
Good catch. This rule has been removed from our staging code and will be updated on Github in the coming weeks.


[hotfix] [docs, RestartStrategyOptions]: update the default value of "restart-strategy.fixed-delay.attempts" to 1 in docs

What is the purpose of the change
The default value of restart-strategy.fixed-delay.attempts in RestartStrategyOptions.java is 1， but the value of the parameter in the description of restart-strategy.type and the content of task_failure_recovery.md is Integer.MAX_VALUE. To ensure the consistency of the description and code, the above content should be modified.
The versions with the above problems are: 1.14 -> latest version
Verifying this change
This change is already covered by existing tests, such as (please describe tests).
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive):no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no

@roncohen @hadronzoo @is @rehevkor5 Could you please take a look at this pr in your free time? Thanks~

Thanks for the PR!
I suggest creating a jira ticket for this. And it would be better if the description in org.apache.flink.configuration.RestartStrategyOptions is also fixed.


Decouple download and execution of install script to be able to retry…

… download

What does this PR do?
Add retry to download of install script from S3. To fix some flakiness

Motivation

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

Reviewer's Checklist

[ ] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[ ] Use the major_change label if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.
[ ] A release note has been added or the changelog/no-changelog label has been applied.
[ ] Changed code has automated tests for its functionality.
[ ] Adequate QA/testing plan information is provided if the qa/skip-qa label is not applied.
[ ] At least one team/.. label has been applied, indicating the team(s) that should QA this change.
[ ] If applicable, docs team has been notified or an issue has been opened on the documentation repo.
[ ] If applicable, the need-change/operator and need-change/helm labels have been applied.
[ ] If applicable, the k8s/<min-version> label, indicating the lowest Kubernetes version compatible with this feature.
[ ] If applicable, the config template has been updated.

/merge


chore: added Apache License Version 2.0

For details pease see https://github.com/thiagobrez/capacitor-volume-buttons/issues/5

Thank you @ryaa !


Console report not working with xUnit 2 and NUnit 3

Using the VS and ReSharper test runners the console report no longer displays with the latest versions of these test frameworks. Any ideas on why that might be?

Unsure about nUnit, but xunit you ned to log to an injected ITestOutputHelper. This is because it supports parallel testing and there is no way to correlate Console logs to the correct test.
Here is how I work around it with Serilog - https://gist.github.com/JakeGinnivan/8fd55a3482b499334d5c4c7e9590d61c

This seems to work for me with xunit 2:
https://gist.github.com/robdmoore/deeb72772b1c06fbbb130a8b9922e2be

Some refactoring in Bddfy could make it a lot simpler though. Had to work around the fact all the config is static by using ThreadLocal.

Disclaimer: haven't tested with parallel test runs.

I've tested it with parallel test runs now - it works (sort of) - for some reason the Process(story) method is called multiple times for each test equal to the number of parallel tests being run... Not really sure why

I've solved it with a bit of a hack for now to keep track of a list of Processed stories. Gist updated to reflect that.

(see https://gist.github.com/robdmoore/deeb72772b1c06fbbb130a8b9922e2be#file-xunit2bddfytextreporter-cs-L24)

FYI, console report is actually working just fine on my setup (VS2015 + NUnit3 + NUnit3TestAdapter).

Is that with parallel test runs?
--

On 15 Feb 2017, at 11:56 pm, Jochen Parmentier<EMAIL_ADDRESS>wrote:
FYI, console report is actually working just fine on my setup (VS2015 + NUnit3 + NUnit3TestAdapter).
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

No, I'm only running sequential tests

That makes sense then - it's only a problem for parallel tests :)
--

On 16 Feb 2017, at 4:21 pm, Jochen Parmentier<EMAIL_ADDRESS>wrote:
No, I'm only running sequential tests
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Oh, ok, I'm sorry. That wasn't clear to me from the discussion.

It won't work with xunit2 regardless because it no longer picks up Console.WriteLine. I guess Nunit 3 must do it differently :)
--

On 16 Feb 2017, at 9:06 pm, Jochen Parmentier<EMAIL_ADDRESS>wrote:
Oh, ok, I'm sorry. That wasn't clear to me from the discussion.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

I've solved this with a library I wrote: https://github.com/shaynevanasperen/TestStack.BDDfy.Xunit
I've been a bit cheeky by naming the NuGet package with the TestStack.BDDfy prefix. If the maintainers of TestStack.BDDfy object to this, I'm happy to pass ownership to them. Hopefully this library will only be a temporary requirement, until TestStack.BDDfy natively supports Xunit parallel test execution (which might also require changes to Xunit). At least it can possibly serve as a starting point in that direction.

@shaynevanasperen great. No problems with the naming convention. I actually recommend this convention to promote a community of extensions.


Thank you for this great app. Could you make llama.cpp.gui.wx, please?

Most of GUI-s for llama.cpp are compiled in slow languages and their compiled binaries are huge in comparision to executables made by   any C++ compiler.

@JohnClaw Thank you!
So, the main problem with the base libraries (ggml.c and sd.cpp) is the assertion handling. When an assertion occurs, then an abort is called at the end, which "kills" the entire app too.
I checked out the app called jellybox, which is starting the llama and sd.cpp in separate processes. (I can't get it to work on my machine, unfortunately), which is a possibility to handle the abort() in the gui apps. But currently in sd.cpp.gui.wx it's impossible to handle this in a different way, so when an assertion occurs, the entire app will stop without any user warning. This is a huge step back, and un-user-friendly thing. And MS Store didn't allow applications which use the abort() method (but this is a good think).
Of course, I had thinked about the llama.cpp.gui.wx thing. Or just simply integrating the llama into the currently existing gui app. (I had an idea to use AI generated prompts with SD ). But currently I lost my interest in it, because the abort() thing in the backend libraries.
For the future, I will try to upgrade the sd.cpp to the latest commit (this will be a huge thing, because the lot of new features/commits, but some of these new features are really limited and hard to follow these limitations in the GUI)
In the future i will start do something with the llama, but not now yet.

Of course, I had thinked about the llama.cpp.gui.wx thing. Or just simply integrating the llama into the currently existing gui app. (I had an idea to use AI generated prompts with SD ). But currently I lost my interest in it, because the abort() thing in the backend libraries.

Chinese coders managed to overcome this problem and made a small C++ GUI that combines features of llama.cpp and stable-diffusion.cpp: https://github.com/ylsdamxssjxxdd/eva/releases/download/b2636/eva-b2636-64bit.exe


InstructorDocumentEmbedder: Enrich documents with embeddings instead of recreating documents

Part of https://github.com/deepset-ai/haystack/issues/6107
Proposed Changes:
Enrich documents with embeddings instead of recreating documents for InstructorDocumentEmbedder.
The Document class is not frozen anymore, so we can add the embedding to the document without recreating it.
Requesting Review:
@anakin87

Hi @awinml, thank you for your contribution to Haystack! You have a chance to receive an exclusive swag package from Haystack. 🎁
Fill in this form and let us know if you have any questions! https://forms.gle/226vqWoN6NRAaqJ69


Ability to add comments to Chats and chat messages

Relates to this spec

https://github.com/dimagi/open-chat-studio/pull/345


Enhance {image} tag with custom sizing options

See #156

Image resize (and something to "extend" the {image} tag, {image:300x250}.

This would require a dashboard js update, and server side API change. Is this something we want to move forward with?

Slightly overzealous. Closing for now - I want more discussion on the RFF thread before committing to a change.


Update pt-BR translation

Hello.
I'm willing to update the portuguese translations for cups, but it's a lot of work, just over 2500 msgs left.
I would like to know if you impose a line length limit, or there is some build step before submitting the PR.
I'm using checkpo.

Hi @guilhermgonzaga ,
thank you for the PR! IMHO we don't impose a line length limit regarding code style in .po files, however there are string length limits in the library - max length for formatted strings (const message + variable values) is 2046, and for non-formatted string it is 8188.
AFAIK there is no additional build step if I understand Makefile correctly - we generate cups.strings from cups_en.po, so localized .pos don't seem to be used during build.
@michaelrsweet please let me know if it is correct - I've checked this by looking into the code.

@zdohnal Correct, you just put the new .po file in the locale directory and the configure/install steps will use it automatically.

Ok, thanks for the tip.
I added more translations in the meantime, but that's all I can translate for now. PR is ready.


Rephrase the wording wrap into export for an  MetatensorAtomisticModel

I didn't find the reference anymore but @Luthaf and I discussed to maybe rename the term
wrapping a model as an MetatensorAtomisticModel
into
exporting a model as an MetatensorAtomisticModel
This is a minor change but makes more sense in my opinion. Also because now we renamed the former export() method to .save() the whole process can be seen as an export and not as wrapping + calling export
wrap appears in these location in the torch branch of metatensor
(base) philiploche@Philips-MacBook-Air:~/repos/lab-cosmo/metatensor$ grep -R wrap python/metatensor-torch
python/metatensor-torch/tests/atomistic/examples.py:    # run wrapped model
python/metatensor-torch/tests/atomistic/examples.py:    export_atomistic_model.wrapper([system], options, check_consistency=True)
python/metatensor-torch/tests/atomistic/examples.py:    # run wrapped and saved model
python/metatensor-torch/tests/atomistic/examples.py:    export_atomistic_model.wrapper.save("exported-model.pt")
python/metatensor-torch/tests/block.py:# define a wrapper class to make sure the types TorchScript uses for of all
python/metatensor-torch/metatensor/torch/atomistic/model.py:    models and simulation engines. Users should wrap their models with this class, and
python/metatensor-torch/metatensor/torch/atomistic/model.py:    use :py:meth:`save()` to save the wrapped model to a file. The exported models
python/metatensor-torch/metatensor/torch/atomistic/model.py:    When wrapping a ``module``, you should declare what the model is capable of (using
python/metatensor-torch/metatensor/torch/atomistic/model.py:    The wrapped module must follow the interface defined by :py:class:`ModelInterface`,
python/metatensor-torch/metatensor/torch/atomistic/model.py:    >>> # wrap the model
python/metatensor-torch/metatensor/torch/atomistic/model.py:    >>> wrapped = MetatensorAtomisticModel(model, metadata, capabilities)
python/metatensor-torch/metatensor/torch/atomistic/model.py:    >>> # save the wrapped model to disk
python/metatensor-torch/metatensor/torch/atomistic/model.py:    ...     wrapped.save(os.path.join(directory, "constant-energy-model.pt"))
python/metatensor-torch/metatensor/torch/atomistic/model.py:        :param module: The torch module to wrap and export.
python/metatensor-torch/metatensor/torch/atomistic/model.py:    def wrapped_module(self) -> torch.nn.Module:
python/metatensor-torch/metatensor/torch/atomistic/model.py:        """Get the module wrapped in this :py:class:`MetatensorAtomisticModel`"""
python/metatensor-torch/metatensor/torch/atomistic/model.py:        """Get the capabilities of the wrapped model"""
python/metatensor-torch/metatensor/torch/atomistic/model.py:        """Get the metadata of the wrapped model"""
python/metatensor-torch/metatensor/torch/atomistic/model.py:        Get the neighbors lists required by the wrapped model or any of the child
python/metatensor-torch/metatensor/torch/atomistic/model.py:        """Run the wrapped model and return the corresponding outputs.

Steps to solve this:

Go over the files listed above and edit them to no longer refer to wrapping. wrap could be used eslewhere as well, you can check with grep -iR wrap . or better using ripgrep (which will exclude files ignored buy git) rg -i wrap .

I will do this!


Fix broken headings in Markdown files

GitHub changed the way Markdown headings are parsed, so this change fixes it.
See bryant1410/readmesfix for more information.
Tackles bryant1410/readmesfix#1

Sorry, this repository is long-since deprecated in favor of Docker Toolbox (whose usage is now also discouraged in favor of Docker for Windows and Docker for Mac).


Error occurs at the time of the flatten existing package.json jspm properties

$ jspm init
Package.json file does not exist, create it? [Yes]: Yes
Init Mode (Quick, Standard, Custom) [Quick]: Custom
Prefix package.json properties under jspm? [Yes]: No
Flatten existing package.json jspm properties? [Yes]: Yes

err  TypeError: Cannot read property 'forEach' of undefined
    at PackageConfig.setPrefix (/Users/msakamaki/project/jspm/sample2/node_modules/jspm/lib/config/package.js:199:19)
    at /Users/msakamaki/project/jspm/sample2/node_modules/jspm/lib/config/index.js:426:19
    at tryCatcher (/Users/msakamaki/project/jspm/sample2/node_modules/jspm/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/Users/msakamaki/project/jspm/sample2/node_modules/jspm/node_modules/bluebird/js/release/promise.js:503:31)
    at Promise._settlePromise (/Users/msakamaki/project/jspm/sample2/node_modules/jspm/node_modules/bluebird/js/release/promise.js:560:18)
    at Promise._settlePromise0 (/Users/msakamaki/project/jspm/sample2/node_modules/jspm/node_modules/bluebird/js/release/promise.js:605:10)
    at Promise._settlePromises (/Users/msakamaki/project/jspm/sample2/node_modules/jspm/node_modules/bluebird/js/release/promise.js:684:18)
    at Async._drainQueue (/Users/msakamaki/project/jspm/sample2/node_modules/jspm/node_modules/bluebird/js/release/async.js:126:16)
    at Async._drainQueues (/Users/msakamaki/project/jspm/sample2/node_modules/jspm/node_modules/bluebird/js/release/async.js:136:10)
    at Immediate.Async.drainQueues [as _onImmediate] (/Users/msakamaki/project/jspm/sample2/node_modules/jspm/node_modules/bluebird/js/release/async.js:16:14)
    at processImmediate [as _immediateCallback] (timers.js:383:17)

Flatten existing package.json jspm properties?
Problems can occur if you do not find the jspm to package.json at the time of this question
what to do if you can not find the jspm of package.json

set to re-enter
Forced to No

link to : https://github.com/jspm/jspm-cli/issues/1627


Error when the same canvas is used for two render operations

To illuminate the common mistake: throw an exception if the canvas/context is used to start the rendering when other one with the same context is in progress
... and probably modify hello work example to e.g. print console message to indicate when rendering is finished.

Actually this is an API design issue. Instead of failing or throwing error it should simply abort previous render task silently and start the new task when it's safe to do. This issue was created in 2015. More than two years have passed and people make the same "mistake". I would say it's a hint for a better API.

This issue was created in 2015.

Which issue?

More than two years have passed and people make the same "mistake"

While we are deciding on better API, old will stay. Starting multiple render() shall be addressed regardless of what new API will look like.


Allow ip_address to be specified in constructor

I just noticed that I can use this API to talk to a Hero 4 GoPro when it is connected to a network while running in "WiFi RC" mode 🥇
This works so long as your wifi adapter is running in AP mode, with a MAC address beginning with one of GoPro's vendor addresses, and a corresponding SSID that a GoPro Remote normally assigns itself (e.g. "D8:96:85:01:02:03" = "HERO-RC-010203"). Pairing can then be initiated by the camera once it notices a non-hidden SSID fitting that template name, with that mac vendor prefix.  Turns out the protocol you've implemented seems to be 100% accessible via such a connection once you've got dnsmasq + hostapd providing an IP layer for any number of connected gopros!
More detailed steps on getting that exact setup working here: https://goprohero.readthedocs.io/en/latest/Wifi Research/#gopro-remote-mode
Once you're connected to a gopro this way, in order to really benefit from that mode and communicate with potentially multiple cameras at once - we need to be able to specify and use GoPro's self.ip_addr in the constructor of your API, so that everywhere "<IP_ADDRESS>" used to be hard coded, we can now refer to a unique camera among potentially many.

This is cool, I tried to sniff the communications between the Remote and GoPro some time ago but did not come up with anything. I'll merge it now and test tomorrow if it works with two GoPros (HERO5 and HERO3). Thanks!


Project proposal - Introduction

The Purpose section of the Introduction is written, but feel free to add to it or improve it!


++√√(LEAK VIRAL 38 Min]**Video balthazar baltasar ebang Viral.Viral Leaks Trending On Social Media X Tlegram

LEAK VIRAL 38 Min Video balthazar baltasar ebang Viral.Viral Leaks Trending On Social Media X Tlegram
10 sec ago balthazar baltasar ebang engonga ʟᴇᴀᴋᴇᴅ ᴠɪᴅᴇᴏ Viral On Social Media. ✧(XXX.̫ 𝙵𝚄𝙻𝙻~𝚅𝙸𝙳𝙴𝙾𝚂•) balthazar baltasar ebang engonga Viral ᴠɪᴅᴇᴏ ʟᴇᴀᴋᴇᴅ Trending On Social Media X Twitter
𝖶𝖺𝗍𝖼𝗁 🟢 ➤ ➤ ➤ 🌐 𝖢𝗅𝗂𝖼𝗄 𝖧𝖾𝗋𝖾 𝖳𝗈 𝗅𝗂𝗇𝗄 (𝖥𝗎𝗅𝗅 𝖵𝗂𝗋𝖺𝗅 𝖵𝗂𝖽𝖾𝗈 𝖫𝗂𝗇𝗄)
🔴 ➤►𝖣𝖮𝖶𝖭𝖫𝖮𝖠𝖣👉👉 (𝖥𝗎𝗅𝗅 𝖵𝗂𝗋𝖺𝗅 𝖵𝗂𝖽𝖾𝗈 𝖫𝗂𝗇𝗄) 𝖶𝖺𝗍𝖼𝗁
🟢 ➤ ➤ ➤ 🌐 𝖢𝗅𝗂𝖼𝗄 𝖧𝖾𝗋𝖾 𝖳𝗈 𝗅𝗂𝗇𝗄 (𝖥𝗎𝗅𝗅 𝖵𝗂𝗋𝖺𝗅 𝖵𝗂𝖽𝖾𝗈 𝖫𝗂𝗇𝗄)
🔴 ➤►𝖣𝖮𝖶𝖭𝖫𝖮𝖠𝖣👉👉 (𝖥𝗎𝗅𝗅 𝖵𝗂𝗋𝖺𝗅 𝖵𝗂𝖽𝖾𝗈 𝖫𝗂𝗇𝗄)
balthazar baltasar ebang engonga's latest video has taken the internet by storm, sparking vibrant discussions across multiple social media platforms. The rising digital influencer, famous for her captivating content—especially her recent Spiderman-themed video—has seen a massive boost in popularity, with fans eagerly awaiting the full version. Audiences are flocking to Instagram, X (formerly Twitter), and Discord to engage with her latest creation.
As the excitement grows, fans are actively sharing their thoughts online, highlighting how vital social media is in propelling creators like balthazar baltasar ebang engonga into the spotlight. With her unique style and creative approach, she has made a significant impact on the digital scene, leaving fans excited to see what she will do next.
LEAK VIRAL 38 Min Video balthazar baltasar ebang Viral.Viral Leaks Trending On Social Media X Tlegram
10 sec ago balthazar baltasar ebang engonga ʟᴇᴀᴋᴇᴅ ᴠɪᴅᴇᴏ Viral On Social Media. ✧(XXX.̫ 𝙵𝚄𝙻𝙻~𝚅𝙸𝙳𝙴𝙾𝚂•) balthazar baltasar ebang engonga Viral ᴠɪᴅᴇᴏ ʟᴇᴀᴋᴇᴅ Trending On Social Media X Twitter
𝖶𝖺𝗍𝖼𝗁 🟢 ➤ ➤ ➤ 🌐 𝖢𝗅𝗂𝖼𝗄 𝖧𝖾𝗋𝖾 𝖳𝗈 𝗅𝗂𝗇𝗄 (𝖥𝗎𝗅𝗅 𝖵𝗂𝗋𝖺𝗅 𝖵𝗂𝖽𝖾𝗈 𝖫𝗂𝗇𝗄)
🔴 ➤►𝖣𝖮𝖶𝖭𝖫𝖮𝖠𝖣👉👉 (𝖥𝗎𝗅𝗅 𝖵𝗂𝗋𝖺𝗅 𝖵𝗂𝖽𝖾𝗈 𝖫𝗂𝗇𝗄) 𝖶𝖺𝗍𝖼𝗁
🟢 ➤ ➤ ➤ 🌐 𝖢𝗅𝗂𝖼𝗄 𝖧𝖾𝗋𝖾 𝖳𝗈 𝗅𝗂𝗇𝗄 (𝖥𝗎𝗅𝗅 𝖵𝗂𝗋𝖺𝗅 𝖵𝗂𝖽𝖾𝗈 𝖫𝗂𝗇𝗄)
🔴 ➤►𝖣𝖮𝖶𝖭𝖫𝖮𝖠𝖣👉👉 (𝖥𝗎𝗅𝗅 𝖵𝗂𝗋𝖺𝗅 𝖵𝗂𝖽𝖾𝗈 𝖫𝗂𝗇𝗄)
balthazar baltasar ebang engonga's latest video has taken the internet by storm, sparking vibrant discussions across multiple social media platforms. The rising digital influencer, famous for her captivating content—especially her recent Spiderman-themed video—has seen a massive boost in popularity, with fans eagerly awaiting the full version. Audiences are flocking to Instagram, X (formerly Twitter), and Discord to engage with her latest creation.
As the excitement grows, fans are actively sharing their thoughts online, highlighting how vital social media is in propelling creators like balthazar baltasar ebang engonga into the spotlight. With her unique style and creative approach, she has made a significant impact on the digital scene, leaving fans excited to see what she will do next.

NNN

.
.
.

.
.
11
ccvcvcv


Significant refactorings to enable improved performance

Significant refactoring to make the library more async internally. This allows a significant boost in performance for seeding and leeching. This may impact actual real world download performance in some scenarios, but most likely gain will be a slight reduction in both CPU and memory usage while using the library.
Before:

After:

This test is performed using the 'StressTest' class in the repository. It instantiates one instance of MonoTorrent and uses it as a seeder. It then starts 16 more engines and puts them in an infinite loop where they download the data, discard it, and download again. The stress test does not write any data to disk, as the load from the random reads/writes from over 250 concurrent connections (16 leechers connecting to each other) would likely the limits of any SSD.
This is a fairly significant API break.

Wow, this is amazing, tons of great stuff!!!
FYI: When I tried to make IO async, I couldn't make it work reliably without locking around stream and using sync version on stream IO: https://github.com/vlasenkoalexey/monotorrent/commit/7c48291692093cad64039d9eedafe09efdf37605#diff-a4b4af14c838d67859819ef101c1368cR96-R106
Without those tweaks download stuck at 95-99% for large files due to some hash misses.
Hope your stress test covers that.
In any case, thanks for doing all those changes. I'm super eager to try them out.

I did find a few small issues when setting up the stress test. As it stands the stress test really forces the engine to repeatedly stop/start/reconnect so things should be quite robust now.  It made it so easy to profile :)
There are still a few lazy Jack's unfortunately. I left a SemaphoreSlim in the TorrentFile class, but it should really be elsewhere. I'll do a few more cleanups to tidy up the refactor, but then this leaves the library in a place where the work to support UWP streams will be easier to integrate :)

Time to YOLO this into master! After the profiling and terabytes of data I've transferred between instances using the new StressTest.cs, i'm fairly confident things have not regressed too much :)
I won't release a '2.0' release for another while as there are more things I want to get into the release. However it's about time to get it into master so i'm not dragging around a massive diff forever :)


Add No Plagiarism to Contribution Guidelines

📚 Documentation
My only request is to add No Plagiarism to the contribution guidelines. So far, I have reviewed two PRs that are directly copied from another website which were authored by someone else. Here they are: #1338 and #1327
Have you read the Contributing Guidelines on Pull Requests?
Yes. In fact, my issue is related to its improvement.

Hello @hemanth-kotagiri , may I work on this?

Sorry @dgabriel123. I am working on that. Thanks!

@atarax665 if you are open for collaboration, I am more than happy to join and help this repository and engage in reviewing PRs and issues.
Thanks!

Thanks for the contribution @hemanth-kotagiri
I'm the Project Admin of NeoAlgo and I would like you to join the Slack and drop me a message.

@HarshCasper, Awesome! Thanks!


Hi, Can you add .bat File type to add program for run as services?

Hi, Can you add .bat File type to add program for run as services? Please do it , iwant add a program to run as a service but it file type is .bat . and your software support only .exe files

Hey there, i can unlock select file type, but i don't sure service can be running as bat file

Hey there, i can unlock select file type, but i don't sure service can be running as bat file

Thank you sir, i check it and .bat file is working as a service, please Unlock it

Thank you sir, i check it and .bat file is working as a service, please Unlock it

I will do it this evening then

I will do it this evening then

Thank you sir , i waiting you

Thank you sir , i waiting you

I have updated open code, you check it out

I have updated open code, you check it out

Thank you sir
On Thu, Jan 28, 2021 at 12:13 PM Sergey<EMAIL_ADDRESS>wrote:

I have updated open code, you check it out
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/devowl/winservicemanager/issues/1#issuecomment-768894717,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APWYRHMJ7NH6FVVBBHUMTX3S4EPTVANCNFSM4WU5JM5A
.

Thank you sir
On Thu, Jan 28, 2021 at 12:13 PM Sergey<EMAIL_ADDRESS>wrote:

I have updated open code, you check it out
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/devowl/winservicemanager/issues/1#issuecomment-768894717,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APWYRHMJ7NH6FVVBBHUMTX3S4EPTVANCNFSM4WU5JM5A
.


ERROR: Could not build wheels for cmake, ninja, which is required to install pyproject.toml-based projects

System OS
Termux (Android)
Python Version
3.9 (CPython)
Install Source
GitHub
Install version / commit hash
Spotdl command not found
Expected Behavior vs Actual Behavior
No response
Steps to reproduce
Installed spotdl using termux installation guide
Traceback
ERROR: Could not build wheels for cmake, ninja, which is required to install pyproject.toml-based projects

Other details

@s1as3r?

RapidFuzz/195
For now install rapidfuzz v1.9.1
pip install rapidfuzz==1.9.1

oops wrong button - I'll leave this issue to you to close when it's resolved (if not already?)

Now I'm having a "ffmpeg couldn't be detected" even though I already installed it and have the newest version.

Now I'm having a "ffmpeg couldn't be detected" even though I already installed it and have the newest version.

Could you show the output of running  ffmpeg

You need to have clang installed.
pkg install clang

https://github.com/termux/termux-packages/issues/9488

I'm also getting same error while installing AFDKO. How did you solve this?


Latency 30mSec

Hi there,
I'm currently using sounddevice together with SamplerBox on a RPI device. I'm measuring about 30mSec latency from the time I hit a note until the note is played on the speaker. I was wondering if there's a way to reduce this latency. Reading PortAudio documentation, it's mentioned there is a way to reduce the latency to 10mSec but I don't know how to do that? The audiocallback() is called every 8mSec. Is there anyway to make this faster? The buffer size is 384 but I have tried lowering that and it didn't help.
I appreciate any help in this regards.
From PortAudio website
Unix
PortAudio under Unix currently uses a backgroud thread that reads and writes to OSS. This gives you decent but not great latency. But if you raise the priority of the background thread to a very priority then you can get under 10 milliseconds latency. In order to raise your priority you must run the PortAudio program as root! You must also set PA_MIN_LATENCY_MSEC using the appropriate command for your shell.

Thank you Mathias for your prompt reply.
Please see my comments below
Which buffer sizes did you try? Did you try powers of 2?
->  I use blocksize=384 which has so far delivered the best performance.
I've also tried 128,16 and 0 but didn't see any significant difference in
the latency measurement.
There is a PortAudio test program called pa_minlat, maybe that gives some
insights?
-> Didn't know about this. Does it work on RPI? I can give it a try.
Did you try setting blocksize=0 and varying latency?
-> Yes. Didn't see a big difference. See the shared Google sheet for more
details.
I tried the following latencies. The best option that I'm currently using
with buffer size =384 is highlighted below.
# sd = sounddevice.OutputStream(device=AUDIO_DEVICE_ID,blocksize=BLOCKSIZE,samplerate=f,channels=2,dtype='int16',latency='low',callback=AudioCallback)
# print ("Latency = low ~20-30msec")

	# sd = sounddevice.OutputStream(device=AUDIO_DEVICE_ID,blocksize=BLOCKSIZE,samplerate=f,channels=2,dtype='int16',latency=0.010,callback=AudioCallback)
	# print ("Latency = 10mSec 20-30mSec")

	# sd = sounddevice.OutputStream(device=AUDIO_DEVICE_ID,blocksize=BLOCKSIZE,samplerate=f,channels=2,dtype='int16',latency=0.013483,callback=AudioCallback)
	# print ("Latency = 13.483mSec 30-40mSec")

	# sd = sounddevice.OutputStream(device=AUDIO_DEVICE_ID,blocksize=BLOCKSIZE,samplerate=f,channels=2,dtype='int16',latency=0.015,callback=AudioCallback)
	# print ("Latency = 15mSec 30-40mSec")

	# sd = sounddevice.OutputStream(device=AUDIO_DEVICE_ID,blocksize=BLOCKSIZE,samplerate=f,channels=2,dtype='int16',latency=0.0175,callback=AudioCallback)
	# print ("Latency = 17.5mSec 30-40mSec")

	# sd = sounddevice.OutputStream(device=AUDIO_DEVICE_ID,blocksize=BLOCKSIZE,samplerate=f,channels=2,dtype='int16',latency=0.020,callback=AudioCallback)
	# print ("Latency = 20mSec 30-40mSec")

    latency_org=0.03482993197278/2		sd =

sounddevice.OutputStream(device=AUDIO_DEVICE_ID,blocksize=BLOCKSIZE,samplerate=f,channels=2,dtype='int16',
latency=latency_org, callback=AudioCallback)
print ("Latency = %.15f" %latency_org)
# sd = sounddevice.OutputStream(device=AUDIO_DEVICE_ID,blocksize=BLOCKSIZE,samplerate=f,channels=2,dtype='int16',
callback=AudioCallback)
# print ("No Latency defined - default is HIGH  50 - 60 mSec")
	# sd = sounddevice.OutputStream(device=AUDIO_DEVICE_ID,blocksize=BLOCKSIZE,samplerate=f,channels=2,dtype='int16',latency=0.100,callback=AudioCallback)
	# print ("Latency = 100mSec")

OSS is an audio backend that hasn't really been used for decades. I guess
you are using ALSA?
-> Yes. I'm pretty sure I'm using ALSA
You must also set PA_MIN_LATENCY_MSEC
-> Maybe an old comment from Port Audio developers. I didn't know how to
use it.
I should mention that I'm using an external DAC too and not the RPi
internal DAC as the audio quality is not that great. Does this add to the
latency?
I wanted to know what kind of latency is common with sounddevice? Is it
possible to get to 10mSec or lower?
I will share my investigation results to you through a google document. It
takes my system about 5mSec to call a function in SamplerBox to play a
note. From that point it takes 17.5mSec before the audio buffer go non-zero
and from that point it takes another 15mSec to hear the audio.
Why is the AudiocallBack() called every 8mSec? Any chance to speed that up?
I also tried to increase the priority of the SamplerBox application using
htop to MAX (-19, 0) but didn't see any difference in latency.
Let me know if you want me to try any new combinations and measure the
delay. It will be great if I can reduce this delay as much as possible.
Thanks again for your help.
Really appreciate it.
Reza
On Wed, Mar 6, 2024 at 10:51 AM Matthias Geier @.***>
wrote:

Which buffer sizes did you try? Did you try powers of 2?
There is a PortAudio test program called pa_minlat, maybe that gives some
insights?
Did you try setting blocksize=0 and varying latency?
PortAudio under Unix currently uses a backgroud thread that reads and
writes to OSS.
OSS is an audio backend that hasn't really been used for decades. I guess
you are using ALSA?
You must also set PA_MIN_LATENCY_MSEC
That's something I have never heard before, and if you search for it in
the PortAudio source code, it only appears in the file
https://github.com/PortAudio/portaudio/blob/master/src/hostapi/dsound/pa_win_ds.c,
which is irrelevant for Linux.
—
Reply to this email directly, view it on GitHub
https://github.com/spatialaudio/python-sounddevice/issues/524#issuecomment-1981565472,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A2ARXN2DR62MJ4M7DBC2KRLYW5QULAVCNFSM6AAAAABEGOEN6WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBRGU3DKNBXGI
.
You are receiving this because you authored the thread.Message ID:
@.***>

Sorry forgot to add the link to google sheet -->
https://docs.google.com/spreadsheets/d/1NFkqyEGW1DZmFUpbkyHF5ob7DfHAVK4PeZypDVyEInM/edit?usp=sharing
On Wed, Mar 6, 2024 at 2:31 PM Reza Yazdi @.***> wrote:

Thank you Mathias for your prompt reply.
Please see my comments below
Which buffer sizes did you try? Did you try powers of 2?
->  I use blocksize=384 which has so far delivered the best performance.
I've also tried 128,16 and 0 but didn't see any significant difference in
the latency measurement.
There is a PortAudio test program called pa_minlat, maybe that gives some
insights?
-> Didn't know about this. Does it work on RPI? I can give it a try.
Did you try setting blocksize=0 and varying latency?
-> Yes. Didn't see a big difference. See the shared Google sheet for more
details.
I tried the following latencies. The best option that I'm currently using
with buffer size =384 is highlighted below.
sd = sounddevice.OutputStream(device=AUDIO_DEVICE_ID,blocksize=BLOCKSIZE,samplerate=f,channels=2,dtype='int16',latency='low',callback=AudioCallback)
print ("Latency = low ~20-30msec")
	# sd = sounddevice.OutputStream(device=AUDIO_DEVICE_ID,blocksize=BLOCKSIZE,samplerate=f,channels=2,dtype='int16',latency=0.010,callback=AudioCallback)
	# print ("Latency = 10mSec 20-30mSec")

	# sd = sounddevice.OutputStream(device=AUDIO_DEVICE_ID,blocksize=BLOCKSIZE,samplerate=f,channels=2,dtype='int16',latency=0.013483,callback=AudioCallback)
	# print ("Latency = 13.483mSec 30-40mSec")

	# sd = sounddevice.OutputStream(device=AUDIO_DEVICE_ID,blocksize=BLOCKSIZE,samplerate=f,channels=2,dtype='int16',latency=0.015,callback=AudioCallback)
	# print ("Latency = 15mSec 30-40mSec")

	# sd = sounddevice.OutputStream(device=AUDIO_DEVICE_ID,blocksize=BLOCKSIZE,samplerate=f,channels=2,dtype='int16',latency=0.0175,callback=AudioCallback)
	# print ("Latency = 17.5mSec 30-40mSec")

	# sd = sounddevice.OutputStream(device=AUDIO_DEVICE_ID,blocksize=BLOCKSIZE,samplerate=f,channels=2,dtype='int16',latency=0.020,callback=AudioCallback)
	# print ("Latency = 20mSec 30-40mSec")

    latency_org=0.03482993197278/2		sd = sounddevice.OutputStream(device=AUDIO_DEVICE_ID,blocksize=BLOCKSIZE,samplerate=f,channels=2,dtype='int16', latency=latency_org, callback=AudioCallback)

print ("Latency = %.15f" %latency_org)
sd = sounddevice.OutputStream(device=AUDIO_DEVICE_ID,blocksize=BLOCKSIZE,samplerate=f,channels=2,dtype='int16', callback=AudioCallback)
print ("No Latency defined - default is HIGH  50 - 60 mSec")
	# sd = sounddevice.OutputStream(device=AUDIO_DEVICE_ID,blocksize=BLOCKSIZE,samplerate=f,channels=2,dtype='int16',latency=0.100,callback=AudioCallback)
	# print ("Latency = 100mSec")

OSS is an audio backend that hasn't really been used for decades. I guess
you are using ALSA?
-> Yes. I'm pretty sure I'm using ALSA
You must also set PA_MIN_LATENCY_MSEC
-> Maybe an old comment from Port Audio developers. I didn't know how to
use it.
I should mention that I'm using an external DAC too and not the RPi
internal DAC as the audio quality is not that great. Does this add to the
latency?
I wanted to know what kind of latency is common with sounddevice? Is it
possible to get to 10mSec or lower?
I will share my investigation results to you through a google document. It
takes my system about 5mSec to call a function in SamplerBox to play a
note. From that point it takes 17.5mSec before the audio buffer go
non-zero and from that point it takes another 15mSec to hear the audio.
Why is the AudiocallBack() called every 8mSec? Any chance to speed that up?
I also tried to increase the priority of the SamplerBox application using
htop to MAX (-19, 0) but didn't see any difference in latency.
Let me know if you want me to try any new combinations and measure the
delay. It will be great if I can reduce this delay as much as possible.
Thanks again for your help.
Really appreciate it.
Reza
On Wed, Mar 6, 2024 at 10:51 AM Matthias Geier @.***>
wrote:

Which buffer sizes did you try? Did you try powers of 2?
There is a PortAudio test program called pa_minlat, maybe that gives
some insights?
Did you try setting blocksize=0 and varying latency?
PortAudio under Unix currently uses a backgroud thread that reads and
writes to OSS.
OSS is an audio backend that hasn't really been used for decades. I guess
you are using ALSA?
You must also set PA_MIN_LATENCY_MSEC
That's something I have never heard before, and if you search for it in
the PortAudio source code, it only appears in the file
https://github.com/PortAudio/portaudio/blob/master/src/hostapi/dsound/pa_win_ds.c,
which is irrelevant for Linux.
—
Reply to this email directly, view it on GitHub
https://github.com/spatialaudio/python-sounddevice/issues/524#issuecomment-1981565472,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A2ARXN2DR62MJ4M7DBC2KRLYW5QULAVCNFSM6AAAAABEGOEN6WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBRGU3DKNBXGI
.
You are receiving this because you authored the thread.Message ID:
@.***>

Hello Mathias,Just wondering if you had a chance to see my feedback. I appreciate if you can help in anyway. Cheers,RezaOn Mar 7, 2024, at 6:34 AM, Reza Yazdi @.> wrote:Sorry forgot to add the link to google sheet --> https://docs.google.com/spreadsheets/d/1NFkqyEGW1DZmFUpbkyHF5ob7DfHAVK4PeZypDVyEInM/edit?usp=sharingOn Wed, Mar 6, 2024 at 2:31 PM Reza Yazdi @.> wrote:Thank you Mathias for your prompt reply. Please see my comments belowWhich buffer sizes did you try? Did you try powers of 2?->  I use blocksize=384 which has so far delivered the best performance. I've also tried 128,16 and 0 but didn't see any significant difference in the latency measurement.There is a PortAudio test program called pa_minlat, maybe that gives some insights?-> Didn't know about this. Does it work on RPI? I can give it a try.Did you try setting blocksize=0 and varying latency?-> Yes. Didn't see a big difference. See the shared Google sheet for more details. I tried the following latencies. The best option that I'm currently using with buffer size =384 is highlighted below.	# sd = sounddevice.OutputStream(device=AUDIO_DEVICE_ID,blocksize=BLOCKSIZE,samplerate=f,channels=2,dtype='int16',latency='low',callback=AudioCallback)
# print ("Latency = low ~20-30msec")
	# sd = sounddevice.OutputStream(device=AUDIO_DEVICE_ID,blocksize=BLOCKSIZE,samplerate=f,channels=2,dtype='int16',latency=0.010,callback=AudioCallback)
	# print ("Latency = 10mSec 20-30mSec")

	# sd = sounddevice.OutputStream(device=AUDIO_DEVICE_ID,blocksize=BLOCKSIZE,samplerate=f,channels=2,dtype='int16',latency=0.013483,callback=AudioCallback)
	# print ("Latency = 13.483mSec 30-40mSec")

	# sd = sounddevice.OutputStream(device=AUDIO_DEVICE_ID,blocksize=BLOCKSIZE,samplerate=f,channels=2,dtype='int16',latency=0.015,callback=AudioCallback)
	# print ("Latency = 15mSec 30-40mSec")

	# sd = sounddevice.OutputStream(device=AUDIO_DEVICE_ID,blocksize=BLOCKSIZE,samplerate=f,channels=2,dtype='int16',latency=0.0175,callback=AudioCallback)
	# print ("Latency = 17.5mSec 30-40mSec")

	# sd = sounddevice.OutputStream(device=AUDIO_DEVICE_ID,blocksize=BLOCKSIZE,samplerate=f,channels=2,dtype='int16',latency=0.020,callback=AudioCallback)
	# print ("Latency = 20mSec 30-40mSec")        latency_org=0.03482993197278/2
sd = sounddevice.OutputStream(device=AUDIO_DEVICE_ID,blocksize=BLOCKSIZE,samplerate=f,channels=2,dtype='int16', latency=latency_org, callback=AudioCallback)
print ("Latency = %.15f" %latency_org)

# sd = sounddevice.OutputStream(device=AUDIO_DEVICE_ID,blocksize=BLOCKSIZE,samplerate=f,channels=2,dtype='int16', callback=AudioCallback)
# print ("No Latency defined - default is HIGH  50 - 60 mSec")

	# sd = sounddevice.OutputStream(device=AUDIO_DEVICE_ID,blocksize=BLOCKSIZE,samplerate=f,channels=2,dtype='int16',latency=0.100,callback=AudioCallback)
	# print ("Latency = 100mSec")

OSS is an audio backend that hasn't really been used for decades. I guess you are using ALSA?-> Yes. I'm pretty sure I'm using ALSAYou must also set PA_MIN_LATENCY_MSEC-> Maybe an old comment from Port Audio developers. I didn't know how to use it.I should mention that I'm using an external DAC too and not the RPi internal DAC as the audio quality is not that great. Does this add to the latency? I wanted to know what kind of latency is common with sounddevice? Is it possible to get to 10mSec or lower?I will share my investigation results to you through a google document. It takes my system about 5mSec to call a function in SamplerBox to play a note. From that point it takes 17.5mSec before the audio buffer go non-zero and from that point it takes another 15mSec to hear the audio.Why is the AudiocallBack() called every 8mSec? Any chance to speed that up?I also tried to increase the priority of the SamplerBox application using htop to MAX (-19, 0) but didn't see any difference in latency. Let me know if you want me to try any new combinations and measure the delay. It will be great if I can reduce this delay as much as possible.Thanks again for your help.Really appreciate it.RezaOn Wed, Mar 6, 2024 at 10:51 AM Matthias Geier @.***> wrote:
Which buffer sizes did you try? Did you try powers of 2?
There is a PortAudio test program called pa_minlat, maybe that gives some insights?
Did you try setting blocksize=0 and varying latency?
PortAudio under Unix currently uses a backgroud thread that reads and writes to OSS.
OSS is an audio backend that hasn't really been used for decades. I guess you are using ALSA?
You must also set PA_MIN_LATENCY_MSEC
That's something I have never heard before, and if you search for it in the PortAudio source code, it only appears in the file https://github.com/PortAudio/portaudio/blob/master/src/hostapi/dsound/pa_win_ds.c, which is irrelevant for Linux.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

if you had a chance to see my feedback

Yeah, I've seen it, it's kinda hard to read. Can you try formatting it a bit nicer?

Sorry about that! The formatting looks OK on my side but I tried to clean
my responses a little bit more. Hopefully this will address the formatting
issue.
Please let me know if it's good or not. Thank you for your help.
Which buffer sizes did you try? Did you try powers of 2?
->  I use blocksize=384 which has so far delivered the best performance.
I've also tried 128,16 and 0 but didn't see any significant difference in
the latency measurement.
There is a PortAudio test program called pa_minlat, maybe that gives some
insights?
-> Didn't know about this. Does it work on RPI? I can give it a try.
Did you try setting blocksize=0 and varying latency?
-> Yes. Didn't see a big difference. See the shared Google sheet for more
details.
I tried many different combinations and the best one working for me now is
    latency_org=0.03482993197278/2		sd =

sounddevice.OutputStream(device=AUDIO_DEVICE_ID,blocksize=BLOCKSIZE,samplerate=f,channels=2,dtype='int16',
latency=latency_org, callback=AudioCallback)
print ("Latency = %.15f" %latency_org)
OSS is an audio backend that hasn't really been used for decades. I guess
you are using ALSA?
-> Yes. I'm pretty sure I'm using ALSA
You must also set PA_MIN_LATENCY_MSEC
-> Maybe an old comment from Port Audio developers. I didn't know how to
use it.
I should mention that I'm using an external DAC too and not the RPi
internal DAC as the audio quality is not that great. Does this add to the
latency?
I wanted to know what kind of latency is common with sounddevice? Is it
possible to get to 10mSec or lower?
I will share my investigation results to you through a google document.
https://docs.google.com/spreadsheets/d/1NFkqyEGW1DZmFUpbkyHF5ob7DfHAVK4PeZypDVyEInM/edit?usp=sharing
https://docs.google.com/spreadsheets/d/1NFkqyEGW1DZmFUpbkyHF5ob7DfHAVK4PeZypDVyEInM/edit?usp=sharing
It takes my system about 5mSec to call a function in SamplerBox to play a
note.
From that point it takes 17.5mSec before the audio buffer goes non-zero and
from that point it takes another 15mSec to hear the audio.
Why is the AudiocallBack() called every 8mSec? Any chance to speed that up?
I also tried to increase the priority of the SamplerBox application using
htop to MAX (-19, 0) but didn't see any difference in latency.
Let me know if you want me to try any new combinations and measure the
delay. It will be great if I can reduce this delay as much as possible.
Thanks again for your help.
Really appreciate it.
Reza
On Wed, Mar 13, 2024 at 1:11 PM Matthias Geier @.***>
wrote:

if you had a chance to see my feedback
Yeah, I've seen it, it's kinda hard to read. Can you try formatting it a
bit nicer?
—
Reply to this email directly, view it on GitHub
https://github.com/spatialaudio/python-sounddevice/issues/524#issuecomment-1995634163,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A2ARXNYQ2BUVP7VSQYOVL7LYYCXGZAVCNFSM6AAAAABEGOEN6WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOJVGYZTIMJWGM
.
You are receiving this because you authored the thread.Message ID:
@.***>

Please let me know if it's good or not.

Still not great.
Maybe you should use the web interface instead of replying by e-mail.
Did you try pa_minlat?

Hi Mathias,
I have not tried the pa_minlat yet. Are you referring to this? --> https://portaudio.com/docs/v19-doxydocs-dev/pa__minlat_8c.html#details

yes.

Closing due to lack of response.


add tanh approximation

Feature Description
this is extension for #26 most of the methods are covered in PR #53
What alternatives have you considered?
A clear and concise description of any alternative solutions or features you've considered.
Additional Context
Add any other context or screenshots about the feature request here.

added in PR #53


support timeUnit

Olli doesn't currently support the vega-lite timeunit concept. As a result, axes that use timeUnit have empty children / can't be expanded.
Affected examples:

steamgraph
heatmap
lasagna plot

Examples where I want to change them to a different chart that would be affected:

aggregate bar chart
area chart

axis binning should also be aware of timeUnit

https://github.com/mitvis/olli/pull/96