support for easily jump to next/previous file

I would like to be able to quickly iterate through changed files. e.g. One project I work on regularly has visual snapshots checked into the repository. When things change visually it is usually just a handful of snapshots but sometimes lots of images get updated. (e.g. We change global padding on our text inputs across many views.)
I would like to be able to press a button or a keyboard shortcut to go to the next file, etc.
Personally I would also like to be able to mark a file as viewed through a keyboard shortcut or even be able to mark the current file as viewed and automatically jump to the next file not marked as viewed.

The command "Go to Next Diff in Pull Request" will go to the next diff across files. The command "Mark File as Viewed" will mark the active file as viewed. You can set keyboard shortcuts for both of these commands.

What's missing is a way to run one command to mark as viewed and go to the next file.

hmmmm… I don't see commands named "Go to Next Diff in Pull Request" or "Mark File as Viewed" 🤔

I would like a "Go to Previous Diff in Pull Request" too (I don't see that one currently).

"Go to Previous Diff in Pull Request" is already available in the pre-release build. We do indeed only who the commands when the file is a text diff. I can look at expanding this to other diffs in February.

Awesome. Thank you.
On Wed, Jan 25, 2023, 3:44 AM Alex Ross @.***> wrote:

"Go to Previous Diff in Pull Request" is already available in the
pre-release build. We do indeed only who the commands when the file is a
text diff. I can look at expanding this to other diffs in February.
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode-pull-request-github/issues/4424#issuecomment-1403339901,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABKUPXK34BOXNXHBIEKLTVLWUDYXPANCNFSM6AAAAAAUBZS3RU
.
You are receiving this because you authored the thread.Message ID:
@.***>

The existing commands are helpful but it would be great if there was a button in the toolbar for moving quickly to the next or previous diff/file in a PR without marking it as read. Sometimes I like to start a PR review by quickly looking through the files before reviewing them in depth and so I don't always want to mark them as read before moving on.

Actually, the button that marks the file as view should not only close the current file but then open the next file.


  Put them on the filesystem and just point the user's browser to them.

This was a change I was thinking of making also.


See Issue #69 - Scrapting faild on vm cloning

Any updates on this?
I've tried to apply the patch to the master branch and still getting HTTP 500 errors when disk cloning is happening...
@arogarth @pryorda

#95 fixes this


Topic 0 and 1

@jdavisonc deleted the old folder with the hidden files and also pushed the files for topic 2 and 3. PTAL

I implemented the recommendations. PTAL


Add stop sounds button

Hello!
Love this app! I really wish it had a "Stop all sounds" button though... I don't want to have to sit through an entire track sometimes haha

You're in luck, I literally built that feature yesterday (a80a72da83b06789946c7cdca7c74e8fa3a11d52).
The new version is probably going to be live in a few days. If you want to help with development and get the beta version early send me a message on Discord (jangxx#1337).


Instructions for running cypress under Windows (closes #610)

This PR adds instructions for running Cypress under Microsoft Windows which resolves the old issue reported in https://github.com/corona-warn-app/cwa-website/issues/610
A new section is added to the README.md with the following contents:

Cypress under Microsoft Windows
If executing $ npm run test:prepare causes an error on Microsoft Windows
'.' is not recognized as an internal or external command,
ensure that git is installed and execute the following command:
npm config set script-shell "C:\\Program Files\\git\\bin\\bash.exe"

@svengabr Can you review this one, please! Thanks.


Need a certificate designed using HTML & CSS

Create a new folder in the Root and just place you files inside it

I want to work on this man!


Give ORES it's own module

There are talks about adding a topic with 'bad edits' Do do this we need to

Update ORES
If ORES rates are bad - construct and emit a new event to the bad edits topic.

It's not quite possible to do this purely in the config - we need conditional, complex request-handler support etc. I don't think it worths adding all those capabilities, so give ORES it's own JS module.
cc @wikimedia/services

Coverage decreased (-0.4%) to 93.0% when pulling ad22ba5e9f3f6f79b5e014e7da362d907ef98f43 on Pchelolo:ores_module into ce0fb122b76c5423f370450e6d6ca4f229df5e0b on wikimedia:master.

Coverage decreased (-0.2%) to 93.2% when pulling ad047fe88b5c435320bc74b8ca4f71a20fe9b6b3 on Pchelolo:ores_module into ce0fb122b76c5423f370450e6d6ca4f229df5e0b on wikimedia:master.

Coverage decreased (-0.2%) to 93.2% when pulling 322c14d8e4457665768bdb2b0f2569057a731059 on Pchelolo:ores_module into d8f842209e4c9e35fd14bff5dbfd55e74109af6b on wikimedia:master.

Does this make the ORES response available? How would it be used is subsequent exec blocks?

@stephanebisson Yes. Now we will code up the subsequent requests in JavaScript.

This patch is waiting for all the rest of the EventBus infrastructure to settle in first:

https://gerrit.wikimedia.org/r/#/c/312277/
https://gerrit.wikimedia.org/r/#/c/312274/
Defining a schema for the review stream topic
creating the review stream topic

Then this will be updated to actually emit something in that topic.

Not needed anymore, we've completely changed how ORES is precached.


The version of clang use to turn GC c code into LLVM-IR must use the same LLVM version as Coolang. This is not currently enfored.

https://stackoverflow.com/questions/15836430/how-stable-is-the-llvm-assembly-language
LLVM IR is not a stable target. If generated by clang using LLVM-7 and then I try to use it with coolang using LLVM-8 it might not work.

Fixed with:
https://github.com/rickBuczynski/coolang/commit/df35ab4f92909b1f9a114d464b51126b99c3ac30


Fix: make sure all titles in the guides are informative

We have some step x titles such as "Create xxx.swift", which doesn't say what the overall aim of the step is or what that file is for, so anyone following the guide won't know what the point of that step is, these need to be fixed.

This is being addressed in issue #354


Adding captcha control

I installed the recaptcha gem in my Gemfile like so:
gem "recaptcha", :require => "recaptcha/rails"
I added the recaptcha tag in app/views/contact_us/contacts/new.html right before the submit tag
The captcha control renders successfully but I am stuck as to validate the captcha control. According to http://blog.ncodedevlabs.com/2010/01/26/implementing-recaptcha-in-your-rails-app/
To verify the captcha simple add verify_recaptcha() to your controller like the below:
if verify_recaptcha(:message => "Please enter the characters. Thank you") and @user.save
redirect_to :action => “login”
flash[:notice] = “Your account setup is almost complete please check your mail for activation link.”
end
However, this contact_us script doesnt create controllers where I can add the verify_captcha() function. Any ideas as to how captcha can be implemented?

You should be able to override ContactUs::ContactsController.  I would attempt to essentially just copy the controller file from the source code under app/controllers/contact_us/contacts_controller.rb then drop that into your application at the same file path.  You could then modify the create action to implement the recaptcha code.
Or yo could also attempt to make a contacts controller within your application that is a subclass of ContactUs::ContactsController and then override the create action.  You would then need to modify your routes to use your contacts controller rather than the gems.  This is usually a more desirable solution when trying to override an engines controller since it makes upgrading the gem easier.
I don't foresee any changes coming to the contact_us gem anytime soon unless I need to update the controller for a new version of Rails.  So just attempting to override the controller directly in the first option should be fine, and probably easier to implement.


Call to undefined function protobuf_desc_message

Hey!
Just trying this out. Installed dev-master with composer. Ran into an issue with it. Any insight? Here's the error:
$ ./vendor/bin/protoc-gen-php.php --include=/var/www/current/../greyhound/messages --out=/var/www/current/src/lib/Greyhound/Proto /var/www/current/../greyhound/messages/messages.proto
Generating protos with protoc -- protoc --plugin=protoc-gen-php='/var/www/current/vendor/centraldesktop/protobuf-php/protoc-gen-php.php' --proto_path='/var/www/current/vendor/centraldesktop/protobuf-php/library/DrSlump/Protobuf/Compiler/protos' --proto_path='/var/www/greyhound/messages' --php_out=':/var/www/current/src/lib/Greyhound/Proto' '/var/www/greyhound/messages/messages.proto'
PHP Fatal error:  Call to undefined function protobuf_desc_message() in /var/www/current/vendor/centraldesktop/protobuf-php/library/DrSlump/Protobuf/Codec/Binary/Extension.php on line 54
PHP Stack trace:
PHP   1. {main}() /var/www/current/vendor/centraldesktop/protobuf-php/protoc-gen-php.php:0
PHP   2. Symfony\Component\Console\Application->run() /var/www/current/vendor/centraldesktop/protobuf-php/protoc-gen-php.php:57
PHP   3. Symfony\Component\Console\Application->doRun() /var/www/current/vendor/symfony/console/Application.php:120
PHP   4. Symfony\Component\Console\Application->doRunCommand() /var/www/current/vendor/symfony/console/Application.php:189
PHP   5. Symfony\Component\Console\Command\Command->run() /var/www/current/vendor/symfony/console/Application.php:838
PHP   6. DrSlump\Protobuf\Compiler\Command\ProtocGenPhpCommand->execute() /var/www/current/vendor/symfony/console/Command/Command.php:256
PHP   7. DrSlump\Protobuf\Compiler\Command\ProtocGenPhpCommand->executeCompile() /var/www/current/vendor/centraldesktop/protobuf-php/library/DrSlump/Protobuf/Compiler/Command/ProtocGenPhpCommand.php:94
PHP   8. DrSlump\Protobuf\Compiler->compile() /var/www/current/vendor/centraldesktop/protobuf-php/library/DrSlump/Protobuf/Compiler/Command/ProtocGenPhpCommand.php:266
PHP   9. DrSlump\Protobuf\Message->parse() /var/www/current/vendor/centraldesktop/protobuf-php/library/DrSlump/Protobuf/Compiler.php:64
PHP  10. DrSlump\Protobuf\Codec\Binary->decode() /var/www/current/vendor/centraldesktop/protobuf-php/library/DrSlump/Protobuf/Message.php:87
PHP  11. DrSlump\Protobuf\Codec\Binary\Extension->decode() /var/www/current/vendor/centraldesktop/protobuf-php/library/DrSlump/Protobuf/Codec/Binary.php:57
PHP  12. DrSlump\Protobuf\Codec\Binary\Extension->_decodeMessage() /var/www/current/vendor/centraldesktop/protobuf-php/library/DrSlump/Protobuf/Codec/Binary/Extension.php:23
PHP  13. DrSlump\Protobuf\Codec\Binary\Extension->_describe() /var/www/current/vendor/centraldesktop/protobuf-php/library/DrSlump/Protobuf/Codec/Binary/Extension.php:108
--php_out: protoc-gen-php: Plugin failed with status code 255.</error >

protoc exited with an error (1) when executed with:

  protoc \
    --plugin=protoc-gen-php='/var/www/current/vendor/centraldesktop/protobuf-php/protoc-gen-php.php' \
    --proto_path='/var/www/current/vendor/centraldesktop/protobuf-php/library/DrSlump/Protobuf/Compiler/protos' \
    --proto_path='/var/www/greyhound/messages' \
    --php_out=':/var/www/current/src/lib/Greyhound/Proto' \
    '/var/www/greyhound/messages/messages.proto'

Looks like you've previously installed a PHP protobuf extension? Check your php.ini for a extension=protobuf.so and remove that line
I think our original forked code contained some support for a lightweight protobuf extension which we removed, looks like not all of that is gone though.

Looks like you've previously installed a PHP protobuf extension?

Yeah, we install the protobuf extension from grpc/third_party/protobuf, but it only gives me a .so file, not protoc-gen-php.
Is this the wrong way to go about it? We need to support GRPC services.

Ok looks like you can't disable that extension then. Only suggested it as a temporary workaround. I see where the real issue is in our library -- I'll get a pull request going to fix that

I'll get a pull request going to fix that

You make me the happiest. :pray:

In theory, fixed in 0.7.0


Add Resume blog post first version

Wasn't able to review it through this link:
https://habanhero.github.io/source.coveo.com/
But spelled checked and used only tried and true markup.

Great article, i really like the tone of it!

LGTM ! :shipit:


Upgraded Maven Dependencies

This PR upgrades the following dependencies:

xstream - this also fixes a security vulnerability
commons-io
AWS SDK
Logback
Commons-codec
Jodatime

@timoe This is in leiu of #5

I´ll merge and do a release afterwards.


[site-top-menu] add mobile responsiveness and collapse into side-menu options

like it says

@cgldevel this is now automatic in the site-top-menu tag.


http(s) client: how to download a big file chunk by chunk ?

Hello,
I'm trying to do some firmware update with a custom client application.
I successfully done several GET/PUT/POST operation with the https client on my device (stm32l4) with wifi offloading using the b-l4s5i-iot01a board.
Now I try to download a firmware file to perform the FOTA operation on my device. The file is currently about 650kB.
The skeleton/configuration I have used until now seems not working at all and totally blocking in the nx_web_http_client_response_body_get call.... :-(
Can you indicate a skeleton/working configuration to perform GET HTTP to retrieve a big file chunk by chunk ? I need to flash the content received block by block because of course the whole file retrieved from the server will not fit in the RAM!!
Is nx_web_http_client_response_body_get to be used ? Is it possible to have a callback invoked for each chunk of the received file ? I have seen topics about the NX_DISABLE_PACKET_CHAIN configuration, but not explored for the moment because the mqtt addon doesn't build disabling the packet chain feature...
Thanks for pointer/help/skeleton/code example that may help on this topic!
Joel

I had similar issues (but not chunked) see [https://github.com/eclipse-threadx/netxduo/issues/177]
On the STM32 forums [https://community.st.com/t5/stm32cubeide-mcus/azurertos-netxduo-unable-to-download-16k-or-larger-image-using/m-p/618241] i uploaded a simple project to download various sizes from httpbin.org, where you can specify the size of bin file
Still unresolved.

Can you please let me know if you managed the to resolve this issue. I'm also running in this issue now.

Hello @reza-hdd
I'm currently using the following skeleton, working for the moment, but should be cleanup and probably a better management of errors should be done (particularly, I'm not 100% sure of the treatments to do for different return values of nx_web_http_client_response_body_get):
while (NX_WEB_HTTP_GET_DONE != err /*content_length > 0*/) { //TODO better

        err = nx_web_http_client_response_body_get(&client, &recv_packet, NX_WAIT_FOREVER);

        if ((NX_SUCCESS == err) || (NX_WEB_HTTP_GET_DONE == err)) {
            /* Read HTTP status code */
            if (0 == *status) {
                *status = (int)strtol(recv_packet->nx_packet_data_start + 9, NULL, 10);
            }
            /* Transmit data received to the upper layer */
            if (recv_packet->nx_packet_length > 0) {
                NX_PACKET *tmp = recv_packet;
                while (NULL != tmp) {
                    if (0
                        != (ret = callback(MY_HTTP_EVENT_DATA_RECEIVED,
                                           tmp->nx_packet_prepend_ptr,
                                           (size_t)(tmp->nx_packet_append_ptr - tmp->nx_packet_prepend_ptr),
                                           params))) {
                        nx_packet_release(recv_packet);
                        goto END;
                    }
                    tmp = tmp->nx_packet_next;
                }
            }
            //        content_length -= read_length;
            nx_packet_release(recv_packet);
        } else {
            ret = -1;
            goto END;
        }
    }


Token Light Perception set to infinity provides no vision of tokens

Hello, Since updating I've noticed tokens without dark vision or another vision having their light perception value set to infinity allows them to perceive the scene, but no other tokens within it. Setting the light perception value to another value i.e. 100, allows this character to see tokens. It seems that light perception being set to infinity is not registering the player token to be able to see other tokens.

Updated to V12, dnd5e 3.2.0, and Vision 5e 2.1.0? I'm unable to reproduce this. Make sure Vision 5e is the only module enabled when you test this to rule out a compatibility problem with another module.

Thanks for checking, I did some testing on my end and it seems to be triggered with the levels module enabled.


Login API - MySQL field hashedPassword

Hello Tananaev,
I read your API: https://www.traccar.org/traccar-api/
I insert and consult directly in MySQL using PHP.
How should I store hashedPassword field?
Because the API returns me,
in http://url:8082/api/login
{"success": false, "error": "For input string:

Password are hashed using PBKDF2-HMAC-SHA1 with following parameters:
ITERATIONS = 1000;
SALT_SIZE = 24;
HASH_SIZE = 24;
Password and salt are stored in separate fields in the database.

Some example PHP?
i try with.
$pass 		= "ExamplePass";
$iteraciones 	= 1000;
$sal 			= 24;
$hash 		= hash_pbkdf2("sha1", $pass, $sal, $iteraciones, 24);
MySQL
hashedPassword   = 'c280d7b866b92ab4e729be93'
salt                         = 24

Here is an example of hash for password "password":
ef38a22ac8e75f7f3a6212dbfe05273365333ef53e34c14c (hash)
000000000000000000000000000000000000000000000000 (salt)

HASH_SIZE = 24???
in your example = 48

It's 24 bytes. I provided HEX representation of binary data.

you will have an example in php?
The data I provide me for MySQL, if they worked

I don't have a example in PHP. Java code is here:
https://github.com/tananaev/traccar/blob/master/src/org/traccar/helper/Hashing.java

Thank you
I read during the day

evigra do you have an example to login in php?
Because I try with the example from the forum but don't work


Optimize Insertion Sort, update tests, & correct comments

Insertion Sort Clean Up
Algorithm Change
The existing insertion sort implementation began by iterating from
0 until the end of the array, but it is only necessary to
iterate from 1 until the end of the array, since at the
0th index, there is nothing to compare to the left of
the element.
I also corrected the grammar/wording of the comments.
Test Change
In order to complete this change, I also had to update the tests
to reflect the fact that the algorithm visits each index 1 less
time.
Diagnostics
Passed all tests and linting.

Thanks @austintheriot

Thanks @austintheriot


Adding Edge Bundle Concept

This PR adds the concept of an edge 'Bundle'. A bundle is a set of edges that are grouped together. Internally they are a single atomic unit, but the traversal engine unpacks them during queries. These are designed for dense sets of vectors, with a one-to-many relationship, that are usually thought of as a group. Say for example there are 20K features (such as genes) and an item that is linked to all of them via some edge weight. Rather then spread the edge weights across 20K edges, that would create 20K items in the edge-indices, they are stored as a single item.
Characteristics

Created and Deleted as a unit
Not reversed indexed (can't traverse dest to source)
Can be traversed (source to dest) as individual edges
Can be easily grouped for aggregated analysis

Bundles belong to vertices. They are indexed on the source vertex.


[feat] Use newlines in list when stdout is a tty or when passed -1

Hello again @brianp 👋
Been using muxed constantly for the past few years and continue to love it! 💜
I was looking to revamp some of my tmux stuff recently and was getting annoyed with my sed hacks to get newline delimited results out of list 😆
So here is proper support for tty detection, as well as an option to force one item per line (following lss -1 options)
I was going to look into adding some test cases for that, but realized the first road block is that we don't have a great way to capture stdout in the tests, which makes it hard to write good tests for this list sub-command.
I've used assert_cmd for this in the past, but not sure if there are better options or ways of doing this. Another option I found is maybe extracting out the writing to stdout. Maybe by passing in a writer that can write to stdout for the binary and a buffer for tests? (https://users.rust-lang.org/t/how-to-test-output-to-stdout/4877/3)
My Example with assert_cmd: https://github.com/coreyja/devicon-lookup/blob/master/tests/strip_ansi.rs (Uses a 1.x version it looks like, just FYI)
Crate Docs: https://docs.rs/assert_cmd/2.0.2/assert_cmd/
Do you have thoughts on how you would like to do testing?

Fixes #53

🙌🏻 Cheers @coreyja and good to hear from you!
I just recently had a my first child which has put off my work on the other feature requests.
I'll see if I can't give this PR a run through this week/weekend. It looks good to me though so expect a merge soon.

I just recently had a my first child

Congrats!!

which has put off my work on the other feature requests.

You weren't, but never need to apologize! This is already an amazing tool, so thank you for everything you've already done!

I'll see if I can't give this PR a run through this week/weekend. It looks good to me though so expect a merge soon.

Awesome, thanks!


dwm crashing when I open too many st windows

If I keep Mod + Return pressed dwm crashes. I am using default larbs install with arch Linux. If needed any debug data tell me.

I checked with brave browser. dwm also crashses with too many brave windows


problem with install

centos7:
[root@localhost sgcache]# pip install -r requirements.txt
Collecting flask>=0.10.0 (from -r requirements.txt (line 1))
  Using cached Flask-0.10.1.tar.gz
Collecting requests>=2.7.0 (from -r requirements.txt (line 2))
  Using cached requests-2.9.1-py2.py3-none-any.whl
Collecting sqlalchemy>=1.0.0 (from -r requirements.txt (line 3))
  Using cached SQLAlchemy-1.0.12.tar.gz
Collecting pyyaml (from -r requirements.txt (line 4))
  Using cached PyYAML-3.11.tar.gz
Collecting gunicorn (from -r requirements.txt (line 6))
  Using cached gunicorn-19.4.5-py2.py3-none-any.whl
Collecting gevent (from -r requirements.txt (line 7))
  Using cached gevent-1.0.2.tar.gz
Collecting psycopg2 (from -r requirements.txt (line 9))
  Using cached psycopg2-2.6.1.tar.gz
Collecting futures (from -r requirements.txt (line 10))
  Downloading futures-3.0.5-py2-none-any.whl
Obtaining migrate from git+git@github.com:stackforge/sqlalchemy-migrate@35832555#egg=migrate (from -r requirements.txt (line 13))
  Cloning git@github.com:stackforge/sqlalchemy-migrate (to 35832555) to ./src/migrate
Warning: Permanently added the RSA host key for IP address '<IP_ADDRESS>' to the list of known hosts.
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
  Complete output from command git clone -q git@github.com:stackforge/sqlalchemy-migrate /home/mpavlov/sgcache/src/migrate:
Exception:
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/pip/basecommand.py", line 209, in main
    status = self.run(options, args)
  File "/usr/lib/python2.7/site-packages/pip/commands/install.py", line 310, in run
    wb.build(autobuilding=True)
  File "/usr/lib/python2.7/site-packages/pip/wheel.py", line 747, in build
    self.requirement_set.prepare_files(self.finder)
  File "/usr/lib/python2.7/site-packages/pip/req/req_set.py", line 359, in prepare_files
    ignore_dependencies=self.ignore_dependencies))
  File "/usr/lib/python2.7/site-packages/pip/req/req_set.py", line 476, in _prepare_file
    req_to_install.update_editable(not self.is_download)
  File "/usr/lib/python2.7/site-packages/pip/req/req_install.py", line 588, in update_editable
    vcs_backend.obtain(self.source_dir)
  File "/usr/lib/python2.7/site-packages/pip/vcs/git.py", line 124, in obtain
    self.run_command(['clone', '-q', url, dest])
  File "/usr/lib/python2.7/site-packages/pip/vcs/__init__.py", line 322, in run_command
    spinner)
  File "/usr/lib/python2.7/site-packages/pip/utils/__init__.py", line 711, in call_subprocess
    ''.join(all_output) +
UnboundLocalError: local variable 'all_output' referenced before assignment
[root@localhost sgcache]# pip install -r requirements-westernx.txt
Obtaining sgapi from git+git@github.com:westernx/sgapi#egg=sgapi (from -r requirements-westernx.txt (line 1))
  Cloning git@github.com:westernx/sgapi to ./src/sgapi
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
  Complete output from command git clone -q git@github.com:westernx/sgapi /home/mpavlov/sgcache/src/sgapi:
Exception:
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/pip/basecommand.py", line 209, in main
    status = self.run(options, args)
  File "/usr/lib/python2.7/site-packages/pip/commands/install.py", line 310, in run
    wb.build(autobuilding=True)
  File "/usr/lib/python2.7/site-packages/pip/wheel.py", line 747, in build
    self.requirement_set.prepare_files(self.finder)
  File "/usr/lib/python2.7/site-packages/pip/req/req_set.py", line 359, in prepare_files
    ignore_dependencies=self.ignore_dependencies))
  File "/usr/lib/python2.7/site-packages/pip/req/req_set.py", line 476, in _prepare_file
    req_to_install.update_editable(not self.is_download)
  File "/usr/lib/python2.7/site-packages/pip/req/req_install.py", line 588, in update_editable
    vcs_backend.obtain(self.source_dir)
  File "/usr/lib/python2.7/site-packages/pip/vcs/git.py", line 124, in obtain
    self.run_command(['clone', '-q', url, dest])
  File "/usr/lib/python2.7/site-packages/pip/vcs/__init__.py", line 322, in run_command
    spinner)
  File "/usr/lib/python2.7/site-packages/pip/utils/__init__.py", line 711, in call_subprocess
    ''.join(all_output) +
UnboundLocalError: local variable 'all_output' referenced before assignment

What have you tried?

I try to start the sgcache. For that, I followed the instructions: http://sgcache.readthedocs.org/en/latest/setup.html#installation
Now I have installed all the dependencies manually.

Could you do more detailed instructions? I have little experience in the development of python and that I did not get to test your project.


Conv Layer

Conv Layer
MaxPool Layer
Go mod configured
GitHub Actions configured
Fix a few linting issues

LGTM. Good to merge?

yes, thanks!


Enabling syncookies breaks traffic that both originates and terminates on the firewall

Important notices

[X] I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
[X] I am convinced that my issue is new after having checked both open and closed issues at https://github.com/opnsense/core/issues?q=is%3Aissue

Describe the bug
Enabling syncookies breaks traffic both originating and terminating on the firewall (such as when you put Caddy in front of the OPNsense web GUI).
To Reproduce

Set up Caddy to proxy the OPNsense web GUI according to the tutorial
SSH into the firewall
openssl s_client -connect <IP_ADDRESS>:443 (or :8443; both are affected, showing it's neither a Caddy nor a lighttpd issue)
See your certificate and be happy
Firewall - Settings - Advanced, change Enable syncookies from never (default) to always, click Save
openssl s_client -connect <IP_ADDRESS>:443 (or :8443)
After connection and a delay of many seconds, see write:errno=54 and be sad

Expected behavior
Not this.
Additional context
Discovered while troubleshooting this issue.
Environment
OPNsense Business 24.4_8 (amd64)
os-caddy 1.5.4_1

After investigation, an issue was found for IPv6 (https://reviews.freebsd.org/D47257), but when using syncookies in general we apparently run into an implementation limitation.
In order to use syncookies, all [tcp] rules need to be stateful, which in our case for loopback (lo0) is not the case since https://github.com/opnsense/core/commit/a9a67b42550a083388e9ed5d24033e008cce437d.
Short term, we can make the loopback rule stateful when syncookies are used, which likely has downsides (certainly when killing states), but is likely less problematic than the current implementation.
Long term, we should decide if we should use pf on lo0 as OpenBSD does seem to recommend skipping loopback (https://www.openbsd.org/faq/pf/filter.html) as best practice. Filtering lo0 and allowing all with a rule has been the case from the beginning it seems (https://github.com/pfsense/pfsense/blame/349aa28eb1bb7cddc1c369f1536c70f139c4bae3/etc/inc/filter.inc#L876-L880).
A clear note about the state limitations of the feature are likely also a good idea.


Upgraded to 13.1.0 : Coverage unknown

After upgrade to ver. 13.1.0. from 12.0.2, nyc has stopped generating coverage report. My test cases are executed through mocha and after the execution, following coverage report gets generated.
Statements   : Unknown% ( 0/0 )
Branches     : Unknown% ( 0/0 )
Functions    : Unknown% ( 0/0 )
Lines        : Unknown% ( 0/0 )
I've tried explicitly setting the --hook-run-in-context and --hook-run-in-this-context but still no coverage report gets generated.
My .nycrc file is
{   "include": [     "./src/**/*.js"   ],   "exclude": [     "./src/**/*.spec.js"   ],   "reporter": [     "text-summary",     "html"   ] }

I was having a similar issue but even without upgrading. What I did figure out is that I had the latest Node version on my system. Using nvm to run Node LTS I had no issues and my coverage reports started working again.


Create rules for use of PR in c17 of GAF

From Jira GO-278
The ecocyc GAF has lines such as this:
UniProtKB P0AD01 dcuR GO:0006355 GO_REF:0000037 IEA SP_KW:KW-0805 P DcuR transcriptional activator dcuR|yjdG|b4124|ECK4117 protein taxon:83333 20140118 UniProtKB PR:000022415

Note here the c17 value is actually the superclass of the protein in c2:
http://www.proconsortium.org/cgi-bin/pro/entry_pro?id=PR:000022415
This should be invalid. c17 is for indicating a specific isoform of the generic organism-gene level entry in c2. It isn't an ID mapping column.
I propose a new annotation rule:
If a PR ID is used in c17, it must be Category=organism-gene or below (even Category=organism-gene is debatable, as this is the same level of specificity as what is in c2).

Harold Drabkin added a comment - 31-Mar-14 16:13
Yes, we just saw this.
There are even PR: ids for IEAs
All of these map to the gene level/organism gene;
The rules as I remember were
for c17, if have isoform id, put it in
else
UniProtKB: (not isoform)

MGI has already cleaned up (not reflected in GAF yet; fix needs to move into production;
ecocyc still may be a problem.

Hi Harold,
Please assign as appropriate (to yourself presumably?).
Thank you.
Paola

This is more of an annotation issue; maybe needs documentation?
@pgaudet can we transfer this to go/annotatation?

Sure it can be moved - but what needs to be done ? Document the rule and add a check ?

Yes, something like that.

just checking with @cmungall that checks of the annotations go in the go-annotation tracker (sounds reasonable!)
Thanks, Pascale

Moved to https://github.com/geneontology/go-site/issues/835


Any ideas on where to insert the encoder node when there are multiple KSamplers with different models?

Do I need to insert the encoder for both kSamplers? Just want to know if it's possible for my workflow atm. Thanks!

It doesn't seem like the model right now supports img2img. Just want to confirm. Thanks!

No. The model does not support img2img right now. Lvmin mentioned in https://github.com/layerdiffusion/sd-forge-layerdiffuse?tab=readme-ov-file#sd-forge-layerdiffuse that img2img will be release in about 1 week.


Add Trim Indicator

A minimalistic add-on displaying trim values inside the control gauges.

Looks good to me. Merging with thanks!


Fix top shadow on search bar on iOS

@lazynina This fixes the thicker top border/ shadow issue on the search bar on iOS.
The previous fix https://github.com/bitclout/frontend/pull/137 does not seem to work.
Before:

After:

Thanks!


make change to accomodate for optional group for the add command

Codecov Report

Merging #117 (35ba8b2) into master (fe65f63) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #117   +/-   ##
=========================================
  Coverage     63.51%   63.51%
  Complexity      606      606
=========================================
  Files           108      108
  Lines          2020     2020
  Branches        228      228
=========================================
  Hits           1283     1283
  Misses          662      662
  Partials         75       75

Continue to review full report at Codecov.

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

This PR may be covered with Kashish's PR #110 already, let's revisit to check after that has been merged?

Yup, looks like this has been covered by #110 already, thanks for the initiative though!


Allow RenderObjects to read the size/position of a "deep" descendant

Currently, RenderObjects can read the size of only their direct children.
It is not possible for a RenderObject to implement a performLayout that  depends on the size/position of a specific descendant that is not a direct child.
I'd like this to be supported (and is willing to code it myself)
Motivation
There are two main features that I have in mind with this feature (and managed to implement, modulo manually disabling the RenderBox.size asserts):

"Portals", a declarative way to manipulate Overlays.
TD;DR, OverlayEntry becomes a Widget (and we have an equivalent for Overlay).
It'd be typically used this way:
Portal(
  child: SomeWidgets(
    child: PortalEntry(
      // the result of `portalBuilder` is inserted as a child of `Portal` _synchronously_.
      portalBuilder: (BuildContext context, Size portalSize, Size childSize, Offset childOffset) {
         // portalSize is the Size of the `Portal` widget
         // childSize is the size of the `child` widget (here Text)
         // childOffset is the Offset of `child` within `Portal` (so 0,0 if child is topLeft aligned)

       return MyOverlay();
      },
      child: Text('child of SomeWidget'),
    ),
  ),
),

The combination of portalSize+ childSize+ childOffset allows aligning the overlay around the child.
And if these values were to update (like if the Text is draggable), portalBuilder is called again with the new values.
I've already got this to work (modulo implementing this feature request myself).

Local "hero" animations
Now that we have a synchronous declarative way to manipulate overlays like described before, it becomes possible to have a Hero implementation that works within a Route, instead of only on Navigator.push/pop

Problems
From my understanding, there are two things blocking this feature today:

RenderBox.size has a bunch of asserts, one of which prevents other RenderObjects to read the size of their indirect descendants. It needs to be somehow disabled
The parent RenderBox that depends on a deep descendant for its layout needs to be kept in sync with layouts updates of that descendant.

Proposed solution
IMO the most logical thing to do is to bind the parent to the desired descendant, such that calling markNeedsLayout on the descendant calls it on the parent too.
For this, I'd go for a void bindLayout(RenderObject) method, that store the RenderObject in a set, such that it'd be used this way:
RenderBox someDeepDescendant;
RenderBox anotherBranch;

@override
void performLayout() {
  someDeepDescendant.bindLayout(this);

  size = constraints.biggest;
  anotherBranch.layout(BoxConstraints.tight(someDeepDescendant.size));
}

Then, on detach of this, it'd be automatically unbound from someDeepDescandant.
NOTE:
To ensure that people don't bind two RenderObjects that are on two different branch, the bind method should have an assert that checks that the parameter is one of its ancestors.
From there, the assert on RenderBox.size could be updated to not throw if RenderObject.debugActiveLayout is bound this box.
This would allow preserving the assert instead of having to remove it.

The reason we make it difficult to access child data is that it is frequently something that would at best slow down and at worst completely break our layout algorithm(s).
What happens when that deep descendent decides it's sized by the parent?  What happens when an intermediate widget introduces new constraints that impact the size of the deep descendent? Why do we need to know the size of a widget to acheive animations within a route?

What happens when that deep descendent decides it's sized by the parent? What happens when an intermediate widget introduces new constraints that impact the size of the deep descendent? Why do we need to know the size of a widget to acheive animations within a route?

This doesn't remove the "a descendant can't read an ancestor's size" limitation.
So in all the described situations, there's no issue, as far as I'm aware.
The parent pass down constraints, and descendants send up their size. The behavior doesn't change. It's just extended to work where child is not the direct descendant.

Parents pass down their constraints during layout.
Size is determined after layout.
You're trying to read the size before layout has finished.

That's no different from the current behavior:
RenderBox someDescendant;
RenderBox anotherBranch;

@override
void performLayout() {
  someDescendant.layout(constraints, parentUseSize: true);

  size = someDescendant.size;
  anotherBranch.layout(BoxConstraints.tight(someDescendant.size));
}

But why are you giving someDescendant the constraints of a remote ancestor?  What if some other intermediate descendant would have modified those constraints?

There are many use-case, like tooltips or contextual menus.
They are overlays, but are aligned around a specific widget.
So the Overlay needs to know the size and location of that widget.
It's not a problem if another widget in between modified the final size/position.

Similarly, "local hero animations" is a very requested feature. But due to that missing feature, it's currently very difficult to implement.
It is currently impossible to synchronously add an OverlayEntry, especially if it depends on the size of another widget.
This leads to multiple workarounds with the current Hero implementation (like this line: https://github.com/flutter/flutter/blob/master/packages/flutter/lib/src/widgets/heroes.dart#L802)
And makes local heroes impossibles for the same reason (as delaying the rendering by a frame for local heroes leads to an ugly flash).

Is your end goal here to just support animations from one render object to another?

I don't really understand why you'd want to access the size of a deep descendant. Can you give more details around what the Portal widget is supposed to do? And what kind of Hero animations that would enable that you currently can't do? In other words: Can you describe what you want to do without focusing on the mechanism to get there?

This should definitely not be in the core framework, because it's very expensive (that's why the core framework doesn't have it). But it should be relatively straight-forward to make a new RenderObject descendant that does this. You'd need to set up logic similar to how RenderBox handles intrinsics and baselines.

<example WIP, I'll post it in a few minutes  — just anwering Hixie first>

This should definitely not be in the core framework, because it's very expensive (that's why the core framework doesn't have it). But it should be relatively straight-forward to make a new RenderObject descendant that does this. You'd need to set up logic similar to how RenderBox handles intrinsics and baselines.

I don't mind it leaving in a package, and it's not a suggestion to include these widgets in Flutter.
It's about simply enabling packages to makes such thing.
I'm not an expect on RenderObjects, so I can have missed something. But I don't think the "problems" I listed can be solved as a package.
For example, to obtain the position of the deep descendant, I called descendant.getTransformTo(parent).
But this is impossible to call such method inside performLayout without disabling some asserts on RenderObject.size.

You wouldn't use RenderBox. RenderBox isn't set up to do this. You'd have to create a new RenderObject subclass that knows how to propagate the dirty state when the size of a descendant might change. This is very similar to the logic that RenderBox has for baseline and, especially, intrinsics. With intrinsics, in particular, when the parent asks for the intrinsic size, we keep track of that and if the size would change, we go and mark the parent as needing layout. You would need to implement that same logic, but with some mechanism to support going multiple levels. You'd also need a mechanism to handle ancestors or descendants being removed from the tree, or moved to another place in the tree, without leaving broken links everywhere, and so on.
It's a lot of work, but it's all possible to do today.

Portal widget is supposed to do

Replace Overlay entirely, with have a declarative API instead of an imperative API.
That's it, but it's a huge simplification of how to make overlays.
It's named "portal" because that's an existing feature built-in React: https://reactjs.org/docs/portals.html
Its main purpose being, it's an enabler for more feature like local heros or a contextual menu that doesn't block clicks.
Here's an example:

Where the blue rectangle is supposed to be an overlay, and the white rectangle is a content that moves (typically inside a ListView).
Note that the blue card is top-left aligned with the white one.
Such thing is very difficult and hacky to do right now. We need to use an imperative API, and fight against the widgets/renderobjects layer using post frame callback.
This leads to the effect we see on this gif, where the alignment isn't perfect, because it's delayed by a frame. So if the white card moves fast, the blue card becomes misaligned temporarily.
With portals, such thing becomes very easy:
PortalEntry(
 // aligns the top left of the white card with the bottom left of the blue card
  originAnchor: FractionalOffset.topLeft,
  entryAnchor: FractionalOffset.bottomLeft,
  portal: Card(color: Colors.blue, child: Text('overlay')),
  child: Card(
    color: Colors.white,
    child: Text('drag me'),
  ),
);

And the layout would also not be late by a frame.

And what kind of Hero animations that would enable that you currently can't do?

There are quite a lot of issues requesting it. Here's one of the many use-cases:

We can see how the grid items smoothly moves from one position to another.
There's no push/pop involved, but it's still a Hero animation.

Couldn't a "Portal" be achieved with a widget that automatically manages an OverlayEntry in addition to a CompositedTransformTarget?

I have no idea what CompositedTransformTarget is. But it is impossible to insert an OverlayEntry inside initState/didUpdateWidget and will throw the typical "setState() or markNeedsBuild() called during build".

Ah, I missed @Hixie's answer.
Thanks for the feedback! I'll take a look into this.
I'd like to make sure of something else first:
Assuming we're able to make a custom RenderObject as you've described to watch a descendant's size, what about its position?
Because I tried calling descendant.getTransformTo(parent)  to obtain the offset of descendant within parent. But this, too, makes some assertions fail (as some implementations of applyPaintTransform depends on RenderBox.size).

Tracking position has to be done at the layer tree level (because you won't be notified when a random ancestor in a different paint boundary changes its child transform). That's what CompositedTransformFollower is for.

The [CompositedTransformTarget] must come earlier in the paint order than this [CompositedTransformFollower].

In that case, the target would be the descendant and the follower would be the parent. Won't that cause an issue as the parent's paint method is called before the descendant?

You wouldn't use RenderBox. RenderBox isn't set up to do this. You'd have to create a new RenderObject subclass that knows how to propagate the dirty state when the size of a descendant might change.

About this, I have some trouble understanding how that would work (even while looking at the sources of intrinsic/baseline)
But I've thought of a potential alternative.
Do you mind validating it @Hixie, so that we can close this issue?
Basically, instead of a custom RenderObject subclass, I'm thinking of having two RenderBox for the parent, such that we'd have a tree similar to:
              RenderPortal
           /                       \
       child                    RenderPortalTheater
          !                                  /          \
    whatever                   entry1    entry2   ...
          !
   PortalEntry
          !
      child

Where RenderPortal is nothing by a Stack (it doesn't depend on the descendant's size).
It is instead RenderPortalTheater that  depends on PortalEntry's size.
Then, PortalEntry's performLayout will pass its size to RenderPortalTheater, which calls markNeedsLayout on the theater.
And since RenderPortalTheater is in a different branch and later in the layout order, it will naturally update within the same frame.
This should allow RenderPortalTheater to always be in sync with PortalEntry's without doing anything too advanced for me.

Alright, after a lot of work I can confirm that the above architecture works.
So this feature request is no longer needed


⚠ Bofrost.at has degraded performance

In eaaa277, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1703 ms

Resolved: Bofrost.at performance has improved in d709428 after 6 minutes.


Escape should close svelte inspector

Describe the problem
Escape does not close svelte inspector
Describe the proposed solution
Escape should close svelte inspector
Alternatives considered

Importance
would make my life easier

needs a key check for escape here https://github.com/sveltejs/vite-plugin-svelte/blob/0c2695dfa3e6176e406b4aa145df01a441f45f1b/packages/vite-plugin-svelte-inspector/src/runtime/Inspector.svelte#L191

fixed by #880


Does the validation process update the model weights?

Hi,
I am using the sample code here for training, https://github.com/PaddlePaddle/PaddleClas/blob/master/tools/train.py
with the configure file configs/quick_start/ResNet50_vd_finetune.yaml
I would like to know does the validation process update the model weights?
Many thanks.

Thanks for your attention. During the validation process, the weights will be not updated.


ESLint is not showing not working in VS Code.

I have ESLint installed as a developer dependency in the project and I do not have it installed globally. I have the VS Code ESLint extension enabled.
In order to ensure my rules actually work, I have tested running ESLint via command line on my source directory and everything worked fine, errors were detected.
All my User Settings/Workspace Settings have been untouched, and all the ESLint default settings are still the same as ones here: https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint.
This is what my .eslintrc.json looks like:
 {
   "env": {
     "node": true,
     "es6": true
   },
   "extends": "eslint:recommended",
   "parserOptions": {
     "ecmaVersion": 2017
   }
 }

This file is placed in the main directory of the project, along side the package.json and the src/ directory.
I have tried adding the following setting to my VS Code User Settings:
"eslint.workingDirectories": ["./src"] with no success.
Many other people have downloaded the exact same package as I did, and have successfully enabled ESLint in VS Code. What am I missing?

Hello, there. I've been facing the same problem, isn't there any solution or explanation for this yet?


feat: resource delete

Description of change
This creates a CLI command to delete resources. It is still a WIP as it only allows listing resources first to know which ones to delete.
How Has This Been Tested (if applicable)?
...

@chesedo Oops, I didn't notice before that you created a PR for me.  This branch is now ready for review.
I didn't write any automated tests for the new resource delete command.  The test harness could do with a bit of love, so that it's possible to write maintainable tests for this, and I'm not able to put in the time for that.  AFAICT not much of the CLI is auto-tested anyway.
I also deliberately avoided some obvious candidates for refactoring, to keep the scope reasonable.

CI caught an inconsistency when the errors feature is disabled. Can you help me understand the intended behaviour so I can fix it?

Thanks Kieren, this is looking good! The reason this errors is because the ParseError has some dependencies we don't want exposed to all dependents of common (which includes user projects), so it's behind a feature flag. Now it doesn't error in deployer which does not enable the errors feature of common, but I believe this is by accident, since deployer depends on shuttle-proto which does have the errors feature enabled.
Since your additions to the ParseError does not deal with parsing of prost generated types, perhaps it should be a separate error? Or perhaps we should keep it like it was (type Err = String)?

Thanks @oddgrd, that makes sense.
Using String as an error type is not great, because then consumers can't use the usual Rust mechanisms to inspect the error (and it wastes a few bytes of memory :stuck_out_tongue:). You're right that there ideally should be a separate error type, but the common models need a bit of a rework before it can be done sensibly. So for now I'm kinda hacking it and making it unit.

To be quite honest, I think the fundamental workflow here is wrong, and the "right" way looks closer to how reconciliation works in Kubernetes, but with a retention period before automatic deletion - and then resource delete just immediately ends the retention period. But that would need pretty deep changes to track exactly what resources were declared by every deployment. Right now, it's outright impossible, because you can't even know what resources are declared by a deployment until you successfully build and run it.
Still, you're right, a prompt is probably a good idea. If other commands need it to, I'm in favour of leaving it out of scope of this PR.

I was naughty. The otel collector config broke all the locally-running services (I forgot how I fixed it last time), and I gave up and pushed before I successfully tested my changes. I just got it running now, and found a bug. I could use some help fixing it.

Thanks for the link, we're planning to use Kubernetes and I have a lot to learn about it so that's interesting! I think a retention period is a great idea and something we'll need to have in the future. About tracking resources, Pieter actually just submitted a PR for this on our feature branch for a big horizontal scaling refactor we're working on here: https://github.com/shuttle-hq/shuttle/pull/906 (he also made a diagram for the new architecture, we're going to put it in the contribution docs when we update them).

Haha, no worries! I'll take a look at that tomorrow.

On 2., could you elaborate a bit on the bug you found that caused this error? Which command did you try to run?
Also does the otel collector break locally running services for you? For me it just logs some errors, but I've just ignored them. We should of course disable it for local development like we do for panamax, but it should be fine to ignore.

We are soon adding this feature, but a lot has changed since this PR. We might re-use parts of it. Thanks for the good work.


JS IPFS instance supplied via hls.config prevents Hls.js from kicking off its demuxing web worker

By default, Hls.js delegates the demuxing work to a web worker and the Hls.js config is included in the payload sent to that web worker.
Error is thrown when JSON.stringify tries to "stringify" circular structure inside the JS IPFS instance. Hls.js then reverts to inline demuxing as a fallback solution. This is not ideal.

A viable solution is to wrap the IPFS loader class with a factory function that accepts the IPFS instance as an augment and supplies it to the loader class returned.
For instance,
function HlsjsIPFSLoaderFactory (ipfs) {
    return class HlsjsIPFSLoader {...}
}

Then to use it:
const ipfs = await ipfsFactory();
Hls.DefaultConfig.loader = IPFSLoaderFactory(ipfs);

A viable solution is to wrap the IPFS loader class with a factory function that accepts the IPFS instance as an augment and supplies it to the loader class returned.
For instance,
function HlsjsIPFSLoaderFactory (ipfs) {
    return class HlsjsIPFSLoader {...}
}

Then to use it:
const ipfs = await ipfsFactory();
Hls.DefaultConfig.loader = IPFSLoaderFactory(ipfs);


Upgrade to new flag prefixes when available and handle removal of SZ_SEARCH_INCLUDE_MATCH_KEY_DETAILS

Flag changes are coming at the native layer.
Once a new build is available do the following:
Change from G2_ENTITY_OPTION_INCLUDE_*prefixes to SZ_ENTITY_ or SZ_ENTITY_INCLUDE_ (whichever is chosen)
Change from G2_ to SZ_ in general for native flags provided by engine team
Remove SZ_SEARCH_INCLUDE_MATCH_KEY_DETAILS

See https://github.com/senzing-garage/g2-sdk-java/issues/75


Can't use certain Arpabet phonemes with the Arpasing Phonemizer

Could someone please add support for all phonemes in Arpabet instead of just the common ones.

You can add additional phoneme symbols by editing arpasing.yaml in the Plugins folder or in individual voicebank folders. It will allow you to use those phonemes when typing lyrics phonetically.

OK, that seems to work. I made a repository for the new file, if you want to use it.


Add a demo to the README

Could you add a demo of this extension to the README?

Hi,
I've added a little demo on the readme. I would appreciate if you can give it a try and let me know if that works for you :-).


Update to 1.4.0

Latest release

@minxu74, thanks for installing on Andes.  I agree, let's leave the path as it is for now.  You can't move the existing environments because the path is hard-coded within them in a lot of places.  We could install to a new path that doesn't include the machine name in the future and delete the old environments.

@minxu74, thanks for installing on Andes.  I agree, let's leave the path as it is for now.  You can't move the existing environments because the path is hard-coded within them in a lot of places.  We could install to a new path that doesn't include the machine name in the future and delete the old environments.


chore: add comparator for diff tester

Summary
Reimplement #5002
Test Plan
Require Documentation?

[x] No
[ ] Yes, the corresponding rspack-website PR is __

!canary

!canary

!diff

!canary

!canary


fix(docker): copy files before pip install

PROBLEM
Scenario: Docker build fails
Given I have just cloned the repo
When I run "make build"
Then I receive the error "Directory '.' is not installable. File 'setup.py' not found."
And the docker image does not build

This is due to pip install -e .[dev] --no-cache-dir  failing because local modules referenced inside of setup.py are not available at installation time -- specifically beacon_chain and ssz.

SOLUTION
Scenario: Add source files into the build image earlier
Given the problematic "Dockerfile" is
"""
FROM python:3.6-stretch

WORKDIR /usr/src/app

RUN pip install --upgrade setuptools
RUN pip install -e .[dev] --no-cache-dir

COPY . .

CMD [ "tail", "-f" "/dev/null" ]
"""
When I  move "COPY . ." before "pip install -e .[dev] --no-cache-dir"
Then pip can properly resolve "beacon_chain" and "ssz"
And "make build" runs successfully

CUTE ANIMAL PICTURE? 😅

Thank you @johnsBeharry! And I like your the cute animal picture!


Boot warns

Welcome to CentOS Linux 7 (Core)!

         Starting Collect Read-Ahead Data...
         Expecting device dev-ttyS0.device...
[  OK  ] Reached target Remote File Systems.
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
[  OK  ] Listening on Delayed Shutdown Socket.
[  OK  ] Listening on udev Kernel Socket.
[  OK  ] Listening on udev Control Socket.
[  OK  ] Listening on Journal Socket.
         Mounting POSIX Message Queue File System...
         Starting udev Coldplug all Devices...
         Starting Create static device nodes in /dev...
         Starting Journal Service...
[  OK  ] Started Journal Service.
[  OK  ] Reached target Encrypted Volumes.
[FAILED] Failed to set up automount Arbitrary Executable File...utomount Point.
See 'systemctl status proc-sys-fs-binfmt_misc.automount' for details.
         Mounting Debug File System...
[  OK  ] Reached target Swap.
[  OK  ] Created slice Root Slice.
[  OK  ] Created slice User and Session Slice.
[  OK  ] Created slice System Slice.
[  OK  ] Reached target Slices.
[  OK  ] Created slice system-getty.slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Started Create static device nodes in /dev.
[  OK  ] Mounted Debug File System.
         Starting udev Kernel Device Manager...
[  OK  ] Started Collect Read-Ahead Data.
         Starting Setup Virtual Console...
         Starting Apply Kernel Variables...
         Starting Remount Root and Kernel File Systems...
[  OK  ] Started udev Kernel Device Manager.
[  OK  ] Started Apply Kernel Variables.
[  OK  ] Started Remount Root and Kernel File Systems.
         Starting Load/Save Random Seed...
         Starting Configure read-only root support...
[  OK  ] Reached target Local File Systems (Pre).
[  OK  ] Started udev Coldplug all Devices.
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Started Setup Virtual Console.
[  OK  ] Found device /dev/ttyS0.
[  OK  ] Started Configure read-only root support.
[  OK  ] Reached target Local File Systems.
         Starting Trigger Flushing of Journal to Persistent Storage...
         Starting Mark the need to relabel after reboot...
         Starting Security Auditing Service...
         Starting Create Volatile Files and Directories...
[  OK  ] Started Mark the need to relabel after reboot.
[  OK  ] Started Trigger Flushing of Journal to Persistent Storage.
[  OK  ] Started Create Volatile Files and Directories.
[FAILED] Failed to start Security Auditing Service.
See 'systemctl status auditd.service' for details.
         Starting Update UTMP about System Reboot/Shutdown...
[  OK  ] Started Update UTMP about System Reboot/Shutdown.
[  OK  ] Reached target System Initialization.
[  OK  ] Reached target Timers.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Paths.
[  OK  ] Reached target Basic System.
         Starting LSB: Start the iprupdate utility...
         Starting firewalld - dynamic firewall daemon...
         Starting SCW generate ssh keys onfirst boot...
         Starting SCW fetch kernel modules from Scaleway mirror...
         Starting SCW fetch ssh keys from metadata...
         Starting System Logging Service...
         Starting irqbalance daemon...
[  OK  ] Started irqbalance daemon.
         Starting Dynamic System Tuning Daemon...
         Starting Login Service...
         Starting D-Bus System Message Bus...
[  OK  ] Started D-Bus System Message Bus.
         Starting Permit User Sessions...
         Starting Dump dmesg to /var/log/dmesg...
         Starting LSB: Start the ipr init daemon...
[  OK  ] Started Permit User Sessions.
         Starting Command Scheduler...
[  OK  ] Started Command Scheduler.
         Starting Getty on tty1...
[  OK  ] Started Getty on tty1.
         Starting Serial Getty on ttyS0...
[  OK  ] Started Serial Getty on ttyS0.
[  OK  ] Reached target Login Prompts.
[FAILED] Failed to start SCW fetch kernel modules from Scaleway mirror.
See 'systemctl status oc-sync-kernel-modules.service' for details.
[  OK  ] Started Dump dmesg to /var/log/dmesg.
[  OK  ] Started System Logging Service.
[  OK  ] Started SCW fetch ssh keys from metadata.
[  OK  ] Started Login Service.
[  OK  ] Started LSB: Start the iprupdate utility.
[  OK  ] Started LSB: Start the ipr init daemon.
         Starting LSB: Start the ipr dump daemon...
[  OK  ] Started LSB: Start the ipr dump daemon.
[  OK  ] Started Dynamic System Tuning Daemon.
[  OK  ] Started firewalld - dynamic firewall daemon.

CentOS Linux 7 (Core)
Kernel 4.1.6-249 on an armv7l

condescending-raman login:

I happen the same problem. After step "[ok] Started LSB: Start the ipr dump daemon". It does not work. How to solve this problem?

Hi @linrio,
I have no idea yet, we should post a more recent boot trace on #centos-arm to get help from experts

Here is an updated version: https://gist.github.com/moul/f04c1737c1b1206efbb5


No outputAudio in response with .streamingDetectIntent

I am using version 0.10.3 and sessionClient is dialogflow.v2beta1.SessionsClient()
Automatic Text to Speech is enabled for my Dialogflow Agent.
When using .detectIntent the response object contains a filled outputAudio buffer. Great!
When using .streamingDetectIntent the response has an empty outputAudio buffer. Bad!
This is my pretty basic request config:
const initialStreamRequest = {
                session: sessionPath,
                queryParams: {
                        session: sessionClient.sessionPath(projectId, sessionId),
                },
                singleUtterance: true,
                interimResults: false,
                queryInput: {
                        audioConfig: {
                                audioEncoding: encoding,
                                sampleRateHertz: sampleRateHertz,
                                languageCode: languageCode,
                        },
                },
        };

The response looks like this:
{
  "alternativeQueryResults": [],
  "responseId": "80d03e0e-b10d-411d-85eb-6ed5f2209d40-ee1dc704",
  "recognitionResult": null,
  "queryResult": {
    "fulfillmentMessages": [
      {
        "platform": "PLATFORM_UNSPECIFIED",
        "text": {
          "text": [
            "Dies ist das Testaudio."
          ]
        },
        "message": "text"
      }
    ],
    "outputContexts": [
      {
        "name": "projects/XXXXXXXXXX/agent/sessions/YYYYYYYYYY/contexts/ctx-variables",
        "lifespanCount": 995,
        "parameters": {
          "fields": {
            "uuid": {
              "stringValue": "YYYYYYYYYYYYYY",
              "kind": "stringValue"
            },
            "uuid.original": {
              "stringValue": "",
              "kind": "stringValue"
            }
          }
        }
      }
    ],
    "queryText": "spiele das Test Audio",
    "speechRecognitionConfidence": 0,
    "action": "",
    "parameters": {
      "fields": {}
    },
    "allRequiredParamsPresent": true,
    "fulfillmentText": "Dies ist das Testaudio.",
    "webhookSource": "",
    "webhookPayload": null,
    "intent": {
      "inputContextNames": [],
      "events": [],
      "trainingPhrases": [],
      "outputContexts": [],
      "parameters": [],
      "messages": [],
      "defaultResponsePlatforms": [],
      "followupIntentInfo": [],
      "name": "projects/XXXXXXXXXX/agent/intents/ZZZZZZZZZZZZZZZZZZZZZ",
      "displayName": "Test Intent - DO NOT DELETE",
      "priority": 0,
      "isFallback": false,
      "mlEnabled": false,
      "webhookState": "WEBHOOK_STATE_UNSPECIFIED",
      "action": "",
      "resetContexts": false,
      "rootFollowupIntentName": "",
      "parentFollowupIntentName": "",
      "mlDisabled": false,
      "endInteraction": false
    },
    "intentDetectionConfidence": 1,
    "diagnosticInfo": null,
    "languageCode": "de",
    "sentimentAnalysisResult": null,
    "knowledgeAnswers": null
  },
  "webhookStatus": {
    "details": [],
    "code": 0,
    "message": ""
  },
  "outputAudio": {
    "type": "Buffer",
    "data": []
  },
  "outputAudioConfig": {
    "audioEncoding": "OUTPUT_AUDIO_ENCODING_LINEAR_16",
    "sampleRateHertz": 0,
    "synthesizeSpeechConfig": {
      "effectsProfileId": [
        "telephony-class-application"
      ],
      "speakingRate": 1,
      "pitch": 0,
      "volumeGainDb": 0,
      "voice": {
        "name": "de-DE-Wavenet-D",
        "ssmlGender": "SSML_VOICE_GENDER_UNSPECIFIED"
      }
    }
  }
}

Any help is appreciated!
Thanks,
Mark.

Hi @mwoop, this sounds like it might be a backend issue. You might try opening an issue about this over in the product trackers.

Since this is likely a backend issue and it has been pretty quiet here, I'm going to close this out. Please let us know if this is a mistake and we'll be happy to re-open!

@callmehiphop I've got exactly the same issue - just spent the past 2 hours thinking my code was wrong. Happens on v2 and v2beta1. Is there some way to enable debugging to see the actual grpc result and not what's seen through the stream interface?

@danjenkins I think the following env vars used to work, but I'm not 100% if they still do or not
GRPC_TRACE=all
GRPC_VERBOSITY=DEBUG

Thanks @callmehiphop - I'll give that a quick go now.

Doesn't seem to give me what I need unfortunately. Gives me connecting debug but no actual results from the underlying transport for results to streamingDetectIntent
I'm setting all the right things in my initial streaming settings
this._initialStreamRequest = {
      session: this._dialogFlowSessionPath,
      queryInput: {
        audioConfig: {
          audioEncoding,
          sampleRateHertz,
          languageCode,
        },
        singleUtterance: false,
      },
      outputAudioConfig: {
        audioEncoding: "OUTPUT_AUDIO_ENCODING_LINEAR_16",
        sampleRateHertz,
        synthesizeSpeechConfig: {
          speakingRate: 1,
          pitch: 5,
          volumeGainDb: -8,
          voice: {
            ssmlGender: 'SSML_VOICE_GENDER_FEMALE'
          }
        }
      },
    }

I even have text to speech enabled in the agent config so it should be giving me back the results
Automatically convert default text responses to speech in all conversations. The output audio will be included in DetectIntentResponse and StreamingDetectIntentResponse

Oh and here's the response to when I half close the stream (close writing)
got data from dialogflow { alternativeQueryResults: [],
  responseId: 'bb3a19cc-1583-4427-84e3-a832caadd3c0-f6406966',
  recognitionResult: null,
  queryResult:
   { fulfillmentMessages: [ [Object] ],
     outputContexts: [ [Object], [Object], [Object] ],
     queryText: 'like at hotel room please',
     speechRecognitionConfidence: 0,
     action: 'room.reservation',
     parameters: { fields: [Object] },
     allRequiredParamsPresent: false,
     fulfillmentText: 'I can help with that. Where would you like to reserve a room?',
     webhookSource: '',
     webhookPayload: null,
     intent:
      { inputContextNames: [],
        events: [],
        trainingPhrases: [],
        outputContexts: [],
        parameters: [],
        messages: [],
        defaultResponsePlatforms: [],
        followupIntentInfo: [],
        name: 'projects/coherent-voice-255309/agent/intents/e8f6a63e-73da-4a1a-8bfc-857183f71228',
        displayName: 'room.reservation',
        priority: 0,
        isFallback: false,
        mlEnabled: false,
        webhookState: 'WEBHOOK_STATE_UNSPECIFIED',
        action: '',
        resetContexts: false,
        rootFollowupIntentName: '',
        parentFollowupIntentName: '',
        mlDisabled: false,
        endInteraction: false },
     intentDetectionConfidence: 0.596534013748169,
     diagnosticInfo: null,
     languageCode: 'en',
     sentimentAnalysisResult: null,
     knowledgeAnswers: null },
  webhookStatus: { details: [], code: 0, message: '' },
  outputAudio: <Buffer >,
  outputAudioConfig:
   { audioEncoding: 'OUTPUT_AUDIO_ENCODING_LINEAR_16',
     sampleRateHertz: 16000,
     synthesizeSpeechConfig:
      { effectsProfileId: [],
        speakingRate: 1,
        pitch: 5,
        volumeGainDb: -8,
        voice: [Object] } } }
Detected intent: { fulfillmentMessages:
   [ { platform: 'PLATFORM_UNSPECIFIED',
       text: [Object],
       message: 'text' } ],
  outputContexts:
   [ { name: 'projects/coherent-voice-255309/agent/sessions/c288847e-9e2e-4705-9b2c-5ba9519367e8/contexts/e8f6a63e-73da-4a1a-8bfc-857183f71228_id_dialog_context',
       lifespanCount: 2,
       parameters: [Object] },
     { name: 'projects/coherent-voice-255309/agent/sessions/c288847e-9e2e-4705-9b2c-5ba9519367e8/contexts/room_reservation_dialog_context',
       lifespanCount: 2,
       parameters: [Object] },
     { name: 'projects/coherent-voice-255309/agent/sessions/c288847e-9e2e-4705-9b2c-5ba9519367e8/contexts/room_reservation_dialog_params_location',
       lifespanCount: 1,
       parameters: [Object] } ],
  queryText: 'like at hotel room please',
  speechRecognitionConfidence: 0,
  action: 'room.reservation',
  parameters:
   { fields:
      { duration: [Object],
        guests: [Object],
        location: [Object],
        time: [Object],
        date: [Object] } },
  allRequiredParamsPresent: false,
  fulfillmentText: 'I can help with that. Where would you like to reserve a room?',
  webhookSource: '',
  webhookPayload: null,
  intent:
   { inputContextNames: [],
     events: [],
     trainingPhrases: [],
     outputContexts: [],
     parameters: [],
     messages: [],
     defaultResponsePlatforms: [],
     followupIntentInfo: [],
     name: 'projects/coherent-voice-255309/agent/intents/e8f6a63e-73da-4a1a-8bfc-857183f71228',
     displayName: 'room.reservation',
     priority: 0,
     isFallback: false,
     mlEnabled: false,
     webhookState: 'WEBHOOK_STATE_UNSPECIFIED',
     action: '',
     resetContexts: false,
     rootFollowupIntentName: '',
     parentFollowupIntentName: '',
     mlDisabled: false,
     endInteraction: false },
  intentDetectionConfidence: 0.596534013748169,
  diagnosticInfo: null,
  languageCode: 'en',
  sentimentAnalysisResult: null,
  knowledgeAnswers: null }

@danjenkins,
I was running into the same issue and unfortunately the documentations for v2 and v2beta1 are both a bit misleading. However: the audio result is included AFTER you receive the queryResult message. You will need to wait one more message and it will be there ;-)
Good luck!

@mwoop interesting.... how do i make that event come in? right now I'm streaming audio up, i get back my transcript as and when, then i get a final transcript and I end the stream so that it's not writeable any more (but I haven't destroyed it because I still want to read from it), that in turn allows the intent data to come in without audio data and then that's it - theres no more data?

There should be one more message coming in after you receive the query result. Don't close the stream.

AAHHHHH I was doing exactly that, closing and creating a new stream - wrote it hours ago - completely forgot about it. that logic is weird! thanks @mwoop !!

@danjenkins , @mwoop
I am running with the same problem and i have no idea how to get it fixed, I tried a but failed.
Here is my code:
Task responseHandlerTask = Task.Run(async () =>
{
IAsyncEnumerator responseStream = duplexStream.ResponseStream;
        while (await responseStream.MoveNext())
        {
           StreamingDetectIntentResponse response = responseStream.Current;

           if (response != null)
           {
                 Console.WriteLine($"Received response: {response?.QueryResult?.FulfillmentMessages}");
              Console.WriteLine($"Received response: {response?.QueryResult?.FulfillmentText}");
              if (!string.IsNullOrEmpty(response?.QueryResult?.FulfillmentText))
              {
                 NAudio.Wave.WaveOutEvent waveOut = new NAudio.Wave.WaveOutEvent
                 {
                    DeviceNumber = -1,
                    NumberOfBuffers=3,
                    DesiredLatency=300,
                    Volume=0.5f
                 };
                 WaveFileReader provider = new WaveFileReader(new MemoryStream(response.OutputAudio.ToByteArray()));
                 waveOut.Init(provider);
                 waveOut.Play();
              }
           }
        }

     });
     bool done = false;
     while (!done)
     {
        InputAudioConfig inputAudioConfig = new InputAudioConfig()
        {
           AudioEncoding = AudioEncoding.Linear16,
           LanguageCode = "en",
           SampleRateHertz = 16000,
           SingleUtterance = true,

        };

        OutputAudioConfig outputAudioConfig = new OutputAudioConfig()
        {
           AudioEncoding = OutputAudioEncoding.Linear16,
           SampleRateHertz = 16000,
        };
        QueryInput queryInput = new QueryInput()
        {
           AudioConfig = inputAudioConfig
        };
        QueryParameters queryParameters = new QueryParameters
        {
           Payload = new Struct
           {
              Fields = {

                          { "user" ,Value.ForStruct
                                (new Struct{
                                   Fields =
                                   {
                                      {
                                         "accessToken",Value.ForString(accessToken)
                                      }
                                   }
                                })
                          }
           }
           }
        };

        StreamingDetectIntentRequest req = new StreamingDetectIntentRequest()
        {
           QueryInput = queryInput,
           Session = sessionName.ToString(),
            //SingleUtterance = true,
           QueryParams = queryParameters,
           OutputAudioConfig=outputAudioConfig
        };

        await duplexStream.WriteAsync(req);
        object writeLock = new object();
        bool writeMore = true;
        NAudio.Wave.WaveInEvent waveIn = new NAudio.Wave.WaveInEvent
        {
           DeviceNumber = 0,
           WaveFormat = new NAudio.Wave.WaveFormat(16000, 1)
        };
        waveIn.DataAvailable +=
               (object sender, NAudio.Wave.WaveInEventArgs waveInEventArgs) =>
               {
                  lock (writeLock)
                  {
                     if (!writeMore)
                     {
                        return;
                     }

                     StreamingDetectIntentRequest request = new StreamingDetectIntentRequest
                     {
                        InputAudio = ByteString.CopyFrom(waveInEventArgs.Buffer, 0, waveInEventArgs.BytesRecorded)
                     };

                     duplexStream.WriteAsync(request);

                     int value = Math.Abs(BitConverter.ToInt16(waveInEventArgs.Buffer, (waveInEventArgs.BytesRecorded - 2)));
                     // Console.WriteLine("value:"+ value);
                     if (value < 3) //For now hardcorded
                     {
                        Console.WriteLine("listing stopped");
                        waveIn.StopRecording();

                     }
                     done = true;
                  }
               };
        waveIn.StartRecording();
        Console.WriteLine("Speak now.");
        await Task.Delay(TimeSpan.FromSeconds(10));
        waveIn.StopRecording();
        lock (writeLock)
        {
           writeMore = false;
        }

     }

        await duplexStream.WriteCompleteAsync();
        await responseHandlerTask;

     Console.WriteLine("Response Finished");
     Console.ReadLine();
     return 0;
  }

@danjenkins could you please show me how did you half close the stream (close writing) as I have no idea how can I do it in c#.
Any help will be appreciated.
Thanks.

@HilalRather you might have better luck asking your question in the C# repo, I'm not sure if anyone here is familiar with that library.

@callmehiphop OK.
Thank you

Can you please re-open this issue.  I'm still having issues with no buffer in the outputAudio response.  I've tried many passes at outputAudioConfig variations, as well as many variations of half closing/waiting for the stream to close.  The last query above was about the wrong language library but I that is not the issue others are having.  The only way I can get audio in a response, is by going to to the DialogFlow console, and configuring automatic text to speech.  This did not sound like a full quality wavenet audio stream, and is no longer configurable by code for voice, prosity, etc. For now, I'm parsing the text fullfillment, and making the TTS API call directly, but that introduces a delay for realtime interactions.


Suggestion : stop sound one by one

Hello, would it be possible to stop one sound at a time and not all? Maybe clicking on a sound twice can stop it instead of playing it again.
Thank you for this great mod

I second this!

I agree. Would be great. Especially with a fade out.

Will release in 1.2.0, see #18


Using indices effectively Through Tinkerpop/Gremlin

Our small database(approx 92 MB) is starting to run slower.
I'm currently using the Graph API to run queries on OrientDB. I have a few questions about indexing.

Do I have to setup the gremlin index just once? Or do I have to do it each time I run a query.

Here's how I run a query, will this method use the gremlin indices effectively?
public  T query(String query, HashMap<String, Object> params) {
OGremlinHelper.global().create();
OCommandGremlin command=new OCommandGremlin(query);
T result=this.getGraph().getRawGraph().command(command).execute(params);
OGremlinHelper.global().destroy();
return result;
}

We have subclasses of V and E. would a query like g.V('<class-name'') hit the index? If not whats the right way to access subclasses through the index.

Are gremlin indexes stable to use in production? I saw an issue about gremlin indices not being deleted properly. If there are issues, whats a safe way to use the database? Is there a way to export/import just the data into a new database so that if we have issues with indices, we can roll back?

Worst case scenario: Can we switch over to the Document API for queries and expect better performance and stability?

Please let me know, the issue is getting urgent for us here to solve.

Can you post here your slow query?

I haven't implemented indexing yet, since I'm not sure what is the right approach, and I"m a little scared that if I do it wrong, I'll lose data. But here is one of the queries we run.
Here's the one that runs slow: g.V(1).out('UserActivity').order({it.b.getProperty('date') <=> it.a.getProperty('date')}).filter({it.date < start})"
I assume this is because of the number of edges since its the maximum for this class. I don't think its because of the query.

Look at: http://orientdb.com/docs/last/Performance-Tuning-Graph.html#use-indexes-to-lookup-vertices-by-an-id. However, if you use OrientDB SQL you can have far better performance.


ARROW-3569: [Packaging] Run pyarrow unittests when building conda package

Builds: https://github.com/kszucs/crossbow/branches/all?utf8=✓&query=build-351

every builds are green, +1


Fix build according to modification of GPSD

GPSD since version 3.23.1 (GPSD_API_MAJOR_VERSION=12) has introduced
interfaces changes on the below values:

Change STATUS_NO_FIX to STATUS_UNK to avoid confusion with fix mode.
Change STATUS_FIX to STATUS_GPS to avoid confusion with fix mode.
Change STATUS_DGPS_FIX to STATUS_DGPS to avoid confusion with fix
mode.

Looks good, thanks for t he PR. I'll get it merged as soon as the checks finish.


remove vendor dependencies for build/lint/test rules in Makefile

Can one of the admins verify this patch?


dbeaver will cause memory overflow

Regression?
Yes
System Info and Version
 System/Version info
<Paste the output of the command here>

[systeminfo.txt](https://github.com/user-attachments/files/16263802/systeminfo.txt)
Description
https://github.com/user-attachments/assets/839e6af9-183b-4703-9b32-4c5cac355f7b
How to reproduce
Just watch the video
Crash reports, logs, images, videos
No response

Every time a visual database table is opened, the memory of Hyprland will increase. When the Dbeaver program is closed, the memory will drop to about 100M.

You said it is a regression. Which version did it used to work fine on? Can you bisect?

can you test on #6608

Hyprland, built from branch  at commit 4520b30d498daca8079365bdb909a8dea38e8d55  (version: bump to 0.44.1).
Date: Wed Oct 9 12:54:39 2024
Tag: v0.44.1, commits: 5309
built against aquamarine 0.4.3

NVIDIA-SMI 565.57.01              Driver Version: 565.57.01      CUDA Version: 12.7e

This still happens.

Probably same as https://github.com/hyprwm/Hyprland/issues/6844

likely


Bad quality?

When I run the program and set the quality to 1, I don't get source quality. Maybe it's throttling on lower spec systems? I'm using flv in OBS for recording. Using a t430.
Edit: I'm going to try multiple file types.

Tried mp4, the audio lagged. Better quality.
mov was the same as mp4.
mkv was a bit better but the audio was still lagging
ts was just like flv. Audio still lagging.

Not sure if you're referring to video or audio quality, but if you're referring to audio quality try this https://github.com/torsrex/jumpcutter/blob/master/jumpcutter.py . I added a parameter (--stretch_algorithm) to set the audio stretching algorithm. In most cases I got better quality audio by using "wsola" (I set this to be the default) instead of "phasevocoder".

No, I was talking about video quality. Not sure if it's only on my end though. Appreciate the reply though, it might be useful down the line.

Hey there, if you have fixed your problem, consider closing it. :)

Nah, it's still an issue

Try setting qmin to 1 and see if it helps.
Otherwise, use lossless format.

The issue is with the video encoder used in the tool, replace line 200 in the script with:
command = "ffmpeg -framerate "+str(frameRate)  +" -i "+TEMP_FOLDER+"/newFrame%06d.jpg -i "+TEMP_FOLDER+"/audioNew.wav -strict -2 " + " -c:v libx264 -pix_fmt yuv420p -crf 0 -c:a aac -b:a 128k "+ OUTPUT_FILE


Crucial: Add License to the project

@artbelikov would you kindly add a license to the project (e.g. MIT, Apache etc)? Having no license does not allow people to use your open source code in any way (commercial, private etc). For more information see:
https://choosealicense.com/no-permission/
and
github/choosealicense.com#196
Thanks in advance

Okey, good idea.On Feb 2, 2019 00:26, stavrosicsd<EMAIL_ADDRESS>wrote:@artbelikov would you kindly add a license to the project (e.g. MIT, Apache etc)? Having no license does not allow people to use your open source code in any way (commercial, private etc). For more information see:
https://choosealicense.com/no-permission/
and
github/choosealicense.com#196
Thanks in advance
—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or mute the thread.


Using libavahi-compat-libdnssd-dev package instead of current mDNSResponder installation

As it stands the process of installing mDNS required headers and shared objects is quite cumbersome. Unpacking a tarball and applying 10 patches appears very roundabout and is one of the few unclean portions of ./script/bootstrap (seen here).
I'm not sure if it has already been considered, but it appears there is a package available on most distributions that contains the files required. libavahi-compat-libdnssd-dev is supported by the Avahi team, and is available on Ubuntu and OpenWRT. A simple apt-get install would remove the patch files from the repo, as well as some dependencies and extra steps that the current process requires.
The feature would be to validate that this package works the same as the current version of mDNS installed, and to update ./script/bootstrap with the new installation process.

If I understand correctly, this library libavahi-compat-libdnssd-dev provides mDNSResponder API while using Avahi as the backend?
I think the problem here is, there are different behaviors between Avahi and mDnsResponder so users may have different preferences of them, not just because of their APIs.


Problem with migration

$ ./manage.py migrate booking
Operations to perform:
Apply all migrations: booking
Running migrations:
Applying booking.0002_auto_20170308_2327...Traceback (most recent call last):
File "./manage.py", line 22, in
execute_from_command_line(sys.argv)
File "/usr/local/lib/python2.7/dist-packages/django/core/management/init.py", line 367, in execute_from_command_line
utility.execute()
...
File "/usr/local/lib/python2.7/dist-packages/django/db/backends/utils.py", line 64, in execute
return self.cursor.execute(sql, params)
File "/usr/local/lib/python2.7/dist-packages/django/db/backends/sqlite3/base.py", line 337, in execute
return Database.Cursor.execute(self, query, params)
django.db.utils.OperationalError: no such table: booking_bookingstatus_translation

@jadjay Which setup to you have? All apps up to date?

Yes... I mean ...
"pip update/upgrade all" ok
I'm using python2.7...

@jadjay Seems like you skipped/faked the initial migration. Did you run something like "./manage.py migrate --fake-initial" before? Anyway, you need to re-run all migrations from this app. That's an issue of your local setup only.

Did you run something like "./manage.py migrate --fake-initial" before?

No, should I had to ?
This isn't told in your Readme.

No, it's not required. Please make sure to have django-hvad installed and well prepared, then make sure, that all django-booking are in your database.
If not re-run all migrations of this app.


godot_4-mono: fix build

Intended to fix #355073, as well as aarch64-linux builds of godot_4-mono.

Things done

Built on platform(s)

[x] x86_64-linux
[x] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

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

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 355322

x86_64-linux

:white_check_mark: 7 packages built:

godot_4
godot_4-mono
godot_4-mono.debug
godot_4-mono.man
godot_4.debug
godot_4.man
pixelorama

@ofborg build godot_4-mono


Feature Request: bot username placeholder

Is your feature request related to a problem? Please describe.
i would like to beable to use the bots nick in chat/commands for example i have todo "/island create (name) (type)" so a way around this is to do "/island create MyUsername normal" but for bot testing i cannot do this,
Describe the solution you'd like
add  to chat (or something like so) that allows the bots username to be used
Describe alternatives you've considered
Manually going thru bots which isnt really quick for lots of bots
Additional context
An example
Currently
Bot1: hi
Bot2: hi
Bot3: hi
Bot4: hi
Bot5: hi
Bot6: hi
Expected
Bot1: hi Bot1
Bot2: hi Bot2
Bot3: hi Bot3
Bot4: hi Bot4
Bot5: hi Bot5
Bot6: hi Bot6

Hello,
I can create placeholders, for example {nick}, {bot}, %nick% or %bot%.
Which one do you think is best?

Hi,
I say do it like the .ctrl commands soo {nick} or


No module named 'quantdom.lib'

Traceback (most recent call last):
  File "/usr/local/bin/quantdom", line 7, in <module>
    from quantdom.cli import cli
  File "/usr/local/lib/python3.6/site-packages/quantdom/__init__.py", line 29, in <module>
    from .ui import *  # noqa
  File "/usr/local/lib/python3.6/site-packages/quantdom/ui.py", line 10, in <module>
    from .lib import (  # noqa
ModuleNotFoundError: No module named 'quantdom.lib'

Not the best description of the error, for the future please be more descriptive.
I've made a PR for this.

looks like a phishing tool; tried to install virus on your computer

what are you talking about exactly?

https://github.com/constverum/Quantdom/issues/7

Fixed in v0.1


multithreading & multiprocessing speed upgrade

Proposed changes
multithreaded the chunk processing because it seemed more suited for the task than multiprocessing. Also used multiprocessing to lever more cpu for large tasks.
Types of changes

[ ] Bugfix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Update

Further comments
Original: samples/human-generated/:<PHONE_NUMBER>4103142 seconds; samples/llm-generated/<PHONE_NUMBER>9102374 seconds
Updated, multithreading: samples/human-generated/: 5.4312 seconds; samples/llm-generated/ 4.0974 seconds
Updated, multithreading & multiprocessing: samples/human-generated/: 3.5411 seconds; samples/llm-generated/ 2.6611 seconds

Thanks for the PR, is there a reason this was closed?


Support Scala Native for Scala 3

I think this is limited to changing sbt cross-compilation configuration, isn't it @WojciechMazur?

I think this is limited to changing sbt cross-compilation configuration, isn't it @WojciechMazur?

Yes, probably. I don't see any blockers in dependencies. If there are some lacks in Java Standard Library coverage then (anyone who's going to add SN support) let me know


Update to Swift 4.2

Here's update to swift 4.2.
Currently I've tested this on ubuntu 18.04 through CLion IDE
Project's demo is working.

Can this please be merged soon? Xcode 10.2 dropped support for Swift 3.

Can this please be merged soon? Xcode 10.2 dropped support for Swift 3.

You Can use my fork:
https://github.com/GothStar/SwiftGtk/blob/Swift-4.2/README.md
I've tested this both on ubuntu and Mac

@GothStar, thanks!


Improve title merging

For arXiv on arXiv, keep both titles instead of conflicting.
For the other cases, titles should be normalized before comparing (lowercase everything, normalize hyphens, maybe ascii-folding?)

TECH:
Add in the config https://github.com/inspirehep/inspire-json-merger/blob/e2e484d1d19488a64240376cc28f81d1883bf47c/inspire_json_merger/config.py#L96-L115 for arxivonarxiv an 'titles' key to merge titles together https://github.com/inveniosoftware-contrib/json-merger/blob/e32cd749cc6b873d4c95f140ca9aa7c839c0bb3c/json_merger/config.py#L81-L82


dependencies stylus do not work

my package.json...
"dependencies": {         "@antv/g2": "^4.1.4",         "autoprefixer": "^9.0.0",         "path": "^0.12.7",         "stream": "0.0.2",         "stylus": "^0.54.8",         "vue": "^3.0.4",         "vue-router": "^4.0.1",         "vuex": "^4.0.0-rc.2"     },
when i do : npm run dev，it has a error:
[vite] Dep optimization failed with error: Could not resolve './lib-cov/stylus' from ./lib-cov/stylus?commonjs-external Error: Could not resolve './lib-cov/stylus' from ./lib-cov/stylus?commonjs-external     at error (/.../node_modules/rollup/dist/shared/rollup.js:5265:30)     at ModuleLoader.handleResolveId (/.../node_modules/rollup/dist/shared/rollup.js:18433:24)     at /.../node_modules/rollup/dist/shared/rollup.js:18402:22     at async Promise.all (index 0)     at async ModuleLoader.fetchStaticDependencies (/.../node_modules/rollup/dist/shared/rollup.js:18400:34)     at async Promise.all (index 0)     at async ModuleLoader.fetchModule (/.../node_modules/rollup/dist/shared/rollup.js:18377:9)     at async Promise.all (index 0)     at async ModuleLoader.fetchStaticDependencies (/.../node_modules/rollup/dist/shared/rollup.js:18400:34)     at async Promise.all (index 0) {

Move stylus to devDependencies .The package inside dependencies will be auto pre-optimizered for broswer usage.


Notify user when a bad input is detected

Present an error message to the user when they attempt to setup an analysis or workflow & one of the inputs cannot be resolved.

LGTM