Compile Error on Ubuntu 18.04.2

-- The C compiler identification is GNU 7.4.0
-- The CXX compiler identification is GNU 7.4.0
I downloaded mkl-dnn, and compiled it with following steps:
mkdir build
cd build
cmake ..
make
then I got this error message:
[ 13%] Building CXX object src/cpu/CMakeFiles/mkldnn_cpu.dir/gemm/f32/jit_avx2_kernel_sgemm_kern.cpp.o
[ 13%] Built target mkldnn_common
[ 14%] Building CXX object src/cpu/CMakeFiles/mkldnn_cpu.dir/gemm/f32/jit_avx512_common_gemm_f32.cpp.o
[ 14%] Building CXX object src/cpu/CMakeFiles/mkldnn_cpu.dir/gemm/f32/jit_avx512_core_f32_copy_an_kern.cpp.o
[ 14%] Building CXX object src/cpu/CMakeFiles/mkldnn_cpu.dir/gemm/f32/jit_avx512_core_f32_copy_at_kern.cpp.o
c++: internal compiler error: Segmentation fault (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-7/README.Bugs> for instructions.
src/cpu/CMakeFiles/mkldnn_cpu.dir/build.make:446: recipe for target 'src/cpu/CMakeFiles/mkldnn_cpu.dir/gemm/f32/jit_avx512_core_f32_copy_at_kern.cpp.o' failed
make[2]: *** [src/cpu/CMakeFiles/mkldnn_cpu.dir/gemm/f32/jit_avx512_core_f32_copy_at_kern.cpp.o] Error 4
make[2]: *** Waiting for unfinished jobs....
CMakeFiles/Makefile2:201: recipe for target 'src/cpu/CMakeFiles/mkldnn_cpu.dir/all' failed
make[1]: *** [src/cpu/CMakeFiles/mkldnn_cpu.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
Could you give me some suggestions? I successfully compiled mkl-dnn on Ubuntu 14.04 before.

Could you try with non-parallel build i.e., by removing -j in your build command. If it works, then try increasing the parallel jobs for the sweet spot (my guess is, parallel builds need more RAM).

Got same errors after removing -j. However, I successfully compiled MKL-DNN on another PC with Ubuntu 18.04.2 too (the same gcc, g++ version).

Hi @thuhuwei,
What CPU do you have on both your systems? Starting with GCC 5+ we use -march=native -mtune=native compiler options (see this). It might happen that GCC fails while optimizing the code for the former system, but is oK when optimizing the latter.
Say the system that crashes is Broadwell (avx2), but second system is Atom (sse4.2). In this case you can pass -DMKLDNN_ARCH_OPT_FLAGS="-march=broadwell" (see this) to cmake on the latter system and see if building fails on it as well.

It's still a GCC defect that has to be reported against GCC. @thuhuwei, would you be able to create a reproducer that can be used to submit a defect?

Closing due to lack of activity. Please let us know if you were able to identify the root cause or submitted an issue against GCC.


After fine-tuning pre-trained WideResNet, the ID classification drops a lot?

Hello! Thank you for your excellent work. I have some questions about the implementation.
When I change the train_loader_ood with shuffle = True and the ID classification drops a lot after finetuning the pre-trained WideResNet with lr 0.001 and weight_decay 0.0005. The fine-tuned WideResNet in Cifar10 has 88.59% test classification accuracy compared with 94.39%.
Instead, you use a random offset to induce the randomness. Could you please clarify the reason for this operation? Thanks again!

I am curious about this, too.


[WIP] Sync up

Sync with upstream

Summary by Sourcery
This pull request synchronizes the codebase with upstream changes, introducing new features such as detailed logging for deletions and new date validators. It also includes several bug fixes, enhancements to form validation and activity log handling, and updates to tests. Additionally, it removes unused utility files to maintain a clean codebase.

New Features:

Added support for logging the deletion of events and organisers with detailed messages.
Introduced new validators for date and datetime fields in forms.
Implemented a new JavaScript file to dynamically update the page title based on the proposal title input.

Bug Fixes:

Fixed an issue where event slugs containing malicious input could cause errors by returning a 404 instead.
Corrected the logic for filtering sessions in the schedule editor to include sessions starting and ending on the boundary days.

Enhancements:

Refactored the activity log display and object link handling to use signals for better modularity.
Improved the handling of pending states for submissions, including visual indicators and scheduling logic.
Optimized the form validation by converting some methods to class methods and static methods.
Enhanced the logging output with additional context and formatting improvements.
Updated the review assignment forms to use a simpler and more intuitive format.

Tests:

Updated tests to reflect changes in form validation methods and review assignment logic.

Chores:

Removed unused utility files and functions to clean up the codebase.

Could you add this one as well, please? https://github.com/pretalx/pretalx/commit/f8d800d833a07081ac23a08d2963d0d0dfe49101

Could you add this one as well, please? pretalx/pretalx@f8d800d

Done

@sourcery-ai review

Solved by another contributor in the meantime.


Merch

Just adding another option to the list.
Saw advent of code uses this company:  https://teespring.com/


[W09H02] additional tests averageDelayByHour

Additional tests for averageDelayByHour(...) with delays being < 1h and delays being >= 1h

@nilsreichardt let's close this one as well

@nilsreichardt let's close this one as well

In my opinion we should close all w09 PRs since they won't be of any real use and were kind of inactive anyways

Closing because the deadline of the task is over.


Add contributing file

This PR adds a CONTRIBUTING file to explain how to contribute to the repository.
It also adds an issue template for simple questions.

@KabirDubey I will wait a few days to merge that PR, feel free to make comments / review it in the meantime, your feedback on that would be valuable.

Sorry I missed this review, my notification settings were off and have been corrected. This looks good to me, thank you @nelimee!


[ext] does not place the extension ion outputted files

Bug report

What is the current behavior?
When I specify the [ext] in output.filename field in webpack.config.js, the outputted file shows a literal .[ext] as the extension.
If the current behavior is a bug, please provide the steps to reproduce.
create a webpack.config.js file with the following:
   entry: {
        'css/my-styles' : `${css}/my-styles.css`
    },
    output: {
        filename: '[name]-[hash].[ext]',
        path: path.resolve(modules, 'dist')
    },

run webpack
check the outputted files.  File name should be my-styles.css.  Actual filename is my-styles.[ext]

What is the expected behavior?
The correct extension is placed on the exported files.

Other relevant information:
webpack version:  4.16.2
Node.js version: 8.11.3, 7.10.1
Operating System: osx
Additional tools: N/A

Thanks for your report. It would be great if you reduce your issue to a small reproducible example. Best put this example into a github repository together with instructions how to get to the problem.

This is not supported: https://webpack.js.org/configuration/output/#output-filename

Besides that I think having css files as entry points is not valid in webpack 4.

@montogeek I found some examples of using that pattern, but I see now that it's not supports, at least in webpack 4.
I was eventually able to minify my css using mini-css-extract-plugin with optimize-css-assets-webpack-plugin
new MiniCssExtractPlugin({
filename: [name]-[hash].min.css,
chunkFilename: "[id].css"
}),
    optimization: {
        minimizer: [
            new OptimizeCSSAssetsPlugin({})
        ]
    },


Issue whith Lilygo T-Beam v1.2 with AXP2101

Hello !
I recently received a Lilygo T-Beam v1.2 with AXP2101 from Aliexpres, but after installing the tracking software, the device doesn't work and seems to be related to the APX210.
The main screen shows battery: -0.00v and the device got stuck when preparing to transmit. Checking the serial monitor, I also found that there is an error message during boot: [ERROR] [AXP192] Boot failed!
Is there a way to handle this problem, or is the hardware definitely not supported yet?

Thank you!!

hi , as you have noticed you need to use the "env:ttgo-t-beam-v1_2"
this will enable the use of the AXP2101 power management chip and your Tracker should work fine now?

Hello !
You're right, I was overlooking some important env - related steps in the flashing process.
Thank you!


fix: add migration to delete data between specified times

Description
Includes a migration targeted for v5.0.11

Motivation and Context
This cleans up some inaccurate data.

How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

[x] Chore (a change that does not modify the application functionality)
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] Documentation updates are needed, and have been made accordingly.
[ ] I have added and/or updated tests to cover my changes.
[ ] All new and existing tests passed.
[ ] My changes include a database migration.

I think this PR can be closed since the affected tables are not in BHCE


Newest Amplify framework does not build with Xcode 15.3 beta 2

Describe the bug
Exactly as the title says. Attached is a screenshot

Steps To Reproduce
Steps to reproduce the behavior:
1. Open Xcode 15.3 beta 2
2. Try to compile iOS application with amplify-swift framework 2.25.6

Expected behavior
The project to build
Amplify Framework Version
2.25.6
Amplify Categories
DataStore
Dependency manager
Swift PM
Swift version
5.6
CLI version
5.10
Xcode version
15.3 beta 2
Relevant log output
<details>
<summary>Log Messages</summary>

INSERT LOG MESSAGES HERE

```
Is this a regression?
No
Regression additional context
No response
Platforms
iOS
OS Version
17.2
Device
iPhone 15 Pro
Specific to simulators
No response
Additional context
No response

Thanks for opening the issue. Our team will investigate and provide an update.

Hello @ethan021021,
We have a build fix in the branch : https://github.com/aws-amplify/amplify-swift/tree/fix/build-xcode-15-3-beta-2
Let us know if it works for you.

Awesome, thanks for the quick fix!

Hey all,
Can confirm the fix works. Thank you!

Thanks for letting us know, we'll be releasing this shortly in 2.25.7

@lawmicha
Apologies as I spoke too soon.
It looks like in the PR no changes to Attempt.swift were made so the build is still failing

Hello @ethan021021 - Can you try out this branch in your project -
https://github.com/aws-amplify/amplify-swift/tree/fix/build-xcode15_3_2

@thisisabhash can confirm this compiles now. Thanks for the fix!

Thanks for confirming, https://github.com/aws-amplify/amplify-swift/pull/3506 should be released in either 2.26.1 or 2.26.2, will keep you posted

This has been released in 2.26.1 https://github.com/aws-amplify/amplify-swift/releases/tag/2.26.1


Backwards LSTM + Embedding + Mask + Tensorflow backend produces "ValueError: Shape must be rank 2 but is rank 3 for 'Reverse' (op: 'Reverse') with input shapes:"

When I create a model that contains an Embedding layer with masking and a backwards LSTM and using the Tensorflow backend, I get the following error:

ValueError: Shape must be rank 2 but is rank 3 for 'Reverse' (op: 'Reverse') with input shapes: [3,2,40], [2].

I've created a gist that reproduces the error.
I suspect it has something to do with these two lines in the tensorflow_backend.py, where one time ndim-1 is used and the other time ndim-2 is used.
https://github.com/fchollet/keras/blob/master/keras/backend/tensorflow_backend.py#L1248
https://github.com/fchollet/keras/blob/master/keras/backend/tensorflow_backend.py#L1273
The complete stacktrace is:

File "stateful_lstm_embedding_butg.py", line 18, in
model.add(LSTM(10,  batch_input_shape=(batch_size,time_steps,embedding_size), return_sequences=False, go_backwards=True))
File "/usr/local/lib/python2.7/dist-packages/keras/models.py", line 324, in add
output_tensor = layer(self.outputs[0])
File "/usr/local/lib/python2.7/dist-packages/keras/engine/topology.py", line 517, in call
self.add_inbound_node(inbound_layers, node_indices, tensor_indices)
File "/usr/local/lib/python2.7/dist-packages/keras/engine/topology.py", line 571, in add_inbound_node
Node.create_node(self, inbound_layers, node_indices, tensor_indices)
File "/usr/local/lib/python2.7/dist-packages/keras/engine/topology.py", line 155, in create_node
output_tensors = to_list(outbound_layer.call(input_tensors[0], mask=input_masks[0]))
File "/usr/local/lib/python2.7/dist-packages/keras/layers/recurrent.py", line 227, in call
input_length=input_shape[1])
File "/usr/local/lib/python2.7/dist-packages/keras/backend/tensorflow_backend.py", line 1249, in rnn
inputs = tf.reverse(inputs, [True] + [False] * (ndim - 2))
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/gen_array_ops.py", line 2513, in reverse
name=name)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/op_def_library.py", line 759, in apply_op
op_def=op_def)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py", line 2242, in create_op
set_shapes_for_outputs(ret)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py", line 1617, in set_shapes_for_outputs
shapes = shape_func(op)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py", line 1568, in call_with_requiring
return call_cpp_shape_fn(op, require_shape_fn=True)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/common_shapes.py", line 610, in call_cpp_shape_fn
debug_python_shape_fn, require_shape_fn)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/common_shapes.py", line 675, in _call_cpp_shape_fn_impl
raise ValueError(err.message)
ValueError: Shape must be rank 2 but is rank 3 for 'Reverse' (op: 'Reverse') with input shapes: [3,2,40], [2].

Fixed, thank you for the report.

Hi, When I create a network with Bidirectional LSTM I get a similar error:
Traceback (most recent call last):
File "char_level_amount.py", line 190, in
model.add(Bidirectional(LSTM(128, return_sequences = True), input_shape = (None, MAX_CHAR_STRING_LENGTH, len(chars))))
File "/usr/local/lib/python3.4/dist-packages/keras/models.py", line 433, in add
layer(x)
File "/usr/local/lib/python3.4/dist-packages/keras/engine/topology.py", line 585, in call
output = self.call(inputs, **kwargs)
File "/usr/local/lib/python3.4/dist-packages/keras/layers/wrappers.py", line 263, in call
y = self.forward_layer.call(inputs, **kwargs)
File "/usr/local/lib/python3.4/dist-packages/keras/layers/recurrent.py", line 288, in call
initial_state = self.get_initial_state(inputs)
File "/usr/local/lib/python3.4/dist-packages/keras/layers/recurrent.py", line 230, in get_initial_state
initial_state = K.tile(initial_state, [1, self.units])  # (samples, output_dim)
File "/usr/local/lib/python3.4/dist-packages/keras/backend/tensorflow_backend.py", line 1872, in tile
return tf.tile(x, n)
File "/usr/local/lib/python3.4/dist-packages/tensorflow/python/ops/gen_array_ops.py", line 3677, in tile
name=name)
File "/usr/local/lib/python3.4/dist-packages/tensorflow/python/framework/op_def_library.py", line 768, in apply_op
op_def=op_def)
File "/usr/local/lib/python3.4/dist-packages/tensorflow/python/framework/ops.py", line 2338, in create_op
set_shapes_for_outputs(ret)
File "/usr/local/lib/python3.4/dist-packages/tensorflow/python/framework/ops.py", line 1719, in set_shapes_for_outputs
shapes = shape_func(op)
File "/usr/local/lib/python3.4/dist-packages/tensorflow/python/framework/ops.py", line 1669, in call_with_requiring
return call_cpp_shape_fn(op, require_shape_fn=True)
File "/usr/local/lib/python3.4/dist-packages/tensorflow/python/framework/common_shapes.py", line 610, in call_cpp_shape_fn
debug_python_shape_fn, require_shape_fn)
File "/usr/local/lib/python3.4/dist-packages/tensorflow/python/framework/common_shapes.py", line 676, in _call_cpp_shape_fn_impl
raise ValueError(err.message)
ValueError: Shape must be rank 3 but is rank 2 for 'bidirectional_1/Tile' (op: 'Tile') with input shapes: [?,182,1], [2].
The error occurs in the first layer of the model.
model = Sequential()
#model.add(BatchNormalization())
model.add(Bidirectional(LSTM(128, return_sequences = True), input_shape = (None, MAX_CHAR_STRING_LENGTH, len(chars))))
model.add(Bidirectional(LSTM(128, return_sequences = True)))
model.add(TimeDistributed(Dense(2)))
model.add(Activation('softmax'))
model.compile(loss='binary_crossentropy', optimizer = 'adam', metrics = ['accuracy'])

@dylanrandle Did you ever solve your bug? I have the same error and am attempting to debug.

@Helw150  @dylanrandle  I'm getting the same error.. Did you find the solution?

@grafael @Helw150 @dylanrandle same issue here ...
Traceback (most recent call last):
File "/home/gabriele/Desktop/codes/rec_trainer.py", line 61, in
model = model1(int(ns.c), pos)
File "/home/gabriele/Desktop/codes/rec_trainer.py", line 29, in model1
merge_mode='concat'))
File "/home/gabriele/miniconda3/envs/nnmanG/lib/python3.6/site-packages/keras/models.py", line 492, in add
output_tensor = layer(self.outputs[0])
File "/home/gabriele/miniconda3/envs/nnmanG/lib/python3.6/site-packages/keras/engine/topology.py", line 617, in call
output = self.call(inputs, **kwargs)
File "/home/gabriele/miniconda3/envs/nnmanG/lib/python3.6/site-packages/keras/layers/wrappers.py", line 315, in call
y = self.forward_layer.call(inputs, **kwargs)
File "/home/gabriele/miniconda3/envs/nnmanG/lib/python3.6/site-packages/keras/layers/recurrent.py", line 2032, in call
initial_state=initial_state)
File "/home/gabriele/miniconda3/envs/nnmanG/lib/python3.6/site-packages/keras/layers/recurrent.py", line 546, in call
initial_state = self.get_initial_state(inputs)
File "/home/gabriele/miniconda3/envs/nnmanG/lib/python3.6/site-packages/keras/layers/recurrent.py", line 479, in get_initial_state
for dim in self.cell.state_size]
File "/home/gabriele/miniconda3/envs/nnmanG/lib/python3.6/site-packages/keras/layers/recurrent.py", line 479, in
for dim in self.cell.state_size]
File "/home/gabriele/miniconda3/envs/nnmanG/lib/python3.6/site-packages/keras/backend/tensorflow_backend.py", line 2094, in tile
return tf.tile(x, n)
File "/home/gabriele/miniconda3/envs/nnmanG/lib/python3.6/site-packages/tensorflow/python/ops/gen_array_ops.py", line 5691, in tile
"Tile", input=input, multiples=multiples, name=name)
File "/home/gabriele/miniconda3/envs/nnmanG/lib/python3.6/site-packages/tensorflow/python/framework/op_def_library.py", line 787, in _apply_op_helper
op_def=op_def)
File "/home/gabriele/miniconda3/envs/nnmanG/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 3162, in create_op
compute_device=compute_device)
File "/home/gabriele/miniconda3/envs/nnmanG/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 3208, in _create_op_helper
set_shapes_for_outputs(op)
File "/home/gabriele/miniconda3/envs/nnmanG/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 2427, in set_shapes_for_outputs
return _set_shapes_for_outputs(op)
File "/home/gabriele/miniconda3/envs/nnmanG/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 2400, in _set_shapes_for_outputs
shapes = shape_func(op)
File "/home/gabriele/miniconda3/envs/nnmanG/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 2330, in call_with_requiring
return call_cpp_shape_fn(op, require_shape_fn=True)
File "/home/gabriele/miniconda3/envs/nnmanG/lib/python3.6/site-packages/tensorflow/python/framework/common_shapes.py", line 627, in call_cpp_shape_fn
require_shape_fn)
File "/home/gabriele/miniconda3/envs/nnmanG/lib/python3.6/site-packages/tensorflow/python/framework/common_shapes.py", line 691, in _call_cpp_shape_fn_impl
raise ValueError(err.message)
ValueError: Shape must be rank 3 but is rank 2 for 'bidirectional_1/Tile' (op: 'Tile') with input shapes: [?,50,1], [2].
def model1(chain, pos):
model = Sequential()
model.add(Embedding(20, 50, embeddings_initializer='uniform', input_length=pos))
model.add(Reshape((chain, 400, 50)))
model.add(Bidirectional(LSTM(20, activation='relu', recurrent_activation='relu',
kernel_initializer='uniform', recurrent_initializer='uniform',
return_sequences=True),
merge_mode='concat'))
model.add(TimeDistributed(Dense(1, kernel_initializer='Orthogonal', activation='linear')))
model.compile(loss='mean_absolute_error', optimizer = 'adam')
return model


Automatically synchronize lists after manipulating a featureset

Whenever a featureset gets manipulated (add, delete, move features or their vertices) when not in IndexMode, without calling the following code afterwards, it results in errors getting raised either because the extent or some list (Vertices, Features, DrawingStates) that was affected by the manipulation got out of sync.
I've seem some of those problems in IndexMode too.
It would be nice if we could either synchronize the lists automatically after features where manipulated or add a function users can call after manipulation.
     Sub afterAlterLayer(ByRef fLayer As IFeatureLayer, Optional save As Boolean = True)
        fLayer.DataSet.UpdateExtent()
        fLayer.DataSet.InitializeVertices()
        If fLayer.LabelLayer IsNot Nothing Then fLayer.LabelLayer.CreateLabels()

        If save Then
            fLayer.DataSet.Save()
            fLayer.DataSet.Close()
        End If
        fLayer.AssignFastDrawnStates()
        If _map IsNot Nothing Then
            _map.Refresh()
            _map.ResetBuffer()
        End If
    End Sub

A significant problem that AssignFastDrawnStates() creates whenever in the middle of visualization or editing, is that features that had been hidden through FeatureLayer.SetVisible(…) become visible again (because the FastDrawnState array is recreated, thus dumping the old Visible property).
I would suggest a change to the AssignFastDrawnStates() function to try to retain the previous Visible property value and reassign it after assigning the Categories.

Is there any workaround to resolve this issue? I too facing this issue and hence unable to finalize my editing module.
Appreciate the work around.


concourse/concourse discussion got disabled by daily run terraforms github action

Describe the bug
The daily terraform action disables discussion of concourse/concourse. We need to find out where and make sure it to not do that anymore.
Reproduction steps

enabled concourse/concourse discussion
wait for the terraform action runs
verify the discussion is disabled
...

Expected behavior
concourse/concourse discussion is not disabled
Additional context
refer to https://github.com/concourse/concourse/issues/8715
No response

Fixed in https://github.com/concourse/governance/commits/master


Invalid byte sequence in UTF-8

Hi!
I'm getting this error when trying to validate a non CSV file.
/Users/user/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/csv.rb:2058:in `init_separators'
  /Users/ricardogarciavega/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/csv.rb:1590:in `initialize'
  /Users/user/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/csv.rb:1349:in `open'
  /Users/user/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/csv.rb:1411:in `read'
  (gem) csv_validator-0.0.3/lib/csv_validator.rb:22:in `validate_each'
  (gem) activemodel-3.2.13/lib/active_model/validator.rb:153:in `block in validate'
  (gem) activemodel-3.2.13/lib/active_model/validator.rb:150:in `validate'
  (gem) activesupport-3.2.13/lib/active_support/callbacks.rb:310:in `_callback_before_2445'
  (gem) activesupport-3.2.13/lib/active_support/callbacks.rb:418:in `_run__1234688691138222075__validate__3461540008247755959__callbacks'
  (gem) activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback'
  (gem) activesupport-3.2.13/lib/active_support/callbacks.rb:385:in `_run_validate_callbacks'
  (gem) activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks'
  (gem) activemodel-3.2.13/lib/active_model/validations.rb:228:in `run_validations!'
  (gem) activemodel-3.2.13/lib/active_model/validations.rb:195:in `valid?'
  app/controllers/importacion_controller.rb:14:in `create'
...

It only happens when I select a non CSV file in my form.
Thanks in advance

This issue need to be fixed as this does not work for .csv files with utf-8 format


Version vs LangVersion

Is Version superseding LangVersion in some way? What happens when specifying both? Is it supported?
Please explain the difference between Version and LangVersion in csproj files, how they relate, how the are compatible, what combinations are possible, and what's not possible to combine.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: eefc148c-0cfe-5a61-3268-676e410abaeb
Version Independent ID: e63755c1-f406-e95a-829b-bb559abd83fe
Content: Breaking change: C# code in templates not supported by earlier versions - .NET
Content Source: docs/core/compatibility/sdk/6.0/csharp-template-code.md
Product: dotnet-fundamentals
GitHub Login: @gewarren
Microsoft Alias: gewarren

@perjahn Can you point to the article where you learned about Version in the csproj file?

Sorry, I might have misunderstood something. You can close this issue.


SmartFlank algo

Codecov Report

:exclamation: No coverage uploaded for pull request base (smart_flank@08112e8). Click here to learn what that means.
The diff coverage is 90%.

@@              Coverage Diff               @@
##             smart_flank     #397   +/-   ##
==============================================
  Coverage               ?   79.26%
  Complexity             ?      511
==============================================
  Files                  ?       67
  Lines                  ?     1649
  Branches               ?      255
==============================================
  Hits                   ?     1307
  Misses                 ?      187
  Partials               ?      155


Single server adapter renamed/moved

The adapter has been renamed to Ubuntu server adapter and moved to https://github.com/torfs-ict/nanobox-adapter-ubuntu. Could you update the links?
Thanks!

How's that?

Thanks @danhunsaker!


bin,lib: remove extra comments/lines/spaces

Checklist

[x] npm install && npm test passes
[x] documentation is changed or added
[x] commit message follows commit guidelines

Description of change

Removes "module dependencies" comments and things that, IMHO, don't add
too much value. Happy to add back if helps some people when reading
through node-gyp.
DRY up lib/process-release.js.

CI: https://ci.nodejs.org/job/nodegyp-test-pull-request/61/

updated @richardlau, PTAL

CI: https://ci.nodejs.org/job/nodegyp-test-pull-request/71/

Landed in 6b0f4ae, thank you for the review!


lines after imports bug with triple quotes

Hello!
I found that isort creates only one line when it starts with decorator and triple quotes for top level function or class definition.
( I am not sure if it actually follows PEP8 but my PyCharm and flake8 see it as an error )
I am using isort v5.0.3
from module import decorator

@decorator("""
hello
""")
def a():
    pass

I think this code is supposed to have no problem with isort, but when I used isort, it causes the error below:
(base) james@MacBook-Pro-9 playground % isort isort_bug.py --diff --check
ERROR: /Users/james/playground/isort_bug.py Imports are incorrectly sorted and/or formatted.
--- /Users/james/playground/isort_bug.py:before 2020-07-06 18:22:34.970555
+++ /Users/james/playground/isort_bug.py:after  2020-07-06 18:22:44.025902
@@ -1,5 +1,4 @@
 from module import decorator
-

 @decorator

Besides, I think it is caused only when it starts with triple quotes
Below codes have no problem
from module import decorator

@decorator("hello")
def a():
    pass

I think I can fix it, I am working on it.

Thanks for reporting and fixing! Your changes have been deployed with the 5.0.6 release of isort :rocket:
Thanks!
~Timothy


Config map names should be customizable, or at least prefixable

Expected Behavior
The various config maps used by Tekton Pipeline (config-artifact-bucket, config-logging, etc) should be able to be given custom names, to avoid potential collisions with other services.
Actual Behavior
They can't. =)
Steps to Reproduce the Problem

Change the name of one of the config maps.
Anything referring to that config map won't work.

Additional Info
For the standard usage, this isn't a problem, since the config maps go into the tekton-pipelines namespace, but in Jenkins X, we put everything in the jx namespace along with...lots of other junk. It'd be really handy if we could at the least prefix the config map names to guarantee uniqueness. I haven't thought through the implementation details, but maybe something like an optional argument to the controller and webhook to provide a prefix for the various config map names would work.

Looks like the prefix idea would be a challenge for config-observability since that config map is only referenced from knative.dev/pkg code...

I think we'd be open to this if anyone wants to do the work!

/assign @jerop

@dibyom and I looked into this, and found that all config maps are customizable except for feature-flags config map which is fixed in #2363


docs/openapi-documentation

update documentation

@domachine: I'm still trying to figure that out... the openapi-generator-cli you mentioned needs a .yaml file that was used to generate the API. However, I didn't see one in the repo. Did you forget to commit that one? Or is there a specific command that I'm just missing that allows to create the docs from the Javascript code?

@domachine: I'm still trying to figure that out... the openapi-generator-cli you mentioned needs a .yaml file that was used to generate the API. However, I didn't see one in the repo. Did you forget to commit that one? Or is there a specific command that I'm just missing that allows to create the docs from the Javascript code?
I'm currently using the following command:
openapi-generator-cli generate -i <that-is-the-YAML-file-I-am-currently-missing.yaml> -g javascript -o ./documents/generated/html/

The API doc can be generated using the running service. There is no yaml file necessary. Instead of the yaml file path, just pass the url http://localhost:3000/docs/json when the server is running on your machine.

@domachine Thank you for the hint.


unpin build pin for numpy

Checklist

[x] Used a fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] ~Reset the build number to 0 (if the version changed)~
[ ] Re-rendered with the latest conda-smithy
[x] Ensured the license file is being packaged.

