Keras Colab TPU Error when compiling and fitting a pre-trained model in 1.14

Please make sure that this is a bug. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:bug_template
System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Google Colab
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary):
TensorFlow version (use command below): 1.14
Python version: 3.6
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version:
GPU model and memory:

You can collect some of this information using our environment capture
script
You can also obtain the TensorFlow version with: 1. TF 1.0: python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)" 2. TF 2.0: python -c "import tensorflow as tf; print(tf.version.GIT_VERSION, tf.version.VERSION)"
Describe the current behavior
When doing transfer learning using pre-trained keras model (Xception per say) with the imagenet weights and adding a classification layer there is an error when fitting. If you use no weights there is no error during fitting, but if you fine tune the model, re-compile it and fit again the same error pops.
Describe the expected behavior
No error, it was working in 1.13.
Code to reproduce the issue
Provide a reproducible test case that is the bare minimum necessary to generate the problem.
The easiest way to reproduce the problem is using the official notebook :
https://colab.research.google.com/github/tensorflow/tpu/blob/master/tools/colab/fashion_mnist.ipynb
and re-compiling and fitting a second time
import os

resolver = tf.contrib.cluster_resolver.TPUClusterResolver('grpc://' + os.environ['COLAB_TPU_ADDR'])
tf.contrib.distribute.initialize_tpu_system(resolver)
strategy = tf.contrib.distribute.TPUStrategy(resolver)

with strategy.scope():
  model = create_model()
  model.compile(
      optimizer=tf.keras.optimizers.Adam(learning_rate=1e-3),
      loss='sparse_categorical_crossentropy',
      metrics=['sparse_categorical_accuracy'])

model.fit(
    x_train.astype(np.float32), y_train.astype(np.float32),
    epochs=17,
    steps_per_epoch=60,
    validation_data=(x_test.astype(np.float32), y_test.astype(np.float32)),
    validation_freq=17
)

##This part was added##
print('Fine tuning')

with strategy.scope():
  model.compile(
      optimizer=tf.keras.optimizers.Adam(learning_rate=1e-4),
      loss='sparse_categorical_crossentropy',
      metrics=['sparse_categorical_accuracy'])

model.fit(
    x_train.astype(np.float32), y_train.astype(np.float32),
    epochs=17,
    steps_per_epoch=60,
    validation_data=(x_test.astype(np.float32), y_test.astype(np.float32)),
    validation_freq=17
)

model.save_weights('./fashion_mnist.h5', overwrite=True)

Other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.
And it leads to this error
W0617 21:41:40.701483<PHONE_NUMBER>57856 tpu_strategy_util.py:56] TPU system %s has already been initialized. Reinitializing the TPU can cause previously created variables on TPU to be lost.
Epoch 1/17
60/60 [==============================] - 5s 81ms/step - loss: 1.0900 - sparse_categorical_accuracy: 0.6855
Epoch 2/17
60/60 [==============================] - 1s 24ms/step - loss: 0.5287 - sparse_categorical_accuracy: 0.8202
Epoch 3/17
60/60 [==============================] - 2s 25ms/step - loss: 0.4317 - sparse_categorical_accuracy: 0.8518
Epoch 4/17
60/60 [==============================] - 1s 25ms/step - loss: 0.3728 - sparse_categorical_accuracy: 0.8692
Epoch 5/17
60/60 [==============================] - 1s 25ms/step - loss: 0.3453 - sparse_categorical_accuracy: 0.8776
Epoch 6/17
60/60 [==============================] - 1s 24ms/step - loss: 0.3080 - sparse_categorical_accuracy: 0.8898
Epoch 7/17
60/60 [==============================] - 1s 24ms/step - loss: 0.2892 - sparse_categorical_accuracy: 0.8954
Epoch 8/17
60/60 [==============================] - 1s 24ms/step - loss: 0.2641 - sparse_categorical_accuracy: 0.9044
Epoch 9/17
60/60 [==============================] - 1s 25ms/step - loss: 0.2485 - sparse_categorical_accuracy: 0.9093
Epoch 10/17
60/60 [==============================] - 1s 24ms/step - loss: 0.2337 - sparse_categorical_accuracy: 0.9135
Epoch 11/17
60/60 [==============================] - 1s 25ms/step - loss: 0.2236 - sparse_categorical_accuracy: 0.9170
Epoch 12/17
60/60 [==============================] - 1s 25ms/step - loss: 0.2081 - sparse_categorical_accuracy: 0.9232
Epoch 13/17
60/60 [==============================] - 1s 25ms/step - loss: 0.1962 - sparse_categorical_accuracy: 0.9281
Epoch 14/17
60/60 [==============================] - 2s 25ms/step - loss: 0.1816 - sparse_categorical_accuracy: 0.9318
Epoch 15/17
60/60 [==============================] - 1s 24ms/step - loss: 0.1717 - sparse_categorical_accuracy: 0.9355
Epoch 16/17
60/60 [==============================] - 1s 24ms/step - loss: 0.1666 - sparse_categorical_accuracy: 0.9375
Epoch 17/17
10/10 [==============================] - 7s 720ms/step
10/10 [==============================] - 7s 720ms/step
60/60 [==============================] - 13s 216ms/step - loss: 0.1535 - sparse_categorical_accuracy: 0.9424 - val_loss: 0.2364 - val_sparse_categorical_accuracy: 0.9235
Fine tuning
Epoch 1/17
NotFoundErrorTraceback (most recent call last)
 in ()
33     steps_per_epoch=60,
34     validation_data=(x_test.astype(np.float32), y_test.astype(np.float32)),
---> 35     validation_freq=17
36 )
37
7 frames
/usr/local/lib/python2.7/dist-packages/tensorflow/python/keras/engine/training.pyc in fit(self, x, y, batch_size, epochs, verbose, callbacks, validation_split, validation_data, shuffle, class_weight, sample_weight, initial_epoch, steps_per_epoch, validation_steps, validation_freq, max_queue_size, workers, use_multiprocessing, **kwargs)
647             steps_per_epoch=steps_per_epoch,
648             validation_steps=validation_steps,
--> 649             validation_freq=validation_freq)
650
651     batch_size = self._validate_or_infer_batch_size(
/usr/local/lib/python2.7/dist-packages/tensorflow/python/keras/engine/training_distributed.pyc in fit_distributed(model, x, y, batch_size, epochs, verbose, callbacks, validation_split, validation_data, shuffle, class_weight, sample_weight, initial_epoch, steps_per_epoch, validation_steps, validation_freq)
126         steps_per_epoch=steps_per_epoch,
127         validation_steps=validation_steps,
--> 128         validation_freq=validation_freq)
129   else:
130     return training_arrays.fit_loop(
/usr/local/lib/python2.7/dist-packages/tensorflow/python/keras/engine/training_distributed.pyc in experimental_tpu_fit_loop(model, dataset, epochs, verbose, callbacks, initial_epoch, steps_per_epoch, val_dataset, validation_steps, validation_freq)
412         prev_step_count = step_count
413       try:
--> 414         _, outputs = K.batch_get_value([train_op, output_tensors])
415       except errors.OutOfRangeError:
416         logging.warning('Your dataset iterator ran out of data; '
/usr/local/lib/python2.7/dist-packages/tensorflow/python/keras/backend.pyc in batch_get_value(tensors)
3008     raise RuntimeError('Cannot get value inside Tensorflow graph function.')
3009   if tensors:
-> 3010     return get_session(tensors).run(tensors)
3011   else:
3012     return []
/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.pyc in run(self, fetches, feed_dict, options, run_metadata)
948     try:
949       result = self._run(None, fetches, feed_dict, options_ptr,
--> 950                          run_metadata_ptr)
951       if run_metadata:
952         proto_data = tf_session.TF_GetBuffer(run_metadata_ptr)
/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.pyc in _run(self, handle, fetches, feed_dict, options, run_metadata)
1171     if final_fetches or final_targets or (handle and feed_dict_tensor):
1172       results = self._do_run(handle, final_targets, final_fetches,
-> 1173                              feed_dict_tensor, options, run_metadata)
1174     else:
1175       results = []
/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.pyc in _do_run(self, handle, target_list, fetch_list, feed_dict, options, run_metadata)
1348     if handle is None:
1349       return self._do_call(_run_fn, feeds, fetches, targets, options,
-> 1350                            run_metadata)
1351     else:
1352       return self._do_call(_prun_fn, handle, feeds, fetches)
/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.pyc in _do_call(self, fn, *args)
1368           pass
1369       message = error_interpolation.interpolate(message, self._graph)
-> 1370       raise type(e)(node_def, op, message)
1371
1372   def _extend_graph(self):
NotFoundError: From /job:worker/replica:0/task:0:
Resource worker/batch_normalization_3_1/moving_mean/replica_7/N10tensorflow3VarE does not exist.
[[node TPUReplicateMetadata_5 (defined at :35) ]]
Original stack trace for u'TPUReplicateMetadata_5':
File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/usr/local/lib/python2.7/dist-packages/ipykernel_launcher.py", line 16, in
app.launch_new_instance()
File "/usr/local/lib/python2.7/dist-packages/traitlets/config/application.py", line 658, in launch_instance
app.start()
File "/usr/local/lib/python2.7/dist-packages/ipykernel/kernelapp.py", line 477, in start
ioloop.IOLoop.instance().start()
File "/usr/local/lib/python2.7/dist-packages/tornado/ioloop.py", line 888, in start
handler_func(fd_obj, events)
File "/usr/local/lib/python2.7/dist-packages/tornado/stack_context.py", line 277, in null_wrapper
return fn(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/zmq/eventloop/zmqstream.py", line 450, in _handle_events
self._handle_recv()
File "/usr/local/lib/python2.7/dist-packages/zmq/eventloop/zmqstream.py", line 480, in _handle_recv
self._run_callback(callback, msg)
File "/usr/local/lib/python2.7/dist-packages/zmq/eventloop/zmqstream.py", line 432, in _run_callback
callback(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/tornado/stack_context.py", line 277, in null_wrapper
return fn(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/ipykernel/kernelbase.py", line 283, in dispatcher
return self.dispatch_shell(stream, msg)
File "/usr/local/lib/python2.7/dist-packages/ipykernel/kernelbase.py", line 235, in dispatch_shell
handler(stream, idents, msg)
File "/usr/local/lib/python2.7/dist-packages/ipykernel/kernelbase.py", line 399, in execute_request
user_expressions, allow_stdin)
File "/usr/local/lib/python2.7/dist-packages/ipykernel/ipkernel.py", line 196, in do_execute
res = shell.run_cell(code, store_history=store_history, silent=silent)
File "/usr/local/lib/python2.7/dist-packages/ipykernel/zmqshell.py", line 533, in run_cell
return super(ZMQInteractiveShell, self).run_cell(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/IPython/core/interactiveshell.py", line 2718, in run_cell
interactivity=interactivity, compiler=compiler, result=result)
File "/usr/local/lib/python2.7/dist-packages/IPython/core/interactiveshell.py", line 2822, in run_ast_nodes
if self.run_code(code, result):
File "/usr/local/lib/python2.7/dist-packages/IPython/core/interactiveshell.py", line 2882, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "", line 35, in
validation_freq=17
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/keras/engine/training.py", line 649, in fit
validation_freq=validation_freq)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/keras/engine/training_distributed.py", line 128, in fit_distributed
validation_freq=validation_freq)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/keras/engine/training_distributed.py", line 367, in experimental_tpu_fit_loop
initial_loop_values=initial_loop_values)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/distribute/distribute_lib.py", line 1501, in experimental_run_steps_on_iterator
initial_loop_values)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/distribute/tpu_strategy.py", line 416, in _experimental_run_steps_on_iterator
replicate_outputs = rewrite_fn()
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/distribute/tpu_strategy.py", line 397, in rewrite_fn
replicate_outputs = tpu.replicate(run_fn, replicate_inputs)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/tpu/tpu.py", line 592, in replicate
maximum_shapes=maximum_shapes)[1]
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/tpu/tpu.py", line 854, in split_compile_and_replicate
num_replicas=num_replicas, use_tpu=use_tpu, **metadata_kwargs)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/gen_tpu_ops.py", line 6039, in tpu_replicate_metadata
name=name)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/op_def_library.py", line 788, in _apply_op_helper
op_def=op_def)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/util/deprecation.py", line 507, in new_func
return func(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py", line 3616, in create_op
op_def=op_def)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py", line 2005, in init
self._traceback = tf_stack.extract_stack()

