Enhance Historical Page Layout and User Experience

Related Issue
[Cite any related issue(s) this pull request addresses. If none, simply state “None”]
Fixes:  #4655
Description
This PR introduces several enhancements to the genre Books page to improve the overall user experience and aesthetics.
Improvements Made

Title Bar: Enhanced with a clear title and improved typography.
Icon Integration: Added a unique literature-themed icon for better branding.
Navbar: Redesigned for responsiveness and added hover effects.
Footer: Updated with links, social media icons, and copyright information.
Card Design: Improved layout, high-quality images, and interactive flip effect for book cards.
Responsive Design: Ensured optimal display on various devices using CSS media queries.
Visual Consistency: Established a cohesive color palette and consistent typography.
Accessibility Features: Added descriptive alt text for images and ensured good color contrast.

Type of PR

[ ] Bug fix
[x] Feature enhancement
[x] Documentation update
[ ] Other (specify): _______________

Screenshots / videos (if applicable)
BEFORE:

AFTER:

Checklist:

[x] I have made this change from my own.
[x] I have taken help from some online resources.
[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.
[x] I have tested the changes thoroughly before submitting this pull request.
[x] I have provided relevant issue numbers and screenshots after making the changes.

resolve conflicts @SrijaVuppala295


Support of PyQt5-stubs

PyQt5-stubs make the PyCharm a really productive IDE, but it seems not supported in VS Code yet.
I tried to install PyQt5-stubs and add its path into "python.autoComplete.extraPaths" in settings.json but it does not work, as PyQt5-stubs internal structures are not the same as PyQt5. So in order to support it, extra adaption should be made.

Related #1533

I have no experience working on stubs/autocomplete/vsc plugins but I would like to have autocomplete for PyQt5 in VSC.
Is this something that is difficult to learn/figure out? If it is just copy/paste work I might be able to help.

As far as I'm aware, PyQt5 and such already ship with type stubs; if people aren't seeing them, then I'm not sure what's happening. All that is managed upstream.

Oops, this is the old language server repo; this project is no longer maintained and you should be using Pylance or Jedi at this point in VS Code (or pyright/jedi over lsp elsewhere).

Thank you for the report. This project is no longer active. If you are using the Python language server in VSCode, the language server you are using is Pylance and please the http://github.com/microsoft/pylance-release to report issues.
If you are using Visual Studio, then, please use http://github.com/microsoft/PTVS to report issues.
thank you


Can't read modified NtOpenFile bytes from csgo.exe

How to fix that

Use manualmap brunch instead


feat: make TsJestTransformer become legacy

Summary

This is a preparation to refactor and make a new transformer which uses either esbuild or swc
Test plan

Green CI
Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information
N.A.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

-1 of 18 (94.44%)  changed or added relevant lines in 4 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.03%) to 94.687%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/legacy/index.ts
3
4
75.0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.03%

Covered Lines:
1178

Relevant Lines:
1206

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

17 of 18 (94.44%)  changed or added relevant lines in 4 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.03%) to 94.687%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/legacy/index.ts
3
4
75.0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.03%

Covered Lines:
1178

Relevant Lines:
1206

💛  - Coveralls


Fix a failure where a failing test would hang (fixes Earl Grey tests)

Remove pipe for communication between app and bp
This fixes a bug where if the output of a failed test was too big, then bp would deadlock with the app and think the app was hung. It would essentially turn a test failure into a timeout.
Rather than worry about the corners of properly synchronizing over a named pipe, I just have the app log to a file and wire the parser to read from that file.
This was very apparent when using Earl Grey because the failures include full stack traces and UI hierarchy dumps.
This PR also includes two other small bug fixes:

verbose logging wasn't working (-v) options
The skipTestIdentifiers property in the xctestrun file wasn't being honored.

Could you explain a bit more where is the deadlock from? Not sure why dumping stack trace to a file would help.

Pipes have an internal buffer, if a process writes more data to the pipe than the pipe can hold (and no other process has read from the pipe) the writing process blocks. In theory bp was set up to be reading from the pipe as the app is writing to it. However, the way it was doing it (via availableData) seems to be buggy.
Writing the output to a file essentially lets the app write as much data as it wants without blocking, so it sidesteps carefully coordinating two processes so that they don't deadlock.


Should musculotendon's manage states and inputs of their children (e.g. activation dynamics)

In the current implementation of MusculotendonDeGroote2016 we pass in an instance of FirstOrderActivationDeGroote2016 to the activation_dynamics parameter. The musculotendon model "owns" the activation dynamics model, so I have the state_vars and input_vars properties set up to return the variables associated with both the musculotendon and activation dynamics models. I think this is helpful but it might be unexpected by the user and we be better off requiring them to pull the state and input variables from both the musculotendon model as well as the activation dynamics model separately.

Comment copied from now-closed issue https://github.com/brocksam/sympy-biomechanics/issues/21#issuecomment-1683779949

I haven't explored the Musculotendan design yet, but I currently have imagined an Actuator that either has state or doesn't. The all have inputs and outputs. You called the MusculoTendon an actuator (and it subclasses from one), so I think I would expect to find the state on the actuator.


SpeedDial: Default prop value for "direction" property is wrong

Another PropTypes warning, introduced in v1.5.0.
Forgive me for not filling out the whole form, since this is an extremely straightforward bug. The problem is here:
https://github.com/mui-org/material-ui/blob/master/packages/material-ui-lab/src/SpeedDial/SpeedDial.js#L306
Acceptable values for direction are: ['up', 'down', 'left', 'right'] but the default value is "top".

[x] This is a v1.x issue.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Fixed by #12533


php-mysqli fails to configure with client from mysql57, no mysqlnd option

Issue description
I'm trying to use PHP with MySQL (a pretty standard setup) and experiencing some issues. I apologize in advance if any of this is caused by my setup. In order of importance:

Compilation fails when attempting to compile using the client from mysql57 (mysqlclient_r fails to link - it appears to have been removed as supposedly the main library is now thread-safe). I took a look at the config.m4 for mysqli and it appears that it should only use mysqlclient_r when ZTS is enabled, however the error still occurs when disabling ZTS (config.php.zts = false).
There is no option to use PHP's mysqlnd which would work around the configure issue above. mysqlnd is the driver used by Debian's mysqli package (if that is of interest), and the one I'm currently using, so that would be preferable to me.
When I tried to recompile PHP with the alternative mysql client, the ldap library could not be found.
I can't seem to use MySQL 5.7 (#24400), so at the moment I'm using the client from mysql55 with MariaDB.
I would just change the flags with overrideAttrs, but it's not obvious if this is possible due to the use of composableDerivation as I'm a nix newbie.
mysqli is compiled statically into PHP meaning all of PHP must be recompiled to switch. This is not a huge issue and I don't think there's really any way around it outside of splitting the source package, but it is annoying.

Steps to reproduce
Sample from my custom nix channel I've been working on. This one fails to link to mysqlclient_r (it no longer exists). It also fails without the zts config option. It was also failing to find the ldap library.
{
    php70 = pkgs.php70.override {
         config = { php = { zts = false; }; };
         mysql = pkgs.mysql57;
    };
}

Technical details

System: Ubuntu 16.04.3 LTS, deploying using nixops to NixOS in Virtualbox
Nix version: 1.11.15
Nixpkgs version: 18.03pre117581.9b177399c4
Sandboxing enabled: No

Proposal
I'd like to add an option config.php.mysqlnd which would cause mysql, mysqli, and pdo_mysql to use PHP's native MySQL driver, if they are enabled by their respective options. Personally, I would make it the default option (assuming it works fine with MariaDB), although I'll assume it should be off by default. I will put together a PR prototype if no one has any suggestions/etc.
Alternatively, we could add individual options for each extension, but I don't see that as necessary.

Fixed by 4b6f20c


Bazel Plugin Syn Failed

Description of the issue. Please be specific.

Syncing project: Sync Working Set (full)...
Updating VCS...
Running Bazel info...
Command: C:\Users\Arsofin\Bazel info --tool_tag=ijwb:AndroidStudio --curses=no --color=yes --progress_in_terminal_title=no --host_crosstool_top=@bazel_tools//tools/cpp:toolchain --
Sync finished
Sync failed
Version information
AndroidStudio: 4.2.1
Platform: Windows 10 10.0
Bazel plugin: 2<IP_ADDRESS>.1

