Going to a tag tab containing a less than sign crashes the game

Description
Going to a tag tab containing a less than sign < crashes the game, producing no logs.
To Reproduce
Steps to reproduce the behaviour:

Open a bank and make a tag tab containing <, EG. "Agility <3"
Go to the newly created tab
The game crashes

Additional context
When entering the character <, it and all characters after does not show up in the input box, but will show up on the tooltip of the tag tab after confirming the creation of the tab.

Trying to delete the tab also does nothing


Could not find plugin

Describe the bug
I used virtualenv to install all plugins but I am not able to use the plugin, it throws
ERROR    -  Config value: 'plugins'. Error: The "mkdocs-video" plugin is not installed

To Reproduce
python3 -m venv .env
source .env/bin/activate
pip3 install mkdocs mkdocs-video mkdocs-section-index

Freeze
$ pip freeze
click==8.0.3
ghp-import==2.0.2
importlib-metadata==4.10.0
Jinja2==3.0.3
Markdown==3.3.6
MarkupSafe==2.0.1
mergedeep==1.3.4
mkdocs==1.2.3
mkdocs-section-index==0.3.2
mkdocs-video==1.1.0
packaging==21.3
pyparsing==3.0.6
python-dateutil==2.8.2
PyYAML==6.0
pyyaml_env_tag==0.1
six==1.16.0
watchdog==2.1.6
zipp==3.6.0

When using this mkdocs.yml
site_name: Building a webapp in Docker
site_url: https://docker-webapp.
plugins:
- search
- section-index
- mkdocs-video
theme: material
nav:
- index.md
- "Intro":
  - intro/index.md
  - intro/docker/index.md
- "Setup":
  - setup/index.md
  - setup/docker/index.md
- "Build":
  - build/index.md
  - build/docker/index.md
- "Cleanup":
  - cleanup/index.md
  - cleanup/docker/index.md

I get this error...
$ mkdocs serve
INFO     -  Building documentation...
ERROR    -  Config value: 'plugins'. Error: The "mkdocs-video" plugin is not installed
Aborted with 1 Configuration Errors!

Desktop (please complete the following information):

OS: MacOSX
Browser no browser