Was able to reproduce the reported issue on Colab with Tensorflow 1.14.0-rc1. Thanks!

I had a similar issue where when trying to fine-tune a pre-trained Keras model on a Colab TPU (using model.load_weights() to load the pre-trained weights), I got an error message saying "Resource worker/batch_normalization_10/moving_mean/replica_7/N10tensorflow3VarE does not exist".
with strategy.scope():
  model = create_model()
  model.load_weights('fashion_mnist.h5')
  model.compile(
      optimizer=tf.keras.optimizers.Adam(learning_rate=1e-3, ),
      loss='sparse_categorical_crossentropy',
      metrics=['sparse_categorical_accuracy'])

# Got `Resource worker/batch_normalization_10/moving_mean/replica_7/N10tensorflow3VarE does not exist` error after calling model.fit()

However, I fixed this issue by calling model.load_weights() after model.compile() (rather than before), like so:
with strategy.scope():
  model = create_model()
  model.compile(
      optimizer=tf.keras.optimizers.Adam(learning_rate=1e-3, ),
      loss='sparse_categorical_crossentropy',
      metrics=['sparse_categorical_accuracy'])
  model.load_weights('fashion_mnist.h5') # Load weights after model.compile()

@horacejlee Can you share a standalone code to reproduce the issue? Thanks!

If you run this code below on the official notebook (https://colab.research.google.com/github/tensorflow/tpu/blob/master/tools/colab/fashion_mnist.ipynb), you should be able to reproduce the issue:
import os

resolver = tf.contrib.cluster_resolver.TPUClusterResolver('grpc://' + os.environ['COLAB_TPU_ADDR'])
tf.contrib.distribute.initialize_tpu_system(resolver)
strategy = tf.contrib.distribute.TPUStrategy(resolver)

with strategy.scope():
  model = create_model()
  model.compile(
      optimizer=tf.keras.optimizers.Adam(learning_rate=1e-3, ),
      loss='sparse_categorical_crossentropy',
      metrics=['sparse_categorical_accuracy'])

model.fit(
    x_train.astype(np.float32), y_train.astype(np.float32),
    epochs=17,
    steps_per_epoch=60,
    validation_data=(x_test.astype(np.float32), y_test.astype(np.float32)),
    validation_freq=17
)

model.save_weights('./fashion_mnist.h5', overwrite=True)

# ----- This part was added -----
print('Fine tuning')

# If I call model.load_weights() after model.compile() (see below), there should be no error during training.
with strategy.scope():
  model = create_model()
  model.compile(
      optimizer=tf.keras.optimizers.Adam(learning_rate=1e-3, ),
      loss='sparse_categorical_crossentropy',
      metrics=['sparse_categorical_accuracy'])
  model.load_weights('fashion_mnist.h5') # Calling model.load_weights() after model.compile()

model.fit(
    x_train.astype(np.float32), y_train.astype(np.float32),
    epochs=17,
    steps_per_epoch=60,
    validation_data=(x_test.astype(np.float32), y_test.astype(np.float32)),
    validation_freq=17
)

print('Fine tuning (error version)')

# If I call model.load_weights() before model.compile(), then
# model.fit() raises an error like this: "Resource worker/batch_normalization_6/moving_mean/replica_1/N10tensorflow3VarE does not exist"

with strategy.scope():
  model = create_model()
  model.load_weights('fashion_mnist.h5')
  model.compile(
      optimizer=tf.keras.optimizers.Adam(learning_rate=1e-3, ),
      loss='sparse_categorical_crossentropy',
      metrics=['sparse_categorical_accuracy'])

model.fit(
    x_train.astype(np.float32), y_train.astype(np.float32),
    epochs=17,
    steps_per_epoch=60,
    validation_data=(x_test.astype(np.float32), y_test.astype(np.float32)),
    validation_freq=17
)

I can confirm this issue. In my case I was getting the same error, when trying to specify weights for an Embedding layer, eg:
with strategy.scope():
    model = tf.keras.Sequential([
        tf.keras.layers.Embedding(..., weights = [embedding_matrix], ...),
        ...
    ])
    model.compile(...)

If I specified them after compiling the model, the code would run fine, eg:
with strategy.scope():
    model = tf.keras.Sequential([
        tf.keras.layers.Embedding(...),
        ...
    ])
    model.compile(...)
    model.layers[0].set_weights([embedding_matrix])

@jvishnuvardhan are you happy with the example provided above, or do you still want a standalone example to reproduce the issue?

@dimitry-ishenko , sorry to post this here, but i am not able to get help anywhere, i am getting a different error when i try to run this
import pprint
use_tpu = True #@param {type:"boolean"}
	if use_tpu:
	    assert 'COLAB_TPU_ADDR' in os.environ, 'Missing TPU; did you request a TPU in Notebook Settings?'

	if 'COLAB_TPU_ADDR' in os.environ:
	  TF_MASTER = 'grpc://{}'.format(os.environ['COLAB_TPU_ADDR'])
	else:
	  TF_MASTER=''

	with tf.Session(TF_MASTER) as session:
	  print ('List of devices:')
	  pprint.pprint(session.list_devices())

	# Model specific parameters

	# TPU address
	tpu_address = TF_MASTER

	# Number of epochs
	epochs = 50

	# Number of steps_per_epoch
	steps_per_epoch = 5

	# NOTE: Total number of training steps = Number of epochs * Number of steps_per_epochs
	resolver = tf.contrib.cluster_resolver.TPUClusterResolver(TF_MASTER)
	tf.contrib.distribute.initialize_tpu_system(resolver)
	strategy = tf.contrib.distribute.TPUStrategy(resolver)

with strategy.scope():

  effnet = efn.EfficientNetB5(weights='imagenet', include_top=False)

  # Replace all Batch Normalization layers by Group Normalization layers
  for i, layer in enumerate(effnet.layers):
      if "batch_normalization" in layer.name:
          effnet.layers[i] = GroupNormalization(groups=32, axis=-1, epsilon=0.00001)

  model = Sequential()
  model.add(effnet)
  model.add(GlobalAveragePooling2D())
  model.add(Dropout(0.5))
  model.add(Dense(8, activation=elu))
  model.compile(loss='mse', optimizer=RAdam(lr=0.00005), metrics=['mse', 'acc'])
  print(model.summary())

  model_json = model.to_json()
  with open("model_ef7_fn.json", "w") as json_file:
      json_file.write(model_json)

The error i get is
InvalidArgumentError: Cannot assign a device for operation stem_conv_1/kernel/IsInitialized/VarIsInitializedOp: node stem_conv_1/kernel/IsInitialized/VarIsInitializedOp (defined at /usr/local/lib/python3.6/dist-packages/keras/backend/tensorflow_backend.py:422) was explicitly assigned to /job:worker/replica:0/task:0/device:TPU:0 but available devices are [ /job:localhost/replica:0/task:0/device:CPU:0, /job:localhost/replica:0/task:0/device:XLA_CPU:0 ].

God! I don’t have my laptop near me , I’ll check this soon as I’m back and let you know

@dimitry-ishenko
when i run this
def get_model():
 model = Sequential()
 model.add(effnet)
 model.add(GlobalAveragePooling2D())
  model.add(Dropout(0.5))
  model.add(Dense(8, activation=elu))

model.compile(loss='mse', optimizer=RAdam(lr=0.00005), metrics=['mse', 'acc'])
print(model.summary())
return model
where the effecinetNet model weights are set to None.
/usr/local/lib/python3.6/dist-packages/tensorflow/python/distribute/values.py in validate_colocate_tpu_variable(v, extended)
    727     raise ValueError(
    728         "`colocate_vars_with` must only be passed a variable created in this "
--> 729         "tf.distribute.Strategy.scope(), not: %r" % (v,))
    730   _validate_colocate_extended(v, extended)
    731

ValueError: `colocate_vars_with` must only be passed a variable created in this tf.distribute.Strategy.scope(), not: <tf.Variable 'stem_bn/moving_mean:0' shape=(48,) dtype=float32_ref>

Any ideas?

@DecentMakeover you gotta post a bit more code... Where are you compiling the model and where are you setting the weights? Maybe look at my example above, where I (1) create the model, (2) compile the model and (3) set the weights. All from within strategy.scope().

@dimitry-ishenko
Getting a different error now this is the code
def get_model():
effnet = efn.EfficientNetB5(weights=None, include_top=False)
  # Replace all Batch Normalization layers by Group Normalization layers
  for i, layer in enumerate(effnet.layers):
      if "batch_normalization" in layer.name:
          effnet.layers[i] = GroupNormalization(groups=32, axis=-1, epsilon=0.00001)

  model = Sequential()
  model.add(effnet)
  model.add(GlobalAveragePooling2D())
  model.add(Dropout(0.5))
  model.add(Dense(8, activation=elu))
  print(model.summary())
  return model

resolver = tf.contrib.cluster_resolver.TPUClusterResolver(TF_MASTER)
tf.contrib.distribute.initialize_tpu_system(resolver)
strategy = tf.contrib.distribute.TPUStrategy(resolver)
with strategy.scope():
  model = get_model()
  model.compile(optimizer=tf.keras.optimizers.Adagrad(learning_rate=0.1),
               loss='sparse_categorical_crossentropy',
               metrics=['sparse_categorical_crossentropy'])

model.summary()

And this is the error
InvalidArgumentError: Cannot assign a device for operation stem_conv/kernel/IsInitialized/VarIsInitializedOp: {{node stem_conv/kernel/IsInitialized/VarIsInitializedOp}}was explicitly assigned to /job:worker/replica:0/task:0/device:TPU:0 but available devices are [ /job:localhost/replica:0/task:0/device:CPU:0, /job:localhost/replica:0/task:0/device:XLA_CPU:0 ]. Make sure the device specification refers to a valid device.
[[stem_conv/kernel/IsInitialized/VarIsInitializedOp]]
During handling of the above exception, another exception occurred:
InvalidArgumentError                      Traceback (most recent call last)
/usr/local/lib/python3.6/dist-packages/tensorflow/python/client/session.py in _do_call(self, fn, *args)
1368           pass
1369       message = error_interpolation.interpolate(message, self._graph)
-> 1370       raise type(e)(node_def, op, message)
1371
1372   def _extend_graph(self):
InvalidArgumentError: Cannot assign a device for operation stem_conv/kernel/IsInitialized/VarIsInitializedOp: node stem_conv/kernel/IsInitialized/VarIsInitializedOp (defined at /usr/local/lib/python3.6/dist-packages/keras/backend/tensorflow_backend.py:422) was explicitly assigned to /job:worker/replica:0/task:0/device:TPU:0 but available devices are [ /job:localhost/replica:0/task:0/device:CPU:0, /job:localhost/replica:0/task:0/device:XLA_CPU:0 ]. Make sure the device specification refers to a valid device.
[[stem_conv/kernel/IsInitialized/VarIsInitializedOp]]

@DecentMakeover you are using tf 1.14, right? Cuz tf 2.0 doesn't work with TPU in Colab

yes using 1.4, i dont think version is the problem here, also to get more i have posted a query in SO
https://stackoverflow.com/questions/57758831/on-how-to-run-custom-keras-code-on-tpu-cloud

@DecentMakeover
My earlier post:

Maybe look at my example above, where I (1) create the model, (2) compile the model and (3) set the weights.
Your SO post:

model.load_weights('saved_models/wieghts_ef5.h5',by_name = True)
model.compile(loss='mse', optimizer=RAdam(lr=0.00005), metrics=['mse', 'acc'])

So, one more time: (2) COMPILE the model, (3) SET THE WEIGHTS.

Tried that already , the second error I posted is the error I get when set weights after compile ,but I’ll take a stab at it again
On 04-Sep-2019, at 9:40 PM, Super-intelligent Shade of the Color Blue <notifications<EMAIL_ADDRESS>wrote:
@DecentMakeoverhttps://github.com/DecentMakeover
My earlier post:
Maybe look at my example above, where I (1) create the model, (2) compile the model and (3) set the weights.
Your SO post:
model.load_weights('saved_models/wieghts_ef5.h5',by_name = True)
model.compile(loss='mse', optimizer=RAdam(lr=0.00005), metrics=['mse', 'acc'])
So, one more time: (2) COMPILE the model, (3) SET THE WEIGHTS.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/tensorflow/tensorflow/issues/29896?email_source=notifications&email_token=AGD5QFZNP7XHBXJVBHKEO7LQH7MVPA5CNFSM4HY2TVH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD54CS6Y#issuecomment-527968635, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AGD5QF5M237DVGCV55V2IL3QH7MVPANCNFSM4HY2TVHQ.

@DecentMakeover Sorry, I get it -- didn't realize your SO post was from 2 days ago.
Anyway, the important thing is if you try to load any weights before compiling the model, you will get an error message. This is what this issue is about.

@llandryll,
Sorry for the delayed response. I could execute the official notebook, you mentioned successfully even after recompiling and fitting for the second time.
Please find the Gist of the working code. Thanks!


feat(FMP-419): control form options with route

Current dependencies on/for this PR:

main

PR #85   👈

This comment was auto-generated by Graphite.


[Feature Request] Read longer tweets on tweetdeck

Is it possible to read longer tweets on tweetdeck?
Right now it opens those links on twitter.
One-click expansion in the feed would be ideal, but isolation of a full expanded tweet like when you click on every tweet would be fine.

I support this request, please, if you can ;-)
Also for polls, btw.

