DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-source-version-target/pull/247 is merged into live branch.
Auto archive content to https://github.com/opstest2/docs-archive-test-source-version-target.git

Docs Build status updates of commit 570adda:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

.openpublishing.redirection.json
:white_check_mark:Succeeded

versioningArchiveSourceFolder/TOC.yml
:white_check_mark:Succeeded
View (sql-server-2014 || azuresqldb-current || azuresqldb-mi-current || azure-sqldw-latest || >= aps-pdw-2016 || >= sql-server-2016 || >= sql-server-linux-2017 || sql-server-previousversions || sqlallproducts-allversions)

versioningArchiveSourceFolder/docfx.json
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Incompatible with ModLoaderNFC

Summary
Installing Ears and ModloaderNFC in the same Minecraft instance causes a crash to desktop
Error Log
NFC Issue
Steps to Reproduce

Install New Frontier Craft v3.4.2. (MultiMC or Prism Launcher recommended for these steps, Installation Instructions)

Download Ears

Move ears-nfc-1.4.5.jar to .minecraft folder of NFC Instance.

Rename ears-nfc-1.4.5.jar to ears.jar.

Add -javaagent:ears.jar to Java Arguments.

Download ModloaderNFC v4.6.1

Install as a jarmod. (MultiMC: Open Instance Edit Window, click Version, click Add to Minecraft.jar, find ModLoaderNFC v4.6.1.zip and click Open.

Launch the title.

Click on Singleplayer.

Create a New World, gamemode and seed do not matter.

Load into the world.

Observe Crash.

Results
Expected Result: Load into the world with both Ears and Modloader working
Actual Result: Title crashes

Known. All of the retrofork ports are currently broken as they've all majorly refactored their skin handling (or the mod itself) and I haven't gotten around to fixing it.

It seems to work without ModloaderNFC, interestingly enough.

Ears is now integrated with NFC, and this integration should not have this same bug. Please let me know if this persists even after the new NFC update.


issue about the last character case of domain names in the log

os version: windows server 2012 r2
dnscrypt-proxy version:1.9.5
some uppercase and some lowercase

That's expected. The last character in upper case is for queries requesting DNSSEC signatures.


Install kubectl

This is required by the build script of metal3 baremetal-operator, which is run during "make openstack".

recheck

/recheck

recheck

recheck


Running Cayman on environment samples?

Hi,
Thank you for a great resource for CAZyme annotation and substrate prediction. I was wondering since the annotation is trained on human gut microbiome (GMGC), would you recommend running it on environmental microbiome data?
Looking forward to your response,
Regards,
Jigyasa

Hi Jigyasa, thanks for your interest in Cayman. In general, it is possible to run this on any of the GMGC subcatalogues (or, theoretically, any microbial gene catalogue for that matter), as long as they have been annotated. We have some GMGC subcatalogue annotations available, however it seems at the moment the link is not accessible. I hope we can restore that access asap.
Best,
Christian

Hi, indeed the Zenodo link was broken but it should be fixed with the new PR.
As Christian said we have annotated non-human-gut gene catalogues. Please have a look at this file gene_catalogues.zip


Can't export trained model after using '--color' for training

Hi,
I'm using attention-ocr and trained/export many models without using the args '--color'.
I try it for a new model which trained very well, but now I have a checkpoint but can't save it to a SavedModel nor a Freeze Graph with the export command.
Here is the error output:
InvalidArgumentError (see above for traceback): Assign requires shapes of both tensors to match. lhs shape= [3,3,1,64] rhs shape= [3,3,3,64]
	 [[Node: save/Assign_5 = Assign[T=DT_FLOAT, _class=["loc:@conv_conv1/W"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/device:GPU:0"](conv_conv1/W, save/RestoreV2/_9)]]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/bin/aocr", line 11, in <module>
    load_entry_point('aocr==0.7.5', 'console_scripts', 'aocr')()
  File "/usr/local/lib/python3.6/dist-packages/aocr/__main__.py", line 251, in main
    channels=parameters.channels,
  File "/usr/local/lib/python3.6/dist-packages/aocr/model/model.py", line 268, in __init__
    self.saver_all.restore(self.sess, ckpt.model_checkpoint_path)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/training/saver.py", line 1759, in restore
    err, "a mismatch between the current graph and the graph")
tensorflow.python.framework.errors_impl.InvalidArgumentError: Restoring from checkpoint failed. This is most likely due to a mismatch between the current graph and the graph from the checkpoint. Please ensure that you have not altered the graph expected based on the checkpoint. Original error:

Assign requires shapes of both tensors to match. lhs shape= [3,3,1,64] rhs shape= [3,3,3,64]
	 [[Node: save/Assign_5 = Assign[T=DT_FLOAT, _class=["loc:@conv_conv1/W"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/device:GPU:0"](conv_conv1/W, save/RestoreV2/_9)]]

Caused by op 'save/Assign_5', defined at:
  File "/usr/local/bin/aocr", line 11, in <module>
    load_entry_point('aocr==0.7.5', 'console_scripts', 'aocr')()
  File "/usr/local/lib/python3.6/dist-packages/aocr/__main__.py", line 251, in main
    channels=parameters.channels,
  File "/usr/local/lib/python3.6/dist-packages/aocr/model/model.py", line 261, in __init__
    self.saver_all = tf.train.Saver(tf.all_variables())
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/training/saver.py", line 1281, in __init__
    self.build()
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/training/saver.py", line 1293, in build
    self._build(self._filename, build_save=True, build_restore=True)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/training/saver.py", line 1330, in _build
    build_save=build_save, build_restore=build_restore)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/training/saver.py", line 778, in _build_internal
    restore_sequentially, reshape)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/training/saver.py", line 419, in _AddRestoreOps
    assign_ops.append(saveable.restore(saveable_tensors, shapes))
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/training/saver.py", line 112, in restore
    self.op.get_shape().is_fully_defined())
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/ops/state_ops.py", line 216, in assign
    validate_shape=validate_shape)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/ops/gen_state_ops.py", line 60, in assign
    use_locking=use_locking, name=name)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/op_def_library.py", line 787, in _apply_op_helper
    op_def=op_def)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/util/deprecation.py", line 454, in new_func
    return func(*args, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/ops.py", line 3155, in create_op
    op_def=op_def)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/ops.py", line 1717, in __init__
    self._traceback = tf_stack.extract_stack()

InvalidArgumentError (see above for traceback): Restoring from checkpoint failed. This is most likely due to a mismatch between the current graph and the graph from the checkpoint. Please ensure that you have not altered the graph expected based on the checkpoint. Original error:

Assign requires shapes of both tensors to match. lhs shape= [3,3,1,64] rhs shape= [3,3,3,64]
	 [[Node: save/Assign_5 = Assign[T=DT_FLOAT, _class=["loc:@conv_conv1/W"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/device:GPU:0"](conv_conv1/W, save/RestoreV2/_9)]]

Seems related to the color Channel, but after looking inside the source code I didn't find the part where something can be missing...
Thanks for your help

Hi again,
Same kind of error when using GRU cells with --use-gru
2018-09-04 16:51:25,680 root  INFO     Reading model parameters from ./checkpoints/model.ckpt-12338
2018-09-04 16:51:25.799719: W tensorflow/core/framework/op_kernel.cc:1275] OP_REQUIRES failed at save_restore_v2_ops.cc:184 : Not found: Key embedding_attention_decoder/attention_decoder/multi_rnn_cell/cell_0/basic_lstm_cell/bias not found in checkpoint
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/client/session.py", line 1278, in _do_call
    return fn(*args)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/client/session.py", line 1263, in _run_fn
    options, feed_dict, fetch_list, target_list, run_metadata)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/client/session.py", line 1350, in _call_tf_sessionrun
    run_metadata)
tensorflow.python.framework.errors_impl.NotFoundError: Key embedding_attention_decoder/attention_decoder/multi_rnn_cell/cell_0/basic_lstm_cell/bias not found in checkpoint
	 [[Node: save/RestoreV2 = RestoreV2[dtypes=[DT_INT32, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, ..., DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT], _device="/job:localhost/replica:0/task:0/device:CPU:0"](_arg_save/Const_0_0, save/RestoreV2/tensor_names, save/RestoreV2/shape_and_slices)]]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/training/saver.py", line 1725, in restore
    {self.saver_def.filename_tensor_name: save_path})
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/client/session.py", line 877, in run
    run_metadata_ptr)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/client/session.py", line 1100, in _run
    feed_dict_tensor, options, run_metadata)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/client/session.py", line 1272, in _do_run
    run_metadata)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/client/session.py", line 1291, in _do_call
    raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.NotFoundError: Key embedding_attention_decoder/attention_decoder/multi_rnn_cell/cell_0/basic_lstm_cell/bias not found in checkpoint
	 [[Node: save/RestoreV2 = RestoreV2[dtypes=[DT_INT32, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, ..., DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT], _device="/job:localhost/replica:0/task:0/device:CPU:0"](_arg_save/Const_0_0, save/RestoreV2/tensor_names, save/RestoreV2/shape_and_slices)]]

Caused by op 'save/RestoreV2', defined at:
  File "/usr/local/bin/aocr", line 11, in <module>
    load_entry_point('aocr==0.7.5', 'console_scripts', 'aocr')()
  File "/usr/local/lib/python3.6/dist-packages/aocr/__main__.py", line 251, in main
    channels=parameters.channels,
  File "/usr/local/lib/python3.6/dist-packages/aocr/model/model.py", line 261, in __init__
    self.saver_all = tf.train.Saver(tf.all_variables())
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/training/saver.py", line 1281, in __init__
    self.build()
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/training/saver.py", line 1293, in build
    self._build(self._filename, build_save=True, build_restore=True)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/training/saver.py", line 1330, in _build
    build_save=build_save, build_restore=build_restore)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/training/saver.py", line 778, in _build_internal
    restore_sequentially, reshape)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/training/saver.py", line 397, in _AddRestoreOps
    restore_sequentially)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/training/saver.py", line 829, in bulk_restore
    return io_ops.restore_v2(filename_tensor, names, slices, dtypes)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/ops/gen_io_ops.py", line 1463, in restore_v2
    shape_and_slices=shape_and_slices, dtypes=dtypes, name=name)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/op_def_library.py", line 787, in _apply_op_helper
    op_def=op_def)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/util/deprecation.py", line 454, in new_func
    return func(*args, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/ops.py", line 3155, in create_op
    op_def=op_def)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/ops.py", line 1717, in __init__
    self._traceback = tf_stack.extract_stack()

NotFoundError (see above for traceback): Key embedding_attention_decoder/attention_decoder/multi_rnn_cell/cell_0/basic_lstm_cell/bias not found in checkpoint
	 [[Node: save/RestoreV2 = RestoreV2[dtypes=[DT_INT32, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, ..., DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT], _device="/job:localhost/replica:0/task:0/device:CPU:0"](_arg_save/Const_0_0, save/RestoreV2/tensor_names, save/RestoreV2/shape_and_slices)]]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/training/saver.py", line 1737, in restore
    checkpointable.OBJECT_GRAPH_PROTO_KEY)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 351, in get_tensor
    status)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/errors_impl.py", line 519, in __exit__
    c_api.TF_GetCode(self.status.status))
