Execution of 'brew install boxen/brews/nginx --with-http2 fails

My Boxen fails with this error output:
Already downloaded: /opt/boxen/cache/homebrew/nginx-1.10.2-boxen1.tar.gz
==> ./configure --prefix=/usr/local/Cellar/nginx/1.10.2-boxen1 --with-http_ssl_module --with-pcre --with-ipv6 --with-cc-opt=-I/usr/local/opt/pcre/include -I/usr/local/opt/openssl/include --with-ld-opt=-L/usr/local/opt/pcre/lib -L/usr/local/opt/openssl/lib --conf-path=/opt/boxen/config/nginx/nginx.conf --pid-path=/opt/boxen/data/nginx/nginx.pid --lock-path=/opt/boxen/data/nginx/nginx.lock --with-http_v2_module
==> make
==> make install
Last 15 lines from /Users/rozzette.argao/Library/Logs/Homebrew/nginx/03.make:

make -f objs/Makefile install
test -d '/usr/local/Cellar/nginx/1.10.2-boxen1' || mkdir -p '/usr/local/Cellar/nginx/1.10.2-boxen1'
test -d '/usr/local/Cellar/nginx/1.10.2-boxen1/sbin' \
		|| mkdir -p '/usr/local/Cellar/nginx/1.10.2-boxen1/sbin'
test ! -f '/usr/local/Cellar/nginx/1.10.2-boxen1/sbin/nginx' \
		|| mv '/usr/local/Cellar/nginx/1.10.2-boxen1/sbin/nginx' \
			'/usr/local/Cellar/nginx/1.10.2-boxen1/sbin/nginx.old'
cp objs/nginx '/usr/local/Cellar/nginx/1.10.2-boxen1/sbin/nginx'
test -d '/opt/boxen/config/nginx' \
		|| mkdir -p '/opt/boxen/config/nginx'
cp conf/koi-win '/opt/boxen/config/nginx'
cp: /opt/boxen/config/nginx/koi-win: Operation not permitted
make[1]: *** [install] Error 1
make: *** [install] Error 2

If reporting this issue please do so to (not Homebrew/brew or Homebrew/core):
boxen/brews

