How do I use the retrained ssd-mobilenet.onnx model in a custom script?

How do I use the retrained ssd-mobilenet.onnx model in a custom script?
Here's the partial code I have that works fine with the existing ssd-mobilenet-v1. It displays the video with the detections:
network = "ssd-mobilenet-v1"
net = jetson.inference.detectNet(network=network, threshold=0.5)
video = './my_video.mp4'
cap = cv2.VideoCapture(video)
while (cap.isOpened()):
	ret, img = cap.read()
	img = cv2.rotate(img, cv2.ROTATE_90_CLOCKWISE)
	height = img.shape[0]
	width = img.shape[1]
	img = cv2.cvtColor(img, cv2.COLOR_BGR2RGB)
	img = cv2.cvtColor(img, cv2.COLOR_RGB2RGBA).astype(np.float32)
	img = jetson.utils.cudaFromNumpy(img)
	detections = net.Detect(img, width, height)
	img = jetson.utils.cudaToNumpy(img, width, height, 4)
	img = cv2.cvtColor(img, cv2.COLOR_RGBA2RGB).astype(np.uint8)
	img = cv2.cvtColor(img, cv2.COLOR_RGB2BGR)
	cv2.imshow('detected image', img)
	if cv2.waitKey(1) & 0xFF == ord('q'):
		break

I followed the steps to retrain the model and everything seems fine, however, if I use
network="ssd-mobilenet.onnx"
in the above script, I get the following error:
jetson.inference -- detectNet loading build-in network '/home/tim/python_scripts/jetson-inference/python/training/detection/ssd/models/uuvs/ssd-mobilenet.onnx'
jetson.inference -- detectNet invalid built-in network was requested ('/home/tim/python_scripts/jetson-inference/python/training/detection/ssd/models/uuvs/ssd-mobilenet.onnx')
Traceback (most recent call last):
  File "my-detection.py", line 44, in <module>
    net = jetson.inference.detectNet(network=network, threshold=0.5)
Exception: jetson.inference -- detectNet invalid built-in network was requested

Thanks in advance!

Hi @silent-code, normally this would be done from the command line like here:
https://github.com/dusty-nv/jetson-inference/blob/master/docs/pytorch-ssd.md#processing-images-with-tensorrt
detectnet --model=models/fruit/ssd-mobilenet.onnx --labels=models/fruit/labels.txt \
          --input-blob=input_0 --output-cvg=scores --output-bbox=boxes \
            "images/fruit_*.jpg" test_fruit

However if you wish to hard-code these into your script, the easiest way would just be to construct it like this:
net = jetson.inference.detectNet(argv=['--model=ssd-mobilenet.onnx', '--labels=models/fruit/labels.txt', '--input-blob=input_0', '--output-cvg=scores', '--output-bbox=boxes'])

Adjust the paths above for --model and --labels for your model.

That works! Thanks and sorry for nube question but I'm new to using python packages in custom code that have C++ bindings. The reason for wanting to go beyond the command line execution is to integrate the jetson-inference python module in an autonomous drone. Another final question. Why use arv[ ... ] in the net instantiation and not use something like the following
net = jetson.inference.detectNet(model='../training/detection/ssd/models/uuvs/ssd-mobilenet.onnx',
							labels='../training/detection/ssd/models/uuvs/labels.txt',
							input-blob=input_0,
							output-cvg=scores, output-bbox=boxes, threshold=.15)

Why use argv[ ... ] in the net instantiation and not use something like the following

The only reason is that I haven't written the bindings and argument parsing for those additional function arguments.   Since you can't overload the Python constructor, it makes the bindings complex to support 1) build-in model name, 2) command-line arguments, and 3) extended parameters

Hi @silent-code, normally this would be done from the command line like here:
https://github.com/dusty-nv/jetson-inference/blob/master/docs/pytorch-ssd.md#processing-images-with-tensorrt
detectnet --model=models/fruit/ssd-mobilenet.onnx --labels=models/fruit/labels.txt \
          --input-blob=input_0 --output-cvg=scores --output-bbox=boxes \
            "images/fruit_*.jpg" test_fruit

However if you wish to hard-code these into your script, the easiest way would just be to construct it like this:
net = jetson.inference.detectNet(argv=['--model=ssd-mobilenet.onnx', '--labels=models/fruit/labels.txt', '--input-blob=input_0', '--output-cvg=scores', '--output-bbox=boxes'])

Adjust the paths above for --model and --labels for your model.

Hey @dusty-nv ,
Im using Jetpack 4.4 and I tried to implement the network in my script as you showed above but I get this error.
However, when I run the "detectnet -model/models........." code in the terminal it works fine. This is my code and the error I receive
### Code:
`import jetson.inference
import jetson.utils
net = jetson.inference.detectNet(argv=['--model=models/adas/ssd-mobilenet.onnx', '--labels=models/adas/labels.txt', '--input-blob=input_0', '--output-cvg=scores', '--output-bbox=boxes'])
camera = jetson.utils.videoSource("csi://0")      # '/dev/video0' for V4L2
display = jetson.utils.videoOutput("display://0") # 'my_video.mp4' for file
while display.IsStreaming():
img = camera.Capture()
detections = net.Detect(img)
display.Render(img)
display.SetStatus("Forward Collision Detection {:.0f} FPS".format(net.GetNetworkFPS()))`
### Output:
`jetson.inference -- detectNet loading network using argv command line params
detectNet -- loading detection network model from:
-- prototxt     NULL
-- model        models/adas/ssd-mobilenet.onnx
-- input_blob   'input_0'
-- output_cvg   'scores'
-- output_bbox  'boxes'
-- mean_pixel   0.000000
-- mean_binary  NULL
-- class_labels models/adas/labels.txt
-- threshold    0.500000
-- batch_size   1
[TRT]    TensorRT version 7.1.3
[TRT]    loading NVIDIA plugins...
[TRT]    Registered plugin creator - ::GridAnchor_TRT version 1
[TRT]    Registered plugin creator - ::NMS_TRT version 1
[TRT]    Registered plugin creator - ::Reorg_TRT version 1
[TRT]    Registered plugin creator - ::Region_TRT version 1
[TRT]    Registered plugin creator - ::Clip_TRT version 1
[TRT]    Registered plugin creator - ::LReLU_TRT version 1
[TRT]    Registered plugin creator - ::PriorBox_TRT version 1
[TRT]    Registered plugin creator - ::Normalize_TRT version 1
[TRT]    Registered plugin creator - ::RPROI_TRT version 1
[TRT]    Registered plugin creator - ::BatchedNMS_TRT version 1
[TRT]    Could not register plugin creator -  ::FlattenConcat_TRT version 1
[TRT]    Registered plugin creator - ::CropAndResize version 1
[TRT]    Registered plugin creator - ::DetectionLayer_TRT version 1
[TRT]    Registered plugin creator - ::Proposal version 1
[TRT]    Registered plugin creator - ::ProposalLayer_TRT version 1
[TRT]    Registered plugin creator - ::PyramidROIAlign_TRT version 1
[TRT]    Registered plugin creator - ::ResizeNearest_TRT version 1
[TRT]    Registered plugin creator - ::Split version 1
[TRT]    Registered plugin creator - ::SpecialSlice_TRT version 1
[TRT]    Registered plugin creator - ::InstanceNormalization_TRT version 1
[TRT]    detected model format - ONNX  (extension '.onnx')
[TRT]    desired precision specified for GPU: FASTEST
[TRT]    requested fasted precision for device GPU without providing valid calibrator, disabling INT8
[TRT]    native precisions detected for GPU:  FP32, FP16
[TRT]    selecting fastest native precision for GPU:  FP16
[TRT]    attempting to open engine cache file .1.1.7103.GPU.FP16.engine
[TRT]    cache file not found, profiling network model on device GPU
Error:  model file 'models/adas/ssd-mobilenet.onnx' was not found.
if loading a built-in model, maybe it wasn't downloaded before.
    Run the Model Downloader tool again and select it for download:

       $ cd <jetson-inference>/tools
       $ ./download-models.sh

[TRT]    detectNet -- failed to initialize.
jetson.inference -- detectNet failed to load network
Traceback (most recent call last):
File "/home/irfwas/Desktop/pypro/ForwardCollisionWarning/testRetrainedSSD.py", line 4, in
net = jetson.inference.detectNet(argv=['--model=models/adas/ssd-mobilenet.onnx', '--labels=models/adas/labels.txt', '--input_blob=input_0', '--output_cvg=scores', '--output_bbox=boxes'])
Exception: jetson.inference -- detectNet failed to load network `

Error: model file 'models/adas/ssd-mobilenet.onnx' was not found.
if loading a built-in model, maybe it wasn't downloaded before.

Hi @irfwas, are you running your script from the directory which contains models/adas/ssd-mobilenet.onnx?
The current working directory of your terminal should be the directory above your models/ folder.
As a quick test, you could also change your script to reference the absolute paths of your model and labels to make sure it can load first.

Thank you so much for your reply @dusty-nv. I was really looking forward to it.
Yes, I am trying to run the script from the directory which contains models/adas/ssd-mobilenet.onnx. I tried to train this model for 100 epochs but it got killed at around 52 epochs, so I decided to go ahead and convert it to an '.onnx' file. I tried to use it in the terminal using the detectnet as shown in the tutorial and it worked fine and even managed to hit 40 fps, yet I can't get it to work in the script.
I have tried to use the absolute paths for the models and labels as shown in the code below, however, I am still receiving the same error message as the message shown earlier. What should I do, or what am I doing wrong?
I really need your help as this is my final stage before having to present my project as part of my final year project (FYP) which is due in 2 weeks. I sincerely hope you can help.
net = jetson.inference.detectNet(argv=['--model=home/jetson-inference/python/training/detection/ssd/models/adas/ssd-mobilenet.onnx', '--labels=home/jetson-inference/python/training/detection/ssd/models/adas/labels.txt', '--input-blob=input_0', '--output-cvg=scores', '--output-bbox=boxes'])


2.0: UI fails to build

Summary of Issue:
UI does not build with npm start
Steps to Reproduce:
After running npm install, run npm start
Expected Results:
The UI builds
Actual Results:
You get the below error

><EMAIL_ADDRESS>start /Users/ehenley/go/src/github.com/supergiant/supergiant/cmd/ui/assets
> ng serve --proxy-config proxy.conf.json

** Angular Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ **

Date: 2018-11-08T19:27:46.214Z
Hash: 502dbcfa9d429f14b6db
Time: 9779ms
chunk {main} main.js, main.js.map (main) 1.97 kB [initial] [rendered]
chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 714 bytes [initial] [rendered]
chunk {runtime} runtime.js, runtime.js.map (runtime) 6.22 kB [entry] [rendered]
chunk {scripts} scripts.js, scripts.js.map (scripts) 211 kB  [rendered]
chunk {styles} styles.js, styles.js.map (styles) 343 kB [initial] [rendered]
chunk {vendor} vendor.js, vendor.js.map (vendor) 326 kB [initial] [rendered]

ERROR in src/app/clusters/cluster/cluster.component.ts(282,5): error TS2554: Expected 2 arguments, but got 1.