tensorflow.python.framework.errors_impl.NotFoundError: Key _CHECKPOINTABLE_OBJECT_GRAPH not found in checkpoint

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/bin/aocr", line 11, in <module>
    load_entry_point('aocr==0.7.5', 'console_scripts', 'aocr')()
  File "/usr/local/lib/python3.6/dist-packages/aocr/__main__.py", line 251, in main
    channels=parameters.channels,
  File "/usr/local/lib/python3.6/dist-packages/aocr/model/model.py", line 268, in __init__
    self.saver_all.restore(self.sess, ckpt.model_checkpoint_path)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/training/saver.py", line 1743, in restore
    err, "a Variable name or other graph key that is missing")
tensorflow.python.framework.errors_impl.NotFoundError: Restoring from checkpoint failed. This is most likely due to a Variable name or other graph key that is missing from the checkpoint. Please ensure that you have not altered the graph expected based on the checkpoint. Original error:

Key embedding_attention_decoder/attention_decoder/multi_rnn_cell/cell_0/basic_lstm_cell/bias not found in checkpoint
	 [[Node: save/RestoreV2 = RestoreV2[dtypes=[DT_INT32, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, ..., DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT], _device="/job:localhost/replica:0/task:0/device:CPU:0"](_arg_save/Const_0_0, save/RestoreV2/tensor_names, save/RestoreV2/shape_and_slices)]]

Caused by op 'save/RestoreV2', defined at:
  File "/usr/local/bin/aocr", line 11, in <module>
    load_entry_point('aocr==0.7.5', 'console_scripts', 'aocr')()
  File "/usr/local/lib/python3.6/dist-packages/aocr/__main__.py", line 251, in main
    channels=parameters.channels,
  File "/usr/local/lib/python3.6/dist-packages/aocr/model/model.py", line 261, in __init__
    self.saver_all = tf.train.Saver(tf.all_variables())
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/training/saver.py", line 1281, in __init__
    self.build()
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/training/saver.py", line 1293, in build
    self._build(self._filename, build_save=True, build_restore=True)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/training/saver.py", line 1330, in _build
    build_save=build_save, build_restore=build_restore)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/training/saver.py", line 778, in _build_internal
    restore_sequentially, reshape)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/training/saver.py", line 397, in _AddRestoreOps
    restore_sequentially)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/training/saver.py", line 829, in bulk_restore
    return io_ops.restore_v2(filename_tensor, names, slices, dtypes)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/ops/gen_io_ops.py", line 1463, in restore_v2
    shape_and_slices=shape_and_slices, dtypes=dtypes, name=name)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/op_def_library.py", line 787, in _apply_op_helper
    op_def=op_def)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/util/deprecation.py", line 454, in new_func
    return func(*args, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/ops.py", line 3155, in create_op
    op_def=op_def)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/ops.py", line 1717, in __init__
    self._traceback = tf_stack.extract_stack()

NotFoundError (see above for traceback): Restoring from checkpoint failed. This is most likely due to a Variable name or other graph key that is missing from the checkpoint. Please ensure that you have not altered the graph expected based on the checkpoint. Original error:

Key embedding_attention_decoder/attention_decoder/multi_rnn_cell/cell_0/basic_lstm_cell/bias not found in checkpoint
	 [[Node: save/RestoreV2 = RestoreV2[dtypes=[DT_INT32, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, ..., DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT], _device="/job:localhost/replica:0/task:0/device:CPU:0"](_arg_save/Const_0_0, save/RestoreV2/tensor_names, save/RestoreV2/shape_and_slices)]]

Hi there! Can you also provide the full CLI commands that you're using while training and exporting models?

Oh Yeah seems legit, it's now working thanks to you. My mistake, I've only read the README and didn't check optional parameters with aocr export --help.
Just to share, I train a model with a "small" dataset of 150 000 pics, and using GRU Cells, the trained model perform very much better than with using LSTM.  (more than 15% gain for global accuracy).
You can close the issue, thanks :-)

Oh, that's a great report to have, thank you!


Bugs in latest version

.react-datepicker__navigation is missing z-index: 1

Any chance you can add it in?

@martijnrusschen I've forked the repo and when I was going to add it, it was already there O_O. I'm not sure why is not appearing in my app.

I've also noticed that, when creating two datepickers and set as a range (like in example 12, after the range is set, if I alter the end date to an earlier date than the start date, then the start date doesn't update itself automatically like in the example.

Also had this issue... adding  .react-datepicker__navigation {  z-index: 1  }  solved the problem for me.


After a task is popped from the gateway queue, we discard it if we fail to process it

After a task is popped from the gateway queue, we discard it if we fail to process it
// process all messages that have not been processed yet
while (--count >= 0)
{
var t = _DataSource.TryPop();  <<<<<<<<<<<<<<<  HERE
                        Debug.Assert( _outstandingTasks >= 0 );

                        bool added = false;
                        try
                        {
                            // increment outstanding task count but be ready to decrement if we fail to add to the queue
                            Interlocked.Increment( ref _outstandingTasks );

                            Debug.Assert( tasks != null );

                            tasks.Add(
                                t.ContinueWith<Task>( popped =>
                                {
                                    Interlocked.Decrement( ref _outstandingTasks );

                                    // because the outstanding task counter is incremented before
                                    // adding, we should never incur a negative count
                                    Debug.Assert( _outstandingTasks >= 0 );

                                    if( popped.Result.IsSuccess )
                                    {
                                        if( _DataTransform != null )
                                        {
                                            return _DataTarget.SendMessage( _DataTransform( popped.Result.Result ) );
                                        }
                                        if( _SerializedData != null )
                                        {
                                            return _DataTarget.SendSerialized( _SerializedData( popped.Result.Result ) );
                                        }
                                    }
                                    else
                                    {
                                        throw new Exception( );
                                    }
                                    return popped;
                                } )
                            );

                            // the only case when we do not get here is if List.Add fails (tasks.Add) or
                            // if the task engine fails Task.ContinueWith (t.ContinueWith)
                            added = true;
                        }
                        catch
                        {
                            if( !added )
                            {
                                Interlocked.Decrement( ref _outstandingTasks );
                            }

                            //
                            // TODO: Issue
                            //
                            throw;
                        }
                    }

For now decided to give message back to the queue because we don't know status of other sending tasks.

Should we try to send it right there without queueing again?

no, lets' just close this


Add initial support for retrieving data via REST

We'd like to use Django Rest Framework for retrieving file data. I believe that the data in LTITools is fine being retrieved unauthenticated but should require authentication (an admin user) to update.


Can't manage to run on ARM

Is this only usable on x86 processors? I just spent some time trying to get it to run on ARM, and was unsuccessful. If it's only x86 that should probably be stated somewhere in the readme.

It does compile for iOS, Android, and arm generally. We have people compiling for RPis. What exactly is your issue?

If you follow the instructions in the link below, you should be able to build the library on ARM. I'm currently using it on a RPi.
https://mavsdk.mavlink.io/develop/en/contributing/build.html

You can also cross compile using dockcross? @JonasVautherin are the instructions for that?

Closing due to inactivity. Feel free to reopen if necessary.


clean up auth and allow specifying request parameters

See commit messages for details. Out immediate use case is being able to specify response-content-disposition when generating our S3 GET urls. I noticed the auth deficiencies while adding that.

abandoning this one, don't want that Rakefile munge in the pull request :) I'll properly setup branches on my end first


Upgrade atlas to 1.1.4

Upgrade to 1.1.4 to include the fix for the issue in Artifact Path parser.

LGTM


Doesn't work for imported .scss files by @import

I was using nuxt2 + @nuxtjs/style-resources + @nuxtjs/stylelint-module in my previous projects. It was working fine in my previous projects. I decided to switch to nuxt3, I'm using nuxt3 + @nuxtjs/stylelint-module in a project I've just tried, but as I mentioned in the title, the module does not lint on scss files imported with @import. By the way I don't use @nuxtjs/style-resources as I can provide global scss with vite in my nuxt3 project.
In all other files, namely in .vue files, lint works as SFC, in .scss files in the components folder, in my /scss/app.scss entry point. But the lint doesn't work for the scss files I imported with the @import method in my /scss/app.scss file.

nuxt config of my nuxt3 project;
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
  srcDir: '',

  vite: {
    css: {
      preprocessorOptions: {
        /*
         ** Global Styles (Do not import actual styles)
         */
        scss: {
          additionalData: `
                @import<EMAIL_ADDRESS>                @import<EMAIL_ADDRESS>                @import<EMAIL_ADDRESS>                @import<EMAIL_ADDRESS>              `
        }
      }
    }
  },

  /*
   ** Global Styles (Actual styles)
   */
  css: [
    // Actual styles entry point (as import management)
    '~/assets/style/scss/app.scss'
  ],

  modules: [
    [
      '@nuxtjs/eslint-module',
      {
        // eslint module options
      }
    ],
    // https://github.com/nuxt-community/stylelint-module
    [
      '@nuxtjs/stylelint-module',
      {
        include: './src/{assets/style,components,layouts,pages}/**/*.{css,sass,scss,less,stylus,vue}'
      }
    ]
  ]
})

app.scss entry point file on my project;
// Variables
@import '../css/variables/color.css';
@import '../css/variables/font-size.css';
@import '../css/variables/border-radius.css';
@import '../css/variables/box-shadow.css';
@import '../css/variables/z-index.css';
@import '../css/variables/header.css';

/*
 * Overrides
 */
// Overrides put here (e.g. bootstrap grid override, lib ui overrides)

/*
 * Vendor
 */
// Vendor put here (e.g. animate.css, normalize.css)

// Base
@import 'base/general';

// Utils
@import 'utils/state';
@import 'utils/color';

// Shared (elements with common/shared style classes)
@import 'shared/page';
@import 'shared/layout';
@import 'shared/transition';

.stylelintrc.js
module.exports = {
  extends: [
    // https://github.com/constverum/stylelint-config-rational-order
    'stylelint-config-rational-order',
    // https://github.com/shannonmoeller/stylelint-config-prettier
    'stylelint-config-prettier'
  ],
  overrides: [
    {
      customSyntax: 'postcss-scss',
      files: ['./src/{assets/style,components,layouts,pages}/**/*.{css,sass,scss,less,stylus}']
    },
    {
      customSyntax: 'postcss-html',
      files: ['./src/*.vue', './src/**/*.vue']
    }
  ],
  plugins: [
    // https://github.com/kristerkari/stylelint-scss#list-of-rules
    'stylelint-scss',
    // https://github.com/hudochenkov/stylelint-order
    'stylelint-order',
    'stylelint-config-rational-order/plugin'
  ],
  rules: {
    indentation: [
      2,
      {
        baseIndentLevel: 0
      }
    ],
    'color-named': 'never',
    'color-function-notation': 'legacy',
    'at-rule-no-unknown': null,
    'declaration-empty-line-before': [
      'always',
      {
        except: ['after-declaration'],
        ignore: ['after-comment', 'first-nested', 'inside-single-line-block'],
        severity: 'warning'
      }
    ],
    'rule-empty-line-before': [
      'always',
      {
        ignore: ['after-comment', 'first-nested'],
        severity: 'warning'
      }
    ]
  }
}

