what is the gpu memory needed by the h model

cuda out of memory 3060 8g

3090都不够用

I use 3090 with 24GB memory, but it only need 7GB to load ViT-H SAM model.

There is good news! If you have troubles using ViT-H SAM you can decrease the default value for points_per_batch parameter  from 64 to 16 for instance.
SamAutomaticMaskGenerator(sam, points_per_batch=16)
Happy segmentation !

for me reducing the image resolution worked!

I have a 1660 Ti with 6gb ram, I tried the points_per_batch=16 parameter even with 2, and still use the same amount of memory.
Also tried decreasing the image resolution up to a quarter of the original image and still out of memory.
What is the recommended specs to run with the default model?

I found the default model takes around 4GB memory with points_per_batch=16 and around 7GB with default params. I was wondering if we can generate masks while running on cpu!

4090 , sam_vit_h_4b8939.pth

6gb vram ile 1660 Ti'm var, points_per_batch=16 parametresini 2 ile bile denedim ve hala aynı miktarda bellek kullanıyorum.
Ayrıca görüntü çözünürlüğünü orijinal görüntünün dörtte birine kadar düşürmeyi denediniz ve yine de bellek yetersiz.
Varsayılan modelle çalıştırmak için önerilen özellikler nelerdir?

You should try the vit_b model. Gtx 1050ti(2gb) worked.
Default Model:

6gb vram ile 1660 Ti'm var, points_per_batch=16 parametresini 2 ile bile denedim ve hala aynı miktarda bellek kullanıyorum.
Ayrıca görüntü çözünürlüğünü orijinal görüntünün dörtte birine kadar düşürmeyi denediniz ve yine de bellek yetersiz.
Varsayılan modelle çalıştırmak için önerilen özellikler nelerdir?

You should try the vit_b model. Gtx 1050ti(2gb) worked. Default Model:

With the vit_l model, it works perfectly without any extra params. And it give results similar to the vit_h model.

I added pip and video support.  You were to try:
https://github.com/kadirnar/segment-anything-video

Is there a possibility to run Vit_h with RTX 3060 (laptop) 6GB using predictor = SamPredictor(sam)?
I only can run it using SamAutomaticMaskGenerator modifying points_per_batch.

