refactor: alias new files

Summary

title
btw this has also fixed an typo in alias_license.py
Checklist

[ ] If code changes were made then they have been tested.

[ ] I have updated the documentation to reflect the changes.
[ ] I have run task pyright and fixed the relevant issues.

[ ] This PR fixes an issue.
[ ] This PR adds something new (e.g. new method or parameters).
[ ] This PR is a breaking change (e.g. methods or parameters removed/renamed)
[x] This PR is not a code change (e.g. documentation, README, ...)

Please can you actually test your own PRs

This PR doesn't fix all of the files.
It probably needs to be run again after updating the base branch.
When this PR was opened, the aliasgen script didn't work and was crashing part-way through because of the issue that was fixed in #888.


Added quick sort using C

Have you read the Contributing Guidelines on Pull Requests?
Yes
Description
Added quick sort using C
Checklist

[x] I've read the contribution guidelines.
[x] I've checked the issue list before deciding what to submit.
[x] I've edited the README.md and link to my code.

Related Issues or Pull Requests
https://github.com/TesseractCoding/NeoAlgo/issues/2238#issue-823716998

I have made the required changes @ankitaggarwal23


run_discovery_script_file does not return a dict

🔍 Before submitting the issue

[X] I have searched among the existing issues
[X] I am using a Python virtual environment

🐞 Description of the bug
The Modeler.run_discovery_script_file() method should return a dict, but instead returns a ScalarMapContainer type.
See image:

Most of the time is enough to run dict(returned_obj) to convert it into a Python dict, but this conversion should be done (and verified!) inside the method.
📝 Steps to reproduce

Run a script file that produces a result (that has at least a line result={'test_key':'test_value'} ) with the method  result_obj=Modeler.run_discovery_script_file()
Check the result object returned by the method.

💻 Which operating system are you using?
Windows
📀 Which ANSYS version are you using?
Discovery 2024R1
🐍 Which Python version are you using?
3.10
📦 Installed packages
ansys-api-dbu==0.2.5
ansys-api-geometry==0.3.8
ansys-geometry-core==0.4.14
ansys-pythonnet==3.1.0rc3
ansys-tools-path==0.5.1
attrs==23.2.0
beartype==0.18.2
cachetools==5.3.3
certifi==2024.2.2
cffi==1.16.0
charset-normalizer==3.3.2
click==8.1.7
clr-loader==0.2.6
colorama==0.4.6
contourpy==1.2.1
cycler==0.12.1
defusedxml==0.7.1
fonttools==4.50.0
fpdf2==2.7.8
google-api-core==2.18.0
google-api-python-client==2.125.0
google-auth==2.29.0
google-auth-httplib2==0.2.0
googleapis-common-protos==1.63.0
grpcio==1.62.1
grpcio-health-checking==1.62.1
httplib2==0.22.0
idna==3.6
jsonschema==4.21.1
jsonschema-specifications==2023.12.1
kiwisolver==1.4.5
matplotlib==3.8.4
numpy==1.26.4
packaging==24.0
pillow==10.3.0
Pint==0.23
platformdirs==4.2.0
plumbum==1.8.2
pooch==1.8.1
proto-plus==1.23.0
protobuf==4.25.3
psutil==5.9.8
pyaedt==0.8.7
pyasn1==0.6.0
pyasn1_modules==0.4.0
pycparser==2.22
pyedb==0.7.0
pyparsing==3.1.2
python-dateutil==2.9.0.post0
pytomlpp==1.0.13
pyvista==0.43.5
pywin32==306
referencing==0.34.0
requests==2.31.0
rpds-py==0.18.0
rpyc==6.0.0
rsa==4.9
scipy==1.13.0
scooby==0.9.2
six==1.16.0
typing_extensions==4.10.0
uritemplate==4.1.1
urllib3==2.2.1
vtk==9.3.0

Have a look at the documentation @Alberto-DM
https://geometry.docs.pyansys.com/version/stable/api/ansys/geometry/core/modeler/Modeler.html#Modeler.run_discovery_script_file
It returns either a dictionary or a dictionary and a Design object. Depending on whether you ask for import_design=True or not.

If you still have the issue, please post the script.

@RobPasMue I have checked the documentation and import_design is set to False (which is the default). Anyway, the documentation says that returns either a dict or a tuple. It is not returning neither of them.
The script file:
result={'test_key':'test_value'}

As you can see the type is not dict, it is ScalarMapContainer

Gotcha - just tested it on my side directly. I will implement the fix right away.
Nonetheless, in the meantime, the ScalarMapContainer behaves exactly like a dictionary. So you can assume it is a dictionary in your script.

Fixed in #1103 - the next release will contain the fix =) Thanks for opening the issue @Alberto-DM!


Project Proposal: Defined Color Palette, Text in cards not too long

Overview
As i was going through the website, i saw that, the theme is not uniform i mean different shades of green at different places.
Also the thing which i saw was that the text in cutomer feedbakc is not too much so insted of show more and show less links its better to display the tex.
Key Features
It shall be better to have only 3 color atmost.
and it shall be better to remove' show more' and 'show less' link.
Additional Information
I can design the perfect color palette which needs to be followed by every developer.
The text must be aligned to the left.
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a gssoc-24-extd contributor
[X] I want to work on this project proposal
[X] It is not duplicate

duplicate as #141 @dev129


Fazer deploy da aplicação no fly.io

https://www.youtube.com/watch?v=F4xnGutoRAs
Bug do PostgreSQL não rodar, possíveis soluções:
rails aborted! ActiveRecord::ConnectionNotEstablished: connection to server at "<IP_ADDRESS>", port 5432 failed: Connection refused Is the server running on that host and accepting TCP/IP connections? Caused by: PG::ConnectionBad: connection to server at "<IP_ADDRESS>", port 5432 failed: Connection refused Is the server running on that host and accepting TCP/IP connections?
https://stackoverflow.com/questions/37307346/is-the-server-running-on-host-localhost-1-and-accepting-tcp-ip-connections

Pro comando fly funcionar no terminal precisa rodar:
source ~/.bash_profile

Closed with #46 #48
Deploy feito em:
https://cargomatch.fly.dev/

LOGS BUG DEPLOY:
`--> Building image done
==> Pushing image to fly
The push refers to repository [registry.fly.io/cargomatch]
6edf29e7d9ae: Pushed
db15fdb0c257: Pushed
728b31e45fb0: Pushed
9abddead4cbc: Pushed
62de5462efe2: Pushed
ef177ce47746: Pushed
4c38ebe47533: Pushed
136727c59bb2: Pushed
0891caaa0e93: Pushed
a953c9322cfb: Pushed
d0fd44b642b8: Pushed
025a544a4685: Pushed
511780f88f80: Pushed
deployment-01H807Z2GSJXN17KRG04WZ7PZR: digest: sha256:52b0ba0cf460913e353955e165cc28ff21e835cf50292992cd7bebd964c3af6a size: 3054
--> Pushing image done
image: registry.fly.io/cargomatch:deployment-01H807Z2GSJXN17KRG04WZ7PZR
image size: 551 MB
Watch your deployment at https://fly.io/apps/cargomatch/monitoring
Provisioning ips for cargomatch
Dedicated ipv6: 2a09:8280:1::2d:1858
Shared ipv4: <IP_ADDRESS>
Add a dedicated ipv4 with: fly ips allocate-v4
Running cargomatch release_command: ./bin/rails db:prepare
Waiting for 328744d4a06098 to get exit event
Error release_command failed running on machine 328744d4a06098 with exit code 1.
Check its logs: here's the last 100 lines below, or run 'fly logs -i 328744d4a06098':
/rails/vendor/bundle/ruby/3.1.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in new_connection'   /rails/vendor/bundle/ruby/3.1.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/abstract/connection_pool.rb:700:in checkout_new_connection'
/rails/vendor/bundle/ruby/3.1.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/abstract/connection_pool.rb:679:in try_to_checkout_new_connection'   /rails/vendor/bundle/ruby/3.1.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/abstract/connection_pool.rb:640:in acquire_connection'
/rails/vendor/bundle/ruby/3.1.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/abstract/connection_pool.rb:341:in checkout'   /rails/vendor/bundle/ruby/3.1.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/abstract/connection_pool.rb:181:in connection'
/rails/vendor/bundle/ruby/3.1.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/abstract/connection_handler.rb:211:in retrieve_connection'   /rails/vendor/bundle/ruby/3.1.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_handling.rb:313:in retrieve_connection'
/rails/vendor/bundle/ruby/3.1.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_handling.rb:280:in connection'   /rails/vendor/bundle/ruby/3.1.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/tasks/database_tasks.rb:262:in migrate'
/rails/vendor/bundle/ruby/3.1.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/tasks/database_tasks.rb:196:in block in prepare_all'   /rails/vendor/bundle/ruby/3.1.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/tasks/database_tasks.rb:557:in block (2 levels) in each_current_configuration'
/rails/vendor/bundle/ruby/3.1.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/tasks/database_tasks.rb:554:in each'   /rails/vendor/bundle/ruby/3.1.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/tasks/database_tasks.rb:554:in block in each_current_configuration'
/rails/vendor/bundle/ruby/3.1.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/tasks/database_tasks.rb:553:in each'   /rails/vendor/bundle/ruby/3.1.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/tasks/database_tasks.rb:553:in each_current_configuration'
/rails/vendor/bundle/ruby/3.1.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/tasks/database_tasks.rb:191:in prepare_all'   /rails/vendor/bundle/ruby/3.1.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/railties/databases.rake:391:in block (2 levels) in '
/rails/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:281:in block in execute'   /rails/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:281:in each'
/rails/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:281:in execute'   /rails/vendor/bundle/ruby/3.1.0/gems/sentry-ruby-5.10.0/lib/sentry/rake.rb:26:in execute'
/rails/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:219:in block in invoke_with_call_chain'   /rails/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:199:in synchronize'
/rails/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:199:in invoke_with_call_chain'   /rails/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:188:in invoke'
/rails/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/application.rb:160:in invoke_task'   /rails/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/application.rb:116:in block (2 levels) in top_level'
/rails/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/application.rb:116:in each'   /rails/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/application.rb:116:in block in top_level'
/rails/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/application.rb:125:in run_with_threads'   /rails/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/application.rb:110:in top_level'
/rails/vendor/bundle/ruby/3.1.0/gems/railties-<IP_ADDRESS>/lib/rails/commands/rake/rake_command.rb:24:in block (2 levels) in perform'   /rails/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/application.rb:186:in standard_exception_handling'
/rails/vendor/bundle/ruby/3.1.0/gems/railties-<IP_ADDRESS>/lib/rails/commands/rake/rake_command.rb:24:in block in perform'   /rails/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/rake_module.rb:59:in with_application'
/rails/vendor/bundle/ruby/3.1.0/gems/railties-<IP_ADDRESS>/lib/rails/commands/rake/rake_command.rb:18:in perform'   /rails/vendor/bundle/ruby/3.1.0/gems/railties-<IP_ADDRESS>/lib/rails/command.rb:51:in invoke'
/rails/vendor/bundle/ruby/3.1.0/gems/railties-<IP_ADDRESS>/lib/rails/commands.rb:18:in <main>'   /rails/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.16.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in require'
/rails/bin/rails:4:in <main>'   Caused by:   PG::ConnectionBad: connection to server at "<IP_ADDRESS>", port 5432 failed: Connection refused   	Is the server running on that host and accepting TCP/IP connections?   /rails/vendor/bundle/ruby/3.1.0/gems/pg-1.5.3/lib/pg/connection.rb:696:in async_connect_or_reset'
/rails/vendor/bundle/ruby/3.1.0/gems/pg-1.5.3/lib/pg/connection.rb:824:in connect_to_hosts'   /rails/vendor/bundle/ruby/3.1.0/gems/pg-1.5.3/lib/pg/connection.rb:759:in new'
/rails/vendor/bundle/ruby/3.1.0/gems/pg-1.5.3/lib/pg.rb:63:in connect'   /rails/vendor/bundle/ruby/3.1.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/postgresql_adapter.rb:78:in new_client'
/rails/vendor/bundle/ruby/3.1.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/postgresql_adapter.rb:37:in postgresql_connection'   /rails/vendor/bundle/ruby/3.1.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in public_send'
/rails/vendor/bundle/ruby/3.1.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in new_connection'   /rails/vendor/bundle/ruby/3.1.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/abstract/connection_pool.rb:700:in checkout_new_connection'
/rails/vendor/bundle/ruby/3.1.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/abstract/connection_pool.rb:679:in try_to_checkout_new_connection'   /rails/vendor/bundle/ruby/3.1.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/abstract/connection_pool.rb:640:in acquire_connection'
/rails/vendor/bundle/ruby/3.1.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/abstract/connection_pool.rb:341:in checkout'   /rails/vendor/bundle/ruby/3.1.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/abstract/connection_pool.rb:181:in connection'
/rails/vendor/bundle/ruby/3.1.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/abstract/connection_handler.rb:211:in retrieve_connection'   /rails/vendor/bundle/ruby/3.1.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_handling.rb:313:in retrieve_connection'
/rails/vendor/bundle/ruby/3.1.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_handling.rb:280:in connection'   /rails/vendor/bundle/ruby/3.1.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/tasks/database_tasks.rb:262:in migrate'
/rails/vendor/bundle/ruby/3.1.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/tasks/database_tasks.rb:196:in block in prepare_all'   /rails/vendor/bundle/ruby/3.1.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/tasks/database_tasks.rb:557:in block (2 levels) in each_current_configuration'
/rails/vendor/bundle/ruby/3.1.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/tasks/database_tasks.rb:554:in each'   /rails/vendor/bundle/ruby/3.1.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/tasks/database_tasks.rb:554:in block in each_current_configuration'
/rails/vendor/bundle/ruby/3.1.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/tasks/database_tasks.rb:553:in each'   /rails/vendor/bundle/ruby/3.1.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/tasks/database_tasks.rb:553:in each_current_configuration'
/rails/vendor/bundle/ruby/3.1.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/tasks/database_tasks.rb:191:in prepare_all'   /rails/vendor/bundle/ruby/3.1.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/railties/databases.rake:391:in block (2 levels) in '
/rails/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:281:in block in execute'   /rails/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:281:in each'
/rails/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:281:in execute'   /rails/vendor/bundle/ruby/3.1.0/gems/sentry-ruby-5.10.0/lib/sentry/rake.rb:26:in execute'
/rails/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:219:in block in invoke_with_call_chain'   /rails/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:199:in synchronize'
/rails/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:199:in invoke_with_call_chain'   /rails/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/task.rb:188:in invoke'
/rails/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/application.rb:160:in invoke_task'   /rails/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/application.rb:116:in block (2 levels) in top_level'
/rails/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/application.rb:116:in each'   /rails/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/application.rb:116:in block in top_level'
/rails/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/application.rb:125:in run_with_threads'   /rails/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/application.rb:110:in top_level'
/rails/vendor/bundle/ruby/3.1.0/gems/railties-<IP_ADDRESS>/lib/rails/commands/rake/rake_command.rb:24:in block (2 levels) in perform'   /rails/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/application.rb:186:in standard_exception_handling'
/rails/vendor/bundle/ruby/3.1.0/gems/railties-<IP_ADDRESS>/lib/rails/commands/rake/rake_command.rb:24:in block in perform'   /rails/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/lib/rake/rake_module.rb:59:in with_application'
/rails/vendor/bundle/ruby/3.1.0/gems/railties-<IP_ADDRESS>/lib/rails/commands/rake/rake_command.rb:18:in perform'   /rails/vendor/bundle/ruby/3.1.0/gems/railties-<IP_ADDRESS>/lib/rails/command.rb:51:in invoke'
/rails/vendor/bundle/ruby/3.1.0/gems/railties-<IP_ADDRESS>/lib/rails/commands.rb:18:in <main>'   /rails/vendor/bundle/ruby/3.1.0/gems/bootsnap-1.16.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in require'
/rails/bin/rails:4:in <main>'   Tasks: TOP => db:prepare   (See full trace by running task with --trace)    INFO Main child exited normally with code: 1    INFO Starting clean up.    WARN hallpass exited, pid: 266, status: signal: 15 (SIGTERM)   2023/08/16 22:41:36 listening on [fdaa:2:cbdc:a7b:e3:a8fb:6f68:2]:22 (DNS: [fdaa::3]:53)   [    3.300571] reboot: Restarting system   machine restart policy set to 'no', not restarting Error: release command failed - aborting deployment. error release_command machine 328744d4a06098 exited with non-zero status of 1

Closed with #51


Increase the effective granularity of --read-data-subset

Output of restic version
restic 0.9.4 compiled with go1.11.4 on windows/amd64
What should restic do differently? Which functionality do you think we should add?
restic check --read-data-subset n/m currently only uses the first byte of pack ID to divide packs into subsets. This limits the effective granularity to at most 1/256.
I hope restic can use a few more bytes instead (e.g. 2 bytes or 4 bytes) so the effective granularity can be increased. It can also help make packs more even distributed among subsets when m ≈ 100 - 200.
What are you trying to do?
Do data checks of random subsets more frequently without using too much data each time.
Did restic help you or made you happy in any way?
Absolutely. Having efficient daily backups is so great.

The idea behind current --read-data-subset implementation is to do rolling check of all packs over period of time, so you are certain each pack is checked at least once during the period.
Do you really want to randomly check (very) small subset of packs without checking every pack at least once during any given period of time? Or did I misunderstand the request?

Do you really want to randomly check (very) small subset of packs without checking every pack at least once during any given period of time?

Yes, that's exactly what I want to do. Just a random sample to make sure nothing has gone terribly wrong with my storage.
If I want to do rolling checks, a longer period of time (say 512 subsets in 2 years) is also fine by me.
Even with rolling checks over a shorter period of time, I think there's still some (perhaps limited) benefits to use more than the first byte.
One benefit is to more equally divide the packs, as mentioned earlier.
Another is to break the data subfolder boundaries when building subsets (if using big endian byte order when converting to integer), because subfolders are also arranged using the first byte of pack IDs. Breaking subfolder boundaries makes it likely that most/all subfolders would have at least some of their contained packs checked in a much shorter period of time. Should something funny happen to all files in a particular subfolder (perhaps due to an improper file operation that truncated them), the error can be discovered a lot earlier.
(Ok, I might be stretching a bit here.)

Should be an easy fix, I'd work on it.
Changing this will inevitably change the behavior in a way that might result in users thinking they now have read the whole repo when they actually haven't. For this reason I'd prefer little endian encoding as this will at least stay compatible if m=2^k. And for other cases, you could still somewhat emulate the existing behavior by using multiple calls with m=256. But I see the point of spreading the reads across subdirectories in the repo, so if I'd build the feature from scratch, I'd also go that way. Any other opinions on what to choose?
(I also briefly thought about using big.Int and the full hash, but I think that's overkill, even if you only want to do some random sampling, I wouldn't expect very large values for m (like >10^6), so the buckets should be roughly the same size even using only 32 bits from the hash. I'd still go for 64 bit though.)

To give another data point: I'm using --read-data-subset so that check checks for a little bit more than the bare minimum, but do so all the time in the background.
Assume a repository of roughly 1 TiB.  Like cfbao, I want to do "just a random sample".  Specifically, I don't really like having only the choice between transferring 4 GiB (1/256 TiB unless I'm too tired) or not reading the data at all.


POSTing a text blog to Tumblr

Description:
Hi @phimage Im having the same issues and I get this as a response:
Response-Body=Optional("{\"meta\":{\"status\":400,\"msg\":\"Bad Request\"},\"response\":{\"errors\":[\"Post cannot be empty.\"]}}")}]
my code is the following
 @IBAction func postTextBlog(_ sender: AnyObject) {
        print(oauth1swift?.parameters)

        let headers = ["Accept": "application/json", "Content-Type":"application/json"]

        let parameters = [ParameterKeys.BlogType:ParameterValues.MarkdownType, ParameterKeys.Body:textBlog.text] as [String : Any]

        oauth1swift?.client.request(TMClient.sharedInstance().tumblrURL(withPathExtension: Methods.PostText), method: .POST, parameters: parameters, headers: headers, success: {
            (data, error) in
            let json = TMClient.sharedInstance().convertToJSONObject(data: data)
            print(json)
            print("hello")

            }, failure: {
                error in
                print(error)
        })

    }

(TMClient.sharedInstance().tumblrURL(withPathExtension: Methods.PostText) is essentially this:
URL: https://api.tumblr.com/v2/blog/idelfonsog2.tumblr.com/post
you can also see it below
OAuthSwiftError.response=<NSHTTPURLResponse: 0x60000022dc80> { URL: https://api.tumblr.com/v2/blog/idelfonsog2.tumblr.com/post } { status code: 400, headers {
    Connection = "keep-alive";
    "Content-Type" = "application/json; charset=utf-8";
    Date = "Tue, 18 Oct 2016 02:01:00 GMT";
    P3P = "CP=\"Tumblr's privacy policy is available here: https://www.tumblr.com/policy/en/privacy\"";
    Server = openresty;
    "Set-Cookie" = "tmgioct=5805825c60e2e80081398740; expires=Fri, 16-Oct-2026 02:01:00 GMT; Max-Age=315360000; path=/; domain=.tumblr.com; HttpOnly";

OAuth Provider (Twitter, Github, ..):
Tumblr
OAuth Version:

[x] Version 1
[ ] Version 2

OS (Please fill the version) :

[x] iOS :
[ ] OSX :
[ ] TVOS :
[ ] WatchOS  :

Installation method:

[ ] Carthage
[ ] CocoaPods
[x] Manually

Library version:

[ ] head
[ ] v1.0.0
[ ] v0.6
[ ] other: (Please fill in the version you are using.)

Xcode version:

[x] 8.0 (Swift 3.0)

[ ] 8.0 (Swift 2.3)

[ ] 7.3.1

[ ] other: (Please fill in the version you are using.)

[ ] objective c

I think the OAuthSwiftErroris not fully paster here (but I can see before the "Post cannot be empty.")
I think you can try to remove the "headers" variable. I think it's for GET request, to specify the format you want in response
Then could you post the content of "parameters"? ParameterValues.MarkdownType == "text" ??

Thanks @phimage let me try that!
the contents of ParameterValues.MarkdownType == "markdown"

Also, where should I include the "Title" and "Body text" in my request? essentially I'm trying to publish a new post in Tumblr

parameters is a good place to add that, that why I ask you to past yours here
let parameters = [
"type": "text",
"format": "markdown",
"body": "my blog text" // maybe "my%20blog%20text"
]

Huge Thanks!!!!!! 🙇
that definitely worked!!!!
final code was: //future reference or help for anybody
oauth1swift?.client.request(TMClient.sharedInstance().tumblrURL(withPathExtension: Methods.PostText), method: .POST, parameters: parameters, headers: nil, success: {
            (data, error) in
            let json = TMClient.sharedInstance().convertToJSONObject(data: data)
            print(json)

            }, failure: {
                error in
                print(error)
        })


Make image description responsive in lightbox

Fixes #7789
Width>786px

Width<786px

Width<511px

This looks great, thanks @ihsavru! Sending to @brockwhittaker for final review.

There's a couple things off with this:

The screen is no longer vertically centered now (providing a larger gap on the bottom.

This is because you changed - 65px => - 95px. Not sure why.

See if the font-size: 1em is necessary. I don't think it is, so you may want to just remove the declaration.

@brockwhittaker  I changed the height because the images at the bottom were getting cut off

I changed it back to 65px for screen size greater than 736px

And to 101px for less than that


False positives

Running the program with a username that doesn't exist on any of the supported sites, you get 16 false positives:

BLIP.fm
CashMe
Disqus
Facebook
Flickr
Flipboard
Foursquare
GitHub
GoodReads
Gravatar
Newgrounds
SoundCloud
Tumblr
Unsplash
VSCO
iMGSRC.RU

In other words, the logic that determines whether a profile exists or not doesn't work correctly for those sites. Having a look at the current code structure, you might need to split the sites out into their own modules to get it to work satisfactorily – you'll need some more complicated logic for some of these sites (e.g. Tumblr, to pass the Oath GDPR gate).

I will try to fix this as quick as possible because if it returns wrong results, then Sherlock is not a reliable  :(

I got false positives on twitter, facebook, github, soundcloud, disqus, deviantart, flipboard, scribd, gravatar, imgsrc, cash.me, behance, goodreads, vsco, newgrounds, tripadvisor, blip.fm, bandcamp, slack, flickr, wordpress and unsplash for 2/3 different usernames.

I also have false positives on all sites, mentioned by @obskyr and three more:

Keybase
Slack
WordPress

I'm still receiving false positives on several sites. Sherlock says account found, but when I try the link provided, I get a 404. It seems like the simple solution would be to check the status code returned in the http request.
https://www.github.com/rpnix
https://disqus.com/rpnix
https://rpnix.deviantart.com
https://slideshare.net/rpnix
https://bitbucket.org/rpnix
http://en.gravatar.com/rpnix
https://cash.me/rpnix
https://vsco.co/rpnix
https://www.flickr.com/people/rpnix
https://www.quora.com/profile/rpnix
https://pixabay.com/en/users/rpnix
https://giphy.com/rpnix
https://www.taringa.net/rpnix
Some of these are specifically 404 responses, some are a page saying the id wasn't found and requesting you to sign up.
rpn01@R5057499  sherlock [master] 0 $ python3 sherlock.py --version
sherlock.py 0.1.0
Python HTTP for Humans.:  2.19.1
Python:  3.7.0
rpn01@R5057499  sherlock [master] 0 $

@rpural Simply checking the HTTP status code that is returned is not a fool proof solution. Not all sites return a 404 when a user profile is not found. For example, Steam IDs and Steam groups do not. You literally have to parse the HTML for a particular string when checking Steam.
I have 3 years of experience building social media checkers. Check out my open-source Python checker if you have time.
https://github.com/checker/cli

I found false negative, but I can't find where the bug lies. python sherlock.py romanova gives negative result in VK, but https://vk.com/romanova is existing profile.
Maybe reason for wrong result is that profile is hidden, but VK returns 200 and everything is ok.
I checked if it was problem with user agent, but sherlock's is not banned by vk and curl request returns 200.

I believe that all of these have been addressed as of now.
The only case where we still have problems is in sites where Sherlock depends on error text, and the user ends up getting a different language.


⚠ ClamAV has degraded performance

In 97eed0e, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 98 ms

Resolved: ClamAV performance has improved in 7b6ad3e.


Fix build checks / CI

The CI pipeline is failing probably due to the newly added async subtemplate. We need to look into fixing it.

Also, there's CI yml + toml files in the async folder that need to be moved to the top level.


After reinstall rancher bootstrap password no working

Rancher Server Setup

Rancher version: 2.6.3
Installation option (Docker install/Helm Chart): HELM on EKS
Proxy/Cert Details: RapidSsl

Information about the Cluster

Kubernetes version: 1.21
Cluster Type (Local/Downstream): Local
Hosted=EKS

User Information

What is the role of the user logged in? (Admin/Cluster Owner/Cluster Member/Project Owner/Project Member/Custom)

No Login (bootstrap password)
Describe the bug
After removing Rancher with the system tools and reinstalling the new version 2.6.3 with the Helm chart it was no longer possible to login with the bootstrap password.
After uninstalling Rancher the nodes of the eks cluster were no longer visible, we had to create a new group of nodes for the pods to be deployed.
To Reproduce
system-tools remove -c $KUBECONFIG
helm install rancher rancher-stable/rancher --namespace cattle-system --set bootstrapPassword=PassW0rd --set hostname=rancher.mydomain.com --set replicas=3 --set ingress.tls.source=secret --set<EMAIL_ADDRESS>--version 2.6.3
Result
Unable to login and initial setup
Expected Result
Login and do the initial setup
Screenshots

Additional context
When trying to log in on the pods logs display these errors:
2022/02/06 11:25:47 [ERROR] error syncing 'services-view': handler mgmt-auth-roletemplate-lifecycle: errors deleting dowstream clusterRole: [NotFound 404: failed to find cluster], requeuing 2022/02/06 11:25:47 [ERROR] error syncing 'project-monitoring-readonly': handler mgmt-auth-roletemplate-lifecycle: errors deleting dowstream clusterRole: [NotFound 404: failed to find cluster], requeuing 2022/02/06 11:25:47 [ERROR] error syncing 'view': handler mgmt-auth-roletemplate-lifecycle: errors deleting dowstream clusterRole: [NotFound 404: failed to find cluster], requeuing 2022/02/06 11:25:47 [INFO] remove kontainerdriver googlekubernetesengine 2022/02/06 11:25:47 [ERROR] error syncing 'googlekubernetesengine': handler mgmt-kontainer-driver-lifecycle: error getting schema: dynamicschemas.management.cattle.io "cluster" not found, requeuing 2022/02/06 11:25:47 [ERROR] error syncing 'clustercatalogs-manage': handler mgmt-auth-roletemplate-lifecycle: errors deleting dowstream clusterRole: [NotFound 404: failed to find cluster], requeuing 2022/02/06 11:25:49 [ERROR] error syncing 'p-gj88s/u-krouf4zbja-member': handler mgmt-auth-prtb-controller: failed to remove finalizer on controller.cattle.io/mgmt-auth-prtb-controller, requeuing 2022/02/06 11:25:49 [ERROR] error syncing 'p-2288z/u-hbjp472guf-member': handler mgmt-auth-prtb-controller: failed to remove finalizer on controller.cattle.io/mgmt-auth-prtb-controller, requeuing 2022/02/06 11:25:50 [ERROR] failed to call leader func: create not allowed while custom resource definition is terminating 2022/02/06 11:25:55 [ERROR] failed to call leader func: create not allowed while custom resource definition is terminating

The same on my side.
I see in browser dev tools, that /v3-public/localProviders/local?action=login XHR is going to http://.. not https://... in spit of fact Rancher UI is doing redirect to HTTPS itself.

the same problem on my host.
how to resolve this project, in order to access ui

Solved. Uninstall doesn't clean up resources in k8s, which causes mess in configuration. You have to setup new cluster or clean it up. Use this gist, to clean: https://gist.github.com/nudzo/b72d31d965ee26ede06f32ee9756b581

Solved. Uninstall doesn't clean up resources in k8s, which causes mess in configuration. You have to setup new cluster or clean it up. Use this gist, to clean: https://gist.github.com/nudzo/b72d31d965ee26ede06f32ee9756b581

Have you tried Rancher system-tools? I'm still having issues but wondering if you've solved this with the script as opposed to using system-tools

I've never used those tools. Script just search any CRD having cattle in its name and then goes through Rancher namespaces and delete every custom resource belonging to those CRDs... for namespaced resources. For cluster wide ones it also drops finalizers before deleting. Running that after Rancher Helm chart got uninstalled.

this gist can cleanup even more resources
https://gist.github.com/prog76/0e1c83d6716c880176ae7ee03844b353
for namespaces like: local, p-72hlm, ...


Query: What happens when the default logserver (gstatic/v2) goes down? Does the SDK have a "high availability" mechanism to fallback to a working logserver url? I am on version 1.1.1

@mattmook Pls respond

Hi @gnair03 in v1.x there is no fallback mechanism - if the service is down then as has been seen when Google removed the file the connection attempts then fail.
In v2, caching has been re-implemented and made a lot more robust. For example the library now embeds a hard coded log list so it always has a fallback. The implementation is closer to how Chrome works, if the library cannot update the log list for 70 days then the best it can do is disable the CT checks. The plan is for more regular updates of the library to keep the embedded log list in sync so as long as apps keep the library up to date that 70 days will keep on rolling - a disk cache being used also extends that 70 days too.
The new implementation additionally reduces the risk of replay attacks.


searchfield-current-engine-icon doesn't work anymore

affected a couple of the latest vivaldi builds.
downloaded current hooks just a minute ago and checked on the fresh installation.

Check the latest update https://github.com/justdanpo/VivaldiHooks/commit/ea02bb412806d49cba976572a8271cd6a9127650

solved. thank you Sir!

in 1.11.917.17, it happens again.

Not applicable anymore


Add cleanup to Istio integration task

Added simple cleanup instructions.

I signed it!

Jenkins job istio.github.io/presubmit passed

Contributes to https://github.com/istio/istio.github.io/issues/193

Jenkins job istio.github.io/presubmit passed


Dockerized the app for easy local development

Issue Reference
This PR addresses the Issue : Fixes #440
Summarize
Made the docker setup easy.

Added compose file
added postgres and redis infra to the setup
Added a wait script to only start the app after the postgres db and redis has been up and running.
Updated the readme.

Let me add the redis environment to the docker setup then. hold on @karthikpanicker

That did the trick. Its working now

ERROR: Version in "./docker-compose.yaml" is unsupported. You might be seeing this error because you're using the wrong Compose file version. Either specify a version of "2" (or "2.0") and place your service definitions under the `services` key, or omit the `version` key and place your service definitions at the root of the file to use version 1.
For more on the Compose file format versions, see https://docs.docker.com/compose/compose-file/```

@sanpra1989 Looking forward to fix.

@athimannil @sanpra1989 I've updated the documentation. You may try again.

Tested, breaks on 16.04, clarified issues on 18.04 with @r3dsm0k3.

@r3dsm0k3 Would it be better to  rebase your feature branch with latest master, lots of commits were pushed today.  Just thinking from testing perspective.

Tested this in local and it is working fine!

Tested on 16.04, Working fine.


refactor(ErrorObservable): remove needless type param from ErrorObservable.create()

Description:

Remove unused type param T from
BREAKING CHANGE - ErrorObservable.create() is no longer take type parameter
T. You don't have to pass it.

Coverage remained the same at 97.217% when pulling 7ea0a2c93da7b9f14a89fa3fc8ceac8ff8fc11c3 on saneyuki:unused-type-param-ErrorObservable into 260d335f497a2de223b164ea9705699e7f306d7d on ReactiveX:master.

updated the commit message.

Coverage remained the same at 97.217% when pulling 3a5770e0c8c958b14eb862567807866a59980db0 on saneyuki:unused-type-param-ErrorObservable into 260d335f497a2de223b164ea9705699e7f306d7d on ReactiveX:master.

Coverage remained the same at 97.217% when pulling 62d0364af2a642d0772f688b78b946a50a224521 on saneyuki:unused-type-param-ErrorObservable into 0271fab2f435d21fc64187a39143237208a54163 on ReactiveX:master.