package.json
{
  "private": true,
  "scripts": {
    "dev": "nuxt dev src",
    "build": "nuxt build src",
    "start": "nuxt start src",
    "generate": "nuxt generate src",
    "preview": "nuxt preview src",
    "postinstall": "nuxt prepare src",
    "lint:eslint": "eslint --ext .js,.ts,.vue,.pug --ignore-path .gitignore --ignore-path .eslintignore .",
    "lint:eslint:fix": "eslint --fix --ext .js,.ts,.vue,.pug --ignore-path .gitignore --ignore-path .eslintignore .",
    "lint:stylelint": "stylelint --ignore-path .stylelintignore \"src/{assets/style,components,layouts,pages}/**/*.{css,sass,scss,less,stylus,vue}\"",
    "lint:stylelint:fix": "stylelint --ignore-path .stylelintignore \"src/{assets/style,components,layouts,pages}/**/*.{css,sass,scss,less,stylus,vue}\" --fix",
    "prettier": "prettier --config ./.prettierrc.js --ignore-path ./.prettierignore --write \"**/*.{js,ts,json,css,scss,vue,html,pug}\" --end-of-line crlf",
    "commit": "cz"
  },
  "lint-staged": {
    "*.{ts,js,vue}": [
      "npm run lint:eslint",
      "npm run prettier"
    ],
    "*.json": [
      "npm run prettier"
    ],
    "src/{assets/style,components,layouts,pages}/**/*.{css,sass,scss,less,stylus,vue}": [
      "npm run lint:stylelint",
      "npm run prettier"
    ]
  },
  "devDependencies": {
    "@commitlint/cli": "^17.4.2",
    "@commitlint/config-conventional": "^17.4.2",
    "@nuxtjs/eslint-config-typescript": "^12.0.0",
    "@nuxtjs/eslint-module": "^4.1.0",
    "@nuxtjs/stylelint-module": "^5.1.0",
    "@prettier/plugin-pug": "^2.4.1",
    "@typescript-eslint/parser": "^5.59.11",
    "@volar-plugins/vetur": "^0.1.0",
    "@volar/vue-language-plugin-pug": "^1.0.24",
    "commitizen": "^4.3.0",
    "cz-conventional-changelog": "^3.3.0",
    "eslint": "^8.42.0",
    "eslint-config-prettier": "^8.8.0",
    "eslint-loader": "^4.0.2",
    "eslint-plugin-nuxt": "^4.0.0",
    "eslint-plugin-prettier": "^4.2.1",
    "eslint-plugin-vue": "^9.14.1",
    "husky": "4.2.5",
    "lint-staged": "^13.1.0",
    "nuxt": "^3.5.3",
    "postcss": "^8.4.21",
    "postcss-html": "^1.5.0",
    "postcss-scss": "^4.0.6",
    "prettier": "^2.8.4",
    "pug": "^3.0.2",
    "pug-plain-loader": "^1.1.0",
    "sass": "^1.58.0",
    "sass-loader": "^13.2.0",
    "stylelint": "^14.16.1",
    "stylelint-config-prettier": "^9.0.5",
    "stylelint-config-rational-order": "^0.1.2",
    "stylelint-order": "^6.0.2",
    "stylelint-scss": "^4.4.0",
    "vue-eslint-parser": "^9.3.1",
    "vue-eslint-parser-template-tokenizer-pug": "^0.4.10"
  },
  "config": {
    "commitizen": {
      "path": "cz-conventional-changelog"
    }
  }
}

My nuxt3 project and doesn't work on this, check link for the directory structure on my project:
https://stackblitz.com/github/selimdoyranli/nuxt3-boilerplate-issue
In addition my nuxt2 project and it works on this
https://stackblitz.com/github/selimdoyranli/nuxt2-boilerplate

/bounty $20

💎 $20 bounty created by @selimdoyranli
👉 To claim this bounty, submit your pull request on Algora
📝 Before proceeding, please make sure you can receive payouts in your country
💵 Payment arrives in your account 2-5 days after the bounty is rewarded
💯 You keep 100% of the bounty award
🙏 Thank you for contributing to nuxt-modules/stylelint!

Hi @selimdoyranli
Sorry for delay...
This module uses the vite-plugin-stylelint plugin under the hood.
Try enabling the chokidar option
See https://github.com/ModyQyW/vite-plugin-stylelint#chokidar

// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
  ...
  modules: [
    [
      '@nuxtjs/stylelint-module',
      {
        chokidar: true
      }
    ]
  ]
})

Hi @selimdoyranli Sorry for delay...
This module uses the vite-plugin-stylelint plugin under the hood.
Try enabling the chokidar option See https://github.com/ModyQyW/vite-plugin-stylelint#chokidar
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
  ...
  modules: [
    [
      '@nuxtjs/stylelint-module',
      {
        chokidar: true
      }
    ]
  ]
})

It didn't work. Please try editing the _general.scss file to debug the issue. For example, in this file body scope's color: red; (this banned rule) When I type, I should see an error message on the screen after HMR, but I don't. Only error message appears in terminal

Using the chokidar option, the vite plugin does not use transform and therefore the results only appear in the console

/attempt 89

/attempt #89

hi @selimdoyranli, the vite build did not error out, most likely because the underlying library vite-plugin-stylelint does not support failing builds on stylelint errors.
I've PR-ed to vite-plugin-stylelint to add the capability to failOnError. That should resolve the issue.

vite-plugin-stylelint supports failing builds on Stylelint errors. However, there are some exceptions.

only enable lintInWorker. Since the plugin is linting in worker, no plugin context that can be used. So we can't fail builds in this case.
only enable chokidar. To be honest, I think we can use plugin context in this case. But I test and find it failed, see https://github.com/ModyQyW/vite-plugin-stylelint/blob/main/src/index.ts#L95. Appreciate it if someone sends me a PR and fixes this, or I will back to it later.
enable both, follow 1.

@raphlcx Hey! Thanks for your PR! But I think it is going in the wrong direction. Correct me if I'm wrong. Thanks! 🙏

Actually, for Nuxt3 / Vite, would setting error on the plugin context prevent HMR from updating the browser? Should we utilise Vite's HMR API instead for handling or intercepting HMR updates?
Here's my experiment with nuxt-modules/eslint, which also sets error on plugin context.
First, I start the dev server using npm run dev.
Then, I intentionally modify Hello.vue to include non-compliant scripts:
// src/components/Hello.vue

<template lang="pug">
h1.hello hello 1
</template>

<script lang="ts">
console.log(1);
console.log(2);
</script>

<style lang="scss" src="./Hello.scss"></style>

And I noticed there's a number of ESLint errors on the terminal console:
..../src/components/Hello.vue
  6:15  error  Delete ;       prettier/prettier
  6:15  error  Extra semicolon  semi
  7:15  error  Delete ;       prettier/prettier
  7:15  error  Extra semicolon  semi

✖ 4 problems (4 errors, 0 warnings)
  4 errors and 0 warnings potentially fixable with the --fix option.

However, on my browser at localhost:3000, I'm still seeing successful console.log() calls on the browser console:
[vite] connecting... client.ts:18:8
[vite] connected. client.ts:133:14
1 Hello.vue:6:13
2 Hello.vue:7:8
<Suspense> is an experimental feature and its API will likely change. deps:1358:43

So, even by setting error on plugin context, the nuxt modules for ESLint also did not prevent HMR from delivering its updates to the browser, perhaps because it's not utilisng the HMR API? I might also be missing out something here.

https://github.com/nuxt-modules/stylelint/issues/89 is trying to handle this issue.

/attempt #89

I'm hoping that vite-plugin-stylelint 6.0.0-beta.0 will address the root cause of this issue and would like to gather feedback on it before the official release.
On @nuxtjs/stylelint-module 5.2.0, you can disable lintDirtyOnly to check all style files, including deep-imported files of course, but there is some performance loss.

vite-plugin-stylelint v6 is here. I would like to help migrate if you need it. Please let me know. 🙏


Include Message for Preview disclosure text that will be linked from the dashboard

Type of issue

[ ] Bug
[x] New feature
[ ] Improvement

Description
Just tracking it here so we don't forget to create the GitHub page to be linked. Details are in OneNote, PCSNotes, Documentation section

this is done.


Fix missing libmaxminddb

Fix problem with Docker image build failure because libmaxminddb was not found.

Merged. Thank you!


Attributes set on the svg element are not inherited.

In the following svg document, the red path should be rendered as a border surrounding the green rectangle. However, svg-native-viewer will render it as a red rectangle. "fill-rule" defined in svg element is not inherited by the children.
<svg width="100%" height="100%" viewBox="0 0 100 100" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill-rule="evenodd" clip-rule="evenodd">
    <g transform="matrix(1.21071,0,0,1.20782,1.32858,1.58746)">
       <rect x="2" y="8" width="76.402" height="64.165" fill="green"/>
       <path d="M78.402,8L2,8L2,72.165L78.402,72.165L78.402,8ZM4.065,10.07L4.065,70.095L76.337,70.095L76.337,10.07L4.065,10.07Z" fill="red"/>
    </g>
</svg>

Expected:

Output:

I think it's because svg node is bypassed during traversing:
https://github.com/adobe/svg-native-viewer/blob/1901c27b85e66809144e94b4de86f5b181158b1e/svgnative/src/SVGDocumentImpl.cpp#L98

Thank you for reporting! Please let me spend a few days to check this...

@WarWithinMe , thank you for reporting this, your titling of this issue is very helpful. I confirmed the issue, and the appearance is fixed if I insert the fill-rule to each elements.
In SVG Native Viewer, the inheritance of some attributes is implemented as stacks (please find mStrokeStyleStack, mFillStyleStack, and mGroupStack in SVGDocumentImpl class).
At present, no stack to store fill-rule or clip-rule. Maybe I should add them to resolve this issue.

Aren't fill-rule and clip-rule stored in FillStyle?
I think the root cause is that in void SVGDocumentImpl::TraverseSVGTree(XMLNode* rootNode), the svg's properties are completely ignored (not pushed on to the stacks). I guess other properties like fill-color set on the SVG node are also not inherited.
Currently my workaround is to patch SVGDocumentImpl:
L98:
ParseChildren(rootNode);

to:
ParseChild(rootNode);

And in void SVGDocumentImpl::ParseChild(XMLNode* child), I added a condition for svg node:
    else if (!strcmp(elementName, kSvgElem))
    {
        mFillStyleStack.push(fillStyle);
        mStrokeStyleStack.push(strokeStyle);

        ParseChildren(child);

        mFillStyleStack.pop();
        mStrokeStyleStack.pop();
    }

Aren't fill-rule and clip-rule stored in FillStyle?
Indeed, sorry for overlooking that. Also thanks to your proposed patch.

Just confirmed your patch fix this issue, thanks again! Please let me spend some time to understand the idea of the original author why ParseChildren() was used in this case.

@mpsuzuki Did you have a chance to see if this was an oversight? Didn't check myself yet.

I see why it was done: ParseChild is called by ParseChildren. In SVG Native, no descendant is allowed to be an <svg> element. This probably was an easy way to deal with that but didn't take inheritance into account.

Fixed by #122


cleaned up projects

👷 Deploy Preview for waterfrontiers processing.

Name
Link

🔨 Latest commit
9944e5acd629e5a371239dc11c9fab530461d437

🔍 Latest deploy log
https://app.netlify.com/sites/waterfrontiers/deploys/653a390e319b4d0008ec7d39


ENH: Support native Transport client (as alternative to http)

Currently the communication to ElasticSearch is via http.  It would be good to add support for using the native transport client (as embedded client or full embedded server).

perfect, waiting it! Early hopes for support

Nexus oss 3.x is use es embedded, it easy use, and use for file indexes. Please support

most do not use the database when using local or embedded es, such as nexus oss 3.x https://github.com/sonatype/nexus-public/blob/master/components/nexus-repository/src/main/java/org/sonatype/nexus/repository/search/SearchServiceImpl.java
And do not use the es cluster, there is performance overhead when using http access


Access to absolute path of schema file through client

Problem
I want to locate the schema file my client is basing itself upon through the client, enabling me to find the absolute path of the schema.prisma file through python without much hassle. This would make debugging easier.
Suggested solution
A function that returns the a path object pointing to the schema.prisma file the client is using.
Alternatives
I'm not too sure, the generator could as well store the schema path in an environment variable while generation is occuring.
Additional context
My actual problem isn't related to the client, but adding it would ease debugging. My libraries need to find a config file stored in the same directory as the schema, and prisma is my only dependency that generates a client based on a file, so my first thought was to see if prisma had such a function. (I can't use an absolute path because in production, it could be installed to either a global namespace or a virtual one, so i can't bank on knowing where my libraries will be)
Thanks for the good work Robert, I'm loving this client, it's my go to database solution for any project that needs one

This will be included in the next release:
from prisma import SCHEMA_PATH

print(SCHEMA_PATH)  # Path('/absolute/path/prisma/schema.prisma')

@RobertCraigie Might be a bug,
{
    "is_panic": false,
    "message": "\u001b[1;91merror\u001b[0m: \u001b[1mEnvironment variable not found: POSTGRES_DATABASE_URL.\u001b[0m\n  \u001b[1;94m-->\u001b[0m  \u001b[4mschema.prisma:4\u001b[0m\n\u001b[1;94m   | \u001b[0m\n\u001b[1;94m 3 | \u001b[0m    provider = \"postgresql\"\n\u001b[1;94m 4 | \u001b[0m    url      = \u001b[1;91menv(\"POSTGRES_DATABASE_URL\")\u001b[0m\n\u001b[1;94m   | \u001b[0m\n\nValidation Error Count: 1",
    "meta": {
        "full_error": "\u001b[1;91merror\u001b[0m: \u001b[1mEnvironment variable not found: POSTGRES_DATABASE_URL.\u001b[0m\n  \u001b[1;94m-->\u001b[0m  \u001b[4mschema.prisma:4\u001b[0m\n\u001b[1;94m   | \u001b[0m\n\u001b[1;94m 3 | \u001b[0m    provider = \"postgresql\"\n\u001b[1;94m 4 | \u001b[0m    url      = \u001b[1;91menv(\"POSTGRES_DATABASE_URL\")\u001b[0m\n\u001b[1;94m   | \u001b[0m\n\nValidation Error Count: 1"
    },
    "error_code": "P1012"
}

This happens when I CD into a directory and run my scripts,
├── database_handler
│   ├── database_handler
│   │   ├── __init__.py
│   │   └── main.py
│   └── setup.py
├── prisma
│   └── schema.prisma
├── README.md
├── .env
└── temp
    ├── test_packages
    │   ├── add_fake_data.py
    │   ├── get_server.py
    │   └── __init__.py
    └── use.py

When I CD into the temp directory and run use.py, I get an error, whereas when I run it from the root directory (parent directory of temp), I don't get the error.
This isn't a bug relating to the schema file's position, but a bug regarding where Prisma reads .env from. In my opinion, Prisma should be reading .env files in the root directory, ie, SCHEMA_PATH.parent / ".env" , instead of making it relative to where Prisma is being imported and run from.
To make that more concise, Prisma shouldn't search for .env files based on CWD, rather, the parent directory of the prisma folder.

@TheOnlyWayUp Sorry I'm only just seeing this.
Yeah that proposed behaviour makes a lot of sense. Ultimately it's tied to the internal behaviour of the Prisma CLI as any mismatch between the client and the CLI could result in very confusing errors.
Do you know if that is how the CLI behaves?


Refactor and test readGenerator

Issue #296

This is the same PR as #313 except this PR is made against the develop branch instead of master

Looks good @dcolligan, thanks. I have a suggestion for a slightly different interface that might make things a little easier to generalise and test. What do you think?

what would be the definition of the getStart and getEnd methods for variants?  is it just returning variant.start and variant.end, respectively?

Exactly, yeah. The advantage is that we're abstracting the details of how we find the start and end of the intervals, so we can use the same code to work with variants and reads.

@jeromekelleher pushed update

This is great, thanks @dcolligan! I have a few suggestions which I think will make it even nicer...

pushed a new commit

@jeromekelleher pushed a new commit

@jeromekelleher pushed a new commit

Superb; +1, modulo the minor suggestion above.

@macieksmuga, are you happy with this PR? I suggest we merge it, and then update your big PR based on this.

@macieksmuga pushed a change rebased on top of latest develop... could you merge if you're happy with it?

Can we merge this soon?  It's been open for two weeks...

Yep, happy.
Sorry, was under mistaken impression I had already given it my +1

Merged; thanks for this @dcolligan.


Identifiers validation failed for dataset Soil macrofauna communities in various land uses in and neighboring the Mata do Uru Private Reserve, Lapa, Paraná state, Brazil

Identifier validation failed for the dataset Soil macrofauna communities in various land uses in and neighboring the Mata do Uru Private Reserve, Lapa, Paraná state, Brazil:

Crawler attempt: 38
Publishing organization: Embrapa Forestry
Publishing country: BRAZIL
Installation: IPT Sistema de Informação sobre a Biodiversidade Brasileira - SiBBr
Number of occurrences indexed for this dataset at the time of the issue: 2700
Cause: GBIF ID problems exceed 50% threshold: 100% duplicates; 2700 total records; 2700 absent records
Pipelines execution steps: http://api.gbif.org/v1/pipelines/history/execution/3364035/step

New IDs sample:

Old IDs sample:

BR:PEMG_2015/2016_wet_AtlanticForest_Lawn_Monolito 1_layer_0-20_1
BR:PEMG_2015/2016_wet_AtlanticForest_Lawn_Monolito 1_layer_0-20_10
BR:PEMG_2015/2016_wet_AtlanticForest_Lawn_Monolito 1_layer_0-20_11
BR:PEMG_2015/2016_wet_AtlanticForest_Lawn_Monolito 1_layer_0-20_12
BR:PEMG_2015/2016_wet_AtlanticForest_Lawn_Monolito 1_layer_0-20_13
BR:PEMG_2015/2016_wet_AtlanticForest_Lawn_Monolito 1_layer_0-20_14
BR:PEMG_2015/2016_wet_AtlanticForest_Lawn_Monolito 1_layer_0-20_15
BR:PEMG_2015/2016_wet_AtlanticForest_Lawn_Monolito 1_layer_0-20_16
BR:PEMG_2015/2016_wet_AtlanticForest_Lawn_Monolito 1_layer_0-20_17
BR:PEMG_2015/2016_wet_AtlanticForest_Lawn_Monolito 1_layer_0-20_18

