Need long-term benchmarking

The problem w/ benchmarking using Golang's Benchmark system is that it's not a long-term persistent benchmark.  The issue with this is that, for example, when we're using the CLevelDB binding, we're not sure whether we're really testing persistence, or just some memory cache.
We need to write a benchmarking program that can run forever, simulating what might happen during usage in a TMSP app.  We need to preload the tree w/ many key/value pairs, then make random modifications and occasionally save, forever.

PR #15 includes some heavy usage of leveldb (lots of data nodes) in make fullbench.  I think that is a start.
The daemon program is a good idea, and I would be happy to write something, but I wonder how we would measure stats from it?  Sample timing for a few blocks every 5 minutes? It is nice to have some reproducible metrics from it, rather than just taking a look at top.  Can you please give a more detailed description of the output of such the process, then I would be happy to work on it.

The tests don't have to parameterize everything, but it should be easy to set some parameters at least by tweaking the code.  Some parameters that I suspect we'll want to experiment w/:

Number of bytes for keys
Number of bytes for values
Number of pre-fill items (e.g. pre-fill the DB w/ 1M objects)
Number of txs per "block"

The test should be able to run at memory-equilibrium by default, so maintain the number of elements in memory while still doing a nice mix of removing/updating/inserting leaf items.  We'll also want to run experiments where the number of items continue to grow to fill the disk.  But if we parameterize all of it it'll just make the code more brittle, so it can just be a simple sample_bench.go file to be modified as needed.
Some output parameters:

Memory usage upon initialization of initial X items
Time it took to populate those X items

And for every "block", we can measure

Memory usage
Time to run all updates and commit changes

Printing out every block measurement will be too noisy, so we can print avg'd block measurements every X seconds or blocks.

Sounds clear.  Shall I add that to PR #15 or do a separate PR for this info?

Issue moved to tendermint/tmlibs #39 via ZenHub


Show icons with bad networking

Icons in tables are causing crashes if the networking is bad, or dropbox unreachable for other reasons (such as a corporate firewall).
This is a specific issue under the umbrella of #14.

455529af03bbc68b513e2f59f6c68d6c1c533ede prevents the crash, but does not solve the need to show the icon.

This appears to be working now (not sure which change enabled this).


Add additional JSME Editor Parameters

The JSME Test Page show additional parameters that could be added. These are marked with a dot below.

The additional parameters would be added by updating the files

panel_chemistry\widgets\jsme_editor.py
panel_chemistry\bokeh_extensions\jsme_editor.py
panel_chemistry\bokeh_extensions\jsme_editor.ts
tests\tests\test_jsme_editor.py (Manual test with panel serve tests/tests/test_jsme_editor.py --auto --show)
examples\reference\JSMEEditor.ipynb


is this library only support .mp4?

Hii @all,
Please Help me,
is this library only support .mp4 or any extension of video?
Thanks

No, it uses exoplayer and avplayer for video playback. Dash & hls are also supported then.


add: Abhi Patel profile

Related Issues
#411
Changes Proposed
Dev profile added
Checklist

[x] I have read and followed the Contribution Guidelines.
[ ] All new and existing tests passed.
[ ] I have updated the documentation to reflect the changes I've made.
[x] My code follows the code style of this project.
[x] The title of my pull request is a short description of the requested changes.

Screenshots

Note to reviewers
Please add Hacktoberfest label

@AbhiPatel10 Thank you so much for your contribution! Your efforts are greatly appreciated and will go a long way in improving our project. Please feel free to share it with others and Star the repo to help us grow even further!


How to train binary classification

I use sentiment analysis with bert, however it is multiclass classification, how to change for binary class text classification.

Same as multiclass classification with few modifications.

n_classes = 2, in last layer , self.out = nn.Linear(self.bert.config.hidden_size, n_classes), actually this will be automatically handled by the code for mutlicalss classification itself  --- model = SentimentClassifier(len(class_names))
replace softmax with sigmoid here --- F.softmax(model(input_ids, attention_mask), dim=1)
loss function should be changed to BinaryCrossEntropyLoss i.e nn.BCELoss() from ---- loss_fn = nn.CrossEntropyLoss().to(device)

Same as multiclass classification with few modifications.

n_classes = 2, in last layer , self.out = nn.Linear(self.bert.config.hidden_size, n_classes), actually this will be automatically handled by the code for mutlicalss classification itself  --- model = SentimentClassifier(len(class_names))
replace softmax with sigmoid here --- F.softmax(model(input_ids, attention_mask), dim=1)
loss function should be changed to BinaryCrossEntropyLoss i.e nn.BCELoss() from ---- loss_fn = nn.CrossEntropyLoss().to(device)


Added new access management K6 tests

Description
-Added tests for delegation as APIADM
-Added three negative tests
-Added testdata for APIADM user for all environments
Related Issue(s)

#173

Developer/Reviewer Checklist

[ ] Your code builds clean without any errors or warnings
[ ] No changes to config/appsettings or environment variables created in separate linked PR
[ ] Manual testing done (required)
[ ] Relevant integration test added (required for functional changes)
[ ] Relevant automated test added (required for functional changes)
[ ] All integration tests run green

Documentation

[ ] User documentation is updated with a separate linked PR in altinn-studio-docs. (if applicable)

@ivartryti I assume these tests will need to be updated for the same changes which is currently breaking the existing tests, ref.:
https://github.com/Altinn/altinn-access-management/issues/520


Version 0.6 changed behavior with unknown arguments

Although I am happy to see a new 0..6 version, it introduces what I assume is an unintended behavior.
With the previous 0.5 version, when running the command with an unrecognized argument, docopt would output something like:
--param_name is unrecognized
Usage
  ...

With the new version, it does not output the error line, only the usage.
I see the last merge removed this line from a couple of places
raise tokens.error, "#{raw} is not recognized"

Ah right, that's not intended - I guess that part is not covered in the tests

@ryanartecona were those errors removed intentionally?

Not intentionally as far as I remember.
On Fri, Apr 7, 2017 at 8:19 PM Alex Speller<EMAIL_ADDRESS>wrote:

@ryanartecona https://github.com/ryanartecona were those errors removed
intentionally?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/docopt/docopt.rb/issues/29#issuecomment-292685074,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA2Uh5PH3kkR3Fh5i6v0sd4v6m6k53nSks5rtuC3gaJpZM4M2ntl
.

--
Ryan Artecona

Any chance of bringing it back to the original behavior soon (as in 0.6.1)?

Ahm.... bump?


Add download redirect for AH adapters to HF

This PR implements an automatic redirect for load_adapter() from Hub repo adapters to the HF Hub:

If source is not specified, will automatically redirect attempts to load from Hub repo to HF Hub. Will also issue a warning to set new id explicitly.
if source="ah" explicitly, will still load from Hub repo link and issue a warning.

Also updated docs accordingly & removed sections specific to Hub repo loading.

I added a parameter description in the modified functions.
Feel free to keep, modify, or revert.
Apart from this, the PR is ready to be merged.


New code of conduct + incident response policy

New code of conduct and incident response policy, as outlined in https://github.com/zebrafishlabs/rfcs/blob/master/text/0020-code-of-conduct.md.
This should be good to merge after a feedback pass.

Looks thorough. :+1:

This was just signed off, so I'm merging! 😄


Moving BigTableWriteSchemaTransformProvider to the beam repo

Moving BigTable Write Schema Transform to the Beam Repo (DataflowTemplates PR: #821)

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

r: @manavgarg, @johnjcasey , @ahmedabu98

Run Java_GCP_IO_Direct PreCommit

Closing this PR as we decided to go with the BigTableWriteSchemaTransformProvider present in the beam repo (#27146).


Bluetooth: controller: Fix unchecked return value

Check the return value of mayfly_enqueue() and assert if not successful.
Coverity ID: CID 190991
Fixes #13833.
Signed-off-by: Carles Cufi<EMAIL_ADDRESS>

Codecov Report

Merging #14064 into master will decrease coverage by <.01%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master   #14064      +/-   ##
==========================================
- Coverage   52.24%   52.24%   -0.01%
==========================================
  Files         307      307
  Lines       45469    45470       +1
  Branches    10526    10527       +1
==========================================
  Hits        23754    23754
- Misses      16913    16914       +1
  Partials     4802     4802

Impacted Files
Coverage Δ

subsys/bluetooth/controller/ll_sw/ull_conn.c
48.96% <0%> (-0.03%)
:arrow_down:

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 3dd44d1...a6e2280. Read the comment docs.


Can not Login - Server cannot append header after HTTP headers have been sent.

I´m having this error when I try to login. The error appears in the Bonobo.Git.Server.Errors.log only after trying to login with admin/admin for the first time:
The page reloads and nothing happens
Native library pre-loader is trying to load native SQLite library       "C:\inetpub\wwwroot\gitserver\bin\x64\SQLite.Interop.dll"...
w3wp.exe Error: 0 : Server Error occured and caught in Global.asax - System.Web.HttpException    (0x80004005): Server cannot append header after HTTP headers have been sent.
   at System.Web.HttpHeaderCollection.SetHeader(String name, String value, Boolean replace)
   at Microsoft.Owin.Host.SystemWeb.CallHeaders.AspNetResponseHeaders.Set(String key, String[]   values)

I'm having the same problem, and the same error on Bonobo.Git.Errors.log
When I try to login for the first time (admin/admin), it reloads the page and writes that error.
When I try to login with a wrong user(xxxx/xxxx) it works fine displaying "The username or password provided is incorrect".
Any idea?

Have you guys even looked at already opened issues :) ? ie. #329 #330 ? Anyways there should be a fix in PR #335 ;)

Thanks!

Duplicate of #329 #330

can u help to release the fixed version to the website, that we can download the binary file directly?

加群，有方案，200319579


proguard got problem with gson when i migrated from version 1.5.11 to 1.6.0

Describe the bug
All things is good when i'm in version 1.5.11. but i migrate to version 1.6.0 and proguard show this error on release :
Caused by: java.lang.ClassNotFoundException: proguard.optimize.gson._OptimizedJsonWriter
Affected platforms

Desktop (Windows, Linux, macOS)

Versions

Kotlin version*: 1.9.21
Compose Multiplatform version*: 1.5.11 to 1.6.0
OS version(s)* (required for Desktop and iOS issues): Ubuntu 20.04
OS architecture (x86 or arm64): x86
JDK (for desktop issues): 17.0.9

What does this migration have to do with proguard and gson?
Because I did not change the version of gson and proguard.

Hi @SudoDios ! Do you have a reproducer that can be shared here?
Did you change anything else besides Compose version? perhaps kotlin version? gradle version?
https://github.com/JetBrains/compose-multiplatform/issues/3765
What if you add -keep class proguard.optimize.gson.** { *; } rule?

Hi bro.
I just changed the compose version.
The build is done and I get this after execution.
More complete error:
Exception in thread "main" java.lang.NoClassDefFoundError: proguard/optimize/gson/_OptimizedJsonWriter 	at androidx.compose.ui.scene.ComposeSceneMediator.<clinit>(Unknown Source) 	at androidx.compose.ui.scene.ComposeContainer.<init>(Unknown Source) 	at androidx.compose.ui.scene.ComposeContainer.<init>(Unknown Source) 	at androidx.compose.ui.awt.ComposeWindowPanel.<init>(Unknown Source) 	at androidx.compose.ui.awt.ComposeWindow.<init>(Unknown Source) 	at androidx.compose.ui.awt.ComposeWindow.<init>(Unknown Source) 	at androidx.compose.ui.window.Window_desktopKt$Window$3.invoke(Unknown Source) 	at androidx.compose.ui.window.Window_desktopKt$Window$3.invoke(Unknown Source) 	at androidx.compose.ui.window.Window_desktopKt$Window$10.invoke(Unknown Source) 	at androidx.compose.ui.window.Window_desktopKt$Window$10.invoke(Unknown Source) 	at androidx.compose.ui.window.AwtWindow_desktopKt$AwtWindow$2.invoke(Unknown Source) 	at androidx.compose.ui.window.AwtWindow_desktopKt$AwtWindow$2.invoke(Unknown Source) 	at androidx.compose.runtime.DisposableEffectImpl.onRemembered(Unknown Source) 	at androidx.compose.runtime.CompositionImpl$RememberEventDispatcher.dispatchRememberObservers(Unknown Source) 	at androidx.compose.runtime.CompositionImpl.applyChangesInLocked(Unknown Source) 	at androidx.compose.runtime.CompositionImpl.applyChanges(Unknown Source) 	at androidx.compose.runtime.Recomposer.composeInitial$runtime(Unknown Source) 	at androidx.compose.runtime.CompositionImpl.composeInitial(Unknown Source) 	at androidx.compose.runtime.CompositionImpl.setContent(Unknown Source) 	at androidx.compose.ui.window.Application_desktopKt$awaitApplication$2$1$2.invokeSuspend(Unknown Source) 	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Unknown Source) 	at kotlinx.coroutines.DispatchedTask.run(Unknown Source) 	at java.desktop/java.awt.event.InvocationEvent.dispatch(Unknown Source) 	at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source) 	at java.desktop/java.awt.EventQueue$4.run(Unknown Source) 	at java.desktop/java.awt.EventQueue$4.run(Unknown Source) 	at java.base/java.security.AccessController.doPrivileged(Unknown Source) 	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) 	at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source) 	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) 	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) 	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) 	at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source) 	at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source) 	at java.desktop/java.awt.EventDispatchThread.run(Unknown Source) Caused by: java.lang.ClassNotFoundException: proguard.optimize.gson._OptimizedJsonWriter 	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(Unknown Source) 	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(Unknown Source) 	at java.base/java.lang.ClassLoader.loadClass(Unknown Source) 	... 35 more
i add this -keep class proguard.optimize.gson.** { *; } to proguard roles, but the problem was not solved

