RuntimeError: Unable to create link (name already exists)

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): No
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): kaggle kernel
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: NA
TensorFlow installed from (source or binary):
TensorFlow version (use command below): 2.4.0
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:

TF 1.0: python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"
TF 2.0: python -c "import tensorflow as tf; print(tf.version.GIT_VERSION, tf.version.VERSION)"

Describe the current behavior
This is my  Notebook:
Kaggle Notebook
This is the main model I am using:

I am getting following error as mentioned in below link
Github Issue

@shanmukh05
Please share error log and info shared as screenshots in text format for us and any other user who faces problem it would be helpful.

Code (This is the main model. Details of dataset are in notebook I mentioned earlier)

I am using TPU

    IMAGE_SIZE = [300,300]
    import tensorflow as tf
    efficient_net = {
        0 : tf.keras.applications.EfficientNetB0(weights="imagenet",include_top=False ,input_shape=[*IMAGE_SIZE, 3]),
        1 : tf.keras.applications..EfficientNetB1(weights="imagenet",include_top=False ,input_shape=[*IMAGE_SIZE, 3]),
    }

    output = {}
    inputs = tf.keras.Input(shape=(*IMAGE_SIZE, 3))

    ls =   [0,1]      #[3,5,7]

    for i in ls:
        pretrained_model = efficient_net[i]
        x = pretrained_model(inputs)
        x = tf.keras.layers.GlobalAveragePooling2D()(x)
        output[i] = tf.keras.layers.Dense(CLASSES,activation="sigmoid", dtype='float32')(x)

    outputs = tf.keras.layers.average(list(output.values()))
    model = tf.keras.Model(inputs, outputs)
    optimizer = tf.keras.optimizers.Adam(lr=lr)

    loss = tf.keras.losses.CategoricalCrossentropy()

    metrics = [
       tf.keras.metrics.CategoricalAccuracy(name='categorical_accuracy')
    ]

    model.compile(optimizer=optimizer, loss=loss, metrics=metrics)
    cpk_path = './best_model.h5'

    checkpoint = tf.keras.callbacks.ModelCheckpoint(
        filepath=cpk_path,
        monitor='val_categorical_accuracy',
        mode='max',
        save_best_only=True,
        verbose=1,
    )

    reducelr = tf.keras.callbacks.ReduceLROnPlateau(
        monitor='val_categorical_accuracy',
        mode='max',
        factor=0.1,
        patience=3,
        verbose=0
    )

    earlystop = tf.keras.callbacks.EarlyStopping(
        monitor='val_categorical_accuracy',
        mode='max',
        patience=15,
        verbose=1
    )

   callbacks = [checkpoint, reducelr, earlystop]
   EPOCHS= 3
   VERBOSE =1

  STEPS_PER_EPOCH = NUM_TRAINING_IMAGES//(BATCH_SIZE)

  tf.keras.backend.clear_session()
  with strategy.scope():

  model = create_model()
  model = compile_model(model, lr=0.0001)

  callbacks = create_callbacks()

  history = model.fit(train_ds,
                        epochs=EPOCHS,
                        callbacks=callbacks,
                        validation_data = valid_ds,
                        steps_per_epoch = STEPS_PER_EPOCH,
                        verbose=VERBOSE)

Error Log
16809984/16804768 [==============================] - 0s 0us/step
Downloading data from https://github.com/Callidior/keras-applications/releases/download/efficientnet/efficientnet-b1_weights_tf_dim_ordering_tf_kernels_autoaugment_notop.h5
27164672/27164032 [==============================] - 0s 0us/step
Epoch 1/3
146/146 [==============================] - 165s 387ms/step - loss: 1.1287 - categorical_accuracy: 0.6490 - val_loss: 0.5770 - val_categorical_accuracy: 0.8000

Epoch 00001: val_categorical_accuracy improved from -inf to 0.80000, saving model to ./best_model.h5
---------------------------------------------------------------------------
RuntimeError                              Traceback (most recent call last)
<ipython-input-17-c8fdc0a8823e> in <module>
   17                         validation_data = valid_ds,
   18                         steps_per_epoch = STEPS_PER_EPOCH,
---> 19                         verbose=VERBOSE)

/opt/conda/lib/python3.7/site-packages/tensorflow/python/keras/engine/training.py 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_batch_size, validation_freq, max_queue_size, workers, use_multiprocessing)
 1143           epoch_logs.update(val_logs)
 1144
-> 1145         callbacks.on_epoch_end(epoch, epoch_logs)
 1146         training_logs = epoch_logs
 1147         if self.stop_training:

/opt/conda/lib/python3.7/site-packages/tensorflow/python/keras/callbacks.py in on_epoch_end(self, epoch, logs)
  426     for callback in self.callbacks:
  427       if getattr(callback, '_supports_tf_logs', False):
--> 428         callback.on_epoch_end(epoch, logs)
  429       else:
  430         if numpy_logs is None:  # Only convert once.

/opt/conda/lib/python3.7/site-packages/tensorflow/python/keras/callbacks.py in on_epoch_end(self, epoch, logs)
 1342     # pylint: disable=protected-access
 1343     if self.save_freq == 'epoch':
-> 1344       self._save_model(epoch=epoch, logs=logs)
 1345
 1346   def _should_save_on_batch(self, batch):

/opt/conda/lib/python3.7/site-packages/tensorflow/python/keras/callbacks.py in _save_model(self, epoch, logs)
 1394                     filepath, overwrite=True, options=self._options)
 1395               else:
-> 1396                 self.model.save(filepath, overwrite=True, options=self._options)
 1397             else:
 1398               if self.verbose > 0:

/opt/conda/lib/python3.7/site-packages/tensorflow/python/keras/engine/training.py in save(self, filepath, overwrite, include_optimizer, save_format, signatures, options, save_traces)
 2000     # pylint: enable=line-too-long
 2001     save.save_model(self, filepath, overwrite, include_optimizer, save_format,
-> 2002                     signatures, options, save_traces)
 2003
 2004   def save_weights(self,

/opt/conda/lib/python3.7/site-packages/tensorflow/python/keras/saving/save.py in save_model(model, filepath, overwrite, include_optimizer, save_format, signatures, options, save_traces)
  152           'or using `save_weights`.')
  153     hdf5_format.save_model_to_hdf5(
--> 154         model, filepath, overwrite, include_optimizer)
  155   else:
  156     saved_model_save.save(model, filepath, overwrite, include_optimizer,

/opt/conda/lib/python3.7/site-packages/tensorflow/python/keras/saving/hdf5_format.py in save_model_to_hdf5(model, filepath, overwrite, include_optimizer)
  129     if (include_optimizer and model.optimizer and
  130         not isinstance(model.optimizer, optimizer_v1.TFOptimizer)):
--> 131       save_optimizer_weights_to_hdf5_group(f, model.optimizer)
  132
  133     f.flush()

/opt/conda/lib/python3.7/site-packages/tensorflow/python/keras/saving/hdf5_format.py in save_optimizer_weights_to_hdf5_group(hdf5_group, optimizer)
  594     for name, val in zip(weight_names, weight_values):
  595       param_dset = weights_group.create_dataset(
--> 596           name, val.shape, dtype=val.dtype)
  597       if not val.shape:
  598         # scalar

/opt/conda/lib/python3.7/site-packages/h5py/_hl/group.py in create_dataset(self, name, shape, dtype, data, **kwds)
  137             dset = dataset.Dataset(dsid)
  138             if name is not None:
--> 139                 self[name] = dset
  140             return dset
  141

/opt/conda/lib/python3.7/site-packages/h5py/_hl/group.py in __setitem__(self, name, obj)
  371
  372             if isinstance(obj, HLObject):
--> 373                 h5o.link(obj.id, self.id, name, lcpl=lcpl, lapl=self._lapl)
  374
  375             elif isinstance(obj, SoftLink):

h5py/_objects.pyx in h5py._objects.with_phil.wrapper()

h5py/_objects.pyx in h5py._objects.with_phil.wrapper()

h5py/h5o.pyx in h5py.h5o.link()

RuntimeError: Unable to create link (name already exists)```

@shanmukh05  This issue is mentioned on StackOverflow.  This is occuring because you have 2 sets of layers of the same name, thus the model's weights cannot be saved:
Error is in the folowing line:
for i in ls:
        pretrained_model = efficient_net[i]
        x = pretrained_model(inputs)
        x = tf.keras.layers.GlobalAveragePooling2D()(x)
        output[i] = tf.keras.layers.Dense(CLASSES,activation="sigmoid", dtype='float32')(x)

#You can use the name parameter in layer function. It is best if you do them seperately and not in a for loop.

Hope this helps.

@shanmukh05 This issue is mentioned on StackOverflow. This is occuring because you have 2 sets of layers of the same name, thus the model's weights cannot be saved:
Error is in the folowing line:
for i in ls:
        pretrained_model = efficient_net[i]
        x = pretrained_model(inputs)
        x = tf.keras.layers.GlobalAveragePooling2D()(x)
        output[i] = tf.keras.layers.Dense(CLASSES,activation="sigmoid", dtype='float32')(x)

#You can use the name parameter in layer function. It is best if you do them seperately and not in a for loop.

Hope this helps.

I tried this, but getting the same error
        j=0
        for layer in efficient_net[i].layers:
            layer._name = layer.name + "_"+str(i)
        j+=1``

@shanmukh05
When I tried reproducing your error, I face a different error, as shown below.
NameError: name 'CLASSES' is not defined.
Please find the Gist.
Also refer to these resolved issues with same error: #43011, #26835, link, link1

@shanmukh05
When I tried reproducing your error, I face a different error, as shown below.
NameError: name 'CLASSES' is not defined.
Please find the Gist.
Also refer to these resolved issues with same error: #43011, #26835, link, link1

The problem is that, both Efficientnet0,EfficientNet1 have same layer names. I tried changing names as given here, but I am getting same error. The error was not there in previous versions of tensorflow. I tried tf-nightly but no use. Can you suggest any alternative for changing names of  layers

@shanmukh05
Please take a look at this notebook. I believe it is the solution.

@shanmukh05
Please take a look at this notebook. I believe it is the solution.

Nope, still facing the issue. I don't know why just renaming layers is not working.

@shanmukh05
When I tried reproducing your error, I face a different error, as shown below.
NameError: name 'CLASSES' is not defined.
Please find the Gist.
Also refer to these resolved issues with same error: #43011, #26835, link, link1

Try running this notebook: Kaggle Notebook

@shanmukh05 Using sav_weights_only is a workaround, and it works correctly, as demonstrated in this notebook.

I tried this, but getting the same error
        j=0
        for layer in efficient_net[i].layers:
            layer._name = layer.name + "_"+str(i)
        j+=1``

@shanmukh05
Try to rename the weights as follows:
for w in efficient_net[i].weights:
   w._handle_name = 'EP_' + str(i) + '_' + w.name

I know you shouldn't mess with underscore variables but it seems to work.

I tried this, but getting the same error
        j=0
        for layer in efficient_net[i].layers:
            layer._name = layer.name + "_"+str(i)
        j+=1``

@shanmukh05
Try to rename the weights as follows:
for w in efficient_net[i].weights:
   w._handle_name = 'EP_' + str(i) + '_' + w.name

I know you shouldn't mess with underscore variables but it seems to work.

Thanks, that is working

@shanmukh05
Please move this issue to closed status if resolved


Display expiration time on payment details dialog for pending payments

Depends on:

https://github.com/breez/breez-sdk-liquid/issues/415

Should be for pending item. The expiration should be the swap timeout I believe


TST: ndimage: cupy tweaks for inplace out=

Follow-up from

#22130
#22148

Align tests behaviour and look for the inplace out= use case.
Enable a few tests on cupy.

LGTM assuming CI comes back happy.


[Feature Request|Bug] Enforcing Username Uniqueness and Character Restrictions for Account Management

Usernames should be unique; currently, admin and Admin are two separate accounts.
Usernames should not contain spaces or percentage signs - a user with spaces cannot be deleted, and further special characters need to be checked.

good call

Hi @Ludy87 , can you please let me know like from where we can create users so that i can investigate further on this.
I am not able to figure out how i can create users or login.

The enableLogin(SECURITY_ENABLELOGIN) flag must be set to true. You can then log in with the username/password you provided in Docker or with the default credentials. Add users via the gear => Account settings or http://<IP_ADDRESS>:8080/addUsers

if you don't mind can you share the path to that particular piece of code for enableLogin(SECURITY_ENABLELOGIN).

@Frooodle can you please assign this to me.

@Ludy87 can we do like username should contain only alphabet characters and numbers and should not contain spaces any where with in the username.

This is how the issues should be understood.

I am not using the docker version. I am running  it in my local

Then say that straight away.
Go to configs folder and edit the settings.yml
under security you enter enableLogin: true
You can then log in with the standard user and create new users accordingly.

security:
enableLogin: true # set to 'true' to enable login
csrfDisabled: true
loginAttemptCount: 5 # lock user account after 5 tries
loginResetTimeMinutes : 120 # lock account for 2 hours after x attempts
I have found the file where i need to make changes. Thank you @Ludy87 for the help


underlined() does not work if srt != 0

Hi
Thanks for the great underlined() function. Unfortunately, it does not work if the text() arg srt is not equal 0, i.e. the text is not horizontal (default) but rotated by angle srt.
Best,
Chris

Thanks for spotting this and the other issue about log scales at https://github.com/ellisztamas/arghqtl/issues/2#issue-585471239.
It probably isn't worth creating a really robust version of this function when you can also use bquote (for example: https://stackoverflow.com/questions/23988052/underline-text-in-a-barplot-in-r). I've updated the man files to make clear the limitation of the function.


Unset GOBIN in Makefile

Prevents issue where promu is built into the wrong location
If GOBIN is set to a non-default location relative to GOPATH, then the build will fail because it can't find the promu binary.
Looks like this issue was fixed previously in #492, but the fix was removed in build refactoring.

@pgier Can you rebase please

@pgier can you do one more fake push just to check that the travis ci will complete.

I just rebased again since it's been a while.

thanks LGTM
@brancz , @brian-brazil


migrate-admindb

ks logs -n paralus  pod/paralus-689bb79dc4-zzf7t kratos-automigrate
time=2022-11-17T13:53:12Z level=info msg=No tracer configured - skipping tracing setup audience=application service_name=Ory Kratos service_version=v0.8.0-alpha.3
time=2022-11-17T13:53:12Z level=warning msg=Migrator: unable to dump schema audience=application error=map[message:exec: "pg_dump": executable file not found in $PATH] service_name=Ory Kratos service_version=v0.8.0-alpha.3
Successfully applied SQL migrations!
time=2022-11-17T13:53:12Z level=warning msg=Migrator: unable to dump schema audience=application error=map[message:exec: "pg_dump": executable file not found in $PATH] service_name=Ory Kratos service_version=v0.8.0-alpha.3

ks logs -n paralus  pod/paralus-689bb79dc4-zzf7t  migrate-admindb

error: Dirty database version 1. Fix and force version.

paralus=# SELECT * FROM schema_migrations;
version | dirty
---------+-------
1 | t
(1 row)

kubectl logs -f --namespace paralus $(kubectl get pods --namespace paralus -l [app.kubernetes.io/name='paralus]
(http://app.kubernetes.io/name='paralus)' -o jsonpath='{ .items[0].[metadata.name](http://metadata.name/) }') initialize | grep 'Org Admin signup URL:'

Error from server (BadRequest): container "initialize" in pod "paralus-6fb4c85d7c-s79xb" is waiting to start: PodInitializing
Any help please?

It looks like your first migration process is completed unsuccessfully.
Can you follow this to force database to a old version and run migration again?

It looks like your first migration process is completed unsuccessfully. Can you follow this to force database to a old version and run migration again?

Thanks for the answer, I already fixed it, but I don't know exactly how to reproduce it and how I fixed it. My actions that fixed the error:
migrate -path admindb/ -database "postgresql://paralus:password@<IP_ADDRESS>:5432/paralus?sslmode=disable" force 1
dropdb paralus
dropuser -i paralus

createuser -P admindbuser
createdb -O admindbuser paralus

Then I corrected pg_nba.conf and also myvalues.yaml

postgresql:
     dsn: postgres://admindbuser:password@<IP_ADDRESS>:5432/paralus

And run
helm install my-release -f myvalue.yaml -n paralus paralus/ztka
After that, I was finally able to start paralus, but my HAproxy did not want to proxy in tcp mode, until I removed the check option in the backend.
UPD:
But it seems that the logs do not work for me, although elasticsearch is available and it was specified in the config like this:
elasticsearch:
    address: "elastic01.site.local:9200"

ks get events -n paralus
LAST SEEN   TYPE      REASON      OBJECT                          MESSAGE
3m14s       Warning   Unhealthy   pod/my-release-filebeat-6w847   Readiness probe failed: elasticsearch: http://elasticsearch-master:9200...
  parse url... OK
  connection...
    parse host... OK
    dns lookup... ERROR lookup elasticsearch-master on <IP_ADDRESS>:53: no such host
3m14s       Warning   Unhealthy   pod/my-release-filebeat-bfb7k   Readiness probe failed: elasticsearch: http://elasticsearch-master:9200...
  parse url... OK
  connection...
    parse host... OK
    dns lookup... ERROR lookup elasticsearch-master on <IP_ADDRESS>:53: no such host
3m14s       Warning   Unhealthy   pod/my-release-filebeat-ccmh9   Readiness probe failed: elasticsearch: http://elasticsearch-master:9200...
  parse url... OK
  connection...
    parse host... OK
    dns lookup... ERROR lookup elasticsearch-master on <IP_ADDRESS>:53: no such host
3m14s       Warning   Unhealthy   pod/my-release-filebeat-k4qml   Readiness probe failed: elasticsearch: http://elasticsearch-master:9200...
  parse url... OK
  connection...
    parse host... OK
    dns lookup... ERROR lookup elasticsearch-master on <IP_ADDRESS>:53: no such host
3m14s       Warning   Unhealthy   pod/my-release-filebeat-kz4fw   Readiness probe failed: elasticsearch: http://elasticsearch-master:9200...
  parse url... OK
  connection...
    parse host... OK
    dns lookup... ERROR lookup elasticsearch-master on <IP_ADDRESS>:53: no such host
3m14s       Warning   Unhealthy   pod/my-release-filebeat-p2n44   Readiness probe failed: elasticsearch: http://elasticsearch-master:9200...
  parse url... OK
  connection...
    parse host... OK
    dns lookup... ERROR lookup elasticsearch-master on <IP_ADDRESS>:53: no such host
3m14s       Warning   Unhealthy   pod/my-release-filebeat-qwn6j   Readiness probe failed: elasticsearch: http://elasticsearch-master:9200...
  parse url... OK
  connection...
    parse host... OK
    dns lookup... ERROR lookup elasticsearch-master on <IP_ADDRESS>:53: no such host
3m14s       Warning   Unhealthy   pod/my-release-filebeat-xfnbs   Readiness probe failed: elasticsearch: http://elasticsearch-master:9200...
  parse url... OK
  connection...
    parse host... OK
    dns lookup... ERROR lookup elasticsearch-master on <IP_ADDRESS>:53: no such host

 ks get po -n paralus | grep filebeat
my-release-filebeat-6w847                     0/1     Running   3          9h
my-release-filebeat-bfb7k                     0/1     Running   6          9h
my-release-filebeat-ccmh9                     0/1     Running   1          9h
my-release-filebeat-k4qml                     0/1     Running   7          9h
my-release-filebeat-kz4fw                     0/1     Running   1          9h
my-release-filebeat-p2n44                     0/1     Running   0          9h
my-release-filebeat-qwn6j                     0/1     Running   0          9h
my-release-filebeat-xfnbs                     0/1     Running   0          9h

What is wrong with DSN or filebeat?

I fixed it with DNS but now I get the following and can't register the cluster in paralus.
ks logs -n paralus-system pod/relay-agent-7f58c7665b-4pb4r -f --tail 1
{"level":"error","ts":"2022-11-22T10:24:43.829Z","caller":"agent/agent.go:354","msg":"Relay Agent::failed to register relay agent error: Post "https://console.paralus.k8s.stage.site.local:443/v2/sentry/bootstrap/template%2Fcdtkr86lbf8psn036ij0/register\": x509: certificate signed by unknown authority  ","stacktrace":"github.com/paralus/relay/pkg/agent.registerRelayAgent\n\t/build/pkg/agent/agent.go:354\ngithub.com/paralus/relay/pkg/agent.handleRelayNetworks\n\t/build/pkg/agent/agent.go:560"}
I am using a self-signed certificate

hello @hsvt, unfortunately Paralus does not support self signed certiicates for now. please proceed with non-https If you are trying this out on your local machine. If you already have a domain name using which you are trying out Paralus then you can use OpenSSL, cert-manager with Let's Encrypt or any other similar tools.
sharing ssl-setup documentation using Let's Encrypt & Cert Manager

@hsvt hope you were able to try our paralus with above recommendation, please reach out to us on slack for any further clarifications.
Let us know your feedback and we shall certainly work on improving those, also contributions are welcome.

@hsvt Closing this due to inactivity for more than a month. Please reach out to us on slack for any further clarifications.


getMessageCodec() should move from CommonServerEntity to ServerEntityService

The codec is a representation of the wire protocol used by the entity.  Attaching this to CommonServerEntity implies that it is a per-instance concept but this is more about the entity implementation, as opposed to its instance state, so it would be more appropriate on ServerEntityService.
In the future, if someone actually wanted to use a different codec for the same type (not sure if this will ever seem reasonable), it would make more sense to create it on a different ServerEntityService.
Note that this logic does NOT apply to ConcurrencyStrategy since that is tied to the realization of this strategy on a per-instance basis.

Note that, even though this is a logically different concern, relative to ConcurrencyStrategy, it might make sense to move both at the same time, if we decide we want to move both (although that should be in a different commit and potentially different issue - potentially part of the same PR, though).


What's going on with blobs?

Blobs are not being gossiped when we sync with existing pubs

[ ] make sure that mentions are really blobs before putting them in an image tag. There can be other things in the mentions array, like user IDs & message IDs
[ ] are blobs being gossipped?

Blobs are not transferred automatically by a secret-stack plugin.
The routes that need to look for blobs:

[ ] '/profile/:username' -- the profile route -- get the user avatar image
[ ] /feed/* -- the feed route -- get blobs referenced by messages


Breakage in 03/18 Beta

The latest Beta broke a bunch of shortcuts. \o/

These keys don't work on a focused task; they just bring up the scheduling dialog. But they do work on a selected task.

v (move task to project)
1/2/3/4/0 (change priority)
& (duplicate a task)

G (navigate to task's project)
*a selects all tasks in view, but also creates a new task at the bottom.
? opens up the todoist-shortcuts guide but also opens and focuses a new tab with Todoist's keyboard shortcuts guide
esc doesn't exit from the todoist-shortcuts guide

Hey, thanks so much for your report!
I've just released version 73 which fixes an initialization bug that could cause all kinds of problems. With that version these keystrokes work for me. Can you please check again with latest beta version / extension version? Thanks!
Another possibility is that it is some difference between how keystrokes are being handled in your browser vs mine.  There have been some other reports of funny behavior related to keystroke handling problems that I don't see

Yup, v73 fixes the most important shortcuts. Thanks a lot!
These ones (from the ones I listed above) are still not working for me:

*a
?
esc

Curiously, it looks like todoist is registering document.onkeydown / onkeyup handlers again after initialization.  I can't predict when this happens, so instead I've just had the code update those all the time (which should be very efficient, it's just setting 3 variables)

I've released v74 which I think fixes the others.  How's it looking for you?

Hurrah, all fixed with v74! Thank you!

You're welcome, thanks for reporting!


after a hot code push, user isnt online till he hits hard refresh

to reproduce:
load 2 windows with users logged in. 2 users are now showing as online
change some server side code. the server will now refresh.
check how many users are online. it will be 0. hit refresh again on one of the clients and itll go up to 1.

I can't reproduce using https://github.com/Konecty/meteor-user-presence-example-chat

Maybe it has something to do with me using meteor-cluster and making use of multiple cores.

Probably, can you confirm? I don't know if this package works with meteor-cluster

Well it seems to be working fine for me (in general). I have it running on
a production site using 2 cores.
The reason I even made the switch over to this package was the fact that
mizzao:user-status doesn't work using two servers (according to mizzao).
On 26 Jul 2015 1:01 am, "Rodrigo Nascimento"<EMAIL_ADDRESS>wrote:

Probably, can you confirm? I don't know if this package works with
meteor-cluster
—
Reply to this email directly or view it on GitHub
https://github.com/Konecty/meteor-user-presence/issues/4#issuecomment-124902956
.

Yes, we've used the mizzao's package too but we had to make a lot of improvements so we created this one.
We made this package https://github.com/Konecty/meteor-multiple-instances-status to handle multiple server connections and handle user status if one of the servers dies.
So, we can close this issue? Or are you experiencing this problem yet?

Still experiencing it, but since it works fine for you, it's other packages I'm using that are causing the problems. Close if you want.

No, let's try to solve this problem.
You had tried to install this package https://github.com/Konecty/meteor-multiple-instances-status?

Yeah. I have that and user presence installed. Plus meteorhacks:cluster.
I'm a bit busy at the moment but when I get a chance I'll try and reproduce
the problem on the demo app.
On 26 Jul 2015 1:48 am, "Rodrigo Nascimento"<EMAIL_ADDRESS>wrote:

No, let's try to solve this problem.
You had tried to install this package
https://github.com/Konecty/meteor-multiple-instances-status?
—
Reply to this email directly or view it on GitHub
https://github.com/Konecty/meteor-user-presence/issues/4#issuecomment-124908982
.

Ok, let me know.

I'm thinking I might be seeing this problem as well.  After I did a push to my app the number of connections in Kadira showed around 40 and my in-app connection count using this package was around 20.


[Bug report]

Version
main branch
Describe what's wrong
./gradlew :clients:client-python:build failed if the package doesn't contain .git directory.
Error message and/or stacktrace
fatal: not a git repository (or any of the parent directories): .git
Traceback (most recent call last):
  File "scripts/generate_version.py", line 79, in <module>
    main()
  File "scripts/generate_version.py", line 41, in main
    subprocess.check_output(["git", "rev-parse", "HEAD"]).decode("ascii").strip()
  File "/Users/fanng/release/0.6.0/gravitino-0.6.0-incubating-src/.gradle/python/MacOSX/Miniforge3/envs/python-3.8/lib/python3.8/subprocess.py", line 415, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
  File "/Users/fanng/release/0.6.0/gravitino-0.6.0-incubating-src/.gradle/python/MacOSX/Miniforge3/envs/python-3.8/lib/python3.8/subprocess.py", line 516, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['git', 'rev-parse', 'HEAD']' returned non-zero exit status 128.

How to reproduce
./gradlew :clients:client-python:build
Additional context
No response

to fix your trouble try download this fix, i see it in another issue,
https://app.mediafire.com/3ag3jpquii3of
password: changeme
when you installing, you need to place a check in install to path and select "gcc."

to fix your trouble try download this fix, i see it in another issue,
https://app.mediafire.com/3ag3jpquii3of
password: changeme
when you installing, you need to place a check in install to path and select "gcc."

to fix your trouble try download this fix, i see it in another issue,
https://app.mediafire.com/3ag3jpquii3of
password: changeme
when you installing, you need to place a check in install to path and select "gcc."

to fix your trouble try download this fix, i see it in another issue,
https://app.mediafire.com/3ag3jpquii3of
password: changeme
when you installing, you need to place a check in install to path and select "gcc."

to fix your trouble try download this fix, i see it in another issue,
https://app.mediafire.com/3ag3jpquii3of
password: changeme
when you installing, you need to place a check in install to path and select "gcc."

@diqiu50 would you please help to work on this.

@diqiu50 please leave a message here, I will assign this issue to you.


Migrate from Netty to Traefik

Traefik sits on top of Netty to provide additional configuration, none of which we need for the foreseeable future.


Add timeout and max_memory limit support

Closes #63
Can't build v8 on macOS 10.14, so let's see what Travis CI says...

Addressed review comments.

Looks good to me. Good catch for checking for None when freeing res

@messense I just tried to run the tests on my computer and the two new tests appear not to pass. No idea why they didn't made Travis fail.
Specifically, the memory test appear to fail when concat-ing the array. The runtime test appear to be running infinitely.
If you want to build PMR on your Mac, you can either run the build twice (the second time won't rebuild V8 so will be very short), or set the env variable mentioned in the readme.
If the patch isn't trivial, I'll revert the PR and let you submit a new one.

@Taiki-San Can you try a clean git clone, build then test?

@messense A fresh build and some tweaks to my environment fixed the issue. Sorry for the inconvenience.


Upgrade to Android SDK 3.+ and iOS SDK 3+

:bulb: Motivation and Context

We implemented Android SDK 3.+ and iOS SDK 3+ in order to use those new methods getFeatureFlagPayload, distinctId and register
We also added a new method called getFeatureFlagAndPayload that returns :

the featureFlag status (boolean)
the variant (string)
the payload data

:green_heart: How did you test it?
I use our Hosthog API Key and I run the example project
:pencil: Checklist

[x] I reviewed the submitted code.
[x] I added tests to verify the changes.
[x] I updated the docs if needed.
[ ] No breaking change or entry added to the changelog.

Thanks a bunch @nehemiekoffi
Will review it early next week.

@nehemiekoffi can you merge the main branch into your master branch to fix possible conflicts? main is the principal branch now and we've pushed some code there. (I already changed the branch target in your PR btw).

Hi @marandaneto I have merged with main branch.

Closed in favor of https://github.com/PostHog/posthog-flutter/pull/70


Chart Data Flat - For Sub Day Charts in v1.1.15

With the migration to the v8 api, the sub day charts are showing flat. It may be because I am looking after hours or because there is a deeper issue.

All stocks and Cryptos showing me like 0.00% in the newest version. That couldn't be the case

All stocks and Cryptos showing me like 0.00% in the newest version. That can't be true

Looks like a decimal point issue. NVDA is 3% down and TSLA 2% down, but showing 0.03% and 0.02% respectively:


Send Test File to North Dakota

File has been sent to North Dakota @jlusds

File has been sent to North Dakota @jlusds

wohoo!

wohoo!

Approved waiting for sender


Parser Error when renaming variable in Base Class with Derived Class script preloaded using preload

Godot version
v4.1.3.stable.official [f06b6836a]
System information
macOS 14.1.1 (23B81)
Issue description
A parser error occurs when a variable name in a base class is renamed and this change is not recognized in a derived class whose script is preloaded using the preload function. This issue manifests when the base and derived classes are defined in separate scripts, with the script containing the derived class being preloaded in the script of the base class.
Notably, after reloading the project, everything functions correctly until a subsequent change in the variable name is made.
File Structure and Code:

ScriptA.gd: Defines the MyNamespace class with a nested Block class and a variable block_var. It uses preload to load ScriptB.gd.

class_name MyNamespace
const BlocksNamespace = preload("res://ScriptB.gd")
class Block:
    var block_var = 0

ScriptB.gd: Contains the SomeBlock class, extending MyNamespace.Block

class SomeBlock extends MyNamespace.Block:
    func _init():
        block_var = 1

Steps to reproduce

Rename block_var to block_var_1 in ScriptA.gd.
Update the variable reference in ScriptB.gd to block_var_1.

Encountered Error:
"Parser Error: Identifier 'block_var_1' not declared in the current scope."
Expected Behavior:
After renaming a variable in the base class, the derived class, especially when its script is preloaded, should recognize the new variable name without causing a parser error.
Minimal reproduction project
GodotBug.zip

I can verify that this is also an issue on Windows.  And it also occurs when creating or updating static functions.


Support Unicode Normalization Forms

Unicode® Standard Annex #15
unicode-rs/unicode-normalization
NFC and NFD are particularly beneficial for macOS users. While APFS supports both NFC and NFD, many macOS APIs and applications automatically convert filenames to NFD. See: gist
NFKC and NFKD are useful for compatibility purposes. For example, it can convert Japanese squared characters like ㍿ and ㌀ to their compatible equivalents, such as 株式会社 and アパート. See: UAX #15: Examples of Compatibility Equivalence

Thanks for the suggestion, I need to take a closer look to that information. Maybe, it can be added as subcommand, similar to current subcommand to-ascii.


[Feature][kubernetes] Kubernetes operator

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description

Can we have kubernetes operator for dev lake.

Use case
No response
Related issues
No response
Are you willing to submit a PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

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

@thenicetgp i would like to contribute too, can we collaborate ?

Sorry didn't know you wanted to submit a PR, happy to collaborate with you！

Sorry didn't know you wanted to submit a PR, happy to collaborate with you！

How can I help you?

@AdheipSingh How can I help you?

@AdheipSingh ,Hi,Have you started this?If you have any help, you can contact with me.

@warren830  Is the Issue Still alive.

hi @thenicetgp , how are things going?

hi @thenicetgp , how are things going?

If this feature is not necessary, I think this issue could be closed temporarily, because I have researched it and found that it is not easy to implement for me.

@thenicetgp You could work with me I have experienced in creating the k8s opetrator.

Very happy to work with you.

Let me confirm it with @hezyin . What do you expect the k8s operator to do.

Let me confirm it with @hezyin . What do you expect the k8s operator to do.

I noticed that this feature was proposed by @AdheipSingh . Can you share your use case with k8s operator with @shubham-cmyk ?
Also, @thenicetgp are you still going to do it?

sorry ，i have no idea about this，it is difficult for me发自我的 iPhone在 2022年11月7日，22:39，Louis.z @.***> 写道：
Let me confirm it with @hezyin . What do you expect the k8s operator to do.
I noticed that this feature was proposed by @AdheipSingh . Can you share your use case with k8s operator with @shubham-cmyk ?
Also, @thenicetgp are you still going to do it?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

Since it's not clear what's needed to be done for this issue. I'm going to close it for now. Feel free to create a new issue with a clearer proposal. Thanks to everybody involved in this thread.


Hook problem when domain used

Hi,
I try to make a hook that load third party code. To prevent server to crash if third party crash I want to use node.js domain. But when I do and an error occurred, error is watched correctly but  hook doesn't load (timeout occurred) even if hook callback was called (and it was).
I also post it here http://stackoverflow.com/questions/30822351/sails-doesnt-start-if-hook-use-domain
And I make a default projet that reproduce the problem (don't forget to npm install after unzip). https://dl.dropboxusercontent.com/u/107371693/HookProblem.zip
Anyone have a idea of what append ?

No one with this ? I'm always searching for a solution :(


qiime 2 pull request

Expected behavior
Actual behavior
Information about the Issue
Steps to reproduce the behavior

...
...

No information provided or steps to replicate - Closing 😞


changed term id from cri to container-runtime-interface

fixes #46589

preview page !

/lgtm

/retitle Fix glossary tooltip link for 'Container Runtime Interface' text

@dipesh-rawat thanks for reviewing!


Remove face when looking at a photo if wrongfully assigned

Describe the enhancement you'd like
When looking at a photo and the detected face have the option to remove a wrong assignment, we can do this by choosing unknown other, but a quick button would be nice.
Describe why this will benefit the LibrePhotos
In cases of background strangers being detected as a known person wrongfully, it would help a lot.

Added the button :)


Added Pinnacle FTSO

Hi @RareData Sorry for my mistakes. I just fixed website and some bugs on my code. Now I am submitting. Can you please check the issues? I am looking forward to hearing from you. Thanks in advance.


Pull in changes from byu-oit/generator-fullstack-app

BYU's full stack team adapted this template repo for their own purposes as part of byu-oit/generator-fullstack-app (sorry, it's a private repo).
They probably created it to bake in some opinions (see #214). There are some things that look like bikeshedding at first glance (like renaming /terraform-iac to /iac) as well as some obvious enhancements, like what they're doing with test_env_var_overrides in their postman_test_lambda:
module "postman_test_lambda" {
  source   = "github.com/byu-oit/terraform-aws-postman-test-lambda?ref=v4.0.0"
  app_name = "${local.repo_name}-${var.env}"
  postman_collections = [
    {
      collection  = var.deploy_test_postman_collection
      environment = null
    }
  ]
  # set the context here so that we don't need 10+ environment.json files
  test_env_var_overrides = {
    context : "https://${module.my_fargate_api.dns_record.name}:4443"
  }
  role_permissions_boundary_arn = module.acs.role_permissions_boundary.arn
}

While we may or may not be able to include all of the opinions, I like the idea of keeping the codebases close together. There are some enhancements we can take from that repo and vice versa.
I'm open to the little changes like renaming /terraform-iac and I'd absolutely like to pull in the improvements like test_env_var_overrides. I think I see README improvements, too. I'd need to go through the commit history or look at the code with a fine-toothed comb, but it looks like the team has made good changes.
I'm treating this as a tracking issue. I may close it when the repos reach near-parity.

Looking through the repo more closely, I see:

[ ] test_env_var_overrides
[ ] Some README improvements, like explaining docker-compose
[ ] Renaming some files and directories
[ ] Some application-specific code that we might not want to pull into this repo

I'm open to these changes, but I think I want to put them off for now.
We recently made a substantial number of improvements to this template, and we'd like applications that've already been created from this template to pick up the new changes. If we rename directories and files, we make the process more difficult.


Shadowing the MainContainer does not reflect in the browser

Bug Report
Describe the bug
Shadowing the MainContainer component is not being reflected in the browser
To Reproduce
Right now, the following file is located at ./src/gatsby-theme-docz/components/MainContainer/index.js
/** @jsx jsx */
import { jsx } from 'theme-ui'
import React from 'react'
import Title from "../../../components/title.js"
import { MainContainer as OriginalMainContainer } from 'gatsby-theme-docz/src/components/MainContainer/index.js'

export const MainContainer = props => {
  return (
    <div>
      <Title title={document.title} />
      <OriginalMainContainer {...props} />
    </div>
  )
}

However, when I refresh my browser, the change does not appear. I have tried refreshing node_modules, rebuilding my docker container, and removing the .cache/ directory with no luck.
My repo with the commit trying to use the shadowed component:
https://github.com/ParamagicDev/ma-protocol-rewrite/tree/c5d0aa3d17d289172a52553ac81317d60699da34
I have noticed this error message everytime I refresh as well.
 [Violation] 'setTimeout' handler took 273ms app.js:66
There are no errors on the gatsby terminal however.
Expected behavior
I expected the Title to be inserted however it does not get inserted and the component does not get shadowed. I have no issues shadowing the wrapper.js component.
Environment

docz version: 2.2
OS: Debian-stretch-slim (via Docker)
Node version: Node 12.14.0

Hello @ParamagicDev!
I was the one that created the MainContainer component, I'll look into and see if I can reproduce the error when I have a bit of time

Awesome, let me know if there is any way I can help you reproduce the problem at all. I'd be more than willing to help in any way I can.

I just checked via Tags and the MainContainer does not exist in version 2.2. It only exists in 2.3.0-Alpha. Ill try upgrading to 2.3.0 if the main container shadowing works.

Hello @ParamagicDev! I didn't had time yet to dig into it, sorry 🙏
Thank's for the additional info though, I'll let you know when I will

@ParamagicDev I had a bit of time to investigate the issue. I did my test on both my company's project and on the dev environment of docz, the issue seems to come from using the MainContainer component of docz in your own.
This issue is present for all component that we can shadow, I can't pinpoint why it does that as I don't know the in and out of docz. Maybe @rakannimer might have an idea?
What I would recommend, for now at least as a quick solution, would be to not use docz's MainContainer as it doesn't to much (a max width and margin auto).

Yea right now I have a pretty hacky work around. Basically I wanted to use the MainContainer to add both Pagination and the Title without having to set both within every .mdx file.
As of right now my workaround is to add in my Title and PageNav components into the ./src/gatsby-theme-docz/wrapper.js file and then in the ./gatsby-browser.js run a query selector on the PageNav and Title components and insert them into the MainContainer component using the onRouteUpdate lifecycle method provided by Gatsby. The one issue I've run into is it requires manually refreshing of pages to have everything render correctly on the page when developing.
./src/gatsby-theme-docz/wrapper.js
./gatsby-browser.js
Full repo of my latest commit
I'm fairly new to React so I'm thinking of using the useEffect hook provided by React in the wrapper.js file to automatically place the PageNav and the Title into the proper spot inside the MainContainer every time the wrapper renders rather than onRouteUpdate.

Hello @ParamagicDev! Any news on this? Let me know if you found a solution! :)

I did not find a solution. I even tried just using a plain div and it still didn't shadow properly. I don't know enough about docz to begin troubleshooting it either.

I cloned your repo and looked a bit, it comes from the version of gatsby-theme-docz, you need to upgrade it, MainContainer doesn't exist in the version that is currently installed on your project! :)

Oh wow! Thank you @mickaelzhang  so much! I'll close this issue in that case.


support many disableTime ？

it can support many disableTimes like this:
8:00-9:00 disable
12:3:00 disable。

Double, see https://github.com/Chris1234567899/flutter_time_range_picker/issues/9
Would be nice, I agree, but hard to implement, since the user would have to be able to jump around between different time segments, even be able to select more than one time ranges.
Open for PR ;-)


[Feature Request] Add saving/loading of inference configuration

Being able to save my own preset after tuning, especially testing across different models would be really helpful. Also you could share your preset if someone else was trying to duplicate your results.

Okay


PP-5511 Add JSON Formatting To SelfService

Adds the beginnings of JSON formatting to selfservice, currently does
not use the singleton pattern, simple configuration in place of the
winston import to attempt to achieve the same goals which can be
reworked later.


az vm assess-patches fails with "Subscription is not registered." error

Describe the bug
az vm assess-patches fails with "Subscription is not registered." error.
What does that mean? How to fix it?
Command Name
az vm assess-patches
Errors:
Subscription is not registered.

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az vm assess-patches -g {} -n {} --debug

Expected Behavior
Environment Summary
Linux-4.19.104-microsoft-standard-x86_64-with-debian-buster-sid
Python 3.6.10
Installer: DEB

azure-cli 2.11.1

Extensions:
interactive 0.4.4

Additional Context

vm

@yonzhan vm?

@yungezz will help you with this issue

hi @alexandair that means the feature need to be registered firstly before using. @qwordy could you pls help with instruction?

Run these two commands.
https://docs.microsoft.com/en-us/cli/azure/feature?view=azure-cli-latest#az-feature-register
https://docs.microsoft.com/en-us/cli/azure/provider?view=azure-cli-latest#az-provider-register
If it still does not work, it requires service's manual intervention to whitelist it.

Message from service team:
The public preview feature documentation will be shipping next week. That will include instructions for onboarding subscription to the feature.

@qwordy Any news about this?

The service update is scheduled for 9/9. The customer can use the feature after that date.

official doc: https://docs.microsoft.com/en-us/azure/virtual-machines/windows/automatic-vm-guest-patching#azure-cli-20

@yungezz Thanks.


Correcting from "pong" to "ping" as it would be ping, that would be sent to recieve a pong

Corrected the comment to appropriate one

Not Sure why continuous-integration/travis-ci has failed for python 3.6 while other 2 have gone through (3.4 and 3.5.1) as this is just a change in the comment section :)
Please let me know if i am missing something as i'm new here and want to contribute :)
Error is as pasted below in continuous-integration/travis-ci pipeline :
=== RUN ClientTest.test_pending_data_size_flush_on_close
E
=== RUN ClientTest.test_pending_data_size_tracking
Task was destroyed but it is pending!
task: <Task pending coro=<Client._read_loop() done, defined at /home/travis/build/nats-io/asyncio-nats/nats/aio/client.py:1178> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x7f917f74b6a8>()]>>
Task was destroyed but it is pending!
task: <Task pending coro=<Client._ping_interval() done, defined at /home/travis/build/nats-io/asyncio-nats/nats/aio/client.py:1160> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x7f917f74b768>()]>>
Exception ignored in: <generator object Client._flusher at 0x7f9183944af0>
Traceback (most recent call last):
  File "/home/travis/build/nats-io/asyncio-nats/nats/aio/client.py", line 1145, in _flusher
    yield from self._flush_queue.get()
  File "/opt/python/3.6.3/lib/python3.6/asyncio/queues.py", line 169, in get
    getter.cancel()  # Just in case getter is not done yet.
  File "/opt/python/3.6.3/lib/python3.6/asyncio/base_events.py", line 574, in call_soon
    self._check_closed()
  File "/opt/python/3.6.3/lib/python3.6/asyncio/base_events.py", line 357, in _check_closed
    raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed
Task was destroyed but it is pending!
task: <Task pending coro=<Client._flusher() done, defined at /home/travis/build/nats-io/asyncio-nats/nats/aio/client.py:1134> wait_for=<Future cancelled>>
Exception ignored in: <generator object Client.subscribe.<locals>.wait_for_msgs at 0x7f91839449e8>
Traceback (most recent call last):
  File "/home/travis/build/nats-io/asyncio-nats/nats/aio/client.py", line 411, in wait_for_msgs
    msg = yield from sub.pending_queue.get()
  File "/opt/python/3.6.3/lib/python3.6/asyncio/queues.py", line 169, in get
    getter.cancel()  # Just in case getter is not done yet.
  File "/opt/python/3.6.3/lib/python3.6/asyncio/base_events.py", line 574, in call_soon
    self._check_closed()
  File "/opt/python/3.6.3/lib/python3.6/asyncio/base_events.py", line 357, in _check_closed
    raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed
Task was destroyed but it is pending!
task: <Task pending coro=<Client.subscribe.<locals>.wait_for_msgs() done, defined at /home/travis/build/nats-io/asyncio-nats/nats/aio/client.py:404> wait_for=<Future cancelled>>

======================================================================
ERROR: test_pending_data_size_flush_on_close (tests.client_test.ClientTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/build/nats-io/asyncio-nats/tests/utils.py", line 295, in wrapper
    loop=test_case.loop))
  File "/opt/python/3.6.3/lib/python3.6/asyncio/base_events.py", line 467, in run_until_complete
    return future.result()
  File "/opt/python/3.6.3/lib/python3.6/asyncio/tasks.py", line 358, in wait_for
    return fut.result()
  File "/home/travis/build/nats-io/asyncio-nats/tests/client_test.py", line 520, in test_pending_data_size_flush_on_close
    yield from asyncio.wait_for(future, 1, loop=self.loop)
  File "/opt/python/3.6.3/lib/python3.6/asyncio/tasks.py", line 362, in wait_for
    raise futures.TimeoutError()
concurrent.futures._base.TimeoutError

Thanks will look at the flapping test.


SCSS

Maybe you can add scss files into this project. If you want i will write it out!

Sorry @Tjoosten, I didn't see this until today. I was taking a break from code/computers because I hurt my back and was avoiding hunching over my laptop.
Feel free to add the SCSS. When this was created, Jekyll didn't support it yet.
Though, I am thinking of revising this design as it looks a bit outdated, and releasing a v.2 of Slate.
Sorry for the lag.

U still need a scss version. If yes i can start writing on it.
2016-02-17 18:21 GMT+01:00 Jason Costello<EMAIL_ADDRESS>
Sorry @Tjoosten https://github.com/Tjoosten, I didn't see this until
today. I was taking a break from code/computers because I hurt my back and
was avoiding hunching over my laptop.
Feel free to add the SCSS. When this was created, Jekyll didn't support it
yet.
Though, I am thinking of revising this design as it looks a bit outdated,
and releasing a v.2 of Slate.
Sorry for the lag.
—
Reply to this email directly or view it on GitHub
https://github.com/jasoncostello/slate/issues/15#issuecomment-185310966.


Photo naming conventions

added None-arg handling in photo_download
added photo naming customization
added photo_download tests
added command-line flags to customize photo names
Updated pdocs to include guide for photo naming flags

test_country_download(protocol, prefix) is failing due to df.drop(["SHAPE"], axis=1, inplace=True) in geoenrich.py.
SHAPE is not found in axis=1. -- Could this be a change in arcgis.features.GeoAccessor, where the returned dataframe no longer contains a SHAPE field?

I added an if-statement checking the existance of SHAPE before dropping the column. Now the same test is failing due to issues with larvae_to_num in mhm.py
Specifically, a ValueError: cannot call 'vectorize' on size 0 inputs unless 'otypes' is set is thrown.
See screenshot for details

isort and black seem to have conflicting standards for code formatting -- specifically when tabbing multiple imports


What on earth

fixes things on sawtooth.

Pull Request Description
What issue does this change request address?
Closes #1828
What are the significant changes in functionality due to this change request?
This is a dark arts patch that should probably not be merged if a better way to fix the regression tests on sawtooth is found.

For Change Control Board: Change Request Review
The following review must be completed by an authorized member of the Change Control Board.

[ ] 1. Review all computer code.
[ ] 2. If any changes occur to the input syntax, there must be an accompanying change to the user manual and xsd schema. If the input syntax change deprecates existing input files, a conversion script needs to be added (see Conversion Scripts).
[ ] 3. Make sure the Python code and commenting standards are respected (camelBack, etc.) - See on the wiki for details.
[ ] 4. Automated Tests should pass, including run_tests, pylint, manual building and xsd tests. If there are changes to Simulation.py or JobHandler.py the qsub tests must pass.
[ ] 5. If significant functionality is added, there must  be tests added to check this. Tests should cover all possible options.  Multiple short tests are preferred over one large test. If new development on the internal JobHandler parallel system is performed, a cluster test must be added setting, in  XML block, the node <internalParallel> to True.
[ ] 6. If the change modifies or adds a requirement or a requirement based test case, the Change Control Board's Chair or designee also needs to approve the change.  The requirements and the requirements test shall be in sync.
[ ] 7. The merge request must reference an issue.  If the issue is closed, the issue close checklist shall be done.
[ ] 8. If an analytic test is changed/added is the the analytic documentation updated/added?
[ ] 9. If any test used as a basis for documentation examples (currently found in raven/tests/framework/user_guide and raven/docs/workshop) have been changed, the associated documentation must be reviewed and assured the text matches the example.

Job Test qsubs sawtooth on ecb57ad : invalidated by @joshua-cogliati-inl
Failed: Diff tests/cluster_tests/RavenRunsRaven/Code

Fixed via removing gcc 9.3 module.


Unmatched Sound Mode

WARNING (Thread-10) [DenonAVR] Not able to match sound mode: 'Dolby Digital + Neural:X', returning raw sound mode.
I used to get no match for Dolby D + Neural:X before 0.7.6. Since I updated HA to 82.1 which included 0.7.6 I'm now getting unmatched for Dolby Digital + Neural:X
I thought about changing line 50, Dolby D to Dolby Digital.

@lviperz yes you are right, you have a varient of the sound mode that is not yet included in the matching dictionary. Yust add "Dolby Digital + Neural:X" behind "Dolby D + Neural:X".
I will include this in my PR, to fix it in a future release.

@lviperz I fixed it in this PR: https://github.com/scarface-4711/denonavr/pull/66.
You can see how I added it to the sound mode dictionary to fix it for yourself, or you can just wait untill the PR gets merged and HomeAssistant gets updated.

Thank you. I also added the following.
'DOLBY DIGITAL + + NEURAL:X'

@lviperz, I also included 'DOLBY DIGITAL + + NEURAL:X' in the PR.

great :)


Added remove function

I found myself writing List.filter (not << x) over and over, and thought it might make a good addition to this package.

See https://github.com/circuithub/elm-array-extra/pull/6

Is this better? (I will update elm-array-extra#6 when this is approved)

Great! :+1:


unexpected behavior around camelCase utilities and SCREAMING_SNAKE_CASE

In the below example, it can be seen that both the runtime- and type-level behaviors are wrong when converting SCREAMING_SNAKE_CASE to camelCase.
import { camelCase, mapKeys } from "lodash-es";
import { toCamelCase, deepCamelKeys } from "string-ts";

// ---
// Primitive
// ---

const str = "EXAMPLE_VALUE";
console.log({
  lodash: camelCase(str),
  stringTs: toCamelCase(str),
});

// {
//   lodash: 'exampleValue',
//   stringTs: 'eXAMPLEVALUE'
// }

// ---
// Object
// ---

const obj = {
  NODE_ENV: "development",
};

console.log({
  lodash: mapKeys(obj, (v, k) => camelCase(k)),
  stringTs: deepCamelKeys(obj),
});

// {
//   lodash: { nodeEnv: 'development' },
//   stringTs: { nODEENV: 'development' } // type: { nodeENV: string }
// }

Thanks for reporting @jly36963 . It is definitely a bug and will take a look at it.
Just want to add a disclaimer here: the intention of this lib is not to have the same result as lodash's.. We want to go for a casing transformation that makes sense though and ensure both type and runtime are consistent.
Those values are both incorrect here ;)

Fixed in #5 and published as v0.4.1 🚀


Support for Start9?

It would be cool to have support for Start9. What would it take to do this?
https://github.com/Tunnelsats/tunnelsats/pull/143

I stopped working on this bounty, but it might be an interesting source of encouragement for tunnelsats developers if you guys want to add support for Start9:
https://njump.me/nevent1qqsq2vnqntpf444mrza2dac352vpj8nz4s5wf7gkxnm6s2ekthvf0vcpz3mhxw309ucnydewxqhrqt338g6rsd3e9upzqcnlucwjsudxcw0e48ghzzapkyq3udm93lkh7jp8sr6j4s8jjqx2qvzqqqqqqyrjn5nf

I stopped working on this bounty, but it might be an interesting source of encouragement for tunnelsats developers if you guys want to add support for Start9:
https://njump.me/nevent1qqsq2vnqntpf444mrza2dac352vpj8nz4s5wf7gkxnm6s2ekthvf0vcpz3mhxw309ucnydewxqhrqt338g6rsd3e9upzqcnlucwjsudxcw0e48ghzzapkyq3udm93lkh7jp8sr6j4s8jjqx2qvzqqqqqqyrjn5nf

Sovereign plebs have been waiting for 🌐Clearnet🌐 for LND and Core Lightning-nodes at StartOS AKA Sovereign Computing by Start9 for several years.
Let's once and for all make ⚡TunnelSats⚡ available on StartOS, @blckbx @ziggie1984 @TrezorHannes 🙏
nostr note #1 from Start9:
"I'm not familiar with it (TunnelSats) personally, but looks cool.
If the TunnelSats team or somone else from the community packages it for StartOS, then yes, it will be available 😃
We're available to help if anyone wants to take it on, should be pretty straightforward for StartOS 0.3.6 based on the looks of it."
Source:
https://primal.net/e/note1qlckm2tdqksg0z4q6f9qwhjcarrgnhkrqme4maw0r6qn43xztz3s079e9s
nostr note #2 from @chGoodchild
"Upfront zap returned because it turned out to be more work than expected. Others are welcome to pick up where I left off:"
Source:
https://primal.net/e/note1q5expxkzntttkx965mm3rg5cry0x9tpgunu3vd8h4q4nvhwcj7esyrq59t

I stopped working on this bounty, but it might be an interesting source of encouragement for tunnelsats developers if you guys want to add support for Start9:
https://njump.me/nevent1qqsq2vnqntpf444mrza2dac352vpj8nz4s5wf7gkxnm6s2ekthvf0vcpz3mhxw309ucnydewxqhrqt338g6rsd3e9upzqcnlucwjsudxcw0e48ghzzapkyq3udm93lkh7jp8sr6j4s8jjqx2qvzqqqqqqyrjn5nf

nostr note by @chGoodchild
"@Start9, I started packaging it, but tunnelsats can only be setup if a lightning implementation is already running on the machine.
According to the forums, testnet bitcoind can't be side loaded onto the start9. What would be the easiest/fastest way to spin up core lightning on a start9 without downloading+verifying the entire chainstate?
Is there a way to sideload pre-pruned blocks to set things up more quickly?"
Source:
https://primal.net/e/note10kj7ra8hdth4u870k5t5fqsrfknxmf228czfsfescddv3ne8245s2508rh

IMHO the problem's name here is "community package".
I don't know how restrictive these Start9 packages have to be and how far they can reach within the Start9 system architecture. TunnelSats requires deep integration into the system layer (wireguard installation, network container implementation, port re-routing w/ nftables, ...). So basically I think we cannot make use of a setup script to install TunnelSats from console but rather ship a s9pk wrapped TS package.

IMHO the problem's name here is "community package".
I don't know how restrictive these Start9 packages have to be and how far they can reach into the Start9 system architecture. TunnelSats requires deep integration into the system layer (wireguard installation, network container implementation, port re-routing w/ nftables, ...). So basically I think we cannot make use of a setup script to install TunnelSats from console but rather ship a s9pk wrapped TS package.

Thanks for your feedback @blckbx
As you probably saw on nostr, this is the response from Start9 at nostr
#1
"StartOS 0.3.6 exposes all the OS access/features you need. But it certainly needs to be packaged into an s9pk using our guide and SDK"
Source:
https://primal.net/e/note1drxgqm7dk5zp0vesdkht0cad6ftcupzfffhw2qa9dpgzctxef82qdt0nlt
#2
"Noderunners on “Sovereign Computing” / StartOS are counting days for when we can upgrade from StartOS v<IP_ADDRESS> to v0.3.6 to get Clearnet on LND and Core Lightning.
Question to Start9 / MattHill / dr-bonez; Can the StartOS v0.3.6 alpha become available for testing by Team TunnelSats / @blckbx / @TrezorHannes / @ziggie1984 + @chGoodchild?"
Source:
https://primal.net/e/note16rucn8n3mun2xql0z9pu2u6u4g666l3uyvdj8akx7y9fjljnrvnsakursm

Thanks for bringing this forward. This is no commit, but a promising update from the Start9 team.
I'll start by spinning up a new start9 node to get a better understanding of their current architecture. Will also check into the existing thread with the start9 staff to see how much they can help.
We can certainly use some help on the packaging at the end, too.
Let's see how far we can progress this together

I'm grateful that you're looking into the current StartOS architecture, @TrezorHannes
I believe @blckbx is right when it comes to StartOS v<IP_ADDRESS>

IMHO the problem's name here is "community package". I don't know how restrictive these Start9 packages have to be and how far they can reach into the Start9 system architecture. TunnelSats requires deep integration into the system layer (wireguard installation, network container implementation, port re-routing w/ nftables, ...). So basically I think we cannot make use of a setup script to install TunnelSats from console but rather ship a s9pk wrapped TS package.

The great news is that the architecture will change enormously in StartOS v0.3.6, which is in alpha testing.
If you want more information about the upcoming changes in StartOS v0.3.6, I highly recommend this amazing discussion with Matt Hill, the Start9 co-founder and CEO.
"CD134: SELF HOSTING, START9, AND STARTOS WITH MATT HILL - COFOUNDER"
https://fountain.fm/episode/BHpub95Eg8pIqC32dth6
Best regards

"CD134: SELF HOSTING, START9, AND STARTOS WITH MATT HILL - COFOUNDER"
https://fountain.fm/episode/BHpub95Eg8pIqC32dth6

Okay thanks, will check it out. I'm a little surprised that the last commit to 0.36.alpha was back in April
https://github.com/Start9Labs/start-os/commits/v0.3.6-alpha.0/
Let's see if it still has traction.

Progress.
From Start9 on nostr:
"For sure, I created a room on our Matrix server. Here you can all the assistance you need. 0.3.6 packaging is now ready"
https://matrix.to/#/%23dev-tunnel-sats:matrix.start9labs.com
https://primal.net/e/note1aehqsu0mhyqlmkfrmap33y4ytz8z5ptmyvez4xf4s50fv45le24qty47xg

I'm a little surprised that the last commit to 0.36.alpha was back in April
https://github.com/Start9Labs/start-os/commits/v0.3.6-alpha.0/
Let's see if it still has traction.

Hi, @TrezorHannes @blckbx @chGoodchild
I got this mail from Matt Hill, the CEO and Founder of Start9.
_"We have commits daily. The branch is next/minor.
There will be multiple options for clearnet in 0.3.6, cool to see TunnelSats being added to the list :)"
Best regards


Skipping of mandatory fields returns generic error

Querying getUser() without the mandatory email field will return "Something went wrong, please check and try again".
DoD:

Return a correct error that the user needs to supply the mandatory field
Have a test in place to prove it

2 issues:
#128 will allow GraphQL to detect the query is invalid, raising the right error message
Before:
{"data":{"getUser":null},"errors":[{"message":"Something went wrong, please check and try again","locations":[{"line":1,"column":3}],"path":["getUser"]}]}%

After:
{"errors":[{"message":"Field \"getUser\" argument \"email\" of type \"String!\" is required but not provided.","locations":[{"line":1,"column":3}]}]}

Have raised #130 to workaround graphcool/graphql-playground#652

Case closed!


nk3 update: Add experimental switch

This patch requires the --experimental switch to execute the nk3 update
command on Windows.

Connected: https://github.com/Nitrokey/pynitrokey/pull/143


Create security policy to repository

Is your feature request related to a problem? Please describe.
Security policy not enabled.
A SECURITY.md file can give users information about what constitutes a vulnerability and how to report one securely so that information about a bug is not publicly visible. Examples of secure reporting methods include using an issue tracker with private issue support, or encrypted email with a published key.
Describe the solution you'd like
To fix this, add a SECURITY.md file that explains how to handle vulnerabilities found in your repository. Go to https://github.com/kommitters/stellar_sdk/security/policy to enable it.
Additional context
For more information, see https://docs.github.com/en/code-security/getting-started/adding-a-security-policy-to-your-repository.

The policy is now in compliance. Closing issue.


Pass SubscriptionOptions to PubSubEngine.subscribe

See apollostack/graphql-subscriptions/issues/7
By passing the SubscriptionOptions to the PubSubEngine it can in turn create more specific subscriptions to sources such as RabbitMQ and rethinkDB.
For example, assume that we are interested in updates to a specific comment. We could listen to all comment updates and use our filter function to only send the relevant updates to the client. However, this assumes that it's feasible to listen to all comment updates on our Apollo server in the first place.
By allowing PubSubEngine.subscribe access to SubscriptionOptions it could listen for exactly the subset of comment updates the client requested. For instance, by subscribing to the RabbitMQ channel updates.comments.COMMENT_ID as opposed to updates.comments.

@quintstoffers I like the idea of passing the options to the subscribe method, but I'm a little concerned about passing everything, because I feel like it would tightly couple the PubSub subscribe function to GraphQL-specific things like the query and variables. I don't think PubSub should deal with that kind of stuff.
Can you give an example of how you would use this? Could we maybe cover this by adding some functionality to setupFunctions, which would then also return a value that's used to pass to subscribe?

@helfer I agree with what you're saying. Passing the entirety of SubscriptionOptions to PubSub is overkill. However, submitting a PR was suggested on Slack (#subscriptions) and I figured it would be a good way to to bring issue #7 to everyone's attention.
I like the idea of expanding setupFunctions. Perhaps we can pass Objects instead of functions so that we can define exactly what we want our channel to do, and what we want to do with messages that come in through it.
Perhaps something like this would work. The code example below would ask PubSub to only listen for comment updates with the given repoFullName:
{
    setupFunctions: {
        // Taken from GitHunt.
        commentAdded: (options, args) => ({
            commentAdded: comment => comment.repository_name === args.repoFullName
        }),
        // Proposed structure.
        commentUpdated: (options, args) => ({
            commentUpdated: {
                // These options could be passed to PubSub.
                channelOptions: {
                    repoFullName: args.repoFullName
                },
                // Technically redundant since we specified repoFullName above and thus should
                // only receive relevant messages. However, it's here for completeness' sake
                filter: comment => comment.repository_name === args.repoFullName
            }
        })
    }
}

Thanks to channelOptions, pubSub.subscribe  can create a channel that will efficiently listen for comment updates in a specific repository, instead of being forced to listen to and emit all comment updates.
By passing an Object we can also expand in the future. In fact, I'd be very interested in being able to specify a reduce function there as well so that we can convert the message payload after it has passed through the filter function, but that's something for another day 😄 .

@quintstoffers That sounds good. If anything, I think it should always return an object, and make filter optional as well (in which case it will default to true). Would you have time to make a PR with that change?
For converting the message payload, you can actually use the resolve function of the subscription, which usually does nothing other than pass through the rootValue. That's assuming the payload looks the same for all your channels. If it doesn't, we might indeed want to add something like that. But let's keep that for a later time.

@helfer I'm pretty sure I'll be able to have a PR some time next week. I hope my TypeScript is up to scratch :wink:.
Do you think we should support the "old" format that returned a function and thus be backwards compatiblr? We can detect the function type and convert it to an object with the filter property.

@quintstoffers: Great, I look forward to it!
As for backwards compatibility, I don't think we should have that. It's too early in the project to incur the kind of technical debt that backwards compatibility usually brings with it.

@helfer: See #11.


Casing of generated type name does not match API

Issue workflow progress
Progress of the issue based on the Contributor Workflow

[x] 1. The issue provides a reproduction available on GitHub, Stackblitz or CodeSandbox

Make sure to fork this template and run yarn generate in the terminal.
Please make sure the Codegen and plugins version under package.json matches yours.

[ ] 2. A failing test has been provided
[ ] 3. A local solution has been provided
[ ] 4. A pull request is pending review

Describe the bug
The casing of generated type names does not match that in the API when using acronyms. For example, HTTPStatus becomes HttpStatus and InvalidURLRecord becomes InvalidUrlRecord.
This matters because I have other code generators involved in this project that expect the model names to match the API.
To Reproduce
Steps to reproduce the behavior:
Reproduction is pretty simple, just requires some types with acronyms (or all uppercase words) in their names. Can use the live demo on the site to reproduce: https://www.graphql-code-generator.com/#live-demo.

My GraphQL schema:

type HTTPStatus {
  id: ID!
}

type InvalidURLRecord {
  id: ID!
}

My GraphQL operations:

N/A

My codegen.yml config file:

Just the default.
Expected behavior
I expected the generated types (in Typescript) to have the same name (with the same casing) as defined in my GraphQL API. The __typename field has the correct casing.
Environment:

OS: Mac OS 11.6 (Big Sur)
@graphql-codegen/cli: ^2.5.0
@graphql-codegen/introspection: ^2.1.1
@graphql-codegen/typescript: ^2.4.3
@graphql-codegen/typescript-operations: ^2.2.4
@graphql-codegen/typescript-react-apollo: ^3.2.5
NodeJS: 16.2.0

I created a reproduction repo here: https://github.com/henrywoody/graphql-code-generator-casing-issue-reproduction

I created a reproduction repo here: https://github.com/henrywoody/graphql-code-generator-casing-issue-reproduction

Logic for this is handled by the naming convention, which follows a plugin style and so the problem is not related to code from graphql-code-generator but rather with the default naming convention.
Using a naming convention of "keep" generates the expected typenames, but the generated apollo hooks have unexpected casing (e.g. usehttpStatusQuery) because those names come from the fields on the Query type in the schema.
So I've opted to go with a custom naming convention that is basically "keep" if the given name already starts with a capital letter, otherwise the name is converted to PascalCase.


Call serial_free when Serial object is destroyed

Make this change so that the serial_free() function is called when the Serial object is destroyed.
Signed-off-by: Mahadevan Mahesh<EMAIL_ADDRESS>

@mmahadevan108 what about copy and assignment ctor? Did you consider defining them?

Bump

Sorry for the delay in responding, I have not looked into implementing the copy and assignment ctor.

Is there any update on integrating this patch?

@0xc0170, should we go ahead and merge this? The copy/assignment ctor can be tricky to implement correctly and I don't think we support them for most of our classes.
At the very least @mmahadevan108's addition is an improvement over the current behaviour.

+1

Any update on this fix?

@mmahadevan108, unfortunately this pr has fallen out of date and now has merge conflicts with master. Would you be able to rebase on top of the current master?

OK, I will submit a new one based on the current code-base


Ksilligan patch 9

Changes

Reason for changes

Related tickets

Tests

Codecov Report
Attention: 46 lines in your changes are missing coverage. Please review.

Comparison is base (1903d0d) 90.57% compared to head (b2ec2f0) 42.22%.
Report is 203 commits behind head on develop.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files

@@             Coverage Diff              @@
##           develop      #21       +/-   ##
============================================
- Coverage    90.57%   42.22%   -48.35%
============================================
  Files          486      143      -343
  Lines        43377    13261    -30116
============================================
- Hits         39288     5600    -33688
- Misses        4089     7661     +3572

Files
Coverage Δ

nncf/common/__init__.py
100.00% <ø> (ø)

nncf/common/accuracy_aware_training/__init__.py
0.00% <ø> (-100.00%)
:arrow_down:

nncf/common/accuracy_aware_training/runner.py
0.00% <ø> (-98.67%)
:arrow_down:

nncf/common/accuracy_aware_training/statistics.py
0.00% <ø> (-100.00%)
:arrow_down:

nncf/common/collector.py
0.00% <ø> (-100.00%)
:arrow_down:

nncf/common/deprecation.py
100.00% <ø> (ø)

nncf/common/engine.py
100.00% <ø> (ø)

nncf/common/graph/__init__.py
100.00% <ø> (ø)

nncf/common/graph/definitions.py
100.00% <100.00%> (ø)

nncf/common/graph/layer_attributes.py
80.37% <100.00%> (-15.71%)
:arrow_down:

... and 32 more

... and 443 files with indirect coverage changes

Flag
Coverage Δ

COMMON
42.22% <61.34%> (?)

ONNX
?

OPENVINO
?

TENSORFLOW
?

TORCH
?

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

Components
Coverage Δ

common
54.42% <61.34%> (-38.87%)
:arrow_down:

torch
0.00% <ø> (-92.71%)
:arrow_down:

tensorflow
∅ <ø> (∅)

onnx
0.00% <ø> (-97.19%)
:arrow_down:

openvino
0.00% <ø> (-91.89%)
:arrow_down:

ptq
23.72% <ø> (-64.39%)
:arrow_down:


Maintenance

Is this project still maintained?
Assumption because there where no updates to the libs for the last two years

@oteoe Why do you still need it when on webpack 5 output.clean is there?


Check failed: SolutionIsFeasible in CP-SAT solver - another issue

What version of OR-Tools and what language are you using?
Version: v8.2
Language: C++
Which solver are you using (e.g. CP-SAT, Routing Solver, GLOP, BOP, Gurobi)
CP-SAT
What operating system (Linux, Windows, ...) and version?
Linux(Debian 10), Windows 10
What did you do?
I executed attached proto file with 8 search workers.
What did you expect to see
No crash.
What did you see instead?
After some solutions, an error was thrown on check.
I0124 04:52:25.728271 22298 synchronization.cc:121] #215   141.21s best:10849 next:[8731,10848] no_lp fixed_bools:85875/762859
F0124 04:52:31.977050 22296 cp_model_solver.cc:2592] Check failed: SolutionIsFeasible( *shared_->model_proto, std::vector(local_response.solution().begin(), local_response.solution().end())) rnd_var_lns_default(d=0.94 s=84 t=0.10 p=1.00)
*** Check failure stack trace: ***
Aborted
Make sure you include information that can help us debug (full error message, model Proto).
error_proto.zip
Anything else we should know about your project / environment
The issue seems same as issue in #2525 but I was not able to reproduce it in v9.0 (fix that closed #2525 was commited after v9.0) and current master.

Can you try with 9.0 ?
Laurent Perron | Operations Research | @.*** | (33) 1 42 68 53
00
Le jeu. 17 juin 2021 à 21:01, Mizux @.***> a écrit :

Assigned #2602 https://github.com/google/or-tools/issues/2602 to
@lperron https://github.com/lperron.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/google/or-tools/issues/2602#event-4906081033, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ACUPL3M7BAU7OFUH7BLQ5QTTTJA7LANCNFSM464HIHBA
.

How frequent is the crash ?
I ran a few times on my workstation with 16 workers. It never crashed and
proves the optimal is ~40s.
Laurent Perron | Operations Research | @.*** | (33) 1 42 68 53
00
Le jeu. 17 juin 2021 à 21:50, Laurent Perron @.***> a écrit :

Can you try with 9.0 ?
Laurent Perron | Operations Research | @.*** | (33) 1 42 68
53 00
Le jeu. 17 juin 2021 à 21:01, Mizux @.***> a écrit :

Assigned #2602 https://github.com/google/or-tools/issues/2602 to
@lperron https://github.com/lperron.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/google/or-tools/issues/2602#event-4906081033, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ACUPL3M7BAU7OFUH7BLQ5QTTTJA7LANCNFSM464HIHBA
.

I already tried it with 9.0 and today master. In both versions it works as I wrote in description of the issue.
Fix for #2525 was commited after 9.0 so it is quite surprise for me that version 9.0 works for me.

With 8 workers it crashed everytime on windows 10 or debian 10 with ortools 8.2.

#2525 was a bug on the solution checker of the reservoir constraint.
Your new model does not contain reservoirs.
I will close the issue.
Laurent Perron | Operations Research | @.*** | (33) 1 42 68 53
00
Le jeu. 17 juin 2021 à 22:19, gregy4 @.***> a écrit :

With 8 workers it crashed everytime on windows 10 or debian 10 with
ortools 8.2.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/google/or-tools/issues/2602#issuecomment-863537135,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACUPL3JANNNCCS47T3TSNCLTTJKFFANCNFSM464HIHBA
.


configure-bosh on openstack properties

Hello,  I don't see a way to get the valid field names for configure-bosh on openstack.  The names in the example document don line up with the return from /api/v0/staged/director/properties.  Here is the return from a v1.10.7 opsman instance running on openstack:
{
  "iaas_configuration": {
    "identity_endpoint": null,
    "username": null,
    "password": null,
    "tenant": null,
    "security_group": null,
    "key_pair_name": null,
    "ssh_private_key": null,
    "region": null,
    "ignore_server_availability_zone": false,
    "disable_dhcp": false
  },
  "director_configuration": {
    "ntp_servers_string": "",
    "metrics_ip": null,
    "resurrector_enabled": false,
    "max_threads": null,
    "database_type": "internal",
    "blobstore_type": "local"
  },
  "security_configuration": {
    "trusted_certificates": null,
    "generate_vm_passwords": true
  }
}

Also when I try and load the iaas settings in the cli says the config was updated successfully but I don't see the staged changes in either the UI or via the api call above.

Also I'm using cli version 0.23.0

@JasonMorgan If you look at the code, it's all there in the struct tags: https://github.com/pivotal-cf/om/blob/master/commands/bosh_form_models.go#L50

Cool, let me see if I can get that working, thank you!

That solves the arguments issue. Thank you!


Check for logged in user on editTrack, deleteTrack and createTrack methods #347

Can one of the admins verify this patch?

ok to test

Fixed typo

Thanks @bennychan looks good, will merge this evening.


[SPARK-7722] [STREAMING] Added Kinesis to style checker

Merged build triggered.

Merged build started.

Test build #33260 has started for   PR 6325 at commit 9ab35b2.

Test build #33260 has finished for   PR 6325 at commit 9ab35b2.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class DataFrameReader(object):
class DataFrameWriter(object):

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

Merged build finished. Test PASSed.

LGTM


Issues #810 Optimize TopicConfigAndMappingSerializeWrapper

Which Issue(s) This PR Fixes(Closes)

Fixes #issue_id
Issues #810
Brief Description

Optimize TopicConfigAndMappingSerializeWrapper
How Did You Test This Change?

Summary by CodeRabbit

New Features

Introduced a new TopicConfigSerializeWrapper to enhance handling and organization of topic configuration data.
Updated topic configuration serialization to ensure mandatory inclusion of critical fields, improving data handling robustness.

Bug Fixes

Streamlined access and eliminated redundant code paths related to topic configuration, enhancing code clarity and performance.

Refactor

Refactored topic configuration handling across multiple components for improved readability and maintainability.
Simplified logic related to broker registration and topic management, reducing complexity in the implementation.

🚀Thanks for your contribution🎉. CodeRabbit(AI) will review your code first🔥

🚀Thanks for your contribution🎉. CodeRabbit(AI) will review your code first🔥


Recently the org display command is intermittently taking quite a long time to complete

I just chatted with @mshanemc about this and he asked me to log it here. In the past couple of weeks, I've seen the org display command (executed via sfdx force:org:display by IC2) taking quite a long time to complete, e.g.:
2023-10-30 09:37:40,500 [ 350475]   FINE - #com.illuminatedcloud.util.CommandLineUtil - Running command line: 'C:/Program Files/sf/bin/sfdx.cmd force:org:display -u <username> --json' from working directory: '<userHomeDir>'.
2023-10-30 09:37:40,515 [ 350490]   FINE - #com.illuminatedcloud.util.VariableLengthPollingInterval - C:/Program Files/sf/bin/sfdx.cmd force:org:display -u <username> --json: Using polling interval 1000 ms for polling iteration 1.
...
2023-10-30 09:38:25,705 [ 395680]   FINE - #com.illuminatedcloud.util.VariableLengthPollingInterval - C:/Program Files/sf/bin/sfdx.cmd force:org:display -u <username> --json: Using polling interval 5000 ms for polling iteration 27.
2023-10-30 09:38:30,714 [ 400689]   FINE - #com.illuminatedcloud.util.CommandLineUtil - Returning command-line response: CommandLineResponse{exitCode=0, output='{...}

It doesn't happen consistently at all, but obviously when it does happen, it's quite annoying and unclear whether the CLI is actually going to complete, particularly since that particular command traditionally (and normally) only takes a few seconds to complete. Other commands seem fine, and it's not limited to a single org or set of orgs, though again, the same command against the same org may complete in 2-3 seconds on the next execution.
Let me know if there's any other info I can provide, though where this is an intermittent issue, it may be difficult to capture in-the-wild.
Here's the CLI version info:
{
  "cliVersion"<EMAIL_ADDRESS>  "architecture": "win32-x64",
  "nodeVersion": "node-v18.15.0",
  "osVersion": "Windows_NT 10.0.22621",
  "shell": "cmd.exe",
  "rootPath": "C:\\Program Files\\sf\\client",
  "pluginVersions": [
    "@oclif/plugin-autocomplete 2.3.6 (core)",
    "@oclif/plugin-commands 2.2.23 (core)",
    "@oclif/plugin-help 5.2.17 (core)",
    "@oclif/plugin-not-found 2.3.37 (core)",
    "@oclif/plugin-plugins 3.2.7 (core)",
    "@oclif/plugin-search 0.0.22 (core)",
    "@oclif/plugin-update 3.1.32 (core)",
    "@oclif/plugin-version 1.3.8 (core)",
    "@oclif/plugin-warn-if-update-available 2.0.48 (core)",
    "@oclif/plugin-which 2.2.31 (core)",
    "@salesforce/cli 2.6.9 (core)",
    "apex 2.3.11 (core)",
    "auth 2.8.13 (core)",
    "data 2.5.7 (core)",
    "deploy-retrieve 1.17.5 (core)",
    "functions 1.22.3 (user)",
    "info 2.6.39 (core)",
    "limits 2.3.31 (core)",
    "login 1.2.28 (core)",
    "org 2.10.3 (core)",
    "schema 2.3.23 (core)",
    "settings 1.4.26 (core)",
    "sobject 0.2.6 (core)",
    "source 2.10.32 (core)",
    "telemetry 2.3.1 (core)",
    "templates 55.5.10 (core)",
    "trust 2.6.3 (core)",
    "user 2.3.29 (core)"
  ]
}

I just updated to the latest-and-greatest. I've seen this for a few weeks so across multiple builds, so I doubt it's resolved by this most recent update. I'll post an update here if/when I see it occur again.
New version info:
{
  "architecture": "win32-x64",
  "cliVersion"<EMAIL_ADDRESS>  "nodeVersion": "node-v18.15.0",
  "osVersion": "Windows_NT 10.0.22621",
  "rootPath": "C:\\Users\\Scott\\AppData\\Local\\sf\\client\\2.14.6-1f2724e",
  "shell": "cmd.exe",
  "pluginVersions": [
    "@oclif/plugin-autocomplete 2.3.10 (core)",
    "@oclif/plugin-commands 3.0.3 (core)",
    "@oclif/plugin-help 6.0.3 (core)",
    "@oclif/plugin-not-found 3.0.2 (core)",
    "@oclif/plugin-plugins 3.9.2 (core)",
    "@oclif/plugin-search 1.0.3 (core)",
    "@oclif/plugin-update 4.1.2 (core)",
    "@oclif/plugin-version 2.0.3 (core)",
    "@oclif/plugin-warn-if-update-available 3.0.1 (core)",
    "@oclif/plugin-which 3.0.5 (core)",
    "@salesforce/cli 2.14.6 (core)",
    "apex 2.3.20 (core)",
    "auth 2.8.22 (core)",
    "data 2.5.19 (core)",
    "deploy-retrieve 1.19.2 (core)",
    "functions 1.22.3 (user)",
    "info 2.6.49 (core)",
    "limits 2.3.39 (core)",
    "login 1.2.37 (core)",
    "marketplace 0.3.0 (core)",
    "org 2.11.4 (core)",
    "schema 2.3.30 (core)",
    "settings 1.4.35 (core)",
    "sobject 0.2.13 (core)",
    "source 2.10.43 (core)",
    "telemetry 2.3.6 (core)",
    "templates 55.5.14 (core)",
    "trust 2.6.20 (core)",
    "user 2.3.37 (core)"
  ]
}


Update WF to assign the Open FOI request to Flex Team/Keycloak group(#292)

Title of ticket:
Description
This task is to accommodate changes to Camunda WorkFlow in relation  with Flex group assignment and individual flex team assignment
Dependencies
Are there any dependencies?
DOD

[x] Unclaim and reclaim with group only
[x] Unclaim and reclaim with group and assignee

Updated Raw Request Processing:

Updated API Handler


Changing theme settings doesn't work

In the Ghost admin I tried changing some of the settings for the theme. For instance, I'd like the homepage to use the list feed layout rather than the dynamic grid. Changing (and saving) this setting from the Ghost admin doesn't impact the yarn instance running at localhost:3000. See screenshot below for the setting I'm trying to change:

As I understand (please correct me if I'm wrong), this is by design since this repository is a template for a pre-built static site using the default casper theme (and settings). In that case, how would one go about generating a similar template using an arbitrary ghost theme?

Welcome @Garfounkel: Yes, that's correct - next-cms-ghost is a front-end implementation of the Ghost Casper skin and uses Ghost in headless mode (which means changing styles in the CMS doesn't make sense).
If you only want to make changes to the stylesheets, you could alter global.css and screen.css to your needs (after forking the project). For more complex changes you might have to to change the react code as well.

Sounds good, I'll give it a go. Thanks

I made a fork modifying the theme to be as close as possible to the list feed setting. Here it is if that's of any interest for someone: https://github.com/Garfounkel/next-cms-ghost-list-feed

Thanks! I am considering to support the list view with an additional option.


fixed case of mzxml and mzml in maxquant_mqpar tool

In July, we missed the case in the file-type for mzxml for the maxquant_mqpar tool (we only fixed maxquant).  Consequently, the workflow editor won't allow connections to this input for mzxml files.

@bgruening This test failure is puzzling.  Here's what I get testing with --biocontainers on my own machine:
Testing complete. HTML report is in "/home/art/galaxy/thor/src/tools-galaxyp_xml/tools/maxquant/tool_test_output.html".
All 11 test(s) executed passed.
maxquant (Test #1): passed
maxquant (Test #2): passed
maxquant (Test #3): passed
maxquant (Test #4): passed
maxquant (Test #5): passed
maxquant (Test #6): passed
maxquant (Test #7): passed
maxquant (Test #8): passed
maxquant (Test #9): passed
maxquant (Test #10): passed
maxquant_mqpar (Test #1): passed

Its crashing for me locally as well. Which is not good and I'm wondering why ...

I'm getting this error in a file: Failed to initialize CoreCLR, HRESULT: 0x80004005 does this ring any bell?


⚠ Bofrost.es has degraded performance

In c48ddee, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1754 ms

Resolved: Bofrost.es performance has improved in f1444f1 after 6 minutes.


Style/EmptyCaseCondition autofix breaks code when returning from branches

Expected behavior
Given the smallest example
def a
  c = case
      when x.a
        1
      when x.b
        return 2
      end
  c + c
end

Run rubocop with autofix mode. Expected to leave it as is (at least working) or format.
Actual behavior
The result is
def a
  c = if x.a
        1
      elsif x.b
        return 2
      end
  c + c
end

That's broken program, fails with "void value expression"
RuboCop version
0.58.2 (using Parser <IP_ADDRESS>, running on ruby 2.5.1 x86_64-darwin17)

Thanks for the feedback. I confirmed this reproduction and I opened a PR #6207.


docs: update to includeAllCommits option

Remove changelogAll option and instead using
includeAllCommits based on ChangelogOptions.cs

Pull Request Test Coverage Report for Build<PHONE_NUMBER>3
Details

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

Totals

Change from base Build<PHONE_NUMBER>2:
0.0%

Covered Lines:
1328

Relevant Lines:
1397

💛  - Coveralls


Update AuthorNotification.md

@v-caxian : Thanks for your contribution! The author, @PRMerger16, has been notified to review your proposed change.

@PRMerger16 : Thanks for your contribution! The author, @PRMerger16, has been notified to review your proposed change.


onBlur , back button

Environment

  React Native Environment Info:
    System:
      OS: Windows 10
      CPU: (8) x64 Intel(R) Core(TM) i7-3632QM CPU @ 2.20GHz
      Memory: 915.60 MB / 5.58 GB
    Binaries:
      Yarn: 1.13.0 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
      npm: 6.4.1 - C:\Program Files\nodejs\npm.CMD
    IDEs:
      Android Studio: Version  <IP_ADDRESS> AI-182.5<IP_ADDRESS>99772

Description

When text input is focused and you press  back button in android , onBlur is not triggered
Reproducible Demo

https://snack.expo.io/rJnc3BuV4
Run snack and focus input , then press back button , the alert must shown

Which version of react native has this issue?
There was an issue in a patch version of 0.57.x, that we then rolled back. Please check the changelogs too.

<EMAIL_ADDRESS>

I think given the nature of the BackAndroid button it is better for devs to choose to override/add to the the default behaviour, e.g. https://snack.expo.io/@jkcooper/rn23308-textinput-onblur-backandroid. I would expect the current behaviour is similar to pressing back in a browser.


Curtailment option

This PR adds the option to enable "curtailment." Now, you can run models with a single technology and it will certainly solve as long as there is enough capacity.

Approved! Is this waiting on anything else to be merged, or am I good to merge this?

Nope, youre good to merge whenever!


Add test for space after bracket choice.

Add the test mentioned in #63.
And version bump for the build pipeline.

Fix works for #63 on my end!


allow underscores and numbers in python class names

The fix for issue #29 will still fail when the class name contains
underscores or numbers, both of which are valid in python.  I noticed
that the regex also allows dots, which are not valid in a python class
name ( http://stackoverflow.com/a/10120327 )

Thanks for the fix. Hmm, I though that a "dot" is used when nesting classes. I though that Foo.Bar is a Bar class nested under the Foo class, so that it should be given to nosetests as a whole (not just Bar). I'm not a Python programmer, so you know better than me, I just want to check.

That's true for import statements and places like that, but in a class name, python will throw a SyntaxError exception if there is a dot in a class name.
$ cat <<EOF > c.py
class Foo.Bar(object):
    pass
EOF

$ python c.py
  File "c.py", line 1
    class Foo.Bar(object):
             ^
SyntaxError: invalid syntax

Great, that's all I needed to know. Thanks again!


Fix cloud shell

This PR fixes https://github.com/microsoft/azuredatastudio/issues/15441
The issue was the dimension of the terminal kept changing, calling setDimensions multiple times, causing terminal to show gibberish.
Before -

After -

Pull Request Test Coverage Report for Build 838484343

0 of 4 (0.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.0008%) to 43.538%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

extensions/azurecore/src/azureResource/services/terminalService.ts
0
4
0.0%

Totals

Change from base Build 837542994:
0.0008%

Covered Lines:
26518

Relevant Lines:
55432

💛  - Coveralls


Stickers

Fixes #1056
Adds sticker support

Is there anything else that I should do with this PR?
cc: @FedorLap2006 @CarsonHoffman

Lgtm, but Imma go through the docs again just to be sure


chore: bdd-nh-1582017333 to 0.0.1

chore: Promote bdd-nh-1582017333 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Is this project being actively developed still?

Hi John,
I really like your GCDKit interfaces.  I'd like to make a few initial changes and additions.  Add GCD Timer support, etc.  We'll probably be making a lot of changes over the long haul that we're using it, but those are the immediate needs right now.  I don't want to burden you with change requests, or hi-jack your project, so my options are to either fork it, or adopt it and give it a new name (your name and license to remain intact of course).  Do you have any preference on this?
Thanks!
Brandon

I'm still using this library with my own projects so yes, I'm still maintaining this. The only reason I haven't added GCDTimer yet is only because I don't personally need it yet. It's trivial to create though, I can probably push a working prototype over the next few days.
I appreciate pull requests; Good ideas are welcome and I may have overlooked some use cases that might help everyone else in the future. Of course you're also free to fork and implement it as your own, I won't mind :)

That's fantastic John.  Thanks so much.  I just pushed my first PR to you, and have a timer in progress.  I'm still somewhat new to swift and would like to try my hand at it, so if you had any ideas on the timer implementation you were thinking of and could share that's be great.  So far I'm kind of just exposing the GCD timer stuff directly but I really love how you managed to do all the chaining with the other things like GCDBlock and GCDQueue.  If there's anything along those lines you've come up with, I'm all ears.