We officially do not support Windows (see https://ij.bazel.build/docs/bazel-support.html). Please see/subscribe to #113 for the current state of Windows support and community contributions/forks on the topic


错误

Provide environment information
Retrieving folder contents
Error:
    HTTPSConnectionPool(host='drive.google.com', port=443): Max retries
    exceeded with url:
    /drive/folders/1tKsOU-6FDdstrrKLPYuZ7RpQwtOSHxUD?hl=en (Caused by
    NewConnectionError('<urllib3.connection.HTTPSConnection object at
    0x7fd729d94760>: Failed to establish a new connection: [Errno 110]
    Connection timed out'))

To report issues, please visit https://github.com/wkentaro/gdown/issues.
What OS are you using?
LINUX
Describe the Bug
显示网络错误，无法修改
Expected Behavior
No response
To Reproduce
No response

How to solve it?

How to solve it?

To improve the network environment, please use a proxy in mainland China.


window.showTextDocument Performance Problems

VSCode Version: 1.5.2
OS Version: OSX 10.11.6

Steps to Reproduce:

Show a text document
With that document still in focus, attempt to call showTextDocument with the document object.

window.showTextDocument seems to have performance problems (1-1.5 second promise resolve) when calling it with a document that is already in focus.
Calling showTextDocument on a document that is open but not in focus for one of the editor windows does not show this performance problem.
Edit: Clarification: This seems to be a performance problem specifically for the promise resolving. You can visually see the window come into focus in a reasonable amount of time, but the promise resolving with the editor object is greatly delayed.

Could be due to this

I was looking at this when debugging the problem, however, the vscode debugger for extensions doesn't work perfectly when it starts to dig into the vscode code. One work around I was thinking of that I couldn't find a way to do, is simply check if the file is currently showing in one of the editor windows. However it appears the only related call is the getter for activetexteditor, but this only gives you the active editor for the current window in focus.
Is there a way to get the active editors for all the open windows? I.E can you get the editor that is currently open in the other windows when you have 2 or 3 files open side by side?

I think visibleEditors gives all the ones that are visible. But that one has the problem that it is lacking an event.

It seems checking visibleEditors works around the problem. Thanks for the reference.

This problem affects Dart Code - I was going to try and implement this workaround, but the show method on TextEditor is marked as deprecated:
* @deprecated **This method is deprecated.**
* Use window.showTextDocument instead. This method shows unexpected behavior and will be removed in the next major update.

Is there any other workaround for this that won't break in an upcoming update?

window.showTextDocument seems to have performance problems (1-1.5 second promise resolve) when calling it with a document that is already in focus.

@anthonydresser @DanTup Is opening the same document in the same editor column (basically a no-op) the slow case or when opening the same document in another column?

@jrieken The no-op scenario is slow too. Our code is like this:
vs.workspace.openTextDocument(location.file).then(document => {
	vs.window.showTextDocument(document).then(editor => {
		let range = toRange(location);
		editor.revealRange(range, vs.TextEditorRevealType.InCenterIfOutsideViewport);
		editor.selection = new vs.Selection(range.end, range.start);
	});
});

We open the document then need the editor so that we can jump to the correct place. Even when everything is in one file there's a second delay between this code executing and the selection moving (inside the same file).

Understood. The 1 second might come from here but I was assuming openEditor returns the editor when it's already open...

Actually, this should be easy to fix

Great! Let me know if you'd like me to test with our code once it's in Insiders.

Thanks - should be in insiders on Monday

@jrieken this is working great in Insiders now, it's instant with no delay 👍

Marking as verified as per @DanTup's confirmation


Builds on Mac M1 imposible

Environment details:

Macbook Pro M1 (Apple Silicon)
Idea: 2021.3.2
docker: 20.10.12
jdk: OpenJDK 11.0.14
gralde: using bundled

Steps to reproduce the issue:

check out brand new git copy
./gradlew compileScala
🔥

Provide the actual results and outputs:
FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':core:scheduler:generateProto'.
> Could not resolve all files for configuration ':core:scheduler:protobufToolsLocator_protoc'.
   > Could not find protoc-osx-aarch_64.exe (com.google.protobuf:protoc:3.4.0).
     Searched in the following locations:
         https://repo.maven.apache.org/maven2/com/google/protobuf/protoc/3.4.0/protoc-3.4.0-osx-aarch_64.exe

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/5.5.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 2m 21s

Additional information you deem important:

Tried to use local protoc binary instead using protocCommand=... did not work.
Changed build.gradle (:core:sscheduler) by adding:

protobuf {
    protoc {
        artifact = 'com.google.protobuf:protoc:3.19.4'
    }
}

This causes an already "mitigated" bug  (https://github.com/akka/akka-grpc/issues/786) to reappear, adding a build/akka-grpc-gradle-plugin.lo in the working directory of the gradle daemon fixes that but that does not seem to be a reasonable solution?
Ultimately, the version of grpc:akka-grpc-gradle-plugin should be updated but that looks to require a major update of gralde.

Today, I met this too.
Obviously, this needs to be addressed.
I confirmed newer version of gradle is required to upgrade the akka-grpc-gradle-plugin.
And I feel it would require another significant change on codes along with changes on akka-grpc dependencies families.

I could build OpenWhisk with an ugly workaround.
This is not a good solution and this issue must be addressed, but anyone who suffers from this might take this approach.
Summary
In short, what I did to build OpenWhisk is as follows.
$ export GRADLE_OPTS=-Dorg.gradle.project.buildDir=/tmp/gradle-build
$ ./gradlew distDocker
$ mv /tmp/gradle-build core/scheduler/build
$ unset GRADLE_OPTS
$ ./gradlew distDocker -x :core:scheduler:generateProto

Details
The main issue was the gradle plugin could not properly recognize M1 macs.
So I added the following to the core/scheduler/build.gradle.
https://gist.github.com/style95/ac7bb101c64b1308e7e92830ff0a74c0/revisions#diff-49a96e7eea8a94af862798a45174e6ac43eb4f8b4bd40759b5da63ba31ec3ef7R87
It looks for protoc_platform so I added the following to the ~/.gradle/gradle.properties
protoc_platform=osx-x86_64

This is basically the same thing as what is described in the issue but the protoc version should be 3.4.0.
After then it will complain about the not found log.
* What went wrong:
Execution failed for task ':core:scheduler:generateProto'.
> protoc: stdout: . stderr: Exception in thread "main" java.io.FileNotFoundException: build/akka-grpc-gradle-plugin.log (No such file or directory)
  	at java.io.FileOutputStream.open0(Native Method)
  	at java.io.FileOutputStream.open(FileOutputStream.java:270)
  	at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
  	at java.io.FileOutputStream.<init>(FileOutputStream.java:162)
  	at java.io.PrintWriter.<init>(PrintWriter.java:192)
  	at java.io.PrintWriter.<init>(PrintWriter.java:232)
  	at akka.grpc.gen.FileLogger.<init>(Logging.scala:35)
  	at akka.grpc.gen.Main$.$anonfun$logger$1(Main.scala:48)
  	at scala.Option.map(Option.scala:163)
  	at akka.grpc.gen.Main$.delayedEndpoint$akka$grpc$gen$Main$1(Main.scala:48)
  	at akka.grpc.gen.Main$delayedInit$body.apply(Main.scala:14)
  	at scala.Function0.apply$mcV$sp(Function0.scala:39)
  	at scala.Function0.apply$mcV$sp$(Function0.scala:39)
  	at scala.runtime.AbstractFunction0.apply$mcV$sp(AbstractFunction0.scala:17)
  	at scala.App.$anonfun$main$1$adapted(App.scala:80)
  	at scala.collection.immutable.List.foreach(List.scala:392)
  	at scala.App.main(App.scala:80)
  	at scala.App.main$(App.scala:78)
  	at akka.grpc.gen.Main$.main(Main.scala:14)
  	at akka.grpc.gen.Main.main(Main.scala)
  --akkaGrpc_out: protoc-gen-akkaGrpc: Plugin failed with status code 1.

The plugin sets the log location based on the buildDir of the project.
https://github.com/akka/akka-grpc/blob/df0bd8fd9e545aadc6d0e7543a39bda61eb6a133/gradle-plugin/src/main/groovy/akka/grpc/gradle/AkkaGrpcPlugin.groovy#L66
So I changed its location to somewhere else like below and run ./gradlew distDocker.
$ export GRADLE_OPTS=-Dorg.gradle.project.buildDir=/tmp/gradle-build
$ ./gradlew distDocker

The build itself will still fail because dependency resolution is failed, but it will pass the :core:scheduler:generateProto task.
And the built codes will be placed in /tmp/gradle-build.
So I just move the built results to core/scheduler/build.
After then unset the GRADLE_OPTS and rerun distDocker without the core:scheduler:generateProto task.
$ mv /tmp/gradle-build core/scheduler/build
$ unset GRADLE_OPTS
$ ./gradlew distDocker -x :core:scheduler:generateProto

What I am curious about is I tried setting the buildDir as the core/scheduler/build directly, but it didn't work.
It couldn't find the log file even if there was a log file.
Not quite sure the reason.
Anyway, I hope this helps anyone who tries to build OpenWhisk on M1 Mac until we address this issue.

I built successfully with the modification @tawalaya did. Instead of giving another version of protobuf, I just used x86-64 artifact.
So, in core/scheduler/build.gradle
protobuf {
  protoc {
    artifact = 'com.google.protobuf:protoc:3.4.0:osx-x86_64'
  }
}


"Bucium" is listed in the drop-down menu

Description:
When user writes "Bucium" the location appears in the drop-down menu next to the comune and the county witch is a part according to the law
Precondition:
The website is up an running.

Step 1
Write in the search bar "Bucium"

Expected results
The location appears in the drop-down menu as "Bucium, Alba"


Searchkick::ImportError: IllegalArgumentException[Document contains at least one immense term in field="overview" (whose UTF8 encoding is longer than the max length 32766), all of which were skipped.  Please correct the analyzer to not produce such terms.

View details in Rollbar: https://rollbar.com/trystant/BOW/items/523/

Searchkick::ImportError: IllegalArgumentException[Document contains at least one immense term in field="overview" (whose UTF8 encoding is longer than the max length 32766), all of which were skipped.  Please correct the analyzer to not produce such terms.  The prefix of the first immense term is: '[60, 112, 62, 60, 105, 109, 103, 32, 97, 108, 116, 61, 34, 34, 32, 115, 114, 99, 61, 34, 100, 97, 116, 97, 58, 105, 109, 97, 103, 101]...', original message: bytes can be at most 32766 in length; got 208713]; nested: MaxBytesLengthExceededException[bytes can be at most 32766 in length; got 208713];
  File "/app/vendor/bundle/ruby/2.3.0/gems/searchkick-1.2.1/lib/searchkick.rb", line 107, in perform_items
  File "/app/vendor/bundle/ruby/2.3.0/gems/searchkick-1.2.1/lib/searchkick/logging.rb", line 82, in perform_items
  File "/app/vendor/bundle/ruby/2.3.0/gems/searchkick-1.2.1/lib/searchkick.rb", line 98, in perform_bulk
  File "/app/vendor/bundle/ruby/2.3.0/gems/searchkick-1.2.1/lib/searchkick.rb", line 91, in queue_items
  File "/app/vendor/bundle/ruby/2.3.0/gems/searchkick-1.2.1/lib/searchkick/index.rb", line 60, in bulk_index
  File "/app/vendor/bundle/ruby/2.3.0/gems/searchkick-1.2.1/lib/searchkick/index.rb", line 48, in store
  File "/app/vendor/bundle/ruby/2.3.0/gems/searchkick-1.2.1/lib/searchkick/logging.rb", line 28, in block in store
  File "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/notifications.rb", line 164, in block in instrument
  File "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/notifications/instrumenter.rb", line 20, in instrument
  File "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/notifications.rb", line 164, in instrument
  File "/app/vendor/bundle/ruby/2.3.0/gems/searchkick-1.2.1/lib/searchkick/logging.rb", line 27, in store
  File "/app/vendor/bundle/ruby/2.3.0/gems/searchkick-1.2.1/lib/searchkick/index.rb", line 90, in reindex_record
  File "/app/vendor/bundle/ruby/2.3.0/gems/searchkick-1.2.1/lib/searchkick/model.rb", line 82, in reindex
  File "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb", line 432, in block in make_lambda
  File "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb", line 253, in block in conditional
  File "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb", line 506, in block in call
  File "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb", line 506, in each
  File "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb", line 506, in call
  File "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb", line 92, in __run_callbacks__
  File "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb", line 778, in _run_commit_callbacks
  File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.6/lib/active_record/transactions.rb", line 314, in committed!
  File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.6/lib/active_record/connection_adapters/abstract/transaction.rb", line 89, in commit_records
  File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.6/lib/active_record/connection_adapters/abstract/transaction.rb", line 153, in commit
  File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.6/lib/active_record/connection_adapters/abstract/transaction.rb", line 175, in commit_transaction
  File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.6/lib/active_record/connection_adapters/abstract/transaction.rb", line 194, in within_new_transaction
  File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.6/lib/active_record/connection_adapters/abstract/database_statements.rb", line 213, in transaction
  File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.6/lib/active_record/transactions.rb", line 220, in transaction
  File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.6/lib/active_record/transactions.rb", line 348, in with_transaction_returning_status
  File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.6/lib/active_record/transactions.rb", line 286, in block in save
  File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.6/lib/active_record/transactions.rb", line 301, in rollback_active_record_state!
  File "/app/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.6/lib/active_record/transactions.rb", line 285, in save
  File "/app/app/controllers/articles_controller.rb", line 37, in create
  File "/app/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.6/lib/action_controller/metal/implicit_render.rb", line 4, in send_action
  File "/app/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.6/lib/abstract_controller/base.rb", line 198, in process_action
  File "/app/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.6/lib/action_controller/metal/rendering.rb", line 10, in process_action
  File "/app/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.6/lib/abstract_controller/callbacks.rb", line 20, in block in process_action
  File "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb", line 117, in call
  File "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb", line 555, in block (2 levels) in compile
  File "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb", line 505, in call
  File "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb", line 92, in __run_callbacks__
  File "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb", line 778, in _run_process_action_callbacks
  File "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb", line 81, in run_callbacks
  File "/app/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.6/lib/abstract_controller/callbacks.rb", line 19, in process_action
  File "/app/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.6/lib/action_controller/metal/rescue.rb", line 29, in process_action
  File "/app/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.6/lib/action_controller/metal/instrumentation.rb", line 32, in block in process_action
  File "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/notifications.rb", line 164, in block in instrument
  File "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/notifications/instrumenter.rb", line 20, in instrument
  File "/app/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.6/lib/active_support/notifications.rb", line 164, in instrument
  File "/app/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.6/lib/action_controller/metal/instrumentation.rb", line 30, in process_action
  File "/app/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.6/lib/action_controller/metal/params

This is a copy of #696 and #697


Cannot find scripts/export_ply.py

Dear author,
In readme, scripts/export_ply.py is mentioned to output the ply file. But I cannot find it.
Could you help me with it?
Many thanks!

That's due to the version problem. I will close this issue.


Add exec support to client

This also fixes a deadlock in the shim's reaper where execs would lockup
and/or miss a quick exiting exec process's exit status.
Closes #932
Fixes #869
Signed-off-by: Michael Crosby<EMAIL_ADDRESS>

Codecov Report

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

@@           Coverage Diff           @@
##           master     #940   +/-   ##
=======================================
  Coverage   59.55%   59.55%
=======================================
  Files           5        5
  Lines         759      759
=======================================
  Hits          452      452
  Misses        199      199
  Partials      108      108

Continue to review full report at Codecov.

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

@dmcgowan @stevvooe updated

LGTM

LGTM


Issue 661

@homu r+

:pushpin: Commit 4474284 has been approved by kbknapp

:hourglass: Testing commit 4474284 with merge ecc6d89...

:sunny: Test successful - status


S3 Issue

Currently getting this issue, have you seen this before? It only shows on child folders, root uploading works fine.
    "message": "Found 1 error while validating the input provided for the GetObject operation:\n[Key] expected string length to be >= 1, but found string length of 0",
    "exception": "InvalidArgumentException",
    "file": "/var/www/vendor/aws/aws-sdk-php/src/Api/Validator.php",
    "line": 65,

I am also experiencing this issue.

Hello @firescript. Maybe is a AWS api error. Any backtrace?  Although I'm not sure this would fix it for others.
Previously before I updated to nova 2 and from Laravel 5.7 -> 5.8 I didn't have the 'url' set for my S3 filesystem in the config/filesystems.php. (It wasn't previously needed - I assume it was only needed for buckets with a custom url)
's3' => [
'driver' => 's3',
'key' => env('AWS_ACCESS_KEY_ID'),
'secret' => env('AWS_SECRET_ACCESS_KEY'),
'region' => env('AWS_DEFAULT_REGION'),
'bucket' => env('AWS_BUCKET'),
'url' => env('AWS_URL'),
]
Now I set it in my .env file and cleared the config cache and its working with no error when accessing folders with files in them.
I set it to https://BUCKET_NAME.REGION.amazonaws.com
Hope this helps!

That was the issue for me as well @htownson thanks so much!


Small grammar change

Here is the original sentence.
The connections from the apiserver to the kubelet are used for fetching logs for pods,
attaching (through kubectl) to running pods, and using the kubelet's  port-forwarding functionality.

If it is broken down,
The connections from the apiserver to the kubelet are used for
  a) fetching logs for pods
  b) attaching (through kubectl) to running pods,
  c) using the kubelet's  port-forwarding functionality

but actually, this sounds better
The connections from the apiserver to the kubelet are used for
  a) fetching logs for pods
  b) attaching (through kubectl) to running pods
  c) the kubelet's  port-forwarding functionality

This change is

@dhilipkumars I think the latter broken down version looks good. Feel free to change it to that.

@chenopis Thanks, Done.


Click to create a ROI over an activable curve is inhibited

Tested on Flint.
That's maybe not the case in a bare silx.
It would be nice to fix this behaviour.

Easy to reproduce with silx by adding a curve to the plotInteractiveImageROI.py example.
An easy fix is to use 'draw' interaction mode instead of 'select-draw' for the ROIs here:
https://github.com/silx-kit/silx/blob/392ab6438e81d9913df57db4a073e0e8204abd29/src/silx/gui/plot/tools/roi.py#L876
Another option is to change the way selectable items are handled with the 'select-draw' interaction (and so when editing ROIs) so selectable items don't always take the focus but only before a drag starts: clicking on the item would select it while starting a drag would trigger the draw operation. I'd keep draggable items taking the focus as now.

If select-draw is supposed to select or draw something, i think it is fine to switch it to draw.
I don't see how it could be problematic for ROIs.
Maybe select-draw do not have any real use case?


Exercises are too hard too use

From what I understand the exercises fetch only the test file and the readme and are missing the module file.
For beginners, it's very confusing how to write the code to solve the challenge.
Please include more files/instructions for beginners who don't necessarily know what a module is.

Dupe of #76 Please see that one.


Reorder env setup sections for all distros

Applying the changes from this PR https://github.com/ros2/ros2_documentation/pull/450 to all distros (last time was just Eloquent).
Also, noticed some of the "Try some examples" sections said
ros2 run demo_nodes_cpp talker
ros2 run demo_nodes_py listener

So I changed the _py ones to _cpp
Signed-off-by: maryaB-osr<EMAIL_ADDRESS>

ros2 run demo_nodes_cpp talker
ros2 run demo_nodes_py listener

I think this was intentional; basically to show that both the C++ and Python APIs were working properly.

@clalancette In that case do you think every page should show that? Previously it was just a couple pages and the rest had both instructions as cpp.


[bug]: starting web server fails with KeyError on metadata

Is there an existing issue for this?

[X] I have searched the existing issues

OS
Linux
GPU
cuda
What version did you experience this issue on?
3ae996ebcbc2d4267aa47cda6d854177bbb3cdb7
What happened?
Ran invokeai-node-web and it failed with:

File "InvokeAI/invokeai/backend/model_management/model_manager.py", line 261, in __init__
self.config_meta = ConfigMeta(**config.pop("__metadata__"))
omegaconf.errors.ConfigKeyError: Key not found: '__metadata__'

Additional context
presumably this is because my models.yaml is out-of-date?
Searching for __metadata__ turned up a result in migrate_models_to_3.0, but I failed to find that imported anywhere and it didn't get installed as a script in my PATH, so not sure when that's supposed to be executed.

how did you get that back to work?


[Next] Rest Api syntax

Hi,
I've tried all of the possible variations found here but none seems to work:
[domain]/cockpit/api/collections/get/[collection]?token=[token]
this returns Path not found.
[domain]/cockpit/rest/api/collections/get/[collection]?token=[token]
This returns 404
To exclude any permission issue I've temporarily set folder and files to 777
$_SERVER['DOCUMENT_ROOT'] exists and is set to the domain folder (not /cockpit/).
Ubuntu 14.04 on Digital Ocean
Nginx
Cockpit Next
php5.5.9-1ubuntu4.21
php-fpm

Hi Yumyo
Using the docker image it's /api/collections/get/collection?token=account-token
Be aware that the collection name is case sensitive and that it will return "Path not found" if the token is invalid.


Line Chart Selection Filter on Predictive Line Activation Does Not Work

Describe the bug
Line Chart Selection Filter on Predictive Line Activation Does Not Work
To Reproduce
Steps to reproduce the behavior:

Create Line Chart with predictive analysis function
Create Pie Chart
Click Pie chart segment for selection filter
Selection filter does not affect to Line chart

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots

Before

After selection

Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

duplicated


Handle better when transaction is already in pool

I was trying to buy

https://canary.kodadot.xyz/ksm/gallery/16013104-7092505797a30ccf48-NEON BABES-NEON_BABE_RARE_47-00000047

Yet it stuck at casting tx and I got this when I've tried to buy it again, no errors in console

#5458

ook, seems it's Dwellir doesnt finalize, probably remove it from Settings please

where
https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Fkusama.api.onfinality.io%2Fpublic-ws#/explorer
has


Placeholder was hide by zero also when v-model variable has null

I have simple input like: <number-input v-model="props.item.price" placeholder="Price by kilometer" :min="0" :step="0.01"></number-input>
And it's look like:

Only first element has value, others are null.
My question is: Where is my placeholder :cry:

ok, i have some bypass

The given value should be a number (typeof value === 'number').


Fails with error with "mark" and "remove"

It's working fine (and giving seemingly correct results) with "display-unused". However, when I run "mark-unused" or "remove-unused", I get an error like so:
 Successfully marked: /Users/carl/GitHub/opensupply/client/packages/common/src/intl/locales/ar/app.json
(node:18673) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'admin' of undefined
    at /Users/carl/GitHub/opensupply/client/node_modules/i18n-unused/dist/i18n-unused.cjs:469:51
    at /Users/carl/GitHub/opensupply/client/node_modules/i18n-unused/dist/i18n-unused.cjs:384:7
    at Array.reduce (<anonymous>)
    at applyToFlatKey (/Users/carl/GitHub/opensupply/client/node_modules/i18n-unused/dist/i18n-unused.cjs:382:16)
    at /Users/carl/GitHub/opensupply/client/node_modules/i18n-unused/dist/i18n-unused.cjs:468:37
    at Array.forEach (<anonymous>)
    at /Users/carl/GitHub/opensupply/client/node_modules/i18n-unused/dist/i18n-unused.cjs:468:22
    at Array.forEach (<anonymous>)
    at markUnusedTranslations (/Users/carl/GitHub/opensupply/client/node_modules/i18n-unused/dist/i18n-unused.cjs:465:35)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:18673) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:18673) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

It deals with the first file (app.json) fine, but then gets no further.
Any ideas?

Hi. Can u attach part of app.json and your i18n-unused.config.js? it hard to  say, where the problem by stack trace.

i18n-unused-test.zip
Thanks. This .zip contains:

i18n-unused.config.js
app.json (which seems to be the only file that is behaving correctly)
common.json (which I think is the next file analysed which throws the error)

You can clone our repo if you'd like to see more detail: https://github.com/openmsupply/openmsupply-client
Many thanks. :)

Ok, I'll take a look this week.

I looked at your code. U have errors, because u use wrong deep translations. For example in distribution.json u use "label.group-by-item": "Group by Item", instead of object structure for t('label.group-by-item'). So, when my lib builds the structure t('label.group-by-item') back, it expands into an object, not a string, e.g.:
// wrong
{
  ...
  "label.group-by-item": "Group by Item",
  ...
}

// change to
{
  ...
  "label": {
    "group-by-item": "Group by Item"
  }
  ...
}

If I helped solve your problem, please, close an issue. Also will be glad for star =)

@CarlosNZ, have u any updates?

@CarlosNZ, do you have any updates?

Okay thanks, I'll take a closer look tomorrow and close the issue.

Hi, it seems like "flat" nested keys should be acceptable in i18n JSON files: https://www.codeandweb.com/babeledit/documentation/file-formats#flat-json
And indeed we are using t('label.group-by-item')-style using the https://www.i18next.com/ package throughout our app with no problems.

Ok, I see your point. I did a little research on this topic. I think it's possible to make implementation for flat json in next minor version at this week.

Excellent, thank you :)

Hi. Thx for waiting =) U can try new 0.8.0 version. Now available option flatTranslations , boolean, switch locale builder to flat json mode.

Thanks @mxmvshnvsk ,
it's working better now (gets further), but it's still throwing an error at a certain point when running mark:
Successfully marked: /Users/carl/GitHub/openmsupply/client/packages/common/src/intl/locales/ar/app.json
 Successfully marked: /Users/carl/GitHub/openmsupply/client/packages/common/src/intl/locales/ar/common.json
 Successfully marked: /Users/carl/GitHub/openmsupply/client/packages/common/src/intl/locales/ar/replenishment.json
 Successfully marked: /Users/carl/GitHub/openmsupply/client/packages/common/src/intl/locales/en/app.json
(node:63505) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'default-sell-price' of undefined
    at applyToFlatKey.flatTranslations (/Users/carl/GitHub/openmsupply/client/node_modules/i18n-unused/dist/i18n-unused.cjs:485:51)
    at /Users/carl/GitHub/openmsupply/client/node_modules/i18n-unused/dist/i18n-unused.cjs:395:7
    at Array.reduce (<anonymous>)
    at applyToFlatKey (/Users/carl/GitHub/openmsupply/client/node_modules/i18n-unused/dist/i18n-unused.cjs:393:16)
    at /Users/carl/GitHub/openmsupply/client/node_modules/i18n-unused/dist/i18n-unused.cjs:484:37
    at Array.forEach (<anonymous>)
    at /Users/carl/GitHub/openmsupply/client/node_modules/i18n-unused/dist/i18n-unused.cjs:484:22
    at Array.forEach (<anonymous>)
    at markUnusedTranslations (/Users/carl/GitHub/openmsupply/client/node_modules/i18n-unused/dist/i18n-unused.cjs:481:35)

Oddly, there doesn't seem to be anything unique about  "label.default-sell-price": "Default sell price", -- it's just one of several label. entries in that file.

Weird, I tried it on a different machine with a freshly-cloned repo and I'm still getting the same error.
Running on macOS 12.3.
I cloned this repo and ran the your tests and got similar errors:

The current tests do not cover the codebase. I'll deal with this issue later. I'll try run clean installation on another machine later. I tried run in debug mode at this point on my dev machine. Everything ok. Did u try run debug or log on your current environment?

The current tests do not cover the codebase. I'll deal with this issue later. I'll try run clean installation on another machine later.

@CarlosNZ, I think I found the problem =) I looked at your update commit, you update package version, but not turn on flat json option in config, please, add follow option (it's in nested mode by default):
flatTranslations: true

@CarlosNZ, I think I found the problem =) I looked at your update commit, you update package version, but not turn on flat json option in config, please, add follow option (it's in nested mode by default):

Ah right, yes, my bad -- I didn't realise we needed to manually add that config option. Working well now, thank you :)
I'll close this issue now, but I just wanted to point out one tiny little thing you might want to address at some point: When running mark or remove your script removes a final line break in each file (even when there's nothing changed), which is different to how our auto-formatter (Prettier) does it (adds a final line break). So any file that we've manually saved shows up in the git diff after running this script, even if nothing has actually changed.

Thx, I made note about line break.


new interactions for when you attempt to import layers

Take a look at the protype > modal-import.html and modal-import-fileshow.html
When you drag an item over the block add an .active class to the .drag-to-area div to reveal the dashed line.
The icon is replaced with a <div class="list-group">... when you drag and drop files.
New files in the .list-group should have a class added to them called .newest-import. A css animation should handle the rest.

Let me know if you have questions

I've incorporated this new design into #72, so I'm closing this PR.


Prepare a refined Arabidopsis proteome

The next goal will be to prepare a refined Arabidopsis proteome that we can publish. The current state is very messy. Araport11 is the latest reference, but it has lots of extra entries and is also missing entries. We will aim to fix that as best we can.
So we need a program that can do the following, and probably be extended a bit more with some additional operations.

Read Araport11 to start a "master reference proteome" for Arabidopsis

Programmatically start applying the following set of operations to improve it and finish by writing out a new proteome

Remove all entries with suffix .2 or higher that are identical is sequence to their xxxxxx.1 version

Using the Excel file (Arabidopsis_plastid_and Mito-encoded annotated proteins4.xls) in the Google Drive folder
https://drive.google.com/drive/u/0/folders/1WQ2RwsGl0I8KNCv2azdaQUMj-cdOJ8ad
delete any ATMG entries that aren't found in column A of the spreadsheet (mitochondria tab) that don't have a value in column B (i.e. discard the genes not in the white rows)
and delete any ATCG entries not found in column B of the spreadsheet (plastid tab)

Read TAIR10

Find all cases where TAIR10_xxxxxxx.1 has a xxxxxxxx.n match in Araport11 and insert the "Symbols: ... |" string in the description from TAIR10 into the new reference (started from Araport11)

Add a blank "Symbols:  |" into all other entries with no match from TAIR10

Write it out

There will likely be some additional improvements

okay, after discussion with collaborators, please use this list for ATMGs to keep:
ATMG01190
ATMG00640
ATMG00410
ATMG01170
ATMG00480
ATMG01080
ATMG00960
ATMG00110
ATMG00900
ATMG00830
ATMG00180
ATMG00220
ATMG01360
ATMG00160
ATMG00730
ATMG00520
ATMG00516
ATMG00285
ATMG00990
ATMG00580
ATMG00650
ATMG00060
ATMG00270
ATMG00510
ATMG00070
ATMG01000
ATMG00690
ATMG00075
ATMG01430
ATMG01420
ATMG00570
ATMG00560
ATMG00080
ATMG00210
ATMG00980
ATMG00090
ATMG00290
ATMG01270

After discussion with collaborators, please use this for ATCGs to keep:
ATCG00500.1
ATCG00120.1
ATCG00480.1
ATCG00470.1
ATCG00130.1
ATCG00140.1
ATCG00150.1
ATCG00670.1
ATCG00040.1
ATCG01090.1
ATCG00420.1
ATCG00430.1
ATCG01100.1
ATCG00890.1
ATCG00440.1
ATCG01050.1
ATCG01070.1
ATCG01010.1
ATCG01080.1
ATCG01110.1
ATCG00540.1
ATCG00720.1
ATCG00730.1
ATCG00600.1
ATCG00590.1
ATCG00210.1
ATCG00350.1
ATCG00340.1
ATCG01060.1
ATCG00510.1
ATCG00630.1
ATCG00020.1
ATCG00680.1
ATCG00280.1
ATCG00270.1
ATCG00580.1
ATCG00570.1
ATCG00710.1
ATCG00080.1
ATCG00550.1
ATCG00070.1
ATCG00560.1
ATCG00220.1
ATCG00700.1
ATCG00690.1
ATCG00490.1
ATCG00780.1
ATCG00790.1
ATCG00660.1
ATCG00830.1
ATCG00810.1
ATCG00840.1
ATCG01020.1
ATCG00640.1
ATCG00760.1
ATCG00740.1
ATCG00190.1
ATCG00180.1
ATCG00170.1
ATCG00750.1
ATCG00065.1
ATCG00330.1
ATCG01120.1
ATCG00050.1
ATCG00650.1
ATCG00820.1
ATCG00160.1
ATCG00800.1
ATCG00380.1
ATCG00900.1
ATCG00770.1
ATCG00530.1
ATCG01130.1
ATCG00870.1
ATCG00860.1
ATCG00360.1
ATCG00520.1
ATCG01040.1
ATCG00300.1
These two new lists supercede the previous lists you were using.


Backgammon narrative

Changes to use Backgammon standard narrative formats for human readable notation, as follows:

Always show the numbering going from Bar->24->0->Off, irrespective of which player is moving.
Show the start position followed by end position, instead of start position, number of moves. E.g. 24/22 10/8
Show hits with an asterisk, e.g. 9/7*.
Order the moves by highest number first, e.g. 22/7 10/8 not 10/8 22/7. Not an official requirement, but seems to be standard convention.
Show duplicate moves as 10/8(2) instead of 10/8 10/8.
Show moves on a single piece as 10/8/5 not 10/8 8/5

Also introduced tests to check for the above scenarios.
Files changed - backgammon.cc, backgammon_test.cc and backgammon.txt (for the playthrough tests)