Do you have a reproducer that can be shared here?

Unfortunately, I cannot share anything from this project

I see.
Given that the issue was noticed before even in 1.5.2 - https://github.com/JetBrains/compose-multiplatform/issues/3765, I think it's worth trying to ask/report it to Proguard.
Or pehaps try to use a newer Proguard version instead of a default - https://github.com/JetBrains/compose-multiplatform/blob/master/gradle-plugins/compose/src/main/kotlin/org/jetbrains/compose/desktop/application/dsl/ProguardSettings.kt#L20

But this problem occurred after the update to 1.6.0 (for me).
Is this from proguard?
I am using proguard version 7.4.1.

Compose itself doesn't use Gson and proguard.optimize.gson._OptimizedJsonWriter, so I suppose the new Compose version (the changes in it) rather made the proguard issue more prominent.
I looked into the recent changes in the classes shown in your stacktrace.
Could you please try 1.6.0-rc02 version?
Note: even if it works, the changes between rc02 and stable 1.6.0 do not have any problem with gson. It would just mean that different code is processed by Proguard leading to a different outcome.

OK, I will take a test and tell you the result

The problem still exists on version 1.6.0-rc02

The problem still exists on version 1.6.0-rc02

Is the stacktrace identical to the previous one?
What about 1.6.0-beta01?

Yes, it is the same as the previous one.
There is also a problem with version 1.6.0-beta01.

Another thing to try is:
compose.desktop {
    application {
        buildTypes.release.proguard {
            optimize.set(false) // disable te optimizations completely
        }
    }
}

Or to configure -optimizations manually (exclude an optimization for gson):
https://www.guardsquare.com/manual/configuration/optimizations

Do I understand correctly that it crashes right after the app starts?
Do you use Gson during app initialization?
If yes, is it possible to minimize the app start logic so it's still crashes but you could share a reproducer/snippet?

I think further it's worth to reach out to proguard. But an issue reproducer would be needed.

It's ok if full optimizations are disabled (how can I disable only gson optimizations ?).

Do I understand correctly that it crashes right after the app starts?

Yes

Do you use Gson during app initialization?

No
I am busy now, but I will help when I have time

I found this but I don't know if it just disables gson optimization or everything
-optimizations !library/gson


memory allocator for CPU

This PR add's support to allocate device memory using framework supplied allocators and deallocators functions.

framework allocators and deallocators  function pointers are defined as per the convention in ONNX runtime.
by default we will allocate memory using system malloc and free, if no framework allocators are provided.

@jbobba @dcaballe can you leave your feedback now. ? :)

TESTNOW

I compiled successfully on Mac OS, but I'm getting unit test failures:
[----------] Global test environment tear-down
[==========] 2869 tests from 64 test cases ran. (46066 ms total)
[  PASSED  ] 2694 tests.
[  FAILED  ] 175 tests, listed below:
[  FAILED  ] onnx_CPU.model_binary_add_abc
[  FAILED  ] onnx_CPU.model_add_abc_initializers
[  FAILED  ] onnx_CPU.model_addmul_abc
[  FAILED  ] onnx_CPU.model_conv2d_strides_padding
[  FAILED  ] onnx_CPU.model_conv2d_strides_no_padding
[  FAILED  ] onnx_CPU.model_conv2d_strides_assymetric_padding
[  FAILED  ] onnx_CPU.model_sum
[  FAILED  ] onnx_CPU.model_max
[  FAILED  ] onnx_CPU.model_gemm_abc
[  FAILED  ] onnx_CPU.model_add_bcast
[  FAILED  ] onnx_CPU.model_reduce_log_sum
[  FAILED  ] onnx_CPU.model_reduce_log_sum_exp
[  FAILED  ] onnx_CPU.model_reduce_l1
[  FAILED  ] onnx_CPU.model_reduce_l2
[  FAILED  ] onnx_CPU.model_reduce_mean
[  FAILED  ] onnx_CPU.model_reduce_sum_square
[  FAILED  ] onnx_CPU.model_elu
[  FAILED  ] onnx_CPU.prelu
[  FAILED  ] onnx_CPU.model_selu
[  FAILED  ] onnx_CPU.model_thresholded_relu
[  FAILED  ] onnx_CPU.model_custom_op
[  FAILED  ] onnx_CPU.model_custom_op_default_domain
[  FAILED  ] onnx_CPU.model_conv3d_bias
[  FAILED  ] onnx_CPU.model_matmul_vec_ten3d
[  FAILED  ] onnx_CPU.model_softplus
[  FAILED  ] onnx_CPU.model_softplus_infinity
[  FAILED  ] onnx_CPU.model_sum_opset8
[  FAILED  ] onnx_CPU.model_conv_transpose_w_groups
[  FAILED  ] onnx_CPU.model_missing_input
[  FAILED  ] onnx_CPU.model_global_lp_pool_p0
[  FAILED  ] onnx_CPU.model_global_lp_pool_p1
[  FAILED  ] onnx_CPU.model_global_lp_pool_p2
[  FAILED  ] onnx_CPU.model_global_lp_pool_p3
[  FAILED  ] onnx_CPU.model_one_hot_with_axis
[  FAILED  ] onnx_CPU.model_one_hot_without_axis
[  FAILED  ] onnx_CPU.model_where
[  FAILED  ] onnx_CPU.model_quant_conv_linear
[  FAILED  ] CPU.convolution_2d_1item
[  FAILED  ] CPU.convolution_2d_1item_padded_1_1x1_1
[  FAILED  ] CPU.convolution_2d_1item_padded_2_3x4_5
[  FAILED  ] CPU.convolution_2d_2items
[  FAILED  ] CPU.convolution_2d_2items_strided
[  FAILED  ] CPU.convolution_2d_2items_strided_padded
[  FAILED  ] CPU.convolution_2d_2items_strided_padded_same
[  FAILED  ] CPU.convolution_2d_2items_dilated
[  FAILED  ] CPU.convolution_2d_2items_dilated_padded
[  FAILED  ] CPU.convolution_3d_2items
[  FAILED  ] CPU.abc
[  FAILED  ] CPU.abc_int64
[  FAILED  ] CPU.slice_matrix_axis_0_overlap
[  FAILED  ] CPU.slice_matrix_axis_0_in_place_with_reshape
[  FAILED  ] CPU.replace_slice_matrix_inplace
[  FAILED  ] CPU.convolution_outlining
[  FAILED  ] CPU.computation_reuse
[  FAILED  ] CPU.batch_norm_bprop_n4c3h2w2
[  FAILED  ] CPU.topk_1d_max_all
[  FAILED  ] CPU.topk_1d_max_partial
[  FAILED  ] CPU.topk_1d_max_one
[  FAILED  ] CPU.topk_1d_min_all
[  FAILED  ] CPU.topk_1d_min_partial
[  FAILED  ] CPU.topk_1d_min_one
[  FAILED  ] CPU.topk_3d_max_all
[  FAILED  ] CPU.topk_int64
[  FAILED  ] CPU.topk_5d_max_partial
[  FAILED  ] CPU.topk_3d_max_partial
[  FAILED  ] CPU.topk_3d_max_one
[  FAILED  ] CPU.topk_3d_min_all
[  FAILED  ] CPU.topk_3d_min_partial
[  FAILED  ] CPU.topk_3d_min_one
[  FAILED  ] CPU.topk_2d_max_all
[  FAILED  ] CPU.topk_2d_max_partial
[  FAILED  ] CPU.topk_2d_max_one
[  FAILED  ] CPU.topk_2d_min_one
[  FAILED  ] CPU.topk_3d_large_input_max
[  FAILED  ] CPU.topk_3d_large_input_min
[  FAILED  ] CPU.topk_3d_single_output
[  FAILED  ] CPU.broadcast_vector_rowwise_reversed
[  FAILED  ] CPU.divide_adjoint_stability
[  FAILED  ] CPU.tensor_copy_from
[  FAILED  ] CPU.backwards_maxpool_n4_c1_hw4_2x2_max
[  FAILED  ] CPU.backwards_maxpool_n2_c1_hw5_3x3_str2_max
[  FAILED  ] CPU.backwards_abs
[  FAILED  ] CPU.backwards_acos
[  FAILED  ] CPU.backwards_add_nested
[  FAILED  ] CPU.backwards_asin
[  FAILED  ] CPU.backwards_atan
[  FAILED  ] CPU.backwards_cos
[  FAILED  ] CPU.backwards_cosh
[  FAILED  ] CPU.backwards_divide
[  FAILED  ] CPU.backwards_dot_tensor_vector
[  FAILED  ] CPU.backwards_dot_tensor3_tensor3
[  FAILED  ] CPU.backwards_exp
[  FAILED  ] CPU.backwards_maximum
[  FAILED  ] CPU.backwards_minimum
[  FAILED  ] CPU.backwards_power
[  FAILED  ] CPU.backwards_relu
[  FAILED  ] CPU.backwards_select
[  FAILED  ] CPU.backwards_select_nested
[  FAILED  ] CPU.backwards_sin
[  FAILED  ] CPU.backwards_sinh
[  FAILED  ] CPU.backwards_slice
[  FAILED  ] CPU.backwards_softmax_all
[  FAILED  ] CPU.backwards_softmax_axis
[  FAILED  ] CPU.backwards_softmax_underflow
[  FAILED  ] CPU.backwards_softmax_3d
[  FAILED  ] CPU.backwards_tan
[  FAILED  ] CPU.backwards_tanh
[  FAILED  ] CPU.backwards_abc
[  FAILED  ] CPU.backwards_maxpool_n4c1h4w4_kh2kw2_sh1sw1
[  FAILED  ] CPU.backwards_maxpool_n2c1h5w5_kh3kw3_sh2sw2
[  FAILED  ] INTERPRETER.tensor_copy_from
[  FAILED  ] builder.scaled_QC
[  FAILED  ] builder.scaled_QC_with_relu
[  FAILED  ] builder.scaled_QC_with_bias_and_relu
[  FAILED  ] builder.scaled_QC_with_bias_add_and_relu
[  FAILED  ] builder.dynamic_scaled_QC_with_bias_add_and_relu
[  FAILED  ] builder.scaled_QC_with_bias_signed_add_and_relu
[  FAILED  ] builder.scaled_QC_with_bias_signed_add_and_relu_nhwc
[  FAILED  ] builder.dynamic_scaled_QC_with_bias_signed_add_and_relu
[  FAILED  ] builder.dynamic_scaled_DQ
[  FAILED  ] builder.scaled_quantize_concat_signed
[  FAILED  ] builder.scaled_quantize_concat_unsigned_varying
[  FAILED  ] builder.dynamic_scaled_QD
[  FAILED  ] builder.dynamic_scaled_QD_with_bias
[  FAILED  ] cpu_fusion.zero_padded_reshaped_conv
[  FAILED  ] cpu_fusion.zero_padded_conv
[  FAILED  ] cpu_fusion.batchnorm_fprop_relu_b1c2h2w2
[  FAILED  ] cpu_fusion.conv_bias_relu_n2c1h2w2_2
[  FAILED  ] cpu_fusion.fuse_groupconv_batchnorm1
[  FAILED  ] cpu_fusion.fuse_groupconv_batchnorm2
[  FAILED  ] cpu_fusion.fuse_groupconv_batchnorm4
[  FAILED  ] cpu_fusion.rnn_matrix_fusion_eval_pass
[  FAILED  ] cpu_fusion.conv_batch_norm_folding
[  FAILED  ] cpu_fusion.convbias_batch_norm_folding
[  FAILED  ] cpu_fusion.conv_affine_folding
[  FAILED  ] cpu_fusion.convbias_affine_folding1
[  FAILED  ] cpu_fusion.convbias_affine_folding2
[  FAILED  ] cpu_fusion.group_convolution
[  FAILED  ] cpu_fusion.sigmoid_multiply_fusion_forward
[  FAILED  ] cpu_fusion.sigmoid_multiply_fusion_backward
[  FAILED  ] cpu_fusion.fuse_update_slice_inplace
[  FAILED  ] cpu_fusion.fuse_update_slice_strided_inplace
[  FAILED  ] cpu_fusion.bi_rnn_interpreter_vs_cpu
[  FAILED  ] cpu_quant_fusion.qconv_relu
[  FAILED  ] cpu_quant_fusion.qconvb_relu
[  FAILED  ] cpu_quant_fusion.qavg_pool
[  FAILED  ] cpu_quant_fusion.qmax_pool
[  FAILED  ] cpu_quant_fusion.qconcat
[  FAILED  ] cpu_quant_fusion.dq_q
[  FAILED  ] cpu_quant_fusion.qconvbsa
[  FAILED  ] cpu_quant_fusion.qconvba
[  FAILED  ] cpu_test.trivial_in_place_relu
[  FAILED  ] cpu_test.trivial_in_place_relu_fail
[  FAILED  ] cpu_test.abc_tbb
[  FAILED  ] cpu_test.mkldnn_layouts
[  FAILED  ] cpu_test.reshape_layout_optimizations2
[  FAILED  ] cpu_test.reshape_layout_optimizations3
[  FAILED  ] cpu_test.reshape_layout_optimizations4
[  FAILED  ] cpu_test.reshape_layout_optimizations6
[  FAILED  ] cpu_test.reshape_layout_optimizations7
[  FAILED  ] cpu_test.convert_layout
[  FAILED  ] cpu_test.post_layout_reshape_convertlayout
[  FAILED  ] cpu_test.mkldnn_layouts_eltwise
[  FAILED  ] cpu_test.memory_reuse_destructive_oi_relu
[  FAILED  ] cpu_test.memory_reuse_cacheable_no_destructive_oi_relu
[  FAILED  ] cpu_test.memory_reuse_in_place_slice_after_in_place_concat
[  FAILED  ] cpu_test.rotated_pooling
[  FAILED  ] cpu_test.conv_test_winograd
[  FAILED  ] debugger.add_breakpoint
[  FAILED  ] debugger.stepping
[  FAILED  ] debugger.delete_breakpoint
[  FAILED  ] debugger.while_stepping
[  FAILED  ] debugger.resume
[  FAILED  ] tracer.basic
[  FAILED  ] cpu_codegen.abc