ℹ ｢wdm｣: Failed to compile.```

Dev Info: (fill out and add links to log files)
1.  `1.10`
2. a56cc00e9b7c51dbbd6f75b05f9d8acb3b53a8fa
3. n/a
4. n/a
5.n/a
6. n/a

This has been resolved.

Solved By: https://github.com/supergiant/supergiant/pull/765


[UnitaryHack] Add AWS Batch task cancellation

[ ] I have added the tests to cover my changes.
[ ] I have updated the documentation and CHANGELOG accordingly.
[ ] I have read the CONTRIBUTING document.

closes #76

@WingCode you really snuck this one in before the buzzer! Nice work. Reminder that this will need to be merged before June 20th in order to be eligible for a unitaryHACK bounty.
cc @wjcunningham7

@natestemen This PR is ready to review.
@kessler-frost The following test is failing. Would you have any pointers to fix it?


fix agrs 1char no panic (fix issue #21)

fix panic slice bounds out of range in func argToLower

Coverage increased (+0.06%) to 86.801% when pulling 47fce753ff9e7d86adeef0b81d1076edd2f8110e on fix-no-flags-panic into a5202e14a367f8bbddfbf17590da71c0a767f7bc on master.


\ifblank fails if input contains a catcode-3 &

MWE
\documentclass{article}

\usepackage{etoolbox}

\begin{document}
\begingroup
\catcode`\&=3 %
\ifblank{?&}{T}{F}
\endgroup
\end{document}

Bug only shows up if there is one or more preceding tokens: see https://github.com/plk/biblatex/issues/257#issuecomment-126952785 for this in the wild.

Fixed by 6a0fe37886a96a9a1244729e16181c49bc9b6d48 (porting expl3 code).


Improve cached_op performance for static mode

Description
@pengzhao-intel @TaoLv @xinyu-intel @junrushao1994
When gluon model hybridize with static_shape=True, static_alloc=True, cached_op with static mode will be used. For this situation, we should try to cache operator state for better performance. This PR is to enable this feature to speed up gluon inference speed, especially for small batch sizes.
Below data is collected on SKX-8180 28 cores, SKX GLUON INT8 OPT shows the performance change from this PR, base is SKX GLUON INT8.

GLUON ResNet50 V1(10 cores for rec decoder)
SKX GLUON FP32
SKX GLUON INT8
SKX GLUON INT8 OPT

Throughput(img/sec, bs=1)
64.6
11.89
144.53

Throughput(img/sec, bs=2)
79.74
23.1
226.04

Throughput(img/sec, bs=4)
111.9
43.45
302.4

Throughput(img/sec, bs=8)
134.86
78.72
347.6

Throughput(img/sec, bs=16)
143.52
129.09
362.93

Throughput(img/sec, bs=32)
146.63
197.63
381.2

Throughput(img/sec, bs=64)
153.89
261.33
380.79

Throughput(img/sec, bs=128)
156.82
326.23
408.38

Accuracy(5000 imgs)
77.21%93.55%
76.86%/93.46
76.86%/93.46

GLUON MobileNet1.0(10 cores for rec decoder)
SKX GLUON FP32
SKX GLUON INT8
SKX GLUON INT8 OPT

Throughput(img/sec, bs=1)
166.23
38.77
281.28

Throughput(img/sec, bs=2)
238.79
75.81
518.52

Throughput(img/sec, bs=4)
333.2
143.83
987.63

Throughput(img/sec, bs=8)
397.46
262.47
1245.85

Throughput(img/sec, bs=16)
425.35
425.63
1332.25

Throughput(img/sec, bs=32)
451.89
653.8
1474.7

Throughput(img/sec, bs=64)
471.77
897.99
1528.63

Throughput(img/sec, bs=128)
468.67
1125.75
1557.16

Accuracy(5000 imgs)
73.28%/91.22%
72.85%/90.99%
72.85%/90.99%

Checklist
Essentials
Please feel free to remove inapplicable items for your PR.

[ ] The PR title starts with [MXNET-$JIRA_ID], where $JIRA_ID refers to the relevant JIRA issue created (except PRs with tiny changes)
[ ] Changes are complete (i.e. I finished coding on this PR)
[ ] All changes have test coverage:
Unit tests are added for small changes to verify correctness (e.g. adding a new operator)
Nightly tests are added for complicated/long-running ones (e.g. changing distributed kvstore)
Build tests will be added for build configuration changes (e.g. adding a new build option with NCCL)
[ ] Code is well-documented:
For user-facing API changes, API doc string has been updated.
For new C++ functions in header files, their functionalities and arguments are documented.
For new examples, README.md is added to explain the what the example does, the source of the dataset, expected performance on test set and reference to the original paper if applicable
Check the API doc at http://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-$PR_ID/$BUILD_ID/index.html
[ ] To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

Changes

[ ] Feature1, tests, (and when applicable, API doc)
[ ] Feature2, tests, (and when applicable, API doc)

Comments

If this change is a backward incompatible change, why must this change be made.
Interesting edge cases to note here

cc @zhreshold

Please fix CI and minor issue, this is awesome!!

Can the performance measurement scripts be shared?

@larroy I think the test is already part of gluonCV
https://gluon-cv.mxnet.io/build/examples_deployment/int8_inference.html
@xinyu-intel am I right?

@pengzhao-intel @larroy yes, mainly use imagenet classification verify_pretrained.py and eval ssd for gluoncv evaluation. BTW, after Gluoncv #755 merged along with this pr. The performance will get improvement.

@zhreshold please help to review again :)


ErisDB docs for RPC erisdb.eventUnsubscribe are wrong

Missing required parameter name.

Thanks very much for reporting this. I have proposed a fix that should be merged shortly.


Support requested in setting up Archivebox

I am looking for someone who can assist me in configuring Archivebox in the proper way to support my project.
My project is about a list of priceplans
Currently my list of URL's looks like this:

The list is being used as an import file for a dashboard and the user who retrieves a particular company will be guided to the url mentioned in this table. Every URL points to a single page with a price scheme of the company. At the end of December each of these urls will get updated with information for 2022 or will get deleted and replaced with some other url for 2022.
I would like to store the information for the current year and keep it accessible.
Therefore I would like to replace every URL with a URL that refers to a specific domain that holds an archive of all these pages. I have no interest in storing additional pages that are linked to this URL, etc. It's only about the information on the given url.
I am not enough an expert in internet pages and ArchiveBox has just too many features for me to get this done save and sound before the year is coming to an end and these pages are being replaced.
Can someone assist me in setting up such a project with ArchiveBox?
Thanks

Just run this every few months:
cat list_of_urls.txt > archivebox add

Then to view your archive run:
archivebox setup
archivebox server <IP_ADDRESS>:8000

and open http://<IP_ADDRESS>:8000
All the setup instructions are clearly laid out in the Quickstart: https://github.com/ArchiveBox/ArchiveBox#quickstart

Just run this every few months:
cat list_of_urls.txt > archivebox add

Did you mean | instead of >?


How to modify SASS variables of a vuetify component?

Hello,
I am trying to change some SASS variables for the v-date-picker from vuetify but I can't make it work yet. I checked the documentation from vuetify itself and some issue reports from nuxt about this topic but I'm not sure what the best approach is when using the vuetify-nuxt-module.
What would be the correct steps to modify the SASS variable of a vuetify-compent?
Any help much appreciated!

I am having the same problem.
Some SASS variables can be edited (like $button-border-radius) but variables that have to do with fonts cannot be edited (like $body-font-family).
The variables that can be edited, can be edited in this way:
// nuxt.config.js
vuetify: {
    moduleOptions: {
      styles: { configFile: 'assets/vuetify.scss' }
    }
}

And the scss file:
@use 'vuetify' with (

  // This variable can be changed
  $grid-breakpoints: (xs: 0,
    sm: 768px,
    md: 992px,
    lg: 1200px,
    xl: 1900px),

  // This variable cannot be changed
  $body-font-family: 'Open Sans' sans-serif,
);

If someone knows how to change all available variable, and specifically the font settings, please help!

check nuxt channel in vuetify discord server: https://discord.com/channels/340160225338195969/1198016523873308745

I am having the same problem.
Some SASS variables can be edited (like $button-border-radius) but variables that have to do with fonts cannot be edited (like $body-font-family).
The variables that can be edited, can be edited in this way:
// nuxt.config.js
vuetify: {
    moduleOptions: {
      styles: { configFile: 'assets/vuetify.scss' }
    }
}

And the scss file:
@use 'vuetify' with (

  // This variable can be changed
  $grid-breakpoints: (xs: 0,
    sm: 768px,
    md: 992px,
    lg: 1200px,
    xl: 1900px),

  // This variable cannot be changed
  $body-font-family: 'Open Sans' sans-serif,
);

If someone knows how to change all available variable, and specifically the font settings, please help!

Thank you for the suggestion. I am still getting an error about the fact that the module is alreadt loaded:
Internal server error: [sass] Module loop: this module is already being loaded.
How did you solve this?

I am having the same problem.
Some SASS variables can be edited (like $button-border-radius) but variables that have to do with fonts cannot be edited (like $body-font-family).
The variables that can be edited, can be edited in this way:
// nuxt.config.js
vuetify: {
    moduleOptions: {
      styles: { configFile: 'assets/vuetify.scss' }
    }
}

And the scss file:
@use 'vuetify' with (

  // This variable can be changed
  $grid-breakpoints: (xs: 0,
    sm: 768px,
    md: 992px,
    lg: 1200px,
    xl: 1900px),

  // This variable cannot be changed
  $body-font-family: 'Open Sans' sans-serif,
);

If someone knows how to change all available variable, and specifically the font settings, please help!

Thank you for the suggestion. I am still getting an error about the fact that the module is alreadt loaded: Internal server error: [sass] Module loop: this module is already being loaded.
How did you solve this?

Oh, I mistyped something.
It works in my code with @use 'vuetify/settings'

Another solution can be found here on Discord: https://discord.com/channels/340160225338195969/1198016523873308745/1209515947342176296

Oh, I mistyped something.
It works in my code with @use 'vuetify/settings'

Thanks for the quick reply! I also tried that before but in that case all my vuetify css is completely gone. Could it be that it is only needed to then first import the whole 'default' css file and only overwrite the desired SASS variables?

#204 seems to solve this:

v0.13.2 fixes this issue, so you just need to use as follows, no additional css imports are required.

I had to update to 0.16.1 though with these settings:
@forward 'vuetify/settings' with (
$navigation-drawer-transition-duration: 1s
);


V5:  refactor env options

Formatting using prettier

FIX: errorThreshold when used in an object

BREAKING: Rollback to use single keys to configure cypress-regression-plugin, instead of using an object.
This is do to the fact that we cannot override an object on cypress CLI , please refer to this issue for more info .
Now any config key will have a namespace and will follow camelCase notation:

env: {
  visualRegressionType: TypeOption
  visualRegressionBaseDirectory?: string
  visualRegressionDiffDirectory?: string
  visualRegressionGenerateDiff?: DiffOption
  visualRegressionFailSilently?: boolean
}

@Zaista , please feel free to merge the PR and make a new NPM release (v 5.0.0) if you consider so

Merged and released 🚀 Thanks for the speedy fix


Visitor Refinements

[ ] Boolean literal is not visited
[ ] IValueNode can be removed from the default visitor


Session Title not displayed properly in LocationsActivity

Actual Behaviour
As seen in the screenshot the title is not shown properly in LocationsActivity.
Expected Behaviour
Change in the layout file so as to display the title properly.
LogCat for the issue

Screenshots of the issue

Would you like to work on the issue?
yes.

@arp95 #1214 points to this! @mananwason This issue persists in other devices as well you can see in screenshots.

@arp95 i am not facing the issue you faced. Its just a bug in layout files. will just send a pr and you will get to know.


Support bundle for mgmt cluster

Description of changes:
Previously, we assumed all clusters were self-managed when generating a support bundle.
Now, we check the isSelfManaged() method of the spec to determine if the we should collect and analyze management resources (CAPI crds, cluster crd, bundle, etc) when generating a support bundle for a cluster.
the method WithManagementCluster(isSelfManaged bool) will determine if a bundle uses the mgmt cluster collectors/analyzers or not.
Testing
generated default support bundles w/out spec input
generated support bundles w/spec input
generated support bundles for workload and management clusters
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: danbudris
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [danbudris]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: danbudris, jiayiwang7
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [danbudris,jiayiwang7]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/lgtm


Add test runner for the linkable openmp examples

Written in bash to match the rest of the infra. Added near smoke as it reuses most of the machinery from there. Can certainly be improved, especially by someone who understands how our build scripts work, but putting this up asap in case others would like a ready-made way of running the examples from https://github.com/OpenMP/Examples
Some comments in place. './run.sh' should work out of the box.
The basic plan is to look at the files that might be tests and generate test runners for the ones that claim "@@linkable: yes". Notably some of those don't link because they call functions that aren't defined.

Takes ~ 1.5s to generate all the scripts then ~ 56s to run the generated tests. run.sh unconditionally regenerates the tests at present. We might want to change the makefile runner to execute tests in parallel.
A few compiler crashes in there - e.g. task_dep.6 asserts "No clauses are allowed for 'omp taskwait" and some things that look like parsing failures.


added-profile-card-page

Project-Guidance! 🎊🎈
Welcome! 🎉
Thank you for visiting our repository! We're excited to have you here. If you find this project useful, please consider giving it a star! ⭐
🎉 Have you reviewed the Contributing Guidelines? 🤔 (Required)

[X] YES
[ ] NO

📝 Description

Added a new profile card page in the web development basic project section
🔧 Fixes #1456 (Required)

🏷 Initiative Participation (Required)
This pull request is associated with the following initiative. Please choose the one you are contributing to:

[X] 🌸 GSSoC (Girl Script Summer of Code)
[X] 🌼 GSSoC 2024 Extd.
[X] 🍂 Hacktoberfest 2024
[ ] ❄ Script Winter of Code (SWoC)
[ ] ⛄ Winter of Blockchain (WoB)
[ ] 🙋♂ Personal
[ ] 📌 Other (please specify): _______________

@Kushal997-das I have made the changes you have asked for. Can you check my recent commits and let me know if any changes are still required?

@Arveti-likhitha The files do not meet the required standards.


UI does not render / black screen

Hey,
Congratulations on getting this out! Unfortunately, I was not able to run the debugger on my end. The viewport is blank, with occasional UI elements popping in on mouse hover.
Unfortunately, I only have a few details to provide, but please let me know if you need any specifics!
Specs
Windows 11 - 22631.3007
NVIDIA GeForce RTX 3080 Ti - driver 546.33
Media
https://github.com/EpicGames/raddebugger/assets/9026786/f5a00849-0065-4035-835b-9cfe5ab1135e
Thank you!

Can you force debug layer and run under debugger?
You can do that by enabling it in DirectX Control Panel (dxcpl.exe) for specific application exe or by editing code.

