Do you accept donations?

This package saved my morning :)
Do you accept donations?

I also want to donate !
it saved my day :)
Thanks !

@alexandernst @inplab thanks a lot for your support. It took me quite a while to tackle this issue, but GitHub made it easier to decide on how people could support me: I am now part of GitHub Sponsors.


Refactor ActiveSetQuadratic and SymmetricXXX

As discussed, I've refactored some structures:

ActiveSetQuadratic -> ActiveSetQuadraticCachedProducts to make it less general than it looked before
SymmetricLMO -> SubspaceLMO and SymmetricArray -> SubspaceVector to make it more general than it looked before. I need to work on the doc for that before merging. In the process, I changed reduce into deflate to avoid collision with the method reduce already defined in julia.

As for the tests, the main differences are that the names are now uniform (50 characters long), and that the verbosity is reduced. Now the only messages come from warnings, errors (in Hypatia), and benchmark_oracles.

I'd prefer ActiveSetQuadraticCachedProduct without the s, usually singulars are better for types (I know it's multiple product per AS, but it's the method of product caching that we emphasize)

Sure, how about ActiveSetQuadraticProductCaching then?

Sold!
On Fri, Nov 1, 2024, 11:41 Sébastien Designolle @.***>
wrote:

Sure, how about ActiveSetQuadraticProductCaching then?
—
Reply to this email directly, view it on GitHub
https://github.com/ZIB-IOL/FrankWolfe.jl/pull/524#issuecomment-2451671926,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB2FDMS66XLW7ZYJM2MV2A3Z6NLEXAVCNFSM6AAAAABQ6PZYSOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJRGY3TCOJSGY
.
You are receiving this because your review was requested.Message ID:
@.***>


Support creation of multiple shared memory resources

Very cool. Thanks again!

Go ahead and merge whenever you want - this is targeting your branch.


Enable private video upload & management

Currently it is not possible to upload videos as private from the Strapi plugin. As a user with a requirement to keep video secure at all times we need this to be possible.
Add a toggle for private video to the Strapi upload page. We should be able to then watch and manage private video using the api key for auth. This should be handled behind the scenes.

Great idea, we add it in our roadmap for 2023.

Here's a first draft. What are your thoughts on token management - I just went with something I could get working.

It is deployed (version 1.0.1)
Thank you very much for your contribution @Tommo56700 !


[BUG] Latest Version its not working correctly.

Using the latest changes to the code does not allow you see accounts in admin cp, install plugins, and there are probably a few more bugs that i have forgot
My guess is because of the code refactor , but i might be wrong

Provide logs from application/logs/tracy folder and point out exact version what you are using.


Added travis test support

May not work yet - making sure the config file works first.

oh, sick! this is great.
merge at will

Got it working now (i.e. failing correctly on PointQuadTreeTest) - but there's some issue with the testIcon test. I suspect something's up with the emulator and Google Play Services.
com.google.maps.android.geojson.GeoJsonPointStyleTest > testIcon[test(AVD) - 4.4.2] FAILED
	java.lang.NullPointerException: IBitmapDescriptorFactory is not initialized
	at com.google.android.gms.common.internal.zzx.zzb(Unknown Source)

Fully working Travis build is available at:
https://github.com/googlemaps/android-maps-utils/pull/209

This PR can be closed now that https://github.com/googlemaps/android-maps-utils/pull/209 is merged.


fix possible null exception

without this fix I was getting TypeError: Cannot set property 'bindto' of undefined when creating a dynamic list of charts using ng-repeat

LGTM.  Simple null check

LGTM

thanks!


configure-site-mailboxes-in-sharepoint.md