Hi @jamesdfrost , this sounds great from the description. Unfortunately, though, the PR seems to have similiar issues that you were having in the other one. It's showing 6 commits, including windows.md. I'd like to keep the PRs separate so that the diffs represent only the changes that were made.
I think this is because you're probably re-using the same original branch you made for that first PR (or the new branch has the same commits.) For now, rather than figuring out how to do the branching properly on the same repos, could you try entirely from scratch: for each PR, re-clone the repos (to a different directly), create the PR, and switch to that branch only in that directory. Then copy over the backgammon.cc and backgammon_test.cc that you have and create just the one commit on that branch.
This way you could have several different branches checked out and not interacting with each other (because of them is cloned to a different directory)


Remove result initcontainer

This will remove the initcontainer which is
added for making the results folder writables
If it is rn as non-root then this init-containers
errors out on every run as the chmod command is
not allowed to execute
Further there is no need to make the empty-dir
volume writable
Currently tektoncd/pipeline fails on environment
where pod is run as non-root
This will fix that
Fix #2172
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:

[ ] Includes tests (if functionality changed/added)
[ ] Includes docs (if user facing)
[ ] Commit messages follow commit message best practices

See the contribution guide for more details.
Double check this list of stuff that's easy to miss:

If you are adding a new binary/image to the cmd dir, please update
the release Task to build and release this image.

Reviewer Notes
If API changes are included, additive changes must be approved by at least two OWNERS and backwards incompatible changes must be approved by more than 50% of the OWNERS, and they must first be added in a backwards compatible way.
Release Notes
Remove the bug which is making the pipeline fail on pod run as non-root

/lgtm


Add configuration parameters for operator-created services

After https://github.com/kedacore/http-add-on/pull/78#pullrequestreview-615892955, the operator will create the interceptor and external scaler, but not target application resources.
Use-Case
As part of that PR, the operator will create the Service that routes to the interceptor, and users will need to point traffic to that service. Since the Service is part of the critical request path and it's where users will primarily interact with the system, it would be nice to be able to customize it.
Specification

[ ] Users should be able to say at least the type of the Service (i.e. LoadBalancer, ClusterIP)

Taking this one

As of this writing, we have namespace-wide components, which we do plan to modify in #269, and the operator will never create application-related resource, which we do not plan to change. We'll track the work related to the former design in #269. Closing this


the paper

@lquirosd hi,
did you upload the pdf of the paper

Hi,
The article has not yet been published by the publisher. I hope it will be public in the following weeks.

Thanks.


Added Java Se Development Kit 21

Please make pull requests against the labels folder and not the Installomator.sh script itself. See guidance here: https://github.com/Installomator/Installomator/wiki/Contributing-to-Installomator


Mynetworks value in init.pp is not applied

Affected Puppet, Ruby, OS and module versions/distributions

Puppet: 7.26.0
Ruby: 2.7.0
Distribution: AlmaLinux release 8.8
Module version: 4.3.0

How to reproduce (e.g Puppet code you use)
Simply try to use in your manifest
class { 'postfix':
    mynetworks     => '<IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>/24',
}

What are you seeing
The mynetworks value is not set in /etc/postfix/main.cf
What behaviour did you expect instead
That the mynetworks value would be set in /etc/postfix/main.cf
I achieved the result via file_lineas follows:
file_line { 'postfix main.cf mynetworks since augeas in the postfix class does not work':
    ensure => 'present',
    path   => '/etc/postfix/main.cf',
    after  => '#mynetworks = hash:/etc/postfix/network_table',
    line   => "mynetworks = <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>/24",
}

Output log
Any additional information you'd like to impart
Maybe mynetworks shouldn't be set via init.pp , but then why is the attribute there? How can I set the networks?

