Add an option to replace the use of python threads by eventloop

When I use snakemake to send jobs from a small frontend server, I'm facing with limitation regarding the number of threads started in python.
RuntimeError: can't start new thread
I wonder if it would be possible to use the same technique as with python web server. They use a library such as "gevent" that replaces python thread by coroutines.
http://www.gevent.org/intro.html#example
An example extracted from here:
#!/usr/bin/env python
from gevent import monkey, sleep
monkey.patch_all()
import threading

class ExampleThread(threading.Thread):
    def run(self):
        for i in xrange(10):
            print 'working'
            sleep()

if __name__ == '__main__':
    worker = ExampleThread()
    worker.start()
    print 'this will be printed after the first call to sleep'

The integration is easy and it just need to add the patch function in the snakemake/__init__.py.
But to work properly, each thread must sleep or yield often enough.

I try to successfully patched the snakemake/__init__.py
import os
import subprocess
import glob
from argparse import ArgumentError
import logging as _logging
import re
import sys
import inspect
from gevent import monkey # <-----------
monkey.patch_all()        # <-----------
import threading


resin-image-flasher fixes for rocko support

Connected to https://github.com/resin-os/meta-resin/issues/919
Contributor checklist

[x] Changes have been tested
[x] Change-type present on at least one commit
[x] Signed-off-by is present
[x] The PR complies with the Open Embedded Commit Patch Message Guidelines

Reviewer Guidelines

When submitting a review, please pick:

'Approve' if this change would be acceptable in the codebase (even if there are minor or cosmetic tweaks that could be improved).
'Request Changes' if this change would not be acceptable in our codebase (e.g. bugs, changes that will make development harder in future, security/performance issues, etc).
'Comment' if you don't feel you have enough information to decide either way (e.g. if you have major questions, or you don't understand the context of the change sufficiently to fully review yourself, but want to make a comment)

Fixed a small commit log typo.


Helm deployment  Shows backend service as unhealthy

A clear and concise description of what the bug is.
release 1.1.0
GCP " ingress.kubernetes.io/backends" It keep showing backend service as unhealthy in ingress.
ingress.kubernetes.io/backends: {"k8s-be-30587--aas":"HEALTHY","k8s1-bb-dd-superset-new-8088-dde":"UNHEALTHY"}
Expected results
backend service  should be healthy
Checklist
Make sure to follow these steps before submitting your issue - thank you!

[x] I have checked the superset logs for python stacktraces and included it here as text if there are any.
[x] I have reproduced the issue with at least the latest released version of superset.
[x] I have checked the issue tracker for the same issue and I haven't found one similar.

Additional context
After adding the below code in deployment.yaml it worked fine
      livenessProbe:
        httpGet:
          path: /health
          port: http
        initialDelaySeconds: 80
        timeoutSeconds: 5
        periodSeconds: 10
        failureThreshold: 2
      readinessProbe:
        httpGet:
          path: /health
          port: http
        initialDelaySeconds: 30
        timeoutSeconds: 5
        periodSeconds: 10
        failureThreshold: 2

Closing this as stale since it's been silent for so long, and we're trying to steer toward a more actionable Issues backlog. If people are still encountering this in current versions (currently 3.x) please open a new Issue or a PR to address the problem.
CC @craig-rueda in case this warrants any follow-up/re-opening.


Please make weights / checkpoint available

Otherwise we are all doing the same training each time, its wasteful.
Thanks!

I believe the issue is that the weights are a function of the training data, which has a non-commercial license and ultimately stems from OpenAI output. That means downstream users need to be careful about how they would use the weights, and why they're not just posted. That said, you can e-mail<EMAIL_ADDRESS>if you're sure you are OK to use the weights; this is mentioned in the blog.

if anyone was able to produce the weights, please email me<EMAIL_ADDRESS>


Blur event handler to avoid setState on every key press which will av…

Blur event handler to avoid setState on every key press which will avoid lags when working on larger texts.

This solution do not work out of the box. Please see https://github.com/jodit/jodit-react/pull/18


Mflowgen

There are many changes, but primarily, I have altered how the buffers are controlled by the JTAG to fit the Analog Core LEF's pinout.
I need to update the master to reflect this as sungjin will use the master to make sure the analog core verilog matches the LEF.
-Zach

Codecov Report

Merging #95 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #95   +/-   ##
=======================================
  Coverage   22.26%   22.26%
=======================================
  Files          33       33
  Lines        1909     1909
=======================================
  Hits          425      425
  Misses       1484     1484

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f9ca36e...05dcc40. Read the comment docs.


Running chat in WhatsApp Business

Steps to reproduce
I have WhatsApp and WhatsApp Business. There are two different accounts on it.

Install WhatsApp and WhatsApp Business
In WhatsApp sign in one account
In WhatsApp Business sign in the other account
Try to input number in Chat app

Expected behavior
I expected running the WhatsApp chat, but it run the WhatsApp Business chat
Actual behavior
When I input the number,  I get a WhatsApp Business and corresponding account.
Maybe I do something wrong or it can be fixed via settings, idk.
It could be fine, if you can select WhatsApp app and account by default or optional for running chat
Crash logs
No response
App version
0.6.0.
Device
Xiaomi 11 Lite 5G 2109119dg
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I have updated the app to version.
[X] I will fill out all of the requested information in this form.

@Ser1ousSAM just to let you know that I'll add a new option under settings so the user can select the destination app (whatsapp OR whatsapp business). This option will only be visible If the user has both apps installed.
should be available on version 0.7.0 (it will take a few days to update on F-droid)

#19 closes this issue


Fixes for shm size patch

There have been some fixes in upstream docker after shm size patch was backported here in *-1.9 branches. This patch pulls those fixes in here.
Signed-off-by: Antonio Murdaca<EMAIL_ADDRESS>

LGTM


IOS & Android application Assignment

IOS And android application assignments does not work at this moment working on a fix they need other json body's for the assignment then windows applications.

IOS Store Apps and Managed Play store apps can be assigned now other types still need some work ;-)


bug: make wren/run doesn't work

Description
As stated in CONTRIBUTING.md, the command make wren/run fails with the following error:
"unable to open database file: no such file or directory"
exit status 1
make: *** [wren/run] Error 1
This seems to be because the directory it creates the SQLite DB in doesn't exist. I fixed this by running mkdir tests/integration/data.
We should probably fix the documentation and/or ensure the directory exists before attempting to create the DB.

Also instructions for running integration tests using docker seem broken.
make test/int/docker-up
produces the following errors:
kaskada  | /bin/wren: /lib/aarch64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /bin/wren)
kaskada exited with code 1

Also, once the local binaries are running, things still fail since a Pulsar is necessary as well.

Thanks @bjchambers for opening this issue. I ran into the same Pulsar missing issues today trying to setup a local dev environment.

#490 should fix the creation of the sqlite and objectStore directories, and the GLIBC issue on Apple Silicon.


Error: not readable as KeyValues3 text: Line 50: Invalid value 'subclass:'

In Valve's latest game Deadlock there are some nested objects with the keys subclass and panorama. This results in the error Error: not readable as KeyValues3 text: Line 50: Invalid value 'subclass:' when calling kv3.toObject();.
Here are some snippets of data that is failing:
{
    AbilityCooldown =
        {
           ...
            m_subclassScaleFunction = subclass:
                {
                   ...
                }
        }
    }

m_strAbilityImage = panorama:"file://{images}/hud/abilities/weapon_damage.psd"

Is this something that can be fixed please? I've tried to have a go at fixing it myself but I failed 😕

Sorry, I don't have Deadlock, can you upload the file?

Thanks for getting back to me. Please find the file below
abilities.zip

Thank you for the file, the new version is now parsing properly.

Thanks for getting back to me. Please find the file below
abilities.zip

Thank you for the file, the new version is now parsing properly.

Thanks a lot, it's much appreciated!


remove tests which doesn't have serviceAccount

What this PR does / why we need it:
remove tests which doesn't have serviceAccount
Openshift tekton pipelines are setting default SA pipeline to taskRuns, which doesn't have SA, so these tests are failing
Release note:
NONE

/lgtm


Add new chat client classes

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

Project coverage is 100.00%. Comparing base (891b1aa) to head (5b3f2f8).

Additional details and impacted files
@@            Coverage Diff             @@
##              main       #29    +/-   ##
==========================================
  Coverage   100.00%   100.00%
==========================================
  Files           38        56    +18
  Lines         1336      2263   +927
==========================================
+ Hits          1336      2263   +927

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


[FEATURE REQUEST] Localized app name?

:speech_balloon: Description
Localizing app names is possible for windows store apps (example). There seems to be no way to specify that with this package.

Hello,
I'm currently developing a Flutter application that targets multiple language audiences, and I'm using the MSIX package to generate Windows app packages. One of the requirements for my application is to support multilingual display_name to enhance user experience across different regions. However, I've noticed that the current msix_config in pubspec.yaml does not directly support configuring multilingual display names for the application.
Feature Request:
I would like to request a feature to allow specifying multilingual display_name directly within the msix_config in pubspec.yaml. This feature would greatly simplify the process of setting up multilingual support for Windows applications packaged with MSIX, making it more straightforward to configure applications for different languages without manually editing resource files or the Package.appxmanifest.
Ideally, this could be implemented in a way that allows developers to specify different display_name values for each supported language, similar to how we can currently specify multiple languages in the languages field of the msix_config. For example:
msix_config:
  display_name:
    en-us: "My Application"
    zh-cn: "我的应用程序"
  languages: en-us, de-de, hu-hu, pt-br, tr-tr, zh-cn, ko-kr
  store: true