Tweets exceeding 280 characters don't display in full in feed & search columns but, I noticed over the last couple/few days that they are now displaying in full when you are viewing a user's profile within Tweetdeck.

Because User and Search columns are now using new APIs that actually return this data, other columns still use old APIs and don't get this data

Same issue here, the "Show more" text is gone from tweets.

API just stopped showing these, I'll see what can be done

I've added "Expand tweet" button that will fetch full text and add it to tweet


Missing file

To generate HAIM-MIMIC-MM data using 1_Generate HAIM-MIMIC-MM from downloaded MIMIC-IV and MIMIC-CXR.ipynb, it seems that mimic-cxr-2.0.0-jpeg-txt.csv you're loading, df_mimic-cxr_jpg =pd.read_csv(core_mimiciv_path + 'mimic-cxr-jpg/2.0.0/mimic-cxr-2.0.0-jpeg-txt.csv'), to get image paths plus some extras, is actually missing in MIMIC-CXR-JPG v.2.0.0 database available at physionet.org

How can I access this file?

You can download MIMIC CX2 V2.0.0 directly from Physionet (https://physionet.org/content/mimic-cxr/)

Thanks! The file has now been added to the following section of the git
https://github.com/lrsoenksen/HAIM/tree/main/mimic-cxr-jpg/2.0.0
Given upload limitations on github I had to split the file into two, but should be fine to decompress as one single file using 7-zip.

Hi~I have the same trouble in finding 'mimic-cxr-2.0.0-jpeg-txt.csv'. The link you gave on Feb 5 is not accessible now. How can I get access to the file now?

Hi All data related to MIMIC now needs to be obtained directly through Physionet. Official communication from Physionets states only they can provide credentialed access to any MIMIC data, so posting any of these files in Github is not allowed. Seems that the Physionet group has not yet officially released the notes, so it may be still a few months until you can access them via their website.

Okay, thanks for your timely response. Have a beautiful day~


Focusing multiple folders

Hi! Not too familiar with github, but I thought I'd throw out some interest in being able to focus on more than one folder at a time that aren't subfolders. I'd really like to use it with the core workspace plugin to arrange different workspaces where only certain folders are viewable. I use Obsidian primarily for writing, and try to stick to one vault, and that's what got me interested in this plugin originally.
I'll still be using it even without that feature, and I understand if it's not something you're interested in pursuing. But I thought I'd put the interest out there.
Thanks for the plugin!

This is an epic suggestion. @grochowski please add this one. This will make Obsidian more useful. Even Notion can't beat this feature!

Posting "+1" because a simple 👍 is not enough


Change supported tools list to align with PDD

This will break all clients (without the changes I have in progress locally in the SDK, will break it too).  So update major version number.
I am hoping that it is valid to have dashes in the tool name as the PDD specifies them with dashes, so added that to the regexp.
@keertip

OK. We will then have to have a separate field for the control flag and not use the same field for the control flag and the label. I'll make that change.

@jcollins-g is it necessary that we label only with hyphens as opposed to underscores? I only ask because having separate strings for what we store in the config file and what we send to GA can make it difficult to debug if functionality around checking the config file has bugs.

I'd like to get clarification from Michael about the tool names and whether then need to match the PDD. It would read a lot better in the notification if we didn't have either a hyphen or an underscore. For example, rather than 'dart-tool', could we say 'dart command-line tool'? Being more clear for our users would, imo, be better.

It wouldn't be a bad idea to add another parameter for the enhanced enum in addition to label and description that we can use to inject into the consent message as well.

Updated.  Also fixed a bug where the 'description' string wasn't being used in the consent message, which probably was part of the confusion between us around that.

Elias can correct me, but it was my understanding that the 'description' string was for documentation purposes, and not for use in the message.

That's correct @bwilkerson , we were not intending to use the description there as those can get pretty verbose. If we want to use the enhanced enum to inject the name into the consent message, we should add a separate variable outside of label and description

I can't remember the use case for having a description field (as opposed to having a comment). Unless the use case is still valid, maybe we should just remove the 'description' field.

The description strings (as I have them in this CL) however are explicitly required in the PDD.   I don't actually think it's that terrible looking and is better than what we had before, if you check the output:  https://github.com/dart-lang/tools/pull/55/files#diff-a60799c7bf90e870bc18c7ab4d1a0f885ccab63b0776c8ae10561885a57e25adR1102

I see, well in that case, we can just repurpose the description to match what the PDD has them described as and just inject them into the consent string. I think it would be safe to assume that anyone contributing to these tools would understand from which tool is which based on the PDD values from the table

I added a comment indicating that the description is actually the "notice string" from that table.  Hopefully that's clear.

Updated from head.  Please take a look.


📦FEAT: MUICollapsibleButton class

closes #89
Added MUICollapsibleButton on top of existing MUIPrimaryButton class keeping all it's parameters accessible
Video (Demo):

Example
MUICollapsibleButton(
            actionIcon:
                isCollapsible ? Icons.arrow_drop_up : Icons.arrow_drop_down,
            collapsibleChild: const CollapsibleUnit(),
            text: 'Collapsible Button',
            onPressed: () {
              isCollapsible = !isCollapsible;
            },
          ),

Please change the target branch to development from main

so do you want me to add a isCollapsible parameter to all the existing buttons which if true then we can perform the collapsible stuff

Yeah I guess that would also work.

how about creating a named constructor for collapsible part
eg:
AnyButton.collapsible()

something like this


Remove version: PokerTH.PokerTH version 1.1.2

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

Close with reason: URL works;


overlapblock Creator - Web design #21

https://images01.nicepagecdn.com/page/52/82/html-template-52820.jpg Design a overlapblock like the above image
Create a file "overlapblock_NUM_by_(YourName).html" in the modules/overlapblock folder.
Use simple HTML and CSS and JAVASCRIPT to create the overlapblock animation. You can use the interface development https://kwickerhub.com/ (This project) or you can write the lines of code yourself.
Step by Step Guide.
Fork this project(Use the 'fork' button in the top right corner) and Clone your Fork.
git clone https://github.com/YOUR_USERNAME/frontend
Open your code Editor and Create a file "overlapblock_NUM_YOUR_NAME_.html" in the "modules/overlapblock" folder of this project you just cloned. No need to create head, title and body tags, Just Add a div tag with some embedded style(i.e use the style tag) and the script tag where necessary.
If you want to add an image resource, please add it in the folder ••
"modules/overlapblock/images_and_icons"
We recommend you use an svg for your image/icon.
Push your Code: You need to push your recent changes back to the cloud. Use the command below in the main directory of this Repository
git push origin dev
or use a GUI tool to avoid mistakes or complexity. LOL.
Then make you Pull Request...
Below is a example of the code structure we need:
'''

'''
For more examples:
modules->buttons
modules->cards
for examples of contributions or Pull request accepted in to the project.
And please do not wait for this issue to be assigned to you as we have limited hands but have a lot to do/cover. Please send in your PR.
Good-luck.

@NtemKenyor i will be doing this issue and post the code

@NtemKenyor I have created a pull request to address the issue. Could you please review?


Option to disable client starting automatically upon login (Windows)

Keybase GUI Version: 1.0.18-20170130201446+3f505f9
Apologies if this has been answered already, but I can't seem to find the option to disable starting Keybase on login. It's very possible I am just blind and haven't seen it. Could someone point me to this option?
I expected to find it in the context menu of the tray icon, the drop down on the mini-Keybase pane, or in the settings area of the main GUI.

There seems to be no such option. I tried disabling the created autostart entry.
It doesn't start anymore, but I can manage to start it manually. I tried it by starting the GUI, then it's loading forever. If I execture the runquiet.exe nothing happens and with the command line, I can login, but can't manage to start the fileserver. login and ctl doesn't help me.
I'm running Win 10 64bit

There is no user interface for disabling start at startup, but you can remove the 2 shortcuts from %appdata%\Microsoft\Windows\Start Menu\Programs\Startup. There is one for the GUI and one for the daemon, and if the GUI is started by itself it won't be able to do anything.
runquiet.exe is just a launcher that hides the console window. The actual command it launces to start the daemon is keybase ctl watchdog2.

It would be really nice if there was an option to disable startup after login, and the GUI would detect and launch the daemon, if it notices the daemon isn't running when it is started.

An interface option would be great.

Should be available for Windows. Please make a new ticket if it doesn't work, thanks!


at processTicksAndRejections (internal/process/next_tick.js:76:17)

https://github.com/johansatge/psi-report/issues/9
any idea?

The error is coming from psi-report. I think it's best to track it over at https://github.com/johansatge/psi-report/issues/9.


User is not notified of failure to establish a new WebSocket connection

Description
Since we implemented #173 , the user should always be notified of a failure to establish a WebSocket connection, but this problem is not always caught. Specifically, it looks like when this line fails (creating a new WebSocket object), the error is not caught. This leads to no warning being displayed to the user and the viewer spinning in place forever.
Expected Behavior
A warning should be displayed to the user and the viewer should stop spinning in place forever if there is a failure to create a new WebSocket object.
Reproduction

Go to https://staging.simularium.allencell.org/viewer?trajFileName=pc4covid19.simularium
Notice it's stuck at loading forever (the staging server is currently broken, so it's a great time to test this right now)

Environment
MacOS, MS Edge

This is a simularium-website issue, and a little different than I thought originally. Replacing with https://github.com/simularium/simularium-website/issues/302


webprofiler support with symfony 4

It appears Silex 2.3 has been upgraded to support symfony 4.0
Is Silex-WebProfiler no longer meant to be used with Silex 2.3 at all (e.g. there is another web profiler configuration), or is it just that Silex-WebProfiler has not been updated yet to work with Symfony 4.0 (and I understand it may never be updated)?
I realize both repos are deprecated so my question may be just "move onto Symfony 4 already" :)
Thank you very much for your time and service to open source projects.

@fabpot Can you have a look at this, otherwise the Symfony 4 compatible release of Silex is rather pointless if we can't test upgrading our apps to it...


test flags for CI

Hi,
You asked to file an issue if I end up doing CI=true a lot...
I use Husky to run my tests before I commit.
For it to work, I use CI=true. I'd like not to run tests that I didn't touch, but can't figure out how to do that.
Thanks!

Can you create a minimal project reproducing the problem?

Sure. This is a create-react-app with husky and two simple tests. if you change anything in the repo, even unrelated to the tests, and commit, you'll see husky runs all tests. It can get very slow in a large project.
https://github.com/jazzdragon/test-flags-demo
Thanks!

bump?

+1


Johnson: Move global parameters to separate mission dictionary

This seems to be the overall resolution for some of the global parameters issues brought up here:

I wasn't crazy about the term 'global parameters'...but that was just
me.

and

If you need to have an extra mission dictionary (as stated in the
instrument_settings class definition), would it make sense to just
to have this as a mission dictionary and not worry about making
it general? Are there expectations of many more nuclear spectroscopy
missions?

This should be resolved by #4


Avoid updating dynamic data property values

Q
A

Bug fix?
[x]

New feature?
[ ]

New sample?
[ ]

Related issues?
Fixes #200

What's in this Pull Request?
Manually updating dyndata property values permanently breaks instances of web parts as described in #200. This avoids saving changes to dynamic data properties from the editor.
I do not believe they should be filtered out of the editor altogether as it can be quite useful to see a JSON representation of their values.

Hi @JakeStanger!
Thank you for that change!
We definitely need to fix the bug... But using this.props.webpart.properties[propName].__type which is an internal field is probably not the best solution.
We need to look into it more deeply and come up with a better approach

I'd be inclined to agree. I only ever looked at the JSON representation of the class, where __type is the only consistent value. I would imagine you can probably use an instanceof check or type guard based on a better key if you know the class structure.

@JakeStanger @AJIXuMuK going to merge this. It is not the best solution, but as there is no real solution, I also don't want to break the user experience.


Create multiplayer backend server

Create backend server to provide multiplayer connectivity and services

Created separate repo UMPS - Universal Multiplayer Server

UMPS is kept quite simple and can be run locally.

A docker image ready for deployment is available at https://hub.docker.com/r/tdj234/umps/tags

A instance of UMPS is running on https://umps.tdj23.com and is currently set as a default server. it can be overwritten in the UMPS constructor with any other url. Goal would be to have at least 3 instances running to ensure availability


Bitbang is slow

Currently running at ~300K Baud, due to data stall during write that appears to be inherent in the chip. Currently following up with FTDI and will update this issue as FTDI responds.

My guess: The FTDI is connected to the host via USB2. USB2 has an 8KHz frame rate, which translates to 125us per frame. Perhaps the xvcd protocol is performing "round trip" transactions (reading then writing then reading then writing, so waiting for a USB frame to complete each time), or simply isn't batching up enough write transactions at one go to stream multiple write packets to the device in one USB frame (I can't remember if multiple packets can be transferred to the device in a single frame in the USB protocol). So, what you're seeing is roughly 25us of time to write the data and then waiting 100us until the USB frame is over before the next write happens, repeatedly.

Oh, and the 64 comes from:
Bus 001 Device 002: ID 0403:6015 Future Technology Devices International, Ltd Bridge(I2C/SPI/UART/FIFO)
Device Descriptor:
  Configuration Descriptor:
    Interface Descriptor:
      Endpoint Descriptor:
        wMaxPacketSize     0x0040  1x 64 bytes

Is there any update on this?

Not really- except that using OpenOCD is much faster than using Vivado to
program the flash
On Sat, Feb 5, 2022, 7:03 AM Maksim Levental @.***>
wrote:

Is there any update on this?
—
Reply to this email directly, view it on GitHub
https://github.com/RHSResearchLLC/xvcd/issues/2#issuecomment-1030609662,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AG3OOAFG3GQYNRW5OCRXDW3UZUG2RANCNFSM4ECXGNUQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***>


Trace and Pin Openstack Check

What does this PR do?
Adds the new tracing decorator to the Openstack integration (behind config yaml flag)
Pins the datadog_checks_base dependency to between 3.0.0 and 4.0.0
Motivation
Pinned because:

Older versions of datadog checks base don't include this tracer, so upgrading the check with an older checks_base means the import and entire check would crash
Can't gaurantee next major version of datadog_checks_base will be compatible.

Review checklist

[ ] PR has a meaningful title or PR has the no-changelog label attached
[ ] Feature or bugfix has tests
[ ] Git history is clean
[ ] If PR impacts documentation, docs team has been notified or an issue has been opened on the documentation repo

Additional Notes
Anything else we should know when reviewing?

Codecov Report

Merging #2306 into master will decrease coverage by 35.06%.
The diff coverage is 50%.

@@             Coverage Diff             @@
##           master    #2306       +/-   ##
===========================================
- Coverage   85.39%   50.33%   -35.07%
===========================================
  Files         186        4      -182
  Lines       12568      908    -11660
  Branches     1324      126     -1198
===========================================
- Hits        10733      457    -10276
+ Misses       1458      427     -1031
+ Partials      377       24      -353

Flag
Coverage Δ

#activemq_xml
?

#agent_metrics
?

#apache
?

#btrfs
?

#cacti
?

#cassandra_nodetool
?

#ceph
?

#cisco_aci
?

#cockroachdb
?

#consul
?

#couch
?

#couchbase
?

#datadog_checks_base
?

#datadog_checks_dev
?

#directory
?

#disk
?

#dns_check
?

#ecs_fargate
?

#envoy
?

#etcd
?

#fluentd
?

#gearmand
?

#go_expvar
?

#gunicorn
?

#hdfs_datanode
?

#hdfs_namenode
?

#http_check
?

#istio
?

#kube_dns
?

#kube_proxy
?

#openstack
50.33% <50%> (?)

Did you test it?

I have tested the pinning logic, and I was able to test it on the lab back when this was included in the same PR that added the tracing logic.

no-changelog label as this was reverted.


[Suggestion] Decrease the size of monitoring.png and milvus_arch.png

Note: This repository is ONLY used to solve issues related to DOCS.
For other issues, please move to other repositories.

Is there anything that's missing or inappropriate in the docs? Please describe.
The size of monitoring.png and milvus_arch.png are too large.
Describe your suggestion
It is recommended that the size should be less than 1000*1000.

@shanghaikid I could not find a tool that can correctly decrease the size without image corruption. Could you please help with this?


Arch Linux AUR package is broken: Cannot download source.

Since "you" seem also to take care of the Arch Linux AUR package for Silo, I post the issue here:
It points to the source http://feldrise.com/Sielo/Linux/sielo-navigateur-v0.4.0.tar.gz. This cannot be downloaded (HTTP error 404 "not found"). Also changing this to the up to date stable release 1.17.14: http://feldrise.com/Sielo/Linux/sielo-navigateur-v1.17.14.tar.gz gives an HTTP error "404 not found".
The PKGBUILD should be changed to point to from https://github.com/SieloBrowser/sielo-legacy/archive/v${pkgver}.zip. Maybe the package()-function also needs adaption.
On the other hand, you could consider making a sielo-navigateur-git-package as well which always checks out the latest state from the git repository.

It's because you are seeing a very, very old package. "Sielo navigateur" has been renamed "Sielo browser" in English (because "Navigateur" is the french word for "Browser").
Knowing that you can see a new world 😁

Here's the main package: https://aur.archlinux.org/packages/sielo-browser/
Here's the git-based package: https://aur.archlinux.org/packages/sielo-browser-git/

Hope this will help 😉

It's because you are seeing a very, very old package. "Sielo navigateur" has been renamed "Sielo browser" in English (because "Navigateur" is the french word for "Browser").

Here's the main package: https://aur.archlinux.org/packages/sielo-browser/
Here's the git-based package: https://aur.archlinux.org/packages/sielo-browser-git/

Then please make sure the old package get's deleted & post a comment to the AUR of the outdated package.

I which but I don't know how. I can't even know where to accept you request to delete it 😅

On Sat, 31 Aug 2019 01:11:30 -0700, Feldrise<EMAIL_ADDRESS>wrote about "Re: [SieloBrowser/sielo-legacy] Arch Linux AUR package is
broken: Cannot download source. (#91)":

I which but I don't know how. I can't even know where to accept you
request to delete it 😅

You submit a deletion request, and the AUR admins will take care of it.
I did submit it because you did not originally, when you already knew
that the pakage has been superseeded.

Ok, thank you very much I did not know about that before 😉


Add instruction for hexdump requirement

removed the dependency in https://github.com/rubo77/log4j_checker_beta/commit/1faf804c92741d3de636119908ab16c669161aca


No "html.format.inline" configuration

Ubuntu 16.04:
1.30.2:
1.4.7:

Seems like there is no html.format.inline option to  configure.
It was added not long ago to JSBeautify: merge request

the html.format options belong to VS Code. For js-beautify options, use
"beautify.config": {
  "html": { "inline": ["span", "a", "whateva"] },
}


Problems with SIA-UI on Mac OS 10.10.5

I am experiencing problems to finish the 1st sync with SIA-UI on Mac OS 10.10.5.
The first launch of SIA-UI synced ok until 93.4% and exited with similar error. I restarted several times and got the same crash again and again so I decided to report it here.
Thanks for your help
-- OC
#BUG REPORT
Siad has exited unexpectedly. Sync status at 93.4% it is my first sync on this system never reached the full sync status.
ERROR LOG :
Sia Daemon v1.3.1
Loading...
(0/6) Loading siad...
(1/6) Loading gateway...
(2/6) Loading consensus...
(3/6) Loading transaction pool...
(4/6) Loading wallet...
(5/6) Loading host...
(6/6) Loading renter...
Finished loading in 1.644765049 seconds
panic: page 102213 already freed
goroutine 67 [running]:
github.com/NebulousLabs/bolt.(*freelist).free(0x421f246f0, 0x3e5, 0x867aded000)
/home/luke/go/src/github.com/NebulousLabs/bolt/freelist.go:121 +0x301
github.com/NebulousLabs/bolt.(*node).spill(0x421d3c700, 0x429650f80, 0x19ef040)
/home/luke/go/src/github.com/NebulousLabs/bolt/node.go:363 +0x210
github.com/NebulousLabs/bolt.(*node).spill(0x421d3c690, 0x0, 0x0)
/home/luke/go/src/github.com/NebulousLabs/bolt/node.go:350 +0xbf
github.com/NebulousLabs/bolt.(*node).spill(0x421d3c620, 0x0, 0x0)
/home/luke/go/src/github.com/NebulousLabs/bolt/node.go:350 +0xbf
github.com/NebulousLabs/bolt.(*node).spill(0x421cb67e0, 0x421f24390, 0x421c5ea18)
/home/luke/go/src/github.com/NebulousLabs/bolt/node.go:350 +0xbf
github.com/NebulousLabs/bolt.(*Bucket).spill(0x421e5a3c0, 0x421c5eb00, 0x15)
/home/luke/go/src/github.com/NebulousLabs/bolt/bucket.go:570 +0x4d3
github.com/NebulousLabs/bolt.(*Bucket).spill(0x421c6c0f8, 0x1bf30ad30a, 0x1b00c40)
/home/luke/go/src/github.com/NebulousLabs/bolt/bucket.go:537 +0x417
github.com/NebulousLabs/bolt.(*Tx).Commit(0x421c6c0e0, 0x2, 0x2)
/home/luke/go/src/github.com/NebulousLabs/bolt/tx.go:163 +0x129
github.com/NebulousLabs/Sia/modules/transactionpool.(*TransactionPool).syncDB(0x421cd8000)
/home/luke/go/src/github.com/NebulousLabs/Sia/modules/transactionpool/persist.go:54 +0x47
github.com/NebulousLabs/Sia/modules/transactionpool.(*TransactionPool).threadedRegularSync(0x421cd8000)
/home/luke/go/src/github.com/NebulousLabs/Sia/modules/transactionpool/persist.go:44 +0xb6
created by github.com/NebulousLabs/Sia/modules/transactionpool.(*TransactionPool).initPersist
/home/luke/go/src/github.com/NebulousLabs/Sia/modules/transactionpool/persist.go:132 +0x3a7
Expected Behavior
Finish 1st sync so I can load my wallet
How to reproduce it (as minimally and precisely as possible)
Just launching the SIA-UI application will run for 2 minutes and crash
Environment
Sia version: V1.3.1 (Capricorn)
OS: Mac OS 10.10.5 Yosemite

I commented on your other issue, this issue is now a duplicate.
recommendation to devs: Close


Two points to mention on this doc

Hello,
I wish to provide some feedback on this document. The steps are correct, but it would be advisable to note the following points somewhere on this page: 1) If you are refreshing the schema on a Staging server, you should also refresh the schema on all other AAD Connect servers (whether staging or production). 2) Creating custom sync rules will disable Automatic Upgrades of AAD Connect.
Thank you!
[Enter feedback here]

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

ID: b285f539-0487-0de5-24ef-89f773a1081d
Version Independent ID: b4f26f73-6b46-9703-692b-abe1f0d5f825
Content: Azure AD Connect: Configure preferred data location for Office 365 resources
Content Source: articles/active-directory/hybrid/how-to-connect-sync-feature-preferreddatalocation.md
Service: active-directory
Sub-service: hybrid
GitHub Login: @billmath
Microsoft Alias: billmath

@josuvil
Thanks for your feedback! We will investigate and update as appropriate.

I think these are good points! I made a pull request to add notes about both. https://github.com/MicrosoftDocs/azure-docs-pr/pull/124491
Thanks for the feedback, @josuvil.
In the future you're also welcome to make your own pull requests if you notice changes like these and would like to get credited.


nixos/tahoe: support all storage config with a freeform module

Description of changes

Fix a packaging bug in collections-extended one of Tahoe-LAFS' dependencies which caused build failures
Update Tahoe-LAFS from a master snapshot to the most recent release
Add support for supplying arbitrary values for all sections of tahoe.cfg in a new freeform submodule alongside the previously declared limited set of configuration options.

Add a basic NixOS test for the Tahoe service demonstrating the process starts and the correct configuration is supplied.

Related release notes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Add support for supplying arbitrary string configuration to the [storage] section for Tahoe-LAFS nodes.

Is there a compelling reason to do this instead of making the entire file configurable as nix attributes -> ini as mentioned?

Add support for supplying arbitrary string configuration to the [storage] section for Tahoe-LAFS nodes.

Is there a compelling reason to do this instead of making the entire file configurable as nix attributes -> ini as mentioned?

The primary reason I see is a process reason.  Changing the whole configuration over will necessarily be a larger change.  It will involve dealing with more existing special-cased configuration items, require more testing, and take longer to develop.
Since this is a self-contained incremental improvement, I would usually prefer to have it merged before moving on to further work.  Apart from delivering the value to users more quickly, this also means that I can find out all of the things I did wrong with this small change before I go and repeat them over and over in the larger change - and then have to fix them all.
If nixpkgs would prefer to take one large change re-working all of the configuration generation code at once, I can do that but I would still like feedback on this smaller change so I know the right way to expand it into the larger one.
Thanks!

Please factor out the rename into a separate commit. GitHub won't properly show me the diff otherwise, making review harder.

Please factor out the rename into a separate commit. GitHub won't properly show me the diff otherwise, making review harder.

Is this better @piegamesde ?

packages LGTM, didn't look at the vm tests and service.

I don't have bandwidth to pursue this further.


Overwatch crashes when started with DXVK

Overwatch crashes as soon as it opened when DXVK is enabled on lutris but it work fine (with low FPS) when DXVK is disabled. I tried many different DXVK versions including D9VK 0.13 and 0.11. I am running league of legends with d9vk 0.13 and getting around 110 FPS with no issue.
Software information
Overwatch with DXVK and ESync Enable
System information

GPU: Nvidia GeForce MX130 (with optimus)
Driver: 430.26
Wine version: ge-protonified-nofshack-4.9-x86_64
DXVK version: dxvk-1.3
OS: Manjaro 18.0.4 KDE
CPU: Intel core i5 i5-8250U

Log files

Overwatch error log: https://pastebin.com/kbBngvZy
Lutris log: https://pastebin.com/kbBngvZy

What method do you use for GPU switching ? Bumblebee, optimus-manager, or manual Prime configuration ?

optimus-manager

Since you have an Optimus laptop, make sure sure Overwatch is using the correct Vulkan ICD (right click on Overwatch in Lutris, "Configure", "System options", and set "Vulkan ICD loader" to "nvidia_icd.json". I kinda doubt that it's the issue given that Battle.net picks up the correct GPU, but doesn't hurt to check.
Also, Blizzard games require a metric ton of dependencies, make sure you have them all : https://github.com/lutris/lutris/wiki/Game:-Overwatch

It started working with DXVK after setting the Vulkan ICD loader, before my GPU was also listed as GTX 450 but now Overwatch is detecting the right GPU too.


Frontend web development html css js Git and Bash

Description 📜
I have added readme of git and bash in which i have explain about git and bash theirs features , requirements and some of their commands.
< hr>
Type of change 📝

[ ] Au#dio (Should be in mp3 format Includes speech clarity, Concise ,Low distortion)
[ ] Vi#deo (Animations, screen-recordings, presentations and regular explanatory films are all possibilties etc)
[ ] Documentation (Content Creation in the form of codes or tutorials)
[ ] Other (If you choose other, Please mention changes below)

Domain of Contribution 📊

[ ] Android Dev #(Flutter)
[ ] Android Dev #(Java)
[ ] Android Dev #(Kotlin)
[ ] Backend Dev #(Java)
[ ] Backend Dev #(.NET)
[ ] Backend Dev #(PHP)
[ ] Backend Dev #(Python)
[ ] C/#CPP
[ ] Competitive #Programming
[ ] Cyber #Security
[ ] DS#A
[ ] Data#base
[ ] Datascience with #Python
[ ] Datascience with #R
[ ] Frontend Dev HTML/CSS/JS
[ ] Frontend Dev #React/Angular/Vue
[ ] Go#lang
[ ] Interview #Prep
[ ] Java_#Domain
[ ] Java#Script
[ ] ME#RN
[ ] Machine #Learning
[ ] Open #Source
[ ] Python_#Domain
[ ] Ru#st
[ ] Statis#tics
[ ] UI/#UX

Checklist ✅

[ x] I follow Contributing Guidelines & Code of conduct of this project.
[ x] I have performed a self-review of my own code or work.
[ x] I have commented my code, particularly in hard-to-understand areas.
[ x] My changes generates no new warnings.
[ x] I'm GWOC'21 contributor

Screenshots / Gif (Optional) 📸

I will surely do that all changes tomorrow morning..
On Mon, Sep 27, 2021, 11:20 PM Aayushi Mittal @.***>
wrote:

@.**** requested changes on this pull request.
Please do the required changes.
In Web_Development/Javascript/Git and Bash/readme.md
https://github.com/girlscript/winter-of-contributing/pull/3178#discussion_r716907949
:

@@ -0,0 +1,139 @@
+### Git and Bash
+Git and Bash are fairly different things but windows version of git comes with configured with bash shell. This is why  you can even execute the bash commands their . But you can not perform low level tasks with git-bash in windows.
+Lets just understand the difference in between them one by one and how they create a development workflow together.

+####What is Git
+-  Git is an free and open sources version control command line tool which can manage the commits and branches of your source code.
+- Git can also push your codes to remote server . Where you can handle your codes , commits ,  and branches remotely using just Git on your local machine.
+- Using Git you can even shift to different branches and commits and even tracks all the commit logs.
+- Git gives and easy and flexible environment way to records , logs all of your codes.
+- Git gives you environment for multiple developers to work together on a projects .
+
+#### How to install Git
+
+- Windows users can go to their official website and download git bash.
+- For Mac users , Git already comes installed with their MacOS. you can check whether it is installed not by opening up your terminal and type.
'or' is missing in the 2nd sentence of line 15.
In Web_Development/Javascript/Git and Bash/readme.md
https://github.com/girlscript/winter-of-contributing/pull/3178#discussion_r716909015
:

+-  initializing a directory with git.
+shell +git init +
+- Check logs of commits of current branch
+shell +git log +
+- Check whether a new changes are occured or not
+shell +git status +
+- make a new commit
+```shell
+git add . && git commit -m "your message"
Instead of using && write each command in another line.
In Web_Development/Javascript/Git and Bash/readme.md
https://github.com/girlscript/winter-of-contributing/pull/3178#discussion_r716911154
:

+ +- creating a file +shell
+touch file_name
+ +- finding pattern in a text file +shell
+grep word_to_find
+ +- you can pipe symbol to treat output of a some commands as an input for some command. +shell
+echo this is me | grep me
+ +- removing file and directory +shell
+//This will only remove file

For bash, instead of using // use # for adding comments in the code.
In Web_Development/Javascript/Git and Bash/readme.md
https://github.com/girlscript/winter-of-contributing/pull/3178#discussion_r716911476
:

+ +- finding pattern in a text file +shell
+grep word_to_find
+ +- you can pipe symbol to treat output of a some commands as an input for some command. +shell
+echo this is me | grep me
+ +- removing file and directory +shell
+//This will only remove file
+rm file_name
+ +shell
+//This will remove an empty directory

For bash, instead of using // use # for showing comments in the code.
In Web_Development/Javascript/Git and Bash/readme.md
https://github.com/girlscript/winter-of-contributing/pull/3178#discussion_r716911592
:

+ +- you can pipe symbol to treat output of a some commands as an input for some command. +shell
+echo this is me | grep me
+ +- removing file and directory +shell
+//This will only remove file
+rm file_name
+ +shell
+//This will remove an empty directory
+rm -f directory_name
+ +shell
+//This will remove non empty directory

For bash, instead of using // use # for showing comments in the code.
In Web_Development/Javascript/Git and Bash/readme.md
https://github.com/girlscript/winter-of-contributing/pull/3178#discussion_r716913278
:

+ +- you can also intialize a variable in bash and use it in your scripts +shell
+#!/bin/bash
+#Do not add space
+name="bash"
+echo name
+```
+bash can also be used as a executable file even many programs uses bash script for their installation.
+

+### Final verdict
+
+- Both git and bash gives your powerful and flexible environment for anykind of workflow and development.
+- Windows version of git comes with bash shell . but you can only perform the basic tasks with that version of shell .
+- i would prefer you all to use wsl with git which gives you seperate linux environment for your development where you can use all of the features of bash as well as git too.
Start with a capital letter. Also, explain in brief about ws1.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/girlscript/winter-of-contributing/pull/3178#pullrequestreview-764568608,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOGZPWKBOHWTM5ZULA4SJJLUECVGNANCNFSM5E26JYTA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


original dataset of 12,000 polymers

Where can we get the original dataset of 12,000 polymers with their properties?

from the polyinfo website: https://polymer.nims.go.jp

Where can we get the original dataset of 12,000 polymers with their properties?

from the polyinfo website: https://polymer.nims.go.jp/

Polyinfo is not free access.


Allow this in class expression methods

Commit d75ef694385ba44ab49b2d2b2cf1f4bed0949ca7 oversimplified the
information passed to the doFunction method.
Prior to that commit, doFunction was invoked inconsistently (with a
token and with an object literal). This was incorrectly simplified to a
boolean value, which caused the helper function isMethod to stop
working:
function isMethod() {
  return funct["(statement)"] && funct["(statement)"].type === "class" ||
         funct["(context)"] && funct["(context)"]["(verb)"] === "class";
}

Re-implement the option to be a token and specify consistently at each
invocation of doFunction.

Coverage remained the same at 96.3% when pulling c515e83b1f7b380e5e184a9e1f06191251578afb on jugglinmike:allow-this-in-class-expr into d82cf19916ea35079dc239f32b950dfc0767b795 on jshint:master.


[#5773] AbstractByteBuf.forEachByteDesc(ByteProcessor) starts from wr…

…ong index
Motivation:
We introduced a regression in 1abdbe6f6798732447df6dd3af15f6cd871d6279 which let the iteration start from the wrong index.
Modifications:
Fix start index and add tests.
Result:
Fix regression.

@Scottmitch PTAL.. also @npordash

My unit tests are now passing 👍

@Scottmitch reviewed offline...

Cherry-picked into 4.1 (463b5cf21b6fe6e0e8b08615f3e47beb31f39025) and 4.0 (f66f4c9)

lgtm ... thanks @normanmaurer !


Autoconfigure custom OAuth2RequestValidator bean

It is currently awkward to use a custom OAuth2RequestValidator when using the default AuthorizationServerConfigurer. Specifying a custom configurer to use the AuthorizationServerEndpointsConfigurer disables all other autoconfiguration.
Ideally any registered OAuth2RequestValidator bean should be configured on the AuthorizationServerEndpointsConfigurer.
Initially reported this under https://github.com/spring-projects/spring-boot/pull/17014 but can happily provide a PR here if of interest.

@markhobson Thanks so much for reaching out.
The ideal is that these lower-level objects be configured directly onto higher-level objects, like in this case, TokenEndpoint and AuthorizationEndpoint.
Have you already tried a custom controller?
@Controller
public class EndpointsController {
    private final TokenEndpoint token;

    public EndpointsController(TokenEndpoint token, OAuth2RequestValidator validator) {
        this.token = configuration.tokenEndpoint();
        this.token.setOAuth2RequestValidator(validator);
    }

    @GetMapping("/oauth/token")
    public ResponseEntity<OAuth2AccessToken> getAccessToken(Principal principal, @RequestParam
            Map<String, String> parameters) throws HttpRequestMethodNotSupportedException {
        return this.token.getAccessToken(principal, parameters);
    }

    @PostMapping("/oauth/token")
    public ResponseEntity<OAuth2AccessToken> postAccessToken(Principal principal, @RequestParam
            Map<String, String> parameters) throws HttpRequestMethodNotSupportedException {
        return this.token.postAccessToken(principal, parameters);
    }
}

Thanks for the reply @jzheaux. I see that this approach would be possible, if somewhat verbose. I was thinking of something along the lines of how TokenStore and AccessTokenConverter can be configured by simply registering them as beans. Would this not also make sense for OAuth2RequestValidator?

@markhobson yes, I agree that the solution is verbose.
I think that something like this would also work:
@Autowired
public void addRequestValidator
        (TokenEndpoint tokenEndpoint, OAuth2RequestValidator myRequestValidator) {
    tokenEndpoint.setOAuth2RequestValidator(myRequestValidator);
}

Would the above work for you, @markhobson? If not, let me know what makes it not ideal, and we'll see if we can come up with a better solution together.

Thanks @jzheaux. I've not had a chance to try it but that could work. Note that the AuthorizationEndpoint would also need the request validator to be configured too.
I'm still unclear as to why TokenStore and AccessTokenConverter can be configured via bean registration but we don't wish to do the same for OAuth2RequestValidator? They all seem to be low-level services on par with one another.

@markhobson, fair question. The main reason is that this project is in maintenance mode, and so my inclination is to not add a feature unless it's necessary.

Note that the AuthorizationEndpoint would also need the request validator to be configured too.

Yes, I agree.

They all seem to be low-level services on par with one another.

I lack some of the historical context for these two components, but from my perspective, it's a matter of trying to not add too many bells and whistles. Overriding the TokenStore is quite common while overriding the OAuth2RequestValidator is not.
And, all other things being equal, this:
@Bean
OAuth2RequestValidator oauth2RequestValidator() {
    return new MyRequestValidator();
}

is about the same complexity as:
@Autowired
void addRequestValidator(AuthorizationEndpoint authorize, TokenEndpoint token) {
    OAuth2RequestValidator requestValidator = new MyRequestValidator();
    authorize.setOAuth2RequestValidator(requestValidator);
    token.setOAuth2RequestValidator(requestValidator);
}

Of course, if the autowired solution turns out to be flawed, let me know, and we can again take a look at this feature.

No probs, thanks for your time.


Allow brightness control in SOS mode

Thanks for this well-designed app!
I can control the brightness of the flash light on my phone, but when I switch to SOS mode it says "Light Level: SOS mode", I cannot control the light level and the light level is fixed at half level, without any clear indication why the light level is not controllable.
I think SOS mode should be at the brightest level possible, that makes more sense to me if you're in an emergency situation.
Perhaps the light level should be controllable and/or set to the maximum by default?
If that is not possible an explanation in the app might be a good addition instead.
Cheers!

Hi Jonas, thanks for your idea.
You are absolutely right. The SOS mode just turns the flashlight on and off, but as many phones don't go full brightness anymore when simply turning it on, I have to manually change the brightness to have the full "SOS effect".
Will be implemented soon when I find time.

@ungive Please check if that debug version works for you, this is implemented now:
https://cdn.cyb3rko.de/Apps/FlashDim/FlashDim v2.3.6 Dev.apk


Make power grid check event force APCs off

About the PR

Media

Changelog

:cl:

tweak: now during power grid check event affected APCs can't be turned back on

does this affect taking out the board
also this requires not doing the event on salv shuttle and such, the event says station not ship

I dunno why event now affects ships, i previously fixed this

Does this close #16168?

i guess


feat: added new pin input component

added new pin input component
autocomplete support
otp and masking support
keyboard accessibility
default value, overriding placeholder support

TODO

[ ]  Unit tests

@Swappea This components exists in Corvu according to PR #522
So this component probably won't be accepted

@MengLinMaker - oh should have checked out before working on it. That's unfortunate, but thanks for highlighting it.
@jer3m01 - should I go ahead and close the MR or any second thoughts?


new endpoint - SetOrderStatus

API to set order status to "open", "processing", or "complete"
works alongside #35

replaced with #37


Cross.toml is ignored?

I set up a project that uses Cross.toml to install OpenSSL in the pre-build step as documented here:
[target.armv7-unknown-linux-gnueabihf]
pre-build = [
    "dpkg --add-architecture $CROSS_DEB_ARCH",
    "apt-get update && apt-get install --assume-yes libssl-dev:$CROSS_DEB_ARCH"
]

# Same for the other architectures

This works fine locally, but it seems to be ignored by this action, as I'm getting errors like this: https://github.com/VorpalBlade/chezmoi_modify_manager/actions/runs/4692601025/jobs/8318514294
 error: failed to run custom build command for `openssl-sys v0.9.85`

Caused by:
  process didn't exit successfully: `/home/runner/work/chezmoi_modify_manager/chezmoi_modify_manager/target/debug/build/openssl-sys-84e6b09c34fe3be8/build-script-main` (exit status: 101)
  --- stdout
  cargo:rerun-if-env-changed=ARMV7_UNKNOWN_LINUX_GNUEABIHF_OPENSSL_LIB_DIR
  ARMV7_UNKNOWN_LINUX_GNUEABIHF_OPENSSL_LIB_DIR unset
  cargo:rerun-if-env-changed=OPENSSL_LIB_DIR
  OPENSSL_LIB_DIR unset
  cargo:rerun-if-env-changed=ARMV7_UNKNOWN_LINUX_GNUEABIHF_OPENSSL_INCLUDE_DIR
  ARMV7_UNKNOWN_LINUX_GNUEABIHF_OPENSSL_INCLUDE_DIR unset
  cargo:rerun-if-env-changed=OPENSSL_INCLUDE_DIR
  OPENSSL_INCLUDE_DIR unset
  cargo:rerun-if-env-changed=ARMV7_UNKNOWN_LINUX_GNUEABIHF_OPENSSL_DIR
  ARMV7_UNKNOWN_LINUX_GNUEABIHF_OPENSSL_DIR unset
  cargo:rerun-if-env-changed=OPENSSL_DIR
  OPENSSL_DIR unset
  cargo:rerun-if-env-changed=OPENSSL_NO_PKG_CONFIG
  cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS_armv7-unknown-linux-gnueabihf
  cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS_armv7_unknown_linux_gnueabihf
  cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_ALLOW_CROSS
  cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS
  cargo:rerun-if-env-changed=PKG_CONFIG_armv7-unknown-linux-gnueabihf
  cargo:rerun-if-env-changed=PKG_CONFIG_armv7_unknown_linux_gnueabihf
  cargo:rerun-if-env-changed=TARGET_PKG_CONFIG
  cargo:rerun-if-env-changed=PKG_CONFIG
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_armv7-unknown-linux-gnueabihf
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_armv7_unknown_linux_gnueabihf
  cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_SYSROOT_DIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
  run pkg_config fail: pkg-config has not been configured to support cross-compilation.

  Install a sysroot for the target platform and configure it via
  PKG_CONFIG_SYSROOT_DIR and PKG_CONFIG_PATH, or install a
  cross-compiling wrapper for pkg-config and set it via
  PKG_CONFIG environment variable.

  --- stderr
  thread 'main' panicked at '

  Could not find directory of OpenSSL installation, and this `-sys` crate cannot
  proceed without this knowledge. If OpenSSL is installed and this crate had
  trouble finding it,  you can set the `OPENSSL_DIR` environment variable for the
  compilation process.

  Make sure you also have the development packages of openssl installed.
  For example, `libssl-dev` on Ubuntu or `openssl-devel` on Fedora.

  If you're in a situation where you think the directory *should* be found
  automatically, please open a bug at https://github.com/sfackler/rust-openssl
  and include information about your system as well as this message.

  $HOST = x86_64-unknown-linux-gnu
  $TARGET = armv7-unknown-linux-gnueabihf
  openssl-sys = 0.9.85

  ', /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/openssl-sys-0.9.85/build/find_normal.rs:190:5
  stack backtrace:
     0: rust_begin_unwind
               at /rustc/4087deaccd8bceb458c9610d29744d5f3504c5c0/library/std/src/panicking.rs:577:5
     1: core::panicking::panic_fmt
               at /rustc/4087deaccd8bceb458c9610d29744d5f3504c5c0/library/core/src/panicking.rs:67:14
     2: core::panicking::panic_display
               at /rustc/4087deaccd8bceb458c9610d29744d5f3504c5c0/library/core/src/panicking.rs:150:5
     3: build_script_main::find_normal::find_openssl_dir
               at ./build/find_normal.rs:190:5
     4: build_script_main::find_normal::get_openssl::{{closure}}
               at ./build/find_normal.rs:14:68
     5: core::option::Option<T>::unwrap_or_else
               at /rustc/4087deaccd8bceb458c9610d29744d5f3504c5c0/library/core/src/option.rs:1000:21
     6: build_script_main::find_normal::get_openssl
               at ./build/find_normal.rs:14:31
     7: build_script_main::find_openssl
               at ./build/main.rs:63:5
     8: build_script_main::main
               at ./build/main.rs:80:35
     9: core::ops::function::FnOnce::call_once
               at /rustc/4087deaccd8bceb458c9610d29744d5f3504c5c0/library/core/src/ops/function.rs:250:5
  note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

This is either a bug, or am I doing something stupid/wrong (quite possible).

Cross.toml is a config for cross-rs/cross. Unrelated to this project.
If you want to use cross-rs/cross in github actions I would recommend using install-action to install it.

Oh okay, I thought this used cross. Thanks.


added support for embeding local files in fcc 1.1.0

Fedora CoreOS Config local fields are specific to the fcct CLI tool --file-dir.
ct_config accepts content and Terraform has native mechanisms like local_file or templatefile, and more to source content (e.g. transforms, read remote files, etc.). ct itself doesn't need to get involved in reading local filesystems.
See https://github.com/poseidon/terraform-provider-ct/blob/master/examples/fedora-coreos.tf
Related: https://github.com/coreos/fedora-coreos-tracker/issues/375


Add the v4 support library and update the notification API.

Switch to using NotificationCompat.Builder. This will allow for
the creation of a "disconnect all" button in the notification
(see #93).

Looks like the build bot is failing because it can't find the support libs. How can I make sure they're installed on the bot?

Maybe modify the .travis.yml and add extra-android-m2repository under the android section.

travis seems happy now


vdbench remove memory limit

Fix:
Remove memory limit of vdbench_kata due to memory leak issue when run kata in parallel in Perf-CI

@RobertKrawitz, please take a look now


uninitialized constant FakeFS::Dir::Tmpname

I am creating temporary directories in my code, but when testing with FakeFS I seem like fakeFS doesn't support Dir.mktmpdir.
Can you confirm this?

Works for me:
https://gist.github.com/smtlaissezfaire/52482e252baab6e500f7
If you want to know, search the code base...


Fix for name and icon path

Sorry. It's pushed.
Regards,
Fabio
Le dim. 1 oct. 2023 à 02:05, Jeremy Wu @.***> a écrit :

@.**** commented on this pull request.
In plugins.json
https://github.com/Flow-Launcher/Flow.Launcher.PluginsManifest/pull/290#discussion_r1342021639
:

     "ExecuteFileName": "main.py",

     "UrlDownload": "https://github.com/fabiochelly/Flow.Launcher.Plugin.FabCalc/releases/download/v1.1.8/Flow.Launcher.Plugin.FabCalc.zip",

   "UrlSourceCode": "https://github.com/fabiochelly/Flow.Launcher.Plugin.FabCalc/archive/refs/tags/1.0.0.zip",

   "UrlSourceCode": "https://github.com/fabiochelly/Flow.Launcher.Plugin.FabCalc/archive/refs/tags/v1.1.8.zip",

This link to the source code is incorrect, shouldn't be pointing to a
download. See other plugins for reference.
—
Reply to this email directly, view it on GitHub
https://github.com/Flow-Launcher/Flow.Launcher.PluginsManifest/pull/290#pullrequestreview-1651762335,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA67MUINWRCX4SBZ5HHK2OTX5C6WZANCNFSM6AAAAAA5KS6GLY
.
You are receiving this because you authored the thread.Message ID:
<Flow-Launcher/Flow.Launcher.PluginsManifest/pull/290/review/1651762335@
github.com>


感谢作者开源，请问有稳定1.0版本了吗

好像都还是在开发状态？

Thanks for your interest in the project!
As of now, the project is still in development. You can stay updated on our progress by checking out our GitHub Projects page. 😄

感谢您对项目的关注！
目前为止项目仍在开发中。您可以通过 GitHub Projects 来了解我们的工作进展。😄


Viewport issue using Canvaslayer and viewportsprite.

Runing under Windows 7
When you place a viewport as a child of a canvas layer the render target breaks and you can't use the viewportsprite to render the viewport's texture.

Create a new Canvaslayer, after that create a new viewport inside the canvaslayer and set a sprite as a child of the viewport node.
Create a new viewportsprite and assing the viewport (inside or outside the canvaslayer is the same).

At this point the viewport stop working and the viewportsprite can't access to  the viewport's texture, also you can't call the viewport's texture from other canvaslayer using the viewportsprite (this method works just fine in versions before 2.1 stable).
Test Case Project:
https://drive.google.com/open?id=0B3mjAjcuXnKqZzBJQWlhQ2xrRm8

First of all thank you for your report and sorry for the delay.
We released Godot 3.0 in January 2018 after 18 months of work, fixing many old issues either directly, or by obsoleting/replacing the features they were referring to.
We still have hundreds of issues whose relevance/reproducibility needs to be checked against the current stable version, and that's where you can help us.
Could you check if the issue that you described initially is still relevant/reproducible in Godot 3.0 or any newer version, and comment about it here?
For bug reports, please also make sure that the issue contains detailed steps to reproduce the bug and, if possible, a zipped project that can be used to reproduce it right away. This greatly speeds up debugging and bugfixing tasks for our contributors.
Our Bugsquad will review this issue more in-depth in 15 days, and potentially close it if its relevance could not be confirmed.
Thanks in advance.
Note: This message is being copy-pasted to many "stale" issues (90+ days without activity). It might happen that it is not meaningful for this specific issue or appears oblivious of the issue's context, if so please comment to notify the Bugsquad about it.

The issue is still persist and greatly annoying in version 2.1.5
Will it be ever fixed?
Just please don't try to push it to 3.x branch, it is completely unusable by now and there is no sign that it will be usable in the following two years.


[Spark] Support external DSV2 catalog in Vacuum command

Which Delta project/connector is this regarding?

[x] Spark
[ ] Standalone
[ ] Flink
[ ] Kernel
[ ] Other (fill in here)

Description
Support external DSV2 catalog in Vacuum command. After the changes, the vacuum command supports tables from external DSV2 catalog.
For example, with
spark.sql.catalog.customer_catalog=org.apache.spark.sql.CustomerCatalog

We can query
SET CATALOG customer_catalog;
VACUUM t1

Or simply
VACUUM customer_catalog.default.t1

This PR also introduce a new analyzer rule ResolveDeltaPathTable so that external DSV2 catalogs won't need to implement the resolution of delta file path table.
How was this patch tested?

new end-to-end tests
new parser test cases

Does this PR introduce any user-facing changes?

Yes, users can use Vacuum command on the tables of their external DSV2 catalogs.

cc @ryan-johnson-databricks @LukasRupprecht

The test failure is about Flink. Should not be related to the code changes.


Wintoolkit

Greetings,
on the welcoming Readme it is mentioned:
"Mainly to be used with  Wintoolkit"
Installing Wintoolkit, on the first run, it suggests to download a new version of DISM which redirects you to a non-existing web page (win-unattended.de) which looks like a phishing area

That link now point to the modified version of Wintoolkit, the last original version by original author is available here:
https://github.com/Legolash2o/WinToolkit_v1
WTK_v1_<IP_ADDRESS>.7z - require .NET 3.5
WTK_v1_<IP_ADDRESS>.7z - require .NET 4.8
i will update readme accordingly

I got the WTK_v1_<IP_ADDRESS>.7z with success.
when Win Toolkit starts, it suggest to download a newer version of DISM and redirects you to this page where the download links are broken.

Ignore


Refactor Selection Mode

Closes github issue 303
Description of Work
Refactored SelectionViewController to use the new vocable collection view component.
Notes to Test (Optional)
Selection mode should work as before.

height of "Head Tracking" button to short

test approved!


assert SanityClient for castToTyped

Preview kit introduced a union type for sanity clients SanityClient | SanityStegaClient, this just documents the assertion that currently avoids an error.
I am unfamiliar with the README.md and _README.md approach here, so I'm not sure that I did this as expected. I see README.md itself is treated as a binary file and didn't want to mess with any configurations.

That's right, but I might need to clarify, SanityStegaClient comes from createClient in the @sanity/preview-kit/client, which is what next-sanity depends on. But looking into that more, it looks like that's been deprecated in favor of a new client all together:
/**
 * @deprecated - Please use `createClient` from `@sanity/client/stega` instead
 */
export declare const createClient: (
  config: PreviewKitClientConfig,
) => SanityClient | SanityStegaClient

Ultimately, I think the solve here would be for castToTyped() to accept the union, but that isn't a change I was comfortable proposing without testing both options and getting more familiar with this package.

BTW @loremipson, I'm working on this now with #568, #540, and #541.

New @sanity-typed/next-sanity package! Please try it out, I think it addresses your issue, directly.


fix: Toolbar goes behind the status bar on login screen #681

Fixes #681
Changes: Add windowSoftInputMode="adjustResize" to AndroidManifest.xml
Screenshots for the change:

The issue is with the special wrapping style on screens and the should not require this flag since it may mask future errors

@iamareebjamal Do you mean that I need to make changes the layout file?

Yes, layout or styles


python311Packages.hahomematic: 2023.7.3 -> 2023.8.2

Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 247885 run on x86_64-linux 1

2 packages failed to build:

python310Packages.hahomematic
python310Packages.hahomematic.dist

2 packages built:

python311Packages.hahomematic
python311Packages.hahomematic.dist

The latest version requires Python 3.11; can the disabled property be added?
Would it be possible to update to the latest version? It will fix the build on staging-next, since it updates setuptools and wheel in pyproject.toml.
As a favor, can you also add wheel to nativeBuildInputs?

Result of nixpkgs-review pr 247885 run on x86_64-linux 1

2 packages built:

python311Packages.hahomematic
python311Packages.hahomematic.dist


Can't add property context, object is not extensible

Hey guys, I'm using React 0.13.1, along with Babel+Browserify. My source is:
let React = require('react');
let ReactD3 = require('react-d3-components');
let AreaChart = ReactD3.AreaChart;

let data = [
  {
    label: 'somethingA',
    values: [{x: 0, y: 2}, {x: 1.3, y: 5}, {x: 3, y: 6}, {x: 3.5, y: 6.5}, {x: 4, y: 6}, {x: 4.5, y: 6}, {x: 5, y: 7}, {x: 5.5, y: 8}]
  },
  {
    label: 'somethingB',
    values: [{x: 0, y: 3}, {x: 1.3, y: 4}, {x: 3, y: 7}, {x: 3.5, y: 8}, {x: 4, y: 7}, {x: 4.5, y: 7}, {x: 5, y: 7.8}, {x: 5.5, y: 9}]
  }
];

React.render(<AreaChart
  data={data}
  width={400}
  height={400}
  margin={{top: 10, bottom: 50, left: 50, right: 10}}/>,
  document.body);

And I compile it with:
browserify src/file.es6 -t babelify --outfile dist/file.js

I see everything getting compiled correctly, but I got the "Can't add property context, object is not extensible". Any idea?

There's something really wrong here. When I opened the package.json of your lib, the version is 0.4.6 and react's version is 0.12.2, while on Github you have react 0.13.1 but the SAME version of the lib. Whaaaat?

Amazing, now I installed directly from github. The package points to the right React version (0.13.1) but now both webpack and browserify can't find the lib, since there's no index.js and package points to lib/index.js, which doesn't exist (as far as I understand is removed before build). ......

Hey! Thanks for the report! The version on Github has React 0.13.1 since some days ago but I did not yet release a new NPM version. I will publish the new version first thing monday morning!
In the meanwhile what you can do is git clone this repository and then npm install /path/to/repository, then the lib folder will be created and installed into your project. Hope that helps!

Hey, thanks for the response and sorry for the frustration :D. Cloning worked. LMK when there's a new version.

Glad it worked out.
New npm version uploaded! Please have a try :)


fix: properly support IonQ native gates and add various tests

Issue #, if available:
N/A
Description of changes:
Add support in IR module for the IonQ gates so they can be properly applied. Also add a variety of other small tests. Parameters are now written in sorted order to OpenQASM headers.
Testing done:
Unit tests passed locally.
Merge Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your pull request.
General

[x] I have read the CONTRIBUTING doc
[x] I used the commit message format described in CONTRIBUTING
[x] I have updated any necessary documentation, including READMEs and API docs (if appropriate)

Tests

[x] I have installed and run git secrets to make sure I did not commit any sensitive information (passwords or credentials)
[x] I have added tests that prove my fix is effective or that my feature works (if appropriate)
[x] I have checked that my tests are not configured for a specific region or account (if appropriate)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report
Base: 92.84% // Head: 84.33% // Decreases project coverage by -8.51% :warning:

Coverage data is based on head (8213e39) compared to base (7800860).
Patch coverage: 50.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #46      +/-   ##
==========================================
- Coverage   92.84%   84.33%   -8.51%
==========================================
  Files          33       33
  Lines        3818     3825       +7
==========================================
- Hits         3545     3226     -319
- Misses        273      599     +326

Impacted Files
Coverage Δ

src/gates.jl
86.04% <0.00%> (+13.10%)
:arrow_up:

src/raw_schema.jl
95.06% <50.00%> (-0.70%)
:arrow_down:

src/circuit.jl
98.45% <100.00%> (+1.54%)
:arrow_up:

PyBraket/src/pynoises.jl
0.00% <0.00%> (-100.00%)
:arrow_down:

PyBraket/src/pygates.jl
10.29% <0.00%> (-86.77%)
:arrow_down:

PyBraket/src/pycircuit.jl
32.35% <0.00%> (-44.12%)
:arrow_down:

src/operators.jl
50.00% <0.00%> (-25.00%)
:arrow_down:

PyBraket/src/local_simulator.jl
64.86% <0.00%> (-21.63%)
:arrow_down:

PyBraket/src/PyBraket.jl
82.05% <0.00%> (-5.13%)
:arrow_down:

PyBraket/src/pyschema.jl
96.11% <0.00%> (-2.27%)
:arrow_down:

... and 10 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


🐞 Removing Traits does not seem to work

Check for existing bug reports before submitting.

[X] I searched for existing Bug Reports and found no similar reports.

Expected Behavior
It should be possible to remove Traits, e.g., if we have:
statblock: true
name: umano_comune
extends: creatura
creatura: Umano Comune
ac: 2
hit_dice: 6+1d3
hp: 8
mana: 0
vestiti: "[[Abiti Normali]]"
abilita_razza:
  - name: "[[Lingua delle Lande]]"
  - name: "[[Capacita di Guarigione|Capacità di Guarigione]]"
  - name: TEST
    desc: test

And:
statblock: true
name: umano_schiavo_gladiatore
monster: umano_comune
creatura: Umano Schiavo-Gladiatore
abilita_razza-:
  - name: TEST
abilita_razza+:
  - name: TEST2
    desc: test2

The latter should have, in "abilita_razza": "[[Lingua delle Lande]]", "[[Capacita di Guarigione|Capacità di Guarigione]]" and TEST2
Current behaviour
After https://github.com/javalent/fantasy-statblocks/commit/12df3838d5e755fa2f5aa66cf3188b3dab7a3754, Traits have improved a lot! In fact, now overriding and adding Traits works fine (for me). What still doesn't work is removing them :-)
In fact, sticking to the example above, "abilita_razza" still has the "TEST"

Reproduction
Just create a statblock that inherits some Traits (say, "A") from another one (e.g., using monster:) and then try to remove any with A-:.
Which Operating Systems are you using?

[ ] Android
[ ] iPhone/iPad
[X] Linux
[ ] macOS
[ ] Windows

Obsidian Version Check
1.6.7
Plugin Version
4.7.8
Confirmation

[ ] I have disabled all other plugins and the issue still persists.

Possible solution
No response

I think you have a mistake in your YAML, I came across this issue when wrestling with this feature myself, albeit with a DND5e stat block.
These lines:
extends: creatura
creatura: Umano Comune

Should be
extends: Umano Comune

My working example (Obsidian 1.7.4 / Fantasy Stat Blocks 4.7.8) is this:
extends: Deep Gnome (Svirfneblin)
name: Abbot Kavoda
ac: 12
traits-:
  - name: Innate Spellcasting
traits+:
  - name: Innate Spellcasting.
    desc: |
      The gnome’s innate spellcasting ability is Intelligence (spell save DC 11). It can innately cast the following spells, requiring no material components:
      At will: nondetection (self only)
      1/day each: blindness/deafness, blur, disguise self
      3/day each: meld into stone


[SPARK-11078] Ensure spilling tests actually spill

#9084 uncovered that many tests that test spilling don't actually spill. This is a follow-up patch to fix that to ensure our unit tests actually catch potential bugs in spilling. The size of this patch is inflated by the refactoring of ExternalSorterSuite, which had a lot of duplicate code and logic.

Merged build triggered.

Merged build started.

Test build #43747 has started for   PR 9124 at commit 1b7fa3d.

Test build #43747 has finished for   PR 9124 at commit 1b7fa3d.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/43747/
Test FAILed.

Test build #1904 has started for   PR 9124 at commit 1b7fa3d.

Test build #1904 has finished for   PR 9124 at commit 1b7fa3d.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

LGTM over all

Merged build triggered.

Merged build started.

Test build #43812 has started for   PR 9124 at commit 7590b77.

OK, merging.

Test build #43812 has finished for   PR 9124 at commit 7590b77.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/43812/
Test PASSed.

Merged build finished. Test PASSed.

@andrewor14 looks like we still have some failures of the form...
- spilling with compression *** FAILED ***
  java.lang.Exception: Test failed with compression using codec org.apache.spark.io.LZ4CompressionCodec:

assertion failed: expected groupByKey to spill, but did not
  at scala.Predef$.assert(Predef.scala:170)
  at org.apache.spark.TestUtils$.assertSpilled(TestUtils.scala:170)
  at org.apache.spark.util.collection.ExternalAppendOnlyMapSuite.org$apache$spark$util$collection$ExternalAppendOnlyMapSuite$$testSimpleSpilling(ExternalAppendOnlyMapSuite.scala:253)
  at org.apache.spark.util.collection.ExternalAppendOnlyMapSuite$$anonfun$10$$anonfun$apply$mcV$sp$8.apply(ExternalAppendOnlyMapSuite.scala:218)
  at org.apache.spark.util.collection.ExternalAppendOnlyMapSuite$$anonfun$10$$anonfun$apply$mcV$sp$8.apply(ExternalAppendOnlyMapSuite.scala:216)
  at scala.collection.immutable.Stream.foreach(Stream.scala:594)
  ...

Do you think it's possible that somehow there's a race here in reporting the metrics? so that things are spilling but not reported to the listener by the time the number of spilled tasks is checked?
I could try putting in an eventually to let it check repeatedly for a short time? any better ideas, or reasons to think that's not it?

I see, that's possible. The right thing to do here is to add a wait of some sort in the listener to block until we have received the stage completed event. We've done this in some other test listeners as well. (I can't remember which ones off the top of my head).


Ignore everything after whitespace in the output from sha256sum

The issue has originarily reported as pyenv/pyenv#902.
Unlike sha256sum of GNU coreutils, BusyBox one doesn't print '*' and prints extra whitespaces, when computing digest from stdin.
sha256sum (GNU coreutils 8.26)
% cat /sbin/init | sha256sum -b
ef753e9504ada221155b86e7e6b7b4ff2499d64e27bcd959f0542bcac589feb1 *-

sha256sum (BusyBox v1.26.2)
/ # cat /sbin/init | sha256sum -b
4cd6d1a4028772fabc9166bb52b5826aec4e91874c107fce33dc515c04cb754f  -

I also confirmed that md5sum behaves just similarly.
Actually sha256sum feature won't work correctly even with this unless merging #1059.

Thanks a lot!


Escape a backslash for VerQueryValue(A|W)

@xiaoyinl : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Input 'date' type can't work in Safari, Firefox

in 'md-input-container':
example:
input md-input required type="date" placeholder="Start Date" name="startDate"
Only can work in Chrome...

This is an html5 issue with the native input. Safari and Firefox dont support it.
http://caniuse.com/#feat=input-datetime

This is a browser issue.


[Post-Release] Merge release-next into master

/override dco

Due to conflicts, I'll have to create a fresh branch.