@postrational can you please ping more details on slack with gdb trace or exception message. I will take a look. I am not able to reproduce this locally on linux machine.

Tests on Mac look clean now.

When used with ONNXRuntime we get a core dump.
[ RUN      ] QuantizeLinearMatmulOpTest.QLinearMatMul3D
[WARN] 2019-04-18T14:50:11z src/ngraph/frontend/onnx_import/op/matmul.cpp 80    [node1] Zero point different from 0 is not supported. Assuming Zero point is 0
onnxruntime_test_all: /home/tdolbnia/projects/clean/private-onnxruntime/build/Debug/ngraph/src/project_ngraph-build/mkldnn/src/src/common/type_helpers.hpp:330: mkldnn::impl::data_type_t mkldnn::impl::types::default_accum_data_type(mkldnn::impl::data_type_t, mkldnn::impl::data_type_t, mkldnn::impl::data_type_t, mkldnn::impl::prop_kind_t): Assertion `!"unimplemented use-case: no default parameters available"' failed.
Aborted (core dumped)

I'll try to run it under gdb to find out where.

[pthoreho@nervana-skx21 build]$ ./onnxruntime_test_all --gtest_filter="QuantizeLinearMatmulOpTest.QLinearMatMul3D"
Initializing unit testing.
Note: Google Test filter = QuantizeLinearMatmulOpTest.QLinearMatMul3D
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from QuantizeLinearMatmulOpTest
[ RUN      ] QuantizeLinearMatmulOpTest.QLinearMatMul3D
[WARN] 2019-04-24T08:08:18z src/ngraph/frontend/onnx_import/op/matmul.cpp 80    [node1] Zero point different from 0 is not supported. Assuming Zero point is 0
2019-04-24 00:08:18.815443539 [F:onnxruntime:Default, ngraph_custom_op.cc:125 Initialize] Exception while compiling nGraph Op: NGRAPHExecutionProvider_NGRAPHCustomOp_1_0std::exception
2019-04-24 00:08:18.815646300 [E:onnxruntime:Default, provider_test_utils.cc:323 ExecuteModel] Run failed with status: /nfs/site/home/pthoreho/onnxruntime/onnxruntime/core/providers/ngraph/ngraph_custom_op.cc:143 onnxruntime::common::Status onnxruntime::ngraph_ep::NGRAPHCustomOp::Compute(const onnxruntime::ONNXRunTimeTensor*, size_t, onnxruntime::ONNXRunTimeTensor*, size_t) const ng_curr_exe_ != nullptr was false.
Stacktrace:

/nfs/site/home/pthoreho/onnxruntime/onnxruntime/test/providers/provider_test_utils.cc:324: Failure
Value of: status.IsOK()
  Actual: false
Expected: true
/nfs/site/home/pthoreho/onnxruntime/onnxruntime/core/providers/ngraph/ngraph_custom_op.cc:143 onnxruntime::common::Status onnxruntime::ngraph_ep::NGRAPHCustomOp::Compute(const onnxruntime::ONNXRunTimeTensor*, size_t, onnxruntime::ONNXRunTimeTensor*, size_t) const ng_curr_exe_ != nullptr was false.
Stacktrace:

[  FAILED  ] QuantizeLinearMatmulOpTest.QLinearMatMul3D (101 ms)
[----------] 1 test from QuantizeLinearMatmulOpTest (101 ms total)

[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (101 ms total)
[  PASSED  ] 0 tests.
[  FAILED  ] 1 test, listed below:
[  FAILED  ] QuantizeLinearMatmulOpTest.QLinearMatMul3D

 1 FAILED TEST

[pthoreho@nervana-skx21 build]$ git diff
diff --git a/cmake/external/ngraph.cmake b/cmake/external/ngraph.cmake
index 3561b86d..e8e60eeb 100644
--- a/cmake/external/ngraph.cmake
+++ b/cmake/external/ngraph.cmake
@@ -11,7 +11,7 @@ set(ngraph_SRC ${CMAKE_CURRENT_BINARY_DIR}/ngraph/src/project_ngraph)
 set(prebuilt_ONNX_SOURCE_DIR "${PROJECT_SOURCE_DIR}/external/onnx")
 set(prebuilt_ONNX_BINARY_DIR "${CMAKE_CURRENT_BINARY_DIR}/onnx")
 set(ngraph_URL "https://github.com/NervanaSystems/ngraph.git")
-set(ngraph_TAG "v0.18.1-rc.0")
+set(ngraph_TAG "490d66986303ea15724030e118870cdcc0b1b17f")

 # Libraries for python package.
 set(NGRAPH_SHARED_LIB libngraph.so)
[pthoreho@nervana-skx21 build]$

This particular onnx quantized test is failing in current ngraph master as well 490d66986303ea15724030e118870cdcc0b1b17f , looks like Quantized bug. will check

@postrational i was not able to replicate the segfault issue in my local system onnx ci is facing, if their is any trace i could able to get, it would be really useful to replicate and debug the issue

@postrational do we have any way to reproduce onnx-ci failure? sometimes it passes and sometimes it fails randomly @ different unit tests. I was not able to reproduce locally as well. Not sure whats really going on :(
Regards,
Pruthvi


🐛 Appointment data is not correct

Cc: @JackDevAU @jimmidier  @pierssinclairssw @adamcogan

To myself,
Describe the Bug

For the query "who is on client work?", the data is not correct.
It returned 4 people but there are more than 4 people on client work based on CRM.
Tasks

[x] Investigate
[x] Fix

Acceptance Criteria

[x] Meets Definition of Done
[x] Get correct for "who is on Client work?"
[x] Get correct for "who is on Client work in {{ Location }}?"

Screenshots

Figure: 4 people on client work in SophieBot

Figure: More than 4 people on client work in CRM
Thanks!

[x] Get correct for "who is on Client work?"

Done - Fixed in https://dev.azure.com/ssw/SSW.SophieBot/_git/SSW.People.API/commit/557957c0c7700ebe0d6fd3a97249ba26b4036c14

[x] Get correct for "who is on Client work in {{ Location }}?"

Done - Fix in https://github.com/SSWConsulting/SSW.SophieBot/pull/647

#647 reverted. Still need to fix:

[ ]  Get correct for "who is on Client work in {{ Location }}?"


Features request: formatting

There are several things in alive formatter that i'd like to be able to change
1)Comments after last line of form for some reason are authomatically sent to next line
 before formatting
 after formatting
And i'd like to at least be able to tell formatter not to do that
2)Formatter automatically remove all new lines between forms except one.
 before formatting
 after formatting
It would be nice to change it so it will be able place two new lines between forms, or don't change amount of lines between forms at all.
3)If you use format with parinfer, then formating sometimes changes bracket structure.
I found workaround -- I binded multi-command "change parinfer mode to paren mode, then format, then change it back", but perhaps there is a more elegant way to fix it on your side. If yes, that would be nice.

Yeah, it shouldn't do that. Easy fix, though. It's viewing the comment as the next form in the file so putting it on its own line.

I'll add that. I thought I did already, but apparently not.

Do you have an example of what it's doing? I haven't used parinfer.

Sorry it's taken me forever and a day to get this published. Some of the other stuff I wanted to get in turned out to be more work than expected and, well, life...
Both of these should be fixed in the version I just pushed. I added an option alive.format.maxBlankLines that specifies the max number of lines between top level expressions.

i found example of one of my old files with behaviour, described at (3)
indentation in this file is wrong, but it is consistent with rule "if next line begins after opening of parenthesis, then it is inside it"
(defun main (&key (delay 2000))
  (sdl2:with-init (:video)
    (sdl2:With-Window (window :Title "test" :w *screen-width* :h *screen-height*)
      (let ((screen-surface (sdl2:get-window-surface window)))
         (sdl2:fill-rect screen-surface
          nil
          (sdl2:map-rgb (sdl2:surface-format screen-surface) 0 0 0))
         (sdl2:update-window window)
         (sdl2:delay delay)))))

if i try to format it with parinfer  (with smart mode on), then it formats it to this
(defun main (&key (delay 2000))
  (sdl2:with-init (:video)
                  (sdl2:With-Window (window :Title "test" :w *screen-width* :h *screen-height*)
                                    (let ((screen-surface (sdl2:get-window-surface window)))
                                      (sdl2:fill-rect screen-surface
                                                                                nil
                                                                                (sdl2:map-rgb (sdl2:surface-format screen-surface) 0 0 0
                                                                                (sdl2:update-window window)))
                                      (sdl2:delay delay)))))


Support for Calico 3.10

Rancher version:
v2.3.2
Description:
We need to work with Calico Ver 3.10 because of the new global selectors.
Currently the default is 3.8.1; Do we know when we may see an upgrade?

When reviewing calico 3.10, we should ensure we update the following images to the latest version:
https://github.com/rancher/kontainer-driver-metadata/blob/b0b335ca8f3c664f77f54525cdafef3ef4596ca7/rke/k8s_rke_system_images.go#L1799-L1806

Add new images to be pushed in this file: https://github.com/rawmind0/rancher/blob/c13661520987f911fb6020347339969860912805/scripts/istio-images-mirror

Since k8s 1.17 was released out of band, make sure to increment to a new k8s 1.17 version v1.17.0-rancher1-2.
Also, can you make sure to comment which Rancher release,  the k8s versions was added.
Can you also add a comment to the v1.17.0-rancher1-1 that this was released "out of band"

@brendarearden we need to also add this into k8s 1.16 due to some issues we're finding with upgrades with k8s 1.17. can you add it into k-d-m for k8s 1.16?

Do you want me to upgrade it for the most recent version of k8s 1.16.3 or do I need to add changes for all of the v1.16 (1.16.3, 1.16.2, 1.16.1)? Currently the default version is v1.16.3.

k8s v1.16.4-rancher1-1 and v1.17.0-rancher1-2 both have Calico 3.10.2 available for testing

Verified on rancher 2.3-head- commit id: a4f19bb0b
k8s - 1.16 and 1.17 have rancher/calico-node:v3.10.2

this should be ready to test with the latest master build

Verified on master-head - commit id: fa2cbfc57

k8s - 1.16 and 1.17 have rancher/calico-node:v3.10.2
automation checks have passed on both clusters with k8s - 1.16 and 1.17


WriteStream didn't save in MongoDB

Hello,
It's my first time using gridfs with mongoose and I just followed the steps from the guide.
But when I upload my picture my
writestream.on('finish', function(file){
      console.log(file);
    });

is never called.
Here is my entire code.
router.post('/api/picture/profile', customMW.auth, upload.single('coverImage'), function(req, res) {

    var gridfs = app.get('gridfs');

    var writestream = gridfs.createWriteStream({
        mode : 'w',
        filename: 'myfile.txt'
    });
    var readStream = fs.createReadStream("/Users/clem/Desktop/myfile.txt");
    readStream.pipe(writestream);

    writestream.on('error', function(err){
      console.log(err);
    });

    writestream.on('finish', function(file){
      console.log(file);
    });

var Grid = require('gridfs-stream');
Grid.mongo = mongoosedb.mongo;

mongoosedb.Promise = global.Promise;
mongoosedb.connect("mongodb://localhost/promin");

var conn = mongoosedb.createConnection("mongodb://localhost/promin");
//var conn = mongoosedb.connection;

conn.once('open', function(){
  var gfs = Grid(conn);
  app.set('gridfs', gfs);
  app.set('grid', Grid);
})

When I set the writestream.on('error' , function() ...) nothing is happening too ...
What I did wrong ?

You seem to be passing the connection object to the Grid constructor, which according to the examples should be provided with the db object that can be accesible, in your code, at conn.db.
Maybe this is the cause?

Oh thanks you very much.
It seems I tried in the first place and that wasn't working so I just left this solution but maybe it was not working for some other reason.
TY !

Wow, I was doing the exact same thing and it was causing a whole host of problems.
I have some boiler plate express code that I had been using that looks like:
mongoose.connect(dbURL);
const db = mongoose.connection;
db.on('error', console.error.bind(console, 'connection error:'));
db.once('open', function() {
   ...
   const gfs = Grid(db, mongoose.mongo);          // BAD!!!
   const gfs = Grid(db.db, mongoose.mongo);     // Terrible variable names but works
});

However my db variable was actually just a mongoose.connection object and thus I was passing that to the Grid constructor.
Using db.db (or better yet some sensible variable names solves the problem).
Thanks!


Lily/containerd bump 1.7.14

What type of PR is this?

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Requirements:

[ ] uses conventional commit messages

[ ] includes documentation
[ ] adds unit tests
[ ] tested upgrade from previous version

Special notes for your reviewer:
Release note:
none

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 79.39%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2292

Relevant Lines:
2887

💛  - Coveralls

containerd changes lgtm I think, lets wait on abe2e's (if they would actually not flake...) and test builds first though


Remove 'Tower' from the playbooks list title

Remove 'Tower' from the playbooks list title
Links
https://bugzilla.redhat.com/show_bug.cgi?id=1431070

Marking euwe/no, this file is not present in euwe.


Create the experimental presubmit build to cover those experimental features

Problem
For new IM feature in example and device controller and other app, we need to exercise them in experimental presubmit to avoid the breakage, and this way, we can measure code size increase.
https://github.com/project-chip/connectedhomeip/blob/master/src/controller/CHIPDeviceController.cpp#L159
one example feature flag is CHIP_APP_USE_INTERACTION_MODEL

after chatting with @bzbarsky-apple, we need to have one experimental presubmit build to measure the new experimental feature's code size and quality in example app


Issue : Head clipping with camera when sprinting

When viewbob multiplier is set to at least 3 the camera will get out of the and we can it clip.
Maybe hiding the head by shrinking it down for the player point of view could fix that ?

should be fixed now?


Audit and make documentation for command BFEXISTS consistent

The documentation of the command [BFEXISTS](https://dicedb.io/commands/bfexists/) present in the docs could have become stale. We need your help to ensure that the documentation is complete, correct, and consistent.  Completing this issue will give you much-needed exposure to how the command is implemented and the different parameters it accepts. Hence, this is a great way to build a good understanding of the project and its functionality. While still making a significant contribution. Here's what you need to do:

Go through the documentation of the command and run all the examples, making sure they all work as expected
If the same command is present in Redis, then the expected output of the DiceDB command is the same as the Redis output
If the command is not in Redis, then as per your judgment, raise an issue with this template or fix the documentation and raise a pull request.
The documentation should contain the following sections in the following order

short and concise introduction paragraph about the command covering what it does
Syntax
Parameters: List all the parameters the command accepts, and ignore the section if there are no parameters
Return values: List all possible return values and under what condition
Behaviour: Describe the behavior of the command, what it does, how it does it, some internal specifics if any
Errors: List all possible errors the command can throw and under what condition
Examples: List all possible examples of the command and the expected output. Assume CLI implementation

Note: The title of the sections should be the exact strings mentioned above, like "Examples", "Return values", etc.
Note: The description of the command in Frontmatter of the command.md file is the first paragraph (introduction) of the command.
Go through the DiceDB/dice repository and explore the command implementation

to understand all possible return values
to understand all possible error values and conditions
to understand different parameters the command accepts

Please use the documentation of the SET command as the reference point and structure the
documentation of this command in a very similar way, including the following points

if you see any "Conclusion" section, remove it
the headers (h1, h2, h3) should be appropriately used
the CLI prompt should be <IP_ADDRESS>:7379> and not anything else
Use markdown tables for parameters and return values (ref SET command documentation)
wrap any command or paramter in backticks (`) to highlight them
the section header should be capitalize as used in the SET command documentation

If you find any inconsistencies, please fix the documentation and raise the PR.
The core idea of this exercise is to ensure that the documentation is consistent, correct, and complete.
Make sure you comment on the other issues you created (if any) as a comment on this issue and also any PR (if any) that you created.
Thank you for picking this up and contributing to the DiceDB. It means a ton.

Hello, @arpitbbhayani I would like to work on this issue, can you assign it to me

Hello, @arpitbbhayani
I would like to work on this issue. I have experience with Go and am eager to contribute to improving the documentation for the BFEXISTS command.
Please assign this issue to me.
Thank you!

@Rhythm-08 assigned, thanks for contributing.

Hello @Rhythm-08,
There has been no activity on this issue for the past 5 days.
It would be awesome if you keep posting updates to this issue so that we know you are actively working on it.
We are really eager to close this issue at the earliest, hence if we continue to see the inactivity, we will have to reassign the issue to someone else. We are doing this to ensure that the project maintains its momentum and others are not blocked on this work.
Just drop a comment with the current status of the work or share any issues you are facing. We can always chip in to help you out.
Thanks again.

Hi @arpitbbhayani ,
Apologies for the delay. I’ve been tied up recently but will have the PR ready by the end of the weekend. I appreciate your patience and am actively working to get this resolved as soon as possible.
Thanks again for your understanding!"

Hello @Rhythm-08,
There has been no activity on this issue for the past 5 days.
It would be awesome if you keep posting updates to this issue so that we know you are actively working on it.
We are really eager to close this issue at the earliest, hence if we continue to see the inactivity, we will have to reassign the issue to someone else. We are doing this to ensure that the project maintains its momentum and others are not blocked on this work.
Just drop a comment with the current status of the work or share any issues you are facing. We can always chip in to help you out.
Thanks again.

Hello, I might not able to resolve this issue due to my different commitments so, you can unassign this task.
Thanks for assigning this issue and sorry for not able to resolve it sooner🙏

Closed via #1117


Downgrade to HTTP 1.1 for SSL renegotiaton does not work with custom error page