Benefits:

Simplifies the process of configuring multilingual support for the display_name of the application.
Enhances the user experience by automatically displaying the application name in the user's system language.
Reduces the need for manual modifications of the Package.appxmanifest or resource files, aligning with the Flutter development workflow.

Thank you for considering this feature request. I believe it would be a valuable addition to the MSIX package and benefit many developers looking to streamline their application packaging process for multilingual audiences.

@calcitem FWIW, my fork supports localized app names, just updated README with usage. I've been using it for my localized apps in production for a while.


Why transaction operation “op_malformed”?

From the laboratory all ok
https://stellar.stackexchange.com/questions/2312/why-transaction-operation-op-malformed/2314#2314

https://stellar.stackexchange.com/questions/2312/why-transaction-operation-op-malformed
wrong price


params__search_area_scale

hi,
anyone knowns this param value range?

Generally, range from 4.4 to 5.0


ARIA in HTML update for role allowances for button/input button elements

ARIA in HTML (https://github.com/w3c/html-aria/pull/446) is updating the role allowances for the button element, as well as input type=button, image, reset, submit.  ARIA in HTML spec update preview.
This update serves two purposes:

to add new role allowances to these elements - specifically treeitem, gridcell and slider.  Each of these roles - if implemented correctly - can work just fine with the button element.  Other potential accessibility gaps due to author implementation may be found via other existing automated or manual checks.
The various input buttons were in misalignment with each other, as well as the button element. These input types now all have the same allowances as the button element. input type=reset, submit and image have been revised to allow all the same roles, but note that authors are NOT RECOMMENDED to use them.  The reason for this is that the LOE of making a proper implementation of these roles, compared to using a button element or other element (like a div), is likely far greater than using these input types due to the limitations of their styling and content models, in comparison.

The full list of allowed roles for these elements now would be:
checkbox, combobox, gridcell, link, menuitem, menuitemcheckbox, menuitemradio, option, radio, slider, switch, tab, or treeitem. (button is also allowed, but NOT RECOMMENDED.)
The expectation here would be that all the allowed roles would no longer be exposed as errors or warnings.
For the input types (image, reset, submit) where roles are allowed but NOT RECOMMENDED, a warning message indicating that a more malleable HTML element, such as a <button> or <div> may be more appropriate to ease the development of the custom feature.
Test cases - button and input type=button tests and
input type=reset, image, submit tests

Thanks, @scottaohara  I've updated the script to include the roles.

hey @gezlemon.  looks like the first test case is good to go, but the input type=reset, image and submit test shows 66 invalid role errors.

Thanks, @scottaohara, I've added those roles for input type=reset, image, and submit.

awesome.  thank you gez


feat(docs): Update documentation notes

Resolves https://github.com/bcgov/bcbb-gitops-docs/issues/2
Resolves https://github.com/bcgov/bcbb-gitops-docs/issues/3
Resolves https://github.com/bcgov/bcbb-gitops-docs/issues/4

Looks great - thanks @sylus


A useless postage was added to the sending runes tx?

Query Balance:
PS D:\Projects\bitcoin\ord> ordtest wallet balance
 {   "cardinal": 46553843,   "ordinal": 20000,   "runes": {     "xxxxxxx": "1000000",     "MEME•OF•RUNES": "24",     "xxxxxxx": "381000000",     "xxxxxxx": "20000"   },   "runic": 1450000,   "total": 48023843 }
send runes:
PS D:\Projects\bitcoin\ord> ordtest wallet send --fee-rate 100 tb1pt0v7eye37l38e50lnywfu6atj2ec6dzteduqa4xasqnn6ndckcuqx83fsn 24:MEME•OF•RUNES
{   "txid": "07537f2643f790535e12a2211f78ec82e2cfef866b694ba6d653a2caecf592f9",   "psbt": "xxxx",   "outgoing": "24:MEME•OF•RUNES",   "fee": 27600 }
The payload in OP_RETURN:
0099ee9d0110e01202
Dechiper result:
{"edicts":[{"id":{"block":"2586393","tx":"16"},"amount":"2400","output":"2"}]}
Tx in mempool
This transaction only requires one postage, why are there two postage outputs in the transaction?

I have the same problem.
When you send runes, ord always creates 3 outputs: 1 for the op_return, one for the change runes, and one for the outgoing runes.
If you are sending all the runes from the input utxos, there is no need for a change output but it is created anyway.

There should be a check for the case where you are sending the whole runic balance of the input utxos, because in that case no change or op_return is required. We can just send the inputs to the output and rely on the fact that the lack of an edict makes all the input runes go to the first output.


Add ability to pass theme to storybook

I would like to use a custom theme I have for the app to make sure that fonts and colours match.
This simply allows passing theme through a storybook.

Can you please resolve conflicts?

@ookami-kb Done


libtorch jit forward error

Discussed in https://github.com/snakers4/silero-vad/discussions/154
Hi, I had encounted the same problem.
When I call the 'forward' function with one parameters (like this forward(inputs)), the code can be compiled correctly, but it can't run with the error 'what(): forward() is missing value for argument 'sr'.'.
However, When I call the 'forward' function with two parameters (like this forward(inputs,sr)), the code can't be compiled correctly with the error 'candidate expects 1 argument, 2 provided'.
I doubt that the jit model was not  exported correctly, please check it at your convenience. By the way, I can call the 'forward' function with one parameters (like this forward(inputs)) with the old jit model.
On the other hand, the function 'reset_states' of the jit model can't be used in C++ code, can you provide a name so we can use it like this 'model.get_method('name')()' or 'model.run_method('name')'

Hi,
Not sure that we will be opening old models, but we are planning a major update some time soon.
This may be a good time for debugging with libtorch as well.
Maybe this is an issue of libtorch itself, idk.

with the old jit model.

If remember correctly, the old jit models had a large chunk size, did not have an SR parameter, did not have internal state.

On the other hand, the function 'reset_states' of the jit model can't be used in C++ code, can you provide a name so we can use it like this 'model.get_method('name')()' or 'model.run_method('name')'

It is the case for all C++ models, only .forward() can be invoked, or is it a particular error with this model?

Em...,
Firstly I had used other jit models，.forward() can be invoked correctly , so most likely not the issue of libtorch itself, idk.
Secondly, If 'reset_states'  is able to be invoked in C++ code, 'reset_states'  need be defined in Python code follow the rules of  torch.jit.export https://pytorch.org/docs/stable/jit.html
For example:
the function ' right_context' is defined in line:549 of  the file
https://github.com/wenet-e2e/wenet/blob/main/wenet/transformer/asr_model.py
and the function can be invoked in the line:58 of the file https://github.com/wenet-e2e/wenet/blob/main/runtime/core/decoder/torch_asr_model.cc
So,the 'reset_states' should be defined like above.

Hi,
Not sure that we will be opening old models, but we are planning a major update some time soon. This may be a good time for debugging with libtorch as well. Maybe this is an issue of libtorch itself, idk.

with the old jit model.

If remember correctly, the old jit models had a large chunk size, did not have an SR parameter, did not have internal state.

On the other hand, the function 'reset_states' of the jit model can't be used in C++ code, can you provide a name so we can use it like this 'model.get_method('name')()' or 'model.run_method('name')'

It is the case for all C++ models, only .forward() can be invoked, or is it a particular error with this model?

Em...,
Firstly I had used other jit models，.forward() can be invoked correctly , so most likely not the issue of libtorch itself, idk.
Secondly, If 'reset_states' is able to be invoked in C++ code, 'reset_states' need be defined in Python code follow the rules of torch.jit.export https://pytorch.org/docs/stable/jit.html
For example:
the function ' right_context' is defined in line:549 of the file
https://github.com/wenet-e2e/wenet/blob/main/wenet/transformer/asr_model.py
and the function can be invoked in the line:58 of the file https://github.com/wenet-e2e/wenet/blob/main/runtime/core/decoder/torch_asr_model.cc
So,the 'reset_states' should be defined like above.

Firstly I had used other jit models，.forward() can be invoked correctly , so most likely not the issue of libtorch itself, idk.

With multiple input variables?

I will check it .

Firstly I had used other jit models，.forward() can be invoked correctly , so most likely not the issue of libtorch itself, idk.

With multiple input variables?
Hi,
Finally i solved the problem like this .
Code is here:
std::vector<torch::jit::IValue> inputs;
inputs.push_back(torch::from_blob(buffer,{chunk_size},torch::kFloat32));
int sr = 16000;
inputs.push_back(sr);
at::Tensor output = module.forward(inputs).toTensor();


Issue with /docs/getting-started-guides/centos/centos_manual_config/

This is a...

[ ] Feature Request
[x ] Bug Report

Problem:
In bullet item "Configure kubectl"
Proposed Solution:
Are these configuration actions to be take on the master only or also on the Minions?
Page to Update:
http://kubernetes.io/...

Not sure, need tech clarification

@johnappliedbb you can apply Configure kubectl section if you're planning to use kubectl on all your minions. Ideally I think you should be installing kubectl only on the machine that you will manage your kubernetes cluster from.
I see the tutorial creates are centos-master host entry in /etc/hosts, so wherever that host entry is present (looks like it's added to all machines in the cluster) you can set up kubectl there. But if you're not going to use kubectl on all nodes (and you shouldn't), no need to install it everywhere.
If this explanation helped you understand, I appreciate if you contribute a patch to the tutorial to make it clearer for the next person. :)


Suggestion: Rename and rearrange top row of buttons to make use clearer

There has been a significant increase in people thinking that Enemy Config has been removed and that Multi-Target means against multiple enemies. While this is them fundementally missunderstanding - we haven't made it super clear in the UI.
I suggest renaming "Detailed Stats" to "Additional Stats & Enemy Config" to make it clear that the enemy info has also been moved here.
And renaming "Custom Multi-Target Config" to "Multi-Optimization Target Config" to make it clear that its for multiple optimization targets, not enemy targets.
Also on a personal gripe level it feels weird that "Formulas & Calcs" is the last button. I'd move it to the middle button.

I agree with the string changes. I'm still not sure if it communicates to the user that is where you can go to add Bonus Stats but I don't have a suggestion to fix that.
Shouldn't the two config buttons stay grouped together? Feels odd to have it go config > formulas/info > config

Maybe "Bonus Stats & Enemy Level" instead? But "Additional" seems ok in my mind.
My thinking is that "Stats and Enemy" is the foundation you place down to configure the "base" state of the character.
Once you've done that the Forumlas will reflect this state.
Then you chose which target to Optimize.
That's why the flow should be Stats -> Formulas -> Target in my head.

To me it feels less of a "flow" and more a grouping of functionality types

Would also be worth considering adding an indicator to the detailed stats button to indicate that it has been modified


xcode不能自动补全提示

xcode不能自动补全提示

我也有这样的问题

有解决办法吗

Are you using Xcode 10? It seems that Xcode 10 cannot autocomplete with Then. This bug is fixed in Xcode 11 so can you try with Xcode 11? Thanks.

好的，感谢您的回复------------------ 原始邮件 ------------------
发件人: "Jeon<EMAIL_ADDRESS>发送时间: 2019年9月7日(星期六) 晚上8:42
收件人<EMAIL_ADDRESS>抄送: "haoXu1990"286089659<EMAIL_ADDRESS>主题: Re: [devxoul/Then] xcode不能自动补全提示 (#71)
Are you using Xcode 10? It seems that Xcode 10 cannot autocomplete with Then. This bug is fixed in Xcode 11 so can you try with Xcode 11? Thanks.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

It's fixed in Xcode 11.


MPSolver callback misordered

What version of OR-Tools and what language are you using?
Version: 9.6.2534
Language: C++
Which solver are you using (e.g. CP-SAT, Routing Solver, GLOP, BOP, Gurobi)
SCIP
What operating system (Linux, Windows, ...) and version?
Windows 10
What did you do?
(https://stackoverflow.com/questions/76784439/mpsolver-callback-misordered)
I'm not sure whose fault, ortools or SCIP

Tested on raw SCIP and order is correct so it's like or's fault

So from what I understand, the order from scip is valid for Boolean variables, and scrambled for integer variables.

oops miss this one, yes MPCallback are broken since internal variables are "sorted", this issue is fixed with Math_opt which take care of the mapping....

Closing this known bug since it won't be possible to fix it without rewriting a large part of linear solver... which is the only
purpose of math_opt.
i.e. If facing this problem, please migrate to math_opt.


Installing Ruby 3.2.2 on FreeBSD fails due to missing libyaml even when it is installed

Steps to reproduce the behavior
When trying to install Ruby 3.2.2 on FreeBSD then it fails by complaining that libyaml is missing even though it is installed. Passing --with-libyaml-dir fixes it. Similar problem with libffi.
More discussion and problem description available at https://github.com/rbenv/ruby-build/discussions/2168#discussioncomment-5563978
Expected vs. actual behavior
Ruby 3.2.2 should be installed successfully when libyaml and libffi are installed.

Do you know why FreeBSD refuse to add /usr/local for searching headers and libraries paths?

@hsbt not sure, but I do know that building older versions of Ruby (3.2.1 for example and 2.7.x) work fine without any RUBY_CONFIGURE_OPTS changes.
I don't know almost anything about ruby-build internals, but it's also hard to believe that these are only system dependencies, which are required to build Ruby. Or are libyaml and libffi something new to the Ruby 3.2.2 and it was working somehow differently before?

There is no change between Ruby 3.2.1 and 3.2.2 related libyaml.

@jarmo Does the same problem happen if you try to manually download and extract the Ruby 3.2.2 tarball, cd into it, and run ./configure --prefix /tmp/ruby3.2.2 --disable-install-doc followed by make and make install there?

@mislav configure and make are successful, but make install fails:
...
linking static-library libruby-static.a
merging yjit/target/release/libyjit.a into libruby-static.a
linking ruby
*** Following extensions are not compiled:
fiddle:
        Could not be configured. It will not be installed.
        /root/ruby-3.2.2/ext/fiddle/extconf.rb:73: missing libffi. Please install libffi or use --with-libffi-source-dir with libffi source location.
        Check ext/fiddle/mkmf.log for more details.
psych:
        Could not be configured. It will not be installed.
        Check ext/psych/mkmf.log for more details.
readline:
        Could not be configured. It will not be installed.
        /root/ruby-3.2.2/ext/readline/extconf.rb:62: Neither readline nor libedit was found
        Check ext/readline/mkmf.log for more details.
*** Fix the problems, then remove these directories and try again if you want.
making enc
`enc' is up to date.
making trans
`trans' is up to date.
making encs
./miniruby -I./lib -I. -I.ext/common  ./tool/runruby.rb --extout=.ext  -- --disable-gems -r./x86_64-freebsd13.1-fake ./tool/rbinstall.rb --make="make" --dest-dir=""  --extout=".ext"  --ext-build-dir="./ext"  --mflags=" "  --make-flags=" "  --data-mode=0644  --prog-mode=0755  --installed-list .installed.list  --mantype="doc"   --install=all --exclude=doc
installing binary commands:         /tmp/ruby3.2.2/bin
installing base libraries:          /tmp/ruby3.2.2/lib
installing arch files:              /tmp/ruby3.2.2/lib/ruby/3.2.0/x86_64-freebsd13.1
installing pkgconfig data:          /tmp/ruby3.2.2/lib/pkgconfig
installing extension objects:       /tmp/ruby3.2.2/lib/ruby/3.2.0/x86_64-freebsd13.1
installing extension objects:       /tmp/ruby3.2.2/lib/ruby/site_ruby/3.2.0/x86_64-freebsd13.1
installing extension objects:       /tmp/ruby3.2.2/lib/ruby/vendor_ruby/3.2.0/x86_64-freebsd13.1
installing extension headers:       /tmp/ruby3.2.2/include/ruby-3.2.0/x86_64-freebsd13.1
installing extension scripts:       /tmp/ruby3.2.2/lib/ruby/3.2.0
installing extension scripts:       /tmp/ruby3.2.2/lib/ruby/site_ruby/3.2.0
installing extension scripts:       /tmp/ruby3.2.2/lib/ruby/vendor_ruby/3.2.0
installing extension headers:       /tmp/ruby3.2.2/include/ruby-3.2.0/ruby
installing command scripts:         /tmp/ruby3.2.2/bin
installing library scripts:         /tmp/ruby3.2.2/lib/ruby/3.2.0
installing common headers:          /tmp/ruby3.2.2/include/ruby-3.2.0
installing manpages:                /tmp/ruby3.2.2/share/man/man1
installing default gems from lib:   /tmp/ruby3.2.2/lib/ruby/gems/3.2.0
                                    abbrev 0.1.1
                                    base64 0.1.1
                                    benchmark 0.2.1
                                    bundler 2.4.10
<internal:/root/ruby-3.2.2/lib/rubygems/core_ext/kernel_require.rb>:85:in `require': cannot load such file -- psych (LoadError)
        from <internal:/root/ruby-3.2.2/lib/rubygems/core_ext/kernel_require.rb>:85:in `require'
        from /root/ruby-3.2.2/lib/rubygems.rb:608:in `load_yaml'
        from /root/ruby-3.2.2/lib/rubygems/config_file.rb:346:in `load_file'
        from /root/ruby-3.2.2/lib/rubygems/config_file.rb:189:in `initialize'
        from /root/ruby-3.2.2/lib/rubygems.rb:329:in `new'
        from /root/ruby-3.2.2/lib/rubygems.rb:329:in `configuration'
        from /root/ruby-3.2.2/lib/rubygems/user_interaction.rb:167:in `verbose'
        from /root/ruby-3.2.2/lib/rubygems/installer.rb:544:in `generate_bin_script'
        from ./tool/rbinstall.rb:891:in `generate_bin_script'
        from ./tool/rbinstall.rb:855:in `generate_bin_script'
        from /root/ruby-3.2.2/lib/rubygems/installer.rb:506:in `block in generate_bin'
        from /root/ruby-3.2.2/lib/rubygems/installer.rb:490:in `each'
        from /root/ruby-3.2.2/lib/rubygems/installer.rb:490:in `generate_bin'
        from /root/ruby-3.2.2/lib/rubygems/installer.rb:331:in `install'
        from ./tool/rbinstall.rb:881:in `block in install'
        from ./tool/rbinstall.rb:721:in `no_write'
        from ./tool/rbinstall.rb:881:in `install'
        from ./tool/rbinstall.rb:989:in `block in install_default_gem'
        from ./tool/rbinstall.rb:976:in `each'
        from ./tool/rbinstall.rb:976:in `install_default_gem'
        from ./tool/rbinstall.rb:913:in `block in <main>'
        from ./tool/rbinstall.rb:1080:in `block in <main>'
        from ./tool/rbinstall.rb:1077:in `each'
        from ./tool/rbinstall.rb:1077:in `<main>'
*** Error code 1

Stop.
make: stopped in /root/ruby-3.2.2

As is shown then fiddle, psych and readline fail to be compiled. Looking into ext/psych/mkmf.log it is visible, that yaml.h is not found:
package configuration for yaml-0.1 is not found
find_header: checking for yaml.h... -------------------- no

LD_LIBRARY_PATH=.:../.. "clang -o conftest -I../../.ext/include/x86_64-freebsd13.1 -I../.././include -I../.././ext/psych    -fdeclspec -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wundef conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic     -Wl,-rpath,/tmp/ruby3.2.2/lib -L/tmp/ruby3.2.2/lib -lruby-static -lexecinfo -lprocstat -lz -lrt -lrt -ldl -lcrypt -lm -lthr   -lm -lthr  -lc"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: int main(int argc, char **argv)
4: {
5:   return !!argv[argc];
6: }
/* end */

LD_LIBRARY_PATH=.:../.. "clang -I../../.ext/include/x86_64-freebsd13.1 -I../.././include -I../.././ext/psych    -fdeclspec -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wundef   -c conftest.c"
conftest.c:3:10: fatal error: 'yaml.h' file not found
#include <yaml.h>
         ^~~~~~~~
1 error generated.
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <yaml.h>
/* end */
--------------------

Of course libffi is installed:
# pkg info libffi
libffi-3.4.4
Name           : libffi
Version        : 3.4.4
Installed on   : Sun Apr  9 22:46:08 2023 EEST
Origin         : devel/libffi
Architecture   : FreeBSD:13:amd64
Prefix         : /usr/local
Categories     : devel

And readline:
# pkg info readline
readline-8.2.0
Name           : readline
Version        : 8.2.0
Installed on   : Sun Apr  9 21:47:31 2023 EEST
Origin         : devel/readline
Architecture   : FreeBSD:13:amd64
Prefix         : /usr/local
Categories     : devel

And libyaml:
# pkg info libyaml
libyaml-0.2.5
Name           : libyaml
Version        : 0.2.5
Installed on   : Sun Apr  9 22:45:06 2023 EEST
Origin         : textproc/libyaml
Architecture   : FreeBSD:13:amd64
Prefix         : /usr/local
Categories     : textproc

I tried same commands with Ruby 3.2.1 and failed exactly the same. Same results with 3.2.0.
So I tried same commands with 3.1.2 and everything worked. I see that I've mentioned above Ruby 3.2.1, but I start to suspect that it was 3.1.2 all the time instead. Sorry for the confusion.

Ruby 3.1.4 compiles too without any errors so it seems to be the 3.x versions, which fail.

@jarmo Thanks for the info! It sounds like a regression in the build system for Ruby 3.2 on FreeBSD.
Does something like this work? If so, we could consider adding these defaults to ruby-build until this is fixed in Ruby upstream:
./configure --prefix /tmp/ruby-3.2.1 --with-libyaml-dir=/usr/local --with-libffi-dir=/usr/local --with-readline-dir=/usr/local

Or, alternatively, maybe amending LDFLAGS & CPPFLAGS would help?
export LDFLAGS=-L/usr/local/lib
export CPPFLAGS=-I/usr/local/include
./configure --prefix /tmp/ruby-3.2.1
make && make install

@mislav thank you for hinting to that PR
I create a PR based on that information, which fixes building/installing Ruby 3.2.x on FreeBSD https://github.com/rbenv/ruby-build/pull/2187

@mislav I guess this can be closed now or does it need to be kept open until new version of ruby-build has been released somehow?

Fixed in https://github.com/rbenv/ruby-build/commit/b80e686b6ee6a29bd7b391f4c54ddce3bd437de4


add info about custom latency buckets

Thank you for helping make the Dapr documentation better!
Please follow this checklist before submitting:

[x] Commits are signed with Developer Certificate of Origin (DCO - learn more)
[ ] Read the contribution guide
[ ] Commands include options for Linux, MacOS, and Windows within codetabs
[ ] New file and folder names are globally unique
[ ] Page references use shortcodes instead of markdown or URL links
[ ] Images use HTML style and have alternative text
[ ] Places where multiple code/command options are given have codetabs

In addition, please fill out the following to help reviewers understand this pull request:
Description
Information about new customization of latency buckets.
Depends on https://github.com/dapr/dapr/pull/7843
Issue reference
https://github.com/dapr/dapr/issues/7641

@alicejgibbons

@filintod - Taking a look today


logger dublication

When basicConfig() from logging (python 2.7.11) is used, tensorflow duplicates output of logger (load logger twice).
Example code and output:
from logging import basicConfig
import tensorflow as tf
from tensorflow.contrib.learn import Estimator

basicConfig()
tf.logging.set_verbosity(tf.logging.INFO)

def cnn_model_fn(features,labels,mode):
    pass

if __name__ == '__main__':
    classifier = Estimator(
        model_fn=cnn_model_fn)

output:
WARNING:tensorflow:Using temporary folder as model directory: /var/folders/qn/z_b3zdss1g730kn_mlrwcwnc0000gn/T/tmpEdygBY
WARNING:tensorflow:Using temporary folder as model directory: /var/folders/qn/z_b3zdss1g730kn_mlrwcwnc0000gn/T/tmpEdygBY
INFO:tensorflow:Using default config.
INFO:tensorflow:Using default config.

I believe this is working-as-intended.
Here's the python documentation for logging.basicConfig
https://docs.python.org/2/library/logging.html#logging.basicConfig

Does basic configuration for the logging system by creating a StreamHandler with a default Formatter and adding it to the root logger.

By calling logging.basicConfig, you're adding a StreamHandler to the root logger in python.  Note that tf.logging adds its own StreamHandler to its logger.  So now each log line will be sent to two streams, causing the duplication.
For reference, here's the code for tf.logging
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/platform/tf_logging.py
I'm closing this out.  If you feel I'm mistaken, respond to this issue and I'll re-open.


ERROR: Unable to extract uploader id

Regardless of the video I try and download i get the "Unable to extract uploader id" error

#30839 !


Solution: Cannot read properties of undefined (reading 'split')

Users on older versions of Copilot Chat see an increased number of chat messages failing with Cannot read properties of undefined (reading 'split'). If your error traces show github.copilot-chat-0.11.1 you are NOT on the latest version.
⚠ Both VS Code and the extension need to be updated, as the latest release of Copilot Chat requires the latest release of VS Code.
Double-check you have VS Code 1.86 and Copilot Chat 0.12 and there are no blue notification dots for Restart to update!
Update your VS Code (Command: Check for Updates...) + Copilot Chat extension (Command: Extensions: Update All Extensions). Close and re-open VS Code just to make sure, as this applies any pending updates.
Common update blockers:

Auto-updates disabled: Check settings extensions.autoCheckUpdates and update.mode
Running VS Code as administrator will prevent updates: Don't run as administrator.
Running it directly from macOS' Downloads folder (read-only): Drag the VS Code app to Applications folder.
Legacy version with updates disabled on enterprise managed machine: Re-install if you have the rights or check with IT.

If you can't update, please share what blocks you from updating here so we can better understand and improve this process in the future.

Reload fixed mine, not sure why VSCode didn't let me know.

Reload fixed mine, not sure why VSCode didn't let me know.

Exact the same. I suggest adding some way to let the user know they have to update the extension, like using a vscode notification

Same issue

Reload and relogin does not fix this for me

Reload and relogin does not fix this for me

Sorry, my bad, it works after plugin update

I am on VS code insiders and copilot pre release , still getting this error again and again

I didn't reload vscode, but it works when I open a new  copilot chat session.

Just use the "+" button to open a new window to fix this issue, I'm guessing this is due to old chat format not working with the new code.

Duplicate of https://github.com/microsoft/vscode-copilot-release/issues/796#issuecomment-1925413610


feat: Add header name suggestions

This implements a header name suggestion dropdown with downshift. (see https://github.com/zuplo/mockbin/pull/28#issuecomment-1894221290, thanks @AdrianMachado)
https://github.com/zuplo/mockbin/assets/571589/056c551b-4ffc-40d4-81ec-811636f632a3

Looks awesome - won't have a chance to review until next week however!


Alternative bytecode_pattern approach

So I was thinking to split how to store redeem script, how about split it to 3 fields:

redeem script pattern, computed by replacing each sequence of pushes with number of pushes, encoded as script number push
sequence of push sizes: just the sequence of push sizes encoded as script number pushes
sequence of pushes: just the pushes

One can then use _eq operator on the most general pattern, which should be better performance than regex, it would then be further narrowed down by using regex on push sizes or pushes, but those would be executed only on positive matches for the general template.
Also, the redeem script can be accurately reconstructed from this.
Could even do some more parsing and have a function to filter for the exact value of Nth push or something.

I made a little tool to experiment with this, using these modes:

STRIP_PUSHES - replace each succesive sequence of pushes with number of pushes, encoded as a script number
STRIP_PUSH_DATA - replace each push with payload size, encoded as a script number
EXTRACT_PUSHES - ignore all executable bytes, extract full pushes

Example of patternizing AnyHedge input script:
STRIP_PUSHES:    56; len=1
STRIP_PUSH_DATA:<PHONE_NUMBER>6051025401; len=10
EXTRACT_PUSHES:  40da2963cc172e7dccf9570ebd272c496d9df459f1b4d07f1961515642054db764f25c4aab947a4dbcf7793ca25bcc5a46faa83d93e7aeaa2e23a95376e386902d10020aa262ab330100863301002b45000040c0df593545220c40b8676d56388b58715b27cc0fc5de3640dfd49aa05d00e3efc5597b9d8dd783f055b0579630157599290d547e9e3c160d2170d2c300177a72103e0aa262ac3301008733010026450000514d5401043e0aa262041209a26203eab30202e53303bc6d390500743ba40b2102d3c1de9d4bc77d6c3608cbe44d10138c7488e592dc2b1e10a6cf0e92c2ecb0471976a91415d54e1b90d806548f34263afe71695a8a19716388ac1976a914ec4bebcc7842bdc802880e8692d83e9ec41b95d688ac51210374059eb4b0edb9052779a1ef93c76d1715473a9f3d6634135a3c03b82561a015210396dc6749e3bde2c230fb10bb66a444d83318521c449181a6be57123c1257a6575c79009c637b695c7a7cad5b7a7cad6d6d6d6d6d51675c7a519dc3519d5f7a5f795779bb5d7a5d79577abb5c79587f77547f75817600a0695c79587f77547f75818c9d5c7a547f75815b799f695b795c7f77817600a0695979a35879a45c7a547f7581765c7aa2695b7aa2785a7a8b5b7aa5919b6902220276587a537a96a47c577a527994a4c4529d00cc7b9d00cd557a8851cc9d51cd547a8777777768; len=508

Entering the redeem script, we get:
BYTECODE:        043e0aa262041209a26203eab30202e53303bc6d390500743ba40b2102d3c1de9d4bc77d6c3608cbe44d10138c7488e592dc2b1e10a6cf0e92c2ecb0471976a91415d54e1b90d806548f34263afe71695a8a19716388ac1976a914ec4bebcc7842bdc802880e8692d83e9ec41b95d688ac51210374059eb4b0edb9052779a1ef93c76d1715473a9f3d6634135a3c03b82561a015210396dc6749e3bde2c230fb10bb66a444d83318521c449181a6be57123c1257a6575c79009c637b695c7a7cad5b7a7cad6d6d6d6d6d51675c7a519dc3519d5f7a5f795779bb5d7a5d79577abb5c79587f77547f75817600a0695c79587f77547f75818c9d5c7a547f75815b799f695b795c7f77817600a0695979a35879a45c7a547f7581765c7aa2695b7aa2785a7a8b5b7aa5919b6902220276587a537a96a47c577a527994a4c4529d00cc7b9d00cd557a8851cc9d51cd547a8777777768; len=340
STRIP_PUSHES:    5d79519c637b69517a7cad517a7cad6d6d6d6d6d5167517a519dc3519d517a51795179bb517a5179517abb5179517f77517f75817651a0695179517f77517f75818c9d517a517f758151799f695179517f77817651a0695179a35179a4517a517f758176517aa269517aa278517a8b517aa5919b695176517a517a96a47c517a517994a4c4519d51cc7b9d51cd517a8851cc9d51cd517a8777777768; len=156
STRIP_PUSH_DATA:<PHONE_NUMBER>5501210119011951012101215179519c637b69517a7cad517a7cad6d6d6d6d6d5167517a519dc3519d517a51795179bb517a5179517abb5179517f77517f75817651a0695179517f77517f75818c9d517a517f758151799f695179517f77817651a0695179a35179a4517a517f758176517aa269517aa278517a8b517aa5919b695276517a517a96a47c517a517994a4c4519d51cc7b9d51cd517a8851cc9d51cd517a8777777768; len=173
EXTRACT_PUSHES:  043e0aa262041209a26203eab30202e53303bc6d390500743ba40b2102d3c1de9d4bc77d6c3608cbe44d10138c7488e592dc2b1e10a6cf0e92c2ecb0471976a91415d54e1b90d806548f34263afe71695a8a19716388ac1976a914ec4bebcc7842bdc802880e8692d83e9ec41b95d688ac51210374059eb4b0edb9052779a1ef93c76d1715473a9f3d6634135a3c03b82561a015210396dc6749e3bde2c230fb10bb66a444d83318521c449181a6be57123c1257a6575c005c5b515c51515f5f575d5d575c5854005c58545c545b5b5c0059585c545c5b5a5b0222025853575252000055515154; len=231

To better illustrate, here's an index (pattern, input_count) of contract fingerprints (STRIP_PUSHES mode) from blocks 0-780,000:
https://gist.github.com/A60AB5450353F40E/6b3e525d6e1220328217b9568968d6fc

Wrote a little paper about this: https://gitlab.com/0353F40E/smart-contract-fingerprinting
and working on extending BCHN RPC with it: https://gitlab.com/0353F40E/bitcoin-cash-node/-/commits/bcpattern
If we could get this merged to BCHN then you won't have to calculate it with SQL anymore, can just read the relevant fields from node RPC


BLD: use OpenBLAS v0.3.28 with fewer kernels, fix OpenBLAS licences

Update to the newly released OpenBLAS 0.3.28. Note this uses the "shrunk" x86_64 and i686 OpenBLAS shared object with fewer kernels. The full shared object is available in the scipy-openblas <IP_ADDRESS>.0 wheels.
For the OpenBLAS changelog see https://github.com/OpenMathLib/OpenBLAS/blob/develop/Changelog.txt. This PR also fixes up the bundled licenses:

fix the File: to the correct name
remove mention of quadmath from windows, it is no longer linked in, and the lack of linking is verified in the scipy-openblas wheel build via checking the linker map.

The wheels aren't actually smaller, see https://github.com/MacPython/openblas-libs/issues/180. Marking this as draft until smaller wheels are available.

I checked that a local wheel build (macOS M3) did not want to bundle libquadmath.

the macos scipy_openblas32 aarch64 wheel does not contain a libquadmath.
the linux scipy_openblas32 x86_64 wheel does contain a libquadmath.
the linux scipy_openblas32 aarch64 wheel does not contain a libquadmath.

I didn't check other wheels.
I think it might be safest to make wheels for this and check that they don't contain libquadmath

Strange. It seems none of the aarch64 scipy-openblas wheels bundle quadmath. I wonder if this is because they are compiled inside a qemu docker, or if gfortran on aarch64 does not make quad math available.

@andyfaff good catch!

Also, AFIACT, macos arm64 does not bundle openblas. It does bundle libgcc_s, libgfortran and libquadmath.

Also, AFIACT, macos arm64 does not bundle openblas. It does bundle libgcc_s, libgfortran and libquadmath.

Do you mean the scipy_openblas32 wheel, or the scipy wheel? When I built a scipy wheel against scipy_openblas32 none of the dylibs depended on libquadmath.

Perhaps we should add a post wheel test, to check that there's no libquadmath in scipy.libs.

Do you mean the scipy_openblas32 wheel, or the scipy wheel?

The scipy-1.14.0-*-macosx_14_0_arm64.whl wheel, like this one, which has shared objects in scipy/.dylibs.

Perhaps we should add a post wheel test, to check that there's no libquadmath in scipy.libs.

Only on windows do we statically link without libquadmath, otherwise it is dynamically linked and "whatever OpenBLAS and f2py needs". I think the easiest way forward is to add a conditional to the LICENCE*.txt files in tools, with may contain.

I updated the version of scipy-openblas32 to use the smaller wheels, and added a qualifier to the bundled license text. Another option would be to use separate license fragments for linux x86_64/aarch64 and macos x86_64/arm64, so there would be 5 fragments.

I think it's fine by me. I was mainly concerned that we have the licences correct.
On the whole I wish that we didn't have to bundle libquadmath though.

On the whole I wish that we didn't have to bundle libquadmath though.

I'm not sure we can get rid of it on Linux and macOS as well with the same approach as Matti took for OpenBLAS. We may though, since it's the same problem of a single symbol being pulled in by gfortran. @mattip does that sound right to you?

I agree it would be nice to do. I am trying some experiments, let's see what happens.


AB#862 Added canvas package to fix the upgrade issue to node 14 or 16

Describe pull-request
Describe what the pull-request is about
Added canvas package to fix the upgrade issue to node 14 or 16
Upgarded the nod-sass package to version 6.
Solving issue
Add which issue this pull-request solves by adding # plus the number of the issue (for example #123)
Fixes: #155
How to test
Add description how to test if possible

Go to...
Check in...
Run ...

Screenshots
If applicable, add screenshots to help explain
Additional context
Add any other context about the pull-request here.

I tried a clean project on node v16

git clone
Npm i
npm run build

During the NPM build the initfavicon crashes
this is on mac, wonder if Windows have the same problem with a clean clone from scratch?

I have tried on a clean clone and got the same issue as well.
I have upgraded the favicons to version 6 and it works.
So @mmexvr, Could you try the steps again on mac?

Looks good!


Feature/statsd integration

#228 implementation pull request

will close #228 when it merges

Also bumps versions of deps to latest and ensures everything is still working nicely


[PowerToys Run] Add everything plugin, port it to .NET Core 3.0

Summary of the Pull Request
As referenced in #3278, #4318, #1791, and some duplicates, there is a want to restore the Everything integration to PowerToys Run
My main reasoning for wanting Everything is a little different, the Windows search API could be faster but is 'OK'.  As these tools are meant for power users, my issue with the windows search in PT Run is that there's some places it just won't go.  (e.g. System32, other system folders...)
Having Everything to scan the MFT as a fallback is a must, if you truely want to find 'everything' :).

References
#3278, #4318, #1791, #3303

PR Checklist

[x] Applies to #3278
[x] CLA signed. If not, go over here and sign the CLA
[x] Tests added/passed - ran as many as possible
[ ] Requires documentation to be updated
[x] I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #3278

Detailed Description of the Pull Request / Additional comments

Ported the Everything plugin to .NET Core 3.0 and integrated it with PowerToys Run
Made the Context menu consistent with the Folder plugin

Validation Steps Performed
Ran the dev and release versions locally. Seems to function well enough. Not surprisingly, as it's ported straight from jjw24/Wox and that has been running on my system for ages (and this implementation is still basically Wox).
No conflicts with Microsoft.Plugin.Folder that I could see (oddly enough, I expected duplicated results and such...?).
The fastest result seems to win. Probably someone in the team who knows it off the top of their head could clarify why the search results don't clash, because I couldn't be bothered to check. Why look a gift horse in the mouth, right?
In my fooling around, it seems that Everything nicely fills in the gaps of non-indexed (or not yet indexed) files and locations.
To-Do

[ ] Could probably use a cleanup. The images folder is entirely useless now, as we use glyphs
[ ] I'll see if I can't get translations working.

This is a feature we're not ready to implement, the plugin system / settings needs to be better refined.
Install experiences for both plugin and everything need to be discussed.  This is why we ask for things to be discussed prior to implementation

No problemo, I didn't expect it to be merged, hence the draft.
I mostly did it for fun, and to have it available to me as I much prefer PowerToy's run aesthetic but don't want to wait. Just thought I'd leave it here in case it would be useful to you or someone who's impatient like me.
Should've maybe added that to the PR :)

Would you like to help shake the cage on the plugin model?
To me:

Settings needs ability to turn on / off plugins
Settings needs to be able to 'install' plugins
settings needs to be able to remove plugins
A plugin must be self-contained
PT Run must be resilient on plugin failure

Absolutely agree on all of those. Turning on/of plugins seems espically nice. Don't like Folder? Turn on Everything/.../x for file searching.
Additionally, to me: a plugin's actions should be consistent with 'core' plugins, such as Folder.
E.g. for common actions, like 'Open in Explorer' make sure they always have the same behavior; look & feel, shortcuts, glyhps. This is probably something the Wox.Plugin (or Microsoft.Plugin...) library could provide.

We're based off Wox but the issue is we want to be compatible with their plugin model but there are tweaks we want to do.
Agree on base set of contextual actions.
Settings for the plugin is a totally different set of issues :) That could be done a few ways, json schema and settings then render it.
I think we should open up a new issue and discuss.  I know @jjw24 was interested in having a unified model between the wox based systems

Would you like to help shake the cage on the plugin model?
To me:

Settings needs ability to turn on / off plugins
Settings needs to be able to 'install' plugins
settings needs to be able to remove plugins
A plugin must be self-contained
PT Run must be resilient on plugin failure

On additional thought:

Built-in plugins should not be removal. On this plugins we should only allow enable/disable actions.

Our goal with PowerToys Run was to build a quick way people can launch apps and files.  In doing so, our interface is a plug-in based one to enable all the core scenarios we needed to meet this need. When the plugin system is ready for 3rd party plugins, this will anyone to build against the APIs for their feature.  This work includes a robust settings UI that would allow someone to not load a plugin as well as set an action key.
The first main step of that is https://github.com/microsoft/PowerToys/issues/5273.
We’re going to decline this PR as we do need additional work to enable this for everyone to have a great experience.


Improve Documentation: use CMSIS solution project files consistently instead of user input file or just project files.

Describe the bug
There is an inconsistency in the documentation as the project files are called user input files, project files and are therefore unspecific.
Proposal
use CMSIS solution project files, short form csolution project consistently.

Fixed in https://github.com/Open-CMSIS-Pack/cmsis-toolbox/commit/5ec3e56baed8e5e0b67c134d5deba1ad0b020289


Allow sha+ to be used as a library

Thanks, @gottreu! Great change, I didn't know the relative directory was preventing wider use.


Karma configuration - Use PhantomJS by default

When we execute for the very first time, Karma is configured to use the Chrome driver. But if the user to not have the right binaries, he will receive an error.
Could you configure Karma to use by default PhantomJS ?

In the past ng-material tried to use PhantomJS for test running and have had nothing but problems with it, especially with the current incomplete state of v2.

How did not know about that.

As Jeremy said, there are many problems with Phantom. Closing this; you can install PhantomJS yourself if you want to go down that route.

@hansl is this currently possible with changing karma.conf and without touching angular-cli stuff? We have the same problem that our VSTS Hosted Build agent doesn't have chrome installed we need an alternative to run ng test

@elvirdolic Did you managed to find an alternative?

Yes we are using phantom instead of chrome launcher. You can change it easily in karma.conf


Add configured retain flag to single value sensors

This will fix https://github.com/LAB02-Research/HASS.Agent/issues/239.
I've had this version of HASS.Agent.Shared run locally for a few months now without issue.  I'm no longer seeing issues w/ sensors becoming Unavailable after an HA restart.

Awesome, thank you @oxtn! I've planned a new HASS.Agent release for June, I'll test and release this then. ❤


Update the devguide

Problem Statement
Reflect recent changes I made and fix a minor problem on the devguide.
Related Issue
N/A
Proposed Changes
Update the doc.
Checklist

[x] I have read the contribution guidelines
[x] All commits are signed with git commit --signoff
[x] My changes have reasonable test coverage
[x] All tests pass with make test
[x] I ensured my PR is ready for review with make reviewable

/approve


failed to start browser in docker

I 've installed the docker image. But if I start the image i can see in the logs that there is a problem to start the browser.
What i doing wrong?

><EMAIL_ADDRESS>start

> node index.js

Starting browser...

/app/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:214

            reject(new Errors_js_1.TimeoutError(`Timed out after ${timeout} ms while trying to connect to the browser! Only Chrome at revision r${preferredRevision} is guaranteed to work.`));

                   ^

TimeoutError: Timed out after 30000 ms while trying to connect to the browser! Only Chrome at revision r901912 is guaranteed to work.

    at Timeout.onTimeout (/app/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:214:20)

    at listOnTimeout (node:internal/timers:559:17)

    at processTimers (node:internal/timers:502:7)

npm notice

npm notice New major version of npm available! 8.19.4 -> 10.2.5

npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.2.5>

npm notice Run `npm install -g<EMAIL_ADDRESS>to update!

npm notice

You may take a look at your base url. Mine defaulted to https:// and when I changed it to http:// it worked.
Keep in mind I am using the Addon so it may not work but my log looked similar.

Thanks for your hint. It was set at http:// the whole time. so this wasn't the problem.
Here is my portainer stack config:
version: "3.8"

services:
  app:
    image: sibbl/hass-lovelace-kindle-screensaver:1.0.5
    environment:
      - HA_BASE_URL=http://<IP_ADDRESS>:8123
      - HA_SCREENSHOT_URL=/handy-dashboard/home
      - HA_ACCESS_TOKEN=eyJhM0TyTV3YKwrIfmZD.........removed................removed......
      - CRON_JOB=* * * * *
      - RENDERING_TIMEOUT=120000
      - RENDERING_DELAY=0
      - RENDERING_SCREEN_HEIGHT=800
      - RENDERING_SCREEN_WIDTH=600
      - GRAYSCALE_DEPTH=8
      - OUTPUT_PATH=/output/cover.png
      - LANGUAGE=en
      - ROTATION=0
      - SCALING=1
      - BROWSER_LAUNCH_TIMEOUT=120000
    ports:
      - 5555:5000
    volumes:
      - /volume1/docker/kindle:/output

Which device is your docker container running on? Although the timeouts of 120s look large enough, there might be some incompatibility of the image / browser / device combination which we don't know about yet.

Hello sibbl,
I have a Synology DS223j. For me it is the first experience with docker. I 've installed portainter and I 'm using paperless with this device and docker. I was thinking, that docker has no incompatibilities or dependencies with hardware or images. thats why I haven't installed some other things. Can I check something else?

Could you please check the CPU/RAM usage when starting the container?
I can only confirm that it's working with a Synology which has an Intel CPU. Your Synology seems to have a Realtek ARMv8 CPU, which I have no experiences with. Ideally it should work out of the box with the ARMv8 build - which we basically support.
I have the feeling that the machine is not able to handle it properly and starting a browser is too much work load - which in the end results in the timeout being reached, unfortunately.
You should see this in the CPU/RAM usages. If so, you could check whether you might be able to stop other services and give it another try. If not, we might be able to check what else could be the reason.

Hi Sibbl,
today, for the first time, i 've started the stack an it began to create images. it creates some picture. But there are some issues. For my case its okay, if there are pictures each 15 minutes. so its okay for me.
for the CPU usage, its not more than 10 %, but the system seems slow.

I get this occasionally when starting the container, not sure why but the browser doesn't start. This is on a raspberry pi running hassos.
If I stop/start the addon a couple of times it will start, so it looks like something is causing the browser not to load with the same error:
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
[14:15:05] INFO: Loading config...
[14:15:12] INFO: Loading additional environment variables...
[14:15:13] INFO: Using HA_BASE_URL: http://192.168.X.X:8123
[14:15:13] INFO: Starting server...

><EMAIL_ADDRESS>start
> node index.js

Starting browser...
/app/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:214
            reject(new Errors_js_1.TimeoutError(`Timed out after ${timeout} ms while trying to connect to the browser! Only Chrome at revision r${preferredRevision} is guaranteed to work.`));
                   ^

TimeoutError: Timed out after 30000 ms while trying to connect to the browser! Only Chrome at revision r901912 is guaranteed to work.
    at Timeout.onTimeout (/app/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:214:20)
    at listOnTimeout (node:internal/timers:569:17)
    at process.processTimers (node:internal/timers:512:7)

Node.js v18.19.1
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped

I did up the BROWSER_LAUNCH_TIMEOUT to 60000 but looking at the above that wasn't honoured. I'm looking into another issue at the moment on my test env so I'll see if I can spot this also.


• Game_of_Ur

Did you seriously create Chess in Kerbal Space Program??
That's wild.
Try integrating a One-Player Zug-Zwang and see if you can tell the solution to break the chaotic inference :)

That reads like a pile of nonsense for a  few reason.  Most notably that Babylonia is in Mesopotamia and that everything I can quickly find on the history of chess says that chess originates in India not Mesopotamia.  Also that fact I was unable to find anything under the name "Game of Ur" that didn't simply point at what I implemented.
So regardless I an closing this as not relevant to KSlib.


Conduit build error

I believe that there is an issue with the bv_conduit script. Right now it is failing to build conduit for me. The current issue is that hdf5 has not yet been installed by visit, yet conduit thinks it has, as I believe the bv_conduit_depends_on method has two typos. Both the python and hdf5 lines should concatenate the depends information like the mpich line.
https://github.com/visit-dav/visit/blob/209962a4650dfdb93dd78dfed63163a12ccbd06d/src/tools/dev/scripts/bv_support/bv_conduit.sh#L25
A second but seemingly related issue is that in the bv_run_cmake.sh file for conduit visit is setting -DMPI_CXX_COMPILER:STRING to =/usr/bin/mpicc. This seems to have happened recently. Manually changing this and running the build from the conduit build dir allows successful compilation.  I don't have any idea why this error is occurring, as it did not as early as 3 weeks ago.

thanks @jameskress.
I need to update the scoreboard:

bash: 1000
cyrush: 0

@jameskress -- for the -DMPI_CXX_COMPILER:STRING issue what are the symptoms you see, can you share error output?

@jameskress  have you hit the mpi related issue again? If so I can try to help with some breadcrumbs.
If not, maybe we should close this issue.
Let me know what you think.


Stop removing masthead ad if not loaded

That one might be ok to keep in there, it's this custom template one that's fudged up because of how it works...

Ok, good to know.


Equipped Item Count support

Category
Additions to the mod API
What are you missing?
It seems that equipped item counts aren't taken into account when using the Item Quantity trigger. I would like to suggest adding this in as it would greatly expand the amount of workflows possible.
For example, I'm trying to setup a loop to make Devils and use them in firemaking until I run out, but when the "Equip Devil" step executes, my "Item Quantity" becomes 0 and it automatically triggers my "Make Devil" step again.
It could either be added as part of the Item Quantity trigger or maybe added as it's own trigger, like "Equipped Item Quantity" or something.
Thanks for reading!
Code of Conduct

[X] I agree to follow the code of conduct
[X] My request fits the contribution guidelines
[X] I have searched for similar issues and nothing similar exists

Yup, item quantity is different as it only counts stuff in your bank.
I'll get this done for (probably) the next version, but I'm taking a little break just now so it'll likely be after all the holidays 🙂

Cool, just wanted to make sure you knew about it! Take your time and happy holidays!


Duplicated URL on nuxt generate with non latin url encode

Versions

nuxt: 2.15.4
node: 12.16.1

Reproduction
https://github.com/rchl/nuxt-link-cyrillic-static

Non latin URL duplicated on static page generation

nuxt-link-cyrillic-static/pages/index.vue

Steps to reproduce

generate the static site
use "nuxt start" to navigate the full static site
if you click on non latin link, you can see the log in browser developer  console (I'm using chrome) because you are landing to spa fallback page
If you click on latin link, log are not show in console because you are using the static page
If you add "/" at the end of non latin URL, page will be reload using the static page (no log in the console)

What is Expected?
Nuxt should generate the language routes for non latin characters without duplicate the URL and without fallback to spa pages
What is actually happening?
URL without the slash at the end fallback to the spa page only for non latin URL, instead the duplicated URL with "/" at the end is work properly

Hi, the problem persist so please when is possible fix this issue, thanks in advance

We are approaching the Nuxt 2 EOL date (June 30, 2024) - see this article for more information. This is advance warning that I'm going to close this issue then, as it's currently marked as a Nuxt 2 related bug.
If it's a critical or security issue, please do comment and let me know, in case it is possible to address it before the EOL date.
If it's a an issue you think is relevant for Nuxt 3, please feel free to open a fresh issue (or just comment here so I can update labels, etc.). 🙏
Thank you for your understanding and for your contribution to Nuxt. ❤

It's the day, at last. Nuxt 2 is now marked end-of-life.
My apologies we never got round to resolving this bug in the 2.x branch, but we do have to draw a line somewhere. Again, if you think this is still relevant for Nuxt going forward, please feel free to open a fresh issue (or just comment here so I can update labels, etc.). 🙏


Add brief option to compare

This PR adds a --brief option to compare to make it easier to see the differences. Instead of:
❯ mepo compare
Repo                   | Original                         | Current
---------------------- | -------------------------------- | -------
GEOSgcm                | (b) main                         | (b) main
env                    | (t) v3.11.0 (DH)                 | (t) v3.11.0 (DH)
cmake                  | (t) v3.10.0 (DH)                 | (b) develop
ecbuild                | (t) geos/v1.2.0 (DH)             | (t) geos/v1.2.0 (DH)
NCEP_Shared            | (t) v1.2.0 (DH)                  | (t) v1.2.0 (DH)
GMAO_Shared            | (t) v1.5.1 (DH)                  | (t) v1.5.1 (DH)
MAPL                   | (t) v2.17.2 (DH)                 | (b) develop
FMS                    | (t) geos/2019.01.02+noaff.7 (DH) | (t) geos/2019.01.02+noaff.7 (DH)
GEOSgcm_GridComp       | (t) v1.15.0 (DH)                 | (t) v1.15.0 (DH)
FVdycoreCubed_GridComp | (t) v1.6.0 (DH)                  | (t) v1.6.0 (DH)
fvdycore               | (t) geos/v1.3.0 (DH)             | (t) geos/v1.3.0 (DH)
GEOSchem_GridComp      | (t) v1.8.1 (DH)                  | (t) v1.8.1 (DH)
HEMCO                  | (t) geos/v2.2.2 (DH)             | (t) geos/v2.2.2 (DH)
geos-chem              | (t) geos/v13.0.0-rc1 (DH)        | (t) geos/v13.0.0-rc1 (DH)
GOCART                 | (t) v2.0.4 (DH)                  | (t) v2.0.4 (DH)
mom                    | (t) geos/5.1.0+1.2.0 (DH)        | (t) geos/5.1.0+1.2.0 (DH)
mom6                   | (t) geos/v2.0.2 (DH)             | (t) geos/v2.0.2 (DH)
RRTMGP                 | (t) geos/v1.5+1.0.0 (DH)         | (t) geos/v1.5+1.0.0 (DH)
GEOSgcm_App            | (t) v1.7.0 (DH)                  | (t) v1.7.0 (DH)
UMD_Etc                | (t) v1.0.4 (DH)                  | (t) v1.0.4 (DH)
CPLFCST_Etc            | (t) v1.0.1 (DH)                  | (t) v1.0.1 (DH)

and you have to look for the red names (assuming your terminal supports that), you can do:
❯ mepo compare --brief
Repo                   | Original                         | Current
---------------------- | -------------------------------- | -------
cmake                  | (t) v3.10.0 (DH)                 | (b) develop
MAPL                   | (t) v2.17.2 (DH)                 | (b) develop

Part of me even wonders if the brief behavior should be the default and we should do a --full or --all option that shows everything? Hmm.

Part of me even wonders if the brief behavior should be the default and we should do a --full or --all option that shows everything? Hmm.

I think it's a good idea to make brief the default behavior. When we run mepo compare, the idea is to see the differences.

Part of me even wonders if the brief behavior should be the default and we should do a --full or --all option that shows everything? Hmm.

I think it's a good idea to make brief the default behavior. When we run mepo compare, the idea is to see the differences.

The creator appears! 😄
Any thoughts, @tclune ? My guess is no one has any scripts that depend on the compare output being in full, so I could fiddle around and make the brief behavior the default.

No strong opinions.   I agree with @pchakraborty on general grounds.  But I don't use the tool enough to have strong feelings.

Okay. Give me a bit and I'll work on implementing it...

Change is implemented.


Foundation exclusivity tests

Update two Foundation overlay tests to remove exclusivity violations.

@phausler @millenomi Would you be willing to take a look?

@swift-ci Please smoke test

@swift-ci smoke test OS X platform


Storage: Enable BTRFS nodatacow on raw block files to avoid quota issues

Enable nodatacow so that random writes don't cause fragmentation and old extents to be kept.
BTRFS extents are immutable so when blocks are written they end up in new extents and the old ones remains until all of its data is dereferenced or rewritten.
These old extents are counted in the quota, and so leaving CoW enabled can cause the BTRFS subvolume quota to be reached even if the block volume file isn't full.
Fixes #9124
Signed-off-by: Thomas Parrott<EMAIL_ADDRESS>

@stgraber this seems to fix the issue in https://github.com/lxc/lxd/issues/9124, and speed wise is equivalent to without it on my NVME drive:
dd if=/dev/urandom of=/root/foo.img bs=4M conv=fdatasync
dd: error writing '/root/foo.img': No space left on device
2474+0 records in
2473+0 records out
10375110656 bytes (10 GB, 9.7 GiB) copied, 125.724 s, 82.5 MB/s

Whereas the best I got before was 82.9 MB/s (and sometimes it was lower than 82.5 MB/s).

@stgraber I will rework this based on comment https://github.com/lxc/lxd/issues/9124#issuecomment-985569642

The compress stuff has been absolutely horrible at causing filesystem corruption in the past and as it's indeed a global option for the entire filesystem, I'd be quite worried to turn it on.

@tomponline does this approach work properly?

@stgraber just testing this now...

@stgraber yep seems to work:
dd if=/dev/urandom of=/root/foo.img bs=4M conv=fdatasync
dd: error writing '/root/foo.img': No space left on device
2474+0 records in
2473+0 records out
10375118848 bytes (10 GB, 9.7 GiB) copied, 125.374 s, 82.8 MB/s

Quota not reached:
sudo btrfs subvolume show --raw /var/lib/lxd/storage-pools/btrfs/virtual-machines/v1
virtual-machines/v1
	Name: 			v1
	UUID: 			7a356a4c-3372-e041-b39c-393a8fab7e9a
	Parent UUID: 		99549cb4-c2b0-5a4f-810c-15901948c93d
	Received UUID: 		-
	Creation time: 		2021-12-03 16:19:08 +0000
	Subvolume ID: 		268
	Generation: 		384
	Gen at creation: 	263
	Parent ID: 		5
	Top level ID: 		5
	Flags: 			-
	Snapshot(s):
	Quota group:		0/268
	  Limit referenced:<PHONE_NUMBER>4
	  Limit exclusive:	-
	  Usage referenced:<PHONE_NUMBER>6
	  Usage exclusive:<PHONE_NUMBER>8

Hrm, so ith a fresh BTRFS storage pool (no existing image volumes):
lxc init images:ubuntu/focal/cloud v1 -s btrfs --vm
lxc config device set v1 root size=11Gi
sudo lsattr /var/lib/lxd/storage-pools/btrfs/images/15685435d292987420498cfc4e9529ec9d794c977715d7a7514a84bbb27a9b80/root.img
---------------C---- /var/lib/lxd/storage-pools/btrfs/images/15685435d292987420498cfc4e9529ec9d794c977715d7a7514a84bbb27a9b80/root.img
sudo lsattr /var/lib/lxd/storage-pools/btrfs/virtual-machines/v1/root.img
---------------C---- /var/lib/lxd/storage-pools/btrfs/virtual-machines/v1/root.img

It breaks:
dd if=/dev/urandom of=/root/foo.img bs=4M conv=fdatasync
dd: error writing '/root/foo.img': Read-only file system
2256+0 records in
2255+0 records out
9458155520 bytes (9.5 GB, 8.8 GiB) copied, 116.296 s, 81.3 MB/s


Add feature to remove cycles from skeleton graph

In many situations it is known that the graph is a tree, and any cycles are known to be spurious. It would be good to create a function that allows graphs to be pruned of cycles according to some criteria.

CC @GenevieveBuckley

@kevinyamauchi might also be interested in this. Kevin, my specific interest is often in tree-like structures, where there is one starting point at the trunk, and branches subdivide off that (loops are unwanted).

Thanks for the ping, @GenevieveBuckley ! This would indeed be interesting to me. Our skeletons should also be loop-free. After I finish #117 , maybe I can cycle back and work on this.

After I finish #117 , maybe I can cycle back and work on this.

Very humerus :laughing:

Haha! 😆

I'd be very interested in pruning. I'm working on Atomic Force Microscopy imaging of molecules (project is TopoStats) and we want to determine the skeleton structure. I stumbled across Skan and think it has great potential.
As an example here is a single molecule...

We can skeletonise it to give...

 Summarising gives us the nodes and their relationship to each other...

But there are branches that have branched which means we need an iterative process to remove these until everything is classified as branch-type == 3 (a closed loop) or branch-type == 1 a linear molecule.
I can pull out the nodes of interest after this first iteration...

But I'm stumped as to how to now go back and get the points in-between so I have a pruned skeleton I can Summarize() again.

@ns-rse 👋 Hi! Glad to see your interest here! Fun fact: skan started out for analysing AFM pictures of the inside of malaria-infected red blood cells. That's why Skeleton has a value_is_height keyword argument! 😊
So, for reasons I don't understand, the Skeleton object has a prune_paths method that @kevinyamauchi and I worked on together, but it does not appear in the docs! Maybe because there's no docstring? Oops!
Ideally, what I'd like to happen now is:

check whether doing prune_paths iteratively solves your problem;
if so, add a docstring to it and add a documentation example using it on your data!

I'd be super happy to help out with this. I have a bookable calendar at http://meet.jni.codes — maybe there's a slot next week that works for you? After that I have a very busy couple of months so good to check in now. 😅 But async works fine also, if it suits you.

Hi @jni ,
Thanks for getting back so quickly, this sounds really promising, I'd not got round to digging deep into the code and hadn't found the prune_paths() method, thanks for the pointer.
The offer to help work through this is very welcome, I've booked a slot.
In the mean time I'll have a look at using prune_paths and see if I can work things out.
In the absence of a doc string is indices the node-id-src from summarize() and in this case it would be the subset where branch-type == 1 as these are junction-to-endpoint?

The offer to help work through this is very welcome, I've booked a slot.

Great, see you then, looking forward to it! 😊

In the absence of a doc string is indices the node-id-src from summarize()

No, it is the branch ID which is just the pandas index. (Which I think is just the row number starting from 0.)

in this case it would be the subset where branch-type == 1 as these are junction-to-endpoint?

correct!

Ta, just been playing and worked out that it should be the Pandas index.
Looking promising
Original Skeleton

Pruning Iteration 1

Pruning Iteration 2

Pruning Iteration 3

There are some artifacts that won't be pruned here but its looking promising, I'll have a play and see what I can come up with.
I've encountered some errors with values_as_heights which I'll report separately.

Been playing today and got an early, simple prototype of iterative pruning working as a starting point for Mondays meeting @jni
Its on a fork
There are slightly more changes than you might expect as I have my development environment set up to apply Black on saving .py files.
Main change though is a small wrapper method Skeleton.iteratively_prune_paths() and adding a few additional properties to the class so they carry through to the returned item.
Not perfect as the skeletons sometimes have side-loops that aren't being pruned but a starting point.

There are slightly more changes than you might expect as I have my development environment set up to apply Black on saving .py files.

Have you tried... not doing that? 😂 Sorry, you have actually stumbled on someone who irrationally despises many of Black's formatting choices. I acknowledge I'm weird but at least I'm not alone 😅. Anyway, this repo actually uses yapf (see the config files at the root). You can install a pre-commit hook using pip install pre-commit followed by pre-commit install at the root of the repo. Then you can do what you like during edit time and the commits will be "properly" formatted for this repo. 🙏

Main change though is a small wrapper method Skeleton.iteratively_prune_paths() and adding a few additional properties to the class so they carry through to the returned item.

This is fine for now... Ultimately I think I want to update the API to just a function rather than a method, but we can come back to that later once the functionality is finished. 🙏

Not perfect as the skeletons sometimes have side-loops that aren't being pruned but a starting point.

Based on your results above it's looking really nice. I think the algorithm is working as expected which is great — clearly we'll need a different strategy for the short loops.
See you on Monday!

Sorry hadn't clocked the .pre-commit-config.yaml, duly applied.
I'm ambivalent as to which formater and have used yapf in the past myself as long as everyone working on the project uses the same then it doesn't matter, and that is the beauty of pre-commit.  I'm big fan of pre-commit and pre-commit.ci and use it widely (in fact I'm giving a talk about it on Monday afternoon!).
I can see how a simple function to do this would work just as well. Working out how to remove small loops is the more challenging aspect.
Looking forward to Monday. :+1:


fix: Target::Pipe respects WriteStyle

Resolves https://github.com/rust-cli/env_logger/issues/274.
The old behavior made it impossible to retain colors in custom sinks.
With this patch, the default behavior assumes non-color compliance with the sink. But this can be overridden with WriteStyle::Always.

What exactly does this PR change? I only see renamed variables, a cast that I don't think is necessary and some if {} else {} changed to then_some()?

This is superseded by #298


The Great gambling update.

About the PR
Adds lootbugs.
Why / Balance
Goobers love gambling.
Technical details
Shitcoded loot table.
Media
Do you really need it?
Changelog
:cl:

add: LootBugs.

Error Message:
   System.Exception : Failed to delete map Packed


INF error

The inf file you are using will not work in new versions of visual studio thanks to the wonderful choice by Microsoft to remove Dual DefaultInstall and Manufacturer settings in your inf file.
I have been reading your posts and this seems like a really cool project. Have been interested in the HID emulation side of driver development for a remote control project.

Thank you for opening the issue.
I am going to rebuild and test the project with the latest update of MVS (Community 2017) in a few days.
If you have fixed it for yourself or know how to do it, feel free to make a pull request.
You may also help me with fixing the issue. I still have not managed to fix it, unfortunately.

I have same problem too,
on Visual Studio 2019


Mobile nav menu fixes

issue #5483 & #5652

trigger the close menus action every time a route transition is successful
close nav menu when clicking "collapse sidebar" button (action chain was incomplete)

:+1: