Download-OfficeProPlusChannels failing on v32.cab

Not sure what is going on, but the script is failing and timing out when it get to downloading the v32.cab to find the version information.
Error: : Exception calling "GetResponse" with "0" argument(s): "The operation has timed out
I put together my own workaround by replacing the 'downloadfile' function with the built in 'Start-BitsTransfer' command in PowerShell.  Was a perfect drop in replacement, just had to change the function and parameter names but used the same variables.  Not sure if it works with the error handling or not but, got me downloading again.
For example, replace:
DownloadFile -url $XMLDownloadURL -targetFile $XMLFilePath
With
Start-BitsTransfer -Source $XMLDownloadURL -Destination $XMLFilePath
Then, delete the entire Function downloadfile block:
function DownloadFile($url, $targetFile) {...}
Why not make 'Start-BitsTransfer' the default for the file download?  Yes you have to have BITS enabled, but I don't know that anyone disables it.

Paul, I know there was a regression in ODT tool where v32.cab was not downloaded as expected which has been fixed in current build 16.0.7213.5776.  I validated this is correct on GitHub repository.  Can you confirm v32.cab downloads as expected?

Updates to the ODT appear to have fixed the issue. Please let us know if this is still an issue @paulwetter

@paulwetter  It looks like recent changes to the ODT have fixed the issue. Let us know if this is still an issue on your end.

I am seeing this issue as well, not sure what is causing it...
PS C:\WINDOWS\system32> Download-OfficeProPlusChannels -TargetDirectory C:\users<USERNAME>\Desktop\2016 -Channels Current -Bitness v32 -NumVersionsToKeep 6 -Languages en-us -UseChannelFolderShortName $false
Downloading Bitness : 32-Bit
Downloading Channel: Current
Where-Object : The 'Ieq' operator failed: Exception calling "GetResponse" with "0" argument(s): "The operation has timed out".At
C:\Users<USERNAME>\Desktop\Download-OfficeProPlusChannels.ps1:264 char:55

...            $CurrentVersionXML.UpdateFiles.File | ? language -eq "0" |

                                                 ~~~~~~~~~~~~~~~~~~

CategoryInfo          : InvalidOperation: (File:PSObject) [Where-Object], PSInvalidOperationException
FullyQualifiedErrorId : OperatorFailed,Microsoft.PowerShell.Commands.WhereObjectCommand

Where-Object : The 'Ieq' operator failed: Exception calling "GetResponse" with "0" argument(s): "The operation has timed out".At
C:\Users<USERNAME>\Desktop\Download-OfficeProPlusChannels.ps1:264 char:55

...            $CurrentVersionXML.UpdateFiles.File | ? language -eq "0" |

                                                 ~~~~~~~~~~~~~~~~~~

CategoryInfo          : InvalidOperation: (File:PSObject) [Where-Object], PSInvalidOperationException
FullyQualifiedErrorId : OperatorFailed,Microsoft.PowerShell.Commands.WhereObjectCommand

Where-Object : The 'Ieq' operator failed: Exception calling "GetResponse" with "0" argument(s): "The operation has timed out".At
C:\Users<USERNAME>\Desktop\Download-OfficeProPlusChannels.ps1:284 char:59

...    $CurrentVersionXML.UpdateFiles.File | ? language -eq $languageId |

                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : InvalidOperation: (File:PSObject) [Where-Object], PSInvalidOperationException
FullyQualifiedErrorId : OperatorFailed,Microsoft.PowerShell.Commands.WhereObjectCommand

Where-Object : The 'Ieq' operator failed: Exception calling "GetResponse" with "0" argument(s): "The operation has timed out".At
C:\Users<USERNAME>\Desktop\Download-OfficeProPlusChannels.ps1:284 char:59

...    $CurrentVersionXML.UpdateFiles.File | ? language -eq $languageId |

                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : InvalidOperation: (File:PSObject) [Where-Object], PSInvalidOperationException
FullyQualifiedErrorId : OperatorFailed,Microsoft.PowerShell.Commands.WhereObjectCommand

Where-Object : The 'Ieq' operator failed: Exception calling "GetResponse" with "0" argument(s): "The operation has timed out".At
C:\Users<USERNAME>\Desktop\Download-OfficeProPlusChannels.ps1:284 char:59

...    $CurrentVersionXML.UpdateFiles.File | ? language -eq $languageId |

                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : InvalidOperation: (File:PSObject) [Where-Object], PSInvalidOperationException
FullyQualifiedErrorId : OperatorFailed,Microsoft.PowerShell.Commands.WhereObjectCommand

Here I am parsing what it is trying to download:
`PS C:\WINDOWS\system32> Download-OfficeProPlusChannels -TargetDirectory C:\users<USERNAME>\Desktop\2016 -Channels Current -Languages en-us -Bitness v32 -UseChannelFolderShortName $false -NumVersionsToKeep 6
Downloading Bitness : 32-Bit
Downloading Channel: Current
Downloading http://officecdn.microsoft.com/pr/492350f6-3a01-4f97-b9c0-c7c6ddf67d60/office/data/16.0.7369.2055/Experiment/i320.cab to C:\users<USERNAME>\Desktop\2016\Current/office/dat
a/16.0.7369.2055/Experiment/i320.cab
Where-Object : The 'Ieq' operator failed: Exception calling "GetResponse" with "0" argument(s): "The operation has timed out".At
C:\Users<USERNAME>\Desktop\Download-OfficeProPlusChannels.ps1:264 char:55

...            $CurrentVersionXML.UpdateFiles.File | ? language -eq "0" |

                                                 ~~~~~~~~~~~~~~~~~~

CategoryInfo          : InvalidOperation: (File:PSObject) [Where-Object], PSInvalidOperationException
FullyQualifiedErrorId : OperatorFailed,Microsoft.PowerShell.Commands.WhereObjectCommand

Downloading http://officecdn.microsoft.com/pr/492350f6-3a01-4f97-b9c0-c7c6ddf67d60/office/data/16.0.7369.2055/Experiment/i640.cab to C:\users<USERNAME>\Desktop\2016\Current/office/dat
a/16.0.7369.2055/Experiment/i640.cab
Where-Object : The 'Ieq' operator failed: Exception calling "GetResponse" with "0" argument(s): "The operation has timed out".At
C:\Users<USERNAME>\Desktop\Download-OfficeProPlusChannels.ps1:264 char:55

...            $CurrentVersionXML.UpdateFiles.File | ? language -eq "0" |

                                                 ~~~~~~~~~~~~~~~~~~

CategoryInfo          : InvalidOperation: (File:PSObject) [Where-Object], PSInvalidOperationException
FullyQualifiedErrorId : OperatorFailed,Microsoft.PowerShell.Commands.WhereObjectCommand

Checking for Older Versions
Channel: Current
No Versions to Remove
PS C:\WINDOWS\system32>
PS C:\WINDOWS\system32> Download-OfficeProPlusChannels -TargetDirectory C:\users<USERNAME>\Desktop\2016 -Channels Current -Languages en-us -Bitness v32 -UseChannelFolderShortName $false -NumVersionsToKeep 6
Downloading Bitness : 32-Bit
Downloading Channel: Current
Downloading http://officecdn.microsoft.com/pr/492350f6-3a01-4f97-b9c0-c7c6ddf67d60/office/data/16.0.7369.2055/Experiment/i320.cab to C:\users<USERNAME>\Desktop\2016\Current/office/dat
a/16.0.7369.2055/Experiment/i320.cab
Downloading http://officecdn.microsoft.com/pr/492350f6-3a01-4f97-b9c0-c7c6ddf67d60/office/data/16.0.7369.2055/Experiment/i640.cab to C:\users<USERNAME>\Desktop\2016\Current/office/dat
a/16.0.7369.2055/Experiment/i640.cab
Checking for Older Versions
Channel: Current
No Versions to Remove
PS C:\WINDOWS\system32> `

If you change the downloadfile function:
Find this:
      $responseStream = $response.GetResponseStream()        $targetStream = New-Object -TypeName System.IO.FileStream -ArgumentList $targetFile, Create
Make the below modification:
      $responseStream = $response.GetResponseStream()        if(!(Test-Path "$(Split-Path -LiteralPath "$targetFile")")){          New-Item -ItemType directory -Path "$(Split-Path -LiteralPath "$targetFile")"        }        $targetStream = New-Object -TypeName System.IO.FileStream -ArgumentList $targetFile, Create

Issue stems from new sub folder added to downloadable content.  Scripts have been updated, issue is now resolved.


FocusMonitor on MatButton and MatTooltip triggers repaints and kills performace on the page

Bug, feature request, or proposal:
Bug
What is the expected behavior?
Keydown events should not cause any observable slowdown, especially if they are outside of respective controls.
What is the current behavior?
We have a page with around 200 material controls, it works ok. When I scroll with mouse, touchpad or scrollbar - scrolling is smooth (and no repaints happen in Chrome Performance chart).
If I try to scroll with arrow keys OR type in any input OR just randomly press any key (e.g. "A") - performance goes down (and ugly violet repaints dominate the Chrom Performace chart)
What are the steps to reproduce?
Open my non public application
What is the use-case or motivation for changing an existing behavior?
Lol.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular 6.1.1, TS 2.9.2, Material UI 6.4.2, Windows 7, Chrome 68.
Is there anything else we should know?
FocusMonitor installs global event listener for 'keydown' event. It appears that this only applies to MatTooltip and MatButton, not MatInput.

'performaNce' of course. Sorry for typo in title.

@mmalerba I don't think we can do anything about that right? Checking if a keydown/start event affects a monitored element is not possible because the keyboard event is not guaranteed to always happen on the target element.
If we could check if the event affects a monitored element, we then could avoid setting up a timeout if the keyboard event is not affecting anything (e.g. down-keys for scrolling page)
https://github.com/angular/material2/blob/992bcfb1799c3342de33153e5de7e404821a1e2e/src/cdk/a11y/focus-monitor/focus-monitor.ts#L306-L314

Hmm I don't see why that keydown listener or setTimeout would be causing repaints though. Maybe if its actually changing the classes on elements, but if the events turn out to be on elements that aren't monitored I wouldn't expect a repaint. May need some more investigation

Open my non public application

@c69 How about a stackblitz instead?

Closing because this issue has been inactive for 2 weeks or more after follow up was requested.


Unable to execute the example given in the documentation

Hi!
I simply put together the code snippets to execute the example given in the README as follows:
import os

import anago
from anago.utils import download
from anago.reader import load_data_and_labels
#from keras import backend as K

x_train, y_train = load_data_and_labels('train.txt')
x_valid, y_valid = load_data_and_labels('valid.txt')
x_test, y_test = load_data_and_labels('test.txt')

model = anago.Sequence()
model.train(x_train, y_train, x_valid, y_valid)

model.eval(x_test, y_test)
#K.clear_session()

words = 'President Obama is speaking at the White House.'.split()
model.analyze(words)

However, I am getting the following error during Epoch 10 (Apologies for the long message but I thought embedding the entire stack trace would help::
_```
Epoch 10/15
702/703 [============================>.] - ETA: 0s - loss: 59.00882018-05-30 09:42:27.923763: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at tensor_array_ops.cc:497 : Invalid argument: Tried to read from index -1 but array size is: 0
Traceback (most recent call last):
File "/home/fussili/.local/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1322, in _do_call
return fn(*args)
File "/home/fussili/.local/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1307, in _run_fn
options, feed_dict, fetch_list, target_list, run_metadata)
File "/home/fussili/.local/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1409, in _call_tf_sessionrun
run_metadata)
tensorflow.python.framework.errors_impl.UnimplementedError: TensorArray has size zero, but element shape  is not fully defined. Currently only static shapes are supported when packing zero-size TensorArrays.
[[Node: training/Adam/gradients/loss/chain_crf_1_loss/TensorArrayUnstack/TensorArrayScatter/TensorArrayScatterV3_grad/TensorArrayGatherV3 = TensorArrayGatherV3[_class=["loc:@training/Adam/gradients/loss/chain_crf_1_loss/transpose_grad/transpose"], dtype=DT_FLOAT, element_shape=, _device="/job:localhost/replica:0/task:0/device:CPU:0"](training/Adam/gradients/loss/chain_crf_1_loss/TensorArrayUnstack/TensorArrayScatter/TensorArrayScatterV3_grad/TensorArrayGrad/TensorArrayGradV3, loss/chain_crf_1_loss/TensorArrayUnstack/range, training/Adam/gradients/loss/chain_crf_1_loss/while/TensorArrayReadV3/Enter_1_grad/b_acc_3)]]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "download_model.py", line 13, in
model.train(x_train, y_train, x_valid, y_valid)
File "/home/fussili/.local/lib/python3.5/site-packages/anago/wrapper.py", line 50, in train
trainer.train(x_train, y_train, x_valid, y_valid)
File "/home/fussili/.local/lib/python3.5/site-packages/anago/trainer.py", line 51, in train
callbacks=callbacks)
File "/home/fussili/.local/lib/python3.5/site-packages/keras/legacy/interfaces.py", line 91, in wrapper
return func(*args, **kwargs)
File "/home/fussili/.local/lib/python3.5/site-packages/keras/engine/training.py", line 2230, in fit_generator
class_weight=class_weight)
File "/home/fussili/.local/lib/python3.5/site-packages/keras/engine/training.py", line 1883, in train_on_batch
outputs = self.train_function(ins)
File "/home/fussili/.local/lib/python3.5/site-packages/keras/backend/tensorflow_backend.py", line 2482, in call
**self.session_kwargs)
File "/home/fussili/.local/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 900, in run
run_metadata_ptr)
File "/home/fussili/.local/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1135, in _run
feed_dict_tensor, options, run_metadata)
File "/home/fussili/.local/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1316, in _do_run
run_metadata)
File "/home/fussili/.local/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1335, in _do_call
raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.UnimplementedError: TensorArray has size zero, but element shape  is not fully defined. Currently only static shapes are supported when packing zero-size TensorArrays.
[[Node: training/Adam/gradients/loss/chain_crf_1_loss/TensorArrayUnstack/TensorArrayScatter/TensorArrayScatterV3_grad/TensorArrayGatherV3 = TensorArrayGatherV3[_class=["loc:@training/Adam/gradients/loss/chain_crf_1_loss/transpose_grad/transpose"], dtype=DT_FLOAT, element_shape=, _device="/job:localhost/replica:0/task:0/device:CPU:0"](training/Adam/gradients/loss/chain_crf_1_loss/TensorArrayUnstack/TensorArrayScatter/TensorArrayScatterV3_grad/TensorArrayGrad/TensorArrayGradV3, loss/chain_crf_1_loss/TensorArrayUnstack/range, training/Adam/gradients/loss/chain_crf_1_loss/while/TensorArrayReadV3/Enter_1_grad/b_acc_3)]]
Caused by op 'training/Adam/gradients/loss/chain_crf_1_loss/TensorArrayUnstack/TensorArrayScatter/TensorArrayScatterV3_grad/TensorArrayGatherV3', defined at:
File "download_model.py", line 13, in
model.train(x_train, y_train, x_valid, y_valid)
File "/home/fussili/.local/lib/python3.5/site-packages/anago/wrapper.py", line 50, in train
trainer.train(x_train, y_train, x_valid, y_valid)
File "/home/fussili/.local/lib/python3.5/site-packages/anago/trainer.py", line 51, in train
callbacks=callbacks)
File "/home/fussili/.local/lib/python3.5/site-packages/keras/legacy/interfaces.py", line 91, in wrapper
return func(*args, **kwargs)
File "/home/fussili/.local/lib/python3.5/site-packages/keras/engine/training.py", line 2080, in fit_generator
self._make_train_function()
File "/home/fussili/.local/lib/python3.5/site-packages/keras/engine/training.py", line 992, in _make_train_function
loss=self.total_loss)
File "/home/fussili/.local/lib/python3.5/site-packages/keras/legacy/interfaces.py", line 91, in wrapper
return func(*args, **kwargs)
File "/home/fussili/.local/lib/python3.5/site-packages/keras/optimizers.py", line 445, in get_updates
grads = self.get_gradients(loss, params)
File "/home/fussili/.local/lib/python3.5/site-packages/keras/optimizers.py", line 78, in get_gradients
grads = K.gradients(loss, params)
File "/home/fussili/.local/lib/python3.5/site-packages/keras/backend/tensorflow_backend.py", line 2519, in gradients
return tf.gradients(loss, variables, colocate_gradients_with_ops=True)
File "/home/fussili/.local/lib/python3.5/site-packages/tensorflow/python/ops/gradients_impl.py", line 494, in gradients
gate_gradients, aggregation_method, stop_gradients)
File "/home/fussili/.local/lib/python3.5/site-packages/tensorflow/python/ops/gradients_impl.py", line 636, in _GradientsHelper
lambda: grad_fn(op, *out_grads))
File "/home/fussili/.local/lib/python3.5/site-packages/tensorflow/python/ops/gradients_impl.py", line 385, in _MaybeCompile
return grad_fn()  # Exit early
File "/home/fussili/.local/lib/python3.5/site-packages/tensorflow/python/ops/gradients_impl.py", line 636, in
lambda: grad_fn(op, *out_grads))
File "/home/fussili/.local/lib/python3.5/site-packages/tensorflow/python/ops/tensor_array_grad.py", line 186, in _TensorArrayScatterGrad
grad = g.gather(indices)
File "/home/fussili/.local/lib/python3.5/site-packages/tensorflow/python/ops/tensor_array_ops.py", line 910, in gather
return self._implementation.gather(indices, name=name)
File "/home/fussili/.local/lib/python3.5/site-packages/tensorflow/python/ops/tensor_array_ops.py", line 305, in gather
element_shape=element_shape)
File "/home/fussili/.local/lib/python3.5/site-packages/tensorflow/python/ops/gen_data_flow_ops.py", line 6018, in tensor_array_gather_v3
flow_in=flow_in, dtype=dtype, element_shape=element_shape, name=name)
File "/home/fussili/.local/lib/python3.5/site-packages/tensorflow/python/framework/op_def_library.py", line 787, in _apply_op_helper
op_def=op_def)
File "/home/fussili/.local/lib/python3.5/site-packages/tensorflow/python/framework/ops.py", line 3392, in create_op
op_def=op_def)
File "/home/fussili/.local/lib/python3.5/site-packages/tensorflow/python/framework/ops.py", line 1718, in init
self._traceback = self._graph._extract_stack()  # pylint: disable=protected-access
...which was originally created as op 'loss/chain_crf_1_loss/TensorArrayUnstack/TensorArrayScatter/TensorArrayScatterV3', defined at:
File "download_model.py", line 13, in
model.train(x_train, y_train, x_valid, y_valid)
[elided 0 identical lines from previous traceback]
File "/home/fussili/.local/lib/python3.5/site-packages/anago/wrapper.py", line 50, in train
trainer.train(x_train, y_train, x_valid, y_valid)
File "/home/fussili/.local/lib/python3.5/site-packages/anago/trainer.py", line 38, in train
optimizer=Adam(lr=self.training_config.learning_rate),
File "/home/fussili/.local/lib/python3.5/site-packages/keras/engine/training.py", line 830, in compile
sample_weight, mask)
File "/home/fussili/.local/lib/python3.5/site-packages/keras/engine/training.py", line 429, in weighted
score_array = fn(y_true, y_pred)
File "/home/fussili/.local/lib/python3.5/site-packages/anago/layers.py", line 322, in loss
return chain_crf_loss(y_true, y_pred, self.U, self.b_start, self.b_end, mask)
File "/home/fussili/.local/lib/python3.5/site-packages/anago/layers.py", line 66, in chain_crf_loss
return sparse_chain_crf_loss(y_sparse, x, U, b_start, b_end, mask)
File "/home/fussili/.local/lib/python3.5/site-packages/anago/layers.py", line 58, in sparse_chain_crf_loss
energy -= free_energy0(x, U, mask)
File "/home/fussili/.local/lib/python3.5/site-packages/anago/layers.py", line 124, in free_energy0
mask)
File "/home/fussili/.local/lib/python3.5/site-packages/anago/layers.py", line 146, in _forward
last, values, _ = K.rnn(_forward_step, inputs, initial_states)
File "/home/fussili/.local/lib/python3.5/site-packages/keras/backend/tensorflow_backend.py", line 2695, in rnn
input_ta = input_ta.unstack(inputs)
File "/home/fussili/.local/lib/python3.5/site-packages/tensorflow/python/util/tf_should_use.py", line 118, in wrapped
return _add_should_use_warning(fn(*args, **kwargs))
File "/home/fussili/.local/lib/python3.5/site-packages/tensorflow/python/ops/tensor_array_ops.py", line 944, in unstack
return self._implementation.unstack(value, name=name)
File "/home/fussili/.local/lib/python3.5/site-packages/tensorflow/python/util/tf_should_use.py", line 118, in wrapped
return _add_should_use_warning(fn(*args, **kwargs))
File "/home/fussili/.local/lib/python3.5/site-packages/tensorflow/python/ops/tensor_array_ops.py", line 333, in unstack
indices=math_ops.range(0, num_elements), value=value, name=name)
File "/home/fussili/.local/lib/python3.5/site-packages/tensorflow/python/util/tf_should_use.py", line 118, in wrapped
return _add_should_use_warning(fn(*args, **kwargs))
File "/home/fussili/.local/lib/python3.5/site-packages/tensorflow/python/ops/tensor_array_ops.py", line 349, in scatter
name=name)
File "/home/fussili/.local/lib/python3.5/site-packages/tensorflow/python/ops/gen_data_flow_ops.py", line 6590, in tensor_array_scatter_v3
flow_in=flow_in, name=name)
File "/home/fussili/.local/lib/python3.5/site-packages/tensorflow/python/framework/op_def_library.py", line 787, in _apply_op_helper
op_def=op_def)
UnimplementedError (see above for traceback): TensorArray has size zero, but element shape  is not fully defined. Currently only static shapes are supported when packing zero-size TensorArrays.
[[Node: training/Adam/gradients/loss/chain_crf_1_loss/TensorArrayUnstack/TensorArrayScatter/TensorArrayScatterV3_grad/TensorArrayGatherV3 = TensorArrayGatherV3[_class=["loc:@training/Adam/gradients/loss/chain_crf_1_loss/transpose_grad/transpose"], dtype=DT_FLOAT, element_shape=, _device="/job:localhost/replica:0/task:0/device:CPU:0"](training/Adam/gradients/loss/chain_crf_1_loss/TensorArrayUnstack/TensorArrayScatter/TensorArrayScatterV3_grad/TensorArrayGrad/TensorArrayGradV3, loss/chain_crf_1_loss/TensorArrayUnstack/range, training/Adam/gradients/loss/chain_crf_1_loss/while/TensorArrayReadV3/Enter_1_grad/b_acc_3)]]

I just came across this error in another context. It turned out that my validation set was not correct.
Can you doublecheck your valid.txt and make sure that it is exactly the same like in the repo?
This might not be an appropriate answer, but maybe it can help.
Best regards

Hi bode94,
I checked and can confirm that train, test and valid datasets are exactly as in the repo.
Best regards,

I updated anago, try it again.
pip install -U anago


Chrome 66 crash on .Run()

Chrome (from version 66.0.3359.117) crash work on .Run()
On the previous version 65.0.3325.181 work stable.

Any news on this? It seems like this effects pools, when I try to allocate on my pool object it just gets a timeout waiting for initial target error. Is there any temporary fix, or anywhere I can start looking to figure out the problem?

I would try using a different version of Chrome. This is possibly related to a recent change that required the Host:  header to be localhost.

Does anyone know a good way to get another version of chrome on windows? They all seem hacky and I don't want to risk a virus or anything on my computer

@Jbegley1995 I would try compiling it from source. If you could send more information from the actual crash output, I might be able to help debug the issue. Otherwise, there's simply too many other components involved (Windows, Chrome, Go, etc) that without some kind of process trace / output, it would be impossible to debug. There's a myriad number of ways that Chrome could be crashed -- a bad hard drive, for example, might cause Chrome or the OS to reap the process.

Error is manifested on all Win32/64 compilation (conf Win7x64, Win10x32, Go v.10) - opens Chrome window and crash on timeout with from version 66.0.3359.117 on c.RLock() method (packet sync.RWMutex method .RLock() - no locks rw for reading... problem in pool).
In my case - a public project with not one users, so the additional distribution of Chrome, different from the delivery of Google is very problematic.
The proposed solution. Make it as in the project github.com\mkenney\go-chrome (test  code from project works in my alls configurations in non-visual Headless Chrome mode), i.e. enter the possibility in the code to explicitly set the launch configuration flags. I did not go into the details of your project, but think it's feasible in package runner.go

We weren't able to reproduce this issue. Since it's quite old and perhaps not related to chromedp, I'm going to close this for now. If you still have issues running a recent version of Chrome or Chromium, please file a new bug with lots of details about your system, the Chrome version, what program you're running, and what the entire terminal output is.

All is well, the problem is no longer reproduced


Move and integrate JsonValidator

From https://gitlab.com/oersi/oersi-etl/-/blob/develop/src/main/java/oersi/JsonValidator.java
See https://github.com/hbz/lobid-resources/issues/956

Should wait for upcoming changes in JsonValidator, see https://gitlab.com/oersi/oersi-etl/-/issues/38. Moving to backlog.

Should wait for upcoming changes in JsonValidator, see https://gitlab.com/oersi/oersi-etl/-/issues/38. Moving to backlog.

Replaced by #443. CLosing


[BUG] fixing side effects between test runs of the same test in the test suite

This PR fixes within-test side effects discovered by https://github.com/alan-turing-institute/sktime/issues/2555.
High-level, the changes ensure that clones and copies are made by test run, as opposed to by test but not by test run (a test could have multiple test runs).
Following changes are made to address and solve #2555:

new tests in TestAllEstimators that test if estimator instance state is preserved across tests or test instances, for a given estimator. Without any additional changes, the "within test" variant fails, i.e., the estimator_instance fixture retains state changes across runs of the same test. This needed to be addressed in TestAllEstimator and check_estimator, which had similar but slightly different logic to pass fixtures to the tests.
the issue is addressed in TestAllEstimator by making the estimator_instance fixture indirect, and creating a new instance of estimator_instance (via clone) via the pytest.fixture and "indirect fixture" formalism. A class variable is added to TestAllEstimator, usable by descendants, to indicate which fixtures are indirect.
the issue is addressed in check_estimator by making a deepcopy before arguments are passed on to tests. This also seems to speed up the check_estimator runtime and tests considerably.

Further changes:

docstring changes to uniformize occurrences of "parametrize" and "parameterize"
a deepcopy_fixtuers argument in create_conditional_fixtures_and_names which allows finer control on whether returned fixtures are reference identical or not. The default is set to False, i.e., fixtures are returned reference identical, since now the testing machinery makes the clones/copies, per test run.

@GuzalBulatova said "all good" but forgot to approve. Interpreting that as approval.


Black fixes for #418

Summary
Merging of #418 seems to have caused the black linter to fail. This PR is the result of running black on the AST generator.
https://github.com/openqasm/openqasm/actions/runs/4187227948
Details and comments

Apparently there are also pytest failures. Not sure why the previous PR did not trigger these.


Overloaded class properties should be printed as separate items.

Search terms
Overloaded class properties
Expected Behavior
Overloaded class properties should be printed as separate items.
See the source code in the reproducible steps section below.
Actual Behavior

Steps to reproduce the bug
The source code for the above generated outputs are:
export interface Foo {
  getJSModule<Module = unknown>(name: string): Module;
  getJSModule(name: "GlobalEventEmitter"): GlobalEventEmitter;
}

Environment

Typedoc version: 0.26.11
TypeScript version:  5.0.4
Node.js version: 18
OS: macOS Sequoia

I'm using https://github.com/typedoc2md/typedoc-plugin-markdown as well but it treated other overriding reflection kinds well so I don't feel like it's the problem of the plugin.

How a member is rendered this is completely decided by your theme. TypeDoc's default theme renders this as:

@Gerrit0 thanks for replying! I'll redirect this issue to typedoc-plugin-markdown then.


<EMAIL_ADDRESS>breaks dropdown css

Just a warning that the 4.0.0 alpha release for bootstrap 4 breaks the drop down css.
You can reproduce error with
npm i bootstrap@next --save

or
npm i<EMAIL_ADDRESS>--save

+1

what is the solution?

I locked my dependency at a compatible version for now... I haven't seen any solutions. @anvesh48

+1

anyone got a fix for this ? desperately need the select to work ;)

Hi, I wonder that when will you solve ng2-select problem with bootstrap alpha.6

It looks like they just switched 'open' to 'show' on the dropdown parent.  A quick fix would be adding this as custom CSS.
.show {
  > .dropdown-menu {
    display: block;
  }
  > a {
    outline: 0;
  }
}

I'll try to put together a pull request for it.

Another fix is:
  <script src="https://v4-alpha.getbootstrap.com/dist/js/bootstrap.min.js"></script>

They have the correct javascript already on their demo page.

Adding the CSS for .open didn't fix it for me, because .open wasn't being added to the div.dropdown.
Crappy jQuery but this got it going for me: https://gist.github.com/altintx/e56da8914873ae4db693eef36e2ccaa7
(4.0.0.alpha.6)

Work by supporting Bootstrap 4 was planned: https://github.com/optimistex/ng2-select-ex/issues/5


[Spanner] Making the session warmup parallel

Now it will take time linear to the number of session requested. It is better to request the sessions in parallel so that it's significant faster especially you are requesting multiple sessions.
Originally discussed in #989

We've recently implemented promises to enable asynchronous network requests in GAX. The next step is to expose methods that return these promises in the GAPICs, then we will be able to update our synchronous calls in the session pool to use the new tooling :). If we'd like get on this sooner than that, it would be possible to short circuit the GAPICs as we've done with session deletes.

We need to warm up ~16 sessions in production and would like to see this feature implemented.
Are there plans to implement this anytime soon?


chore: (NOMERGE) open action prompt in a new window instead of the modal for order actions in conversations

This PR solves [https://artsyproduct.atlassian.net/browse/EMI-2218]
This is just removing the modal and opening the appropriate order in the new tab regardless of the state of the order. We currently have this modal opened for multiple states (counteroffer received in different variations, order approved, order payment failing, etc). So I applied this 'open in the new window' across the board.
Need to discuss with Cami and Vivi what is the appropriate flow we want at the end but for now confirmed with Cami that it's good enough of a change. For now don't want to merge this immediately as we want to have a bit of time to test it before putting it out (mainly make sure there is no major objections to this flow).
So if all looks well - we should merge it when more people from the team is around and can play with it.

@artsy/emerald-devs - I'm removing 'do not merge' from here and maybe this can be merged and tested on Jan 2nd in the new year! I'll be out for couple of days there but don't anticipate any issues here.


[Bug]: text-to-sql the table is incorrect when querying

Bug Description
Hi,
TLDR, when I ask query "Show all topics" it creates query "SELECT name FROM topic", while the actual table name is topics, the query fails obviously
Here is my setup (I followed the guide from the documentation):
...
engine = create_engine("sqlite:///pstan.db")
sql_database = SQLDatabase(engine)
...
TABLE_MAPPING = {
    "topics": "Contains information about the topics, stores topic ID, its name and description",
    "tickets": "Contains ticket records",
    "domains": "Contins information about cloud domain"
}
table_infos = [TableInfo(k, v) for k, v in TABLE_MAPPING.items()]
table_node_mapping = SQLTableNodeMapping(sql_database)
table_schema_objs = [
    SQLTableSchema(table_name=t.table_name, context_str=t.table_summary)
    for t in table_infos
]
obj_index = ObjectIndex.from_objects(
    table_schema_objs,
    table_node_mapping,
    VectorStoreIndex,
)
table_retriever = obj_index.as_retriever(similarity_top_k=1)
query_engine = SQLTableRetrieverQueryEngine(
    sql_database,
    table_retriever,
    synthesize_response=False
)
...

Running queries:
query = "Show all topic names"

resp = table_retriever.retrieve(query)
display(Markdown(f"{resp}"))

resp = query_engine.query(query)
display(Markdown(f"{resp}"))

Result:
[SQLTableSchema(table_name='topics', context_str='Contains information about the topics, stores topic ID, its name and description')]

Error: Statement 'SELECT name FROM topic' is invalid SQL.

Interesting that when you query for a specific number of records it resolves table name correctly:
E.g.
query = "Show 3 topic names"

Result:
[SQLTableSchema(table_name='topics', context_str='Contains information about the topics, stores topic ID, its name and description')]

[('bucket_connection_failed',), ('bucket_missing_error',), ('queue_permission_missing',)]

Version
0.10.31
Steps to Reproduce

Setup sql DB with the table called "elements"
Ask query to show all elements
Observe

Relevant Logs/Tracbacks
No response

@dosu, why does it resolve the table name to topic if ObjectIndex clearly has topics table only in it and retriever retrieves SQLTableSchema properly for topics table?


Weird arrow element position on the edge

I am playing around with visNetwork and I found a weird position of the extremities of the arrows :

I would like my arrows to be pointing at the nodes with the "top of the triangle", something more like that :

(with the grey parts removed)
I wonder where this behavior comes from, and if there is a way to avoid that?

Same problem here, has anyone found a solution?

Same problem

Who can help with that?


No space after version?

Phobos is close to 50/50 on this issue, although it leans a little toward no space.
~/d/phobos$ git grep "version(" | wc -l
582
~/d/phobos$ git grep "version (" | wc -l
504

dfmt currently spaces version but not extern.

I'm going to go with "yes", mostly because I think that's the correct color for the bike shed and I'm the one painting it.

the correct color for the bike shed

How about polka dots?
I'd like to contribute the following suggestion:
If the version statement is enclosing a single statement on the same line, it shouldn't have a space, because it looks like a keyword:
version(Windows) import core.sys.windows.windows;

If it is enclosing a statement on another line, it should have a space, because it looks like an if block:
version (Windows)
{
    import core.sys.windows.windows;
    import std.windows.syserror;
}

The same idea can be applied to scope blocks.

Phobos is close to 50/50 on this issue

I wonder if there's any correlation with whether it encloses a single statement on the same line.


Add Ministry of Education and Science student domain

This is a bit of a weird one - almost every student in Bulgaria is going to recieve an Office 365 account, which includes an email address ending in @edu.mon.bg. The addresses are owned by the Ministry of Education and Science, which controls all the educational institutions here.

@DoNotSpamPls This is not very usual request indeed, you are right. I sent an email to you to the address mentioned in your account info at GitHub. Thank you.

@DoNotSpamPls Pull request merged. Thank you!


Git : suggest stashing changes when switching branch

On GitHub Desktop, when you switch branch, if you have uncommited changes, a prompt will suggest to stash them. When you switch back to the branch, you can restore these uncommited changes in one click. That means that switching branch is never an effort anymore :

You need to quickly check something on the master branch? Just switch, your current state will be restored when you come back.
You're interrupted by a colleague asking for a review? Just switch
There is a critical bug? Just switch

For this reason, I'm still using GitHub Desktop alongside VS Code. But VS Code is so feature rich, it's become a pain not being able to do the same right inside my editor. I haven't found an extension that does that yet.

+1
Also I would like to suggest that git.autoStash setting should enable this feature, stashing all change and pop the last stash on switched back


kity-mind version is mislead

Q: Can this local-kity-minder version be managed by git? If this is not clear, many people can't use this PLUGIN in his working project.

The local-kity-minder can be maintained at the following address:
https://github.com/xeden3/joplin-plugin-kity-minder/tree/main/src/local-kity-minder.
Currently, this portion of the source code hasn't undergone many changes and is developed based on the https://github.com/wythe0102/local-kity-minder project.


Add Azure AD SSO support to Tabs

Is your feature request related to a problem? Please describe.
Add Azure AD SSO support to Tabs
Describe the solution you'd like
A great SSO experience for end-users

@wictorwilen will this feature be based on this documentation or do you have any idea?
https://docs.microsoft.com/en-us/microsoftteams/platform/tabs/how-to/authentication/auth-aad-sso

@cagdasdavulcu - yes, that is what we should implement

Hi Guys,
I'm getting this error when I try to run the project using ngrok-serve:
An SSO error occurred App resource defined in manifest and iframe origin do not match
is it related to this?
I couldn't find any documentation regarding the ngrock parameters in env file, should I leave them blank? how does it work?
Here it says "We also do not support applications that use the azurewebsites.net domain since this domain is too common and may be a security risk"
So I'm wondering if it is not supported, why we need to deploy the package to azure app service?
I appreciate if someone give me a hint how I can deploy/debug it without SSO error.

@AhmadiRamin - since you're using ngrok-serve you need to configure your app-uri to match that ngrok address.

Added in version 1.13.0

@wictorwilen I generated a new teams app using: https://docs.microsoft.com/de-de/microsoftteams/platform/tutorials/get-started-yeoman
Then I tried to change the 'MYAPP_APP_URI=' paramter in the environment file. To my latest ngrok address 'id12345.ngrok.io' anyways it tells me 'An SSO error occurred App resource defined in manifest and iframe origin do not match'.
So I guess you didn't mean to reconfigure this attribute. Can you give additional information where to change the configuration to get the ngrok-serve running?

@atomroflman - ensure that you use the same host name in the Azure AD app registration an in the .env file. Remember that the ngrok Url changes everytime you start "gulp ngrok-serve", which means that you must update everything as well as reupload the app to Teams.
I do not recommend this approach for SSO Tabs, and either recommend reserving domains in ngrok (costs a small fee) or use a custom do in of your own.


RazorEngine and LazyMetadataReferenceFeature circular dependency problem when property injection is enabled

Hi,
I'm using Autofac as DI container. I (somehow) enabled property injection for all services. Now, I'm getting stackoverflow exception because of circular dependency between RazorEngine and LazyMetadataReferenceFeature.
RazorEngine is registered as Singleton with a factory method like that (https://github.com/aspnet/Mvc/blob/dev/src/Microsoft.AspNetCore.Mvc.Razor/DependencyInjection/MvcRazorMvcCoreBuilderExtensions.cs#L158):
services.TryAddSingleton(s =>
{
    return RazorEngine.Create(b =>
    {
        RazorExtensions.Register(b);

        // Roslyn + TagHelpers infrastructure
        var metadataReferenceFeature = s.GetRequiredService<LazyMetadataReferenceFeature>(); //HERE!!!
        b.Features.Add(metadataReferenceFeature);
        b.Features.Add(new Microsoft.CodeAnalysis.Razor.CompilationTagHelperFeature());

        // TagHelperDescriptorProviders (actually do tag helper discovery)
        b.Features.Add(new Microsoft.CodeAnalysis.Razor.DefaultTagHelperDescriptorProvider());
        b.Features.Add(new ViewComponentTagHelperDescriptorProvider());
    });
});

And LazyMetadataReferenceFeature has a public RazorEngine property with setter (that causes the to property injection - https://github.com/aspnet/Mvc/blob/dev/src/Microsoft.AspNetCore.Mvc.Razor/Internal/LazyMetadataReferenceFeature.cs#L27):
public class LazyMetadataReferenceFeature : IMetadataReferenceFeature
{
    private readonly RazorReferenceManager _referenceManager;

    public LazyMetadataReferenceFeature(RazorReferenceManager referenceManager)
    {
        _referenceManager = referenceManager;
    }

    ...

    public RazorEngine Engine { get; set; }  //HERE!!!
}

So, can you remove setter. You can add a SetEngine(...) method if you need it.
You can say that "just do not enable property-injection for classes of Asp.Net Core MVC framework). I may do it with Autofac. But some other DI frameworks has property-injection built in (like Castle Windsor). I suggest you to design classes property-injection in mind since it's a widely used technique (even you may add it to default DI system in the future).

cc @rynowak
@hikalkan is there a way to set up Autofac to specifically ignore some properties for DI? IMetadataReferenceFeature.Engine is meant to be assigned when a feature is registered with the engine and isn't meant to be activated via DI.

I would imagine that there would be all kinds of problems like this across ASP.NET/EF Core with automatic property injection. None of the types in these libraries were designed with property injection in mind, and I'm pretty sure that can't change without it being a huge breaking change.

@pranavkm I don't know if specific properties can be excluded without modifying those classes. I will try to solve it by enabling property injection only for classes in my own assemblies. Thanks.
@Eilon I understand it. I takes huge effort to find and fix all of them. However, at least, you should discuss it in your team because property injection is a very common technique.
Thank you for your responses.


get_waveform_data creates incorrectly named mseed files

Using the code in the README file:
import datetime
from quakesaver_client import QSLocalClient

client = QSLocalClient()
sensor = client.get_sensor("qssensor.local")

tmax = datetime.datetime.utcnow()
tmin = tmax - datetime.timedelta(minutes=10)
file_path = sensor.get_waveform_data(tmin, tmax)

The following file is produced:
"QS.IXNBX._2023-05-03T07/45/43.014334-2023-05-03T08/12/38.459333.mseed"
instead of:
QS.IXNBX._2023-05-03T07/45/43.014334-2023-05-03T08/12/38.459333.mseed
Notice the double quotes in the file name.

Shouldn't be an issue anymore when #16 is merged.


TBD upcoming Dask Demo Day notebook - first pass

Today @jacobtomlinson @rabernat and I discussed presenting Apache Beam's DaskRunner at the upcoming Dask Demo Day on 11/16/2023.
Jacob & Ryan, here is a first pass on a notebook for that presentation, which is viewable in rendered form here: https://github.com/cisaacstern/beam-dask-demo/blob/first-pass/demo.ipynb.
Does this look like it's headed in the right direction?

This looks great! I think there are a few things we want to cover in the demo

What is Beam?
Why do people like Beam?
How do you run Beam on Dask?

The notebook touches on all of these, but it would be great to pull back and figure out how we can very clearly communicate the answers to those questions.

Thanks for the review, @jacobtomlinson! I will incorporate this feedback and ping you again once I have an updated rev. In the meantime (and related), I realized @alxmrs previously presented on this at a Dask Demo Day about a year ago. Here are some reference materials I found:

https://github.com/apache/beam/issues/18962#issuecomment-1179323073 - link to Google Doc (also here) with running notes on the Dask Runner covering multiple coordination meetings. Lots of Googlers weighed in on this doc, and it includes notes on some interesting topics (e.g., making the DaskRunner portable to other languages using Beam's gRPC framework, etc.).
Alex's slides from Dask Demo Day last year. Lots of high-level observations relevant to your questions above in here.

Yeah, that's a good point, Alex did a great overview. I'm keen to dig a little more into the specifics though (which I acknowledge is hard in a 7 minute demo). If you watch the recording you'll see Matt and I ask a bunch of questions about motivation and design, it would be nice to address those again here more explicitly.
I think it makes sense to try and recap a little of the "what and why?" from Alex's demo but then dig more into the "how?" and finish up with "what is next and what is missing?".
I love that your notebook starts a Dask cluster and then runs a Beam pipeline on it, concrete examples like that really help.
I think we also want to focus on the fact that the Beam programming model is very popular, hugely due to it's portability. Then talk about how many folks are mature in deploying and using Dask distributed clusters, Alex already mentioned HPC centres with Dask services as one example. It would be cool to make it clear that this is adding another feature to the existing Dask toolkit.
The only mature managed Beam runner is GCP Dataflow so if the Beam on Dask integration matured a little I could see Coiled justifiably claiming that they can provide the best managed Beam on AWS experience.

This framing is very helpful, thanks Jacob. The video link is also great context, I've transcribed the Q&A here for reference:

❓Matt: Streaming data in Beam, how does that work with Dask Bag?

[A] Not implemented yet, could be batch-only runner.

❓Matt: Are futures a better interface than bag?

wasn't answered

❓Matt: Why? Why did we get into this? User-based? What's the motivation?

[A] Pangeo Forge had the problem that it wanted to compile to different execution frameworks. Beam provides this, if you are willing to adopt the programming model. Motivated to write DaskRunner to support Pangeo Forge using of Beam's flexible deployment model on Dask.

❓Jacob: Has encountered this from the other side, i.e. thinking about how to write a graph in Dask API, and run it on Dataflow. But this is the other way around: write in Beam API, run on a Dask scheduler/cluster. What is the motivation there? What does Dask give over Dataflow that makes this worth it?

[A] Compare to RayRunner. Why RayRunner if we have Spark, etc. A lot of HPC have Dask already set up. Dask would allow Beam (which is initially designed for cloud) to run on HPC. It's harder for scientists to run on cloud than it is for us to adapt Beam to HPC with Dask.

👋 @jacobtomlinson I'm now wondering if it may be worth pushing our Demo Day presentation until we have a little more new material to share beyond what @alxmrs already presented? I'm all for near-term milestones and not needing things to be polished, but I'm also recognizing that there has not been any notable feature development on the DaskRunner since that last presentation, so I worry about being a bit repetitive.
I also have new additional context to share, which is that I just filed https://github.com/apache/beam/issues/29365. This bug represents a huge roadblock to any continuing development work on the DaskRunner insofar as it breaks testing (due to Beam's testing utils relying on GroupByKey internally).
Rather than an immediate next step being the Demo Day, what would you say to shifting gears to do a bit of async collaboration on fixing that groupby bug? Then we can circle back to this notebook once its fixed, with some new and compelling content to share: "hooray, groupby works!" (I am happy to do the heavy lifting here, but could use some help on understanding what to expect re: Dask bag partitioning, distributed shuffles, etc.)

Dask Demo Day is very informal and typically undersubscribed in terms of content. Let's still go ahead and give a demo next week as there is a lot of value in repeating and expanding a little, then do a follow-up in a couple of months to show progress.
Collaborating on that issue sounds like another good step though.

Sounds good! I will be offline for the rest of the week for a long weekend. I will revisit addressing the broader context questions you posed in the notebook early next week.
Do we need to officially reserve a presentation slot somehow?

@cisaacstern it sounds like the Dask Demo Day has been cancelled this month in favour of the dask-expr event being hosted by Coiled and NVIDIA. The next Demo Day is the last working week in December before the holidays so that gives us a little more time to prepare.

@jacobtomlinson that's great actually! I'll get those updates into the notebook in advance of the rain date. Talk soon!


7zip: Use SourceForge for download

As mentioned in #2968 and #2764, main 7-Zip website is not availble across many regions of Russia so scoop itself is not much usable without it in the most cases.
This PR replaces download links with offical SourceForge 7-Zip mirror and fixes the issue without breaking changes for anyone, also this removes little "bus-factor" for the 7zip package itself being hosted at project website against worldwide CDN.
Please consider not to suggest VPN and/or third-party solutions, as of myself I think this PR can provide safe and opt-in experience for scoop end-users from Russia.

But what if some other places can not access SourceForge? Changing the manifest is not a good solution IMHO.

@h404bi Then around 45 current scoop packages will be not available for those people.


tuw_msgs: 0.2.5-1 in 'jazzy/distribution.yaml' [bloom]

Increasing version of package(s) in repository tuw_msgs to 0.2.5-1:

upstream repository: https://github.com/tuw-robotics/tuw_msgs.git
release repository: https://github.com/ros2-gbp/tuw_msgs-release.git
distro file: jazzy/distribution.yaml
bloom version: 0.12.0
previous version for package: 0.2.4-1

tuw_airskin_msgs
* ament_lint_auto on build dependency added
* Contributors: Markus Bader

tuw_geo_msgs
* ament_lint_auto on test_depend added
* Contributors: Markus Bader

tuw_geometry_msgs
* ament_lint_auto on test_depend added
* Contributors: Markus Bader

tuw_graph_msgs
* ament_lint_auto on test_depend added
* Contributors: Markus Bader

tuw_msgs
* ament_lint_auto on build dependency added
* Contributors: Markus Bader

tuw_multi_robot_msgs
* ament_lint_auto on build dependency added
* Contributors: Markus Bader

tuw_nav_msgs
* ament_lint_auto on build dependency added
* Contributors: Markus Bader

tuw_object_map_msgs
* ament_lint_auto on build dependency added
* Contributors: Markus Bader

tuw_object_msgs
* ament_lint_auto on test_depend added
* Contributors: Markus Bader

tuw_std_msgs

No changes

Holding for Jazzy sync


Random Couldn't open file with arexx script.

I merged your native java script version, has this error been fix with that merge?


Add RUSH poNumberPrefix ; add publisher and publicationDate to poLine

Add RUSH poNumberPrefix to PO if any records contains a requester
add publisher and publicationDate to poLine

resolves #53
resolves #54
resolves #55

removed extra "put" line of poOrder number.  Also noticed that the RUSH prefix wasn't being added to the poNumber in the response....the amazon_publisher-fail.1.mrc can be removed to.  We should clean up the marc test files eventually.  I don't think the original couple are no longer valid.


Constant

Hi @rsuderman, any update on this op?

Hi @rsuderman, any update on this op?

Implementation uploaded to the following:
https://github.com/llvm/torch-mlir/pull/2748

Fixed and landed.


Resources not included in reflection if used directly as array index

Hi again,
I hope I don't bother you too much with those issues, I just love your library and rely on it every day.
I found a little bug when using a binding as array index, the binding is not added to the resources array in the program entry.
Here is an example:
I have two bindings, a uniform and a storage buffer:
@group(0) @binding(2) var<uniform>  batchIndex: u32;
@group(0) @binding(3) var<storage, read> batchOffsets: array<u32>;

When accessing batchOffsets directly  with batchIndex like below batchIndex is not added to entry.vertex.0.resources
@vertex
fn vertex_main(
  vertex: VertexInput
) -> VertexOutput {
    let batchOffset = batchOffsets[batchIndex]; // will NOT work
    // ...
}

A simple workaround is simply to create a temporary variable:
@vertex
fn vertex_main(
  vertex: VertexInput
) -> VertexOutput {
    let index = batchIndex;
    let batchOffset = batchOffsets[index]; // will work
    // ...
}

Additonally, the issue is the same if the batchIndex uniform is a struct rather than a value:
struct BatchIndex {
   index: u32,
}
@group(0) @binding(2) var<uniform> batchIndex: BatchIndex;
@group(0) @binding(3) var<storage, read> batchOffsets: array<u32>;

@vertex
fn vertex_main(
  vertex: VertexInput
) -> VertexOutput {
    let batchOffset = batchOffsets[batchIndex.index]; // will NOT work
    // ...
}

No, thank you, I really appreciate exercising the library and finding the edge cases. I'll get it fixed up.

Fix is in git and npm

Awesome! Once again, thank you very much for this super fast update.


[Backend] Extract facultyCodes to separate file

Moved facultyCodes list to separate file for future configurability (possibly with a bind mount or something on our end)

Looks FD :tm: :ok:


[General UI] Textbook Beta's layout changes after resizing

Steps to reproduce the problem

Start an incognito/private browsing session on a desktop browser with a window width greater than 1100px.
Visit https://learn.qiskit.org/course/introduction/why-quantum-computing
Decrease width until triggering the collapse of the left side panel.
Increase width until coming back to the original size.

What is the current behavior?
The left side panel remains collapsed.
What is the expected behavior?
The left side panel is restored to its original layout.

Fixed with @korgan00's layout redesign.


Allow skipping tests in build.

skip tests on AppVeyor when the string skip tests is found in the last commit

Would expected that exit would only stop the test phase, but it seems that it stops the whole pipeline


Cpp wide strings support

Added C++ wide strings support

Automated message from Dropbox CLA bot
@konovalov-aleks, thanks for the pull request! It looks like you haven't yet signed the Dropbox CLA. Please sign it here.

Automated message from Dropbox CLA bot
@konovalov-aleks, thanks for signing the CLA!

I'm going to wait for an update to address the comments so far before I do a review.  Looks like this'll also need a merge/rebase due to conflicts.

Thanks @konovalov-aleks.  I've done a review and made some suggestions in line comments.
I'd also love to get another look from @j4cbo before this merges, since he's behind most of the Unicode support in Djinni.

I made some suggestions about static_asserts in line comments.  Otherwise this looks good.

I corrected the code in accordance with your comments. Please view it again

LGTM.  Looks like there are some conflicts which changes to master since this PR was submitted, so please resolve those with a merge or rebase, then I'll merge.

I resolved the conflict

@konovalov-aleks were you able to build and run all the examples/tests before landing this?  Are you building on Mac?  I'm assuming so, but when I pulled this I ran into issues I can't seem to get around when building the Java test suite, as well as the localhost example.  Both of those are local Java  builds running on my Mac (vs. the iOS and Android builds which seem to work fine).
I'm getting undefined symbols for basic wstring stuff (begin() and end() as shown below.  I've tried adding extra arguments for -stdlib=libc++ and -lc++.  I've tried using the clang compiler from Xcode 8 (beta) and 7.3.0.  I'm puzzled.
     [exec] Undefined symbols for architecture x86_64:
     [exec]   "std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >::end() const", referenced from:
     [exec]       std::__1::basic_string<char16_t, std::__1::char_traits<char16_t>, std::__1::allocator<char16_t> > djinni::implWStringToUTF16<2>(std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> > const&) in djinni_support.cpp.o
     [exec]   "std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> >::begin() const", referenced from:
     [exec]       std::__1::basic_string<char16_t, std::__1::char_traits<char16_t>, std::__1::allocator<char16_t> > djinni::implWStringToUTF16<2>(std::__1::basic_string<wchar_t, std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t> > const&) in djinni_support.cpp.o
     [exec] ld: symbol(s) not found for architecture x86_64
     [exec] clang: error: linker command failed with exit code 1 (use -v to see invocation)
     [exec] make[3]: *** [libDjinniTestNative.dylib] Error 1
     [exec] make[2]: *** [CMakeFiles/DjinniTestNative.dir/all] Error 2
     [exec] make[1]: *** [all] Error 2

I've logged issue #264 to track and discuss this.  If this is a widespread problem I might need to revert the merge.


Eye targeting is not working with near hand pointers

https://github.com/microsoft/MixedRealityToolkit-Unity/issues/4431
In a previous change (https://github.com/microsoft/MixedRealityToolkit-Unity/pull/4270) a gaze provider state machine was added to bring the head gaze pointer behavior in-line with how the shell works. This had the side effect of also impacting eye-gaze state. This change brings the old eye-gaze behavior back by updating the state machine to be aware of the type of gaze being provided.
Also added a bunch of tests for this new thing, along with tests that show that transitions between the two (for example, when the eye tracking system gains tracking or loses tracking) works well.

/azp run mrtk_pr

/azp run mrtk_docs

/azp run mrtk_pr

/azp run mrtk_pr

/azp run mrtk_docs


Injection of old GO labels

eco.owl is still publishing stale go labels
  <!-- http://purl.obolibrary.org/obo/GO_0008283 -->

    <owl:Class rdf:about="http://purl.obolibrary.org/obo/GO_0008283">
        <rdfs:subClassOf rdf:resource="http://purl.obolibrary.org/obo/GO_0008150"/>
        <obo:IAO_0000115 rdf:datatype="http://www.w3.org/2001/XMLSchema#string">The multiplication or reproduction of cells, resulting in the expansion of a cell population.</obo:IAO_0000115>
        <oboInOwl:id rdf:datatype="http://www.w3.org/2001/XMLSchema#string">GO:0008283</oboInOwl:id>
        <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string">cell population proliferation</rdfs:label>
        <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string">cell proliferation</rdfs:label>
    </owl:Class>

Source: https://github.com/geneontology/amigo/issues/556

Thanks for the heads up. I will update the GO import this week, and we will be releasing a new version of ECO before the end of the month.

Looks like this is coming from OBI. I just pushed a manual fix to remove the label from the OBI import and I'm also coordinating with OBI to update their GO import.

Is this resolved now - can we close it?


[2.0-preview] how to write tests that use dom-bind vs

In 1.0 I had this code:
<template is="dom-bind" id="bind-to-object">
  <iron-input id="input" bind-value="{{foo}}"></iron-input>
</template>

In 2.0, it becomes
<dom-bind id="bind-to-object">
  <template is="dom-bind">
    <iron-input id="input" bind-value="{{foo}}"></iron-input>
  </template>
</dom-bind>

How do I write a test that can set foo or get input in a hybrid element? I need to write this to work in 2.0:
var ironInput = scope.$.input;
scope.foo = undefined;

And this for it to work in 1.0:
var ironInput = scope.querySelector('template').$.input;
scope.querySelector('template').foo = undefined;

In general, the pattern will be to identify which element got upgraded (either the <dom-bind> wrapper in 2.0 or the <template is="dom-bind"> in 1.0) and conditionally choose the scope.
<dom-bind id="scopeV2">
  <template is="dom-bind" id="scopeV1">
    [[text]]
  </template>
</dom-bind>

<script>
var scope = window.scopeV2.$ ? window.scopeV2 : window.scopeV1;
scope.text = 'works!';
</script>

Here I used the existence of the $ map as an indication of upgrade.  Alternatives would be e.g. checking Polymer.version[0] == '1' or Polymer.isInstance...


Previously working time series resampling breaks in new version of Dask

Describe the issue:
Resampling over a time series used to work with dask==2024.2.1. However, with dask=2024.5.0 and dask-expr=1.1.0 it throws an exception.
Minimal Complete Verifiable Example:
import dask.dataframe as dd

df = dd.DataFrame.from_dict({
    "Date":["11/26/2017", "11/26/2017"],
    "Time":["17:00:00.067", "17:00:00.102"],
    "Volume": [403, 3]
}, npartitions=1)

df["Timestamp"] = dd.to_datetime(df.Date) + dd.to_timedelta(df.Time)

df.to_parquet("test.parquet", write_metadata_file=True)
df = dd.read_parquet("test.parquet", index="Timestamp", calculate_divisions=True)

# This resampling breaks
minutely_volume = df[["Volume"]].resample("min").sum().compute()
print(minutely_volume)

Anything else we need to know?:
With old version:
<Deprecation warning about deprecated Dask version...>
Timestamp
2017-11-26 17:00:00     406

With new version:
Traceback (most recent call last):
  File "/home/anders/src/daskbug/daskbug.py", line 14, in <module>
    minutely_volume = df[["Volume"]].resample("min").sum().compute()
  File "/home/anders/src/daskbug/venv2/lib/python3.10/site-packages/dask_expr/_collection.py", line 475, in compute
    out = out.optimize(fuse=fuse)
  File "/home/anders/src/daskbug/venv2/lib/python3.10/site-packages/dask_expr/_collection.py", line 590, in optimize
    return new_collection(self.expr.optimize(fuse=fuse))
  File "/home/anders/src/daskbug/venv2/lib/python3.10/site-packages/dask_expr/_expr.py", line 94, in optimize
    return optimize(self, **kwargs)
  File "/home/anders/src/daskbug/venv2/lib/python3.10/site-packages/dask_expr/_expr.py", line 3028, in optimize
    return optimize_until(expr, stage)
  File "/home/anders/src/daskbug/venv2/lib/python3.10/site-packages/dask_expr/_expr.py", line 2989, in optimize_until
    expr = expr.lower_completely()
  File "/home/anders/src/daskbug/venv2/lib/python3.10/site-packages/dask_expr/_core.py", line 436, in lower_completely
    new = expr.lower_once()
  File "/home/anders/src/daskbug/venv2/lib/python3.10/site-packages/dask_expr/_core.py", line 393, in lower_once
    out = expr._lower()
  File "/home/anders/src/daskbug/venv2/lib/python3.10/site-packages/dask_expr/_resample.py", line 74, in _lower
    self.frame, new_divisions=self._resample_divisions[0], force=True
  File "/usr/lib/python3.10/functools.py", line 981, in __get__
    val = self.func(instance)
  File "/home/anders/src/daskbug/venv2/lib/python3.10/site-packages/dask_expr/_resample.py", line 64, in _resample_divisions
    return _resample_bin_and_out_divs(
  File "/home/anders/src/daskbug/venv2/lib/python3.10/site-packages/dask/dataframe/tseries/resample.py", line 64, in _resample_bin_and_out_divs
    temp = divs.resample(rule, closed=closed, label="left").count()
  File "/home/anders/src/daskbug/venv2/lib/python3.10/site-packages/pandas/core/generic.py", line 9771, in resample
    return get_resampler(
  File "/home/anders/src/daskbug/venv2/lib/python3.10/site-packages/pandas/core/resample.py", line 2050, in get_resampler
    return tg._get_resampler(obj, kind=kind)
  File "/home/anders/src/daskbug/venv2/lib/python3.10/site-packages/pandas/core/resample.py", line 2229, in _get_resampler
    _, ax, _ = self._set_grouper(obj, gpr_index=None)
  File "/home/anders/src/daskbug/venv2/lib/python3.10/site-packages/pandas/core/resample.py", line 2529, in _set_grouper
    obj, ax, indexer = super()._set_grouper(obj, sort, gpr_index=gpr_index)
  File "/home/anders/src/daskbug/venv2/lib/python3.10/site-packages/pandas/core/groupby/grouper.py", line 403, in _set_grouper
    indexer = self._indexer_deprecated = ax.array.argsort(
  File "/home/anders/src/daskbug/venv2/lib/python3.10/site-packages/pandas/core/arrays/base.py", line 848, in argsort
    return nargsort(
  File "/home/anders/src/daskbug/venv2/lib/python3.10/site-packages/pandas/core/sorting.py", line 439, in nargsort
    indexer = non_nan_idx[non_nans.argsort(kind=kind)]
TypeError: '<' not supported between instances of 'Timestamp' and 'int'

Environment:

Dask version: 2024.5.0
Dask-expr version: 1.1.0
Python version: 3.10.12
Operating System: Ubuntu 22.04.3 LTS
Install method (conda, pip, source): pip

Here are two requirements file, which are the output of pip freeze in the two environments; the one that works, and the one that doesn't.
pip_freeze_working.txt
pip_freeze_broken.txt

thanks for the report, I'll prepare a fix

Thanks for fixing :+1:


Geocoder: can only use ESRI and defaults to New York bounds

It should be possible to a) change the geocoder module (contact something other than ESRI) and b) set the query bounds to something other than New York State. They should really be set to the bounds of the graph.

How hard would it be, in the current architecture, to select the wanted geocoder in a parameter of config.js? Like, being able to choose between pelias, foursquare, nominatim and esri?


Haiku: gVim crashes on any ex command

Latest gVim on Haiku crashes when :version any ex command is executed. Detailed information and crash log is also present on haikuports/haikuports#4899
To Reproduce

Run gvim --clean
Enter an ex command

Expected behavior
gVim should execute given command.
Environment (please complete the following information):

Vim version 8.2.0624
OS: Latest Haiku nightly

can you provide a stack trace with gdb?
and can you do a bissection to tell which patch caused this if it's a regression?

Patch 8.2.0573 fixed a leak in :version but it looks trivial and I can't see how it could cause a crash, so I don't think that this patch is responsible for your crash.

@dpelle, stack trace output below:

Program received signal SIGTRAP, Trace/breakpoint trap.
0x000001fe339e9134 in _kern_port_buffer_size_etc ()
from /boot/system/lib/libroot.so

About the bisect, do you have any tips? The last working version on Haiku was 8.1.1240, available through HaikuPorts recipe. Any relevant commit description to search maybe?

@bitigchi wrote:

About the bisect, do you have any tips?

You try a version near the middle of the one that works (8.1.1240) and the one that crashes (8.2.0624).  And you continue to narrow down till you identify the change than caused
the crash.  It's quite quick if you always try a version near the middle as the number of
iterations will only be ~ log_2(number of versions).
Git has the command "git bisect" which can help, but you don't really need it for this.
I'd gladly do a bisection, but I don't really want to install haiku to reproduce the issue.

stack trace output below:
Program received signal SIGTRAP, Trace/breakpoint trap.

0x000001fe339e9134 in _kern_port_buffer_size_etc ()
from /boot/system/lib/libroot.so

That's not a stack trace.
You can use the bt gdb command to go get a stack trace when vim
crashes in with gdb.

Here it is:
   from /boot/system/lib/libroot.so
#1  0x000001cfbd04ccca in BLooper::ReadRawFromPort ()
   from /boot/system/lib/libbe.so
#2  0x000001cfbd04cd4a in BLooper::ReadMessageFromPort ()
   from /boot/system/lib/libbe.so
#3  0x000001cfbd04e2a1 in BLooper::task_looper ()
   from /boot/system/lib/libbe.so
#4  0x000001cfbd044401 in BApplication::Run () from /boot/system/lib/libbe.so
#5  0x000000c22f54e39e in gui_mch_prepare ()
#6  0x000000c22f53d2c8 in gui_prepare ()
#7  0x000000c22f585226 in common_init ()
#8  0x000000c22f58440d in main ()

symbols are missing. Can you run the gdb backtrace with a debug built? This needs the -g flag I believe.

@chrisbra, it is below:
gdb backtrace
~/haikuports/app-editors/vim> gdb --args gvim -f -g
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64-unknown-haiku"...
(no debugging symbols found)
(gdb) vim core
Undefined command: "vim".  Try "help".
(gdb) run
Starting program: /boot/system/bin/gvim -f -g
[tcsetpgrp failed in terminal_inferior: Invalid Argument]
Error while mapping shared library sections:
commpage: Invalid Argument.
Error while reading shared library symbols:
commpage: No such file or directory.
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
Error while reading shared library symbols:
Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in module /boot/system/lib/libintl.so.8.1.5]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
Error while reading shared library symbols:
commpage: No such file or directory.
Error while reading shared library symbols:
Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in module /boot/system/lib/libintl.so.8.1.5]
(no debugging symbols found)
Error while reading shared library symbols:
commpage: No such file or directory.
Error while reading shared library symbols:
Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in module /boot/system/lib/libintl.so.8.1.5]
Error while reading shared library symbols:
commpage: No such file or directory.
Error while reading shared library symbols:
Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in module /boot/system/lib/libintl.so.8.1.5]
---Type  to continue, or q  to quit---
(no debugging symbols found)
Error while reading shared library symbols:
commpage: No such file or directory.
Error while reading shared library symbols:
Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in module /boot/system/lib/libintl.so.8.1.5]
Error while reading shared library symbols:
commpage: No such file or directory.
Error while reading shared library symbols:
Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in module /boot/system/lib/libintl.so.8.1.5]
(no debugging symbols found)
Error while reading shared library symbols:
commpage: No such file or directory.
Error while reading shared library symbols:
Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in module /boot/system/lib/libintl.so.8.1.5]
(no debugging symbols found)
Program received signal SIGTRAP, Trace/breakpoint trap.
0x00000144bf22e134 in _kern_port_buffer_size_etc ()
from /boot/system/lib/libroot.so
(gdb) run
The program being debugged has been started already.
Start it from the beginning? (y or n) n
Program not restarted.
(gdb) bt
#0  0x00000144bf22e134 in _kern_port_buffer_size_etc ()
from /boot/system/lib/libroot.so
#1  0x0000017d14a0acca in BLooper::ReadRawFromPort ()
from /boot/system/lib/libbe.so
#2  0x0000017d14a0ad4a in BLooper::ReadMessageFromPort ()
from /boot/system/lib/libbe.so
#3  0x0000017d14a0c2a1 in BLooper::task_looper ()
from /boot/system/lib/libbe.so
#4  0x0000017d14a02401 in BApplication::Run () from /boot/system/lib/libbe.so
#5  0x0000018dcca66432 in gui_mch_prepare ()
#6  0x0000018dcca552e8 in gui_prepare ()
#7  0x0000018dccaab4f1 in common_init ()
#8  0x0000018dccaaa6d8 in main ()
(gdb)

No, I meant when compiling. Then we can see, where it actually crashes. The above backtrace is not really helpful. I usually use this with CFLAGS like this (search also src/Makefile for debug):
CFLAGS = -g -DDEBUG -Wall -Wshadow -Wmissing-prototypes

@chrisbra, I enabled that flag actually, and compiled it with it. This is the output I get, but when I debug via Haiku's debugger, I can see that it's related to vim_unlock_screen() function (which I fixed in the above PR).
But curious, even when I undo the fix, gdb does not produce a related output. Can you guide me with the exact steps?


Item not clickable

cursor does change but side can not be clicked!

Thanks, I have fixed the change with the latest commit.


RTCPeerConnection missing connectionState property

html_dart2js is missing the native js property connectionState and an onConnectionStateChange handler for RTCPeerConnection.

Pinging @srujzs

I think this is possibly a simple fix, but haven't dug much into it yet. It seems like we need to add that property and create a separate static EventStreamProvider for connectionstatechange. It seems like it should be possible to workaround this with interop, however, using js_util and addEventListener.

Since I'd like to to update dart-webrtc to use these, I think it'd be nice to not have to use interop.
I sent out https://dart-review.googlesource.com/c/sdk/+/240240 for review, but it was unclear to me if there was anything else that needed to be updated.


Scrolling doesn't work if deployed as github page

I temporarily deployed a website based on your theme (thx, its great for my use case) with github pages (no organization page from an organization repository, but an project page from a usual repository). If I press one of the navigation buttons in the top area of the website it jumps but doesn't scroll to the corresponding area. If I run the website locally with sudo docker run --rm --volume=$PWD:/srv/jekyll -p 4000:4000 -it jekyll/jekyll:pages jekyll serve --watch it scrolls just fine. Do you have an idea how to fix that?

"HTTPS enforcement is required for GitHub Pages sites using a github.io domain ...". Dependent on your deployment configuration (http/https) the Google Maps API JavaScript includes need to be adjusted accordingly (in _layouts/default.html). Otherwise any JavaScript functionality doesn't work (not only the Google Maps element).


Fix spelling typo in comment

Nothing special,  something I found while reading

@chrisbra
Could I merged this patch?

thanks


Hide callout from the controls with callout if no message is provided

Category

[x] Enhancement
[ ] Bug
[ ] Question

Version
Please specify what version of the library you are using: [all]
Expected / Desired Behavior / Question
When the message is empty for a callout control, the callout icon is still displayed. It would be better to hide the icon when no message is provided.
PR #106 from @erwinvanhunen includes this change.

Version 1.12.0 has just been released.


Fix client side routing

Codecov Report

Merging #4 (cd9db14) into main (ac1620d) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main        #4   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            5         5
  Lines           11        11
=========================================
  Hits            11        11

Impacted Files
Coverage Δ

src/Portfolio.tsx
100.00% <ø> (ø)

Continue to review full report at Codecov.

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


Contributing my 3D flocking simulator (25.600 particles)

It uses p5.js, three.js and a custom made feedback-buffer-object engine to calculate the accelerations, velocities and positions of 25.600 particles (160*160) using the GPU.

whoa!


Fix mem leak when deleting QAVInOutFilterPrivate

QAVInOutFilterPrivate is being used as a base class, but it's dtor isn't virtual. So there may be mem leak when deleting derived classes.

Thanks


install generator fails

Describe the bug
While running rails g rails_admin:install it fails with an error
Reproduction steps
created a new rails project with ruby 3.2.1 and rails 7.0.4
add gem 'rails_admin', '~> 3.1', '>= 3.1.1' to gemfile
bundle install
rails g rails_admin:install
Expected behavior
Installs normally and works
Additional context

rails version: >= <IP_ADDRESS>

rails_admin version: >= 3.1.1

rails_admin npm package version: 9.5.0

full stack trace (if there's an exception)
rails g rails_admin:install
?  Where do you want to mount rails_admin? Press  for [admin] >
route  mount RailsAdmin::Engine => '/admin', as: 'rails_admin'
create  config/initializers/rails_admin.rb
-  Using [importmap] for asset delivery method
run  yarn add<EMAIL_ADDRESS>from "."
create  app/javascript/rails_admin.js
/Users/jacob/.rvm/gems/ruby-3.2.1/gems/rails_admin-3.1.1/lib/generators/rails_admin/importmap_formatter.rb:17:in format': undefined method []' for nil:NilClass (NoMethodError)
imports['@popperjs/core'].gsub!('lib/index.js', 'dist/esm/popper.js')
       ^^^^^^^^^^^^^^^^^^

from /Users/jacob/.rvm/gems/ruby-3.2.1/gems/rails_admin-3.1.1/lib/generators/rails_admin/install_generator.rb:88:in configure_for_importmap'   from /Users/jacob/.rvm/gems/ruby-3.2.1/gems/rails_admin-3.1.1/lib/generators/rails_admin/install_generator.rb:33:in install'
from /Users/jacob/.rvm/gems/ruby-3.2.1/gems/thor-1.2.1/lib/thor/command.rb:27:in run'   from /Users/jacob/.rvm/gems/ruby-3.2.1/gems/thor-1.2.1/lib/thor/invocation.rb:127:in invoke_command'
from /Users/jacob/.rvm/gems/ruby-3.2.1/gems/thor-1.2.1/lib/thor/invocation.rb:134:in block in invoke_all'   from /Users/jacob/.rvm/gems/ruby-3.2.1/gems/thor-1.2.1/lib/thor/invocation.rb:134:in each'
from /Users/jacob/.rvm/gems/ruby-3.2.1/gems/thor-1.2.1/lib/thor/invocation.rb:134:in map'   from /Users/jacob/.rvm/gems/ruby-3.2.1/gems/thor-1.2.1/lib/thor/invocation.rb:134:in invoke_all'
from /Users/jacob/.rvm/gems/ruby-3.2.1/gems/thor-1.2.1/lib/thor/group.rb:232:in dispatch'   from /Users/jacob/.rvm/gems/ruby-3.2.1/gems/thor-1.2.1/lib/thor/base.rb:485:in start'
from /Users/jacob/.rvm/gems/ruby-3.2.1/gems/railties-<IP_ADDRESS>/lib/rails/generators.rb:263:in invoke'   from /Users/jacob/.rvm/gems/ruby-3.2.1/gems/railties-<IP_ADDRESS>/lib/rails/commands/generate/generate_command.rb:26:in perform'
from /Users/jacob/.rvm/gems/ruby-3.2.1/gems/thor-1.2.1/lib/thor/command.rb:27:in run'   from /Users/jacob/.rvm/gems/ruby-3.2.1/gems/thor-1.2.1/lib/thor/invocation.rb:127:in invoke_command'
from /Users/jacob/.rvm/gems/ruby-3.2.1/gems/thor-1.2.1/lib/thor.rb:392:in dispatch'   from /Users/jacob/.rvm/gems/ruby-3.2.1/gems/railties-<IP_ADDRESS>/lib/rails/command/base.rb:87:in perform'
from /Users/jacob/.rvm/gems/ruby-3.2.1/gems/railties-<IP_ADDRESS>/lib/rails/command.rb:48:in invoke'   from /Users/jacob/.rvm/gems/ruby-3.2.1/gems/railties-<IP_ADDRESS>/lib/rails/commands.rb:18:in '
from internal:/Users/jacob/.rvm/rubies/ruby-3.2.1/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb:37:in require'   from <internal:/Users/jacob/.rvm/rubies/ruby-3.2.1/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in require'
from /Users/jacob/.rvm/gems/ruby-3.2.1/gems/bootsnap-1.16.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in require'   from bin/rails:4:in '

Add any other context about the problem here.

Dup of #3609, and fixed in the laster release 3.1.2.

Hi ! I'm currently using 3.1.2 and have the same error when when trying to install with : rails g rails_admin:install


Update changelog [0.8.2]

@James-Yu Could I request you to up push this update?
Cheers!

I was tumbled by some IRL matters. Really sorry for the irresponsiveness 😢


chore: added more  compiler hooks progress

fixes #9714

What kind of change does this PR introduce?
added four more compiler hooks to progress plugin

Did you add tests for your changes?
yes

Does this PR introduce a breaking change?
no

What needs to be documented once your changes are merged?
no

Thanks


select addons that have changed between two git refs

Inspiration to be had in pre-commit and oca-github-bot.
To investigate: UI to reveal changed/new/deleted addons (could be json only).
To investigate: the OCA git bot does a merge before comparing. Check if this is necessary / useful here.

This must be done in the selection stage.


[Bug]: Redirect User's Profile Picture in the Project List Section to their GitHub Profile

What happened?
I want to implement a feature where, upon clicking on a user's profile picture in the project list section, it will redirect them to their respective GitHub profile. This functionality aims to enhance the user experience by providing easy access to the GitHub profiles of contributors.
Please Assign this issue to me under Gssoc'23 @priyankarpal
Add screenshots
https://github.com/priyankarpal/ProjectsHut/assets/103263909/ee8f024e-18bd-4d8c-9917-534fe7f68495
What browsers are you seeing the problem on?
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

hey @Saurav-Pant we already have a dedicated profile page for users & we already added social icons so we don't need to add this feature.


Rate Checker print styles

The Explore interest rates  page could use some print CSS love.
There are some guidelines for print styles being discussed here: https://github.com/cfpb/design-manual/issues/281

Current print view


Add Option to not auto-preview on ToC doubleclick

Pretty much what the name says. Sometimes, I don't want the preview to toggle open.

Duplicate of #26


Design Subscriptions

A subscription system needs to be designed. How it should look like and how it should work.
Ideas that come to mind

Callbacks. But how to make it work in the background? And that requires a mutable state client#sub ~subject"FOO.*" (fun event -> ...)

Blocking listener (bad idea) something like client#listen (fun any_event -> ...)

A real-world example would be nice. And a list of tasks that need to be covered.

I thought about callbacks, in this way subscriptions designed in Golang client, for this we need to listen incoming MSG requests from server https://docs.nats.io/reference/reference-protocols/nats-protocol#msg

thats why i asked you about Lwt.async lsitenrer which handles all incoming messages (OK+, PING, ERR-, MSG)

Golang client reference https://github.com/nats-io/nats.go?tab=readme-ov-file#basic-usage

I want a more idiomatic FP solution. :eyes:

i guess its like List.iter ~f:

but we need to think about how to listen for messages of specific suibject and provide them to needed callback

This can be solved with FRP (Functional Reactive Programming), but I'm not sure how to do it. See react and Функциональное реактивное программирование — Антон Холомьёв (in rus).

I'm currently experimenting with callback.  I hope to have a PR ready soon.

Appreciate, i am busy now with tech interviews and cant find time to work on lib

In the end, I found a design solution. Lwt has the Lwt_stream abstraction for async lazy collections. Together with Lwt.async we got the right result.
Raw demo:
let%lwt foo_subj = client#sub ~subject:"FOO" () in

Lwt.async (fun () ->
  Lwt_stream.iter
    (printf "from foo: %s")
    foo_subj );

client#pub ~subject:"FOO" "Hi!";%lwt

With some simple wrapper:
Sub.handle foo_subj (printf "from foo %s")

In the next PR I plan to cover the basics of subscription mechanics and incoming messages. And do a little reorganization of the project again.


Add composite flavor of MtAmazonDynamoDb

Codecov Report

Merging #635 into master will decrease coverage by 0.2%.
The diff coverage is 68.33%.

@@             Coverage Diff              @@
##             master     #635      +/-   ##
============================================
- Coverage        83%   82.79%   -0.21%
- Complexity      959      981      +22
============================================
  Files            65       67       +2
  Lines          4283     4343      +60
  Branches        529      534       +5
============================================
+ Hits           3555     3596      +41
- Misses          477      494      +17
- Partials        251      253       +2

Impacted Files
Coverage Δ
Complexity Δ

...dynamodbv2/mt/mappers/MtAmazonDynamoDbStreams.java
48.31% <0%> (-2.88%)
3 <0> (ø)

...2/mt/mappers/MtAmazonDynamoDbStreamsComposite.java
0% <0%> (ø)
0 <0> (?)

...namodbv2/mt/mappers/MtAmazonDynamoDbComposite.java
93.18% <93.18%> (ø)
22 <22> (?)

Continue to review full report at Codecov.

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

looks like the code coverage tool is not happy with the coverage against changes in MtAmazonDynamoDbStreams and MtAmazonDynamoDbStreamsComposite, a unit test on that couldn't hurt


binding: allow for anonymous

Relevant e.g. for local binds,
where no security layer is of need at all.
Toggling TLS off via autobind is not lax enough.

How swift are you at bringing out a fresh release based on that?

Thanks for your contribution. Had no time to look at your PR, but 100% CI test fail seems to be a problem :smile:

Looks better, SIMPLE as default seems preferred.

Great! I'll release it as v0.9.0 this weekend.


Schematics move function does not work in v9.rc4

🐞 Bug report
Command (mark with an x)

[ ] new
[ ] build
[ ] serve
[ ] test
[ ] e2e
[x] generate
[ ] add
[ ] update
[ ] lint
[ ] xi18n
[ ] run
[ ] config
[ ] help
[ ] version
[ ] doc

Is this a regression?
no
Description
Update my schematics to Angular 9rc4 and the move function does nothing. It's as if I pass it by, the other functions work fine, but when I use move, I don't copy any files
🔬 Minimal Reproduction
Create a schematic with the Schematics CLI and add this

import {
  apply, mergeWith, move, Rule, SchematicContext, Tree, url
} from '@angular-devkit/schematics';
import {Schema} from './schema';
export default function(options: Schema): Rule {
  return (host: Tree, context: SchematicContext) => {
    const templateSource2 = apply(
      url('./files'),
      [
        move('/test')
      ],
    );
    return mergeWith(templateSource2);
  };
}

Build and run
🔥 Exception or Error
No error or exceptions just Nothing to be done.
🌍 Your Environment

λ ng --version

     _                      _                 ____ _     ___
    / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
   / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
  / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
 /_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
                |___/

Angular CLI: 9.0.0-rc.4
Node: 10.16.0
OS: win32 x64
Angular:
...

Package                      Version
------------------------------------------------------
@angular-devkit/architect    0.900.0-rc.4
@angular-devkit/core         9.0.0-rc.4
@angular-devkit/schematics   9.0.0-rc.4
@schematics/angular          9.0.0-rc.4
@schematics/update           0.900.0-rc.4
rxjs                         6.5.3

Anything else relevant?

Hi @jorgeucano, I tried to replicate the above issue however I didn't manage.
schematics ..\hello-world:hello-world
CREATE /test/text.txt (1 bytes)

Would you be able to provide a reproduction?

@alan-agius4 I'm using windows 10 my terminal is Cmder ...
This is my repo example with video https://github.com/jorgeucano/schematics-error

The problem is that url('./files'), should be url('../files'), since the files are located in a directory outside of the test folder which contains the schematic

thanks @alan-agius4 ... thanks @alan-agius 4 ... How i can help to improve better documentation?


Build failed with Android

Build failed due to use of deprecated Android v1 embedding.

This project doesn't seem to be active. However the code samples present might be useful as the error is because of the android embeddings in the android directory. Simply choose the sample you want to use and copy paste in a new flutter project.

@diegoveloper any plans to fix this? I might help..


Sorbet doesn't type the sigs of inherited methods based on super classes (it used to)

Input
→ View on sorbet.run
# typed: true
class A
  extend T::Sig

  sig {params(x: Integer).returns(String)}
  def bar(x)
    x.to_s
  end
end

class B < A
  def bar(x)
    super
  end
end

T.reveal_type(B.new.bar(12))

Observed output
editor.rb:17: Revealed type: T.untyped https://srb.help/7014
    17 |T.reveal_type(B.new.bar(12))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  From:
    editor.rb:17:
    17 |T.reveal_type(B.new.bar(12))
                      ^^^^^^^^^^^^^
Errors: 1

Expected behavior
Sorbet should assume the sig from the parent class, unless it's overridden in the child class.

It used to work at an earlier version of sorbet, but not at the recent release.

It used to work at an earlier version of sorbet, but not at the recent release.

This has never been the case. If a method is mentioned in a class and does not have a sig, it does not have types. Even if it dispatches to super.
Sorbet learns about types in three phases:

figure out all the constants. these are needed by the sigs
figure out all the sigs. these are needed by the methods
use the constants and the sigs to type check the method

This process always flows forwards—at no later phase do we go back and use something we learned to invalidate what we learned by an earlier phase.

Nevertheless, this kind of "inheritance inference" would be very handy.
Is there any chance, this might be added somehow in future?
E.g. by loosening that step 1. > 2. > 3. scheme?
Alternatively, what about an override/implementation syntax for methods defined with overridable/abstract?
E.g.:
class A
  extend T::Sig

  sig {overridable.params(n: Integer).returns(Integer)}
  def foo(n); n+1; end
end

class B < A
  # Mind the missing params and return type.
  # Proposal is, to inherit these from the overridden method.
  sig {override}
  def foo(n); n+1; end
end


protobuf deserialize as pojo failure with quarkus

When you try to deserialize a protobuf message inside of kafka streams using quarkus, the quarkus class loader has layered loading which causes Class.forName to fail and be blocked.  It should be using the current thread class loader.
Currently ProtobufWireFormatDecoder.java at line 72 is
final Class classType = Class.forName(className);
But to make it compatible with layered class loaders it should be
            final Class classType = Thread.currentThread().getContextClassLoader().loadClass(className);

Would you like me to submit a PR with the changes, I have confirmed the changes do work locally


fixed module name

Codecov Report

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

@@           Coverage Diff           @@
##           master       #5   +/-   ##
=======================================
  Coverage   74.22%   74.22%
=======================================
  Files           7        7
  Lines         225      225
=======================================
  Hits          167      167
  Misses         30       30
  Partials       28       28

Continue to review full report at Codecov.

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


Fix converting dbt projects that have ProjectConfig.dbt_project_path set as strings

Our documentation has examples of configuring a project using a project path that is a string:
from cosmos.config import ProjectConfig

config = ProjectConfig(
    dbt_project_path="/path/to/dbt/project",
    models_relative_path="models",
    seeds_relative_path="data",
    snapshots_relative_path="snapshots",
    manifest_path="/path/to/manifests",
)

https://astronomer.github.io/astronomer-cosmos/configuration/project-config.html
However, if users attempt to use this, they will face an error:
Broken DAG: [/home/airflow/Sites/data-airflow/dags/high_freq_core_dbt.py] Traceback (most recent call last):
  File "/home/airflow/python-venvs/data-pipelines/lib/python3.10/site-packages/cosmos/airflow/task_group.py", line 26, in __init__
    DbtToAirflowConverter.__init__(self, *args, **specific_kwargs(**kwargs))
  File "/home/airflow/python-venvs/data-pipelines/lib/python3.10/site-packages/cosmos/converter.py", line 109, in __init__
    dbt_root_path = project_config.dbt_project_path.parent
AttributeError: 'str' object has no attribute 'parent'

Because of:
https://github.com/astronomer/astronomer-cosmos/blob/main/cosmos/converter.py#L109-L110
This issue was originally reported in the #airflow-dbt slack channel by Sai:
https://apache-airflow.slack.com/archives/C059CC42E9W/p1697234106298499?thread_ts=1697209691.193499&cid=C059CC42E9W
Acceptance criteria
As part of the fix, we should improve the converter tests by adding unit tests similar to:
https://github.com/astronomer/astronomer-cosmos/blob/main/tests/test_converter.py#L49-L69
We should validate at least the two following use-cases:

ProjectConfig.dbt_project_path as string
No ProjectConfig.dbt_project_path, to have a broader test of the improvement #581

I should have some time to take a look at this tomorrow!

Thanks a lot, @MrBones757 ! I assigned it to you for now - please, let us know if the circumstances change


Error handling in (c *Client) runCommand is flawed

Full function:
// runCommand runs the given command and returns its output.
func (c *Client) runCommand(ctx context.Context, args []string) (io.Reader, error) {
	var stdout, stderr bytes.Buffer
	cmd := exec.CommandContext(ctx, c.execPath, args...)
	cmd.Dir = c.workingDir
	// Set ATLAS_NO_UPDATE_NOTIFIER=1 to disable the update notifier.
	// use os.Environ() to avoid overriding the user's environment.
	cmd.Env = append(os.Environ(), "ATLAS_NO_UPDATE_NOTIFIER=1")
	cmd.Stderr = &stderr
	cmd.Stdout = &stdout
	if err := cmd.Run(); err != nil {
		return nil, cliError{
			stderr: strings.TrimSpace(stderr.String()),
			stdout: strings.TrimSpace(stdout.String()),
		}
	}
	return &stdout, nil
}

Problem:
if err := cmd.Run(); err != nil {
	return nil, cliError{
		stderr: strings.TrimSpace(stderr.String()),
		stdout: strings.TrimSpace(stdout.String()),
	}
}

This error handler throws away the err value from cmd.Run(), assuming that the error comes from atlas, not the execution itself.

I ended up debugging just to find out that I forgot to install atlas. This should be fixed by deferring to the exec error when it is populated, or maybe including both.

Hey guys, I added the check in #43 . Thank you for your report.

Thank @endigma, I'll check and update if needed. :D


Add rint Spark function

Doc: https://spark.apache.org/docs/latest/api/sql/#rint
Code: https://github.com/apache/spark/blob/da92293f9ce0be1ac283c4a5d769af550abf7031/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/mathExpressions.scala#L743

cc @rui-mo  and @PHILO-HE , could you help check? Thanks.

@Yuhta , could you please also check this PR? Thanks.

Run spark fuzzer for 30 mins.
./_build/release/velox/expression/fuzzer/spark_expression_fuzzer_test --duration_sec 1800
 --logtostderr=1 --minloglevel=1
W0508 12:34:46.946446 156155 ExpressionFuzzer.cpp:560] Skipping unsupported signature: if(boolean,T) -> T
W0508 12:34:46.946514 156155 ExpressionFuzzer.cpp:560] Skipping unsupported signature: if(boolean,T,T) -> T
W0508 12:34:46.946518 156155 ExpressionFuzzer.cpp:565] Skipping variadic function signature: hash_with_seed(constant integer,any...) -> integer
W0508 12:34:46.946527 156155 ExpressionFuzzer.cpp:395] Skipping 'split( VARCHAR VARCHAR ) -> ARRAY<VARCHAR>' because it contains non-primitive types.
W0508 12:34:46.946532 156155 ExpressionFuzzer.cpp:560] Skipping unsupported signature: map_from_arrays(array(K),array(V)) -> map(K,V)
W0508 12:34:46.946534 156155 ExpressionFuzzer.cpp:560] Skipping unsupported signature: array_contains(array(T),T) -> boolean
W0508 12:34:46.951292 156155 ExpressionFuzzer.cpp:395] Skipping 'array_intersect( ARRAY<DOUBLE> ARRAY<DOUBLE> ) -> ARRAY<DOUBLE>' because it contains non-primitive types.
W0508 12:34:46.951308 156155 ExpressionFuzzer.cpp:395] Skipping 'array_intersect( ARRAY<VARCHAR> ARRAY<VARCHAR> ) -> ARRAY<VARCHAR>' because it contains non-primitive types.
W0508 12:34:46.951325 156155 ExpressionFuzzer.cpp:395] Skipping 'array_intersect( ARRAY<VARBINARY> ARRAY<VARBINARY> ) -> ARRAY<VARBINARY>' because it contains non-primitive types.
W0508 12:34:46.951344 156155 ExpressionFuzzer.cpp:395] Skipping 'array_intersect( ARRAY<TIMESTAMP> ARRAY<TIMESTAMP> ) -> ARRAY<TIMESTAMP>' because it contains non-primitive types.
W0508 12:34:46.951361 156155 ExpressionFuzzer.cpp:395] Skipping 'array_intersect( ARRAY<DATE> ARRAY<DATE> ) -> ARRAY<DATE>' because it contains non-primitive types.
E0508 13:04:46.955673 156155 ExpressionFuzzerVerifier.cpp:373] Total iterations: 9776466
E0508 13:04:46.955695 156155 ExpressionFuzzerVerifier.cpp:374] Total failed: 525155
[==========] Running 0 tests from 0 test suites.
[==========] 0 tests from 0 test suites ran. (0 ms total)
[  PASSED  ] 0 tests.

Hello @Yuhta , could you please help to review this PR, it's a simple PR.
Thanks.

Hello @mbasmanova and @Yuhta , could you please help review this PR? Thanks.