/usr/local/Library/Homebrew/utils/github.rb:226:in `raise_api_error': curl failed!  (GitHub::Error)
	from /usr/local/Library/Homebrew/utils/github.rb:184:in `open'
	from /usr/local/Library/Homebrew/utils/github.rb:233:in `issues_matching'
	from /usr/local/Library/Homebrew/utils/github.rb:272:in `issues_for_formula'
	from /usr/local/Library/Homebrew/exceptions.rb:369:in `fetch_issues'
	from /usr/local/Library/Homebrew/exceptions.rb:365:in `issues'
	from /usr/local/Library/Homebrew/exceptions.rb:419:in `dump'
	from /usr/local/Library/Homebrew/brew.rb:133:in `rescue in <main>'
	from /usr/local/Library/Homebrew/brew.rb:26:in `<main>'
Wrapped exception:
Execution of 'brew install boxen/brews/nginx --with-http2' returned 1: Updating Homebrew...
==> Homebrew has enabled anonymous aggregate user behaviour analytics.
Read the analytics documentation (and how to opt-out) here:
  https://docs.brew.sh/Analytics.html

I have no luck in solving this issue by updating my puppet-Nginx. Can you please provide some possible solution with this? Thank you very much!

The issue here appears to be the following lines
cp: /opt/boxen/config/nginx/koi-win: Operation not permitted
make[1]: *** [install] Error 1
make: *** [install] Error 2

Are you able to check the permissions on that directory/files?

Yes, I've already checked the solution on chown-ing that certain file but still the error persist.

I've just run this inside of a VM on Sierra and cannot reproduce the issue. Would you be able to share more information on your setup to help me debug it?

Oh sorry, I forgot my running OS. I'm running this issue on OS X 10.11.6
Here is my Puppetfile which might help:
github "brewcask",        "0.0.7"
github "dnsmasq",         "2.0.2"
github "foreman",          "1.2.0"
github "gcc",                 "3.0.4"
github "git",                   "2.11.0"
github "go",                   "2.1.0"
github "homebrew",      "2.1.0"
github "hub",                  "1.4.4"
github "inifile",               "1.4.1", :repo => "puppetlabs/puppetlabs-inifile"
github "nginx",               "1.8.0", :repo => "boxen/puppet-nginx"
github "nodejs",             "5.0.6"
github "openssl",           "1.0.0"
github "phantomjs",      "3.0.0"
github "pkgconfig",       "1.0.0"
github "repository",       "2.4.1"
github "ruby",                "8.5.6", :repo => "boxen/puppet-ruby"
github "puppetmoduledata", "0.0.4", :repo => "ripienaar/puppet-module-data"
github "stdlib",          "4.7.0", :repo => "puppetlabs/puppetlabs-stdlib"
github "sudo",            "1.0.0"
github "xquartz",         "1.2.2", :repo => "toro-io/puppet-xquartz"

#! Deprecated Puppets
# these puppets are apps that can be installed via homebrew and are symlinked,
# and doesn't require environment settings, it would also mean that forked
# puppets will no longer need maintenance everytime the application updates
github "mongodb",          "1.4.1"
github "mysql",                "2.1.2"
github "osx",                    "2.8.0"
github "python",              "2.0.1"
github "postgresql",        "9.6.0"
github "redis",                  "3.2.1"
github "sysctl",                "1.0.1"
github "tunnelblick",        "1.0.8"
github "vagrant",              "3.3.3"
github "wget",                  "1.0.1"
github "virtualbox",          "1.0.14"
github "ohmyzsh",           "1.0.0",  :repo => "erivello/puppet-ohmyzsh"
github "java",		          "0.0.3",  :repo => "betterment/puppet-jenv"
github "zsh",		          "1.0.0"
github "robomongo",	  "1.0.0",  :repo => "coreone/puppet-robomongo"

tried using 1.7 and 1.8 version of Nginx but have the same problem.
Thank you for your precious time @jacobbednarz appreciate it.

Could you try #51? I admit, I usually run with SIP off because I use dtrace heavily and that might be a factor here. Spinning up another VM as I type but it would be good to see if that PR resolves it for you.

I'm on Sierra and faced exactly the same issue, trying to debug here... just confirming the error and I comment here if find any solution

See https://github.com/boxen/puppet-nginx/pull/51#discussion_r135148375 which seems to be the issue.

yeah @jacobbednarz you're 100% right.. thank you for quick reply and pointing me there..
installed and it's working fine here, thank you!


Roccat Vulcan two keys dont work!

Expected Behaviour
All keys should light up
Actual Behaviour
The # and < Key does not light up but they get recognized by the software! If you look on the preview you can see the keys light up but not on the keybord. I tried many keyboard layouts...
Reproduction steps
Add a solid fill color layer or any other effect
Frequency
Every time
Aurora Version:
beta 0.7.2
Previously an Issue?
New Keyboard, i dont know

Are you selected the appropriate "preferred keyboard layout" value?
Which is some uk layout.

This might be one of the issues fixed in the dev builds, i'm not 100% sure.
I think the relevant PR is #1891
Please test one of the dev builds here: https://ci.appveyor.com/project/antonpup/aurora/branch/dev/artifacts

This might be one of the issues fixed in the dev builds, i'm not 100% sure.
I think the relevant PR is #1891
Please test one of the dev builds here: https://ci.appveyor.com/project/antonpup/aurora/branch/dev/artifacts

I bought this keyboard today and had the same issue. The solution whtt diogotr7 wrote solved it.
As preferred Keyboard Layout i use: Automatic Detection
As preferred Keyboard i use: Roccat Ryos


Docker daemon is not getting started. docker.service failed

Hi ,
I am not able to start the docker daemon on RHEL with below environment
$>uname -r
3.10.0-327.el7.x86_64
$>docker --version
Docker version 1.9.1, build a34a1d5
I see the following error when i ener journalctl -xe
/usr/bin/docker: relocation error: /usr/bin/docker: symbol dm_task_get_info_with_deferred_remove, version Base not defined in file libdevmapper.so.1.02 with link time reference

If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
For more information about reporting issues, see CONTRIBUTING.md.
You don't have to include this information if this is a feature request
(This is an automated, informational response)

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO

Did you make sure all your packages were up to date before installing docker? Also see; https://github.com/docker/docker/issues/12108
Which steps did you take to install docker? Dit you use curl -sSL https://get.docker.com | sh, or the manual procedure, as described in https://docs.docker.com/engine/installation/rhel/ ?

I followed the manual procedure as described in https://docs.docker.com/engine/installation/rhel/

Could you try installing/updating device-mapper-event (that seemed to solve the other issue I linked to),
/cc @rhvgoyal perhaps you have additional suggestions here

Thanks @thaJeztah . I will try and let you know

Updated the RHEL to 7.2 and reinstalled the docker. It is working now

Thanks! Good to hear you resolved your issue

@mohanrao, good that upgrade to 7.2 resolved your issue. I think there was a short window where libdevmapper had symbol issue and it was fixed later. And that's the reason upgrade fixed the issue for you too.


automatically sourcing setup/teardown scripts?

Bats allows for setup and teardown functions inside individual test cases. Is there a way to have a setup script sourced at the start of the test run to establish convenience functions and the like? It's a pain to have to remember to load such a script at the top of every test script. Thanks.

@bje- This project is no longer being actively maintained by its original autoher (see #236).
You might want to migrate to the community maintained fork bats-core and report your issue there.


Reorganize other methods

[ ] arithmetic operators for std::array and std::vector
[x] approximate comparison
[ ] hermitian
[x] mathematical constants
[x] mathematical functions
[x] in_brillouin_zone
[ ] cquad

Updated action items:

[ ] arithmetic operators for std::array and std::vector
[x] approximate comparison
[x] mathematical constants
[x] mathematical functions
[x] in_brillouin_zone


[C++] write_dataset: max_open_files does not close least recently used file

Describe the bug, including details regarding any error messages, version, and platform.
On the latest version of pyarrow (18.0.0), according to the docs of pyarrow.dataset.write_dataset, when max_open_files is reached, the least recently used file will be closed. (https://arrow.apache.org/docs/python/generated/pyarrow.dataset.write_dataset.html)
However in the C++ code of dataset writer, what actually happens is the largest file is closed. (https://github.com/apache/arrow/blob/main/cpp/src/arrow/dataset/dataset_writer.cc#L656)
For long running dataset writes with many partitions, this means that once max open files is saturated, over time the set of open files will trend towards being smaller and smaller in size. Recently opened files can begin to be closed prematurely, while old open files can hang around and take up a file slot.
It would probably make sense for C++ behaviour to be brought in line with the docs, which should be to close the least recently used file rather than the largest file, with the rationale that the least recently used file is more likely to be finished permanently.
A solution could be to store the last write time whenever DatasetWriterDirectoryQueue::StartWrite() is called (maybe someone more knowledgeable about the codebase can suggest somewhere better), and use that to replace DatasetWriter::TryCloseLargestFile() with something like DatasetWriter::TryCloseLeastRecentlyUsedFile().
Component(s)
C++, Python

It would probably make sense for C++ behaviour to be brought in line with the docs, which should be to close the least recently used file rather than the largest file, with the rationale that the least recently used file is more likely to be finished permanently.

Thanks for the report, and yes, I agree this would be a good idea.

Hmm, the current behavior seems to be deliberate according to the PR description:

FileSystemDatasetWriteOptions now has a max_open_files setting (ARROW-12321) which prevents opening too many files.  Instead the writer will apply backpressure on the scanner while also closing the open file with the greatest # of rows already written (then resume writing once the file is closed).

@westonpace Do you happen to remember why the option description doesn't match the intended behavior? Is it just a mistake in the docstring?

This idea LGTM, would you like to implement this?

Thanks for the replies! I can work on it

why the option description doesn't match the intended behavior? Is it just a mistake in the docstring?

I guess maybe using same strategy when memory overlimit and fd over limit? Since when we want to reclaim memory, close the largest file ( or k largest file) is usally a good way?

Before working on anything, we should decide which behavior is most desirable. If you want your dataset files to have relatively similar sizes, then it makes sense to close the largest files first.

There is a secondary write_dataset parameter in max_rows_per_file that can be used to control how large each file will get.
For max_open_files, it seems the primary intention is to prevent too many open files from building up in memory, in which case it would make sense to choose a file that is most likely to be complete, i.e. least recently used

With the current implementation of max_open_files and writing a dataset with many partitions, rather than seeing file sizes remaining similar, you'd actually see file sizes steadily trend downwards due to small partition files that remain open, while newer partition files compete to stay under the file size of those smaller partitions.

Ah, that may be the case if you have many partitions (more than max_open_files) that are very rarely hit?

yeah exactly, and I believe this would be a very common usecase, i.e. if you were to process/write a large file where the partition column is sorted, new partitions would constantly be created while old partitions would never be touched again


Code restructuring

Hi Darren,
I would like to use wampcc in my project and want to help. So with the best intentions I have done a wampcc code restructuring and made it use purely cmake.
The project will be running on a raspberry pi with a custom linux distro so cross-compiling is mandatory.
That is the reason why I was doing pure cmake porting.
Hope you don't feel annoyed by my intensive changes to the code structure as some people are quite protective of their code (I'm one of them). Also I didn't know how else to contact you so this is why I did it over github issue.
My fork can be found here https://github.com/infinity0n3/wampcc
This is just the first step in cleaning up the source as it makes it much easier to compile and thus more people can get involved and use it.
What I've done so far (last night xD)

some change to the directory structure to separate source and include files
external -> 3rdparty (as it is done in opencv code, just a matter of taste, nothing functionally critical)
3rdparty now already includes the source code of external libraries

best to add the fetch script to 3rdpary and make it only leave the files that are actually used in the compilation process
is more user friendly to keep the external codes packaged with the rest as is much easier for anyone to just do git clone ... and start playing (also later for cross-compiling and buildroot integration)

src -> utility
lib -> library
new folder include where wampcc and json are merged
everything is compile using cmake
libuv and jansson are auto detected from the system
added pkg-config files for easier integration into other projects

TODO (DONE)

make libuv and jansson detectable from custom location

for now I'm using libs that are installed by apt-get (libuv1 libuv1-dev libjansson4 libjansson4-dev) am using LinuxMint (which is based on ubuntu xenial)

apply win32 rules (don't have windows so cannot test those)
make cmake adjustments to allow cross-compiling

Cross-compiling works!
Best,
Daniel Kesler

Hi Daniel,
Good to hear from you, and thanks your feedback.
One quick point: I'm in process of re-factoring code myself right now,
although its mainly initial cleanup of api, rather than file reorg.
Below are my initial thoughts.
Regarding cmake, the project currently already compiles using cmake, on
both windows and linux, although I see your approach is to use separate
cmakelists per dir.  I don't use cmake much myself, so I don't know
what the best approach is, although separate file per dir looks better.
 My own preference is for autoconf, and I kind of like the current way
of supporting both -- so a lot of your changes to directories I would
have to see how well that works for autotools. The cmake support was
earlier added by another contributor to get wampcc building on windows.

I'm unsure about including directly the code for 3rd parties.  What
would be the process for keeping such sources up to date with original
projects etc? How to avoid making changes to those sources and
diverging away from the original repos?  Agree though, in that it is
simpler to get going.
Other point I notice is the placing of the json.h into wampcc folder.
Unsure of this right now.  Original idea was to allow wampcc to switch
out json.h to use something else (eg, rapidjson or something), hence
the desire to keep json decoupled from wampcc. Note though that after
make install, they do appear in the same directory.
As for detecting libuv and jansson from the system, very useful to
have.  But I think it would also need to detect the version of
libuv/jansson available, so that minimum acceptable versions are
employed. When I tend to build open source projects, I typically always
configure them with specific versions of their dependencies (rather
than platform defaults), specifically to avoid that problem (although
current autoconf & cmake does make minimum version checks).
Once I complete my next checkin, with api cleanup, I can work on
bringin in your improvements.  Initially I think I'd like to try your
cmake approach on win32.
Regards,
Darren  ( email: 'wampcc' AT darrenjs.net)
On Sat, 2017-08-05 at 02:21 -0700, Daniel Kesler wrote:

Hi Darren,
I would like to use wampcc in my project and want to help. So with
the best intentions I have done a wampcc code restructuring and made
it use purely cmake.
The project will be running on a raspberry pi with a custom linux
distro so cross-compiling is mandatory.
That is the reason why I was doing pure cmake porting.
Hope you don't feel annoyed by my intensive changes to the code
structure as some people are quite protective of their code (I'm one
of them). Also I didn't know how else to contact you so this is why I
did it over github issue.
My fork can be found here https://github.com/infinity0n3/wampcc
This is just the first step in cleaning up the source as it makes it
much easier to compile and thus more people can get involved and use
it.
What I've done so far (last night xD)
some change to the directory structure to separate source and include
files
external -> 3rdparty (as it is done in opencv code, just a matter of
taste, nothing functionally critical)
3rdparty now already includes the source code of external libraries
best to add the fetch script to 3rdpary and make it only leave the
files that are actually used in the compilation process
is more user friendly to keep the external codes packaged with the
rest as is much easier for anyone to just do git clone ... and start
playing (also later for cross-compiling and buildroot integration)
src -> utility
lib -> library
new folder include where wampcc and json are merged
everything is compile using cmake
libuv and jansson are auto detected from the system
added pkg-config files for easier integration into other projects
TODO
make libuv and jansson detectable from custom location
for now I'm using libs that are installed by apt-get (libuv1 libuv1-
dev libjansson4 libjansson4-dev) am using LinuxMint (which is based
on ubuntu xenial)
apply win32 rules (don't have windows so cannot test those)
make cmake adjustments to allow cross-compiling
Best,
Daniel Kesler
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Switch host inventory to yaml file

A molecule v2 tracking issue.
Move the generated host inventory from the proprietary "ini" format to yaml.

Implemented by #690.


Intercept errors thrown by synchronous Completers in image resolution.

Description
If an error is added to a synchronous completer before a listener has been  added, it can throw an error both into the zone and up the stack. Thus, it  looks like the error has been caught, but it is infact also bubbling to the zone. Since we cannot prevent all usage of Completer.sync here, or rather that changing them would be too breaking, we instead hook into the same zone mechanism to intercept the uncaught error and deliver it to the image stream's error handler. Note that these errors will be duplicated, hence the need for the didError flag.
Related Issues
Fixes internal issue b/120841734
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] My PR includes tests for all changed/updated/fixed behaviors (See Test Coverage).
[x] All existing and new tests are passing.
[x] I updated/added relevant documentation (doc comments with ///).
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require Flutter developers to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change (Please read Handling breaking changes).
[x] No, this is not a breaking change.

cc @goderbauer, integration tests in progress

Integration test added, we unfortunately cannot run the driver extensions because it changes the behavior of errors.

Unfortunately I had to run update-packages so I could get the deps for the new integration test :(
I should probably fix the script so that is not necessary....

The last test did complete successfully,


Missing ImageBrush Properties in Sidebar

It seems the SideBar does not have properties other than ImageSource listed for the ImageBrush. In the article content all properties are listed though. I guess this might be expected behavior as they are inherited properties. Still it's strange not to see them listed in this case.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 14996b47-2e38-8307-f366-b9ac86720a9b
Version Independent ID: 214851f8-8273-c865-da02-ca5bf1ef7b9c
Content: ImageBrush Class (Windows.UI.Xaml.Media) - Windows UWP applications
Content Source: winrt-api-build/xml/Windows.UI.Xaml.Media/ImageBrush.xml
Product: uwp
Technology: winui
GitHub Login: @jwmsft
Microsoft Alias: jimwalk

Hi @robloo, you're correct that it's by design that inherited properties aren't shown in the sidebar.
While it would make sense to show all properties for a case like ImageBrush, which has a fairly limited number of properties, a typical XAML control like CalendarView has well over 100 inherited properties. It quickly becomes unusable to put them all in the sidebar, so the decision was to only list inherited properties in the page content.

Ok, understood. At first look I didn't see the properties were inherited but after I noticed it made some sense. I'll go ahead and close this then. Thanks!


We need Figma to Flutter Plugin too

The tech ecosystem is supposed to be a case of inclusion where everyone is welcome to the table. I don't know why we designers using Figma as our major design tool should be deprived of the opportunity to add this plugin to our workflow. Please I and many other Figma users would be glad if our cry is heard and we also get included to start using this Flutter plugin to make design handoff easy collaborating with our team members using Dart/Flutter. #

ask Figma maybe?


Dynamic values in array undefined in props ready method

Vue.js version
1.0.26
Reproduction Link
http://jsfiddle.net/qta4ny91/
Steps to reproduce
What is Expected?
Have the dynamic array value props available in the components ready method.
What is actually happening?
The dynamic array value props are undefined.

That's working as expected since the array is intantiated while the stats object is still empty (because of the timeout)
I think you're looking to do something like this: http://jsfiddle.net/u7ydz6cp/

If you open the console, you can see that the values are still undefined. Even when I remove the timeout it's still undefined. http://jsfiddle.net/7eyg09v2/

@avanerk That's because the ready hook is fired after the compilation: http://vuejs.org/guide/instance.html#Lifecycle-Diagram
You can use beforeCompile but I recommend you using either a computed property or a method


clangArgumentParser: use shlex to parse commands

Commands in the JSON database may be escaped for the shell. Perform unescaping so that escaped characters don't get mangled.

Resubmission of https://github.com/ejfitzgerald/clang-tidy-cache/pull/26.

Sorry about that; I don't have a Golang toolchain setup on my laptop to test this right now. Hopefully this works now.


Provide a default context method in the library to simplify hello world

The generate_context method is very simple and useful as a baseline. I think it'd be convenient if it was exported by the library its self.

That's a good point, although I don't want to openly encourage the use of BasicContext, as I feel it's, well, basic! That being said, if we're providing a BasicContext then we might as well provide a default method to generate one.

Closed by #61


Enabling MultiSampling and then resizing window crashes

Hello, thank you for the great project
I was having some issues with getting multisampling to work with the version from nuget, so I tried compiling the latest version and set the PreferMultiSampling bool to true.
This seems to work initially, and everything appeared antialiased now. However, if I try to resize the window, I get the following crash:
D3D11Host.cs, line 534:
// enough time has passed to draw a single frame
// draw into cache
GraphicsDevice.SetRenderTarget(_cachedRenderTarget);
System.NullReferenceException: 'Object reference not set to an instance of an object.'
Both GraphicsDevice and _cachedRenderTarget do not appear to be null... if I try to catch the exception and push onwards, it gets other errors afterwards
I will work around these issues in the meantime, for now I am happy to see antialiasing in the WpfInterop app :)

Hi,
I changed some internals for version 1.7.0.
If you call "WpfGame.UseASingleSharedGraphicsDevice = true;" (before the WpfGame instance is created) the crash on resize will not occur anymore.

Hello,
I have set 'UseASingleSharedGraphicsDevice = true' at the beginning of the program, and double checked that this value is being set before the WpfGame is created.
With 'UseASingleSharedGraphicsDevice=true' and 'PreferMultiSampling=true', I still seem to get the same crash when resizing the window. As soon as I disable multisampling, the error goes away..
Is there a preferred way to enabled Multisampling in the application? Since WpfGraphicsDeviceService implements 2 interfaces, I am unable to set the PreferMultiSampling bool in that class to true from the WpfGraphicsDeviceService instance... so I have just been defaulting it to true directly inside of PreferMultiSampling for testing

Can you check whether the same happens with the WpfTest application from my repo? I used this to repro and it doesn't crash on resize.
Set UseASingleSharedGraphicsDevice to true in the App.xaml.cs and then press the "Show msaa" button.
If that also doesn't work for you then I need a bit more details about your system (OS Version, GPU).

Using WpfTest, by default resizing the MSAA window crashes, and then i set 'UseASingleSharedGraphicsDevice=true', and now the MSAA window can be successfully resized in the test app
Using the same settings in another app, I am getting the crash there, so I will dig into this further and see what the difference is between WpfTest and this other app...
Thanks for your help, I'll post back here when I find the difference

I can replicate the crash I am seeing in WpfTest by enabling MSAA in the main CubeDemoScene window:
CubeDemoScene.cs, line 34:
            new WpfGraphicsDeviceService(this)
            {
                PreferMultiSampling = true
            };

If 'UseASingleSharedGraphicsDevice=true', and 'PreferMultiSampling=true' in the main window, it seems to crash on resize there. If MSAA is enabled in the popup window, then it seems to work

In the meantime, I have temporarily bypassed this issue by disabling MSAA automatically in the app before resizing the viewport, and then re-enabling after resizing

I was able to reproduce it with the CubeDemoScene and fixed the issue (MonoGame still has some internal references until the next frame is drawn, so I simply dispose the previous rendertarget one frame later).
v1.7.1 should no longer crash!

Thank you, tested the latest version, everything works great!
On Sun, Nov 25, 2018 at 8:54 AM Marc Stan<EMAIL_ADDRESS>wrote:

Closed #12
https://github.com/MarcStan/MonoGame.Framework.WpfInterop/issues/12.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/MarcStan/MonoGame.Framework.WpfInterop/issues/12#event-1985388745,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIfxvcXNS-hu4ARTNnoc1elDIy3a4Zq3ks5uyqEwgaJpZM4YdFwr
.


[FEATURE] Support batch ingestion in TextEmbeddingProcessor & SparseEncodingProcessor

Is your feature request related to a problem?
RFC: https://github.com/opensearch-project/OpenSearch/issues/12457
We have implemented batch ingestion logic in OpenSearch core in version 2.14, now we want to enable the batch ingestion capability in neural-search processors: TextEmbeddingProcessor & SparseEncodingProcessor so that we can better utilize the remote ML server's GPU capacity and accelerate the ingestion process, based our benchmark, batch can reduce total ingestion time by 77% without seeing throttling error (P90, SageMaker), please refer to here to see the benchmark results.
What solution would you like?

In InferenceProcessor, override Processor's batchExecute API, add a default implementation to combine List<String> inferenceText from multiple docs, then reuse the mlCommonsClientAccessor.inferenceSentences and mlCommonsClientAccessor.inferenceSentencesWithMapResult. After getting inference results, map them to each doc and update the docs.
We'll sort the docs by length before sending for inference to achieve better performance. And inference results will be restored to original order before being processed.
(This was original proposed in ml-commons. But as @ylwu-amzn suggested that we can reuse input_docs_processed_step_size as max batch size, then it makes more sense to sort the docs in neural-search as we can ensure that we won't sort docs from TextImageEmbeddingProcessor)

What alternatives have you considered?
N/A
Do you have any additional context?
N/A

Hi @chishui , could you please provide an example API request body to create a batched ingest processor?

We are not adding this feature for TextImageEmbeddingProcessor, is there a plan to do it later?

@zhichao-aws there is no changes to how TextEmbeddingProcessor and SparseEncodingProcessor are created. It's only when user uses _bulk API with batch_size parameter, then the processors will see documents in batches.

@martin-gaievski we don't have a plan to support TextImageEmbeddingProcessor as it requires text and image to be grouped in one request.

Updated description in "What solution would you like?" section.

@chishui given that the feature is merged across all the components, what is the final benchmarking number for the batch ingestion?

@chishui can you attach the documentation issue here for tracking purpose as this feature.

@chishui I looked into the benchmarks here: https://github.com/opensearch-project/OpenSearch/issues/12457#issuecomment-2012437250, when we say there is a significant improvement on throughput I see it is with a gpu instance and not with any other model. Is this correct?

@chishui given that the feature is merged across all the components, what is the final benchmarking number for the batch ingestion?

This is the recent benchmark I redid with neural sparse model hosted on sagemaker

Based on OpenSearch-v2.14.0
OpenSearch host type: r6a.4xlarge

16 vCPU

1 shard
OpenSearch benchmark host type: c6a.4xlarge
OpenSearch JVM: Xms:48g, Xmx: 48g
Data: https://github.com/iai-group/DBpedia-Entity/. (300k text only)

SageMaker

SageMaker host type: g5.xlarge
Processor: Sparse Encoding
Benchmark Setup

Bulk size: 100
client: 1

Metrics
no batch
batch (batch size=50, input_docs_processed_step_size =20)

Min Throughput (docs/s)
57.73
17.35

Mean Throughput (docs/s)
93.26
214.94

Median Throughput (docs/s)
93.9
226.36

Max Throughput (docs/s)
96.38
239.91

Latency P50 (ms)
1180.89
427.71

Latency P90 (ms)
1134.32
562.268

Latency P99 (ms)
1248.18
796.35

Total Benchmark Time (s)
3275
1361

Error Rate (%)
0
0

@chishui I looked into the benchmarks here: opensearch-project/OpenSearch#12457 (comment), when we say there is a significant improvement on throughput I see it is with a gpu instance and not with any other model. Is this correct?

We did benchmarked on Sagemaker, OpenAI and Cohere which all results were listed in the comment you linked. We saw improvement on throughput for all these services. The gpu instance mentioned was the one SageMaker used as we can choose instance type for SageMaker but we have no idea what type of gpu instance OpenAI and Cohere used.

@chishui can you attach the documentation issue here for tracking purpose as this feature.

https://github.com/opensearch-project/documentation-website/issues/7305


Training error

Hello, I built PPDM as it is written in Installation.
But when I launch the training I got this:
What might be the problem ?

I'm using AWS g4dn.xlarge machine.

It may be caused by the wrong cuda version. I guess that you use cuda 10，but the dcn only supports cuda 9. I plan to rewrite the repo by cuda 10 and pytorch1.4 recently.

@YueLiao thanks for quick response !
Yep, I know about CUDA version, for that reason I've changed the symlink of the CUDA from 10 to 9.
like this:
sudo rm -fr  /usr/local/cuda
ln -s /usr/local/cuda-9 /usr/local/cuda

The error is caused by the mismatching cuda version when compiling DCN and running the code. You need to modify the PATH likes:
export PATH="$CUDA_HOME/bin:${PATH}"
export CUDA_TOOLKIT_ROOT_DIR=$CUDA_HOME
export LD_LIBRARY_PATH="$CUDA_HOME/extras/CUPTI/lib64:$LD_LIBRARY_PATH"
export LIBRARY_PATH=$CUDA_HOME/lib64:$LIBRARY_PATH
export LD_LIBRARY_PATH=$CUDA_HOME/lib64:$LD_LIBRARY_PATH
export CFLAGS="-I$CUDA_HOME/include $CFLAGS"

Sorry for a long reply.
Unfortunately, it didn't work.
Looking forward for the solution for CUDA 10.
Thanks !

抱歉，回复很长。 不幸的是，它没有用。 期待 CUDA 10 的解决方案。 谢谢
Did you solve it? I encountered the same problem, I also checked the version and still reported this error

抱歉，回复很长。 不幸的是，它没有用。 期待 CUDA 10 的解决方案。 谢谢
Did you solve it? I encountered the same problem, I also checked the version and still reported this error

pt1 branch has already supported cuda10~


Convert brief files to markdown

Convert the files under brief to markdown format while keeping the content the same.

File Renaming and Conversion:

Rename brief/project.txt to brief/project.md and convert the content to markdown format.
Rename brief/uci.txt to brief/uci.md and convert the content to markdown format.

Markdown Formatting:

Use markdown syntax for headings and lists in brief/project.md.
Use markdown syntax for headings and lists in brief/uci.md.

For more details, open the Copilot Workspace session.

Combine and convert project-related files into a single markdown file

Combine and Convert:

Delete brief/deliverables.txt, brief/iteration_1.txt, and brief/project.txt.
Add brief/project.md with combined content from the deleted files.
Convert the content to markdown format.
Use markdown syntax for headings and lists.
Rewrite the content to follow a logical ordering of sections.

Rename "Iteration 1" to "Phase 1" in brief/project.md


Add density class and subclass distribution from density

Closes #13

[x] Add Density class
[x] Add ConstantDensity
[x] Subclass Distribution from Density
[x] Subclass Likelihood from Density
[x] Allow evaluating logp on any unspecified parameter
[x] Allow conditioning on any unspecified parameter
[x] Add tests
[x] Add comments on logd vs logpdf (logd)
[x] Start using logd instead of logpdf
[x] Add demo file
[x] Add issue to rework distribution with logd and logpdf methods #16

Hi @jakobsj, The PR is ready for review now :)

Thanks @nabriis. LGTM!

Hi @jakobsj. Thanks for the good comments and suggestions. I took them all into account. One final thing to consider is if we should expose make the condition method public. e.g. _condition becomes .condition and make it clear that __call__ is a short-hand to make the code more succint.


Actions expect form-encoded data (received application/json) error in SvelteKit form handler

With v0.6.1 itty-fetcher does not appear to work with form actions. POSTing setting value as JSON for some inexplicable reason.
const data = new FormData();
data.set("file", new File(["hi"], "foo.txt"));
fetcher()
	.post("/preview?/upload", data)
	.then(console.log)
	.catch(console.error);

Fails with Actions expect form-encoded data (received application/json)

Believe this is because the content-type header is set to application/json

Wait, did you try 0.7.0 after my changes?

Why would the Blob change affect the form content type?


[Bug] Black screen while playing not remote play

Checklist

[X] I will only use English in my report.
[X] I have used the search function for open and closed issues to see if someone else has already submitted the same bug report.
[X] I will describe the problem with as much detail as possible.

Questions

[X] xCloud officially supports my country/region.
[ ] The bug doesn't happen when I disable Better xCloud script.
[ ] The bug didn't happen in previous Better xCloud version (name which one).

Device
Other
Device
GT king pro (TV Box)
Operating System
9
Android app/Browser Version
edge(130.0.2849.46 Android)also tried Android app
Better xCloud Version
5.9.2
Game list
all game
Reproduction Steps
I've tried various methods to get xCloud working with keyboard and mouse support on my Android device, but I'm facing issues.
Here’s what I’ve tested:

Better xCloud Android app: Same issue occurs as with the Edge browser.
Kiwi Browser: Everything works, but since it doesn't support keyboard and mouse, I can't use it for my needs.
Chrome: Same issue as with Edge.
Edge: I've attached videos for more context.

Note: I can play all games on Xbox Game Pass Android app, but I specifically need keyboard support.
Observed Behavior In the video, when the game starts, I can hear the game sounds for a few seconds before an error appears. I have also shown the developer options settings in the video, in case any adjustments are needed there.
Screenshot/video
https://github.com/user-attachments/assets/b39226cd-a12b-460f-b573-d3e9e33336b1

Test other games

tested all game are same

What is video's renderer settings? Webgl2 or default.

It was off I have enabled it now I can see the game. But keyboard support started saying this browser doesn't support.

Debug log incase it helps
{ "deviceType": "android", "androidInfo": { "osVersion": "9", "sdk": 28, "abis": [ "armeabi-v7a", "armeabi" ], "board": "galilei", "device": "galilei", "model": "GTKing_AT", "hardware": "amlogic", "product": "galilei", "brand": "Amlogic", "manufacturer": "Xiaomi", "webview": "Chrome 130.0.6723.58 (com.android.chrome)", "settings": { "force_landscape_mode": "playing", "remap_back_button": false, "webview_optimize": false } }, "userAgent": "Mozilla/5.0 (Linux; Android 9; GTKing_AT Build/PPR1.180610.011; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/130.0.6723.58 Safari/537.36", "settings": { "block_social_features": false, "native_mkb_enabled": "default", "ui_game_card_show_wait_time": false, "ui_layout": "default", "local_co_op_enabled": false, "game_fortnite_force_console": false, "ui_hide_sections": [], "block_tracking": false, "xhome_enabled": false, "audio_enable_volume_control": false, "stream_disable_feedback_dialog": false, "stream_touch_controller": "default", "stream_touch_controller_auto_off": false, "stream_touch_controller_default_opacity": 100, "stream_combine_sources": false, "ui_loading_screen_game_art": true, "game_msfs2020_force_native_mkb": false, "bitrate_video_max": 0, "stream_codec_profile": "default", "skip_splash_video": false, "reduce_animations": false, "hide_dots_icon": false, "stream_simplify_menu": false, "ui_scrollbar_hide": false, "controller_polling_rate": 4, "controller_enable_vibration": true, "controller_vibration_intensity": 100, "controller_device_vibration": "off", "version_current": "5.9.2", "version_last_check":<PHONE_NUMBER>, "stream_touch_controller_style_standard": "default", "stream_touch_controller_style_custom": "default", "mkb_enabled": true, "controller_show_connection_status": true, "version_latest": "5.9.2", "server_bypass_restriction": "off", "server_region": "default", "ui_controller_friendly": true, "bx_locale": "en-US", "stream_preferred_locale": "default", "prefer_ipv6_server": false, "stream_target_resolution": "auto", "screenshot_apply_filters": false, "audio_mic_on_playing": false, "mkb_hide_idle_cursor": false, "game_bar_position": "bottom-left", "ui_loading_screen_wait_time": true, "ui_loading_screen_rocket": "show", "user_agent_profile": "smarttv-generic", "audio_volume": 100, "video_player_type": "default", "video_max_fps": 60, "video_power_preference": "default", "video_processing": "usm", "video_ratio": "16:9", "video_sharpness": 0, "video_saturation": 100, "video_contrast": 100, "video_brightness": 100, "stats_show_when_playing": false, "stats_quick_glance": true, "stats_items": [ "ping", "fps", "btr", "dt", "pl", "fl" ], "stats_position": "top-right", "stats_text_size": "0.9rem", "stats_opacity": 80, "stats_transparent": false, "stats_conditional_formatting": false } }


Port to MacOS

CI gfxreconstruct build # 2036 running.

CI gfxreconstruct build queued with queue ID 11243.

CI gfxreconstruct build queued with queue ID 11246.

CI gfxreconstruct build queued with queue ID 11248.

Close in favor of smaller PRs with more isolated additions


Unwanted inline fragment type condition inference

Description
hir::InlineFragment::type_condition may return a type even if no type condition syntax was used.
Steps to reproduce
    #[test]
    fn type_condition_is_not_inferred() {
        let mut compiler = ApolloCompiler::new();
        let input = r#"
            type Query {
                a: Int
            }
            { ... { a } }
        "#;
        let id = compiler.add_document(input, "");
        let op = compiler.db.find_operation(id, None).unwrap();
        let hir::Selection::InlineFragment(inline_fragment) =
            &op.selection_set().selection()[0]
            else { panic!("expected inline fragment") };
        // the `on <name>` syntax was not used:
        assert_eq!(inline_fragment.type_condition(), None);
    }
}

Expected result
type_condition() should return None, based on the absence of type condition syntax in the string input.
Actual result
The HIR contains an inferred synthetic type condition based on type definitions in the input:
thread 'database::hir::tests::type_condition_is_not_inferred' panicked at 'assertion failed: `(left == right)`
  left: `Some("Query")`,
 right: `None`', crates/apollo-compiler/src/database/hir.rs:4422:9

The code responsible for this is:
https://github.com/apollographql/apollo-rs/blob/6a0b13f191cc77f0cfc76913e86b0a223f427d32/crates/apollo-compiler/src/database/hir_db.rs#L1576-L1579
Context
In my opinion this behavior is undesirable. The information of what the original input looked like is lost, whereas the type inference information is already available through InlineFragment::parent_type.
Adding an (accurate) type condition that wasn’t there before is semantically correct, but my current use case involves serializing parts of a HIR back to GraphQL syntax with precise control of the generated strings. These strings are use as HashMap keys (to identify @defer sub-selections) and need to match exactly strings generated separately by TypeScript code inside the Router’s query planner.

I think this makes sense. Just getting the string name of the "default" type if there is no type condition specified is not very useful information.
We can still retain the current behaviour for the InlineFragment::type_def method, where it looks up the type that the selection set inside the fragment is selecting against. (so it does automatically use the parent_obj value if the type condition is not set). That's useful to have to look up directives or do validation.


[PrintAsClang] Fix thunks for Never funcs

Swift-to-C++ thunk printing for functions didn’t really take into account Swift’s Never type. This type maps to a void return with the SWIFT_NORETURN attribute, but it also requires other tweaks to code generation, such as omitting the return keyword. (Removing that requires minor changes to many tests.)
This PR also contains a follow-up fix for throwing Never functions, which have a number of subtleties.
Fixes rdar://124137073.

@swift-ci please test

@hyp If you're still available, it sounds like you're the best person to review changes to this part of the compiler.

@swift-ci please test

@swift-ci please test

@swift-ci please test


Images of new user

/server/accounts.coffee

Test that Facebook, Google and Twitter sign in works

Test that the profile images are correctly grabbed from above

Check that Gravatar image is correctly pulled

Handle when there is no gravatar image

Currently, the Gravatar image is stored as an URL. It should be stored as an image.

When there is no gravatar for that email, the profile picture should be blank

Don't commit subprojects. It's always a mess.

@yogiben are you referring to the meteor-autoform-file package?


chore: Add Markdownlint config

Added the Markdownlint config by running markdownlint "**/*.md" and disabling all of the currently non-passing rules.
For the second 2 commits, I ran markdownlint --fix "**/*.md" after enabling those particular rules since they had a small amount of impact files.
If this lands a GitHub Action could be added like in the dotnet/docs https://github.com/dotnet/docs/blob/master/.github/workflows/markdownlint.yml

Docs Build status updates of commit b3b7ae0:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

.markdownlint.json
:white_check_mark:Succeeded

microsoft-edge/devtools-guide-chromium/device-mode/testing-other-browsers.md
:white_check_mark:Succeeded

microsoft-edge/devtools-guide/network.md
:white_check_mark:Succeeded

microsoft-edge/extensions/api-support.md
:white_check_mark:Succeeded

microsoft-edge/extensions/api-support/supported-apis.md
:white_check_mark:Succeeded

microsoft-edge/extensions/guides.md
:white_check_mark:Succeeded

microsoft-edge/extensions/index.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit 7491714:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

.markdownlint.json
:white_check_mark:Succeeded

microsoft-edge/devtools-guide-chromium/device-mode/testing-other-browsers.md
:white_check_mark:Succeeded

microsoft-edge/devtools-guide/network.md
:white_check_mark:Succeeded

microsoft-edge/extensions/api-support.md
:white_check_mark:Succeeded

microsoft-edge/extensions/api-support/supported-apis.md
:white_check_mark:Succeeded

microsoft-edge/extensions/guides.md
:white_check_mark:Succeeded

microsoft-edge/extensions/index.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

#sign-off and merge.


DS1-QuinnDougherty-2.4

Part 3 IS THERE... but It's tied into 2.2. Sorry! if there is any confusion, please let me know.


Bug resizing left, center, or right aligned videos.

Describe the bug
There is unexpected behaviour when is video is aligned left, center, or right (not basic alignment) and then resized. Resizing does not have to occur directly after being aligned. It happens anytime a left, center, or right aligned video is resized.
Left and Right aligned videos will collapse to a thin line and center aligned videos will align left. By pressing the same alignment button again on the video it will return to the correct position and newly resized size.
What I believe to be causing the issue is that the  tag within the video div is losing its width after resizing. By resizing the width is removed and the bug occurs, then by pressing again align in the same direction the width is added and the video is shown correctly.
To Reproduce
Steps to reproduce the behavior:

Go to http://suneditor.com/sample/html/examples.html
Add a video in any of the examples.
Align the video left, right, or center.
Resize the video
Video is either collapsed for left and right aligned videos, or left aligned for centered videos.

Expected behavior
Resizing a left, center, or right aligned video will resize the video and maintain its alignment.
Screenshots

Here is what happens when a right aligned video is resized.
Additional context
This has been reproduced in local environments as well as on the http://suneditor.com/sample/html/examples.html website. And also on both PC and Mac computers.

The 2.43.0 version has been updated.
If this issue has not been resolved, please reopen this issue.
Thank you.


Update Writer To Take an Instance instead of a Value

Mistakes were Made
When Writer was first created, I thought it would be neat to let the Writer take care of lifting raw values into the underlying Monoid. This created many problems with this Datatype:

Invalid values for the Monoid would throw deep in the Writer and out of context from where the value was "lifted". Makes for a nasty stack trace at best, and at worst you share way to much information between the type and your specific domain.
Lose all power of the extra strength of the Monoid. So if an Array is used, you can never use the empty as there is no way other than and empty array to have a void-ish value.

This will be a breaking change.

Was just reading this, I've yet to use Writer so this will obviously add to my confusion but I'm not sure what the update is that needs to be made. Could we add a Repl that shows the issue?


Fix ~" syntax

If a string ends with a ~" we cannot know if it is a valid control character or not, so we should not show it as an error.

Thanks!


Placement option for 'Center'

It would be nice to center the step in an element some of the time.

i have the same issue, the element i want to describe covers more then 2/3 of the screen. the tour popover does not have enough space to be rendered.
it would be great to display the popover in the center, but still use all other options e.g. to highlight (with backdrop) the specified element.
e.g.:


Stalled dataset detection in MultiprocessIterator

This fix should be able to detect stalled detaset (e.g. the case in #2903) and redirect users to appropriate documentation.

Ready for review.

Please check appveyor result.

Hmm, AppVeryor test was failed.

Fixed. PTAL

jenkins, test this please.

Jenkins CI test (for commit 6d386c16ee4d506d07b092f53a8de2ac7ea2910f, target branch master) failed with status FAILURE.
(For contributors, please wait until the reviewer confirms the details of the error.)

LGTM!


Add additional meta tags for EmbedClout worker to generate dynamic embeds.

As per #185, here is a PR to add some additional meta tags to support the dynamic tags using EmbedClout https://github.com/devclout/embedclout
EmbedClout is a Cloudflare Workers script that requests user and post data from the node api, and rewrites the index.html page meta tags.

Note this change on its own wont embed full dynamic embeds for users and posts and also needs implementation of this cloudflare worker script: https://github.com/devclout/embedclout


Update site search to share code with finders

Search was a straight port from frontend in #313. There's some tech debt (duplication) to refactor out:

[ ] Checkbox filters switched to option select component (see #374)
[ ] Switch site search to use live_search.js and remove live_site_search.js – an older version of the script
[ ] Use the same mustache template
[ ] Use the same base layout and styles
[ ] Use search component for search box

This tech debt is now tracked on the tech debt board: https://trello.com/c/C2BGFRfo
I've copied over the todos into the card, thanks for those.


Adding wrong inline endpoint definition, doesn't allow to edit the Call mediator.

Description:
When adding an INLINE Endpoint let's say you add a endpoint definition as below, without the closing endpoint tag.
<endpoint name="SampleEp" xmlns="http://ws.apache.org/ns/synapse">
    <address uri="http://sample.com"/>

Then if you try to edit the Call mediator, it won't open the edit window.
Steps to reproduce:
Affected Versions:
v1.0.3
OS, DB, other environment details and versions:
Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

The latest release v1.0.5 has resolved the issue. Please reopen if the problem persists.


2.0 release

Anything which should be done before publishing a 2.0 release?

Nothing that springs to my mind...

@dapetcu21 Want to do the honors?

@subsoap Done!


Fix performance issues with TCP, BT and MultiplexBT transports

Removed 2 incredibly verbose logs from TCP transport and modified TCP and BT transports to read using a buffer rather than byte-by-byte.
Corresponding issue: #394

I created a spreadsheet for the metrics here.
Fortunately, I was able to get uniform-length packets (88 kB each) for these tests because Core repeatedly sends out a dummy 1-second audio file to fake AudioPassThru when EXTENDED_MEDIA_MODE is disabled, so message length could be eliminated as a variable.
Each test is done by sending a PerformAudioPassThru message and logging the time it takes to construct the "OnAudioPassThru" notifications that are sent in response (calculating the time between when the PSM goes from START_STATE to FINISHED_STATE).
I only performed one run for each of the TCP cases, as these seemed to present more of an obvious difference in the performance of the transport. Because the Bluetooth and MultiplexBT transports seemed to be significantly less consistent with their timings, I ran each test 5 times and presented the average time it took to receive a packet.
For the TCP Transport, it is fairly straightforward that the buffering makes a large difference in performance. When the verbose log was present, the PerformAudioPassThru message had a high chance of timing out due to how long the notifications were taking to be received/processed, therefore I was unable to get more than a few points of data for this case. With the removal of the verbose log, the performance of the transport improved by around a factor of 3 (~2200ms per message vs ~6000ms). Once the buffering optimization was implemented, however, the time it took to receive and process the full message was reduced to a trivial ~50ms on average.
When using the Bluetooth transport, OnAudioPassThru messages were completed ~500ms faster when using a buffer compared to without. This gives the appearance that the buffering optimization does help the Bluetooth transport slightly, but it is a bit difficult to draw any conclusions because the times vary rather wildly.
MultiplexBT appears to be able to receive packets with significantly more consistent timings when using the buffer than without, although the first buffered test was significantly slower than each test after. All in all, however, the inclusion of the buffer appears to improve the MultiplexBT transport by around a factor of two on average.

i guess read buffer size will impact performance significantly when transfer huge amount of data like video stream.
this is true not only for this library but also for sdl core.
for example:when using usb transport transfer video stream, small read buffer in sdl core also cause performance issue.


Index Level Links Not Working

For instance under Prevention, 'Collaborative Prevention Projects'

Works for me.  Any other information?


Developer experience Improvements

Pull Request type

Please add the labels corresponding to the type of changes your PR introduces:

Other (please describe):

Developer experience update of adding in a makefile for easy check and fixing linting issues.
Places Coverage ci test into the general PR workflow
General cleanup of unused files

Does this introduce a breaking change?
No

@apoorvsadana @Matth26 @tdelabro can you review this?


lxc config sets core.trust_password bar should not return 0

Required information

Distribution: Ubuntu
Distribution version: 20.04
lxd: 4.15  (snap 20806)

Issue description
lxc config sets core.trust_password bar returns 0 and with a help message:
$ lxc config sets core.trust_password bar
Description:
  Manage instance and server configuration options

Usage:
  lxc config [command]
...
$ echo $?
0

The action config sets is not a valid one, it should have been config set (no s). On such error, lxc should return an error code != 0.

This actually exists with every non-top-level command! Seems to be a bug/oversight with cobra itself, as mentioned here.
Workarounds are pretty hacky, and accessing the underlying error overwrites the default usage function, so we would have to write one from scratch ourselves....

I've commented on the upstream issue to try and make them look into it again as well as to have me be notified of any changes.
For now, while I don't like the usage being wrong, this feels better than having invalid command succeed.
So can you work on applying this pattern to all commands that have sub-commands?
diff --git a/lxc/config.go b/lxc/config.go
index 9e154e88e..f70ffe485 100644
--- a/lxc/config.go
+++ b/lxc/config.go
@@ -29,6 +29,8 @@ func (c *cmdConfig) Command() *cobra.Command {
        cmd.Short = i18n.G("Manage instance and server configuration options")
        cmd.Long = cli.FormatSection(i18n.G("Description"), i18n.G(
                `Manage instance and server configuration options`))
+       cmd.Args = cobra.NoArgs
+       cmd.Run = subcommandRun

        // Device
        configDeviceCmd := cmdConfigDevice{global: c.global, config: c}
diff --git a/lxc/main.go b/lxc/main.go
index bf8571176..1248c4155 100644
--- a/lxc/main.go
+++ b/lxc/main.go
@@ -261,6 +261,10 @@ To easily setup a local LXD server in a virtual machine, consider using: https:/
        }
 }

+func subcommandRun(cmd *cobra.Command, args []string) {
+       cmd.Usage()
+}
+
 func (c *cmdGlobal) PreRun(cmd *cobra.Command, args []string) error {
        var err error

It appears to conserve the expected behavior for say lxc config (minus the broken usage) and fixes lxc config blah.


Added pro.js script to unauthenticated pages in admin

refs PA-29

Upon further inspection, I'm not actually sure this is necessary. Will reopen if testing in staging fails.


MSID: 97201 Version: 2 DOI: 10.1101/2<IP_ADDRESS>2307

MSID: 97201
Version: 2
Preprint DOI: https://doi.org/10.1101/2<IP_ADDRESS>2307
Step 1. Awaiting reviews
Editorial to post reviews via hypothesis
Useful links:

DocMap: https://data-hub-api.elifesciences.org/enhanced-preprints/docmaps/v2/by-publisher/elife/get-by-manuscript-id?manuscript_id=97201
New model tracking: https://docs.google.com/spreadsheets/d/1_fHaoOy7hjyocptKtVJRijeNpUY4hBS7Ck_aVmx6ZJk/
Reviews on sciety: https://sciety.org/articles/activity/10.1101/2<IP_ADDRESS>2307

For trouble shooting (e.g. no Docmaps available):

DocMap issue addressing: https://miro.com/app/board/uXjVNCwK6EI=/
Explore DataHub DocMaps API: https://lookerstudio.google.com/reporting/4c2f0368-babb-4beb-b5b3-497e7e7b0f08/page/ejphD
Unmatched submissions and preprints: https://lookerstudio.google.com/u/0/reporting/9f86204f-3bf7-477c-9b18-5c5ef141bf69/page/p_gxi57ha93c
Unmatched manuscripts spreadsheet: https://docs.google.com/spreadsheets/d/15QcK8w-ssB7109RQEDtFpJPZ0J5HTGxoHa_2TtpMBbg/edit#gid=1336081641

Step 2. Preview reviewed preprint
Production QC content ahead of publication
Instructions:

QC preview: https://prod--epp.elifesciences.org/previews/97201v2
Update ticket with any problems (add blocked label)
When QC OK, add QC OK label to ticket and add publication date and time to https://docs.google.com/spreadsheets/d/1amAlKvdLcaDp5W8Z8g77NmkwbMF5n_u89ArSqPMO8jg
Move card to next column
(At end of the day post link in #enhanced-preprint and ask for PDF to be generated)

Useful links:

Preprint DOI :  https://doi.org/10.1101/2<IP_ADDRESS>2307
Confirm reviews returned by EPP: https://prod--epp.elifesciences.org/api/reviewed-preprints/97201/v2/reviews
To update the MECA path in the docmap: https://docs.google.com/spreadsheets/d/1mctCQuNFBjSn97Lihy7_vBO6z7-N-oqyLv4clyi6zHg

Step 3: Awaiting search reindex
This step adds the reviewed preprint to the homepage: https://elifesciences.org
The search reindex is triggered once an hour. We need the reviewed preprint to be indexed as the search application serves the journal homepage.
Useful links:

Jenkins pipeline to reindex search can be triggered sooner or monitored here: https://alfred.elifesciences.org/job/process/job/process-reindex-reviewed-preprints/

Step 4: Published! PDF requested
Waiting for PDF to be generated
Useful links:

PDF tracking: https://docs.google.com/spreadsheets/d/106_XeDjmuBae7gexOTNzg60lapeqjl2aRn9DzupGyS8/

Step 5: Introduce PDF to data folder and git repo
Upload PDF to relevent folder in git repo https://github.com/elifesciences/enhanced-preprints-data/
Step 6: Done!

[ ] Kettle is on!

Hi @acollings, does this assessment require tweaking?

Thanks @fred-atherden yes! I stumbled across this one earlier (while seeing what VORs can be passed to production) and updated it on hypothes.is!

Thanks!


Negative values

Negative symbol for negative value being separated by thousand separator i.e. $ -, 2, 000.00

Sorry for the delay. I've just uploaded a new version (1.2.1) that addresses this issue. It should be solved by now.


fix: load attributes lazily during runtime and cache access

Attributes are now loaded in a lazy way, preventing an error from happening when attributes were compiled in the cache, but not present when using the mapper during the runtime.
This could happen for instance with attributes used to generate documentation of an API: they are loaded as a development dependency, then the cache is warmed up during deployment, so they are present in the mapper compiled cache; but these attributes are missing from the live version of the application, so they cannot be accessed.
This commit helps to prevent a fatal error from happening in this kind of situation.
Fixes #393

Thanks for the review!


NRedisStack not writing timeseries values to Valkey

Thanks for reporting an issue in NRedisStack! Please update the appropriate text below, as much data as possible really helps!
NRedisStack Version: 0.12.0
Redis Stack Version:  Valkey 7.2.5
Description: Unable to write timeseries values to valkey.
var timestamp = new TimeStamp(long.Parse(data_float[0]));
var data_vals = new List<(string key, NRedisStack.DataTypes.TimeStamp, double value)>();
data_vals.Add(("mag", timestamp, Convert.ToDouble(data_float[4])));
data_vals.Add(("ang", timestamp, Convert.ToDouble(data_float[5])));
IReadOnlyCollection<(string,NRedisStack.DataTypes.TimeStamp,double)>data_collection = data_vals.AsReadOnly(); ts.MAdd(data_collection);

Hello @adimishraa7
NRedisStack is a Redis official client library. As a RESP-compatible library, it can work with forks without guaranteeing future compatibility due to API changes or deprecations. In particular, NRedisStack supports hash-field expiration and other Redis-only advanced features like indexed searches, the JSON data type, time series, and probabilistic data structures that other Redis forks or imitators do not offer.
Simply put, you need to use Redis to benefit from all the advanced features available in NRedisStack.


Please make this work with the Sony ZV-E10

I bought my ZV-E10 from China, but there are a limited amount of languages and English is not one of them. Can you please make OpenMemories work on the ZV-E10? Thanks.

Hi. I am in the same situation as you. Did you ever managed to unlock yours?


Chart docs: Add enableGatewayAPI update feature gates

Pull Request Motivation
This commit adds the enableGatewayAPI parameter to the chart config example. It also updates the feature gate list with their default values.
It was hard for me to find the enableGatewayAPI parameter required to turn on gateway API support through the helm chart. It was even more confusion since the ExperimentalGatewayAPISupport is still active (although on by default since 1.15).
This modifies the chart documentation to reflect the parameter and updates the feature flags in the config example to match all the flags listed in the 1.16 documentation.
I hope this makes it clearer for others trying to enable it.
Kind

/kind documentation

Release Note

Updated the chart documentation to show `enableGatewayAPI` in the config example.

Here's the install with the updated values.yaml:


Hi how to get bots to join the party

Can bots invited join party?

Can bots invited join party?

Yes bots can joining party automatically.


updated version for qe tutorial

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


Awaiting job not expired and deleted when job is expire.

use the continuejob, and the job expired  is 10 mins.
but the awaiting data don't expired and deleted, when the job was expired and deleted.
why?

@shenjielx,
Could you please elaborate? Im not sure I fully understand how to reproduce this issue.
Thanks!

@shenjielx,
Could you please elaborate? Im not sure I fully understand how to reproduce this issue.
Thanks!

(score is unix time, it's six months ago)
It should be deleted, but remain exists now.

@shenjielx,
sorry for the late reply. I'll take a look.

@shenjielx,
Ok, very late reply. sorry.
the field "ExpireAt" is null, which means the document is not eligible for deletion. Hangfire.Core is setting these values. Im not sure why Hangfire is not expiring it.
I will check.

closing due to inactivity


Sleep no longer selectable

The Sleep function is no longer available to the input.

Hi @Max-Intosh  - can you please upload a screenshot of the problem you are facing, and follow the Issue form template, including providing the following information:
What version of macOS?
What version of Quicksilver?

I noticed the same thing yesterday after first updating to Monterey 12.2.1 and then updating to QS v1.6.1 on both my computers (MacMini 2018 and MBP 13" 2019).
I'm not sure a screenshot would be useful because this is something that is now missing, so a screenshot wouldn't show anything.
Before updating, opening QS and typing "SLEEP" (actually I had it set to be triggered with "SL" already), a script was run that put the computer into sleep mode. But now this script seems to be missing, and opening QS and typing "SLEEP" just doesn't result in anything that will put the computer to sleep.
It looks to me like it was/is part of the "Extra Scripts" plugin.

Thanks for the clarification.
OK, so this is an issue with the 'sleep' script from the ExtraScripts plugin no longer being present. Likely to do with the latest release of the plugin @skurfer
It seems that the Script files (which are comiled AppleScripts) are no longer being picked up as such by Quicksilver. Not sure if a re-build would work, or what's needed

Hi PJ @pjrobertson,
Mac OS 10.14.6 on Macbook Pro (15 inch 2019) with the just updated Quicksilver 1.6.1 (4026).
Can not recall how Quicksilver had been triggering the Sleep function as have had it operation for so many years now.
Birth Restart and Sleep are missing out of the catalogue of text inputs to the Quicksilver window.
In Catalog>Plugins the item "Scripts (QS Extras)" is present (with 24 to the right hand side) and ticked, however the drop down triangle is not present on the left hand side (indicating that no scripts are present?).  Screen shot attached.
In Catalog>Scripts the item "Scripts (All Users)" is present (with 86 to the right hand side) and ticked, however the drop down triangle is not present on the left hand side (indicating that no scripts are present?).  Screen shot attached.
Catalog>Custom is empty.
Hope that that helps.

I've got ExtraScripts building, but not all the actions working yet.
The code for Lock Scren.app no longer works: https://github.com/gaomd/lock-screen-app.git  but this does (thanks SO):
extern int SACLockScreenImmediate ( void );

int main ( ) {
    return SACLockScreenImmediate();
}

$ clang -F /System/Library/PrivateFrameworks -framework login -o lockscreen_arm lockscreen.c
$ clang -arch x86_64 -F /System/Library/PrivateFrameworks -framework login -o lockscreen_x86_64 lockscreen.c
$ lipo -create -output lockscreen lockscreen_arm lockscreen_x86_64
$ file lockscreen
lockscreen: Mach-O universal binary with 2 architectures: [x86_64:Mach-O 64-bit executable x86_64] [arm64:Mach-O 64-bit executable arm64]
lockscreen (for architecture x86_64):	Mach-O 64-bit executable x86_64
lockscreen (for architecture arm64):	Mach-O 64-bit executable arm64

Seems to work.
Looks like KeyboardViewer.app is gone: https://apple.stackexchange.com/questions/59875/how-to-show-or-hide-keyboard-viewer-with-a-keyboard-shortcut
"/System/Library/Input Methods/CharacterPalette.app" exists but doesn't seem to do anything.
Not sure if Toggle Audio Input.scpt is working as I only have one audio source.
Restart seems to be corrupted, can't open. Force Restart and Force Shutdown are empty files.
Top 10.sh -- not clear what the output used to be, I simplified and just print out the PID and process name.
I pushed these changes to an m1recompile branch -- I'm wondering if the compiled AppleScripts are going to give us trouble on x86_64 now? Could @pjrobertson test and verify? (IIRC @skurfer is on M1 now --right?)
Should also probably restore a few of the scripts (Restart, Shut Down) -- can work on that soon.

There appears to be a problem with the applescripts packaged in the latest plugin.
If you open the folder in terminal and run mdls FILE you'll note that there's no UTI for these files.
/System ❯❯❯ pwd
/Users/patrick/Library/Application Support/Quicksilver/PlugIns/com.blacktree.Quicksilver.QSExtraScriptsPlugIn.9D.qsplugin/Contents/Resources/ExtraScripts/System
/System ❯❯❯ mdls Sleep
kMDItemFSContentChangeDate = 2022-02-05 02:24:37 +0000
kMDItemFSCreationDate      = 2022-02-05 02:24:37 +0000
kMDItemFSCreatorCode       = ""
kMDItemFSFinderFlags       = 0
kMDItemFSHasCustomIcon     = 0
kMDItemFSInvisible         = 0
kMDItemFSIsExtensionHidden = 0
kMDItemFSIsStationery      = 0
kMDItemFSLabel             = 0
kMDItemFSName              = "Sleep"
kMDItemFSNodeCount         = 854
kMDItemFSOwnerGroupID      = 20
kMDItemFSOwnerUserID       = 501
kMDItemFSSize              = 854
kMDItemFSTypeCode          = ""

The actual files in the repo are correct:
/System git:master ❯❯❯ mdls Sleep
kMDItemContentCreationDate         = 2022-02-16 14:30:47 +0000
kMDItemContentCreationDate_Ranking = 2022-02-16 00:00:00 +0000
kMDItemContentModificationDate     = 2022-02-16 14:30:47 +0000
kMDItemContentType                 = "public.data"
kMDItemContentTypeTree             = (
    "public.data",
    "public.item"
)
kMDItemDateAdded                   = 2022-02-16 14:30:47 +0000
kMDItemDateAdded_Ranking           = 2022-02-16 00:00:00 +0000
kMDItemDisplayName                 = "Sleep"
kMDItemFSContentChangeDate         = 2022-02-16 14:30:47 +0000
kMDItemFSCreationDate              = 2022-02-16 14:30:47 +0000
kMDItemFSCreatorCode               = ""
kMDItemFSFinderFlags               = 0
kMDItemFSHasCustomIcon             = (null)
kMDItemFSInvisible                 = 0
kMDItemFSIsExtensionHidden         = 0
kMDItemFSIsStationery              = (null)
kMDItemFSLabel                     = 0
kMDItemFSName                      = "Sleep"
kMDItemFSNodeCount                 = (null)
kMDItemFSOwnerGroupID              = 20
kMDItemFSOwnerUserID               = 501
kMDItemFSSize                      = 854
kMDItemFSTypeCode                  = ""
kMDItemInterestingDate_Ranking     = 2022-02-16 00:00:00 +0000
kMDItemKind                        = "Document"
kMDItemLogicalSize                 = 854
kMDItemPhysicalSize                = 4096

Looks like the UTI data got stripped on packaging. That's the issue with this plugin. @n8henrie - can you please confirm the scripts in your build have correct UTIs set?

Can you check with the new branch I pushed? It looks like you might be on the old branch (based on Sleep vs Sleep.scpt)
$ mdls **/Sleep.scpt
_kMDItemDisplayNameWithExtensions      = "Sleep.scpt"
com_apple_metadata_modtime             = 666772485.352271
kMDItemContentCreationDate             = 2022-02-15 22:04:43 +0000
kMDItemContentCreationDate_Ranking     = 2022-02-15 00:00:00 +0000
kMDItemContentModificationDate         = 2022-02-17 06:34:45 +0000
kMDItemContentModificationDate_Ranking = 2022-02-17 00:00:00 +0000
kMDItemContentType                     = "com.apple.applescript.script"
kMDItemContentTypeTree                 = (
    "com.apple.applescript.script",
    "public.data",
    "public.item",
    "public.script",
    "public.source-code",
    "public.plain-text",
    "public.text",
    "public.content"
)
kMDItemDateAdded                       = 2022-02-15 22:04:43 +0000
kMDItemDateAdded_Ranking               = 2022-02-15 00:00:00 +0000
kMDItemDisplayName                     = "Sleep.scpt"
kMDItemDocumentIdentifier              = 22972
kMDItemFSContentChangeDate             = 2022-02-17 06:34:45 +0000
kMDItemFSCreationDate                  = 2022-02-15 22:04:43 +0000
kMDItemFSCreatorCode                   = "ToyS"
kMDItemFSFinderFlags                   = 0
kMDItemFSHasCustomIcon                 = (null)
kMDItemFSInvisible                     = 0
kMDItemFSIsExtensionHidden             = 0
kMDItemFSIsStationery                  = (null)
kMDItemFSLabel                         = 0
kMDItemFSName                          = "Sleep.scpt"
kMDItemFSNodeCount                     = (null)
kMDItemFSOwnerGroupID                  = 20
kMDItemFSOwnerUserID                   = 501
kMDItemFSSize                          = 1389
kMDItemFSTypeCode                      = "osas"
kMDItemInterestingDate_Ranking         = 2022-02-17 00:00:00 +0000
kMDItemKind                            = "Script"
kMDItemLastUsedDate                    = 2022-02-17 06:34:43 +0000
kMDItemLastUsedDate_Ranking            = 2022-02-17 00:00:00 +0000
kMDItemLogicalSize                     = 1389
kMDItemPhysicalSize                    = 8192
kMDItemUseCount                        = 7
kMDItemUsedDates                       = (
    "2022-02-16 07:00:00 +0000"
)
kMDItemUserModifiedDate                = (
    "2022-02-17 06:34:45 +0000"
)
kMDItemUserModifiedUserHandle          = (
    501
)

Some of your scripts seem to run fine on my machine, but I don't quite know what you've done. A ton are now missing (Sleep, Restart) and a few others are formatted really weirdly:

I don't think applescripts need re-compiling for M1. My guess is they're not compiled code

A ton are now missing (Sleep, Restart)

Correct -- I mentioned that above.
Several appear to be empty files on master, e.g. https://github.com/quicksilver/ExtraScripts-qsplugin/blob/master/Extra Scripts Plugin/ExtraScripts/System/Force Restart
I think they are compiled. For example, from master:
$ wget --content-disposition 'https://github.com/quicksilver/ExtraScripts-qsplugin/blob/master/Extra%20Scripts%20Plugin/ExtraScripts/System/Restart?raw=true'
$ file Restart
Restart: AppleScript compiled
$ open -a 'Script Editor' Restart

Got it -- Script Editor can read (and compile) Restart if I rename it to .scptd (but not as .scpt or .app). Restored those scripts to System.
As long as the compiled scripts are running I can update changelogs / version numbers and merge into master.
Other thoughts -- checking in compiled binaries (lockscreen) and compiled scripts into VCS seems odd. For AppleScript, an alternative is to File -> Save As -> .applescript files, which are then much friendlier with diffing and VCS, but need to be run as osascript myfile.applescript instead of directly executed. I don't know how calling this from ObjC works, or if this is substantially different than the other shell scripts we run.
Also still not sure what to say about the empty files like Force Restart -- I don't see any content there, ever.
git log -p -- "Extra Scripts Plugin/ExtraScripts/System/Force Restart" "Extra Scripts Plugin/Scripts/System/Force Restart"
commit 92c12a4ba44912250fe75bb84a030fcd1b5d6ae3
Author: Patrick Robertson<EMAIL_ADDRESS>Date:   Wed Apr 25 17:01:16 2012 +0100

    Use a sh command to copy scripts to the resources folder

    Ensures that the script icons are kept. Xcode is stupid and just gives the default icon

diff --git a/Extra Scripts Plugin/Scripts/System/Force Restart b/Extra Scripts Plugin/ExtraScripts/System/Force Restart
similarity index 100%
rename from Extra Scripts Plugin/Scripts/System/Force Restart
rename to Extra Scripts Plugin/ExtraScripts/System/Force Restart

commit 7262ca8eb09fab6d69402fbd453b0bfb868eff0f
Author: Patrick Robertson<EMAIL_ADDRESS>Date:   Wed Apr 25 14:30:00 2012 +0100

    Initial Commit

diff --git a/Extra Scripts Plugin/Scripts/System/Force Restart b/Extra Scripts Plugin/Scripts/System/Force Restart
new file mode 100644
index 0000000..e69de29

Also still not sure what to say about the empty files like Force Restart -- I don't see any content there, ever.

Same here, just checked a backup of QS I have from ~7 years ago and it's empty then. For those that are really empty: delete or replace them. For those that were working previously (Sleep, Shutdown, Restart etc) we need to fix them

"Show Keyboard Viewer" is still good for me, I use it regularly but yeah - I see it's dead in Catalina. [1] and [2] seem to be solutions.
Show Character Palette doesn't work for me, I can open the app but can't get the window to display. Seems broken - remove.
Toggle Audio input/output both work for me. However there's a delay between opening the System prefs and being able to edit it, I'll push a change to master to fix this.

@Max-Intosh  - This has been fixed, and an update for the Extra Scripts plugin should be available in the next few days. Please make sure to check for updates regularly from within Quicksilver:

Thank you for reporting the issue!

Thank you @pjrobertson and @n8henrie,
Appreciate the swift action, the detailed feedback, and resolution to the issue.  Made the whole signing to Github worthwhile.
Sorry to bang on, but seriously thus has been the best experience received by any tech help.
Well done guys, love the work.

@skurfer @pjrobertson  -- can we exclude specific items from the QS catalog by default?
In making sure my new version of Lock Screen is compiling and working well (seems to be):
~/Library/Application Support/Quicksilver/PlugIns/com.blacktree.Quicksilver.QSExtraScriptsPlugIn.97.qsplugin/Contents/Resources/ExtraScripts/Processes/Lock Screen

I found that QS was already indexing what seemed to be a built-in Apple screen locker:
/System/Library/CoreServices/RemoteManagement/AppleVNCServer.bundle/Contents/Support/LockScreen.app

Unfortunately when I ran it, I get a black screen with a large lock icon -- and no way to unlock it (tried all the keyboard shortcuts I could think of, no indication that it's registering any input). Thankfully I was able to SSH in and kill the process.
Apparently this is app is for hiding the screen when someone is using remote desktop, and inability to unlock is a known issue. However, it would be a shame for end users to be looking for our QS Lock Screen action and be confused between the two, I imagine many of whom would ultimately have to hard reboot to recover from the situation (potential data loss etc.)
It would seem prudent to selectively exclude this specific item (and perhaps others) from indexing by default, and give users the option to manually index it if desired, but I'm not familiar enough with the codebase yet to know where to look for this.

If you know what catalog entry is responsible for adding the unwanted app (Show Source in Catalog should be able to tell you), I think you can remove it by adding an omittedItems array to the catalog preset’s definition.
See https://github.com/quicksilver/Quicksilver/blob/master/Quicksilver/Code-QuickStepCore/QSLibrarian.m#L193
That list is generally reserved for user-disabled items, but I think it should be possible to pre-define it. Of course users that run into this problem could manually disable the item themselves, but that’s not ideal.

Have been checking for updates and updating plugins since the post above, however, Sleep still cannot be selected from the Quicksilver window.


Difficulties installing readstat-rs on Windows 11

Hi @curtisalexander I'm very keen to use readstat-rs for my analyses at University of New South Wales, Sydney, Australia but unfortunately not having any luck with installing it on Windows 11. Would it be possible to get some guidance? Thank you in advance, Claire

Can you share more details on the issue you are facing? And how are you installing now - just downloading the binary? To help troubleshoot or give guidance I would need to better understand what has been done and the exact problem with the installation.
Finally, I don’t have a Win 11 machine (binaries are built with GitHub Actions on Windows Server 2022) and so could only give guidance and wouldn’t be able to test myself.

Hi @curtisalexander thanks so much for getting back to me. I wanted to try a bit more troubleshooting and it turns out it was a lot more simple than I thought and I didn't need to install with cargo or use MSVC. I'll just post a couple of tips in case it helps any future users:

During the installation of LLVM, selecting the option "Add LLVM to the system PATH for all users" set the LIBCLANG_PATH correctly
After extracting the v0.11.0 release for Windows into a directory called "C:\Software\readstat-v0.11.0-x86_64-pc-windows-msvc", readstat can be run in Windows Command Prompt using C:\Software\readstat-v0.11.0-x86_64-pc-windows-msvc\readstat.exe

Thank you again, I think readstat will help make my analyses more efficient. Let me know if there is a way to acknowledge you.

@cdeakin-unsw - I am so glad that you got things working.  In terms of acknowledgement - I don’t need anything specific but appreciate you asking.  However, I would be interested to hear how you are utilizing and if it does end up being of use!


Groupping panel: wrong ORDER BY clause

When perform ORDER BY COUNT() it fails (because of wrong SQL query).
Another problem is that drag-n-drop of the same column to grouping panel does nothing after grouping clear.

Fixed.
Please test ordering, multiple attributes, custom SQL queries.

verified


Add service graph to users cluster roles

Description

For PR author

[ ] Tests for change.
[ ] If changing pkg/apis/, run make gen-files
[ ] If changing versions, run make gen-versions

For PR reviewers
A note for code reviewers - all pull requests must have the following:

[ ] Milestone set according to targeted release.
[ ] Appropriate labels:

kind/bug if this is a bugfix.
kind/enhancement if this is a a new feature.
enterprise if this PR applies to Calico Enterprise only.

Closing .... gonna base service graph access of the underlying log data.


Create a new release, 1.8 contains a BUG

$stderr.puts "Could not load #{dotfile}: #{e}"
Causes logstash to fail as dotfile is undefined when calling rescue in merge_custom_defaults

@gerrywastaken is there anything I can do to assist in publishing a new release? Users of Logstash are hitting the unset-HOME bug that was fixed in awesome-print/awesome_print@62033856.

A new version is in the works. I'm wading through the long backlog of PRs that are desperately needed and will push out a new version soon. Please let me know if the issue still occurs (and a PR is always appreciated!)

A new version is in the works. I'm wading through the long backlog of PRs that are desperately needed and will push out a new version soon. Please let me know if the issue still occurs (and a PR is always appreciated!)


[Bug] set-versions does not work for all files in the various git folders

Search before asking

[X] I searched the issues and found no similar issues.

Component
Makefiles
What happened + What you expected to happen
When running make set-versions, the script worked for most files but missed the following:
transforms/language/doc_quality/ray/pyproject.toml
transforms/language/pii_redactor/python/pyproject.toml
transforms/language/pii_redactor/ray/pyproject.toml
transforms/universal/doc_id/python/pyproject.toml
transforms/universal/doc_id/ray/pyproject.toml
transforms/universal/ededup/ray/pyproject.toml
transforms/universal/html2parquet/python/pyproject.toml
Reproduction script
update .make.versions to change the version tag, then run make .set-versions from the project root
Anything else
No response
OS
Ubuntu
Python
3.11.x
Are you willing to submit a PR?

[X] Yes I am willing to submit a PR!

Fixed with PR #548


Ruby highlighter should allow arbitrary code after def

(Original issue 294 created by None on 2007-09-21T01:25:34+00:00)
See here:
http://pygments.org/demo/469/
To be exact, Ruby allows everything after "def", as long as it is enclosed in parentheses.
Reported by guest

(Original issue was assigned to gbrandl)
(Original issue 294 last updated on 2007-09-23T19:59:08+00:00)
(Issue automaticaly closed due to status in Bitbucket: resolved)

(Original comment by mitsuhiko on 2007-09-23T19:59:08+00:00)
Thanks for your report murphy. Fixed in [430].


Test Discovery - TypeError: Cannot read property 'functions' of undefined

When running the discover on Nosetests, I receive an error for some workspaces saying "Test Discover Failed. TypeError: Cannot read property 'functions' of undefined."
There was a time in the past when the test discovery did work on this particular workspace, but my codebase has changed and so has the python extension.
There is a related issue here: https://github.com/microsoft/vscode-python/issues/5458 but that issue looks related to pytest extensions. My setup is using Nosetests instead.
The full exception is:
Python Extension: displayDiscoverStatus TypeError: Cannot read property 'functions' of undefined
	at module.exports.h.parseNoseTestModuleCollectionResult.t.forEach.t (/home/mitt/.vscode/extensions/ms-python.python-2019.4.12954/out/client/extension.js:83:821676)
	at Array.forEach (<anonymous>)
	at h.parseNoseTestModuleCollectionResult (/home/mitt/.vscode/extensions/ms-python.python-2019.4.12954/out/client/extension.js:83:819869)
	at module.exports.h.getTestFiles.e.split.forEach (/home/mitt/.vscode/extensions/ms-python.python-2019.4.12954/out/client/extension.js:83:819494)
	at Array.forEach (<anonymous>)
	at h.getTestFiles (/home/mitt/.vscode/extensions/ms-python.python-2019.4.12954/out/client/extension.js:83:819375)
	at h.parse (/home/mitt/.vscode/extensions/ms-python.python-2019.4.12954/out/client/extension.js:83:819187)
	at h.discoverTests (/home/mitt/.vscode/extensions/ms-python.python-2019.4.12954/out/client/extension.js:83:818407)
t.log @ workbench.main.js:238

Environment data

VS Code version: 1.34.0
Extension version (available under the Extensions sidebar): 2019.4.12954 (and tried on 2019.1.0 as well, but the exception occurs here as well)
OS and version: Ubuntu 18.04
Python version (& distribution if applicable, e.g. Anaconda): 3.6.8
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): venv
Relevant/affected Python packages and their versions: nosetests

Expected behaviour
Discover the unit tests
Actual behaviour
Doesn't discover the unit tests

Please could you provide a sample repo we can use to replicate this at our end.

I'm closing this, the problem was with my workspace configuration having an invalid nosetests argument.


(GH-911) Update Cake.Twitter reference from 1.0.0 to 2.0.0

For some unknown reason Addin Discoverer failed to submit this PR when it ran last night. I'm guessing it triggered github's abuse detection.
Therefore I am manually submitting this PR.
Resolves #911

For some reason, I wasn't able to push changes back to this branch, so I have rebased and merged the changes locally, and then pushed them up here:
https://github.com/cake-contrib/Cake.Recipe/commit/f58dc2e70f30c1a5b6cd1349a8fca5db275f9058
@Jericho Thanks for getting this updated!


Scala Kinesis Enrich: add Clojars as a resolver

This is necessary because of Scala Common Enrich's new ua-parser dependency.

Aha! Of course.


If parent directory does not exist kpt should create it

Describe your problem
The following command should create the directory /apps if it does not exist.
kpt pkg get https://github.com/repo/manifests.git  ./apps/my-app/

This would also be nice for use-cases like this where /my-sub-apps does not exists
kpt pkg get https://github.com/repo/manifests.git  ./apps/my-sub-apps/this-app

Currently, these commands throws an error Error: parent directory "apps" does not exist  & Error: parent directory "apps/my-sub-apps" does not exist using kpt latest via go install.
I'd rather skip the need to explicitly create these directories beforehand.

Feature request:
kpt pkg get should support -p flag to create parent dir if it does not exist;
kpt pkg get (without -p) should keep the current behavior as raising errors.

Added "good first issue" label since this feature is for a stable command (kpt pkg get) that is very frequently used by kpt  users


Add [nii] to [fileFormat]

List the new value
Value: nii
Using OLS or a similar resource, please find a standard term that fits your needs. OLS-listed NCIT and OBI dictionaries are preferred sources. Non-OLS sources of ground truth for specific items such as ONCOTREE for cancer types, or GEO for platform definitions are also appropriate.
Provide definition and source for the new value
Definition:
Source url: https://nifti.nimh.nih.gov/nifti-1/
Are there similar but not-quite-right values?
Please list if applicable.
Additional comments

Added to schema csv, will update json-ld.


feat: 资产包协议兼容低代码组件物料

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.xuanji.w seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

另外分支指向 develop

我从私有fork仓库 提 PR


log when a signal is forwarded to child process

if you have a child process that doesn't die, it can be helpful to know that, yes, the TERM or INT signal is being forwarded to it.
here's what it looks like when i spam my terminal with Ctrl + C (shows as ^C)
SIGSCI: starting sigsci-agent...
2023/12/12 13:02:53.671910 Signal Sciences Agent 4.49.0 starting as user root with PID 352, nice=12, Max open files=1048576, Max data size=unlimited, Max address space=unlimited, Max stack size=8388608
2023/12/12 13:02:53.673132 Starting 1 reverse proxy listeners
2023/12/12 13:02:53.673137 Starting "app" HTTP reverse proxy (http://<IP_ADDRESS>:8081 <=> http://<IP_ADDRESS>:8000)
2023/12/12 13:02:53.673387 Reverse proxy services started in 10.631445ms
2023/12/12 13:02:53.673831 =====================================================
2023/12/12 13:02:53.673834 Agent:     6b905ce063a7
2023/12/12 13:02:53.673835 System:    debian 12.2 (linux 6.5.6-76060506-generic)
2023/12/12 13:02:53.673836 Memory:    22.164G / 31.040G RAM available
2023/12/12 13:02:53.673837 CPU:       10 MaxProcs / 20 CPU cores available
2023/12/12 13:02:53.673838 =====================================================
2023/12/12 13:02:53.921588 Updated "datacenters" data: 2023.11.3+162557
2023/12/12 13:02:53.945627 Enabling request processing
^CSIGSCI: Sending SIGINT to child PID 345...
2023/12/12 13:03:04.550946 Received interruption signal. Shutting down
2023/12/12 13:03:04.551005 Shutting down 1 reverse proxy listeners gracefully...
2023/12/12 13:03:04.551199 Shutdown "app" reverse proxy (http://<IP_ADDRESS>:8081)
2023/12/12 13:03:04.786304 Signal Sciences Agent 4.49.0 stopped
^CSIGSCI: Sending SIGINT to child PID 345...
^CSIGSCI: Sending SIGINT to child PID 345...
^CSIGSCI: Sending SIGINT to child PID 345...

manual test would be the log message i posted above


feat: add isDir template function

Resolves #1656
It creates an isDir template function, which can be use like:
{{- if isDir "./subdirectory" }}
do whatever you want to
{{- end }}

Please fix ci. And update docs. Add some tests.

@yxxhero Updated commits according to DCO. Updated docs. But for tests, I don't have any template, because, there isn't a test for isFile either. Can we make tests for isFile and isDir separately?

OK. LGTM


order by track number

It's pretty good at playing music (using it via docker on OSX).
Would be really great if it ordered by track number please.

Currently the 'default' ordering seems pretty arbitrary on my system.

The Polaris web player already sorts songs by track number when possible.
What format do you use to store music? Does it have proper metadata?
Can you add a screenshot of what you see?

Closing inactive issue


Custom associative array of fields + immutable + unset problem

Are you submitting a bug report or a feature request?
Question / bug report
What is the current behavior?
I have more components where I use more fields for example
Fields with name: address[street], address[number], address[zip], address[city]
And I need to unset all values on unmount but I need to be just empty object or nothing at all in address variable
So I have
componentWillUnmount() {
        this.props.dispatch(change(
            this.props.formSelector,
            this.props.field,
            {}
        ))
}

And as it should, it unset all, but than when I remount it back (withing the same form, not remounted)  and try to type anything in any of the fields, I get error "immutable.js invalid keyPath"
What's your environment?
Redux form: 7.0.4
React: 16.0.0
Immutable: 3.8.1
redux-immutable: 4.0.0
node: 8.6.0
Other information
I have always some problem with fields which are arrays, I have to always do some workarounds for them

Can you figure out what the keyPath it's trying to use is?

Probably this

but every field of them when I try to edit them I keep getting this error
Maybe it should really help if you could add some actionCreator for unseting value from values?
{
    name: 'test',
    surname: 'nice',
    address: {
       street: 'Top blvd',
       num: '15'
   }
}

and on calling dispatch(unset(form, 'address'));
it would be
{
   name: 'test',
   surname: 'nice',
}

If you could reconstruct this in the Immutable Sandbox, that would be most awesome.

@erikras
https://codesandbox.io/s/746rjmvl51

Write values for example , UserName: Test, Age: 33,
New field Test will appear
Write anything in it for example test again
Remove age (empty field)
Type age again 33
Type anything in Test field
Magic

Thanks! A reproducible sandbox makes bugs so much easier to track down.

Your problem is that Redux Form expects its values structure to be Immutable objects, and you have placed {} in there, so when it goes to setIn(['values', 'test', 'more'], 'whatever), it dies because test is not a Map.
Here's the fix: (see line 14)


[NEW ALGORITHM] Hamiltonian Path/Cycle Problem

Issue will be closed if:

You mention more than one algorithm. You can create a separate issue for each algorithm once the current one is completed.
You propose an algorithm that is already present or has been mentioned in a previous issue.
You create a new issue without completing your previous issue.

Note: These actions will be taken seriously. Failure to follow the guidelines may result in the immediate closure of your issue.

Name:
[NEW ALGORITHM]   Hamiltonian Path/Cycle Problem Algorithm
About:
Propose a new algorithm to be added to the repository
The Hamiltonian Path problem asks if there exists a path in a graph that visits each vertex exactly once. A Hamiltonian Cycle is a special case where the path also returns to the starting vertex, forming a cycle. The problem is NP-complete, meaning there is no known efficient solution for large graphs. It is typically solved using backtracking, where all possible paths are explored, and the algorithm backtracks when it encounters an invalid path.

Labels:
new algorithm, gssoc-ext, hacktoberfest, level1

Assignees:

[x] Contributor in GSSoC-ext
[x] Want to work on it

@pankaj-bind please assign this issue to me.


Missing link on articles page: The Deep Dive Ep#4 Reactive Frontend Frameworks

https://github.com/solidjs/solid/blob/main/documentation/resources/articles.md
https://thedeepdive.simplecast.com/episodes/reactive-frontend-frameworks
returns error 404

Yeah it looks like it's been taken down. We aren't really maintaining this here any more and is part of the website/docs. I'm just going to remove the link off the home page. And eventually remove those sections from the repo. Thanks for reporting.