Documentation is depreacted. EWSManagedAPI.msi is not offered as download anymore. (https://www.microsoft.com/download/details.aspx?id=42951) 404
New EWSManagedAPI  NuGet Package does not register in GAC. Currently no appropriate documentation to install SiteMailboxes for SharePoint 2013 and up.
https://github.com/OfficeDev/ews-managed-api

Thank you for submitting feedback.
I think the best way forward is if you open a service ticket in your tenant so this can get resolved ASAP. Based on the outcome let me know if it is something that can be called out in the docs.
Please follow this link to contact support for business products:https://docs.microsoft.com/office365/admin/contact-support-for-business-products
Please keep us posted here on the resolution so we can feed whatever information you discover into the content.

Basically I don't have anyone to contact as I'm an action pack user/developer.
I did a write up how I solved this for me.
If you can tell me someone to get in touch with feel free.
https://www.techspark.de/install-ewsmanagedapi-nuget-github-for-sharepoint-2013-2016-2019/


FilterBy with components

Hi,
I'm trying to using this https://jsfiddle.net/silasrm/8L61dt58/1/
But this error occurs:
Uncaught TypeError: Cannot read property 'push' of undefined

Please describe the steps to reproduce the error.

Hi,
See this link https://jsfiddle.net/silasrm/8L61dt58/4/ with developer tools/firebug open.
Explain:
My app have a list with component working with v-repeat:
<div v-repeat="itens" v-component="item-data-component">
</div>

This is ok. But I need to add a search field to searching in list item:
<input type="text" v-model="search" placeholder="Search in name..." />

And change de v-repeat to:
v-repeat="itens | filterBy search"
When I add letter, this filtering list, but when I remove letter to clear search term, occurs this error:
Uncaught TypeError: Cannot read property 'push' of undefined
Thank's.

This is a vue-validator bug, please open the issue at the vue-validator repo instead.

Hi,
Sorry for my mistake, thk's!


bug: current deploy.yml cannot successfully create config file?

It seems like the docker build process uses a stand alone repository clone to the chekout action.
Our secret-to-file action created the config file inside the content root of checkout actons.
evidence:

We didn't realize this bug because the target server uses the old image of version 0.1.0 not the buld from action.

according to dockers document:


[Question]

Question
A collector deployed in a one-way network node may go offline due to host or network issues.
At this point, all monitoring tasks bound to this collector cannot be updated, which may lead to subsequent internal monitoring node failures being missed.
On this basis, how can you configure an alert for collector offline?
At least this way, the hertzbeat will be notified of collector offline and respond in time.

hi, as you see, there is no alarm when collector offline. We just can see the collector status on web-ui or system logs here now.

I think we can send a alarm message to alarm center when collector up or down.  Or display it in an obvious position on the corresponding monitoring page to inform users of the status of the current collector, whether it is offline, etc.

I also have this problem

I agree，Squat on the line


Required module not found for kebab-case

Here's my .flowconfig
[include]
.*/client/*.
.*/server/*.

[ignore]
.*/node_modules/*.
.*/.build/*.
.*/.dist/*.

[libs]
<PROJECT_ROOT>/flow-typed/

[options]
module.system.node.resolve_dirname=node_modules
module.system.node.resolve_dirname=./client
module.system.node.resolve_dirname=.

[lints]

Some errors I have:
client/components/elements/button-with-status.js:3
  3: import PropTypes from 'prop-types';
                           ^^^^^^^^^^^^ prop-types. Required module not found

client/components/elements/button-with-status.js:4
  4: import styled from 'styled-components';
                        ^^^^^^^^^^^^^^^^^^^ styled-components. Required module not found

client/controllers/actions/event.js:2
  2: import { EventTypes } from 'redux-segment';
                                ^^^^^^^^^^^^^^^ redux-segment. Required module not found

Other node_modules are resolved fine, it seems it is because of the kebab-case name?

I'm still new to Flow, going through love/hate as when it works it's great, but when seeing lots of what appears instability and weird bugs disappointment sets in... not had any problem with hyphenated imports though.
Taking the dependency of prop-types as an example, do you actually have it installed at a project level and also listed in your package.json?

i got the same problem here, i worked fine. i really don't know how to deal with it :(

@zhenyulin @ikzjfr0 prop-types working for me locally. Not enough info here to help you. If you create a small repo as simple as possible as a test-case and still replicate the problem, share the repo link and I'll take a look (or others will I'm sure also who have better knowledge of flow than me)

i provided a repo here: https://github.com/ikzjfr0/flowtype-test  :)
And attached is what i could find  in visual studio code. Let me know anything i'm missing.

@ikzjfr0 try removing node_modules from your [ignore] in .flowconfig. It's not needed and that seems to be the root of your problem on prop-types library not being found (and ~10 other problems).

@peterobrien
i know in theory i should haven't added that into [ignore] in .flowconfig. However, if I don't do that, i will get more errors from node_modules folder, see below

I had this issue too!

I had this issue too!

is there any update here? how can I help on this?

The issue is probably fixed a while ago


Date properties can become empty strings after 'schemaFormValidate'

When a form with date fields is initialized with existing dates in the model, the model's date properties will become empty strings after broadcasting 'schemaFormValidate'.
Clicking the field and selecting the already displayed date causes this not to happen, so it seems like there's currently a dependency between validation and the act of selecting a date.
Edit: I should probably specify I'm using the angular-schema-form-datepicker add-on.

@tmoc I've been trying to reproduce in the development branch, but haven't been able to. Can you give me an example schema, form and starting model for me to try?

This is the general pattern I'm using where the problem occurs:

  $scope.editSchema = {
    type: 'object',
    properties: {
      _id: {title: '_id*', type: 'string', pattern: '^[0-9a-fA-F]{24}$', readonly: true},
      date1: {type: 'string', format: 'date'},
      date2: {type: 'string', format: 'date'}
    },
    required: ['_id']
  };

  $scope.sfEditForm = [
    '*',
    {
      type: 'actions',
      items: [
        {type: 'submit', style: 'btn-primary', title: 'Update'},
        {type: 'button', style: 'btn-danger', title: 'Delete', onClick: 'confirmDelete()'}
      ]
    }
  ];

  $scope.editModel = {
    _id: '54ef96e33ca046fd643e2078',
    date1: '2015-03-18T00:00:00.000Z',
    date2: '2016-04-19T00:00:00.000Z'
  };

I was able to workaround the issue by just recursively deleting any empty strings from models before sending to the server.

Also in case it matters, I'm using Angular 1.2.26

Any luck ? or any workaround ? I am also facing same issue, for me its deleting and getting error as required any solution?

for me too same issue ? but for me this date filed is not mandatory but after getting empty its making this field as not empty .. so i cant submit the page

@senthilsendhil can you make a plunker to demonstrate?


Creating Responsive Layouts with MaterialUI in ReactJS

Article checklist
ATTENTION: In your PR - add the ISSUE (topic form) # that this PR corresponds to. You can do this by also adding a comment that states "This fixes #(enter your Idea Content Form #)" to link and close your Idea Content (issue) when the PR is merged.
NOTE: (Please ensure that you have only one open issue + linked pull request at a time. This will ensure that we complete the article in a timely manner from inception to publishing.)
If you have not already please go over our Resources Page for more tips and tricks on how to improve our overall technical writing.
Preliminary Checks - Formatting and Structure

[x] Does your article follow any of the suggested structure formats? - see example formats
[x] Is your article properly formatted in Markdown? - see Github Markdown guide
[x] Have you used the correct folder and file structure? - see Contribution Guidelines
[x] Is your article over 750 words? - Tool: Wordcounter.net
[x] Have you used our preferred heading structure? - H3 (###) and up
[x] Does your article provide enough value and detail about your topic? - Articles should be clear, accurate, and fully explained.
[x] Can your article be understood by beginners? - Assume the audience is smart but has no prior exposure to the common terminology in your article.
[x] Have you included a hero image that is 600x400 pixels and have the copyright to use it? - Tools: Pixlr Image Editor for resizing and Unsplash for Creative Commons images
[x] In your PR - add a comment that states "This fixes #2463" to link and close your Idea Content (issue) when the PR is merged.

Grammar & plagiarism checks

[x] Have you spellchecked and grammar checked your article? - Tools: Write&Improve - ProWritingAid -  Grammarly
[x] Please place your article through a 3rd party plagiarism checker? We suggest using Quetext, this tool is free and has a daily limit. We typically accept articles with 10% or less.
[x] Have you checked your article for readability? - Tool: Hemmingway
[x] Have you added sources for quotes and images that aren't yours?

Technical checks

[x] Are your code snippets properly formatted for syntax highlighting - see Syntax guide

Contribution guidelines
For first-time contributors and for more details, see Contributing Guidelines

There are so many commits...
I guess this is a result of the former issue.
And I'm noticing some changes in the repository structure. I can't find the all the other contents (articles) in the repo. Just mine alone. Kindly take a look at the screenshot below 👇🏼

Delete the old repo...... then clone again to get the new structure

Alright I'd do just that.

Hi @WanjaMike,
There's an issue with this PR. I've created another PR with the updated structure of the new repository.
You can find it here. Kindly take a look at it and let me know what's next so I can close this PR.


logging: Do not use iostream under any circumstances

?? what

never mind - I somehow confused this with a similar-looking block dealing with a ranges include.. apolgies


Questions about the Projector

We found that the code for the projector part difficult to understand, there seems a lot cumsum and index operations. We might not be familiar for parabolic transformation in the 3d space. Could you provide more references for understand?

There is no specific theory or paper to read about that. We just realize something like inter-area (cv2-style) interpolation for our transformation. To this end, we estimate which pixels were projected to the current pixel during bending. The new color of the current pixel is a weighted average of colors of its preimages

Hello, I am going to implement your code recently, but found that our packages are not compatible. Can I trouble you to generate the requirements.txt file so that I can download your operating environment directly?

@misszhucanjie Hello! Try Tensorflow 1.13.1

@misszhucanjie Hello! Try TensorFlow 1.13.1. If it doesn't help then we will try to find an environment that we used. It isn't easy, so try s specific version of TensorFlow first, please :) It should be enough

Hello, I have successfully run the code in your paper, but I found that in calculating the cosine similarity, the model you use is R100.pb, I can ask you, what model is the model of this parameter? His input is 3112112, and the output is 1*512. Does the output represent probability?

Output is the vector (of length 512) representation of the input image (3x112x112).

Output is the vector (of length 512) representation of the input image (3x112x112).

The output of the R100 model is a 512-dimensional vector, but if we want to test other models, the number of model outputs is wrong. I don't know why in calculating the cosine similarity, why input a photo to the model and predict 512 numbers. After multiplying the output vectors of the two photos, the cosine similarity is obtained.

@misszhucanjie The common procedure of FaceID model inference is as follows.
First, we feed an input image to the model. The model provides a feature vector for the input image.
This feature vector is some internal representation of the face by the model. Its length can be various for different models. Additionally, it is not a semantic vector, i.e. we don't know what its values mean. The only thing we know is that if an angle between vectors is small then initial photos for these vectors are photos of the same person probably.
Note that vectors from different models can't be compared in a straightforward way.

@misszhucanjie Hello! Try TensorFlow 1.13.1. If it doesn't help then we will try to find the environment that we used. It isn't easy, so try a specific version of TensorFlow first, please :) It should be enough

Which Python version?

@cserezwan python 3.6

@cserezwan python 3.6

Thanks, can you tell me which CUDA version and cuDNN version you have used?
I think I'm getting the following error because of CUDA, cuDNN and Tensorflow mismatch:
tensorflow.python.framework.errors_impl.UnknownError: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above.
[[{{node pnet/conv1/Conv2D}}]]
[[{{node pnet/prob1}}]]

How to slove this error: The GPU Memory is enough
InternalError (see above for traceback): Blas xGEMMBatched launch failed : a.shape=[5,2,3], b.shape=[5,3,810000], m=2, n=810000, k=3, batch_size=5
[[node MatMul (defined at /data/project/advhat/Attack/stn.py:150) ]]
[[node AddN (defined at /data/project/advhat/Attack/stn.py:227) ]]

你是不是没截取完，我复现完没这个错误，找第一个错误地方
---Original---
From: @.>
Date: Sun, Jul 11, 2021 16:19 PM
To: @.>;
Cc<EMAIL_ADDRESS>Subject: Re: [papermsucode/advhat] Questions about the Projector (#12)
How to slove this error: The GPU Memory is enough
InternalError (see above for traceback): Blas xGEMMBatched launch failed : a.shape=[5,2,3], b.shape=[5,3,810000], m=2, n=810000, k=3, batch_size=5
[[node MatMul (defined at /data/project/advhat/Attack/stn.py:150) ]]
[[node AddN (defined at /data/project/advhat/Attack/stn.py:227) ]]
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

有个地方输入的数据大小不对，需要改下函数
---Original---
From: @.>
Date: Sun, Jul 11, 2021 16:19 PM
To: @.>;
Cc<EMAIL_ADDRESS>Subject: Re: [papermsucode/advhat] Questions about the Projector (#12)
How to slove this error: The GPU Memory is enough
InternalError (see above for traceback): Blas xGEMMBatched launch failed : a.shape=[5,2,3], b.shape=[5,3,810000], m=2, n=810000, k=3, batch_size=5
[[node MatMul (defined at /data/project/advhat/Attack/stn.py:150) ]]
[[node AddN (defined at /data/project/advhat/Attack/stn.py:227) ]]
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

有个地方输入的数据大小不对，需要改下函数
...
---原创--- 来源：日期： 星期日， 七月 11， 2021 16：19 下午 至：抄送：主题： 回复： [纸张发布码/advhat] 关于投影仪的问题 （#12） 如何忽略此错误： GPU 内存是否足够 内部错误 （见上文的回溯）： Blas xGEMMBatched 启动失败： a.shape=[5，2，3]， b.shape=[5，3，810000]， m=2， n=810000， k=3， batch_size=5 [[节点 MatMul （定义在 /data/项目/广告/攻击/stn.py：150） ]] [[节点 AddN （定义在 /data/项目/广告/攻击/stn.py：227） ]] — 您收到此消息是因为您被提及。直接回复此电子邮件、在 GitHub 上查看或取消订阅。

你好，我是刚入门这方面的新生，我想复现一下这篇论文，但是我好像能力不太够，可以帮一下我嘛，谢谢


Add Python 3 support

Python 3 is the future! (And is much nicer than python 2). At some point we should add python 3 support.

Right now we're waiting on boto to be ported to Python 3.

This issue was moved to Dallinger/Dallinger#86


creating tf.data.Dataset object from generator gives error for incorrect file name

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

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

You can collect some of this information using our environment capture
script
You can also obtain the TensorFlow version with:

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

Describe the current behavior
On trying to consume batches from the dataset ds I get InvalidArgumentError
Describe the expected behavior
Standalone code to reproduce the issue
official tfdata colab
In the above file. Go to Consuming Python Generators section and in the code cell
ds = tf.data.Dataset.from_generator(
    img_gen.flow_from_directory, args=[flowers],
    output_types=(tf.float32, tf.float32),
    output_shapes=([32,256,256,3], [32,5])
)

ds

add next(iter(ds)) to consume a batch of ds
Other info / logs
---------------------------------------------------------------------------
InvalidArgumentError                      Traceback (most recent call last)
/usr/local/lib/python3.6/dist-packages/tensorflow/python/eager/context.py in execution_mode(mode)
   2101       ctx.executor = executor_new
-> 2102       yield
   2103     finally:

10 frames
InvalidArgumentError: TypeError: endswith first arg must be bytes or a tuple of bytes, not str
Traceback (most recent call last):

  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/data/ops/dataset_ops.py", line 711, in get_iterator
    return self._iterators[iterator_id]

KeyError: 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/ops/script_ops.py", line 244, in __call__
    ret = func(*args)

  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/autograph/impl/api.py", line 302, in wrapper
    return func(*args, **kwargs)

  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/data/ops/dataset_ops.py", line 827, in generator_py_func
    values = next(generator_state.get_iterator(iterator_id))

  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/data/ops/dataset_ops.py", line 713, in get_iterator
    iterator = iter(self._generator(*self._args.pop(iterator_id)))

  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/keras/preprocessing/image.py", line 959, in flow_from_directory
    interpolation=interpolation)

  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/keras/preprocessing/image.py", line 397, in __init__
    **kwargs)

  File "/usr/local/lib/python3.6/dist-packages/keras_preprocessing/image/directory_iterator.py", line 135, in __init__
    classes, filenames = res.get()

  File "/usr/lib/python3.6/multiprocessing/pool.py", line 644, in get
    raise self._value

  File "/usr/lib/python3.6/multiprocessing/pool.py", line 119, in worker
    result = (True, func(*args, **kwds))

  File "/usr/local/lib/python3.6/dist-packages/keras_preprocessing/image/utils.py", line 221, in _list_valid_filenames_in_directory
    for root, fname in valid_files:

  File "/usr/local/lib/python3.6/dist-packages/keras_preprocessing/image/utils.py", line 178, in _iter_valid_files
    if fname.lower().endswith('.tiff'):

TypeError: endswith first arg must be bytes or a tuple of bytes, not str

	 [[{{node PyFunc}}]] [Op:IteratorGetNext]

During handling of the above exception, another exception occurred:

InvalidArgumentError                      Traceback (most recent call last)
/usr/local/lib/python3.6/dist-packages/tensorflow/python/eager/executor.py in wait(self)
     65   def wait(self):
     66     """Waits for ops dispatched in this executor to finish."""
---> 67     pywrap_tfe.TFE_ExecutorWaitForAllPendingNodes(self._handle)
     68
     69   def clear_error(self):

InvalidArgumentError: TypeError: endswith first arg must be bytes or a tuple of bytes, not str
Traceback (most recent call last):

  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/data/ops/dataset_ops.py", line 711, in get_iterator
    return self._iterators[iterator_id]

KeyError: 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/ops/script_ops.py", line 244, in __call__
    ret = func(*args)

  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/autograph/impl/api.py", line 302, in wrapper
    return func(*args, **kwargs)

  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/data/ops/dataset_ops.py", line 827, in generator_py_func
    values = next(generator_state.get_iterator(iterator_id))

  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/data/ops/dataset_ops.py", line 713, in get_iterator
    iterator = iter(self._generator(*self._args.pop(iterator_id)))

  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/keras/preprocessing/image.py", line 959, in flow_from_directory
    interpolation=interpolation)

  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/keras/preprocessing/image.py", line 397, in __init__
    **kwargs)

  File "/usr/local/lib/python3.6/dist-packages/keras_preprocessing/image/directory_iterator.py", line 135, in __init__
    classes, filenames = res.get()

  File "/usr/lib/python3.6/multiprocessing/pool.py", line 644, in get
    raise self._value

  File "/usr/lib/python3.6/multiprocessing/pool.py", line 119, in worker
    result = (True, func(*args, **kwds))

  File "/usr/local/lib/python3.6/dist-packages/keras_preprocessing/image/utils.py", line 221, in _list_valid_filenames_in_directory
    for root, fname in valid_files:

  File "/usr/local/lib/python3.6/dist-packages/keras_preprocessing/image/utils.py", line 178, in _iter_valid_files
    if fname.lower().endswith('.tiff'):

TypeError: endswith first arg must be bytes or a tuple of bytes, not str

	 [[{{node PyFunc}}]]

Was able to reproduce the issue with TF v2.3 and TF-nightly. Please find the gist of it here. Thanks!

@AkshayRoyal can you give a run with
ds = tf.data.Dataset.from_generator(
    lambda: img_gen.flow_from_directory(flowers),
    output_types=(tf.float32, tf.float32),
    output_shapes=([32,256,256,3], [32,5])
)

@bhack . Thanks for answering. Please fix the issue with the example too as it does not work the way it was expected and it should be removed from example as it is misleading
What worked?
ds = tf.data.Dataset.from_generator(
    lambda: img_gen.flow_from_directory(flowers),
    output_types=(tf.float32, tf.float32),
    output_shapes=([32,256,256,3], [32,5])
)

AND
from funtools import partial
ds = tf.data.Dataset.from_generator(
    partial(img_gen.flow_from_directory,flowers),
    output_types=(tf.float32, tf.float32),
    output_shapes=([32,256,256,3], [32,5])
)

/cc @MarkDaoust

Fix incoming.
Thanks @AkshayRoyal.
Thanks @bhack.


Ispn 7430 Slowdown when using PutAll with transactions

https://issues.jboss.org/browse/ISPN-7430

run performance tests please
library

Looks like the perf tests all passed

looks good. waiting for CI to finish.

integrated! thanks @wburns !


Add for syntax variant to iterate over number ranges

With the new list[idx] operator and the upcoming delay command (#114), looping over indices and arbitrary number ranges (e.g. coordinates) becomes useful.

Syntax proposal:

!mmm for variable from start to end
!mmm for variable from start to end step step

...which poses a problem to the current command parser, which isn't really all that clever about expression syntax (so right now expressions are always the last part of any command).
The new expression parser (see #85) would be more than capable of recognizing a command token (like to or step) at a position where the expression could validity end (i.e. where the endOfExpression rule would be valid).
The command parser should be made aware of higher-level constructs (e.g. "here comes a variable name" instead of "here comes this arbitrary regex"). At a point where the first expression is expected, it should use the expression tokenizer on the rest of the line and invoke the expression parser on the pre-tokenized line giving a set of valid "stop tokens" to accept in place of endOfExpression (and the parser should return the matched stop token and its position on the list).


Drag & Drop from File Explorer produces incorrect file paths

Dragging & dropping a file from Windows File Explorer into a Bash window produces the path formatted for Windows instead of Ubuntu.
Dragging the Desktop folder into a Bash window should produce the text /mnt/c/Users/acesnik/Desktop. Instead, it produces C:\Users\acesnik\Desktop.

Your Windows build number
Edition: Windows 10 Pro
Version: 1607
OS Build: 14393.576

We are investigating adding some form of path conversion in the future but currently this is expected behavior.

I'd duplicate Cygwin's behavior. Cygwin will convert paths needed.

I agree - duplicate cygwin behaviour

Pretty Please?

It would be a great thing to have the same behaviour of cygwin

I'd really like to see this implemented in Microsofts own conhost.exe, but for now one can use mintty together with wslbridge (and a link from /cygdrive to /mnt):

I did not test it, but it seems, that wsltty packages mintty and wslbridge into a single small installation...

Hi @TSlivede  it seems perfect. Thank you.
I will make a test and write a report here

thanks @jackchammons ,  really hope to support this feature, it has been 2 years...

This issue was opened before creation of the console tracker, where it probably belongs. I'll leave it open here in the WSL github for another two years if that's what it takes, but WSL syscall emulation doesn't have the faintest that string being dropped into the Windows Console is a win32 formatted path. In the mean time, I just tried, and wsltty (which is mintty which is Windows Git bash which is Cygwin console) seems to work, as alluded above. wsltty works because the problem and solution is outside WSL.

which is mintty which is Windows Git bash which is Cygwin console

"Mintty is the Cygwin Terminal emulator, also available for MSYS and Msys2."

which is mintty which is Windows Git bash which is Cygwin console

Some correction: "Mintty is the Cygwin Terminal emulator, also available for MSYS and Msys2."

🙄

Thanks for pointing out the console tracker, @therealkenc . I opened the issue there.


Temporary: Don't expand packages when caching Coherence on non-Windows.

Will revert when https://github.com/NuGet/Home/issues/2383 is fixed.
cc @victorhurdugaci @pranavkm

:shipit: assuming it works


OneDrive backup cleanup

Description
General cleanup/consolidation of code for getting OneDrive collections during backup. Few minor changes to behavior:

always return a collection for the root folder even if it's empty
add items to the exclude list only after they've been added to a collection. This gives a better chance of preserving the item even if we encounter an error parsing paths or something. If there's a failure, the old version of the item is most likely to be preserved (this varies based on whether the item is returned in multiple delta results during the backup)

Does this PR need a docs update or release note?

[ ] :white_check_mark: Yes, it's included
[ ] :clock1: Yes, but in a later PR
[x] :no_entry: No

Type of change

[ ] :sunflower: Feature
[ ] :bug: Bugfix
[ ] :world_map: Documentation
[ ] :robot: Test
[ ] :computer: CI/Deployment
[x] :broom: Tech Debt/Cleanup

Issue(s)

#2447

Test Plan

[ ] :muscle: Manual
[x] :zap: Unit test
[ ] :green_heart: E2E

@meain sorry to bother you for this, but can you take another look? I've switched some stuff around because some SharePoint tests were unhappy we were always returning the root when the selector didn't match it and working around it in that specific test felt a bit hacky
The new changes factor some functions out of UpdateCollections, adds the root collection in the same block that other collections are added, and handles deletions at the start of UpdateCollections


simplifying flow for kfp section

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Seems it outdated. Could you rebase the base branch?

resolved


[Feature] Add support iceberg table

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
There will be good to have iceberg table support (https://github.com/apache/iceberg) as external table to support select from it.
Describe the solution you'd like
See above.
Describe alternatives you've considered
also could be good to add hive metastore.
Additional context
https://github.com/apache/iceberg-rust - Native Rust implementation.

Iceberg has won the battle for datalake formats.  This would be a great win for datafusion ballista!


Removes duplicated php7.0-dev from PHP install in provision.sh

This appears to have been reverted in the current master branch. Not sure if you want me to reopen this MR or create another...

nm...just not merged into master. I really need to not get on here without having a proper night's rest. ;)


Added a 'Localization' section in 'Scales and data' documentation

Describes how one would add d3 based localization for time series charts.

You are right. I think I will also describe how to localize numbers (decimal, thousands, etc.. which relies on d3-format).


Add 'Amarsingh Pardeshi' to Contributors list.

Hi  @amarsiingh, I'm quite elated about your pull request. I wanna evolve this project to addresses various problems faced by first-time contributors. I'd love to learn about your journey in open source community, the problems, pain points you had etc.
Could you explain how you felt when you went through the tutorial, made a pull request and learned that I merged it?
We’ve recently added social share  to our web app. Could you please go to https://roshanjossey.github.io/first-contributions/#social-share and share your first contribution to open source?
Also, check out projects with easy issues while you’re there.


Raw IMU Message Delay

I met error messages as below when running apollo-carla co-simulation following the steps in Readme.
You haven't selected a vehicle yet!
GPS trigers safe mode.
Raw IMU Message Delay. IMU message is<PHONE_NUMBER>47 cycle 1.68127e+09 sec behind current time.
Raw GPS Message Delay. GPS message is<PHONE_NUMBER>47 cycle 1.68127e+09 sec behind current time.

And the lidar point-cloud shown is Dreamview seems not right, either.

The page of module controller is shown below. I cannot open the GPS and Velodyne module, and the status of GPS is always FATAL or ERROR.

By the way, the vehicle can run automatically, though often hitting obstacles road-side.
This problem has been reported in #30 , but it hasn't been solved yet. Can anyone help? Thanks a lot!

same question, did you solve the problem?

No, it seems that the message delay problem doesn't matter. But the problem of lidar point-cloud does trouble me.

@TroyeFun GPS of Components is used to monitor the status of the actual vehicle hardware GNSS,because we are simulating and sending cyber messages directly,so GPS is always FATAL.

Hello!
This issue is due to an incorrect timestamp in the header of the IMU message.
This issue does not affect running, but we still fixed it.
imu_msg.header.timestamp_sec = cyber_time.Time.now().to_sec()

We will soon release it.

Problem solved by Release 0.3.0, so this issue is closed.

I also met the same problem even using the latest carla_apollo_bridge version. @XiaoFei9704 @WilliaJing


Layer execution error

I made a quick try by adding the layer built on Amazon Linux Machine into an existing lambda and I have the following error:
START RequestId: 299688df-71a9-4a15-8fa2-d994e26d1274 Version: $LATEST
--
Fontconfig error: Cannot load default config file
/opt/python/lib/python3.8/site-packages/weasyprint/fonts.py:221: UserWarning: FontConfig cannot load default config file.Expect ugly output.
warnings.warn(
/var/task/magic.py:193: SyntaxWarning: "is" with a literal. Did you mean "=="?
if result is -1:
[ERROR] Runtime.ImportModuleError: Unable to import module 'app': failed to find libmagic.  Check your installationTraceback (most recent call last):
END RequestId: 299688df-71a9-4a15-8fa2-d994e26d1274

Fontconfig and libmagic  should be in the zip file generated by make and docker isn't ?
Thanks for help !

See environment variables section for font config configuration.
AFAIK libmagic is not required by weasyprint


Fix urls automatically

Fix bad pastes such as xhttps:// or ttp:// so that people can click on iit
Remove ? links on a whitelist of websites such as amazon
Auto framalink when link is > 100 characters

Can be tackled on https://github.com/CoucouInc/coucoubot/issues/15


Add CONTRIBUTING.md

Let people know how to contribute to the project... :)

Done in 97359cf28030e0cdcedc6dedcbaa5a63c7f625d2.


Fixes a bug when fn is not defined

In some cases I was getting the following error:
node_modules/mongoose-schema-extend/index.js:67
          fn.apply(this, arguments);
             ^
TypeError: Cannot call method 'apply' of undefined

This request fixes the problem.

I am adding this to the major changes pull request. Thanks a lot


Synchronous API for position solving

Hi all, thanks for the library! I've been using you for a while, first as popper and I'm excited to see the new API surface you're offering with floating-ui.
What is the feature you're requesting?
I'd like to have an API that allows for synchronous position solving. That is, instead of the current API of
computePosition(...).then(position =>)

I would be able to use the position value at the moment of the call:
const position = computePosition(...)

Is your feature request related to a problem? Please describe.
I'd like to have more control over my own ability to track positions of elements outside the scope of floating-ui, while still relying on its position solving implementations. I don't think the solving part needs to be async if I'm able to provide the correct getBoundingClientRect virtual elements and platform config synchronously.
For example, platform.isRTL could be a config.isRTL value that I ensure is up-to-date when I make the computePosition call. Then computePosition could reference config.isRTL as a static value versus dynamically getting it with await platform.isRTL().
Based on some explorations at https://github.com/folz/floating-ui/pull/1, it also looks like the Web implementation doesn't need to be async at all - that seems to be required only because of the react-native platform. If we were able to have a synchronous API for solving, that could unlock a synchronous platform for web, and an asynchronous platform for react-native only.
Additional context
See my prototype PR, https://github.com/folz/floating-ui/pull/1, for where I was trying my hand at this. Also, if I'm missing something that's quietly broken about my changes, I'd love to hear more.
I'm also down to help develop this idea and contribute code, but probably no more than a few hours per week til it's done.

It doesn't need to be async on the web but it uses the shared core platform which has to be async, so there would be two separate packages (sync and async) which isn't good to maintain.
Why do you need it to be sync? The positioning is functionally the same except it just gets placed in a microtask.

I'm building an IDE for livecoding (https://github.com/folz/hiasynth), so there's a lot of UI that I'll have either contextually floating next to some code. I want to build towards a node editor view like TouchDesigner, and for that I'd be managing the positions of those node elements in "node space" but I still want to play nicely with floating tooltips and browser window borders. This means where floating-ui might need async to measure a position, I already know it because my app state positions are the source of truth, and I set the DOM element's dimensions/positions from that.
I'm also exploring ideas around using this sort of positioning for code relationships between expressions - for example, something like "parenting" one expression's node representation to another expression, and keeping those placed next to each other when the user drags the parent element. And again keeping in mind things like "if the parent bumps up against a scene boundary, relocate the child so it's still in the scene"
I think there might be an opportunity to have a solver-core, which is sync and takes in the results of the async platform-core, which awaits things like platform.isRTL to keep API consistency across all platforms.
It's helpful for me to have this calculated value synchronously because then I don't need to think about how I'll best await this value for the other state stores I'm using, I just set the store directly.

Also, feel free to lmk this use case is outside the scope of the library and I'm happy to handle it myself. That was going to be my original plan before I noticed the possibility for part of the API to become sync, so I wanted to share the idea with you all.

I don't think it's outside the scope; if you have a suggestion/example of how to keep it maintainable (single source to update) while splitting off async and sync versions, then that's welcome for sure 👍

Sounds good, I'll give it some thought.

I agree that having a synchrous API for computePosition would be delightful. I've been using computePosition to create a custom hook in React and its async property make it quite hard to test with.


PYTHON INTERPRETATER

Issue Type: Bug
It asks for a Python Interpretater and when i select one it is unable to upload that. So please tell an alternative
VS Code version: Code 1.51.1 (e5a624b788d92b8d34d1392e4c4d9789406efe8f, 2020-11-10T23:34:32.027Z)
OS version: Windows_NT x64 10.0.18363

/extPython

/extPython

/extPython

/extPython


Add flatZip and transpose

This PR adds two new functions flatZip  and transpose, that operate on arrays. The flatZip function is used for merging several arrays into one by alternating elements from each array. The transpose function flips the x and y axis of a two dimensional array. See the flat-zip npm package and Haskell transpose function for a more detailed explanation.

Hello, transpose seems to be a very useful function, is it possible to continue on this PR?


Some inconsistencies in Treesitter support

Hello @arcticicestudio 👋 !
First of all, great theme! I use it everywhere lol.
I was looking forward to the treesitter support for neovim and enabled it right away when it was released over the weekend. I did notice some weird behavior with typescript. In the gif below you can see the file with treesitter highlight enabled on the left side.

You'll notice that some imports have different colors (L12, for example), and also the decorators (@Component(), @Input(), etc.) are different as well. Same with the class name and interfaces in the class declaration.
Is this an issue with nord-vim? Or maybe some limitation in treesitter? Please advice.
Thanks!

@joeveiga I think with tree-sitter the color would be more accurate. As you have shown in the screenshot, different kinds of keyword were colored differently. I think this is a feature.
@arcticicestudio for me, the elder version and current version (with tree-sitter) are not designed to be very distinguishable. Is it possible to make some improve on this? I forked Nord-vim and make one by myself:

@joeveiga  It happens because developer of a tree sitter parser decided to highlight all camel case words started from the capital letters as a type
https://github.com/tree-sitter/tree-sitter-typescript/blob/fd08586b72f2ba8776d865b32aca561285c10cfd/queries/highlights.scm#L6

Hi @joeveiga, @crispgm and @vladimir-didenko :wave:, thanks for your contributions :+1:
Thanks for your patience, I was on vacation for the last few weeks and I deliberately ignored the "digital life" during this time 😄
This is what I worried about after adding tree-sitter support: Loosing consistency due to “auto-magical“ mapping of syntax elements without dedicated highlighting groups.
With Vim's "traditional" syntax parsing and language plugins it was easier for theme authors to control which elements gets highlighted, i.e. the dedicated jsFuncCall highlighting group is easy to understand and scoped to functions that are called like foo.bar(), but tree-sitter handles this on its own withput providing a dedicated group for such calls. Taking functions calls as an example tree-sitter works better while "traditional" highlighting often failed to detect functions which can be seen quite well on the GIF. On the other side it looks like elements like annotations/decorators are not handed by the TSAnnotation group which is also defined by Nord with nord12 as foreground color, but on the GIF it looks like nord8 is used instead.
@crispgm Which side is the one highlighted by tree-sitter on your screenshot? The right side looks like there are too many elements highlighted with nord9 that should only be used for elements like keywords and operators. The left side looks more like Nord's style, but there are also some elements that are highlighted with the wrong colors like the names of the enum (nord13 instead of nord4).
Do you refer to these defintions of your fork? Looks like all groups are defined, even when they are already linked by default which is why Nord only overrides specific groups and link them to existing groups.
One problem I see here is that tree-sitter might apply the highlighing groups different depending on the language, i.e. the classes from @joeveiga's GIF should not use nord8 but nord7 like the correctly colored DotItem struct from @crispgm's screenshot. I think there is currently no other way than starting to compare the results between tree-sitter and "traditional" highlighting for popular languages and start to play around with the groups to see which are applied for which element. At the moment I don't have a fully running Neovim setup (yet) because I don't use Vim as my IDE, but I guess using nvim-treesitter/playground will help a lot to debug and find solution to these inconsisten highlighting problems.

@arcticicestudio the left one is tree-sitter from my fork and the right one is official nord-vim. After implementing tree-sitter highlighting, nord9 is basically dominating and it's not as distinguishable as either non-tree-sittered one or my fork (which may regarded as a more distinguishable alternative).

Thanks for your patience regarding a reply, it's been busy times again. I want to refer to my comment in the arcticicestudio/nord#157 issue that clarifies my decision about creating a dedicated Nord port for Neovim. This will allow to handle highlighting and any other Neovim specific feature significantly easier when being able to use native Lua APIs instead of being bound to VimScript possibilities only.
I'd like to keep this issue open until the new port is available so it can be used as reference when all Neovim specific code will be removed from this port like explained in another comment in the arcticicestudio/nord#157 issue. This will allow use to get rid of the inconsistent highlighting for a technology that is not native to Vim anyway.

[...] a dedicated Nord port for Neovim. This will allow to handle highlighting and any other Neovim specific feature significantly easier when being able to use native Lua APIs instead of being bound to VimScript possibilities only.

Are you aware that you can use Lua inside of vim script with the Lua native API? like
if has('nvim')
  lua << EOF
    vim.api.nvim_set_hl(0, "@identifier", { link = "Identifier" })
  EOF
endif

I am also not sure if the situation changed now a bit with the latest developments in the nvim-treesitter repo. The old TS... highlight groups got removed and are replaced by the native treesitter groups like @keyword or @function with fallbacks to the Neovim standard highlight groups

Thank you for your patience! 🙏🏼
It‘s been a while since I had free time to focus more on Nord, and my open source projects in general, and invest time in this issue due to work-life balance.
I recently published the first “Northern Post — The state and roadmap of Nord“ announcement which includes all details about the plans and future of the Nord project, including the goal of catching up with the backlog. This issue is part of the backlog and therefore I want to triage and process it to get one step closer to a “clean state“. Read the announcement about reaching the “clean“ contribution triage state in Nord‘s discussions for more details about the goal.
Therefore it has been added to the backlog in the central and single-source-of-truth project board that is also described in more detail in the roadmap announcement.

The further procedure with this issue is to continue to pursue nordtheme/nord#157 regarding the dedicated Neovim port and deprecations of Neovim-specific implementations in this port like mentioned in my previous comment.
@jan-xyz Thanks for the hint regarding the removed TS highlight groups! This could already help to improve the implementations when it leaves the task to Neovim instead of tree-sitter intervening in the highlighting itself.
I‘m aware of the capabilities of Vim and Lua, but running a port in kind of “mixed“ format produces a lot of technical debt and also prevents all the other really good and unique features that Neovim provides, next to the way more native Lua integrations and APIs.
Anyway, the hint that gave
@crispgm joeveiga Also thanks again for your contributions! Would be coll if you could check if the changes in tree-sitter that @jan-xyz mentioned helped to get closer to the highlighting that nord-vim provides without tree-sitter.


Repeater doesn't trigger combo HTTP Request/Response Hook URLs

Requests made using the Burp Repeater trigger these hooks:

HTTP Request Hook URLs
HTTP Response Hook URLs

But do not trigger the combo:

HTTP Request/Response Hook URLs

Is that expected?

Yeah, that's expected since I don't think the scanner handles repeater requests, and the req/response hook is built using a fake scanner.


Combine multiple websocket sources in one panel ("mixed" data source)

Hello,
I'd like to combine the data from two websocket sources into one Panel, sadly the plugin does not work in combination with the "mixed" data source mode of Grafana, is there any chance to get that working, maybe?
P.S.: Thanks for this extremely helpful plugin!

Hey @m0w1337, unfortunately this is not possible right now given the Grafana Live API limitation, that transforms every block of new WS messages into panel data points.
We're still waiting on future enhancements for this API, but, right now, this is now an option.


Booting more than once fails due to broken /etc/network/interfaces

When I run vagrant up && vagrant reload on a fresh clone, the second booting of the box fails. Both times I select to bridge to the ethernet adapter. I'm currently running OS X 10.10.2, Vagrant 1.7.2, and Virtualbox 4.3.20.
Full log: https://gist.github.com/deviantintegral/c08be1445468a915423d
The relevant error:
==> default: Configuring and enabling network interfaces...
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

/sbin/ifup eth1

Stdout from the command:

Stderr from the command:

/etc/network/interfaces:28: interface eth2 declared allow-auto twice
/sbin/ifup: couldn't read interfaces file "/etc/network/interfaces"

I have the same issue with both virtualbox 4.3.20 and 4.3.22.  Works the first time, but as soon as i stop and start again, i get that error above.

This appears to be a Vagrant bug in the latest versions. See https://github.com/mitchellh/vagrant/issues/5180


fix: better handle url with data and extension

fixes #414

Coverage remained the same at 99.485% when pulling 60d942768563401f61f5726c89934ce63995a80c on evilebottnawi:issue-414 into fbb1385fa8eb88ff8865b4be106769596c1afb65 on ben-eb:master.


[Test Failed] FAILED: gen/src/controller/tests/data_model/TestRead_run.pw_pystamp tests/TestRead ERR ../../third_party/pigweed/repo/targets/host/run_test exited with status 255 OUT [Pid: 22671] '#0:','TestRead'

Test issue(s)
https://github.com/project-chip/connectedhomeip/actions/runs/5490169427/jobs/10005272854
FAILED: gen/src/controller/tests/data_model/TestRead_run.pw_pystamp  python3 ../../third_party/pigweed/repo/pw_build/py/pw_build/python_runner.py --gn-root ../../ --current-path ../../src/controller/tests/data_model --default-toolchain=//build/toolchain/host:mac_x64_gcc --current-toolchain=//build/toolchain/host:mac_x64_gcc --touch gen/src/controller/tests/data_model/TestRead_run.pw_pystamp --capture-output --module pw_unit_test.test_runner --python-virtualenv-config python/gen/matter_build_venv/venv_metadata.json --python-dep-list-files gen/src/controller/tests/data_model/TestRead_run_metadata_path_list.txt -- --runner ../../third_party/pigweed/repo/targets/host/run_test --test tests/TestRead ERR ../../third_party/pigweed/repo/targets/host/run_test exited with status 255 OUT [Pid: 22671] '#0:','TestRead'

Anything else?
No response

[1688763688702] [22672:90774] [DMG] Refresh LivenessCheckTime for 5224 milliseconds with SubscriptionId = 0xd14279e6 Peer = 02:0000000011223344
...
[1688763692084] [22672:90774] [DMG] IM RH moving to [AwaitingDestruction]
src/controller/tests/data_model/TestRead.cpp:1804: assertion failed: "callback.mOnError == 1"
src/controller/tests/data_model/TestRead.cpp:1805: assertion failed: "callback.mLastError == CHIP_ERROR_TIMEOUT"
src/controller/tests/data_model/TestRead.cpp:1806: assertion failed: "callback.mOnDone == 1"
'#3:','TestSubscribeAttributeTimeout                             ','FAILED'

No useful timestamps on those failures, but what is conspicuously missing is a line that says: Subscription Liveness timeout with SubscriptionID....
In other words, we are checking for "we timed out" before we actually time out.
The relevant part of the test looks like this:
        ctx.GetIOContext().DriveIOUntil(ComputeSubscriptionTimeout(System::Clock::Seconds16(maxIntervalCeilingSeconds)),
                                        [&]() { return callback.mOnError >= 1; });

where ComputeSubscriptionTimeout adds 100ms of slack on top of what I would expect the liveness timer to be set to.  But if we lose the timeslice for > 100ms, it's possible that we will break out of the loop before we have processed the timer....
We should probably just use slightly more slack here.


Error when I select a "due date" in a spanish web interface.

Gitea version (or commit ref): 36e7cb9
Git version: 2.17.1
Operating system: Linux
Database (use [x]):

[ ] PostgreSQL
[ ] MySQL
[ ] MSSQL
[X] SQLite

Can you reproduce the bug at https://try.gitea.io:

[ ] Yes (provide example URL)
[X] No
[ ] Not relevant

Description
when I set a "Due Date" in a new Issue with a spanish lang, I have this error:
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.
Screenshots

Yes we need better date picker/valiadation

I get this error in in an "english web interface" whatever that is :)

I get this error too.

present in lasted 1.6.0 released, whatever languaje selected, the title of the issue must be changed to "no date picker in issue due date"


Add Redis storage adapter

Redis storage has been implemented in the refactor branch. See #199 for more info.


4.1.1hhl 4B circuit doesn't run on real devices

Describe the Issue
There are multiple errors due to changed qiskit functions, but also due to missing definition of constants. It is hard to guess which values they have as the optimized circuit is not explained in the chapter and I couln't find the reference 5.

It is not clear how to derive t or C for the algorithm and also m is appearing in the optimized version.

Expected Solution
Use new qiskit methods.
Define constants and save results of job and plot them.
Anything else we should know?
I think the authors do not attempt to show the Richard extrapolation here (as it is to extensive?)
I will start with interchanging for new qiskit functions, but will need help to get the right constants.

Hi,
Choosing the time parameter was meant as an exercise that never got explicitly added (so thanks for pointing this out), it will soon be included into the Problems section with the right solution and a hint.
Regarding Richardson extrapolation, you are right in the sense that it was not included with a full explanation since it would have made the section too long and would have deviated from the main topic, i.e. the HHL. However, an outline of the process is included in 4B for those that were interested, which together with exercise 3 (4 after the update) should be enough to get an idea of how to apply it.


How to use it on Mac OS without virtual env

Hey guys! Is there any possibility to use it on Mac OS without an virtual environment?
Because the standard python version is 2.7 and I can only start python 3 with the python3 command.

You can use yasha with Python 2.7.

Ok you're right, I found my problem. 😄


Enable podSecurityPolicy by default

Broken out of discussion in: https://github.com/kubernetes-incubator/bootkube/issues/660
We should enable - then have a pretty locked-down default, and documentation for allowing more "permissive" policies.
/cc @ericchiang @joshrosso

@colemickens volunteered to work on this btw.

a little shocked to use booktube and find it wide open by default. +1 for this.

@bcg62 , PSP is not an easy ride, every ServiceAccount need to be granted permission to use some PSP and not other. PSPs need to be prepared for many core services. Once enabled almost all ready-made yaml/helm charts are going to fail (should you have strict enough default PSP of course, which is the whole point of this exercise).

a little shocked to use booktube and find it wide open by default. +1 for this.

Agreed, I think this is a bit hyperbolic. PSPs are just being brought to a usable state in 1.9.

/area render

I would like to take this up.

/remove-lifecycle stale

/remove-lifecycle rotten

Enabled by default and locked down completely is something I'd like to see. I much rather prefer a "secure by default" approach. Makes any insecure settings a conscience choice made by the user.

@andrewrynhard we are doing it in https://github.com/kinvolk/terraform-render-bootkube (it uses bootkube files as base, they are slightly modified for PSPs and templating via terraform).
I think it makes total sense to add it in bootkube. However, not sure if the idea is to remove PSP and use OPA in the future, though.

Yeah I’m not too excited about being forced to use OPA 😔.

Do we want this to auto close or do we want to keep it open and comment on progress here? Didn't attend to the latest meeting, not sure if the idea is to move forward with this

This is really a question of rendering. And we are fleshing out a proposal for a plugin style setup for rendering. This may not apply to bootkube soon. At this point I'm tempted to let this stay rotten.

/remove-lifecycle stale

/remove-lifecycle rotten

/remove-lifecycle stale

/remove-lifecycle stale

We have a plugin based rendering now, so maybe we can close this?

Works for me.

I think we could re-visit that once we upgrade to latest Kubernetes version etc. Perhaps in the meanwhile situation with PSPs gets improved somehow upstream.

PSPs will be deprecated in K8s 1.21 BTW.

PSPs will be deprecated in K8s 1.21 BTW.

/remove-lifecycle rotten

This project is being archived, for more information see this issue:
https://github.com/kubernetes/org/issues/2824
/close


Bad request error for getFloat function reading from setup Firebase Realtime Database

Hi, I am using the Arduino Uno wifi rev2 to try to read (and eventually write) to firebase RTDB. I am getting a 'bad request' error. Is there a method of debugging my request? Please let me know if I can provide more details to help. Thanks!

You are missing the required data or its data is empty e.g. FIREBASE_HOST, FIREBASE_AUTH and path in the functions that you want to store or read the value.
Please read the usage examples here.


⚠ Processors has degraded performance

In 4aa3f5a, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 79 ms

Resolved: Processors performance has improved in ad9a31e.


[Improvement] Middleware dont process when exception occurred from underlaying processor

Hi,
I see little improvement in middleware when an exception occurred from underlaying processor.
For example with ObjectManagerProcessor::process()
    public function process(Message $message, array $options)
    {
        $result = $this->processor->process($message, $options);
        foreach ($this->managerRegistry->getManagers() as $managerName => $manager) {
            if (method_exists($manager, 'isOpen')
                && !$manager->isOpen()) {
                $this->managerRegistry->resetManager($managerName);
                continue;
            }
            $manager->clear();
        }
        return $result;
    }

if the $this->processor->process() will throw an exception it not reset/clear object manager.
What did you think about finally usage??
    public function process(Message $message, array $options)
    {
        try {
            return $this->processor->process($message, $options);
        } finally {
            foreach ($this->managerRegistry->getManagers() as $managerName => $manager) {
                if (method_exists($manager, 'isOpen')
                    && !$manager->isOpen()) {
                    $this->managerRegistry->resetManager($managerName);

                    continue;
                }

                $manager->clear();
            }
        }
    }

This improvement can be apply to the following middlewares :

Doctrine/ConnectionProcessor
Doctrine/ObjectManagerProcessor
MaxMessages/MaxMessagesProcessor
MemoryLimit/MemoryLimitProcessor
SignalHandler/SignalHandlerProcessor

PS: For the moment the only solution is to strictly ordered middlewares, but i don't think cover all cases.

Hi @instabledesign.
That's a good idea for this processor, for sure!
For processors which don't return the value of the child processor (like MaxMessages, MemoryLimit and SignalHandler which return false to stop the consumer), it won't work properly.
If an exception is thrown, returning false in the finally method will hide this exception which is not a good idea.
As I don't know if I'm really clear, here is a small snippet:
function doit() {
    try {
        throw new \Exception('fail');
    } finally {
        return false;
    }
}

var_dump(doit()); // Will echo "false", no exception thrown.

As this perfectly fit for doctrine related processor, don't hesitate to make a PR. :)

Yeah i see. I'll do the PR soon


[SQL] Hotfix: az sql dw update: fix update to not accept backup-storage-redundancy #16184

Description
A previous PR from earlier this year added backup-storage-redundancy to all SQL create/update methods. This inadvertently added the functionality to SQL DW as well. However, this parameter should not be available during dw update (not supported in the backend), so this PR removes the customer's ability to update a DW's backup storage redundancy.
Testing Guide

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change.
[Component Name 2] az command b: Add some customer-facing feature.

This checklist is used to make sure that common guidelines for a pull request are followed.

[x] The PR title and description has followed the guideline in Submitting Pull Requests.

[x] I adhere to the Command Guidelines.

[x] I adhere to the Error Handling Guidelines.

"FAIL - MEDIUM severity: parameter_should_not_end_in_resource_group"
Is this a new rule? The parameters in question have existed for a long time.  Also they should have target RG parameters.

SQL

@evelyn-ys Can you help take a look at the failures?

"FAIL - MEDIUM severity: parameter_should_not_end_in_resource_group"
Is this a new rule? The parameters in question have existed for a long time. Also they should have target RG parameters.

It is an existing rule. For your scenario, you can add pylint: disable=parameter-should-not-end-in-resource-group to bypass

"FAIL - MEDIUM severity: parameter_should_not_end_in_resource_group"
Is this a new rule? The parameters in question have existed for a long time. Also they should have target RG parameters.

medium errors is not a blocker for the CI and the root cause is that there is a high severity. The high one could be fixed when the PR is merged https://github.com/Azure/azure-cli/pull/16297.

Hi @xaliciayang, would server side return error when the parameter is used before?

Hi @xaliciayang, would server side return error when the parameter is used before?

Hi @Juliehzl yes; SQL DW currently does not support updating this value so sql dw update returned an error when customer tried.

@evelyn-ys could this PR get merged?

@evelyn-ys could this PR get merged?

I am discussing with @xaliciayang about whether to ship a hotfix or not. If a hotfix is necessary, changes should be merged into 'release' branch. She may have to do some duplicate work to pass CI as #16306 #16297 have already done to fix CI for 'dev' branch.

sql has some test failures.
https://clitestresultstac.blob.core.windows.net/20201218-032122-202542/sql.report.parallel.html
Please create resource group in test to avoid this error
Resource group *** could not be found

moved to #16326


Full exercise editor (with summernote)

Merge https://github.com/fle-internal/content-curation/pull/168 and https://github.com/fle-internal/content-curation/pull/169 first

Hi - maybe tomorrow you can help me get this running locally so I can test the UX?

The clipboard tab seems to be stuck in a 'loading' state:

also seeing some errors after creating a channel. are these maybe issues unrelated to this PR?
ERROR:django.request:Internal Server Error: /api/contentnode/6bce186d8cfc48a992bbe5306ff211d0
Traceback (most recent call last):
  File "/Users/d/PythonEnvs/cc/lib/python2.7/site-packages/django/core/handlers/base.py", line 149, in get_response
    response = self.process_exception_by_middleware(e, request)
  File "/Users/d/PythonEnvs/cc/lib/python2.7/site-packages/django/core/handlers/base.py", line 147, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/Users/d/PythonEnvs/cc/lib/python2.7/site-packages/django/views/decorators/csrf.py", line 58, in wrapped_view
    return view_func(*args, **kwargs)
  File "/Users/d/PythonEnvs/cc/lib/python2.7/site-packages/rest_framework/viewsets.py", line 87, in view
    return self.dispatch(request, *args, **kwargs)
  File "/Users/d/PythonEnvs/cc/lib/python2.7/site-packages/rest_framework/views.py", line 466, in dispatch
    response = self.handle_exception(exc)
  File "/Users/d/PythonEnvs/cc/lib/python2.7/site-packages/rest_framework/views.py", line 463, in dispatch
    response = handler(request, *args, **kwargs)
  File "/Users/d/PythonEnvs/cc/lib/python2.7/site-packages/rest_framework/mixins.py", line 58, in retrieve
    return Response(serializer.data)
  File "/Users/d/PythonEnvs/cc/lib/python2.7/site-packages/rest_framework/serializers.py", line 503, in data
    ret = super(Serializer, self).data
  File "/Users/d/PythonEnvs/cc/lib/python2.7/site-packages/rest_framework/serializers.py", line 239, in data
    self._data = self.to_representation(self.instance)
  File "/Users/d/PythonEnvs/cc/lib/python2.7/site-packages/rest_framework/serializers.py", line 472, in to_representation
    ret[field.field_name] = field.to_representation(attribute)
  File "/Users/d/PythonEnvs/cc/lib/python2.7/site-packages/rest_framework/fields.py", line 1653, in to_representation
    return method(value)
  File "/Users/d/Projects/learning_equality/repos/content-curation/contentcuration/contentcuration/serializers.py", line 354, in retrieve_associated_presets
    return FormatPreset.objects.filter(kind = node.kind).values()
  File "/Users/d/PythonEnvs/cc/lib/python2.7/site-packages/django/db/models/fields/related_descriptors.py", line 169, in __get__
    rel_obj = qs.get()
  File "/Users/d/PythonEnvs/cc/lib/python2.7/site-packages/django/db/models/query.py", line 387, in get
    self.model._meta.object_name
DoesNotExist: ContentKind matching query does not exist.
[29/Mar/2017 19:14:00] "GET /api/contentnode/98e024d6ec7b4e9ebdd291c6a5b25674?_=1490814837332 HTTP/1.1" 500 18863```

clicking 'create exercise' results in a 400 error:
{"kind":["Invalid pk \"exercise\" - object does not exist."]}

The 'thumbnail' UI is still pretty confusing:

it's under a drop-down called 'formats (0)'
Cannot remove the thumbnail
Replacing the thumbnail causes the number next to formats to toggle between 0 and 1 rather than staying at 1

after opening the 'create exercise' modal, I can't seem to close it (cancel out):

Currently, editor allows pasting HTML - do we want to disallow this?

equation popup is taller than the surrounding container element and truncates:

Adding an equation on the same line as some existing text makes the existing text disappear.

insert text
insert image
cut image to clipboard
paste in a different location

Switching to "true/false" answer style does not stick - it flips over to "single selection", after which more answers can be added.

numeric input answers show full text editor:

copy/pasting equations also give funky results:

trying to save a new exercise:

ERROR:django.request:Internal Server Error: /api/file
Traceback (most recent call last):
  File "/Users/d/PythonEnvs/cc/lib/python2.7/site-packages/django/core/handlers/base.py", line 149, in get_response
    response = self.process_exception_by_middleware(e, request)
  File "/Users/d/PythonEnvs/cc/lib/python2.7/site-packages/django/core/handlers/base.py", line 147, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/Users/d/PythonEnvs/cc/lib/python2.7/site-packages/django/views/decorators/csrf.py", line 58, in wrapped_view
    return view_func(*args, **kwargs)
  File "/Users/d/PythonEnvs/cc/lib/python2.7/site-packages/rest_framework/viewsets.py", line 87, in view
    return self.dispatch(request, *args, **kwargs)
  File "/Users/d/PythonEnvs/cc/lib/python2.7/site-packages/rest_framework/views.py", line 466, in dispatch
    response = self.handle_exception(exc)
  File "/Users/d/PythonEnvs/cc/lib/python2.7/site-packages/rest_framework/views.py", line 463, in dispatch
    response = handler(request, *args, **kwargs)
  File "/Users/d/PythonEnvs/cc/lib/python2.7/site-packages/rest_framework_bulk/drf3/mixins.py", line 74, in bulk_update
    self.perform_bulk_update(serializer)
  File "/Users/d/PythonEnvs/cc/lib/python2.7/site-packages/rest_framework_bulk/drf3/mixins.py", line 85, in perform_bulk_update
    return self.perform_update(serializer)
  File "/Users/d/PythonEnvs/cc/lib/python2.7/site-packages/rest_framework_bulk/drf3/mixins.py", line 82, in perform_update
    serializer.save()
  File "/Users/d/PythonEnvs/cc/lib/python2.7/site-packages/rest_framework/serializers.py", line 654, in save
    self.instance = self.update(self.instance, validated_data)
  File "/Users/d/Projects/learning_equality/repos/content-curation/contentcuration/contentcuration/serializers.py", line 113, in update
    file_obj.save()
  File "/Users/d/Projects/learning_equality/repos/content-curation/contentcuration/contentcuration/models.py", line 501, in save
    super(File, self).save(*args, **kwargs)
  File "/Users/d/PythonEnvs/cc/lib/python2.7/site-packages/django/db/models/base.py", line 708, in save
    force_update=force_update, update_fields=update_fields)
  File "/Users/d/PythonEnvs/cc/lib/python2.7/site-packages/django/db/models/base.py", line 736, in save_base
    updated = self._save_table(raw, cls, force_insert, force_update, using, update_fields)
  File "/Users/d/PythonEnvs/cc/lib/python2.7/site-packages/django/db/models/base.py", line 801, in _save_table
    forced_update)
  File "/Users/d/PythonEnvs/cc/lib/python2.7/site-packages/django/db/models/base.py", line 851, in _do_update
    return filtered._update(values) > 0
  File "/Users/d/PythonEnvs/cc/lib/python2.7/site-packages/django/db/models/query.py", line 645, in _update
    return query.get_compiler(self.db).execute_sql(CURSOR)
  File "/Users/d/PythonEnvs/cc/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 1149, in execute_sql
    cursor = super(SQLUpdateCompiler, self).execute_sql(result_type)
  File "/Users/d/PythonEnvs/cc/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 848, in execute_sql
    cursor.execute(sql, params)
  File "/Users/d/PythonEnvs/cc/lib/python2.7/site-packages/debug_toolbar/panels/sql/tracking.py", line 159, in execute
    return self._record(self.cursor.execute, sql, params)
  File "/Users/d/PythonEnvs/cc/lib/python2.7/site-packages/debug_toolbar/panels/sql/tracking.py", line 101, in _record
    return method(sql, params)
  File "/Users/d/PythonEnvs/cc/lib/python2.7/site-packages/django/db/backends/utils.py", line 79, in execute
    return super(CursorDebugWrapper, self).execute(sql, params)
  File "/Users/d/PythonEnvs/cc/lib/python2.7/site-packages/django/db/backends/utils.py", line 64, in execute
    return self.cursor.execute(sql, params)
  File "/Users/d/PythonEnvs/cc/lib/python2.7/site-packages/django/db/utils.py", line 95, in __exit__
    six.reraise(dj_exc_type, dj_exc_value, traceback)
  File "/Users/d/PythonEnvs/cc/lib/python2.7/site-packages/django/db/backends/utils.py", line 64, in execute
    return self.cursor.execute(sql, params)
  File "/Users/d/PythonEnvs/cc/lib/python2.7/site-packages/django/db/backends/sqlite3/base.py", line 323, in execute
    return Database.Cursor.execute(self, query, params)
OperationalError: database is locked
[29/Mar/2017 22:15:03] "PUT /api/assessmentitem HTTP/1.1" 200 2550
[29/Mar/2017 22:15:05] "PUT /api/file HTTP/1.1" 500 20691

I'll go ahead and merge this is. @aronasorman @jayoshih @radinamatic let's keep QAing this on a staging server


Adapt bitcoin-standup-scripts to automate deploy

Task description
The goal of the issue is to have a shell script, that will simplify putting a8 new BGL node online simple and fast.
There is a solution available for BTC at https://github.com/BlockchainCommons/Bitcoin-Standup-Scripts
So the solution direction looks like following:

Get the scripts from the repo to work with BGL Core;
Test with a clean Debian installation;
Place modified scripts in the tools/standup-scripts section;

BGL Core command-line arguments are as of now fully compatible with Bitcoin Core arguments.
Packages and installation notes can be found in the 'releases' section on GitHub
https://github.com/wu-emma/bitgesell/releases/tag/0.1.2
Acceptance criteria:

On a VM with clean image of Ubuntu 18.04 (e.g. in popular cloud services like GCloud)
the script could be downloaded with wget tool and ran with required parameters,
making the VM a full BGL Core node with autorestart of the service (particular cloud
firewall configuration is out of scope);

@van-orton @wu-emma
If this issue is still open , I would like to work on it.

This is replaced by issue #21 to reassign bounty (as it did not have workers approval and wasn't completed)


Discord Avatar Bug

Just noticed this bug for Fuma, not sure why the links are seemingly "broken"
Fuma Image
Yi Lon Ma Image
I think its something related to the /avatars and /guilds
Will investigate and see if i can fix this

Cause
As discussed in #discord-feedback, this error was caused due to the fact that the user got his profile pic updated, so the Old Url was no longer active
Profile Pic gets updated, if the user is active in help-forum
This is not only with fuma nama, but if you view some old posts like one here: https://nextjs-forum.com/page/1201
Solution
A suitable solution for the issue is to use Radix Avatar, it has a fallback option, which can be used to display a default profile pic in frontend.

@rafaelalmeidatk What do you think about the solution?


Nest.js middleware does not execute when using nestjs-mercurius.

I created an upstream issue because I thought it might be a Nest.js issue.  I'm not completely sure if it is or isn't.
https://github.com/nestjs/nest/issues/7569
and the reproduction... https://github.com/j/nestjs-middleware-bug
I'm uncertain and haven't dug too much into it, but it breaks my authentication when switching over to this library.  I'm assuming it might be due to the duplicate "fastify" modules you get when installing @nestjs/platform-fastify and (nestjs-)mercurius.
It's a pretty blocking issue though since a lot of people use modules that rely on nest application middleware.

Checked, yup you're right, as a note, with Yarn works.
I'll remove entirely the fastify peerDep so the only one required is defined in @nestjs/platform-fastify

Yeah I've been using latest NPM for some reason and switched away from yarn and hit a bit of issues, haha.
Though strict isn't a bad thing and yarn not duping fastify could break things.

@Davide-Gheri Side note: I tried cloning this repository and can't install dependencies.  I can submit a PR with fixes and test if needed.


BotService Resource Provider C# SDK

First iteration of the C# SDK for the BotService resource provider.
In this release, we support the simplest bots. In a future release we'll provide bot templates and allow users to create bots based off those templates in different programming languages.
Swagger: https://github.com/Azure/azure-rest-api-specs-pr/blob/current/specification/botservice/resource-manager/Microsoft.BotService/2017-12-01/botservice.json

@carlosscastro when you are ready to schedule a meeting to discuss this PR and ready to merge, you can either create a new PR or reopen existing one.
Closing due to inactivity on this PR


SelectableLazyColumn has no styling

While SelectableLazyColumn is a "pure" component, it has no built-in styling system for the rows. This forces every single implementer to do:
val color = when {
    isSelected && isActive -> retrieveColorOrUnspecified("List.selectionBackground")
    isSelected && !isActive -> retrieveColorOrUnspecified("List.selectionInactiveBackground")
    else -> Transparent
}

Row(
    modifier = Modifier.height(IntUiTheme.globalMetrics.rowHeight)
        .background(color)
        .padding(horizontal = 4.dp),
    verticalAlignment = Alignment.CenterVertically,
    horizontalArrangement = Arrangement.spacedBy(4.dp),
) {
    // ...

While IntUiTheme.globalMetrics.rowHeight has been added (at least on a working branch), it's pretty annoying having to keep track of the state and background colors, setting the height by hand, etc etc

This relates to #627

Closed with #653


Plugin should not be order dependent

If the plugin is applied prior to the java plugin the build fails because the test task has not yet been added. This can be resolved by using afterEvaluate to complete at the end of the configuration phase.
Caused by: org.gradle.api.UnknownTaskException: Task with name 'test' not found in project ':caffeine'.
	at org.gradle.api.internal.tasks.DefaultTaskCollection.createNotFoundException(DefaultTaskCollection.java:85)
	at org.gradle.api.internal.DefaultNamedDomainObjectCollection.getByName(DefaultNamedDomainObjectCollection.java:192)
	at org.gradle.api.internal.tasks.DefaultTaskCollection.getByName(DefaultTaskCollection.java:34)
	at org.gradle.api.tasks.TaskCollection$getByName$0.call(Unknown Source)
	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
	at com.blogspot.toomuchcoding.testprofiler.BuildBreaker.createAfterCompilationTestTaskModifier(BuildBreaker.groovy:34)
	at com.blogspot.toomuchcoding.testprofiler.BuildBreaker.performBuildBreakingLogic(BuildBreaker.groovy:27)
	at com.blogspot.toomuchcoding.testprofiler.TestProfilerPlugin.performBuildBreakingLogic(TestProfilerPlugin.groovy:76)
	at com.blogspot.toomuchcoding.testprofiler.TestProfilerPlugin.apply(TestProfilerPlugin.groovy:48)
	at com.blogspot.toomuchcoding.testprofiler.TestProfilerPlugin.apply(TestProfilerPlugin.groovy)

Fixed in 0.3.1 ! Thanks :)

I seem to be getting the reverse problem.
Task 'profileTests' not found in project
I would have thought that applying both the Java plugin and this plugin would be enough to have the task defined.  Any thoughts?

Can you show me your sample application? Do you have the code somewhere?

I'll try to get a sample app going, but it's fairly straight forward.  It's a multi-module app if that matters.

THat's too little information cause I've successfully applied the plugin to a gigantic multi-module app. So with the sample app I'll be able to debug the issue.


Feat/deploy to cloud

Codecov Report

Merging #147 (40c8188) into master (352be99) will decrease coverage by 0.25%.
The diff coverage is 88.23%.

@@            Coverage Diff             @@
##           master     #147      +/-   ##
==========================================
- Coverage   95.71%   95.45%   -0.26%
==========================================
  Files           7        8       +1
  Lines         490      506      +16
==========================================
+ Hits          469      483      +14
- Misses         21       23       +2

Impacted Files
Coverage Δ

service/config.py
83.33% <83.33%> (ø)

service/__init__.py
83.33% <100.00%> (+0.98%)
:arrow_up:

service/routes.py
97.44% <100.00%> (+0.03%)
:arrow_up:

Continue to review full report at Codecov.

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


webpack dev server does not serve over LAN by default

According to this, we just need to append --host <IP_ADDRESS> to "dev": "webpack-dev-server --inline --progress --config build/webpack.dev.conf.js
I don't know webpack well enough to say this is the best solution though.

you can easily change the host in /config/index.js.


After advanced installation I get a bad gateway error

I've installed Teslamate once before. It was running fine. Then I've uninstalled Docker and everything from Teslamate. After installing it again with the instructions "Advanced installation with Traefik, Let's Encrypt & HTTP Basic Auth" I get the bad gateway error, after entering my own generated credentials for the HTTP Basic Auth.
Don't know where to begin with debugging.
Alex

Updated to the latest version. The Grafana Dashboard is available at https://teslamate.mydomain.de/grafana but not https://teslamate.mydomain.de/

Updated to the latest version. The Grafana Dashboard is available at https://teslamate.mydomain.de/grafana but not https://teslamate.mydomain.de/


Use SOSL to generate bindings

Hi Andy
Great stuff.
One feature that might be of use instead of using custom metadata you could you SOSL to find your classes that extend di_module.
List<List<SObject>> results = [FIND ' extends di_Module' IN ALL FIELDS RETURNING ApexClass (Id, Name)];

for(SObject result : results.get(0)){
    System.debug(result.get('Name'));
}

It would be a relatively quick query and you could also cache the data in the platform cache.
I was contemplating using this to create my own annotations framework for DI but I thought it might be too temperamental and require too much processing time for the initial setup/config.
Although I'm not sure how this would work with unlocked packages if the code would be searchable or not.

@jjulicher wow mind blown! SOSL over Apex! 👍  Thanks for sharing!


The Registration of LEDGroup Blocks the Devices Module from Proceeding

For some unknown reason, any code after this segment does not execute.
@device((LEFT_INDICATOR, RIGHT_INDICATOR), MAIN_CONTROLLER, [
    (LED(5, .5, .5), LED(6, .5, .5), LED(26, .5, .5)), (LED(17, .5, .5), LED(27, .5, .5), LED(22, .5, .5))
])
class DirectionIndicators(LEDGroup):
    @override
    def initialize(self, *parent_tags: str) -> None:
        mark_device(self, "DI")
        super().initialize(*parent_tags)
        self.write(LEDGroupCommand(LEDCommand.BLINK_ONCE, Entire()))

The cause is that this segment raises an ImportError.

This is not fixable.


move editorconfig to explicit types

Thank you @SimonCropp
I queued for CI build.

damn i targeted main.
can you please make the default branch dev to prevent these problems


How to create a DOWNLOAD button?

I have tried in this way, but not working:
addElement(
  createElement("input", {type: "button", value: "pdb",
    onclick: function (e) {
      download(data = "./1aap.pdb", downloadName = "1aap.pdb")
    }
  })
)

I could click the pdb button that I created, but no download happens.

What does your download function do? (The event callback)

Ahhhh solved. Change the download into NGL.download, which is an inner function in NGL.

What does your download function do? (The event callback) Also, do you see any errors in the Chrome dev tools console?

Thanks a lot. I solved it.


Clspv crashes on IR input accessing array of structs with different field sizes

These are compiled externally with Clang 18, some crash Clspv, some succeed.
See the varying IR inputs at the godbolt.com links.
struct E
{
  char i; // Fails:  https://godbolt.org/z/1h8dfE1Gs
  // short i; // Fails:  https://godbolt.org/z/3v6q86bqK
  // int i; // OK:  https://godbolt.org/z/9K1a98MhK
  // long i; // OK:  https://godbolt.org/z/7jG9PaeGY
};

struct S { struct E e[200]; };

kernel void Kernel(global struct S* s)
{
  for (int i = 0; i < 200; ++i)
  {
    struct E e = s->e[i];
    e.i = 1;
    s->e[i] = e;
  }
}

AFAIK clspv does not support vectors of pointers as shown in the 2 IR failing.
2 possibilities:

add support in clspv, which is quite some work
change your frontend to avoid generating those.

Please avoid filing bugs with a working code (the CL code above), where we have to go through links to find code failing.
Also note that using another frontend that the one used by clspv is dangerous and this is a typical case where you will need to find a solution by yourself for the time being.

The front end is Clang 18, the same one you will be calling internally when you sync with LLVM.  It is probably a matter of flags to disable the vectorized pointers.  If there are other changes, Clspv will have to handle them at some point.
Let me reiterate that compiling externally with Clang 17-18 has been significantly more stable than Clspv trying to call Clang itself with its own settings.  This was a rare exception.  If we were not doing such a "dangerous thing", we would be reporting 5 to 10 times more bugs in Clspv.
I understand that you may be getting exhausted, but you could be as thankful for our efforts as we have been for yours.

It feels like you are missing something here.
Compiling like you do with clang externally and then using the generated IR could be exactly the same as what is done in clspv IF we had the same compile options.
You can have a look at the compile options used for clang internally in Compiler.cpp->SetCompilerInstanceOptions.
You can try to change things there and you should be able to get the same things as with clang externally.
Then the hard part would be to merge those changes as it would need not to regress anything CTS wise.
I hope this is clearer for you.


Add msvc-14.0 CI jobs

For discussion - not ready to merge.
Of the three groups of tests (tests, run-fat-tests, example), one of them completes successfully, the others reach 99% completion and then hang.
Attempting to debug, I've tried these steps:

Run the same test in gh actions. Same result.
Add a series of "echo", or "true" commands at the end of the test script. However, it does not get to those final commands.
Turn on debugging on the drone agent. No messages.
Directly observe the docker logs of the running jobs. However, they are the same as usual log output.
The Dockerfiles are at https://github.com/CPPAlliance/droneconverter/tree/master/dockers
@madmongo1, could the main beast test suite be broken into ten smaller pieces? And run as separate jobs. That would be a "git bisect" type strategy for debugging.
Or, @grisumbras just commented: "I discovered the source of msvc-14.0 problem: it doesn't like template <void* = nullptr> You have to replace it with template <class = void>"

From the slack discussion, it sounds like Beast does not support msvc-14.0.  Therefore, closing the issue.


Match: Can't generate certificates using match

New Issue Checklist

[X] Updated fastlane to the latest version
[X] I read the Contribution Guidelines
[X] I read docs.fastlane.tools
[X] I searched for existing GitHub issues

Issue Description
I'm trying to automate things in my workflow and one of those things is certificates. I'm trying to use match and I followed every step in the guides but I still getting an error & I can't figure out why. Any help would be appreciated.

I created a private repo
I run match init
I run fastlane match development and I get the error below

Here's a screenshot of my terminal:

Complete output when running fastlane, including the stack trace and command used

✅ fastlane environment ✅
Stack

Key
Value

OS
10.14

Ruby
2.2.4

Bundler?
false

Git
git version 2.19.1

Installation Source
~/.fastlane/bin/bundle/bin/fastlane

Host
Mac OS X 10.14 (18A391)

Ruby Lib Dir
~/.fastlane/bin/bundle/lib

OpenSSL Version
OpenSSL 1.0.2g  1 Mar 2016

Is contained
false

Is homebrew
true

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
10.0

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL
en_US.UTF-8
✅

LANGUAGE
en_US.UTF-8
✅

fastlane files:
No Fastfile found
No Appfile found
fastlane gems

Gem
Version
Update-Status

fastlane
2.107.0
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

slack-notifier
2.3.2

atomos
0.1.3

CFPropertyList
2.3.5

claide
1.0.2

colored2
3.1.2

nanaimo
0.2.6

xcodeproj
1.7.0

rouge
2.0.7

xcpretty
0.3.0

terminal-notifier
1.7.1

unicode-display_width
1.1.3

terminal-table
1.7.3

plist
3.2.0

public_suffix
2.0.5

addressable
2.5.1

multipart-post
2.0.0

word_wrap
1.0.0

tty-screen
0.6.5

tty-cursor
0.6.0

tty-spinner
0.8.0

babosa
1.0.2

colored
1.2

highline
1.7.8

commander-fastlane
4.4.6

excon
0.55.0

faraday
0.12.1

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20170404

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

fastimage
2.1.0

gh_inspector
1.1.3

json
1.8.1

mini_magick
4.5.1

multi_json
1.12.1

multi_xml
0.6.0

rubyzip
1.2.2

security
0.1.3

xcpretty-travis-formatter
0.0.4

dotenv
2.2.0

bundler
1.14.6

faraday_middleware
<IP_ADDRESS>

naturally
2.2.0

simctl
1.6.5

uber
0.0.15

declarative
0.0.10

declarative-option
0.1.0

representable
3.0.4

retriable
2.1.0

mime-types-data
3.2016.0521

mime-types
3.1

jwt
1.5.6

signet
0.11.0

little-plugger
1.1.4

logging
2.2.2

memoist
0.15.0

os
0.9.6

googleauth
0.5.1

httpclient
2.8.3

google-api-client
0.23.9

emoji_regex
0.1.1

libxml-ruby
3.0.0

generated on: 2018-10-23

Hmm, it turned out I had to reset keychain and put the keychain data back there through a backup. Git is weird sometimes. 🙄


Make cursor pointer for the logo

Hi! Can I try this one?

@TheNinza I would like to do this one. Can you please assign me this

hey @kazulu , I appreciate your response. But this issue was made as an effort to introduce my college students to the open source. If no one responds to it by tomorrow, I will assign this to you.

@TheNinza I would like to do this one. Can you please assign me this

hey @rishabh-live , I appreciate your response. But this issue was made as an effort to introduce my college students to the open source. Also @kazulu is already in queue. Make sure to check other issues. If not present, suggest something in a new issue that you would like to work on.

I didn't notice the queue.

@TheNinza  hi sir can i take up this issue? how much time do I have to solve this issue?

Yes @SaahilSabu , go ahead

I would like to work on this issue. Can you please assign it to me?

Hey @disha9112 .... Sure go ahead


Remove fileencoding from falcon ftplugin

For discussion on this see: https://github.com/vim/vim/pull/7091
cc: @sheerun

I'll include it, thanks.  I'll also add a "last update" entry in the header, so it's easy to see.


Users

What I would like to see is a multi-user login. So that more users can be created and that they can log in as a reader and not as an administrator.
If the page is secured, you must log in by name but only have read rights.
Is that possible?

Definitely possible, but definitely far future backlog type stuff. Has been something in the back of my mind since I first made the project - would like to have some kind of user management to allow end users to subscribe to pager messages via email or something. Managing users creates a huge layer of complexity and security though, so it'll probably remain in the backlog for some time.


Feature - Change the proficiency die(s) used

Feature for you to consider
Allow the GM to change the proficiency die(s) used.  Or (for simplicity) just give them 5 tiers like in the DMG and let them pick the die formula for each. Preferably, the user could enter something like "2d6 - 1" for the die formula for a given level.
Reason
I think the DMG proficiency die is interesting, but mathematically I don't love it. At level 17, for example, a PC would have a +6 bonus or, under the alternative rule, roll a 1d12. That means, under the alternative, that the average bonus is 6.5 (which is basically the same) but the range is crazy-wide: +1 to a +12. I would prefer something that better approximates a normal bell curve, so that +6 is more likely than the extremes. This would make it much less likely that a high-level character totally botches a roll, and will make high-level characters more consistently perform better than low-level characters.
To do that, I would change 1d12 to a 2d6. Similarly, I would change 1d8 to 2d4.  That would make the proficiency roll more likely to fall close to the expected proficiency bonus for the level.
In addition, to make the math work, I might add a minus 1. For example, 17th level would be 2d6 - 1, giving a range of 1 to 11, with mean 6. (The mean for 1d6 is 3.5, so doubling the dice would get to 7, then the -1 gets you back to 6.) Cuts off the top-end, but as a grumpy GM, not sure I want people running around with a potential +12 for proficiency.

Hmm, currently I'm just using math to calculate the prof die but yeah I can look into giving people the option of using different dies for each tier.


OpenAPI model not considering mixins in natibe build

Bug description
When using camel-quarkus-openapi-java generation of the OpenAPI specification in native mode doesn't take into account the mixins specified in the swagger-core library:
https://github.com/swagger-api/swagger-core/blob/3fcc473c33c56f306902853a451020926ad691ea/modules/swagger-core/src/main/java/io/swagger/v3/core/util/ObjectMapperFactory.java#L244
In JVM mode - everything works as expected.
The root cause of the issue is that the mixins are abstract classes without any children, so they get stripped during native build.
As a result - the OpenAPI document might become very big (in case of complex data model) and make swagger UI completely unresponsive.
The  extension should register the mixins for reflection to prevent flooding openapi json with unnecessary data.
Attached is sample reproduces: [sample-app.zip](https://github.com/apache/camel-quarkus/files/14634597/sample-app.zip)
In JVM    mode openapi size (accessible on /v1/openapi) is 1502 bytes
In Native mode  openapi size (accessible on /v1/openapi) is 3653 bytes
(The difference comes mostly from Components -> Schemas -> <DataType> -> jsonSchema section)

Thanks @ivivanov-bg - I will take a look.

@ivivanov-bg what the mixin classes should be registered for reflection? I tried all class from io.swagger.v3.core.jackson.mixin but the native runner is producing an empty response now.

That's exacrly what I observed too and the reason to not privide a PR directly.
My cussrent issue (with the jsonSchema) gets resolved if the Schema31 mixin and the inner type serializer are registered, but to me this looked more like a workaround for particular situation

io.swagger.v3.core.jackson.mixin.Schema31Mixin and Schema31Mixin.TypeSerializer ?

Yes
Attached is updated sample-app
sample-app.zip

Thanks @ivivanov-bg - yeah, it works by adding all the mixin classes and relavant JsonSerializer. I will prepare a PR with an integration test.

@ivivanov-bg can you check the fix with your reproducer? If it works, I will merge the PR.

I just tested it - it's working as expected now
Thanks


[BSO Only] Fang, Lightbearer and Ward still use pink sprites

🐛 Bug Report
Title. Even when equipped, its still the pink placeholder from Tournament worlds.

These items now use the correct icons.