Feature request: Monitor System call exception

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Feature request: Monitor System call exception
Describe the solution you'd like
A clear and concise description of what you want to happen.
Monitor System call exception feature will be implemented like:

The system can display pid, tid, call type, latency (system call duration) data of the slow system call

The system can display the pid, tid, call type and latency of the timeout system call

The system can display the pid, tid, return value of the call and error type data of the wrong system call

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

I think this feature is similar to #366. Is there any reason why you request this feature?
Actually, we have implemented it, but haven't merged it into the main branch due to several reasons.

Thx, Because the current project is based on kindling to implement, there is also a need to monitor both page fault and system calls exception.

Get it. It won't be long before we merge these two features (and #407).

OK,Thanks!

Sorry, we won't be scheduling this feature in the near future since we haven't identified a valuable use case for it yet. We need more information before we can decide whether to continue working on it.


OCM-10144 | fix: List upgrade for cluster asking machinepool identifier producing error

https://issues.redhat.com/browse/OCM-10141

/approve


Add documentation for supports() API

As mentioned in #412, we have a supports() method but it isn't documented. Since @af7 has expressed a use-case for it we should document it for all! :smile:

Thx, you may also add the driver() method, as this is what I will be using in my case.
I will be checking for null and if yes then test if our own driver can be supported on the specific hardware and load it instead.

Not sure if this needs a different ticket, I also use the createInstance in order to create 2 different localforage databases (thus I had the bug with iterate).
So, maybe you would like to document createInstance too (it is not documented).