@saneyuki wouldn't this break type inference such as if in our selector, we're depending on Observable<T> and we had conditional logic in our selector?
function selector<Observable<number>>(x: number) {
  if (x % 2 === 0) {
    return Observable.throw<number>('nope nope nope');
  }

  return Observable.of<number>(1);
}

I think @mattpodwysocki is right here. @david-driscoll or @kwonoj can you confirm?

@mattpodwysocki @blesh

ErrorObservable is defined as class ErrorObservable extends Observable<any> {} , so by your example, the return type of selector() is Observable<number> (and we need not specify type param T  to Observable.throw()).
At all, is it a right way that ErrorObservable is derived from Observable<any> so that make it more generic? Should we change from ErrorObservable to ErrorObservable<T>>

Coverage remained the same at 97.217% when pulling d188b9b9b951aba2ff6cf16350e94443836a3014 on saneyuki:unused-type-param-ErrorObservable into 89612b2914fe0f48123ceaa66e3e63b5f7975873 on ReactiveX:master.

Coverage remained the same at 97.217% when pulling d188b9b9b951aba2ff6cf16350e94443836a3014 on saneyuki:unused-type-param-ErrorObservable into 89612b2914fe0f48123ceaa66e3e63b5f7975873 on ReactiveX:master.

So this seems bit tricky.
First, I think generic of error observable itself is redundant, cause it does not being used to infer type of error. For example, in current interface Observable.throw(1) is inferred to
Observable<T>.throw: <{}>(error: any, scheduler?: Scheduler) => ErrorObservable
Since ErrorObservable itself does not have generic type and force set base observable type to any.
But also it is questionable if it's right to give type to ErrorObservable itself, since all of error being emit in Observable is currently any, do not have specific types so allowed to error any value as needed. It may considerable option to adapt generic type to ErrorObservable to allow type inferred (cases like selector need to return single type T).
Waiting @david-driscoll 's input as well.

I think this should be:  Observable.throw<T>(error: T) returning ErrorObservable<T>. Since we know the type that we're passing to it, it can be inferred.
@saneyuki, if you want to make that change in this PR that would be cool. Otherwise, I don't think we'll merge this PR, but rather make that change in another PR.  :PR:

@blesh

I think this should be: Observable.throw(error: T) returning ErrorObservable. Since we know the type that we're passing to it, it can be inferred.

Okay. I'll change to it.
BTW, I think it would be better to use type parameter E (Observable.throw<E>, ErrorObservable<E>) instead of T, to express the generics type which we intend to accept an error type to. How do you think about it?

@blesh
I have updated this pull request. Your comment is like this, isn't it?

Coverage remained the same at 97.593% when pulling b5fb259e103a9027d2ea6bcff19dae3b931af9e5 on saneyuki:unused-type-param-ErrorObservable into 39214f22b4b470e708e8c05f62b2243536e9f238 on ReactiveX:master.

Coverage remained the same at 97.595% when pulling 47b526f0946c508e0adc87386b543e5e6c102236 on saneyuki:unused-type-param-ErrorObservable into a047e7aa1d4630225d19bf99d4419197032fddd0 on ReactiveX:master.

:shipit:


Make the selinuxd auto-selection logic use environment variables

What type of PR is this?
/kind cleanup

What this PR does / why we need it:
This patch doesn't change the functionality in any way whatsoever, but
makes it easier for tools that reason about bundle or helm manifests
to do their job.
I hit such issue with a tool we use in OpenShift that was not able to detect
that I forgot to rewrite the quay.io upstream images in the configMap to
our downstream images.
We used to put the mapping between selinuxd images and OS directly into
a configmap. This is problematic for the aforementioned tools as a
container pullspec is hard to find in operator manifests. To make their
job easier, the configmap now points to an environment variable name
that is defined in the operator deployment manifest.
Which issue(s) this PR fixes:
None

Does this PR have test?
Adjusts existing tests

Special notes for your reviewer:
N/A
Does this PR introduce a user-facing change?

NONE

Codecov Report

Merging #1642 (eaa1985) into main (d3da238) will decrease coverage by 0.01%.
The diff coverage is 33.33%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1642      +/-   ##
==========================================
- Coverage   48.65%   48.64%   -0.01%
==========================================
  Files          69       69
  Lines        6785     6786       +1
==========================================
  Hits         3301     3301
- Misses       3353     3354       +1
  Partials      131      131

/test pull-security-profiles-operator-test-unit

@kubernetes-sigs/security-profiles-operator-maintainers PTAL

/retest


Can God repair and modify the source code of the inventory?

It crashed when modifying the source code injection of the inventory. I hope God can fix it

什么？

Another source code: https://github.com/danielkrupinski/OsirisInventory , injection crash, do you have a solution?

github.com/danielkrupinski/OsirisInventory
I hope God sees it and fixes this source code

Then you shouldn't create issue here

Then you shouldn't create issue here

你是中国人吗？我想说的是  哪个修改库存的源代码现在已经注射不了了，在那边没有人回复，所以我到这边来求助！！

Why you can't just use osiris? It has updated InventoryChanger. You don't have to use other functions

为什么你不能只使用 osiris？它更新了 InventoryChanger。您不必使用其他功能

Other codes are too large. I just need inventorychanger

Remove everything from this source besides inventory changer.

Remove everything from this source besides inventory changer.

Can you help me？

Remove everything from this source besides inventory changer.

If it was that easy…

Remove everything from this source besides inventory changer.

If it was that easy…

Give me your discord, I can help you

Remove everything from this source besides inventory changer.

If it was that easy…

Give me your discord, I can help you
https://github.com/danielkrupinski/Osiris/issues/3716#issuecomment-1182877285

除库存更换器外，从此来源中删除所有内容。

如果真的那么容易……

给我你的不和谐，我可以帮你

I know nothing about this source code. I want to see the operation of the great gods

Remove everything from this source besides inventory changer.

If it was that easy…

Give me your discord, I can help you

yxb6846928#4449


pool request for an contributer

.github/workflows/eventindexer.yml

I truly appreciate your contribution, but this PR is too big :)


[Typo/Mistranslation] 02-load-data-with-power-query-in-power-bi-desktop.md

BusinesType is a column name, so it shouldn't be translated into Korean. It needs to be kept as English.
Current:
비지니스 유형 열
To be:
BusinessType 열

Hello contributor,
Thank you for your contribution! We are processing your suggestions and we will update you shortly.
Kind regards,
Microsoft Worldwide Learning Team

Locfile updates made


[Tooling] Changing Razor project configurations, renaming a file and then adding import files explodes the project system.

Describe the bug
Changing Razor project configurations and then adding import files explodes the project system . Found this issue when testing out Razor in VSCode (project configurations are always updated on start) by renaming a file and then adding a _ViewImports.cshtml. After the explosion CPS ignores all other project updates.
To Reproduce
Steps to reproduce the behavior:

Create a new 3.0 web app
Change configuration to 2.0
Rename Index.cshtml to Foo.cshtml
Add a _ViewImports.cshtml file
Try doing anything project system related (adding documents, changing project etc.)

Expected behavior
Everything works
Screenshots

c161cbfc4471d6ff6eafd58f3af572c98a52b492


Increase Performance for Exasol Security Object Views

Implemented Security Objects as Caches on Datasource Level to increase performance in an Exasol databases with many objects

Looks good.
note that next release will be on Monday


Proposal: Permit2 for NFT Assets

Description

This proposal is to create a permit2 smart contract that enables the easy transfer of NFTs asset.
It will feature single transfer and batch transfer of NFTs asset to a receiver.
It will improve user experience by abstracting the process of Approval on NFTs asset.
It will integrate signature-based mechanism leveraging EIP712 to perform a transfer action.
It will enable a user to give permission to a spender to receive their NFTs.
It will follow the smart contract development principles and especially add security by ensuring deadlines are set for signatures.

Bounty track

Developer Tooling

Approved. I kinda like this idea. Think about giving each new community member an NFT to onboard and they can choose to exchange it for initial gas/onboarding fund.

Alright.

done
GitHub; https://github.com/PaulElisha/nft-signature-transfer/tree/main

can you demo this? elaborate on possible use case and show me why this is easy. sending normal NFT is pretty easy already.
my address: 0xe3d25540BA6CED36a0ED5ce899b99B5963f43d3F
set everything up and tell me what to do

Further details.
What is this about?

Imagine permit2 created by the Uniswap Labs team specifically for ERC20 tokens but this is for NFTs. It's that simple.

Benefits:
The transaction flow of an application requires approval from the user whenever a transferFrom function is called from an operator. But imagine the stress of approving every time a transaction is initiated.

We can improve DeFi Ux by ensuring that users don't have to approve every time. Simply by signing a permit message, they can give permission to the permit2 contract to initiate a transfer from the user without needing prior approval.

We can save gas since we don't need to call the approval function separately every time we initiate a transfer transaction. Imagine we want to send multiple tokens and it requires separate approval, it will cost a lot of gas but by signing a permit message, a batch nft token transfer can be successful.

Use cases:

NFT Marketplaces, to send multiple NFTs for sale without the need of approval. It automatically batch approves the transfer transaction.