I tried with h models on colab and I get this :
OutOfMemoryError: CUDA out of memory. Tried to allocate 7.40 GiB (GPU 0; 14.75 GiB total capacity; 11.25 GiB already allocated; 3.28 GiB free; 11.33 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation.  See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF

Any suggestions?

I set a batch size of 3 (3 images of resolution 512x512) in boxes promption mode and it took me ~20GB GPU memory. This seems to be the maximum batch size I can set for NVIDIA 3090 GPU.


Stack analyses and local variables

Hello
I am working on Motorola M-Core processor specification.
I am facing a problem in the stack analyses phase where local variables are not correctly recognized by the decompiler due to the fact that the stack pointer is copied to another register and all the stack is accessed using the second (alias) register.
The stack pointer used in this processor is R0, the total stack depth is subtracted from R0 at the beginning the function call, the new value of R0 is copied to another register (R8) and this register is used as to access all the local variables.
How can I tell the decompiler that R8 is just an alias to the Stack pointer R0.
The following assembly code can help understanding the issue.
`#Allocating Space in the stack (R0) is used as SP
subi	r0, r0, 24
st	r8, (r0, 16) # saving the R8 register in the stack using R0 as base
mov	r8, r0 		# Copying R0 or R8 (R8 will be used from now on as the base for the stack)

# function body
st	r2, (r8, 8) # first local variable SP+8
st	r3, (r8, 12) # second local variable SP+12
movi	r7, 0
st	r7, (r8, 0) # thirs local variable SP+0

…..
# end of the function (restoring the stack)
mov	r0, r8  # restoring the stack pointer
ld	r8, (r0, 16)         #restoring the R8 value (saved to the stack)
addi	r0, r0, 24           # de-allocating
jmp	r15 # return
`

Hi
It turns out that may stack anlyses problems were due to bad instructions sementics.
I fixed all instructions definitions and compilation is OK
However, I still have an annoying problem for functions return types. Ghidra is complaining about "UNASSIGNED" storage for return type
whene i try to assigne a return storage to a register (any register) i get the following exception :
Uncaught Exception!
AssertException - Unexpected exception
ghidra.util.exception.AssertException: Unexpected exception
.....
op/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: ghidra.util.exception.InvalidInputException: Invalid varnode address for specified program: register:00000008

	at ghidra.program.model.listing.VariableStorage.checkVarnodes(VariableStorage.java:210)
	at ghidra.program.model.listing.VariableStorage.<init>(VariableStorage.java:127)
	at ghidra.app.plugin.core.function.editor.StorageAddressModel.getStorage(StorageAddressModel.java:370)
	... 50 more

---------------------------------------------------
Build Date: 2019-Dec-18 1306 EST
Ghidra Version: 9.1.1
Java Home: C:\Program Files\Java\jdk-11.0.6
JVM Version: Oracle Corporation 11.0.6
OS: Windows 10 10.0 amd64
Workstation: DESKTOP-JS03RBK

My compiler specification

cskyv1.zip

@steavebba in the cspec you uploaded you have:
<output>
<pentry minsize="4" maxsize="4">
<register name="R2"/>
</pentry>
</output>

It may be because the min and max size are accidentally the same.

yes i changed that to  and still have the same problem

I'm also seeing the "Invalid varnode address for specified program" exception mentioned above with a custom Processor when trying to define registers function parameters/return variables.
My implementation is admittedly hacky, so the issue is probably on my side, but any pointers about how to debug this/where to look would be highly appreciated.


clarification needed: hapi-swagger vs hapi-swaggered + hapi-swaggered-ui

I have been a (mostly) very satisfied user of this module hapi-swagger. Many thanks to the chef, and to everyone else who has helped me on this forum over the past many months. I am very grateful for it all.
However, I just noticed hapi-swaggered and its companion hapi-swaggered-ui project (I am late to all parties). A recurring theme on this (hapi-swagger) project seems to be that the ui and its components are hard-coded in (hence, recently discovered incompatibles with the newest versions of Joi and handlebars etc.) and it is difficult to upgrade to Swagger 3.0 and, quite understandably, those who know how to do the upgrade are busy with other more important things.
So, my questions are thus:

What are the non-obvious differences between hapi-swagger and hapi-swaggered + hapi-swaggered-ui?

Why not merge the two projects and collaborate in order to benefit from the energies of the bigger user pool?

Hi @punkish,

I'm not familiar with hapi-swaggered but it seems very similar to this project. The UI component of this project and hapi-swaggered-ui is very similar as well. Check out my comments about the UI https://github.com/glennjones/hapi-swagger/issues/564#issuecomment-465588944 in another thread. As you can see the hapi-swaggered-ui UI can be use interchangeably with hapi-swagger

That is certainly possible.

Yes, I saw your comment and that is what, in part, inspired me to post this question. It also seems that hapi-swaggered is supporting OpenAPI 3.0. And, by separating the ui portion from the swaggerization, the project is possibly simpler to maintain.

Thanks for feedback. I agree that keeping the UI separate makes things simpler to maintain. I might start refactoring this project in a another branch to separate the UI from the swaggerization code.
I'm currently working to see why the test are breaking when upgrading to Joi 14+.

Another point of comparison, this time of the network traffic:
hapi-swagger (this project): 31 requests 2.95 MB
hapi-swaggered-ui: 7 requests 1.38 MB

closing this since I've made updates to latest swagger ui in 636c2e06e87d9670f9ccabd1f197de39e5a647cc. Both hapi swagger ui libs provide similar features and the underlying core lib is the same swagger-ui-dist.


[FEATURE] Add query_image to Neural query

Is your feature request related to a problem?
Server side of Neural Query has an option to query_image which is not available in Java Client implementation.
What solution would you like?
Add to NeuralQuery class imageQuery field and its corresponding serialization.
What alternatives have you considered?
Create a local class, inherit and use it instead of the existing one. But its better to collaborate with the project.
Do you have any additional context?
None.

v2.14.0 has been released and includes the fix for this issue


Add something for strictness - (loose, normal, strict)

This will allow strict for validating against things like dot org.

This is really just for #122 and #123.


MockTracer support multiple parents and reference types

At the moment MockTracer supports only one parent (childOf or followsFrom) but it's not storing reference type.

I think this can be closed ?

yes, thanks @hypnoce


NSInternalInconsistencyException crash in logs

layout attributes for supplementary item at index path (<NSIndexPath: 0xc000000000000016> {length = 2, path = 0 - 0}) changed from <CSStickyHeaderFlowLayoutAttributes: 0x14e6a1ad0> index path: (<NSIndexPath: 0xc000000000000016> {length = 2, path = 0 - 0}); element kind: (CSStickyHeaderParallexHeader); frame = (0 0; 0 0); to <CSStickyHeaderFlowLayoutAttributes: 0x151865db0> index path: (<NSIndexPath: 0xc000000000000016> {length = 2, path = 0 - 0}); element kind: (CSStickyHeaderParallexHeader); frame = (0 -1.33333; 414 311.833); without invalidating the layout```

Getting a lot of crashes like this with stacktrace:

```4  UIKit                          0x0000000186c3a87c __45-[UICollectionViewData validateLayoutInRect:]_block_invoke + 1004```

```5  UIKit                          0x0000000186c39f74 -[UICollectionViewData validateLayoutInRect:] + 1492```

```6  UIKit                          0x0000000186c397a0 -[UICollectionView layoutSubviews] + 160```

Do you know how to reproduce?

It looks like the frame was changed from {0, 0, 0, 0} to something weird, how was your setup of the header?

I'm not really sure on how to reproduce as these are coming from crash logs, and the stack trace doesn't provide any hints really. My setup is a CSStickyHeader subclass at the top with other cells at the bottom.

Hey so when I change the value of parallaxHeaderReferenceSize, should I invalidate the layout? Even if I change it in viewDidLoad?

Changing parallaxHeaderReferenceSize sounds reasonable to invalidate the layout. Would viewDidLoad will still have chance more than once after iOS 6?

What if in viewDidLoad, I'm setting parallaxHeaderReferenceSize just once?

I'll be checking the doc for viewDidLoad to see if there's any hints.
So for whom is not aware, calling invalidLayout after changing parallaxHeaderReferenceSize seemed to solve the problem, I'll submit a patch soon, thanks @rounak for the heads up!

👍 Thanks for all your work @jamztang!

Thanks @rounak. I'm checking out other issues and see if there's any more things I can squash into this update before pushing a new version :)

@jamztang It happens to me in Simulator, but not in device
Simulator: Xcode 6.2 / iOS 8.2
Device: iPhone 6 / iOS 8.2
After doing a pod update, it disappears (without clean up or removing the app from Simulator)
Downloading dependencies
Installing AFNetworking 2.3.1 (was 2.3.1)
Installing Appsee 2.1.3 (was 2.1.2)
Installing Bolts 1.1.4 (was 1.1.3)
Installing CSStickyHeaderFlowLayout 0.2.4 (was 0.2.4)
Installing DZImageEditing 1.0.0 (was 1.0.0)
Installing DZNEmptyDataSet 1.5.2 (was 1.4.1)
Using DZNPhotoPickerController (1.5)
Installing DateTools 1.5.0 (was 1.5.0)
Installing Facebook-iOS-SDK 3.23.2 (was 3.21.1)
Installing POP+MCAnimate 2.0.1 (was 2.0.1)
Installing Reachability 3.2 (was 3.2)
Installing SDWebImage 3.7.2 (was 3.7.1)
Installing UIActivityIndicator-for-SDWebImage 1.2 (was 1.2)
Installing pop 1.0.7 (was 1.0.7)
Generating Pods project
Integrating client project


output parameter table

It would be nice to save the parameter table that Lensed outputs at the end to disk, especially since the order of the parameter in MultiNest's output may be different when derived parameters are present (cf. #204).

When I use image plane priors for the background source positions, it sees that the output parameter of the source position are on the image plane too. I think it would be nice to give the positions on source plane.

@lirui10590 could you open a new issue for this request? It would be good to discuss it separately from this issue


  Is not the last version yet,
however

The travis build doesn't work. I'm gonna re-issue the  PR


Usage Example

Hey, I'm having a hard time figuring out how to use this with normal templates.
Could you provide an short example how to use it it in regular templates?

I'm trying something like this:
{% include "meta.mustache" with metadata=metadata %}

My typical use case so far has been to have separate sets of Mustache and Django templates, with no interaction between the two.  The Mustache templates are copied to JavaScript for optional client-side rendering, while Django templates are only rendered on the server.  I have not tried mixing the two but it might be possible.

In theory it is. The problem is, the include statement doesn't use the flexible loader, but something like  self.engine.load. Therefore it will only work with Django templates. Which is a shame really.
It is possible to create a custom tag, and copy over most of the loader tag's code, and modify that engine selection part.
That's what I did. in the end.
Maybe I should post that as feature request to the Django issue tracker, but I don't time for that ATM.


Adding a global timeout support, and setting a default timeout (+ retry) + powerboost + schedules

Hi,
The today implementation has used in Homessitant is used without applying a timeout to the wallbox library .... so the library hangs once in a while due to the Wallbox server not answering.
Anyway from the doc, request shouldn't be used without a timeout set. I've added a default one, a number of retry in case of timeout, and a timeout not only on get request but on all request in the library.
UPDATE : added the support for schedule and ICP from https://github.com/cliviu74/wallbox/pull/35 (thanks https://github.com/nanomad !)
Hope this help!
BR
Thomas

@tmenguy do you have a way of testing your branch with HA?

Hi,
I can remove the ICP/powerboost/schedule no pb, seeing the nature of the code was thinking would have been easier to review it directly, but no pb can remove. The last commit you’ve seen is coming from an authentication error I got, ok different from the timeout one, may need another issue again :( I’m in a business trip for the week, not sure I’ll have to work on it.
BR
Thomas


Show correct rep label in account details even for unknown accounts

It now says "unknown" because it only checks against rep list for local accounts and personal book. Nault should cache the ninja rep list and use it for lookups on any account.

We can either cache all aliases and query locally ( https://mynano.ninja/api/accounts/aliases ) or query every address individually async: https://github.com/Nault/Nault/blob/master/src/app/services/ninja.service.ts#L66
Both is fine. Should start with local accounts --> address book --> ninja --> unknown

i think the first option is better, especially for the tx list
for account summary (screenshot in the issue) you could use the first option too unless you want to show voting weight % and donation button for reps not used by the currently configured wallet


Which port does kserve uses to connect predictor?

/kind bug
Related to this https://github.com/kserve/kserve/issues/2370 (Introducing djlserving predictor in Kserve)
We are able to now start an inferenceservice using our djlserving. We need to know which port kserve connects to? By default, djlserving host in IP - 127.0.01 and Port 8080. This can be modified in config.properties.
And we do support v2 protocol described by kserve.
Which port will the kserve connect to when it tried to call the predictor?

More details on this.
We deployed djlserving runtime successfully.
Our kserve container logs
kubectl logs -f djltest4-predictor-default-00001-deployment-fbb844468-hg9tq -c kserve-container
[INFO ] ModelServer - Starting djl-serving: 0.19.0-SNAPSHOT ...
[INFO ] ModelServer -
Model server home: /opt/djl
Current directory: /opt/djl
Temp directory: /tmp
Command line: -Dlog4j.configurationFile=/usr/local/djl-serving-0.19.0-SNAPSHOT/conf/log4j2.xml -Xmx1g -Xms1g -XX:-UseContainerSupport -XX:+ExitOnOutOfMemoryError
Number of CPUs: 36
Max heap size: 1024
Config file: /mnt/models/config/config.properties
Inference address: http://<IP_ADDRESS>:8080
Management address: http://<IP_ADDRESS>:8080
Default job_queue_size: 1000
Default batch_size: 1
Default max_batch_delay: 300
Default max_idle_time: 60
Model Store: /mnt/models/model-store
Initial Models: N/A
Initial Workflows: N/A
Netty threads: 0
Maximum Request Size: 67108864
[INFO ] ModelServer - Found file in model_store: /mnt/models/model-store/identity
[INFO ] ModelServer - Initializing model: identity::PyTorch:*=file:/mnt/models/model-store/identity/
[INFO ] LibUtils - Downloading https://publish.djl.ai/pytorch/1.12.1/cpu/linux-x86_64/native/lib/libc10.so.gz ...
[INFO ] LibUtils - Downloading https://publish.djl.ai/pytorch/1.12.1/cpu/linux-x86_64/native/lib/libtorch_cpu.so.gz ...
[INFO ] LibUtils - Downloading https://publish.djl.ai/pytorch/1.12.1/cpu/linux-x86_64/native/lib/libtorch.so.gz ...
[INFO ] LibUtils - Downloading https://publish.djl.ai/pytorch/1.12.1/cpu/linux-x86_64/native/lib/libgomp-52f2fd74.so.1.gz ...
OpenJDK 64-Bit Server VM warning: You have loaded library /root/.djl.ai/pytorch/1.12.1-cpu-linux-x86_64/libtorch_cpu.so which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
[INFO ] LibUtils - Downloading jni https://publish.djl.ai/pytorch/1.12.1/jnilib/0.19.0/linux-x86_64/cpu/libdjl_torch.so to cache ...
[INFO ] PtEngine - Number of inter-op threads is 1
[INFO ] PtEngine - Number of intra-op threads is 1
[INFO ] WorkerPool - initWorkers for identity (cpu()): -1, -1
[INFO ] ModelInfo - Loading model identity on cpu()
[INFO ] FolderScanPluginManager - scanning for plugins...
[INFO ] FolderScanPluginManager - scanning in plug-in folder :/opt/djl/plugins
[INFO ] PropertyFilePluginMetaDataReader - Plugin found: static-file-plugin/jar:file:/opt/djl/plugins/static-file-plugin-0.19.0-SNAPSHOT.jar!/META-INF/plugin.definition
[INFO ] PropertyFilePluginMetaDataReader - Plugin found: console/jar:file:/opt/djl/plugins/management-console-0.19.0-SNAPSHOT.jar!/META-INF/plugin.definition
[INFO ] PropertyFilePluginMetaDataReader - Plugin found: kserve/jar:file:/opt/djl/plugins/kserve-0.19.0-SNAPSHOT.jar!/META-INF/plugin.definition
[INFO ] FolderScanPluginManager - Loading plugin: {console/jar:file:/opt/djl/plugins/management-console-0.19.0-SNAPSHOT.jar!/META-INF/plugin.definition}
[INFO ] PluginMetaData - plugin console changed state to INITIALIZED
[INFO ] FolderScanPluginManager - Loading plugin: {static-file-plugin/jar:file:/opt/djl/plugins/static-file-plugin-0.19.0-SNAPSHOT.jar!/META-INF/plugin.definition}
[INFO ] PluginMetaData - plugin static-file-plugin changed state to INITIALIZED
[INFO ] FolderScanPluginManager - Loading plugin: {kserve/jar:file:/opt/djl/plugins/kserve-0.19.0-SNAPSHOT.jar!/META-INF/plugin.definition}
[INFO ] PluginMetaData - plugin kserve changed state to INITIALIZED
[INFO ] PluginMetaData - plugin console changed state to ACTIVE reason: plugin ready
[INFO ] PluginMetaData - plugin static-file-plugin changed state to ACTIVE reason: plugin ready
[INFO ] PluginMetaData - plugin kserve changed state to ACTIVE reason: plugin ready
[INFO ] FolderScanPluginManager - 3 plug-ins found and loaded.
[INFO ] ModelServer - Initialize BOTH server with: EpollServerSocketChannel.
[INFO ] ModelServer - BOTH API bind to: http://<IP_ADDRESS>:8080
[INFO ] ModelServer - Model server started.

But our queue-proxy times out.
kubectl logs -f djltest4-predictor-default-00001-deployment-fbb844468-hg9tq -c queue-proxy
{"severity":"INFO","timestamp":"2022-10-11T02:12:37.985180354Z","logger":"queueproxy","caller":"sharedmain/main.go:270","message":"Starting queue-proxy","commit":"9402a71-dirty","knative.dev/key":"default/djltest4-predictor-default-00001","knative.dev/pod":"djltest4-predictor-default-00001-deployment-fbb844468-hg9tq"}
aggressive probe error (failed 196 times): dial tcp <IP_ADDRESS>:8080: connect: connection refused
timed out waiting for the condition

I think the activator sends a request to the queue-proxy sidecar container queue-port of :8012, then the queue proxy will then send the request to :8080 of the kserver-container.

@sindhuvahinis These are just warnings and waiting for model server to be up, it eventually connects. How is the djlserving integration going?

@yuzisun We already implemented kserve API as a plugin in our DJLServing. We are again prioritizing it next month.

Kserve by default uses port 8080 for http/REST and 8081 for Grpc


coding guidelines: comply with MISRA C:2012 Rule 17.7 in arch

Fix coding guideline MISRA C:2012 Rule 17.7 in arch:
added explicit cast to void when returned value is expectedly ignored
This PR is part of the enhancement issue https://github.com/zephyrproject-rtos/zephyr/issues/48002 which port the coding guideline fixes done by BUGSENG on the https://github.com/zephyrproject-rtos/zephyr/tree/v2.7-auditable-branch back to main
The commit in this PR is a subset of the original auditable-branch commit:
https://github.com/zephyrproject-rtos/zephyr/commit/f77c7bb2fed765156ff1c82a389c7f943b745422

@tychofrei02 could you try to not modify the coding style, i.e. have the split line correctly aligned after the opening parenthesis of the first line?

@tychofrei02 could you try to not modify the coding style, i.e. have the split line correctly aligned after the opening parenthesis of the first line?

@jhedberg Fixed that.


feature/fix-#384

support Multiple ConfigurationKey for Consul Store KV
Fixes / New Feature #
Proposed Changes

To support Multiple ConfigurationKey for Consul Store KV #384
We could implement IConsulFileConfigurationRepository in our project
Check configuration from consul or json

please open PR again against master branch


Access defaults.plugins only if property exists.

https://github.com/svg/svgo/blob/1a3c32bb43f5382cb15148dc3b4e94ecb57938dc/lib/svgo/config.js#L30

As far as I can tell, this check should probably live in the preparePluginsArray function if it's causing any trouble at all, otherwise the same thing that is causing problems at the moment, could come back.
Also, the Array.isArray({}) check being done previously should be good enough. Do you have an specific case where this fails?

@vcanales I had issues because of some external circumstances which removed/filtered files which the plugin should have used. These missing files led then to this error. Unfortunately I can't remember the exact problem or version of packages produced the issue. But I think it does no harm to have that check in there.


Create a design of your app

Create a design of your app that how your app should look like..You can use figma or adobe to design the same.

I would like to contribute on this

sure :)

I would like to contribute here.


Update all npm packages

babel-eslint                                     10.0.0   10.0.1  10.0.1  react-webpack-node
babel-loader                                      7.1.5    7.1.5   8.0.4  react-webpack-node
babel-plugin-react-transform                      2.0.2    2.0.2   3.0.0  react-webpack-node
babel-plugin-transform-react-remove-prop-types    0.3.3    0.3.3  0.4.18  react-webpack-node
css-loader                                      0.28.11  0.28.11   1.0.0  react-webpack-node
enzyme                                            3.6.0    3.7.0   3.7.0  react-webpack-node
enzyme-adapter-react-16                           1.5.0    1.6.0   1.6.0  react-webpack-node
eslint                                            5.6.0    5.6.1   5.6.1  react-webpack-node
eslint-plugin-jsx-a11y                            6.1.1    6.1.2   6.1.2  react-webpack-node
express                                          4.16.3   4.16.4  4.16.4  react-webpack-node
helmet                                           3.13.0   3.14.0  3.14.0  react-webpack-node
jsdom                                            12.0.0   12.2.0  12.2.0  react-webpack-node
mini-css-extract-plugin                           0.4.3    0.4.4   0.4.4  react-webpack-node
mongoose                                         5.2.17    5.3.2   5.3.2  react-webpack-node
pg                                                7.4.3    7.5.0   7.5.0  react-webpack-node
react-router                                      3.2.1    3.2.1   4.3.1  react-webpack-node
sinon                                             6.3.4    6.3.5   6.3.5  react-webpack-node
style-loader                                     0.23.0   0.23.1  0.23.1  react-webpack-node
url-loader                                        1.1.1    1.1.2   1.1.2  react-webpack-node
webpack-cli                                       3.1.1    3.1.2   3.1.2  react-webpack-node
webpack-dev-middleware                           1.12.2   1.12.2   3.4.0  react-webpack-node
webpack-hot-middleware                           2.24.2   2.24.3  2.24.3  react-webpack-node

I think I can contribute to this project from the end of February. Let's make this project up-to-date!

Now updating...


Fix: Alignment of home icon

Related Issue
Fixes #769
Description
Proper Alignment of the home icon in pricing and help us improve page, and light mode improved in help us improve page
Type of PR

[x] Bug fix
[x] Feature enhancement
[ ] Documentation update
[ ] Other (specify): _______________

Screenshots / videos (if applicable)

Checklist:

[x] I have performed a self-review of my code
[x] I have read and followed the Contribution Guidelines.
[x] I have tested the changes thoroughly before submitting this pull request.
[x] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[x] I have commented my code, particularly in hard-to-understand areas.

Additional context:
Nothing, just can refer to ss attached!

@sanmarg could you review PR, and let me know feedback..Thank YOU


Deleting post doesn't free its position

Deleting a post deletes it from the database on the server, but only hides it on the frontend. Its place stays hidden until the page is refreshed.

I think deleting should be performed by removing data from campers array in App.js, i.e. deleting function should be in App.js and be passed to Campers.js via props.

Well spotted.
Another related issue this causes is that when you add another one after having deleted one, the new one replaces the previous last, and the previous last covers up its 'younger' sibling.
eg:
Add card 1, 2, 3.
Delete card 1 (it disappears from top left, 2 & 3 stay in place)
Add card 4 (Card 4 replaces 3, 3 replaces 2, 2 is covered, top left is still blank)

I think #76 may have fixed this. Can anyone confirm? (Although it does seem to have added #78)

No it didn't.
Create 2 posts, delete the first, create another one (use different usernames).

Hmmm - I'm getting a slightly different bug, but I think you're right that it is still related.
I'm also noticing that the first post to an empty board doesn't necessarily appear without a refresh.

Hopefully fixed. See PR.


test for multiple abort calls

Turns out positioning of this.clearTimeout() matters in the browser.
Sorry for the churn on this one. I'm pretty confident it is finalized now.

Tests are always good :)


[Question] what's the cm of yurt-tunnel-nodes

文档里面安装openyurt的前置条件，需要把coredns改成ds方式部署，挂载yurt-tunnel-nodes这个cm，这个cm哪里有？
/kind question

It should be under ns kube-system. You can check it with:
$ kubectl get cm yurt-tunnel-nodes -nkube-system
NAME                DATA   AGE
yurt-tunnel-nodes   1      3d3h

ok,thanks,got it!

@dbaicss I think this issue has been solved, so i will go to close this issue. and you can reopen it if you need to continue to follow this case.


Updates changelog and benchmark for 2.7.0

Description of changes:
I'll just leave this here for the pending minor version release.
Note that the benchmark measurements are only recorded for the two modes decided in #198 and no longer reflect non-lifecycle Recorder benchmarks, and we've added the trace header & some ID creation benchmarks.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Could not agree more, we did some work on automating running & recording benchmarks that didn't get finished, but we probably would've settled on an approach like that if we had finished.


Add a .rfc command

Description

Add a .rfc command with an RFC ID parameter that would respond with some information regarding the relevant RFC.
Reasoning

This command would be useful in a situation where a relevant RFC would help contribute to the current conversation.
Proposed Implementation

A possible implementation of this would get the plaintext representation of the RFC, from https://www.rfc-editor.org/rfc/rfc{id}.txt, and some basic information about the RFC, such as the category, name, and first few sentences of the linked RFC. An example implementation of this is shown in the below picture.

Would you like to implement this yourself?

[x] I'd like to implement this feature myself
[x] Anyone can implement this feature

This sounds alright to me if you'd like to work on this.
I think the embed could be improved a bit from the example you posted, generally RFCs have an "abstract" section so it would be good if we could extract that section to include in the embed rather than just the start of the document which might not be that useful.
How would you plan on getting the metadata (e.g. authors, publish date, title)? Would you just parse them from the document? If so, is the format consistent enough for this to always work? Is there any sort of API that you can get info in a more machine readable format from?

I think the embed could be improved a bit from the example you posted, generally RFCs have an "abstract" section so it would be good if we could extract that section to include in the embed rather than just the start of the document which might not be that useful.

Some RFCs, such as RFC-1, do not have an abstract section. A possible fix to this would be to check for the existence of the abstract section and send the first few lines of the RFC if it isn't found.

How would you plan on getting the metadata (e.g. authors, publish date, title)? Would you just parse them from the document? If so, is the format consistent enough for this to always work? Is there any sort of API that you can get info in a more machine readable format from?

Getting the metadata might seem difficult to do, however the title can be extracted from the title of the page. More machine-readable RFCs can be retrieved through the URL https://www.rfc-editor.org/rfc/rfc{id}.txt, which returns the RFC as a plaintext file, where {id} is the id of the specified RFC.

It seems like there's an API for RFCs at https://datatracker.ietf.org/api/, which could make this easier

https://datatracker.ietf.org/doc/rfc{id}/doc.json returns JSON data of the RFC.


expected dense_Dense1_input to have shape [null,12] but got array with shape [1,14]

I am getting this error when running ReimproveJs
Uncaught (in promise) Error: Error when checking : expected dense_Dense1_input to have shape [null,12] but got array with shape [1,14].
    at new ValueError (reimprove.js:1)
    at checkInputData (reimprove.js:1)
    at Model.predict (reimprove.js:1)
    at Sequential.predict (reimprove.js:1)
    at Model.predict (reimprove.js:1)
    at reimprove.js:1
    at Object.Tracking.tidy (reimprove.js:1)
    at Agent.createTrainingDataFromMemento (reimprove.js:1)
    at reimprove.js:1
    at Array.map (<anonymous>)

This error is not happening directly but after 5 seconds of it working. its called by academy.step
My part, only added inputs:
let inputs = [speed,turn,sensor1Dist,sensor2Dist,sensor3Dist];          // Need to give a number[] of your inputs for one teacher.
        let result = await academy.step([               // Let the magic operate ...
        {teacherName: teacher, agentsInput: inputs}
        ]);

Defined wrong inputSize


Added Scene Collection

Added ability to switch scene collections.

Great @mansman12 , can you fix the formatting error of cargo fmt -- --check so I can merge it?


:bug: Misspelling of "needed"

Describe the bug
Wording needs to be fixed. In pre-reqs.md "eeded" should be "needed" in the link below.
https://github.com/kubestellar/kubestellar/blob/release-0.23.0/docs/content/direct/pre-reqs.md
Steps To Reproduce

Go to link: https://github.com/kubestellar/kubestellar/blob/release-0.23.0/docs/content/direct/pre-reqs.md
Go to Check pre-requisites for KubeStellar section.
The first sentence has a spelling error of "needed".

Expected Behavior
Correct spelling.
Additional Context
No response

looks like this was resolved. Can you double check on the latest unreleased version of the documents to see if this is still an issue? If no longer an issue, please close.

Issue resolved in unreleased documentation.


Add Rocky Barua

Thanks for adding your introduction @Drougnov! Make sure to join our Community by creating an issue in: https://github.com/The-Lively-Developers-Community/become-a-member


Error: EMFILE

Hello,
I just performed a load test on my nodejs server which uses scribejs as logging. I found out that on a certain number of requests the logger crashes making my server to crash. The error is the following :
path/node_modules/scribe-js/lib/logWriter.js:129
throw err;
Error: EMFILE, open 'MyLogger/2015/Oct/16_oct_15.info.json'
Do you know about this ? And, if so, how can it be solved ?
Thanks, Alex.

I'm getting something similar:
C:\Projects\EugsClient\EugsServer\node_modules\scribe-js\lib\logWriter.js:129
                    throw err;
                    ^

Error: EBUSY: resource busy or locked, open 'C:\Projects\EugsClient\EugsServer\logs\2016\May\18_may_16.info.json'
at Error (native)


filter on "code" doesn't seems to work

When I use on of the filters described on the page, I receive an error message "Invalid filter syntax"

How do I find something in code?
Regards,
Kristof.

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

ID: 17b1f3ab-dd65-bb8d-6b7d-3a6c1d19c672
Version Independent ID: 2859401b-a524-18b4-0889-17623906a1fb
Content: Metadata search in Visual Studio - Finance & Operations | Dynamics 365
Content Source: articles/fin-ops-core/dev-itpro/dev-tools/metadata-search-visual-studio.md
Service: dynamics-365-cross-app
GitHub Login: @gianugo
Microsoft Alias: gianura

@kristofmeesens, thanks for contacting us. Unfortunately, we're unable to handle Support requests for the product here. To contact Support, consider one of the options described here: Support contact options. In particular, you might want to go to the Dynamics 365 community page to get help with your questions from the Dynamics community.


Snapshots and old backups (disks with more than snapshot, only the last one should prevail)

The current way this is being exported became unflexible.
I'll change the snapshot metrics to something like:
gce_disk_last_snapshot_seconds{project, zone, disk, snapshot_name} x
gce_disk_snapshot_count{project, zone, disk} x

So I can alert upon the following scenarios:
More than X snapshots for the same disk (means you should clean up old snapshots)
Snapshots older than X days
Last snapshot older than X days (if you want to keep daily snapshots, for instance)


Support docker network's CheckDuplicate at drone exec

https://godoc.org/github.com/docker/docker/api/types#NetworkCreate
https://github.com/moby/moby/issues/18864
Set Docker network's CheckDuplicate option to prevent name's collisions
at drone exec command.
drone exec executes a local build,
so it is natural to make CheckDuplicate true.
Change of Dependencies should be fixed after the following Pull Request has been merged.
https://github.com/cncd/pipeline/pull/44

I'm sorry but I misunderstood.
We can't prevent docker network name's collisions by making CheckDuplicate true.
My collegue is suffered from docker network name's collisions at drone exec command.
$ drone exec --local
2018/06/04 15:52:28 Error response from daemon: network drone_default is ambiguous (6 matches found on name)

So I thought we can prevent this error by making CheckDuplicate true, but this is misunderstanding.
I close this issue.


vulkaninfo: check that extensions aren't disabled

Previous versions of vulkainfo's autogen code didn't check if enums and
bitmasks from extensions were disabled, possibly letting them leak into
the generated code. This commit checks and skips any fields which aren't
supported.
Also discovered that the for ext in extensions: block in VulkanEnum and VulkanBitmask was never being used, and removed it as it didn't affect the generated output in the slightest.
File changed:
scripts/vulkaninfo_generator.py
Change-Id: I0e6fd9872d9377a17797cfcf6c2fbcee649e3657

I am still seeing the same warning with a fresh build directory.
In file included from /home/shannon/vulkan/Vulkan-Tools/vulkaninfo/vulkaninfo.cpp:29:0:
/home/shannon/vulkan/Vulkan-Tools/vulkaninfo/generated/vulkaninfo.hpp: In function ‘const char* VkResultString(VkResult)’:
/home/shannon/vulkan/Vulkan-Tools/vulkaninfo/generated/vulkaninfo.hpp:463:9: warning: case value ‘1000297000’ not in enumerated type ‘VkResult’ [-Wswitch]
         case<PHONE_NUMBER>): return "RESULT_EXT_298_RESERVED_VALUE_0_EXT";
         ^~~~

Wait. I forgot I have to generate again. Whoops. Please hold


260 Day years?

Hi,  trying to run a simple tear sheet and am getting weird results.
code that I am running is simply pf.create_returns_tear_sheet(stock_rets['rtn'],benchmark_rets=bm_rets['rtn'])
I have attached my stock returns and benchmark returns.
Problem is that there is only a year's worth of data but the tear sheet is calculating everything based on 17 months:
Start date 2017-07-31
End date	2018-07-31
Total months	17
backtest.zip
I'm guessing that its using a 260 day year?

The code is dividing len(returns) / 21, did you include weekends in your returns?

Yeah I did include weekends - I'm looking at global markets, and so some markets are open on weekends (middle eastern in particular), plus the currencies move over the weekend plus when we measure from different time zones we get either Saturday returns (eg measuring Friday US returns from Australia/Japan) or Sunday.
I removed weekends and it works fine.
Maybe you would be better dividing by max(date)-min(date)? That might help for irregular data as well.

We should just pandas' functionality, something like (end - start).months. Pull request welcome.


Check failed schedule tx with bad delay

https://rinkeby.etherscan.io/tx/0x9a762d4c1e8e1000515563fd5e0128cccbe36c413957809dcfa3fdf9f7f23f2b
At Tenderly
https://dashboard.tenderly.co/tx/rinkeby/0x9a762d4c1e8e1000515563fd5e0128cccbe36c413957809dcfa3fdf9f7f23f2b

The function and the require check where it fails.

Yep sounds good to me, here is the subgraph  used : https://thegraph.com/hosted-service/subgraph/corantin/govern-1hive-rinkeby. Plz tell me if you have access


chore: upgrade sqloxide

In 0.1.15 the unnamed argument in functions now can have the Expr key.

Closes https://github.com/DataJunction/datajunction/issues/73


add Plato to control project average maintainability

There is probably some things to improve and correct, I have faith in you ;)

Hello julien :)
You need to use:
var cli = require('plato/lib/cli');
cli.exec({
args:{files: options.args}
}, function () {
  console.log('Done!');
});

instead of
 var cmd = 'plato -r -d node_modules/plato/report ' + p.resolve(__dirname);

because plato is not installed globally. Forward to option the -r (options.args.r))and the -d (options.d.value) too.
See https://github.com/es-analysis/plato/blob/master/lib/cli.js#L14

All right ! ;)

+1 for this one. Eager to work on fixes so that it merges and integrate w/ latest commits, if help needed.

@valeriansaliou that would be AWESOME! @julien-leroy stopped working on it so you can take the lead!

Great, let's do that. I'll follow up later in the WE w/ a MR. Cheers!

Merged this PR w/ newer changes and improved the way check-build handles Plato in #42

Duplicate with #43


Chef - Installation Script (install.sh) & CentOS 7.1

Looks like CentOS 7.1 went ahead and changed the format of /etc/redhat-release
The old format is present in /etc/centos-release
The regex in https://www.chef.io/chef/install.sh fails due to this.  The regex looks for the numeric string after release
/etc/redhat-release
Derived from Red Hat Enterprise Linux 7.1 (Source)

/etc/centos-release:
CentOS Linux release 7.1.1503 (Core)

More Info: http://grokbase.com/t/centos/centos-devel/152phcwgvf/enhancing-etc-release

Moved to https://github.com/chef/opscode-omnitruck/issues/85


object of type 'int' has no len()

I got the image from docker but when I try to run the example I get the following error:
root@30d50900394b:/opt/ocr# python /opt/ocr/tesseractserver.py -p 1688 -b /root/local/lib -d /root/local/share/tesseract-ocr
Tesseract Web Service starts at port 1688.
ERROR:root:Uncaught exception POST /fetchurl (<IP_ADDRESS>)
HTTPRequest(protocol='http', host='<IP_ADDRESS>:1688', method='POST', uri='/fetchurl', version='HTTP/1.1', remote_ip='<IP_ADDRESS>', body='{"url": "http://www.greatdreams.com/666-magicsquare.gif"}', headers={'Origin': 'chrome-extension://fdmmgilgnpjigdojojpjoooidkmcomcm', 'Content-Length': '57', 'Accept-Language': 'en-US,en;q=0.8', 'Accept-Encoding': 'gzip, deflate', 'Host': '<IP_ADDRESS>:1688', 'Accept': '*/*', 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.103 Safari/537.36', 'Connection': 'keep-alive', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json; charset=UTF-8'})
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/tornado/web.py", line 954, in _execute
    getattr(self, self.request.method.lower())(*args, **kwargs)
  File "/opt/ocr/tesseractserver.py", line 125, in post
    result = wrapper.imageUrlToString(url, minWidth)
  File "/opt/ocr/tesseractcapi.py", line 104, in imageUrlToString
    for j in range(len(data[i])):
TypeError: object of type 'int' has no len()
ERROR:root:500 POST /fetchurl (<IP_ADDRESS>) 10360.87ms

I can take a shot at fixing it if you can provide some hints on where I should begin.

Hi,
Thanks for reporting this!
I checked the code and it seems to have something wrong while processing GIF format, I just add a commit to revise it, and it should work now.
Please check this commit:
https://github.com/guitarmind/tesseract-web-service/commit/0f50cb3ecf219551bb1c02e13343a35aa77decfc

Thanks for a quick turn around on this. That seems to fix the error. I'm able to run the service now, however, the results are very gibberish
Result:  5 —Z //é,réfe-E’T(-:1‘
=,:»<;::»zr«:»::;»*a;»=,
 :;
3"-,ié",é:5~;%: F ‘
-m-nmmnm-wvww-w"'""1'"""""

,i ,; gs?
‘7f7.é="-}:‘:’~?‘*i‘
t>;<;.,¥:,c:r~-

:x£>_ 4-.— .2 ~ - /

I'll try to play around with it and send merge request if I'm able to produce better results.

Hi,
That would be appreciated if you can help investigate this, as I remembered, this wired output didn't happen before. Anyway, this issue is closed and please share with me if you have any findings, thanks.


[performance]:Increasing dependencies in package.json causes performance issues.

When I installed dependencies such as NaiveUI and the icon component library, the performance of the language server dropped significantly. Is there a way to solve this problem?

You probably include node_modules in your tsconfig.json. Try to exclude that.

No, the problem still exists. I have a tconfig.json with this setting, but the problems don't go away. see #4580

Hey, @zogwosh check #4580 for solution

@Ca-tt Thanks, turning off code lens helped me.🙏

@zogwosh hey, you're welcome!


Saving anonymous users results in account already exists error

I found the issue in RestWrite.js:
// Check for username uniqueness
    if (!this.data.username) {
      if (!this.query) {
        // TODO: what's correct behavior here
        this.data.username = '';
      }
      return;}

I'm not sure what the answer is though.  When using Parse.com anonymous users could be saved with data before registration took place.

I think the fix is to set the username to a random string, as on hosted Parse.  But, are you getting an error?  Anonymous users was implemented and tested, it just sets the username to an empty string and returns.

@gfosco yes, I'm getting a username is taken error because two _Users can't have the same username?  The first anonymous user saves fine, but the second errors.

I'm having the same problem, subsequent anonymous user saves fail because empty usernames aren't unique.
#259 looks like a duplicate of this bug.

PR to get things started: #341

Should be fixed because of 341.. Please open a new issue if still experiencing a problem.  Thanks.


[stable/grafana] Fix some typo and formats

Signed-off-by: Jeffrey Chu<EMAIL_ADDRESS>What this PR does / why we need it:
Fix some typo and formats
Checklist

[X] DCO signed
[X] Chart Version bumped
[X] Title of the PR starts with chart name (e.g. [stable/chart])

/ok-to-test
/lgtm


chore: renames Transit Insurance to Shipping Protection 🚐 🛟

Reflecting a larger renaming of Arta's coverage product for shipments, we are updating the language in Estimates and Tracking widgets.

Closed this PR in favor of https://github.com/artaio/arta-browser/pull/50


feat(ipld): concurrent GetShares

The main goal here is to make share requesting non-sequential s.t. if one share is not available, it does not block others from being fetched, as it was with the previous recursive GetLeaves approach.
For more details, check out extensive comments on the implementation.
We may reconsider the usage of the global pool and may eventually define some sort of ShareGetter that absorbs the pool, though this introduces possible issues with the over-spawning of goroutines.
The concurrent approach can also be used for GetSharesByNamespace for performance reasons eventually.
Closes #650
P.S. Credits to simply amazing workerpool lib by @gammazero. It is written so well that it prevents me from reinventing the wheel and writing my own worker pool 😅. The lib fits our use case ideally.
P.S.S. This PR is also the reason why we should move on to our own protocol for share transportation. An increase in square size increases the number of routines quadratically.

Something is broken for 1x1 square size, investigating

Codecov Report

Merging #682 (99fb248) into main (d286c6a) will increase coverage by 0.21%.
The diff coverage is 75.00%.

@@            Coverage Diff             @@
##             main     #682      +/-   ##
==========================================
+ Coverage   52.26%   52.48%   +0.21%
==========================================
  Files         103      104       +1
  Lines        6224     6246      +22
==========================================
+ Hits         3253     3278      +25
  Misses       2629     2629
+ Partials      342      339       -3

Impacted Files
Coverage Δ

ipld/get.go
77.66% <ø> (ø)

ipld/nmt_adder.go
66.66% <ø> (ø)

service/header/header.go
38.15% <0.00%> (ø)

ipld/get_shares.go
72.34% <72.34%> (ø)

ipld/add.go
88.00% <100.00%> (ø)

ipld/retriever.go
93.93% <100.00%> (+3.64%)
:arrow_up:

service/header/core_listener.go
57.69% <0.00%> (+5.76%)
: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 9e98b4d...99fb248. Read the comment docs.

@tzdybal, it is slightly related to GetSharesByNamespace, but not directly. Also, I would like someone to do a good review of concurrency logic, and I trust you on this

I have zero guesses why docker started to fail. Anyone?

Maybe this will fix it https://github.com/celestiaorg/celestia-node/pull/689

Rebase on main


1.6.x minimize shaded jars fix

Shaded jars difference with previous connectors release (1.6.3/0.10.4):

BQ connector - https://www.diffchecker.com/e6hKs5HR
GCS connector - https://www.diffchecker.com/oRIE4hoH

@AngusDavis Added shaded jars diffs to description, PTAL


Checking commit in workflow

Thanks for this great PR, unfortunately it cannot be merged at this time.
To speak to a representative please dial: 867-5309


pause logs

I tried to use scope to view the logs for a container in a pod by attaching to the container. The logs just kept streaming, and there was no way for me to pause them, filter them, or search them. I ended up switching back to kubectl, because I can do all of these things in my terminal.

https://github.com/sourcelair/xterm.js/issues/216 to allow you to scroll back up

You can already scroll back. But the terminal always jumps back to the newest output.
This is actually a dup of #1481.


How to pass custom HTTP headers with each request?  JWT authentication specifically

Question
How do we pass a custom header with each chunk request?
Basically our TUS backend is authenticated using Authorization: header
Setup details
Please provide following details, if applicable to your situation:

Runtime environment: [Browser]
Backend will Auth each request using JWT token

Closing this issue due to inactivity. Feel free to leave a comment if you want to continue the discussion :)


Support changing log4j.properties and metrics.properties in K8s

Is your feature request related to a problem? Please describe.
When the user needs to tune log4j or metrics settings, it's very hard in K8s.
The user can mount an updated file to conf/log4j.properties and conf/metrics.properties but that requires much manual work. Also this is impossible in helm.
Describe the solution you'd like
The Helm template should support updating these config files, with either a configurable mount or a configmap.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Urgency
MEDIUM. Good-to-have and helpful for deployments.
Additional context
https://alluxio-community.slack.com/archives/CEXGGUBDK/p1603232673280900

@LuQQiu FYI

@ssz1997  is this still valid? otherwise help me close this please

Still valid

CE300 helm chart will support editing log4j.properties and metrics.properties. See https://github.com/Alluxio/k8s-operator/pull/1. Thus closing this issue.


Installation issues with Python 3

Hi @Didou09,
I'm currently trying to install tofu.
I tried to install using
python setup.py develop
I first had to correct setup.py since line 128 should be commented out.
Then the cython build process failed on the following:

File "/var/folders/r9/s1k2nd110xzfxyfym7jmyb8r0000gn/T/easy_install-v02kmvno/Polygon2-2.0.8/setup.py", line 29
print "Using NumPy extension!"

I'm using Python 3. So this explains the above error.
When I run 2to3 on the code I get this output:

RefactoringTool: Files that need to be modified:
RefactoringTool: tofu/init.py
RefactoringTool: tofu/defaults.py
RefactoringTool: tofu/helper.py
RefactoringTool: tofu/pathfile.py
RefactoringTool: tofu/setup.py
RefactoringTool: tofu/geom/init.py
RefactoringTool: tofu/geom/_compute.py
RefactoringTool: tofu/geom/_core.py
RefactoringTool: tofu/geom/_plot.py
RefactoringTool: tofu/geom/setup.py
RefactoringTool: tofu/plugins/ITER/init.py
RefactoringTool: tofu/treat/init.py
RefactoringTool: tofu/treat/_compute.py
RefactoringTool: tofu/treat/_core.py
RefactoringTool: tofu/treat/_plot.py

I also had to modify some of the dependencies to get them to work with Python 3.
I'll submit a PR with the modifications for Python 3 compatibility.
Are there any tests I can run to see if everything works correctly now that it seems installed?
Best regards,
Florian

The latests releases of ToFu (>1.2.17) are now fully compatible with both Python 2 and Python 3


Test APK performance with 2000 APIs

we need to collect these data when we deploy 2000 APIs to APK

ETCD usage
adapter resource usage
enforcer resource usage
router resource usage

Its on hold because adapter is unable to handle 2000 apis, we need to improve the adapter logic and then only we can measure. https://github.com/wso2/apk/issues/1905


Regular Break Event for mining not working.

Alright... so I haven't a clue as to why this isn't working.
It would work maybe for a short time, like 1 or 2 blocks.  mainly just a single block. Then it would just stop.
The entire config shows that everything is apparently working, no errors or warns for mining at all.
TNT break works fine even with using mcmmo blast mining.
Crafting works fine when making pickaxes.
It's just the default break event that's causing me so many issues.
Is there for some reason a limit to how many blocks we can have in this section?
Because I added several blocks to it, such as infested blocks and other blocks you find in jungle temples and strong holds, as well as glowstone and sea lanterns.
The /jobs browse lists every single block I've added to break action as well.
Server Type (Spigot/Paperspigot/etc):
Paper
Server Version (using /ver):
git-Paper-597 (MC: 1.13.2)
(API version 1.13.2-R0.1-SNAPSHOT)
Relevant plugins (Delete if this isn't needed):
4.13.0 Jobs Reborn.

We need the jobConfig configuration to see what to do.
Anyway, what is infested blocks?

just a bad setting because I read a comment wrong...


Add a state resource for controlling the debug plugin

Implement runtime configuration for the debug plugin, as one of three states: Disabled, Quiet and Noisy. The noisy attribute is kept with a deprecation warning.

I renamed the 'Quiet' mode to 'Normal', I think that makes more sense.

Thank you!


updated to 6.4.0.CR1

+1. Thanks @mbiarnes. Could you please make sure to build and upload these changes to drools.org page?


Add netstat parsing blog post

PR Summary

PR Checklist

Do you want this post to be published on a specific date?: Y/N [Specify date]:
[x] I have read the contributors guide and followed the style and process guidelines
[x] PR has a meaningful title
[x] Includes content related an open issue

see Closing issues using keywords.

[x] This PR is ready to merge and is not Work in Progress

Thanks for this addition to the crescendo posts. It makes a lot more sense now.


Fix being able to have replacement variables substituted into email templates

Released in 2.4.1, now published to npm


Video_player not work on the Android 10  in 3.27.1

Steps to reproduce
this problem occurred in the 3.24.5，the app can't luanch，but it works well in 3.22.3，when I upgrade 3.27.1，the app could launch， but the video_player can't works!!!
Expected results
could play video normallly
Actual results
Unrecognized profile/level 0/0 for video/mpeg2
W/VideoCapabilities(19068): Unrecognized profile/level 0/2 for video/mpeg2
W/VideoCapabilities(19068): Unrecognized profile/level 0/3 for video/mpeg2
I/VideoCapabilities(19068): Unsupported profile 5 for video/mpeg2
I/chatty  (19068): uid=10135(com.traininpink.mobile) ExoPlayer:Playb identical 2 lines
I/VideoCapabilities(19068): Unsupported profile 5 for video/mpeg2
W/VideoCapabilities(19068): Unrecognized profile/level 1/32 for video/mp4v-es
W/VideoCapabilities(19068): Unrecognized profile/level 32768/2 for video/mp4v-es
W/VideoCapabilities(19068): Unrecognized profile/level 32768/64 for video/mp4v-es
I/OMXClient(19068): IOmx service obtained
I/ACodec  (19068): In onAllocateComponent create compenent, codec name: OMX.hisi.video.decoder.avc
D/SurfaceUtils(19068): connecting to surface 0x7e0429f010, reason connectToSurface
I/MediaCodec(19068): [OMX.hisi.video.decoder.avc] setting surface generation to 19525633
D/SurfaceUtils(19068): disconnecting from surface 0x7e0429f010, reason connectToSurface(reconnect)
D/SurfaceUtils(19068): connecting to surface 0x7e0429f010, reason connectToSurface(reconnect)
E/ACodec  (19068): [OMX.hisi.video.decoder.avc] setPortMode on output to DynamicANWBuffer failed w/ err -2147483648
I/ACodec  (19068): [OMX.hisi.video.decoder.avc] got color aspects (R:2(Limited), P:1(BT709_5), M:1(BT709_5), T:3(SMPTE170M)) err=0(NO_ERROR)
I/ACodec  (19068): [OMX.hisi.video.decoder.avc] got color aspects (R:2(Limited), P:1(BT709_5), M:1(BT709_5), T:3(SMPTE170M)) err=0(NO_ERROR)
I/ACodec  (19068): [OMX.hisi.video.decoder.avc] using color aspects (R:2(Limited), P:1(BT709_5), M:1(BT709_5), T:3(SMPTE170M)) and dataspace 0x104
I/ACodec  (19068): onStart
I/HwExtendedUtils(19068): Set to window composer mode as 2
I/ACodec  (19068): gralloc usage: 0(OMX) => 0x2900(ACodec)
D/SurfaceUtils(19068): disconnecting from surface 0x7e0429f010, reason setNativeWindowSizeFormatAndUsage
D/SurfaceUtils(19068): connecting to surface 0x7e0429f010, reason setNativeWindowSizeFormatAndUsage
D/SurfaceUtils(19068): set up nativeWindow 0x7e0429f010 for 1080x1920, color 0x30d, rotation 0, usage 0x2900
I/ACodec  (19068): [OMX.hisi.video.decoder.avc] Allocating 6 buffers from a native window of size 3502080 on output port
W/Gralloc3(19068): allocator 3.x is not supported
I/ACodec  (19068): [OMX.hisi.video.decoder.avc] got color aspects (R:2(Limited), P:1(BT709_5), M:1(BT709_5), T:3(SMPTE170M)) err=0(NO_ERROR)
I/ACodec  (19068): [OMX.hisi.video.decoder.avc] got color aspects (R:2(Limited), P:1(BT709_5), M:1(BT709_5), T:3(SMPTE170M)) err=0(NO_ERROR)
I/ACodec  (19068): [OMX.hisi.video.decoder.avc] using color aspects (R:2(Limited), P:1(BT709_5), M:1(BT709_5), T:3(SMPTE170M)) and dataspace 0x104
I/ACodec  (19068): [OMX.hisi.video.decoder.avc] got color aspects (R:2(Limited), P:1(BT709_5), M:1(BT709_5), T:3(SMPTE170M)) err=0(NO_ERROR)
I/ACodec  (19068): [OMX.hisi.video.decoder.avc] got color aspects (R:2(Limited), P:1(BT709_5), M:1(BT709_5), T:3(SMPTE170M)) err=0(NO_ERROR)
I/ACodec  (19068): [OMX.hisi.video.decoder.avc] using color aspects (R:2(Limited), P:1(BT709_5), M:1(BT709_5), T:3(SMPTE170M)) and dataspace 0x104
I/ACodec  (19068): [OMX.hisi.video.decoder.avc] Now handling output port settings change
I/ACodec  (19068): [OMX.hisi.video.decoder.avc] Output port now disabled.
I/HwExtendedUtils(19068): Set to window composer mode as 2
I/ACodec  (19068): gralloc usage: 0(OMX) => 0x2900(ACodec)
D/SurfaceUtils(19068): disconnecting from surface 0x7e0429f010, reason setNativeWindowSizeFormatAndUsage
D/SurfaceUtils(19068): connecting to surface 0x7e0429f010, reason setNativeWindowSizeFormatAndUsage
D/SurfaceUtils(19068): set up nativeWindow 0x7e0429f010 for 1088x1920, color 0x30d, rotation 0, usage 0x2900
W/ACodec  (19068): [OMX.hisi.video.decoder.avc] setting nBufferCountActual to 14 failed: -1010
I/ACodec  (19068): [OMX.hisi.video.decoder.avc] Allocating 13 buffers from a native window of size 3133440 on output port
I/ACodec  (19068): [OMX.hisi.video.decoder.avc] Output port now reenabled.
D/ACodec  (19068): sendVideoFpsDataToiAware time:1000000000000 fps:-1 msg:-1

Code sample
Future<void> _playVideo() async {
    _videoPlayerController =
        VideoPlayerController.asset(PXFMediaNames.videoSplashAnimationVideo);
    _videoPlayerController.setLooping(false);
    _videoPlayerController.setVolume(0);
    await _videoPlayerController.initialize();
    setState(() {
      _videoLoading = false;
    });
    _videoPlayerController.play();

    _videoPlayerController.addListener(() {
      final bool isCompleted = _videoPlayerController.value.position ==
          _videoPlayerController.value.duration;
      if (isCompleted && !_videoCompleter.isCompleted) {
        _videoCompleter.complete();
      }
    });
    return _videoCompleter.future;
  }

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
[✓] Flutter (Channel stable, 3.27.1, on macOS 15.0.1 24A348 darwin-arm64, locale zh-Hans-CN)
    • Flutter version 3.27.1 on channel stable at /Users/jiamao/fvm/versions/3.27.1
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 17025dd882 (10 hours ago), 2024-12-17 03:23:09 +0900
    • Engine revision cb4b5fff73
    • Dart version 3.6.0
    • DevTools version 2.40.2
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/jiamao/Library/Android/sdk
    • Platform android-35, build-tools 34.0.0
    • ANDROID_HOME = /Users/jiamao/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 16.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 16A242d
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2023.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)

[✓] IntelliJ IDEA Ultimate Edition (version 2024.1)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 78.5.1
    • Dart plugin version 241.15845

[✓] VS Code (version 1.94.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.98.0

I use flutter run --no-enable-impeller --release,  the app works well, so I'm confused, didn't 3.27.1 disable the impeller on some older systems？

the running log is here on 3.27.1，Android 10
W/VideoCapabilities( 9877): Unrecognized profile/level 0/0 for video/mpeg2
W/VideoCapabilities( 9877): Unrecognized profile/level 0/2 for video/mpeg2
W/VideoCapabilities( 9877): Unrecognized profile/level 0/3 for video/mpeg2
I/VideoCapabilities( 9877): Unsupported profile 5 for video/mpeg2
I/chatty  ( 9877): uid=10212(com.traininpink.mobile) ExoPlayer:Playb identical 2 lines
I/VideoCapabilities( 9877): Unsupported profile 5 for video/mpeg2
W/VideoCapabilities( 9877): Unrecognized profile/level 1/32 for video/mp4v-es
W/VideoCapabilities( 9877): Unrecognized profile/level 32768/2 for video/mp4v-es
W/VideoCapabilities( 9877): Unrecognized profile/level 32768/64 for video/mp4v-es
I/OMXClient( 9877): IOmx service obtained
I/ACodec  ( 9877): In onAllocateComponent create compenent, codec name: OMX.hisi.video.decoder.avc
D/SurfaceUtils( 9877): connecting to surface 0x775d00e010, reason connectToSurface
I/MediaCodec( 9877): [OMX.hisi.video.decoder.avc] setting surface generation to 10114049
D/SurfaceUtils( 9877): disconnecting from surface 0x775d00e010, reason connectToSurface(reconnect)
D/SurfaceUtils( 9877): connecting to surface 0x775d00e010, reason connectToSurface(reconnect)
E/ACodec  ( 9877): [OMX.hisi.video.decoder.avc] setPortMode on output to DynamicANWBuffer failed w/ err -2147483648
I/ACodec  ( 9877): [OMX.hisi.video.decoder.avc] got color aspects (R:2(Limited), P:1(BT709_5), M:1(BT709_5), T:3(SMPTE170M)) err=0(NO_ERROR)
I/ACodec  ( 9877): [OMX.hisi.video.decoder.avc] got color aspects (R:2(Limited), P:1(BT709_5), M:1(BT709_5), T:3(SMPTE170M)) err=0(NO_ERROR)
I/ACodec  ( 9877): [OMX.hisi.video.decoder.avc] using color aspects (R:2(Limited), P:1(BT709_5), M:1(BT709_5), T:3(SMPTE170M)) and dataspace 0x104
I/ACodec  ( 9877): onStart
I/HwExtendedUtils( 9877): Set to window composer mode as 2
I/ACodec  ( 9877): gralloc usage: 0(OMX) => 0x2900(ACodec)
D/SurfaceUtils( 9877): disconnecting from surface 0x775d00e010, reason setNativeWindowSizeFormatAndUsage
D/SurfaceUtils( 9877): connecting to surface 0x775d00e010, reason setNativeWindowSizeFormatAndUsage
D/SurfaceUtils( 9877): set up nativeWindow 0x775d00e010 for 1080x1920, color 0x30d, rotation 0, usage 0x2900
I/ACodec  ( 9877): [OMX.hisi.video.decoder.avc] Allocating 6 buffers from a native window of size 3502080 on output port
W/Gralloc3( 9877): allocator 3.x is not supported
I/ACodec  ( 9877): [OMX.hisi.video.decoder.avc] got color aspects (R:2(Limited), P:1(BT709_5), M:1(BT709_5), T:3(SMPTE170M)) err=0(NO_ERROR)
I/ACodec  ( 9877): [OMX.hisi.video.decoder.avc] got color aspects (R:2(Limited), P:1(BT709_5), M:1(BT709_5), T:3(SMPTE170M)) err=0(NO_ERROR)
I/ACodec  ( 9877): [OMX.hisi.video.decoder.avc] using color aspects (R:2(Limited), P:1(BT709_5), M:1(BT709_5), T:3(SMPTE170M)) and dataspace 0x104
I/ACodec  ( 9877): [OMX.hisi.video.decoder.avc] got color aspects (R:2(Limited), P:1(BT709_5), M:1(BT709_5), T:3(SMPTE170M)) err=0(NO_ERROR)
I/ACodec  ( 9877): [OMX.hisi.video.decoder.avc] got color aspects (R:2(Limited), P:1(BT709_5), M:1(BT709_5), T:3(SMPTE170M)) err=0(NO_ERROR)
I/ACodec  ( 9877): [OMX.hisi.video.decoder.avc] using color aspects (R:2(Limited), P:1(BT709_5), M:1(BT709_5), T:3(SMPTE170M)) and dataspace 0x104
I/ACodec  ( 9877): [OMX.hisi.video.decoder.avc] Now handling output port settings change
I/ACodec  ( 9877): [OMX.hisi.video.decoder.avc] Output port now disabled.
I/HwExtendedUtils( 9877): Set to window composer mode as 2
I/ACodec  ( 9877): gralloc usage: 0(OMX) => 0x2900(ACodec)
D/SurfaceUtils( 9877): disconnecting from surface 0x775d00e010, reason setNativeWindowSizeFormatAndUsage
D/SurfaceUtils( 9877): connecting to surface 0x775d00e010, reason setNativeWindowSizeFormatAndUsage
D/SurfaceUtils( 9877): set up nativeWindow 0x775d00e010 for 1088x1920, color 0x30d, rotation 0, usage 0x2900
W/ACodec  ( 9877): [OMX.hisi.video.decoder.avc] setting nBufferCountActual to 14 failed: -1010
I/ACodec  ( 9877): [OMX.hisi.video.decoder.avc] Allocating 13 buffers from a native window of size 3133440 on output port
I/ACodec  ( 9877): [OMX.hisi.video.decoder.avc] Output port now reenabled.
D/ACodec  ( 9877): sendVideoFpsDataToiAware time:1000000000000 fps:-1 msg:-1
I/flutter ( 9877): User granted permission: AuthorizationStatus.authorized
I/flutter ( 9877): initialLink: null
I/HwViewRootImpl( 9877): removeInvalidNode jank list is null
I/AudioManager( 9877): requestAudioFocus focusRequest
D/ACodec  ( 9877): sendVideoFpsDataToiAware time:1000000040000 fps:25 msg:25
I/FLTFireBGExecutor( 9877): Creating background FlutterEngine instance, with args: [--start-paused, --enable-dart-profiling]
I/vulkan  ( 9877): this is igraphics layer, skip it.
I/vulkan  ( 9877): this is igraphics layer, skip it.
I/vulkan  ( 9877): Loaded layer VK_LAYER_HUAWEI_iGraphics
E/iGraphics( 9877): pfnCreateDebugReportCallback is nullptr
I/iGraphics( 9877): layers 0 VK_LAYER_HUAWEI_iGraphics
I/iGraphics( 9877): extensions 0 VK_KHR_surface
I/iGraphics( 9877): extensions 1 VK_KHR_android_surface
I/flutter ( 9877): [IMPORTANT:flutter/shell/platform/android/android_context_vk_impeller.cc(60)] Using the Impeller rendering backend (Vulkan).
D/FLTFireContextHolder( 9877): received application context.
I/flutter ( 9877): get minimal version
I/FLTFireMsgService( 9877): FlutterFirebaseMessagingBackgroundService started!
I/MediaCodec( 9877): kWhatFlush processing is complete
I/ACodec  ( 9877): [OMX.hisi.video.decoder.avc] ExecutingState flushing now (codec owns 0/5 input, 0/13 output).
I/MediaCodec( 9877): Start Processing kWhatFlushCompleted
[log] tutorialCompletedAt = 2024-11-28T06:33:16+01:00
W/ininpink.mobil( 9877): Accessing hidden method Llibcore/io/Memory;->pokeByte(JB)V (greylist, reflection, allowed)
W/ininpink.mobil( 9877): Accessing hidden method Llibcore/io/Memory;->peekByte(J)B (greylist, reflection, allowed)
W/ininpink.mobil( 9877): Accessing hidden method Lsun/misc/Unsafe;->getLong(Ljava/lang/Object;J)J (greylist,core-platform-api, reflection, allowed)
W/ininpink.mobil( 9877): Accessing hidden method Lsun/misc/Unsafe;->getInt(Ljava/lang/Object;J)I (greylist, reflection, allowed)
W/ininpink.mobil( 9877): Accessing hidden method Lsun/misc/Unsafe;->putInt(Ljava/lang/Object;JI)V (greylist, reflection, allowed)
W/ininpink.mobil( 9877): Accessing hidden method Lsun/misc/Unsafe;->getLong(Ljava/lang/Object;J)J (greylist,core-platform-api, reflection, allowed)
W/ininpink.mobil( 9877): Accessing hidden method Lsun/misc/Unsafe;->putLong(Ljava/lang/Object;JJ)V (greylist, reflection, allowed)
W/ininpink.mobil( 9877): Accessing hidden method Lsun/misc/Unsafe;->getObject(Ljava/lang/Object;J)Ljava/lang/Object; (greylist, reflection, allowed)
W/ininpink.mobil( 9877): Accessing hidden method Lsun/misc/Unsafe;->putObject(Ljava/lang/Object;JLjava/lang/Object;)V (greylist, reflection, allowed)
W/ininpink.mobil( 9877): Accessing hidden method Lsun/misc/Unsafe;->getObject(Ljava/lang/Object;J)Ljava/lang/Object; (greylist, linking, allowed)
W/ininpink.mobil( 9877): Accessing hidden method Lsun/misc/Unsafe;->getInt(Ljava/lang/Object;J)I (greylist, linking, allowed)

@JamesUncle
Can you provide the device details (make, model, gpu) on which you see the reported behavior ?
Can you also provide a short demo video ?
Also provide complete runnable code sample (ex: main.dart) that we can simply copy paste to run and verify further ?

I use flutter run --no-enable-impeller --release, the app works well,

So is it only occuring for you with impeller and not without it ?

hello,
@darshankawar I have a similar error on playing a video using Flutter 3.27.1 with Impeller. I didn't try without it yet.
Video uses codec: H.264
The error logs can be found in the following attachment.
logs.txt
Tested on a Samsung A12 using Android 10 (Model SM-A125f/dsn).
Let me know if I can share more info/details.

impeller

Yes！

@JamesUncle Can you provide the device details (make, model, gpu) on which you see the reported behavior ? Can you also provide a short demo video ? Also provide complete runnable code sample (ex: main.dart) that we can simply copy paste to run and verify further ?

https://github.com/user-attachments/assets/fa6dc3a5-e6bc-41ed-aabe-3343e71cb5d4
Device：
Android 10 Quince Tart
API 29
ANA-AN00 <IP_ADDRESS>
Java Runtime Version:  Android  Runtime 0.9
arm: aarch64
kernel version： 4.14.116
OpenGL ES： 3.2
DRM
Google
15.0.0

@darshankawar  these are the detail information above，please have a look， Thanks！

I use flutter run --no-enable-impeller --release, the app works well,

So is it only occuring for you with impeller and not without it ?

@darshankawar  YES

@JamesUncle
Can you switch to latest master and re-run your scenario to check if the behavior persist or not ?
flutter channel master
flutter upgrade

@JamesUncle Can you switch to latest master and re-run your scenario to check if the behavior persist or not ?
flutter channel master flutter upgrade

@darshankawar  I can't install 3.28.0-2.0.pre.38538 master,  I notices this issue occured in the android 11 and below，the video playback displays artifacts

@darshankawar  I noticed that some videos in the app will cause displays artifacts using impleller，and some videos will not，and it will caused on Android 10 and 11，Android 13 is ok

We had a working build using video_player 2.9.2 with a dependency override of video_player_android: 2.7.6 to deal with a previous issue in Impeller
After upgrading to Flutter 3.27.1, we also see artifacts in our videos (no changes to the video player code).  Disabling impeller gets rid of the artifacts.

From another developer on the team who disabled Impeller on Android:
'''
The visual glitches stop, but the video still doesn't play properly.
Can hear sound, but no video.
Controls (play/pause/mute) work, but their icons don't change between states.
'''
So it appears the controller is also not working well / updating state, on top of the artifact / performance issues.

I am unable to replicate the reported behavior on S10+ device running Android 12 on latest stable and master versions.
Based on the report, I will keep the issue open for team's tracking.
/cc @jonahwilliams

What devices?
I see Samsung A12. Is that it?

It's quite easy to trigger this, even with a generic Pixel 8 running sdk 35 in Android Studio.
What data can I give you to show you what you need to make this actionable?

So an emulator? which host platform and what emulator version?

We saw it on a Samsung A023F running Android 13 as well as the emulator.
I am using the emulator that shipped with Android Studio below.  It's just the Pixel 8 with SDK 35, all default arguments when creating it with Android Studio.

[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
• Android SDK at /Users/michaelpayne/Library/Android/sdk
• Platform android-35, build-tools 35.0.0
• Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11609105)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 15F31d
• CocoaPods version 1.16.2
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2024.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11609105)

I am using the emulator that shipped with Android Studio below. It's just the Pixel 8 with SDK 35, all default arguments when creating it with Android Studio.

You need to look up the emulator binary version in the SDK manager tab.

34.2.15	Update Available: 35.2.10

Now download the update please :)

Same result so far.

Thanks! Are you on linux?

MacBook Air (Mac Chip) iOS 14.3

I have the same issue on a Pixel 4 API 29 emulator using the sample code from https://pub.dev/packages/video_player
Video won't start at all, Impeller on and off both doesn't work. When I run the same code on a Pixel 9 Pro XL API 35, it start working again.
Android Emulator: 35.2.10
Flutter version: 3.17.1
Host device: MacBook Pro M4
A Dart VM Service on Android SDK built for arm64 is available at: http://<IP_ADDRESS>:50541/9am4J8nRiv8=/
D/EGL_emulation(19016): eglMakeCurrent: 0x75568cb260: ver 3 0 (tinfo 0x75567b70a0)
I/ExoPlayerImpl(19016): Init 4960913 [AndroidXMedia3/1.4.1] [emulator64_arm64, Android SDK built for arm64, Google, 29]
W/le.video_glitc(19016): Accessing hidden method Landroid/media/AudioTrack;->getLatency()I (greylist, reflection, allowed)
D/NetworkSecurityConfig(19016): No Network Security Config specified, using platform default
The Flutter DevTools debugger and profiler on Android SDK built for arm64 is available at: http://<IP_ADDRESS>:9103?uri=http://<IP_ADDRESS>:50541/9am4J8nRiv8=/
D/EGL_emulation(19016): eglMakeCurrent: 0x755b43f860: ver 3 0 (tinfo 0x755b418f00)


Should await using Await for forward compatibility?

Given the talks about potentially adding a Symbol.asyncEnter in follow-up proposals, I would like to discuss the implications.
I assume that a [Symbol.asyncEnter]() method would return a promise (or it wouldn't have to be differentiated from [Symbol.enter]()), in which case the await using declaration would have to introduce an Await step for the result.
Given that we at Agoric are still opposed to non statically analyzable conditional await points (aka depending on the value), and that we consider a later change to the static await using semantics to be a non backward compatible change for the same reason, if there is a fair possibility of such future language extensions, we ask the champions to consider introducing an Await step today for any await using declaration.

My main worry is that by not awaiting unconditionally at the await using declaration, we preclude any future changes that would require awaiting. If we don't think we'll ever need something like Symbol.asyncEnter, then I agree we don't need to add an Await step today, but we are closing that possibility.

If it's an AsyncDisposable, the create function should be async in case the creation fails and needs to perform async roll back.

I think @rbuckton 's argument is that the create can always return an AsyncDisposable. In the case of a create failing, it can technically initiate the rollback right away and return a useless AsyncDisposable that will block that rollback's completion when disposed, and maybe return the creation error there? I do agree it's not optimal, hence why I had raised this issue.

This is part of the reason why I'm not in favor of calling it Symbol.create. If you were going to do work asynchronously to create the resource, you do it on acquisition/initialization, i.e.:
await using x = await openResourceAsync(); // explicit `await` as part of opening the resource

If the intent of the symbol is purely to guide users towards using/await using over const, then it should not be a way to introduce other complex effects. If you want complex effects like this, then you want something more like full Python-like context managers, which are being discussed in #49.

@mhofman
I think @rbuckton 's argument is that the create can always return an AsyncDisposable. In the case of a create failing, it can technically initiate the rollback right away and return a useless AsyncDisposable that will block that rollback's completion when disposed, and maybe return the creation error there? I do agree it's not optimal, hence why I had raised this issue.

If you do that, you can't bail out the program after you return the Disposable, the closest point you can bail out the caller is when the caller uses any method on the disposable, or until the object is disposed.
function createRemoteHandle(addr: string, file: string): Creator<Disposable<Handle>> {
    return { [Symbol.create]() {
        const stack = AsyncDisposableStack();
        const { openAsync, closeAsync: closeRemoteAsync } = await remoteHandle(addr);
        stack.defer(async () => await closeRemoteAsync());
        try {
            const { writeAsync, closeAsync: closeFileAsync } = await openAsync(file);
            stack.defer(async () => await closeFileAsync());
            return {
                writeAsync,
                async [Symbol.asyncDispose]() {
                    await stack.dispose();
                }
            };
        } catch (error) {
            await remote.close();
            return {
                async writeAsync() {
                    throw error;
                },
                async [Symbol.asyncDispose]() {
                    await stack.dispose();
                    throw error;
                }
            };
        }
    } };
}

{
    await using handle = createRemoteHandle(addr, file); // if the Symbol.create function fails,
    await someIntensiveOperations(); // you can't bail out here;
    await handle.write(data); // only here you have a chance to bail
}

@mhofman
I think @rbuckton 's argument is that the create can always return an AsyncDisposable. In the case of a create failing, it can technically initiate the rollback right away and return a useless AsyncDisposable that will block that rollback's completion when disposed, and maybe return the creation error there? I do agree it's not optimal, hence why I had raised this issue.

If you do that, you can't bail out the program after you return the Disposable, the closest point you can bail out the caller is when the caller uses any method on the disposable, or until the object is disposed.

As I said, I think if you're going to perform any kind of async acquisition of a resource, you should do so explicitly in the initializer, i.e. await using handle = await createRemoteHandle(addr, file). I'm not really a fan of adding additional implicit await behavior. We chose the await using keyword order to more clearly indicate that what is being "awaited" is the side-effect of the using declaration (i.e., disposal).

But the Deferrer contract I mentioned in #159 can help:
type AsyncDeferrer = AsyncDisposableStack["defer"];

function AsyncDeferrer(): Creator<Disposable<AsyncDeferrer>> {
    const stack = new AsyncDisposableStack();
    const defer = Object.assign(stack.defer.bind(stack), { [Symbol.asyncDispose]: stack.dispose.bind(stack) });
    return { [Symbol.create]() { return defer; } };
}

async function createRemoteHandle(defer: AsyncDeferrer, addr: string, file: string): Handle {
    const { open, closeAsync: closeRemoteAsync } = await remoteHandle(addr);
    defer(async () => await closeRemoteAsync());
    const { writeAsync, closeAsync: closeFileAsync } = open(file);
    defer(async () => await closeFileAsync());
    return { writeAsync };
}

{
    await using defer = AsyncDeferrer;
    const handle = await createRemoteHandle(defer, addr, file);
    await someIntensiveOperations();
    await handle.write(data);
}


Improve UI when going from regular flag value to MV value

It's confusing to users when going from a regular flag value to an MV flag value variate. We need to be clear that the values jump from being Environment based to being Project based as it is not really clear from the UI that this is the case.

When adding the first variation to a flag, include the following admonition underneath the "Variations" sub heading:

Variation values are shared across environments. Variation weights are specific to this Environment. Check the Docs for more.

Added

Noticed that tooltips arent right on dark from this
Adjusted:


Add a tutorial for using SVGs as components.

I've played around with this concept a bunch and this is the best method I've found:
Pros:

It reduces all SVG imports to a single line, so if you call multiple SVGs, your imports don't get messy
It allows you to use SVGs as components, which lets you add props for customisation

Cons:

No automatic conversion of SVGs to JSX, requires updating some SVG attributes manually.
No automatic optimisation of SVGs, SVGs should be run through SVGO beforehand for performance reasons.

Things I've also considered:

Having an SVGs folder and importing individual TSX files (makes importing really messy)
Pasting SVG code directly (makes code messier, prevents reuse of SVG code)
Adding a build step for automatic compilation similar to create-react-app (increases build complexity, requires all SVGs go through the same optimisation steps where different steps are needed)

Thanks @mikeybinnswebdesign but there are so many use cases for SVGs I'm not sure we can recommend a single approach.
Your method here repeats the SVGs in the SSR'd content. Imagine a list of 100 items that all have 5 SVGs in them. That's 500 repeated blocks of svg content. The most optimal method from a performance standpoint (not DX ofc) is to have basically a single svg file with several icons in it and then reference them by id where you want to use them. (I've been meaning to write about this).

Makes sense :)


offsets not working [BUG]

offsets not working, general gold and level don't show

It's will be easier when we will get promised tutorial for getting offsets.

It's will be easier when we will get promised tutorial for getting offsets. That project be little dead, only updates be about offsets meh. #177 - one month ago

I do this in my free time for free for the community. If you need updates or offsets quicker, feel free to provide those yourself.
Offsets updated and Tutorial posted


ci-ipsec-upgrade: Fix upgrade/downgrade path and add missed tail calls check to upgrade

/ci-ipsec-upgrade

I'll take care of backports as part of my own work on the workflow. Gray's commit hasn't been backported yet anyway.


Fix test using com.docker.network.mtu

This should be com.docker.network.driver.mtu
fixes https://github.com/docker/libnetwork/issues/1906
ping @abhinandanpb PTAL

LGTM

@thaJeztah should we investigate why the test is passing?

Yes, if you have thoughts, definitely 👍

since its an option I dont there is a check to verify.

don't have much context in this area, but I guess if the option is for a driver would have to contain the .driver. string I imagine, in that case I would say that we do not validate at the level of libnetwork, but if that string is not there, will probably mean that is a libnetwork option, so we can actually validate it and return an error if not recognized. What do you guys think? @thaJeztah @abhinandanpb

I think for this test if we want to check if mtu is set appropriately which would also mean we would have validated the option - we can add a check network.mtu ==  1600 and network is returned by controller.NewNetwork

I was more referring as a general approach more than the test itself, how to avoid to accept options that won't create any effect but will simply be silently ignored. As a first line of defense check that the option at least exists and if not return an error.

LGTM

@fcrisciani anything you want me to change in this PR, or good to go?


Updated to latest version of core from Tizen SDK 2.3.1

Updated to latest version of core from Tizen SDK 2.3.1

@nix1 Please check this.

@nix1 now is ok. debug module works fine now.

thanks @stepek :)


test: net: socket: do not enable USE_PSA and all PSA features

This commit fixes #73337.
Before #72243 Mbed TLS was not using
USE_PSA and all PSA features were not enabled. After #72243 if BUILD_WITH_TFM is set:

USE_PSA in Mbed TLS is enabled by default and
all PSA features are enabled.

This commits reverts both changes for net.socket.register.tls test case.
Note: I was only able to run the test on the nrf9160dk board because I don't have the nrf5340dk mentioned on the original issue. On nrf9160dk the net.socket.register.tls is passing now. I would really appreciate if some reviewer can check nrf5340dk for me as double check.

Tested the fix using both

nrf5340dk/nrf5340/cpuapp/ns
nrf9160dk/nrf9160/ns

Works great, thanks!


Add happyland by happiness1

Song Name
happyland
Artist Name
happiness1
Source
Youtube
Youtube Link
nOeVNsHeidOp0rcO
Direct File Link
No response
Song ID
4235
Start Offset [ms]
0
Extra
Created from Auto Nong.
Created for level: 107173199

reject
invalid YouTube link


Unable to deploy on Kubernetes

I am trying to deploy Hygieia on Kubernetes but I am unable to do it. I have successfully deployed the Hygieia UI on K8s but unable to get the API and mongo working together. FYI, I am using MongoDB replica sets in k8s.
Also, I am unable to figure out what should I write in api.properties(dbhost: ) I tried with the service name of mongo and the label of service of mongo pod, but still no success.
If someone has deployed it on k8s or has some documentation, please share.

we are lookin for help in this area. If you find success we would greatly appreciate

Use below env on your deployment files.
API_HOST, API_PORT, DB_HOST, DB_PORT

Hi! Im also working on this. Should we setup a meeting somehow someday?

I've managed to run these services on kubernetes:

API
UI
Audit-API
Jira Collector
GitHub Collector

There are some caveats regarding the state for the collectors, but it works!
I am currently working on the AWS Collector for the Cloud view and some helm charts for alpha.

Hello @cristian04, sounds cool. I was able to deploy API, UI in Kubernetes but when I was trying to signup in my dashboard I was getting error user already exists, i also increases the auth. expiration time still the same issue, Later I figure out I had some cors issue as well so I solved it anyhow but then when i tried to signup, it took me to the home page with a cross sign-on API connectivity.

It would be really helpful @cristian04 if u share your deployment, service and ingress yaml files.

Hi we have deployed on kubernetes and that are working fine
This would be the file for hygieia-ui deployment
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
  name: hygieia-ui
  labels:
    app: hygieia-ui
spec:
  replicas: 1
  selector:
    matchLabels:
      app: hygieia-ui
  template:
    metadata:
      labels:
        name: hygieia-ui
        app: hygieia-ui
    spec:
      hostname: hygieia-ui
      containers:
      - name: hygieia-ui
        image: <image name here>
        imagePullPolicy: IfNotPresent
        env:
        - name: API_HOST
          value: "hygieia-api"
        - name: API_PORT
          value: <port for api>
        resources:
            limits:
              cpu: <max cpu needed >
              memory: <max mem needed>
            requests:
              cpu: <min cpu needed >
              memory: <min mem needed>
        ports:
        - containerPort: <port>

Thanks @Ayush-Goyal-coding for sharing for deployment file, but are you using the replica sets for MongoDb?

@kopal2212 no
We can't have replica sets of mongodb pod it seems
There is some documentation on mongodb official page check that out and let me know if that's useful

@Ayush-Goyal-coding  Thanks but it is not like that, For High Availability, we often use multiple MongoDB pods. So for Hygieia also I did the same, deployed multiple pods of MongoDB in K8s with stateful sets, but I am stuck with the communication with the pods. Let me figure out if i can have a workaround for it. Alternatively, I have deployed Hygieia on EC2 by configuring the collectors as services with Systemd. It is also working fine for now.

Hi all! Apologies for the delay sharing my manifests. Please find them on this repo: https://github.com/clvr-cloud/hygiea-devops-poc

Thanks @cristian04

Thanks @cristian04

Thanks @kopal2212 for your comments too

Hi @kopal2212  I am trying to deploy Hygieia dashboard on k8s but not able to do so!! can you please share the Hygieia - UI and api deployment yaml and service yaml file so that I can refer that for deploying in K8s... It will be great help!!!


Implement scanner for continuous learning

Alpha Scanner

[x] Scan
[x] Submit builds to pipeline
[x]  Collect data
[ ] Tests (Integration test will be changed in https://github.com/repairnator/repairnator-integration-tests/issues/4)

SequencerRepair
Test patch correctness (https://github.com/eclipse/repairnator/issues/1087)

[x] Test buildabe
[x] Test line fix

Misc

[x] Allow docker sibling containers
[x] Config variable for Patch overfitting ranking (#1084)
[x] Changed patch overfitting ranking implemented to be lazy
[x] Removed feature to push SequencerCollector findings to GitHub repo

Signed-off-by: Javier Ron<EMAIL_ADDRESS>

After a proper test case and clean-up this should be ready.
Please see this comment (https://github.com/eclipse/repairnator/pull/1085#discussion_r448459176). I would want to get the scanner <-> learning loop working as fast as possible, and after that I can focus on the different strategies to predict and test patches.
My next step will definitely be to have a line detection tool working (either Astor or a java implementation of LogParser), and then I will move to have the "sequencer training loop" running locally on the sequencer machine.
@monperrus WDYT? Are this reasonable next steps, or should I aim first for the "local build -> test in Travis" mechanism for SequencerRepair?

now we need one test (integration test is enough, no need for a unit test)

Integration test will be handled in https://github.com/repairnator/repairnator-integration-tests/issues/4 after merged and snapshots are updated.

Ack, please ping me when it's ready again.

@monperrus CI is green again :sweat_smile:

Thanks Javier :-)


Corrected help message for createwallet

This fixes issue #30
Help message for createwallet changed to "Create a wallet"

@farisshajahan

I created a wallet
then invoked the command again

test@bkb-dev-server1:~/python-peerplays$ python3 cli.py createwallet
Wallet Passphrase:
Repeat for confirmation:
test@bkb-dev-server1:~/python-peerplays$

If I provide the same password again, its proceeding without complaining or showing that there is already a wallet.
Ideally it should check whether the wallet is existing or show a proper error message or informational message

@bobinson
Wallet Passphrase:
Repeat for confirmation:
Traceback (most recent call last):
  File "cli.py", line 5, in <module>
    cli.main()
  File "/home/faris/venv/lib/python3.6/site-packages/click/core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "/home/faris/venv/lib/python3.6/site-packages/click/core.py", line 717, in main
    rv = self.invoke(ctx)
  File "/home/faris/venv/lib/python3.6/site-packages/click/core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/faris/venv/lib/python3.6/site-packages/click/core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/faris/venv/lib/python3.6/site-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/home/faris/venv/lib/python3.6/site-packages/click/decorators.py", line 17, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/home/faris/venv/lib/python3.6/site-packages/click/decorators.py", line 17, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/home/faris/venv/lib/python3.6/site-packages/click/decorators.py", line 17, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/home/faris/python-peerplays/peerplays/cli/decorators.py", line 49, in new_func
    return ctx.invoke(f, *args, **kwargs)
  File "/home/faris/venv/lib/python3.6/site-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/home/faris/python-peerplays/peerplays/cli/decorators.py", line 66, in new_func
    return ctx.invoke(f, *args, **kwargs)
  File "/home/faris/venv/lib/python3.6/site-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/home/faris/python-peerplays/peerplays/cli/wallet.py", line 21, in createwallet
    ctx.peerplays.wallet.create(password)
  File "/home/faris/venv/lib/python3.6/site-packages/graphenecommon/wallet.py", line 145, in create
    self.newWallet(pwd)
  File "/home/faris/venv/lib/python3.6/site-packages/graphenecommon/wallet.py", line 151, in newWallet
    raise WalletExists("You already have created a wallet!")
graphenecommon.exceptions.WalletExists: You already have created a wallet!

This is what I get when I try to createwallet while having an existing wallet

@farisshajahan  - how did you run the command ?

@bobinson Tried it two ways, one with python cli.py createwallet and another with peerplays createwallet. I got the same result as above in both cases.

@farisshajahan - which is the Python version that you have ?
I am getting a different behavior with Python 3.6.7
root@bkb-dev-server1:/home/test/python-peerplays# python --version
Python 3.6.7

peerplays createwallet
root@bkb-dev-server1:/home/test/python-peerplays# /root/.pyenv/shims/peerplays createwallet
Wallet Passphrase:
Repeat for confirmation:
root@bkb-dev-server1:/home/test/python-peerplays# /root/.pyenv/shims/peerplays createwallet
Wallet Passphrase:
Repeat for confirmation:
root@bkb-dev-server1:/home/test/python-peerplays#

python cli.py createwallet

root@bkb-dev-server1:/home/test/python-peerplays# python cli.py createwallet
Wallet Passphrase:
Repeat for confirmation:
root@bkb-dev-server1:/home/test/python-peerplays#
root@bkb-dev-server1:/home/test/python-peerplays#
root@bkb-dev-server1:/home/test/python-peerplays# python cli.py createwallet
Wallet Passphrase:
Repeat for confirmation:
root@bkb-dev-server1:/home/test/python-peerplays#

@bobinson
Interesting....
I'm running the same version too... 3.6.7

@bobinson
I'm running the same version 3.6.7 as well

@bobinson
Is it possible that a wallet wasn't created in your case?

looks like the file is not getting accessed the second time:
root@bkb-dev-server1:/home/test/python-peerplays# stat /root/.local/share/peerplays/peerplays.sqlite
File: '/root/.local/share/peerplays/peerplays.sqlite'
Size: 4096            Blocks: 8          IO Block: 4096   regular file
Device: fc00h/64512d    Inode: 8521698     Links: 1
Access: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2019-07-19 08:12:12.551755979 -0300
Modify: 2019-07-19 08:11:46.499850624 -0300
Change: 2019-07-19 08:11:46.499850624 -0300
Birth: -
root@bkb-dev-server1:/home/test/python-peerplays# peerplays createwallet
Wallet Passphrase:
Repeat for confirmation:
root@bkb-dev-server1:/home/test/python-peerplays# stat /root/.local/share/peerplays/peerplays.sqlite
File: '/root/.local/share/peerplays/peerplays.sqlite'
Size: 4096            Blocks: 8          IO Block: 4096   regular file
Device: fc00h/64512d    Inode: 8521698     Links: 1
Access: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2019-07-19 08:12:12.551755979 -0300
Modify: 2019-07-19 08:11:46.499850624 -0300
Change: 2019-07-19 08:11:46.499850624 -0300
Birth: -
root@bkb-dev-server1:/home/test/python-peerplays#

@farisshajahan  - are you running with virtualenv ?

This particular fix itself works. There is difference in behavior of the createwallet feature between virtualenv and pyenv + pip based environments. That has to be addressed elsewhere.

Looks good.


help! - attempt to call upvalue 'rol' (a nil value)

Hi;
I have chosen lua-websockets (and ported it and dependencies to OpenWrt packages) for the client portion of a licencing client / server, which may be extended for a remote configuration service.
Lua 5.1 (and, cannot upgrade without breaking a lot of Lua portion of OpenWrt, such as Luci
I am missing bit operations support (issue title, not shown in dependencies) and, seek advice regarding how to remedy this. An outline of alternatives is here: http://lua-users.org/wiki/BitwiseOperators
From which the best practice is suggested to use Lua BitOp (library, Lua API). Is this true, or, anyone have a better recommendation?
Also, I note that luacrypto (optionally) is an openssl wrapper. I have luasec for this ( http://luasec.luaforge.net/), which appears to be a more modern implementation. Any plans / advice regarding using luasec as opposed to luacrypto, or, is my best option to port luacrypto?
Full disclosure: relative Lua newbie, but intend to catch up (engineer)
Thanks for considering...
Bill Ross

temporary? workaround (echo-client-ev.lua works):
use luaJIT (as opposed to lua) which:
a) has required bit operations
b) is binary comparable with lua extensions such as lua-ev
c) is blazing fast compared to lua
still interested to answers to above questions and very interested in SSL (wss) support.

@rossbcan right now you need either lua 5.1 + luabitop or luajit or lua >= 5.2
client wss support is on list. server wss is unlikely.