When accessing a location that needs a client certificate, a downgrade to HTTP 1.1 may be necessary if the current connection uses HTTP/2. This must be done because HTTP/2 does not allow SSL renegotiations.
mod_h2 already handles this case, it sets a request note "ssl-renegotiate-forbidden" and later evaluates it in h2_headers_rcreate(). An RST_STREAM is sent to the client with the error code HTTP_1_1_REQUIRED.
This does not work if there are custom error pages configured with ErrorDocument. To show these error pages, Apache creates an internal redirection in ap_die_r(). This creates a new internal request which does not have the "ssl-renegotiate-forbidden" note.
Proposed patch:
diff --git a/modules/http2/h2_headers.c b/modules/http2/h2_headers.c
index 8b7add6230..617389e562 100644
--- a/modules/http2/h2_headers.c
+++ b/modules/http2/h2_headers.c
@@ -128,16 +128,20 @@ h2_headers *h2_headers_rcreate(request_rec *r, int status,
 {
     h2_headers *headers = h2_headers_create(status, header, r->notes, 0, pool);
     if (headers->status == HTTP_FORBIDDEN) {
-        const char *cause = apr_table_get(r->notes, "ssl-renegotiate-forbidden");
-        if (cause) {
-            /* This request triggered a TLS renegotiation that is now allowed
-             * in HTTP/2. Tell the client that it should use HTTP/1.1 for this.
-             */
-            ap_log_rerror(APLOG_MARK, APLOG_DEBUG, headers->status, r,
-                          APLOGNO(03061)
-                          "h2_headers(%ld): renegotiate forbidden, cause: %s",
-                          (long)r->connection->id, cause);
-            headers->status = H2_ERR_HTTP_1_1_REQUIRED;
+        request_rec *r_prev;
+        for (r_prev = r; r_prev != NULL; r_prev = r_prev->prev) {
+            const char *cause = apr_table_get(r_prev->notes, "ssl-renegotiate-forbidden");
+            if (cause) {
+                /* This request triggered a TLS renegotiation that is not allowed
+                 * in HTTP/2. Tell the client that it should use HTTP/1.1 for this.
+                 */
+                ap_log_rerror(APLOG_MARK, APLOG_DEBUG, headers->status, r,
+                              APLOGNO(03061)
+                              "h2_headers(%ld): renegotiate forbidden, cause: %s",
+                              (long)r->connection->id, cause);
+                headers->status = H2_ERR_HTTP_1_1_REQUIRED;
+                break;
+            }
         }
     }
     if (is_unsafe(r->server)) {

Do you have a configuration snipplet to reproduce this? I tried to add a testcase, via sth. like
<Location /renegotiate/cipher-err-doc>
  SSLCipherSuite ECDHE-RSA-CHACHA20-POLY1305
  ErrorDocument 403 "Access really denied"
 </Location>

but the previous code worked.

The ErrorDocument must point to a file and the file must exist.
Here is an Apache configuration that shows the problem:
LoadModule mpm_event_module /usr/lib/apache2/modules/mod_mpm_event.so
LoadModule ssl_module /usr/lib/apache2/modules/mod_ssl.so
LoadModule http2_module /usr/lib/apache2/modules/mod_http2.so
LoadModule authz_core_module /usr/lib/apache2/modules/mod_authz_core.so

ServerName www.example.org
Listen 8443

DocumentRoot /home/pi/test/www

ErrorLog /tmp/error.log
PidFile /dev/null

SSLEngine On

SSLCertificateFile /home/pi/test/cert.pem
SSLCertificateKeyFile /home/pi/test/key.pem

SSLCACertificateFile /home/pi/test/MyRootCA.pem
SSLVerifyClient optional

Protocols h2 http/1.1

ErrorDocument 403 /forbidden.html

<VirtualHost *:8443>
    <Location /test>
        SSLVerifyClient require
    </Location>
</VirtualHost>

I used these commands to create the client certificate (MyRootCA.pem, MyClient1.pem, MyClient1.key): https://kb.op5.com/pages/viewpage.action?pageId=19073746
The server certificate (cert.pem, key.pem) can be created like this: https://stackoverflow.com/a/10176685
List of files:
$ find /home/pi/test | sort
/home/pi/test
/home/pi/test/cert.pem
/home/pi/test/httpd.conf
/home/pi/test/key.pem
/home/pi/test/MyClient1.csr
/home/pi/test/MyClient1.key
/home/pi/test/MyClient1.pem
/home/pi/test/MyRootCA.key
/home/pi/test/MyRootCA.pem
/home/pi/test/MyRootCA.srl
/home/pi/test/www
/home/pi/test/www/forbidden.html
/home/pi/test/www/index.html
/home/pi/test/www/test
/home/pi/test/www/test/index.html

This curl command then displays the contents of "forbidden.html":
curl --http2 -k -v --cert MyClient1.pem --key MyClient1.key https://localhost:8443/test/index.html

It works as expected if you comment out the "ErrorDocument" directive:
curl: (92) HTTP/2 stream 1 was not closed cleanly: HTTP_1_1_REQUIRED (err 13)

Thanks! That reproduces it and now has a test case.


Fix typo in Ruby numbers introduction

I added a change to try to get configlet to trigger finally, after two days.  It still said "Waiting for status to be reported" after 2 days.
If it still does not run I will see what I can see sometime this week.

@ErikSchierboom Can you see why the confliglet is not reporting status for that last check?

@kotp That's the old configlet workflow. @iHiD could you disable that?

Thank you @Auk14HP !


Adds pypi CI

Adds CI for packaging and releasing to PyPI.
This will need #243 to be merged before. As that will ensure if packaging is alright. Then we can proceed for this.
Helps #209 #182 #157 .

Codecov Report

Merging #244 into master will decrease coverage by 0.18%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #244      +/-   ##
==========================================
- Coverage   80.17%   79.98%   -0.19%
==========================================
  Files         101      101
  Lines        1897     1879      -18
==========================================
- Hits         1521     1503      -18
  Misses        376      376

Flag
Coverage Δ

#unittests
79.98% <ø> (-0.19%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

mantisshrimp/core/bbox.py
64.70% <0.00%> (-4.79%)
:arrow_down:

mantisshrimp/metrics/metric.py
90.90% <0.00%> (-0.76%)
:arrow_down:

mantisshrimp/core/mask.py
84.29% <0.00%> (-0.63%)
:arrow_down:

mantisshrimp/parsers/splits.py
95.65% <0.00%> (-0.19%)
:arrow_down:

mantisshrimp/parsers/parser.py
95.00% <0.00%> (-0.13%)
:arrow_down:

mantisshrimp/models/rcnn/fastai/callbacks.py
100.00% <0.00%> (ø)

...antisshrimp/models/rcnn/lightning/model_adapter.py
100.00% <0.00%> (ø)

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 8fddc6d...18fff4c. Read the comment docs.

This too is ready to merge @lgvaz . Checks pass as suggested. We need to do trial run checks of the release.

This one I still need some more time to fully understand what is happening

@lgvaz
Now that we fully understand how it works. We can merge it. And try it. I have tried this CI action to deploy package. It's pretty simple

Can you give some usage examples?
Give us a piece of code on how to correctly tag a commit for this to work, what will be shown in Pypi, how to tag pre-release vs release.

@lgvaz I was a bit away for few days. (Univ exams, recruitements etc). I will add these stuff and show you a demo how this works in a meet maybe.

Cool, don't worry, I'll this additional info directly here then =)


Atm machine

Have you read the Contributing Guidelines ?
Yes
I thought to take a realistic topic so
that I can implement it in a better and more understandable way. ATM is to help people in managing bank activities without
visiting bank and in a safe, secured manner. With this in mind, I
chose to make a project on ATMs with works similar to real-world ATMs.
Description
Fixes #510

Checklist

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

Related Issues or Pull Requests
This is related to issue #510 and is a modified version of the PR #559

@Kushal997-das please review this PR, relating to issue #510

@Kushal997-das please review this PR, relating to issue #510 and an update on #559, and merge this upon finding it correct.

@AnIkeT126 Great Looks good to me. @Kushal997-das @prakhar3062 have a look

thanks @Kushal997-das, @photon149 has approved this PR, can you please merge this.


Error when installing from github and pip

Hello developers!
I've tried to install Armstrong multiple times in a separate and clean virtualenv and I always get the same error:
Caught TypeError while rendering: init() keywords must be strings
Not sure what's going on. Seems to be a a custom tag error, but I could not debug it.
Here's the full traceback:
http://dpaste.com/628463/
Thanks!
Rodrigo Landerdahl

I installed Armstrong today on a fresh VM (ubuntu 11.4 / python 2.7.1) and it worked fine.
It's still not working on the original machines (ubuntu 9.10 and osx), though. I'll take a closer look this weekend.
BTW, why is there a separate CLI for armstrong, instead of manage.py commands?

Hey @rlander: we've worked out what the problem is, but we haven't tracked down the specific version where the problem was introduced.  We have a fix in the works so it will work on the older versions of Python, but 2.7 is the official recommendation for Armstrong.
About armstrong instead of manage.py, that's a question better suited to the mailing list.

Thanks for the update, @tswicegood. I'll send my question to the mailing list.

Closing this since it works as designed on 2.7


Skip tests for a particular variant?

Is there a way to skip tests for a specific variant(s)?
The reason I ask is, we have a variant that we can deploy to our devices for mocked scenarios.  This is mostly used by the developers when the backend is down.  We really don't care if the unit tests pass this particular variant, so we'd prefer to skip this variant all together to speed up the build process.
With that being said, it'd be nice if we could turn off/on the unit tests for a specific variant that would allow us to run those tests in a CI environment should we choose.

@emilesvt @naoyamakino
Are you running a command similar to gradlew test?
Have you tried simply running against single variants? For example: gradlew testFreeDebug testPaidDebug?

The plugin is being deprecated with the release of Robolectric 3.0. Closing open issues.


Cache CNI v1.1.6 in VHD

@tamilmani1989  should we add a reason we skipped 1.4, 1.5 into the description (bug or feature that only 1.6 fixes?)

@tamilmani1989 should we add a reason we skipped 1.4, 1.5 into the description (bug or feature that only 1.6 fixes?)

no cni updates on 1.4 and 1.5

@xuto2 can we pick this pr for next release?


CreateCommand doesn't allow for null parameters

CreateCommand takes an array of parameters but doesn't allow for that to be null, even though there is the impression given in some of the examples that this should be possible.
                foreach (var o in ps)
                {
                    cmd.Bind(o);
                }

needs to have a test wrapped around it:
            if (ps != null)
            {
                foreach (var o in ps)
                {
                    cmd.Bind(o);
                }
            }

otherwise passing null results in an exception being raised.

Which examples give this impression?


Tracedock domains found

Tracedock domains found for: https://github.com/AdguardTeam/cname-trackers/blob/master/trackers/tracedock.txt
host10.carl-ras.dk
alpha.tracedock.com
apollo.plein.nl
beta.simpel.nl
dtch.brunel.nl
exc.ns.nl
host10.ncoi.nl
host11.polaroid.com
host12.rvshare.com
r.kleertjes.com
s3.smartphonehoesjes.nl
sta.tracedock.com
style.onvz.nl
tdapi.wickey.nl
tdep.hema.nl
tdep.kvk.nl
tdk.petsplace.nl
two.tracedock.com

I tried the available script but unfortunately I'm not familiar enough with CNAME records. The domains does won't return the trackers in my experience.


Get fields to advertise their characteristic

We should probably add a method to the Field typeclass to return the characteristic of a field.  Among other things, this would let us add a test to make sure that the characteristic is actually prime (or zero).  With Data.Field.Galois you can define a supposed field of characteristic 1000 by writing Prime 1000 for example, and you don't get any complaints (not surprisingly: you'd presumably need compile-time primality checking at the type level for that). Things will go wrong when you try to do calculations in this "field" though.  If you're cutting and pasting numbers with dozens of digits then there's a danger that you might miss a digit or two, so we should add a test for this.  Note that Data.Field.Galois already includes a char function which returns the characteristic.
We'd also need primality testing functions for large numbers, but implementations of these already exist: see for example
http://hackage.haskell.org/package/arithmoi-<IP_ADDRESS>/docs/Math-NumberTheory-Primes-Testing.html
See https://wiki.haskell.org/Prime_numbers for lots of information about primality testing.

Note that the property tests for the field axioms aren't good enough to check this.  If you take a large prime p and look at Z_(p^2) then it will automatically satisfy the ring axioms and the only possible problem is with inveltibility of non-zero elements.  However, in this ring everything is invertible except multiples of p, and if p is enormous then you're very unlikely to randomly select a multiple of p.  Similar things are true in any ring Z_m where all of the prime factors of m are large.


Implement customizable torrc configuration

This PR makes the torrc configuration file easily customizable by the user.

Solves #140.


[iOS 15.4] [iOS] Webview not working properly only on iOS 15.4

Bug description:
I'm reporting an issue with a strange behaviour on this library. It happens only on iOS 15.4
I don't know if it depends entirely on this library, but when I try to open a webview, it sends to server more than one request to the page. It means when the request includes authentication, server will respond with 500 error.
To Reproduce:
Try to open a webview on a site page that requires authentication.
Expected behavior:
I expect to be logged in on the site page inside the webview.
Environment:

OS: only iOS
OS version: only 15.4
react-native version: 0.63
react-native-webview version: 11.17.2 (but with older versions too)

Im using auth0 authentification in Webview, and after updating ti 15.4 it stopped working correctly
its opens url as expected but after submitting login and passwor it should redirect to authentification page
But instead i have just blank screen
on Android DeepLinks stopped working from Webview

Try allowing popups/redirects in the phone browser. I currently have this issue and am trying to find a way to allow redirects regardless of the setting.  About to try the 'javaScriptCanOpenWindowsAutomatically' flag

We had this issue with a mobile app built in Xamarin and the solution was to add the following snippet to the Info.plist for each domain that was having this issue:
<key>NSAppTransportSecurity</key>
<dict>
    <key>NSExceptionDomains</key>
    <dict>
        <key>{domain}</key>
	<dict>
	    <key>NSExceptionRequiresForwardSecrecy</key>
	    <false/>
	</dict>
    </dict>
</dict>

We couldn't figure out if this was an issue with our servers or something with the new version of WebView, but this fixed it.

is there any update on this?

I'm wondering if this was resolved with the latest iOS updates or is it still an issue. The latest iOS now is 16.5.1c.


Sources for Term3

Hi,
I have been trying to find the sources for the term 3 simulator, but even on the term3 branch, under Scenes I can only find the Lake Track and the Jungle Track.
Can you give a hint on where to find the files (they are not in the downloadable archives, neither).
REgards,
Andreas

Please ignore, now it is visible...


Sprites are not working when i build .exe

Sprites are working normally when i run openblock gui but when i build the openblock desktop it does not work.
In .exe the sprite are showing in choose a sprite but when i click on the sprite it does not load on the canvas.
but the same thing works in openblock-gui.
Operating System- Windows 10

Follow the wiki instructions, remember to fetch static resources, otherwise resource files such as sprites will be missing from the desktop, causing you to be unable to load them.


Fails to start when using mysql as db backend

Ran into VARCHAR requires a length on dialect mysql when attempting to use it with MySQL. All the Unicode columns need a length field for MySQL to work.

https://github.com/yuvipanda/jupyterhub/commit/e0c9142ed1c3a808b2792c11314eade0fb31bffe is the fix, I'll make it into a pull request after cleaning it up soon.

PR done.


ima_emulator: fix IMA hash validation and add more options

ToMToU errors are handled by the IMA hash, so the correct hash algorithm
needs to be specified there (by default SHA1).
The option for measuring other files than config.IMA_ML was added.

@kkaarreell now it makes sense that the IMA emulator worked but on actual hardware it failed.

It would be great to have such a HW available for testing via Packit.

We could try to verify your parser against Ken's in his ibmtss package, but the issue is that we use the ASCII log and ibmtss uses the binary format.


Add support for openocd on stm32g0 and stm32g4 targets

This patch plus the update of the openocd https://github.com/zephyrproject-rtos/openocd/issues/24
will add the support of stm32g0 and stm32g4 soc with openocd
Fix https://github.com/zephyrproject-rtos/zephyr/issues/24055
Signed-off-by: Francois Ramu<EMAIL_ADDRESS>

put runner for the openocd in second position in each board.cmake file

Updating the doc files to mention the local openocd

add details in the PR itself

changing text to explain the use of openocd interface

refine doc/index.rst


Update Python API Reference

This file: https://github.com/lancedb/lancedb/blob/main/docs/src/python/python.md
Is missing some important classes. For example:

[ ] Async FTS indices

Hi @wjones127, I would like to contribute to this issue. Do you have any contributors.md file to see the steps to contribute to this? I have gone through the readme.md file and understood what this repo does but it would be helpful if you could guide me on how to get started with this issue.

There are instructions to build the documentation here: https://github.com/lancedb/lancedb/tree/main/docs
I would start by making sure you can build the docs. Instructions here: https://github.com/lancedb/lancedb/tree/main/docs
The page you are updating is https://lancedb.github.io/lancedb/python/python/
You should look through the Python files in python/python/lancedb and find classes and functions that are not present in this page yet. Then try to add them in the appropriate place. One example I've given that is missing is the async FTS index class, here.


Add Bson types and parser

Adds:

RegularExpression
MinKey
MaxKey
bson_null_t (special null type)
IndexedMap

Map that is ordered by insertion order

Bson (std::variant for Bson compatible types)
BsonDocument and BsonArray

type aliases for IndexedMap<Bson> and std::vector<Bson>

parser and to_json for serialisation and deserialisation

TODO:

Complete bson corpus tests
More coverage around parser

@tgoyne @ironage PTAL

@tgoyne ptal

@ironage TPAL

@tgoyne Any final comments before merging?


Credential display uses fields from metadata instead of resolved manifest

When a VC that is missing the name property is saved into wallet, the wallet shows a credential with an empty title.

In the pages related to saving (ex WACIIssuePage), the title is shown. This is because WACIIssuePage uses the credential name from the credential manifest (returned from resolveManifest) while the CredentialsPage uses the credential name from getCredentialMetadata

We should always use credential type to lookup and find right manifest.
https://github.com/trustbloc/wallet/blob/main/cmd/wallet-web/src/config/credential-output-descriptors.json#L2
Credential Name can be anything & it is optional too.


A missing game resolver

When an update comes in, sometimes it changes the name of an mra file. Today that mra just comes up as missing if it was used in a plan. Add a feature for the user to resolve this better.

An MVP of this was added in 0.24.0


piston::window doesn’t support the transparent attribute

I’m attempting to build a floating window whose background is transparent. It looks like the underlying windowing implementation would support this across Windows, Mac and Linux, however, piston doesn’t expose enough of the window attributes from WindowSettings to enable this feature.
The underlying feature seems relatively straightforward to add, presumably by adding a field matching this one to piston::window::WindowSettings and plumbing it through to glutin_window.
Is this functionality which has been deliberately excluded, or would a set of PRs adding this to the requisite components be something you’re interested in?

I agree, this window setting should be added. PRs are welcome!

Although I can see that this setting is now exposed. It doesn't seem to work for me https://github.com/PistonDevelopers/piston_window/issues/288
Is there any other setting required?

Although I can see that this setting is now exposed. It doesn't seem to work for me https://github.com/PistonDevelopers/piston_window/issues/288
Is there any other setting required?

The PR (PistonDevelopers/piston/pull/1345) doesn't implement the settings for any of the window backends tho. It literally only adds a field to WindowSettings which doesn't even get read in the GlutinWindow::new() source.


Fixed bug in deepcopy of IBMBackend

Summary
copy.deepcopy(IBMBackend) was failing due to infinite recursion. Fixed that bug.
Details and comments
Fixes #654.
See also #646.

We should check this in qiskit-ibm-runtime as well.


Trailing newlines are calculated and represented in differ output.

This is pretty much what @phiggins wrote in #71 :) but is up-to-date with master and rspec-expectations.
See commit message in 3a0af727880692a20e64d0e9 and rspec-expectations PR #290
@coralineada gave me the courage to dive in, and @alindeman let me borrow his eyes over coffee. I'm open to feedback, continued help, and working on next steps whatever they may be!
Fixes #70

Thanks for working on this!

Looks like we have a failing spec, looking into it!

Actually, @JonRowe any idea on what this could be https://travis-ci.org/rspec/rspec-support/jobs/142915946? I saw this encoding spec fail on master for me, and thought it might be something local.

It seems like we are uncovering additional specific requirements of this issue. I’m glad to have moved the conversation forward, but I’m not comfortable with the solution being put forth given the invasiveness required. Thanks @coralineada for your support. Thanks @JonRowe for taking me along this far, I’ve learned a ton about open source, diffing, and RSpec!


add mariadb 107 to mysql options

I think we're up to maria 110 now

and it's time to remove maria 102

mariadb 10.10 is development.
mariadb 10.6 is the highest LTS release.
MariaDB 10.7 - 10.9 are short term releases, going EOL in a few months to a less than one year from now.
So not adding 10.10 to the option list.

implemented in upcoming v1.84


Local Docker Deployment & Instructions

Docker Deployment
In order to serve this application on my system I prefer Docker Instances for ease of deployment.  In an order to setup easily, I created a Makefile, Scripts, and commands to run from the console to increase deployment flexibility.
This includes a docker build file for the chatbot-ui, as well as a docker-compose file for deployment of the UI and ollama.
I did my best to model your setup from the legacy branch.
Makefile
Using a Makefile, we can easily run commands to deploy, stop, and remove all or parts of the deployment.
Scripts
New scripts folder includes automatic ollama install and Supabase cli for ease of use.  These may need to be updated in the future for versions and their repo updates.  In the meantime, they will do the job.
Readme Updated
Updated instructions for using the Makefile with notes necessary for deployment.
Issue #1088 Bug
In order to get the correct output I added the streaming: false parameter per Issue post.  The output is correct, we just don't see the streaming output.
Notes
I did my best to streamline the local deployment.  I am open to suggestions and corrections if someone sees a better process or method.
I tested the docker deployment on Ubuntu 22.04 with GPUs.
Thank you!
Your hardworking on this repo is amazing and very much appreciated!

Having SUPABASE_SERVICE_ROLE_KEY or any other secrets in the repo code is never a good thing.
You should think how to work around it.

@emsi Thank you for the comment.  I understand your concern.  I am using the standard example provided by Supabase's repo Supabase env.example
This simplifies the basic setup.  The user/developer can adjust their security settings as they see fit once deployed.
Otherwise we would use a customized .env file.
Thank you for the feedback.

@davidamacey
I am getting this error on a fresh checkout of the repo and this pull request. on my Debian 12 server.
docker compose up -d
  [chatbot-build-ui 7/7] RUN npm run build:
......
22.14
**22.14 info  - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/basic-features/eslint#disabling-rules
23.27 Failed to compile.
23.27
23.27 ./components/sharing/add-to-workspace.tsx:155:20
23.27 Type error: Type '"tools"' does not satisfy the constraint '"assistants" | "workspaces" | "folders" | "chats" | "files" | "collections" | "file_items" | "messages" | "presets" | "prompts" | { schema: keyof Database; } | "assistant_workspaces" | ... 7 more ... | "prompt_workspaces"'.**
23.27
23.27   153 |     },
23.27   154 |     tools: async (
23.27 > 155 |       item: Tables<"tools">,
23.27       |                    ^
23.27   156 |       workspaceId: string,
23.27   157 |       userId: string
23.27   158 |     ) => {
------
failed to solve: executor failed running [/bin/sh -c npm run build]: exit code: 1
make: *** [Makefile:41: start-docker] Error 17

@Bortus-AI The error you see is from the types.ts file within the supabase folder.  The types.ts file is autogenerate from the ten-datatypes command.
I suggest you re-run make generate-db-types from the repo, then re-run the make start-chatbot-docker
FYI I am working on updates to the docker compose to be  more efficient in connecting to the Supabase containers.
Thank you for trying out my PR.  Let me know if you have more questions.

make generate-db-type

Happy to help and look forward to the next version. Here is what happened with those commands
bortus@ny:~/chatbot-ui$ make generate-db-types
Generating database types...
supabase gen types typescript --local > supabase/types.ts
(node:1) ExperimentalWarning: Import assertions are not a stable feature of the JavaScript language. Avoid relying on their current behavior and syntax as those might change in a future version of Node.js.
(Use `node --trace-warnings ...` to show where the warning was created)
(node:1) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time
.................................................
 > [chatbot-build-ui 7/7] RUN npm run build:
0.376
0.376 ><EMAIL_ADDRESS>build
0.376 > next build
.................................................
23.16 ./components/sharing/add-to-workspace.tsx:155:20
23.16 Type error: Type '"tools"' does not satisfy the constraint '"assistants" | "workspaces" | "folders" | "chats" | "files" | "collections" | "file_items" | "messages" | "presets" | "prompts" | { schema: keyof Database; } | "assistant_workspaces" | ... 7 more ... | "prompt_workspaces"'.
23.16
23.16   153 |     },
23.16   154 |     tools: async (
23.16 > 155 |       item: Tables<"tools">,
23.16       |                    ^
23.16   156 |       workspaceId: string,
23.16   157 |       userId: string
23.16   158 |     ) => {
------
failed to solve: executor failed running [/bin/sh -c npm run build]: exit code: 1
make: *** [Makefile:41: start-docker] Error 17```

make generate-db-type

Happy to help and look forward to the next version. Here is what happened with those commands
bortus@ny:~/chatbot-ui$ make generate-db-types
Generating database types...
supabase gen types typescript --local > supabase/types.ts
(node:1) ExperimentalWarning: Import assertions are not a stable feature of the JavaScript language. Avoid relying on their current behavior and syntax as those might change in a future version of Node.js.
(Use `node --trace-warnings ...` to show where the warning was created)
(node:1) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time
.................................................
 > [chatbot-build-ui 7/7] RUN npm run build:
0.376
0.376 ><EMAIL_ADDRESS>build
0.376 > next build
.................................................
23.16 ./components/sharing/add-to-workspace.tsx:155:20
23.16 Type error: Type '"tools"' does not satisfy the constraint '"assistants" | "workspaces" | "folders" | "chats" | "files" | "collections" | "file_items" | "messages" | "presets" | "prompts" | { schema: keyof Database; } | "assistant_workspaces" | ... 7 more ... | "prompt_workspaces"'.
23.16
23.16   153 |     },
23.16   154 |     tools: async (
23.16 > 155 |       item: Tables<"tools">,
23.16       |                    ^
23.16   156 |       workspaceId: string,
23.16   157 |       userId: string
23.16   158 |     ) => {
------
failed to solve: executor failed running [/bin/sh -c npm run build]: exit code: 1
make: *** [Makefile:41: start-docker] Error 17```

Sorry I looked over your response.
I have this similar issue once before.  Try renaming the types.ts file to something else.  Be sure you are in the repo directory, supabase running, then run the gem-types command.  This should generate a new types.ts file.
Note, I had troubles similar as I pulled before a large commit was done, but I thought I fixed the types file issue.

I attempted to reorganize the docker-compose to leverage the Supabase containers and docker network. Unfortunately, the front-end container struggles to connect. I must use the 'network_mode: host' for the UI container.

Did you base your attempt on this compose file https://github.com/supabase/supabase/blob/master/docker/docker-compose.yml ?
Could you publish your attempt maybe on another branch?

The Supabase setup is automated through the cli, so it is difficult to incorporate into one docker-compose/network.

That also stopped my first attempt. But without its not really a dockerized solution.

@jmtatsch Thank you for taking a look, maybe with a second set of eyes we can figured it out.
In my attempt I still utilize the Supabase CLI to start the backend, but leverage the docker network to connect to the Supabase containers.
Docker Attempt Notes
I use the docker-compose from this PR to build the UI and ollama containers.  I commented out the with 'ATTEMPT DOCKER COMOSE' sections
I edit the .env file to use the container names in the URL, see below for .env issues.
If the chatbot-ui is not in 'network_mode: 'host'' then the app will not render in the UI.  There seems to be a weird connection issue with the frontend and the kong container.  Because within the chatbot-ui container I can curl to Ollama and kong containers.
I suspect there are some variables or settings in the chatbot-ui frontend that references specific connection types, but I am not a UI dev, so I do not know how to troubleshoot.
Verified with the network setup that all containers are on the same network, therefore they should all be referenced by their container names instead of localhost to 127...
From supabase
Yes I attempted to create the docker-compose from the Supabase repo.  I used the .toml from the chatbot-ui and created a docker-compose file.  This creates an issue of starting the Supabase containers and initializing with the chatbotbui migration scripts.  I could not find documentation to start a docker setup from scratch.  From the docs, you would need to have a local supabase running, then migrate that to a 'cloud' version (or running docker setup).  This attempt was unsuccessful.
Weird ENV Issue
In an attempt to centralize the .env file and read into the UI container via docker env, it will not run properly unless the .env file is built into the UI container.  I am not sure where/how the front end is referencing the specific file.  So it must be rebuilt if there is an .env change.
Changes
Pushed these updates to my fork.

.env has a commented section
docker-compose for chatbot-ui has a commented section
docker-compose-supabase file is configured from the supabase repo
added a few make commands to speed up testing

I have attempt many permutations of these changes above and the only way for the frontend to connect to the supabase is through network_mode = host.  I even tried an NGINX proxy in front of the localhost version.  That presents it own issues from the frontend, as it references localhost urls and there is a header mismatch; see env issue above.
I hope this explanation was useful or helpful, but I don't see a way forward at the moment.

@davidamacey
I was able to fix it. I had to update nodejs and then all worked

@davidamacey
Any flags to have it skip trying to run/install ollama?

@davidamacey Any flags to have it skip trying to run/install ollama?

in the make file there is a command make start-ui
This assumes supabase and ollama are already running.  You can use an any of the commands in the Makefile in any order to customize your needs; are make new ones. :)
Glad you were able to get your issue fixed!

@davidamacey Thanks for that command. Whether I use it or make start-chatbot-docker the container  chatbot-ui-chatbot-build-ui-1 starts but then exits with an error code. Logs below
><EMAIL_ADDRESS>start
> next start
   ▲ Next.js 14.0.2
   - Local:        http://localhost:3000
Error: ENOENT: no such file or directory, open '/usr/src/app/.next/BUILD_ID'
    at async open (node:internal/fs/promises:633:25)
    at async Object.readFile (node:internal/fs/promises:1242:14)
    at async setupFsCheck (/usr/src/app/node_modules/next/dist/server/lib/router-utils/filesystem.js:145:19)
    at async initialize (/usr/src/app/node_modules/next/dist/server/lib/router-server.js:54:23)
    at async Server.<anonymous> (/usr/src/app/node_modules/next/dist/server/lib/start-server.js:236:36) {
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: '/usr/src/app/.next/BUILD_ID'
}

I am wondering if it's possible to fully encapsulate both Supabase and the app within a single container. This approach would aim to somewhat replicate the simplicity of V1 deployment. In its current form, V2 requires users to dedicate a significant amount of time to understanding how Supabase functions and to implementing it properly within their local environments.
It might be worth exploring the s6 overlay for this purpose.

I am wondering if it's possible to fully encapsulate both Supabase and the app within a single container. This approach would aim to somewhat replicate the simplicity of V1 deployment. In its current form, V2 requires users to dedicate a significant amount of time to understanding how Supabase functions and to implementing it properly within their local environments.
It might be worth exploring the s6 overlay for this purpose.

Totally agree

I've also built this to run in a docker container, and hit some of the same issues. Anyway I hope this may help anyone else going down the same path. I'm not a next.js expert btw, so what I'm suggesting may not be the true next.js way!
Here's my Dockerfile for a start... https://github.com/jollytoad/chatbot-ui/blob/org/Dockerfile
I also had the problem with env vars, which it seems that next.js wants to compile inline, which I really don't like the idea of one bit. So I inject the vars at runtime into the html doc, and read them from there...

https://github.com/jollytoad/chatbot-ui/blob/org/app/[locale]/layout.tsx#L55
https://github.com/jollytoad/chatbot-ui/blob/org/lib/supabase/browser-client.ts#L6

This allows the built container to be independent of the supabase instance at least.
Also, I had a problem with the fact that requests appear to come from localhost:3000, which can cause redirection responses and other URL constructions to fail. So I created a publicUrl fn that recreates the original URL from x-forwarded headers, and use that where necessary, although I guess this could also be done in the middleware for all requests.

https://github.com/jollytoad/chatbot-ui/blob/org/lib/public-url.ts

I'd be interested if anyone knows a better way to deal with these issues.

Linking this as it's related:
https://github.com/mckaywrigley/chatbot-ui/issues/1376#issuecomment-1928550602

There's a version with sqlite and simplified auth in the works that'll ship with this.
Expect that within 2-3 weeks. A bit swamped but it's in progress.

Linking this as it's related:
#1376 (comment)

There's a version with sqlite and simplified auth in the works that'll ship with this.
Expect that within 2-3 weeks. A bit swamped but it's in progress.

There's been a massive influx of enterprise demand, so lots going on to try and get feedback from teams on how to best go about this.
Trying to strike a balance between simplicity and power.

Hi everyone, after a couple weeks of on and off work, I've managed to shrink this whole thing to just one docker-compose with 8 extra files. The only catch is that it requires some kind of DNS. I made it a separate project here  as I think it's currently too unwieldy to merge, and I imagine too different from what will eventually appear here officially. Please try it out if it serves your needs and if you can, deliver feedback, I would appreciate it.

Thanks @kpi88 you did great! I'm going to be able to try chatbot-ui V2 finally 🙏

Anyone tried this, i got this error
Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error running hook #0: error running hook: exit status 1, stdout: , stderr: Auto-detected mode as 'legacy' nvidia-container-cli: initialization error: load library failed: libnvidia-ml.so.1: cannot open shared object file: no such file or directory: unknown make: *** [Makefile:44: start-docker] Error 1

Hello Guys we I tried to deploy the chatbot UI on Server
Here are steps i followed

Installed supabase cli  https://github.com/supabase/cli/releases
wget https://github.com/supabase/cli/releases/download/v1.149.4/supabase_1.149.4_linux_amd64.deb

sudo dpkg -i supabase_1.149.4_linux_amd64.deb
Download this repository
cd chatbot-ui
cd supabase
update config.toml with your server IP address at three places and update migrations file with same server Ip
cd .. (in supabase )
Run this command
supabase start
it will start all the containers that are required
Come back to chatbot UI
Create a Dockerfile
Before that update .env file with server IP as url (Not localhost)
`# Use the Node.js official image as a parent image
FROM node:20
FROM node:21.5.0-bookworm
Set the working directory in the container
WORKDIR /usr/src/app
Copy package.json and package-lock.json (or yarn.lock) to the container working directory
COPY package*.json ./
Install dependencies in production mode (without dev dependencies)
RUN npm cache clean -f
RUN npm ci
Copy the rest of the application to the container working directory
COPY . .
Build the Next.js application
RUN npm run build
Set the environment to production to reduce Next.js application size
ENV NODE_ENV production
Expose the port the app runs on
EXPOSE 3000
Command to run the app
CMD ["npm", "start"] `
docker build -t chatbot .
docker run -d --name bot -p 3000:3000 chatbot:latest
Its wokring with Ip
when we add  Dns name getting cors issue. Help needed for this

Hi, just as info, I tried @kpi88 solution. You mention under https://github.com/kpi88/chatbot-docker#known-issues issues with podman. Actually I get the same issues with docker: The unhealthy containers; the ulimits-attribute but also the name-attribute at the beginning and the tags attribute. When removing the unknown attributes, I get the unhealthy containers. Thus, it might not be specifically linked to podman.

Hi, just as info, I tried @kpi88 solution. You mention under https://github.com/kpi88/chatbot-docker#known-issues issues with podman. Actually I get the same issues with docker: The unhealthy containers; the ulimits-attribute but also the name-attribute at the beginning and the tags attribute. When removing the unknown attributes, I get the unhealthy containers. Thus, it might not be specifically linked to podman.

Okay
but we deployed the Chatbot 2.0 with docker
using self hosted supabase

@Aj7Ay with your solution, I follow it literally an then get:
supabase start
supabase start is already running.
Run supabase status to show status of local Supabase containers.

supabase status
supabase_db_chatbotui container is not running: exited


Update debug package to 4.3.1

Describe the bug
Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
To Reproduce
Scaffold a new project and see warnings
Expected behavior
No warnings
Detailed information

Generator version (generator-teams): 3.0.3
Build tools version (yoteams-build-core): [eg: 1.0.1]

Fixed in earlier releases


feat: add hd node

Pull Request Test Coverage Report for Build 83

34 of 34 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.3%) to 90.816%

Totals

Change from base Build 82:
0.3%

Covered Lines:
1350

Relevant Lines:
1440

💛  - Coveralls


Unable to add the package!

hey
after adding the package to my project i face these errors:
Assets/RTLTMPro/Editor/RTLTextMeshPro3DEditor.cs(62,91): error CS0117: TMPro.EditorUtilities.TMP_UIStyleManager' does not contain a definition for 'boldFoldout'
and
Assets/RTLTMPro/Editor/RTLTextMeshProEditor.cs(62,91): error CS0117: TMPro.EditorUtilities.TMP_UIStyleManager' does not contain a definition for 'boldFoldout'
im using Unity 2018.2.17f1 and TextMeshPro is added to project
Any idea?
Thanks

well, it was fixed by removing lines 62 to 74 and 20 !!
I know this is not the correct way, but enough for me now
hope it gets fixed in future releases
thanks

Hi there,
You need to add Text Mesh Pro 1.3 through package manager.
Don't import TextMeshPro from AssetStore. If you have imported TMP from AssetStore, there is a guide about migrating:
https://forum.unity.com/threads/migrating-from-asset-store-to-package-manager-releases.511748/

@sorencoder
it worked!
Thanks a lot


Visual studio code Flatpak not compatible with Global Menu

Tested on KDE, but presumably applies to other platforms where global menu can be enabled (Mate, Budgie, XFCE)

We do not officially ship a Flatpak package, so we can't provide support on it.


json payload can be assigned to a Message type variable directly without the use of native functions

message m = {};
m = {father:"Peter", mother:"Ann"};

message type is no longer supported. Hence closing the issue.


Modernize SVGO

I am the author of SVGR, a library to transform SVG into React Components. It offers build in support of SVGO.
SVGO is a great library and widely used! The work achieved since the beginning is amazing, thanks for that. Today SVGO is a little "old", code is written in ES5, documentation is not very handy, it does not offer synchronous mode (see #1015), there is a lot of issues and a lot of PR.
I think the project should be modernized and I would be happy to help you. SVGO is a big part of SVGR and it could be awesome to work together. SVGR is based on H2X, a traverser for HTML, it can modify the DOM using plugin like Babel does for JavaScript. Meaning we could be able to do all kind of optimizations.
We can continue to talk here or you can contact me on my Twitter (https://twitter.com/neoziro).

Hi @gregberge. Gonna work on modernising. Already reduced amount of dependencies.


Non-status 200 pages

[x] I have read the guidelines for submitting issues

🐛 Describe the bug

Some of the KDOC URLs link to non-status 200 pages.
⚠ Current behavior

Links to pages that do not exist or that have been moved are present in KDOCs (only checked AndroidX):
301 - https://developer.chrome.com/docs/android/custom-tabs
404 - https://developer.android.com/reference/kotlin/androidx/compose/animation/res/package-summary
404 - https://developer.android.com/reference/kotlin/androidx/compose/animation/vector/package-summary
301 - https://developer.android.com/games/sdk
301 - https://developer.android.com/games/sdk/release-notes
000 - https://dagger.dev/hilt
404 - https://developer.android.com/reference/kotlin/androidx/navigation/dynamicfeatures/ui/package-summary
301 - https://developer.android.com/training/testing/additional-resources#samples
404 - https://developer.android.com/reference/kotlin/androidx/test/packages
301 - https://developer.android.com/training/testing/ui-testing/uiautomator-testing
301 - https://developer.android.com/training/testing/ui-automator
404 - https://developer.android.com/reference/kotlin/androidx/test/uiautomator/package-summary
302 - https://issuetracker.google.com/issues/new?component=1077552&template=1598429
✅ Expected behavior

All links work and their status is 200.
💣 Steps to reproduce

Open the link(s) and/or check the URL's status.

@imashnake0 wow thanks for the report.
Anyone is welcome to work on this
Just curious, did you do that manually? Seems like lots of tedious work.

@jmfayard I can try to take this on. Used a script :sunglasses:

Of course that would be great!

Thank you @imashnake0!
I updated all the links that needed to, at last, they will make it into the next release.
BTW, there were some false positives in your list, and I'm not sure why. I crossed them in your original post.


Consider matching underlying Jest version

A recent patch-version change to bs-jest bumped the underlying jest dependency to a new major version, which caused our tests to break (due to some weird babel version issues that I still haven't quite figured out).
I realize bs-jest is a bit more than a wrapper around Jest, but would it make sense to adopt a versioning strategy that matches the underlying Jest version?

Hey. Yeah, this hasn't been a problem previously but they seem to be making some weird semi-internal changes lately. I'll bump the minor version in the future when upgrading to a new major version of jest. I think that's sufficient as long as the major version is still on 0.
And if you figure out what the problem is and are able reproduce it, it would be great if you would add a test to the test suite here to detect the same kind of issue in the future.


Adding fingerprint for Tuya/TS0011

Adding Tuya TS0011 generic water valve fingerprint

 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.

Hello, we are closing this pull requests. Please reach out to the Partner Success team if you have more questions at<EMAIL_ADDRESS>Thank you.


Restructuring the repo

Wanted to add some sensible structure and organization going forward.
I threw this together, currently using it in my app and all tests are passing:
https://github.com/maysale01/parse-server/tree/restructuring

It is definitely prettier that way... Will consider making these changes over the next few days.

This has been done now.


goog.fx.Dragger is not setting up mousehandlers correctly for firefox

My customer has filed a bug where firefox won't allow me to drag and drop.
I verified with my version: firefox 31.0 that drag and drop was not firing the dragEnd event.
I traced the bug down to this variable:
goog.fx.Dragger.HAS_SET_CAPTURE_ =
// IE and Gecko after 1.9.3 has setCapture
// WebKit does not yet: https://bugs.webkit.org/show_bug.cgi?id=27330
goog.userAgent.IE ||
goog.userAgent.GECKO && goog.userAgent.isVersionOrHigher('1.9.3');
this variable is set to "true", which causes
goog.fx.Dragger.prototype.setupDragHandlers to evaluate useCapture = false.
This causes the endDrag event to get fired after other mouse event handlers that I have installed.
If I manually change useCapture to true, the endDrag event is being correctly called.
I have tested that the events fire in the correct order if I manually set the HAS_SET_CAPTURE_ flag to false.
So I guess the question I'm asking is, can we have a way for maybe the abstractdraggroup.js class configure when you want to capture mouse events for a dragger?  Or am I totally misunderstanding things?  I'd rather not have to create my own instance of a dragger and override the setupDragHandlers function.  That feels like I'm "doing it wrong"

This issue is being closed as a preparation step before archiving the repository.  See the README for more detail.


Alternate fix for Issue #23 (revised)

@hudochenkov was correct my previous fix actually wasn't. However I've found that for me at least their fix was insufficient alone and didn't work in List view. This version attempts to reconcile their and my patches so that combined this completely closes #23 ; I've tested on Chrome for Feedly in all 4 view modes (Title, Article, Magazine, Cards) and I believe it works correctly.

This PR gets things working again for me! Thanks!

This PR gets things working again for me! Thanks!

Thank you!

Thank you!

(To Whom It May Concern : Dec 2022 updates mean List View didn't work unless documents were opened; active closed links now get a distinct ID so I've used that as selector instead. Apologies if I'm doing this wrong....)


Updating to null safe version?

The 0.1.2 version generates this warning: "The library 'package:mailgun/mailgun.dart' is legacy, and should not be imported into a null safe library."
Is it possible to update the package to a null safe version?
Thank you!

@yakou32 can you give me information about your current flutter environment? Thank you.

I'm using sdk: ">=2.12.0 <3.0.0" with http: 0.13.0-nullsafety.0
I think it's just a matter of syntax update to maker flutter-mailgun compatible.
This is what I updated so far for the send() method, but I'm not confident enough to propose it as a pull request.
 {String? from,
      List<String> to = const [],
      List<String> cc = const [],
      List<String> bcc = const [],
      List<dynamic> attachments = const [],
      String? subject,
      String? html,
      String? text,
      String? template,
      Map<String, dynamic>? options}
      ```
And also

SendResponse({required this.status, this.message = ''});
I'm not so sure if this is enough for null safety compliance.

Hi,
What if you try to use http: ^0.12.1 instead, I try you  are using a higher version of http than the package itself.

I'm now using http; ^0.13.1 version due to other dependencies null safety requirements.

I believe 0.13.1 is quite new, and it also requires higher dart sdk, hence, I would suggest you to stay with current 0.12.1 or you will need to find another way, e.g, fork from this repository.

This may not be the best approach but to get mailgun working with the latest version of http, you can override the dependancy in your pubspec.yaml like this :
dependency_overrides:   http: ^0.13.1

This works any chance this package will migrate to null safety ? because of this one package i have to compile without null safety enabled.


Pass Context in sendRegistrationIdToBackend()

Hello, would it be possible to pass Context in mentioned method? It can come handy in some situlations (especially when Application doesn't extend GcmListener).
Thank you

I am not absolutely convinced that it's needed. If you are listening inside an Activity or Fragment then you have the Context available. If you have your own class then you could forward Context to that class. And in any case, you can create a static App.getInstance() method that would return the current Application instance (and you can then call App.getInstance().getApplicationContexT()).

Thanks

@bakua have you found a nicer solution to your problem or do you have a use-case, where having the Context in sendRegistrationToBackend() is the best solution?


Remove cv2 dependency

i wanted to use bounding-box in AWS Lambda. Due to Lambdas size limits the 80 MB cv2 keep me from using this library. Maybe there is an alternative to cv2.
Otherwise, thanks for sharing your work!

You could convert it to Pillow if you want...
@nalepae very helpful library btw!


Any way to make this script run on website

Hello
I want to know if there is any way to make this script work on website to download videos just like
http://www.clipconverter.cc
Thanks.

Command-line program to download videos from YouTube.com and other video sites

Right on top of the page. This is even better than a website.

Yes, write a code that will run youtube-dl obviously.