Mass Distribution of NFTs like an Airdrop in one transaction.

Multi-swap of NFTs in one transaction.

etc.
So like the permit2 contract, it is not an application but an infrastructure designed for projects to use to improve DeFi UX.
I am building a ERC20 token multi-swap in one transaction, this is designed to help us advance the features for multi-nft swap.
Also, I am building a Multi-token distribution platform on Kaia so multi-tokens erc20 and nfts can be batch transferred to single or multiple user in one transaction. This will help me better make DeFi experience great on Kaia.


Removed hushmail.com and naver.com from disposable emails

We have issues with existing users that signed up with these 2 email providers.
Hushmail
Naver (Hangul: 네이버) is a popular sponsored advertisement portal in South Korea, owned by Naver Corporation

Thanks parov. I completely missed those.

I've pushed v1.1.13 to rubygems with this fix. Sorry for the inconvenience


[HACKTOBERFEST 2024] - Loops Quiz

[!IMPORTANT]
This issue is part of our 2024 Hacktoberfest initiative. If you are interested in working on this issue, refer to our top-level tasks to see if this issue is claimed, or to claim it if it is not.

This issue is to create the Loops quiz.
The file you should be working on is found in /curriculum/challenges/english/25-front-end-development/quiz-loops.
All quiz questions need to relate to one of these topics:

how does iteration work
for
for...of
for...in and why avoid it
while loop and do...while
break and continue statements

[!CAUTION]
Questions which do not fall under these topics will be rejected.

You are welcome to include code blocks in your questions, but please keep them short (four lines or less).
Please do NOT open a pull request until you have completed all questions. Your quiz should have exactly 20 questions.

Thank you for your interest in contributing. This issue will be opened for contribution when Hacktoberfest starts on October 1st.

[!CAUTION]
Pull requests which are created before October 1st will not be eligible for Hacktoberfest. We appreciate enthusiasm, but encourage you to hold off on contributing to this issue until the event has begun.

If you wish to be notified when this issue is opened for contribution, subscribe to notifications:

This issue is now open
If you would like to work on this issue, please leave a comment so we can assign it to you.
Be sure to read our contributing guidelines.

I would like to work on this please

I would like to work on this issue. Can you please assign this to me? @naomi-lgbt

This issue has been assigned a contributor. To prevent extraneous notifications, the issue is now locked. If you have any questions, please reach out to me in our Discord community.


Scale media preview

Right now the video and image size inside the media preview dialog is fixed.
It should be scaled up/down with the diaog size.

The recent fix for the playfield and loading videos fixed the size issue good enough.


[Semantics]Incorrect accessibility semantics on the Table widget

Hi,
When using the Table widget, accessibility information doesn't seem to be generated.
In particular when running the below code sample on Flutter Web, I cannot navigate the resulting table with standard screen reader commands (using NVDA), and NVDA does not know there is a table on the page.
import 'package:flutter/material.dart';

void main() => runApp(const MyApp());

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const MyHomePage(),
    );
  }
}

class MyHomePage extends StatelessWidget {
  const MyHomePage({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('People'),
      ),
      body: Table(
        children: const [
          TableRow(
            children: [
              TableCell(child: Text('First Name')),
              TableCell(child: Text('Surname')),
              TableCell(child: Text('Age'))
            ],
          ),
          TableRow(
            children: [
              Focus(child: TableCell(child: Text('Chris'))),
              Focus(child: TableCell(child: Text('Norman'))),
              Focus(child: TableCell(child: Text('32')))
            ],
          ),
          TableRow(children: [
            Focus(child: TableCell(child: Text('Mother'))),
            Focus(child: TableCell(child: Text('Earth'))),
            Focus(child: TableCell(child: Text('Pretty old')))
          ])
        ],
      ),
    );
  }
}

[ÔêÜ] Flutter (Channel master, 2.11.0-0.0.pre.871, on Microsoft Windows [Version 10.0.22000.556], locale en-GB)
    ÔÇó Flutter version 2.11.0-0.0.pre.871 at C:\Users\chris\flutter
    ÔÇó Upstream repository https://github.com/flutter/flutter.git
    ÔÇó Framework revision 4f4c7816c3 (6 hours ago), 2022-03-14 07:35:07 +0100
    ÔÇó Engine revision 6239bfb884
    ÔÇó Dart version 2.17.0 (build 2.17.0-182.0.dev)
    ÔÇó DevTools version 2.11.1

[ÔêÜ] Android toolchain - develop for Android devices (Android SDK version 31.0.0-rc2)
    ÔÇó Android SDK at C:\Users\chris\AppData\Local\Android\sdk
    ÔÇó Platform android-31, build-tools 31.0.0-rc2
    ÔÇó Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    ÔÇó Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    ÔÇó All Android licenses accepted.

[ÔêÜ] Chrome - develop for the web
    ÔÇó Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[ÔêÜ] Visual Studio - develop for Windows (Visual Studio Enterprise 2022 17.1.0)
    ÔÇó Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Enterprise
    ÔÇó Visual Studio Enterprise 2022 version 17.1.32210.238
    ÔÇó Windows 10 SDK version 10.0.22000.0

[ÔêÜ] Android Studio (version 2020.3)
    ÔÇó Android Studio at C:\Program Files\Android\Android Studio
    ÔÇó Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    ÔÇó Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    ÔÇó Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[ÔêÜ] VS Code, 64-bit edition (version 1.65.1)
    ÔÇó VS Code at C:\Program Files\Microsoft VS Code
    ÔÇó Flutter extension version 3.27.0

[ÔêÜ] Connected device (4 available)
    ÔÇó Windows (desktop)       ÔÇó windows ÔÇó windows-x64     ÔÇó Microsoft Windows [Version 10.0.22000.556]
    ÔÇó Windows (UWP) (desktop) ÔÇó winuwp  ÔÇó windows-uwp-x64 ÔÇó
    ÔÇó Chrome (web)            ÔÇó chrome  ÔÇó web-javascript  ÔÇó Google Chrome 99.0.4844.51
    ÔÇó Edge (web)              ÔÇó edge    ÔÇó web-javascript  ÔÇó Microsoft Edge 98.0.1108.56

[ÔêÜ] HTTP Host Availability
    ÔÇó All required HTTP hosts are available

ÔÇó No issues found!

Thanks in advance.

cc: @cbracken

@maheshmnj
Thank you for confirming. Semi unrelated: What software are you using to make those screen recordings please? They might help me explain my issues better.
Thanks again.

@chrisnorman7 I am using the built-in game bar feature on windows (activated using Win + g) with a microphone enabled when recording.

Nice, thank you.
Take care,
Chris Norman
On Mon, 14 Mar 2022 at 16:58, Mahesh Jamdade @.***>
wrote:

@chrisnorman7 https://github.com/chrisnorman7 I am using the built-in
game bar feature on windows (activated using Win + g) with a microphone
enabled when recording.
—
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/100056#issuecomment-1067062674,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABBUZ2PTV6HS7ID6FHGKR3DU75V3DANCNFSM5QVOJXKQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

I work for a school and am working on adding Semantics to support our blind users. When presenting data in a table, there are some fields which have links by way of an InkWell. These InkWells seem to cause the reader to read out of order, being read last.
After much consultation of documentation, I am also unaware of how to change this ordering properly or group a row of data together. Any advice is greatly appreciated.

@UNIcodeX,
I've not used the InkWell class myself, but I am blind, and suspect I have done more than my fair share of getting the Semantics widget to play nice with screen readers. If I can be of help, please feel free to get in touch with me privately, and I'll see what I can do.
To answer your question, I do not know of a way to change the tab order, which is what it sounds like you want to do. I don't really want to derail this thread, but maybe have a think if InkWell is really what you want to use, or whether you could get away with a Column widget, or just make more rows in your table.
HTH.

@chrisnorman7 ,
Thank you for this offer. I'll email you a link to a gist I've prepared at the address listed on your github profile page.
The InkWell widgets are being used for a clickable way for users to pass phone numbers and email addresses off to a URI handler, which makes use of the url_launcher pub.dev package. If there is another way to handle this which works to preserve proper tab ordering, as well as the ability to click the numbers and email addresses, then I'm all for it.


Server Error (500) after log in as a super user

Before I log in , every thing goes well. I don't enable tf_annotation, because I have no Nvidia GPU.
Soon after I create super user using the following cmd:
docker exec -it cvat sh -c '/usr/bin/python3 ~/manage.py createsuperuser'
And go to http://localhost:8080/, after input user and password, in the next page showing
Server Error (500).
OS: Ubuntu
(Linux version 4.15.0-29-generic (buildd@lgw01-amd64-057) (gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)) #31-Ubuntu SMP Tue Jul 17 15:39:52 UTC 2018)
Need your help here. Thanks.

Hi @HaKLMTT ,
I guess you are using the development version. First of all please update till the latest version. Today we introduced a regression https://github.com/opencv/cvat/pull/129 in develop but it was already fixed.
Please let me know if you still have problems. In this case need to run docker logs cvat and send output to us.

After reboot the OS, the issue above disappear.


Provide Token Validation Errors list

Reading the docs here for Firebase Auth Errors, one can assume those error codes for the node.js library would be the same returned in the Firebase Admin Java library as well, but looking into the source code I can't find those strings anywhere.
I am using Firebase Auth in my server to validate REST Endpoint requests, so I need to return proper UNAUTHORIZED 401 codes, convening a message such as The access token expired, The access token is invalid or The access token is revoked, so the client knows what action to take.
The node.js library has:
auth/id-token-expired
auth/id-token-revoked

Whereas on the source code of this Java library I can only find a generic ERROR_INVALID_CREDENTIAL.
Where can I find those error codes in this library?
How can I communicate to my client if his token has expired and he needs a new one, or if it was revoked and he should contact customer service?

Java SDK only uses following error codes with respect to this functionality:

ERROR_INVALID_CREDENTIAL (used for both invalid and expired tokens)
ERROR_RUNTIME_EXCEPTION (if an unexpected error occurs during verification)
id-token-revoked (token has been explicitly revoked)

