change triple backticks to single backtick

Hello wonderful jsonapi-resources folks,
I was reading through documentation about controllers and noticed a slight issue with how it was rendered on the website.  In the part discussing Handling Exceptions, there was a triple backticks surrounding 500 Internal Server Error  which causes some formatting issues in the documentation leaving out the number 500 and also displaying documentation text inside the code block (as seen in the screenshot below).  I went ahead and changed this to a single backtick.

Thanks and hope you have a great day!

@zacscodingclub Thanks!


Common Serialization Interface

Pull request checklist

[ ] Did you bump the project version?
[ ] Did you add a description to the Pull Request?
[ ] Did you add new tests?
[ ] Did you add reviewers?

Hi @rdavis120, I'm in the process of finalizing the feature for automatically renaming fields to snake case (Issue #12). What do you think about the API design for this feature?
using Serde

struct Foo1
    first_field::Int64
    second_field::String
end

Serde.@pascal_case(Foo1)

Serde.deser_json(
    Foo1,
    "{\"FirstField\":1,\"SecondField\":\"example\"}",
)

struct Foo2
    first_field::Int64
    second_field::String
end

Serde.@camel_case(Foo2)

Serde.deser_json(
    Foo2,
    "{\"firstField\":1,\"secondField\":\"example\"}",
)

struct Foo3
    first_field::Int64
    second_field::String
end

Serde.@kebab_case(Foo3)

julia> Serde.deser_json(
           Foo3,
           "{\"first-field\":1,\"second-field\":\"example\"}",
       )
Foo3(1, "example")


Material Nodes Give Errors on Render (Disney BRDF, Specular BTDF, Diffuse)

As far as I can tell the issue is caused by simple naming errors and lack of variable pre-declaration. I was able to fix the errors within these shaders (at least superficially) by simply checking the console log and altering several lines in the file project_file_writer.py.
The following corrections cause the Disney node shader and a couple others that were broken to work as expected for simple test cases:
file: project_file_writer.py (on Windows, this is a file from the AppData\Roaming directory)
Line 1133: inputs["Base Coat"] changed to inputs["Base Color"]
Line 1146: inputs["Base Coat"] changed to inputs["Base Color"]
Line 1940: added variable pre-declarations with default values for fresnel_multiplier, volume_density, and volume_scale (this was done in-line to preserve line numbers for the rest of the file)
There could very well be many other errors related to this particular issue so it's not clear that this basic fix actually addresses an underlying problem.

We actually fixed all this in master. The upcoming version (0.7.0) has a ton of bug fixes and improvements. Stay tuned.

Ah, I see. That's good to hear. I tried installing 0.7.0 before getting 0.6.0 but there was some error in properties\nodes_init_.py on line 33 that prevented it from installing. Is there a release date for 0.7.0?

Here's a preview of the next release: blenderseed-0.7.0-preview2.zip
Let us know how it works for you.
We plan to issue a new release of appleseed and all the plugins late next week.


liquibase:update is dropping databasechangeloglock