The pin of numpy >=1.14 for the build requirements is unnecessarily restrictive. There is no need to raise the bar so high at build time - plus this will cause issues within conda environments with regards to how iris relates to other packages in that environment.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender

@bjlittle how exciting!!


Update manage-secrets-rotation.md with instructions to change to corr…

…ect directory
PowerShell import command will not work unless first in the correct directory, C:\Program Files\WindowsPowerShell\Modules\Microsoft.AS.ArcIntegration

@KennyLowe Thank you for your contribution! The change looks good and is ready to be merged. #sign-off


add netcoreapp2.0

Fix #663

OpenCvSharp4.runtime.ubuntu.18.04-x<IP_ADDRESS>.20191018.nupkg made by CircleCI has a wrong dependency...
The nuget command in ubuntu is too old???
    <dependencies>
      <group targetFramework="Unsupported0.0" />
    </dependencies>


doc: dts: drop compatibility with linux design goal

This hasn't been possible in practice. For example, we use child nodes
in multi-function devices in our devicetrees in order to create
different struct device objects for each 'function', and thus each
zephyr API. There are a litany of other differences, especially since
our bindings are often developed from scratch in our own bindings
language.
However, we do want to be compatible with Linux whenever it makes
sense. Gratuitous incompatibilities are not welcome.
Handle this by relaxing the requirement to "you can violate Linux
compatibility if you can convince the DT maintainers it's a good
idea".
Signed-off-by: Marti Bolivar<EMAIL_ADDRESS>