Did you enable either mta or satellite in class { 'postfix': ?
One of these must be set to true (both are false by default) for any actual setup to take place.

No I didn't, thank you (and sorry for the late answer).
In the meantime I found a workaround with configs => { mynetworks => { value => 'networks_here' }} but apparently is the lesser way.


[feature] Add possible to change default title on Modal

What problem does this new feature solve?
Introducing the ability to dynamically change the default title in our modal component heralds customization and an improved user experience. By giving users the freedom to tailor the name to their specific needs, we open up a range of personalization and branding opportunities within our app.
Describe the solution you'd like

related: https://github.com/orgs/WalletConnect/discussions/4246


ES6 bug

So I'm not sure if this is on istanbul or nyc or someone else but figured I'd start here!
This code will produce uncovered lines as it is detected as a comment:
if (foo === `/**`) {
  console.log('i am not covered?')
}

It seems like this has something to do with coverage not detecting backticks as a string

@jescalan Can your provide more details? What test runner? How do you have it set up?

Running tests with ava, set up without any sort of transpiling, running on node6 😁

Is your code sample in a source file or AVA test file? I'm guessing the former.
If it is a source file and there is no transpiling happening, then this is almost certainly an istanbul issue. We only manipulate the coverage data if there is an inlined source-map (which there wouldn't be without transpiling).

Yes, it's a source file. Ok so should I open this issue in istanbul then? Is the project still actively maintained?

@jamestalmage my kingdom for a native ES6 plugin for nyc.
@jescalan open an issue on Istanbul; It's still relatively active, I'm also of the opinion that the nyc folks should start pitching in on it more 👍


Artist name is added next to the song's name conditionally

I'm using like this hope you like it too.

I wrote a https://github.com/DevInsideYou/SpotifyWeb/pull/2#issuecomment-470938741 on the previous PR which you closed. Mentioning it here in case you missed it.


Rudimentary Bazel Download Retry Logic

I get exceptions on downloading Bazel via Bazelisk quite often and I was surprised to see no retry logic implemented for the download, so I quickly slapped together something basic. Hopefully this'll get the ball rolling on a proper solution.
My initial thought was to use something like tenacity to wrap the download function, but didn't see an easy way of adding a Python dependency to Bazelisk.
There's also the approach of using the native retry handler with urllib, but I'm not sure if that'll work with Python2.

@akshaysngupta @maintainers I went ahead and reexamined this one and saw that one of the tests timed out. I pushed an empty commit to retrigger the job and the test successfully passed after that. Should be ready to be merged in if someone could take a look at it.

Should at least help to mitigate #432.

How do we get owner attention on this PR?

@meisterT this is a priority for some of my users who are running into CI flakiness due to Bazel download failures. Who can look at this?

Let me figure out who can do that. Note that this seems to touch the python version which is lacking behind in features - out of curiosity: why are you not using the golang version?

Sorry for delay, but also curious about @meisterT 's question, are you sure the Python version is what you use?

In the event we don't hear back from the original author after 2y, I think we would only fix this in the Go implementation. And should probably have a plan to remove the Python implementation or at least mark it obsolete

Let me figure out who can do that. Note that this seems to touch the python version which is lacking behind in features - out of curiosity: why are you not using the golang version?

Honestly I'm not sure. We were encountering download failures in our CI with Bazelisk and I probably searched for the given error message which lead me to the Python implementation. What's the difference between the two implementations, and why are there two? Is the Golang implementation newer / preferred? If it helps I checked our version of bazelisk in our environment and we're on v1.17.0.

@celestialorb Yes, the golang version if preferred and I suspect you are already using it since we don't actually have release for the python version. Please check.
@alexeagle I agree there should be only one version. But currently there are at least three?
bazelisk.go
bazelisk.js
bazelisk.py

I have no idea how the js and py version are used. /cc @fweikert

The unofficial policy has been to accept community contributions to the Python version, but we (Bazel team) release new features for the Go version only. The JS version seems to be stale and should be removed.
There's quite a backlog of PRs in general due to a lack of time. I hope this is something we can work through this month.


Updated SSO docs

Updated SSO Docs

Thanks @jerae-duffin. Could you also clarify the note about managing users through the IdP account and that owners don't have to manually add users through the Invite tab when SSO is enabled?

Thanks! @usha-mandya Updated the note with new message

Close PR. Merging changes to ENGDOCS-607

Sure. Sounds good.


share trailers through matval

motivation
close #302
share trailers through matval
how

remove usage of val trailerPromise = Promise[Metadata]()
use pekko metadata instead of grpc-java metadata
will throw class GrpcServiceException(val status: Status, val metadata: Metadata)   extends StatusRuntimeException(status, metadata.raw.orNull)  instead of StatusRuntimeException (grpc-java)

If this works, why not remove the FIXME comment?

It seems that you missed the deletion of FIXME comment.

you mean it in title and description? I have removed it.

you mean it in title and description? I have removed it.

In the code mentioned in your ISSUE
https://github.com/apache/pekko-grpc/blob/83bdd04b1eb81c84153debab4a0945a6d52cc345/runtime/src/main/scala/org/apache/pekko/grpc/internal/PekkoNettyGrpcClientGraphStage.scala#L169-L176


Stash.apply: Fix a typo in arguments to normalizeOptions

I tried to use nodegit.Stash.apply and it crashed... Looks like NodeGit.CheckoutOptions wasn't capitalized like it should've been.

Thanks for the fix @tylerchurch


Sound from DAC has low frequency undertone

On scope, seeing 5mSec pauses in IO activity repeating at a rate that matches the screen refresh/VGD-render frequency.
Validated by reducing screen refresh/VDG-render frequency, which reduces the appearance frequency of the 5mSec pauses.
Screen refresh/VDG-render timed at 20uSec, so not clear why 5mSec pause - is it OS related?
Other long sporadic pauses possibly caused by the OS(?)
Maybe fix when moving to RPi bare-metal?

Observed screen refresh/VDG-render timed at 20uSec is incorrect due to a bug that toggles the test point. Test point toggle bug corrected in vdg.c in commit #097adcd and correct observed timing is documented in README.md under vdg_render() performance improvements.
CPU execution has a periodic gap of 2.75 to 3.3 mili-seconds at the frame buffer refresh rate of 50Hz. This gap halts DAC updates by the CPU and the no-sound period to the distorted audio.


Updating dependencies tokio and reqwest

What kind of change does this PR introduce?
Dependency update
What is the current behavior?
Not compatible with current tokio runtimes.
What is the new behavior?
Unchanged.  All tests passed locally.
Additional context
None

@kiwicopple If you need help maintaining this repo I'd be happy to help.  I have a few other changes I'm working on and I'd like to update the README with SupaBase specific instructions.

I think that would be useful @gatewaynode. Can you please send me an email (copple at supabase)?
Bobbie is coming back to work full-time soon, and so he can help coordinate the maintenance too 👍

Sorry this took a while 🙏, I'll merge this and the other PR and make a release later.


fix: record skipped and error test results

Summary
The unittest adapter was reporting skipped and errored tests as succeeded
Not reporting errors was a matter of simply not catching the addError as a distinct state from addFailure
Not reporting skipped tests was because the previous logic set all test results to PASSED and then afterwards merged them with the reported results. The merge logic only updates the status if the new value is "greater than" the old value, but SKIPPED has a lower value than PASSED, so it can never be set.
Given that all tests are going to be run, it doesn't seem necessary to set all the results to PASSED in the beginning, so I've removed that plus the merge logic. If there's a good reason for it to remain, I can rework the PR to fix the merge instead of removing it.
Test Plan

git clone https://github.com/stevearc/overseer-test-frameworks
cd overseer-test-frameworks/python/unittest
nvim tests/test_file.py
:lua require('neotest').run.run(vim.api.nvim_buf_get_name(0))

Observe that the skipped test and the error test are properly reported
before:

after:

LGTM, the unittest part of the code was done once and then unused by me so definitely has some weirdness to it. Thanks for the fix!


[question] Token Endpoint responses with 'success' even when client-secret is wrong

Hitting the Token-Endpoint with incorrect client-secret value returns HTTP Status 200 OK, with an error.

Is that expected? Should not this return another response code (failure) and return the error in the JSON response as defined here?
Example from Microsoft's implementation.

@amoraitis Casdoor returns HTTP 200 for application-level errors, to differ from network errors. Use status and msg to parse the error


Azurite | Durable functions not working properly

Which service(blob, file, queue, table) does this issue concern?
tables
Which version of the Azurite was used?
Version that comes with VS2022 preview. Version#3.19
Where do you get Azurite? (npm, DockerHub, NuGet, Visual Studio Code Extension)
VS2022 preview
What problem was encountered?
[11/2/2022 5:31:09 AM] A ScriptHost error has occurred
[11/2/2022 5:31:09 AM] The listener for function 'ActivityFunction' was unable to start. Microsoft.WindowsAzure.Storage: The property 'value' does not exist on type 'devstoreaccount1.Tables'. Make sure to only use property names that are defined by the type. Microsoft.Data.OData: The property 'value' does not exist on type 'devstoreaccount1.Tables'. Make sure to only use property names that are defined by the type.
[11/2/2022 5:31:09 AM] The listener for function 'ActivityFunction' was unable to start. Microsoft.WindowsAzure.Storage: The property 'value' does not exist on type 'devstoreaccount1.Tables'. Make sure to only use property names that are defined by the type. Microsoft.Data.OData: The property 'value' does not exist on type 'devstoreaccount1.Tables'. Make sure to only use property names that are defined by the type.
[11/2/2022 5:31:09 AM]
Steps to reproduce the issue?
Function works fine when I delete the azurite folder and start the function project.
If I miss to delete the folder, I see above error. It is 100% consistent.
Have you found a mitigation/solution?
The only work around I found it, every time before start running the project. I have to kill the azurite process and delete the data folder. Start the Azurite and then run the project.

Hi,
was there an update to Azurite or the function SDK since this stopped working?

Code is working with storage emulator, and I have updated my Visual Studio to VS2022 which comes with Azurite. It is not working with Azurite. This is the first time I'm trying the code with Azurite.

Hi, is there any updates or mitigation way for this issue? I have met the same problem for the Durable Function tests.

Following up with Naiyuan directly on the repro.

+1


docs(readme): add note when installing on windows

Thanks, I guess this comes up quite regularly as a github issue 😄


Track user aborting a process instance

We have detected that at the time of performing an abort, from the business central or from the api, no information appears related to the user who has performed this action. Likewise, this information is not arriving in the emitter data. Every action on a process must be capable of being audited. If the abort action can be executed from the business central or from an API, the user who has clicked on the button must be known.

https://dba.ideas.ibm.com/ideas/BAMOE-I-1

PR is in place, Sonar passed on 2nd attempt
https://github.com/kiegroup/jbpm/pull/2297

Closing, this is now tracked in https://github.com/bamoe/private-bamoe-issues/issues/212


Removed all errors generated by eslint

https://github.com/materials-commons/materialscommons.org/pull/785


Add failing spec for When with done() and Then with no done()

In my app, I tried something like
When (done) -> _.defer -> done()
Then   -> ...my expectation...

But somehow my expectation never gets run, and Jasmine writes an error to the console:
Spec '...my expectation...' has no expectations.

I thought I'd try to debug it in jasmine-given, so started by adding a spec to test When(done) followed by Then [no done].  I thought that the spec would fail because the then() spy wasn't called.  The spec does fail, but it reports that the done() spy wasn't called!
I'm not sure what's going on, and unfortunately don't have the time right now to dive into debugging it.
But I figured I'd at least bring it to your attention.

We've definitely seen some weirdness around this in the past. I'm genuinely curious to know what the root cause is.
I won't have time this week to look at it, would you be willing to take a stab at it?
Also, are you interested in just being made a contributor to the project? I think you're the biggest contrib after myself.

I won't have time this week to look at it, would you be willing to take a stab at it?

Unfortunately no time for me this week either.  Maybe later...

Also, are you interested in just being made a contributor to the project? I think you're the biggest contrib after myself.

I don't really expect to contribute much more, mostly just keep using it :)   Unless I do get a chance to look into this done() weirdness before you do.  But in any case if I did have something to contribute I'd want to run it by you first, so little difference whether ultimately I'm the one to press "merge this PR" or you are.  So whatever you think best.  Thanks.

I've just run into this. I think the problem is that declareJasmineSpec calls doneWrapperFor unnecessarily. The Waterfall should always be given done for its finalCallback, regardless of expectationFunction’s arity.

Thanks @phopkins, would you have a few minutes to attempt a PR to refactor it?

Fix should be just to remove the call from that place. I'll spend some time
to try and get coverage of it, though.
On Thursday, January 7, 2016, Justin Searls<EMAIL_ADDRESS>wrote:

Thanks @phopkins https://github.com/phopkins, would you have a few
minutes to attempt a PR to refactor it?
—
Reply to this email directly or view it on GitHub
https://github.com/searls/jasmine-given/pull/45#issuecomment-169769433.

@phopkins -- well, that's certainly enough to pass @ronen's test.
I have to admit I don't remember writing any of this implementation at all and find it super dense to look at now. If I know me, the reason I wrapped the top layer was to avoid the situation that every it would be itself async from the perspective of Jasmine.
I'm trying to think back on the original intent here — does the async support only work if you're on Jasmine 2.x, since that's the one which introduced the done() function argument?

Landed in 2.6.4
Prithy that nothing blows up i guess.

Thanks @phopkins & @searls !

Sweet, thanks for the quick turnaround!
I don't know how Jasmine 2.0 will react with everything being async, whether that's going to be slower or worse or not.
This change should be a no-op for 1.3, since it wasn't affected by the arity at all.

Hey @phopkins @ronen is it possible that merging this in broke Master under Node.js? https://travis-ci.org/searls/jasmine-given#L407

Looks like this change fixed the wrong behavior that the test was measuring. It seems to have been saying that if you had a synchronous “Then” followed by an async “Done,” that the “Done” would never be evaluated, which I think is counter-intuitive.

@phopkins so what do you think we should do?

Probably update the test. The new behavior seems better, no?
On Tue, Feb 16, 2016 at 8:19 PM, Justin Searls<EMAIL_ADDRESS>wrote:

@phopkins https://github.com/phopkins so what do you think we should do?
—
Reply to this email directly or view it on GitHub
https://github.com/searls/jasmine-given/pull/45#issuecomment-184962591.


Don't suggest the PR author as the reviewer

I've already seen this happen a few times, where the only person to blame is the author of the PR. In this case, it would be better not to comment.

Good catch! Would be pretty simple to implement if you have some time: when the list is done, remove the author before slicing the first three :) Pull request welcome.

Ok, I'll take a look. Can you assign to me?

Matt Taylor
OS Community Flag-Bearer
Numenta
On Fri, Nov 20, 2015 at 1:13 PM, Christopher Chedeau <
<EMAIL_ADDRESS>wrote:

Good catch! Would be pretty simple to implement if you have some time:
when the list is done, remove the author before slicing the first three :)
Pull request welcome.
—
Reply to this email directly or view it on GitHub
https://github.com/facebook/mention-bot/issues/16#issuecomment-158524868
.

