Trying to install but fails

Hi,
I have followed the instructions.
However I didn't have packages/app/src/plugins.ts file but created it with the content.
When starting backstage yarn dev I get an error which I relates to this plugin
[0] ERROR in ../../node_modules/react-data-table-component/dist/index.cjs.js 1:102-130
[0] Module not found: Error: Can't resolve 'styled-components' in '/home/my-uid/projects/devexp/playbook-backstage/backstage-site/node_modules/react-data-table-component/dist'
[0]
[0] webpack compiled with 1 error

I ran into this same error. It looks like one of this plugin's dependencies, react-data-table-component, requires the styled-components package to be installed, but doesn't include it in its package.json.
After installing the latest version of styled-components to the packages/app directory of your Backstage installation, you should be able to get further.

Thanks @briandesousa that made it running but not working.
Do you know if this plugin works with Harbor v2.x (which we use)?
We have v2.x and I see ${backendUrl}/api/harbor/artifacts?project=${props.project}&repository=${props.repository} in the code but in Harbor API docs it says baseUrl harbor.company.net/api/v2.0 and endpoint /projects/{project_name}/repositories/{repository_name}/artifacts
Getting:
Error
TypeError

Message
Cannot read properties of undefined (reading 'repoUrl')

Stack Trace
TypeError: Cannot read properties of undefined (reading 'repoUrl')
    at HarborRepository (webpack-internal:///../../node_modules/@bestsellerit/backstage-plugin-harbor/dist/index.esm.js:247:25)
    at renderWithHooks (webpack-internal:///../../node_modules/@hot-loader/react-dom/cjs/react-dom.development.js:14804:18)
    at updateFunctionComponent (webpack-internal:///../../node_modules/@hot-loader/react-dom/cjs/react-dom.development.js:17035:20)
    at beginWork (webpack-internal:///../../node_modules/@hot-loader/react-dom/cjs/react-dom.development.js:18611:16)
    at HTMLUnknownElement.callCallback (webpack-internal:///../../node_modules/@hot-loader/react-dom/cjs/react-dom.development.js:189:14)
    at Object.invokeGuardedCallbackDev (webpack-internal:///../../node_modules/@hot-loader/react-dom/cjs/react-dom.development.js:238:16)
    at invokeGuardedCallback (webpack-internal:///../../node_modules/@hot-loader/react-dom/cjs/react-dom.development.js:293:31)
    at beginWork$1 (webpack-internal:///../../node_modules/@hot-loader/react-dom/cjs/react-dom.development.js:23204:7)
    at performUnitOfWork (webpack-internal:///../../node_modules/@hot-loader/react-dom/cjs/react-dom.development.js:22158:12)
    at workLoopSync (webpack-internal:///../../node_modules/@hot-loader/react-dom/cjs/react-dom.development.js:22131:22)

You are now stuck at the same error that I am stuck at. I wasn't quite sure if it was something that I was doing wrong but I am seeing the exact same error. I did a little bit of digging into the plugin's source code but I wasn't able to figure out exactly why this failure is occurring. It seems that the call to the Harbor V2 API from backstage-plugin-harbor-backend is failing silently ultimately resulting 404 not found returned from the Backstage backend. I couldn't find any logs to indicate why it was failing though...

@briandesousa I thing I found the issue.
It seems that cannot handle images with multi /. Typically we have multi-slashes like <project>/<team>/<image> but tested with a <project>/<image> (something we replicate) and that works.
Will register another issue in backend project

https://github.com/BESTSELLER/backstage-plugin-harbor-backend/issues/5

Hi @4integration and @briandesousa
I noticed that sometimes the backend is slow to response so I increase the timeout https://github.com/BESTSELLER/backstage-plugin-harbor/commit/4f2c0ec15fbe402ce6a1f2da1008363a9f23c492
this should fix the problem

Unfortunately, the timeout increase didn't seem to help. The harbor backend plugin is responding but with a 404 not found:

Its entirely possible I have something misconfigured though...

@briandesousa do you know what port your backend is running on? 3000 or 7000. Also do you get a response from localhost:7000/api/harbor/health

@briandesousa I also noticed I was referencing some of the json wrong in the front end I've fixed this and created a new release

Thanks @wrighbr but I still have the multi-level issue and registered some new info in harbor-backend https://github.com/BESTSELLER/backstage-plugin-harbor-backend/issues/5


Feature/jquery plugin

Hey guys, I think after some awesome tips from @jakiestfu this thing might be fairly close to merging.
Do you all have any thoughts?


Documentation

Can you provide further insight to what is the command line arguments specifically revolving around the schema. For example, if I have a json of FTP results. Here is what I have tried with Python errors revolving around the schema name:
zschema elasticsearch zgrab2-ftp ftp.json
Any further insight would be helpful. Thank you.

What are you trying to accomplish?

take my ftp.json file and make it into the ElasticSearch format...but as I type this...json is already good to go for ElasticSearch...so I probably don't need to convert it, correct?

what the [file] that zschema needs? Is that just a file where the output schema goes?

I guess what I'm asking what is a example command line argument for FTP results from zgrab2 that are in json format?

Hello, I am working with komeara1 on this activity.
I think a different way to ask the question is how do you use either add schemas to the zschema registry or use the schemas from zmap to identify the module.
If I look in the file: zgrab2/zgrab2_schemas/zgrab2/ftp.py
it says that it registers zgrab2-ftp globally, is there a way to test it running
zschema elasticsearch zgrab2-ftp:ftp_scan_response ftp.json
produces an error.
Traceback (most recent call last):
  File "/usr/local/bin/zschema", line 11, in <module>
    load_entry_point('zschema==0.10.2', 'console_scripts', 'zschema')()
  File "/usr/local/lib/python2.7/dist-packages/zschema-0.10.2-py2.7.egg/zschema/__main__.py", line 74, in main
    load_source('module', path)
IOError: [Errno 2] No such file or directory

There is a bug in zschema:
zschema --module zgrab2_schemas.zgrab2 elasticsearch zgrab2-ftp /mnt/hgfs/Shared/ftp_dod_cidr.json
Traceback (most recent call last):
  File "/usr/local/bin/zschema", line 11, in <module>
    load_entry_point('zschema==0.10.2', 'console_scripts', 'zschema')()
  File "/home/juser/.local/lib/python2.7/site-packages/zschema/__main__.py", line 87, in main
    print json.dumps(record.to_es(recname))
UnboundLocalError: local variable 'recname' referenced before assignment

Removing recname from the to_es() call seems to fix this bug.  You should probably check the other to_X() calls, as using recname is not correct most of the time.

Thanks for the notes here. @sei-mwd, I think this bug is unrelated to the question on hand. Would you be willing to open a separate issue so that we can track this?
Instead of answering the documentation questions here, I'm going to try to update the project's README with how you can actually use the tool, then loop back here and see if it explains explain. That way we can hopefully help future folks as well.

Filed as #64.

I've pushed some documentation to README in master.


Generated address is invalid for BitFinex !

Hi,
I generated a paper wallet.
I tried to transfer IOTA from BitFinex to the wallet.
I got the error from BitFinex: "Invalid IOTA address" !
Does anybody know,
how to generate a paper wallet,
which works with BitFinex ?
Thanks.

I thought when putting your seed into the wallet gen it would give a error if the seed was not correct?

The wallet gen didn't give my an error.
So I think my seed was correct.

did you copy and past your receiving address onto bitfinex or type it in?

Yes, I copied and pasted my receiving address (wallet address) onto bitfinex withdrawal.

Hi Ulawun. What I think may be the problem is that my seed generator generates an address with a checksum at the end of the address. For example, this address I generated here contains 90 chars:
ZCYYKDXLVGMNGSQAKKNAXTRMHXEDYSBFQCPTZXUXVFUEXFPCNVDCLOJYWIEJIAE9ZUFQYNQRYG9XNJIZAYAYU9PAG
The final 9 chars are used as a sort of validator to ensure that the address is correctly formed. What bitfinex must be doing is not allowing addresses with checksums. Try inputting an address without the last 9 chars of your address and see what happens :)


Develop tests and document '/api/auth/reset_token/'

Swagger documentation missing. Unable to test at this time.


writing json file error

Hi,
When I try to run the json_writer, it is not possible using your package, as the results dictionary contains tensors which are not JSON serializable.
`from whisper_at.utils import get_writer

json_writer = get_writer("json", ".")
writer_args = {"highlight_words": False, "max_line_count": None, "max_line_width": None}
json_writer(result, "test", writer_args)

TypeError: Object of type Tensor is not JSON serializable`

The simple solution would be to pop the audio_tags entry and to creater a new writer for the audio tags, but any other alternative workaround is appreciated.
Thanks!

hi there,
I assume writing to json is not included in our original code, right?

From what I can tell - in transcribe.py you only use the original whisper function:
writer = get_writer(output_format, output_dir)


SPM PR

@wangwanjie Can you take a look at my open PR for adding swift package manager support?

hi, I did not find a PR.


How to implement a Residul block via keras?

def build_residual_block_conv(num_filters, name, input_shape, input_name='x'):
"""
Rough sketch of building blocks of layers for residual learning.
See http://arxiv.org/abs/1512.03385 for motivation.
"""
block = Graph()
block.add_input(input_name, input_shape=input_shape)

h1 = Convolution2D(num_filters, 3, 3,activation='relu', border_mode='same')
block.add_node(h1, name=name+'h1', input=input_name)
block.add_node(Dropout(0.25), name=name+'d1', input=name+'h1')

h2 = Convolution2D(num_filters, 3, 3,activation='linear', border_mode='same')
block.add_node(h2, name=name+'h2', input=name+'d1')

block.add_output(name=name+'output', inputs=[name+'h1', name+'h2'], merge_mode='sum')

return block

I believe you have to connect the input with the output.
Anyway, I've already tried to implement it and I failed dramatically.

Graph has a curious issue with adding several graphs in another graph #1275
After adding more than 50 layers to a graph, keras gets really slow (not just the compilation). I guess add_node calculates the output_shape recursively and that kills the performance of it.

My code:
https://github.com/Sebubu/mushroom_crawler/blob/master/mushroom/ResidualNet.py

Thanks very much！

No, like I said above it didn't work so far. Feel free to experiment with the code.

I think the shortcut is not a Convolutional layer, but a linear layer. In your code you modified it as convolutional. Now i want to replace it with a linear layer ,what code should I modified? Sorry , I am not familiar with keras.

paper proposes two options: either linear or convolution and believe me a convolution is easier. Otherwise you have to handle with reshaping and so on...

It seems like ZeroPadding2D AveragePooling2D or BatchNor can not add to a graph as a node. I modified your code, The Graph can be generated but can work when apply to real cifar-10 data:
from keras.layers.convolutional import Convolution2D, MaxPooling2D, ZeroPadding2D, AveragePooling2D
import sys
from keras.models import Sequential, Graph
from keras.layers.core import Dense, Dropout, Activation, Flatten
from keras.layers.convolutional import Convolution2D, MaxPooling2D, AveragePooling2D
sys.setrecursionlimit(10000)
def cinput_shape(graph):
shape = list(graph.output_shape)
shape.pop(0)
return shape
def ConvB(input_shape, nb_filter, nb_row, nb_col, subsample=(1, 1)):
g = Graph()
g.add_input("input", input_shape)
g.add_node(Convolution2D(nb_filter,nb_row,nb_col,subsample=subsample, border_mode='same', activation='relu'),"conv1", "input")
g.add_node(Dropout(0.2),"d", "conv1")
g.add_output("output", "d")
return g
def Zero(input_shape, pad=(1,1)):
g = Graph()
g.add_input("input", input_shape)
g.add_node(ZeroPadding2D(pad),"zero","input")
g.add_output("output", "zero")
return g
def time_block2(input_shape, nb_filters, nb_blocks):
convs = []
last_shape = input_shape
for i in range(nb_blocks):
c = block2(last_shape,nb_filters)
last_shape = cinput_shape(c)
convs.append(c)
g = Graph()
g.add_input("input", input_shape)
last_name = "input"
for i in range(len(convs)):
    name = "conv" + str(i)
    g.add_node(convs[i],name,last_name)
    last_name = name
g.add_output("output",last_name)
return g

def block_downsample(input_shape, nb_filters):
subsample = (2,2)

g = Graph()
g.add_input("input",input_shape)

zero = Zero(input_shape,(0,0))
conv1 = ConvB(cinput_shape(zero), nb_filters, 3, 3, subsample=subsample)
conv2 = ConvB(cinput_shape(conv1), nb_filters, 3, 3)
shortcut = ConvB(input_shape,nb_filters,1,1,subsample=subsample)

g.add_node(zero,"zero","input")
g.add_node(conv1,"conv1","zero")
g.add_node(conv2,"conv2","conv1")
g.add_node(shortcut,"shortcut","input")
g.add_output("output", inputs=["conv2", "shortcut"], merge_mode="sum")

return g

def block2(input_shape, nb_filters):
g = Graph()
g.add_input("input",input_shape)

zero = Zero(input_shape,(0,0))
conv1 = ConvB(cinput_shape(zero), nb_filters, 3, 3)
conv2 = ConvB(cinput_shape(conv1), nb_filters, 3, 3)

g.add_node(zero,"zero","input")
g.add_node(conv1,"conv1","zero")
g.add_node(conv2,"conv2","conv1")
g.add_output("output", inputs=["conv2", "zero"], merge_mode="sum")

return g

def get_model(input_shape, nb_residual1, nb_residual2, nb_residual3):
conv1 = ConvB(input_shape, 16, 3, 3)
residual1 = time_block2(cinput_shape(conv1), nb_filters=16, nb_blocks=nb_residual1)

residual1_to_residual2 = block_downsample(cinput_shape(residual1), nb_filters=32)
residual2 = time_block2(cinput_shape(residual1_to_residual2), nb_filters=32, nb_blocks=nb_residual2)

residual2_to_residual3 = block_downsample(cinput_shape(residual2), nb_filters=64)
residual3 = time_block2(cinput_shape(residual2_to_residual3), nb_filters=64, nb_blocks=nb_residual3)

g = Graph()
g.add_input("input",input_shape)
g.add_node(conv1, "conv1", "input")

g.add_node(residual1, "residual1", "conv1")

g.add_node(residual1_to_residual2, "residual1_to_residual2", "residual1")
g.add_node(residual2, "residual2", "residual1_to_residual2")

g.add_node(residual2_to_residual3, "residual2_to_residual3", "residual2")
g.add_node(residual3, "residual3", "residual2_to_residual3")

g.add_output("output", "residual3")

return g

def create_31_layer(input_shape):
print "create model"
return get_model(input_shape, 5, 4, 4)
input_shape = (3,32,32)
model = create_31_layer(input_shape)
for n in model.nodes:
node = model.nodes[n]
print n + str( node.output_shape)

issue #1275 describes your exception. The problem is I have not found a solution till now.

Is it like building a wrapper that would enable implementing residual net by adding several residual block, i.e.
mode.add(residual())
model.add(residual())

? Then it would be so cool. I think the problem with BN and graph was resolved.

I implemented a residual class based on the Regularizer class. Not sure if this is the correct way to do it or not, but it seems to work. Also slows down training to a crawl.
For the life of me this thing will not format right, so sorry for the awful formatting...
CODE START
from keras.layers.core import Layer
from keras.regularizers import Regularizer
class ResidualRegularizer(Regularizer):
def init(self):
pass
def set_layer(self, layer):
    self.layer = layer

#When asked for the loss, just return 0 to prevent back-prop to the previous layers
def __call__(self, loss):
	return 0

def get_config(self):
	return {"name": self.__class__.__name__}

class Residual(Layer):
"""
Layer that passes through its input unchanged, and applies no back propagation.
It is simply a forward-propagated link intended for residual linking.
"""
def init(self, **kwargs):
super(Residual, self).init(**kwargs)
residual_regularizer = ResidualRegularizer()
residual_regularizer.set_layer(self)
self.regularizers = [residual_regularizer]
def get_output(self, train=False):
    return self.get_input(train)

def get_config(self):
    config = {"name": self.__class__.__name__}
    base_config = super(Residual, self).get_config()
    return dict(list(base_config.items()) + list(config.items()))

CODE END
Then you implement it like...
model.add_node(Dense(1536, activation='relu'), merge_mode='concat', concat_axis=-1, name='class_dense1', inputs=['flatten_embed','flatten'])
model.add_node(Dense(1536, activation='relu'), name='class_dense2', input='class_dense1')
model.add_node(Dense(1536, activation='relu'), name='class_dense3', input='class_dense2')
model.add_node(Residual(), name='class_residual', input='class_dense1')
model.add_node(Dense(vocab_size, activation='softmax'), name='class_softmax', merge_mode='sum', inputs=['class_residual','class_dense3'])
Again sorry for the terrible formatting...
It's not so much a residual layer as it is just a way to grab a previous layers outputs without back propagating. Then you can take that output and merge it, creating your 'residual'.
Also note this method only works if all the layers are the same size.

Has anyone given this a shot? https://github.com/ndronen/modeling/blob/master/modeling/residual.py

I've seen that code but I don't understand how it's supposed to be used. It looks like it's building the entire network, so it may be more of a factory? But, maybe we can use the Identity class in that code as a replacement for the Residual class in my example. Could be worth a shot if it's any faster. I'll give it a try and report back.
Thanks sergeyf!

I think you can just use the blocks it returns in other models. So:
s = Sequential()
s.add( build_residual_block('resblock1', (100,), 2, n_skip=2) )
s.add( build_residual_block('resblock2', (100,), 2, n_skip=2) )

etc.

Ah, ok, I see it now. Thanks for the example! :)

Worth to check out this comment, I think the code @sergeyf mentioned has the same mistake. ReLU() should be applied after merge I guess - according to the comment. What do you think?

https://github.com/keunwoochoi/residual_block_keras
I opened a repo for my residual block implemented in Keras.
I put many comments in the files so it would be easy to understand. However I'm not sure if it's correct.

@keunwoochoi I think your observation is correct. Additionally, I walked myself through the logic of your code and it seems to be correct (albeit I haven't used it, that's for tomorrow). I did have a couple questions:

Your current implementation would only work if kernel_sizes = (3, 3) correct? I say this because of line 63.
Any reason you used max pooling for subsampling instead of increasing the stride? Admittedly it makes more sense to me then setting stride=2 on a (1, 1) filter, but I'm curious whether you have a source on this. Aside: I'd also be curious to see whether average pool would work better than max pooling and stride=2 since intuition would suggest that it would better resemble the original x.
Any reason you implement the main path in the residual block internally instead of accepting it as a parameter? This would simplify and make more robust the implementation. I see two potential thorns: automatically detecting necessary subsampling/dimension modifications, and deep copying a Keras layer. I'm fairly confident the first can be easily resolved. Not sure about the latter. Do Keras layers work with deepcopy?

Thanks, @cmishra.

Oh, yes, there's a mistake. It used to assume (3,3) input but now it should be (1,1) rather than (kernel_row-1)/2. I'll update it.
It seems a different story, but does (1,1) convolution with stride>1 really work? I'm not sure it's okay to do when the stride > kernel size. I chose MP than increasing the stride as in my case stride > kernel size for some layers.
Average pooling: true, I once implemented it but not tested yet. Your saying supports the idea as well, I'll try it soon after the networks seems to work.
main path - I think it's natural and convenient but haven't thought about separate the main path and the shortcut in different function. Wouldn't it be more complex to use?

I'll also update line58 to line81 to make it clear (the shortcut convolution part).
(PS. At #1910 I added an issue for it but here people can get notifications.)

Now my networks seems to start to learning something meaningful features - not sure yet though. I once added usual classifier - flatten() - maxout() - BN - maxout ()..  but now I change it to an almost fully convolution architecture as in the original ResNet paper, removed all dropouts, change MaxPooling to AveragePooling in the shortcut path. Still not sure which is critical and which is not, but worth noting. I'll update more.

@Sebubu with #1387 does your code work? I'd try to run it myself, but I'm traveling and my personal laptop doesn't have the processing.

There's a more recent (apparently) improved version of the residual block:
http://arxiv.org/pdf/1603.05027v1.pdf

I recently implemented it in Keras using the new functional API: https://github.com/raghakot/keras-resnet

Great, I also updated my residual network implementation with Keras 1.0 API and the author's new paper that @sergeyf mentioned: https://github.com/keunwoochoi/residual_block_keras .

keunwoochoi, I try to use your residual_block_keras, but I encountered the following error
Traceback (most recent call last):
  File "example.py", line 151, in <module>
    model = get_residual_model()
  File "example.py", line 120, in get_residual_model
    residual_blocks = design_for_residual_blocks(num_channel_input=128)
  File "example.py", line 100, in design_for_residual_blocks
    subsample=pool_sizes[conv_idx]
  File "/usr/local/lib/python2.7/site-packages/keras/models.py", line 145, in add
    output_tensor = layer(self.outputs[0])
  File "/usr/local/lib/python2.7/site-packages/keras/engine/topology.py", line 485, in __call__
    self.add_inbound_node(inbound_layers, node_indices, tensor_indices)
  File "/usr/local/lib/python2.7/site-packages/keras/engine/topology.py", line 543, in add_inbound_node
    Node.create_node(self, inbound_layers, node_indices, tensor_indices)
  File "/usr/local/lib/python2.7/site-packages/keras/engine/topology.py", line 148, in create_node
    output_tensors = to_list(outbound_layer.call(input_tensors[0], mask=input_masks[0]))
  File "/usr/local/lib/python2.7/site-packages/keras/engine/topology.py", line 1922, in call
    output_tensors, output_masks, output_shapes = self.run_internal_graph(inputs, masks)
  File "/usr/local/lib/python2.7/site-packages/keras/engine/topology.py", line 2064, in run_internal_graph
    output_tensors = to_list(layer.call(computed_tensor, computed_mask))
  File "/usr/local/lib/python2.7/site-packages/keras/layers/normalization.py", line 116, in call
    raise Exception('You are attempting to share a '
Exception: You are attempting to share a same `BatchNormalization` layer across different data flows. This is not possible. You should use `mode=2` in `BatchNormalization`, which has a similar behavior but is shareable (see docs for a description of the behaviour).

Do you have any suggestion?

Hi @codingneo, it was fixed yesterday, https://github.com/keunwoochoi/residual_block_keras/commit/a35fe6fb8e356cea8a3e491d24beefc8a996ce05. Pull the repo again and give it a try!

Hi @keunwoochoi I actually did similar fix as your new changes by using mode=2 for BatchNormalization layer. But with mode=2 in BatchNormalization layer, the training procedure will generate NaN loss as follows

Train on 60000 samples, validate on 10000 samples
Epoch 1/20
1088/60000 [..............................] - ETA: 13519s - loss: nan - acc: 0.1158
1152/60000 [..............................] - ETA: 13522s - loss: nan - acc: 0.1137

Is it something need to be cautious?

Is it the result of running example.py?
With Theano backend it’s working well. Had an error with TensorFlow though.
Epoch 1/20
 5760/60000 [=>............................] - ETA: 349s - loss: 0.5634 - acc: 0.8210

On 13Jun 2016, at 13:40, Yiqun Hu<EMAIL_ADDRESS>wrote:
Hi @keunwoochoi https://github.com/keunwoochoi I actually did similar fix as your new changes by using mode=2 for BatchNormalization layer. But with mode=2 in BatchNormalization layer, the training procedure will generate NaN loss as follows
Train on 60000 samples, validate on 10000 samples
Epoch 1/20
1088/60000 [..............................] - ETA: 13519s - loss: nan - acc: 0.1158
1152/60000 [..............................] - ETA: 13522s - loss: nan - acc: 0.1137
Is it something need to be cautious?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/fchollet/keras/issues/1321#issuecomment-225569315, or mute the thread https://github.com/notifications/unsubscribe/APZ8xUTLs7Gb6O6lFVrn0HE3StTVGN4sks5qLU-0gaJpZM4G5hHh.

@keunwoochoi Yes, the result is getting from running example.py.
I am in mac using then backend.

For other googlers like me - there IS now a way to do residual connection in keras -
https://keras.io/getting-started/functional-api-guide/
from keras.layers import Conv2D, Input

# input tensor for a 3-channel 256x256 image
x = Input(shape=(256, 256, 3))
# 3x3 conv with 3 output channels (same as input channels)
y = Conv2D(3, (3, 3), padding='same')(x)
# this returns x + y.
z = keras.layers.add([x, y])

x,y being two consecutive layers

But how would i add it to my model? (Sorry im pretty new to Keras)
model.add(z)
Doesn't work, obviously


[Bug]: Typescript error: Controller name Type 'string' is not assignable to type 'Path'

Version Number
7.15.4
Codesandbox/Expo snack
https://codesandbox.io/s/8zgs8
Steps to reproduce

Go to codesandbox link
Navigate to Text.tsx
Note Typescript error on name property to Controller component

Expected behaviour
The name parameter of the Controller component should accept a string, as it does in all of your documentation and examples. But it seems when using Typescript and actually defining types, it does not work because it is expecting Path<P>, which string is not compatible with.
I tried manually changing the type definition in types/controller.d.ts such that it is: TName extends string = string, and this seems to fix the issue. TName seems like it should always be string according to your own documentation:
https://react-hook-form.com/api/usecontroller/controller

What browsers are you seeing the problem on?
No response
Relevant log output
Type 'string' is not assignable to type 'Path<P>'.ts(2322)
controller.d.ts(19, 5): The expected type comes from property 'name' which is declared here on type 'IntrinsicAttributes & { render: ({ field, fieldState, formState, }: { field: ControllerRenderProps<P, Path<P>>; fieldState: ControllerFieldState; formState: FormState<...>; }) => ReactElement<...>; } & UseControllerProps<...>'

Code of Conduct

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

The type itself is a template string literal which is Path<FormValues> didn't want to overwhelm the users when they see those generic, but maybe it's better to do that than let the user think it's a string.


Make it easier to compose parts together

composing parts together is such an awesome mode, particularly for me because i can’t really draw but i can totally mush parts together. i wonder if that is something we want to support more directly?

@paulkaplan can you elaborate on this suggestion? Not sure I know what you mean


Hacktoberfest page should also have a footer  to know the ownership[Identity footer to be fixed]

What happened?
Basicall while scrolling over the page hacktoberfest it doesnt have a footer makes is less feasible looking and trustworthy

How can we reproduce this bug?
I would like to add the footer and also make the dialog boxes more appealing
Desktop Information (Optional)
No response
Urgency (Optional)
High priority

Sure @shuddhi-jain

@hi this issue you didn't gave labels of gssoc and level


Wrong meta information (oid) for terminology for CH AllergyIntolerance (Michaela Ziegler, ahdis ag)

          There is some inconsistency (or I mix up something):

https://fhir.ch/ig/ch-term/ValueSet-CHAllergyIntoleranceValueSet.json.html
meta.source = "http://art-decor.org/fhir/ValueSet/2.16.7<IP_ADDRESS>.1.11.82--20200925110235"
but in Art Decor the OID 2.16.7<IP_ADDRESS>.1.11.82 is for ActivePharmaceuticalIngredient
https://art-decor.org/art-decor/decor-valuesets--ch-pharm-?id=2.16.7<IP_ADDRESS>.1.11.82&effectiveDate=2020-09-25T11:02:35
All those CH AllergyIntolerance ValueSet have these same OID:

http://fhir.ch/ig/ch-allergyintolerance/ValueSet/CHAllergyIntoleranceReactionManifestationValueSet
http://fhir.ch/ig/ch-allergyintolerance/ValueSet/CHAllergyIntoleranceReactionSubstanceValueSet
http://fhir.ch/ig/ch-allergyintolerance/ValueSet/CHAllergyIntoleranceValueSet
http://fhir.ch/ig/ch-allergyintolerance/ValueSet/CHAllergyIntoleranceConditionValueSet

@pjolo @oliveregger can you see the reason for that (copy paste error?? what is the source of this value set (really art decor)?
Originally posted by @ziegm in https://github.com/hl7ch/ch-term/issues/54#issuecomment-2387750502

checked with @walterwellauer (author of ch ai) 04.10.: confirmed that it is a copy-paste error


Minor tweaks in data update.json files

remove extra newlines
add missing trailing slashes to URLs
link to abuse.ch

@StevenBlack any thoughts? :)

Merging.


Assigning a value to a getter's variable results in calling its setter function

Godot version:

3.1.1
OS/device including version:

Windows 10/Nvidia GeForce GTX 1070
Issue description:

What happened:
Assigning setter's variable results in calling getter and setter function
What was expected:
To not to call the setter function.
Steps to reproduce:
Just assign value to a variable, declared inside the class that is used as setter/getter (or download minimal reproduction project), e.g.:
# engine is a setter/getter in Car script
# engine's getter will be called, that is OK,
# engine's setter will be callled, that is NOT OK
$Car.engine.speed = 60

Minimal reproduction project:
MinimalReproductionProject.zip

Still reproducible in latest 3.x and master branches.
Here's a MRP for master using the new GDScript property syntax: TestProjectGH28720.zip


chore(upload-react): update bee-js dependency to 0.7.1

This also makes #4  obsolete.

please also remove the yarn.lock file as per #5

please also remove the yarn.lock file as per #5

Done


Use mobile device to control head

Many mobile devices such as smart phones and tablets have compass sensors built in which can be accessed in through a web browser using javascript. The goal would be allow a user to control the direction of the robots head by turning their mobile device.

Closing this off for now because I have had some issues getting a consistent orientation measurement across different devices.


No Linux Plugin

Any chance of getting a Linux plugin in the future?

Also hoping for a Linux build.


Drop Python 3.7 support

Python 3.7 EOL is 27-JUN-23 so on that day we will drop support for this version.

[x] Remove Programming Language :: Python :: 3.7 from the classifiers in the pyproject.toml file.
[x] Change python = "^3.7" to python = "^3.8" in the pyproject.toml file.
[x] Run poetry lock --no-update to update the lock file.
[x] Remove 3.7 from the test matrix in testing.yaml.

Closed via #321


yt-dlp-daily: Add version 2<IP_ADDRESS>4

It's in main

[x] I have read the Contributing Guide.

/verify


Finalize notepad design

I didn't want to clog up the Discord with my iterations of the redesign. @Kedyn, I'm leaning towards the doughnut charts now. Let me know what you guys think/what can be improved.

Progress bars
Doughnut charts

wow, both look good, but yeah doughnut charts seem to have a bit more of an impact when you see them... my vote goes to doughnut charts

the doughnut charts would be much harder to understand quickly, especially at the size they appear on stream

the doughnut charts would be much harder to understand quickly, especially at the size they appear on stream

That's true. Are there any changes I can make to make it work? Or should we stick with the progress bars?

I would stick with the progress bars for that reason + they'd be easier to code and maintain later.

Gotcha!

i'm not sure i like the three different progress bars. it's no longer easy to spot what the winning record is. i might try to do some design work of my own to figure it out.

No problem, @chilblane. I saw your design on Discord and would be down to implement your design versus mine.

No problem, @chilblane. I saw your design on Discord and would be down to implement your design versus mine.

Okay, but mine is still pretty rough and still unfinished. I don't like using design tools for interactive prototyping, so I would like to set up a screen share in discord vc to explain how certain aspects of it would work.


gRPC-C bugfix / Added explicit writing of null terminators to grpc-c metadata

Current implementation of the grpc_c probes doesn't zero-out the metadata buffers (HTTP2 headers) between traces. Therefore, old header data could be wrongly appended to new header data if the old header was longer than the new one.
To solve this, we explicitly add a null terminator at the end of the new header being read, so that the leftovers from previous headers are ignored.

ok to test

Merged as 0bb76017a54b31e68164d766b08d9e3549c03cf7


reserve_ipblock fails with AttributeError: 'generator' object has no attribute 'next'

I tried to execute the example code for creating an IP block (with one size 1 instead of 5):
from profitbricks.client import ProfitBricksService, IPBlock

client = ProfitBricksService(
    username='username', password='password')

i = IPBlock(location='de/fra', size=1)

ipblock = client.reserve_ipblock(i)

It fails with
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-8-ed80fcf84d39> in <module>()
----> 1 ipblock = client.reserve_ipblock(i)

profitbricks-sdk-python/profitbricks/client.py in reserve_ipblock(self, ipblock)
    521         }
    522
--> 523         data = self._underscore_to_camelcase(json.dumps(raw))
    524
    525         response = self._perform_request(

profitbricks-sdk-python/profitbricks/client.py in _underscore_to_camelcase(self, value)
   1801
   1802         c = camelcase()
-> 1803         return "".join(c.next()(x) if x else '_' for x in value.split("_"))
   1804
   1805     def _create_lan_dict(self, lan):

profitbricks-sdk-python/profitbricks/client.py in <genexpr>(.0)
   1801
   1802         c = camelcase()
-> 1803         return "".join(c.next()(x) if x else '_' for x in value.split("_"))
   1804
   1805     def _create_lan_dict(self, lan):

AttributeError: 'generator' object has no attribute 'next'

OK this is a bit weird. @bdrung I just took the same example and ran it without issue:
$ python
Python 2.7.8 (default, Oct 19 2014, 16:02:00)
[GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.54)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from profitbricks.client import ProfitBricksService, IPBlock
>>>
>>> client = ProfitBricksService(
...     username='****', password='******')
>>>
>>> i = IPBlock(location='de/fra', size=1)
>>>
>>> ipblock = client.reserve_ipblock(i)
>>> ipblock
{u'href': u'https://api.profitbricks.com/rest/ipblocks/d71bd530-98a2-4c9d-a856-cfd5e1f5abe5', 'requestId': 'a53bba00-34e4-4c6c-a3af-f298331bb6f3', u'metadata': {u'lastModifiedDate': u'2015-05-28T22:11:20Z', u'lastModifiedBy'<EMAIL_ADDRESS>u'state': u'BUSY', u'etag': u'7148629f334b08ab7354baea671b0827', u'createdBy'<EMAIL_ADDRESS>u'createdDate': u'2015-05-28T22:11:20Z'}, u'type': u'ipblock', u'properties': {u'ips': [u'<IP_ADDRESS>'], u'location': u'de/fra', u'size': 1}, u'id': u'd71bd530-98a2-4c9d-a856-cfd5e1f5abe5'}
>>>

Was there anything else in the stack trace? Can you past in a pip list | grep profitbricks please and let me know the version you're working with. Also, what can you provide your python --version please. I tested with 2.7.8.

This is an issue with Python 3.4.3. I retested it with Python 2.7.9 and it works there.
I am running Ubuntu 15.04 with profitbricks 2.1 and requests 2.4.3-6.

@bdrung I have 3.x support in my backlog for this SDK. I should be able to get to that in the next month or so. I will close this issue once I have pushed the update.

@bdrung A new version has been published that includes a number of changes including support for the ProfitBricks REST API v2 and a Python 3.x fix made by @botchniaque . I tested the above code using Python 2.7 and 3.4 - both were successful.


Game of Thrones spoiler generator

Hi Justin,
I liked your WTF Engine so much I made up a Game of Thrones random spoiler generator: http://takephive.com/got_spoilergen/
Stoobie.

Awesome :)


build more profiling ways by default, fixes #681

Thanks! Did this work on your machine? I don't think we test profiling way on CI.
Also, what about logging or dynamic related RTS ways? Are we doing these as part of #681 too?

@snowleopard #681 is only about missing profiling-enabled ways for now, and this change really just mirrors what @osa1 implemented in https://phabricator.haskell.org/D5140.
I however realized, after running a build, that the two new ways added by Ömer are not generated in our case. This is quite likely because they're not advertised in rts.cabal.in. I'm now trying this patch:
diff --git a/rts/rts.cabal.in b/rts/rts.cabal.in
index d509953a1b..e09c0548f7 100644
--- a/rts/rts.cabal.in
+++ b/rts/rts.cabal.in
     if flag(profiling)
-      extra-library-flavours: _p _thr_p
+      extra-library-flavours: _p _thr_p _debug_p _thr_debug_p

Note that while we didn't have profiling in the list, we quite likely were already generating the _p way of the RTS library, because it's advertised there.

@alpmestan Sure, let's limit #681 to just the missing profiling-enabled ways.
I guess we can merge this PR if it passes CI (it should), but keep #681 until your rts.cabal.in patch lands?

I guess we can merge this PR if it passes CI (it should), but keep #681 until your rts.cabal.in patch lands?

Sounds g ood to me. I have a build running, with the patch, will let you know how it goes too.

It seems to work!
$ ls _tmp/stage1/lib/x86_64-linux-ghc-8.7.20180910/rts-1.0/libHSrts*
_tmp/stage1/lib/x86_64-linux-ghc-8.7.20180910/rts-1.0/libHSrts-1.0.a
_tmp/stage1/lib/x86_64-linux-ghc-8.7.20180910/rts-1.0/libHSrts-1.0_debug.a
_tmp/stage1/lib/x86_64-linux-ghc-8.7.20180910/rts-1.0/libHSrts-1.0_debug_p.a
_tmp/stage1/lib/x86_64-linux-ghc-8.7.20180910/rts-1.0/libHSrts-1.0_l.a
_tmp/stage1/lib/x86_64-linux-ghc-8.7.20180910/rts-1.0/libHSrts-1.0_p.a
_tmp/stage1/lib/x86_64-linux-ghc-8.7.20180910/rts-1.0/libHSrts-1.0_thr.a
_tmp/stage1/lib/x86_64-linux-ghc-8.7.20180910/rts-1.0/libHSrts-1.0_thr_debug.a
_tmp/stage1/lib/x86_64-linux-ghc-8.7.20180910/rts-1.0/libHSrts-1.0_thr_debug_p.a
_tmp/stage1/lib/x86_64-linux-ghc-8.7.20180910/rts-1.0/libHSrts-1.0_thr_l.a
_tmp/stage1/lib/x86_64-linux-ghc-8.7.20180910/rts-1.0/libHSrts-1.0_thr_p.a

@alpmestan Great! Merged.

My accompanying GHC patch is up on Phab: https://phabricator.haskell.org/D5142


[FLINK-14657] Generalize and move config utils from flink-yarn to flink-core

R @dawidwys

Merged.


az ad group show - prefix match means that group is not displayed if more than one group is matched

if I have 2 groups:
az ad group list --display-name "test-group" -o json
[
{
"...",
"displayName": "test-group",
"..",
"objectId": "03596561-4ccf-a017-fad9-3dfae434d7fe",
"objectType": "Group",
"...."
},
{
"...",
"displayName": "test-group-ro",
"...",
"objectId": "7bc4868c-4889-adc6-eb8a-38a246b65606",
"objectType": "Group",
"..."
}
]
If I try to show the group:
az ad group show -g test-group -o json
you get the error:
More than one groups match the name of 'test-group'
I thought the prefix was only used if unique:
'--group -g
Group's object id or display name(prefix also works if there is a unique match).'
I seem to need to do some extra processing of the list output to extra the group details if it happens to be a prefix on another group name, Is this behaviour correct?
az --version
azure-cli (2.0.54)

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

ID: 34960494-f5eb-4144-b508-0573f7382e40
Version Independent ID: 0c7138d1-9849-0b71-8e76-22d0116ff663
Content: az ad group
Content Source: src/command_modules/azure-cli-role/azure/cli/command_modules/role/_help.py
Service: active-directory
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

For consistency, show command is supposed to output one item instead of a list. I can update CLI to update the error with all the matches, so you can at least select the objectId and use the show command for more information.
For general searching using display name, az ad group list is a better command to use.
Let me know if you have any comments.

I would have expected when you use the show command that you already know the specific group you want to obtain the details of, so it should return the entry for 'test-group' in the above example. So it should be an exact string match, not a string starts with.

I have to do:
az ad group show -g $(az ad group list --display-name "MyGroup" --query "[?securityEnabled ].objectId" -o tsv)

Seems that We have two groups with same name (Distribution and Security Group type), one synced from AD and second one created in AAD ? :/

add to S164.

@lwillek You can also get the element without jq. Here is how I did it:
az ad group list --filter "displayName eq 'test-group'" --out tsv
It is not clean because you remain on the usage of list instead of show... but it works.
I agree that the result is of the show command is weird. Using the show command with the exact group should return the result.

Hi @rtcn2 , this should be fixed in our new release. You can upgrade to the latest version to solve this. I will close this issue first, you can create a new one if you have other problems. Thanks


SMOKE static model export to ONNX

Dear Author.
Hello! I have encountered a problem. I am using the SMOKE model and following the instructions in README.MD to export the model as a static diagram model. However, the following error occurs when converting the static diagram model to ONNX model.
Configuration environment.
onnx=1.9.0 onnxruntime=1.9.0 paddle2onnx=0.8.2 paddledet=2.3.0 paddlepaddle-gpu=2.2.0
Error message
/home/lee/.conda/envs/paddle/lib/python3.8/site-packages/onnx/mapping.py:27: DeprecationWarning: `np.object` is a deprecated alias for the builtin `object`. To silence this warning, use `object` by itself. Doing this will not modify any behavior and is safe.
Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
  int(TensorProto.STRING): np.dtype(np.object)
/home/lee/.conda/envs/paddle/lib/python3.8/site-packages/paddle2onnx/constant/dtypes.py:45: DeprecationWarning: `np.bool` is a deprecated alias for the builtin `bool`. To silence this warning, use `bool` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.bool_` here.
Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
  np.bool: core.VarDesc.VarType.BOOL,
/home/lee/.conda/envs/paddle/lib/python3.8/site-packages/paddle2onnx/constant/dtypes.py:46: DeprecationWarning: `np.float` is a deprecated alias for the builtin `float`. To silence this warning, use `float` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.float64` here.
Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
  core.VarDesc.VarType.FP32: np.float,
/home/lee/.conda/envs/paddle/lib/python3.8/site-packages/paddle2onnx/constant/dtypes.py:51: DeprecationWarning: `np.bool` is a deprecated alias for the builtin `bool`. To silence this warning, use `bool` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.bool_` here.
Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
  core.VarDesc.VarType.BOOL: np.bool
Traceback (most recent call last):
  File "/home/lee/.conda/envs/paddle/bin/paddle2onnx", line 8, in <module>
    sys.exit(main())
  File "/home/lee/.conda/envs/paddle/lib/python3.8/site-packages/paddle2onnx/command.py", line 148, in main
    program2onnx(
  File "/home/lee/.conda/envs/paddle/lib/python3.8/site-packages/paddle2onnx/command.py", line 114, in program2onnx
    p2o.program2onnx(
  File "/home/lee/.conda/envs/paddle/lib/python3.8/site-packages/paddle2onnx/convert.py", line 79, in program2onnx
    export_onnx(paddle_graph, save_file, opset_version, enable_onnx_checker, operator_export_type)
  File "/home/lee/.conda/envs/paddle/lib/python3.8/site-packages/paddle2onnx/convert.py", line 33, in export_onnx
    onnx_graph = ONNXGraph.build(paddle_graph, opset_version, operator_export_type, verbose)
  File "/home/lee/.conda/envs/paddle/lib/python3.8/site-packages/paddle2onnx/graph/onnx_graph.py", line 240, in build
    onnx_graph = ONNXGraph(paddle_graph, opset_version=opset_version, operator_export_type=operator_export_type)
  File "/home/lee/.conda/envs/paddle/lib/python3.8/site-packages/paddle2onnx/graph/onnx_graph.py", line 79, in __init__
    self.update_opset_version()
  File "/home/lee/.conda/envs/paddle/lib/python3.8/site-packages/paddle2onnx/graph/onnx_graph.py", line 194, in update_opset_version
    self.opset_version = OpMapper.get_recommend_opset_version(node_map, self.opset_version)
  File "/home/lee/.conda/envs/paddle/lib/python3.8/site-packages/paddle2onnx/op_mapper/op_mapper.py", line 127, in get_recommend_opset_version
    recommend_opset_version = OpMapper.check_support_status(node_map, opset_version, True)
  File "/home/lee/.conda/envs/paddle/lib/python3.8/site-packages/paddle2onnx/op_mapper/op_mapper.py", line 168, in check_support_status
    raise NotImplementedError(error_info)
NotImplementedError:
There's 9 ops are not supported yet
=========== while ===========
=========== set_value ===========
=========== crop_tensor ===========
=========== logical_not ===========
=========== less_than ===========
=========== select_input ===========
=========== conditional_block ===========
=========== index_select ===========
=========== atan ===========

This error indicates that nine operators are not supported. After checking the list of operators, I found only 'conditional-block', 'set-value', and 'while', 'select-input' and 'crop-tensor' are not available. Here are the commands I used for the conversion.
paddle2onnx  --model_dir /media/lee/DATA/project/gitproject/models/PaddleCV/3d_vision/SMOKE/inference_model              --model_filename inference.pdmodel              --params_filename inference.pdiparams              --opset_version 11             --save_file smoke.onnx
How should I solve such a situation? I look forward to your reply!

Sorry, we do not support the conversion of this model yet. What is the reason for your conversion to ONNX? You can try to deploy using PaddleInference or PaddleLite.

@yeliang2258 Thank you for your suggestion. I'll try to use PaddleInference and PaddleLIte to convert. As you said, it is needed to deploy to a lab development board for doing experimental design.

Thank you very much for using Paddle. We have prepared a simple question survey (can be completed in half a minute). If you have time, please help us to complete the survey and help Paddle2ONNX to be better, thank you !
https://iwenjuan.baidu.com/?code=ibd2b1

There's 5 ops are not supported yet
=========== crop_tensor ===========
=========== while ===========
=========== select_input ===========
=========== conditional_block ===========
=========== set_value ===========
Any plan to do this?

Sorry, we still do not support the conversion of this model, we will provide support as soon as possible. In addition, why did you convert this model to ONNX? If used for deployment, welcome to use PaddleInference or PaddleLIte for deployment.

We want to use the openvino hardware acceloration，So onnx is a must.

Dear Author. Hello! I have encountered a problem. I am using the SMOKE model and following the instructions in README.MD to export the model as a static diagram model. However, the following error occurs when converting the static diagram model to ONNX model. Configuration environment. onnx=1.9.0 onnxruntime=1.9.0 paddle2onnx=0.8.2 paddledet=2.3.0 paddlepaddle-gpu=2.2.0  Error message
/home/lee/.conda/envs/paddle/lib/python3.8/site-packages/onnx/mapping.py:27: DeprecationWarning: `np.object` is a deprecated alias for the builtin `object`. To silence this warning, use `object` by itself. Doing this will not modify any behavior and is safe.
Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
  int(TensorProto.STRING): np.dtype(np.object)
/home/lee/.conda/envs/paddle/lib/python3.8/site-packages/paddle2onnx/constant/dtypes.py:45: DeprecationWarning: `np.bool` is a deprecated alias for the builtin `bool`. To silence this warning, use `bool` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.bool_` here.
Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
  np.bool: core.VarDesc.VarType.BOOL,
/home/lee/.conda/envs/paddle/lib/python3.8/site-packages/paddle2onnx/constant/dtypes.py:46: DeprecationWarning: `np.float` is a deprecated alias for the builtin `float`. To silence this warning, use `float` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.float64` here.
Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
  core.VarDesc.VarType.FP32: np.float,
/home/lee/.conda/envs/paddle/lib/python3.8/site-packages/paddle2onnx/constant/dtypes.py:51: DeprecationWarning: `np.bool` is a deprecated alias for the builtin `bool`. To silence this warning, use `bool` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.bool_` here.
Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
  core.VarDesc.VarType.BOOL: np.bool
Traceback (most recent call last):
  File "/home/lee/.conda/envs/paddle/bin/paddle2onnx", line 8, in <module>
    sys.exit(main())
  File "/home/lee/.conda/envs/paddle/lib/python3.8/site-packages/paddle2onnx/command.py", line 148, in main
    program2onnx(
  File "/home/lee/.conda/envs/paddle/lib/python3.8/site-packages/paddle2onnx/command.py", line 114, in program2onnx
    p2o.program2onnx(
  File "/home/lee/.conda/envs/paddle/lib/python3.8/site-packages/paddle2onnx/convert.py", line 79, in program2onnx
    export_onnx(paddle_graph, save_file, opset_version, enable_onnx_checker, operator_export_type)
  File "/home/lee/.conda/envs/paddle/lib/python3.8/site-packages/paddle2onnx/convert.py", line 33, in export_onnx
    onnx_graph = ONNXGraph.build(paddle_graph, opset_version, operator_export_type, verbose)
  File "/home/lee/.conda/envs/paddle/lib/python3.8/site-packages/paddle2onnx/graph/onnx_graph.py", line 240, in build
    onnx_graph = ONNXGraph(paddle_graph, opset_version=opset_version, operator_export_type=operator_export_type)
  File "/home/lee/.conda/envs/paddle/lib/python3.8/site-packages/paddle2onnx/graph/onnx_graph.py", line 79, in __init__
    self.update_opset_version()
  File "/home/lee/.conda/envs/paddle/lib/python3.8/site-packages/paddle2onnx/graph/onnx_graph.py", line 194, in update_opset_version
    self.opset_version = OpMapper.get_recommend_opset_version(node_map, self.opset_version)
  File "/home/lee/.conda/envs/paddle/lib/python3.8/site-packages/paddle2onnx/op_mapper/op_mapper.py", line 127, in get_recommend_opset_version
    recommend_opset_version = OpMapper.check_support_status(node_map, opset_version, True)
  File "/home/lee/.conda/envs/paddle/lib/python3.8/site-packages/paddle2onnx/op_mapper/op_mapper.py", line 168, in check_support_status
    raise NotImplementedError(error_info)
NotImplementedError:
There's 9 ops are not supported yet
=========== while ===========
=========== set_value ===========
=========== crop_tensor ===========
=========== logical_not ===========
=========== less_than ===========
=========== select_input ===========
=========== conditional_block ===========
=========== index_select ===========
=========== atan ===========

This error indicates that nine operators are not supported. After checking the list of operators, I found only 'conditional-block', 'set-value', and 'while', 'select-input' and 'crop-tensor' are not available. Here are the commands I used for the conversion. paddle2onnx --model_dir /media/lee/DATA/project/gitproject/models/PaddleCV/3d_vision/SMOKE/inference_model --model_filename inference.pdmodel --params_filename inference.pdiparams --opset_version 11 --save_file smoke.onnx  How should I solve such a situation? I look forward to your reply!

Have you already converted SMOKE to ONNX successfully?

https://github.com/PaddlePaddle/Paddle2ONNX/pull/1324


Game UI Occluded by Navigation Bar on Mobile

Component your question relates to

[ ] Signalling server
[x ] Frontend library
[ ] Frontend UI library
[ ] Matchmaker
[ ] SFU
[ ] This repo
[ ] Other

Background
My game UI is Occluded by navigation bar on Mobile.
Question
How can I adjust the player to fill the mobile screen and prevent UI overlay?
Here's an example:
This is on Windows:

This is on Mobile:

What if you enable the match viewport resolution option in the frontend?

Hi @lukehb ! It's enabled right now. I'm using Signalling Server for Unreal 5.3.
I'm not specialist in web development, so I need you point me where to touch to change that behaviour.

Try changing in https://github.com/EpicGamesExt/PixelStreamingInfrastructure/blob/master/Frontend/implementations/typescript/src/player.html
height: 100vh; to height: 100dvh; (note the d)
Which should dynamically account for top and bottom on device nav showing: https://developer.mozilla.org/en-US/docs/Web/CSS/length#dynamic
If it works let me know and I will push this live.

HI @lukehb !! That's works!!!
Thanks!!


Make node LTS dependency more prominent

this came up in #432 cc @theduckylittle

Coverage increased (+0.06%) to 70.772% when pulling d16436f8a697606b3f89deb498b1b780f0deb5f5 on node-npm-docs into 81707b279b912be5c35ad743b94309ac46602022 on master.


Give Fiscal Host Admins a way to reject Collectives

host admins currently don't have a mechanism to reject a collective's application.
They should be able to do it from the pending applications tab in their dashboard BUT we should provide a way for them to contact the collective and explain why.
@znarf could this be a use case for the email templates?

@piamancini I don't see a clear link with the email templates project.

My ideal design for this would be a "reject" button next to the "approve" button in both the email notification and the dashboard, and if you click it you are taken to a text box where you can write in a reason. We should also have some generic help text with the notification that will then got to applicant, telling them how to try to find another host or start their own.

the link in my mind was that hosts can design an email to be sent to admins of the collectives they are rejecting. To ensure that there's a path for a justification to be sent. Otherwise, just a reject button seems brutal.

 In this case, the collective should be simply deleted.
I would be happy starting a conversation about cleaning our DB from Collectives we don't want (failed attempts, spam, errors, no activity ever).

Got another user request for this today. To me it seems really simple to add a reject button on the email and in the pending Collectives list that notifies the submitter and removes and connection between that Collective and the host. Could this be a bounty?

@piamancini @alanna I'm not clear here on how we intend to notify rejected collectives on reason for rejection.

@flickz email seems the easiest way.

@alanna and @piamancini Can you help me with the content of the email? While put in mind that the actual reason for rejection will be embedded as blockquote within the email

OK, how about this for the email:

Subject:
Your application to [fiscal host]

Body:
Thank you for applying to host your Collective [Collective name] with [fiscal host]. Unfortunately your application has been rejected.

[Show the next section only if the fiscal host admin input a reason for the rejection. If possible put it in a text box or something to indicate it's from another source.]

Note from [fiscal host]: [text of rejection reason]

If you would like to apply to another fiscal host, click the "apply" button on their page (if you meet their acceptance criteria). View fiscal hosts here. You may also consider hosting your own Collective (more details).

If you have questions, please contact<EMAIL_ADDRESS>
Question: should the from and reply to be the host admin contact or Open Collective? On the one hand they might as host-specific questions in response. On the other, I don't think rejected Collectives should be that host's problem anymore. @piamancini ?

I think they should go the the host -- we can add a<EMAIL_ADDRESS>email reference in the email.

we can add a<EMAIL_ADDRESS>email reference in the email.

I'm not sure where to reference the email but this is what the email looks like:
Rejected with reason

Rejected without reason

Looks good! Let's change the last line to:

If you have questions, reply to this email to reach [host name], or contact<EMAIL_ADDRESS>for general inquiries.


Tooltip doesn't work on inputadornment

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Current behavior 😯
When using a tooltip on an inputadornment, it doesn't work
Expected behavior 🤔
I expect the tooltip to work without any issues in inputadornment
Steps to reproduce 🕹
<TextField
	label="Name"
	type="text"
	variant="outlined"
	InputProps={{
		endAdornment:
			<InputAdornment position="end" >
				<Tooltip title="Reset to initial value">
					<IconButton edge="end" onClick={testClick}>
						<SettingsBackupRestoreIcon />
					</IconButton>
				</Tooltip>
			</InputAdornment>
	}}
/>

Context 🔦
I want a tooltip on my inputadornment icon
Your environment 🌎

npx @mui/envinfo
Browser  : Google Chrome
```
  System:
    OS: Windows 10 10.0.19044
  Binaries:
    Node: 16.16.0 - C:\Program Files\nodejs\node.EXE
    Yarn: Not Found
    npm: 8.11.0 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Chrome: Not Found
    Edge: Spartan (44.19041.1266.0), Chromium (104.0.1293.47)
  npmPackages:
    @emotion/react: ^11.9.3 => 11.9.3
    @emotion/styled: ^11.9.3 => 11.9.3
    @mui/base:  5.0.0-alpha.91
    @mui/icons-material: ^5.8.4 => 5.8.4
    @mui/material: ^5.9.2 => 5.9.2
    @mui/private-theming:  5.9.1
    @mui/styled-engine:  5.8.7
    @mui/system:  5.9.2
    @mui/types:  7.1.5
    @mui/utils:  5.9.1
    @mui/x-data-grid:  5.15.0
    @mui/x-data-grid-pro: ^5.15.0 => 5.15.0
    @mui/x-license-pro:  5.15.0
    @types/react: ^18.0.15 => 18.0.15
    react: ^18.2.0 => 18.2.0
    react-dom: ^18.2.0 => 18.2.0
    typescript: ^4.7.4 => 4.7.4
```

Hi @TamirCode, I tried to reproduce your issue here but the tooltip is visible. Please let me know if I missed something.

my bad its because i had this in my css so the tooltip was showing behind the modal dialog
.css-zw3mfo-MuiModal-root-MuiDialog-root {
	z-index:<PHONE_NUMBER>99999 !important;
}


Ubuntu/CentOS compilation

Hi all,
Have anyone compiled the project for Ubuntu/CentOS? Many compilation errors appear. Here you are the log. Thanks in advance.
deepstream-cpp-client_error.txt

@andresgr it is still WIP (work-in-progress). Not ready for building on linux variants.

Thanks a lot, I'll look forward for updates. Closing issue.


Jwt credentials, bulk Job ResultsAll and some minor deprecated and typos

fix typos
remove ioutil
export Delimiter
bulk job ResultsAll

Hi, can you merge that?


php artisan multi-auth:install {guard} -f  doesn't work

[Symfony\Component\Console\Exception\CommandNotFoundException]
There are no commands defined in the "multi-auth" namespace.

You just didnt register the package
public function register()
{
    if ($this->app->environment() == 'local') {
        $this->app->register('Hesto\MultiAuth\MultiAuthServiceProvider');
    }
}

ensure you have APP_ENV=local in your .env file


Added request logging

Logging user requests to audit log

This PR was successfully deployed to production by CircleCI build 48 at 2017-01-27 13:29 GMT.


Wrong warning about drive quota

I am trying to automate a backup to google drive. But when pushing (even with "-no-prompt=true") I get the following and my automation is interrupted:
Server01:/backup$ drive push -no-prompt=true backup.tar.gz

Resolving...
This change will exceed your drive quota
 projected size:<PHONE_NUMBER>) 7.48GB
 Proceed with the changes? [Y/n]:

I agree, another 7,48GB would exceed my drive quota. But my "push" overwrites an existing file by about the same size. Confirming the above with "Y" works like a charm with no error and the file gets overwritten as expected (drive quota is not exceeded).
Possible fix: In the calculation of the drive quota, the size of the file which will be overwritten should be taken into account.

Hello there @casperklein! Thank you for reporting this issue and welcome to drive!
Great points. Actually when adding in the projected sizes, I had considered that but skipped it until I knew for sure what deletions and modifications we'd be making.
Please take a look at this patch
diff --git a/src/push.go b/src/push.go
index 9aad1c0..778fb75 100644
--- a/src/push.go
+++ b/src/push.go
@@ -104,7 +104,7 @@ func (g *Commands) Push() (err error) {
 	pushSize, modSize := reduceToSize(cl, SelectDest|SelectSrc)

 	// TODO: Handle compensation from deletions and modifications
-	if false {
+	if true {
 		pushSize -= modSize
 	}

and let me know if it cuts the deal for you.
I think I can get this fixed asap but these assignments aren't letting me prosper ahaha. So probably you'll see a well done patch next weekend or so.

Hi @odeke-em, what an awesome response time!!
I am not familiar with "go". What I did:  I changed the src file according your post and then run:
go get github.com/odeke-em/drive/drive-google

A new binary was created at ~/gopath/bin. I did a test with the new file, but the error remains.
I also checked the source file again, to get sure my change was not overwritten. But I am not sure, if "go get" is the right command. "go build" did not create any output or a new binary. So I went with "go get" without "-u" that I used when I build "drive" for the first time.

Hello @casperklein, on second thought, here is a PR to address this issue. https://github.com/odeke-em/drive/pull/385.

Oh to test it, all you need to do is this after applying that patch
$ go get -u github.com/odeke-em/drive/drive-gen && drive-gen

This should create a binary called drive if your $GOPATH is properly setup

I repeat myself: You are awesome :+1:
That fixed it for me.

Am fluttered :)  In this case I'll go ahead and merge the PR. If things aren't working right, please let me know, and PRs will come in over the weekend when I get breaks from school. Thanks for reporting this issue, and once again welcome to drive!

Addressed by PR https://github.com/odeke-em/drive/pull/385. Please reopen if it persists.

One addition/feature request: If google drive quota will exceed and "no-prompt=true" is given, then "drive" should exit with an error message/code instead of prompting for user input which breaks batch automation.

Aha, great point. Would you mind spinning up an issue? -- I can address it right now while am at my computer.


How can I use StreamWriter to AddPicture ?

Description

Steps to reproduce the issue:
1.
f.NewStreamWriter("oneSheet")

I don't know how to add picture by using StreamWriter ...
Is it support ? @xuri
Describe the results you received:
Describe the results you expected:
use StreamWriter to add picture.
Output of go version:
go version go1.16.5 darwin/amd64

Excelize version or commit ID:
github.com/xuri/excelize/v2 v2.5.0

Environment details (OS, Microsoft Excel™ version, physical, etc.):
Mac OS
excel 2007/2010

This library doesn't support adding pictures to the spreadsheet in streaming mode currently.

Thx for response! Hope it support soon.


OrganizationApis module is not updated when user deletes API

OrganizationApis module is not updated when user deletes API
Step

Create an Organization and an API, navigate to Organization
Pay attention that Organization profile doesn't have connected API and doesn't have the title "APIs" as expected. There are empty area in blue frame on screenshot (as expected)

Connect a created API to created organization.
The APIs title has appeared on Organization profile as expected

Go to API page and delete it
Navigate to Organization

Found

Title APIs (0 apis)

Expected

Empty area as before connection

Reasons

It happens because OrganizationApis collection has record about deleted API. You can see it on screenshot

@bajiat , verified this resolved issue on https://nightly.apinf.io v 0.40.0 and it is not reproducible.


fix for strict_indent do not work for file

when you use puppet-lint --fix file.pp to correct indentation it do not make any changes to file sektion
Input
  file { '/etc/ssh/sshrc':
mode         => 'a+rx',
    source => "puppet:///modules/profile/auth/ssh/sshrc",
}

expected output
  file { '/etc/ssh/sshrc':
    mode   => 'a+rx',
    source => "puppet:///modules/profile/auth/ssh/sshrc",
  }

Environment

Version [3.3.0]
Platform [Ubuntu 22.10]

The strict_indent plugin is here: https://github.com/voxpupuli/puppet-lint-strict_indent-check

thanks have create an issue there
fix for strict_indent do not work for file #32


How to achieve 3D visualization?

Thanks for your Code.Can you tell me how to achieve 3D visualization?

You can use this library https://github.com/kuixu/kitti_object_vis for 3d adn 2d visualization.

Thank u.


[HTML-CSS] Bug: Horizontal line on radical /or sqrt sign broken or detached under Chrome for large zoom levels

Issue Summary
For an equation containing a radical or sqrt sign, the horizontal line is broken or detached when I zoom in under Chrome.
This has been noticed before:
http://meta.math.stackexchange.com/questions/12160/rendering-a-beautiful-square-root-with-mathjax
Steps to Reproduce

Load http://meta.math.stackexchange.com/questions/12160/rendering-a-beautiful-square-root-with-mathjax under Chrome and Firefox.

Compare the rendering of the radical sign under high magnification levels

This is a bug because the issue exists only in Chrome but Firefox renders the radical sign under high magnification better.

The link you refer to on StackExchange is actually about whether the vinculum (the horizontal line over the radicand) has a small vertical line at its right-hand end or not, though there is one comment that refers to your issue.
You are right that under high magnification there can be a break in WebKit browsers in the HTML-CSS output.  The CommonHTML output should work better for you, so one work-around would be to switch to that.

I would like to re-open this issue. Although the OP didn't really explain it well, this is happening for me on Windows 10 Pro (Version 1903) and Chrome 80.0.3987.163 (64 bit).
This is how things look for me when scaling the math to 300% via the context menu (browser zoom level is 100%):

And I think the problem with the root symbol is obvious.
This makes me wonder: how was this implemented and why could this not be implemented using what I think is the 'native' LaTeX version (with the longer version of the root symbol)? Seems to be implemented the same way for the fraction line to me. Both of them seem to be a little bit thicker than the standard LaTeX ones as well. The horizontal root line (viniculum) seems to be thicker than the root symbol itself

how was this implemented and why could this not be implemented using what I think is the 'native' LaTeX version (with the longer version of the root symbol)?

This does use the LaTeX characters for the surd, and they do not include any horizontal portion (I'm not sure what you mean by "longer version").  There are 5 different discrete sizes for the surd, plus pieces to construct arbitrarily large ones when the radicand gets to be too tall.  The top piece for that multi-character construct does include a horizontal portion, so perhaps that is what you are thinking of.
Getting the surd to match the horizontal line is a delicate operation, and one that is dependent on both the scale and the browser involved.  Because the browser must align the display to the pixels on the screen, there are rounding issues that come into play, and those differ from browser to browser and scaling factor to scaling factor.  Indeed, the exact same positioning dimension can be too large at some scaling factors and too small at others, so there is no perfect solution.
In this case, it would be possible to extend the horizontal line slightly to overlap the surd a bit more.  That is already being done for the multi-character construction, so could be done here, as well.

Seems to be implemented the same way for the fraction line to me.

That is correct.  Both are rendered using a CSS border property, and of the same thickness.

Both of them seem to be a little bit thicker than the standard LaTeX ones as well.

Yes, that is true.  LaTeX was designed for the print medium, not screen display, and so is able to expect much higher resolution output (typical screen sizes where on the order of 96 pixels per inch until relatively recently, while publishing-quality print resolutions start at 1200 dots per inch and go up from there).  In that setting, it is much easier to control the size of horizontal and vertical lines, because you have more resolution to work with.  For a screen display, the horizontal lines for fractions and roots are typically 1 or 2 pixels high for normal text sizes, and there is no room for anything in between.
MathJax doesn't know the physical size of the final output (which will be based not only on the scaling factor, which is known to MathJax, but also on the browser's zoom level, which is not), so it can't tell how many pixels will be needed (or available) to make the horizontal line.  Further, it gives the size in font-relative units (so that it scales with the size of the math), and so that is not directly in pixels in any case.  If the width of the horizontal line is made too small, it can disappear at small sizes or zoom levels in some browsers.  Because the math is supposed to work at both small and large sizes, and because small sizes are more common than large ones, MathJax makes the rule thickness somewhat larger than LaTeX does in order to prevent it from disappearing altogether.  This means it is somewhat heavier than desirable at large sizes, but that is the cost of making it visible at small sizes.

The horizontal root line (viniculum) seems to be thicker than the root symbol itself

The two are produced by entirely different rendering technologies (text display versus CSS border), and the two have different characteristics during scaling.  Text rendering is done using antialiasing techniques, which allow it to appear to have sub-pixel precision.  Even with antialiasing, the horizontal and vertical directions do not work the same (there is more horizontal sub-pixel resolution than vertical resolution due to how colored pixels are generated on screen), so horizontal lines are particularly difficult to antialias.  Horizontal (and vertical) lines can disappear at small scales, even with text rendering, which tries to minimize this.  For example, at too small a scale, a minus sign can disappear, or a plus sign can lose its vertical portion and appear as a minus sign.  So in general, thicker is better than thinner.
In the HTML-CSS output of version 2, we used (multiple overlapping) minus signs to generate a horizontal line in order to take advantage of the antialiasing so that it could match the surd character better, but that introduced its own problems (alignment was difficult to control, and the overlaps caused darker areas in the antialiasing, giving the result an uneven outline).  It would be possible to use SVG lines with antialiasing (in those browsers that support that), but that also has its drawbacks.  The current CSS border approach provides the best balance of the pros and the cons that we have found so far.

Hi @dpvc, do you recall what the perceived drawbacks of using SVG rendering for this would be? I use MathJax primarily to render equations in my Anki flashcards and every time I see a square root rendered like this, it drives me crazy.
I’ve figured out that if I want to reproduce vector text or graphics from a PDF document (typically produced using LaTeX) on an Anki flashcard, I can select a rectangle in macOS Preview, save it as a PDF, and then run it through pdf2svg, which produces a SVG that exactly matches the original PDF. This tool does lose the selectable text since it converts each glyph to a path and seems to discard the information about the original character, but in terms of rendering, it looks very good, so this seems like a good approach for rendering square roots.

@rlanday, what version of MathJax are you using?  If it is v3 (the images above are for that, though the original issue was for v2), you can try adding the CSS
mjx-surd {
  transform: translatex(.02em)
}

to your stylesheet and see if that improves the situation for you for CHTML output.
If you are looking to get SVG versions of the equations, you can do that directly by switching to MathJax's SVG output rather than CHTML output.


[Bug]:  ModelBottomSheet Overlap with NavigationBars Android Compose

Is there an existing issue for this?

[X] I have searched the existing issues

Is there a StackOverflow question about this issue?

[X] I have searched StackOverflow

Is this an issue related to one of the samples?

[X] Yes, this is a specific issue related to this samples repo.

Sample app
Other (bug not related to sample app)
What happened?
Below is the code, ModalBottomsheet overlap with Navigationbars. I tried adding padding but still same.
ModalBottomSheet(
        onDismissRequest = {
            onDismiss()
        },
        sheetState = bottomSheetState,
        modifier = Modifier.windowInsetsPadding(WindowInsets.navigationBars),
        windowInsets = WindowInsets.ime,
        content = {
            Column(
                modifier = Modifier
                    .fillMaxWidth()
                    .padding(start = 16.dp, end = 16.dp),
                horizontalAlignment = Alignment.CenterHorizontally,
            ) {
                TextField(
                    value = accountName,
                    onValueChange = { accountName = it },
                    placeholder = {
                        Text(
                            text = stringResource(id = R.string.account_name_hint),
                            fontFamily = FontFamily(Font(R.font.opensans_regular))
                        )
                    },
                    textStyle = TextStyle.Default.copy(
                        fontSize = 20.sp,
                        fontFamily = FontFamily(Font(R.font.opensans_medium))
                    ),
                    colors = TextFieldDefaults.colors(
                        unfocusedContainerColor = Color.White,
                        disabledTextColor = Color.Transparent,
                        focusedIndicatorColor = Color.Transparent,
                        unfocusedIndicatorColor = Color.Transparent,
                        disabledIndicatorColor = Color.Transparent
                    ),
                    modifier = Modifier
                        .shadow(shape = RoundedCornerShape(8.dp), elevation = 2.dp)
                        .fillMaxWidth(),
                    isError = accountNameError.value,
                    singleLine = true,

                    )
}
}

Relevant logcat output
No response
Code of Conduct

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

can u add a screenshot??


fix typo: "implemeted" => "implemented"

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


i have downloaded and cloned dicee application but while running in my android studio it shows your project is creat3ed with older version of android embedding how to resolve it

Steps to Reproduce

Execute flutter run on the code sample
...
...

Expected results:
Actual results:

Code sample

Logs

Your Flutter application is created using an older version of the Android
embedding. It is being deprecated in favor of Android embedding v2. Follow the
steps at
https://flutter.dev/go/android-project-migration
to migrate your project. You may also pass the --ignore-deprecation flag to
ignore this check and continue with the deprecated v1 embedding. However,
the v1 Android embedding will be removed in future versions of Flutter.

@Devendiran2612
Please see this StackOverflow answer for more details: https://stackoverflow.com/questions/64425132/how-to-fix-flutter-warning-your-flutter-application-is-created-using-an-older-v
Closing as this is neither a bug nor a feature request.


Cli Starter code is outdated?

Copying the documentation approach regarding creating a new cli project and using the sample code in the docs gives compiler errors, some of the code doesnt seem to be compilable anymore. I managed to get it working by removing Build()/Logging() and using Run()

I've tested it and it works for me assuming you are referring to the following code snippet on Command-Line-Interface-(CLI) wiki page.
using System.CommandLine.Builder;
using System.CommandLine.Parsing;
using C4InterFlow.Cli.Root;
using C4InterFlow.Cli.Commands;
using C4InterFlow.Cli.Extensions;

var rootCommandBuilder = RootCommandBuilder
    .CreateDefaultBuilder(args)
    .Configure(context =>
    {
        context.Add<DrawDiagramsCommand>();
        context.Add<QueryUseFlowsCommand>();
        context.Add<QueryByInputCommand>();
        context.Add<ExecuteAaCStrategyCommand>();
    });

await new CommandLineBuilder(rootCommandBuilder.Build())
    .UseDefaults().UseLogging().Build().InvokeAsync(args);

Could you please provide more details e.g. your environment set-up, error(s) etc.?

Yes, NuGet package is behind. Is this how you found C4InterFlow..?
I'll try to update the NuGet package in the near future.

Yes, NuGet package is behind. Is this how you found C4InterFlow..? I'll try to update the NuGet package in the near future.

I found it from c4model.com if my memory is right, I was checking a few different C# solutions and this project seems very interesting, it has a strong vision compared to some alternatives and is C# based which is my strength

FYI, I've just released C4InterFlow.Automation - v1.7.0 NuGet package

FYI, I've just released C4InterFlow.Automation - v1.7.0 NuGet package

I have a feeling there is an issue with the NuGet but not when you are referencing the code within the project. I will try and import the source of the project and see if the behaviour changes.
with the nuget it doesnt seem to pick up the interfaces, despite the only difference from the sample and my version is i am using the nuget, and you are referencing the code directly.

@pjmagee try C4InterFlow.Automation - v1.8.0
It has all the latest changes.


Update testcontainers-scala to 0.39.6

Updates com.dimafeng:testcontainers-scala from 0.39.5 to 0.39.6.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.dimafeng", artifactId = "testcontainers-scala" } ]

labels: test-library-update, semver-patch

Codecov Report

Merging #21 (3f47f01) into master (a5fa743) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #21   +/-   ##
=======================================
  Coverage   72.05%   72.05%
=======================================
  Files          33       33
  Lines         884      884
  Branches       13       13
=======================================
  Hits          637      637
  Misses        247      247

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 a5fa743...3f47f01. Read the comment docs.


Configure linter, fixes #137

This PR adds a "linter" option to the package settings to support linters that aren't in the styleOptions array. Please let me know if there is anything I need to clarify or any edits I need to make!

LGTM 👍

@ricardofbarros Would be great having this in :)

Sorry for the delayed merge, it's released under the version tag 3.8.0. Thanks for your contribution  @jtormey


fix scope authorization middleware pattern matching

Coverage remained the same at 89.802% when pulling 2288c7a12a11ee0ed9123478cff907e6a8090563 on fix-scope-authz-middleware-pattern-matching into 3d133160643d283b15cb9a262efaffe1d50cd2f7 on develop.


Parser errors on date string input

Looks like a similar error to #20
The following strings are either known to crash the parser, or are part of a payload that will. Either way, we should add them to the test suite:
'active late 17th-19th centuries'
'17 CE'
'c64 BCE'

# Partial stack trace...
  File "/Users/markfinger/Projects/agsa/var/go.sh-venv/src/edtf/edtf/fields.py", line 119, in pre_save
    setattr(instance, g, getattr(edtf, attr)())
  File "/Users/markfinger/Projects/agsa/var/go.sh-venv/src/edtf/edtf/parser/parser_classes.py", line 66, in upper_strict
    return self._strict_date(lean=LATEST)
  File "/Users/markfinger/Projects/agsa/var/go.sh-venv/src/edtf/edtf/parser/parser_classes.py", line 295, in _strict_date
    r = self.upper._strict_date(lean)
  File "/Users/markfinger/Projects/agsa/var/go.sh-venv/src/edtf/edtf/parser/parser_classes.py", line 219, in _strict_date
    'month': self._precise_month(lean),
  File "/Users/markfinger/Projects/agsa/var/go.sh-venv/src/edtf/edtf/parser/parser_classes.py", line 190, in _precise_month
    return int(self.month)
TypeError: int() argument must be a string or a number, not 'dict'

Fixed in 2.6.0


gettransaction rpc call should return exact credited value without interest (reported by elbandi)

gettransaction rpc call should return the exactly credited value, because GetValueWithInterest() calculated by current height is bad for past transactions.

fix is in v1.1.4 , https://github.com/ROIcoin/ROIcoin/releases/tag/v<IP_ADDRESS> has been released, closing this bug.


fbp_fdk

Clean installed in my local machine, it passed all 6 test: test_fbp_fdk.py, test_projectors.py, test_prox.py, test_qggmrf.py, test_utilities.py, test_vcd.py.
test_log.txt

The pytests also work for me, so I'm going to accept this PR.


refactor(runtime-core): replace set currentInstance with Method

replace set currentInstance with Method
Express operation intention

Seems unnecessary. It's in the same file. The getter and setter is only exposed for external files.


nixos/mysql: declarative users & databases

using Unix socket authentication, ensured on every rebuild.
Motivation for this change
I want to be able to declaratively manage the MySQL / MariaDB databases and users I need for the standard web apps like wordpress, nextcloud, piwik et cetera. This can be used by end users as well as package maintainer.
This helps #29031 by allowing to easily create a MySQL user for backing up, with reduced permissions.
This goes in the direction of and could supersede #6963 , but with scope reduced to local, Unix socket authenticated users.
I tried to circumvent the issue of un-synchronized state between nix configuration and actual databases by calling this ensureDatabases / ensureUsers and making it clear that this only ensures the databases and users are there, but does nothing to delete or rename databases and users or to reduce permissions that were once given. This will be up to the user, to prevent e.g. accidental deletion of databases and generally breaking things.
(Also, I don't even know how the state of which databases existed before and after rebuilds could be diffed and updated accordingly.)
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
Built on platform(s)

[X] NixOS
[ ] macOS
[ ] Linux

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[X] Fits CONTRIBUTING.md.

:+1: Looks good, thanks!

Thanks!

I don't use MySQL, but I've stumbled on this:
... IDENTIFIED WITH ${if mysql == pkgs.mariadb then "unix_socket" else "auth_socket"};"

I think it's a bit flaky check. What if I use mariadb from nixpkgs-unstable, but rest of the system is nixos-17.09? It will be detected as mysql. Perhaps better to check (builtins.parseDrvName (mysql.name)).name == "mariadb"

@danbst you're totally right, did not think about that case. Your proposal with parseDrvName sounds much better, and should be a drop-in replacement for the current condition. Do you want to pose the PR, or should I do it?

This is cool. I'm going to use this in https://github.com/NixOS/nixpkgs/pull/31475 instead of the stateful workaround I have now.

@ravloony thank you! Yes, looks like a good fit. And more usage examples in NixOS services apart from mysql-backup will probably help more people discovering and adopting this. 😄

@florianjacob Done. Feel free to have a look and see if there is anything I could do better.


Laravel UI : registering new user is still using mySQL command

I'm following Section 8 - lesson 34 of "Laravel 6 from Scratch" with Laravel 6.5.2
With Laravel Mongodb, I've modified the Authenticable in the User.php to use Jenssegers\Mongodb\Auth\User as Authenticatable;
After submitting the registration form: the error thrown at me was
Illuminate\Database\QueryException
SQLSTATE[HY000] [2002] No connection could be made because the target machine actively refused it.
(SQL: select count(*) as aggregate from `users` where `email` =<EMAIL_ADDRESS>http://<IP_ADDRESS>:8000/register

Any help with what could be the cause?
I have had other pages that can load fine with the .env file I have set. It just seem this laravel ui package forces to use MySQL query when inserting new user
ADD:
Adding more info.
I'm currently tracing the stack: What I've found that the entry point is this one in Illuminate\Routing\Router.php:
/**
 * Register the typical authentication routes for an application.
 *
 * @param  array  $options
 * @return void
 */
public function auth(array $options = [])
{
    // Authentication Routes...
    $this->get('login', 'Auth\LoginController@showLoginForm')->name('login');
    $this->post('login', 'Auth\LoginController@login');
    $this->post('logout', 'Auth\LoginController@logout')->name('logout');

    // Registration Routes...
    if ($options['register'] ?? true) {
        $this->get('register', 'Auth\RegisterController@showRegistrationForm')->name('register');
        $this->post('register', 'Auth\RegisterController@register');
    }

    // Password Reset Routes...
    if ($options['reset'] ?? true) {
        $this->resetPassword();
    }

    // Password Confirmation Routes...
    if ($options['confirm'] ??
        class_exists($this->prependGroupNamespace('Auth\ConfirmPasswordController'))) {
        $this->confirmPassword();
    }

    // Email Verification Routes...
    if ($options['verify'] ?? false) {
        $this->emailVerification();
    }
}

It attempts to call the register function on Auth\RegisterController, which basically calls the function on Illuminate\Foundation\Auth\RegisterUsers.php. Which is :
/**
 * Handle a registration request for the application.
 *
 * @param  \Illuminate\Http\Request  $request
 * @return \Illuminate\Http\Response
 */
public function register(Request $request)
{
    $this->validator($request->all())->validate();

    event(new Registered($user = $this->create($request->all())));

    $this->guard()->login($user);

    return $this->registered($request, $user)
                    ?: redirect($this->redirectPath());
}

The stack unwinds at validate() method. The first line of the register() function. At this point, I'm lost on which direction to track for the validate() function.
ADD2: Just learned you can share stack trace
here's the link:
https://flareapp.io/share/W7zlvVmw#F59

OK, resolved my issue.
I rechecked on phpinfo() and noticed that my DB_CONNECTION is still mysql, I went to .env file and changed this variable to mongodb. Shutdown the server, rerun php artisan serve, ensure that the variable on phpinfo is changed to mongodb. And voila, everything works fine.
This makes me think : why this is not listed in the README.md? I thought by simply commenting out 'default' => env('DB_CONNECTION', 'mysql'), and replace it with 'default' => env('DB_CONNECTION', 'mongodb'), in config/database.php is sufficient and the DB_CONNECTION variable in .env file matters not. Maybe I did something wrong in the setup?


ollama: 0.3.5 -> 0.3.8

Diff: https://github.com/ollama/ollama/compare/v0.3.5...v0.3.8
Changelog: https://github.com/ollama/ollama/releases/tag/v0.3.8
Description of changes

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Failure seems to be in the check phase due to not having a GPU to load the relevant models. Not sure how this was handled in the past.

From my attempts, it seems the unit test TestHomogeneousGPUs (in server/sched_test.go) for the ollama-server is failing somehow since 0.3.6 though nothing appears to have changed for the test. The only odd thing I see is the return (https://github.com/ollama/ollama/blob/4c4fe3f87fe1858b35bd0d41e093a0039ec4cee4/server/sched_test.go#L689) doesn't have a nil but again that's been like that for a while.

I was able to successfuly build 0.3.9 ROCm & CUDA. I can verify cuda which runs/works for me.
Someone else has to test ROCm as I don't have that GPU.


[question] how to search in related models as well ?

first many thanx for this tool, its a breeze in compare to others.
i was wondering if there is a way to search in related models as well ? i know its already an issue with scout but maybe meili could have a custom search where we can also search in other indexes and merge the results.

Hello,
This package is just an extension of what scout does and doesn't.
I don't know if scout has a true limitation or if it can be done, do you have a link to the scout issue so I can have more information ?

its an old limitation of scout which hasnt been addressed yet, u can check google
but i was hopping that meili would have the option to search in multiple indexes as atm i cant find anything related to this in the docs

Hello @ctf0!
MeiliSearch cannot search in multiple indexes for the moment. But be sure we are thinking about adding this feature 😉 I'll keep you in touch!

Ok I let this issue open as an enhancement, we will see what we can do in few months
Thank you guys !

This might come in handy:

https://github.com/algolia/scout-extended
https://www.algolia.com/doc/framework-integration/laravel/advanced-use-cases/multiple-models-in-one-index/?language=php

Would love to see this implemented since its free/open-souce and runs locally. For now I'll give the Algolia aggregator a try

Would love to see this implemented since its free/open-souce and runs locally. For now I'll give the Algolia aggregator a try

Closing this issue. If you want to be informed about MeiliSearch feature here are some links:

the roadmap: https://roadmap.meilisearch.com/tabs/5-ideas. Feel free to add features or to update the existing ones.
the MeiliSerach repository to watch PRs and issues: https://github.com/meilisearch/MeiliSearch
the specs repository of MeiliSearch: https://github.com/meilisearch/specifications/


docs: add URI scheme and QR code standards

Add URI scheme and QR code standards, including specifications for the RFC-8905 payto: standard

pushed some almost exclusively stylistic changes to your PR (https://github.com/mistakia/nano-community/pull/68/commits/75550567ba0b300e9f15554c2253305d52b90145)
quick summary:

using code blocks instead of inline code styling for things that appear multiline
change in header levels
using headers instead of bold (allows linking to section and understanding section hierarchy)
adding section spacers and table of contents
removed italicization from italicized and capitalized text as it seemed harder to read imo. I think using one of: capitalization, bold, or italicization is enough to communicate emphasis. Not sure which is best but I think we should just pick one.

content changes

replaced preferred with recommended
added links to nano docs where appropriate

Let me know if there's anything that needs changing before a final review and merge. Will do a final review of the content for accuracy, otherwise it looks good enough to me.

All changes look good to me!