There’s actually an issue open for that (#260), but we haven’t got around to fixing it yet. I’m guessing multiple instances are a lesser-used feature, as for many the appeal of localForage is it’s plug-and-play nature.
Still, would love to have those docs too!

tofumatt

On Sun, Aug 16, 2015 at 3:31 PM, af7<EMAIL_ADDRESS>wrote:

Not sure if this needs a different ticket, I also use the createInstance in order to create 2 different localforage databases (thus I had the bug with iterate).
So, maybe you would like to document createInstance too (it is not documented).
Reply to this email directly or view it on GitHub:
https://github.com/mozilla/localForage/issues/423#issuecomment-131559252


Forbid request cloning

Currently Request is still allowed to be cloned, which is used e.g. in FollowRedirects, but this will copy the attributes array and its values and share them, resulting in non-sense if things like response timings are stored in the request attributes (see #193).
We could just empty the attributes on cloning, but then we have to remove all other clone operations in the interceptor chain, because those must not null the attributes, otherwise attributes become useless.
I think the best way forward might be to just entirely forbid cloning. Maybe we should introduce an additional property on request that allows to freeze a request object to prevent further modification?

I thought about adding Request::createSubRequest()
public function createSubRequest($uri, string $method = "GET"): self
{
    $subRequest = clone $this;
    $subRequest->setUri($uri);
    $subRequest->setMethod($method);
    $subRequest->attributes = [];

    return $subRequest;
}

However, now that I've looked through the usages where we currently clone, it makes me want to restore immutability for requests again, because e.g. the retry interceptor might to weird things, because interceptors might set headers in the first attempt, but then do other things on the second run, because some header is already set now on the request object, e.g. the DecompressResponse interceptor will see that the accept-encoding is already set, so it won't change it and won't decode the response, because it thinks another middleware does that.


FE Spike for Consent Modeling

Notes

This will be a paid feature
Backend design doc: https://ethyca.atlassian.net/wiki/spaces/EN/pages/2636382212/2023-03-10+Backend+Design+Enhancing+Consent+Management+Capabilities+and+Consent+Reporting?focusedCommentId=2644705297#comment-2644705297

I'll work on a design doc for this today/tomorrow

in progress design doc: https://ethyca.atlassian.net/wiki/spaces/EN/pages/2649096193/2023-03-21+Frontend+Design+Privacy+Notices

Going to mark this one as done—the broken out tickets are listed in the rightmost column of the design doc, and are also under the "Consent Modeling" epic


Update coracle.sol

This PR enhances the 'for' loops by changing i++ to ++i and using uint256 i; rather than uint256 i = 0;, cuz unsigned integers generally have a default value as 0. Refer this
Thanks @DarthBenro008

Closing due to inactivity!


Supporting pplx-api

Any plans to support perplexity's API?

Perplexity's API uses the OpenAI standard, so it's already supported by llm.
You just need to create a file called 'extra-openai-models.yaml' at ~/.config/io.datasette.llm/ with something like this in it:
- model_id: pplx-70b-online
  model_name: pplx-70b-online
  aliases: ["pplx70b"]
  api_base: "https://api.perplexity.ai"
  api_key_name: "pplx"

You can add the other pplx endpoints as other entries in this file. And then make sure your api key is in 'keys.json' in the same directory. See https://llm.datasette.io/en/stable/other-models.html for more details.


Use a single node hierarchy to track statements and expressions

Summary
This PR is a follow-up to the suggestion in https://github.com/astral-sh/ruff/pull/6345#discussion_r1285470953 to use a single stack to store all statements and expressions, rather than using separate vectors for each, which gives us something closer to a full-fidelity chain. (We can then generalize this concept to include all other AST nodes too.)
This is in part made possible by the removal of the hash map from &Stmt to StatementId (#6694), which makes it much cheaper to store these using a single interface (since doing so no longer introduces the requirement that we hash all expressions).
I'll follow-up with some profiling, but a few notes on how the data requirements have changed:

We now store a BranchId for every expression, not just every statement, so that's an extra u32.
We now store a single NodeId on every snapshot, rather than separate StatementId and ExpressionId IDs, so that's one fewer u32 for each snapshot.
We're probably doing a few more lookups in general, since any calls to current_statement() etc. now have to iterate up the node hierarchy until they identify the first statement.

Test Plan
cargo test

No significant changes before / after:
group                                      any-node-ref                           main
-----                                      ------------                           ----
linter/all-rules/large/dataset.py          1.00      5.0±0.04ms     8.1 MB/sec    1.00      5.0±0.03ms     8.1 MB/sec
linter/all-rules/numpy/ctypeslib.py        1.01  1278.4±10.95µs    13.0 MB/sec    1.00  1265.8±18.80µs    13.2 MB/sec
linter/all-rules/numpy/globals.py          1.00    122.5±1.57µs    24.1 MB/sec    1.00    122.2±1.31µs    24.2 MB/sec
linter/all-rules/pydantic/types.py         1.00      2.5±0.03ms    10.1 MB/sec    1.01      2.5±0.05ms    10.0 MB/sec
linter/default-rules/large/dataset.py      1.01      3.0±0.01ms    13.7 MB/sec    1.00      2.9±0.01ms    13.8 MB/sec
linter/default-rules/numpy/ctypeslib.py    1.00    583.3±4.12µs    28.5 MB/sec    1.00    582.6±2.12µs    28.6 MB/sec
linter/default-rules/numpy/globals.py      1.00     60.8±0.66µs    48.5 MB/sec    1.00     60.8±0.32µs    48.5 MB/sec
linter/default-rules/pydantic/types.py     1.01   1258.7±7.00µs    20.3 MB/sec    1.00   1252.2±6.67µs    20.4 MB/sec

Hyperfine benchmarking shows maybe a small decrease in performance (one or two milliseconds on a ~208ms baseline) but candidly it's hard to tell what's noise and what's real.


feature request: alt text preview (plus comments on SVG preview vs post)

hiya, so part of my new socks bot (https://bsky.app/profile/socksbot.bsky.social) is the the alt text is also generated via the tracery, but on the bot preview page I can't see that.
I do most of my tracery coding and checking in VSCode so it doesn't super impact me, but for other people it may be handy to be able to confirm that tracery produced alt text comes out properly before it starts posting.
semi relatedly, you stated previously that you use different methods to produce the preview images vs the posting images, is there a particular reason for this?
i have notice that there is a bit of discrepancy between the appearance of the outputs which does require tweaking after the bot has started posting to ensure that the images are displaying properly on BSky.
for instance, here is the preview image for (@grandmas-quilt.bsky.social) vs how it actually appears on BSky:

relatedly-relatedly (this part is mostly just me thinking aloud and not necessarily a request or anything)
CBTS has a similar issue of preview vs post.
but on CBTS it just displays the actual SVG, which is super helpful in that if i notice an issue i can inspect the page element to see the generated SVG code to see where any breaks or oddities may be happening.
like I said earlier, I do most of my coding in VSCode, so it's not a big issue, but i am recently running into an issue where CBTS is processing the tracery differently (it's using a slightly older version) so being able to look to see where and how it's breaking is handy in troubleshooting.  this may also be handy or at least a thing to think about with regards to BBDQ as you are technically using a different version of tracery to me as well.
OH! and!
on CBTS you can re-roll the tracery to see more results to double check all the bits, on BBDQ there's no way to re-rell unless you actually make an edit to the code - reloading the page just logs you out and brings you back to the homepage.
(on CBTS there's a little "reload" button next to the preview you can click to get it to run the code again. on BB I've just been adding spaces to the code, but because of the preview window placement in relation to the edit window i have to scroll up, space, scroll down, scroll up, space, scroll down, etc....(and then I have to remember to erase all the extra spaces))
anyways, sorry for being so rambly 😅

Adding alt text is an easy fix, and I'm working on a bigger frontend change now anyway, so I'll include it before the next time I run a build on it. The alt text is actually already added to the image if you use the {svg <svg></svg> Alt-text} format, but adding it when you use the {alt} format was a bit more complicated, so I decided to handle that problem later. Still, just displaying the alt text on-screen under the images where you can easily see it would probably be the preferred solution, so I'll probably just add that.
The thing about the SVG previews is that they're not actually previews at all - they are, indeed, SVGs. The only thing I do with them before displaying them in the browser is converting them to base64 so that I can put the data inside an <img> tag. The reason I chose to put the SVG inside an <img> tag instead of just using the <svg> is simply because that made it easier to resize the images and, ironically, add alt text. And there's an exception - if the SVG contains an image with an xlink:href reference to an external image, the SVG will actually be displayed on screen (or a sanitized version of it) because converting that to a data url would be a very much more difficult process. Anyway, I figured that as long as your browser supports SVG, there's not really a reason to jump through a lot of hoops to convert it when it works out of the box.
Grandma's quilt uses <text>, right? It could be a possibility that the SVG shown on the website somehow inherits the font used elsewhere on the site. While I can't guarantee it will work, I'll try setting the font on the SVG container to initial and see what happens.
Honestly, SVGs was an afterthought here. I didn't need it, my friends didn't need it, so I figured it was probably not something a lot of people would use. Clearly I was wrong about that. But a lot of the SVG issues can be boiled down to the fact that I don't entirely know what I'm doing, so I'm trying to find the simplest solutions possible to making it work and then make up solutions to all the bugs that pop up as I go. Fortunately, I get the impression that most people who use SVGs know enough about how to build them to avoid the biggest issues.
What are the differences between this Tracery version and the one CBTS uses? What exactly works differently?
A reload button would definitely be nice, I just haven't gotten around to it. Putting it on the to-do-list.

heh i'm actually in the middle of a bug issue with BooDoo over some weirdness I'm experiencing the CBTS's tracery as, my thing is working perfectly in VSCode/node.js, and here, but for some reason is reading things in the wrong order (?) on CBTS
all I know is that CBTS uses the JS tracery and that you are using a PHP port (if i'm understanding properly) and that that can result in odd little discrepancies occasionally
also, to be fair, the HUGE majority of tracery based bots have no use for svg but there's a small niche group of weirdos (i'm including myself here) who enjoy pushing the boundaries of what can be accomplished with seemingly very simple code.
(for ex, the inspirations for both Alien's Aliens and socksBot were much more "complicated" JS codes, and the canvas feature, and I wanted to see if I could simplify it all down to work in tracery/SVG instead  (in some ways I actually find SVG (and CSS ) easier to work with than with the js canvas, but I've been told that I'm quite odd)


Added Dutch translation

🙂

You might want to wait with merging this PR until the Strings are updated as proposed in #149.

Yes, thank you for this! We're just getting started with translations for Spot, so things might be a bit rocky for the first days. I've pushed some updated msgids to master; if you're used to meson/gettext, you may run (in a configured project) ninja spot-update-po -C target to update your po file automatically -- it will try to reconcile old msgids with new ones, watch out for changes (and for lines mentioning "fuzzy")

No problem! 🙂
But I'll just open up a new PR with the translation including the updated strings - that's easier for me.


Manually stop the client request

Hi,
I want to stop all the client request with 1s, if they not completed.
$client = new Amp\Artax\DefaultClient;
Is it possible ?

Please open issues regarding the HTTP client in https://github.com/amphp/artax, thanks!


What prompt is used to generate the GPT2 datasets?

I see that GPT2 is trained on webtext, but not sure how the datasets here are generated?

datasets are generated by asking the gpt-3 or gpt-4 or gpt-2 gpt-1 which count as the data sets but you have to ask the ai 600 times to prefect one question from asking the ai which than you could use next time to see if that question might be close to the other one which is kind of nice not spending 6 hours per question almost like the video when someone was trying to make a ai that plays n64 mario racing cart perfectly but it took a big amount of training even with the gpu


 This PR addresses this issue.

I merged this to master.

Thanks!


Serf -> Mars

If #184 proceeds we will need to convert Ares from a serf to a mars.
@joemfb does the subcommand change (i.e. urbit mars ... instead of urbit serf ...)? If so this would enable a progressive implementation of Mars without interfering with Serf

Yes, it's a different subcommand.

Cool then when work begins we can just start a mars module that is invoked by main on the relevant subcommand.


values in the legend is not aligned properly

Values in the legend is not aligned properly in GPS of learning and Usage per capita (Dial resource usage)

Duplicate


Cannot quantize only part of a QAT model for running on both Android CPU/DSP

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

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): No
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 18.04
TensorFlow installed from (source or binary): source
TensorFlow version (use command below): 2.5.0-dev20201208
Python version: 3.7

Standalone code to reproduce the issue
What I'm trying to do is to quantize part of a model, running quantize-aware training, and then deploy it to run on both Android CPU/DSP for inference. The code is below:
def apply_quantization(layer):
    if isinstance(layer, keras.layers.Conv2D):
        return tfmot.quantization.keras.quantize_annotate_layer(layer)
    return layer

annotated_model = keras.models.clone_model(
    base_model, # base_model is a mobilenetv2 or resnet50
    clone_function=apply_quantization
)
q_aware_model = tfmot.quantization.keras.quantize_apply(annotated_model)

Then I try to convert it to a quantized tflite model (with only weights)
converter = tf.lite.TFLiteConverter.from_keras_model(q_aware_model)
converter.optimizations = [tf.lite.Optimize.DEFAULT]
converter.convert()

The tflite model works, but can only run on CPU but no op is delegated to DSP because the activations are not quantized (am I right?)
So I tried to quantize both weights and activations:
converter = tf.lite.TFLiteConverter.from_keras_model(q_aware_model)
converter.optimizations = [tf.lite.Optimize.DEFAULT]
converter.representative_dataset = representative_data_gen
converter.allow_custom_ops = True
converter.inference_input_type = tf.uint8
converter.inference_output_type = tf.uint8
tflite_model = converter.convert()

The tflite model is generated, but I cannot initialize an interpreter with this model with following error:
---------------------------------------------------------------------------
RuntimeError                              Traceback (most recent call last)
<ipython-input-13-3d7cc3476638> in <module>
      1 interpreter = tf.lite.Interpreter(model_content=m7)
----> 2 interpreter.allocate_tensors()
      3 input_index = interpreter.get_input_details()[0]["index"]
      4 output_index = interpreter.get_output_details()[0]["index"]
      5 print (input_index, output_index)

~/anaconda3/lib/python3.7/site-packages/tensorflow/lite/python/interpreter.py in allocate_tensors(self)
    333   def allocate_tensors(self):
    334     self._ensure_safe()
--> 335     return self._interpreter.AllocateTensors()
    336
    337   def _safe_to_run(self):

RuntimeError: tensorflow/lite/kernels/dequantize.cc:61 op_context.input->type == kTfLiteUInt8 || op_context.input->type == kTfLiteInt8 || op_context.input->type == kTfLiteInt16 || op_context.input->type == kTfLiteFloat16 was not true.Node number 5 (DEQUANTIZE) failed to prepare.

I've checked the generated tflite model, it seems there're two consecutive DEQUANTIZE op inserted. Any one knows how to fix it?

Hi xumengwei@,
The current setting is a little strange since you have chosen to fully quantize the model with post-training quantization but only quantized-aware training for convolution layers. The current tooling is a little confused and adds inappropriate dequantize/quantize ops expecting the input model to not be quantized. We are working on a fix for this.
For the meantime, I verified that our new quantizer tooling handles the input qat model appropriately.
converter = tf.lite.TFLiteConverter.from_keras_model(q_aware_model)
converter.optimizations = [tf.lite.Optimize.DEFAULT]
converter.representative_dataset = representative_data_gen
converter.allow_custom_ops = True
converter.inference_input_type = tf.uint8
converter.inference_output_type = tf.uint8

# add this line before convert()
converter._experimental_new_quantizer = True

tflite_model = converter.convert()

@daverim Thanks for your reply. I understand what's doing might sound minority. I want to quantize only certain layers (e.g., the 1st, 3rd conv layers) and keep others (e.g., the 2nd, 4th conv) as float32.
I've tried your the way you suggested using _experimental_new_quantizer. However, what I got is a fully quantized model instead of only some of them. As a result, the whole model is delegated to DSP. Do you have any idea how can I achieve my goal?

@xumengwei, ah that makes more sense, in that case, you don't want to apply post-training quantization, just quantize-aware-training conversion. Try the following:
converter.optimizations = [tf.lite.Optimize.DEFAULT]
converter.inference_input_type = tf.uint8
converter.inference_output_type = tf.uint8
tflite_model = converter.convert()

@daverim I've tried the way you suggested. Here is the complete code:
MODEL_NAME = 'mobilenetv2'
base_model = keras.applications.MobileNetV2(
    input_shape=(224,224,3), alpha=1.0, include_top=True, weights='imagenet',
    input_tensor=None, pooling=None, classes=1000,
    classifier_activation='softmax'
)
def apply_quantization(layer):
    if type(layer) == keras.layers.Conv2D:
        return tfmot.quantization.keras.quantize_annotate_layer(layer)
    return layer

annotated_model = keras.models.clone_model(
    base_model,
    clone_function=apply_quantization
)

q_aware_model = tfmot.quantization.keras.quantize_apply(annotated_model)
converter = tf.lite.TFLiteConverter.from_keras_model(q_aware_model)
# converter._experimental_new_quantizer = True
converter.optimizations = [tf.lite.Optimize.DEFAULT]
converter.inference_input_type = tf.uint8
converter.inference_output_type = tf.uint8
tflite_model = converter.convert()
pathlib.Path('/tmp/tmp.tflite').write_bytes(tflite_model)

Basically I tried to quantize only Conv2D layers of a mobilenetv2 model. However, the generated model is quite weird: the quantize and dequantize layers always come after Conv2D layer together... Isn't the quantize layer before the Conv2D layer?

@daverim I've also tried a simpler, manually constructed model with direct quantization annotation tfmot.quantization.keras.quantize_annotate_layer. The code is following.
inputs = keras.layers.Input(shape=(224, 224, 3))
x1 = keras.layers.Conv2D(32, (3, 3), activation='relu')(inputs)
x2 = keras.layers.Lambda(lambda x: tf.identity(x))(inputs)
x2 = tfmot.quantization.keras.quantize_annotate_layer(
    keras.layers.Conv2D(32, (3, 3), activation='relu')
)(x2)
x = keras.layers.concatenate(inputs = [x1,x2])
x = keras.layers.MaxPool2D([5,5], strides=5)(x)
x = keras.layers.Flatten()(x)
x = keras.layers.Dense(2)(x)
base_model = keras.models.Model(inputs=inputs, outputs=x)
q_aware_model = tfmot.quantization.keras.quantize_apply(base_model)

converter = tf.lite.TFLiteConverter.from_keras_model(q_aware_model)
converter._experimental_new_quantizer = True
converter.optimizations = [tf.lite.Optimize.DEFAULT]
converter.inference_input_type = tf.uint8
converter.inference_output_type = tf.uint8
tflite_model = converter.convert()
pathlib.Path('/tmp/tmp.tflite').write_bytes(tflite_model)

In this model, two conv layers take the same input and then their outputs are combined. I only quantize one of them. However, in the generated tflite model, both two conv layers are quantized...

@daverim can you help or involve other people who may be familiar with this issue?

Hi sorry for the delay, realized there were two bugs with this issue: workaround is posted  in
https://github.com/tensorflow/model-optimization/issues/523


Refactor controllers

Is your feature request related to a problem? Please describe.
Even though the projects are somewhat modular, quite a lot of logic is placed in the controllers. We should refactor this into separate classes/services so that they can be tested more easily and reused from other places.
What area is it related to

ActiveLogin.Authentication.BankId.AspNetCore

Describe the solution you'd like
Move logic from the controllers into separate classes. Consider creating a separate (ActiveLogin.Authentication.BankId.Core) package.
Additional context
Somewhat related to #122 and #162.

When looking at this "architecture" refactoring, we could have #236 in mind. Might be a way to allow for multiple instances if that solves any more usecases.


Added support to configurable expr evaluation to refine the ts obtained using a custom format

I have datetime values in ES formatted with milliseconds: similar to issue #616 but further complicated by the Zulu timezone identifier ('Z' fixed char) after millis (i.e. 2017-04-16T06:32:55.776Z).
This is a problem because - as far as I know - in python there's no easy way to specify a datetime format with millis precision (it has microsecond precision).
So I've added to elastalert config the support for an optional python expression to be evaluated in order to refine the timestamp obtained from timestamp_format.
The expression obtained by the timestamp_format_expr config entry, and is considered only when timestamp_type is custom.
When the expression is set, it gets evaluated with a namespace containing ts and dt as variables where:

dt is the datetime instance to convert
ts is the timestamp obtained converting the datetime using timestamp_format
The evaluation result is returned.

So in my case I've set
timestamp_type: custom
timestamp_format: '%Y-%m-%dT%H:%M:%S.%fZ'
timestamp_format_expr: 'ts[:23] + ts[26:]'

Can you add relevant documentation?

@Qmando I just documented the timestamp_format_expr option and its aim.


Problems with scientific_startup in other interpreters from the one Spyder is running on

From<EMAIL_ADDRESS>on 2013-03-17T13:12:23Z
Spyder Version:  2.2.0beta4
Python Version:  2.7.3
Qt Version:      4.8.2, PyQt4 (API v2) 4.9.4 on Darwin
What steps will reproduce the problem?

Create a virtual environment called basic, using the default, Apple distributed, python interpreter
In Preferences->Console->Advanced Settings->Path to Python interpreter execurable binary: /Users/Ben/.virtualenvs/basic/bin/python/
Tools->Update Module List
Restart Spyder What is the expected output? What do you see instead? The expected output are no errors in the console.  What I get is:

Python 2.7.2 (default, Oct 11 2012, 20:14:37)
[GCC 4.2.1 Compatible Apple Clang 4.0 (tags/Apple/clang-418.0.60)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
Traceback (most recent call last):
File "/Applications/Spyder.app/Contents/Resources/lib/python2.7/spyderlib/scientific_startup.py", line 16, in <module>
from pylab import *  #analysis:ignore
ImportError: No module named pylab
Please provide any additional information below
.
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=1322

From<EMAIL_ADDRESS>on 2013-03-18T15:14:18Z
Update 1: In case it matters I used --system-site-packages when I created my virtual environment.
Update 2: I also run into problems when using EPD64 and virtualenv.  Using the system level version of EPD64, things work fine.  However, when I create a virtual environment using the EPD64 interpreter, I get the following errors from Spyder's console:
Python 2.7.3 |CUSTOM| (default, Apr 12 2012, 11:14:05)
[GCC 4.0.1 (Apple Inc. build 5493)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
Traceback (most recent call last):
File "/Applications/Spyder.app/Contents/Resources/lib/python2.7/spyderlib/scientific_startup.py", line 16, in <module>
from pylab import *  #analysis:ignore
File "/Library/Frameworks/EPD64.framework/Versions/7.3/lib/python2.7/site-packages/pylab.py", line 1, in <module>
from matplotlib.pylab import *
File "/Library/Frameworks/EPD64.framework/Versions/7.3/lib/python2.7/site-packages/matplotlib/pylab.py", line 264, in <module>
from matplotlib.pyplot import *
File "/Library/Frameworks/EPD64.framework/Versions/7.3/lib/python2.7/site-packages/matplotlib/pyplot.py", line 95, in <module>
new_figure_manager, draw_if_interactive, _show = pylab_setup()
File "/Library/Frameworks/EPD64.framework/Versions/7.3/lib/python2.7/site-packages/matplotlib/backends/init.py", line 25, in pylab_setup
globals(),locals(),[backend_name])
File "/Library/Frameworks/EPD64.framework/Versions/7.3/lib/python2.7/site-packages/matplotlib/backends/backend_qt4agg.py", line 12, in <module>
from backend_qt4 import QtCore, QtGui, FigureManagerQT, FigureCanvasQT,
File "/Library/Frameworks/EPD64.framework/Versions/7.3/lib/python2.7/site-packages/matplotlib/backends/backend_qt4.py", line 23, in <module>
from qt4_compat import QtCore, QtGui, _getSaveFileName, version
File "/Library/Frameworks/EPD64.framework/Versions/7.3/lib/python2.7/site-packages/matplotlib/backends/qt4_compat.py", line 36, in <module>
import sip
ImportError: No module named sip

From<EMAIL_ADDRESS>on 2013-03-19T17:56:39Z
Great.  I am glad to hear you can fix the problem with EPD64.
I was using the virtualenv with the EPD64 interpreter for a while and found it worked fine for most tasks in spite of the string of errors listed above.  However, I believe I got an error when I tried to use matplotlib.  At that point, I just switched back to the interpreter that is bundled with Spyder.  Hopefully, if you get rid of the errors above, I will be able to use virtualenv, EPD64, and matplotlib simultaneously.
To answer your question, the Apple distributed python that comes bundled with OS X 10.8 (Mountain Lion) does not appear to have matplotlib installed.  I probably should have realized that was the problem.   I guess I should install matplotlib in my virtual environment.

From ccordoba12 on 2013-03-19T15:36:53Z
breedlun: I can fix your second problem (i.e. the one with EPD) but for the first one I would like to ask you:
Do you have matplotlib installed in your Apple distributed Python? If not, you have to deactivate the scietific_startup script
@-Pierre: Should we enclose every import statement of scientific_startup in a try/except statement? As this issue shows, it's disturbing to find those ImportError's after changing interpreters.
Cc: pierre.raybaut
Labels: OpSys-OSX MS-v2.2

From ccordoba12 on 2013-04-06T20:31:27Z
Labels: Cat-Console

From ccordoba12 on 2013-03-25T09:42:37Z
Summary: Mac app - Problems with scientific_startup in a virtualenv   (was: Virtualenv and scientific_startup.py)

From<EMAIL_ADDRESS>on 2013-04-29T15:08:37Z
Labels: MS-v2.2.1

From<EMAIL_ADDRESS>on 2013-04-29T15:10:06Z
Labels: -MS-v2.2

From<EMAIL_ADDRESS>on 2013-07-24T10:06:12Z
Now that enthought has switched from EPD to Canopy, I am not sure this issue is very relevant anymore.

From ccordoba12 on 2013-06-28T05:46:33Z
Labels: -MS-v2.2.1 MS-v2.3
Blockedon: spyderlib:1365

From ccordoba12 on 2013-08-09T20:08:54Z
The problem still exists for any external interpreter on Mac (not just EPD/Canopy) and I need to address it.

From<EMAIL_ADDRESS>on 2013-09-22T10:25:13Z
I just tried building Spyder from source (python setup.py install) inside a canopy venv.  I then ran spyder, went into preferences, turned off the scientific_startup script, and restarted spyder.  (I would really like to use the scientific start-up script, but I thought I would see what happens without it.)  I get the text below in the console when I try to import numpy.  When I run the canopy venv from the command line, I can import numpy just fine.  Should this work in spyder, or is this hopeless?
Enthought Canopy Python 2.7.3 | 64-bit | (default, Aug  8 2013, 05:37:06)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
Traceback (most recent call last):
File "", line 1, in <module>
ImportError: No module named numpy
>>>

From<EMAIL_ADDRESS>on 2013-08-09T21:25:46Z
Ahh.  Ok.  Then thank you in advance for addressing it.  As it stands now, Spyder is far superior to Canopy's bare bones GUI, so I would really like to use Spyder (with the scientific start-up script) in conjunction with Canopy's python distribution.

From ccordoba12 on 2013-10-02T15:17:18Z
Labels: -MS-v2.3 MS-v2.2.5

From<EMAIL_ADDRESS>on 2013-09-23T20:20:36Z
Update: I tried the same thing with pip and things worked better, but not perfectly.  I could import numpy and sys, but I ran into trouble with matplotlib.pyplot.  As you can see below, it complains that there is no module named PySide.
Enthought Canopy Python 2.7.3 | 64-bit | (default, Aug  8 2013, 05:37:06)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import matplotlib.pyplot
Traceback (most recent call last):
File "", line 1, in <module>
File "/Users/Ben/Library/Enthought/Canopy_64bit/Test_User/lib/python2.7/site-packages/matplotlib/pyplot.py", line 98, in <module>
_backend_mod, new_figure_manager, draw_if_interactive, _show = pylab_setup()
File "/Users/Ben/Library/Enthought/Canopy_64bit/Test_User/lib/python2.7/site-packages/matplotlib/backends/init.py", line 25, in pylab_setup
globals(),locals(),[backend_name])
File "/Users/Ben/Library/Enthought/Canopy_64bit/Test_User/lib/python2.7/site-packages/matplotlib/backends/backend_qt4agg.py", line 13, in <module>
from backend_qt4 import QtCore, QtGui, FigureManagerQT, FigureCanvasQT,
File "/Users/Ben/Library/Enthought/Canopy_64bit/Test_User/lib/python2.7/site-packages/matplotlib/backends/backend_qt4.py", line 25, in <module>
from qt4_compat import QtCore, QtGui, _getSaveFileName, version
File "/Users/Ben/Library/Enthought/Canopy_64bit/Test_User/lib/python2.7/site-packages/matplotlib/backends/qt4_compat.py", line 90, in <module>
from PySide import QtCore, QtGui, version, version_info
ImportError: No module named PySide
>>>

From ccordoba12 on 2013-10-03T07:41:10Z
Blockedon: -spyderlib:1365

From ccordoba12 on 2013-10-02T15:20:21Z
Summary: Problems with scientific_startup in other interpreters from the one Spyder is running on   (was: Mac app - Problems with scientific_startup in a virtualenv)
Labels: -OpSys-OSX

From ccordoba12 on 2013-10-03T07:43:18Z
This issue was updated by revision 0be53f30eec3 .

Now (I hope) scientific_startup will never throw an error again.

Status: Fixed


Openmetadata connector templates

This PR currently includes templates for the deployment of only the OM connector. Not OM itself.

Converted to draft to prevent inadvertent merge. It will be merged after the v1.1.0 release will be created.


Add VB sample to screen-capture.md

PR: #1571

Hi @Nukepayload2 -- thanks for your feedback. Which doc did you want to add this sample to?

@ginami
I'm contributing a VB sample to https://docs.microsoft.com/en-us/windows/uwp/audio-video-camera/screen-capture

I just tested and approved the PR for this sample code addition.


Resetting error: Updating ModelState: model does not exist

I was using the pedsim entity_manager with Gazebo Simulator, for the first few epochs it works well, but the simulator shows the error after resetting:
[ WARN] [1715895663.979357211, 63.634000000]: Map update loop missed its desired rate of 5.0000Hz... the loop actually took 0.2490 seconds
[WARN] [1715895666.423746, 64.375000]: REACHED 60.0
[INFO] [1715895666.454231, 64.379000]: resetting
[ERROR] [1715895667.837760847, 64.379000000]: Updating ModelState: model [D_actor1_5] does not exist
Looks like it only shows the error when I use the Gazebo simulator, How can I fix this issue?

Hey, this is caused by Gazebo's ModelState requests being asynchronous, sometimes causing write-after-writes.
This shouldn't affect your simulation though, except for printing error messages. Does this cause any other issues?

Thanks for the reply, the issue is that the simulator and Rviz will stop resetting and get frozen after printing the error message, looks like it only happens when I use Gazebo, fitland seems to be more stable.

When the simulation gets stuck and you manually kill it (with SIGINT/SIGHUP), a python stack trace from task_generator_node.py should be printed in the terminal (as white text) after a few seconds. Can you share that segment or your entire terminal output?

Here's the entire terminal output when I manually kill it.
[INFO] [1718676168.928679, 7.570000]: resetting
[ERROR] [1718676170.839208149, 7.570000000]: Updating ModelState: model [D_actor1_1] does not exist
[ERROR] [1718676170.839569126, 7.570000000]: Updating ModelState: model [D_actor1_2] does not exist
[ERROR] [1718676170.839967197, 7.570000000]: Updating ModelState: model [D_actor1_3] does not exist
[ERROR] [1718676170.840322791, 7.570000000]: Updating ModelState: model [D_actor1_4] does not exist
[INFO] [1718676170.879787, 7.574000]: =============
[INFO] [1718676170.882457, 7.577000]: Task Reset!
[INFO] [1718676170.888916, 7.584000]: =============
[ERROR] [1718676170.904646, 7.600000]: Characters replaced when decoding message pedsim_msgs/AgentStates (will print only once): 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte
[ERROR] [1718676170.906722, 7.602000]: Characters replaced when decoding message rosgraph_msgs/Clock (will print only once): 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte
[INFO] [1718676170.907697, 7.603000]: Spawning dynamic obstacle: actor_id = D_actor1_1
[ WARN] [1718676170.923829257, 7.619000000]: The origin for the sensor at (9.74, 6.19) is out of map bounds. So, the costmap cannot raytrace for it.
[ WARN] [1718676171.082641643, 7.761000000]: Could not find <model> or <world> element in sdf, so name and initial position cannot be applied
[INFO] [1718676172.239145, 7.961000]: Spawning dynamic obstacle: actor_id = D_actor1_2
[ WARN] [1718676172.741508077, 8.087000000]: Could not find <model> or <world> element in sdf, so name and initial position cannot be applied
[INFO] [1718676173.336911, 8.182000]: Spawning dynamic obstacle: actor_id = D_actor1_3
[ WARN] [1718676173.778875620, 8.363000000]: Could not find <model> or <world> element in sdf, so name and initial position cannot be applied
[INFO] [1718676174.435203, 8.412000]: Spawning dynamic obstacle: actor_id = D_actor1_4
[ WARN] [1718676174.864677130, 8.537000000]: Could not find <model> or <world> element in sdf, so name and initial position cannot be applied
[ WARN] [1718676177.642092093, 9.126000000]: WARNING: package://spencer_tracking_rviz_plugin/media/animated_walking_man.mesh is an older format ([MeshSerializer_v1.41]); you should upgrade it as soon as possible using the OgreMeshUpgrade tool.
[ WARN] [1718676177.642217707, 9.126000000]: Can't assign material male_base_lambert1 to SubEntity of mesh_person_visual0 because this Material does not exist. Have you forgotten to define it in a .material script?
[ WARN] [1718676177.644330547, 9.128000000]: Can't assign material male_base_lambert1 to SubEntity of mesh_person_visual1 because this Material does not exist. Have you forgotten to define it in a .material script?
[ WARN] [1718676177.644500525, 9.128000000]: Can't assign material male_base_lambert1 to SubEntity of mesh_person_visual2 because this Material does not exist. Have you forgotten to define it in a .material script?
[ WARN] [1718676177.644632967, 9.128000000]: Can't assign material male_base_lambert1 to SubEntity of mesh_person_visual3 because this Material does not exist. Have you forgotten to define it in a .material script?
[Wrn] [Publisher.cc:135] Queue limit reached for topic /gazebo/default/pose/local/info, deleting message. This warning is printed only once.
[ WARN] [1718676307.292479341, 52.384000000]: The controller is oscillating for 10.001s
[ WARN] [1718676307.292531993, 52.384000000]: Controller defers handling cancel; force it and wait until the current control cycle finished
[ WARN] [1718676307.388782689, 52.482000000]: Recovery behaviors are disabled!
[ WARN] [1718676307.388812282, 52.482000000]: Abort the execution of the controller: Oscillation detected!
[ERROR] [1718676338.618420, 62.093000]: Characters replaced when decoding message gazebo_msgs/SetModelStateResponse (will print only once): 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte
[INFO] [1718676352.846049, 67.313000]: resetting
[ERROR] [1718676355.352659, 67.313000]: Characters replaced when decoding message pedsim_msgs/Walls (will print only once): 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte
[ERROR] [1718676355.483482978, 67.313000000]: Updating ModelState: model [D_actor1_5] does not exist
^C[visualize_robot_model-15] killing on exit
[rviz_config_file_creator-14] killing on exit
[task_generator_filewatcher-13] killing on exit
[task_generator_node-11] killing on exit
[map_to_odom_tfpublisher-10] killing on exit
[task_generator_server-12] killing on exit
[map_server-7] killing on exit
[map_clock_simulator-9] killing on exit
[distance_server-8] killing on exit
[rviz-5] killing on exit
[burger_0_2/map_to_odom_tfpublisher-6] killing on exit
[burger_0_2/move_base_legacy_relay-5] killing on exit
[burger_0_2/move_base_flex-4] killing on exit
[burger_0_2/mbf_cmd_vel_relay-3] killing on exit
[burger_0_2/rob_st_pub-2] killing on exit
[burger_0_2/transform_broadcaster-1] killing on exit
[ WARN] [1718676475.904215371, 67.313000000]: Controller defers handling cancel; force it and wait until the current control cycle finished
[pedsim_visualizer-3] killing on exit
[gazebo-4] killing on exit
[ERROR] [1718676476.387484, 67.313000]: ServiceException("transport error completing service call: unable to receive data from sender, check sender's logs for details")
[ WARN] [1718676476.404530770, 67.313000000]: Timeout while waiting for control cycle to stop; immediately sent goals can get stuck
[ERROR] [1718676476.413714, 67.313000]: bad callback: <bound method PedsimManager._obstacle_callback of <task_generator.manager.entity_manager.pedsim_manager.PedsimManager object at 0x7f84f1525a90>>
Traceback (most recent call last):
  File "/opt/ros/noetic/lib/python3/dist-packages/rospy/impl/tcpros_service.py", line 523, in call
    responses = transport.receive_once()
  File "/opt/ros/noetic/lib/python3/dist-packages/rospy/impl/tcpros_base.py", line 744, in receive_once
    self.stat_bytes += recv_buff(sock, b, p.buff_size)
  File "/opt/ros/noetic/lib/python3/dist-packages/rospy/impl/tcpros_base.py", line 111, in recv_buff
    raise TransportTerminated("unable to receive data from sender, check sender's logs for details")
rospy.exceptions.TransportTerminated: unable to receive data from sender, check sender's logs for details

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/ros/noetic/lib/python3/dist-packages/rospy/topics.py", line 750, in _invoke_callback
    cb(msg)
  File "/home/yumengxiu/arena_ws/src/arena/arena-rosnav/task_generator/task_generator/manager/entity_manager/pedsim_manager.py", line 629, in _obstacle_callback
    self._simulator.move_entity(
  File "/home/yumengxiu/arena_ws/src/arena/arena-rosnav/task_generator/task_generator/simulators/gazebo_simulator.py", line 97, in move_entity
    return bool(self._move_model_srv(request).success)
  File "/opt/ros/noetic/lib/python3/dist-packages/rospy/impl/tcpros_service.py", line 442, in __call__
    return self.call(*args, **kwds)
  File "/opt/ros/noetic/lib/python3/dist-packages/rospy/impl/tcpros_service.py", line 533, in call
    raise ServiceException("transport error completing service call: %s"%(str(e)))
rospy.service.ServiceException: transport error completing service call: unable to receive data from sender, check sender's logs for details

[pedsim_simulator-2] killing on exit
terminate called without an active exception
Exception in thread Thread-40:
Traceback (most recent call last):
  File "/opt/ros/noetic/lib/python3/dist-packages/rospy/impl/tcpros_service.py", line 523, in call
    responses = transport.receive_once()
  File "/opt/ros/noetic/lib/python3/dist-packages/rospy/impl/tcpros_base.py", line 744, in receive_once
    self.stat_bytes += recv_buff(sock, b, p.buff_size)
  File "/opt/ros/noetic/lib/python3/dist-packages/rospy/impl/tcpros_base.py", line 111, in recv_buff
    raise TransportTerminated("unable to receive data from sender, check sender's logs for details")
rospy.exceptions.TransportTerminated: unable to receive data from sender, check sender's logs for details

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/yumengxiu/arena_ws/src/arena/arena-rosnav/task_generator/task_generator/tasks/task_factory.py", line 225, in _reset_task
    self.obstacle_manager.respawn(respawn)
  File "/home/yumengxiu/arena_ws/src/arena/arena-rosnav/task_generator/task_generator/manager/obstacle_manager.py", line 68, in respawn
    self._entity_manager.remove_obstacles(purge=ObstacleLayer.UNUSED)
  File "/home/yumengxiu/arena_ws/src/arena/arena-rosnav/task_generator/task_generator/manager/entity_manager/pedsim_manager.py", line 563, in remove_obstacles
    action()
  File "/home/yumengxiu/arena_ws/src/arena/arena-rosnav/task_generator/task_generator/manager/entity_manager/pedsim_manager.py", line 535, in anon1
    self._simulator.move_entity(
  File "/home/yumengxiu/arena_ws/src/arena/arena-rosnav/task_generator/task_generator/simulators/gazebo_simulator.py", line 97, in move_entity
    return bool(self._move_model_srv(request).success)
  File "/opt/ros/noetic/lib/python3/dist-packages/rospy/impl/tcpros_service.py", line 442, in __call__
    return self.call(*args, **kwds)
  File "/opt/ros/noetic/lib/python3/dist-packages/rospy/impl/tcpros_service.py", line 533, in call
    raise ServiceException("transport error completing service call: %s"%(str(e)))
rospy.service.ServiceException: transport error completing service call: unable to receive data from sender, check sender's logs for details

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
    self.run()
  File "/opt/ros/noetic/lib/python3/dist-packages/rospy/timer.py", line 237, in run
    self._callback(TimerEvent(last_expected, last_real, current_expected, current_real, last_duration))
  File "/home/yumengxiu/arena_ws/src/arena/arena-rosnav/task_generator/task_generator/task_generator_node.py", line 336, in _check_task_status
    self.reset_task()
  File "/home/yumengxiu/arena_ws/src/arena/arena-rosnav/task_generator/task_generator/task_generator_node.py", line 320, in reset_task
    is_end = self._task.reset(callback=lambda: False, **kwargs)
  File "/home/yumengxiu/arena_ws/src/arena/arena-rosnav/task_generator/task_generator/tasks/task_factory.py", line 282, in reset
    self._mutex_reset_task(**kwargs)
  File "/home/yumengxiu/arena_ws/src/arena/arena-rosnav/task_generator/task_generator/tasks/task_factory.py", line 265, in _mutex_reset_task
    raise e
  File "/home/yumengxiu/arena_ws/src/arena/arena-rosnav/task_generator/task_generator/tasks/task_factory.py", line 262, in _mutex_reset_task
    self._reset_task()
  File "/home/yumengxiu/arena_ws/src/arena/arena-rosnav/task_generator/task_generator/tasks/task_factory.py", line 235, in _reset_task
    raise Exception("reset error!") from e
Exception: reset error!
[rviz-5] escalating to SIGTERM
[task_generator_node-11] escalating to SIGTERM
[burger_0_2/move_base_flex-4] escalating to SIGTERM
[gazebo-4] escalating to SIGTERM
[burger_1_2/map_to_odom_tfpublisher-12] killing on exit
[burger_1_2/move_base_legacy_relay-11] killing on exit
[burger_1_2/move_base_flex-10] killing on exit
[burger_1_2/mbf_cmd_vel_relay-9] killing on exit
[ WARN] [1718676491.250533213, 67.313000000]: Controller defers handling cancel; force it and wait until the current control cycle finished
[burger_1_2/rob_st_pub-8] killing on exit
[burger_1_2/transform_broadcaster-7] killing on exit
[ WARN] [1718676491.750932941, 67.313000000]: Timeout while waiting for control cycle to stop; immediately sent goals can get stuck
[task_generator_node-11] escalating to SIGKILL
[rviz-5] escalating to SIGKILL
[rosout-1] killing on exit
[master] killing on exit
Shutdown errors:
 * process[task_generator_node-11, pid 7565]: required SIGKILL. May still be running.
 * process[rviz-5, pid 7545]: required SIGKILL. May still be running.
shutting down processing monitor...
... shutting down processing monitor complete
done


Add protected to the settings model

This PR adds the protected setting to the card.

https://github.com/uphold/uphold-sdk-ios/blob/master/Tests/Integration/Model/CardTest.swift#L9 also needs to be updated.


Feat/readme

Update to ReadMe for additional clarity and link to community

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Low Atlas performance on cheap Androids

Description
I've implemented a bunnymark demo on top of React native Skia, and I use Atlas for sprite rendering.
It all works perfect on my iPhone 12 mini, and renders 10000 bunnies every frame without any frame drops. Slight frame drops start at 15000, and only become significant after 20-25k  bunnies.
However, when running on OPPO A16 (a lower-end Android smartphone), the maximum number of bunnies that can run without frame drops is 300. After thorough debugging I discovered performance throttling happens due to multiple JsiRSXform.set calls happening in the same frame. This is basically how useRSXformBuffer hook works.
So, I'm thinking: shouldn't we batch our transforms buffer updates into one JSI call per frame per Atlas?
I've also tried creating 10000 bunnies, but only animate first 500. I wanted to confirm whether JsiRSXform.set calls throttling is the only reason. Unfortunately, this is also slow and animates at around 5 FPS. Presumably, due to the following code in JsiSkCanvas.h:

    std::vector<SkRSXform> xforms;
    int xformsSize = static_cast<int>(transforms.size(runtime));
    xforms.reserve(xformsSize);
    for (int i = 0; i < xformsSize; i++) {
      auto xform = JsiSkRSXform::fromValue(
          runtime, transforms.getValueAtIndex(runtime, i).asObject(runtime));
      xforms.push_back(*xform.get());
    }

    std::vector<SkRect> skRects;
    int rectsSize = static_cast<int>(rects.size(runtime));
    skRects.reserve(rectsSize);
    for (int i = 0; i < rectsSize; i++) {
      auto rect = JsiSkRect::fromValue(
          runtime, rects.getValueAtIndex(runtime, i).asObject(runtime));
      skRects.push_back(*rect.get());
    }

Version
1.2.3
Steps to reproduce
Run example code provided on a lower-end Android smartphone, under $100-150.
Snack, code example, screenshot, or link to a repository
Here is the code:
import {Canvas, Atlas, Fill, Text, rect, useRSXformBuffer, useImage, useFont} from '@shopify/react-native-skia'
import {runOnJS, useSharedValue, withRepeat, withTiming} from 'react-native-reanimated'
import {useEffect, useState} from 'react'
import {Dimensions} from 'react-native'
import {GestureDetector, Gesture} from 'react-native-gesture-handler'

const bunnyImage = require('../assets/bunnies.png')
const bunnyFont = require('../assets/fonts/SpaceMono-Regular.ttf')
const window = Dimensions.get('window')
const gravity = 0.5
const size = { width: 30, height: 45 }

export default () => {

  const [count, setCount] = useState(10000)
  const image = useImage(bunnyImage)
  const font = useFont(bunnyFont, 12);
  const label = useSharedValue<string>('0')
  const ticks = useSharedValue(0)

  const tap = Gesture.Tap().onStart(() => {
    runOnJS(setCount)(count + 100)
  })

  useEffect(() => {
    ticks.value = withRepeat(withTiming(1, { duration: 500 }), -1, true)
  }, [])

  const sprites = new Array(count).fill(0).map((_, i) => rect((i % 5) * size.width, 0, size.width, size.height))

  const transforms = useRSXformBuffer(count, (val, i) => {
    'worklet'

    const tickerUsage = ticks

    if (i === 0) label.value = 'Bunnies: ' + count

    // @ts-ignore
    const bunnies = global['bunnies'] || (global['bunnies'] = [])
    const bunny = bunnies[i] || (bunnies[i] = {
      x: 0,
      y: 0,
      speedX: Math.random() * 2 - 1,
      speedY: Math.random() * 2 - 1,
    })

    const translateX = bunny.x - size.width / 2
    const translateY = bunny.y - size.height

    bunny.x += bunny.speedX
    bunny.y += bunny.speedY
    bunny.speedY += gravity

    if (bunny.x < size.width / 2) {
      bunny.x = size.width / 2
      bunny.speedX *= -1
    } else if (bunny.x > window.width - size.width / 2) {
      bunny.x = window.width - size.width / 2
      bunny.speedX *= -1
    }

    if (bunny.y < 0) {
      bunny.y = 0
      bunny.speedY *= -1
    } else if (bunny.y > window.height + size.height) {
      bunny.speedY *= -0.85
      bunny.y = window.height + size.height
      if (Math.random() > 0.5) {
        bunny.speedY -= Math.random() * 6
      }
    }

    // if (i < 500)
    val.set(1, 0, translateX, translateY)

  })

  return (
    <GestureDetector gesture={tap}>
      <Canvas style={{ flex: 1 }}>
        <Atlas image={image} sprites={sprites} transforms={transforms} />
        <Text x={30} y={60} text={label} font={font} />
      </Canvas>
    </GestureDetector>
  )

}

@sergeymorkovkin I hadn't the time to process the message above. I just wanted to write a quick note that I did build a prototype that implements frame pacing using that exact SDK. Back then we thought this would be the key to a fast first time to frame and sync the frames with native views. I didn't yield any benefits for us. I thought I would mention it.

Thank you for providing us with a standalone example. Would you mind providing us (even privately) with bunnies.png? That would allow us to test the example.
If you believe that indeed useRSXformBuffer is invoked more than once per frame. This is a bug.
Did you try these examples in Release mode? On Android, Hermes in Debug mode is exceptionally slow.

Hi @wcandillon,
Responding to both of your messages:

I'm now trying to implement Frame Pacing with a WebGL-based bunnymark, and this might give us some more information on the context.

I understand that you've implemented Frame Pacing for RNSkia, and it didn't work well. This is definitely another valuable observation. Not sure how to explain this yet.

An image for bunnies.png is in my issue initial message - find it at the very bottom. I tried downloading it, and it's unchanged in format/size - should work well.

I don't say useRSXformBuffer is invoked more than once per frame. I say that JsiRSXform.set is repeated in a loop, inside useRSXformBuffer. Every call to JsiRSXform.set has JSI costs. On a small counts it can be neglected, but on the hundreds of bunnies we have hundreds of calls, which might need to be batched.

Important. As I've already mentioned, I could not confirm that JsiRSXform.set calls is the only bottleneck. Evidently, it's not.

Let's, maybe get on a call and I'll share my observations in-detail? Which messenger works for you best?


Support Pydantic v2

Pydantic has gone live with their new version
Being that its production ready and as suggested by Pydantic's README:

Pydantic V2 also ships with the latest version of Pydantic V1 built in so that you can incrementally upgrade your code base and projects: from pydantic import v1 as pydantic_v1.

It should be safe to upgrade and allow folks using poetry (like me) to resolve dependancies in a way that unblocks upgrading to Pydantic v2, FastAPI v0.100.0, etc

I'd like to do so, but as you've noted, Langchain requires:
pydantic = "^1"
As soon as Langchain supports pydantic v2, I'd be happy to upgrade.

Just as a note, zep is a dependency in langchain so until zep upgrades, langchain won’t be able to too 😂
I’m not sure which side is “wrong” or “right” or if there is one or the other but there might be a case where pydantic will have to be unpinned in one repo before the other can upgrade and then the first to unpin will then upgrade.

I've cut a PR with pydantic v1 & v2 support. I'd like to see it tested a little more before pushing a release.

As y'all may have noticed from the merged #60 PR, I've released v1.1.0a1 with Pydantic v2 support via v1 compatibility. https://pypi.org/project/zep-python/1.1.0a0/
install using:
pip install --pre zep-python

Let me know how it works out for you!

In pre. Shipping next week.


Fix a typo in instruction.rs

Hi!
A small typo in solana-program-library/token-swap/program/src/instruction.rs.

Thanks!


[WIP] Execution Stream API

API to stream the progress of a task execution. API to support live execution viewer in the UI

@gazpachoking it's a WIP but since i'm changing the core flexget core i thought we should disuss via a PR before merging.


How to add more attempts in a job

Hello, maybe someone can help me with that questions ...
Would like to know how can add more attempts to a job based on the flow
First I create my job with 3 attempts....
After... the work fail 2 times but based on some event I need to add 1 attempt more to my job.
My question is how to get the current max attempts and add x more attempts, that is because if the event happens again need add 1 attempt more
Second question is how to fail a job with no more attempts;
Regards

I think I found the solution to my second question is ok ?

61                 job.attempts(0).save();
62                 reject(new Error('not found'));

About my first question I have some question How is the correct way to do that
A.
 46                                 job._max_attempts++;
 47                                 job.set('max_attempts', job._max_attempts);

B.
 46                                 job.attempts(++job._max_attempts).save();

Regards


NeedInfo: How to exclude groups of tests in version 2.1.15 and onwards

Adding the below lines in suite file (like standard testNG way) works fine only till 2.1.14. In 2.1.15 and higher versions, when the below is added, no tests are selected even the ones which have different groups.
<parameter name="scenario.file.loc" value="scenarios/api/test" />
	<groups>
		<run>
			<exclude name="auditLog" />
			<exclude name="Email_Archive" />
		</run>
	</groups>
	<classes>
		<class name="com.qmetry.qaf.automation.step.client.text.BDDTestFactory" />
	</classes>
</test>

Appreciate any help.
Is the issue reproducible on runner?

[ ] QAS
[x] Maven
[ ] Gradle
[ ] Ant
[x] Eclipse

Duplicate of https://github.com/qmetry/qaf/issues/336


General Grievance: Watch resources.segnivo.com

General Grievance requests the watch of the watch_keyword resources\.segnivo\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

resources\.segnivo\.com has been seen in 0 true positives, 0 false positives, and 0 NAAs.

Approved by Jeff Schaller in Charcoal HQ


Remove unnecessary function

Closes #653

Thank you. Found a bug in WC loop missing bottom margin while checking the loop settings. Want to quickly add class mb-4 to the products loop? Then we have this in one PR.
https://github.com/bootscore/bootscore/blob/cfbc06855668c33bbe3a19b6d3606106a4943c52/woocommerce/loop/loop-start.php#L24

done

Please elaborate in the title and description what has been changed.


Fix Clipping video transcoding progress not correct #2

Q
A

Bug fix?
yes

New feature?
no

BC breaks?
no

Deprecations?
no

Fixed tickets
fixes #484

Related issues/PRs
#484

License
MIT

This is the final fix for the Fix Clipping video transcoding progress not correct
I forgot to change the Default Media classes the createProgressListener function.

Is this worth a patchlevel release?

Yes please.
Thank you.


Improved Binding Support

Description
Adds ItemsSource with ItemTemplate and SelectedItemCommand/Event.
fixes #519

Happy to add it to the sample. As for the other issues you brought up.

ItemsSource -> PinsSource
ItemTemplate -> PinTemplate
ItemSelectedCommand -> PinSelectedCommand

The naming was done to be consistent with other Xamarin.Forms API's such as the ListView and TabbedPage. Also it is only loosely tied to Pins, so naming it Pin{whatever} would get confusing as you would may lead people to thinking it is an actual Pin. The items bound to the ItemsSource are not necessarily Pins. In fact if you're following an MVVM design they should never be Pins.

Because I want to follow original Xamarin.Forms.Maps specification

If you look at the Xamarin.Forms.Maps codebase you'll see that the most of the files haven't even been touched since the initial import 2 years ago, a few classes has some very minor tweaks around internals and what they're visible to. Beyond that there have been no changes making it stagnant. Point being the Xamarin.Forms.Maps API was done in an era when developers were writing all of their Pages in code. Today with XAML and MVVM design being the prominent design pattern developers have different needs.

Seems SelectedPinChanged(exists) is the same as SelectedItemChanged(new).
Do you need SelectedItemChanged and SelectedItemChangedEventArgs?

These actually aren't duplicates. They are similar in concept, but not duplicate. The SelectedPinChanged raises the Pin, where the SelectedItemChanged as well as the ItemSelectedCommand are both focused on the Item. The item is a abstract concept that would be in the ItemsSource and used as the BindingContext of the Pin rather than the Pin itself. Whereas the SelectedPinChanged is all about providing the Pin itself.

worth noting, if I add the sample it won't build given that you are referencing the published NuGet instead of the code. I'm still happy to add it if that's what you want.

You can use Xamarin.Forms.GoogleMaps_with_sample.sln what is all projects contained solution (not using nuget) .
I hope you add sample code to it. :wink:

+1
I've also extended the GoogleMaps project to bind more items:
Pins
Polylines
CameraPosition
So i can use this map component like:

    <!--  Map  -->
         <cntrl:ExtendedMap
            x:Name="map"
            Grid.Row="0"
            CameraPosition="{Binding CameraPosition}"
            IsVisible="{Binding Status, Converter={StaticResource StatusConverter}, ConverterParameter=Data}"
            MapType="Street"
            Pins="{Binding Pins}"
            Polylines="{Binding Polylines}" />

So if your extending the bindings.. :) Please do Pins, Polylines and CameraPosition as well 👍

@amay077 are you good with the addition of Bindable Pins, Polylines, and CameraPosition?
Also I'm going to update the sample app so the platforms are using PackageReferences instead of the older package.config style... it'll be nicer to restore from the global cache rather than duplicating a cache for the project.
If you're ok with it I can add the Mobile.BuildTools package as well to handle the injection of the API Key's

I have also extended this control to handle the same thing but I write the UI in C#.
new Map {
                        Behaviors = {
                            new UpdateRegionBehavior {
                                Region = new Binding("Region")
                            },
                            new BindingPolylinesBehavior {
                                ItemSource = new Binding("TrackingInfo")
                            },
                            new BindingPinsBehavior {
                                ItemSource = new Binding("MapPins")
                            }
                        }
                    },

It would be neat to see something like this merged into master :)

@dansiegel It's not clear to me how the ItemTemplate is supposed to work.
Looking at your implementation here you expect the DataTemplate to be materiazed into a Pin:
        if (content is Pin pin)
        {
            Pins.Add(pin);
        }
        else
        {
            Forms.Internals.Log.Warning("ERROR", $"The DataTemplate returned a '{content.GetType().Name}' instead of expected type 'Pin'.");
        }

But Pin cannot be used in XAML within a DataTemplate, the following won't compile:
        <PinTemplate>
            <DataTemplate>
                <Pin />
            </DataTemplate>
        </PinTemplate>

Could you please give some info on how it needs to work? Thanks!

Sorry I'm very very late.
I merged this PR but I will refactor according like @andreinitescu's PR.


Glob matching with ignore yaml.

It'd be great if we could do file/directory matching like a ignore file does in our yaml so we can do something like
ignore:
  - .git
  - snag**

It looks like using the filepath package would be our best bet. It has a built in glob function which finds all of the files in the current directory that match a certain pattern. However, the pattern matching is a bit different that how it would with a .gitignore. https://github.com/ryanuber/go-glob might be a good alternative.


Incompatibility with Map Designer and Vanilla Expanded -Power (fix included)

Greetings!
I ran into a Cross mod issue.
Apparently using this mod in conjunction with "Map Designer" and/or "Vanilla Expanded -Power" causes a ticking error.
at the start i get this error twice:
Failed to find Verse.GenStepDef named SteamGeysers. There are 94 defs of this type loaded.
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch0 (string)
Verse.DefDatabase`1<Verse.GenStepDef>:GetNamed (string,bool)
MapDesigner.HelperMethods:InitBiomeDefaults ()
MapDesigner.Patches.HarmonyPatches/MapDesigner:.cctor ()
(wrapper dynamic-method) System.Runtime.CompilerServices.RuntimeHelpers:System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor_Patch1 (System.RuntimeTypeHandle)
BetterLoading.Stage.InitialLoad.StageRunStaticCctors/<StaticConstructAll>d__16:MoveNext ()
UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr

and once i start a map this here gets racked up with every tick :
Exception ticking VPE_HelixienGeyser38911 (at (108, 0, 181)): System.NullReferenceException: Object reference not set to an instance of an object
  at VanillaPowerExpanded.Building_GasGeyser.Tick () [0x00008] in <a369824a8dd64d72951265ef9abe1ebb>:0
  at (wrapper dynamic-method) Verse.TickList.Verse.TickList.Tick_Patch0(Verse.TickList)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch0 (string)
(wrapper dynamic-method) Verse.TickList:Verse.TickList.Tick_Patch0 (Verse.TickList)
(wrapper dynamic-method) Verse.TickManager:Verse.TickManager.DoSingleTick_Patch2 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch1 (Verse.Game)
(wrapper dynamic-method) Verse.Root_Play:Verse.Root_Play.Update_Patch0 (Verse.Root_Play)

The issue is located in your mod patching out the generation of geysers with the first 2 operations in NW_Patches.xml:
<!-- Useless but making sure that geysers can't start with maps !-->
  <Operation Class="PatchOperationRemove">
    <xpath>Defs/GenStepDef[defName = "SteamGeysers"]</xpath>
  </Operation>
  <Operation Class="PatchOperationRemove">
    <xpath>Defs/MapGeneratorDef/genSteps/li[text()="SteamGeysers"]</xpath>
  </Operation>

removing/commenting out those operations fixes above incomptibiliteis without affecting your mod.

i made some mistake the fix only fixes the one error in map designer. not the Vanilla extended one. im closing this issue......
sorry to bother you... i feel dumb.

Dont worry about it! :)


no-conflict mode

Would a PR adding a no-conflict mode be accepted?

Yes it would!

Should I also remove from-width aliases or just namespace them as well?
As for the namespace, I was think r-between, r-above... How does that sound?

Namespace them as well
It should be the full rupture, there are plenty of other libraries that start with "r"

Sure.


Any way to persist results?

At the moment, the container uses a clean storage on every start. I would like to add a volume, so I get the old results and can press update.
Current  docker-compose.yml config
version: '3.6'
services:
    expertpricecrawler:
        image: awinnen/expertpricecrawler:latest
        ports:
            - 8231:80 # Port 80 is in use and a reverse proxy is in use
        environment:
            - ASPNETCORE_ENVIRONMENT=Production
            - PUPPETEER_EXECUTABLE_PATH=/usr/bin/google-chrome-stable
            - Serilog__MinimumLevel=Verbose
            -<EMAIL_ADDRESS>            - SmtpServer__Hostname=mailserver.domain.tld
            - SmtpServer__Password=anyawesomepassword
            - SmtpServer__Port=587
            - SmtpServer__Username=anyusernameavailableonyourmailserver
            - SmtpServer__UseSsl=true
            - Logging__Console__FormatterName=json
            - Options__CrawlerType=BrowserCrawler
            - Options__MaxParallelRequests=5
            - Options__MemoryCacheMinutes=5
            - Options__RateLimitInMinutes=1

configure the file where to store results by setting the appsettings value
Options__CompletedJobsJsonFilePath =  /disk/completedjobs.json
Mount a docker volume to /disk
volumes:
- "expertpricecrawler_volume_name:/disk"

THX, found a way. The path option failed, but I mounted a file.


Updated config file from version 1.0.3 to 1.0.4

Updated config file from version 1.0.3 to 1.0.4 using latest annotation files.

This change is

I used the file IDs from https://cuhbioinformatics.atlassian.net/wiki/spaces/O/pages/2884861967/230315+update+ClinVar+annotation+source+March
Is this correct?

How do I search DNAnexus for those specific files to check if they exist?

Obsolete - closing


Add spring.modulith.events.jdbc.schema to allow defining which database schema the event_publication table resides in

As described in GH-683, it might be desirable to define the schema for the event_publication table explicitly. We could introduce a spring.modulith.events.jdbc.schema property to allow easy configuration of that.
Required steps

Introduce the property in src/main/resources/META-INF/spring-configuration-metadata.json
Wire the value into JbcEventPublicationRepository
Change the way that the SQL statements are used to augment the table name with the configured schema
Update documentation accordingly (primarily src/docs/antora/mopdules/ROOT/pages/appendix.adoc)
Optional: introduced Spring Boot configuration properties class JdbcConfigurationProperties and use that from the repository implementation. This would allow us to get rid of the manually maintained spring-configuration-metadata.json in favor of using the configuration class processor to create the metadata automatically.

What is the expected behavior when configuring the schema property for a MySQL database?

Thanks for the contribution. I will have a look at your PR. Assigning you in the meantime so that nobody else accidentally starts working on it.

I've applied the PR but actively reject setting the schema for MySQL as it doesn't know about schemas per database. The test for the functionality were flaky and working accidentally if the “no schema configured” ones ran first, as Testcontainers ignores the database name for hostless DB configuration and sets the DB name to test. That in turn accidentally matches the allegedly custom schema.
Thanks for the contribution! 🙇

This was exactly the doubtful part I raised in my question above 😅 in MySQL, the 'schema' refers to the database itself..
Thank you for applying the PR and for the feedback.


Creating Community of Competitive Coding Page

Description
 Create the Community of Competitive Coding page in the concerned folder/file as per the wireframe , You can add any creative modification keeping the basics structure as per the wireframe.
Concerning Folder/File
https://github.com/houseofgeeks/hg/tree/front-end/client/src/components/Community/Communities
Assets Link
https://drive.google.com/file/d/1CGCYOtsH4B8bAfhin8cHPt3vMnjCuGRR/view?usp=sharing
Screenshots/testimonials

(Note : Ignore the position of hamburger icon here.)

working on it!! 🙌


Upgrade Terraform AWS Provider version to 4.x.x

The provider can stay in main.tf but please remove the version arg from the provider and add a versions.tf file that defines the required provider versions

Thanks Warren, I have amended the changes to the same commit.


duplicated 'alertmanager.yaml' fields when creating VMAlertmanagerConfig with nested Route

I found duplicated alertmanager.yaml fields when creating vmalertmanagerconfig with nested Route.
Here is the example of vmalertmanagerconfig.
apiVersion: operator.victoriametrics.com/v1beta1
kind: VMAlertmanagerConfig
metadata:
  name: example-email-web
spec:
  route:
    receiver: email
    group_interval: 1m
    routes:
      - receiver: email
        matchers:
          - severity = "critical"
      - continue: true
        receiver: slack
  receivers:
    - name: email
      email_configs:
        - to<EMAIL_ADDRESS>          from<EMAIL_ADDRESS>          smarthost: example.com:25
          text: ALARM

Then alertmanager.yaml is as shown below.
(2) is unexpectedly duplicated
$ kubectl get secret vmalertmanager-example-email-web-config -ojson | jq -r '.data."alertmanager.yaml"' | base64 -d
route:
  receiver: default-example-email-web-email
  routes:
  - routes:
    - matchers: (1)
      - severity = "critical"
      receiver: default-example-email-web-email
      continue: false
    - matchers: (2)
      - severity = "critical"
      receiver: default-example-email-web-email
      continue: false
    matchers:
    - namespace = "default"
    group_interval: 1m
    receiver: default-example-email-web-email
    continue: true
receivers:
- name: default-example-email-web-email
  email_configs:
  - from<EMAIL_ADDRESS>    text: ALARM
    to<EMAIL_ADDRESS>    smarthost: example.com:25
templates: []

Environment:

VictoriaMetrics/Operator: Version 0.29.0

Additional information
I supporse that it's due to a bug in parseNestedRoutes.
https://github.com/VictoriaMetrics/operator/blob/fc4abe6da99d73145130624745b46dafe4314b6e/api/v1beta1/vmalertmanagerconfig_types.go#L158-L173
This function parses src.RawRotes and add the corresponding route to src.Routes.
If this function is called twice, one route is added twice.

I tried to fix #556

Hello, I suppose, it's related with regression after Unmarshall changes, Validate call mutates CR.
this change must fix an issue.
func (amc *VMAlertmanagerConfig) Validate() error {
	validateSpec := amc.DeepCopy()
	if err := parseNestedRoutes(validateSpec.Spec.Route); err != nil {
		return fmt.Errorf("cannot parse nested route for alertmanager config err: %w", err)
	}
	return nil
}

@f41gh7
I confirm that this issue is fixed. Thank you.


recording never starts but screenshot works

Honor 6X - Android 7
Mac OS High Sierra
Version 1.65
Just installed the latest version and recording never starts. It displays "recording finished" as soon as video recording button pressed.

Same here:

Nokia 3 - Android 7.1.1
macOS Sierra 10.12.6
AndroidTool 1.66 (1)

However sometimes clicking the video button seemingly does nothing (no indication of recording started), and sometimes it just says "recorded finished" immediately as for @redhatjobin.
No video files are created in the screen recordings either (screenshots work though).

Same for me
Samsung galaxy note 10.1 2010  Android 4.1
Mac Os/X
Screenshot is working fine
Screencast, just turn as a red square and then nothing is happening.
Here under is visible when I start by hand androidtool from my terminal window
remote object '/sdcard/capture.mp4' does not exist
mv: rename capture.mp4 to p4noteltexdJZO54Kcourtox03242018145957.mp4: No such file or directory
ffmpeg version 2.6.1 Copyright (c) 2000-2015 the FFmpeg developers
built with llvm-gcc 4.2.1 (LLVM build 2336.11.00)
configuration: --prefix=/Volumes/Ramdisk/sw --enable-gpl --enable-pthreads --enable-version3 --enable-libspeex --enable-libvpx --disable-decoder=libvpx --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-avfilter --enable-libopencore_amrwb --enable-libopencore_amrnb --enable-filters --enable-libgsm --enable-libvidstab --enable-libx265 --disable-doc --arch=x86_64 --enable-runtime-cpudetect
libavutil      54. 20.100 / 54. 20.100
libavcodec     56. 26.100 / 56. 26.100
libavformat    56. 25.101 / 56. 25.101
libavdevice    56.  4.100 / 56.  4.100
libavfilter     5. 11.102 /  5. 11.102
libswscale      3.  1.101 /  3.  1.101
libswresample   1.  1.100 /  1.  1.100
libpostproc    53.  3.100 / 53.  3.100


Use react-motion as peerDependency

Hi,
In my project I use the react-motion as direct dependency. So, I think would be fine if react-motion were a Peer Dependency in this project. What do you think about this?
Links

Peer Dependencies

+1, I think this can be an easy fix. @souporserious what are your thoughts?


Removed trailing comma in example slave env stanza

Trailing comma on last element will error.  Fixed example.

Hi. I am an automated pull request bot named Curry. There are commits in this pull request whose authors are not yet authorized to contribute to Chef Software, Inc. projects or are using a non-GitHub verified email address. To become authorized to contribute, you will need to sign the Contributor License Agreement (CLA) as an individual or on behalf of your company. You can read more on Chef's blog.
GitHub Users Who Are Not Authorized To Contribute
The following GitHub users do not appear to have signed a CLA:

@coltrey

Please sign the CLA here.

Obvious fix. Thanks!


Form's action property returns wrong value.

'Action' property of must return final url. Currently it returns the value of the 'action' attribute. If the attribute is not specified the form submit does not work but it should.

The 'enctype' getter works wrong too. It must return 'application/x-www-form-urlencoded' by default.


Accessibility Issue: Alt text is not descriptive of image

Description
The value "alt text" for the alt text attribute is not descriptive
Device Information
Device:
Operating System (incl. version):
Browser (incl. version):
Additional Details:
Element(s) Information
Page:  https://sara-sabr.github.io/ITStrategy/quarterly-delivery.html
CSS Selector(s) (if possible and applicable):
 body > main > p:nth-child(6) > img
Additional Identifier(s) (if possible and applicable):
Additional Details:
Screenshot(s) (if possible)

Additional information or thoughts
See w3c recommendations on creating good alt text for complex images
https://www.w3.org/WAI/tutorials/images/complex/

@jaysonmc assigning this to you since you wrote the page


Vit

ViT-SAM: 74.65 top1 I1k accuracy with 8 devices
ViT: 74.18 top1 I1k accuracy
Questions: @Landanjs I directly imported the model architecture from vit-pytorch. I think it may be a better idea to copy the relevant code as it will be easier to modify in the future to adapt to our methods + easier versioning. Thoughts?

I don't think we should copy the model over, but I don't feel very confident in my answer. Here are my thoughts:

It may make versioning easier, but we would have to maintain and update the architecture if there are any changes in the original repo (although, I assume there shouldn't be many changes).
I don't think we should port over a model to make it easier to use our methods since it is likely users will use models from other libraries
We don't port over models from HuggingFace (should we be using the ViT from HuggingFace?)

@coryMosaicML do you think we should port over the model?

@Landanjs I'd like to reopen. I updated to 32ep warmup as you suggested at it bumped the accuracy to 74.52 which surpasses the 74.4 reported in the paper (and we're still using less augmentation).

Do we need to add VIT pytorch to the setup.py?

I just added it. I had previously added it + timm to composer[vision] when I made this pr but it seems that the requirement was lost when we refactored imports.


PR: Migrate to CircleCI 2.0

We need to migrate to this new platform because Circle 1.0 is going to be deprecated in August 31.

@ccordoba12 looks good, but we can reuse one for all the others so that there is less duplicity in the content :-)

# https://circleci.com/gh/spyder-ide/spyder

version: 2

# Reuse variables
# -----------------------------------------------------------------------------
main: &main
    machine: true
    steps:
      - checkout
      - run:
          command: docker pull dorowu/ubuntu-desktop-lxde-vnc:trusty
      - run:
          name: Install system packages
          command: |
            sudo apt-get update
            sudo apt-get install libegl1-mesa
      - run:
          command: ./.circleci/install.sh
      - run:
          command: ./.circleci/modules_test.sh

jobs:
  python2.7:
    <<: *main
    environment:
      - PYTHON_VERSION: 2.7

  python3.5:
    <<: *main
    environment:
      - PYTHON_VERSION: 3.5

  python3.6:
    <<: *main
    environment:
      - PYTHON_VERSION: 3.6

workflows:
  version: 2
  build_and_test:
    jobs:
      - python2.7
      - python3.5
      - python3.6


BloopInstall is unreasonably slow for large builds

Describe the bug
For large gradle builds (hundreds of modules), bloop install takes a lot of time (at least more than 10 minutes for my case, I gave up after that), which makes it unusable when compared to the alternatives (IDEA import takes ~1 minute).
Quick look at the profiler is enough to locate to core issue. For each project, all other projects are fetched in order to match outputs to inputs between projects. The following code is executed for all projects, which does not scale:
  private def getArchiveSourceSetMap(
      rootProject: Project,
      sourceSets: Set[SourceSet]
  ): Map[File, SourceSet] = {
    val archiveSourceSets = for {
      project <- rootProject.getAllprojects.asScala
      archiveTask <- tasksWithType(project, classOf[AbstractArchiveTask])
      sourcePathObj <- getSourcePaths(archiveTask.getRootSpec())
      sourcePath <- sourceSets.find(_.getOutput == sourcePathObj)
    } yield archiveTask.getArchivePath -> sourcePath
    archiveSourceSets.toMap
  }

Expected behavior
BloopInstall should be reasonable fast for large repositories. At least as good as import to the Intellij IDEA.
Operating system
Linux
Version of Gradle
8.8
Version of gradle-bloop
2.13/1.6.2
Version of Bloop
unreleated

Hi @SheliakLyr
10 mins seems far too long.  I've run an import for 200 modules in 20ish seconds.
Intellij uses a different method than Bloop to extract the project data.  Gradle runs theirs in parallel by default.
Could you try adding the following to your gradle.properties file and see if it makes a difference to the import time...
org.gradle.parallel=true

If it does not - could you create a sample repo of your build and I'll have a look at it.

Hi,
Unfortunatelly, I am already using parallel mode (however, with only 2 workers):

I created a simple gradle build: https://github.com/SheliakLyr/large_gradle_build_example
Number of projects can be customized by changing loop limiter in settings.gradle. By default, 600 projects are created.
bloopInstall takes a couple of minutes to execute. I could not bother to wait to have the exact time. My "real life" build is even larger (~1000 projects, bloop capable ~800).
I have also prepared an experimental fixes that offer very big improvements.
First one: https://github.com/SheliakLyr/gradle-bloop/tree/performance makes the bloopInstall finish in ~3 minutes. Changes are very simple, basically I compute a list of projects only once per each task.
Second one: https://github.com/SheliakLyr/gradle-bloop/tree/performanceHacks speeds up the buildTask to 1m30s sharing the list of projects between all tasks. I suspect this might be unsafe and/or broken.


Add initial WebGPU env validation

@dneto0 PTAL!
This adds support for the "webgpu0" = "WIP WebGPU" environment and adds an initial check that disallows usage of OpUndef (+ a test).
Also some minor cleanups / warning fixes.

PTAL again, addressed comments, some more additional commenting of existing code snuck in, and an additional commit to reduce the visibility of symbols in validate_instruction.cpp

Thanks for the review, the PR passed CI.

This failure seems unrelated. Filed #1632 for it.

Rebased, squashed, and pushed into master as  ba602c90


[AIRAVATA-2601] Adding groups to Applications

Filtering of Application Deployments by gateway ID and user name. We first get a list of Application Deployment IDs that are accessible by the current user and then retrieve the list of Application Deployments. (Similar to how we search for Experiments).
Files changed:

AiravataDataMigrator.java -> Included a new Entity Type names APPLICATION
AiravataServerHandler.java -> Modified getAllApplicationDeployments(), getAllAppModules() methods to filter the accessible Application IDs using the user name
registry-api.thrift -> Modified getAllApplicationDeployments(), getAllAppModules() methods' parameter list to include the accessible Application IDs
RegistryService.java -> Regenerated the Thrift stubs which changed the Registry Service interface
ApplicationDeployment.java -> Modified getAllApplicationDeployements() method to include accessible Application Deployment IDs
ApplicationInterface.java -> Modified getAllAppModules() method to include accessible Application Module IDs
RegistryServerHandler.java -> Modified getAllApplicationDeployments(), getAllAppModules() methods to reflect the changes in ApplicationDeployment.java and RegistryService.java files

TODO:

Modify the launchExperiment() method in AiravataServerHandler.java to first check if the user has access to launch an Experiment in the Application Module.

Files changed:

AiravataServerHandler.java -> Modified launchExperiment() to first check if the current user has access to the Application Module


Use SharedIndexInformer to get WorkflowTemplates

Currently, WorkflowTemplates are taken by using the workflow clientset interface, which doesn't have a cache mechanism and querying many WorkflowTemplates will impact the performance.
https://github.com/argoproj/argo/blob/fc1ec1a51462c9a114417db801e3a9715d3dc6b4/workflow/templateresolution/context.go#L46
We should utilize SharedIndexInformer so we don't have to make too many requests.

Yep,  I have found this problem in the case of a large workflow, which will result in a higher apiServer load.

#1534 which addressed this issue has been merged.


ValidationObserver invalid rules

Is your feature request related to a problem? Please describe.
The new invalid rule object (#1898) can be used also in the ValidationObserver.
For example, in a form, if I use the required-if rule I want to print only one error message, shared between the two fields
<form slot-scope="{...}">

<custom-input rule="required_if:...|email">
 // Component with ValidationProvider

<custom-input rule="required_if:...|numeric">
 // Component with ValidationProvider

One of the two fields is required

Describe the solution you'd like
Include the invalid rules object in ValidationObserver slot scope
Describe alternatives you've considered
Use data value to verify if a field is empty but that's easy only with required rule.
Additional context

Whats keeping me for implementing this is the issue with how the Observers are going to represent that, for example, a provider has no conflict issues. But observers will have duplicate rules from different providers.
In other words:

One of the two fields is required

What goes into that v-if, we cannot nest it from multiple providers:

One of the two fields is required

Because providers name attribute is not required and the vid is also not required we cannot nest it since it will always have unexpected results and may cause rendering errors due to null/undefined access.
Feel free to suggest how you would access the information you are requesting and I will see what I can do.

Ok I got it!
The problem is how to make unique each provider and how to retrieve the invalid?
Maybe with a function we can prevent an Cannot read property 'required' of undefined exception.
getFailedRules(field: string | number): object // the failedRules object or an empty object

One of the two fields is required

Just ran into this issue myself. One solution, if you want to avoid the cannot read property problem altogether, is to do something like provide a failed() function to check if something failed; failed('one', 'required'). I think that might be cleaner than providing just the failed rules, and with returning a boolean, you're more certain that if statements will work as intended (you could even do strict checks). Of course, if there is a need to get the failed rules as well, we could provide the function for that too.


Fix .scalafmt.conf and apply new version changes

i guess github interpreted the word "fix" in the other pull request and killed this one...

@dos65 scalafmt 3.3.2 has been released, with scaladoc fixes, if you'd like to take another look here.

@kitbellew yep, will do. thx!

close?

@kitbellew yep, thx!


Support visionOS

This PR adds support for visionOS by adding a bunch of os(visionOS) checks and #available(visionOS 1.0, *).
ViewImageConfig for Vision Pro was added:
public static let visionPro = ViewImageConfig(
  safeArea: .zero,
  size: .init(width: 2700, height: 1360),
  traits: .init()
)

And UITraitCollection for Vision Pro was added:
public static let visionPro = UITraitCollection(
  traitsFrom: [
    .init(userInterfaceIdiom: .vision),
    .init(horizontalSizeClass: .regular),
    .init(verticalSizeClass: .regular),
    .init(displayScale: 2.0),
    .init(userInterfaceStyle: .dark),
    .init(layoutDirection: .leftToRight),
    .init(forceTouchCapability: .unavailable),
    .init(preferredContentSizeCategory: .large),
    .init(accessibilityContrast: .normal),
    .init(userInterfaceLevel: .base),
 ]
)

To support visionOS I had to update Xcode version to 15.3, and update test devices to iPhone 15 Pro Max (17.4) and Apple TV 4K (17.4).

Conflicts need to be resolved.

Done.


Docker and Host Dev

Add port forwards to Ion data services using non standard ports to avoid conflicts.
This allows running ion components directly on the host while still interacting with the docker install.
Or potentially running all ion components on the host and only using docker for redis, nets, etcd..
Default args have been added to the image and are no longer needed in docker-compose.
Non docker configs have been updated to use ports exposed by docker data services.
Example Flow
Bring everything up
docker-compose up

Stop sfu
docker-compose stop sfu

Dev on host. Don't need to wait on docker rebuild
go run cmd/sfu/main.go -c configs/sfu.toml

TODO

[x] Push and update default images
[ ] AVP on host?

One minor nit: We should either change the stable docker name to docker-compose.stable.yml or the test one to docker-compose-test.yml for consistency.


[zh-cn] sync reference/honor-pv-reclaim-policy.md

Description

Issue

Closes: #

/lgtm
/approve


missing libs: golang.org\x\net

run : go build -v -a cmd/swag/main.go
......\golang.org\x\net\idna\idna.go:23:2: cannot find package "golang.org/x/text/secure/bidirule" in any of:
C:\go_1.9\src\golang.org\x\text\secure\bidirule (from $GOROOT)
C:\go_1.9\lgh\src\golang.org\x\text\secure\bidirule (from $GOPATH)
......\golang.org\x\net\idna\idna.go:24:2: cannot find package "golang.org/x/text/unicode/bidi" in any of:
C:\go_1.9\src\golang.org\x\text\unicode\bidi (from $GOROOT)
C:\go_1.9\lgh\src\golang.org\x\text\secure\bidirule (from $GOPATH

golang.org/x/text/secure/bidirule can't be found anymore!

@elvizlai

@easonlin404  i have use this command,but get the same error message

Did you have run swag  command instead of go build -v -a cmd/swag/main.go ?

@easonlin404  how can i run swag？i can't event build it , there is no swag executable file.

swag executable will exist in this $GOPATH/bin folder.

@easonlin404 has check，not exits！

@easonlin404

please follow https://golang.org/doc/code.html#GOPATH to setup your $GOPATH.

@easonlin404  my gopath is good，already set before

please download swag by using:
$ go get -u github.com/swaggo/swag/cmd/swag


Added More Categories and Players

ADDED INSTALL SCRIPT FOR LINUX
New categories (Only for TorrentGalaxy/TGX):

Anime
Music
AudioBook
Porn

New players:

mplayer
smplayer

@kaboussi
say something i guess?

@kaboussi say something i guess?

Sorry for the late reply.
it seems like you did a huge PR
i'm gonna look at it right now


Mobile pinch zoom?

This is a great library and it works sufficiently good for mobile.
I was wondering how hard would it be to implement pinch zoom to the images, or what are the steps I might take for the implementation of this.
Thanks!

Hi!
Touch support would be awesome, though to be honest I hadn't given much thought to pinch-to-zoom. Was mainly considering swipe for next/prev via #15
There's a few ports of Hammer.js to React - I'd probably starter there

Thank you.


Remove spurious  from theme footer

This earlier change https://github.com/bludit/bludit/commit/2ab78beb8b748e877b828aa9be584052e7d2d019 added spurious span closing tags.

thanks @bramley


Assignment when video.duration is NaN

I get an assignment error at line 156 saying it's assigning a non-finite value. I ran two tests with extensions on and off (excluding Tampermonkey) and got the same error.
156: video.currentTime = video.duration;
The assignment should probably have a NaN check.
I set a breakpoint at line 156 and copied my console log showing various values:
> video
<video tabindex="-1" class="video-stream html5-main-video" controlslist="nodownload" style="width: 853px; height: 480px; left: 248px; top: 0px;" src="blob:https://www.youtube.com/d2851794-aa53-4d36-9064-ceec4414ce58"></video>

> video.duration
NaN

> video.currentTime
0

The error with other extensions on:
userscript.html?name=Remove-Adblock-Thing.user.js&id=d60e4784-e8c7-4491-8a57-f142f7e97d9c:156 Uncaught TypeError: Failed to set the 'currentTime' property on 'HTMLMediaElement': The provided double value is non-finite.
    at userscript.html?name=Remove-Adblock-Thing.user.js&id=d60e4784-e8c7-4491-8a57-f142f7e97d9c:156:35

The error with other extensions off:
userscript.html?name=Remove-Adblock-Thing.user.js&id=d60e4784-e8c7-4491-8a57-f142f7e97d9c:156 Uncaught TypeError: Failed to set the 'currentTime' property on 'HTMLMediaElement': The provided double value is non-finite.
    at userscript.html?name=Remove-Adblock-Thing.user.js&id=d60e4784-e8c7-4491-8a57-f142f7e97d9c:156:35

edit: Forgot to mention platform. Windows 10 / Chrome Version 118.0.5993.90 (Official Build) (64-bit)

Should be fixed in the latest version (2.6)


Lots of small fixes, clean up

clean up package.json
update module and jsnext:main properties in package.json
remove the responsive third nav pattern (#748)
fix file input styles (#761)
fix long strings in card-content
updates to form styles in IE9-11

@oknoway when you get a spell, could you take a  👀 ❔
🌈


Unable to read big json file from Request.Body

I'm trying to read big JSON file (UTF8) from Request.Body stream:
string content;
using (var sr = new StreamReader(Request.Body, Encoding.Default))
	content = sr.ReadToEnd();

At the beginning it's ok, but content variable contains invalid character sequence after some offset.
Sample repo: https://github.com/anfomin/DNX-MVC-bigfile. There is file sample.json. Just run dnx kestrel and make:
POST http://localhost:5000

with body = sample.json file.
You will find mismatches since line 84.
Source:

Result:

I've tried latest DNX 1.0.0-beta8-15736 from https://www.myget.org/F/aspnetvnext/api/v2 and 1.0.0-rc1-15775 from https://www.myget.org/F/aspnetcidev/api/v2.

@kichalla can you take a look?

@anfomin I suppose you are running on Mono on Linux? was curious if Encoding.Default was doing something here but looks like some content is entirely missing based on your snapshot above...just to isolate the issue, can you try saving the read content to a file and see if the contents are any different? also does this issue repro consistently for you?

@kichalla I tried this sample both on Windows and Mac, result is the same.
Also I tried to save Request.Body to a text file via File.CreateText("..."). Result file contains the same corruptions. You can remove Encoding.Default, the result does not change.
The problem is Request.Body because when I change input stream to File.Open(...) then output is correct.

@anfomin you are right, I was able to repro it on a Windows machine now..investigating...
left -> actual file content
right -> content read from request body and saved to a file

Weird... putting this on RC. Please enlist @halter73 @lodejard @Tratcher @moozzyk if needed because this might even be a Kestrel issue.

Yeah, this seems like a Kestrel issue as I cannot repro it with weblistener

This issue was moved to aspnet/KestrelHttpServer#234

Certainly could be - that part of the code was updated heavily recently


receive .txt-files on android

updated my old solution to receive .txt files to the actual status of the master branch. The solution is only one line of code, but it works. Please merge the pull request so that the further versions have this options, too.

I tested this and it worked for me. Thanks!

Can you please tell me an example of how to access shared .txt file to to copy the state to a File type variable

@KasemJaffer Hello Kasem, wondering why this PR hasn't been merged / addressed? Running into issues when trying to receive .txt and .csv files into our app. Will there be a fix for this issue in the near future?
Sharing a .txt file on an iOS device quietly fails with no errors in console, on Android it shares a url to the file instead of the file itself.


Allow obstime input to degradation function to be an array of times - [merged]

In GitLab by @wtbarnes on Sep 17, 2020, 13:01
Merges degradation-time-array -> master
Fixes #79

In GitLab by @codecov on Sep 17, 2020, 13:07
Codecov Report

Merging #80 into master will increase coverage by 0.10%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #80      +/-   ##
==========================================
+ Coverage   91.27%   91.37%   +0.10%
==========================================
  Files          14       14
  Lines         401      406       +5
==========================================
+ Hits          366      371       +5
  Misses         35       35

Impacted Files
Coverage Δ

aiapy/calibrate/prep.py
97.95% <100.00%> (+0.23%)
:arrow_up:

Continue to review full report at Codecov.

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

In GitLab by @wtbarnes on Sep 17, 2020, 13:54
mentioned in commit 2052dab6cf82b3d93e9152d61e7f866f9710dd50