Hello @ChristianKniep,
Sorry for the late response.
I think the problem is how the virtual environment was used.
MkDoсs will be able to "see" this Python package only in the environment itself (for example, while you're in the same terminal tab with active env).
In another terminal / terminal tab, this mkdocs-video package will not be available (if it wasn't installed globally).

I have just tested all the related cases and the reason mentioned above is only reason for this kind of issue.


Add better hover effect

Pull Request: Enhancing Navbar Hover Effect
In this commit, I've implemented an improved hover effect for Navbar links. The existing hover effect in Keep-react merely changes the background color, which lacks a modern aesthetic. To enhance the visual appeal, I have introduced a grayscale effect, set to 100% by default. Upon hovering, the grayscale reverts to 0%, resulting in a more contemporary appearance.
Additionally, I've incorporated a transition with a duration of 300ms to ensure a smooth and seamless user experience.
Please review and merge at your earliest convenience.
Thank you.

Hi @codeblitz97,
Awesome work! 🚀 A big shoutout and thank you for introducing the Grayscale hover effect to our documentation website. Your commitment to enhancing the user experience is truly commendable, and we're thrilled to see such creative improvements.
If you have any other cool ideas up your sleeve or come across more opportunities for enhancement, please don't hesitate to share. Your contributions make a real difference in making our documentation top-notch.
Thanks again for your valuable input and dedication to our project!
Best regards,
@Arifulislam5577


Add instruction on troubleshooting REPL under Python virtual env

Adding troubleshooting instruction to use before #432 is fixed

I just made a commit to your branch with what I had in mind.  Feel free to edit.


Error when calling Hijri::Date.new(1439, 4, 12).to_greo

Hijri gem version: 0.5.0
I got this error when calling to_greo method on Hijri::Date with this date (1439, 4, 12)
Hijri::Date.new(1439, 4, 12).to_greo

NoMethodError: undefined method `+' for nil:NilClass
from /home/ahmed/.rvm/gems/ruby-2.2.3@arbab/gems/hijri-0.5.0/lib/hijri/converter.rb:54:in `block in greo_to_absolute'

I have no idea about conversions and why it gives error for this date or maybe for other dates with similar patterns. Please check and let me know the issue

Hello @abahaggag
Sorry, it took me ages to fix the issue but it's fixed now and pushed to the master and later on will release a new version with all fixes.

the issue has been resolved in v0.6.0

Thanks @ecleel


[QUESTION] Concerning which-key labels

Hi Henrik,
a few days ago we briefly talked on the discord channel about which-key labels for key-bindings and you explained to me why the labels that I added didn't work. (I added labels to bindings in minor-mode key-maps).
It seems that which-key has gained support for key-bindings in minor modes somewhat recently. At least this is my understanding of the following comment of which-key's maintainer:
https://github.com/justbur/emacs-which-key/issues/212#issuecomment-503368293
I don't know if you were aware of which-keys which-key-enable-extended-define-key option and if it can be used to add more labels to doom' key-bindings so I thought I bring it to your attention.
If you think it would be desirable to use the new which-key labeling option, I can try to make the neccessary changes, despite of my quite bad elisp skills :-).
Cheers!

This setting is on my radar, but I'm afraid is not a perfect solution. First, it would require a non-trivial amount of work to implement (setting which-key-enable-extended-define-key won't be enough; map! would need to be rewritten and we'd have to jury rig general to use the new way of declaring which-key labels, rather than the old, or replace general altogether, which is deeply woven into Doom).
Second, this new approach doesn't support remapped commands, which are used extensively (at least a third of all our commands are remapped, depending on what modules you have enabled, not counting any remapping done by the plugins we install). To demonstrate this issue:
(defun command-a ()
  (interactive)
  (message "hi"))
(defun command-b ()
  (interactive)
  (message "bye"))

(define-key global-map (kbd "C-c .") '("A" . command-a))
(define-key global-map (kbd "C-c ,") '("B" . command-b))

Upon which-key opening, C-c . has the "A" label and C-c , has the "B" label, as expected, until...
(define-key global-map [remap command-a] #'command-b)

C-c . no longer has a label, at all. This won't work either:
(define-key global-map [remap command-a] '("Remapped B" . command-b))

These are show stoppers and, between sacrificing which-key labels for keys on arbitrary keymaps and labels for our leader/localleader keys, I think the latter is less acceptable than the former. What's worse, I don't think there's an obvious or simple solution (on which-key's end) to this issue of remapped commands, besides simply associating labels with commands directly (i.e. rather than associating them with key sequences, keymaps or modes).
Personally, I wish I could get rid of 90% of our which-key labels altogether. I don't think obscuring the underlying command with an arbitrary label adds any value except in the case of prefix keys, anonymous functions, or the occasional command whose names are especially obtuse. One day I'd love to figure out a better alternative to which-key -- maybe develop an inhouse alternative to it to suit our specific needs -- but for now I think this is the best we've got.

Since the original question was answered I'll consider this issue resolved, even if the which-key issue itself hasn't been solved (we'll just have to wait for a breakthrough somewhere, for the time being). Thanks for bringing it to my attention!


pod install fails

Trying to follow instructions and pod install fails with the following:
~/work/wecrowd-ios on ⭠ master ⌚ 21:59:41
$ pod install

――― MARKDOWN TEMPLATE ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――

### Command

/usr/bin/pod install

### Report

* What did you do?

* What did you expect to happen?

* What happened instead?

### Stack

CocoaPods : 0.38.2
Ruby : ruby 2.0.0p481 (2014-05-08 revision 45883) [universal.x86_64-darwin14]
RubyGems : 2.0.14
Host : Mac OS X 10.10.4 (14E46)
Xcode : 6.4 (6E35b)
Git : git version 2.5.0
Ruby lib dir : /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib
Repositories : master - https://github.com/CocoaPods/Specs.git @ 500776722af4a11948abf9d22f9bdce5e474d083

### Plugins

cocoapods-plugins : 0.4.2
cocoapods-stats   : 0.5.3
cocoapods-trunk   : 0.6.1
cocoapods-try     : 0.4.5

### Podfile

```ruby
# Uncomment this line to define a global platform for your project
# platform :ios, '6.0'

target 'WeCrowd' do
    pod 'CWStatusBarNotification', '~> 2.2.6'
    pod 'WePay'
    pod "PPSSignatureView"
end

target 'WeCrowdTests' do

end

Error
Errno::ENOENT - No such file or directory - /Users/roman/work/wecrowd-ios/Pods/WePay/G4XSwiper.framework/Resources
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:905:in `stat'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:905:in `symbolic_modes_to_i'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:926:in `fu_mode'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1000:in `block (2 levels) in chmod_R'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1460:in `preorder_traverse'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:998:in `block in chmod_R'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:997:in `each'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:997:in `chmod_R'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.38.2/lib/cocoapods/installer.rb:117:in `block in prepare'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.38.2/lib/cocoapods/user_interface.rb:140:in `message'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.38.2/lib/cocoapods/installer.rb:116:in `prepare'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.38.2/lib/cocoapods/installer.rb:103:in `install!'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.38.2/lib/cocoapods/command/project.rb:71:in `run_install_with_update'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.38.2/lib/cocoapods/command/project.rb:101:in `run'
/Library/Ruby/Gems/2.0.0/gems/claide-0.9.1/lib/claide/command.rb:312:in `run'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.38.2/lib/cocoapods/command.rb:48:in `run'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.38.2/bin/pod:44:in `<top (required)>'
/usr/bin/pod:23:in `load'
/usr/bin/pod:23:in `<main>'

――― TEMPLATE END ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
[!] Oh no, an error occurred.
Search for existing GitHub issues similar to yours:
https://github.com/CocoaPods/CocoaPods/search?q=No+such+file+or+directory+-+%2FUsers%2Froman%2Fwork%2Fwecrowd-ios%2FPods%2FWePay%2FG4XSwiper.framework%2FResources&type=Issues
If none exists, create a ticket, with the template displayed above, on:
https://github.com/CocoaPods/CocoaPods/issues/new
Be sure to first read the contributing guide for details on how to properly submit a ticket:
https://github.com/CocoaPods/CocoaPods/blob/master/CONTRIBUTING.md
Don't forget to anonymize any private data!

Thanks for the feedback! I was able to reproduce the error after updating my Cocoapods version to 0.38.2. As a temporary fix, try downgrading Cocoapods to 0.37.2.
$ gem uninstall cocoapods
$ gem install cocoapods -v 0.37.2
Based on these issues I suspect this is an issue with Cocoapods or how how we're configuring them.


Windows: Access violation while unloading libtcmalloc_minimal.dll

Hi,
I took the latest gperftools code from GitHub and did the following:

Opened the gperftools.sln in VS 2019
Changed the output type of the libtcmalloc_minimal project to DLL
Changed the Windows SDK to 10.0.x and the Platform Toolset to v142 (2019)
Built the the "Release-Patch" version of the minimal DLL.

This built a libtcmalloc_minimal.dll, which I loaded in a program that simply calls "LoadLibrary()" to load the dll and "FreeLibrary()" to unload it. When "FreeLibrary()" is called, the following exception occurs:

00007ffa68754680()	Unknown
ntdll.dll!RtlpFreeActivationContext()	Unknown
ntdll.dll!RtlReleaseActivationContext()	Unknown
ntdll.dll!LdrpDereferenceModule()	Unknown
ntdll.dll!LdrUnloadDll()	Unknown
KernelBase.dll!FreeLibrary()	Unknown

I also tried using the 2015 toolset (v140) with the 10.0 SDK and still faced the same problem. Any ideas on how to proceed debugging this?
I need this scenario to work because my final deliverable is a DLL that is loaded by a different program and unloaded after its operations are complete.
Thanks!

I came across this comment while browsing through the Windows port
https://github.com/gperftools/gperftools/blob/fe85bbdf4cb891a67a8e2109c1c22a33aa958c7e/src/windows/port.h#L176-L181
A potential workaround is to disable the use of implicit thread-local storage on Windows.
The MACRO to disable is called HAVE_TLS as seen here
https://github.com/gperftools/gperftools/blob/fe85bbdf4cb891a67a8e2109c1c22a33aa958c7e/src/thread_cache.h#L69-L75
You'll have to dig around the VS project to figure out how to do this properly.
I was generating my own VS project using CMake and as it turns out HAVE_TLS is currently broken for MSVC
https://github.com/gperftools/gperftools/issues/1332

Actually, now that I think about it, the way the allocation functions are patched on Windows is simply not compatible with LoadLibrary (explicit loads).
So please disregard my earlier comments.

Right. We don't support unloading tcmalloc (on any OS; well, with patching at least). Yes, people have semi-recently started to care/ask-for this due to some surge in popularity of stuff like tensorflow that gets shipped as python-loadable dynamic library. Best case for scenarios like this is to have python (or R or ruby or whatever) linked with tcmalloc. Which is of course not always easy or possible to do.
Sadly, portably (or even semi-portably) supporting tcmalloc in this setting is hard or most likely impossible. Imagine what happens if something gets allocated (say by python executable) while module was loaded, and then module (with tcmalloc) is unloaded, and how we're supposed to deal with freeing that chunk of memory?
But with overriding, and the way windows dynamic symbol resolution works, I can imagine you may be able to get something to work. I.e. as long as memory that gets malloced by your module is only freed by your module (and vice-versa), it then becomes possible to imagine tcmalloc (or any other replacement-malloc) being used. But how to setup building in this case, I am leaving that up to you. But as a pointer consider looking at what mimalloc does (because it is built by ms folk so perhaps they do best job integration-wise).
We can provide configuration for tcmalloc that only provides tc_XXX symbols (no operator new/delete,malloc/free etc) and then your glue code could define operator new/delete to forward to those. I believe jemalloc has something like this. Somehow I thought we have it too, but doesn't seem to be the case.
Closing for now, but if someone actually plans to work on something like this, please do reopen (and contribute).

Hi, I know this question is old and problem context is pretty similar. I have some additional details on FreeLibrary crash when unloading.

The breakpoint was set with BP.  If you want breakpoints
to track module load/unload state you must use BU.
(bfa8.8e04): Access violation - code c0000005 (first chance)
Unable to remove breakpoint<PHONE_NUMBER> at 00007ffa`c2ba8613, Win32 error 0n29
    "The system cannot write to the specified device."
The breakpoint was set with BP.  If you want breakpoints
to track module load/unload state you must use BU.
First chance exceptions are reported before any exception handling.
This exception may be expected and handled.
<Unloaded_libtcmalloc_minimal.dll>+0x183e0:
00007ffa`c2ba83e0 ??              ???

It appears to me that STDERR_FILENO is somehow closed?
static void WriteMessage(const char* msg, int length) {
  write(STDERR_FILENO, msg, length);
}

void (*log_message_writer)(const char* msg, int length) = WriteMessage;


Some of the visualisation options may not work

We have a list of possible visualisations in the visualisations.ipynb notebook (in the examples folder), but @rhoslynroebuck found that some of these may not be working correctly. This may be a non-issue, but good to check anyway.

Cartoon rendering have issues and here is what I found out with running the protein-ligand systems singularly.

When connecting a VR client for the first time the protein rendering work but when restarting the simulation (same server) the protein loose quickly its shape and becomes just a white string.
ligands may be there or not as well the interaction by the controllers can work out or not; when it's not, I tried to disconnect and reconnect the vrclient and the ligand appear again and the interaction could work again.
Cartoon rendering of APK passthorugh works slightly different the other: it doesn't have reference atoms (dots) along the protein.

I leave this link with videos I have recorded cheching the rendering, the interaction and the ligand's presence for those three systems, here.
Next step is to test this rendering with a small system that has a clear secondary structure shape and these mentioned systems but restrained, to check if those issues happen or not.

Further going in potential visualitations issues: with PC-VR setup the cartoon rendering is different than with APK, I just uploaded images to the folder mentioned above.
I compared Narupa2 and Nanover running neuraminidase.xml from openmm notebook and Narupa2 doesn't show the dissolvation of the structure after resetting the system.

All confirmed working for PC-VR, with the Quest standalones issued covered in https://github.com/IRL2/nanover-docs/issues/141 and https://github.com/IRL2/nanover-imd-vr/issues/47


Equalizer missing on OSX?

OS: OSX (10.11.3)
Issue Descriptions: No equalizer settings.
It says there are settings for an equalizer--but they are nowhere to be found.

It's currently disabled pending a bugfix in electron

Any progress on this? It's been six months, still no equalizer on Mac? I probably have to stop using this product until there is an equalizer on it.

@MarshallOfSound Any update on this? Are you able to reference the bugfix in Electron?

Not entirely sure why this is closed if the bug still exists and the equalizer is still missing. Could you provide a link to the associated bug in Electron? Maybe some of your users here could help contribute if it means getting this back in!

@Roundaround The bug is all the way upstream in Chromium and goes further than that to the actual spec for AudioContext not being final yet.  The underlying issue is that we can't setSinkid on an AudioContext as the spec for how that will work is not final and has not been implemented in Chromium.
As such we either have the output selector working (which requires AudioElement.setSinkId or the equalizer AudioContext.connect().  Unfortunately the spec does say that setSinkid won't work on an element that has an associated AudioContext.  So we only have one or the other.  The spec for AudioContext holds this information.

Ah okay, thanks for the explanation. Would be nice to keep the issue open regardless though just to keep it on the radar. If nothing else, the equalizer functionality should probably be removed from the features slideshow on the website, right?

9 months later...

Does anybody got eqMac2 working with GPMDP ? I suppose it is the same bug that causes both are not working together.


[ISSUE #3026] [type:new feature] part2: dubbo support shared thread pool

see #3026

Codecov Report

Merging #3053 (1eeda68) into master (5f1f264) will decrease coverage by 0.67%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##             master    #3053      +/-   ##
============================================
- Coverage     58.58%   57.91%   -0.68%
+ Complexity     4382     4345      -37
============================================
  Files           696      702       +6
  Lines         20054    20138      +84
  Branches       1809     1812       +3
============================================
- Hits          11749    11663      -86
- Misses         7314     7482     +168
- Partials        991      993       +2

Impacted Files
Coverage Δ

...henyu/common/concurrent/MemoryLimitCalculator.java
0.00% <0.00%> (ø)

...n/concurrent/MemoryLimitedLinkedBlockingQueue.java
14.70% <ø> (ø)

...enyu/common/concurrent/MemoryLimitedTaskQueue.java
0.00% <0.00%> (ø)

...apache/shenyu/common/concurrent/MemoryLimiter.java
19.53% <ø> (ø)

...yu/common/concurrent/ShenyuThreadPoolExecutor.java
0.00% <0.00%> (ø)

.../org/apache/shenyu/common/config/ShenyuConfig.java
0.00% <0.00%> (ø)

...gin/alibaba/dubbo/threadpool/SharedThreadPool.java
0.00% <0.00%> (ø)

...ugin/apache/dubbo/threadpool/SharedThreadPool.java
0.00% <0.00%> (ø)

...b/configuration/ShenyuThreadPoolConfiguration.java
0.00% <0.00%> (ø)

...ache/shenyu/plugin/grpc/cache/GrpcClientCache.java
68.75% <0.00%> (-31.25%)
:arrow_down:

... and 33 more

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 5f1f264...1eeda68. Read the comment docs.


[BUG] "psk" value should not be surrounded by quotes

When updating the WiFi config file, configureWiFi.php surrounds pre-encrypted psk values with quotes, and it shouldn't.

In next release.


Add the correct nomenclature for genes in anopheles.py to enable CNVs for Af

Partially addresses #499.
I don't know yet if there are other instances where this problem occurs. I will add a test_gene_cnv for Af mirroring the one for Ag.

Thanks @jonbrenas. I did a search through the code base and think this the only place where this occurs, so I think you can say that this PR will resolve #499.

Thanks @alimanfoo , hopefully, I made the change.


Issue with cuda library

After following all steps, installing everything when i run the following command
python3 learning.py
i get the following... I have a question.. is cudalibrary necessary to run this project? since my laptop doesnt have a NVIDIA card, it has a AMD Radeon card
Loading chipmunk for Linux (64bit) [/usr/local/lib/python3.5/dist-packages/pymunk/libchipmunk64.so]
Using TensorFlow backend.
Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/init.py", line 61, in
from tensorflow.python import pywrap_tensorflow
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/pywrap_tensorflow.py", line 28, in
_pywrap_tensorflow = swig_import_helper()
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/pywrap_tensorflow.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow', fp, pathname, description)
File "/usr/lib/python3.5/imp.py", line 242, in load_module
return load_dynamic(name, filename, file)
File "/usr/lib/python3.5/imp.py", line 342, in load_dynamic
return _load(spec)
ImportError: libcudart.so.8.0: cannot open shared object file: No such file or directory
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "learning.py", line 5, in
from nn import neural_net, LossHistory
File "/home/saksham/8th/project_mam/reinforce/reinforcement-learning-car/nn.py", line 6, in
from keras.models import Sequential
File "/home/saksham/.local/lib/python3.5/site-packages/keras/init.py", line 3, in
from . import activations
File "/home/saksham/.local/lib/python3.5/site-packages/keras/activations.py", line 3, in
from . import backend as K
File "/home/saksham/.local/lib/python3.5/site-packages/keras/backend/init.py", line 73, in
from .tensorflow_backend import *
File "/home/saksham/.local/lib/python3.5/site-packages/keras/backend/tensorflow_backend.py", line 1, in
import tensorflow as tf
File "/usr/local/lib/python3.5/dist-packages/tensorflow/init.py", line 24, in
from tensorflow.python import *
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/init.py", line 72, in
raise ImportError(msg)
ImportError: Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/init.py", line 61, in
from tensorflow.python import pywrap_tensorflow
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/pywrap_tensorflow.py", line 28, in
_pywrap_tensorflow = swig_import_helper()
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/pywrap_tensorflow.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow', fp, pathname, description)
File "/usr/lib/python3.5/imp.py", line 242, in load_module
return load_dynamic(name, filename, file)
File "/usr/lib/python3.5/imp.py", line 342, in load_dynamic
return _load(spec)
ImportError: libcudart.so.8.0: cannot open shared object file: No such file or directory
Failed to load the native TensorFlow runtime.
See https://github.com/tensorflow/tensorflow/blob/master/tensorflow/g3doc/get_started/os_setup.md#import_error
for some common reasons and solutions.  Include the entire stack trace
above this error message when asking for help.

CUDA should not be required to run this project. Are you able to run other Keras/TF projects?


python312Packages.configobj: 5.0.8 -> 5.0.9

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python312Packages.configobj is: Config file reading, writing and validation
meta.homepage for python312Packages.configobj is: https://github.com/DiffSK/configobj
meta.changelog for python312Packages.configobj is: https://github.com/DiffSK/configobj/blob/v5.0.9/CHANGES.rst
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 5.0.9 with grep in /nix/store/8h8p8gpd2jxmbcbigj6g94bfrps6zcjm-python3.12-configobj-5.0.9
found 5.0.9 in filename of file in /nix/store/8h8p8gpd2jxmbcbigj6g94bfrps6zcjm-python3.12-configobj-5.0.9

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

85 total rebuild path(s)

85 package rebuild(s)

First fifty rebuilds by attrpath

alot
azure-cli-extensions.rdbms-connect
breezy
cabal2nix
certbot
certbot-full
cloud-init
databricks-sql-cli
devpi-client
dvc
dvc-with-remotes
flatpak-builder
haskellPackages.cabal2nix-unstable
hydra
iredis
khal
khard
lbdb
litecli
luarocks-packages-updater
mopidy-iris
mopidy-mopify
mycli
nix-prefetch-bzr
nix-prefetch-scripts
nix-update-source
pgcli
powerdns-admin
pubs
puddletag
pyCA
pysolfc
python311Packages.apptools
python311Packages.breezy
python311Packages.certbot
python311Packages.certbot-dns-cloudflare
python311Packages.certbot-dns-google
python311Packages.certbot-dns-inwx
python311Packages.certbot-dns-ovh
python311Packages.certbot-dns-rfc2136
python311Packages.certbot-dns-route53
python311Packages.check-manifest
python311Packages.cli-helpers
python311Packages.configobj
python311Packages.dvc
python311Packages.dvc-gdrive
python311Packages.dvc-hdfs
python311Packages.dvclive
python311Packages.envisage

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/8h8p8gpd2jxmbcbigj6g94bfrps6zcjm-python3.12-configobj-5.0.9 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

Or:
nix build github:r-ryantm/nixpkgs/3265cead2efd4a2c977fb265c56c137f0e30dd6d#python312Packages.configobj

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/8h8p8gpd2jxmbcbigj6g94bfrps6zcjm-python3.12-configobj-5.0.9
ls -la /nix/store/8h8p8gpd2jxmbcbigj6g94bfrps6zcjm-python3.12-configobj-5.0.9/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package failed to build:

powerdns-admin

149 packages built:

alot
alot.dist
azure-cli-extensions.rdbms-connect
azure-cli-extensions.rdbms-connect.dist
breezy (python312Packages.breezy)
breezy.dist (python312Packages.breezy.dist)
cabal2nix
certbot (python312Packages.certbot)
certbot-full
certbot.dist (python312Packages.certbot.dist)
cloud-init
cloud-init.dist
databricks-sql-cli
databricks-sql-cli.dist
devpi-client
devpi-client.dist
dvc (python312Packages.dvc)
dvc-with-remotes
dvc-with-remotes.dist
dvc.dist (python312Packages.dvc.dist)
flatpak-builder
flatpak-builder.doc
flatpak-builder.installedTests
flatpak-builder.man
hydra
iredis
iredis.dist
khal
khal.dist
khard
khard.dist
lbdb
litecli
litecli.dist
luarocks-packages-updater
mopidy-iris
mopidy-iris.dist
mopidy-mopify
mopidy-mopify.dist
mycli
mycli.dist
nix-prefetch-bzr
nix-prefetch-scripts
nix-update-source
nix-update-source.dist
pgcli (python312Packages.pgcli)
pgcli.dist (python312Packages.pgcli.dist)
pubs
pubs.dist
puddletag
puddletag.dist
pyCA
pyCA.dist
pysolfc
pysolfc.dist
python311Packages.apptools
python311Packages.apptools.dist
python311Packages.breezy
python311Packages.breezy.dist
python311Packages.certbot
python311Packages.certbot-dns-cloudflare
python311Packages.certbot-dns-cloudflare.dist
python311Packages.certbot-dns-google
python311Packages.certbot-dns-google.dist
python311Packages.certbot-dns-inwx
python311Packages.certbot-dns-inwx.dist
python311Packages.certbot-dns-ovh
python311Packages.certbot-dns-ovh.dist
python311Packages.certbot-dns-rfc2136
python311Packages.certbot-dns-rfc2136.dist
python311Packages.certbot-dns-route53
python311Packages.certbot-dns-route53.dist
python311Packages.certbot.dist
python311Packages.check-manifest
python311Packages.check-manifest.dist
python311Packages.cli-helpers
python311Packages.cli-helpers.dist
python311Packages.configobj
python311Packages.configobj.dist
python311Packages.dvc
python311Packages.dvc-gdrive
python311Packages.dvc-gdrive.dist
python311Packages.dvc-hdfs
python311Packages.dvc-hdfs.dist
python311Packages.dvc.dist
python311Packages.dvclive
python311Packages.dvclive.dist
python311Packages.envisage
python311Packages.envisage.dist
python311Packages.mayavi
python311Packages.mayavi.dist
python311Packages.multiscale-spatial-image
python311Packages.multiscale-spatial-image.dist
python311Packages.pgcli
python311Packages.pgcli.dist
python311Packages.pgspecial
python311Packages.pgspecial.dist
python311Packages.west
python311Packages.west.dist
python311Packages.xarray-datatree
python311Packages.xarray-datatree.dist
python312Packages.apptools
python312Packages.apptools.dist
python312Packages.certbot-dns-cloudflare
python312Packages.certbot-dns-cloudflare.dist
python312Packages.certbot-dns-google
python312Packages.certbot-dns-google.dist
python312Packages.certbot-dns-inwx
python312Packages.certbot-dns-inwx.dist
python312Packages.certbot-dns-ovh
python312Packages.certbot-dns-ovh.dist
python312Packages.certbot-dns-rfc2136
python312Packages.certbot-dns-rfc2136.dist
python312Packages.certbot-dns-route53
python312Packages.certbot-dns-route53.dist
python312Packages.check-manifest
python312Packages.check-manifest.dist
python312Packages.cli-helpers
python312Packages.cli-helpers.dist
python312Packages.configobj
python312Packages.configobj.dist
python312Packages.dvc-gdrive
python312Packages.dvc-gdrive.dist
python312Packages.dvc-hdfs
python312Packages.dvc-hdfs.dist
python312Packages.dvclive
python312Packages.dvclive.dist
python312Packages.envisage
python312Packages.envisage.dist
python312Packages.mayavi
python312Packages.mayavi.dist
python312Packages.multiscale-spatial-image
python312Packages.multiscale-spatial-image.dist
python312Packages.pgspecial
python312Packages.pgspecial.dist
python312Packages.west
python312Packages.west.dist
python312Packages.xarray-datatree
python312Packages.xarray-datatree.dist
sabnzbd
silver-platter
silver-platter.dist
terminator
terminator.dist
tribler
variety
variety.dist
vcstool
vcstool.dist

Maintainer pings

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 343520 at 3265cead run on aarch64-darwin 1

:fast_forward: 4 packages marked as broken and skipped:

cloud-init
databricks-sql-cli
pyCA
variety

:x: 14 packages failed to build:

certbot (python312Packages.certbot)
python311Packages.certbot
python311Packages.certbot-dns-cloudflare
python311Packages.certbot-dns-google
python311Packages.certbot-dns-inwx
python311Packages.certbot-dns-ovh
python311Packages.certbot-dns-rfc2136
python311Packages.certbot-dns-route53
python312Packages.certbot-dns-cloudflare
python312Packages.certbot-dns-google
python312Packages.certbot-dns-inwx
python312Packages.certbot-dns-ovh
python312Packages.certbot-dns-rfc2136
python312Packages.certbot-dns-route53

:white_check_mark: 53 packages built:

azure-cli-extensions.rdbms-connect
breezy (python312Packages.breezy)
cabal2nix
devpi-client
dvc (python312Packages.dvc)
dvc-with-remotes
haskellPackages.cabal2nix-unstable
iredis
khal
khard
lbdb
litecli
luarocks-packages-updater
mopidy-iris
mopidy-mopify
mycli
nix-prefetch-bzr
nix-prefetch-scripts
nix-update-source
pgcli (python312Packages.pgcli)
pubs
pysolfc
python311Packages.apptools
python311Packages.breezy
python311Packages.check-manifest
python311Packages.cli-helpers
python311Packages.configobj
python311Packages.dvc
python311Packages.dvc-gdrive
python311Packages.dvc-hdfs
python311Packages.dvclive
python311Packages.envisage
python311Packages.mayavi
python311Packages.multiscale-spatial-image
python311Packages.pgcli
python311Packages.pgspecial
python311Packages.west
python311Packages.xarray-datatree
python312Packages.apptools
python312Packages.check-manifest
python312Packages.cli-helpers
python312Packages.configobj
python312Packages.dvc-gdrive
python312Packages.dvc-hdfs
python312Packages.dvclive
python312Packages.envisage
python312Packages.mayavi
python312Packages.multiscale-spatial-image
python312Packages.pgspecial
python312Packages.west
python312Packages.xarray-datatree
silver-platter
vcstool

Done in https://github.com/NixOS/nixpkgs/commit/87ff0b2cd5c0a80dc99e8675c12789de9a8d4b84.


Last Week in Pony - September 26, 2021

Sean T. Allen has started documentation for setting up a Raspberry Pi 4 Model B to do development of Pony.
https://github.com/ponylang/contributors/blob/main/raspberry-pi-4-development-environment.md

Audio from the September 21, 2021 Pony development sync is available. Lots of fun bug conversation, build system conversation, and Arm 32 conversation.


WAIT_PAUSE of 10ms insufficient

Hi,
I am facing a problem when an individual .executeCommand() call is time consuming and hence is failing with the below Exception:
Mar 02, 2016 1:14:52 PM com.profesorfalken.jpowershell.PowerShellCommandProcessor call
SEVERE: null
java.lang.InterruptedException: sleep interrupted
at java.lang.Thread.sleep(Native Method)
at com.profesorfalken.jpowershell.PowerShellCommandProcessor.continueReading(PowerShellCommandProcessor.java:98)
at com.profesorfalken.jpowershell.PowerShellCommandProcessor.call(PowerShellCommandProcessor.java:70)
at com.profesorfalken.jpowershell.PowerShellCommandProcessor.call(PowerShellCommandProcessor.java:1)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
I am going to try to play with the below variables in the source code:
static final int WAIT_PAUSE = 10;
static final int MAX_WAIT = 2000;
Do you think they should be exposed as part of the constructor for PowerShell?

Please disregard what you see above.  It was a fault in my code.  I learned that files accessed by powershell command should be closed in the java program before running the command

Ok perfect, no problem then :-)


Current install is broken, because latest apns2 (0.6.0) is incompatible

The project doesn't work with the latest apns2 (0.6.0), which is installed, as per setup.cfg: apns2>=0.3.0.
APNS2 did some re-ordering of argument types on payload.Payload which leads to the following error:
>>> dev = APNSDevice.objects.get(pk=35934)
>>> dev.send_message(message="Blah")
Traceback (most recent call last):
  File "/usr/lib/python3.6/code.py", line 91, in runcode
    exec(code, self.locals)
  File "<console>", line 1, in <module>
  File "/project/env/lib/python3.6/site-packages/push_notifications/models.py", line 159, in send_message
    **kwargs
  File "/project/env/lib/python3.6/site-packages/push_notifications/apns.py", line 113, in apns_send_message
    certfile=certfile, **kwargs
  File "/project/env/lib/python3.6/site-packages/push_notifications/apns.py", line 90, in _apns_send
    data = _apns_prepare(registration_id, alert, **kwargs)
  File "/project/env/lib/python3.6/site-packages/push_notifications/apns.py", line 60, in _apns_prepare
    url_args, custom=extra, thread_id=thread_id)
TypeError: __init__() got multiple values for argument 'custom'

The resolution in this case is straight-forward. Either:

Don't install latest APNS2 (<= 0.5.0)
or use only named attributes for all attributes.

Thank you!

Duplicate of #513, closing in favor of that one.

Sorry, I didn't see that one. Thanks!


nixosTest reusable test setup via module system

Describe the problem
Test setup isn't reusable. For example, if you want to have a dns server in my network, you have to duplicate configuration from existing dns server tests. Testing should be easy!
This also brings nixosTest closer to NixOps 2. Interop is feasible (as long as user is ok not to access resources directly but via user-declared network-level options).
Implementation
Refactor nixosTest aka makeTest to take a module instead of regular attrset arguments.
Module composition will allow the creation of modules that affect multiple nodes and/or the test script.
Example module for adding and configuring a DNS server:
{ config, lib, options, pkgs, ... }:

{
  nodes = {
    ns = { nodes, ... }: {
      networking.firewall.allowedUDPPorts = [ 53 ];
      services.bind.enable = true;
      services.bind.extraOptions = "empty-zones-enable no;";
      services.bind.zones = [{
        name = ".";
        master = true;
        file = writeText "root.zone" ''
          $TTL 3600
          . IN SOA ns. ns. ( 1 8 2 4 1 )
          . IN NS ns.
          ${concatMapStringsSep "\n"
            (node: "${node.config.networking.hostName}. IN A ${node.config.networking.primaryIPAddress}")
            (builtins.attrValues nodes)
          }
        '';
      }];
    };
  };
  # `default` is added to all `nodes.*`, type: deferredModule
  default = { config, ... }: {
      networking.dhcpcd.enable = false;
      environment.etc."resolv.conf".text = ''
        nameserver ${nodes.ns.config.networking.primaryIPAddress}
      '';
  };
  # prefixed to testScript, type: lines
  testScriptPrelude = ''
    def wait_dns():
      ns.wait_for_unit("bind.service")
      ns.wait_for_open_port(53)
  '';
}

Example usage:
nixosTest {
  imports = [ nixosTestModules.bind ];
  nodes.foo = /* ... */;
  testScript = ''
    start_all();
    wait_dns();

    # ...
  '';
}

Other module ideas:

Set up a mock mail server and adds assertion methods for checking / waiting for mail arrival
A module that sets up the host sandbox as a binary cache via 9p + local. (might need a tweak in Nix itself, or recursive Nix)
Clean up nixosTest implementation by splitting existing code into modules.

Notify maintainers
@tfc
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
output here

As an example of a cleanup, in a proof of concept where I only refactored makeTest itself, I've simplified the interactivity duplication to a module:
{ config, lib, moduleType, ... }:
{
  options.interactive = mkOption {
    type = moduleType;
    description = ''
      A copy of all test options, that only apply when using the interactive test driver.
    '';
  };
  config = {
    interactive.qemu.package = pkgs.qemu;
    interactive.extraDriverArgs = ["--interactive"];
    passthru.driverInteractive = config.interactive.runner; # compat
  };
}

... thus removing interactivity as a responsibility of any Nix code that doesn't have anything to do with it, while logic that should be affected by interactivity can still set values for all options under interactive.*.
This capability also extends to users' tests, that can now customize the interactive test runner, similar to how users can customize nixos-rebuild build-vm by setting option values in the virtualisation.vmVariant namespace.


Eliminate letters unsupported by the UI + title + ending font

In the following order of preference:

Replace with a synonym that doesn't have the problematic orthography
Replace with the same letter without the problematic diacritic (časoprostor -> casoprostor)

That's an intriguing proposition, thank you! We'll try to identify some candidate replacement fonts (I don't want the game to look too different) and get back to you.


A question about mAP implementation in Chainercv

Dear contributors.
I found out your great mAP calculation at https://github.com/chainer/chainercv/tree/master/chainercv/evaluations
I tried to use your eval_detection_coco.py to calculate mAP for my pytorch object detection. I prepare the 5 inputs pred_bboxes, pred_labels, pred_scores, gt_bboxes, gt_labels in the same type and structure as described on your script. But when I use your script, it showed me wierd result, as in the screenshot I attach below. I think I did something wrong with one or several input out of 5 inputs. But I am quite sure that I follow strictly your instruction. I also attach my code as a zip file. Could you please take a look at the example.py file, to see if I do anything wrong.
It would be also great if you could give me a real examples of the 5 inputs, then it would be easier for me to understand and avoid mistakes.
The inputs I prepare for your eval script are real output from my Yolo implementation at https://github.com/1991viet/Yolo-pytorch
Thank you for your time. I am looking forward to your reply
Best regards,
Here are my script as well as screenshots

Link to my script:
https://drive.google.com/open?id=1cpQIWdYiu9tRr9aHYEb4RE7E3FolaHs_

It would be also great if you could give me a real examples of the 5 inputs, then it would be easier for me to understand and avoid mistakes.

Sample inputs and outputs can be downloaded from here
https://github.com/chainer/chainercv/blob/master/tests/evaluations_tests/test_eval_detection_coco.py#L96
https://github.com/chainer/chainercv/blob/master/tests/evaluations_tests/test_eval_detection_coco.py#L97
The tests are passing, so the function seems to function properly.


Deployment

Deployment
User Story
As a group,
We want out application to be deployed for anyone to access,
So that others can easily find and try our app.
Acceptance Criteria
GIVEN a deployed app,
WHEN I visit the website using the URL,
THEN I can access my website from any browser.

Deployed
Deployed as of March 5!


Insta brtefrce get stuck or stop when attempt, complete status or browser becomes, any two of them get  equal in number. thanks

Hi Pure, hope you are doing good, i had followed your setps for insta brtefrce but found an issue.
when the the complete status while scanning the password the percentage and attempts or browsers counts becomes the same any of two from these 3 becomes the same the scan gets held or stop.
i am attaching the file for reference. u can see the count where the complete status say 0.095% and attempts at 95 as well. kindly check this issue. it comes when any of the three options becomes equal, browser/attempts/complete status in same numbers. screenshot is attached. i always have to restart the scan once the values become equal which then again start from the beginning. thanks looking to hear from you soon Pure.

https://discord.gg/HDyARWh


VAnchor Pallet

Looks like some parachain deps were also added to the standalone runtime. That runtime is meant to be for standalone networks not parachain.


How to grant removableStorage access?

Sorry if submitting this request to the incorrect audience, but I'm struggling to get in contact with someone who's knowledgeable in this area.
Can someone please help me figure out how to grant AppContainer access to USB removable storage that's formatted with a permission-free filesystem like FAT32?
Steps to reproduce

Insert a USB stick with a FAT32 filesystem.
Start LaunchAppContainer.exe -m MyAppContainer -i notepad.exe -c S-1-15-3-10 (SID for "removableStorage" capability mentioned on https://learn.microsoft.com/en-us/windows/uwp/packaging/app-capability-declarations).
From Process Explorer, observe that notepad starts up with "Removable storage" capability:

From notepad, press File -> Open and attempt to access the USB stick.
Observe the following "Access is denied" error:

Gentle reminder.

The removableStorage capability is designed to be used with APIs from the Windows Runtime, such as the Windows.Storage namespace, it has no effect on classic win32 file APIs. Even though the file system in question does not support permissions there is still a security descriptor applied to the storage device hosting the volumes. In the case of USB storage volumes it's most likely using the default security descriptor provided by the IO manager, which does not allow for app container traversal into the volume.

In the case of USB storage volumes it's most likely using the default security descriptor provided by the IO manager, which does not allow for app container traversal into the volume.

Thanks for the explanation @rmicelims . Is there then any way of modifying the default security descriptor you're referring to, so that it becomes accessible from an app container? I'm thinking machine-wide security policy settings or similar.

I don't believe so. The security descriptor is hard coded into the IO manager/associated drivers in the IO stack.
Upon further investigation it seems like the removableStorage capability was intended to be used with Windows Phone or other portable devices, with limited support for Desktop SKUs: https://learn.microsoft.com/en-us/windows/uwp/files/access-the-sd-card
I believe you will need to use the various file picker classes in order to access removable storage devices: https://learn.microsoft.com/en-us/windows/uwp/files/quickstart-using-file-and-folder-pickers
However, this requires setting some properties in an app package manifest, and won't work if you're simply trying to run an existing Win32 app as AppContainer.

I would recommend checking out the new App Isolation feature that's in public preview. It's intended to be used in scenarios where developers want to run an existing Win32 application in AppContainer, with additional support for things like file accesses: https://blogs.windows.com/windowsdeveloper/2023/06/14/public-preview-improve-win32-app-security-via-app-isolation/

I would recommend checking out the new App Isolation feature that's in public preview. It's intended to be used in scenarios where developers want to run an existing Win32 application in AppContainer, with additional support for things like file accesses: https://blogs.windows.com/windowsdeveloper/2023/06/14/public-preview-improve-win32-app-security-via-app-isolation/

My Win32 "applications" in question are actually COM servers in a plugin architecture. They are already compatible with being launched in an AppContainer process through CreateProcessAsUser with PROC_THREAD_ATTRIBUTE_SECURITY_CAPABILITIES parameters - just as in the LaunchAppContainer tool. Everything then works fine, except for USB FAT32 drive access, that's being blocked by the AppContainer.
Can the new App Isolation feature still be used for my scenario where I rely on programmatic process creation?

App Isolation will work for programmatic process creation, however, I believe there will be some UI interaction required in the form of a consent dialog to get access to files on a USB device.


Where can I modify the number of generated points in the program?

The path I planned using your program has too many waypoints, and our trajectory tracking program loads slowly. Can I modify the density of the generated points? I hope the spacing between path points can be set. Where can I modify the number of generated points in the program?

Yes, you can use setDiscretization on the TurningBase you pass into your path planner
https://fields2cover.github.io/api/classf2c_1_1pp_1_1TurningBase.html#classf2c_1_1pp_1_1TurningBase
For example (using tutorial https://fields2cover.github.io/source/tutorials/path_planning.html as basis):
f2c::Random rand(42);
F2CRobot robot (2.0, 6.0);
f2c::hg::ConstHL const_hl;
F2CCells cells = rand.generateRandField(1e4, 5).getField();
F2CCells no_hl = const_hl.generateHeadlands(cells, 3.0 * robot.getWidth());
f2c::sg::BruteForce bf;
F2CSwaths swaths = bf.generateSwaths(M_PI, robot.getCovWidth(), no_hl.getGeometry(0));
f2c::rp::SnakeOrder snake_sorter;
swaths = snake_sorter.genSortedSwaths(swaths);

robot.setMinTurningRadius(2);  // m
robot.setMaxDiffCurv(0.1);  // 1/m^2
f2c::pp::PathPlanning path_planner;

f2c::pp::DubinsCurves dubins;
dubins.setDiscretization(0.1); // the main thing here to change
F2CPath path_dubins = path_planner.planPath(robot, swaths, dubins);

The default discretization is 0.01 m as shown here
https://github.com/Fields2Cover/Fields2Cover/blob/d785d575daf69bb0da70e032d1f11fcd1219db77/include/fields2cover/path_planning/turning_base.h#L92

Thank you @vinnnyr!


A2C does not normalize either advantage estimate or returns ? -> Loss explosion

I am benchmarking OpenAI baselines implementation of A2C in Acrobot-v1.
When testing with Acrobot-v1, it leads to loss explosion, (loss value becomes very large like 20000), then the policy cannot learn anything.
After adding normalization to the returns for the value head, the problem solved.
So it seems the point is that when we allow large max time step for an episode, without normalization, the MSE loss with become very big ?

What policy did you use for the A2C, all the existing ones are uint8 pixel-based? I had a similar issue of value-loss explosion with CartPole using a custom MLP policy, and the issue was that the A2C assumes uint8 observations, so any floating-point observations for example between 0-1 are truncated and lost, possibly it's the same with Acrobot observation space?
Try changing the dtype in this line:
mb_obs = np.asarray(mb_obs, dtype=np.uint8).swapaxes(1, 0).reshape(self.batch_ob_shape)
To:
mb_obs = np.asarray(mb_obs, dtype=self.obs.dtype).swapaxes(1, 0).reshape(self.batch_ob_shape)

Dear guys,
I just got the same problem you described. I tried to implement A2C and run in RoboschoolFlagrunHarder-v1 (open ai roboshool) and just after 100k timesteps all of my loss (pg_loss, value_loss) blow up to 7e5 for example. Then, I used A2C from baselines and after 4M timesteps, an exception of Inf/ NaN global norm occured. I have used the same hyperparameters set up such as 16 workers with 5 timesteps each. The environment's max timestep is 1000.
I will try to normalize the advantage and see what happen.
Thanks.


A command to sanitize the shared cache

Our shared cache seems to gather lots of garbage:

Entries without _key
Entries with missing files

It would be nice to have a --share-check command that would wipe these up in one go, and perhaps produce useful statistics about the contents of the cache

Makes a lot of sense. You probably also want to have some kind of option to "purge" old things from the cache.


MacVim treats pauses in dictation as improperly-formatted new sentences without spacing.

As described in [this answer on Apple Stack Exchange, MacVim     7.4-77 (and other builds) do not seem to properly handle pauses in OS X dictation. This isn't a Vim issue, as Vim 7.4.889 on the same machine Does The Right Thing™.
For example, with MacVim:

I pause hereAnd dictation doesn't add a space.

but Vim itself works fine:

I pause here and dictation does add a space.

It's unclear why MacVim and Vim behave so differently in this regard. Expected behavior would be for MacVim to handle pauses in dictation without creating an improperly-formatted new sentence.

I'm pretty sure it's not vim correctly handling dictation, but Terminal.app. I'll see if I can reproduce this and poke around tonight.

I can't reproduce it except in normal mode, which sort of makes sense. You can't enter text in normal mode, I wouldn't expect you to be able to dictate text in normal mode either. I'd argue the bug (or at least, a bug) is that it works at all in normal mode.
I'm not sure what we can do to fix it in either direction though. Dictation is not implemented by MacVim, it's implemented entirely by the OS and we get no real hooks into it.
As far as I can tell, what happens is that the OS gets the dictated text to any NSTextInput-conforming NSView though the IME events, because those support this notion of marked or (what appears to me) "pending" text which can substantially transform as it appended to. This is useful for many languages with complex character sets like Japanese, because a user can be typing out a word in a simpler set (like hiragana) and the OS will convert it into a single kanji, or similar.
Dictation's output is refined as you speak, so it makes sense to leverage the same system. Unfortunately I don't know of way for us to reasonably tell the IME events for regular input attempts and dictation apart, and I assume we'd still want regular keyboard inputs in IME modes to still trigger normal mode commands?
Worse, as implemented now, dictation causes the IME events to fire when the text view isn't really expecting them, so it munges around in some state that probably is unexpected and has a tendency (from my brief tests) to just completely overwrite the same line over and over or cause rendering artifacts and so on.
I never use input methods other than boring old English so I'm probably not the best person to determine the appropriate behavior here.

The problem I was describing was specifically in insert mode. Other than testing out "press escape key" to enter normal mode, all the misbehaviors I described were while in insert mode with no attempts to change modes.
OS X accessibility is probably what's allowing text to be entered in normal mode, although I'd argue that this is probably a "feature" rather than a bug. However, the problematic behavior is the inability to have sentences with pauses; is there something MacVim is doing (or not doing) when input pauses that might trigger the equivalent of ESCa? I'm not saying that's exactly what it's doing, but that's the apparent behavior that one sees.

MacVim is just handling the "insert this text" and "abandon this IME conversion session" messages the OS sends it. It just doesn't seem to expect to get those messages for anything but actual IME text input, and must have some assumptions built into its handling somewhere that don't hold for when the events are sent as a result of dictation. :\

I don't actually grok what happens when the "IME conversation is abandoned." Is it possible for MacVim to keep listening as long as Dictation is enabled? It seems like not restarting the session might fix the behavior. —Or am I misunderstanding what's happening under the hood?

I don't quite understand it either, it's not an area I'm very familiar with.
But no, MacVim isn't the one doing the "listening," so we can't make it "keep listening." All we get are calls from the OS saying "do this now." We should be handling those events better (which probably means "more correctly")... I'm just not sure how yet.


Unable to Extract V3 Effects from MS50G?

Hi, I'm not sure if this is the right avenue to ask about this, but is there a specific way to get the additional effects added to V3 of the MS50G extracted? I cannot for the life of me figure it out. I have tried using the 3.00 and the 3.10 version of the firmware, but neither seem to have them. I also tried to load the Effect Manager, but that also would not work. Any guidance would be greatly appreciated.
Thanks!

So, you’ve opened the editor with it’s JAR file and pointed it to the firmware you want to extract the effects from?

Hi!
Yes, I am using version 0.99.5 or the JAR and have successfully downloaded all of the effects from the MS60B, MS70CDR and all effects from firmware updates 1.00 and 2.00 of the MS50G. I have been trying to extract the additional effects using the below firmware (as well as the previous version 3.00). I have also tried extracting the version 3.00 effects using the MS50G Effect Manager, but the JAR does not recognize this file. Some of these effects I was able to copy from the MS70CDR, but I can't get any of the Drive or Amp Sim effects from version 3.00.
The specific effects that I cannot extract are as follows:
DRIVES
-CentaGold
-NYC Muff
-TS Drive
-BG Throttle
-OctFuzz
-BG Grid
-Red Crunch
-TB MK1.5
-Sweet Drive
-RC Boost
-Dynamic Drive
AMPS
-FD Vibro
-VX Combo
-BG Crunch
-Match 30
-Car Drive
-Tone City
-HW Stack
-Tangerine
-B-Breaker
-MS Crunch
-MS Drive
-BGN Drive
-BG Drive
-Revo-1
E_MS-50G Effect Manager_Win_2.zip
MS-50G_v3.10_Win_E_2.zip

Hmm, ok...
I did have some issues injecting effects from the 60B to the 70CDR so used effects from the B1ON which worked fine.
Maybe try sourcing the effects from the G/B1ON pedals.
If you haven’t already, maybe have a look at the issues thread I started about not being able to inject effects. Hopefully you can glean some info from it.

I haven't had any issues actually injecting effects into the other pedals. It's simply that the effects that are only available on version 3.00 of the MS50G firmware do not show up in the editor. Some of the effects that I cannot extract from the 50G also do not come on the G/B1ON pedals, so that doesn't solve the problem either.
Is there any repository that has been posted here that has all of the effects pre-extracted?

It's all in the readme file (last paragraph under getting started), including a link to a repository with all the effects pre-extracted: https://github.com/UnnoTed/zoom-ms50g/tree/master/efx_1_00
I extracted the latest version of MS-50G Effect Manager V1.3 (using the instructions in the readme), which includes updated versions of 2 of the effects (Silky Chorus and Dual Digital Delay).

Hi, thank you! I somehow missed that part of the read me. Thanks for pointing me in the right direction!


Peering

This PR address #421. I'm not certain was the best approach is. Here, the gateway will simply stop automatically removing peers when it drops below 3 (they can still be manually removed, though perhaps this should cause a warning). Another way would be to not throw any peers away, but just keep them in a "bad peers" map. Then if we fall below 3 peers, we add the best of the bad peers. Finally, if we fall below 3 peers, we could query the remaining ones for their peers. But this won't help if those peers aren't well-connected themselves.
btw, we should be using SkipNow instead of Skip. Skip produces a log entry, while SkipNow does not.

I like seeing the message that a test was skipped when running '-v'

It still shows up as being skipped:
=== RUN TestTableTennis
--- PASS: TestTableTennis (0.00 seconds)
=== RUN TestRPC
--- PASS: TestRPC (0.00 seconds)
=== RUN TestTimeout
--- SKIP: TestTimeout (0.00 seconds)
=== RUN TestPeerSharing
--- PASS: TestPeerSharing (0.00 seconds)
=== RUN TestBadPeer
--- PASS: TestBadPeer (0.00 seconds)
=== RUN TestBootstrap
--- SKIP: TestBootstrap (0.00 seconds)
PASS
ok  	github.com/NebulousLabs/Sia/modules/gateway	0.005s

vs Skip:
=== RUN TestTableTennis
--- PASS: TestTableTennis (0.00 seconds)
=== RUN TestRPC
--- PASS: TestRPC (0.00 seconds)
=== RUN TestTimeout
--- SKIP: TestTimeout (0.00 seconds)
	gateway_test.go:87:
=== RUN TestPeerSharing
--- PASS: TestPeerSharing (0.00 seconds)
=== RUN TestBadPeer
--- PASS: TestBadPeer (0.00 seconds)
=== RUN TestBootstrap
--- SKIP: TestBootstrap (0.00 seconds)
	peer_test.go:107:
PASS
ok  	github.com/NebulousLabs/Sia/modules/gateway	0.004s

oh. Looks good then.


[Feature request] yt-dlp sponsorblock flags

app version: 1.0.1

[ ] twitch api key set
[x] youtube api key set

would be nice to have

Hi and thanks for enjoying the project!
This is a natural feature to add but due to how I'm using yt-dlp only to get the stream URL and then transcode with ffmpeg on my own with it adding the flag will not work.
The 2 options are:

use the sponsorblock API to add named blocks timestamp to the description (some podcast clients allow for skipping based on chapters names).
Actually tell ffmpeg to cut around the transcoded stream, I still haven't researched it but my guess is that something can be done.

I think I will add the timestamp first and when that is done use the same logic for the the actual stitching of the stream.
If someone comes across this issue feel free to drop any knowledge they have in a possible solution using ffmpeg

Hmm. I'm not very technical, but yt-dlp does allow outputting to stdout using -o -. ffmpeg could then take that from stdin and do what it needs to do

I had experimented with that and I know I had problems so I dropped it as an idea, but can't remember the real reason but I think seeking was one of them, when I have a bit of time I might try again.
Anyway if this article is correct I can also just do multiple ffmpeg commands in sequence and the client should not notice, due to how MPEG works, I will do some research and report back.
http://www.mp3-tech.org/programmer/frame_header.html


pkg_resources.UnknownExtra: typer 0.12.3 has no such extra feature 'all'

When I execute the command melo-ui or melo "Text to read" output.wav, the following stacktrace were printed.
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pkg_resources/__init__.py", line 2791, in requires
    deps.extend(dm[safe_extra(ext)])
KeyError: 'all'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.9/bin/melo", line 33, in <module>
    sys.exit(load_entry_point('melotts', 'console_scripts', 'melo')())
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/click/core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/click/core.py", line 1078, in main
    rv = self.invoke(ctx)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/click/core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
  File "/Users/mingyue/github/MeloTTS/melo/main.py", line 28, in main
    from melo.api import TTS
  File "/Users/mingyue/github/MeloTTS/melo/api.py", line 5, in <module>
    import librosa
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/librosa/__init__.py", line 209, in <module>
    from . import core
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/librosa/core/__init__.py", line 5, in <module>
    from .convert import *  # pylint: disable=wildcard-import
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/librosa/core/convert.py", line 7, in <module>
    from . import notation
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/librosa/core/notation.py", line 8, in <module>
    from ..util.exceptions import ParameterError
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/librosa/util/__init__.py", line 78, in <module>
    from .files import *  # pylint: disable=wildcard-import
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/librosa/util/files.py", line 10, in <module>
    from pkg_resources import resource_filename
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3292, in <module>
    def _initialize_master_working_set():
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3266, in _call_aside
    f(*args, **kwargs)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3304, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pkg_resources/__init__.py", line 600, in _build_master
    ws.require(__requires__)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pkg_resources/__init__.py", line 937, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pkg_resources/__init__.py", line 803, in resolve
    new_requirements = dist.requires(req.extras)[::-1]
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pkg_resources/__init__.py", line 2793, in requires
    raise UnknownExtra(
pkg_resources.UnknownExtra: typer 0.12.3 has no such extra feature 'all'

When I execute the command melo-ui or melo "Text to read" output.wav, the following stacktrace were printed.
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pkg_resources/__init__.py", line 2791, in requires
    deps.extend(dm[safe_extra(ext)])
KeyError: 'all'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.9/bin/melo", line 33, in <module>
    sys.exit(load_entry_point('melotts', 'console_scripts', 'melo')())
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/click/core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/click/core.py", line 1078, in main
    rv = self.invoke(ctx)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/click/core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
  File "/Users/mingyue/github/MeloTTS/melo/main.py", line 28, in main
    from melo.api import TTS
  File "/Users/mingyue/github/MeloTTS/melo/api.py", line 5, in <module>
    import librosa
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/librosa/__init__.py", line 209, in <module>
    from . import core
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/librosa/core/__init__.py", line 5, in <module>
    from .convert import *  # pylint: disable=wildcard-import
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/librosa/core/convert.py", line 7, in <module>
    from . import notation
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/librosa/core/notation.py", line 8, in <module>
    from ..util.exceptions import ParameterError
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/librosa/util/__init__.py", line 78, in <module>
    from .files import *  # pylint: disable=wildcard-import
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/librosa/util/files.py", line 10, in <module>
    from pkg_resources import resource_filename
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3292, in <module>
    def _initialize_master_working_set():
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3266, in _call_aside
    f(*args, **kwargs)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3304, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pkg_resources/__init__.py", line 600, in _build_master
    ws.require(__requires__)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pkg_resources/__init__.py", line 937, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pkg_resources/__init__.py", line 803, in resolve
    new_requirements = dist.requires(req.extras)[::-1]
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pkg_resources/__init__.py", line 2793, in requires
    raise UnknownExtra(
pkg_resources.UnknownExtra: typer 0.12.3 has no such extra feature 'all'

Env
OS: Mac Monterey 12.7.4
Chip: Intel i7
Python: 3.9
pip: 19.2.3

Interesting，this error disappeared after I upgrade pip3 to 24.0

My solve for this was using python 3.10

I had tried many solutions.
pip install ''typer[all]<0.12"
It's the best method for python3.9.


Tracking: high availability for Meta service

To support Meta's high availability, we need to do some refactor in Meta service:
Leader election

[x] #6752
[x] https://github.com/risingwavelabs/risingwave/issues/6936
[x] #6753
[x] #6786
[x] #6771
[x] #6534

Service discovery

[ ] #6754
[ ] #6755
[ ] #6787 (part of 6755)
[x] #6845 (To fix)

State persistence (DONE natually)
Test

[x] #6884
[ ] #7533

Others

[ ] Importing meta information to grafana dashboard
[ ] Enable meta HA setup in operator
[ ] Crate Meta K8s Service in cloud setup

Design Docs: https://singularity-data.quip.com/8gMGA3kSZVMR/HA-for-Meta

Looking forward to work on this task. However I am still working on a different kernel task and will be at KubeCon next week. I will start with this the earliest at the beginning of November.

added a new task "support connecting to multiple meta-node on compute-node"

Failover works, but Hummock crashes: https://github.com/risingwavelabs/risingwave/issues/6534

support connecting to multiple meta-node on compute-node

@yezizp2012 I do not understand this part: My understanding is that the meta HA setup is a single-leader-system (see design docs). Therefore we only ever connect to one instance.
Is my understanding correct @fuyufjh ?

support connecting to multiple meta-node on compute-node

@yezizp2012 I do not understand this part: My understanding is that the meta HA setup is a single-leader-system (see design docs). Therefore we only ever connect to one instance. Is my understanding correct @fuyufjh ?

IIUC, This should refers to the refactoring of the meta client? @skyzh right?

IIUC, this should refers to the refactoring of the meta client: meta client should be able to connect and retrieve leader information from multi-meta nodes, which requires a get_leader_addr interface in meta.

Yes. After that we can modify risedev to provide multiple meta addresses to compute nodes and frontend nodes. Currently it only picks the first one (see risedev warning)

Thank you very much for the clarifying. I would suggest that the change in the client and the change in the meta enabling a follower service which supports get_leader_addr will be done in separate PRs.

First version of the failover handling is done. Please have a look: https://github.com/risingwavelabs/risingwave/pull/6466
There are a few things in the PR missing:

e2e tests. I do not know how best to approach that. Please let me know if you have suggestions
Currently we do busy-wait to do elections. ETCD also provides an update API afaik. I guess that this will require quite a reqwrite, which is why I would like to do this as future work.
Meta crashes on failover because of https://github.com/risingwavelabs/risingwave/issues/6534. Will be addressed in future PR

added a new task "support connecting to multiple meta-node on compute-node"

Is this still up to date? I do not see the subtask @skyzh

added a new task "support connecting to multiple meta-node on compute-node"

Is this still up to date? I do not see the subtask @skyzh

That should be a part of #6755 .

Tests are still running, but my guess is that https://github.com/risingwavelabs/risingwave/pull/6771 is ready for review. This is a minor tasks overall, but merging it would still simplify further steps. Let me know if you have any objections or suggestions to the PR.

I currently have 2 PRs that are ready for review.

https://github.com/risingwavelabs/risingwave/pull/6771: Introduces graceful shutdown of services. This is only indirectly related to the HA setup. It will simplify further development.

https://github.com/risingwavelabs/risingwave/pull/6792: Introduces the election mechanism, but does not introduce any failover (see features and limitations here). My expectation is that this does not affect our current setup, because we only ever deploy one meta node, which hopefully  always becomes leader. PR reduces code coverage, because I delete a unittest which is no longer needed in a HA setup (also see #3398 )

CC @arkbriar

https://github.com/risingwavelabs/risingwave/pull/6937 is ready for review. Please view the issue for features and limitations.

The fencing PR is ready for review. The CI pipeline is green. Also see https://github.com/risingwavelabs/risingwave/issues/6786.
Maybe we can get this merged before New Years :)

Fencing is merged. Thank you very much for your guidance and approval @yezizp2012

https://github.com/risingwavelabs/risingwave/pull/7248/ is ready for review.

Client is able to failover to new meta node
Failover may require a few seconds. Meta nodes initially report stale leader information until election is finished


"Menu" button works incorrectly when focus on an item in Folder View

VSCode Version: 1.47.3
OS Version: Windows_NT x64 10.0.18362

Steps to Reproduce:

Open folder in vscode
Focus on Folders View
Press menu key to simulate Right Mouse Click on some folder.

Demo:
As you can see, the focus is on XMindAPI folder, but the wrong item is selected. It is not even a folder in this case.

Notes: This does not happen if you press some control keys. E.g. LAlt + Menu

Does this issue occur when all extensions are disabled?: Yes

There is already an issue for this 100% I am just not sure which one exactly it is. Maybe search for issue tagged with file-explorer

Ref: #100151


Added MANIFEST.in to include license and README.

To fix the conda-forge deployments (https://github.com/conda-forge/staged-recipes/pull/8034), the LICENSE.txt file must be included in the package on PyPI. This PR adds a MANIFEST.in to specify that inclusion.

Codecov Report

Merging #17 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master      #17   +/-   ##
=======================================
  Coverage   80.75%   80.75%
=======================================
  Files          10       10
  Lines         504      504
  Branches      101      101
=======================================
  Hits          407      407
  Misses         72       72
  Partials       25       25

Impacted Files
Coverage Δ

persim/_version.py
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

Codecov Report

Merging #17 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master      #17   +/-   ##
=======================================
  Coverage   80.75%   80.75%
=======================================
  Files          10       10
  Lines         504      504
  Branches      101      101
=======================================
  Hits          407      407
  Misses         72       72
  Partials       25       25

Impacted Files
Coverage Δ

persim/_version.py
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Fixed Dockerfile entrypoint to use the script instead of pure bash

As stated on issue #20 , on Docker the app doesn't work.
Checking, the Dockerfile was using entrypoint "bash" instead of the "/entrypoint.sh" needed for the app.

Why do we need to remove the entry point? I'm pretty sure it was working last time I checked

https://github.com/excludarr/excludarr/blob/main/entrypoint.sh#L64
The entry point accepts all the flags you give to docker as if you were passing them to the program directly

I'm pretty sure the guy who opened the issue just didn't mount the volume to the docker and it can't find it

It's not removing the entrypoint, but change it from "bash" to "/entrypoint.sh".
Investigating further, it was changed on one of the commits on PR #17 (https://github.com/barsa2000/forked_excludarr/commit/95d4b12a17d0495e95b9716597b7be078287f7f0), which we didn't see, obviously

I'm pretty sure the guy who opened the issue just didn't mount the volume to the docker and it can't find it

I've tried it with the published image, and based on the instructions in the README, we would have to either change the entrypoint, or change the command to
docker run -it --rm --env-file excludarr.env excludarr/excludarr:latest /entrypoint.sh radarr ...

the strange thing is that if you build and run the dockerfile instead of pulling from the registry the command works.
if you try to run docker buildx build --tag=excludarr --load . and then docker run -it --rm --env-file .examples/docker_example.env excludarr radarr exclude -a delete -d -e --progress it works

ohhhhh I got it, when we do docker run with a command the entrypoint is overridden so it does not get executed for some reason.
I'm not really sure why docker does this, given that the entrypoint should get overridden only if done explicitly with the --entrypoiny flag. docker run should override only CMD. was the image on the registry created with the latest commit? because I think it was pushed with an older version that did not have the entrypoint correctly set.

Oh, my bad, I totaly misread the PR, i read it backwards thinking that you were removing the entrypoint for some reason, I'm really sorry :)


Add status support to remove upstart scripts

Can you explain your use case for this functionality?  We try not to account for all the possible states that can arise from changes over time.  We start all systems from a "clean" state so if you were to want to remove something in a new system it would never be placed on the system in the first place.  If you feel we are incorrect in this line of thought please let us know.

I do feel that this line of thought is a bit simplified compared to the ansible philosophy. In ansible we describe the state the system must be found in, not just the steps to get there from some known starting position (i.e. a 'clean' system). Being able to get a clean system is a luxury not every setup has. So a simple use case is changing the configuration, just removing old upstart scripts.
Te be honest, this pull request I used as a learning tool for ansible as well as test kitchen, I since moved away from this custom upstart script generation to foreman. But I could return back to it in some other project, I see value in this role.

Team Approved, @ilyapoz would you be able to fix the merge conflict and we will merge it in asap.


cntlm: does not work properly compared to Ubuntu

Describe the bug
Copied from from an email that I received:
 Dear maintainers,
i am trying cntlm on nixos as the company i work for is using one of those corporate proxy..
after configuring cntlm on a nixos vm, i noticed it was not working.
i started comparing an ubuntu vm with cntlm with the nixos vm with cntlm. i am using same configuration in both machines the authorization on the nixos machine looks wrong:

i masked some sensitive information:

NIXOS

******* Round 1 C: 5 *******
Reading headers (5)...
HEAD: CONNECT www.google.com:443 HTTP/1.1
NO: www.google.com (localhost)
NO: www.google.com (127.0.0.*)
NO: www.google.com (10.*)
NO: www.google.com (192.168.*)
NO: www.google.com (*.europe.intranet)
NO: www.google.com (*.intranet)
NO: www.google.com (*.ing.net)
NO: www.google.com (*.local)
Thread processing...
cntlm[3090]: Using proxy giba-proxy.xxxxxxx.net:8080
cntlm[3090]: Resolving proxy giba-proxy.xxxxxxx.ing.net...
Resolve giba-proxy.xxxxxxxx.net:
-> <IP_ADDRESS>
Host => www.google.com:443
User-Agent => curl/7.76.1
Proxy-Connection => Keep-Alive
cntlm[3090]: <IP_ADDRESS> CONNECT www.google.com:443
NTLM Request:
Domain: AD
Hostname: nixos
Flags: 0xA208B205
Sending PROXY auth request...
Host => www.google.com:443
User-Agent => curl/7.76.1
Proxy-Connection => keep-alive
Proxy-Authorization => NTLM OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO0OO

Content-Length => 0

Reading PROXY auth response...
HEAD: HTTP/1.1 407 authenticationrequired
Date => Thu, 28 Oct 2021 07:09:37 GMT
Content-Type => text/html
Cache-Control => no-cache
Content-Length => 12637
X-Frame-Options => deny
Proxy-Connection => Keep-Alive
Proxy-Authenticate => Negotiate
Proxy-Authenticate => NTLM
Discarding 12637 bytes.
cntlm[3090]: Proxy returning invalid challenge!
Sending headers (6)...
Host => www.google.com:443
User-Agent => curl/7.76.1
Proxy-Connection => keep-alive
No body.
******* Round 2 C: 5, S: 6 (authok=0, noauth=0) *******
Reading headers (6)...
HEAD: HTTP/1.1 407 authenticationrequired
Date => Thu, 28 Oct 2021 07:09:37 GMT
Content-Type => text/html
Cache-Control => no-cache
Content-Length => 12637
X-Frame-Options => deny
Proxy-Connection => Keep-Alive
Proxy-Authenticate => Negotiate
Proxy-Authenticate => NTLM
Sending headers (5)...
Body included. Length: 12637
data_send: read 2048 of 2048 / 2048 of 12637 (errno = ok)
data_send: wrote 2048 of 2048

UBUNTU:
Resolve <redacted>:
-> <redacted>
Host => www.google.com:443
User-Agent => curl/7.74.0
Proxy-Connection => Keep-Alive
cntlm[1371]: <IP_ADDRESS> CONNECT www.google.com:443
NTLM Request:
Domain: AD
Hostname: <redacted>
Flags: 0xA208B205
Sending PROXY auth request...
Host => www.google.com:443
User-Agent => curl/7.74.0
Proxy-Connection => keep-alive
Proxy-Authorization => NTLM TOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO1VLVZJUlRVQUxCT1hBRA==
Content-Length => 0
Reading PROXY auth response...
HEAD: HTTP/1.1 407 authenticationrequired
Date => Thu, 28 Oct 2021 07:01:22 GMT
Content-Type => text/html
Cache-Control => no-cache
Content-Length => 0
X-Frame-Options => deny
Proxy-Connection => Keep-Alive
Proxy-Authenticate => NTLM TlRMEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE=
NTLM Challenge:
Challenge: 7984431D8955214B0 (len: 92)
Flags: 0xA0898205
Server: <redacted>
NT domain: ad
TBofs: 52
TBlen: 40
ttype: 0

so in case of ubuntu a proper negotiation is done, (i see the proxy authenticate sending some kind of base64 auth ? ) while on nixos that is not the case.
now, this is the moment where everything gets weird as i tried to compile the source  (sourceforge tgz on both cases) on both vms and the behaviour is always the same: good on ubuntu fail on nixos.

ldd ./cntlm
linux-vdso.so.1 (0x00007ffdee1ba000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f9a7566d000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f9a75481000)
/lib64/ld-linux-x86-64.so.2 (0x00007f9a756bc000)

ldd ./cntlm
linux-vdso.so.1 (0x00007ffc93a4b000)
libpthread.so.0 => /nix/store/jsp3h3wpzc842j0rz61m5ly71ak6qgdn-glibc-2.32-54/lib/libpthread.so.0 (0x00007fc62ddbe000)
libc.so.6 => /nix/store/jsp3h3wpzc842j0rz61m5ly71ak6qgdn-glibc-2.32-54/lib/libc.so.6 (0x00007fc62dbfd000)
/nix/store/jsp3h3wpzc842j0rz61m5ly71ak6qgdn-glibc-2.32-54/lib/ld-linux-x86-64.so.2 => /nix/store/jsp3h3wpzc842j0rz61m5ly71ak6qgdn-glibc-2.32-54/lib64/ld-linux-x86-64.so.2 (0x00007fc62dde1000)

Steps To Reproduce
Steps to reproduce the behavior: TBD
Expected behavior
TBD
Screenshots
None.
Additional context
Ubuntu seems to be working differently to nix package.
Notify maintainers
@carlosdagos
@qknight
Metadata

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:

Had the same problem @carlosdagos . For some reason, if the hostname is nixos it does not work. Changing it to something different worked.
I recompiled the same version from source in both Ubuntu and NixOs and used the -M together with the -v argument to test the configuration. I noticed that the only difference was the hostname. Changing the hostname to something other than nixos worked. Seems like a very strange behavior, but I did not investigated further to know exactly why this is.
I know that you report was years ago, so I'm just commenting here in case anyone else hits the same problem.

I changed the hostname on the Ubuntu machine to nixos and it also fails. So both NixOS and Ubuntu have the same behavior. It appears to be an upstream bug or a bug with the NTLM server.


fix(meta): do not split by vnode for low write throughput

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
If a group does not write much data after split, we may generate too many small files in level-0. This PR will fix this case by control whether to cut sstable by vnode partition
Checklist

[ ] I have written necessary rustdoc comments
[ ] I have added necessary unit tests and integration tests
[ ] I have added fuzzing tests or opened an issue to track them. (Optional, recommended for new SQL features #7934).
[ ] My PR contains breaking changes. (If it deprecates some features, please create a tracking issue to remove them in the future).
[ ] All checks passed in ./risedev check (or alias, ./risedev c)
[ ] My PR changes performance-critical code. (Please run macro/micro-benchmarks and show the results.)

[ ] My PR contains critical fixes that are necessary to be merged into the latest release. (Please check out the details)

Documentation

[ ] My PR needs documentation updates. (Please use the Release note section below to summarize the impact on users)

Release note
If this PR includes changes that directly affect users or other significant modifications relevant to the community, kindly draft a release note to provide a concise summary of these changes. Please prioritize highlighting the impact these changes will have on users.

Although this PR reduce many small file but I find that it may cause more large task and the write-amplification also increase a little.

The problem which choose too many files in compact task 0-->base has been fixed.
To solve this problem, I refactor the score calculate to prevent no split level compact to base level.

@zwang28 @hzxa21  PTAL

PTAL @hzxa21

https://github.com/risingwavelabs/risingwave/issues/13876

There are several changes in main recently. I think we can rebase main and re-run the experiments to verify the results of this PR.

There are several changes in main recently. I think we can rebase main and re-run the experiments to verify the results of this PR.

I run a benchmark test for nexmark q5,q7,q9,q10,q15,q16,q19,q20. It does not matter for performance


Example for Interrupthandling

Can you please add an example for handling of PCA9535 interrupts on an ESP32 for reading the input state of the port which triggered the IR.

There is no such plan. A simple interrupt example would suffice, so an example specific to this library is unnecessary.


Add option --topLevel to cpg-neo4j application

This PR adds the option --topLevel to the cpg-neo4j application, to specify the topLevel directory of the source code to be analyzed. The topLevel attribute of the TranslationConfiguration is optional and is mainly/only used by the java language frontend. If no topLevel is given, the java language frontend calculates it based on the largest common path over all source files.
See:
https://github.com/Fraunhofer-AISEC/cpg/blob/599b44aa57b74a17b7d68356eada2faebaa35e0b/cpg-core/src/main/java/de/fraunhofer/aisec/cpg/frontends/java/JavaLanguageFrontend.kt#L494-L497
The second commit does some smaller clean up and refactor.

Seems to have some conflict after merging in previous PRs, @peckto

Merge conflicts are solved now


split ui store into UI and persistentUI

This PR splits the ui store into persistentUi and ui,  and maintains all functionality.
The story:  PT-186086638 also includes the mobx listener that will write the serialized persistentUi state to firebase, but that feature will be implemented in the next PR.
Tasks

[x] 1. Change ui.ts to persistent-ui.ts
[x] 2. Make sure all the imports update, too
[x] 3. In use-stores.ts, and change those names e.g. useUiStore and their calls
[x] 4. Extract the ones we will NOT be syncing into store.ui. It could be useful to start with the dialog ones.
[x] 5. Restore functionality (will need to go back and re-rename the relevant stuff).
[x] 6. Restore tests
[x] 7. Consider converting now working ui store to be a mobx class instead
saving the above for another time
[x] 8. Implement onSnapshot handler as described in Google doc - This was originally implemented here, but we took it out and will include it in the next PR. The work is visible in this commit:

@bacalj and @dennisrcao because this PR doesn't add any new features or fix any bugs, I think it is OK to skip the review by QA.
@tejal-shah I've been doing this for several PRs recently, please let me know if you are finding it would have been better if you reviewed these before they were merged to master.

That is fine @scytacki . All PRs for which we're skipping QA reviews have been backend changes with little or no impact on the UI and hence no straight-forward way for testing. Please let me know if this one is different and I can get it reviewed/tested.

That is fine @scytacki . All PRs for which we're skipping QA reviews have been backend changes with little or no impact on the UI and hence no straight-forward way for testing. Please let me know if this one is different and I can get it reviewed/tested.

HI @tejal-shah - right this just splits up the existing ui model into two models - the behavior for users remains exactly the same


Recent posts section documentation

I know you were not looking to update these posts yourself until you had updated the theme. But as you have said in some of your other posts, that might be a while. I figure I could add some of this stuff to give back while you take the time you need.
This post does include the documentation for hugo-toha/toha#395's change as well. If there is anything you would like me to update about this post just let me know.

I just realized I had my dark mode extension on when I took that screen shot.


rustfmt working differently on OS X vs Linux?

Look at this build: https://travis-ci.org/steveklabnik/rustdoc/builds/323617392
It passes on Linux, but fails with a different diff on OS X. Very odd!

Looks like in macOS older version of rustfmt is being used. In rustfmt.sh, you are installing rustfmt (not rustfmt-nightly) when rustfmt binary is not found. Please update this script to install rustfmt-nightly.
I am not sure why there is a difference between two OS. It seems to me that in Linux rustfmt is included to nightly toolchain, whereas in macOS it is not.
Is there a time lag between two OS on when the nightly update occur? rustfmt had not been included to the recent nightly toolchain, but the PR to update rls and rustfmt got merged to rustc a few days ago. It could be the case that this change appeared in Linux earlier than macOS.

In rustfmt.sh

This isn't being called; it's being installed as a component https://travis-ci.org/steveklabnik/rustdoc/jobs/323617394#L90

rustfmt had not been included to the recent nightly toolchain,

It does seem to be installing, via the logs, right?

Deleting the cargo cache made the build pass. My guess is, rustfmt was cached, and for some reason it used the cached version instead of the real one? https://travis-ci.org/steveklabnik/rustdoc/jobs/323672242


Replace solarized-dark-grey-nodes.css with a settings.js configuration

Node-RED supports setting node colors in settings.js. This removes the need for awkward CSS trickery to change the node colors in CSS. The CSS colors need to be moved to a JS/JSON file which can then be required directly from node_modules in settings.js.
Settings file syntax for reference:
{
  editorTheme: {
    palette: {
      theme: [
        // Override node colours - rules test against category/type by RegExp.
        { category: ".*", type: ".*", color: "#f0f" }
      ]
    }
  }
}

Hi. wondering if there is any documention on this for node-red I dont understand how to convert the css files to work with this. and Regx Im horrible at.. lol


updated some language - pt-BR and EN

Hello, with the new version of Bludit v4.0 rc1, I would like to close the old Github issues. If you feel that your issue is not resolved in the latest version, create a new ticket.

Help and Support use the Forum https://forum.bludit.org
Bugs and new requests here in Github https://github.com/bludit/bludit/issues


Updating repo license to APL-2.0

Description
Updating repo license to APL-2.0, as part of the movement in Konveyor community.
Type of Change
Please check the types of changes your PR introduces.

[ ] Bug fix (non-breaking change that fixes an issue)
[ ] New feature (non-breaking change that adds functionality)
[ ] Refactoring (non-breaking code restructuring that preserves functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Build-related update (CI workflow, test cases)
[ ] Documentation update
[x] Other (please describe):

Checklist

[X] My code follows the style guidelines of this project
[X] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

@rachelt44 Just to help you to adapt the license to APL-2.0, as it is requested by the Konveyor Community.

Implemented and merged via PR: https://github.com/konveyor/tackle-test-generator-core/pull/144. Thanks!


Update astropy-helpers to 1.2

Coverage decreased (-0.3%) to 81.346% when pulling 4566c2dd112d52c051303327a0df0db997fe3a2e on keflavich:helper-update into 194f04983d1b5628aedba36db79960a59607d6bb on radio-astro-tools:master.

updated to 2.0.1 in #81


WIP: cats-effect-3 on dotty

The dotty branch and the cats-effect-3 branch are going to need to reunite at some point.  When dotty lands in series/0.21, this should land in cats-effect-3.  If cats-effect-3 lands in main before dotty lands in series/0.21, then this should retarget main.
I don't plan to maintain this as much as the other feature branches, but frequent integration is important.

This one has gnarly, diamond-dependent branches, and won't be necessary.

This one has gnarly, diamond-dependent branches, and won't be necessary.