The auth/ prefixed error codes were only ever supported in the Node.js SDK. In general we are working towards decommissioning all these existing error codes, and moving towards a new unified error handling mechanism across all languages.
In the meantime, if you wish to distinguish between expired and otherwise invalid tokens, you will have to look at the error message (I know, it's not not pretty). The expired tokens raise an error message of the form Firebase %s has expired or is not yet valid. Get a fresh %s and try again.

I see, well then please make those error codes comply with the OAuth 2.0 error codes, as described in section 3.1 here:
http://self-issued.info/docs/draft-ietf-oauth-v2-bearer.html

Also, could you leave this issue open until the new error codes arrive? This way I will be notified when I can update my code with them.

This is a large scale breaking change that will be released as a major version. All developers will have to upgrade and change their code when it's eventually released.
As for the OAuth2 spec, I don't see how that's related to our SDK. Error codes and error handling guidelines for Firebase/GCP products are laid out here: https://cloud.google.com/apis/design/errors. Our new error handling mechanism will be based on that.

I am just saying that since Firebase Auth deals with Token Authentication/Authorization, it would be nice to have all the error codes that OAuth 2.0 speaks about, which is mostly "token expired, revoked, malformed, or invalid for other reasons". So we can map those errors to a proper 401 Response body. But ultimately I think that only expired, revoked and invalid is enough.


CraftTweaker support

Hello,
I want to ask whether this mod has support for CT2.
My plan is adding the oils from Gregtech as a fuel for the Gas Turbine.
Thanks in advance.
Rundas

It doesn't have any CraftTweaker Support. But you are able to add more fuels in the config files. there is a section in the "turbine.cfg" where you can add custom fuels to the turbine.

@MasterEnderman Took a LONG break from working on the modpack xD.
But I don't see "turbine.cfg" in the config folder at all.
https://drive.google.com/file/d/13bPeoSd3vFDa_pRRreZQa0rvS2DyKx9t/view?usp=sharing
https://drive.google.com/file/d/19q_c5X8ALm1Vo4csvKcSvs3q4k-qyQbl/view?usp=sharing
here are 2 screenshots. the overrides folder is empty.

You need to extract them from the mod jar file and copy them into the override folder. Then your changes override the internal config files.

The mod has been recently updated to MC 1.16, older versions are no longer supported.
I'm mass closing older issues to clear up clutter in the bug tracker.
If you find this issue still exists in the current version feel free to reopen it.


aiub.edu mail enlist for the students benefits

@shadril238 I am sorry, the domain student.aiub.edu is removed from our trusted domains list because it was abused in the past. If you are the student of this school, please enroll to GitHub Student Developer Program. Then apply for JetBrains educational subscription with your GitHub account (GitHub tab at https://www.jetbrains.com/shop/eform/students).


Webpage accesses RESTful API when necessary

This will likely be a difficult ticket that multiple people need to collaborate with and tackle. Will likely want to collaborate with whoever is working on #17 as well.
Acceptance criteria

As the player scrolls around the map, new requests are made to the web server API
Can handle network errors, such as the web server failing to respond
Can handle errors reported in the server response

Done!


does eesen support triphone？

Best

Not really. We only support monophone.

thank you very much!


Create an issue completion cache, show which calls have been made

Fixes #363

I think I'd like to know who I've called. What about possibly adding a checkmark overlay on each image, so I can see who it is and if I've contacted them?
This part would probably be a feature for later, but I know folks who are calling daily on some issues. It might be nice to have some indication of when the user called / how often.

I think I'd like to know who I've called. What about possibly adding a checkmark overlay on each image, so I can see who it is and if I've contacted them?
This part would probably be a feature for later, but I know folks who are calling daily on some issues. It might be nice to have some indication of when the user called / how often.

@heathermh you're referring to the issue detail, right? Yes, this was hooked up in the UIKit version.

Updated with called indicators on the issuedetail page too:

I think I'd like to know who I've called. What about possibly adding a checkmark overlay on each image, so I can see who it is and if I've contacted them?
This part would probably be a feature for later, but I know folks who are calling daily on some issues. It might be nice to have some indication of when the user called / how often.

@heathermh you're referring to the issue detail, right? Yes, this was hooked up in the UIKit version.

@cselin In the summary screen where you have the stacked/overlapped photos - I think I'd like to see an indicator of which ones I've called right there. I like the version on the detail screen with image overlaid with checkmark. Could that fit on the summary screen with the tiny photos not overlapping as much? It would be nice to scan the list of issues and see that I've contacted someone for each that I care about.

I think I'd like to know who I've called. What about possibly adding a checkmark overlay on each image, so I can see who it is and if I've contacted them?
This part would probably be a feature for later, but I know folks who are calling daily on some issues. It might be nice to have some indication of when the user called / how often.

@heathermh you're referring to the issue detail, right? Yes, this was hooked up in the UIKit version.

@cselin In the summary screen where you have the stacked/overlapped photos - I think I'd like to see an indicator of which ones I've called right there. I like the version on the detail screen with image overlaid with checkmark. Could that fit on the summary screen with the tiny photos not overlapping as much? It would be nice to scan the list of issues and see that I've contacted someone for each that I care about.

That's captured by Nick's screenshot in the description though, isn't it?

Yeah, I think this is the right balance: glanceable idea of if you've completed all contacts on the dashboard, and if you need more info on rep name / bigger images, you can pop into the issue detail screen.
One thing I want to revisit: lots of people share the done screen on Instagram so I think we should add the contact summary from issue detail back into Done (it's there in UIKit, I originally had it in swiftui but removed it in favor of a simpler layout for this PR).


Replace GFNI with nibble-based approach for character-set-search

Current AVX-512 implementation relies on rare Galois Field extensions, that are not very fast to compute. @WojciechMula has a great article on a nibble-based approach for "SIMD byte lookup" with SSE. That same approach should work well with Arm NEON, AVX2, and AVX-512, and should be considered in the future.

Solved in 54b5603f2042233baa367abe22b41dd1100457d9, but it may be possible to further reduce the latency for frequent patterns. For that we need a more efficient way to initialize the off and even columns of the bitmap, analogous to the LOAD2 instruction on Arm:
filter_even_vec.zmm = _mm512_broadcast_i32x4(_mm256_castsi256_si128(_mm256_maskz_compress_epi8(0x55555555, filter_ymm)));
filter_odd_vec.zmm = _mm512_broadcast_i32x4(_mm256_castsi256_si128(_mm256_maskz_compress_epi8(0xaaaaaaaa, filter_ymm)));


Whaity mount

Adds support for the ansible mount type. Contains the most common options.

merged

Sorry. I through I was on my copy!


#539: Add contiguous byes check

Resolves #539

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

32 of 34 (94.12%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.02%) to 96.131%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

CourageScores/Services/Health/Checks/ContiguousByes.cs
32
34
94.12%

Totals

Change from base Build<PHONE_NUMBER>:
-0.02%

Covered Lines:
7495

Relevant Lines:
7567

💛  - Coveralls


The HapticGloveModule crashes when useSkin is set to 0

We tried to set useSkin to 0, but then the HapticGloveModule segfaulted with no particular indication on why it crashed

Hi @S-Dafarra and @EhsanRanjbari . Are you sure your environment were updated with the last version of code in the master branch and built against it? This commit https://github.com/robotology/walking-teleoperation/commit/31888b553193e9d63081b05fd83e3bc787a5fb36 specifically fixes this issue and I have tested at least for more than 10 mins in Gazebo simulated  environment and I did not face any problem. Keep me posted on this.

Hi @kouroshD, thanks for looking into this. We were probably using this branch: https://github.com/robotology/walking-teleoperation/tree/RiminiDemo. Looking at the commits, we were missing that, I will try to rebase, test it, and open a PR

cool, let me know if it works. thanks


[DRAFT] policy: lock the SelectorCache for reading only

ConsumeMapChanges and it's call tree below only require read access to the selector cache. Hence, avoid serialising all calls to ConsumeMapChanges by acquiring the full (write) lock.

/test

/test

/ci-eks

/test-backport-v1.12

/test-backport-1.12


[VS Code] [Audio] Request failed with status code 502

Error:
Request failed with status code 502
Steps to Reproduce:

Version Data

extensionName
VSLS-Audio

extensionVersion
0.1.48

applicationName
VSCode

applicationVersion
1.33.0

platformName
Windows

platformVersion
17.7.0

Closing as dupe of 1829. Please join the discussion there.


Implement ockam service list command

Currently
There is no command in to list a node's services. There is, though, an endpoint on the NodeManager to retrieve the current services stored in its internal registry.
Desired
Every NodeManager has a registry where all the initialized services are stored. A new command should be added on ockam_command::service to list the services running on a particular node.
To do that, the following must be done:

On the ockam_command crate, implement the Output trait for the ServiceList.
Also on the ockam_command crate, add a new subcommand called service list here that will send a request to the node/services endpoint and print the request's result.

The command logic should be pretty simple, something like the following:
let mut rpc = RpcBuilder::new(ctx, &opts, &node_name).build();
rpc.request(...).await?;
rpc.parse_and_print_response::<ServiceList>()?;

We love helping new contributors!
If you have questions or need help as you work on your first Ockam contribution, please leave a comment on this discussion.
If you're looking for other issues to contribute to, checkout this discussion and labels - https://github.com/build-trust/ockam/labels/good first issue or https://github.com/build-trust/ockam/labels/help wanted

I'd like to have a look into it

Added a PR with a possible solution. Couple of comments:

I figured service list would work by providing the node_name as a parameter. Is that all right or should there be a default case where the services for the default node are listed instead as well?
I opted for rendering the list in the same way as it's done in the node list command, but I tinkered with a Table option for readability as well in the end. Here's a side-by-side comparison if it's of any use:


block upgrades on bad featuregates

I'm not excited about this.  I still think it belongs in the CVO, but every release it isn't present is one more release harder it is to enforce later on.
This adds a simple way to force the ugpradeable condition false on featuregate values.

LGTM, certainly better than not enforcing feature gates.

there was an agreement that the cvo would handle this and it was to be treated as a release blocking bug.  see: https://bugzilla.redhat.com/show_bug.cgi?id=1730401

/retest

I expected something more ugly. Sgtm.

I expected something more ugly. Sgtm.

Do this just in case the CVO has trouble getting it done and backported, but then we revert after?

Do this just in case the CVO has trouble getting it done and backported, but then we revert after?

Seems good. Create a blocker bugzilla to remind us.

/lgtm

/cherrypick release-4.1


Import export

Closes #33.
Closes #34.
This PR required some modifications to the existing protocols:

Generate and Store: Some clarification as to the role of the calling application (versus local-client was added. This amounts to clarifying that the last action of the client is to output the key identifier to the calling application.
Retrieve: This functionality now takes context as to the intended use of the retrieved secret, in order to support local use as well as export. I also included a NULL context, which retrieves the secret but doesn't do anything useful with it. I did this mainly with testing and extensibility in mind (e.g., we may have some local operations possible when we add signing keys to the system).

Big picture looks good to me, most of these comments are typo-level.
I thought that key export would be paired with deletion of the key from the system. I can see how it is worth having those two things separate (e.g. you might want to make sure the new storage location works before deleting it from ours), but did you intend to add removal at some point as well?

I think in the future we will want to add deletion functionality, as you observe. But I would keep this separate from export. (We may want to provide a nice external API call for "export and delete" or something, but I also envision building recovery options, i.e., external-to-system backup flows, with "export".)

There are a couple places where the text references using the retrieve context to indicate the caller's intended use of the secret, but the spec doesn't currently describe what the set of intended uses are.

Ah, yes. It looks like I talked around this everywhere.


gjf

If this is a support request:
Please attempt to solve the problem on your own before opening an issue.
Between old issues, StackOverflow, and Google, you should be able to find
solutions to most of the common problems.
Include at least:

Steps to reproduce the issue (e.g. the command you ran)
The unexpected behavior that occurred (e.g. error messages or screenshots)
The environment (e.g. operating system and version of manim)

If this is a feature request:
Include the motivation for making this change.

How can I change orders of rendering?
I want to circle A in front of circle B
but I don't know how can I change this
Please help

Use self.bring_to_back(...) or self.bring_to_front(...).

Thanks !


Breaks PHP

Hey. I love beautify. but unfortunately it has the odd habit of destroying php files. it doesn't get stylistic comment blocks at all and even breaks up variable names.

I love it as well, but am seeing the same thing with php files. It's adding spaces to anything inside single quotes. So, when I type in 'text', and then save, it gets changed to 'text '.

How disable beautify in PHP Files?, i want only in CSS, HTML, SCSS, etc. Thanks!

it make my $_GET["email"] to $_GET[" email "]m with added spaced, and  to  ... :-(

Also being effected by this. Either don't parse anything between  or, fix your parser to handle PHP as well.

Hope there is a fix for this.  Very frustrating as PHP is one thing I would love to beautify

having the same issus with php, a fix would be appreciated!

Same here. Beautify makes PHP code look ugly :skull:

Hey guys, this extension uses JSBeautify for it's beautifying.  https://github.com/beautify-web/js-beautify
I'm not sure they'll support PHP formatting any time soon, but you could definitely bring it up.
Also if there is a good JS based PHP formatter or command line application I could add it in.  Much like the way SASS was added in.

@drewhamlett I mean I'd be happy if you could just ignore anything between

I wonder if this is going to be worked on? It really is a problematic bug.

This issue was fixed on js-beautify's end, just needs the updated version of it here

https://github.com/beautify-web/js-beautify/blob/master/CHANGELOG.md#v157

I just 'lost' thousands of lines of code due to this :( ...just thought I'd mention here.

There are a number of freely available online tools to do that such, as this. Next time take care not to select content withing <?php...?> tags.

Brackets Beautify 1.20 is now using js-beautify 1.5.10, so I hope this should be fixed.

@Hirse - Thanks!


ci: adjust TPU trigger

What does this PR do?
noticed in #17582 that the check is skipped

Before submitting

Was this discussed/agreed via a GitHub issue? (not for typos and docs)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together?
Did you make sure to update the documentation with your changes? (if necessary)
Did you write any new necessary tests? (not for typos and docs)
[x] Did you verify new and existing tests pass locally with your changes?
Did you list all the breaking changes introduced by this pull request?
Did you update the CHANGELOG? (not for typos, docs, test updates, or minor internal changes/refactors)

PR review
Anyone in the community is welcome to review the PR.
Before you start reviewing, make sure you have read the review guidelines. In short, see the following bullet-list:

Reviewer checklist

[x] Is this pull request ready for review? (if not, please submit in draft mode)
[x] Check that all items from Before submitting are resolved
[x] Make sure the title is self-explanatory and the description concisely explains the PR
[x] Add labels and milestones (and optionally projects) to the PR so it can be classified

@carmocca mind checking, this will need to be force merged...

Whats the bug here? It needs to have "[TPU]" in the title

Whats the bug here? It needs to have "[TPU]" in the title

ok, I was wrong, but lest add also trigger for editing and make the if as multiline to be more readable...


Presto not working after adding Teradata connector jars in plugin folder

Hi Jose,
Thank you for this repo. I am using this to build Teradata connector jars and was able to build. But, when I keep these jars in plugin folder under Presto installation directory, Presto server stops working with below error-
2016-07-28T16:00:52.729-0400    INFO    main    com.facebook.presto.server.PluginManager        Installing com.facebook.presto.plugin.teradata.TeradataPlugin
2016-07-28T16:00:52.751-0400    INFO    main    com.facebook.presto.server.PluginManager        Registering legacy connector teradata
2016-07-28T16:00:52.752-0400    ERROR   main    com.facebook.presto.server.PrestoServer null
java.lang.AbstractMethodError
at com.facebook.presto.transaction.LegacyTransactionConnectorFactory.getHandleResolver(LegacyTransactionConnectorFactory.java:43)
at com.facebook.presto.connector.ConnectorManager.addConnectorFactory(ConnectorManager.java:140)
at com.facebook.presto.connector.ConnectorManager.addConnectorFactory(ConnectorManager.java:132)
at com.facebook.presto.server.PluginManager.installPlugin(PluginManager.java:211)
at com.facebook.presto.server.PluginManager.loadPlugin(PluginManager.java:184)
at com.facebook.presto.server.PluginManager.loadPlugin(PluginManager.java:167)
at com.facebook.presto.server.PluginManager.loadPlugins(PluginManager.java:148)
at com.facebook.presto.server.PrestoServer.run(PrestoServer.java:113)
at com.facebook.presto.server.PrestoServer.main(PrestoServer.java:63)
I am trying to debug the issue, but thought you may be able to help if I am missing any step while build. Your help is really appreciated.
Thank you.

@odeshman Thank you for reaching us! are you using the same Presto version this code was written for? We wrote it for version 0.130

@odeshman could you solve the issue?

@odeshman please let me know if the issue was solved or any help can be provided to do so. If no response is given, will close the issue by end of week. Thanks!

Closing since we got no update.


Update models

This updates paginators, waiters, and examples for a large number of
services. This has been broken out into three commits to make it
somewhat easier to digest, but there are still quite a lot of changes.
cc @kyleknap @jamesls @dstufft @stealthycoin

Current coverage is 97.95% (diff: 100%)

Merging #1132 into develop will not change coverage

@@            develop      #1132   diff @@
==========================================
  Files            45         45
  Lines          7093       7093
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits           6948       6948
  Misses          145        145
  Partials          0          0

Powered by Codecov. Last update 5cd7328...d68f352

Closing this to break things out


What modifications are needed for the input / build / dist manifests?

Assuming that input / build / dist manifests files are created for all opensearch projects, are many changes needed?
An input manifest determines the code that is pulled along with some checks/target information.  The build manifest holds the data about a built project, and the dist manifest is all of the files that are included in the distribution (for most OpenSearch projects this is only one project so its less interesting.)

What improvements do we need with the current process?

Acceptance Criteria:

[ ] Are full fledged implementations of the input manifest needed, related to https://github.com/opensearch-project/opensearch-build/issues/1506.
[ ] Can build manifests be generated from a tool rather than requiring each build system to create them?
[ ] Are distribution manifests useful?
[ ] Document when are the manifests used in the release process, and update the workflow diagrams.

Closing this issue since we will be going ahead with GitHub release as a mode of trigger for the release.
Thanks!


teamsApps and appDefinitions should be marked as HasStream="true"

teamsApps and appDefinitions should be marked as HasStream="true" with a MediaType annotation of application/zip. See publish-an-app-to-the-app-catalog and update-an-application-previously-published-to-the-microsoft-teams-app-catalog.
The way the API is currently represented in the metadata results in missing SDK snippets in the API reference docs.

@irvinesunday, that was the original thought - https://github.com/microsoftgraph/microsoft-graph-devx-api/issues/336#issuecomment-708629024. However, I'm not entirely sure if HasStream="true" is the appropriate attribute to use since the API is now described as shown below:
POST https://graph.microsoft.com/v1.0/appCatalogs/teamsApps
Content-type: application/zip

[Zip file containing a Teams app package]

The API also returns a JSON object on upload - https://docs.microsoft.com/graph/api/teamsapp-publish?view=graph-rest-1.0&tabs=http#example-1-publish-an-app-to-the-app-catalog.

Yeah, this is a tricky one. I am thinking (and this might be unconventional) we can annotate the nav. property with a MediaType annotation as below:
<EntityType Name="appCatalogs" BaseType="graph.entity">
  <NavigationProperty Name="teamsApps" Type="Collection(graph.teamsApp)" ContainsTarget="true">
    <Annotation Term="Org.OData.Core.V1.MediaType" String="application/zip" />
  </NavigationProperty>
</EntityType>

Then we can update the conversion lib to override the default response and request body content types with the string value provided if that annotation is present.
Thoughts @baywet, @darrelmiller

This API is a bit of a mess. Not only the creation is based off a zip, which gets posted to a collection, but the update is also a POST (instead of PUT/PATCH) that gets posted to https://graph.microsoft.com/v1.0/appCatalogs/teamsApps/{id}/appDefinitions. To me it doesn't follow the OData semantics, hence our difficulty to model it in the service definition and for the conversion library to handle it properly. Maybe they should have relied on actions instead?
It's not the only case like that, places have a weird implementation, messages (email) attachments as well, etc...
I'd argue that for those edge cases, we'd need a "OpenAPI description transform step". Like we have the XSLT today for the CSDL, this file would contain jq queries (or equivalent) and an object description for insert/update/removal.
This file would only be used for things that are impossible to model with CSDL semantics. What do you think?
In case we still want to try to model it using CSDL, I think this annotation is ambiguous. As far as I know this annotation impacts BOTH the request and response body, where we'd need an annotation that only impacts the request body to model things properly.
Do you know whether we could add additional terms? like Org.OData.Core.V1.Post.RequestBody.MediaType or so? (and all the declinations for other verbs and response/request body)

I like the idea of having a sort of "OpenAPI transform step" where we can supply a subset OpenAPI doc (in YAML/JSON) that has the specific paths (and operations) that we'd want to substitute with the ones present in the converted doc. This can apply some sort of "layering-over" the main document. This YAML doc. will obviously be deserialized before being used to replace the target paths (and constituent operations). The YAML OpenAPI doc. can be supplied via a string property in the convert settings in the OpenAPI.NET.OData lib.


Feature/get row indexes from column sort

whoops sorry. i meant to create a PR for our own fork, not your original


Testing issue for linux area

Type of issue
Typo
Description
nothing
Page URL
https://learn.microsoft.com/en-us/dotnet/core/install/linux
Content source URL
https://github.com/dotnet/docs/blob/main/docs/core/install/linux.md
Document Version Independent Id
1850602d-6b92-1449-c8bd-116e36fc0f26
Article author
adegeo

Hey @adegeo
I'm assuming you were testing and this should be closed.


Rename TestCircuit->StateVectorCircuit, add QuantestPyCircuit as the base class of StateVectorCircuit and PauliCircuit.

In this PR, I rename TestCircuit class to StateVectorCircuit, and newly add QuantestPyCircuit class as the base class for StateVectorCircuit and PauliCircuit class.
It is intended that the assert methods accept an instance of  QuantestPyCircuit and internally convert it to either StateVectorCircuit or PauliCircuit as necessary. Therefore, the two converters cvt_quantestpy_circuit_to_pauli_circuit() and cvt_quantestpy_circuit_to_state_vector_circuit() are also implemented:
In [1]: from quantestpy import QuantestPyCircuit
   ...: from quantestpy.simulator.pauli_circuit import cvt_quantestpy_circuit_to_pauli_circuit
   ...: from quantestpy.simulator.state_vector_circuit import cvt_quantestpy_circuit_to_state_vector_circuit
   ...:
   ...: circ = QuantestPyCircuit(3)
   ...: circ.add_gate({"name": "x", "target_qubit": [0], "control_qubit": [],
   ...:                "control_value": [], "parameter": []})
   ...: circ.add_gate({"name": "x", "target_qubit": [2], "control_qubit": [0],
   ...:                "control_value": [1], "parameter": []})
   ...: circ.add_gate({"name": "y", "target_qubit": [0], "control_qubit": [],
   ...:                "control_value": [], "parameter": []})

In [2]: circ
Out[2]: <quantestpy.simulator.quantestpy_circuit.QuantestPyCircuit at 0x7f34647d65b0>

In [3]: pauli_circ = cvt_quantestpy_circuit_to_pauli_circuit(circ)

In [4]: pauli_circ
Out[4]: <quantestpy.simulator.pauli_circuit.PauliCircuit at 0x7f3464ae29a0>

In [5]: state_vec_circ = cvt_quantestpy_circuit_to_state_vector_circuit(circ)

In [6]: state_vec_circ
Out[6]: <quantestpy.simulator.state_vector_circuit.StateVectorCircuit at 0x7f34649d89d0>

Although there are 40 files changed, 30 of them are test files, in most of which the small changes like TestCircuit -> QuantestPyCircuit are done. Thank you in advance!

Could you resolve the conflicts?

@mitz1012
I updated the branch and resolved the conflict. Thank you for your review in advance!

@mitz1012
I have done the modifications following your review comments. Thank you for your review in advance!

Is it necessary to modify test_get_qubit_idx_to_qubit_val.py?

I do not modify test_get_qubit_idx_to_qubit_val.py in this PR.

I think we need to modify test files in simulator/circuit_drawer, but do you think the modification will be done in another pull request?

No it is not necessary. Please notice that quantestpy/simulator/circuit_drawer.py is not updated in this PR.

3. It will be better to omit the word "circuit" from files names of test_circuit_assert_ancilla_is_zero.py,  test_circuit_assert_equal_to_operator.py,  test_circuit_assert_is_zero.py and with_qiskit/test_circuit_assert_equal.py, and change class names in them.

That is out of scope of this PR. That will be done elsewhere, possibly in https://github.com/QuantestPy/quantestpy/issues/175

4. Should we change the object names test_circuit in test files?(we can interpret it as a "test file" itself, but it originally comes from the class TestCircuit.)

Done in https://github.com/QuantestPy/quantestpy/pull/173/commits/a6df6613f1cf205ecff4d7314255d1c9847e4f15

5. Why do two test files for converter exist in /test/with_qiskit/? I cannot understand the counterpart in /quantestpy/.

In this PR I add test/with_qiskit/test_converter_to_quantestpy_circuit.py because I added quantestpy/converter/converter_to_quantestpy_circuit.py.
The other one test/with_qiskit/test_converter.py has existed for a long time before this PR, and replacing/renaming this file is out of scope of this PR. If you find uncomfortable with it, please make an issue and tackle it.

Is it necessary to modify test_get_qubit_idx_to_qubit_val.py?

I do not modify test_get_qubit_idx_to_qubit_val.py in this PR. Do you mean test/assertion/get_ctrl_val/test_assert_get_ctrl_val.py ? That is indeed modified since it is necessary.

no need to modify it because _get_qubit_idx_to_qubit_val uses PauliCircuit.

Should we change the object names test_circuit in test files?(we can interpret it as a "test file" itself, but it originally comes from the class TestCircuit.)

Done in a6df661

test_circuit remains in this pull request, which I pointed out above.

@mitz1012
Thank you for your review. I have done the modification in https://github.com/QuantestPy/quantestpy/pull/173/commits/23730c5a43759e32352efc36761921fd5704f775


Errors

Hello,
I installed subaligner with pip and with docker. Both aren't working.
This is the error I get when using it with pip. Command: subaligner -m dual -v "/srv/86328239-e681-4586-8c7b-bf01e82bce9e/TvShows/Better Call Saul/Season 2/Better Call Saul - 2x02 - Cobbler.mkv" -s "/srv/86328239-e681-4586-8c7b-bf01e82bce9e/TvShows/Better Call Saul/Season 2/Better Call Saul - 2x02 - Cobbler.en.srt" -o "/srv/86328239-e681-4586-8c7b-bf01e82bce9e/TvShows/Better Call Saul/Season 2/Better Call Saul - 2x02 - Cobbler.en.srt"

This is the error I get with docker. Command: docker run -v pwd:pwd -w pwd -it baxtree/subaligner subaligner_2pass -v "/srv/86328239-e681-4586-8c7b-bf01e82bce9e/TvShows/Better Call Saul/Season 2/Better Call Saul - 2x02 - Cobbler.mkv" -s "/srv/86328239-e681-4586-8c7b-bf01e82bce9e/TvShows/Better Call Saul/Season 2/Better Call Saul - 2x02 - Cobbler.en.srt"

Hi, @Rickexe ,
Seemingly you are missing bz2 headers after installing python. Now sure which distro you are running and assuming you are on Ubuntu, try to install the headers with sudo apt-get install -y libbz2-dev.
Subaligner cannot handle whitespace in the file path properly atm so removing/replacing them should make your command work. E.g.,
/srv/86328239-e681-4586-8c7b-bf01e82bce9e/TvShows/Better_Call_Saul/Season_2/Better_Call_Saul_-_2x02_-_Cobbler.mkv
/srv/86328239-e681-4586-8c7b-bf01e82bce9e/TvShows/Better_Call_Saul/Season_2/Better_Call_Saul_-_2x02_-_Cobbler.en.srt

Hi, @Rickexe ,
Seemingly you are missing bz2 headers after installing python. Now sure which distro you are running and assuming you are on Ubuntu, try to install the headers with sudo apt-get install -y libbz2-dev.
Subaligner cannot handle whitespace in the file path properly atm so removing/replacing them should make your command work. E.g.,
/srv/86328239-e681-4586-8c7b-bf01e82bce9e/TvShows/Better_Call_Saul/Season_2/Better_Call_Saul_-_2x02_-_Cobbler.mkv
/srv/86328239-e681-4586-8c7b-bf01e82bce9e/TvShows/Better_Call_Saul/Season_2/Better_Call_Saul_-_2x02_-_Cobbler.en.srt

I already installed the "libbz2-dev" package but I still get the error.

Could you provide the following information?

Operating System
Python Version

I am using Openmediavault which is based on debian and my Python version is 2.7.16.

Subaligner only supports Python 3.6 onwards. Please upgrade your python and try again.

Subaligner only supports Python 3.6 onwards. Please upgrade your python and try again.

I also have python 3.6 installed.

But how do I run it with python 3.6?

You can create a virtual environment using your python 3.6 before installation, as shown in the README screencast:.

Ok I tried that. I get the same error.

Did you rebuild your python after installing libbz2-dev? Apparently, your python 3.6 cannot find the bz2 header either. I would suggest reinstalling a fresh copy of python 3 and see how that goes.

I'll try later. If I uninstall python now everything will break.

Hi, @Rickexe , how is it going with your installation? BTW, the development branch should have understood the whitespace in the file path by now.

Thank you for asking. I haven't done much tbh. My apt is broken on my server and I can't even access the omv admin panel. Only way to recover is reset probably but I'll probably get a new server soon so I don't want to reinstall everything right now. Maybe I'll try it tomorrow on Ubuntu in Windows 10.

It's working! I ran it on a subtitle and it does need some adjustments but it's a lot better than any of the other dozen sub sync project I have tried. Thank you

Glad to know it is working for you and thanks for confirming it now can handle file paths containing whitespace.

I have to say. It is working but the subs aren't aligned correctly. I am using the dual method. Sometimes it's too fast sometimes to slow. I really don't understand why subtitles from subscene, opensubtitles and pretty much every provider are off by so much. Some sentences are like 5 seconds too early. How?

Does the speed vary on aligning different audio/video files or the same file across multiple runs? The majority of running time will be spent on extracting features from audiovisual content and if you have a long video with subtitles containing lots of gaps in between, it won't be very fast. Increasing the number of workers may expedite the process (prepending MAX_WORKERS=X to your subaligner command) but only if you have more cores on your machine.
For QC, if copyright and data protection policy allow, feel free to share your media files and I can have a look at the mis-aligning. I haven't checked the subtitle quality on subscene or opensubtitles so I cannot make any comments about your observation.

No, what I mean is that the subs are out of sync. I ran your script on one of my srt files, that command I posted in this thread and it's working but the subs are still out ot sync.

Hi, @Rickexe, Have you tried the dual mode with the -so or --stretch_off flag? It will switch off some experimental feature which may not be needed for your case. Please let me know if that helps and if not I need to investigate more into your media files before say anything sensical.

Hi, I tried the dual mode with the flag. It's still way out of sync. Like 3 seconds or so. I uploaded the mkv and srt on google drive. Let me know if it works for you.
srt:
https://drive.google.com/file/d/1pyOtt4tZynZLuxmxcM9z8vAsCBe_LWFA/view?usp=sharing
mkv:
https://drive.google.com/file/d/1R-P0_ABRv_xAaXIJ4AQmS-6rTH26We5-/view?usp=sharing

I think your case has made the tool reached its limit. With --debug on, the log shows the final log loss is greater than 0.82 which is too high and indicating the failure. A successful alignment should end up with a log loss between 0.3 and 0.5. You could pass in --max_logloss 0.5 to make the command fail.
Looking closely at the subtitle segments ahead of the theme song kicking in, some of them last very long, e.g., the first one: Subtitle chunk #0: start time: 00:02:06,520 ------> end time: 00:02:49,520. The cue gaps inside that segment are around 300 ms so there are not big enough gaps for subligner to manoeuvre the shift. Nonetheless, the output to me is still better coz some cues did get aligned compared with the totally out-of-sync input. After the theme song finishes, the subtitle is aligned well but looks like the input subtitle have got that part roughly in sync already.

Hi, @Rickexe . Looks like manually splitting the video and the subtitle into two parts and aligning them separately helped but the output is still not perfect. The non-speech content skewed part of the alignment but you can always train your own subaligner  to detect more miscellaneous ambient sound. Given this issue is originally about installation, I am closing it for now. Feel free to open another issue if you have more findings.


Call getSections in update method to invoke from a Misbehave instance

Sometimes, it might be required to call update method from misbehave instance due to any external changes. (for eg, inserting some data via an external button)
Currently, such attempt would fail as content parameter is not present. This can be fixed by looking if content is empty, and if so invoke the getSections method which returns the current status.

Hi, thanks for the detailed reply. Sorry, I totally jumped the gun and edited misbehave.js where I should have edited editable js and done a build 😅
Agree regarding the suggestions and I did consider that, but felt it is bit complicated for a simple functionality and update() without parameters is a non-existing usecase so adding this would not change any functionality.
I'm using a small portion of misbehave for a mini editor, and this change greatly benefitted me, so thought of proposing here. Thanks again for your time and this very nice library!