Sorry, github won't let me because you're not part of the facebook organization :(

https://github.com/facebook/mention-bot/pull/19 fixed it!


Cant find encrypt.dll in Linux OS ????

Expected Behavior
OSError: libencrypt.so: cannot open shared object file
Actual Behavior
OSError: encrypt.dll: cannot open shared object file
Steps to Reproduce
python pokecli.py config/config.yml
Other Information
OS: Linux
Git Commit: lastest

Anyone else have same prob on Linux ? o.O

I am having the same issue. I used to be able to use the library flag to point to libencrypt.so, but I don't know if that is still an option in the yaml config.

not on linux, but replacing load_library: "encrypt.dll" by load_library: "libencrypt.so" should do it.

Yeah just noticed that in the yaml file, I am blind sometimes I swear.


OIPA-2191

https://app.zenhub.com/workspaces/iaticloud-5b8e865bb2cc7b6c78ece322/issues/zimmerman-zimmerman/iati.cloud/2191
https://app.zenhub.com/workspaces/iaticloud-5b8e865bb2cc7b6c78ece322/issues/zimmerman-zimmerman/iati.cloud/2185

:tada: This PR is included in version 5.2.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


arecord: main:788: audio open error: Device or resource busy

I am trying to get Rhasspy working on Hass.io, Raspberry Pi 4, and PS Eye.
After the discussion on the forum we can now add a asound.conf in the UI.
I use this config because that person has the exact same setup as I do.
My microphone volume is too low, so (I believe) I need to use asound such that I can configure the microphone's volume.
PyAudio only works when I practically scream, however, I cannot get the ALSA option to work.
I selected it like

But now when I try to record something by clicking on the "Hold to Record" button:

Nothing is ever detected.
So I tried recording something using the terminal. I did:
export DOCKER=`sudo docker container ls | grep rhasspy | awk '{print $1}'`
sudo docker exec $DOCKER arecord -d 5 -r 16000 /tmp/test.wav
sudo docker exec $DOCKER aplay /tmp/test.wav

and then I get
arecord: main:788: audio open error: Device or resource busy

Another user had the same issue (https://github.com/synesthesiam/rhasspy/issues/29), however, that one was closed due to inactivity (I suppose).
In contrast to the problem of that person, I get the error with both these commands.
I would like to debug this, but not sure where to start?

Stupid question: Do you have another service running in the background e.g. Snips?

No, no other add-on or integration that uses the microphone.

I assume you already tried but I had a similiar problem and it worked when I selected another input device than default in the settings (try and error). Sorry that I can't help that much

If Rhasspy is listening for a wake word when you exec into the Docker container, you'll definitely get the "busy" message. To start debugging, I'd advise turning off the wake word functionality and restarting Rhasspy.
In the most recent release (2.4.17), I also added a button to the web UI that I see on your screen (the green play button). After doing the "Hold to Record", speak, and release, you should be able to hit the button and hear the recorded command. This might help with debugging too.

If Rhasspy is listening for a wake word

@synesthesiam, that was indeed the problem!
The microphone is working correctly now. Onto solving the next problem :)


Vehicle starts move before the steering angle converged

Checklist

[X] I've read the contribution guidelines.
[X] I've searched other issues and no duplicate issues were found.
[X] I'm convinced that this is not my fault but a bug.

Description
Hi, I limited the steer_rate_lim_dps to 5.0 dps in lateral controller. When re-initialize the vehicle, vehicle starts move before steering angle converged.
video
Expected behavior
Vehicle should wait until steering angle converged before move.
Actual behavior
Vehicle starts move before steering angle converged.
Steps to reproduce

set steer_rate_lim_dps to 5.0
re-initialize the vehicle

Versions
No response
Possible causes
No response
Additional context
No response

cc @TakaHoribe

@brkay54
How about enabling the following options?

keep_steer_control_until_converged
enable_keep_stopped_until_steer_convergence

@brkay54 How's it going

Hi, I tested in planning_simulator with following parameters:
keep_steer_control_until_converged
enable_keep_stopped_until_steer_convergence
However, I observed the same behavior(video). I think it does not cause a problem for real vehicle, but it is a bug for planning_simulator. I suggest that we should reinitialize vehicle if 2D pose estimate is used while vehicle driving. I guess in current implementation it just localize the vehicle.

I got it. I feel it's better for controllers to have a reset function considering this case only in the simulation.

@brkay54 to create a PR for the fix, but he has other tasks with higher priorities at the moment.
Please let me know if anyone can't wait for @brkay54's PR.

I investigated the bug, this bug is caused by mpc_follower.
If the steer_rate_lim_dps is very low and when reinitialize the vehicle while turning, mpc can not solve the problem and it sends the previous control command. Therefore, vehicle starts to move like in video.
I want to propose that if longitudinal_controller is in stopped state, mpc should not take steer_rate_lim_dps as constraint (or we can make it infinite). I created a branch to test this (not for PR). you can checkout my branch to test it.
What do you think @maxime-clem @takayuki5168 @kosuke55

@brkay54 Thaks very much, I will check it.

@kosuke55 Did you have chance to check it?

@brkay54
Sorry to be late, I checked in your branch. But I don't understand the expected behavior.
What's the difference from your main branch video?
this is a video of using your branch. The vehicle start driving before the steer converged?
https://user-images.githubusercontent.com/39142679/203306381-79a86cfa-28ba-4ff4-92db-0b6c8df7edac.mp4

Is the problem that m_steer_rate_lim is so small that the target steer angle changes so little that it doesn't become the real target value right away and is judged to converge at the value that is changing and start driving?
If so, it might be better to compare the difference between m_ctrl_cmd_prev and ctrl_cmd and judge that it is not converging if it is still changing.

(Also, even if the ego position is changed while the pid is in drive, the car will start immediately because it is still in drive.)

Sorry for late reply!

(Also, even if the ego position is changed while the pid is in drive, the car will start immediately because it is still in drive.)

I checked states of longitudinal controller, when reinitialize the vehicle, state change to emergency, and then to stop. So, cause of this problem is not it.

Is the problem that m_steer_rate_lim is so small that the target steer angle changes so little that it doesn't become the real target value right away and is judged to converge at the value that is changing and start driving?

Actually, the problem is that when reinitialize the vehicle, solver can not solve the problem and sends the previous command to vehicle rather than the target value.
Like before reinitialize previous cmd = 30.0 degree,
After we reinitialize vehicle, previous_cmd still 30.0 degree but target_value is maybe 0.0 degree ideally but because steering_angle_rate_limit so small, mpc can not solve the problem and sends 30.0 degree again and vehicle starts moving (because before re initialization, current steering was near to 30.0 degree.)
To solve this, I set mpc's steering_rate_limit large as possible if the vehicle in stop state (otherwise it will be what we declared), so It send the (expected) target steering without steering_rate_limit constraint.

If so, it might be better to compare the difference between m_ctrl_cmd_prev and ctrl_cmd and judge that it is not converging if it is still changing.

I tried this with some changes and worked, I will create (draft)PR about it tomorrow.

@kosuke55 I created draft PR for this, let discuss there.

@brkay54 will update soon.


Removed unused CollectionTypes

While UNKNOWN and ROOT are part of the available options, neither are actually available to call using this function (they both return errors as they're not valid collection types).  Further, we don't need a bulleted list of available options right above when we list what the accepted values are.
#MMS2019Docathon

@ChrisKibble : Thanks for your contribution! The author, @, has been notified to review your proposed change.

Docs Build status updates of commit 4f5b0c0:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sccm-ps/ConfigurationManager/New-CMCollection.md
:white_check_mark:Succeeded

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

Good catch, thanks @ChrisKibble
I'll merge this now

closing and reopening to see if build will complete

Docs Build status updates of commit 4f5b0c0:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sccm-ps/ConfigurationManager/New-CMCollection.md
:white_check_mark:Succeeded

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


123 | Best Time to Buy and Sell Stock III | C++

Title - Best Time to Buy and Sell Stock III
What will change -
Type of Issue -
Please add/delete options that are not relevant.

[ ] Adding New Code
[ ] Improving Code
[ ] Improving Documentation
[ ] Bug Fix

Programming Language
Please add/delete options that are not relevant.

[ ] C++

Self Check

Ask for issue assignment and wait to get assigned to it before making Pull Request.
Add your file in the proper folder
Clean Code and Documentation for better readability
Add Title and Description of the program in the file

:star2: Star it :fork_and_knife:Fork it :handshake: Contribute to it!
Discord server ✉ - https://discord.gg/CXksGdn
Happy Coding,

Please assign me I am a third year undergraduate of Electrical Engineering in IIT Kharagpur
@SSKale1 @Yashica7 @swaingotnochill @JOKUE2002


want to hidden message such as  "NERDTree: CWD is now ~~~~~~~~"

when i open the nerdtree ,the plugin whill echo a message "NERDTree: CWD is now  ",how to disable this function

This phrase is hardcoded.  Only solution I found is setting let NERDTreeChDirMode=1 in .vimrc


benchmark service

Uploading/Downloading/Resizing
Check memory and allocations
Large/Small files

https://nhost.io/blog/hasura-storage-in-go-5x-performance-increase-and-40-percent-less-ram


https://nomnompaleo.com/

Would love it if we could add https://nomnompaleo.com/

I just added it! Let me know if you run into any issues.


Prepare for release v1.1.2

c5226b6d41bbdee661663e8b716d502e256ba6d6 prepared for release v1.1.2, but the
Cilium team decided to backport a few more fixes and fold them into this
release; since v1.1.2 was not officially released via GitHub nor on Slack,
we can do this.
Signed-off by: Ian Vernon<EMAIL_ADDRESS>

This change is

test-me-please

test-missed-k8s

test-upstream-k8s

test-docs-please


Fixed saving of websocket flows

Description
WebSocket flows when saved would return an empty file (cut.save) , and export raw command would not show the ws messages (#6721). This was because the cut.save command uses response.content and response.content is kept empty in websocket, with the actual content (messages) being saved in websocket.messages, while export raw has no support for ws messages.
This PR fixes this issue by storing formatted messages in response.content as they appear on websocket.messages
This also removes the "No content" default text on websocket response/request (If we don't do this, then response.content will be shown, but we already have WebSocket Messages tab so showing it again would be redundant)
This PR changes export addon and adds websocket message serialization support to the raw export format along with another "websocket" format that just saves the ws messages, with tests for both changes in test_export.py
This also adds a fix to cut.save keybind (b), by modifying the cut.save command to save websocket messages whenever request.content or response.content is being saved for a websocket flow.
Checklist

[✔  ] I have updated tests where applicable.
[✔  ] I have added an entry to the CHANGELOG.

I'm afraid this needs changes to the cut addon. I'm also open to UX improvements w.r.t. displaying "no content", but we can't just go and butcher response.content. :)

Yeah, I was honestly confused about what approach to follow but thats okay, I'll redo this and change cut addon instead. I've mentioned 2 approaches I thought of here, this PR followed approach 2. Can you take a look at approach 1 and tell me if its on the right path? It modifies the cut addon

I've added websocket support to the export command as you suggested @mhils , with test coverage
However for the cut.save keybinding (b), I've done a simple patch that saves websocket messages whenever cut.save is called on a websocket flow with response.content or request.content arguments. I do not seem to see another way unless we make keybindings dynamic (dependant on focused flow) to remove the hardcoded "response.content" in the binding.

@mhils I've added support for websocket message serialization in the raw format for the export addon. I've also added another new format called "websocket" which only saves the websocket messages (if the flow is a ws).
For the cut.save keybind (b), since response.content is hardcoded in the keybind itself, I've added code to the cut.save command that saves websocket messages whenever response.content or request.content is used with ws flows in cut.save arguments.

I've added complete test coverage and added changes you suggested @mhils


No PDO_MSSQL driver provided on development VM

After configuring a tests/TestConfiguration.php file to connect to a SQL Server, running the following command:
phpunit --verbose --stderr -d memory-limit=-1 Zend/Db/Adapter/Pdo/MssqlTest.php

gives the following message on each test method:
The mssql driver is not currently installed

Note: I needed to apply #494 and #498 for having PHPUnit and Pdo_Mssql tests running.

Another way to check the missing driver is by running all tests:
phpunit --verbose --stderr -d memory-limit=-1 Zend/Db/AllTests.php

which generates:
6) Zend_Db_Skip_Pdo_MssqlTest::
Skipping Pdo_Mssql: PDO driver 'mssql' is not available

PDO_MSSQL driver seems to no longer be supported by PHP but I can't find a changelog or a note about it.
According to official PDO drivers list -- http://php.net/manual/en/pdo.drivers.php -- there are currently two SQL Server drivers: PDO_SQLSRV for Windows hosts and PDO_DBLIB for Unix and Linux.


Add Tunnelmole as an open source tunnelling option in addition to ngrok

This PR adds Tunnelmole as a tunnelling option.
Tunnelmole is a FOSS tunnelling solution with a growing community. It works out of the box and can be optionally self hosted with the Tunnelmole Service. Both the client and service are open source.
Example:
➜  ~ tmole 8000
http://bvdo5f-ip-49-183-170-144.tunnelmole.net is forwarding to localhost:8000
https://bvdo5f-ip-49-183-170-144.tunnelmole.net is forwarding to localhost:8000

Thanks! I updated this slightly to remove the install instructions (we don't include them for ngrok either).


pulling image error : repository docker.io/rhscl/python-36-rhel7 not found: does not exist or no pull access

[rohbas11@oc4458204364 software]$ sudo ./s2i build https://github.com/sclorg/s2i-python-container.git --context-dir=3.6/test/setup-test-app/ rhscl/python-36-rhel7 python-sample-app
[sudo] password for rohbas11:
ERRoR:
pulling image error : repository docker.io/rhscl/python-36-rhel7 not found: does not exist or no pull access
pulling image error : repository docker.io/rhscl/python-36-rhel7 not found: does not exist or no pull access
ERROR: An error occurred: unable to get rhscl/python-36-rhel7:latest
ERROR: Suggested solution: check image name, or if using a local image set the builder image pull policy to "never"
ERROR: If the problem persists consult the docs at https://github.com/openshift/source-to-image/tree/master/docs. Eventually reach us on freenode #openshift or file an issue at https://github.com/openshift/source-to-image/issues providing us with a log from your build using log output level 3.
regards
rohit
7019803706

looks like rhscl/python-36-rhel7:latest is not any more avialable in docker.
Can any one provide me the correct linux x86_64, python 3.6 image

use registry.redhat.io/rhscl/python-36-rhel7

(you will need to create an account)


VS-22: create wrapped vector search binding

This creates a new ts defined binding for the vector search api, aka "Vectorize" and makes it available as an internal Cloudflare binding.

Need to verify that the test files in src/cloudflare/internal/test do not end up getting bundled into the runtime at all by the automatic bundler. @mikea

I have read the CLA Document and I hereby sign the CLA

The windows build should be fine: looks like a network blip. Builds were fully green before added an additional request header

Need to verify that the test files in src/cloudflare/internal/test do not end up getting bundled into the runtime at all by the automatic bundler. @mikea

while current code seems fine, I suggest we add defensive excludes to these globs:
https://github.com/cloudflare/workerd/blob/main/src/cloudflare/BUILD.bazel#L8


Enhancement: Able to use on files other than .py

I have a project which has some HTML assets (.htm, .css, .svg, .jpg, .css, .ico, .png) , and I can't use this extension to upload them to the device as it only shows in the context menu for .py files.
Could please you add an option to add a list of file types to the settings that will then show the mpremote context menu when selected?

I can certainly look at what it would take to do this. Until then, a workaround would be to do a sync of the project's entire directory structure. I've used that trick to upload my HTML content (along with everything else.)

Thanks for taking a look. BTW, the sync option doesn't seem to work if there is a subfolder containing the HTML assets

Thanks for including the output. I recently changed some things to support using a parent dir besides /. I wonder if I've broken something. If you downgrade your extension version to 1.21.10, that may solve it.

Dropping back to 1.21.10 worked for me, I can sync my whole project again. Also an option to upload non py files would be a useful enhancement for me (I have a settings.json file). Thanks for a great VSCode extension but it may be worth withdrawing the 1.21.11 version.

@somervda thanks for testing with the previous version. I tend to agree about rolling back the changes in 1.21.11. As well as introducing bugs, I don't think it's doing what was intended to do with the enhancement.

1.21.12 is available now. It reverts the changes that caused the bugs.

Thanks -I updated to 1.21.12 and is all going well. Thanks for the work on this extension.


Make sysfs of infiniband as an argument to NetExporter

If we run net_exporter in docker without host network, we can't find infiniband counter directories (just like /sys/class/infiniband/mlx5_ib5/ports/1/counters/) . We need to mount /sys folder to docker and pass the mounted sysfs path of infiniband to net_exporter.

@rafsalas19 Hey Rafael, Could you please this PR?

@rafsalas19 Hey Rafael, Could you please this PR?

If we run net_exporter in docker without host network, we can't find infiniband counter directories (just like /sys/class/infiniband/mlx5_ib5/ports/1/counters/) . We need to mount /sys folder to docker and pass the mounted sysfs path of infiniband to net_exporter.

Everything looks good to me. Just one question, what is the use case of running the exporter within a docker container?

If we run net_exporter in docker without host network, we can't find infiniband counter directories (just like /sys/class/infiniband/mlx5_ib5/ports/1/counters/) . We need to mount /sys folder to docker and pass the mounted sysfs path of infiniband to net_exporter.

Everything looks good to me. Just one question, what is the use case of running the exporter within a docker container?

We want to run Moneo exporters in k8s cluster.  In k8s, each application will run in container.


Wondering how you viewed the data in the DB

First of all, I love this sample that you created. It's by far one of the easiest to follow for somebody like me who has stumbled upon his first couple of days with AWS products and I really appreciate something like this.
So in Amazon RDS, I can find the database information where it shows CPU utilization and other neat things about the usage. But I can't find anywhere where it visually shows the data within. Also whenever I click on 'Query Editor', it says that "Currently, query editor only supports Aurora Serverless databases".
The other thing I wanted to ask was about scalability. I've read that Aurora is an on demand, auto-scaling database. Is this by default or is there some sort of setting?

I'll start with your last question. It is a setting called engine mode which can be either Serverless or Provisioned as can be seen in the cloud formation spec for Aurora: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html
More details here: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.how-it-works.html
You can see that there's another setting which basically specifies the scaling configuration for the cluster, min capacity, max capacity, what's the pausing behavior:
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-dbcluster-scalingconfiguration.html
For your first question, yes the query editor only supports Aurora Serverless databases. So that is an option for Aurora Serverless. Another option for Aurora Serverless is to use the new Data API which is documented here: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/data-api.html
Another option to connect to your cluster is to use an appropriate client such as a mysql client for your operating system if it is a mysql engine. That would allow you to connect to the cluster and execute SQL statements against it.

Thanks for the reply! So I just tried this by adding EngineMode: serverless under the cluster and it failed to update saying "The engine mode serverless you requested is currently unavailable; Status Code: 400; Error Code: InvalidParameterValue
But from the docs the parameter seems valid to me?

It might be a combination of engine/engine mode/region. See here for an example template with engine mode serverless.
https://stackoverflow.com/questions/51879688/creating-an-aurora-serverless-cluster-from-cloudformation?rq=1

I'm using us-east-1 so I don't think region is an issue.
Actually, now I realized that when I created the stack that I used the Amazon S3 template URL provided if you were to click the "Launch Stack" button in the sample and I actually was not able to get the .yml file in the repo working. The key difference in the files is literally the one line EngineMode: serverless
I'm wondering if serverless is incompatible with 5.7?

Ah, I suppose I'm curious as to why the repo included 5.7 + serverless. Thanks for helping me out!

The repo didn't include serverless - it wasn't available at the time. CloudFormation support for serverless was launched on September 20 2018.
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/ReleaseHistory.html
AppSync did recently launch support for Aurora Serverless through the Data API:
https://docs.aws.amazon.com/appsync/latest/devguide/tutorial-rds-resolvers.html

Oh I see, okay cool. Thanks for the resources!

Just to add on to Ionut's last point - the Aurora Serverless support is a native data source for AppSync, meaning there's no Lambda to be invoked between the two services. If Aurora Serverless is something you want to end up using, then you might see better performance if you utilize that feature.
Feel free to re-open if you have any other questions!


Update chrome extension to allow multiple options (outlier, old, insufficient evidence)

As discussed on Feb 6th call, update chrome extension to allow multiple options (outlier, old, insufficient evidence).
@dazzariti @larrybabb @RyanFWebb

Discuss on April 12th call - this request is still needed  - but rather than allowing multiple options, Larry will just add new combinations of choices
@jratliff1234 Please review the list of Reasons and list the combinations you'd like here

Decision from May 20th call - add an additional option
"Older and outlier claim with insufficient supporting evidence"

@larrybabb @PamRobertson
My understanding is based on today's discussion this ticket can be closed  after "Older and outlier claim with insufficient supporting evidence" is added as a Flagging Candidate reason
Based on the Slack discussion, it appears this is complete, so I'm closing the issue


Update demo project and latest tested CLI version (2.52.0)

Looks like e2e test are not stable. They sometimes pass and some other times they don't. Let's wait a little before merging this.

This should be combined with #3477. I'll get to it on Monday.


CDAEntry expose public method for fields

Hello,
Want to check if there is a way to get the fields property out of CDAEntry for serialization. Any issues with adding support for this and making that field public?
Thanks,
Prakash

Hey @prakashkvau, I'm not really sure about this, but you can create a PR, then we can consider adding the change to the codebase.


PIXI.Text has stopped rendering descenders for Dosis (dev 2.2)

http://www.google.com/fonts/specimen/Dosis
Example of issue: http://etg.dek.im Screenshot
Happened after updating from 2.1 to 2.2 https://github.com/GoodBoyDigital/pixi.js/commit/fe55c1a8b46a7a7fe83a5ea1ac8a51323a5912e2
The example has multiple functions which use PIXI.Text, the issue occurs with them all. Code used to generate the text shown in screenshot

Reopening this as I believe I've found the root of the issue
Width is calculated @ https://github.com/GoodBoyDigital/pixi.js/blob/dev/src/text/Text.js#L386
Then fill is drawn @ https://github.com/GoodBoyDigital/pixi.js/blob/dev/src/text/Text.js#L402
The fill's descender is drawn beyond the width of the canvas. fillText & width should be calculated with the same string. This should remove the need for this line
https://github.com/GoodBoyDigital/pixi.js/blob/dev/src/text/Text.js#L462


Evaluator Base Interface

Defined base class interfaces for building evaluator as a generic implementation for black box DP implementations to leverage
Created a sample implementation of BlackBoxPrivacy Interface and tested it
Sample implementation of a DP library that releases statistics by implementing BlackBoxPrivacyInterface. It takes in the privacy and evaluation params for its analysis and releases noisy responses for evaluator to act on.
Test Result
(oss_dp) ankit@ANKIT-DELL:~/privacytoolsproject/whitenoise-system/tests$ pytest -k "test_dp_blackbox"
================================ test session starts ===========================
platform linux -- Python 3.8.0, pytest-5.3.1, py-1.8.0, pluggy-0.13.1
rootdir: /mnt/c/Users/ankitsri/source/code/privacytoolsproject/whitenoise-system/tests, inifile: pytest.ini
collected 116 items / 115 deselected / 1 selected
sdk/evaluation/test_interface.py .                                                                                [100%]
=========================== 1 passed, 115 deselected in 3.41s =========================
Related #216

Thanks Eddie!