I closed this because multiple people are taking this too seriously. I left it as a draft on purpose. It was not ready for review.


Dropdown input elements look weird on Firefox 9

My steps to repro:

Open Firefox 9 on Mac
Go to bootstrap main page (I'm assuming is working off 1.4.0 )
Scrolldown to look at dropdown input element.  Style is broken.

You mean <select>? It's not stylable in Firefox as much as it is in Webkit.


[RPD-211] [BUG] Fix matcha get with updated state file

Currently, matcha get throws an error with the new state file. This is likely due to the added fields:
location": "ukwest",
"prefix": "xxxx"
As these are not dictionaries an error is thrown when matcha get is called
We have added these values in the correct format to the Terraform outputs file to fix this.
Checklist
Please ensure you have done the following:

[x] I have read the CONTRIBUTING guide.
[x] I have updated the documentation if required.
[x] I have added tests which cover my changes.

Type of change
Tick all those that apply:

[x] Bug Fix (non-breaking change, fixing an issue)
[ ] New feature (non-breaking change to add functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Other (add details above)

Closing, since it's been implemented in a different PR as a hotfix on a stable release #118


Update reference to scipy docs

Update scipy reference in intersphinx_mapping. Currently getting this error
Warning, treated as error:
failed to reach any of the inventories with the following issues:
intersphinx inventory 'http://docs.scipy.org/doc/scipy/reference/objects.inv' not fetchable due to <class 'requests.exceptions.HTTPError'>: 404 Client Error: Not Found for url: https://docs.scipy.org/doc/scipy/reference/objects.inv
Checking if docs can be built.
FAILED
ERROR: InvocationError for command /home/runner/work/PyBaMM/PyBaMM/.tox/doctests/bin/python run-tests.py --doctest (exited with code 2)```

intersphinx inventory has moved: http://matplotlib.org/objects.inv -> https://matplotlib.org/objects.inv
intersphinx inventory has moved: https://docs.python.org/objects.inv -> https://docs.python.org/3/objects.inv
intersphinx inventory has moved: http://docs.scipy.org/doc/numpy/objects.inv -> https://numpy.org/doc/stable/objects.inv
intersphinx inventory has moved: http://www.sphinx-doc.org/en/stable/objects.inv -> https://www.sphinx-doc.org/en/master/objects.inv


ci(nightly): better recovery for missing components

The nightly channel is published based on what is released within the sway-nightly-binaries repo. Sometimes, supporting a new component here without supporting the equivalent nightly build in that repo will result in failure to publish the nightly channel.
We should consider a sane default for a nightly component should there not be a build. Perhaps defaulting to the latest package?

This was closed by #337


Notebooks currently non functional

I get this error in the first example notebook:
4. DeepSlice Registration(s)[¶](http://localhost:8888/lab/workspaces/auto-C/tree/Dropbox/BIOP/abba_python/example_notebooks/0.%20Register%20And%20Save%20State.ipynb#4.-DeepSlice-Registration(s))

# a first deepslice registration round : possible because it's the Allen CCF atlas, cut in coronal mode

# what's assumed : the sections are already in the correct order

aligner.register_slices_deepslice_local(channels=[0, 1],

                                  ensemble=False,

                                  model='mouse',

                                  post_processing='Keep order + ensure regular spacing',

                                  slices_spacing_micrometer=-1,

                                  allow_slicing_angle_change=True) # use run_mode='Web' if you are not headless and without a local deepslice env

#allow_slicing_angle_change: bool,

#                                        channels: str,

#                                        ensemble: bool,

#                                        model: str,

#                                        post_processing: str,

#                                        slices_spacing_micrometer: float

# second deepslice registration: because the slices are resampled for the registration,

# we usually get a slightly better positioning along z and cutting angle

# also: it's fast, and the combination of two affine transforms is

# an affine transform, so it's not like we are adding extra degrees of freedom

# aligner.register_slices_deepslice(channels=[0, 1],

#                                  maintain_slices_order = True, # the slices are already sorted: do not mess the order

#                                  run_mode='local') # use run_mode='web' if you are not headless and without a local deepslice env

---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
Cell In[13], line 3
      1 # a first deepslice registration round : possible because it's the Allen CCF atlas, cut in coronal mode
      2 # what's assumed : the sections are already in the correct order
----> 3 aligner.register_slices_deepslice_local(channels=[0, 1],
      4                                   ensemble=False,
      5                                   model='mouse',
      6                                   post_processing='Keep order + ensure regular spacing',
      7                                   slices_spacing_micrometer=-1,
      8                                   allow_slicing_angle_change=True) # use run_mode='Web' if you are not headless and without a local deepslice env
     10 #allow_slicing_angle_change: bool,
     11 #                                        channels: str,
     12 #                                        ensemble: bool,
   (...)
     22 #                                  maintain_slices_order = True, # the slices are already sorted: do not mess the order
     23 #                                  run_mode='local') # use run_mode='web' if you are not headless and without a local deepslice env

File ~\AppData\Local\abba-python-0.8.0\lib\site-packages\abba_python\abba.py:834, in Abba.register_slices_deepslice_local(self, allow_slicing_angle_change, channels, ensemble, model, post_processing, slices_spacing_micrometer)
    821 """
    822 Uses Deepslice for affine in plane and axial registration of selected slices
    823
   (...)
    830 slices_spacing_micrometer (float): Spacing (micrometer), used only when 'Keep order + set spacing' is selected
    831 """
    832 RegisterSlicesDeepSliceLocalCommand = jimport(
    833     'ch.epfl.biop.atlas.aligner.command.RegisterSlicesDeepSliceLocalCommand')
--> 834 return self.ij.command().run(RegisterSlicesDeepSliceLocalCommand, True,
    835                              'mp', self.mp,
    836                              'allow_slicing_angle_change', allow_slicing_angle_change,
    837                              'channels', channels,
    838                              'ensemble', ensemble,
    839                              'model', model,
    840                              'post_processing', post_processing,
    841                              'slices_spacing_micrometer', slices_spacing_micrometer).get()

TypeError: No matching overloads found for org.scijava.command.DefaultCommandService.run(_jpype._JClass,bool,str,ch.epfl.biop.atlas.aligner.MultiSlicePositioner,str,bool,str,list,str,bool,str,str,str,str,str,int), options are:
	public java.util.concurrent.Future org.scijava.command.DefaultCommandService.run(java.lang.String,boolean,java.util.Map)
	public java.util.concurrent.Future org.scijava.command.DefaultCommandService.run(org.scijava.command.CommandInfo,boolean,java.util.Map)
	public java.util.concurrent.Future org.scijava.command.DefaultCommandService.run(org.scijava.command.CommandInfo,boolean,java.lang.Object[])
	public java.util.concurrent.Future org.scijava.command.DefaultCommandService.run(java.lang.Class,boolean,java.util.Map)
	public java.util.concurrent.Future org.scijava.command.DefaultCommandService.run(java.lang.String,boolean,java.lang.Object[])
	public java.util.concurrent.Future org.scijava.command.DefaultCommandService.run(java.lang.Class,boolean,java.lang.Object[])

It's because of the channels taht are lists...

Another error in notebook 2:

ModuleNotFoundError                       Traceback (most recent call last)
Cell In[5], line 6
1 # -- FOR DEBUGGING
2 # import imagej.doctor
3 # imagej.doctor.checkup()
4 # imagej.doctor.debug_to_stderr()
----> 6 aligner = Abba('azba_zfish_4um') # Simply put the name of the BrainGlobe atlas
7 aligner.show_bdv_ui()  # creates and show a bdv view
9 # !! Warning : it takes time... first : downloading the atlas if not present
10 # it can take up to a minute...

File ~\AppData\Local\abba-python-0.8.0\lib\site-packages\abba_python\abba.py:181, in Abba.init(self, atlas_name, ij, slicing_mode, headless, print_config)
179 bg_atlas = BrainGlobeAtlas(atlas_name)
180 # initialized
--> 181 from abba_private import abba_atlas
182 atlas = abba_atlas.AbbaAtlas(bg_atlas, ij)
183 atlas.initialize(None, None)
ModuleNotFoundError: No module named 'abba_private'

Notebook 4: mettre a jour la commande deepslice

Thanks!

I'm not familiar with Python packages/modules etc. s

Yeah, me neither 😓 . I'm struggling to get an identical code to work both:

for the python packaged module,
within an IDE,
and with the conda constructor installer

Honestly that's a mess.


Adds java tcf worker

The java worker listens to new work order events on a blockchain,
filters them to only keep those related to its local wallet, downloads
the appropriate docker container, executes it locally and returns the
result to a smart contract.
All TCF effort (establishing the secure channel, signing the result
etc.) must be done in the container.
Signed-off-by: Anthony Simonet-Boulogne<EMAIL_ADDRESS>

This seems to be a duplicate/resubmital of PR #37

About the license: I added the standard format to all Java files, should I add it somewhere else?


Add events when hit

fixes #294

Coverage decreased (-0.03%) to 88.921% when pulling f65f7405b3d6f807576613950a4fb3eaa8373b27 on add_events_when_hit into b4457c3c18d298161e5882ef19c8c5aaf2da1e99 on dev.


missing training/test data

hi great work,
I noticed there doesn't seem to be any training/test data included as well as missing some example files. Could these be added, to dig more into this utility?
kind regards,
Gert

This was done intentionally due to legal considerations. Please contact us via email, and we can set up a research use license for the training data/example files.


Check outputs of each layer in MobileViT

How to check the output of every layer? Suppose my input to my model is this.
image = tf.ones((256, 256, 3))

it is returning me an array of 1000 elements with different probabilities.
CC: @sayakpaul

For TensorFlow models, you have the following options:

Return a dictionary from the main model class where the keys would be the block / layers names and the values would be the outputs. This is only possible if your model is implemented subclassing from tf.keras.Model.

Take each layer and test them in isolation.

As the layers are implemented using the Functional API, so we need to test each layer in isolation. For that, we just need to return the output of each layer right? And one more thing, is it okay to take an input tensor like this?
image = tf.ones((256, 256, 3))

Yup. Same. Just ensure that both the models (your TF implementation and the original PT implementation) operate on the same inputs.


Alloy msg.sender is Zero w/ Anvil

Summary

RFCs: $\emptyset$
Categories: debug

msg.sender is getting decoded as 0 by deployed Anvil contracts when using Alloy providers.
Reproduce
The easiest way to repdroduce and  debug is to following this approach.

When you have made modifications that affect core contract deployment or contract logic, run just mcr-client native build.local -t=false
In a separate shell run, cargo test -p mcr-settlement-client test_genesis_ceremony.

You should now see output similar to the following:
2024-07-08T07:59:40.076743Z TRACE ReqwestTransport{url=http://<IP_ADDRESS>:8545/}: alloy_transport_http::reqwest_transport: response body body={"jsonrpc":"2.0","id":3,"error":{"code":3,"message":"execution reverted: ","data":"0xe2517d3f00000000000000000000000000000000000000000000000000000000000000009f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6"}}
test tests::e2e::genesis_ceremony::test_genesis_ceremony ... FAILED

failures:

---- tests::e2e::genesis_ceremony::test_genesis_ceremony stdout ----
Error: Governor failed to mint for alice

Caused by:
    server returned an error response: error code 3: execution reverted:

failures:
    tests::e2e::genesis_ceremony::test_genesis_ceremony

Which you can decode via forge selectors list MintableToken to:
| Error    | AccessControlUnauthorizedAccount(address,bytes32)   | 0xe2517d3f

This is unexpected and seemingly logically inconsistent because our call to hasMinterRole appropriately returned true for the governor address. And, that is the only role restriction on the method.
function mint(
        address to,
        uint256 amount
    ) public virtual onlyRole(MINTER_ROLE) {
        _mint(to, amount);
}

To further debug, go ahead and remove onlyRole(MINTER_ROLE) and restart the network.
function mint(
        address to,
        uint256 amount
    ) public virtual {
        _mint(to, amount);
}

You should now pass the mint step, but should get an error code at the alice.approve step which matches this:
| Error    | ERC20InvalidApprover(address)                       | 0xe602df05

If you refer to the OpenZeppelin source, you'll see this only occurs when the owner address msg.sender == 0: https://github.com/search?q=repo%3AOpenZeppelin%2Fopenzeppelin-contracts ERC20InvalidApprover&type=code
Behavior
In general, we have the following behavior:

All view methods not using msg.sender behave as expected.
All other methods do not, appearing to have msg.sender = 0.

Attempts to Debug and Recommendations

At first this seemed like potentially a proxy issue, I've tried both UUPS and TransparentProxy in a variety of different deployment scripts to no avail. But, importantly, I am not using the Upgrades module from OpenZeppelin directly.
I've tried playing around with the alloy::providers::ProviderBuilder configs a bit--particularly thinking this might be a chain_id issue. But, it does not appear so.
There is a special anvil provider for alloy perhaps this is needed.
There are various lines commented // debug:  in the code. Search these to help identify debug points.

Changelog

Included is a small section of a larger PR where this is occurring throughout.

Testing

Outstanding issues

Having an issue with
---- tests::e2e::genesis_ceremony::test_genesis_ceremony stdout ----
Error: Dot movement path not provided

echo $DOT_MOVEMENT_PATH doesn't return anything while just is running. I'm not seeing it declared on flake.nix but I can see it in docker-compose.local.yml. Is there anything I need to do to get it to actually get declared?

Having an issue with
---- tests::e2e::genesis_ceremony::test_genesis_ceremony stdout ----
Error: Dot movement path not provided

echo $DOT_MOVEMENT_PATH doesn't return anything while just is running. I'm not seeing it declared on flake.nix but I can see it in docker-compose.local.yml. Is there anything I need to do to get it to actually get declared?

Yeah I'm getting this as well.
I tried
export DOT_MOVEMENT_PATH=""

for a few paths that I thought might work, but that only made the test hang. It seems to me like dot-movement is supposed to create the path automatically but it isn't, for some reason?

DOT_MOVEMENT_PATH="$(pwd)/.movement" RUST_LOG=trace cargo test -p mcr-settlement-client test_genesis_ceremony

And, delete in between runs for the moment.

I was able to fiddle with debugging to the point of getting the same approval failure error.
---- tests::e2e::genesis_ceremony::test_genesis_ceremony stdout ----
Error: Alice failed to approve MCR

It does not make sense to me that governer_address would be 0, nor do the tests show that my alloy_signer_wallet::LocalWallet; is 0.
So I tend to think Alloy and Anvil are not communicating nicely with each other for some odd reason.
@l-monninger you mentioned "There is a special anvil provider for alloy perhaps this is needed."
And you mentioned bumping the Alloy version.
At this point I think both of those are worth a try. Lmk if you'd like me to take a stab at it?
If so, any info you have about that Anvil provider for Alloy would be helpful.

I tried modifying the minting to Alice as follows:
let mint_call = governor_token.mint(alice_address, U256::from(100));
let send_future = mint_call.send();
let mint_tx = send_future.await.context("Governor failed to mint for alice")?;

let watch_future = mint_tx.watch();
let mint_receipt = watch_future.await.context("Failed to get transaction receipt for minting")?;
info!("Mint transaction receipt: {:?}", mint_receipt);

So, no progress by switching from call() to send() and watch().


Add Item::attrs to get the attributes of an item if available

Hello, thanks for the crate!
When looking at Item I was surprised not to find APIs that ease its use, without having to pattern-match every time, like for rustc_hir::ItemKind. This PR add a convenience method to have an easy access to the attributes of an item.
I don't know the policy about new APIs, so feel free to close if deemed out-of-scope. About the feature-flag to use and the documentation I can fix what's needed, when for parsing as a first guess.
As a side note test_expr_size and test_type_size fail on arm64 (M1).

Why isn't this PR being merged?


[BUG]: PaginationBar Triggers Reload if used in form

Bug Description

Put a PaginationBar between form tags
Click a non-disabled Button
Page Reloads

Expected Behavior
Page does not reload
Steps to Reproduce

Put a PaginationBar between form tags
Click a non-disabled Button
Page Reloads

Possible Solutions
The reload tells us that .prevent is missing from the click handlers
Further Information
No response

fixed in 6ff88de4da726bbe7e550483bb96370448ee9187.


Feature request: Import from swagger-ui spec

It would be great to import not just from plain json file but from swgger-ui url itself.
There are several scenarios why it may be useful:

User don't know the url to .json file but know swagger-ui endpoint.
User don't have .json spec in file but it's included directly in swagger-ui and auto-regenerated each time, i.e:

Also, not sure about correct place to ask, but: is it possible to auto-refresh endpoints definitions to keep them in sync with actual spec?

@josser There are quite a few issues I see with this:

No two swagger-ui endpoint seem to have the same loading structure (some point to a url, some have the spec included as a js object, some build the spec on execution, etc.), which makes it very unstable to parse.
Executing the code instead of just parsing it would be a strong security risk.

@JonathanMontane I agree about 2)
I've tried to figure out how it's possible to parse without something huge like esprima and now I'm understand that it may be too complex task. Regexps are not looking promising :)

@josser If it is only for your personal use case, you can make a fork of API-Flow (https://github.com/luckymarmot/API-Flow). It's the underlying converter that we created for API description formats imports. All you'd need to do is create an additional loader for that can handle the index.html file that contains the swagger-ui bundle with the spec (that's where the regex spec1 = ({.*}) comes in useful)


question: Can file upload input be part of angular material?

just question:
Did file upload input will be available in angular material? or its out of scope?

We don't have any plans to do a file upload presently.

You can use some tricks to make it look less ugly.
It seems to work on firefox.
On chrome the parent may be clicked to update the filename.
On edge, it doesn't work but this is a known bug
It's very likely that this kind of workaround will cause weird behaviors and issues but you can experiment in this direction if like me, you're forced to have a file input and you don't want it to be visually horrible.
For example, in a list:
</md-list>
  <md-list-item>

      <md-icon>add</md-icon>
        <input #file type="file" [style.display]="'none'">

{{file.value}}

  </md-list-item>
<md-list>

i'm interested in this good idea.

We really need one, It is important for web-based websites! Could you please have a try???

@jelbourn kidding us? with "We don't have any plans to do a file upload presently." ?

Hi,
If you really need one; I made a custom one (Angular 4.3.s and material look)
https://gist.github.com/merlosy/ab33dd7edaacfd92d6c9a5daea0a1240
Feedback is great !

Just curious @josephperrott

As file uploads are not part of the material spec, there are not any plans to support file uploads whether via drag or input.

If someone from outside of Material were to make a pr, would it be accepted?

Hi @CharlieGreenman, i made one actually. It has a material look and support for drop event is coming. Works with ng v6.
You can play with the demo as well.
https://github.com/merlosy/ngx-material-file-input

@merlosy this looks fantastic. However, as  I'm sure you can understand how an enterprise would be reluctant to use your plugin. Primarily due to maintenance, future versions, and integrity of plugin.


Add travis

Hi Shane! 👋🏽
I added a travis config to fix #2 and tweaked the cibuild script so that everything works!
The CI build uses RVM; that's Travis' included Ruby infrastructure, so this'll be faster even though it's different from the development setup. Let me know if you'd rather make the tradeoff the other way and I'd be happy to make the cibuild script install rbenv instead.
The RUBY_HEAP_MIN_SLOTS env var set in cibuild is apparently deprecated, so I changed that to the replacement RUBY_GC_HEAP_INIT_SLOTS.

Thanks @carols10cents! Feel free to stick around. 👍🏻

I'm hoping to!! ❤


Set time and platform for weekly IF office hours

Story
As IF contributors we want to make it as easy as possible for hackers to join in with Carbon hack. Making a space for people to ask questions in a synchronous call will help people to onboard.
Rationale

Implementation details

Priority

Scope

Size

What does "done" look like?

Does this require updaes to documentation or other materials??

What testing is required?

Is this a known/expected update?

@jawache please confirm if this is a duplicate of something else you mentioned in the call?

This is a duplicate - it's on the iF board mainly to remind me to confirm whether I'm organizing or it's handled elsewhere. Since chatting to @jawache I can close this issue out as redundant.

Closing as redundant - issue replicated in hackathon management board


Lots of issues making mysql2postgres unable to work on Windows 10

Env:
Microsoft Windows [version 10.0.14393]
> ruby --version
ruby 2.3.3p222 (2016-11-21 revision 56859) [x64-mingw32]
> gem --version
2.6.11
> bundle --version
Bundler version 1.14.6

I tried to execute the following to install mysql2postgres:
> bundle install
Using rake 10.5.0
Using public_suffix 2.0.5
Using builder 3.2.3
Using thread_safe 0.3.6
Using multipart-post 2.0.0
Using git 1.3.0
Using hashie 3.5.5
Using multi_json 1.12.1
Using mini_portile2 2.1.0
Using jwt 1.5.6
Using multi_xml 0.6.0
Using rack 2.0.1
Using highline 1.7.8
Using bundler 1.14.6
Using psych 2.2.4
Using rdoc 5.1.0
Using semver2 3.4.2
Using mysql-pr 2.9.11
Using postgres-pr 0.7.0
Using test-unit 2.5.5
Using addressable 2.5.1
Using descendants_tracker 0.0.4
Using faraday 0.9.2
Using nokogiri <IP_ADDRESS> (x64-mingw32)
Using oauth2 1.3.1
Using github_api 0.11.3
Using jeweler 2.3.3
Bundle complete! 10 Gemfile dependencies, 27 gems now installed.
Use `bundle show [gemname]` to see where a bundled gem is installed.

> gem build mysqltopostgres.gemspec
Successfully built RubyGem
Name: mysqltopostgres
Version: 0.3.0
File: mysqltopostgres-0.3.0.gem

> gem install mysqltopostgres-0.3.0.gem
Successfully installed mysqltopostgres-0.3.0
Parsing documentation for mysqltopostgres-0.3.0
Done installing documentation for mysqltopostgres after 0 seconds
1 gem installed

When using compiled binary:
> mysqltopostgres
e:/dev/ruby2.3/lib/ruby/gems/2.3.0/gems/mysqltopostgres-0.3.0/lib/mysqltopostgres.rb:7:in `require': cannot load such file -- pg_ext (LoadError)
    from e:/dev/ruby2.3/lib/ruby/gems/2.3.0/gems/mysqltopostgres-0.3.0/lib/mysqltopostgres.rb:7:in `<top (required)>'
    from e:/dev/ruby2.3/lib/ruby/gems/2.3.0/gems/mysqltopostgres-0.3.0/bin/mysqltopostgres:7:in `require'
    from e:/dev/ruby2.3/lib/ruby/gems/2.3.0/gems/mysqltopostgres-0.3.0/bin/mysqltopostgres:7:in `<top (required)>'
    from e:/dev/ruby2.3/bin/mysqltopostgres:22:in `load'
    from e:/dev/ruby2.3/bin/mysqltopostgres:22:in `<main>'

When using bundle exec:
> bundle exec mysqltopostgres
e:/dev/ruby2.3/lib/ruby/gems/2.3.0/gems/bundler-1.14.6/lib/bundler/rubygems_integration.rb:408:in `block in replace_bin_path': can't find executable mysqltopostgres (Gem::Exception)
    from e:/dev/ruby2.3/lib/ruby/gems/2.3.0/gems/bundler-1.14.6/lib/bundler/rubygems_integration.rb:425:in `block in replace_bin_path'
    from e:/dev/ruby2.3/bin/mysqltopostgres:22:in `<main>'

And I even tried using the bundled binary in the repository itself:
> ruby bin\mysqltopostgres
E:/dev/www/mysql2postgres/lib/mysqltopostgres.rb:7:in `require': cannot load such file -- pg_ext (LoadError)
    from E:/dev/www/mysql2postgres/lib/mysqltopostgres.rb:7:in `<top (required)>'
    from bin/mysqltopostgres:7:in `require'
    from bin/mysqltopostgres:7:in `<main>'

I am no ruby dev, and these dependency seem to be a bit tough to handle (maybe that's why I'm no ruby dev).
I spent a whole day on this, and you know, time is money, and I couldn't spend more time on this, like any other guy coming from Heroku would do.
Can anyone say what's going on and what's needed to finally install this app, because it's linked in Heroku docs to migrate from mysql to postgresql 😕

Facing the same issue.

It has to do with the pg gem and making sure it was able to install. I'm not 100% sure why the gem wasn't installed as part of your bundle install command, but you'll want to make sure "gem install pg" works before trying to use this gem. To have that work, you'll need to make sure your libpq.dll is in PATH and that you have the correct version in PATH.


Emscripten with threading support

Difficult to do. The Makefile needs to be edited and pass the -pthread compiler and linker flag. Maybe the linker flag -s PTHREAD_POOL_SIZE=<expression> and compiler flag -s USE_PTHREADS=1. The last one didn't seem to work. Also set the headers
Cross-Origin-Embedder-Policy: require-corp
Cross-Origin-Opener-Policy: same-origin

Thanks amadan on discord.

This is fixed on latest nimhttpd. The examples can be ported but it's not necessary.


NUTCH-2684 README.md file for index writer plugins.

plugin-specific documentation for all indexer writers plugins.

+1 Will merge soon. Thanks, @r0ann3l!


how to close extensions KHR_texture_transform?

I am creating glb form memory and then compressed by meshoptimizer,after compressed , KHR_texture_transform is added.But i really donnot want this transform added,how could I close it ?
Thanks!

You can use -noq option to disable quantization which is what requires KHR_texture_transform in the first place.

You can use -noq option to disable quantization which is what requires KHR_texture_transform in the first place.

thanks，it is what i want;after I put -noq on;translation and scale for mesh points ,offset and scale for KHR_texture_transform all disappeared,then the file just big a little(701kb->753kb)


The tooltip is hidden by the parent tag using overflow-auto

I want to tooltip the child tag, but the parent tag is using overflow-auto, causing the phenomenon below. What do I need to do to fix this problem? (This issue only appears on websites accessed by mobile)

Sorry for the late response. Missed the notification for this issue.
You have two options:

Use the posititionStrategy prop on the tooltip.

<Tooltip positionStrategy="fixed" />

Move the tooltip component outside of your overflow parent. This shouldn't affect the tooltip positioning.

Feel free to reopen with more information.


bug in the R interpreter?!

Hi,
please see this issue: https://github.com/microsoft/vscode/issues/167221
I copy the text here:
I work on a MAC with newest R version and just switched from ATOM to VSCODE. I encountered a weird problem I hope you can help me solve: I have an R script that I can run through line by line using CMD + ENTER. No problems. However, if I mark all code and hit CMD + ENTER all code is run, too (as expected) but the script encounters several errors. This makes zero sense. The script is fine and there are no errors (I am very experienced in R + I can run the same code all at once in e.g. Rstudio). Thus, something is off with the system in vscode to run code. If I press CMD + ENTER too fast between the lines of codes, I also encounter this issue.
Any idea what this could be and how I can solve that?
even if I disable all extensions except the REditorSupport (which I think is necessary to run R code), the problem persists: I can run through the code line by line if I make sure not to go too fast but if I go too fast or all at once, I get errors that are no correct errors...

Are you using radian or official R terminal?

official R terminal. I guess it should work with either terminal, right?

Official R terminal has a known limitation of reading 4096 bytes per line. You might want to try radian and enable r.bracketedPaste in vscode settings.

thank you!! I will try it. I never experienced any issues when using the normal terminal (e.g. in ATOM, Rstudio or just in Mac terminal). I will report back if this will fix it!

fixed it


RSC: pin_versions should return created, active, and size columns

See https://github.com/rstudio/pins-r/pull/623
Here is what it looks like on R pins (note that metadata is pulled from the bundle):

Here is what it looks like in python pins:
from dotenv import load_dotenv
load_dotenv()
from pins import board_rsconnect
board = board_rsconnect("https://colorado.rstudio.com/rsc")
board.pin_versions("michael.chow/mtcars3")

See this issue for a case where vetiver wants to use the "active" column...

#146


Add Status to the available subscription field filters

Summary
Currently, the field filters do not allow for a subscription such as "when a ticket's status is x".
Additional Info
The option needs to be added to the dropdown on the frontend for it to be supported. The change  go in webapp/src/utils/jira_issue_metadata.tsx

duplicate


sensu-email-handler not working with postfix 3.3.0

Expected Behavior
Be able to use sensu-email-handler with postfix relay in version 3.3.0
Current Behavior
The handler isn't compliant with postfix 3.3.0 which implemente new feature on Header "From" :
http://www.postfix.org/announcements/postfix-3.3.0.html
when sensu send an email to our postfix relay smtp in version 3.3.0 this one is returning :
Feb  1 16:03:21 tech-smtp postfix/qmgr[25813]: 3917BBC446: from=sensu@XXXXX, size=410, nrcpt=1 (queue active)
Feb  1 16:03:21 tech-smtp postfix/smtpd[9968]: disconnect from ip-XX.XX.XX.XX[X.X.X.X] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Feb  1 16:03:21 tech-smtp postfix/relay/smtp[9965]: Untrusted TLS connection established to aspmx.l.google.com[<IP_ADDRESS>]:25: TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)
Feb  1 16:03:21 tech-smtp postfix/relay/smtp[9965]: 3917BBC446: to=My_EMAIL@XXXXX, relay=aspmx.l.google.com[<IP_ADDRESS>]:25, delay=0.39, delays=0.01/0/0.14/0.24, dsn=5.7.1, status=bounced (host aspmx.l.google.com[<IP_ADDRESS>] said: 550-5.7.1 [X.X.X.X      11] Our system has detected that this message is 550-5.7.1 not RFC 5322 compliant: 550-5.7.1 'From' header is missing. 550-5.7.1 To reduce the amount of spam sent to Gmail, this message has been 550-5.7.1 blocked. Please visit 550-5.7.1  https://support.google.com/mail/?p=RfcMessageNonCompliant 550 5.7.1 and review RFC 5322 specifications for more information. r9-v6si3788066ejp.209 - gsmtp (in reply to end of DATA command))
Possible Solution or workaround
Use postfix version 3.1.0 which is working with sensu handler :
Feb  1 14:46:19 imail-prod postfix/smtpd[16000]: connect from unknown[X.X.X.X]
Feb  1 14:46:19 imail-prod postfix/smtpd[16000]: 2308B23E00: client=unknown[X.X.X.X]
Feb  1 14:46:19 imail-prod postfix/cleanup[16795]: 2308B23E00: message-id=<>
Feb  1 14:46:19 imail-prod postfix/qmgr[385]: 2308B23E00: from=sensu@XXXXXXX, size=368, nrcpt=1 (queue active)
Feb  1 14:46:19 imail-prod postfix/smtpd[16000]: disconnect from unknown[X.X.X.X] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Feb  1 14:46:19 imail-prod postfix/smtp[16801]: Untrusted TLS connection established to aspmx.l.google.com[<IP_ADDRESS>]:25: TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)
Feb  1 14:46:19imail-prod postfix/smtp[16801]: 2308B23E00: to=MY_MAIL@XXXXX, relay=aspmx.l.google.com[<IP_ADDRESS>]:25, delay=0.34, delays=0.05/0/0.09/0.2, dsn=2.0.0, status=sent (250 2.0.0 OK<PHONE_NUMBER> n17si436556wro.438 - gsmtp)
Feb  1 14:46:19 imail-prod postfix/qmgr[385]: 2308B23E00: removed
Steps to Reproduce (for bugs)
execute email handler through a smtp server postfix 3.3.0
Your Environment
Backend which exec the handler are in v5.1.1 under ubuntu 18.04

@schampseix would you mind testing the PR that @nixwiz submitted?


Add B-Tree

I would like to contriblute to adding the B-Tree data structure.
It is a rather common data structure that is great for large data, I'll be glad to implement it.

Hi @jsanossian , I just had the same thought. Have you made any progress since then?

Update: I do have a full working JS implementation of a B+Tree, based on an implementation I did in C++ for a university assignment.
The difference between B-Trees and B+ Trees is basically that a B+ Tree stores the values only in the leaf nodes, whereas the B-Tree stores values also in internal nodes.
@trekhleb is using things like the comparator etc. that are provided by this repository a requirement for a PR?


implements nomaximizerequest

https://github.com/hyprwm/hyprland-wiki/pull/275
also why does clang-format keep putting the bracket in the same line? (in Window.hpp changed from https://github.com/hyprwm/Hyprland/commit/18f9fb5e0fdb3fdc1aebe61b3c589bc23aed1e9f)

that's my fault, was using both rules at the same time for testing, will fix soon.
the idea is to separate maximize and fullscreen since a lot of programs are misusing the maximize request

Now actually works as intended

also why does clang-format keep putting the bracket in the same line? (in Window.hpp changed from https://github.com/hyprwm/Hyprland/commit/18f9fb5e0fdb3fdc1aebe61b3c589bc23aed1e9f)

my desktop's clang-format is fucked and it insists on ignoring the same line opening brace for enums rule


Add more Berlin companies

Black Label Properties (Hausverwaltung)
Harry Gerlach (from #1)
Immonext (not sure if this is a good idea, found them on google)
WBM (landeseigene)
Fix homesk
Fix Berlinhaus
Remove gesobau completely

Amazing, thank you for your contribution! :sparkling_heart: I'll give it a try in the next few days, latest next week. :slightly_smiling_face:
I had a quick look at Immonexxt, seems okay to me. :wink:

Hey there, sorry for the unexpected delay! Something health-related came up and I had an urgent surgery. But recovery went well, and I'm back again. :relieved:

Oh no, all the best to you! Take your time with this. I did find an apartment as well, but I'd still be willing to resolve any suggestions you might have.
I actually found the WBM parser the most helpful, since they have some kind of "first comes, first served", so your tool really helped. (I did build a really hacky telegram integration into this)

I did find an apartment as well, but I'd still be willing to resolve any suggestions you might have.

Congrats on finding an apartment! :partying_face:

I actually found the WBM parser the most helpful, since they have some kind of "first comes, first served", so your tool really helped. (I did build a really hacky telegram integration into this)

If you want to share a little about how you built the Telegram integration, feel free to hop into our Discord, I'm sure some poeple would find that interesting (me included :wink: )

For the later commits: Could you split them into their own PRs? That would make it way easier for me to test and merge them bit by bit. Thanks again for your work! 😊

Done!


[WIP] add compressor to file name and change default compressor to zstd

Why is this PR needed?
WIP
What changes were proposed in this PR?
Does this PR introduce any user interface change?

No
Yes. (please explain the change and update document)

Is any new testcase added?

No
Yes

Build Success with Spark 2.4.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbon_PR_Builder_2.4.4/165/

Build Failed  with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/1868/

Build Success with Spark 2.4.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbon_PR_Builder_2.4.4/171/

Build Failed  with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/1873/

Build Success with Spark 2.4.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbon_PR_Builder_2.4.4/172/

Build Failed  with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/1874/

Build Success with Spark 2.4.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbon_PR_Builder_2.4.4/176/

Build Failed  with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/1879/

Build Success with Spark 2.4.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbon_PR_Builder_2.4.4/177/

Build Failed  with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/1880/

Build Success with Spark 2.4.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbon_PR_Builder_2.4.4/184/

Build Success with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/1887/

Build Success with Spark 2.4.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbon_PR_Builder_2.4.4/193/

Build Failed  with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/1895/

Build Success with Spark 2.4.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbon_PR_Builder_2.4.4/200/

Build Failed  with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/1902/

Build Success with Spark 2.4.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbon_PR_Builder_2.4.4/203/

better to do further testing on a cluster, not only a local machine.

Build Success with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/1905/

@QiangCai ok, I will verify on cluster

Build Success with Spark 2.4.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbon_PR_Builder_2.4.4/216/

Build Success with Spark 2.4.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbon_PR_Builder_2.4.4/219/

Build Success with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/1921/

Build Success with Spark 2.4.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbon_PR_Builder_2.4.4/257/

Build Success with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/1960/

Build Success with Spark 2.4.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbon_PR_Builder_2.4.4/386/

Build Failed  with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/2087/

Build Success with Spark 2.4.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbon_PR_Builder_2.4.4/399/

Build Success with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/2100/

Build Success with Spark 2.4.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbon_PR_Builder_2.4.4/419/

Build Success with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/2119/

LGTM


Mutation triggers subscription resolver

When running a mutation that has a subscription it seems to trigger the subscription resolver, I'm under the impression that the subscription resolver should only be triggered on the initial subscription registration and that the data published to the subscription should be the return payload of the mutation.
From the appsync devguide
"Subscriptions are triggered from mutations and the mutation selection set is sent to subscribers."
...
"Although the subscription query is needed for client connections and tooling, the selection set that is received by subscribers is specified by the client triggering the mutation."
I use a resolver to authorize subscriptions as described in the security section of the devguide
response mapping returns null to continue or $utils.unauthorized() to fail.
It seems the emulator is using the resolver mapping for the subscription on the data, which in my case results in the published data to be null
My code works fine in appsync but not in the emulator, Any thoughts on this?

@JimmyHurrah -- I suspect you've found a bug in the emulator.  If I understand you correctly, the following needs to be changed:

subscription resolver should always return the payload of the mutation

Could you explain in a little more detail, or provide code examples regarding the triggering of the subscription resolver?
As I understand things, its okay if the subscription resolver is triggered, it only matters that clients subscribing to these resolvers can receive the data after initiating a subscription via web socket.

@cbaron Your understanding of the problem is spot on. It does not really matter if the resolver is triggered as long as the response is from the mutation.
I guess the easiest way to reproduce this would be to have a mutation with a subscription where the subscription response mapping always returns null
Maybe a log from when I trigger a mutation will help.
I have a subscription called onMessage which subscribes to a mutation createMessage where the request mapping for the subscription only returns null Heres the output from sending the mutation:
● start graphql
  mutation createMessage($conversationid: ID!, $text: String!) {
    createMessage(conversationid: $conversationid, text: $text) {
      _id
      text
      __typename
    }
  }
● start Resolve: Mutation.createMessage [createMessage]
ℹ info Rendered Request:
  { version: '2017-02-28',
    operation: 'Invoke',
    payload:
     { type: 'Mutation',
       field: 'createMessage',
       args: { conversationid: '1', text: 'Test' },
       source: {},
    } }
ℹ info Dispatch to source { name: 'Resolvers', type: 'AWS_LAMBDA' }
Received payload {} {"type":"Mutation","field":"createMessage","args":{"conversationid":"1","text":"Test"},"source":{}}
ℹ info Rendered Response:
  { conversationid: '1',
    author: '1',
    createdAt: '2019-03-10T21:56:45.603Z',
    text: 'Test',
    _id: '1' }
● start Resolve: Subscription.onMessage [onMessage]
ℹ info Dispatch to source { name: 'Resolvers', type: 'AWS_LAMBDA' }
Received payload {} {"type":"Subscription","field":"onMessage","args":{"conversationid":"1","author":"1","createdAt":"2019-03-10T21:5
ℹ info Rendered Request: { authorized: true }
ℹ info Rendered Response: null
ℹ info publish
  { payload: { data: { onMessage: null } },
    clientId: '1234567890',
    topicId: '88f5b85f-7a40-491b-80d5-c0d3023de867' }
ℹ info client<PHONE_NUMBER>) unsubscribed to : 88f5b85f-7a40-491b-80d5-c0d3023de867
ℹ info client disconnected to subscription server<PHONE_NUMBER>)

Got it.  That shouldn't be too hard to fix in the emulator.  I will try to get to it this week.  As always, you're welcome to put up a PR as well -- let me know if I can be of assistance.
Also, in the meantime,  I think as a workaround you can follow the example laid out in in our unit tests.
Here is the serverless.yml which uses a "pass through" subscription resolver to return exactly the mutation:
dataSource: SubscriberPassthrough
        type: Subscription
        field: subscribeToPutQuoteRequest
        request: subscribePassthrough-request.txt
        response: result-response.txt

I tried looking into the subscription code before opening this issue but I couldn't really follow how the pubsub, mqtt and subscription server stuff worked together. I might give it another go later this week.
Thanks for the workaround, it works as expected 👍


GGV Z-depth manipulation does not behave correctly correctly if hand rays disabled

Describe the bug
I would like to use any pointer (head gaze, eye gaze, hand rays) to target a hologram on HoloLens 2 and then when tapping down, I would like to start moving it. Ideally I want to reuse the same ManipulationHandler script, but while the movement behavior seems to be working well when using hand rays, it shows some weird depth movement when having hand rays turned off.
To reproduce
Steps to reproduce the behavior:

If you use the HandInteractionAllExample.unity scene and start it with the DefaultHololens2ConfigurationProfile, holograms can be targeted and moved using hand rays.

In comparison, if you switch the profile to EyeTrackingDemoConfigurationProfile, you can look and air-tap to select a hologram and then while pressing your index finger and thumb together move the hologram. The left/right/up/down movement seems ok, but when I move my hand to and away from my body, the grabbed target moves on an unexpected trajectory.

Expected behavior
I would expect that when I move my hand toward my body that the currently targeted (no matter how I targeted it) is coming toward me.
Your setup (please complete the following information)

Unity Version 2018.4.14f1
MRTK Version  v2.2.0

Target platform (please complete the following information)

HoloLens 2

Any updates on this?

This also reproduces in the new ObjectManipulator script which is going to be the preferred / active object manipulation script for MRTK 2.4 and beyond.

This big is a side effect of #5645, which was built to fix #5640. As a temporary workaround, this can be fixed by changing the code that gets the Rotation of GGVPointer to be:
        public virtual Quaternion Rotation
        {
            get
            {
                Vector3 look = Camera.main.transform.forward;
                return Quaternion.LookRotation(look);
            }
        }

The proper fix involves modifying the MoveLogic that ObjectManipulator uses to use a different algorithm than what is used for hand rays and motion controllers.

It looks like the workaround above causes movement up/down and left/right to regress. As an alternative, I would recommend trying the old movement behavior shipped in MRTK 2.0, before it was refactored to support hand rays better. That behavior could work better for ggv manipulations, as it was tuned specifically for ggv.

We appreciate your feedback and thank you for reporting this issue.
Microsoft Mixed Reality Toolkit version 2 (MRTK2) is currently in limited support. This means that Microsoft is only fixing high priority security issues. Unfortunately, this issue does not meet the necessary priority and will be closed. If you strongly feel that this issue deserves more attention, please open a new issue and explain why it is important.
Microsoft recommends that all new HoloLens 2 Unity applications use MRTK3 instead of MRTK2.
Please note that MRTK3 was released in August 2023. It features an all-new architecture for developing rich mixed reality experiences and has a minimum requirement of Unity 2021.3 LTS. For more information about MRTK3, please visit https://www.mixedrealitytoolkit.org.
Thank you for your continued support of the Mixed Reality Toolkit!


Option to disable auto-clearing of badge count number on load

Hi there.  I've been using this push plugin in an application I'm building.  It's wonderful and I cannot thank you enough for it.
That having been said, I've noticed that there is still no option to disable the auto-clearing of the badge count number when the plugin loads for iOS.  I believe this would be a good feature to add to the plugin so that people do not have to continue to 'hack the source'.
In src/ios/AppDelegate+notification.m:
- (void)applicationDidBecomeActive:(UIApplication *)application {

    NSLog(@"active");

    //zero badge
    application.applicationIconBadgeNumber = 0;

Original Source here.

If you are hacking the source then just submit a PR 😀
On Sep 22, 2015 2:57 PM, "Jake Newby"<EMAIL_ADDRESS>wrote:

Hi there. I've been using this push plugin in an application I'm building.
It's wonderful and I cannot thank you enough for it.
That having been said, I've noticed that there is still no option to
disable the auto-clearing of the badge count number when the plugin loads
for iOS. I believe this would be a good feature to add to the plugin so
that people do not have to continue to 'hack the source'. See here
https://github.com/phonegap/phonegap-plugin-push/blob/master/src/ios/AppDelegate%2Bnotification.m#L90
.
—
Reply to this email directly or view it on GitHub
https://github.com/phonegap/phonegap-plugin-push/issues/161.

@macdonst What's the plan for merging #161 into master?

@rubenstolk it doesn't quite work yet. I have to circle back to it.

Alright, I also ended up hacking the source code now, I guess this is quite an important one because the current default behavior doesn't give a lot of power to the developer.

Lovely to see progress here, cheers @macdonst.  I wasn't so much 'hacking the source' as I was commenting out a single line of code, misleading, I know. hah.

@jakenewby yeah, I might need to 'drop down to machine code level' in order to fix this one. The problem I'm having is the AppDelegate code gets called way before init so I might have to remove that altogether.

It's probably better to remove it and have it optionally through javascript in deviceready/resume events...

@rubenstolk that's basically where I'm going.  I'm currently at the Cordova Face 2 Face meeting in Redmond.

Great, enjoy!

@rubenstolk @jakenewby If you guys can grab the code from issue161 and give it a try it would be greatly appreciated. It kinda changes the default behaviour for iOS but it seems like the right thing to do.

Looks good @macdonst, let me know when you merge it into develop

@rubenstolk pushed to master.


Dynamic value for select component in forms

I am unsure whether this is a bug report or feature request.
I am trying to get the select component in a form to pre-select an option based on a url param https://....create_activity.sql?activityKey=3
Specifying the value 3 as value works, however $activityKey as value doesn't work.
Is there a way for me to get the pre-select to work based on the url param $activityKey ?
select
   'form' as component,
   'Add Activity' as validate,
   'GET' as method,
   'create_activity.sql' as action;

select
    'activity_key' as name,
    'Activity Key' as label,
    'select' as type,
    3 as width,
    true as required,
    JSON_ARRAYAGG( JSON_OBJECT("value", id, "label", value) ) as options,
    -- 3 as value,
    $activityKey as value,
    true as searchable
    from activity_keys;

Hi!
I think what you are looking for is the selected option of the json object in options.
'selected', $key::int = 3

Yes, selected in json options is what I was after. Works perfectly as expected. Thanks for the help.


Fix flaky Android integration tests in webview_flutter

Some of the integration tests in the webview_flutter plugin are flaky and often require 2-5 runs to all run successfully. This includes locally and Firebase Test Lab. The flaky tests are skipped and found in https://github.com/flutter/plugins/blob/master/packages/webview_flutter/webview_flutter/example/integration_test/webview_flutter_test.dart.

Recent flake in webview_flutter/webview_flutter: example/integration_test/webview_flutter_test.dart:
https://cirrus-ci.com/task/5053725057220608
https://console.firebase.google.com/project/flutter-cirrus/testlab/histories/bh.1ddca77c39c73e39/matrices/5813952212493273421
The test timed out. The test ran longer than its maximum allowed duration, and was stopped.

The test timed out. The test ran longer than its maximum allowed duration, and was stopped.

Just got another one of these. I'll start counting with emojis on that initial comment.

https://console.firebase.google.com/project/flutter-cirrus/testlab/histories/bh.1ddca77c39c73e39/matrices/5813952212493273421

@keyonghan @godofredoc I can't get to any logs linked from this page, which makes this impossible to debug. Is this because of the cross-project bucket issue you recently mentioned?

https://console.firebase.google.com/project/flutter-cirrus/testlab/histories/bh.1ddca77c39c73e39/matrices/5813952212493273421

@keyonghan @godofredoc I can't get to any logs linked from this page, which makes this impossible to debug. Is this because of the cross-project bucket issue you recently mentioned?

Could you share what error message you hit? Have you ever been able to view the logs?

Sorry, specifically what I'm seeing is that if I click into that failure:

The "Test Results" button takes to a list that's empty and says "Additional permissions required to list objects in this bucket.
The "Logs" tab just has an error saying:

There was an error displaying the selected log because we could not connect to Cloud Storage.
Test results saved in a Firebase-provided Cloud Storage bucket persist for 90 days.

I don't know if this used to work, since I haven't tried to debug an issue like this before. The mention of storage bucket access issues made me wonder if this was related though.

Could you give it another try now? Granted reader access to flutter-team.

@keyonghan It's mostly working now; the remaining issue I see so far is that the Logs tab gives me a link to download the log, but clicking it just gives me a big unstyled "403 Forbidden" page. I can get the logcat output and video from the Test Results page now though.

@keyonghan It's mostly working now; the remaining issue I see so far is that the Logs tab gives me a link to download the log, but clicking it just gives me a big unstyled "403 Forbidden" page. I can get the logcat output and video from the Test Results page now though.

I am also hitting that error, even with firebase admin role. Filed b/201685683 to track.

Is this still flaky and can we close this? Our plugins tests seem to be okay as of now.

We have tests that we skip currently because they are too flaky to enable; we should be deflaking them to the point that they run. (Or if they would be better as non-integration tests in the new plugin structure, rewrite them accordingly.)


Hiero tool generates glyphs of wrong size

Issue details
Generating Bitmap fonts for Inter font results in glyphs of the wrong size.
The font:
Inter Bold.ttf.zip
This is the size of glyphs of Arial at size 32:

This is the size of glyphs of Inter at size 32 - it's clearly too big:

Reproduction steps/code

Open Hiero tool
Load Inter font
Set rendering to Java and add Color rendering in the Effects

Version of LibGDX and/or relevant dependencies
The latest version of Hiero tool from here: https://github.com/libgdx/libgdx/wiki/Hiero
Please select the affected platforms

Windows
MacOS

Uh... no? I just tried Arial and Inter in Hiero (with an outline, as you appear to have added as well) and got a much smaller difference in size.
Inter:

Arial:

The outlines are pretty ugly where I tried them, but they look fine in yours. Double-check the size field in Hiero, I guess. Inter seems to have a visible glyph where it shouldn't, which shows as the horizontal bars in the glyph cache, and that messes up other fonts rendered in Hiero afterwards by putting that glyph in their caches too.

Thanks for checking it out.
I tried it again - the same result. I tried the nightly build - same.
Turns out I needed to update my Java version. The update also suggested to remove old versions, which I did, so maybe that fixed it. So it exports it correctly now.
I'll update Java on all of my machines now :D


Oskar Gert: add string int and float support

Hi,
I've Add support for other data types than JSON objects. The current implementation requires the data to be sent as a JSON string. My usecase needed support for strings and number values. This was added using the new convert function. The ingest_callback function seem to also require a JSON object as input. This is handled by putting the string/numeric value into an object where the key can be set by the user, The key value has been added to the _DEFAULT_CONFIG object and thus the UI.
I also changed the type for the password in the _DEFAULT_CONFIG object from string to password such that it is not shown in the UI.
Please feel free to give constructive feedback and change requests where needed.
Best,
Oskar

Thanks, Could you please update the docs/images as well for updated Config tabs?

@oskargert It seems, You are using an older version of GUI.

I'm on version 2.1, but can update and take a new screenshot


UI for topic-details page

i will work on the front end of topic details page.
@Dishika18 assign me this issue.
SWOC'25 Contributer.

Sure! Please try to align the UI of it with the website's design.


RSA public encryption failing with AVX2 for some keys

With the 1.0.2j/1.1.0b openssl built in subdirectories using "./config; make" I can use the roundtrip script in the attached zipfile to encrypt a file with a public key derived from the included private key, then decrypt using the private and finally compare the output to the plaintext (in raw mode (-r) at least).
If the openssl binary used is openssl 1.0.1t (say) all is well. However the machines with cpuinfo attached in the zipfile as E7450.cpuinfo and PavillionGaming.cpuinfo show errors for versions 1.0.2j & 1.1.0b.:
$ LD_LIBRARY_PATH=$(pwd)/openssl-1.1.0b ./roundtrip rsa.key openssl-1.1.0b/apps/openssl RSA operation error<PHONE_NUMBER>68000:error:0407109F:rsa routines:RSA_padding_check_PKCS1_type_2:pkcs decoding error:crypto/rsa/rsa_pk1.c:243:<PHONE_NUMBER>68000:error:04065072:rsa routines:rsa_ossl_private_decrypt:padding check failed:crypto/rsa/rsa_ossl.c:477: cmp: EOF on rsa.output
and $ OPENSSL_CONF=openssl-1.0.2j/apps/openssl.cnf ./roundtrip rsa.key openssl-1.0.2j/apps/openssl RSA operation error<PHONE_NUMBER>87320:error:0407109F:rsa routines:RSA_padding_check_PKCS1_type_2:pkcs decoding error:rsa_pk1.c:273:<PHONE_NUMBER>87320:error:04065072:rsa routines:RSA_EAY_PRIVATE_DECRYPT:padding check failed:rsa_eay.c:602: cmp: EOF on rsa.output
Using the machine described by E5-2670v2.cpuinfo results in the same invocations succeeding.
If I replace the file crypto/bn/asm/x86_64-mont.pl with the same file taken from the openssl 1.0.1 release then the problem is solved. By using different openssl executables for the encrypt/decrypt step I was able to see that it is the encryption step that is wrong in the affected version/machines.
Using the -r switch to roundtrip causing "raw" encryption to be used rather than PKCS#1, with the result that the output file does not match the plaintext: i.e. it's not a problem with the padding code.
Not every RSA key causes the failure, however I with different RSA keys I was seeing errors approximately 50% of the time.
rsa_encrypt.zip

@dot-asm: Can you look at this?

This was addressed in 1.1.0c and committed to 1.0.2 as 57c4b9f6a2f800b41ce2836986fe33640f6c3f8a. Thank you for report. Closing the issue.


The color of the tags in dark mode are incorrect

This is very strange, but the tag display in dark mode on mobile seems to be incorrect. Please see the screenshots.
Dark mode on desktop:

Dark mode on mobile:

Light mode on desktop:

Light mode on mobile:

As you can see, the dark mode on mobile is the only one that's different with the others. I have tried everything I can think of: turn off/remove all community plugins one by one, or turn off community plugins altogether, even deleted the app from my phone and reinstalled again, but it's still the same.
I have updated both the iOS app and the theme itself to the latest. I have also checked the style settings plugin (before I turned it off), and the corresponding settings are all the same with the desktop.

Hey @HybridRbt, this should now be fixed! Update your theme and if it's looking good to you, please close this issue. Thanks for the feedback and for using Things! :)

Yes, it's working now! Thanks for the fix.


$cachedResource fire an OPTION  on load, which fail and repeat each X seconds.

Well this is kind of an odd case, but I get a cycling option firing each X seconds (each 20s I'd say), which fail because... I didn't make any actual call.
This is the error :
 OPTIONS http://myAPI.com/ angular.js:9814

(anonymous function)angular.js:9615
sendReq angular.js:9331
$get.serverRequest angular.js:13170
processQueue angular.js:13186
(anonymous function ) angular.js:14383
$get.Scope.$eval angular.js:14199
$get.Scope.$digest angular.js:14488
$get.Scope.$apply angular.js:16214
(anonymous function) angular.js:4902
completeOutstandingRequest angular.js:5282
(anonymous function)

XMLHttpRequest cannot load http://myAPI.com/. Invalid HTTP status code 405 (index):1

Notice that this is an option call.
Here is the code snippet creating the loop:
        Acaci: $cachedResource('acaci', API + ':ep/:s/:id/:extra',  {}, {
          get: {
            method:'GET',
            timeout: 1500,
            params: {
              s:'@s',
              ep:'@ep',
              id:'@id',
              extra:'@extra'
            }
          },
          create: {
            method:'POST',
            headers: {
              'Content-Type': 'application/json'
            },
            params: {
              s:'@s',
              ep:'@ep',
              id:'@id',
              extra:'@extra'
            }
          },
          erase: {
            method:'DELETE',
            headers: {
              'Content-Type': 'application/json'
            },
            params: {
              s:'@s',
              ep:'@ep',
              id:'@id',
              extra:'@extra'
            }
          },
          update: {
            method:'PUT',
            headers: {
              'Content-Type': 'application/json'
            },
            params: {
              s:'@s',
              ep:'@ep',
              id:'@id',
              extra:'@extra'
            }
          }
        }),

Replacing cachedResource by ressource stops the Option cycle, that's why I think this is from angular-cached-resource.
This happen on any page of the app, right on load.

Hi @Xspirits! Sorry for the delayed response.
When you first load a $cachedResource, it checks local storage to see if there are any failed POST, PUT, or DELETE requests from the last time the page was loaded -- if there are, then it'll try and make the request again. Sounds like that's what's happening in your case.
I am guessing that you're seeing an OPTIONS request because it's trying to hit http://myAPI.com and you're running the page from a different server, like localhost. When you make requests like this, the browser will use Cross Origin Resource Sharing requests and headers to make sure that there's nothing fishy going on.

The quickest way to solve your issue, or at least the symptom, is to clear your local storage cache.
You can also do this from your code with:
$cachedResource.clearCache()

But keep in mind that if you run this on every page load, you'll lose the benefit of a cached write running after the page refreshes.

Feel free to reopen this issue if this doesn't solve your problem!

Hello,
A quick update if anyone meet the same issue:
Error was firing because of the timeoutparameter set and the api response taking a bit too long.
Actually, nothing's related to Angular cached resource ;)
My bad, thanks for you help.
Also, for clearCache I only use it, per instance ( MyApiService.Name.clearCache() ) when I update some content, so I keep the benefits of