Publisher email
Hello,
I am contacting you from the GBIF Secretariat about a dataset published by the Soil macrofauna communities in various land uses in and neighboring the Mata do Uru Private Reserve, Lapa, Paraná state, Brazil : https://doi.org/10.15468/h8y7f5.
We noticed that the occurrenceIDs were changed. We have temporarily paused the ingestions of this dataset.
As you might already know, when an occurrence record has a new occurrenceID for a given dataset, our system considers it to be a new occurrence.
This means that it will be given a new gbifid and a new occurrence URL (like this one: https://www.gbif.org/occurrence/1252968762) and the old gbifid and URL will be deprecated.
In this case, this means that the occurrence URLs would be deprecated when ingesting the newest versions of these datasets.
We would like to check with you if those changes were intentional. Do you know if this is the case?
Please let us know, thanks! We are happy to resume the dataset ingestion.
Note that some users rely on those occurrence URLs and gbifids (like https://bionomia.net for example). In an attempt to improve
the stability of the occurrence URLs and gbifids, we have implemented a warning system to detect these type of changes in datasets (see this news item).
If the data publisher can provide us with a list of old and new occurrenceIDs per record, we can avoid the identifier and URL changes. Could that be an option?
Please let us know if you have any question. Thanks!
All the best,

You can skip/fix identifier validation using the registry UI.

Identifier validation still  failing for the dataset Soil macrofauna communities in various land uses in and neighboring the Mata do Uru Private Reserve, Lapa, Paraná state, Brazil:

Crawler attempt: 39
Publishing organization: Embrapa Forestry
Publishing country: BRAZIL
Installation: IPT Sistema de Informação sobre a Biodiversidade Brasileira - SiBBr
Number of occurrences indexed for this dataset at the time of the issue: 2700
Cause: GBIF ID problems exceed 50% threshold: 100% duplicates; 2700 total records; 2700 absent records
Pipelines execution steps: http://api.gbif.org/v1/pipelines/history/execution/3367177/step

New IDs sample:

Old IDs sample:

BR:PEMG_2015/2016_wet_AtlanticForest_Lawn_Monolito 1_layer_0-20_1
BR:PEMG_2015/2016_wet_AtlanticForest_Lawn_Monolito 1_layer_0-20_10
BR:PEMG_2015/2016_wet_AtlanticForest_Lawn_Monolito 1_layer_0-20_11
BR:PEMG_2015/2016_wet_AtlanticForest_Lawn_Monolito 1_layer_0-20_12
BR:PEMG_2015/2016_wet_AtlanticForest_Lawn_Monolito 1_layer_0-20_13
BR:PEMG_2015/2016_wet_AtlanticForest_Lawn_Monolito 1_layer_0-20_14
BR:PEMG_2015/2016_wet_AtlanticForest_Lawn_Monolito 1_layer_0-20_15
BR:PEMG_2015/2016_wet_AtlanticForest_Lawn_Monolito 1_layer_0-20_16
BR:PEMG_2015/2016_wet_AtlanticForest_Lawn_Monolito 1_layer_0-20_17
BR:PEMG_2015/2016_wet_AtlanticForest_Lawn_Monolito 1_layer_0-20_18

Publisher email
Hello,
I am contacting you from the GBIF Secretariat about a dataset published by the Soil macrofauna communities in various land uses in and neighboring the Mata do Uru Private Reserve, Lapa, Paraná state, Brazil : https://doi.org/10.15468/h8y7f5.
We noticed that the occurrenceIDs were changed. We have temporarily paused the ingestions of this dataset.
As you might already know, when an occurrence record has a new occurrenceID for a given dataset, our system considers it to be a new occurrence.
This means that it will be given a new gbifid and a new occurrence URL (like this one: https://www.gbif.org/occurrence/1252968762) and the old gbifid and URL will be deprecated.
In this case, this means that the occurrence URLs would be deprecated when ingesting the newest versions of these datasets.
We would like to check with you if those changes were intentional. Do you know if this is the case?
Please let us know, thanks! We are happy to resume the dataset ingestion.
Note that some users rely on those occurrence URLs and gbifids (like https://bionomia.net for example). In an attempt to improve
the stability of the occurrence URLs and gbifids, we have implemented a warning system to detect these type of changes in datasets (see this news item).
If the data publisher can provide us with a list of old and new occurrenceIDs per record, we can avoid the identifier and URL changes. Could that be an option?
Please let us know if you have any question. Thanks!
All the best,

You can skip/fix identifier validation using the registry UI.


@description tag missing from default

Search Terms
description,since,block
Problem
Like @since (#2614), @description is a valid JSdoc tag. When properly used in an IDE it shows up like this:
From:

To:

... in the rendered view indicating more description/expanding from the "title." It might have been removed as the default by accident.
Suggested Solution
I am working on a PR.

If there's both a description at the beginning of a JSDoc comment and a description provided with the @description tag, the description specified with the @description will override the description at the beginning of the comment. - JSDoc

This behavior is not respected by typedoc, and frankly it sounds like a terrible idea to me, which is why @description is not included in the list of default tags.
As your IDE obviously isn't following this behavior either, my question is - why is this tag useful over just including a paragraph break in the comment summary section?
/**
 * Some docs
 *
 * More docs that were previously under `@description
 */

@Gerrit0 I see the “title” of the function/code as one thing and a more description about what it does in its own section.  While I can see this as a burden to add, JSDOC shows https://jsdoc.app/tags-description being a type. Though it notes that the tag overrides the rest of the comment.
The  https://jsdoc.app/tags-summary tag seems to be the “short” description and/or  summary of what the long stuff. Maybe switch this out for @summary ,,,,

It sounds like what you want is provided by TypeDoc's @remarks tag.
The @summary tag isn't a great fit either as typedoc renders the non-tagged content first.

@Gerrit0 Remarks it is! 👍


Sponsor/backer icons↔links are of by one

Clicking on the second icon (with dotted border in the screenshot; having id 1 in the URL), I reach the opencollective profile page corresponding to the first icon.

@simon04 can you test #1159 and see if this resolves that issue? (I bet it does)

Yes, this issue is fixed with #1159.


[BUG] - ffmpeg exited with code 1

FFmpeg errors out when trying to view the stream. I am able to view the stream with the same camera using homebridge-camera-ffmpeg. I compared the how both are starting the stream and the only difference seems to be "-vf scale=1280:720" while using dafang plugin.
homebridge-dafang
ffmpeg -i rtsp://<IP_ADDRESS>:8554/unicast -map 0:0 -vcodec copy -pix_fmt yuv420p -r 15 -f rawvideo -fflags +genpts+discardcorrupt -vf scale=1280:720 -b:v 299k -bufsize 299k -maxrate 299k -payload_type 99 -ssrc 8856484 -f rtp -srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params w9Dkt+stdHMs8zvNkhl8izPxN93YgJzefq+Ot+bS srtp://<IP_ADDRESS>:55571?rtcpport=55571&localrtcpport=55571&pkt_size=1316
homebridge-camera-ffmpeg
ffmpeg -i rtsp://<IP_ADDRESS>:8554/unicast -map 0:0 -vcodec copy -pix_fmt yuv420p -r 15 -f rawvideo -fflags +genpts+discardcorrupt -b:v 299k -bufsize 299k -maxrate 299k -payload_type 99 -ssrc 1222423 -f rtp -srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params MXrm3B4GnA+FA4nY6j2YixqPu96AZaQvRVfDX6Jx srtp://<IP_ADDRESS>:54565?rtcpport=54565&localrtcpport=54565&pkt_size=1316 -loglevel debug
I've attached my config.json
config.txt

I'm having this same issue, I just tried removing that line in camera.js to no avail. Here's my error:
[3/6/2020, 20:54:05] [Dafang] Start streaming video from Zen Room Dafang with 1280x720@299kBit ffmpeg -rtsp_transport tcp -re -i rtsp://<IP_ADDRESS>:8554/unicast -map 0:0 -vcodec libx264 -pix_fmt yuv420p -r 15 -f rawvideo -tune zerolatency -vf scale=1280:720 -b:v 299k -bufsize 299k -maxrate 299k -payload_type 99 -ssrc 14656319 -f rtp -srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params plpJrtFptHbJCNGF6ub9dgsUbe9QuMNXHqwe3s4o srtp://<IP_ADDRESS>:56689?rtcpport=56689&localrtcpport=56689&pkt_size=1316 -map 0:1 -acodec libfdk_aac -profile:a aac_eld -flags +global_header -f null -ar 16k -b:a 24k -bufsize 24k -ac 1 -payload_type 110 -ssrc 9453863 -f rtp -srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params Zyc0/OFV29X5igxwQz3jrJTlfA3ULBJYKwzi0Y9s srtp://<IP_ADDRESS>:65413?rtcpport=65413&localrtcpport=65413&pkt_size=1316 [3/6/2020, 20:54:07] [Dafang] ERROR: FFmpeg exited with code 1

I'm having this same issue, I just tried removing that line in camera.js to no avail. Here's my error:
[3/6/2020, 20:54:05] [Dafang] Start streaming video from Zen Room Dafang with 1280x720@299kBit ffmpeg -rtsp_transport tcp -re -i rtsp://<IP_ADDRESS>:8554/unicast -map 0:0 -vcodec libx264 -pix_fmt yuv420p -r 15 -f rawvideo -tune zerolatency -vf scale=1280:720 -b:v 299k -bufsize 299k -maxrate 299k -payload_type 99 -ssrc 14656319 -f rtp -srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params plpJrtFptHbJCNGF6ub9dgsUbe9QuMNXHqwe3s4o srtp://<IP_ADDRESS>:56689?rtcpport=56689&localrtcpport=56689&pkt_size=1316 -map 0:1 -acodec libfdk_aac -profile:a aac_eld -flags +global_header -f null -ar 16k -b:a 24k -bufsize 24k -ac 1 -payload_type 110 -ssrc 9453863 -f rtp -srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params Zyc0/OFV29X5igxwQz3jrJTlfA3ULBJYKwzi0Y9s srtp://<IP_ADDRESS>:65413?rtcpport=65413&localrtcpport=65413&pkt_size=1316 [3/6/2020, 20:54:07] [Dafang] ERROR: FFmpeg exited with code 1

Try “audio” : false in config.json  in videoConfig section

I'm having this same issue, I just tried removing that line in camera.js to no avail. Here's my error:
[3/6/2020, 20:54:05] [Dafang] Start streaming video from Zen Room Dafang with 1280x720@299kBit ffmpeg -rtsp_transport tcp -re -i rtsp://<IP_ADDRESS>:8554/unicast -map 0:0 -vcodec libx264 -pix_fmt yuv420p -r 15 -f rawvideo -tune zerolatency -vf scale=1280:720 -b:v 299k -bufsize 299k -maxrate 299k -payload_type 99 -ssrc 14656319 -f rtp -srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params plpJrtFptHbJCNGF6ub9dgsUbe9QuMNXHqwe3s4o srtp://<IP_ADDRESS>:56689?rtcpport=56689&localrtcpport=56689&pkt_size=1316 -map 0:1 -acodec libfdk_aac -profile:a aac_eld -flags +global_header -f null -ar 16k -b:a 24k -bufsize 24k -ac 1 -payload_type 110 -ssrc 9453863 -f rtp -srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params Zyc0/OFV29X5igxwQz3jrJTlfA3ULBJYKwzi0Y9s srtp://<IP_ADDRESS>:65413?rtcpport=65413&localrtcpport=65413&pkt_size=1316 [3/6/2020, 20:54:07] [Dafang] ERROR: FFmpeg exited with code 1

Try “audio” : false in config.json in videoConfig section

Nahh, still not working =/

I'm having this same issue, I just tried removing that line in camera.js to no avail. Here's my error:
[3/6/2020, 20:54:05] [Dafang] Start streaming video from Zen Room Dafang with 1280x720@299kBit ffmpeg -rtsp_transport tcp -re -i rtsp://<IP_ADDRESS>:8554/unicast -map 0:0 -vcodec libx264 -pix_fmt yuv420p -r 15 -f rawvideo -tune zerolatency -vf scale=1280:720 -b:v 299k -bufsize 299k -maxrate 299k -payload_type 99 -ssrc 14656319 -f rtp -srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params plpJrtFptHbJCNGF6ub9dgsUbe9QuMNXHqwe3s4o srtp://<IP_ADDRESS>:56689?rtcpport=56689&localrtcpport=56689&pkt_size=1316 -map 0:1 -acodec libfdk_aac -profile:a aac_eld -flags +global_header -f null -ar 16k -b:a 24k -bufsize 24k -ac 1 -payload_type 110 -ssrc 9453863 -f rtp -srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params Zyc0/OFV29X5igxwQz3jrJTlfA3ULBJYKwzi0Y9s srtp://<IP_ADDRESS>:65413?rtcpport=65413&localrtcpport=65413&pkt_size=1316 [3/6/2020, 20:54:07] [Dafang] ERROR: FFmpeg exited with code 1

Try “audio” : false in config.json in videoConfig section

I think the most annoying part of all of this is that everything else is working so well. I got MQTT notifications working 100%, still images show just fine, its just the damn video that I cannot for the life of me get to stream correctly...

I'm having this same issue, I just tried removing that line in camera.js to no avail. Here's my error:
[3/6/2020, 20:54:05] [Dafang] Start streaming video from Zen Room Dafang with 1280x720@299kBit ffmpeg -rtsp_transport tcp -re -i rtsp://<IP_ADDRESS>:8554/unicast -map 0:0 -vcodec libx264 -pix_fmt yuv420p -r 15 -f rawvideo -tune zerolatency -vf scale=1280:720 -b:v 299k -bufsize 299k -maxrate 299k -payload_type 99 -ssrc 14656319 -f rtp -srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params plpJrtFptHbJCNGF6ub9dgsUbe9QuMNXHqwe3s4o srtp://<IP_ADDRESS>:56689?rtcpport=56689&localrtcpport=56689&pkt_size=1316 -map 0:1 -acodec libfdk_aac -profile:a aac_eld -flags +global_header -f null -ar 16k -b:a 24k -bufsize 24k -ac 1 -payload_type 110 -ssrc 9453863 -f rtp -srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params Zyc0/OFV29X5igxwQz3jrJTlfA3ULBJYKwzi0Y9s srtp://<IP_ADDRESS>:65413?rtcpport=65413&localrtcpport=65413&pkt_size=1316 [3/6/2020, 20:54:07] [Dafang] ERROR: FFmpeg exited with code 1

Looks like yours is starting the stream with “vfscale” which was causing the issue for me.
Does your camera work with homebridge-camera-ffmpeg?

@jcbshw Last time I tried it with ffmpeg it did.
It worked for about 30 seconds after one time of messing with the configs (didn't do anything really differently) then it just stopped working again.
Do you think this would work better if I ran a different homebridge instance on a Debian or Ubuntu VM, as opposed to running on the rPi?

@billyjacoby
I am running it on my RPi 4 using docker-homebride without any issue. If you use the "copy" codec it doesn't encode the video and just transmits it as it to homekit so the RPi is suitable for that. I'd try to get it working in homebridge-camera-ffmpeg first as they have more support with issues, then use those same settings with homebridge-dafang.
I've attached my latest config.json for my camera. I've also removed line 308 from camera.js.
dafang.json

Your config hasn't worked for me either =/
I don't have a user/password setup yet, and I don't think my still image would be available via SSL.
I'm on a rPi 3 as well, im going to spin up a docker version and see if that works..

@billyjacoby can you please share a working config? I'm trying to figure this one out.

here's my whole config sans local IP addresses:
{
            "platform": "Dafang",
            "mqtt": {
                "hostBroker": false,
                "port": 1883,
                "host": "defang.local"
            },
            "cameras": [
                {
                    "cameraName": "Zen Room Dafang",
                    "cameraRTSPStreamUrl": "rtsp://CAMERA-IP-ADDRESS:8554/unicast",
                    "disableStream": false,
                    "mqttTopic": "myhome/dafang/#",
                    "folder": "/home/pi/dafang/recordings/",
                    "debug": true,
                    "accessories": [
                        {
                            "name": "Zen Room Rich Motion Sensor",
                            "type": "richMotionSensor",
                            "threshold": 300000
                        }
                    ],
                    "videoConfig": {
                        "audio": false,
                        "maxBitrate": 5000,
                        "maxWidth": 1280,
                        "maxHeight": 720,
                        "maxFPS": 15,
                        "maxStreams": 2,
                        "source": "-i rtsp://CAMERA-IP-ADDRESS:8554/unicast",
                        "stillImageSource": "-i https://CAMERA-IP-ADDRESS/cgi-bin/currentpic.cgi",
                        "vcodec": "copy",
                        "additionalCommandline": "-fflags +genpts+discardcorrupt",
                        "debug": false
                    }
                }
            ]
        }

Let me know if you have any other questions that I can help with!

By any chance, is "defang.local" meant to be "dafang.local"?

I ran into a very similar problem here. The few takeaways after using camera-ffmpeg and homebridge-dafang.
With camera-ffmpeg, I would always get exited with code 1 when audio was set to true. Changing it to false worked. It may have had to do with my original ffmpeg installation. I don't think I included the aac option.
With homebridge-dafang, I was able to get default video configuration to work after installing the ffmpeg variation with  --with-openh264 --with-fdk-aac as stated in the plugin's read me. But when switching vcodec to copy, I would get the exited with code 1 error again. Commenting out  -vf scale=' + width + ':' + height + from camera.js is what finally worked as suggested earlier.
I also tried switching from the default still image snapshot that uses the rtsp feed to the jpeg feed by using "stillImageSource": "-i https://CAMERA-IP-ADDRESS/cgi-bin/currentpic.cgi", but this too didn't work for me! You need to add the id:password@ of your camera's web ui (root:ismart12@ when you first set it up) to the address. This is different from the one you set in configuration>video in the camera's web ui. This speeds up the refresh by about 2 seconds..

here's my whole config sans local IP addresses:
{
            "platform": "Dafang",
            "mqtt": {
                "hostBroker": false,
                "port": 1883,
                "host": "defang.local"
            },
            "cameras": [
                {
                    "cameraName": "Zen Room Dafang",
                    "cameraRTSPStreamUrl": "rtsp://CAMERA-IP-ADDRESS:8554/unicast",
                    "disableStream": false,
                    "mqttTopic": "myhome/dafang/#",
                    "folder": "/home/pi/dafang/recordings/",
                    "debug": true,
                    "accessories": [
                        {
                            "name": "Zen Room Rich Motion Sensor",
                            "type": "richMotionSensor",
                            "threshold": 300000
                        }
                    ],
                    "videoConfig": {
                        "audio": false,
                        "maxBitrate": 5000,
                        "maxWidth": 1280,
                        "maxHeight": 720,
                        "maxFPS": 15,
                        "maxStreams": 2,
                        "source": "-i rtsp://CAMERA-IP-ADDRESS:8554/unicast",
                        "stillImageSource": "-i https://CAMERA-IP-ADDRESS/cgi-bin/currentpic.cgi",
                        "vcodec": "copy",
                        "additionalCommandline": "-fflags +genpts+discardcorrupt",
                        "debug": false
                    }
                }
            ]
        }

Let me know if you have any other questions that I can help with!

Can you post or do screenshot with video setting in your cam.


fix(versions): update Activiti/activiti-cloud-full-chart-security versions

UpdateBot pushed helm dependency: activiti-cloud-full-example to: 7.1.129

UpdateBot commands:
updatebot push-version --kind helm activiti-cloud-full-example 7.1.129


Refactor DirectEmbedding

Move LiftingTransformer into separate ReifyAsEmbedding
module, allowing more flexibility for adding other kinds
of transformations
Improve error handling for missing reifyAs annotations
Add support for blocks
Improve minor wording issues in README

Review by @vjovanov

Otherwise, LGTM.

Formatting fixed @vjovanov


edns makeDataOpt function needs to assign the code value

Just need to confirm this with you first; before working on a potential PR.
in most of EDNS0 comments (like here) you've mentioned e.Code needs to be explicitly set. However, in here none of the codes are present so the packed/unpacked version will always have value 0 for Code.

Had to double check, but it's filed in from the wire here: https://github.com/miekg/dns/blob/master/msg_helpers.go#L427
Unsure if it make sense to add a comment to makeDataOpt?

aaah now it makes more sense. thanks for the clarification. you reckon it'll be useful to add a comment here mentioning "it's unpacked from the wire" or just leave it as it is?

Seems to warrent a comment. Please send a PR. Cheers!
On Thu, 5 Jan 2023, 21:47 Ali Mosajjal, @.***> wrote:

aaah now it makes more sense. thanks for the clarification. you reckon
it'll be useful to add a comment here
https://github.com/miekg/dns/blob/4bd038eb7616bf9225289bdfb58f4de1e6f55751/edns.go#L266
mentioning "it's unpacked from the wire" or just leave it as it is?
—
Reply to this email directly, view it on GitHub
https://github.com/miekg/dns/issues/1407#issuecomment-1372727435, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AACWIW3SO5FRRCENTPYZHADWQ4XOTANCNFSM6AAAAAATRMR264
.
You are receiving this because you commented.Message ID:
@.***>


[postGreSQL]$config['db_debug'] problem

I test my scripts on PostGreSQL with the trunk codeIgniter, if I set db config
$config['db_debug'] = TRUE;
cause
A Database Error Occurred
Unable to connect to your database server using the provided settings.
Filename: core/Loader.php
Line Number: 336
set to FALSE, works ok.

This doesn't make any sense ... can you be a little bit more descriptive?


Can this project set api_base? I don't seem to see it

I want to set api_base, but I can't seem to find a way to set it?
Just like OpenAI's official Python library:
openai.api_base = "https://api.mctools.online/v1"

@JVFCN Please check it https://github.com/sashabaranov/go-openai/issues/405#issuecomment-1603914033


request help: apisix ingress controller with Dapr

I want to use apisix with dapr, how to configure？ I found a ngnix ingress with dapr https://dev.to/stevenjdh/create-a-kubernetes-nginx-controller-with-dapr-support-3e8n  , apisix should be configured to achieve the same functionality

Hi @tokers, would you please take a look at this issue 😄

@geffzhang The idea should similar, what you need to do is try to let Dapr inject the APISIX Pod, and create a series ApisixRoute and ApisixUpstream resources let the APISIX proxy traffic to the local Dapr sidecar.

@tokers  I can't inject  dapr  APISIX pod ,

/usr/local/openresty/luajit/bin/luajit ./apisix/cli/apisix.lua init
Tue, Sep 28 2021 6:16:14 pm |
Tue, Sep 28 2021 6:16:14 pm | WARNING: using fixed Admin API token has security risk.
Tue, Sep 28 2021 6:16:14 pm | Please modify "admin_key" in conf/config.yaml .
Tue, Sep 28 2021 6:16:14 pm |
Tue, Sep 28 2021 6:16:14 pm |
Tue, Sep 28 2021 6:16:14 pm | /usr/local/openresty/luajit/bin/luajit ./apisix/cli/apisix.lua init_etcd
Tue, Sep 28 2021 6:16:15 pm | 2021/09/28 10:16:15 [warn] 1#1: low address bits of <IP_ADDRESS>/24 are meaningless in /usr/local/apisix/conf/nginx.conf:211
Tue, Sep 28 2021 6:16:15 pm | nginx: [warn] low address bits of <IP_ADDRESS>/24 are meaningless in /usr/local/apisix/conf/nginx.conf:211
Tue, Sep 28 2021 6:16:15 pm | 2021/09/28 10:16:15 [emerg] 1#1: bind() to <IP_ADDRESS>:9090 failed (98: Address in use)
Tue, Sep 28 2021 6:16:15 pm | nginx: [emerg] bind() to <IP_ADDRESS>:9090 failed (98: Address in use)
Tue, Sep 28 2021 6:16:15 pm | 2021/09/28 10:16:15 [emerg] 1#1: bind() to <IP_ADDRESS>:9090 failed (98: Address in use)
Tue, Sep 28 2021 6:16:15 pm | nginx: [emerg] bind() to <IP_ADDRESS>:9090 failed (98: Address in use)
Tue, Sep 28 2021 6:16:16 pm | 2021/09/28 10:16:15 [emerg] 1#1: bind() to <IP_ADDRESS>:9090 failed (98: Address in use)
Tue, Sep 28 2021 6:16:16 pm | nginx: [emerg] bind() to <IP_ADDRESS>:9090 failed (98: Address in use)
Tue, Sep 28 2021 6:16:16 pm | 2021/09/28 10:16:15 [emerg] 1#1: bind() to <IP_ADDRESS>:9090 failed (98: Address in use)
Tue, Sep 28 2021 6:16:16 pm | nginx: [emerg] bind() to <IP_ADDRESS>:9090 failed (98: Address in use)
Tue, Sep 28 2021 6:16:17 pm | 2021/09/28 10:16:15 [emerg] 1#1: bind() to <IP_ADDRESS>:9090 failed (98: Address in use)
Tue, Sep 28 2021 6:16:17 pm | nginx: [emerg] bind() to <IP_ADDRESS>:9090 failed (98: Address in use)
Tue, Sep 28 2021 6:16:17 pm | 2021/09/28 10:16:15 [emerg] 1#1: still could not bind()
Tue, Sep 28 2021 6:16:17 pm | nginx: [emerg] still could not bind()

@geffzhang Could you try to figure out which program is listing on the 9090 port? It occupies it so Apache APISIX cannot be launched.

From the logs 'Tue, Sep 28 2021 6:16:17 pm | nginx: [emerg] bind() to <IP_ADDRESS>:9090 failed (98: Address in use)', should check the configurations about port both in apisix and dapr.

https://apisix.apache.org/zh/blog/2021/11/17/dapr-with-apisix/#基本项目概览
We have a blog post for this one.


After logout() the user is able to enter the app again without credentials

Core Library
MSAL.js v1 (@azure/msal or msal)
Core Library Version
1.3.3
Wrapper Library
MSAL Angular (@azure/msal-angular)
Wrapper Library Version
1.0.0
Description
My issue is similar to this issue and the issue described in this comment
I am calling logout() on signout button click, but it only redirects to post-redirect-uri and does not logs out the user. When the user clicks "login", he is logged in again without being required to enter his credentials.
This is a serious security issue for users who login to our application on devices shared by multiple users, then logout thinking that they have prevented someone from accessing their account.
I have already gone through many closed issues (including the ones mentioned above) hoping to find a proper documented solution but unfortunately did not get it. Hence opening this same again.
Error Message
No response
Msal Logs
No response
MSAL Configuration
msalConfig: {
    auth: {
      clientId: clientId,
      authority: 'https://login.microsoftonline.com/tenantId/',
      validateAuthority: true,
      redirectUri: 'http://localhost:8100/',
      postLogoutRedirectUri: 'http://localhost:8100/',
      navigateToLoginRequestUrl: true
    },
    cache: {
      cacheLocation: 'localStorage',
      storeAuthStateInCookie: isIE, // set to true for IE 11
    },
    framework: {
      unprotectedResources: ['https://www.microsoft.com/en-us/'],
      protectedResourceMap: new Map(protectedResourceMap)
    },
    system: {
      logger: new Logger(loggerCallback)
    }
  }

Relevant Code Snippets
import { MsalService } from '@azure/msal-angular';

constructor(
  private authService: MsalService
) {}

logout() {
  this.authService.logout();
}

Reproduction Steps

Create an Ionic/Angular app
Install the @azure/msal-angular v1.0.0 and msal v1.3.3 plugins
Setup the MSAL configurations and other app configurations as mentioned in this guide
Run the app, login in the app with Microsoft account and after successful authentication user should be redirected to the redirectUrl mentioned in the MSAL configuration
Call logout() of the MsalService. User is asked to select which account the user wants to log out from.
Select the account and the user will be logged out.
Now try to login again in the app, user gets logged in the app without entering credentials.

Expected Behavior
After logging out of the app, user should be prompted to enter credentials again while trying to log in the app.
Identity Provider
Azure AD / MSA
Browsers Affected (Select all that apply)
Chrome, Firefox, Safari
Regression
No response
Source
Internal (Microsoft)

@SnehalJ1509 This is a common issue that may be caused by the OS injecting the cookies of the current account into the browser. We are investigating ways to mitigate this on our end. One workaround you can try is to use a client-side cookie to inform you if a user has logged out, and do not call any MSAL APIs if you detect this cookie.

@pkanher617 thanks for giving some insight. I am not sure how to access/use the client-side cookie as you have mentioned but I'll give it a try.
While going through different issues and docs I came across this Single sign-out doc. So this issue won't be fixed by even after adding a LogoutUrl in the portal right?

Hi @SnehalJ1509
To answer you later question, no, Single sign-out is meant to log out a user from multiple applications but as you mentioned you only have one application to logout from. The explanation and solution explained above by @pkanher617 is the current solution as we work on a permanent solution to mitigate the OS injected cookie from our end.

@samuelkubai thanks for answering. I am not sure how to access/use the client-side cookies. I'll check that and it would be great if you can also give some reference urls for the same.

@pkanher617 @samuelkubai another question was that this issue is only with v1.x or also for v2.x? Upgrading the plugin to latest @azure/msal-angular version will fix the issue or not?

@SnehalJ1509

I am not sure how to access/use the client-side cookies. I'll check that and it would be great if you can also give some reference urls for the same.

This would be something that you would be responsible for implementing. There are no cookies set by MSAL.js for this purpose.

another question was that this issue is only with v1.x or also for v2.x? Upgrading the plugin to latest @azure/msal-angular version will fix the issue or not?

This will be an issue on both versions as this is an issue caused by the OS injecting cookies into your browser.

This would be something that you would be responsible for implementing. There are no cookies set by MSAL.js for this purpose.

@tnorling ok, then that will require some R&D to implement it.

This will be an issue on both versions as this is an issue caused by the OS injecting cookies into your browser.

When can we expect this to be fixed? any timeline set for this?

One workaround you can try is to use a client-side cookie to inform you if a user has logged out, and do not call any MSAL APIs if you detect this cookie.

@pkanher617 @samuelkubai @tnorling  I've figured out how to use the cookies but I still don't get this approach.
Let us say when the user logs in the app I set a cookie and when user clicks logout, at that time if I find that cookie then instead of calling the MSAL API (this.authService.logout()) should I just clear the localStorage and redirect user to app login page?
When user clicks on login will he be asked to enter credentials again?

After doing some testing again, we found that now it is working in desktop Chrome and Firefox. But it is not working in iPad Safari in one specific scenario.
As we have corporate devices, they are MDM enrolled and while enrolling few certificates get installed in the device. So when we try to login we get an option to use the certificate for password-less login. See below screenshot.

If the device is enrolled in 1st user's name and he/she clicks on continue then without asking for password it logs in the app. Now when we do logout and try to login with other account (2nd user), at that time it automatically picks up the previous user and doesn't ask for password and logs in with his/her account (this is where the problem is).
But if the 1st user clicks on cancel and enters the password manually, logs in the app, logs out and then we try to login with other account (2nd user), at this time it again shows the same popup to use the certificate. But now if we click on cancel then the 2nd user can enter his/her password and can login with his/her account. If the 2nd user clicks on continue instead of cancel then again 1st user's account is picked up and logged in.
So when we use the certificate somehow credentials are getting cached and doesn't let the 2nd user use their credentials after 1st user logs out.

@oldalton Can your team help here? Is this scenario by design for an MDM enrolled device?
@SnehalJ1509 This may fall out of scope for MSAL JS team, we have tagged our iOS team if they have any clues to sort this issue for you

Thanks @sameerag for tagging the right team. I understood this is not a MSAL plugin issue anymore. So after getting some proper solution or reply I'll close this ticket.

Found a solution to our problem.
As this issue was only in iPad Safari, we have asked our customer to re-enroll the corporate device such that it doesn't use certificate which will then solve the issue. And in desktop browsers it was working as expected.
So closing the issue.
Thank you everyone for your time, inputs and support! And sorry for the trouble. Happy coding. :)


Histogramming with multiple columns

Enhancement proposal with little priority:
Selecting more than one column and asking for a histogram could combine the selected columns (in possibly re-arranged view order left to right) into tuples of string values as keys

The key header could be shown as  "BD_BIHID,BD_MSISDN_A" (instead of "BD_MSISDN_A")
and the key data as "0949694219,41796314151"  (instead of "41796314151")
but internally the key would really be  {<<""0949694219">>,<<"41796314151">>}
and also sort like that.

@stoch Merged to master https://github.com/K2InformaticsGmbH/dderl/pull/163 related to this issue, please verify and comment/close.

This could be closed?


[Bug]: OpdsPaginator is still created when usePaginator is false, and it checks that 'page' URL param is int

What happened?
When you have your own URL scheme that includes an URL parameter called 'page', and you configure Opds with usePaginator = false, OpdsPaginator is still created, and it still checks the query parameters to see if 'page' is there and is an int.
Hint: it's not (always) for COPS :-)
I would expect php-opds not to create a paginator, or at least not to choke on any URL param it has no business checking out.
Or as a fall-back measure, to be able to specify 'this-param-does-not-exist' in OpdsConfig, as the fake page param it should check out instead.
Hint: COPS uses 'n' as actual page param, so someday it might be nice to be able to configure that in php-opds...
PHP Fatal error:  Uncaught TypeError: Kiwilan\\Opds\\Engine\\OpdsPaginator::__construct(): Argument #8 ($page) must be of type int, string given, called in ./vendor/kiwilan/php-opds/src/Engine/OpdsPaginator.php on line 48 and defined in ./vendor/kiwilan/php-opds/src/Engine/OpdsPaginator.php:15
Stack trace:
#0 ./vendor/kiwilan/php-opds/src/Engine/OpdsPaginator.php(48): Kiwilan\\Opds\\Engine\\OpdsPaginator->__construct()
#1 ./vendor/kiwilan/php-opds/src/Engine/OpdsEngine.php(245): Kiwilan\\Opds\\Engine\\OpdsPaginator::make()
#2 ./vendor/kiwilan/php-opds/src/Engine/OpdsJsonEngine.php(68): Kiwilan\\Opds\\Engine\\OpdsEngine->paginate()
#3 ./vendor/kiwilan/php-opds/src/Engine/OpdsJsonEngine.php(23): Kiwilan\\Opds\\Engine\\OpdsJsonEngine->feed()
#4 ./vendor/kiwilan/php-opds/src/Opds.php(122): Kiwilan\\Opds\\Engine\\OpdsJsonEngine::make()
#5 ./lib/Output/KiwilanOPDS.php(191): Kiwilan\\Opds\\Opds->get()
#6 ./opds.php(47): SebLucas\\Cops\\Output\\KiwilanOPDS->render()
#7 {main}
thrown in ./vendor/kiwilan/php-opds/src/Engine/OpdsPaginator.php on line 15

How to reproduce the bug
Try OPDS feed with URL parameter ?page=index
Package Version
1.0.1
PHP Version
8.2
Which operating systems does with happen with?
Linux
Notes
Not sure what it actually does with an 'int' page, but it doesn't seem to bother it after that...

Can you tell me if it works now?
I add a new property to OpdsConfig with paginationQuery to override page default query parameter and I fix this bug for pagination.
Thanks for finding this bug!

Yes, that fixed it all right - thanks!
I haven't tried out the paginationQuery yet, but I do appreciate it for later :-)
I haven't quite figured out yet if & how to use any built-in capability of php-opds on this, to be honest. Given that most COPS users seem to have somewhere around 5.000 - 10.000 books in their Calibre database, using limit on the database side is almost mandatory, so by the time I get to pass along the feeds to php-opds they're already pre-paginated.
So do I pass along pagination links myself too, or do I let php-opds take care of that for me, I haven't decided yet. It might generate another PR once I try it out though ;-)

My database of books is smaller so I may lack the perspective of a larger database. If you see that php-opds is out of step with the needs of a large database, don't hesitate to suggest ideas ;)

It's a nice idea to provide this capability out of the box, don't get me wrong. And for smaller data sets, it's certainly a nice feature to have. I just don't see how it would fit in cases where you need to pre-select or paginate data elsewhere in your app, before feeding it to php-opds.
Even if you used some kind of iterator, callable or async promise in your feeds() call, the actual selection of a "page" of data would still be done outside of php-opds, no? So how can php-opds make life easier - not sure yet...


Support to non-primitive types in queries

In addition to #1178, would be great to support the use of non-primitive values in queries, exactly as ORM does. Auto-converting parameters to database values makes things look more consistent and avoid a lot boilerplate code for casting non-primitive types into primitive ones.
Currently, the execution of the following snippet results in an exception:
public function findById(UserId $id)
{
        return $this->createQueryBuilder()
            ->find()
            ->field('id')
            ->equals($id)
            ->execute();
}

Error:
zero-length keys are not allowed, did you use $ with double quotes?

It looks weird because the field is mapped to a custom type, so why the parameter is not being converted to the specified value?
The workaround is casting the value whenever you want to use it, what exposes some implementation details that, IMHO, should be handled by the ODM:
public function findById(UserId $id)
{
        return $this->createQueryBuilder()
            ->find()
            ->field('id')
            ->equals((string) $id)
            ->execute();
}

Is there any possibilities to schedule it to be in 1.x release? If so, I'll try to provide a PR as well.

For this particular case using $qb->references($user) would be more adequate (however that requires having User object)

I just updated the examples to you get my point.

Yes, I agree that now it makes more sense, however I'm not sure if this can be easily supported - it's easy in simple cases like this, but you might not know mapping of deeply embedded documents as it may vary on discriminator values or even have different types of id if documents share the same collection (single collection inheritance).

Another use case:
public function findBySupportId(SupportId $supportId)
{
     return $this->findBy(['supportId' => $supportId]);
}

If it's any consolation, ORM has exactly the same problem, https://github.com/doctrine/doctrine2/issues/4632
Both of which came up because using UUIDs as IDs.


Added "stroke-dashoffset" support

This code implements the function for the property "stroke-dashoffset".

@mrbean-bremen - could you please check and merge if ok ?
Issue #388
Thx.

@mrbean-bremen - I updated the "PassingTests" files.


Supported mechanism for setting ytt experiments for ytt template step

Describe the problem/challenge you have
I want an end-user to easily be able to configure a template tool (for me, it's ytt) via an environment variable (in this case, to enable experimental feature(s) within the tool).
Describe the solution you'd like
In my particular circumstance, the target users are those who have a significant amount of experience/familiarity with the Carvel tools; so, we're not requesting a special API for this, per se.
It's also understandable/acceptable that this would be a namespace-wide setting. 👍🏻
@vrabbi had suggested in the May 12, 2022 Community Meeting that patching the Deployment that is the kapp-controller process in the standard way (i.e. spec.template.spec.containers[].env).
Anything else you would like to add:
I haven't thought about other use-cases where this kind of configuration is desired for individual tools (and even individual App CRs). If supporting that is more appropriate, it would also fit this use-case.

Vote on this request
This is an invitation to the community to vote on issues, to help us prioritize our backlog. Use the "smiley face" up to the right of this comment to vote.
👍 "I would like to see this addressed as soon as possible"
👎 "There are other more important things to focus on right now"
We are also happy to receive and review Pull Requests if you want to help working on this issue.

changed title to very specific thing (ytt expirements) since there is no concept of env vars in templating steps (there is no guarantee that they are binary executions even though thats how all of them are implemented today).

@vrabbi had suggested in the May 12, 2022 Community Meeting that patching the Deployment that is the kapp-controller process in the standard way (i.e. spec.template.spec.containers[].env).

i do like this option as a way to experiment for folks, since i assume it's not our intent to encourage people to use ytt experiments in production environments?

It sounds like if we want this available globally, someone could add the environment variable to the kc deployment via an overlay, so the only work to do would be advertising/documenting this capability?
@pivotaljohn  are there arguments to be made against having the flag on globally?  - would it ever break existing features/behavior?  Do we expect that features under "experimental" will make their way into "regular" at some point?
Another option in terms of making it easy to make it available only for selected AppCR would be if ytt took a --experimental=enabled flag on the command line.

@joe-kimmel-vmw asked:

... are there arguments to be made against having the flag on globally? - would it ever break existing features/behavior? Do we expect that features under "experimental" will make their way into "regular" at some point?

"Experimental" means NOT production or any system that has any requirement for stability, reliability, security, etc.
I imagine someone will come along with a multi-tenant-related use case... but I'd discourage use outside of anything except POCs, personal use, etc.

I imagine someone will come along with a multi-tenant-related use case... but I'd discourage use outside of anything except POCs, personal use, etc.

If that's the case, I think it's more realistic to assume this is just a global setting on KC through the deployment env variables.
Allowing individual AppCRs to enable it seems unnecessary. Maybe we close this out with the suggestion of using the deployment environment variables?
@pivotaljohn / @joe-kimmel-vmw


ServiceBus: fix process span duration when concurrency is higher than 1

Fixes #35916

API change check
API changes are not detected in this pull request.

/azp run java - servicebus - tests


infer on RHEL  throws `GLIBCXX_3.4.22' not found

Hi:
I have installed infer tool as suggested below
VERSION=0.XX.Y;
curl -sSL "https://github.com/facebook/infer/releases/download/v$VERSION/infer-linux64-v$VERSION.tar.xz"
| sudo tar -C /opt -xJ &&
ln -s "/opt/infer-linux64-v$VERSION/bin/infer" /usr/local/bin/infer
OS
bgl-ads-xxx> uname -r
3.10.0-693.11.6.el7.x86_64
bgl-ads-009:95>
Sample run:
bgl-ads-xxx> infer run -- gcc raman.c
Capturing in make/cc mode...
/opt/infer-linux64-v0.17.0/lib/infer/infer/bin/../../facebook-clang-plugins/clang/install/bin/clang: /lib64/libtinfo.so.5: no version information available (required by /opt/infer-linux64-v0.17.0/lib/infer/infer/bin/../../facebook-clang-plugins/clang/install/bin/clang)
/opt/infer-linux64-v0.17.0/lib/infer/infer/bin/../../facebook-clang-plugins/clang/install/bin/clang: /lib64/libstdc++.so.6: version CXXABI_1.3.8' not found (required by /opt/infer-linux64-v0.17.0/lib/infer/infer/bin/../../facebook-clang-plugins/clang/install/bin/clang) /opt/infer-linux64-v0.17.0/lib/infer/infer/bin/../../facebook-clang-plugins/clang/install/bin/clang: /lib64/libstdc++.so.6: version GLIBCXX_3.4.22' not found (required by /opt/infer-linux64-v0.17.0/lib/infer/infer/bin/../../facebook-clang-plugins/clang/install/bin/clang)
/opt/infer-linux64-v0.17.0/lib/infer/infer/bin/../../facebook-clang-plugins/clang/install/bin/clang: /lib64/libstdc++.so.6: version GLIBCXX_3.4.20' not found (required by /opt/infer-linux64-v0.17.0/lib/infer/infer/bin/../../facebook-clang-plugins/clang/install/bin/clang) /opt/infer-linux64-v0.17.0/lib/infer/infer/bin/../../facebook-clang-plugins/clang/install/bin/clang: /lib64/libstdc++.so.6: version GLIBCXX_3.4.21' not found (required by /opt/infer-linux64-v0.17.0/lib/infer/infer/bin/../../facebook-clang-plugins/clang/install/bin/clang)
External Error: Error executing: /opt/infer-linux64-v0.17.0/lib/infer/infer/bin/../../facebook-clang-plugins/clang/install/bin/clang raman.c
exited with code 1
Error backtrace:
Raised at file "format.ml" (inlined), line 242, characters 35-52
Called from file "format.ml", line 469, characters 8-33
Called from file "format.ml", line 484, characters 6-24
Re-raised at file "base/Die.ml" (inlined), line 26, characters 8-56
Called from file "base/Die.ml", line 30, characters 6-39
Called from file "integration/Driver.ml" (inlined), line 323, characters 2-29
Called from file "integration/Driver.ml", line 328, characters 62-89
Called from file "base/Utils.ml", line 398, characters 16-20
Called from file "scuba/ScubaLogging.ml", line 66, characters 29-44
Called from file "infer.ml", line 20, characters 2-36
Called from file "base/Utils.ml", line 398, characters 16-20
Called from file "scuba/ScubaLogging.ml", line 66, characters 29-44
Called from file "infer.ml" (inlined), line 25, characters 22-94
Called from file "infer.ml", line 137, characters 8-54
Please make sure your issue is not addressed in the FAQ.
Please include the following information:

[ ] The version of infer from infer --version.
[ ] Your operating system and version, for example "Debian 9", "MacOS High Sierra", whether you are using Docker, etc.
[ ] Which command you ran, for example infer -- make.
[ ] The full output in a paste, for instance a gist.
[ ] If possible, a minimal example to reproduce your problem (for instance, some code where
infer reports incorrectly, together with the way you run infer to reproduce the incorrect
report).

Thanks,
Raman

Thanks for the report. The binary release cannot cover all distributions so given your error it looks like you will need to compile infer from source instead. Sorry about that. The relevant documentation is in INSTALL.md.


Sudoku

Resolves #47.

Pull Request Test Coverage Report for Build 117

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 100.0%

Totals

Change from base Build 113:
0.0%

Covered Lines:
24

Relevant Lines:
24

💛  - Coveralls


Code returns "ValueError: Invalid String"

# Instanciate the oracle with the name, version and chain
from deficrawler import Oracle
from datetime import datetime
chainlink = Oracle(protocol="chainlink", version=1, chain="Ethereum")
data=chainlink.get_price_from_date_range(from_date="01/07/2021 00:00:00", to_date="05/07/2021 00:00:00", pair="ETH/USDT")
print(data)
The above code returns the following:
...oracle.py", line 41, in get_price_from_date_range
datetime.strptime(from_date, '%d/%m/%Y %H:%M:%S').strftime("%s"))
ValueError: Invalid format string

I had same issue. Pull request #42 should resolve

Hey @sekohen @evanwimpey  Thanks for your comments and PR! Will check this issue and merge the PR to solve. Let you know

PR is now merge and all the timestamps format changed. Can you test it now?


Too slow, too big

I assume this is cloning the project. I don't think Raycast can do anything about that, this is just how git works.


Use headscale domain from configuration in MapResponse

There is two occurrences of the string "headscale.net" in the code, I assume it isnt that important, but should we consider basing it on the user configured headscale domain?
https://github.com/juanfont/headscale/blob/5b1b40ce93ffb5f2540449e94562cb9dc98e3267/api.go#L442
https://github.com/juanfont/headscale/blob/5b1b40ce93ffb5f2540449e94562cb9dc98e3267/namespaces.go#L197

I am closing this, as everything related to domains and DNS will change with MagicDNS support.


+feaure: custom starting page

initialize PDF component with starting_page as the first page to be displayed using 1 as default

Thank you so much @maltenlz ! Made a couple of small tweaks to get it to work. You need to set the new parameter as an attribute of the python class for it to be passed to the frontend. Also, we need to make the assignment of currentPage dynamic so that it responds to changes in starting_page. You do that with the $: syntax.

Will release now!


fix: Mouse panning when used in shadow DOM

Related issue: #371
This fixes an issue where mouse event panning wasn't functional when the component was used within shadow DOM.
This is due to event retargeting. When the mousemove/etc events bubble up from within the shadow DOM, the event target gets set to the shadow DOM's host element. This breaks an assumption in the panning event handler that event.target will be a descendent of the wrapperComponent, so when the library calls wrapperComponent.contains(event.target), the result is always false.
This PR addresses the issue by checking if the event target is a shadow DOM host. If it is, we check if wrapperComponent contains any elements returned by event.composedPath(), instead of event.target. event.composedPath() returns an array with the full bubbling path of the event and is designed for situations like this.
Here's a diagram which, uhh, seemed like a good idea at the time:

This is amazing, thank you! ❤ 🚀


Cannot start, Cannot load SSL libraries

Hi,
Installed AirConnect-x86-<IP_ADDRESS>-20210115.spk on a Synology DS415+
However, when trying to start from the GUI, it stops straight away...
When trying to start via SSH, (./airupnp) it gives error: Start:1132 Cannot load SSL libraries
Any idea what's wrong here ?

Hi, on a ds415+ you need to download and install the x86-64 Package.

Hi, on a ds415+ you need to download and install the x86-64 Package.

Strange, I thought I had the right one.. but works now, thanks !
Van: René<EMAIL_ADDRESS>Verzonden: zaterdag 16 januari 2021 14:59
Aan: eizedev/AirConnect-Synology<EMAIL_ADDRESS>CC: Vinisz<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Onderwerp: Re: [eizedev/AirConnect-Synology] Cannot start, Cannot load SSL libraries (#17)
Hi, on a ds415+ you need to download and install the x86-64 Package.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/eizedev/AirConnect-Synology/issues/17#issuecomment-761567565 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AL2YLJEBJHWB5VICWIUB3FDS2GLRFANCNFSM4WFIV2CQ .  https://github.com/notifications/beacon/AL2YLJH2AOU44JA7YC5G7GTS2GLRFA5CNFSM4WFIV2C2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFVSJSTI.gif

Strange, I thought I had the right one.. but works now, thanks !
Van: René<EMAIL_ADDRESS>Verzonden: zaterdag 16 januari 2021 14:59
Aan: eizedev/AirConnect-Synology<EMAIL_ADDRESS>CC: Vinisz<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Onderwerp: Re: [eizedev/AirConnect-Synology] Cannot start, Cannot load SSL libraries (#17)
Hi, on a ds415+ you need to download and install the x86-64 Package.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/eizedev/AirConnect-Synology/issues/17#issuecomment-761567565 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AL2YLJEBJHWB5VICWIUB3FDS2GLRFANCNFSM4WFIV2CQ .  https://github.com/notifications/beacon/AL2YLJH2AOU44JA7YC5G7GTS2GLRFA5CNFSM4WFIV2C2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFVSJSTI.gif