Description
Since commit c4f7f7e00a47661923e6ae9bc6db663ef16dba5e, a liquibase:update tries to drop the table databasechangeloglock on db2.
To Reproduce
I'm using a DB2 server v<IP_ADDRESS>, and a driver 4.23.42. (liquibase 3.8.4)
Also (I don't kown if it is relevant), the DB was intially created with an older liquibase version.
** Stacktrace **
Caused by: com.ibm.db2.jcc.am.SqlSyntaxErrorException: DB2 SQL Error: SQLCODE=-551, SQLSTATE=42501, SQLERRMC=M999GST;DROP TABLE;REFVAL.DATABASECHANGELOGLOCK, DRIVER=4.23.42
    at com.ibm.db2.jcc.am.ld.a (ld.java:810)
    at com.ibm.db2.jcc.am.ld.a (ld.java:66)
    at com.ibm.db2.jcc.am.ld.a (ld.java:140)
    at com.ibm.db2.jcc.am.aq.c (aq.java:2807)
    at com.ibm.db2.jcc.am.aq.d (aq.java:2791)
    at com.ibm.db2.jcc.am.aq.b (aq.java:2151)
    at com.ibm.db2.jcc.t4.bb.k (bb.java:432)
    at com.ibm.db2.jcc.t4.bb.c (bb.java:91)
    at com.ibm.db2.jcc.t4.p.b (p.java:38)
    at com.ibm.db2.jcc.t4.vb.h (vb.java:124)
    at com.ibm.db2.jcc.am.aq.kb (aq.java:2146)
    at com.ibm.db2.jcc.am.aq.a (aq.java:3348)
    at com.ibm.db2.jcc.am.aq.e (aq.java:1116)
    at com.ibm.db2.jcc.am.aq.execute (aq.java:1095)
    at liquibase.executor.jvm.JdbcExecutor$ExecuteStatementCallback.doInStatement (JdbcExecutor.java:398)
    at liquibase.executor.jvm.JdbcExecutor.execute (JdbcExecutor.java:59)
    at liquibase.executor.jvm.JdbcExecutor.execute (JdbcExecutor.java:131)
    at liquibase.executor.jvm.JdbcExecutor.execute (JdbcExecutor.java:111)
    at liquibase.lockservice.StandardLockService.init (StandardLockService.java:147)
    at liquibase.lockservice.StandardLockService.acquireLock (StandardLockService.java:252)
    at liquibase.lockservice.StandardLockService.waitForLock (StandardLockService.java:213)
    at liquibase.Liquibase.update (Liquibase.java:184)
    at liquibase.Liquibase.update (Liquibase.java:179)
    at liquibase.Liquibase.update (Liquibase.java:334)

Additional context
From the doc I read, the server is indeed supporting BOOLEAN since v<IP_ADDRESS>, but I didn't find any doc saying the the datatype for a BOOLEAN is a java Boolean.  The only jdbc doc of 11.1 that I found still mention that java Boolean are mapped to SMALLINT.

Sorry, I don't know, and I don't have this table anymore.
However, from the commit, I have the impression it is related to the BOOLEAN support of DB2 that has changed.

Thanks @gscokart Can you share a sample changelog that is failing?  Are you using the CLI, maven, ...?

Sorry, I don't have the changelog anymore.
I was using maven.

If I remember well, it was not related to the changelog.
As you can see in the stack trace, it was happening during the locking, so before handling the changelog.

I was going to investigate this issue.  Unfortunately, IBM doesn't provide a db2 Docker image for M1 Mac.  I do have a question/comment for @gscokart : is version 4.23.42 of the db2 jdbc driver the latest one?  If not, perhaps updating to the latest version of the driver might resolve the issue.

I'm afraid I don't have access to a db2 anymore.  I have moved to other project.

I was unable to reproduce the issue with driver version <IP_ADDRESS>.

I wasn't able to replicate this bug using liquibase version 3.8.4 and the latest DB2 driver. This doesn't seem to be an issue anymore.


is tree shaking done properly?

How does one know the tree shaking is done properly. In the webpack-visualizer, it seems like all of the npm packages were imported in full.

@RichardIvan the tree-shaking is completely broken on webpack beta branch.
https://github.com/webpack/webpack/issues/2867

To make it easier to spot differences, I suggest you also try adding React Router to the project as it fully supports tree shaking.


Vulnerability reported in NSP in uglify-js which is a dependency

source: https://nodesecurity.io/advisories/uglifyjs_incorrectly_handles_non-boolean_comparisons
Handlebars has a dependency on uglify-js.
We use NSP for scanning our dependencies for vulnerabilities, and get this error, due to our handlebars dependency.

See #1084

Cool! Already working on it!

Closing in favor of #1085


How to inference on multiple gpus?

Hi, can engine model perform inference on multiple gpus?

Hi,
From the FAQ: https://docs.nvidia.com/deeplearning/sdk/tensorrt-developer-guide/index.html#faq
Q: How do I use TensorRT on multiple GPUs?
A: Each ICudaEngine object is bound to a specific GPU when it is instantiated, either by the builder or on deserialization. To select the GPU, use cudaSetDevice() before calling the builder or deserializing the engine. Each IExecutionContext is bound to the same GPU as the engine from which it was created. When calling execute() or enqueue(), ensure that the thread is associated with the correct device by calling cudaSetDevice() if necessary.

Create an inference engine instance for each gpu and set cudaSetDevice(cuda_id) for each device.

Can you give an example? I tried to set cudaSetDevice(1), but it always works on gpu:0 not gpu:1

Make sure put it at the beginning of each function using cuda/gpu such as:
Yolov9::Yolov9(string engine_path)
{
cudaSetDevice(1)
// Read the engine file
ifstream engineStream(engine_path, ios::binary);
...

void Yolov9::predict(Mat& image, vector<Detection> &output)
{
cudaSetDevice(1)
// Preprocessing data on gpu
cuda_preprocess(image.ptr(), image.cols, image.rows, gpu_buffers[0], model_input_w, model_input_h, cuda_stream);
...

Thanks, I will try it.


Investigate ways to suppress prompt_prefix setup code

The current situation where we inject the prompt_prefix setup code is not ideal since it flashes on the screen for a little bit before the clear command makes it go away and gives users a fresh terminal. Ideally we would prevent the user from seeing it at all.
One thing to try would be disabling local echo, though I'm worried there would still be weirdness from the shell re-printing the prompt a bunch of times. We could also try echoing some sentinel value like echo SHPOOL__PROMPT_PREFIX_SENTINAL__ and then scanning for this sentinel with a handy dandy trie so we can drop everything before the sentinel on the floor to avoid showing users (really it will be everything before the second instance of the sentinal).

+1 -- this is a bit unnerving

I think I have a solution that will work for this. https://github.com/shell-pool/shpool/tree/suppress_prompt_prefix_setup_code contains the code. It could mean we can do away with motd = "dump" mode all together because it means we no longer issue clears after the prompt setup code.
Not a PR yet because I still need to debug tests and write some new ones.


Fixing tests at View_Article and Like

Using in count method instead len method
Resolve #53

@Shalevro2 Issue 52 linked instead of #53

Fixed, TY Rawad.


Fetch article date and existing article page fields

Split https://github.com/libero/prc/issues/47 waiting for the outcome of https://github.com/libero/prc/issues/46


Buddybuild crash report on build #387

Buddybuild detected a crash from<EMAIL_ADDRESS>Yep/ViewControllers/Conversations/ConversationsViewController.swift line 608`

View File | View Full Crash Details

Crash report from<EMAIL_ADDRESS>


ZeroDivisionError: integer division or modulo by zero when running generate.py

I finished finetuning.py and now I am trying to run generate.py but I get ZeroDivisionError:
Traceback (most recent call last):
  File "\alpaca-lora-main\generate.py", line 36, in <module>
    model = PeftModel.from_pretrained(
  File "\AppData\Local\Programs\Python\Python310\lib\site-packages\peft\peft_model.py", line 167, in from_pretrained
    max_memory = get_balanced_memory(
  File "\AppData\Local\Programs\Python\Python310\lib\site-packages\accelerate\utils\modeling.py", line 368, in get_balanced_memory
    per_gpu = module_sizes["1"] // (num_devices - 1 if low_zero else num_devices)
ZeroDivisionError: integer division or modulo by zero

Running on Windows. Anyone knows how to fix this?

I am having the same issue. Did you find a solution?

having the same issue
trying to run this GTX1080

https://github.com/tloen/alpaca-lora/issues/260#issuecomment-1497794933


[ISSUE #3929] wake up client’s waiting when server crashed

This PR is aimed to  wake up client’s waiting when server crashed.
When producer has send message to broker successfully and wait for response，but broker crashed at this time，the produer would  blocked until timeout and wouldn't retry. This PR can detect broker crashed and wake up producer's waiting state, then producer will resend message to other broker.

Codecov Report

Merging #3975 (08f6d48) into develop (95202f1) will increase coverage by 0.17%.
The diff coverage is 92.85%.

@@              Coverage Diff              @@
##             develop    #3975      +/-   ##
=============================================
+ Coverage      47.73%   47.91%   +0.17%
- Complexity      4977     5001      +24
=============================================
  Files            633      635       +2
  Lines          42579    42507      -72
  Branches        5589     5569      -20
=============================================
+ Hits           20327    20367      +40
+ Misses         19741    19651      -90
+ Partials        2511     2489      -22

Impacted Files
Coverage Δ

...rocketmq/remoting/netty/NettyRemotingAbstract.java
53.21% <85.71%> (+2.29%)
:arrow_up:

...e/rocketmq/remoting/netty/NettyRemotingClient.java
48.18% <100.00%> (+1.57%)
:arrow_up:

...apache/rocketmq/remoting/netty/ResponseFuture.java
90.47% <100.00%> (+0.47%)
:arrow_up:

...rg/apache/rocketmq/common/stats/StatsSnapshot.java
84.61% <0.00%> (-15.39%)
:arrow_down:

.../apache/rocketmq/common/stats/MomentStatsItem.java
38.09% <0.00%> (-9.53%)
:arrow_down:

...va/org/apache/rocketmq/store/FlushDiskWatcher.java
81.25% <0.00%> (-9.38%)
:arrow_down:

...ache/rocketmq/common/stats/MomentStatsItemSet.java
39.13% <0.00%> (-8.70%)
:arrow_down:

...in/java/org/apache/rocketmq/test/util/MQAdmin.java
38.88% <0.00%> (-5.56%)
:arrow_down:

...e/rocketmq/client/impl/consumer/RebalanceImpl.java
40.23% <0.00%> (-4.30%)
:arrow_down:

...va/org/apache/rocketmq/common/stats/StatsItem.java
50.00% <0.00%> (-4.17%)
:arrow_down:

... and 69 more

Continue to review full report at Codecov.

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

Coverage increased (+0.06%) to 51.942% when pulling 08f6d48f727f50ac79eb924708eae6a82b6b30c7 on qsrg:mydev into c1aeca291ea686a2b7f01ffec30132f5a370a2ab on apache:develop.


Update Plugin Artifacts Links for v0.167.6

Automated changes by create-pull-request GitHub action

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Event: Support mouse wheel scrolling

This one is a bit more work because we need to actually implement this specifically for each window type.

Now supported for all window types.


[Flutter3.0] ios not working

I try to execute flutter clean and still get this error
Error output from Xcode build:
↳
    objc[21592]: Class AppleTypeCRetimerRestoreInfoHelper is implemented in both /usr/lib/libauthinstall.dylib (0x2062b1eb0) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x1068bc4f8). One of the two will be used. Which one is undefined.
    objc[21592]: Class AppleTypeCRetimerFirmwareAggregateRequestCreator is implemented in both /usr/lib/libauthinstall.dylib (0x2062b1f00) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x1068bc548). One of the two will be used. Which one is undefined.
    objc[21592]: Class AppleTypeCRetimerFirmwareRequestCreator is implemented in both /usr/lib/libauthinstall.dylib (0x2062b1f50) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x1068bc598). One of the two will be used. Which one is undefined.
    objc[21592]: Class ATCRTRestoreInfoFTABFile is implemented in both /usr/lib/libauthinstall.dylib (0x2062b1fa0) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x1068bc5e8). One of the two will be used. Which one is undefined.
    objc[21592]: Class AppleTypeCRetimerFirmwareCopier is implemented in both /usr/lib/libauthinstall.dylib (0x2062b1ff0) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x1068bc638). One of the two will be used. Which one is undefined.
    objc[21592]: Class ATCRTRestoreInfoFTABSubfile is implemented in both /usr/lib/libauthinstall.dylib (0x2062b2040) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x1068bc688). One of the two will be used. Which one is undefined.
    2022-05-12 16:35:36.800 xcodebuild[21592:87445] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
    2022-05-12 16:35:36.801 xcodebuild[21592:87445] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
    ** BUILD FAILED **

flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.0.0, on macOS 12.3.1 21E258 darwin-arm (Rosetta), locale zh-Hans-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
[✓] Xcode - develop for iOS and macOS (Xcode 13.3.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.2)
[✓] IntelliJ IDEA Ultimate Edition (version 2022.1)
[✓] IntelliJ IDEA Ultimate Edition (version 2022.1.1)
[✓] IntelliJ IDEA Ultimate Edition (version 2022.1.1)
[✓] VS Code (version 1.67.0)
[✓] Proxy Configuration
[✓] Connected device (3 available)
[✓] HTTP Host Availability

• No issues found!

@mdddj
That's the complete error you posted. Please share entire output which shows the actual error.

I am facing the same issue when migrating to Flutter 3.0 on my M1 machine. It is unable to run on IOS simulator
error_log.txt
Changing current working directory to: /Users/hoangthinh/Data/Learning/E-Learning/mi_learning
Launching lib/main.dart on iPhone 13 Pro Max in debug mode...
Running Xcode build...
Xcode build done.                                           12.7s
Failed to build iOS app
Error output from Xcode build:
↳
    objc[20255]: Class AppleTypeCRetimerRestoreInfoHelper is implemented in both /usr/lib/libauthinstall.dylib (0x20c1f1eb0) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x1046784f8). One of the two will be used. Which one is undefined.
    objc[20255]: Class AppleTypeCRetimerFirmwareAggregateRequestCreator is implemented in both /usr/lib/libauthinstall.dylib (0x20c1f1f00) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x104678548). One of the two will be used. Which one is undefined.
    objc[20255]: Class AppleTypeCRetimerFirmwareRequestCreator is implemented in both /usr/lib/libauthinstall.dylib (0x20c1f1f50) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x104678598). One of the two will be used. Which one is undefined.
    objc[20255]: Class ATCRTRestoreInfoFTABFile is implemented in both /usr/lib/libauthinstall.dylib (0x20c1f1fa0) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x1046785e8). One of the two will be used. Which one is undefined.
    objc[20255]: Class AppleTypeCRetimerFirmwareCopier is implemented in both /usr/lib/libauthinstall.dylib (0x20c1f1ff0) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x104678638). One of the two will be used. Which one is undefined.
    objc[20255]: Class ATCRTRestoreInfoFTABSubfile is implemented in both /usr/lib/libauthinstall.dylib (0x20c1f2040) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x104678688). One of the two will be used. Which one is undefined.
    2022-05-15 14:00:38.748 xcodebuild[20255:2601379] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
    2022-05-15 14:00:38.749 xcodebuild[20255:2601379] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
    ** BUILD FAILED **

Xcode's output:
↳
    Writing result bundle at path:
    	/var/folders/8d/md85qm0s5ys8fbdx_f_d6vbm0000gn/T/flutter_tools.kt7jXm/flutter_ios_build_temp_dirJmHffa/temporary_xcresult_bundle

    /Applications/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_quill-4.1.8/lib/src/widgets/raw_editor.dart:233:7: Error: The non-abstract class 'RawEditorState' is missing implementations for these members:
     - TextInputClient.insertTextPlaceholder
     - TextInputClient.removeTextPlaceholder
    Try to either
     - provide an implementation,
     - inherit an implementation from a superclass or mixin,
     - mark the class as abstract, or
     - provide a 'noSuchMethod' implementation.

    class RawEditorState extends EditorState
          ^^^^^^^^^^^^^^
    /Applications/flutter/packages/flutter/lib/src/services/text_input.dart:1124:8: Context: 'TextInputClient.insertTextPlaceholder' is defined here.
      void insertTextPlaceholder(Size size) {}
           ^^^^^^^^^^^^^^^^^^^^^
    /Applications/flutter/packages/flutter/lib/src/services/text_input.dart:1127:8: Context: 'TextInputClient.removeTextPlaceholder' is defined here.
      void removeTextPlaceholder() {}
           ^^^^^^^^^^^^^^^^^^^^^
    /Applications/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_screenutil-5.3.1/lib/screenutil_init.dart:23:54: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.
     - 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('/Applications/flutter/packages/flutter/lib/src/widgets/binding.dart').
          data: MediaQueryData.fromWindow(WidgetsBinding.instance!.window),
                                                         ^
    /Applications/flutter/.pub-cache/hosted/pub.dartlang.org/responsive_framework-0.1.7/lib/responsive_wrapper.dart:622:20: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.
     - 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('/Applications/flutter/packages/flutter/lib/src/widgets/binding.dart').
        WidgetsBinding.instance!.addObserver(this);
                       ^
    /Applications/flutter/.pub-cache/hosted/pub.dartlang.org/responsive_framework-0.1.7/lib/responsive_wrapper.dart:623:20: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.
     - 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('/Applications/flutter/packages/flutter/lib/src/widgets/binding.dart').
        WidgetsBinding.instance!.addPostFrameCallback((_) {
                       ^
    /Applications/flutter/.pub-cache/hosted/pub.dartlang.org/responsive_framework-0.1.7/lib/responsive_wrapper.dart:635:20: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.
     - 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('/Applications/flutter/packages/flutter/lib/src/widgets/binding.dart').
        WidgetsBinding.instance!.removeObserver(this);
                       ^
    /Applications/flutter/.pub-cache/hosted/pub.dartlang.org/responsive_framework-0.1.7/lib/responsive_wrapper.dart:645:20: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.
     - 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('/Applications/flutter/packages/flutter/lib/src/widgets/binding.dart').
        WidgetsBinding.instance!.addPostFrameCallback((_) {
                       ^
    /Applications/flutter/.pub-cache/hosted/pub.dartlang.org/i18n_extension-4.2.1/lib/i18n_widget.dart:281:24: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.
     - 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('/Applications/flutter/packages/flutter/lib/src/widgets/binding.dart').
            WidgetsBinding.instance!.addPostFrameCallback((_) => setState(() {}));
                           ^
    /Applications/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_quill-4.1.8/lib/src/widgets/delegate.dart:262:24: Warning: Operand of null-aware operation '!' has type 'SchedulerBinding' which excludes null.
     - 'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('/Applications/flutter/packages/flutter/lib/src/scheduler/binding.dart').
          SchedulerBinding.instance!.addPostFrameCallback((_) {
                           ^
    /Applications/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_quill-4.1.8/lib/src/widgets/raw_editor.dart:426:24: Warning: Operand of null-aware operation '!' has type 'SchedulerBinding' which excludes null.
     - 'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('/Applications/flutter/packages/flutter/lib/src/scheduler/binding.dart').
          SchedulerBinding.instance!.addPostFrameCallback((_) {
                           ^
    /Applications/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_quill-4.1.8/lib/src/widgets/raw_editor.dart:746:22: Warning: Operand of null-aware operation '!' has type 'SchedulerBinding' which excludes null.
     - 'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('/Applications/flutter/packages/flutter/lib/src/scheduler/binding.dart').
        SchedulerBinding.instance!.addPostFrameCallback((_) {
                         ^
    /Applications/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_quill-4.1.8/lib/src/widgets/raw_editor.dart:792:22: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.
     - 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('/Applications/flutter/packages/flutter/lib/src/widgets/binding.dart').
          WidgetsBinding.instance!.addObserver(this);
                         ^
    /Applications/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_quill-4.1.8/lib/src/widgets/raw_editor.dart:795:22: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.
     - 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('/Applications/flutter/packages/flutter/lib/src/widgets/binding.dart').
          WidgetsBinding.instance!.removeObserver(this);
                         ^
    /Applications/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_quill-4.1.8/lib/src/widgets/raw_editor.dart:828:22: Warning: Operand of null-aware operation '!' has type 'SchedulerBinding' which excludes null.
     - 'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('/Applications/flutter/packages/flutter/lib/src/scheduler/binding.dart').
        SchedulerBinding.instance!.addPostFrameCallback((_) {
                         ^
    /Applications/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_quill-4.1.8/lib/src/widgets/text_selection.dart:193:26: Warning: Operand of null-aware operation '!' has type 'SchedulerBinding' which excludes null.
     - 'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('/Applications/flutter/packages/flutter/lib/src/scheduler/binding.dart').
        if (SchedulerBinding.instance!.schedulerPhase ==
                             ^
    /Applications/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_quill-4.1.8/lib/src/widgets/text_selection.dart:195:24: Warning: Operand of null-aware operation '!' has type 'SchedulerBinding' which excludes null.
     - 'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('/Applications/flutter/packages/flutter/lib/src/scheduler/binding.dart').
          SchedulerBinding.instance!.addPostFrameCallback(markNeedsBuild);
                           ^
    /Applications/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_quill-4.1.8/lib/src/widgets/text_selection.dart:272:26: Warning: Operand of null-aware operation '!' has type 'SchedulerBinding' which excludes null.
     - 'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('/Applications/flutter/packages/flutter/lib/src/scheduler/binding.dart').
        if (SchedulerBinding.instance!.schedulerPhase ==
                             ^
    /Applications/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_quill-4.1.8/lib/src/widgets/text_selection.dart:274:24: Warning: Operand of null-aware operation '!' has type 'SchedulerBinding' which excludes null.
     - 'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('/Applications/flutter/packages/flutter/lib/src/scheduler/binding.dart').
          SchedulerBinding.instance!.addPostFrameCallback(markNeedsBuild);
                           ^
    /Applications/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_quill-4.1.8/lib/src/widgets/toolbar/arrow_indicated_button_list.dart:34:20: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.
     - 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('/Applications/flutter/packages/flutter/lib/src/widgets/binding.dart').
        WidgetsBinding.instance!.addObserver(this);
                       ^
    /Applications/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_quill-4.1.8/lib/src/widgets/toolbar/arrow_indicated_button_list.dart:58:20: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.
     - 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('/Applications/flutter/packages/flutter/lib/src/widgets/binding.dart').
        WidgetsBinding.instance!.removeObserver(this);
                       ^
    /Applications/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_quill-4.1.8/lib/src/widgets/embeds/image_resizer.dart:111:22: Warning: Operand of null-aware operation '!' has type 'SchedulerBinding' which excludes null.
     - 'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('/Applications/flutter/packages/flutter/lib/src/scheduler/binding.dart').
        SchedulerBinding.instance!.addPostFrameCallback((_) {
                         ^
    /Applications/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_quill-4.1.8/lib/src/widgets/raw_editor/raw_editor_state_text_input_client_mixin.dart:303:24: Warning: Operand of null-aware operation '!' has type 'SchedulerBinding' which excludes null.
     - 'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('/Applications/flutter/packages/flutter/lib/src/scheduler/binding.dart').
          SchedulerBinding.instance!.addPostFrameCallback((_) {
                           ^
    /Applications/flutter/.pub-cache/hosted/pub.dartlang.org/youtube_player_flutter-8.0.0/lib/src/player/raw_youtube_player.dart:43:20: Warning: Operand of null-aware operation '?.' has type 'WidgetsBinding' which excludes null.
     - 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('/Applications/flutter/packages/flutter/lib/src/widgets/binding.dart').
        WidgetsBinding.instance?.addObserver(this);
                       ^
    /Applications/flutter/.pub-cache/hosted/pub.dartlang.org/youtube_player_flutter-8.0.0/lib/src/player/raw_youtube_player.dart:48:20: Warning: Operand of null-aware operation '?.' has type 'WidgetsBinding' which excludes null.
     - 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('/Applications/flutter/packages/flutter/lib/src/widgets/binding.dart').
        WidgetsBinding.instance?.removeObserver(this);
                       ^
    /Applications/flutter/.pub-cache/hosted/pub.dartlang.org/youtube_player_flutter-8.0.0/lib/src/widgets/youtube_player_builder.dart:40:20: Warning: Operand of null-aware operation '?.' has type 'WidgetsBinding' which excludes null.
     - 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('/Applications/flutter/packages/flutter/lib/src/widgets/binding.dart').
        WidgetsBinding.instance?.addObserver(this);
                       ^
    /Applications/flutter/.pub-cache/hosted/pub.dartlang.org/youtube_player_flutter-8.0.0/lib/src/widgets/youtube_player_builder.dart:45:20: Warning: Operand of null-aware operation '?.' has type 'WidgetsBinding' which excludes null.
     - 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('/Applications/flutter/packages/flutter/lib/src/widgets/binding.dart').
        WidgetsBinding.instance?.removeObserver(this);
                       ^
    /Applications/flutter/.pub-cache/hosted/pub.dartlang.org/youtube_player_flutter-8.0.0/lib/src/widgets/youtube_player_builder.dart:51:43: Warning: Operand of null-aware operation '?.' has type 'SchedulerBinding' which excludes null.
     - 'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('/Applications/flutter/packages/flutter/lib/src/scheduler/binding.dart').
        final physicalSize = SchedulerBinding.instance?.window.physicalSize;
                                              ^
    Failed to package /Users/hoangthinh/Data/Learning/E-Learning/mi_learning.
    Command PhaseScriptExecution failed with a nonzero exit code
    note: Using new build system
    note: Planning
    note: Build preparation complete
    note: Building targets in dependency order
    /Users/hoangthinh/Data/Learning/E-Learning/mi_learning/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 15.4.99. (in target 'OrderedSet' from project 'Pods')

    Result bundle written to path:
    	/var/folders/8d/md85qm0s5ys8fbdx_f_d6vbm0000gn/T/flutter_tools.kt7jXm/flutter_ios_build_temp_dirJmHffa/temporary_xcresult_bundle

flutter doctor -v
[✓] Flutter (Channel stable, 3.0.0, on macOS 12.3.1 21E258 darwin-arm, locale en-VN)
    • Flutter version 3.0.0 at /Applications/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ee4e09cce0 (5 days ago), 2022-05-09 16:45:18 -0700
    • Engine revision d1b9a6938a
    • Dart version 2.17.0
    • DevTools version 2.12.2

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/hoangthinh/Library/Android/sdk
    • Platform android-32, build-tools 31.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2020.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[✓] IntelliJ IDEA Ultimate Edition (version 2021.1.2)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.67.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.40.0

[✓] Connected device (3 available)
    • iPhone 13 Pro Max (mobile) • 05078E9C-E79B-4C9D-9528-68C1B355C553 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-15-4
      (simulator)
    • macOS (desktop)            • macos                                • darwin-arm64   • macOS 12.3.1 21E258 darwin-arm
    • Chrome (web)               • chrome                               • web-javascript • Google Chrome 101.0.4951.64

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

Same issue. Xcode always fails with the same error: Command PhaseScriptExecution failed with a nonzero exit code
Also have bunch of SchedulerBinding.instance? warnings.

yes my error is very similar to the above

You all are hitting https://github.com/flutter/flutter/issues/103561, so please check this issue comment and this link on how to resolve these warnings.
Also some of the warnings / errors are pointing to third party plugins such as flutter_quill-4.1.8, flutter_screenutil-5.3.1
responsive_framework-0.1.7 which need to be fixed in the respective plugins itself.
Closing from here.


Untrusted data in format string

Is your an issue a feature request? If so, please raise it as an enhancement
Environment

OS / version: all
Processor architecture: all
TPM Manufacturer: all
Keylime version: current master branch (commit d987c71dd878492ac2b59eca781009fe270d219a), and earlier

Description
The first argument of logger.error &etc is a format string, not the formatted message; the formatting arguments follow.  But many of our logging statements do the formatting before calling the log method, supplying the formatted message as the format string.  This is dangerous in general, and particularly when the format string contains untrusted data (e.g., from the keylime agent).  For an example, see https://github.com/keylime/keylime/blob/d987c71dd878492ac2b59eca781009fe270d219a/keylime/tpm/tpm_abstract.py#L253
Expected behavior vs. actual behavior
That example currently reads like this:
                logger.error("Invalid %sPCR in quote: %s" % (("", "v")[virtual], pcrs))

but to keep data out of the format string we would write
                logger.error("Invalid %sPCR in quote: %s", ("", "v")[virtual], pcrs)

Steps to reproduce problem

read the code

Relevant logs
Attach any relevant log files that can help to debug your issue.

At some point we had a plan to move over entirely to fstrings and most new patches to do this.
I think the following would be good.

We move over entirely to f-strings , if you agree this is suitable @MikeSpreitzer
We plug something into CI check the old string format is not used in any new PRs (and if it is, we fail the CI run)

How do you view that @MikeSpreitzer et al?

I am fond of the f-strings, but to pass one where an old-style format string is expected would be a mistake.  Can you expand a little on exactly what you are suggesting?

See Log4j


Parameterize account ids in manifest

We use the same customizations package in two different organizations.  We would like the ability to parameterize the account ids in the deployment_targets:/accounts: section of the manifest so that we can use the same manifest across both organizations (we have a couple of instances where an account needs to be referenced by name vs. OU).  Ideally, the values come from the SSM parameter store in the master account home region so it can be set-and-forget.

Hi @mcripps9 ,
We can add this as an enhancement request to our backlog. We will update the ticket once the request is ready for release.
Thanks,
Praveen

You can achieve this today if the account names (arbitrary) are same in both organizations. You can use the account names in the manifest using the current version.


adds day as a prop to TimeComponent

In response to the following issue: https://github.com/intljusticemission/react-big-calendar/issues/559
Adds the event's day as a prop to TimeComponent

please remove the .swp file then good to go!

Awesome, thank you


dasharo-compatibility/cpu-fan-speed-measure.robot: Add fan control tests

Semi-auto tests

What are you testing these on? We don't have ACPI driver support yet

What are you testing these on? We don't have ACPI driver support yet

I commented out the tests that are based on the driver, leaving only semi-auto tests, which do not use it.

https://github.com/Dasharo/open-source-firmware-validation/issues/646 -> needs to be resolved to verify this PR after rebase.


open console in dock by default

This opens the console in the bottom dock by default, but you can put it anywhere you want. Once opened, C-j C-o will toggle the parent dock if there is one or do nothing if not (old behaviour).
Fixes #107.

Good idea. Might be good to delay the release until the next major, though, in case we need patches to older Atom versions.

Mh, I'm pretty sure this can be written in a backwards compatible manner; we can drop the 1.17 requirement then.

Okay, this should be fine now, I think.

I tend to focus the console with c-o, can I still do that with this? if not it might make sense to use a different keybinding for that.

Uh, if you bind C-o to C-j C-o, then sure :) Otherwise C-o is Application: Open File for me.

Sorry yeah, that's what I meant

Okay, so this actually is a toggle now -- if the console isn't visible we show and focus it, but if it is then it'll be closed. I agree it'd be nice to have a focus-console command though -- any suggestions for keybindings?

Yeah it'd be nice to keep that behaviour, especially since it matches the keybinding better. Or we could try having it focus, then close if the console is already focused?
``Ctrl-``` is a nice keybinding for console toggle, but seems to general to add here – we could perhaps add it to uber-juno.

Okay, not sure what exactly I was thinking there... This last iteration should be fine: Console is opened (or focused, if it's already open) with C-J C-O and can be closed with C-W. This will to the right thing if it's in a dock (i.e. Atom will remember where the console was opened and re-open it in that dock). The only thing one might want is a shortcut for closing the dock the console resides in -- this can come up if you have multiple tabs in that dock and therefore can't close it with C-W. Not sure how relevant that is though.


It does now work in .vue file.

Can i highlight a file with a .vue extension?

Yes, please take a look at the readme 🙂

Sorry, i was stupid.
autocmd BufRead,BufNewFile *.vue setlocal filetype=vue.html.javascript.css


Input File Updates

In this PR, I added 2 new input parameters to ROLLO's input file and updated one input parameter.
Added parameters
weight: list. This parameter was added into the algorithm section of the input file, and indicates the weight for each objective as a list.
order: int. This parameter was added into the evaluators section of the input file, and indicates the order of software evaluations. It is indexed by 0
Updated parameters
keep_files: string. This parameter used to be a True, False Boolean. I updated it to be a string input. Accepted strings are none, only_final, all.
This PR is intended to be stacked with #26 . This PR will be easier to review once #26's pep8 updates have been merged into main.

Hello @gwenchee! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file rollo/constraints.py:

Line 124:80: E501 line too long (122 > 79 characters)

Thanks for the review @yardasol. I addressed your comments by updating the docstrings.

Hi @gwenchee, thanks for your contribution. These changes are quite clean! I'm having a bit of trouble understanding them though. Could you elaborate on the big picture purpose/motivation?

In the big picture, the weights parameter allows the user to indicate the weighting of each objective which is interesting for multi-objective simulations. The order parameter is used to ensure that the evaluators are run in the correct order, and also as a sanity check for the user to feel more in control of the order of evaluations.  keep_files parameter used to be a boolean, but I added the only_final option for users that lack file space, but still want the option to see their evaluators files for the final generation.

Also, I have a few comments:

I like that you're using jsonschema to validate your input files. However, I think defining the schema inside the python file takes up quite a bit of space and can distract from the focus on the algorithm of the functions. Consider moving the schema definitions to their own .json files and adding descriptions for each object/parameter as part of the schema.

I disagree with this. The schema validation happens in input_validation.py which is it's own contained file, not distracting from algorithm.py and evaluation.py where the actual logic takes place.

Do you have unit tests for testing that the new input parameters are successfully validated?
I don't I added an issue for this. #29

@yardasol bump

@yardasol Yeah i totally see where you're coming from about the input_validation. I'll keep that in mind


[Dependency Scanning] Escape quoted strings in dependency command-line output

Resolves rdar://120872469

@swift-ci smoke test


Error running app. - prettymapp.streamlit.app

It was working for me today, but then it crashed with this same error

Problem is still present today.
I need pretty maps for highly time sensitive secret deep state operations please help fix.


Error with 'react-native'

After installing Pods using this file:
target 'chatApp' do
use_frameworks!
pod 'XMPPFramework', :git => 'https://github.com/robbiehanson/XMPPFramework.git', :branch => '3.7.0'
pod 'KissXML', :git => "https://github.com/aksonov/KissXML.git", :branch => '5.2.0'
pod 'RNXMPP', :path => '../node_modules/react-native-xmpp'
target 'chatAppTests' do
inherit! :search_paths
end
end
target 'chatApp-tvOS' do
target 'chatApp-tvOSTests' do
inherit! :search_paths
end
end
I got this error
error: bundling failed: ambiguous resolution: module /Users/franciscocabrera/Development/Chatapp/index.android.js tries to require react-native, but there are several files providing this module. You can delete or fix them:

/Users/xxx/Development/Chatapp/ios/Pods/React/package.json
/Users/xxx/Development/Chatapp/node_modules/react-native/package.json

Hi,
Iam also facing the same issue. I just tried by removing either of one separately, still not working. Help is appreciated.


how to create multiple table in same sheet ?

This is not an issue ! is it possible to create multiple tables on same sheet  ?
I tried redefining the column but it edits the same table
any help on this is appreciated !

Wondering about this same thing.

You can create multiples sheets into a book, maybe this solve your problem

same issue, don't really want to create another sheet.

Any update regarding this ?

@all there are ways to do this not sure if it the best practice
https://github.com/bushan1891/custom-ServerSide/blob/master/controllers/util/xlsx_generator_util.js
Hope this helps

It's actually possible to add multile tables to the same sheet. You need to take care that all your tables have a different name. Even accross sheets the table names need to be unique:
worksheet.addTable({
  name: "MyUniqueTableName",
  // ...
});


Make left side bar move in/out #150

Fixes #150  Make left side bar move in/out
Short description of what this resolves:
Make left side bar move in/out
Checklist

[x]  I have read the Contribution & Best practices Guide.
[x]  My branch is up-to-date with the Upstream development branch.
[ ]  The acceptance, integration, unit tests and linter pass locally with my changes
[ ]  I have added tests that prove my fix is effective or that my feature works
[ ]  I have added necessary documentation (if appropriate)

Summary by Sourcery
This pull request adds the ability to toggle the visibility of the left sidebar. It includes updates to multiple components and views to ensure the layout adjusts correctly when the sidebar is shown or hidden.

New Features:

Introduced functionality to toggle the visibility of the left sidebar.

Enhancements:

Updated various components and views to adjust layout when the sidebar is toggled.

The goal of this issue is to regain the feature of the last eventyay version. There should be an icon to move the top bar in and out. This PR creates a top bar which is not desired.
Compare:

Given the existing design it seems like the functionality of a "Sidenav push (off-canvas)" would be suitable. Compare here: https://www.w3schools.com/howto/howto_js_sidenav.asp


Windows Code-Signing Recommendations

What is your current status when it comes to Windows code signing? I read in your blog that there is a new Azure service, but it is still in preview. I now have to get a Windows certificate and am a bit unsure what to do.
In the blog you say that you had to submit company documents. What does that look like as a self-employed freelancer? Is my VAT ID sufficient?

There is some new info out on this
https://github.com/koaladsp/KoalaDocs/blob/master/azure-code-signing-for-plugin-developers.md

See my reply here: https://forum.juce.com/t/azure-code-signing-for-plugin-developers-guide/60391/14?u=sudara
I'll have a guide out — it should finally be public preview in about a week, maybe a bit more. I definitely recommend going with that over buying a cert and doing it the old manual way.
Pamplejuce needs be updated to this new tooling as well..

Just to close this out: Azure Trusted Signing is my recommendation for businesses with 3+ years of history, my tutorial is here.


AMBARI-23222. Ambari-agent fails to connect to server with two_way_auth = true

ERROR 2018-03-13 17:15:04,264 security.py:122 - Could not connect to wss://ctr-e138-1518143905142-94896-01-000002.hwx.site:8441/agent/stomp/v1
Traceback (most recent call last):
File "/usr/lib/ambari-agent/lib/ambari_agent/security.py", line 113, in establish_connection
conn.start()
File "/usr/lib/ambari-agent/lib/ambari_stomp/connect.py", line 46, in start
self.transport.start()
File "/usr/lib/ambari-agent/lib/ambari_stomp/transport.py", line 109, in start
self.attempt_connection()
File "/usr/lib/ambari-agent/lib/ambari_stomp/adapter/websocket.py", line 89, in attempt_connection
self.ws.connect()
File "/usr/lib/ambari-agent/lib/ambari_ws4py/client/init.py", line 216, in connect
self.sock.connect(self.bind_addr)
File "/usr/lib64/python2.7/ssl.py", line 869, in connect
self._real_connect(addr, False)
File "/usr/lib64/python2.7/ssl.py", line 860, in _real_connect
self.do_handshake()
File "/usr/lib64/python2.7/ssl.py", line 833, in do_handshake
self._sslobj.do_handshake()
SSLError: [SSL: SSLV3_ALERT_BAD_CERTIFICATE] sslv3 alert bad certificate (_ssl.c:579)

Jenkins is broken all tasks are hanging. Merging as is. Ran tests manually


#2104 - Updated how checkboxes and radio buttons appear

Added a specialization of the form-control css class so that it works for checkboxes and radio buttons too.

@jgauffin got the build running here as well (seemed to be some stickiness with the bower process, just restarted build). Cheers!


Possible extension by rga

Is it possible to integrate rga so:

improve the speed (even without cache) and
extend the functionality beyond PDF?

The source of the speed differences is unclear. This project uses boldb while rga uses lmdb, but those two caching databases have very similar designs: https://github.com/boltdb/bolt#lmdb .
I agree that rga feels faster in some instances, and it seems possible to implement a custom adapter for rga that only looks at the first page of the PDF. But currently there seems no documentation for this: https://github.com/phiresky/ripgrep-all/blob/master/doc/Custom adapters.md is a work in progress.
I suggest we re-open this when custom adapters in RGA are documented.


chore: add requirements.txt for dependency management  + fix: add two paths to prevent runtime errors for missing directories

fix: add two paths to prevent runtime errors for missing directories

created a new folder in the directory with the path:
DataBase/experience
logs


Adding Y dwarf spectral types; #82

Metadata for publications will need to be added eventually. Could happen later, issue opened: #122.


fix wacky sessions scrolling issues

z index is wrong on pieces
snapping is wrong
low resolutions don't work

newui fixes


Markdown next

Closes #165 #298 #297 #270 #249 #160

@jturner314 @RadicalZephyr @reillysiemens @cldershem @clarcharr @NuLL3rr0r @piedoom
I believe this solves all current issues/missing features with markdown rendering/shortcodes if any of you want to give it a try

I'll try this out later today or tomorrow.

This is some awesome work!  Thanks.

(merging into next as this affects other PRs but i'll still take feedback)


Documentation: Formatting issue in Ubuntu installation guide

https://docs.docker.com/installation/ubuntulinux/
Under Installation, step 3, there are odd > characters in the paragraph:

I think the > is used as quote in GitHub's markdown and does not render properly on the docs site.
https://github.com/docker/docker/blob/master/docs/installation/ubuntulinux.md

Hi!
Please read this important information about creating issues.
If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
This is an automated, informational response.
Thank you.
For more information about reporting issues, see https://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues

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

I can see this issue in Chromium, Chrome and Firefox. Fix is trivial.
#dibs

Fixed in https://github.com/docker/docker/pull/14731 so this issue can be closed.
ping @charleswhchan

Thanks @Evalle!

Thanks! closing


Tasks:  Build task runs on start up if was running in prior session

Insiders
Steps to reproduce:

Start Build VSCode task on current repository
task builds and shows running
close VSCode
restart code
Build task shows as running

@dbaeumer
@alexr00
Yes, running latest insiders building OSS.  Sorry I just put "Insiders" and the BOT did not appear to pick it up...
I do see that it is the strict null check, but what confused me was the status bar shows "Building"
Does that task also do building?
You can mark this "as-designed" and close since all sounds correct.


Redis version update

The latest version of Bitnami/redis is a few revisions ahead of the currently pinned stackstorm-kubernetes chart dependency.
https://github.com/bitnami/charts/blob/master/bitnami/redis/Chart.yaml
The latest Bitnami upstream version contains several hotfixes. Can we incorporate the latest bitnami/redis chart to StackStorm/stackstorm-k8s?

Yes, that would be very welcome! :+1:
Could you open a PR to update the dependencies?

I was under the assumption that Redis version bump won't have any direct impact to the stackstorm cluster functionality. However, a few components especially st2-scheduler didn't come online after this change.
Some of the issues like looks to be quite fatal in the version which is currently pinned with stackstorm-kubernetes.
https://github.com/redis/redis/issues/2186
I'm still learning the stackstorm internals, however will see what is the best I can do on this. cheers!

Could you still open a draft PR in this repo?
At least we'll see how the e2e tests would behave.


Zap artists

Should be able to send artists lightning tips directly (along with keysend messages)

Done in https://github.com/macterra/artx-market/commit/d96a70f0b54a8f4dabfffdfa77a16313a781db93


[Backend] Route for adding admins

Work to be done:

Add a route for creating admins.[POST]
Validation Schema for the request body
API Testing using Postman demonstrating all possible cases(valid, invalid) with test cases

Request Body Structure:

Parameter
Description

email
string,required, email regex

password
string,required

firstName
string,optional

lastName
string,optional

contact
string,optional,format(+91XXXXXXXXXX), phone regex

username
string ,optional

NOTE: Please go through the backend code to get a feel of the code structure and follow that.
For API Testing briefing, refer to https://github.com/HITK-TECH-Community/Community-Website/issues/81

I would like to work on this issue, can you assign it to me!
@jackfrost13

sure @hasheemismath. Go ahead with this issue!

@hasheemismath Can you please update us with your progress on the issue?

@jackfrost13 sir if this issue is open can I work on it?

@jackfrost13 sir if this issue is open can I work on it?

@hasheemismath Do you have an update? Else we would be going ahead with other participants

@hasheemismath Do you have an update? Else we would be going ahead with other participants

@N00Bmaster2810 Go ahead with the issue
@hasheemismath I am removing you due to no response from your end.

@N00Bmaster2810 Go ahead with the issue
@hasheemismath I am removing you due to no response from your end.

Ok thank you @jackfrost13

Ok thank you @jackfrost13

Ok thank you @jackfrost13

Happy Coding ;)
Just keep a check that you follow our coding practices and code structure ;)
Let me know if you need any inputs from my end!

Ok thank you @jackfrost13

Happy Coding ;)
Just keep a check that you follow our coding practices and code structure ;)
Let me know if you need any inputs from my end!

Ok sir @jackfrost13

Ok sir @jackfrost13


SPARQLGraph - behaviour of Query menu

SPARQLGraph has a Query menu that lets you choose between service layer and SPARQL endpoint. The distinction between these two options is not immediately obvious, but the observed behaviour is different:

Selecting SPARQL endpoint disables the Run command for the node group
If you run a query via SPARQL endpoint, the first column of the result is sorted and has a blue header

I don't know if these differences are deliberate but the behaviour could be more consistent - for example, why is the Run button under Query not disabled if you select service layer and why is the output not sorted in the same way?

This legacy feature should be removed.  It is indeed confusing.  And it is not useful.

Removed the obsolete Query menu.


New listing error

Error at new_listings
'DataFrame' object has no attribute 'story_id'
Traceback (most recent call last):
File "/home/pi/src/cogs/after/alert.py", line 223, in new_listings
search, build["R1 deviation"], build["R2 deviation"]
File "/home/pi/src/alerts/genes.py", line 39, in get_genes
genes = genes.loc[~genes.story_id.isin(genes[genes.stage == 1]["story_id"].tolist())]
File "/home/pi/venv/lib/python3.7/site-packages/pandas/core/generic.py", line 5465, in getattr
return object.getattribute(self, name)
AttributeError: 'DataFrame' object has no attribute 'story_id'

Added error handling for this to genes.py


Cross validation endpoint implementation

Rasa version: 0.15.0a1
Python version: 3.6
Operating system (windows, osx, ...): osx
Issue: Enhancement : Cross validation endpoint implementation
I didn't find how to run cross validation directly through the server router API. If you think that this feature should be implemented, I would be happy to contribute.
Content of configuration file (config.yml):

Content of domain file (domain.yml) (if used & relevant):

Thanks for raising this issue, @ricwo  will get back to you about it soon.

Hi @sorayabh, thanks for bringing this up. Adding cross-validation capabilities to the existing /intentEvaluation would be a nice addition. Looking forward to your contribution!

closed by #7408

closed by #7408


#17209 Print indentation of nested elements

Only the second request was implemented. The first one wasn't implemented because it's very specific.
Note: works with the Copy action only.

verified


Fix quoting for tasks

Fixes #142196

Issue was caused by 26ccfac24517c22561b3a1ceab170b326501ccdc. Instead of passing "cmd" to this.getQuotingOptions, "cmd.exe" was getting passed. If you take a look at the last line of the implementation of getQuotingOptions it's clear that this will cause a problem.


[c++] Support Enumeration in C++ codebase

Issue and/or context:
#866
As per discussion with @eddelbuettel, separating the C++ code out from #1511 so that it can be utilized in both the Python and R APIs.
Changes:

Addition of SOMAArray::get_attr_to_enum_mapping, SOMAArray::get_enum and SOMAArray::get_enum_label_on_attr
Attach an enumeration/dictionary to the ColumnBuffer, if applicable; this is used when converting from ArrayBuffers to Arrow Tables in the Python and R APIs

Codecov Report
Patch has no changes to coverable lines.
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
:loudspeaker: Thoughts on this report? Let us know!.

Should we also merge the C++ changes from #1674 into this branch?

@nguyenv sure? @eddelbuettel what do you think?

@johnkerl @nguyenv I think we will have some truly awful rebases coming up as a few files, notably in libtiledbsoma, were changed concurrently in different branches.  The good news is that things work now, so if we're careful they will still once we're done aligning.

Yeah I am anxious about all merge conflicts that are about to happen and wondering why the best way to go about this is.

@nguyenv @eddelbuettel I take that back -- preferring to keep this C++ PR foundational, merge it without 2.17.0-rc0 dependencies, and go from there.

Yeah I am anxious about all merge conflicts that are about to happen and wondering why the best way to go about this is.

One at a time. This PR is foundational. #1511 next.


[WARNING]: The API users/lookup may cause HTTP 404

What happened?
As the title says, when I used this API last month (about November 23rd), I found that HTTP404 was returned.
The errors raised when using the API：
Traceback (most recent call last):
  ... ...
httpx.HTTPStatusError: Client error '404 Not Found' for url 'https://twitter.com/i/api/1.1/users/lookup.json?screen_name=someone'
For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404

And it's the message:
{
    "errors": [
        {
            "message": "Sorry, that page does not exist",
            "code": 34
        }
    ]
}

Why is it caused?
My partner and I started a series of tests on this API, Finally, we found the reason.
Now, we need to add x-client-transaction-id to the request.
For example:
import json

import httpx

twitter_bearer_token = "Your Bearer Token"
twitter_csrf_token = "Your CSRF Token"
twitter_auth_token = "Your Auth Token"
x_client_transaction_id = "Your Client Transaction Id"

screen_names = ["screen_names1", "screen_names2"]
api_url = (
            "https://twitter.com/i/api/1.1/users/lookup.json?"
            f"screen_name={'&screen_name='.join(screen_names)}&include_entities=false"
        )
headers = {
            "accept-language": "zh-CN,zh;q=0.9",
            "authorization": twitter_bearer_token,
            "user-agent": (
                "Mozilla/5.0 (Windows NT 10.0; Win64; x64) "
                "AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36"
            ),
            "x-csrf-token": twitter_csrf_token,
            "x-client-transaction-id": x_client_transaction_id  # Add here
        }
cookies = {
    "auth_token": twitter_auth_token,
    "ct0": twitter_csrf_token
}

res = httpx.get(
    api_url,
    headers=headers, cookies=cookies
)

res.raise_for_status()
print(
    json.dumps(res.json(), ensure_ascii=False, indent=4)
)

It is worth mentioning that the x-client-transaction-id seems to be generated by some rules.
For more details, you can find relevant answers here.
Last
⭐Your program is really good. This is the only python package I can refer to!

will check it out. Thanks for pointing this out!

Oh，I found a new lib that realizes the function of generating x-client-transaction-id.
👉iSarabjitDhiman/TweeterPy

Oh, I found that you can get x-client-transaction-id by this way:
from tweeterpy import TweeterPy
from tweeterpy.tid import ClientTransaction

TweeterPy = TweeterPy()
TweeterPy.generate_session()
Client_Transaction: ClientTransaction = TweeterPy.request_client.client_transaction

x_client_transaction_id = Client_Transaction.generate_transaction_id(
    method="GET", path="/i/api/1.1/users/lookup.json"
)

print(f"Your Client Transaction ID is: '{x_client_transaction_id}'")  # Get it !

And it can be static and needn't to be regenerated before each request.

So, I think it can be changed directly in ./api/friendship.py at line 146-195.
    def follow_requests(self, user_id: str) -> list[user_model.User]:
        """
        Retrieves follow requests for the authenticated user.

        Rate limit: Subject to Twitter's standard API rate limits.

        Parameters:
            user_id (str): The user ID of the authenticated user.

        Returns:
            list[user_model.User]: A list of users who have requested to follow the authenticated user.
        """

        headers = self._get_headers()
        headers.update(
            {
                "x-client-transaction-id": "Add here."   # The `x-client-transaction-id` was generated by the example above.
            }
        )
        cookies = self._get_cookies()

        params = {
            'include_profile_interstitial_type': '1',
            'include_blocking': '1',
            'include_blocked_by': '1',
            'include_followed_by': '1',
            'include_want_retweets': '1',
            'include_mute_edge': '1',
            'include_can_dm': '1',
            'include_can_media_tag': '1',
            'include_ext_is_blue_verified': '1',
            'include_ext_verified_type': '1',
            'include_ext_profile_image_shape': '1',
            'skip_status': '1',
            'user_id': str(user_id),
        }

        url = "https://twitter.com/i/api/1.1/users/lookup.json"
        response = self.request_handler.get(
            url,
            headers=headers,
            cookies=cookies,
            params=params,
        )

        users: list[user_model.User] = []

        json_response = response.json()
        for user in json_response:
            screen_name = user.get("screen_name")

            if screen_name:
                users.append(self.user_actions.get_user_by_screen_name(screen_name))

        return users

I've been busy with the holidays but I'll get to it soon. You should be able to see the changes within a week of New Year's.


[bug] - crashes when doing build following standard ROCM instructions, related to batching code

To reproduce:
On a supported AMD machine,  follow the ROCM instructions up to building of the "lib" -- and the following crash occurs....
(python311) root@rumlinux:/workspace# rm -rf $PATH_TEST && mkdir $PATH_TEST && rm -rf $PATH_COMPILE && mkdir $PATH_COMPILE && ln -s ${WEIGHT_PATH} ${PATH_TEST}/params && cp $MODEL_CONFIG $PATH_COMPILE/config.json
(python311) root@rumlinux:/workspace# python -m mlc_llm.build \
        --model $PATH_COMPILE \
        --artifact-path $PATH_COMPILE \
        --quantization $QUANTIZATION \
        --max-seq-len 2048 \
        --num-shards $NUM_SHARDS \
        --target rocm --build-model-only
Traceback (most recent call last):
  File "<frozen runpy>", line 189, in _run_module_as_main
  File "<frozen runpy>", line 112, in _get_module_details
  File "/mlc_llm/mlc_llm/__init__.py", line 6, in <module>
    from . import core
  File "/mlc_llm/mlc_llm/core.py", line 19, in <module>
    from mlc_llm.relax_model import (
  File "/mlc_llm/mlc_llm/relax_model/llama_batched_vllm.py", line 7, in <module>
    from tvm.relax.op.nn import attention_var_len
ImportError: cannot import name 'attention_var_len' from 'tvm.relax.op.nn' (/root/micromamba/envs/python311/lib/python3.11/site-packages/tvm/relax/op/nn/__init__.py)

https://github.com/mlc-ai/mlc-llm/pull/1134

attention_var_len is supposed to be imported from https://github.com/apache/tvm/blob/unity/python/tvm/relax/op/nn/init.py#L21
Perhaps the TVM version on docker is not the latest?

docker image has no "embedded" TVM ....  every time it is run, it just pip install the latest nightly.  So the problem is likely in the nightly.   See this line...
https://github.com/mlc-ai/llm-perf-bench/blob/8df4c5f8d6c0010e706412dfdbc9e5ccbc9a4fab/docker/Dockerfile.rocm57.mlc#L20

For me, this crash happens when I try to verify the installation with python3 -m mlc_llm.build --help. In fact, I can't seem to be able to run anything.

Thanks @masahi for the quick response! I will do a sync between.apache/tvm and mlc-ai/relax tonight

Sync complete. It should go into the nightly today. Please check back tomorrow :)

I got a similar report from Prakalp. Looking into it now.

Bugfix: https://github.com/mlc-ai/mlc-llm/pull/1167
This is because libmlc_llm.so is not loaded into memory yet during benchmarking

Thanks @junrushao !    Who'd know.   And i thought only C++ static initializers would have these sort of loading race-conditions 😀
Anyways, patched manually and it all ran fine.
With these very interesting results -- on a system with the 7940HS chip, using the IGPU-780m  (it allows you to specify how much dedicated memory for the GPU in the BIOS setup as UMA frame buffer -- allocating 6GB to run the Llama 7b)    ..... over ROCM got some very respectable results !  ....
# vi /root/micromamba/envs/python311/lib/python3.11/site-packages/mlc_chat/chat_module.py
(python311) root@minisforumlinux:/workspace# python -m mlc_chat.cli.benchmark   --model ${PATH_TEST}/params     --device "rocm:0"       --prompt "What is the meaning of life?"         --generate-length 256
Generated text:
The question has puzzled philosophers, theologians, and scientists for centuries. државите to the concept of meaning, which is a fundamental aspect of human existence, and is closely related to the concept of purpose. Meaning is what gives our lives significance, and is the reason why we do what we do. It is the reason why we get up in the morning, why we work, why we love, and why we die. Without meaning, life is empty and lacking in purpose.
The concept of meaning is complex and multifaceted, and can be understood in different ways depending on one's cultural, philosophical, and religious beliefs. Some may argue that meaning is derived from religious or spiritual beliefs, while others may see it as a product of personal fulfillment, social connections, or individual achievements.
In this essay, I will explore the concept of meaning and its significance in human life, drawing on philosophical, psychological, and religious perspectives. I will argue that meaning is not a fixed or static concept, but rather a dynamic and evolving one that is shaped by our experiences, beliefs, and values. I will also examine the various sources of meaning in life, including

Statistics: ----------- prefill -----------
throughput: 5.4 tok/s
total tokens: 7 tok
total time: 1.3 s
------------ decode ------------
throughput: 17.9 tok/s
total tokens: 256 tok
total time: 14.3 s

Wow 🤩 this is amazing to see 18 tok/sec using a simple iGPU! Is this even real???

@junrushao  yeah - I had to do a sanity check on my notebook with RTX-3060 Mobile chip ... and it did produce the following score with the latest cuda drivers.    Less than  3x  the new AMD IGPU's performance for 7b llama !
# vi /root/micromamba/envs/python311/lib/python3.11/site-packages/mlc_chat/chat_module.py
(python311) root@docker-desktop:/workspace# python -m mlc_chat.cli.benchmark    --model ${PATH_TEST}/params     --device "cuda:0"       --prompt "What is the meaning of life?"         --generate-length 256
Generated text:
These are some of the big questions that have puzzled philosophers, theologians, and scientists for centuries. nobody has a definitive answer, but here are some possible approaches to understanding the meaning of life: 1. Religious or spiritual beliefs: Many people believe that the meaning of life is to fulfill a divine or spiritual purpose. According to this view, life has a higher purpose that is connected to a deity or a higher power. The purpose of life is to fulfill this divine plan or to follow the teachings of a particular religion. 2. Personal growth and development: Some people believe that the meaning of life is to grow and develop as individuals. According to this view, the purpose of life is to learn, to acquire knowledge, to develop skills, and to become the best version of oneself. 3. Social connections and relationships: Many people believe that the meaning of life is to form and maintain meaningful relationships with others. According to this view, the purpose of life is to love and be loved, to form connections with others, and to build a supportive community. 4. Contribution and legacy: Some people believe that the meaning of life is to make a positive impact on the world and to

Statistics: ----------- prefill -----------
throughput: 42.2 tok/s
total tokens: 7 tok
total time: 0.2 s
------------ decode ------------
throughput: 45.1 tok/s
total tokens: 256 tok
total time: 5.7 s


Error while parsing non RFC 822 From Header

I have an mail with Friendly From Header escaped using single quote:
From: "Intuit E-Commerce Service"<EMAIL_ADDRESS>I got an error when trying to retrieve the Person Name
`$parsed = $this->parseHeaders();
if (null === $fromHeader = $parsed->getHeader('from')) {
return null;
}
if (!$fromHeader instanceof AddressHeader) {
return null;
}
return $fromHeader->getPersonName() ?: null;`
Attempted to call an undefined method named "getName" of class "ZBateson\MailMimeParser\Header\Part\Token".
        if (!empty($this->parts)) {             return $this->parts[0]->getName();         }
This is the dump of the object $this->parts:
AddressHeader.php on line 124: array:2 [▼   0 => Token {#488 ▼     #value: """     #charsetConverter: MbWrapper {#475 ▼       #mappedMbCharsets: array:3 [▼         "UTF8" => "UTF-8"         "USASCII" => "US-ASCII"         "ISO88591" => "ISO-8859-1"       ]     }   }   1 => AddressPart {#501 ▼     #name: "Intuit E-Commerce Service""     #language: null     #canIgnoreSpacesBefore: false     #canIgnoreSpacesAfter: false     #languages: array:1 [▼       0 => array:2 [▼         "lang" => null         "value" => "Intuit E-Commerce Service""       ]     ]     #value<EMAIL_ADDRESS>   #charsetConverter: MbWrapper {#475 ▶}   } ]
I don't know if you can consider also the " as separator (I have tried to add it to the QuotedStringConsumer with no success), or simply manage the error returning an empty Person Name

Hi @andrea-reda --
I think github isn't showing exactly what your headers are... clicking 'Edit' on your message, they look a little different.  This would be a valid from header (and the double quotes would trigger the QuotedStringConsumer):
From: "Intuit E-Commerce Service"<EMAIL_ADDRESS>and is very much supported, and is RFC compliant, etc...
On the other hand, this isn't:
From: \"Intuit E-Commerce Service\"<EMAIL_ADDRESS>The backslash means the next character should be treated as-is (i.e. not the beginning of a quoted part).  It looks to me like there's an issue with how I'm separating 'name' from 'email', and it should be done a little differently in case of a problem like this.  What's happening is my processor takes the backslash and makes the next character it's own 'token' so it's not processed by any other processors, which is fine, but then that's the first part returned in the call to getPersonName (the " character).

HI @zbateson , first of all thank you for the reply.
Yes, it's exactly what I mean. With this kind of friendly from between "backslash-quote", the array of part have at position 0 the token " and at position 1 the object of type AddressHeader (or something similar, I don't remember now) with the name Intuit E-Commerce Service".
What I do as workaround was not call getPersonName, but "foreach" manually the array returned from the method getParts to retrieve the correct object.
I don't know if the best way is to parse this kind of header even if it's malformed, or simply do not return nothing with the getPersonName and leaving the possibility of still having the raw part with a separate method.

I mean, it's not strictly correct, but yeah it shouldn't cause an error.  I don't think it'll be a big deal to allow that to work, but I'll have to investigate a bit and see :)

Released in 1.3.0


Button - Prop id did not match. (Server/Client)

Hi,
I wanted to put button in the dropdown trigger, but my DOM gives me this error.

My button contains the server id.

This is my code.
export async function AccountDropdown() {
  const account = await getAccount()

  return (
    <DropdownMenu>
      <DropdownMenuTrigger asChild>
        {/* ERROR HERE */}
        <Button
          variant='secondary'
          className='group h-auto justify-start gap-2'
        >
          <UserAvatar user={account} className='h-9 w-9' />
          {account.name}
          <Icons.moreHorizontal className='h-4 w-4' />
        </Button>
      </DropdownMenuTrigger>

      <DropdownMenuContent className='w-[var(--radix-dropdown-menu-trigger-width)]'>
        <ThemeModeToggle />
        <DropdownMenuSeparator />
        <DropdownMenuItem>
          <Icons.settings className='mr-2 h-4 w-4' />
          Settings
        </DropdownMenuItem>
        <DropdownMenuItem className='text-red-500 focus:text-red-500'>
          <Icons.logout className='mr-2 h-4 w-4' />
          Log out
        </DropdownMenuItem>
      </DropdownMenuContent>
    </DropdownMenu>
  )
}

Same here but with DialogTrigger asChild id doesn't match even tho radix uses useId() internally

Same here but with DialogTrigger asChild id doesn't match even tho radix uses useId() internally

I tried removing the asChild but it doesn't change anything

Same here. Happened after I upgraded from next v13.4.7 to v13.4.11.
Error does not come up when I downgrade back to v13.4.7.

I am also experiencing this error with dropdown-menu component

Same here. Happened after I upgraded from next v13.4.7 to v13.4.11. Error does not come up when I downgrade back to v13.4.7.

Yep, I just started a new npx create-next-app@latest and then run npx shadcn-ui@latest init and npx shadcn-ui add accordion and got the same error after inserting an accordion component into the site.
After that, I ran npm i<EMAIL_ADDRESS>and downgraded next to this version, and the error was gone.

add "use client"; in Button component

same for form component on nextjs 13.4.11
(app-index.js:31 Warning: Prop htmlFor did not match. Server: ":Rmpmmmcq:-form-item" Client: ":R2r6qqpj9:-form-item")

13.4.7

I confirm no this issue after downgrading to nextjs 13.4.7

Same here. Happened after I upgraded from next v13.4.7 to v13.4.11. Error does not come up when I downgrade back to v13.4.7.

I confirm no this issue after downgrading to nextjs 13.4.7

Same problem.

I started seeing this with the dropdown trigger as well after upgrading from Next.js 13.4.10 to 13.4.12.

Same issue. It appears to have been introduced in 13.4.11. After downgrading to 13.4.10, everything returned to normal.

Is this fixed? @Natchii59

@davehowson With the new version of Nextjs 13.4.12 I no longer have the error.

I still have the issue with the latest version of nextjs.

@davehowson With the new version of Nextjs 13.4.12 I no longer have the error.

The issue is still here. My navigation-menu component started throwing the following error after updating nextjs and I am now at 13.4.12 and the same exact issue still remains.
Warning: Prop id did not match. Server: "radix-:Rstcq:-trigger-title" Client: "radix-:R3jlj9:-trigger-title"
at button

I think this one might be on Next.js' side, there is an open issue that's possibly related - https://github.com/vercel/next.js/issues/53006.

I have same error with Navigation Menu and Menubar

Strangely my problem is back. For a while I didn't have it.

it might to do something with the feature that client components are also rendered on the server. Therefore my workaround to create a client wrapper for now based on useEffect, like
'use client'

import { type ReactNode, useEffect, useState } from 'react'

type Props = {
  children: ReactNode
  fallback?: ReactNode
}

export const ClientOnly = ({ children, fallback = null }: Props) => {
  const [hasMounted, setHasMounted] = useState(false)

  useEffect(() => {
    setHasMounted(true)
  }, [])

  if (!hasMounted) {
    return fallback
  }

  return children
}

thus, I can wrap problematic components as dropdown menu like this for now to silence this warnings
<ClientOnly fallback={<UserAvatar user={user} className="h-8 w-8" />}>
      <DropdownMenu>
        <DropdownMenuTrigger>
          <UserAvatar user={user} className="h-8 w-8" />
        </DropdownMenuTrigger>
        <DropdownMenuPortal>
          <DropdownMenuContent className="bg-white" align="end">
          ...

[https://github.com/vercel/next.js/pull/53216](Fix hydration errors caused by root ErrorOverlay #53216)

Yea I started getting this all of a sudden as well app-index.js:31 Warning: Prop id did not match. Server: "radix-:R24rdkq:-trigger-radix-:R5e4rdkq:" Client: "radix-:R8jdmj9:-trigger-radix-:Rlojdmj9:" coming from the MainNav that I copied from the shadcn website. I thought maybe if I had suppressHydrationWarning it would stop that from being reported but I already had it 😓

Same as the poster above me ^

It's fixed but not released on stable release.
You can try the canary version: pnpm add next@canary. No warnings there.

Yep. Confirmed this is fixed in next@canary.

use component after mount is true
`  const [mount, setMount] = useState(false);
useEffect(() => {
if (!mount) {
setMount(true);
}
}, [mount]);`

This bug has been fixed in this release (v13.4.13)


DOC: RecursiveTextSplitter function doesn't exist

Issue with current documentation:
https://python.langchain.com/docs/modules/data_connection/document_transformers/text_splitters/recursive_text_splitter
this function isn't to be found in the text_splitter.py file :
from langchain.text_splitter import RecursiveCharacterTextSplitter
this returns an error.
Idea or request for content:
No response

Hello, I got the same problem, did you fix it?


Translate file "encryption.md"

Notes for contributors, the file can be translated by being aware of and understanding the file you are translating, you must have an understanding of the techniques and the explanation provided by the documentation file, and it must be in Standard Arabic, and the technical terms should be translated as follows:
For example, المتحكمات with the term next to it in English (Controllers)
For example, التهجير and next to it the term in English (Migrations)
And so on
Thank you for your contribution

I will take this one.
Here we go...

Ok, thanks for your contribution


Unprovable transactions not dropped

If having a contract that emits nullifiers without consuming a note (in my case to ensure non-replayable) you can successfully execute transaction simulations that replay the payload without being able to build a valid block because it is trying a double-spend.
This is to be expected, but unexpectedly, the transaction is not dropped, meaning that the sequencer will run into an infinite loop where it tries to build an unprovable block until it times out. This make it quite impractical to properly test replays that are not caught by the application circuit itself.

This was fixed in #2069 by doing a second round of dropping txs with duplicate nullifiers after the public transactions were executed. The sequencer seemed to rely on the assumption that only private transactions could emit nullifiers (errors should arise with custom nullifiers or when consuming l1 -> l2 messages)


Support for aws-sdk-java-v2

Type: Feature
Is your feature request related to a problem? Please describe.
I started integrating spring-cloud-aws together with SQS, SNS and X-Ray tracing, but it seems like yhe solution now relies on aws-sdk-java v1.
When integrating spring-cloud-aws with X-Ray tracing, it is necessary to use ClientOverrideConfiguration to be able to set TracingInterceptor (docs).
DynamoDB Client example:
import com.amazonaws.xray.interceptors.TracingInterceptor;
import software.amazon.awssdk.core.client.config.ClientOverrideConfiguration
import software.amazon.awssdk.services.dynamodb.DynamoDbClient;
//...
public class MyModel {
private DynamoDbClient client = DynamoDbClient.builder()
.region(Region.US_WEST_2)
.overrideConfiguration(ClientOverrideConfiguration.builder()
.addExecutionInterceptor(new TracingInterceptor())
.build()
)
.build();
//...

Describe the solution you'd like
Would it be please possible to rely on aws-sdk-java-v2 and support ClientOverrideConfiguration for AWS SDK clients' settings?
Describe alternatives you've considered
I noticed you support ClientConfiguration since version 2.3, it would be nice to upgrade to newer AWS SDK versions then.

Hey @jakubgruber , we are currently working on 3.x which will use AWS sdk v2. Some new features will be introduced and some old integrations will be rewritten from scratch. You can check 3.x branch to see how it is going. :)

After this is implemented, what are your plans with the V1 SDK? Are you planning to completely remove (or deprecate) it? If so, do you have a timeline?
I'm asking because as far as I know, there V2 SDK hasn't reached feature parity with V1, and we have the same issue with Micrometer: https://github.com/awspring/spring-cloud-aws/issues/116 (right now we are supporting both but we are looking into removing V1).

Ideally we would like to have it done till the end of 2021, but I am not sure yet how realistic is it.
I think all or great majority of functionality we need is implemented in V2. If not, V1 and V2 can work side by side in the same project as the package name in v2 has changed.

Closing in favour of #20.


SR yml is missing?

SR yml is missing?

SR option file is added now.

latent_attn_type1 : "CTS"
latent_attn_type2 : "Channel"
latent_attn_type3 : "CTS"
latent_ffw_type : "GFFW"
In turtle_arch.py CTS  Not defined

These were our old namings. I fixed the issue by renaming the modules in the option file.

When I set the following parameters:
config = "Turtle/options/Turtle_SR_MVSR.yml"
model_path = "models/SuperResolution.pth"

I encounter the following errors:
Error(s) in loading state_dict for Turtle:
    Unexpected key(s) in state_dict: "decoder_level3.transformer_blocks.9.attn.spatial_aligner.k2.weight", "decoder_level3.transformer_blocks.9.attn.spatial_aligner.k2_dwconv.weight", "decoder_level3.transformer_blocks.9.attn.spatial_aligner.q2.weight", "decoder_level3.transformer_blocks.9.attn.spatial_aligner.q2_dwconv.weight", "decoder_level2.transformer_blocks.5.attn.spatial_aligner.k2.weight", "decoder_level2.transformer_blocks.5.attn.spatial_aligner.k2_dwconv.weight", "decoder_level2.transformer_blocks.5.attn.spatial_aligner.q2.weight", "decoder_level2.transformer_blocks.5.attn.spatial_aligner.q2_dwconv.weight", "decoder_level1.transformer_blocks.1.attn.spatial_aligner.k2.weight", "decoder_level1.transformer_blocks.1.attn.spatial_aligner.k2_dwconv.weight", "decoder_level1.transformer_blocks.1.attn.spatial_aligner.q2.weight", "decoder_level1.transformer_blocks.1.attn.spatial_aligner.q2_dwconv.weight".
Size mismatch for decoder_level3.transformer_blocks.9.attn.spatial_aligner.temperature: copying a parameter with shape torch.Size([1, 1, 1]) from checkpoint, while the shape in the current model is torch.Size([4, 1, 1]).
Size mismatch for decoder_level2.transformer_blocks.5.attn.spatial_aligner.temperature: copying a parameter with shape torch.Size([1, 1, 1]) from checkpoint, while the shape in the current model is torch.Size([2, 1, 1]).

The error occurs at line 121 in /root/code/Turtle/basicsr/inference_no_ground_truth.py, where model.load_state_dict(torch.load(path)['params']) is called.
Is there an issue with the configuration file or something else?

Having exactly same issue!

The model type should be changed to SR for Super Resolution. Could you elaborate more on what you did and for which task?
An upsampling was also missing for the SR case in the inference_no_ground_truth.py file, which is fixed now.

Hi,
Thank you for the recent updates and bug fixes! I noticed that the release notes mentioned "An upsampling was also missing for the SR case in the inference_no_ground_truth.py file, which is fixed now."
Does this update correspond to the following code snippet?
if dataset_name == "MVSR":
    in_patch_prev = torch.nn.functional.interpolate(
        in_patch_prev, scale_factor=1/4, mode="bicubic"
    )
    in_patch_curr = torch.nn.functional.interpolate(
        in_patch_curr, scale_factor=1/4, mode="bicubic"
    )``

Hi, yes

Issues with SR inference are fixed now.


Enhancement: Keep packages sorted in composer.json

This PR

[x] keeps packages sorted in composer.json

💁♂ For reference, see https://getcomposer.org/doc/06-config.md#sort-packages.

travis failed on this, but I think it may have been a timeout issue. I'm restarting.

Thank you, @willishq!


[TC-SWTCH-2.2, 3.2] Manual Yaml script has to be updated as per VS Document

Description:
TC-SWTCH-2.2:

[ ] Step 2f, 2g CurrentPosition attribute log is missing in Script.
[ ] Step 2f Comment has to be updated as per VS document.

TC-SWTCH-3.2:

[ ] MCORE.IDM.C.SubscribeEvent High level PICS has to be added in Script.
[ ] Log and comments has to be updated as per VS document for all Steps.

Yaml References:

https://github.com/project-chip/connectedhomeip/blob/master/src/app/tests/suites/certification/Test_TC_SWTCH_3_2.yaml
https://github.com/project-chip/connectedhomeip/blob/master/src/app/tests/suites/certification/Test_TC_SWTCH_2_2.yaml

@Ashwinigrl fixed in PR 31060 please verify it and close the ticket.

Issue Fixed


When Creating Agency Instance: 404 Error - No assistant found with id "<defined_agent_id>"

This issue is in reference to a previous one that was marked as 'Closed', found HERE. Unfortunately the issue persists with just a slight change. The core of the faulty functionality is in retrieving agents from OpenAI properly so that duplicates of the same agents are not created.
I am assuming that when creating an agent within the agency-swarm framework, the proper way to ensure that duplicates are not created in OpenAI is by using the 'id' parameter. If a different approach is recommended, please advise.
The error is as follows:
NotFoundError Traceback (most recent call last)
in <cell line: 3>()
1 from agency_swarm import Agency
2
----> 3 agency = Agency([
4 tool_coder,
5 [tool_coder, api_researcher]
6 frames
/usr/local/lib/python3.10/dist-packages/agency_swarm/agency/agency.py in init(self, agency_chart, shared_instructions, shared_files)
43 self._parse_agency_chart(agency_chart)
44 self._create_send_message_tools()
---> 45 self._init_agents()
46 self._init_threads()
47
/usr/local/lib/python3.10/dist-packages/agency_swarm/agency/agency.py in _init_agents(self)
395 agent.files_folder += self.shared_files
396
--> 397 agent.init_oai()
398
399 def _init_threads(self):
/usr/local/lib/python3.10/dist-packages/agency_swarm/agents/agent.py in init_oai(self)
94 # load assistant from id
95 if self.id:
---> 96 self.assistant = self.client.beta.assistants.retrieve(self.id)
97 self.instructions = self.assistant.instructions
98 self.name = self.assistant.name
/usr/local/lib/python3.10/dist-packages/openai/resources/beta/assistants/assistants.py in retrieve(self, assistant_id, extra_headers, extra_query, extra_body, timeout)
137 """
138 extra_headers = {"OpenAI-Beta": "assistants=v1", **(extra_headers or {})}
--> 139 return self._get(
140 f"/assistants/{assistant_id}",
141 options=make_request_options(
/usr/local/lib/python3.10/dist-packages/openai/_base_client.py in get(self, path, cast_to, options, stream, stream_cls)
1029 # cast is required because mypy complains about returning Any even though
1030 # it understands the type variables
-> 1031 return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
1032
1033 @overload
/usr/local/lib/python3.10/dist-packages/openai/_base_client.py in request(self, cast_to, options, remaining_retries, stream, stream_cls)
851 stream_cls: type[_StreamT] | None = None,
852 ) -> ResponseT | _StreamT:
--> 853 return self._request(
854 cast_to=cast_to,
855 options=options,
/usr/local/lib/python3.10/dist-packages/openai/_base_client.py in _request(self, cast_to, options, remaining_retries, stream, stream_cls)
928 err.response.read()
929
--> 930 raise self._make_status_error_from_response(err.response) from None
931
932 return self._process_response(
NotFoundError: Error code: 404 - {'error': {'message': "No assistant found with id 'tool_coder'.", 'type': 'invalid_request_error', 'param': None, 'code': None}}
Thanks in advance for any help!

Hey @hicknughes, you don't have to set ids manually if you have a settings.json file in the same folder where you are initializing your agency. It will appear the first time you run it and keep all your agents up-to-date accordingly. The id parameter is there so you can load the assistant from openai instead, but it's not the recommended approach


Generating DDL fails when a constraint depends on an index and that index has the same name as its table

The cursor c_dependencies in function sort_objects_by_deps from package pkg_ddl_util creates objects for constraints having a relation with an index name:
select    c.*
from    all_constraints c
        inner join all_objects tc
        on tc.owner = c.owner and tc.object_name = c.table_name

However the tc row may be an index. So we need to add and tc.object_type in ('TABLE', 'VIEW').

Added the extra condition.


Add Thread local variables

And extended the specs for those a bit, I'll try to push them upstream later today.

For completeness (or closure): https://github.com/ruby/spec/pull/1127 has the upstream specs


Possibility to add other types of keys on [plist], such as Array

For some Plugins this should be very good, one example is AdMob: https://developers.google.com/admob/ios/quick-start#update_your_infoplist
Needs to be placed three different type of keys: string, dict and array

Thought-out solution:

Instead of [plist] it goes like this:
PlistKey = "Some Info.plist key you might need"

it could be like this:
<key>
     PlistKey
</key>
<string>
     Some Info.plist key you might need
</string>

So when exporting the project to iOS, the Engine will copy and paste what is in [plist] inside the Xcode project's .plist

I guess something like Key:type = "<Value>" could be done for this section, like
PlistKeyOld="value"
PlistKey1:string = "value"
PlistKey2:raw = "<key>PlistKey2</key><string>Some Info.plist key you might need</string>"

Maybe even something like PlistKey3:export="Value that can be specified in export dialog" so users could specify specific values directly in editor without modifying Xcode project.

Maybe i can help you do to that, the branch that i work for ios-plugins is this? https://github.com/naithar/godot/tree/fix/ios-plugin
Can you tell to me where is the part when read the .gdip file and write the .plist of project?

Maybe i can help you do to that, the branch that i work for ios-plugins is this? https://github.com/naithar/godot/tree/fix/ios-plugin
Can you tell to me where is the part when read the .gdip file and write the .plist of project?

You should branch out from current 3.x and master, not my fork.
godot_plugin_config.h and export.cpp are files you are looking for.

Thanks, I will close the issue since the implementation has to be done in another repository, I will try to develop but I think I will not be able to because of the export templates, I find it very difficult to create these templates on mac.


Program variable scope

Variables should only be visible after they were declared or initialized
Check Program variable visibility inside the BBj classes

otherVar! = myVar!; REM should be an error

myVar! = "Hallo"

This assignment is currently legal in the language (but admittedly useless, and might be worth flagging in the editor).
myVar! is by definition NULL so after the assignment then otherVar! is also NULL (which is presumably was before, just looking at these two lines).
It is safe to assume that the first line in the sample is a pilot error and should be flagged in one way or another, even though it's legal in the language.

@StephanWald
Thanks for explanation. What about marking = myVar! with a warning?
Regarding the program variable visibility inside the Bbj classes:
myVar! = "Test"

CLASS PUBLIC SomeClass
    METHOD PUBLIC STATIC String getSomeString()
        METHODRET myVar!
    METHODEND
CLASSEND

Would calling SomeClass . getSomeString () return "Test" or NULL?

@StephanWald
Could you answer this question?
I'm still need some more information about the scope inside a BBjClass

@dhuebner

Would calling SomeClass . getSomeString () return "Test" or NULL?

NULL

@hyyan
Thanks for the answer!
Currently we allow referencing myVar! inside the class definition, means myVar! is also suggested in code completion.
Would it then make sense to reduce the scope inside the class definition?

@dhuebner Stephan should jump in whenever he has some time to provide a more detailed answer. In the meantime, it would be wise to consider reducing the scope.

myVar! = "Test"

CLASS PUBLIC SomeClass

    FIELD PRIVATE STATIC String myVar2! = "myVar2 (field)"

    METHOD PUBLIC STATIC String getSomeString()
        METHODRET myVar!
    METHODEND

    METHOD PUBLIC STATIC String getSomeString2()
        myVar2! = "MyVar2 (local)"
        METHODRET myVar2!
    METHODEND

    METHOD PUBLIC STATIC String getSomeString3()
        myVar2! = "MyVar2 (local)"
        METHODRET #myVar2!
    METHODEND

CLASSEND

? SomeClass.getSomeString()
? SomeClass.getSomeString2()
? SomeClass.getSomeString3()

output:
null
MyVar2 (local)
myVar2 (field)

READY
>


DEC-1046 Add routing for custom slugs / urls

What: Added functionality to allow custom urls configured by the curator on the Honeycomb end
How: Created a component that can process requests that are routed using a custom url slug; Added top level route to process request; Component queries Honeycomb for collection data and routes the user to the normal collection UI and can also route to the 404 page if the slug can't be found by Honeycomb;

👍

Since the links on the page are relying on the unique id to be in the url, all page links are broken.
See two line changes above to push the updated url.

👍


asking

Hello, I'm asking you to make a version for 1.20.2 fabric or quilt on Modrinth, thank you very much!

sure


Fixed the test result file path issue for kselftest under WSL

The current test result file path is relative to local path of shell, which caused missing test result file issue when kselftest is done. The change is to set the output test file at the guest node directory, which is to meet the logic of checking test result file at later stage when kselftest is finished.

It should be 1 commit. please rebase to main to remove extra 2 commits.


Burn 761 firmware

@JianXiongZ Thanks for PR. please rebase to only one commit before you pull request.