I see the same behaviour as OP's video. I have the exact same Windows version, Nvidia card, and Nvidia driver version.
Here's the output from the D3D11 debug layer:
D3D11 WARNING: Process is terminating. Using simple reporting. Please call ReportLiveObjects() at runtime for standard reporting. [ STATE_CREATION WARNING #0: UNKNOWN]
D3D11 WARNING: Live Producer at 0x000001A28DC19420, Refcount: 37. [ STATE_CREATION WARNING #0: UNKNOWN]
D3D11 WARNING: 	Live Object at 0x000001A291FA6C90, Refcount: 2. [ STATE_CREATION WARNING #0: UNKNOWN]
D3D11 WARNING: 	Live Object at 0x000001A2961F5720, Refcount: 0. [ STATE_CREATION WARNING #0: UNKNOWN]
D3D11 WARNING: 	Live Object at 0x000001A2961A2B70, Refcount: 0. [ STATE_CREATION WARNING #0: UNKNOWN]
D3D11 WARNING: 	Live Object at 0x000001A296204C90, Refcount: 1. [ STATE_CREATION WARNING #0: UNKNOWN]
D3D11 WARNING: 	Live Object at 0x000001A296204ED0, Refcount: 0. [ STATE_CREATION WARNING #0: UNKNOWN]
D3D11 WARNING: 	Live Object at 0x000001A296205110, Refcount: 0. [ STATE_CREATION WARNING #0: UNKNOWN]
D3D11 WARNING: 	Live Object at 0x000001A296205350, Refcount: 0. [ STATE_CREATION WARNING #0: UNKNOWN]
D3D11 WARNING: 	Live Object at 0x000001A2962055D0, Refcount: 1. [ STATE_CREATION WARNING #0: UNKNOWN]
D3D11 WARNING: 	Live Object at 0x000001A296205810, Refcount: 1. [ STATE_CREATION WARNING #0: UNKNOWN]
D3D11 WARNING: 	Live Object at 0x000001A296205C00, Refcount: 1. [ STATE_CREATION WARNING #0: UNKNOWN]
D3D11 WARNING: 	Live Object at 0x000001A296205E40, Refcount: 1. [ STATE_CREATION WARNING #0: UNKNOWN]
D3D11 WARNING: 	Live Object at 0x000001A296206080, Refcount: 1. [ STATE_CREATION WARNING #0: UNKNOWN]
D3D11 WARNING: 	Live Object at 0x000001A2962062C0, Refcount: 1. [ STATE_CREATION WARNING #0: UNKNOWN]
D3D11 WARNING: 	Live Object at 0x000001A2962086F0, Refcount: 1. [ STATE_CREATION WARNING #0: UNKNOWN]
D3D11 WARNING: 	Live Object at 0x000001A296232910, Refcount: 1. [ STATE_CREATION WARNING #0: UNKNOWN]
D3D11 WARNING: 	Live Object at 0x000001A2962307B0, Refcount: 1. [ STATE_CREATION WARNING #0: UNKNOWN]
D3D11 WARNING: 	Live Object at 0x000001A29622EE00, Refcount: 1. [ STATE_CREATION WARNING #0: UNKNOWN]
D3D11 WARNING: 	Live Object at 0x000001A296231EF0, Refcount: 1. [ STATE_CREATION WARNING #0: UNKNOWN]
D3D11 WARNING: 	Live Object at 0x000001A29627B7C0, Refcount: 1. [ STATE_CREATION WARNING #0: UNKNOWN]
D3D11 WARNING: 	Live Object at 0x000001A29627D5D0, Refcount: 1. [ STATE_CREATION WARNING #0: UNKNOWN]
D3D11 WARNING: 	Live Object at 0x000001A2962B1A90, Refcount: 1. [ STATE_CREATION WARNING #0: UNKNOWN]
D3D11 WARNING: 	Live Object at 0x000001A2962C63F0, Refcount: 1. [ STATE_CREATION WARNING #0: UNKNOWN]
D3D11 WARNING: 	Live Object at 0x000001A2962D26D0, Refcount: 1. [ STATE_CREATION WARNING #0: UNKNOWN]
D3D11 WARNING: 	Live Object at 0x000001A2962D33C0, Refcount: 1. [ STATE_CREATION WARNING #0: UNKNOWN]
D3D11 WARNING: 	Live Object at 0x000001A2962D1E30, Refcount: 1. [ STATE_CREATION WARNING #0: UNKNOWN]
D3D11 WARNING: 	Live Object at 0x000001A2962CFAF0, Refcount: 1. [ STATE_CREATION WARNING #0: UNKNOWN]
D3D11 WARNING: 	Live Object at 0x000001A2962EF0E0, Refcount: 1. [ STATE_CREATION WARNING #0: UNKNOWN]
D3D11 WARNING: 	Live Object at 0x000001A2962F8930, Refcount: 1. [ STATE_CREATION WARNING #0: UNKNOWN]
D3D11 WARNING: 	Live Object at 0x000001A2962F8D50, Refcount: 1. [ STATE_CREATION WARNING #0: UNKNOWN]
D3D11 WARNING: 	Live Object at 0x000001A2962CAE20, Refcount: 1. [ STATE_CREATION WARNING #0: UNKNOWN]
D3D11 WARNING: 	Live Object at 0x000001A29632C7E0, Refcount: 0. [ STATE_CREATION WARNING #0: UNKNOWN]
D3D11 WARNING: 	Live Object at 0x000001A2920D8430, Refcount: 1. [ STATE_CREATION WARNING #0: UNKNOWN]
D3D11 WARNING: 	Live Object at 0x000001A2920DB320, Refcount: 1. [ STATE_CREATION WARNING #0: UNKNOWN]
D3D11 WARNING: 	Live Object at 0x000001A2920D7FF0, Refcount: 0. [ STATE_CREATION WARNING #0: UNKNOWN]
D3D11 WARNING: 	Live Object at 0x000001A296388E60, Refcount: 0. [ STATE_CREATION WARNING #0: UNKNOWN]
D3D11 WARNING: 	Live Object at 0x000001A2963815B0, Refcount: 0. [ STATE_CREATION WARNING #0: UNKNOWN]
D3D11 WARNING: 	Live Object at 0x000001A296388420, Refcount: 0. [ STATE_CREATION WARNING #0: UNKNOWN]
D3D11 WARNING: 	Live Object at 0x000001A2963819F0, Refcount: 0. [ STATE_CREATION WARNING #0: UNKNOWN]
D3D11 WARNING: 	Live Object at 0x000001A296390E20, Refcount: 0. [ STATE_CREATION WARNING #0: UNKNOWN]
D3D11 WARNING: 	Live Object at 0x000001A29638D390, Refcount: 0. [ STATE_CREATION WARNING #0: UNKNOWN]
D3D11 WARNING: 	Live Object at 0x000001A296392220, Refcount: 0. [ STATE_CREATION WARNING #0: UNKNOWN]
D3D11 WARNING: 	Live Object at 0x000001A2963924F0, Refcount: 1. [ STATE_CREATION WARNING #0: UNKNOWN]
D3D11 WARNING: 	Live Object at 0x000001A29638A050, Refcount: 1. [ STATE_CREATION WARNING #0: UNKNOWN]
D3D11 WARNING: 	Live Object at 0x000001A2963930E0, Refcount: 1. [ STATE_CREATION WARNING #0: UNKNOWN]
D3D11 WARNING: 	Live Object at 0x000001A2963933B0, Refcount: 1. [ STATE_CREATION WARNING #0: UNKNOWN]
D3D11 WARNING: 	Live Object at 0x000001A296393FA0, Refcount: 1. [ STATE_CREATION WARNING #0: UNKNOWN]
D3D11 WARNING: 	Live Object at 0x000001A296394240, Refcount: 1. [ STATE_CREATION WARNING #0: UNKNOWN]
D3D11 WARNING: 	Live Object at 0x000001A29202E340, Refcount: 0. [ STATE_CREATION WARNING #0: UNKNOWN]
D3D11 WARNING: Live                         Object :     48 [ STATE_CREATION WARNING #0: UNKNOWN]

None of that looks suspicious to me; I've just added a --force_d3d11_software flag you can pass to raddbg from command line in ca8727c4afdfce24f62b701e3f82c79006a16297, which will ask for a software D3D11 driver. It's very slow, but it might help us get to the bottom of this issue.
If you pull from the dev branch, build, and then pass --force_d3d11_software to raddbg, do you get the same result?
If you don't want to build locally then I've attached a build here also:
raddbg.zip

Running the debug build with D3D11 dbg layer enabled in the debugger does not give me any warnings or logs that would look out of place.
I've now tested the attached build with --force_d3d11_software passed, the issue persists.

it is not completely black, when hovering on buttons you do have the animation. but the overall screen is black.

Is it possible for someone who is experiencing this issue to provide a RenderDoc capture? That might also provide some useful information.

Is it possible for someone who is experiencing this issue to provide a RenderDoc capture? That might also provide some useful information.

Here is the capture (had to ZIP it for the attachment)
raddbg_cap.zip

Is it possible for someone who is experiencing this issue to provide a RenderDoc capture? That might also provide some useful information.

Here is the capture (had to ZIP it for the attachment)

doc.zip

Same issue, noticed that the default.raddbg_user in the appdata directory for raddbg has every color in it set to 0x00000000.  Tested setting plain_text to 0xFFFFFFFF and suddenly I had visible text.

From RenderDoc capture it does look like colors are indeed coming into shader as zeroes.

Oh boy. Reproduced... Stand by.

as a temp solution:
in AppData\Roaming\raddbg paste this:
colors:
{
plain_text:                    0xe5e5e5ff
plain_background:              0x3333337f
plain_border:                  0xffffff19
plain_overlay:                 0xffffff33
code_default:                  0xe5e5e5ff
code_function:                 0x7fcc99ff
code_type:                     0x66b2e5ff
code_local:                    0xfe9548ff
code_keyword:                  0xf7bf5eff
code_symbol:                   0x994c32ff
code_numeric:                  0x4ce54cff
code_string:                   0xe5cc66ff
code_meta:                     0xe54c4cff
code_comment:                  0x7f7f7fff
line_info_0:                   0x3f72993f
line_info_1:                   0x3f72994c
line_info_2:                   0x3f729972
line_info_3:                   0x3f72997f
alt_text:                      0xe5e5e5ff
alt_background:                0x42474c7f
alt_border:                    0xffffff19
alt_overlay:                   0xffffff33
tab_inactive:                  0x42474c7f
tab_active:                    0xa87a4c99
entity_background:             0x4293cc99
query_bar:                     0x8e2d4ccc
weak_text:                     0xffffff7f
text_selection:                0x99ccff4c
cursor:                        0x66e566e5
highlight_0:                   0xb27219ff
highlight_1:                   0x327f19ff
success_text:                  0xe5e5e5ff
success_background:            0x32b219ff
success_border:                0xffffff33
failure_text:                  0xe5e5e5ff
failure_background:            0xb23219ff
failure_border:                0xffffff33
action_text:                   0xffffffff
action_background:             0x327fb2ff
action_border:                 0xffffff33
drop_site_overlay:             0xffffff0c
thread_0:                      0xffcb7fff
thread_1:                      0xb2ff65ff
thread_2:                      0xff99e5ff
thread_3:                      0x6598ffff
thread_4:                      0x65ffcbff
thread_5:                      0xff9819ff
thread_6:                      0x9932ffff
thread_7:                      0x65ff4cff
thread_unwound:                0xb2ccd8ff
inactive_panel_overlay:        0x0000003f
drop_shadow:                   0x0000007f
}

Here I was thinking it was the renderer... turns out it has to do with what I changed earlier today. Who would've guessed :')

Sorry about that all. Just overwrote the 0.9.1-alpha release, since the debugger was unusable as long was this in there, so you can redownload here.

As a note to anyone who experienced this even after redownloading; delete the config in %appdata%\raddbg and it'll work.


Consider moving "troubleshooting" methods to another interface

Currently Config contains methods to access meta configuration ("ConfigConfig"), such as getConfigSources()
These methods may be confusing for end user, as they should not be used (except for troubleshooting purposes, or for some advanced use cases - @struberg, could you please share such a use case here?).
These may be moved to a separate class (and should be moved if we go with tree structure).

We removed the MP APIs copied on the initial commit, so this no longer applies.


Should Algo be package private?

Is there any reason for Algo being package private? In this case, how could I implement a new one?

I can't see a good reason for it to remain package private; pull requests welcome


update schemasaurus version

Hi,
thank you for adding schemasaurus to benchmark, I've planned to fix my PR today but found you've already done with it.
Could you please re-run benchmark with updated version? I've fixed performance a bit.
Thank you.

done :-)

I'm doing Open Open Source for this benchmark. So I added you as collaborator. Anybody who contributes valuable work, becomes a collaborator. Please continue to do pull requests. But collaborators can merge pull requests. and if there is anything controversial about them, we can talk about it in the pull request.


Why not using GMFlow as the default optical flow estimator

Hi
Thanks for the great work and the decently-written, well-commented codebase!
I noticed you also have GMFlow as an alternative optical flow estimator but the default setting is still RAFT. Since GMFlow is a relatively new method with reported scores higher than RAFT, I wonder why you made this selection :)
Thanks in advance!

In practice, we found that RAFT gives more accurate/usable optical flow. GMFlow is much faster to run, though, so we use it for pretraining.


Attempting to edit class comments results in AssertionFailure

AssertionFailure: Start and end must be positive or both zero
See attached image.   Investigating...

Do you have any specific description for this one? Were you typing or deleting something?

Sorry, I meant to get back to this and got sidetracked.
To reproduce: create (or edit) a class comment so that begins with a list, e.g.:
- Class comment first line
- Class comment second line

The remainder of the class comment.

Then inspect the class and its comment.

This has been fixed somewhere along the way, closing.


[FreeBSD] Rename .memory to .pointee in Glibc

What's in this pull request?
.memory was renamed to .pointee but one instance was missed in Glibc due to being behind #if.
This partially fixes the build for FreeBSD.
Resolved bug number: (SR-)

Before merging this pull request to apple/swift repository:

[ ] Test pull request on Swift continuous integration.

Triggering Swift CI
The swift-ci is triggered by writing a comment on this PR addressed to the GitHub user @swift-ci. Different tests will run depending on the specific comment that you use. The currently available comments are:
Smoke Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please smoke test
    OS X platform               | @swift-ci Please smoke test OS X platform
    Linux platform              | @swift-ci Please smoke test Linux platform

Validation Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please test
    OS X platform               | @swift-ci Please test OS X platform
    Linux platform              | @swift-ci Please test Linux platform

Note: Only members of the Apple organization can trigger swift-ci.

.memory was renamed to .pointee but one location was missed, renaming to fix the build for FreeBSD

Thank you!


feat(theme): High contrast light theme added

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


Consider using a workspace instead of a fully separate crate

Right now, cargo fuzz init generates the following Cargo.toml:
[package]
name = "example-fuzz"
version = "0.0.0"
publish = false
edition = "2021"

[package.metadata]
cargo-fuzz = true

[dependencies]
libfuzzer-sys = "0.4"

[dependencies.example]
path = ".."

# Prevent this from interfering with workspaces
[workspace]
members = ["."]

[profile.release]
debug = 1

[[bin]]
name = "fuzz_target_1"
path = "fuzz_targets/fuzz_target_1.rs"
test = false
doc = false

In particular, this puts all the fuzz targets in a separate workspace. I am not sure why that decision was made - it prevents reusing the build cache between the fuzzer and the rest of the code. It would be nice if they shared a workspace and therefore a cache.
I do see that this configures profile.release, so to avoid interfering with existing configs it could use a new profile.fuzzing or something like that.

# Prevent this from interfering with workspaces

This has been there since before I started hacking on cargo fuzz. Not sure what the "interfering" alluded to actually is.
@Manishearth any idea?

"interfering" is probably referring to this error:
; c fuzz check
error: current package believes it's in a workspace when it's not:
current:   /Users/jyn/src/example/fuzz/Cargo.toml
workspace: /Users/jyn/src/example/Cargo.toml

this may be fixable by ensuring that this crate is depended on by the workspace root: /Users/jyn/src/example/Cargo.toml
Alternatively, to keep it out of the workspace, add the package to the `workspace.exclude` array, or add an empty `[workspace]` table to the package's manifest.
Error: failed to build fuzz script: "cargo" "check" "--manifest-path" "/Users/jyn/src/example/fuzz/Cargo.toml" "--target" "aarch64-apple-darwin" "--release" "--bins"

so to make this part of the workspace, you'd have to also edit example/Cargo.toml, not just create the new example/fuzz/Cargo.toml.

Yep. We can remove that if we also fix the workspace editing. We ought to.

I agree that fuzzers should be part of the main workspace. Sharing the Cargo.lock with the main workspace ensures that you fuzz the exact dependencies that you build against. It also includes fuzz targets in cargo fmt --all and cargo clippy --workspace invocations, which is nice.
In addition to adding the fuzz directory to the root workspace members, you should also define the fuzz targets with:
bench = false

otherwise, cargo bench --workspace will get stuck, running fuzz targets as if they were benchmarks.

I believe this issue can be resolved now given that 0.11.4 version of cargo-fuzz contains changes from https://github.com/rust-fuzz/cargo-fuzz/pull/357


⚠ Bofrost.be has degraded performance

In 1b9403b, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 2000 ms

Resolved: Bofrost.be performance has improved in 1fb390b.


Default Threshold Value should show 0 in GUI

Currently blank .. Reckon should show 0

Fixed in https://github.com/lithnet/miis-autosync/releases/tag/v1.2.6692


Part of the page content is not displayed

Request type

[ ] Please close this issue, I accidentally submitted it without adding any details
[ ] New documentation
[x] Correction or update

Details

https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Basic_Concepts_of_Flexbox

This works for me; can you try it again?

Hrm, This seems to work fine for me and a couple of my colleagues, so I don't really know what to say. I'm closing this for now, but we'll keep an eye out for any strange behavior.


Invalid argument: Incompatible shapes

After Step 30 ， an error occurred：
W tensorflow/core/framework/op_kernel.cc:1158] Invalid argument: Incompatible shapes: [32,1205,80] vs. [32,1000,80]
help，thanks!

Try setting the max_iters hyperparameter to a larger value. See here for more context: https://github.com/keithito/tacotron/issues/16

some samples too long

@keithito thanks


stack from a foreign GitHub repo with my own docker-compose.override.yml file

Use Case: Using Portainer at Home and Using Portainer in a Commercial setup.
Have you reviewed our technical documentation and knowledge base? Yes
Question:
How I can deploy the stack from a foreign GitHub repo with my own docker-compose.override.yml file?
For example netbox-docker

Your best bet here is to fork the repository, add your docker-compose.override.yml to your forked repo, then use our Git deployment functionality to deploy the stack from your forked repo.

+1


OpenCV 4.10.0 installed instead of OpenCV 4.8.1

I'm experiencing a bug where trying to build 4.8.1 leads to 4.10.0 being installed.
Build Command:
OPENCV_VERSION=4.8.1 CUDA_VERSION=12.2 jetson-containers build opencv:4.8.1
docker run -it opencv:4.8.1-r36.3.0-cu122 python3 -c "import cv2; print(cv2.getBuildInformation())"

General configuration for OpenCV 4.10.0-dev =====================================
  Version control:               08f7f13

  Extra modules:
    Location (extra):            /opt/opencv_contrib/modules
    Version control (extra):     80f1ca2

  Platform:
    Timestamp:                   2024-10-13T19:09:18Z
    Host:                        Linux 5.15.136-tegra aarch64
    CMake:                       3.22.1
    CMake generator:             Unix Makefiles
    CMake build tool:            /usr/bin/gmake
    Configuration:               RELEASE
    Algorithm Hint:              ALGO_HINT_ACCURATE

  CPU/HW features:
    Baseline:                    NEON FP16
      requested:                 DETECT
      required:                  NEON
    Dispatched code generation:  NEON_DOTPROD NEON_FP16 NEON_BF16
      requested:                 NEON_FP16 NEON_BF16 NEON_DOTPROD
      NEON_DOTPROD (1 files):    + NEON_DOTPROD
      NEON_FP16 (2 files):       + NEON_FP16
      NEON_BF16 (0 files):       + NEON_BF16

  C/C++:
    Built as dynamic libs?:      YES
    C++ standard:                11
    C++ Compiler:                /usr/bin/c++  (ver 11.4.0)
    C++ flags (Release):         -fsigned-char -W -Wall -Wreturn-type -Wnon-virtual-dtor -Waddress -Wsequence-point -Wformat -Wformat-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections  -fvisibility=hidden -fvisibility-inlines-hidden -O3 -DNDEBUG  -DNDEBUG
    C++ flags (Debug):           -fsigned-char -W -Wall -Wreturn-type -Wnon-virtual-dtor -Waddress -Wsequence-point -Wformat -Wformat-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections  -fvisibility=hidden -fvisibility-inlines-hidden -g  -O0 -DDEBUG -D_DEBUG
    C Compiler:                  /usr/bin/cc
    C flags (Release):           -fsigned-char -W -Wall -Wreturn-type -Waddress -Wsequence-point -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections  -fvisibility=hidden -O3 -DNDEBUG  -DNDEBUG
    C flags (Debug):             -fsigned-char -W -Wall -Wreturn-type -Waddress -Wsequence-point -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections  -fvisibility=hidden -g  -O0 -DDEBUG -D_DEBUG
    Linker flags (Release):      -Wl,--gc-sections -Wl,--as-needed -Wl,--no-undefined
    Linker flags (Debug):        -Wl,--gc-sections -Wl,--as-needed -Wl,--no-undefined
    ccache:                      NO
    Precompiled headers:         NO
    Extra dependencies:          m pthread cudart_static dl rt nppc nppial nppicc nppidei nppif nppig nppim nppist nppisu nppitc npps cublas cudnn cufft -L/usr/local/cuda/lib64 -L/usr/lib/aarch64-linux-gnu
    3rdparty dependencies:

  OpenCV modules:
    To be built:                 alphamat aruco bgsegm bioinspired calib3d ccalib core cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping cudev datasets dnn dnn_objdetect dnn_superres dpm face features2d flann freetype fuzzy gapi hfs highgui img_hash imgcodecs imgproc intensity_transform line_descriptor mcc ml objdetect optflow phase_unwrapping photo plot python3 quality rapid reg rgbd saliency shape signal stereo stitching structured_light superres surface_matching text tracking video videoio videostab wechat_qrcode xfeatures2d ximgproc xobjdetect xphoto
    Disabled:                    world
    Disabled by dependency:      -
    Unavailable:                 cannops cvv hdf java julia matlab ovis python2 sfm ts viz
    Applications:                apps
    Documentation:               NO
    Non-free algorithms:         YES

  GUI:                           GTK3
    GTK+:                        YES (ver 3.24.33)
    VTK support:                 NO

  Media I/O:
    ZLib:                        /usr/lib/aarch64-linux-gnu/libz.so (ver 1.2.11)
    JPEG:                        /usr/lib/aarch64-linux-gnu/libjpeg.so (ver 80)
    WEBP:                        build (ver encoder: 0x020f)
    PNG:                         /usr/lib/aarch64-linux-gnu/libpng.so (ver 1.6.37)
    TIFF:                        build (ver 42 - 4.6.0)
    JPEG 2000:                   build (ver 2.5.0)
    OpenEXR:                     build (ver 2.3.0)
    HDR:                         YES
    SUNRASTER:                   YES
    PXM:                         YES
    PFM:                         YES

  Video I/O:
    FFMPEG:                      YES
      avcodec:                   YES (58.134.100)
      avformat:                  YES (58.76.100)
      avutil:                    YES (56.70.100)
      swscale:                   YES (5.9.100)
      avresample:                NO
    GStreamer:                   YES (1.20.3)
    v4l/v4l2:                    YES (linux/videodev2.h)

  Parallel framework:            TBB (ver 2021.5 interface 12050)

  Trace:                         YES (with Intel ITT)

  Other third-party libraries:
    Lapack:                      YES (/usr/lib/aarch64-linux-gnu/liblapack.so /usr/lib/aarch64-linux-gnu/libcblas.so /usr/lib/aarch64-linux-gnu/libatlas.so)
    Eigen:                       YES (ver 3.4.0)
    Custom HAL:                  YES (carotene (ver 0.0.1))
    Protobuf:                    build (3.19.1)
    Flatbuffers:                 builtin/3rdparty (23.5.9)

  NVIDIA CUDA:                   YES (ver 12.2, CUFFT CUBLAS FAST_MATH)
    NVIDIA GPU arch:             87
    NVIDIA PTX archs:

  cuDNN:                         YES (ver 8.9.4)

  Python 3:
    Interpreter:                 /usr/local/bin/python3 (ver 3.10.12)
    Libraries:                   /usr/lib/aarch64-linux-gnu/libpython3.10.so (ver 3.10.12)
    Limited API:                 NO
    numpy:                       /usr/local/lib/python3.10/dist-packages/numpy/core/include (ver 1.26.4)
    install path:                lib/python3.10/dist-packages/cv2/python-3.10

  Python (for build):            /usr/local/bin/python3

  Java:
    ant:                         NO
    Java:                        NO
    JNI:                         NO
    Java wrappers:               NO
    Java tests:                  NO

  Install to:                    /usr/local
-----------------------------------------------------------------

I know that the correct tag is being checked out (4.8.1) and that the correct commit hashes for each of the opencv repos is being checked out as well (verified manually).
Additionally after this line:
https://github.com/dusty-nv/jetson-containers/blob/6d985857d61dc9fdb4e368a54ac49b82ef9d5bca/packages/opencv/build.sh#L82 I can verify that 4.8.1-dirty is installed. However, after the cmake command, 4.10.0-dev is installed and shows up in the build outputs.
I checked that $OPENCV_VERSION == 4.8.1 and $OPENCV_PYTHON == 4.x
Is anyone else able to repro these results building the container from scratch?

Hi Adam, I think it may be related to this line:
https://github.com/dusty-nv/jetson-containers/blob/6d985857d61dc9fdb4e368a54ac49b82ef9d5bca/packages/opencv/install.sh#L22
Where it installs opencv-contrib~=OPENCV_VERSION
The tilde is it so it matches the dev versions like 4.10.0g281813
You might try changing that or hardcoding it to 4.8 to see if that works?

From: Adam Patni @.>
Sent: Sunday, October 13, 2024 3:55:16 PM
To: dusty-nv/jetson-containers @.>
Cc: Subscribed @.***>
Subject: [dusty-nv/jetson-containers] OpenCV 4.10.0 installed instead of OpenCV 4.8.1 (Issue #680)
I'm experiencing a bug where trying to build 4.8.1 leads to 4.10.0 being installed.
Build Command:
OPENCV_VERSION=4.8.1 CUDA_VERSION=12.2 jetson-containers build opencv:4.8.1
docker run -it opencv:4.8.1-r36.3.0-cu122 python3 -c "import cv2; print(cv2.getBuildInformation())"
General configuration for OpenCV 4.10.0-dev =====================================
Version control:               08f7f13
Extra modules:
Location (extra):            /opt/opencv_contrib/modules
Version control (extra):     80f1ca2
Platform:
Timestamp:                   2024-10-13T19:09:18Z
Host:                        Linux 5.15.136-tegra aarch64
CMake:                       3.22.1
CMake generator:             Unix Makefiles
CMake build tool:            /usr/bin/gmake
Configuration:               RELEASE
Algorithm Hint:              ALGO_HINT_ACCURATE
CPU/HW features:
Baseline:                    NEON FP16
requested:                 DETECT
required:                  NEON
Dispatched code generation:  NEON_DOTPROD NEON_FP16 NEON_BF16
requested:                 NEON_FP16 NEON_BF16 NEON_DOTPROD
NEON_DOTPROD (1 files):    + NEON_DOTPROD
NEON_FP16 (2 files):       + NEON_FP16
NEON_BF16 (0 files):       + NEON_BF16
C/C++:
Built as dynamic libs?:      YES
C++ standard:                11
C++ Compiler:                /usr/bin/c++  (ver 11.4.0)
C++ flags (Release):         -fsigned-char -W -Wall -Wreturn-type -Wnon-virtual-dtor -Waddress -Wsequence-point -Wformat -Wformat-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections  -fvisibility=hidden -fvisibility-inlines-hidden -O3 -DNDEBUG  -DNDEBUG
C++ flags (Debug):           -fsigned-char -W -Wall -Wreturn-type -Wnon-virtual-dtor -Waddress -Wsequence-point -Wformat -Wformat-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections  -fvisibility=hidden -fvisibility-inlines-hidden -g  -O0 -DDEBUG -D_DEBUG
C Compiler:                  /usr/bin/cc
C flags (Release):           -fsigned-char -W -Wall -Wreturn-type -Waddress -Wsequence-point -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections  -fvisibility=hidden -O3 -DNDEBUG  -DNDEBUG
C flags (Debug):             -fsigned-char -W -Wall -Wreturn-type -Waddress -Wsequence-point -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections  -fvisibility=hidden -g  -O0 -DDEBUG -D_DEBUG
Linker flags (Release):      -Wl,--gc-sections -Wl,--as-needed -Wl,--no-undefined
Linker flags (Debug):        -Wl,--gc-sections -Wl,--as-needed -Wl,--no-undefined
ccache:                      NO
Precompiled headers:         NO
Extra dependencies:          m pthread cudart_static dl rt nppc nppial nppicc nppidei nppif nppig nppim nppist nppisu nppitc npps cublas cudnn cufft -L/usr/local/cuda/lib64 -L/usr/lib/aarch64-linux-gnu
3rdparty dependencies:
OpenCV modules:
To be built:                 alphamat aruco bgsegm bioinspired calib3d ccalib core cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping cudev datasets dnn dnn_objdetect dnn_superres dpm face features2d flann freetype fuzzy gapi hfs highgui img_hash imgcodecs imgproc intensity_transform line_descriptor mcc ml objdetect optflow phase_unwrapping photo plot python3 quality rapid reg rgbd saliency shape signal stereo stitching structured_light superres surface_matching text tracking video videoio videostab wechat_qrcode xfeatures2d ximgproc xobjdetect xphoto
Disabled:                    world
Disabled by dependency:      -
Unavailable:                 cannops cvv hdf java julia matlab ovis python2 sfm ts viz
Applications:                apps
Documentation:               NO
Non-free algorithms:         YES
GUI:                           GTK3
GTK+:                        YES (ver 3.24.33)
VTK support:                 NO
Media I/O:
ZLib:                        /usr/lib/aarch64-linux-gnu/libz.so (ver 1.2.11)
JPEG:                        /usr/lib/aarch64-linux-gnu/libjpeg.so (ver 80)
WEBP:                        build (ver encoder: 0x020f)
PNG:                         /usr/lib/aarch64-linux-gnu/libpng.so (ver 1.6.37)
TIFF:                        build (ver 42 - 4.6.0)
JPEG 2000:                   build (ver 2.5.0)
OpenEXR:                     build (ver 2.3.0)
HDR:                         YES
SUNRASTER:                   YES
PXM:                         YES
PFM:                         YES
Video I/O:
FFMPEG:                      YES
avcodec:                   YES (58.134.100)
avformat:                  YES (58.76.100)
avutil:                    YES (56.70.100)
swscale:                   YES (5.9.100)
avresample:                NO
GStreamer:                   YES (1.20.3)
v4l/v4l2:                    YES (linux/videodev2.h)
Parallel framework:            TBB (ver 2021.5 interface 12050)
Trace:                         YES (with Intel ITT)
Other third-party libraries:
Lapack:                      YES (/usr/lib/aarch64-linux-gnu/liblapack.so /usr/lib/aarch64-linux-gnu/libcblas.so /usr/lib/aarch64-linux-gnu/libatlas.so)
Eigen:                       YES (ver 3.4.0)
Custom HAL:                  YES (carotene (ver 0.0.1))
Protobuf:                    build (3.19.1)
Flatbuffers:                 builtin/3rdparty (23.5.9)
NVIDIA CUDA:                   YES (ver 12.2, CUFFT CUBLAS FAST_MATH)
NVIDIA GPU arch:             87
NVIDIA PTX archs:
cuDNN:                         YES (ver 8.9.4)
Python 3:
Interpreter:                 /usr/local/bin/python3 (ver 3.10.12)
Libraries:                   /usr/lib/aarch64-linux-gnu/libpython3.10.so (ver 3.10.12)
Limited API:                 NO
numpy:                       /usr/local/lib/python3.10/dist-packages/numpy/core/include (ver 1.26.4)
install path:                lib/python3.10/dist-packages/cv2/python-3.10
Python (for build):            /usr/local/bin/python3
Java:
ant:                         NO
Java:                        NO
JNI:                         NO
Java wrappers:               NO
Java tests:                  NO
Install to:                    /usr/local
I know that the correct tag is being checked out (4.8.1) and that the correct commit hashes for each of the opencv repos is being checked out as well (verified manually).
Additionally after this line:
https://github.com/dusty-nv/jetson-containers/blob/6d985857d61dc9fdb4e368a54ac49b82ef9d5bca/packages/opencv/build.sh#L82 I can verify that 4.8.1-dirty is installed. However, after the cmake command, 4.10.0-dev is installed and shows up in the build outputs.
I checked that $OPENCV_VERSION == 4.8.1 and $OPENCV_PYTHON == 4.x
Is anyone else able to repro these results building the container from scratch?
—
Reply to this email directly, view it on GitHubhttps://github.com/dusty-nv/jetson-containers/issues/680, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADVEGK73AY5KMC4GHHOWJHTZ3LF2JAVCNFSM6AAAAABP3XPWASVHI2DSMVQWIX3LMV43ASLTON2WKOZSGU4DIMRTGAZTIMY.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

Hi Adam, this is fixed in https://github.com/dusty-nv/jetson-containers/commit/6adb37f23f2abe6e11839a858435941cb47650c4 and the misversioned packages on the server have been reuploaded, sorry about that :+1:

@dusty-nv Thank you so much! I haven't had a chance to investigate the version yet. I was able to temporarily get around this by using the -deb version of the package. Will test the non-debian when I can and report back here


Why we use eth_traceCall instead of eth_estimateGas?

https://github.com/ethereum/wiki/wiki/JSON-RPC#eth_estimategas

Isaak said: w/r/t traceCall vs. estimateGas ->
traceCall can be used for an arbitrary block number and will also return returnValue, while
estimateGas uses PendingBlockNumber and just returns gas

Yes, also contracts can change their behavior based on the order of different tx's submitted to it.
Issue duplicated here: https://github.com/ethereumproject/emerald-wallet/issues/32


Gradient for circular presentation

Hi Sir,
Good day!
Does the library had any support for gradient? If not, any plan of having it?
Want to achieve like the image below:

Regards,
Jun

Hello,
Any input on this regard.
Regards,
Jun

Hi @asteriomanet,
The library does not support yet the gradient color.
I will integrate that soon :)
If you want to contribute in this feature you are welcome.
Best regards,
Hamza

@asteriomanet @HamzaGhazouani any progress on the gradient Ring, i am also desperately searching for the same.
@asteriomanet I will be highly obliged if you recommend such thing to me i need to implement this
Thanks

I'd love to see this too, if possible :)

Gradient would be awesome!

I would also love to see some gradient on this CircularProgress

So what happen to the gradient?

Any progress?

Has anyone achieved the gradient color in progressive's view?


kube-router: 1.5.1 -> 1.5.3

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/cloudnativelabs/kube-router/releases.
meta.description for kube-router is: "All-in-one router, firewall and service proxy for Kubernetes"
meta.homepage for kube-router is: "https://www.kube-router.io/"
meta.changelog for kube-router is: ""
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.5.2 with grep in /nix/store/86jpx19qlikk8ld5b1k550jis79cwccl-kube-router-1.5.2
found 1.5.2 in filename of file in /nix/store/86jpx19qlikk8ld5b1k550jis79cwccl-kube-router-1.5.2

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
kube-router

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/86jpx19qlikk8ld5b1k550jis79cwccl-kube-router-1.5.2 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A kube-router https://github.com/r-ryantm/nixpkgs/archive/4b7bd65306afffac469b2f03a1273dfd543b61e9.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/86jpx19qlikk8ld5b1k550jis79cwccl-kube-router-1.5.2
ls -la /nix/store/86jpx19qlikk8ld5b1k550jis79cwccl-kube-router-1.5.2/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

kube-router

Maintainer pings
cc @colemickens @johanot for testing.

@ofborg build kube-router kube-router.passthru.tests

Remark: aarch64-linux build already failed in 1.5.1.


Update skeletor to work with v1.0.0-alpha.22

Use v1.0.0-alpha.22 of Porter
Switch from using the old magefile helper in Porter to using the new magefiles repository
Add the TestPublish magefile target
Rename get.porter.sh/porter/pkg/context to portercontext
Change the skeletor go mod name so that it's easier for people to find/replace their way to a custom mixin. Using our vanity domain wasn't really helping anyone.
Fix bad reference to packr, skeletor uses go:embed now.

Yes, I will do the rename separately. 👍


(MAINT) Bump project.clj to puppet-server 2.2.0 for release

This commit bumps the version in the project.clj to 2.2.0 for release.

:metal:


Move MPI Parallelisation to ParGrid and remove RectGrid

Following the discussion in #442 , we need to move the MPI parallelisation done in #331 over to the parametric grid, and then remove the rectangular grid.
This should be done after #331 and #432 were merged into develop.

Information about the grid from @timspainNERSC : https://github.com/nextsimhub/nextsimdg/blob/paragrid_doc/docs/model_grids.rst
Positions of variables on the grid:


Docker image preparation and bump COMPASS version for cal/val delivery

SAS Docker images based on develop version of ISCE3

Specfile for the Docker image above

Bump the COMPASS version from 0.1.5 to 0.2.0

NOTE:

The Dockerfile used for the last Gamma release is still in place, in case the new version of ISCE3 becomes available
This is a PR to prepare a CSLC-S1 SAS as a Docker image. ISCE3 is installed by building the source code from the most up-to-date commit in develop branch in internal GitHub.
The ISCE used in this Docker image will be replaced either tagged commit (preferably mirrored to the public GitHub), or condo package of ISCE3, once either of them becomes available.

TODO:

[x] Optimize docker image size

Note: This is a CSLC-S1 SAS as a Docker image. ISCE3 is installed by building the source code from the most up-to-date commit in develop branch in internal GitHub.
The ISCE used in this Docker image will be replaced either tagged commit (preferably mirrored to the public GitHub), or condo package of ISCE3.

@LiangJYu @vbrancat As you aware,  ISCE3 0.13.0 has become available this morning. The Docker image that I've prepared is based on the conda package of the ISCE3.
Therefore, this PR will discard the Dockerfile.isce3.dev based on the on-the-fly ISCE3 build, and focus on updating the specfile for cal/val SAS delivery.

@LiangJYu Can you take a look if the updates in the Docker image is looking good? Thanks.

A note about CI test failure:
Did a bit of modification on test_qa.py to print out the stats written in the HDF5, and found this information:

Testing: mean of power = 2552.599609375
Testing: min of power = 2.686270818230696e-05
Testing: max of power = 56852836.0
Testing: mean of phase = -0.0004393019189592451
Testing: min of phase = -3.1415927410125732

The CI test failed when testing the min. value of phase. Apparently its absolute value is slightly larger than np.pi
The value would have been calculated using np.nammin(), which looks okay to me.
As a temporary fix, I will put a tolerance of 1.0e-8 when checking the stats from phase.


Inserting data with PrimaryKey: InsertOrReplaceAllAsync() fails, while ExecuteAsync() succeeds

I'm building a universal store project for Windows 8.1 and Windows Phone 8.1.

SQLite for Windows Runtime (Windows 8.1) v. <IP_ADDRESS>
SQLite.Net.Async PCL  v. 2.5.1
SQLite.Net PCL - WinRT Platform v. 2.5.1

Here's some test code stripped of everything irrelevant.
[Table("Users")]
public class DBUser : ITable
{
	[PrimaryKey]
	public long Id { get; set; }
}

Connection = new SQLiteConnectionWithLock(
  new SQLitePlatformWinRT(),
  new SQLiteConnectionString(
	Path.Combine(ApplicationData.Current.LocalFolder.Path, "users1.db"),
	true
  )
);
Database = new SQLiteAsyncConnection(() => Connection);
await Database.DropTableAsync<DBUser>();
await Database.CreateTableAsync<DBUser>();

// Fails with "SQL logic error or missing database"
/*
int result = await Database.InsertOrReplaceAllAsync(new List<DBUser>(){
  new DBUser(){ Id=123123123L },
  new DBUser(){ Id=456456456L }
});
*/

// Succeeds
int result = await Database.ExecuteAsync("INSERT OR REPLACE INTO Users(Id) VALUES(123123123),(456456456)");

List<DBUser> list = await Database.Table<DBUser>().ToListAsync();
Debug.WriteLine(list.Count);
Debug.WriteLine(list[0].Id);
Debug.WriteLine(list[1].Id);

Comment [PrimaryKey] attribute in DBUser and both inserts work just fine.
Am I doing something wrong?

If you don't need it, I'd strongly recommend you don't use the async version.
It seems to be a little buggy.
If I recall correctly I had the same issue and it was resolved when I iterated the list myself and called InsertOrReplaceAsync(...) on each one.
But it might also have something to do with you using long as PrimaryKey.
There were some issues regarding longs as primary keys.

@StefanFabian Hmm. int primary key works fine, while long or string doesn't. I'll try to use synchronous version, thanks for the hint. I can wrap sqlite operations in tasks anyway.

@StefanFabian I removed async library from my project, but the problem persists. :(

Take a look at this: https://github.com/oysteinkrog/SQLite.Net-PCL/issues/144
and this https://github.com/praeclarum/sqlite-net/commit/eea78a75b820c12d9a1b5b306a4ff32458dd2098
is there a reason why it needs to be long?
can't you use an int?

Unfortunately, I do need a long. These are entities I get from server side. And since I build a mobile app, it has to cache data locally so as to allow viewing stuff in offline mode. I need ids just as server outputs them.

In the 3.0 prerelease nuget that is out now, the int64-as-integer fix is included.
If possible please test that version (just select prerelease in the nuget explorer and it should show up).

The merge of #157 may also help with this, please test prerelease version (3.0.2).

Will try this today on both desktop and mobile, thanks a lot!

Works fine btw, thanks (sorry for not updating you before)!


Fix bug with indentation of nested parent rows

Pull Request
🤨 Rationale
This fixes a bug I found where the indentation of nested parent rows can sometimes be incorrect, particularly when the order of rows changes (such as when sorting a column) in a way that changes the nesting level that is set on a nimble-table-row element that is getting reused during a binding update.
The problematic binding was this condition in the table row's template: x.isParentRow && x.nestingLevel > 0. That statement is volatile, but it cannot be marked as such in the template. Therefore, I moved the evaluation into a getter named isNestedParent that could be marked as @volatile.
👩💻 Implementation
See Rationale section above
🧪 Testing
Manually tested in storybook with a problematic set of data that I found the problem with
✅ Checklist

[ ] I have updated the project documentation to reflect my changes or determined no changes are needed.

@atmgrifter00, will you buddy this PR for me?


Operating system algorithms for WoC

💥 Proposal
Addition of Operating system algorithms
Implementations of FCFS scheduling algorithm using C++.
Implementation of Shortest Job First (SJF) Non-Preemptive CPU scheduling algorithm using C++.
Implementation of Shortest Job First (SJF) Preemptive CPU scheduling algorithm using C++.
Implementation of Priority scheduling (Preemptive) algorithm using C++.
Implementation of Priority scheduling (Non-Preemptive) algorithm using C++.
Implementation of the Round Robin CPU Scheduling algorithm using C++.
Analysis of LRU page replacement algorithm and Belady's anomaly
I would like to get these algorithms added which are very useful in competitive programming point of view.
Have you read the Contributing Guidelines on Pull Requests?
Yes

I've just added the required files!

Oh, I am extremely sorry, must have missed it.

@itskrypton I added them just now!
Waiting for the PR to get merged!


HBASE-28222 Leak in ExportSnapshot during verifySnapshot on S3A

Encapsulates the setting of fs.impl.disable.cache to just the specific FileSystems we plan to create and manage closing. This prevents accidental explosion of uncached FileSystems coming from static utils like CommonFsUtils.getRootDir, which are used in snapshot verification. When the FileSystem is S3A, this results in a leak of S3AImplementation objects that will lead to an OOM.

I may reopen this, but actually I want to investigate a different approach.


New attribute for rain and snow drawable resource.

Thank you! Greate work! I need to set my own image for snow so I add a new attribute. I hope it will be useful.

Hi, sorry but I was working on a beta. I have to decline your merge due to conflict.
In the next version I'll add this feature, but in a different way


Clone w/ version; Remove orphanIndex

Tests pass.

This change will hash the version for inner nodes as well.
If we don't, then it's possible for inner nodes w/ the same hash to reappear, due to rebalances where new inner nodes are created but all children are old.  When we re-introduce an inner node w/ the same hash in a future version, "unorphaning" it would trample a previous "orphanIndex" record, ultimately causing DeleteVersion() to delete inner nodes that were still needed.  We could fix this by making the orphan index more intelligent, but overall it would be more complex and slower.
Now with inner node versioning, we don't even need to do the "unorphan" thing.

oops meant to merge, not close.  Please see #20

Oops didn't mean to close this.


fixed global config writing

Proposed changes:

fixed cyclic import while trying to write global configuration. fixes #6758

😅 yes tried it out 🙂


Now script takes leap-years into account

Fix #1

I should have @ you when I posted this in the issue, but this doesn't exactly fix the problem.
Copying this from another comment:
When there's a leap year, there is a 29th day of February. Normally March 1st is the 60th day of the year, but on leap years March 1st is the 61st day of the year.
There should be some way to have March 1st still be Wallpaper number 60, instead of Wallpaper number 61 on a leap year. It's not necessary to allow a user to set a unique wallpaper for February 29th (so it's only shown on leap years) but if you would like to do that somehow, go ahead.

I will take a look!

I have push a new commit. Take a look please! @tklusz

Going to merge this then change a couple lines. Thanks.


Adding a file to an existing zip can lead to corruption of the zip file

A zip file has a data descriptor, and when a new file is added, there will be additional data at the end of the zip file.

struct ZIPDIRENTRY dirEntry[341] is the new file
struct ZIPENDLOCATOR endLocator[0] is the End of central directory record of the new zip
struct ZIPDIRENTRY dirEntry[342] is the is the last file of the old zip
struct ZIPENDLOCATOR endLocator[1]  is the End of central directory record of the old zip
struct ZIPDIRENTRY dirEntry[342] and struct ZIPENDLOCATOR endLocator[1] are redundant
Below is my code
net.lingala.zip4j.ZipFile zipFile = null;
try {
    zipFile = new ZipFile(args[0]);
    ZipParameters parameters = new ZipParameters();
    parameters.setCompressionMethod(CompressionMethod.DEFLATE);
    parameters.setCompressionLevel(CompressionLevel.NORMAL);
    parameters.setFileNameInZip("assets/neoptionBin");
    zipFile.addFile(info, parameters);
} catch (Exception e) {
    e.printStackTrace();
} finally {
    try {
        if (zipFile != null) {
            zipFile.close();
        }
    } catch (Exception e) {
        e.printStackTrace();
    }
}

What is the name of the tool/application that you see that data in the screenshot?

Which version of zip file are you using? I was unable to reproduce this issue. When I added a file to an existing zip file, I got the right output. Below are some screenshots:

And I see in your screenshot that there are two entries in the zip file with the same filename META-INF/CERT.RSA. This shouldn't have been the case if the file was added by zip4j. Zip4j replaces a file if an entry in zip exists already with the same name that you are adding.

I'm using version 2.11.5 and I'm sorry I can't upload my sample because it's over 25M. The difference between it and other normal zips is that it has a data descriptor area, as shown in the image below

When the file is added, the last bit of the original zip file is preserved as if the buffer was not truncated.

Another strange thing is that when I use 7zip to arbitrarily delete a file from the original zip, and then use zip4j to add the file, it behaves normally.


Add application for configuring NPC skills.

@Fyorl Getting an error opening the sheet because of a call to _onEditBiography, which doesn't exist yet on this branch.

@Fyorl Getting an error opening the sheet because of a call to _onEditBiography, which doesn't exist yet on this branch.

Oops, sorry


Popup don't show up in the menu on the right side item

Problem: popup don't show up in the menu on the right side item.
JSFiddle: https://jsfiddle.net/rduvhn8u/51/
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.132 Safari/537.36

This is an issue with the right menu div.
It works when not in the right menu https://jsfiddle.net/BigGrecian/rduvhn8u/64/
same problem here :  http://codepen.io/Biggrecian/pen/vOdwLd

Merging with #2526


hacktoberfest lbexp commit

@lbexp   thanks for making your first contribution, I will be merging your Pull Request, also look at the issues so that you can get a chance to win a limited community Swag from me.
If you like the project and Repo please give it a star and Follow me on Github (would be appreciated)


How to supply custom MatVec function to eigvals_lanczos?

After reading the documentations and the source code (common.jl, krylov,jl, and lanczos.jl), I still have no clues as to how to supply a custom matrix-vector multiplication function to eigvals_lanczos.
I only figures out how to get linear-operators-defined-as-functions, such as A = MatrixFcn{Float64}(4, 4, mulbyA!). Although this works as matrix-vector multiplication, yet when put in eigvals_lanczos(A) it throws error message:
"KrylovSubspace{T,OpT} has no method matching KrylovSubspace{T,OpT}(::MatrixFcn{Float64}, ::Int64)".
I will appreciate it greatly if you guys can help me on this.

@andreasnoack Thanks a lot. That fixes the error messages.
Just another quick question, eigvals_lanczos() does not produce the Ritz vectors, right? Is there a quick fix?

No, not currently. However, you can compute the eigenvectors through inverse iteration. eigvals_lanczos also needs some work to be more robust.


Templatize RestTemplate usage for Job API forwarding

Cherry pick of #599

Coverage decreased (-0.1%) to 88.532% when pulling 5d7e6aa8a3f3e266b43b6b11d3436b9b6ff29e40 on tgianos:cherry599 into 4f641ad65fc0c9d385c06bf8d7919d81909ac038 on Netflix:master.


Renaming hooknames

Need to fix the test failures before accepting the pull request.

Looks like there are a few more spots to update:
https://github.com/jondavid-black/AaC/blob/e085502b8faba5bf784cc28b205fa0a6a64046e6/python/src/aac/plugins/plugin_manager.py#L43-L59
https://github.com/jondavid-black/AaC/blob/e085502b8faba5bf784cc28b205fa0a6a64046e6/python/tests/plugins/test_gen_gherkin_behaviors.py#L8-L12
https://github.com/jondavid-black/AaC/blob/e085502b8faba5bf784cc28b205fa0a6a64046e6/python/tests/plugins/test_gen_gherkin_behaviors.py#L47-L53


Support additional trunk branches

Currently, we support only remote HEAD as trunk (This is what we call defaultBranch, which is refs/remotes/origin/HEAD. This is typically a symbolic link to refs/remotes/origin/master or main).
In addition to this, support other branches as trunk.

In our config (https://github.com/aviator-co/av/blob/ce51db8eed436bae722b63bd2616103c2a2f2c26/internal/config/config.go#L56), we can add AdditionalTrunkBranches []string. With this, users can add this config to .git/av/config.yaml
additionalTrunkBranches:
  - "dev"

With this config, when a user runs av stack branch new_feature dev, it should treat the dev branch as the trunk branch. We can check this by running av stack tree. It should show dev as the root of the tree.

There are two places that we detect whether a branch is a trunk branch.

https://github.com/aviator-co/av/blob/ce51db8eed436bae722b63bd2616103c2a2f2c26/cmd/av/stack_branch.go#L102
https://github.com/aviator-co/av/blob/ce51db8eed436bae722b63bd2616103c2a2f2c26/cmd/av/stack_sync.go#L161

These two should be modified to check the configs for the additional trunk branches.

In this issue https://github.com/aviator-co/av/issues/244, for av stack branch new_branch dev, dev is treated as the base branch for new_branch.
Is it correct to say that if dev is included additionalTrunkBranches, it will also be treated as a trunk branch?

Yes


[ ] Closes #xxxx
[ ] Tests added
[ ] User visible changes (including notable bug fixes) are documented in whats-new.rst
[ ] New functions/methods are listed in api.rst

I closed this since it seems like a rather niche API and I don’t want to work through the challenges of mypy
I’ve already updated my personal codebase and I presume cubed can do the same.


Fallback to bootnodes

https://github.com/ethersphere/bee/issues/521
I have left Start() method only on kademlia for now, so I did not extract any extra interfaces. This is probably ok, as there is no other implementation of topology driver at the moment, and full connectivity does not need it.

Hi Petar, could you write a description and/or connect this one with an issue?

@Eknir Sure, done!

handle  bootnodes in kademlia


Mobile - Remove Interlay lending

Describe the task
Remove Interlay lending:

Hide Interlay lending on the earning options screen
Show Position
Disable button + and supply more on the Position details
Allow withdraw
Re-check earning preview when access this screen from staking rewards site and crowdloans.subwallet.app site

Version test: https://www.diawi.com/qrcode/link/wQX89C
Device test: IP 11
Validation passed.

Hide Interlay lending on the earning options screen

Show Position

Disable button + and supply more on the Position details

Allow withdraw

Re-check earning preview when access this screen from staking rewards site

Install/Upgrade version


Add optional CRD ServiceMonitor for TMC

Some Customer's K8S cluster environments require a CRD ServiceMonitor to scrap metrics by Prometheus operator. Prometheus annotations will not work. You can use (copy/past) the ServiceMonitor from MSR chart.

@mobasherul : can you please check ?

@mobasherul : can you please check ?

@mathieucarbou Should i add this service monitor to terracotta helm charts?

@mobasherul : can you please check ?

@mathieucarbou Should i add this service monitor to terracotta helm charts?

I'm on vacation for 1 week... I don't know: maybe discuss with the team ? If we can add it and still be backward compatible then I would say yes.


[BUG] Permission error on local development

First off all thanks for this wonderful repository! It's helps us a lot to use Chrome in a lambda to take WebGL application screenshot 👍
Environment

chrome-aws-lambda Version: v2.0.0
puppeteer-core Version: v2.0.0
OS: macOS Mojave v10.14.5
Node.js Version: v10.16.3
Lambda / GCF Runtime: nodejs10.x

Expected Behavior
When running the lambda localy with serverless offline feature, I'm expecting to puppeteer to be able to launch chromium.
Current Behavior
I use the given command to run locally the lambda:
$ AWS_LAMBDA_FUNCTION_NAME="configuration-screenshot-dev-local" serverless offline --port=4000

And when I access to it throw HTTP the lambda crash and I get the a permission error in the console:
/var/folders/64/ft1wgkts2sx3krql2cvx0klw0000gn/T/chromium: /var/folders/64/ft1wgkts2sx3krql2cvx0klw0000gn/T/chromium: cannot execute binary file

TROUBLESHOOTING: https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md

Error: Failed to launch chrome!
/var/folders/64/ft1wgkts2sx3krql2cvx0klw0000gn/T/chromium: /var/folders/64/ft1wgkts2sx3krql2cvx0klw0000gn/T/chromium: cannot execute binary file

TROUBLESHOOTING: https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md

    at onClose (/path/to/my/app/ConfigurationScreenshootLambda/node_modules/puppeteer-core/lib/Launcher.js:348:14)
    at Interface.helper.addEventListener (/path/to/my/app/ConfigurationScreenshootLambda/node_modules/puppeteer-core/lib/Launcher.js:337:50)
    at Interface.emit (events.js:203:15)
    at Interface.EventEmitter.emit (domain.js:448:20)
    at Interface.close (readline.js:397:8)
    at Socket.onend (readline.js:173:10)
    at Socket.emit (events.js:203:15)
    at Socket.EventEmitter.emit (domain.js:448:20)
    at endReadableNT (_stream_readable.js:1145:12)
    at process._tickCallback (internal/process/next_tick.js:63:19)

I'm starting Chromium exactly like it's documented in the readme:
const browser = await chromium.puppeteer.launch({
    args: chromium.args,
    defaultViewport: chromium.defaultViewport,
    executablePath: await chromium.executablePath,
    headless: chromium.headless,
})

Here some of my chromium  executable informations:
$ ls -alh /var/folders/64/ft1wgkts2sx3krql2cvx0klw0000gn/T/chromium
-rwx------  1 armand  staff   129M Oct 30 11:10 /var/folders/64/ft1wgkts2sx3krql2cvx0klw0000gn/T/chromium

I try to add execution right for everyone chmod a+x /.../chromium to test it change something but the permission error persist
Everything works perfectly in the AWS environment.
Possible Solution
No idea sorry
Steps to Reproduce
My serverless stack:
service: configuration-screenshot

provider:
  name: aws
  profile: default
  runtime: nodejs10.x
  stage: dev
  region: eu-west-3

plugins:
  - serverless-offline

package:
  exclude:
    # Ensure that we do not upload any Google Chrome execurable. We use an AWS Lambda layer that provide it.
    - node_modules/chrome-aws-lambda/**
    - node_modules/puppeteer/.local-chromium/**

functions:
  screenshot:
    handler: handler.screenshot
    layers:
      # See https://github.com/shelfio/chrome-aws-lambda-layer
      - arn:aws:lambda:eu-west-3:764866452798:layer:chrome-aws-lambda:6
    memorySize: 2048
    timeout: 30
    events:
      - http:
          method: get
          path: screenshot
          contentHandling: CONVERT_TO_BINARY

resources:
  Resources:
    ApiGatewayRestApi:
      Properties:
        BinaryMediaTypes:
          - '*/*'

My package.json:
{
  "name": "@custhome/configuration-screenshot",
  "version": "1.0.0",
  "main": "handler.js",
  "author": "Custhome team<EMAIL_ADDRESS>  "private": true,
  "scripts": {
    "dev": "AWS_LAMBDA_FUNCTION_NAME=\"configuration-screenshot-dev-local\" serverless offline --port=4000",
    "deploy": "serverless deploy"
  },
  "dependencies": {
    "data-urls": "^1.1.0",
    "strip-scripts": "^0.9.0"
  },
  "devDependencies": {
    "chrome-aws-lambda": "^2.0.0",
    "puppeteer-core": "^2.0.0",
    "serverless": "^1.55.1",
    "serverless-offline": "^5.12.0"
  }
}

@Spy-Seth The Chromium binary is compiled for AWS Lambda (Linux) therefore it's expected that it won't run on your Mac system. Refer to this wiki page for instructions on how to develop locally:
https://github.com/alixaxel/chrome-aws-lambda/wiki/HOWTO:-Local-Development

I see I miss the puppeteer package tricks! Sorry for the inconvenience

@alixaxel I hit same issue - I tried to work around in the provided wiki, and despite installing puppeteer, the await chromium.executablePath always returns /var/folders/2s/4fn4lnkj08l4p136__zkysp80000gn/T/chromium instead of node_modules/puppeteer/.local-chromium/mac-706915/chrome-mac/Chromium.app/Contents/MacOS/Chromium.
The node_modules/puppeteer/install.js script correctly finds the local chromium with browserFetcher.revisionInfo(revision), but chromium.executablePath does not, even in the same script. I'm using yarn and node 10. I can override the chromium.executablePath, but I feel like I'm doing something wrong there - chrome-aws-lambda already does all that (or is supposed to). Am I missing a crucial installation/config step? Maybe I'm not understanding what is meant by The provided puppeteer getter will return the resolved puppeteer package. -- do I have to do something in my lambda for this to happen or just use
const chromium = require('chrome-aws-lambda');
// ...
executablePath: await chromium.executablePath
// ...

?

@sgates I have the same issue. Were you able to find a workaround?

@daydream05 no, I think I gave up and just ran everything with sam local - which does it in a docker lambda image.

Any updates?

why do I always have to land up at issues like this....with no resolution? :(
it's a curse

@alixaxel can you please help out with this comment?
https://github.com/alixaxel/chrome-aws-lambda/issues/72#issuecomment-551217007

Hey guys, if you guys, using this package for serverless and developing using serverless-offline.
I manage to solve the problem by setting environment
export IS_LOCAL=true

before running serverless offline

Hey guys, if you guys, using this package for serverless and developing using serverless-offline.
I manage to solve the problem by setting environment
export IS_LOCAL=true

before running serverless offline

@frdteknikelektro to follow this, you can setup a script in package.json:
"start-local": "IS_LOCAL=true serverless offline"

then you can just npm run start-local
:)


Security flaw, to be fixed in 0.56.1 and 0.57

See security advisory here for details: https://github.com/simonw/datasette/security/advisories/GHSA-xw7c-jx9m-xh5g - the ?_trace=1 debugging option was not correctly escaping its JSON output, resulting in a reflected cross-site scripting vulnerability.

I've released fixes in both 0.56.1 and 0.57.

Worth noting that I found this issue myself, and to my knowledge it has not been uncovered by anyone else prior to the patch being released.


Add response status codes in the readme file

As we are making an API so we would have to send response status codes. Therefore we should have the status codes (those which are commonly used) mentioned in the readme file of the backend, so that everyone uses the same set of status codes.

I can add it.

#20


Finish documentation cleanup

harmonize basic function style with other sections'

Not sure to get it, the current TOC with the different sections is pretty nice. The issue is that each function in the table does not link to the API documentaiton anymore. In the previous version, one could click on abs from this page and get redirected to the API

If I didn"t messed up, that's also the case now, but instead of manually tagging each function with a label, we use the breathe mechanism. The only real change is that we no longer split mathematical functions to subpages. Or did I miss something?

Oh so that's the split into many subpages that was breaking the breathe mechanism?