License ?

Impressive work.
Which license is Proving Ground source code published under?

Thanks. MIT licence.
On Mon 1 May, 2017, 6:36 PM Olivier ROLAND<EMAIL_ADDRESS>wrote:

Impressive work.
Which license is Proving Ground source code published under?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/siddhartha-gadgil/ProvingGround/issues/126, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ADatpPHgud7izgfydgqeujitz8tIYdA2ks5r1djFgaJpZM4NNB2_
.

Great !
Would you mind to make it clear and add MIT License text to the root of the project. please
I would then be happy to contribute as much as I can.

Thanks. I would greatly appreciate contributions.
I have moved the license to the root from a sub-folder, where it was
accidentally.
On Mon, May 1, 2017 at 6:49 PM Olivier ROLAND<EMAIL_ADDRESS>wrote:

Great !
Would you mind to make it clear and add MIT License text to the root of
the project. please
I would then be happy to contribute as much as I can.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/siddhartha-gadgil/ProvingGround/issues/126#issuecomment-298332190,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADatpHmmi4QsEI2J5s7iGD0-6DcXfUQLks5r1dvRgaJpZM4NNB2_
.

Thanks.


Run with TKDNN support

Hello, does the detection model run with tkDNN support?
https://github.com/AlexeyAB/darknet/issues/6067

It looks like yolov4-tiny works with tkDNN https://github.com/ceccocats/tkDNN/issues/59


Render at background

Currently running render quarto opens the terminal panel and runs the command. It would be better if there was an option to run it at the background (like knit in vscode-R extension)

See previous discussion of this here: https://github.com/quarto-dev/quarto-vscode/issues/87

Ok, this is reasonable. However, it is still very intrusive as each time of rendering the terminal panel pops up (especially when I enable render on save)
In vscode-R, there is a feature that allows the terminal panel not to pop up when the command is executed; maybe the can be implemented here as an option? https://github.com/REditorSupport/vscode-R/issues/510

I'm surprised about the render-on-save behavior (as I can't repro that and we definitely have code intended to preserve editor focus). Are you editing a qmd or a notebook?
The reason we bring the pane forward is to show progress/feedback/errors. I think the right solution here is that we stop doing that entirely and just show progress/feedback/errors directly in the preview window (so then we would still use a Terminal in VS Code but the only time it would ever auto-activate is during the initial render).

I'm surprised about the render-on-save behavior (as I can't repro that and we definitely have code intended to preserve editor focus).

It's qmd. I noticed that the focus is lost only when the terminal is initiating (and .bashrc is loading, which took 3 sec in my case). And the focus is back after this time.

we bring the pane forward is to show progress/feedback/errors

Yeah, this is reasonable. But it can be optional (even default), people can always manually toggle the terminal to check.

I think the right solution here is that we stop doing that entirely and just show progress/feedback/errors directly in the preview window

My main problem with current behavior is that I use to render on save as a way to live preview as I'm writing, and there is no space left on the screen for the terminal. And I would have to manually close the terminal on each save. Anything that could save me from this would be really appreciated!

I think you can get the behavior you want right now by manually executing quarto preview in the VS Code terminal (that will have render-on-save behavior by default and will not be in any way synced with the Quarto render/save cycle). You might actually need to turn off the VS Code "Render on Save" for Quarto so it doesn't interfere.

Hi there, we've made a change to the extension to only bring the terminal forward on the initial render. Subsequent renders (via save or otherwise) will show subtle progress in the status bar but will not bring the terminal format. Note that if an error occurs the terminal is however brought forward. This is available in the latest release of the extension (v1.49.0)


OPENTOK-31614 Add Sentry.io error monitoring

What is this PR doing?
Add Sentry.io for error monitoring.
How should this be manually tested?
Clone this branch, add an error to the application, ensure it gets logged.
What are the relevant tickets?
OPENTOK-31614

@aullman We've somehow lost the API secret:
Error: Invalid arguments when initializing OpenTok: apiKey=44935341, apiSecret=undefined

https://travis-ci.org/opentok/opentok-meet/jobs/185153371

@aiham oh, that's another secret variable. We need to move this to be the same repo. I'll do that.


Documentation is out of date (e.g. mi_option_enable())

On the page: https://microsoft.github.io/mimalloc/group__options.html, mi_option_enable is listed as:
void mi_option_enable (mi_option_t option, bool enable)

with 2 parameters. This is an old format which was replaced with a single parameter in 03d994648af1df2104858aac2eb08f1433894734.
Please can you update the documentation?
This also looks wrong here: https://github.com/microsoft/mimalloc/blob/07c6e60a5a3bd7de09e4a170cd97bafba59cfafd/docs/group__options.html
Thanks
Russ

Also has the wrong order (or is misleading) for mi_option_show_errors and mi_option_show_stats.

Apologies for the late reply, I merged the fix in the dev branch.


cue/def: wrapping code in _#def

What version of CUE are you using (cue version)?
$ cue version
cue version v0.5.0-beta.5

go version go1.19.3
       -compiler gc
       -trimpath true
     CGO_ENABLED 0
          GOARCH amd64
            GOOS linux
         GOAMD64 v1

What did you do?
exec cue def input.cue
cmp stdout golden.stdout

-- input.cue --
package main

import "hof.io/repro/foo"

foo.#Foo

a: "A"

-- foo/foo.cue --
package foo

#Foo: {
	a: string
}

-- cue.mod/module.cue --
module: "hof.io/repro"

-- golden.stdout --
package main

import "hof.io/repro/foo"

foo.#Foo
a: "A"

What did you expect to see?
PASS and that the code looks the same before & after
What did you see instead?
The original code, wrapped in _#def
> exec cue def input.cue
[stdout]
package main

import "hof.io/repro/foo"

_#def
_#def: {
        foo.#Foo
        a: "A"
}
> cmp stdout golden.stdout
--- stdout
+++ golden.stdout
@@ -1,9 +0,0 @@
-package main
-
-import "hof.io/repro/foo"
-
-_#def
-_#def: {
-       foo.#Foo
-       a: "A"
-}

FAIL: /tmp/testscript3051149263/repro.txt/script.txtar:2: stdout and golden.stdout differ
error running repro.txt in /tmp/testscript3051149263/repro.txt

Linking to response in https://github.com/cue-lang/cue/issues/2251#issuecomment-1590938349.

I'm in favor of getting rid of the _#def mechanism altogether. But we need an alternative. To address #2251 and this partially, we could add some heuristic to prevent wrapping when it is not necessary.
But the plan is to do something more principled altogether, such as using must or some explicit schema directive/builtin.


IterableDistributedAnnDataCollectionDataset

@mbabadi can you review this? I came up with a cool trick to get cache and worker info for in unit tests :)

Thanks @mbabadi !


Blaze as a statistical and ML modeling front end DSL

I had floated the idea to @kwmsmith of using blaze as a general front end for statistical modeling and machine learning DSLs, and he asked me for a write up.
Unfortunately this is going to be a bit truncated and less polished  vs what i was planning, but I wanted to start the discussion because i was prompted  by a new Julia package, Flow.jl, that pretty much describes what I had in mind. Though, I think blaze and numba can potentially obviate some of the stated unsuitability of python
There are a variety of ad hoc python DSLs that allow expression of symbolic relationships that can be translated to lower level operations.
Problem is, there is no shared infrastructure so every package has to reinvent the wheel and they require hacks (context managers, string programming etc) because they are  limited by python's syntax and eagerly evaluated semantics:
Examples of packages and constraints: Patsy is not easily extensible for things like operations and multiple variables on the left hand side of the formula and Pymc 3 is restricted in extending it for  lme4 style mixed models.
Both Pymc 3 and now  Keras have their own such DSL graph front ends.
I wonder if blaze can be used as a more flexible common infrastructure for these use cases (with more power to write symbolically and   dispatch across multiple datashapes and backends by offloading to dask, dynd etc
Or perhaps the fact that blaze is restricted to an expression tree vs DAG or cyclical graph might make it not a good fit for this usecase.
cc @stevenmanton @twiecki, @njsmith and @richardotis who expressed interest or might be interested in this.

I'd like to add some thoughts on where I see capability gaps in translating symbolic models to efficient numeric functions, particular when dealing with gradients and Hessians. This is based on my experience writing and maintaining pycalphad.
The code generation features in SymPy have been able to meet all my needs in terms of expressing conceptually simple models (basic arithmetic, logs, exps, but with 1000s of ops) and allowing run-time construction of the expressions. (I know their team is working on making it even better, see sympy/sympy#10486.)
The system is flexible enough to allow me to drop in custom code generators such as the now-upstream NumPyPrinter, and the generated functions even allow for broadcasting, which is important for my use case, where I'm often mapping R^n -> R, where n is roughly 10, but each scalar degree of freedom could be a (100, 100) array, so my output is (100, 100).
Where numpy's eager evaluation really hurts is dealing with automated gradient and Hessian computation. Empirically, calls to my generated Hessian function (using autograd) end up being more than half my total computation time. I suspect this is due to the creation of spurious temporary objects. If a tool like Blaze was able to optimize this computational graph, that could be very helpful.
I have yet to find a solution for Hessians/gradients which (a) works for expressions generated at run-time, (b) allows for broadcasting input arguments of unknown (until run-time) shape, and (c) handles expression trees with thousands of ops well. Autograd+generated numpy is my current approach, which is not compatible with numba (see HIPS/autograd#47). I have been able to get numba to work if I first perform the differentiation in SymPy, but unfortunately this burns about two orders of magnitude more computation time than it saves (see this comment). Every other approach I've tried (e.g., Theano) has failed.
If Blaze solved this problem for me I would become a heavy user and big fan.

@richardotis  Thanks for sharing your thoughts.
CC: @mrocklin who was a sympy and blaze developer and might have ideas here.

@datnamer @richardotis Thanks for your input and comments.  It's a fortunate synchronicity that you're thinking along these lines -- I've had multiple conversations in recent weeks regarding Blaze and things like Bayesian Inference, more general ML, etc.
For the foreseeable future, we are focused on making blaze more robust, more consistent (API-wise), better performance, more explorable, etc.  I have some near-term priorities that prevent me from spending too much time in the blaze ideas world, but once those are resolved I will look at this thread in more depth.

@kwmsmith That sounds very exciting! I think blaze has alot of potential in this regard.
Here is another  front end DSL: http://people.csail.mit.edu/dhlin/jubayes/julia_bayes_inference.pdf
Regarding generally ML etc in blaze ecosystem, some thoughts below from reading ideas being bounced around and thinking about abstractions in our own codebase (most of these are not my own, but make sense to me). I'll just dump them below:
For general but scalable inference Black Box Variation Bayes seems very promising.
It would be awesome to have a modular interface with Model(distributions, nonparametrics etc)l->solvers ->data-> backend  etc that can be plugged in and out.
Regarding blaze as part of a more general pipeline, some very instructive discussions in Julia land for abstractions here: https://github.com/JuliaStats/Roadmap.jl/issues  and here: https://github.com/Evizero/LearnBase.jl
By Aside from different data sources, having modular abstractions in the middle will allow library writers to adjust algorithms and models without rewriting common parts of code, making research less arduous and encouraging it in the python ecosystem.
This is even more general, but I'll dump my thoughts: A common theme that I'm seeing is   that having a unified type system for reuse is nice for some things, but can be too restrictive. On the other hand python duck typing is too loose, and I think the best balance  is to dispatch on behavior ie interfaces or protocols, when allowing for others to plug into your code. Python already has some shades of this in array etc
https://github.com/python/typing/issues/11
Guido seems to be a big fan of this more regimented duck typing and I think it might go into follow up to the typing pep.

Examples of packages and constraints: Patsy is not easily extensible for things like operations and multiple variables on the left hand side of the formula and Pymc 3 is restricted in extending it for lme4 style mixed models.

On the specific example of patsy, which sounds like it's probably a tangent from the main discussion here: the core is actually rather extensible, it's just that I haven't had time+motivating use cases to expose this via a proper public API, and no-one else has been interested enough to do it either. I think this is mostly orthogonal to blaze-related things though, because patsy is really a parser for an entirely different language and semantics than regular Python (though it embeds Python expressions as terminals in its parse tree). I'd love to see patsy become more extensible for problem where it'd be appropriate, like GAM or (generalized) mixed-effect models, but it's just not an appropriate tool if what you want to do is write arbitrary computational flows and then manipulate them in generic ways -- it has a more specialized area of application.

Here is another good inspiration: http://autumnai.com/leaf/book/leaf.html

So Edward is a new (and looks to be promising) Probabilistic programming project by @dustinvtran and others  David Blei's Lab  at Columbia.
There is some discussion about designing a  model specification api:
https://github.com/blei-lab/edward/issues/27
https://github.com/blei-lab/edward/issues/17
https://github.com/blei-lab/edward/issues/20
This seems to dovetail with the above discussion and might be a great motivating case for a future blaze statistical/ML expression API.

Lots of momentum and potential in the tensorflow world: http://dustintran.com/blog/a-quick-update-edward-and-some-motivations/
If this is still a project the blaze team want to take on, I think it would be best to boostrap off all the aforementioned progress. One hangup is not being able to write normal imperative code and being constrained to tensorflow abstractions.
I see two areas for participation:

Perhaps there could be some way for Dynd/numba/blaze expresions to be exposed to tensorflow autodiff  and participate in tensorflow graph.

Abstract/symbolic transformations  distributions and layers that can be shared  and multiple libraries, to unify the fragmentation.

What about multiple backends ? (databases hdfs etc)

I think that anything more domain specific would need to be built as a project on top of blaze and not into blaze itself. Right now blaze is used for many things other than ML and I think that the team is too small to devote any meaningful amount of time to a project that is not activly solving our particular needs.

Right, I thought so, but I wanted to dump my thoughts here since there was some interest expressed.
I would be interested in helping build something on top of blaze, but I think there is still too much churn in the codebase and unanswered questions about defining new abstract and concrete types, integration with Dynd and the buffer protocol, api etc

I am not sure what you mean by, "too much churn in the codebase". The code has been pretty stable for a while now. I am also unsure how dynd integration or the buffer protocol are related to building new expressions into blaze.

By churn, I meant (upcoming or perhaps not?) churn.
Here are some of the relevant issues I've been following:
https://github.com/blaze/blaze/issues/776
https://github.com/blaze/blaze/issues/924
https://github.com/blaze/blaze/issues/923
https://github.com/blaze/blaze/issues/1402
https://groups.google.com/a/continuum.io/forum/#!topic/blaze-dev/PA1voi_6S6s
Regarding dynd, I was waiting to see how blaze expressions would play out with  Dynd's multiple dispatch system and ability to back arrays with different types of memory.


ADReplicationSite: No Credential Parameter

Details of the scenario you tried and the problem that is occurring
We want to use the ActiveDirectoryDsc module to manage our AD Sites. However, the AD Site resources does not support the Credential parameter, so we cannot use it in our production since we need to run with a certain credential in our environment.
The resources we want to use:
ADReplicationSite
ADReplicationSubnet
ADReplicationSiteLink
Verbose logs showing the problem
N/A
Suggested solution to the issue
Add the Credential parameter to the AD Site resources in the same way as it has been added to for example to the ADGroup resource
https://github.com/dsccommunity/ActiveDirectoryDsc/blob/fa3aee9c066823d58c97b9e361233289a974883a/source/DSCResources/MSFT_ADGroup/MSFT_ADGroup.psm1#L38
https://github.com/dsccommunity/ActiveDirectoryDsc/blob/fa3aee9c066823d58c97b9e361233289a974883a/source/DSCResources/MSFT_ADGroup/MSFT_ADGroup.psm1#L111
The DSC configuration that is used to reproduce the issue (as detailed as possible)
N/A

The operating system the target node is running
Windows Server 2016
Version and build of PowerShell the target node is running
N/A
Version of the DSC module that was used
6.0.1

Hi @anorstrom, as long as the device that you are executing the DSC on is domain connected and is running PowerShell 5 or above, you can use the automatic PSDscRunAsCredential property to specify your desired domain credentials for each resource. See Use Credentials with DSC Resource for further info.

Thank you @X-Guardian
I tested and it seems to work 👍


Build and install package perception-dev failed

my env:
ubuntu 18.04
Apollo 8.0
How to reproduce：

Install percetion-dev with command:
buildtool install perception-dev
compile perception-dev with command in workspace:
buildtool build --gpu -p modules/perception
error log:

(08:28:27) INFO: From Compiling modules/perception/onboard/transform_wrapper/transform_wrapper.cc:
In file included from bazel-out/k8-fastbuild/bin/external/boost/_virtual_includes/boost/boost/signals2/detail/null_output_iterator.hpp:14:0,
                 from bazel-out/k8-fastbuild/bin/external/boost/_virtual_includes/boost/boost/signals2/connection.hpp:22,
                 from bazel-out/k8-fastbuild/bin/external/boost/_virtual_includes/boost/boost/signals2/signal.hpp:22,
                 from bazel-out/k8-fastbuild/bin/external/boost/_virtual_includes/boost/boost/signals2.hpp:19,
                 from bazel-out/k8-fastbuild/bin/external/tf2/_virtual_includes/tf2/tf2/buffer_core.h:38,
                 from bazel-out/k8-fastbuild/bin/external/transform/_virtual_includes/transform/modules/transform/buffer.h:23,
                 from ./modules/perception/onboard/transform_wrapper/transform_wrapper.h:26,
                 from modules/perception/onboard/transform_wrapper/transform_wrapper.cc:16:
bazel-out/k8-fastbuild/bin/external/boost/_virtual_includes/boost/boost/function_output_iterator.hpp:14:72: note: #pragma message: This header is deprecated. Use <boost/iterator/function_output_iterator.hpp> instead.
 BOOST_HEADER_DEPRECATED("<boost/iterator/function_output_iterator.hpp>")
                                                                        ^
(08:28:28) ERROR: /apollo_workspace/modules/perception/lidar/lib/detector/point_pillars_detection/BUILD:90:13: Compiling modules/perception/lidar/lib/detector/point_pillars_detection/nms_cuda.cu failed: (Exit 1): crosstool_wrapper_driver_is_not_gcc failed: error executing command external/local_config_cuda/crosstool/clang/bin/crosstool_wrapper_driver_is_not_gcc -MD -MF ... (remaining 336 arguments skipped)

Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
nvcc fatal   : Unsupported gpu architecture 'compute_87'
Target //modules/perception:install failed to build
Use --verbose_failures to see the command lines of failed build steps.
(08:28:30) INFO: Elapsed time: 514.592s, Critical Path: 45.63s
(08:28:30) INFO: 10431 processes: 9655 internal, 776 processwrapper-sandbox.
(08:28:30) FAILED: Build did NOT complete successfully
(08:28:30) FAILED: Build did NOT complete successfully
[buildtool] ERROR Encounter ErrCode.BazelErr
[buildtool] ERROR hint: Build and install package perception-dev failed!
[buildtool] ERROR solution: Please checkout source code or build file by following bazel error hints

Does anyone know how to fix it?

The current release of Apollo uses an older version of cuda, which prevents it from supporting higher gpu architecture (e.g. 4070, 80, 90), we are currently working on adapting this piece, please wait for a further update.


Hourly Forecast chart too light and thin

The lines in hourly forecast chart are too thin and their color too light that it's hard to see the chart under different background:

My solution is to increase the line width and increase opacity, say, change the alpha value of borderColor to 0.5, and add borderWidth=5. It looks like this:

Or we can add a semi-transparent card below the chart. Anyway this is open to discussion.

Adjusted in #52 (and also fixed the legend unit)


Match x64_alpine-linux to platform x86-64_alpine-linux

Fix #695
Signed-off-by: Sophia Guo<EMAIL_ADDRESS>

Could you provide the link for alpine-linux build via Netlify preview?

FInd it correctly showing on this preview page


Can we add custom lazy loaders to ctx?

idk if this is possible, but it might be useful to add a bunch of custom lazy loaders to ctx.
For example, ctx.true_invoked_command, which gives you the resolved reaction command (alias -> original). If it's already resolved, just return invoked_with. If it's not an image command at all, return None.
There are a lot of others that could be useful here.
Is this possible, and would it make the repo cleaner?

Monkeypatching might not be suggested with Python, but maybe we could have a file of functions that just accept ctx, and lrucache them all, so they're basically lazy loaders?

Hopefully ctx is hashable...


Fix-ate plexon signal streams

This PR solves two things:

Should solve https://github.com/NeuralEnsemble/python-neo/issues/1523 by using consistent stream_ids defined by plexon channel prefixes that are stable  (see here
It adds human readable and meaningful stream names. Right now they are called "Signal + {stream_id}" and after these PR they will be:

            channel_prefix_to_stream_name = {
                "WB": "WB-Wideband",
                "FP": "FPl-Low Pass Filtered ",
                "SP": "SPKC-High Pass Filtered",
                "AI": "AI-Auxiliary Input",
            }

Not that this moves forward the poject in https://github.com/SpikeInterface/spikeinterface/issues/3197 that aims to have "logical streams" and relegate "buffer streams" to an internal implementation detail of the raw io API.

OK, the test file that we have is quite limited. I would need this:
https://gin.g-node.org/NeuralEnsemble/ephy_testing_data/pulls/137

OK, the test file that we have is quite limited. I would need this:
https://gin.g-node.org/NeuralEnsemble/ephy_testing_data/pulls/137

Merged @h-mayorquin
I'll re-run tests so you can confirm your changes work with the new demo file.

The rtd failure should also be looked at. (Since plexus is used for the doc build!

Fixed the test and added a new one.


chore(main): release 2.0.1

:robot: I have created a release beep boop
2.0.1 (2024-11-18)
🧰 Other

bump github.com/jackc/pgx/v5 in the deps group (6c9468b)
bump github.com/rs/xid from 1.5.0 to 1.6.0 in the deps group (f137d9d)
bump github.com/volatiletech/sqlboiler/v4 in the deps group (0e5af5b)
bump github.com/volatiletech/sqlboiler/v4 in the deps group (938dce0)
bump github.com/volatiletech/strmangle in the deps group (fbbf867)
bump github.com/volatiletech/strmangle in the deps group (91a778c)
bump go.uber.org/mock from 0.4.0 to 0.5.0 in the deps group (e4a4ea1)
bump migrate/migrate from v4.17.1 to v4.18.1 (bea2bbd)
bump the deps group with 2 updates (b6d752d)
deps: bump golang from 1.22 to 1.23 (2fa0c92)
go mod tidy (2cdb133)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/bdronneau/memoriesbox/releases/tag/v2.0.1 :sunflower:


ipdb> AttributeError: "'builtin_function_or_method' object has no attribute 'fourcc'"

Issue Report Checklist

[ ] Searched the issues page for similar reports
[ ] Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
[ ] Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
[ ] Could not reproduce inside jupyter qtconsole (if console-related)
[ ] Tried basic troubleshooting (if a bug/error)

[ ] Restarted Spyder
[ ] Reset preferences with spyder --reset
[ ] Reinstalled the latest version of Anaconda
[ ] Tried the other applicable steps from the Troubleshooting Guide

[ ] Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description
ipdb> AttributeError: "'builtin_function_or_method' object has no attribute 'fourcc'"
What steps reproduce the problem?

cap = cv2.VideoCapture(0)
cap.set(cv2.CAP_PROP_FOURCC, cv2.VideoWriter.fourcc('Y','1','6',' '))
cap.set(cv2.CAP_PROP_CONVERT_RGB, 0)
cap.set(cv2.CAP_PROP_FORMAT, -1)

What is the expected output?  We don't support Spyder 3 anymore, so please update to our latest version (5.3.2) and try again.
Since it's still not available in Anaconda, you have two options:

Use our Windows installer, which you can find here.

Create a new environment with conda-forge packages. For that, please close Spyder, open the Anaconda Prompt and run the following commands there:
 conda create -n spyder-cf -c conda-forge spyder
 conda activate spyder-cf
 spyder

Please do that and let us know if it works for you.

Closing due to lack of response.

Hi @ccordoba12 Thanks for your prompt response. sorry, I couldn't check it on time.
Thanks for your suggestions. I'd proceed with it and let you know the result. Thanks.

No worries. Let us know if my suggestions work for you.

Hi @ccordoba12 I newly installed Spyder5.3.2. but while running an opencv python application, it shows "ModuleNotFoundError: No module named 'cv2'"
Please suggest~

Please read these instructions to understand how to proceed. And replace conda install by conda install -c conda-forge there because the Anaconda packages are quite outdated.

Hi @ccordoba12 yes, i tried to follow the instructions you suggested and replace 'conda install' by 'conda isntall -c conda-forge'. Installed 'opencv-python' using the same but still showing the same 'No module names cv2'.


how can I add custom scripts in index.html's  head part in docusaurus V2

❓ Questions and Help
In docusaurus V2, how can I add custom scripts in index.html's  part?
In docusaurus V1, there is a scripts  setting in siteConfig.js for customing of html's head content. But i can't find coresponding settings in V2.
According to https://docusaurus.io/blog/2018/09/11/Towards-Docusaurus-2#layout

Layout
The current state of Docusaurus is that it is in charge of the entire layout and styling, unintentionally making it very hard for users to customize their site's appearance to their wishes.
For Docusaurus 2, layout and styling should be controlled by the user. Docusaurus will handle the content generation, routing, translation, and versioning. Inspired by create-react-app and VuePress, Docusaurus will still provide a default theme, which the user can eject from, for further layout and styling customization. This means that it is very possible for the user to even change the HTML meta by using React Helmet. Community-based themes are also very possible. This approach of allowing users to be in charge of layout and styling is taken by most static site generators.

It seems possible to customize html's head part In V2.
I had tried to use react-Hemlet in src/pages/index.js, with coding below:
function Home() {
  const context = useDocusaurusContext();
  const { siteConfig = {} } = context;
  return (
      <Layout
        title={`Hello from ${siteConfig.title}`}
        description="Description will go into a meta tag in ">
        <Helmet>

        </Helmet>
...

But script https://appsforoffice.microsoft.com/lib/1/hosted/office.js did not show up inside
Has anyone encountered similar problem and could anyone give some help?
Thanks very much!
Due to some reason, I need to add some external javascript inside only head part rather than
putting defer or async script in react component part , any similar sugguestion does not works in my situation.
Please note that this issue tracker is not a help form and this issue will be closed.
Please contact us instead. We have a few channels:

Stack Overflow
Twitter
Discord

Use @docusaurus/Head instead of Helmet

For me, following https://docusaurus.io/docs/swizzling#wrapper-your-site-with-root, I created a src/theme/Root.js file like this:
// https://docusaurus.io/docs/swizzling#wrapper-your-site-with-root

import React from 'react';
import Gleap from "gleap"; // See https://gleap.io/docs/javascript/

// Default implementation, that you can customize
export default function Root({ children }) {
    Gleap.initialize('asdfasfd');
    return <>{children}</>;
}


chore(first-steps.md): Fix typo

Fixes a small typo in the Security - First Steps guide.

Good catch! :male_detective: :female_detective: :mag:
Thanks! :rocket: :cake:


[BUG] wash snap not building components

Affected project(s)

[ ] documentation
[ ] examples
[ ] wasmCloud host
[X] wasmCloud CLI (wash)
[ ] wasmCloud dashboard UI (washboard)
[ ] capability providers
[ ] provider bindgen
[ ] control interface client
[ ] other / not sure

Describe the bug
Installed wash following the instructions provided, using snap. It seems not to work properly: wash build does not work as it cannot find tinygo or rustc. wash new doesn't work as it cannot find git. All of what is mentioned above is installed on the system.
Thought about using the --classic flag when installing the snap, or write a warning on the website.
Steps to reproduce

Install wash using snap
Install git on the host system
Create a new component, from a template wash new component hello --template-name hello-world-tinygo (or compile one using wash build)

Expected behavior
I expect it to create/build the component.
Environment

OS: Ubuntu Linux, 24.04
wash: 0.12.0

Screenshots / Logs / Additional context
$ wash build
thread 'main' panicked at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wit-bindgen-go-0.30.0/src/lib.rs:337:18:
failed to spawn gofmt: Os { code: 2, kind: NotFound, message: "No such file or directory" }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Hey @r-carissimi,
I usually not use the snap store to install things, but I was able to reproduce the error mentioned above. It still persist with the following versions as well using the "edge" channel, which is mentioned in the docs as linked.
wash -V

wash          v0.35.0
├ nats-server v2.10.20
├ wadm        v0.17.0
└ wasmcloud   v1.3.0

my OS/kernel version is: Ubuntu 24.04.1 LTS (GNU/Linux 6.8.0-47-generic x86_64). 🤔
I will try to look into this later as my time allows, but as an alternative you can install it with the script for the Ubuntu/Debian, it was working for me reliably.
I am definitely not a snap magician, but will look around why snap cannot see/invoke things in the path.
@r-carissimi just for clarification, before I would jump on conclusion would you please confirm that you are on the same wash version please?
p.s.: I just realized that the "version" that is displayed might be incorrect too during snap install
sudo snap install wash --devmode --edge

led to
wash (edge) 0.12.0 from wasmCloud installed

and the installed version (again) is
wash          v0.35.0
├ nats-server v2.10.20
├ wadm        v0.17.0
└ wasmcloud   v1.3.0

I did not found the application in the snapcraft site although the
snap list

has the following output:
Name                       Version          Rev    Tracking         Publisher   Notes
bare                       1.0              5      latest/stable    canonical✓  base
core20                     20240911         2434   latest/stable    canonical✓  base
core22                     20240904         1621   latest/stable    canonical✓  base
firefox                    125.0.2-1        4173   latest/stable/…  mozilla✓    -
firmware-updater           0+git.7983059    147    latest/stable/…  canonical✓  -
gnome-42-2204              0+git.510a601    176    latest/stable/…  canonical✓  -
gtk-common-themes          0.1-81-g442e511  1535   latest/stable/…  canonical✓  -
snap-store                 0+git.4fcd62b7   1218   latest/stable/…  canonical✓  -
snapd                      2.63             21759  latest/stable    canonical✓  snapd
snapd-desktop-integration  0.9              253    latest/stable/…  canonical✓  -
wash                       0.12.0           92     latest/edge      wasmcloud   devmode

I am pretty sure this supposed to be 0.35.0 or v0.35.0, but please correct me if I am wrong.
Currently I am looking into some cryptic strace logs to see how/when the PATHs are inaccessible for the process.

Hey @markkovari, thanks for your interest.
Indeed, I ended up installing wash using the link you kindly mentioned above.
Regarding the version: you're right! The (actual) version is the following, since I didn't make use of the edge channel
wash          v0.31.0
├ nats-server v2.10.18
├ wadm        v0.14.0
└ wasmcloud   v1.2.0

Let me know if you need further info!

Hey @markkovari so I don't think many users in the wasmCloud ecosystem use snap right now... Most people install with cargo or via binary release, etc.
At the very least I personally don't run Ubuntu, and don't use snaps... So yeah it's unfortunate that this was broken, I'm a bit surprised that the version was completely different.
I don't know how easy it would be, but we could try to add a test to the snap generating CI automation, just to avoid this happening again (or at least be alerted/avoid publishing if it does.

Thanks @vados-cosmonic, just for the record; the snap packages version is coming from here https://github.com/wasmCloud/wasmCloud/blob/main/crates/wash-cli/snap/snapcraft.yaml#L3 and it can be with a bit of magic overwritten it ten release pipeline. I am not entirely sure how people are using packages across distributions (maybe this can be snaps strenght?!). But if the documentation mentions it should be usable.
I'll read a bit about the plugins, but as far as I understood the snaps have their own environment and they can communicate with the host if tehy are in classic confinement mode or the plugins allow them to do so.

I just realized we don't even update the version on the snap 🤔 https://snapcraft.io/wash it seems like there's a lot we're not taking advantage of here.
Out of practicality, I'm going to suggest the unfortunate solution of removing the snapcraft package for now. I don't mind supporting many package managers, I just don't know if we have the maintainer expertise to keep the snap up-to-date like we do for homebrew. I'm curious if this would be a huge blocker to anyone running Linux, or if the apt/rpm fallbacks would work fine

Yeah, totally agree. I mean not sure if snapcraft has meaningful download statistics (which are not bloated by bot invocations - yes I am talking about npm - ).
Should we just remove the option from the docs I guess? Not sure who is the owner of the snap org and or what is the deprecation process with these.
I might worth to add a nice message for the current discontinuation of the package if it would stay there for some time with the alternatives.
(Not sure if people can resume it later or not, the package is not searchable as is in the snapstore).
Wow, snap has a nice little geolocation usage stats at the bottom.


add settle time on switching sd to DUT for nuc

Change-type: patch
Signed-off-by: Ryan Cooke<EMAIL_ADDRESS>

@balena-ci rebase


Support mecanum drive

Supporting mecanum drive in kxr with wheels. Cc: @a-ichikura

TODO: send mecanum drive controller's PR to https://github.com/ros-controls/ros_controllers

@iory
I confirmed that the patch works on @a-ichikura 's robot.
BTW, this PR's cmd_vel namespace is ridgeback_control, and it should be fixed. What is the appropriate name? I think the /cmd_vel is better

Could you upload video?
/cmd_vel is fine.

TODO: send mecanum drive controller's PR to https://github.com/ros-controls/ros_controllers

update: https://github.com/ros-controls/ros_controllers/pull/558 There are some patches, but not released

Port https://github.com/iory/robot-programming/blob/jedy/jedy/jedy_description/config/jedy_servo_config.yaml to https://github.com/iory/rcb4/blob/efe38055575d7fc9868efec3c3b57c249738bd53/ros/kxr_models/config/kxrmw4a6h2m_servo_config.yaml

I noticed the PR doesn't work with roslaunch kxr_controller kxr_controller_for_wheel.launch .  It had better to send PR to https://github.com/iory/robot-programming/tree/jedy.
I'm not sure the difference between Jedy and kxrmw4a6h2m ...


Simplify resource verefication process via joins

https://chat.ubnetdef.org/ubnetdef/pl/bgccm4538inqmjsfei9nu9trka
Clarification:
At the moment, every time a user changes some resource (property, service, host ip), the scoretrak creates multiple database calls, to ensure that the user is authorized to change the data, specifically: https://github.com/ScoreTrak/ScoreTrak/blob/d78e11360b689e7d06ed86088f0d8419f7956f94/pkg/proto/handler/check.go#L194-L227
This approach is not efficient, hence, it is probably possible to utilize SQL syntax a little better, and make at most 1 call per validation.

Retrieving an entry(with validation):
SELECT Properties.* FROM Teams, Hosts, Services, Properties WHERE Hosts.ID = Services.host_id AND Services.ID = Properties.service_id AND Properties.key = 'Username' AND Properties.service_id = 'ff783e2b-ddd2-4d24-82ee-53f58c1be716' AND Teams.id = '03302d0b-c28d-444a-9b9b-0440c3d711e3';
Updating an entry(with validation)
UPDATE Properties SET key = 'test' FROM Teams, Hosts, Services WHERE Hosts.ID = Services.host_id AND Services.ID = Properties.service_id AND Properties.key = 'Username' AND Properties.service_id = 'ff783e2b-ddd2-4d24-82ee-53f58c1be716' AND Teams.id = '03302d0b-c28d-444a-9b9b-0440c3d711e3';
(cockroachdb specific): https://forum.cockroachlabs.com/t/how-to-update-from-another-table-on-a-condition/3470/4

go-gorm/gorm#4248

Resolved with: https://github.com/go-gorm/gorm/issues/4445#issuecomment-855511852

Following Statements are supported with Cockroach DB
	val := "Verified Value"
	tx := db.Debug().Model(&property.Property{}).Clauses(clause.From{Tables: []clause.Table{{Name: serviceTableName}, {Name: hostTableName}, {Name: teamTableName}}}).
		Where(fmt.Sprintf("%s.id = %s.host_id AND %s.id = %s.service_id AND %s.key = ? AND %s.service_id = ? AND %s.id = ?",hostTableName,serviceTableName,serviceTableName,propertyTableName,propertyTableName,propertyTableName,teamTableName),
			"Username", uuid.FromStringOrNil("ff783e2b-ddd2-4d24-82ee-53f58c1be716"),uuid.FromStringOrNil("03302d0b-c28d-444a-9b9b-0440c3d711e3"))
 	tx.Statement.BuildClauses = []string{clause.Update{}.Name(), clause.Set{}.Name(), clause.From{}.Name(), clause.Where{}.Name()}
	tx = tx.Updates(property.Property{Value: &val})
	if tx.Error != nil{
		panic(tx.Error)
	}
	fmt.Println(tx.RowsAffected)
	prop := &property.Property{}
	tx2 := db.Debug().Select(fmt.Sprintf("%s.*", propertyTableName)).Clauses(clause.From{Tables: []clause.Table{{Name: serviceTableName}, {Name: hostTableName}, {Name: teamTableName}, {Name: propertyTableName}}}).
		Where(fmt.Sprintf("%s.id = %s.host_id AND %s.id = %s.service_id AND %s.key = ? AND %s.service_id = ? AND %s.id = ?",hostTableName,serviceTableName,serviceTableName,propertyTableName,propertyTableName,propertyTableName,teamTableName),
			"Username", uuid.FromStringOrNil("ff783e2b-ddd2-4d24-82ee-53f58c1be716"),uuid.FromStringOrNil("03302d0b-c28d-444a-9b9b-0440c3d711e3")).First(prop)
	if tx2.Error != nil {
		panic(tx2.Error)
	}
	fmt.Println(*prop.Value)


Upgrade model on level 3.

-After completing the level 3,the QR scanner model is opening behind the Upgarde model.

-Verified this change on dev app v1.5.0(260)


removing some test deprecation warnings

Description
Please include a short summary of the change.
This PR shortens the output of running pytest and is a small QoL improvement for developers.
Example of output caused by the tests in test_KKT.py.
cvxpy/tests/test_KKT.py::TestKKT_QPs::test_qp_0
  /opt/anaconda3/envs/cvxpy_env/lib/python3.12/unittest/case.py:690: DeprecationWarning: It is deprecated to return a value that is not None from a test case (<bound method TestKKT_QPs.test_qp_0 of <cvxpy.tests.test_KKT.TestKKT_QPs testMethod=test_qp_0>>)
    return self.run(*args, **kwds)

cvxpy/tests/test_KKT.py::TestKKT_SOCPs::test_socp_0
  /opt/anaconda3/envs/cvxpy_env/lib/python3.12/unittest/case.py:690: DeprecationWarning: It is deprecated to return a value that is not None from a test case (<bound method TestKKT_SOCPs.test_socp_0 of <cvxpy.tests.test_KKT.TestKKT_SOCPs testMethod=test_socp_0>>)
    return self.run(*args, **kwds)

Also removed tests for the np.matrix interface since there were also deprecation warnings there from NumPy.
Finally, there is one last fix on a missed internal usage of reshape with explicit order.
Issue link (if applicable):
Type of change

[ ] New feature (backwards compatible)
[ ] New feature (breaking API changes)
[ ] Bug fix
[x] Other (Documentation, CI, ...)

Contribution checklist

[x] Add our license to new files.
[x] Check that your code adheres to our coding style.
[x] Write unittests.
[x] Run the unittests and check that they’re passing.
[x] Run the benchmarks to make sure your change doesn’t introduce a regression.

@aryamanjeendgar could you confirm that removing return sth from the tests doesn't affect the result? My understanding was that the methods like check_... are already testing what is required.


Tidy list of generators for “kubectl create”

This is a Feature Request

What would you like to be added
Convert the monospaced list of kubectl create generators into Markdown that renders as nice HTML.
Why is this needed
https://kubernetes.io/docs/reference/kubectl/conventions/#generators lists generators, as monospaced text.
This would render better as an unordered list.
Comments
/language en
/kind cleanup
/good-first-issue

/triage accepted
/sig docs

/assign

@sftim is there some automation to close an issue that has been resolved by PR, or do I just ask here? :)

@sftim is there some automation to close an issue that has been resolved by PR, or do I just ask here? :)

@tomkivlin you can use this https://docs.github.com/en/free-pro-team@latest/github/managing-your-work-on-github/linking-a-pull-request-to-an-issue when creating a PR

@tomkivlin you can use this https://docs.github.com/en/free-pro-team@latest/github/managing-your-work-on-github/linking-a-pull-request-to-an-issue when creating a PR

@irvifa sure, thanks.  I wasn't sure if this was discouraged in the PR guidelines but will add to the PR level next time.

@irvifa sure, thanks.  I wasn't sure if this was discouraged in the PR guidelines but will add to the PR level next time.

Resolved.
/close

Resolved.
/close


clicking on fluid tanks with a bucket fills the tank but still places the bucket

Fixed

My bad this is still broken

Never mind this is fixed


Enhancement request: Add support for isodose lines plot.

There should be a method to generate plots of isodose lines, showing either planned dose, measured dose or both. See attached figure for example.

I worked on this and got it working. Coming up in the next pull request!

Solved in latest PR #48


[T6A3][W13-C1]Lang Yanbin

@langyanbin0314
Some comments added. Please ack & close the PR after reading comments.


Xavier AGX - cannot find device "canX"

Hi Balena team,
Find a full description of our issue here.
Our problem is CAN bus related. When we tried to bring up the CAN modules we are getting the following error:

Before bringing it up we are performing the GPIO configuration to enable CAN (FInd more information here). All is done without any error: however when we run:
ip link set can0 type can bitrate 500000

We got the message (Cannot find device "can0").
We have done the same process with three boards (Xavier AGX) without any major problem, but we do not understand why is it happening. We have tried a bunch of thing but none of them seems to work so far. Are we missing some critical step or is there any modification we can do to deal with this issue?
Find additional information about the flashing process here:

AGX is plugged into the PC and is in recovery mode
./bin/cmd.js -f balena-cloud-Application-jetson-xavier-2.51.1+rev3-v11.4.10.img -m jetson-xavier (We tried with sudo as well)
Once done we unplug and reboot the device.

Using your production image balenaOS 2.51.1+rev3 with supervisor version 11.4.10
Please let me know if any additional information is required.

@kmilo7204 I could not reproduce this issue with newer image releases. Please re-open this ticket if the issue still occurs with the latest release.


[terraform-ibm-scc-da] DA diagram needs update

The diagram at https://github.com/terraform-ibm-modules/terraform-ibm-scc-da/blob/main/reference-architecture/scc.svg needs to be updated to the SCC section points to EN, and not the Workload Protection section

PR merged, closing this issue.


#2143 Fix culture sensitive tests

CSharpHelperTest uses US-English culture formatting when asserting the text. This fails on machines using other default culture settings. By setting the culture in the setup (and resetting it in tear down), the test can run successfully on non-US systems as well.

Hi @MichaelKetting, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, DNFBOT;

The AppVeyor error does not seem related to my commit:

Specify which project or solution file to use because the folder contains more than one project or solution file.

It also happens in other pull requests. Is there something I can/should do on my end?

@MichaelKetting Ignore Appveyer; it was never setup correctly. @Eilon was going to disable it for our repo.

Hmm, I think this is actually a product bug--not a test bug. We should be generating valid C# regardless of the culture. Instead, let's update CSharpHelper to format using the invariant culture.

Oh, yeah, now that you mention it. i guess CSharpHelper and output like "DateTimeOffset.Parse (..." should have been dead giveaways :)

@bricelam Since I already got started on the original discovery... I think I should have some time this weekend to fix this issue and update the pullrequest. Would propose using invariant culture formatting for the number, time, and date time values.

Sounds great! Thank you for spending the time to contribute this. If you don't get around to it, no worries; just close the PR and someone on our team will eventually get assigned to the bug you filed.

I removed the EF project from AppVeyor.

Will be submitting new PR shortly with bugfix for production code instead of test.


Added exec to linux startup script

Coverage decreased (-0.02%) to 46.12% when pulling 922825b8e9ea1aa10b8c913d336a448554f9fa01 on dpwspoon:develop into 2d27234727de77b9459e0e1199e3cec9b33138fc on kaazing:develop.


Duplicate peers reported by logs and admin_peers RPC

Both besu logs and admin_peers RPC show an unexpected number of peers. Other than misreporting, this might be a memory leak because after several days of uptime, the admin_peers response is ~2MB when there are ~3000 duplicate peers reported.
The duplicate peer is the node's own enode.
Note, grafana metrics show the expected number of peers.
Restarting the node resets the peer count, so it is probably a bug in some besu internal state.
This issue was discovered while on a dev AKS network using the default configuration at this point in time: https://github.com/ConsenSys/quorum-kubernetes/tree/ec44966433264affb1434f3be34f0b478cfa4c76
Potentially significant config:

All nodes use same static-nodes.json which contains all nodes.
discovery enabled
Xdns-enabled/Xdns-update-enabled
IBFT2
DEBUG log level

Steps to Reproduce

Deploy network to AKS as per: https://github.com/ConsenSys/quorum-kubernetes/blob/master/dev/README.md
Add RPC node(s) and leave network running
See too many peers in the RPC logs
Use admin_peers RPC to see that there are duplicate peers

Expected behavior:
Peers should remain constant and aligned with static nodes.
Actual behavior:
admin_peers RPC returns duplicate results for rpc node itself. On this network a duplicate is being added every 15-20 blocks:
$ curl --location --request POST 'http://localhost:8545' \
--header 'Content-Type: application/json' \
--data-raw '{
    "jsonrpc": "2.0",
    "method": "admin_peers",
    "params": [],
    "id": 1
}' | jq '.result | .[] | .enode' | sort | uniq -c
   1 "enode://11d9eef174cff4ab6da4f868a893c224d7caeef0ab06d28b067e86526860fb3896cc2aecf066376c4d0759823293e461e719a67006590b724be3d558ae5a583e@besu-node-validator-3-0.besu-node-validator-3.quorum.svc.cluster.local:30303?discport=0"
   1 "enode://3debcae3a106b136f7760f8c646ecbc9ecaccdc75a1848d154aaaac4180bd720ee7f31227f6ece7b33011509284bd075f97c7560970a95e615790a7f2cb024a5@<IP_ADDRESS>:30303?discport=0"
   1 "enode://4fd6a5944900e0387444d2a18b013d8cbcebda6259a89a33edc46913d3d9036243ed3361fad2efb82121457fa4b59e440f8a39af7bbcfd1dd8a821d12f5fda85@besu-node-bootnode-2-0.besu-node-bootnode-2.quorum.svc.cluster.local:30303"
   1 "enode://4fd6a5944900e0387444d2a18b013d8cbcebda6259a89a33edc46913d3d9036243ed3361fad2efb82121457fa4b59e440f8a39af7bbcfd1dd8a821d12f5fda85@<IP_ADDRESS>:30303?discport=0"
   1 "enode://73253a0ef4939f8e19ec99fd38e40d03c7f1fe403402cf6116b0af921834ac599ad93065abec8a54ad8b1004c5db6240db601c5bc4d54fca8469ceaf6484d4c9@besu-node-validator-4-0.besu-node-validator-4.quorum.svc.cluster.local:30303?discport=0"
   1 "enode://781818f1c9172eb5153266bc115e3d1486c5ad024a855fc32ceeeaf0a0175c11237125d883c48cfcd4fdd72fbd83b4fb49830cf0c29b2ff21bb92c7537cab93d@besu-node-validator-2-0.besu-node-validator-2.quorum.svc.cluster.local:30303?discport=0"
   1 "enode://b875a8e82a0e38da825dee07f639a0a5a184cebedf8dd60df58e55f1cab070d60e3cbec19eedc62fc37b74a79bc6e91c931a0efb8f1be66963bb0b967c485d78@<IP_ADDRESS>:30303?discport=0"
2279 "enode://d8a84770d66121bda4f2952798bb7016122f8e32c07e265a65575a02da6bc182e774fc11918771e3f2f3bab24d22d871aba4b1afb494c1c9e298b1eebe7de903@besu-node-rpc-1-0.besu-node-rpc-1.quorum.svc.cluster.local:30303?discport=0"
   1 "enode://efc3453c41000f146b88d21012430abdb3d348982b47056067191a7b7e335cc2c377dc70c9b2c62c90ace15dabc99fa7ea79a839778ed838bf34abcfadae79cc@besu-node-validator-1-0.besu-node-validator-1.quorum.svc.cluster.local:30303?discport=0"

Can also be seen in the logs:
2022-01-25 00:58:11.167+00:00 | EthScheduler-Timer-0 | DEBUG | FullSyncTargetManager | Caught up to best peer: 51612, Peers: 2699

Frequency:
Behaviour has been inconsistent when testing locally, but seems to happen consistently using the quorum-kubernetes config and deploying to AKS.
Versions (Add all that apply)

Software version:
besu/v22.1.0-RC2-dev-24433205/linux-x86_64/openjdk-java-11

Java version
openjdk version "11.0.13" 2021-10-19
OpenJDK Runtime Environment (build 11.0.13+8-Ubuntu-0ubuntu1.20.04)
OpenJDK 64-Bit Server VM (build 11.0.13+8-Ubuntu-0ubuntu1.20.04, mixed mode, sharing)

OS Name & Version
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.3 LTS"
NAME="Ubuntu"
VERSION="20.04.3 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.3 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal

Kernel Version
Linux besu-node-member-1-0 5.4.0-1065-azure # 68~18.04.1-Ubuntu SMP Fri Dec 3 14:08:44 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Additional Information
Not just limited to RPC nodes; querying other node types e.g. validator will also return duplicate peers where the duplicate is the validator's own enode.
Local testing with quorum-dev-quickstart seems to suggest this may only be a problem with discovery enabled (have not confirmed this on AKS yet).
Also, enabling DNS may be a factor, although local behaviour has been inconsistent, only sometimes getting duplicates.
So far, I have not seen duplicates with DNS disabled.
The admin_peers response can also contain some near-duplicates, for example bootnode-2 with and without its dns name:
"enode://4fd6a5944900e0387444d2a18b013d8cbcebda6259a89a33edc46913d3d9036243ed3361fad2efb82121457fa4b59e440f8a39af7bbcfd1dd8a821d12f5fda85@besu-node-bootnode-2-0.besu-node-bootnode-2.quorum.svc.cluster.local:30303"
"enode://4fd6a5944900e0387444d2a18b013d8cbcebda6259a89a33edc46913d3d9036243ed3361fad2efb82121457fa4b59e440f8a39af7bbcfd1dd8a821d12f5fda85@<IP_ADDRESS>:30303?discport=0"

Similar to https://github.com/hyperledger/besu/issues/2689 but this bug has seen the peers count constantly increasing.
Ideas for further investigation:

Rule out DNS
Rule out IBFT2 - does this happen with ethash or clique for example?
Rule out bootnodes/static nodes/discovery

For reference, static-nodes.json:
Static nodes:
[
"enode://11d9eef174cff4ab6da4f868a893c224d7caeef0ab06d28b067e86526860fb3896cc2aecf066376c4d0759823293e461e719a67006590b724be3d558ae5a583e@besu-node-validator-3-0.besu-node-validator-3.quorum.svc.cluster.local:30303?discport=0",
"enode://3debcae3a106b136f7760f8c646ecbc9ecaccdc75a1848d154aaaac4180bd720ee7f31227f6ece7b33011509284bd075f97c7560970a95e615790a7f2cb024a5@besu-node-rpc-2-0.besu-node-rpc-2.quorum.svc.cluster.local:30303?discport=0",
"enode://4fd6a5944900e0387444d2a18b013d8cbcebda6259a89a33edc46913d3d9036243ed3361fad2efb82121457fa4b59e440f8a39af7bbcfd1dd8a821d12f5fda85@besu-node-bootnode-2-0.besu-node-bootnode-2.quorum.svc.cluster.local:30303?discport=0",
"enode://73253a0ef4939f8e19ec99fd38e40d03c7f1fe403402cf6116b0af921834ac599ad93065abec8a54ad8b1004c5db6240db601c5bc4d54fca8469ceaf6484d4c9@besu-node-validator-4-0.besu-node-validator-4.quorum.svc.cluster.local:30303?discport=0",
"enode://781818f1c9172eb5153266bc115e3d1486c5ad024a855fc32ceeeaf0a0175c11237125d883c48cfcd4fdd72fbd83b4fb49830cf0c29b2ff21bb92c7537cab93d@besu-node-validator-2-0.besu-node-validator-2.quorum.svc.cluster.local:30303?discport=0",
"enode://b875a8e82a0e38da825dee07f639a0a5a184cebedf8dd60df58e55f1cab070d60e3cbec19eedc62fc37b74a79bc6e91c931a0efb8f1be66963bb0b967c485d78@besu-node-bootnode-1-0.besu-node-bootnode-1.quorum.svc.cluster.local:30303?discport=0",
"enode://c4b9379926471822bab5b70bb63ec23516648052fc47352436936f83120fef78227e08bb2d6a24bc8e411100f788baf3972574906eb9662292df658ac4601343@besu-node-member-1-0.besu-node-member-1.quorum.svc.cluster.local:30303?discport=0",
"enode://d8a84770d66121bda4f2952798bb7016122f8e32c07e265a65575a02da6bc182e774fc11918771e3f2f3bab24d22d871aba4b1afb494c1c9e298b1eebe7de903@besu-node-rpc-1-0.besu-node-rpc-1.quorum.svc.cluster.local:30303?discport=0",
"enode://efc3453c41000f146b88d21012430abdb3d348982b47056067191a7b7e335cc2c377dc70c9b2c62c90ace15dabc99fa7ea79a839778ed838bf34abcfadae79cc@besu-node-validator-1-0.besu-node-validator-1.quorum.svc.cluster.local:30303?discport=0"
]

DEBUG logs covering the period during which the duplicate peer count increased:
2022-01-25 00:58:06.166+00:00 | EthScheduler-Timer-0 | DEBUG | FullSyncTargetManager | Caught up to best peer: 51612, Peers: 2698
2022-01-25 00:58:06.167+00:00 | EthScheduler-Timer-0 | DEBUG | WaitForPeerTask | Waiting for new peer connection. 2698 peers currently connected.
2022-01-25 00:58:06.608+00:00 | vert.x-eventloop-thread-1 | DEBUG | PeerDiscoveryController | Peer table refresh triggered by insufficient peers
2022-01-25 00:58:06.608+00:00 | vert.x-eventloop-thread-1 | DEBUG | RecursivePeerRefreshState | Start peer search.
2022-01-25 00:58:06.608+00:00 | vert.x-eventloop-thread-1 | DEBUG | RecursivePeerRefreshState | Skipping bonding round because no candidates are available
2022-01-25 00:58:06.608+00:00 | vert.x-eventloop-thread-1 | DEBUG | RecursivePeerRefreshState | Initiating neighbours round with 3 candidates from 8 tracked nodes
2022-01-25 00:58:06.616+00:00 | vert.x-eventloop-thread-1 | DEBUG | RecursivePeerRefreshState | Received neighbours packet with 8 neighbours
2022-01-25 00:58:06.617+00:00 | vert.x-eventloop-thread-1 | DEBUG | RecursivePeerRefreshState | Received neighbours packet with 8 neighbours
2022-01-25 00:58:06.617+00:00 | vert.x-eventloop-thread-1 | DEBUG | RecursivePeerRefreshState | Received neighbours packet with 8 neighbours
2022-01-25 00:58:06.617+00:00 | vert.x-eventloop-thread-1 | DEBUG | RecursivePeerRefreshState | Skipping bonding round because no candidates are available
2022-01-25 00:58:06.617+00:00 | vert.x-eventloop-thread-1 | DEBUG | RecursivePeerRefreshState | Initiating neighbours round with 3 candidates from 8 tracked nodes
2022-01-25 00:58:06.619+00:00 | vert.x-eventloop-thread-1 | DEBUG | RecursivePeerRefreshState | Received neighbours packet with 8 neighbours
2022-01-25 00:58:06.619+00:00 | vert.x-eventloop-thread-1 | DEBUG | RecursivePeerRefreshState | Received neighbours packet with 8 neighbours
2022-01-25 00:58:06.620+00:00 | vert.x-eventloop-thread-1 | DEBUG | RecursivePeerRefreshState | Received neighbours packet with 7 neighbours
2022-01-25 00:58:06.620+00:00 | vert.x-eventloop-thread-1 | DEBUG | RecursivePeerRefreshState | Skipping bonding round because no candidates are available
2022-01-25 00:58:06.620+00:00 | vert.x-eventloop-thread-1 | DEBUG | RecursivePeerRefreshState | Initiating neighbours round with 2 candidates from 8 tracked nodes
2022-01-25 00:58:06.621+00:00 | vert.x-eventloop-thread-1 | DEBUG | RecursivePeerRefreshState | Received neighbours packet with 8 neighbours
2022-01-25 00:58:06.621+00:00 | vert.x-eventloop-thread-1 | DEBUG | RecursivePeerRefreshState | Received neighbours packet with 8 neighbours
2022-01-25 00:58:06.621+00:00 | vert.x-eventloop-thread-1 | DEBUG | RecursivePeerRefreshState | Skipping bonding round because no candidates are available
2022-01-25 00:58:06.621+00:00 | vert.x-eventloop-thread-1 | DEBUG | RecursivePeerRefreshState | Iterative peer search complete.  8 peers processed over 4 rounds.
2022-01-25 00:58:10.843+00:00 | nioEventLoopGroup-3-2 | DEBUG | HandshakeHandlerOutbound | Wrote initial crypto handshake message to besu-node-rpc-1-0.besu-node-rpc-1.quorum.svc.cluster.local/<IP_ADDRESS>:30303.
2022-01-25 00:58:10.848+00:00 | nioEventLoopGroup-3-2 | DEBUG | RlpxAgent | Outbound connection established to peer: 0xd8a84770d66121bda4f2952798bb7016122f8e32c07e265a65575a02da6bc182e774fc11918771e3f2f3bab24d22d871aba4b1afb494c1c9e298b1eebe7de903
2022-01-25 00:58:10.848+00:00 | nioEventLoopGroup-3-3 | DEBUG | RlpxAgent | Duplicate connection detected, disconnecting previously established connection in favor of new inbound connection for peer:  0xd8a84770d66121bda4f2952798bb7016122f8e32c07e265a65575a02da6bc182e774fc11918771e3f2f3bab24d22d871aba4b1afb494c1c9e298b1eebe7de903
2022-01-25 00:58:10.848+00:00 | nioEventLoopGroup-3-3 | DEBUG | EthProtocolManager | Disconnect - Outbound - 0x05 ALREADY_CONNECTED - PeerInfo{version=5, clientId='besu/v22.1.0-RC2-dev-24433205/linux-x86_64/openjdk-java-11', capabilities=[eth/62, eth/63, eth/64, eth/65, eth/66, IBF/1], port=30303, nodeId=0xd8a84770d66121bda4f2952798bb7016122f8e32c07e265a65575a02da6bc182e774fc11918771e3f2f3bab24d22d871aba4b1afb494c1c9e298b1eebe7de903} - 2698 peers left
2022-01-25 00:58:10.848+00:00 | nioEventLoopGroup-3-2 | DEBUG | EthProtocolManager | Sending status message to Peer 0xd8a84770d66121bda4....
2022-01-25 00:58:10.848+00:00 | nioEventLoopGroup-3-3 | DEBUG | EthProtocolManager | Sending status message to Peer 0xd8a84770d66121bda4....
2022-01-25 00:58:10.848+00:00 | nioEventLoopGroup-3-3 | DEBUG | EthProtocolManager | Disconnect - Inbound - 0x05 ALREADY_CONNECTED - PeerInfo{version=5, clientId='besu/v22.1.0-RC2-dev-24433205/linux-x86_64/openjdk-java-11', capabilities=[eth/62, eth/63, eth/64, eth/65, eth/66, IBF/1], port=30303, nodeId=0xd8a84770d66121bda4f2952798bb7016122f8e32c07e265a65575a02da6bc182e774fc11918771e3f2f3bab24d22d871aba4b1afb494c1c9e298b1eebe7de903} - 2699 peers left
2022-01-25 00:58:10.848+00:00 | nioEventLoopGroup-3-2 | DEBUG | EthProtocolManager | Received status message from Peer 0xd8a84770d66121bda4...: org.hyperledger.besu.ethereum.eth.messages.StatusMessage@f7ddf7e2
2022-01-25 00:58:11.167+00:00 | EthScheduler-Timer-0 | DEBUG | FullSyncTargetManager | Caught up to best peer: 51612, Peers: 2699

Recreated locally with:

DNS enabled and discovery disabled (12 duplicates over 9 hours)
DNS disabled and discovery disabled (3 duplicates over 3 hours)

So I think this rules out both DNS and p2p discovery.

Updated description with how to recreate with a minimal local setup: https://github.com/siladu/besu-duplicate-peers

connecting to self should be fixed now

still investigating duplicates in https://github.com/hyperledger/besu/issues/2689


extract cypress artifacts locally

Rationale
The end-to-end runs didn't have mounts set up to export their artifacts.
Changes
Adds bind mounts for Cypress videos and screenshots.
Related reading:
https://docs.docker.com/storage/bind-mounts/
https://docs.cypress.io/guides/guides/screenshots-and-videos
Testing
scripts/test e2e

@colespen after approval, there are two typical things that may happen. Either the approver merges and accepts responsibility for any failures during deployment, or the author of the PR merges. In this case you chose to merge for me, which is fine but in the future you should check first, in case the author or team had other changes that conflicted with the merge and had a requirement to merge before this.
Some people believe that forcing the approver to merge sets a higher bar for approval, I've had most experience with merging as the author, however. So for this project, let's let the author merge after they are comfortable with the changes (I've written up PRs that were approved and then I realized they should not be merged, and as the author I usually have more insight into why that may be).

@jasoncolburne, OK thanks for filling me in with all of that.  That totally makes sense.
I'll leave the merging to you in the future.


[runtime] add a config_path option to specify a new path to the config file

When we add click with #2, we should allow users to pass an override with their config file path.

Added config_path option. May consider adding individual config overrides later.


Cannot submit information to sign Ego4D licence

I'm facing the same issue with #149 that I cannot submit information at https://ego4ddataset.com/. The error message is 'Failed to Fetch'.
Could you help me to solve this?

encounter same problem

same issue.

I'm experiencing the same issue when re-submitting the license form to re-activate the credentials. Any suggestions?

Facing same issue while renewing my EgoExo4D license. Any update on resolving this?

Closing this issue for now. Please feel free to re-open it if the problem still persists.


feat: add examples of custom checks

Related issues:

https://github.com/aquasecurity/trivy/issues/4255

@simar7 In this PR trivy runs as a cli application via a package, which locks us into the version of trivy specified in go.mod. Alternatively, we can run the latest version of trivy via localstack, which will allow us to run tests in parallel and reduce the number of transitive dependencies (but I don't think this is critical). But then we would have to consider whether it would be too expensive to run such tests often.

But then we would have to consider whether it would be too expensive to run such tests often.

Interesting, why are they expensive to run in localstack? I think running them in localstack is actually good as it adds a layer of integration testing for us in trivy-checks to ensure nothing breaks in Trivy when we release a new trivy-checks version. Also we could add other verisons of Trivy here (besides latest)  to ensure we test against a set of versions.

We will pull the Trivy image every time we run the tests . Or can we cache it? If the cache will not be invalidated, we will constantly pull the same version of Trivy in case of using latest tag.


bug: When we hovering on the courses it getting black or blank.

Screencast from 05-06-24 12:20:36 PM IST.webm

I think it was supposed to auto-play on hover. But the video format is not supported that's why it's showing blank. Also this issue is fixed somewhere... by some PR

thanks for the clarification @hxdy-1


Make jobs show who's assigned to them

Closes #176

[X] Implement
[ ] Polish look and feel

Codecov Report

Merging #216 (80f4436) into master (dd50858) will decrease coverage by 1.77%.
The diff coverage is 37.17%.

@@             Coverage Diff              @@
##             master     #216      +/-   ##
============================================
- Coverage     65.09%   63.31%   -1.78%
+ Complexity      596      592       -4
============================================
  Files           111      112       +1
  Lines          2484     2508      +24
  Branches        262      261       -1
============================================
- Hits           1617     1588      -29
- Misses          755      809      +54
+ Partials        112      111       -1

Impacted Files
Coverage Δ

src/main/java/peoplesoft/MainApp.java
0.00% <0.00%> (ø)

...rc/main/java/peoplesoft/commons/core/Messages.java
0.00% <ø> (ø)

...n/java/peoplesoft/logic/commands/ClearCommand.java
100.00% <ø> (ø)

...in/java/peoplesoft/logic/commands/ExitCommand.java
100.00% <ø> (ø)

.../java/peoplesoft/logic/commands/ExportCommand.java
0.00% <0.00%> (ø)

...in/java/peoplesoft/logic/commands/HelpCommand.java
100.00% <ø> (ø)

...a/peoplesoft/logic/commands/job/JobAddCommand.java
41.66% <0.00%> (ø)

...eoplesoft/logic/commands/job/JobAssignCommand.java
15.38% <0.00%> (ø)

...esoft/logic/commands/person/PersonListCommand.java
100.00% <ø> (ø)

...a/peoplesoft/logic/parser/DeleteCommandParser.java
0.00% <0.00%> (ø)

... and 35 more

Continue to review full report at Codecov.

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

I'll be fixing the number issue by not including the number. Wrong numbers are worse than no numbers.


NPE's when using IAS elements

I added a null check on the get Y Values and that got me past that one.

@codymccoy Do you have an idea of what caused the null y values? I'd like to validate for that.


Buy values sometimes too high

I don't know what causes this, but sometimes the buy values are not proportional to the number of shields required.  The SETI Program wonder should cost 4800 coins if you buy it on the first turn, then 4 times the remaining shields on subsequent turns.  It should never cost a value higher than 4800 with no shields or or 2396 with 1 or more shield.  Each shield costs 4 coins, or 8 if there are no shields.

Here's another example.  A Factory requires 200 production to complete.  In this screenshot, I have built 80 shields, so 120 shields remain.  The buy value should be 480, but instead, it says 960.  In this case, it's exactly double what it should be.

That's a bugger, I thought I had it all figured out.

I might be wrong and buildings might cost double what units cost.  I was doing my calculation based on Settlers, which is a unit I buy very often in Civilization.  However, 17980 is beyond that anyway.

We figured it out here: https://forums.civfanatics.com/threads/buy-unit-building-wonder-price.576026/#post-14490920
I have either made a mistake in the implementation, or there's some extra rules that we didn't take into account.

That formula looks non-linear.  The unit price formula may be non-linear, but the buildings formula is definitely linear.  Notice how every buy value is a multiple of 2 for non-wonder buildings and 4 for wonders.
Here is a pseudocode assignment for buildings:
price = ( totalShieldsRequired - currentShields ) * ( isWonder ? 4 : 2 )
I'm not sure about units.  Your current formula may well apply to them.  Tristan_C was right in that thread about buildings and wonders though.  CivOne is just incorrectly applying the units formula to buildings.


issuer, subject DNs

Is it intended that the certificates generated by this tool don't have issuer and subject DNs set?
I tried to use this for registering a validation hook with a Java API, but it's practically impossible to use the cert & key used by this tool because Java's X509 validation will prohibit loading the cert into a KeyStore:
java.security.cert.CertificateParsingException: Empty issuer DN not allowed in X509Certificates
Would it be an option to allow setting these DNs when the cert / key are generated?

Could you let me know if the following set of generated certs work for you?
ca
-----BEGIN CERTIFICATE-----
MIIBVTCB+6ADAgECAhEAsyI/A5gqCV5qHzzZ4Mm0kzAKBggqhkjOPQQDAjAOMQww
CgYDVQQKEwNuaWwwIBcNMjAwNzE1MDQ1NDE0WhgPMjEyMDA2MjEwNDU0MTRaMA4x
DDAKBgNVBAoTA25pbDBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABHn0ZK3KCpVM
0aK+iTUghgDirOnchP2ac3ubIGW1u8oPbcbT5zNLmzSoIkL1axrKWLFd951+a4+/
OZu/BLZ/uTGjODA2MA4GA1UdDwEB/wQEAwICBDATBgNVHSUEDDAKBggrBgEFBQcD
ATAPBgNVHRMBAf8EBTADAQH/MAoGCCqGSM49BAMCA0kAMEYCIQC8jT4dDqWUVDOv
JqAAiey8KCfxcpQUPWP2xSAYeUUhUQIhAKtk6eHgpQwGTgdigM6Cj1wn6hJY/b7S
8NBnCov4VHDf
-----END CERTIFICATE-----

cert
-----BEGIN CERTIFICATE-----
MIIBaDCCAQ6gAwIBAgIRAMpKnB487oVLRMenvsq/4QcwCgYIKoZIzj0EAwIwDjEM
MAoGA1UEChMDbmlsMCAXDTIwMDcxNTA0NTQxNFoYDzIxMjAwNjIxMDQ1NDE0WjAO
MQwwCgYDVQQKEwNuaWwwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAR+nk8MnrJI
o0M/sLEkZTPFgy+1uRJbLnFou5deH+mBd1/ha8Og0piHzGP127GnyKOnszGSUEZz
ruRb1Lu7ESDio0swSTAOBgNVHQ8BAf8EBAMCBaAwEwYDVR0lBAwwCgYIKwYBBQUH
AwEwDAYDVR0TAQH/BAIwADAUBgNVHREEDTALgglsb2NhbGhvc3QwCgYIKoZIzj0E
AwIDSAAwRQIgAbwNjfPh8hof5hhHHdBb1bHCxgcy0W3UchaYmNNeNagCIQCFUAFg
y7PAa4BLLg60eXDI695yN0Ar2Kn4pTusWBChTg==
-----END CERTIFICATE-----

key
-----BEGIN EC PRIVATE KEY-----
MHcCAQEEIJrCtKX1SbfgyK7XTHo/dH60O53SR7HKpCfVrCAu8fV8oAoGCCqGSM49
AwEHoUQDQgAEfp5PDJ6ySKNDP7CxJGUzxYMvtbkSWy5xaLuXXh/pgXdf4WvDoNKY
h8xj9duxp8ijp7MxklBGc67kW9S7uxEg4g==
-----END EC PRIVATE KEY-----

Checking the ca with openssl this appears to have the issuer set.
$ openssl x509 -in ca.pem -text
Certificate:
    Data:
        Version: 3 (0x2)
        Serial Number:
            b3:22:3f:03:98:2a:09:5e:6a:1f:3c:d9:e0:c9:b4:93
    Signature Algorithm: ecdsa-with-SHA256
        Issuer: O=nil
        Validity
            Not Before: Jul 15 04:54:14 2020 GMT
            Not After : Jun 21 04:54:14 2120 GMT
        Subject: O=nil
        Subject Public Key Info:
            Public Key Algorithm: id-ecPublicKey
                Public-Key: (256 bit)
                pub:
                    04:79:f4:64:ad:ca:0a:95:4c:d1:a2:be:89:35:20:
                    86:00:e2:ac:e9:dc:84:fd:9a:73:7b:9b:20:65:b5:
                    bb:ca:0f:6d:c6:d3:e7:33:4b:9b:34:a8:22:42:f5:
                    6b:1a:ca:58:b1:5d:f7:9d:7e:6b:8f:bf:39:9b:bf:
                    04:b6:7f:b9:31
                ASN1 OID: prime256v1
                NIST CURVE: P-256
        X509v3 extensions:
            X509v3 Key Usage: critical
                Certificate Sign
            X509v3 Extended Key Usage:
                TLS Web Server Authentication
            X509v3 Basic Constraints: critical
                CA:TRUE
    Signature Algorithm: ecdsa-with-SHA256
         30:46:02:21:00:bc:8d:3e:1d:0e:a5:94:54:33:af:26:a0:00:
         89:ec:bc:28:27:f1:72:94:14:3d:63:f6:c5:20:18:79:45:21:
         51:02:21:00:ab:64:e9:e1:e0:a5:0c:06:4e:07:62:80:ce:82:
         8f:5c:27:ea:12:58:fd:be:d2:f0:d0:67:0a:8b:f8:54:70:df
-----BEGIN CERTIFICATE-----
MIIBVTCB+6ADAgECAhEAsyI/A5gqCV5qHzzZ4Mm0kzAKBggqhkjOPQQDAjAOMQww
CgYDVQQKEwNuaWwwIBcNMjAwNzE1MDQ1NDE0WhgPMjEyMDA2MjEwNDU0MTRaMA4x
DDAKBgNVBAoTA25pbDBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABHn0ZK3KCpVM
0aK+iTUghgDirOnchP2ac3ubIGW1u8oPbcbT5zNLmzSoIkL1axrKWLFd951+a4+/
OZu/BLZ/uTGjODA2MA4GA1UdDwEB/wQEAwICBDATBgNVHSUEDDAKBggrBgEFBQcD
ATAPBgNVHRMBAf8EBTADAQH/MAoGCCqGSM49BAMCA0kAMEYCIQC8jT4dDqWUVDOv
JqAAiey8KCfxcpQUPWP2xSAYeUUhUQIhAKtk6eHgpQwGTgdigM6Cj1wn6hJY/b7S
8NBnCov4VHDf
-----END CERTIFICATE-----

Importing into a keystore also works:
$ keytool -import -trustcacerts -keystore keystore.ks -storepass changeit -file ca.pem
Owner: O=nil
Issuer: O=nil
Serial number: b3223f03982a095e6a1f3cd9e0c9b493
Valid from: Wed Jul 15 05:54:14 IST 2020 until: Fri Jun 21 05:54:14 IST 2120
Certificate fingerprints:
	 SHA1: 6F:A7:D0:D4:2E:2A:6C:8E:0B:23:2C:22:DF:2E:52:7D:F6:7B:01:C7
	 SHA256: 1F:2F:BF:63:49:C7:B5:9E:D7:4D:55:4A:96:C4:0E:86:FE:4A:2A:44:E7:5F:8D:7E:40:66:BA:EA:55:0E:75:4F
Signature algorithm name: SHA256withECDSA
Subject Public Key Algorithm: 256-bit EC (secp256r1) key
Version: 3

Extensions:

#1: ObjectId: <IP_ADDRESS> Criticality=true
BasicConstraints:[
  CA:true
  PathLen:2147483647
]

#2: ObjectId: <IP_ADDRESS> Criticality=false
ExtendedKeyUsages [
  serverAuth
]

#3: ObjectId: <IP_ADDRESS> Criticality=true
KeyUsage [
  Key_CertSign
]

Trust this certificate? [no]:

If you can validate that this works on your side, I'll include this in the default generation mechanism.

@sbaier1 is this still an issue for you or have you gone a different direction?

hey @vsliouniaev sorry for the late reply, i have implemented a workaround in the mean-time (the operator itself generated and set the certs which is not a great solution for obvious reasons) but i definitely still see this as an issue. i'll test your certs soon and get back to you on this.

alright, your solution works, i can load it into a KeyStore programmatically and it works as expected. Would be great if you could release your fix.

v1.4.0 contains these changes


Set the C++ version in the Podfile less awkwardly

The previous approach was just a workaround for Xcode 5.

:+1:

:+1:

retest this please

:ship:

What's the status on this? Are we still waiting on CocoaPods to properly support this? /cc @tgoyne @segiddins

I can't remember an reason this requires explicit CocoaPods support?

It doesn't do anything useful without the ability to set xcconfig for only our pod.

Ok, then I'm closing this PR since we're blocked on https://github.com/CocoaPods/CocoaPods/issues/3733.

It turns out that this is now in CocoaPods core (https://github.com/CocoaPods/Core/pull/242) and should ostensibly be part of the next CP release.

(keep in mind that to take advantage of new features requires users to be up-to-date :) )


cid#1546192 SIC: Inner class could be made static

Description

Related Issue

Motivation and Context

How Has This Been Tested?

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

just a little fix for a low hanging coverity/FindBugs warning


Report value of timeout flags on startup

MemGator allows a user to specify contimeout, hdrtimeout, and restimeout values as command-line flags on startup. It would be useful, to ensure the correct values are interpreted by MemGator from the user, for MemGator to report the values on startup along with the endpoint list and ASCII art.

In that case, perhaps some other configurations should also be printed.


Joining Tables

Is it possible to add a functionality to join tables automatically after defining relations in the Table classes. For example if we have two tables users and services defined like the following.
@DataClassName("User")
class Users extends Table {
  IntColumn get id => integer()();

  TextColumn get name => text().nullable()();

  TextColumn get email => text().nullable()();

  TextColumn get username => text().nullable()();

  @JsonKey('created_at')
  IntColumn get createdAt => integer().nullable()();

  @override
  Set<Column> get primaryKey => {id};

  @override
  Set<Relation> hasMany => [Service, SomeOtherTableName, ] // there those tables will be defined which are related to this table via id column with one-to-many relationship

 @override
  Set<Relation> hasOne => [SomeOtherTable, SomeOtherTableName, ] // there those tables will be defined which are related to this table via id column but with one-to-one relationship

}

@DataClassName("Service")
class Services extends Table {
  IntColumn get id => integer()();

  TextColumn get title => text().nullable()();

  TextColumn get description => text().nullable()();

  @JsonKey('user_id')
  IntColumn get userId => integer().nullable()();

  @JsonKey('created_at')
  IntColumn get createdAt => integer().nullable()();

  @override
  Set<Column> get primaryKey => {id};

  @override
  Set<Relation> belongsTo => [User] // reverse relationship. Its optional but It will be useful when we want to get user through service, but if we don't want to get user via service then we can ignor this override.
}

Once we have our proper relationship defined in the tables, then maybe we can simply call some helper functions to get related items for example:
@JoinedQuery(join: [User, Service])
UserWithServices userWithServices();

and for reverse relationship:
@JoinedQuery(join: [Service, User])
UserOfService userOfService();

and then in actual queries we can call those generated helpers like below maybe
 Stream<UserWithServices> watchUserWithServices(int userId) {
    return (select(users)..where((t) => t.id.equals(userId))..userWithServices()).watch();
  }

and UserWithServices will be consist of User and his/her list of services e.g List<Service>
so whenever we want to get services of user we will only need to add userWithServices() inside the query and It will return the UserWithServices object containing User and its all Services. And if we only need to get User and not any joined tables we will ignore adding userWithServices() in the query.
And same can be applied for reverse relatioship like this:
 Stream<UserOfService> watchUserOfService(int serviceId) {
    return (select(services)..where((t) => t.id.equals(serviceId))..userOfService()).watch();
  }

The above query will be able to work by overriding belongsTo in the Service table.
It's just my thought but you can come up with different best approach to ease the joinings of tables especially those one which has One to Many relationship because those kind of queries need external packages to work.

@simolus3 let me know what do think about this. Thanks.

Thanks for the request! There have been similar requests in the past, most notably https://github.com/simolus3/moor/issues/114. In general, I'm reluctant to add these features to the core moor packages because I think they'd add a lot of complexity and don't necessarily solve the problems moor is trying to solve. I don't see moor as a full-scale ORM but rather a convenience layer around sqlite3 that introduces plenty of abstractions without hiding the relational aspects of sqlite3. To me, starting to automatically resolve joins at runtime feels like a step where moor stops being a database library and starts being an ORM that hides the underlying data model.
If we start adding support for simple 1:n relations, users might expect proper support for more complicated topics like n:m relations that are much harder to solve generally. Moor's runtime is already fairly complex without having any ORM features, and most ORMs I know are really complicated by themselves.
So my general stance on this is that I don't want to work on these features and I probably don't have time to maintain them in this project either. If somebody wants to build an ORM with these features on top of moor, then I am definitely willing to help. Sorry for the unsatisfying answer, but that's my general take on features like this.

Ok 😢 I thought you will like my idea, even I also saw in the dream that you have accepted my suggestion and started working on it, even I thought people will leave amazing reactions (♥ 🚀👍👌👀) to my suggestion.. I thought @simolus3 will pin this issue and all community even google, flutter and all known developers community will start to working on it. But....... I'm just kidding 😜 Thank you @simolus3 for what you have already done for this community and continually making your best effort to respond in very helpful way. I respect you sir. Good luck for ahead. Bless you.


fix: read mix-manifest.json

check mix-manifest.json from public folder on localhost and public_html on server

hey @mohammadRezaPegah , can you please explain why these two files were added and how does that help solve a problem? What problem were you facing anyway?

Yes of course, when you run your laravel project on localhost and public folder location is inside the project folder, every thing is fine and we have not any problem but when you send the code on server and migrate public folder files to public_html the package looking for public folder in the resource folder and can not find and read mix-manifest.json and returns publish error: "Log Viewer assets are not published. Please run: php artisan vendor:publish --tag=log-viewer-assets --force".
In fact, package assetes published successfully but in LogViewerService.php@assetsAreCurrent() method we used public_path() method to find and read mix-manifest.json file(public_path() by default return's "/home/..../source_code/public"), but now, in LogViewerService.php@assetsAreCurrent(), i first check the public folder(support localhost) and after that i checked public_html folder(support server) and if i cant find mix-manifest.json in any of this path's, the application return's assets publish error.
With this solution user does not need to change public_path() return or change any other configs.

@mohammadRezaPegah , you should not "migrate" anything when deploying to a production server. Your apache/nginx configuration should just serve the app from the public folder instead.
For example, if you have deployed your app to /var/www/example.com folder, which has the standard Laravel structure like app, vendor, public, etc., then you would configure your Apache like so:
    DocumentRoot /var/www/example.com/public

Or in nginx:
    root /var/www/example.com/public;

With this in mind, I'm going to reject this PR because it is not a solution to your problem.
Hopefully this helps! 😄

Very good, I'll check this.
Tank's for your time


Update latest versions in documentation

Updating following in .NET for Apache Spark documentation:

Latest v1.0.0 release of Spark .NET.
Updating to latest .NET core 3.1 version.
Updating latest naming convention of microsoft-spark jar.
Fixing errors here and there.

Fixes Spark .NET issue
Preview URLs:

File Type
File Name
Published Url

Content
docs/spark/how-to-guides/broadcast-guide.md
https://review.docs.microsoft.com/en-us/dotnet/spark/how-to-guides/broadcast-guide?branch=pr-en-us-21247

Content
docs/spark/how-to-guides/connect-to-mongo-db.md
https://review.docs.microsoft.com/en-us/dotnet/spark/how-to-guides/connect-to-mongo-db?branch=pr-en-us-21247

Content
docs/spark/how-to-guides/databricks-deploy-methods.md
https://review.docs.microsoft.com/en-us/dotnet/spark/how-to-guides/databricks-deploy-methods?branch=pr-en-us-21247

Content
docs/spark/how-to-guides/deploy-worker-udf-binaries.md
https://review.docs.microsoft.com/en-us/dotnet/spark/how-to-guides/deploy-worker-udf-binaries?branch=pr-en-us-21247

Content
docs/spark/how-to-guides/dotnet-spark-jupyter-notebooks.md
https://review.docs.microsoft.com/en-us/dotnet/spark/how-to-guides/dotnet-spark-jupyter-notebooks?branch=pr-en-us-21247

Content
docs/spark/how-to-guides/hdinsight-deploy-methods.md
https://review.docs.microsoft.com/en-us/dotnet/spark/how-to-guides/hdinsight-deploy-methods?branch=pr-en-us-21247

Content
docs/spark/how-to-guides/hdinsight-notebook-installation.md
https://review.docs.microsoft.com/en-us/dotnet/spark/how-to-guides/hdinsight-notebook-installation?branch=pr-en-us-21247

Content
docs/spark/how-to-guides/java-udf-from-dotnet.md
https://review.docs.microsoft.com/en-us/dotnet/spark/how-to-guides/java-udf-from-dotnet?branch=pr-en-us-21247

Content
docs/spark/how-to-guides/ubuntu-instructions.md
https://review.docs.microsoft.com/en-us/dotnet/spark/how-to-guides/ubuntu-instructions?branch=pr-en-us-21247

Content
docs/spark/how-to-guides/windows-instructions.md
https://review.docs.microsoft.com/en-us/dotnet/spark/how-to-guides/windows-instructions?branch=pr-en-us-21247

Content
docs/spark/tutorials/amazon-emr-spark-deployment.md
https://review.docs.microsoft.com/en-us/dotnet/spark/tutorials/amazon-emr-spark-deployment?branch=pr-en-us-21247

Content
docs/spark/tutorials/batch-processing.md
https://review.docs.microsoft.com/en-us/dotnet/spark/tutorials/batch-processing?branch=pr-en-us-21247

Content
docs/spark/tutorials/databricks-deployment.md
https://review.docs.microsoft.com/en-us/dotnet/spark/tutorials/databricks-deployment?branch=pr-en-us-21247

Content
docs/spark/tutorials/get-started.md
https://review.docs.microsoft.com/en-us/dotnet/spark/tutorials/get-started?branch=pr-en-us-21247

Content
docs/spark/tutorials/hdinsight-deployment.md
https://review.docs.microsoft.com/en-us/dotnet/spark/tutorials/hdinsight-deployment?branch=pr-en-us-21247

Content
docs/spark/tutorials/ml-sentiment-analysis.md
https://review.docs.microsoft.com/en-us/dotnet/spark/tutorials/ml-sentiment-analysis?branch=pr-en-us-21247

Content
docs/spark/tutorials/streaming.md
https://review.docs.microsoft.com/en-us/dotnet/spark/tutorials/streaming?branch=pr-en-us-21247

Content
docs/spark/what-is-apache-spark-dotnet.md
https://review.docs.microsoft.com/en-us/dotnet/spark/what-is-apache-spark-dotnet?branch=pr-en-us-21247

@luisquintanilla Thank you so much for the review, I have addressed all your comments, please let me know if the changes look ok. Thanks!

Thanks @Niharikadutta for making all the changes. Looks good to me. Approving.


New version: MATLABDiffEq v0.3.0

Registering package: MATLABDiffEq
Repository: https://github.com/SciML/MATLABDiffEq.jl
Created by: @ChrisRackauckas
Version: v0.3.0
Commit: d29f0db5c16aace55c8a8afab89e9529baa15385
Reviewed by: @ChrisRackauckas
Reference: https://github.com/SciML/MATLABDiffEq.jl/issues/13#issuecomment-612640580

MATLAB


Access single version project with USE_SUBDOMAIN=False

This PR is based on #3975
The test will fail when trying to access request.slug in the map_project_slug decorator.

@humitos whats the status of this? Is this just a test waiting for an implementation?

@ericholscher this is something that we don't support currently: USE_SUBDOMAIN=False to see single version docs.
We could open an issue if not already (to not forget about this) and close this PR since it's just an example of a failing test.
This PR is not a priority since USE_SUBDOMAIN=False is used only for developing purposes. Also, I think you said we will potentially remove this option.
I'm closing it here. Reopen if you consider.


Its not an issue. Its query

We have around 300 user and we have to compute percentile of traffic usage of each user using spark streaming(getting from kafka).
Is there any example which shows how to do it using TDigest

I don't have an example in spark.
I could help you create one if you would like to work together on this.

I don't have an example in spark.
I could help you create one if you would like to work together on this.

Do you have an answer to my question about working together?
If not, I will close this issue in a few days.

Do you have an answer to my question about working together?
If not, I will close this issue in a few days.

Hi, We chose other options. I will close this issue.

Hi, We chose other options. I will close this issue.

Ashok,
Can you say what you chose?
On Sun, Jan 24, 2021 at 9:53 PM ashokblend<EMAIL_ADDRESS>wrote:

Hi, We chose other options. I will close this issue.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/tdunning/t-digest/issues/140#issuecomment-766561411,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAB5E6UQ62YXGXVEPPHJKETS3UBMHANCNFSM4MC32YUQ
.

Ashok,
Can you say what you chose?
On Sun, Jan 24, 2021 at 9:53 PM ashokblend<EMAIL_ADDRESS>wrote:

Hi, We chose other options. I will close this issue.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/tdunning/t-digest/issues/140#issuecomment-766561411,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAB5E6UQ62YXGXVEPPHJKETS3UBMHANCNFSM4MC32YUQ
.


Timeline bug display when unfold the view

VSCode Version:1.44.2
OS Version:macOS 10.15.4

Steps to Reproduce:

switch to different files in the editor
see the unfolding view of timeline

Does this issue occur when all extensions are disabled?: Yes/No

/needsMoreInfo
Is it reproducible in VS Code insiders? Looks like line wrapping of filename was replaced with ... if it overflows.


Add ability to filter on alt thresholds and allelic balance for de novos

from Matt:
Alt freq > 0.35 < 0.65
Alt count > 5

We can filter on alt count, so just add a filter for allele balance


Issue Reporter in ADS gives you a 'Not found' error

I've noticed lately that when I file a bug from ADS using the Issue Reporter, when you click on the 'Preview on GitHub' button it opens a browser and gives you a 'Not found' response.
Example URL that is opened:
https://github.com/Microsoft/azuredatastudio/issues/new&title=Prompts for SPN information should only be shown for direct connected mode&body=
Issue Type%3A <b>Bug<%2Fb>

When creating an Azure Arc data controller%2C we should only prompt the user for the SPN information when the direct connected mode is selected.

Extension version%3A 0.6.3
Azure Data Studio version%3A azuredatastudio-insiders 1.25.0-insider (c7cca5afea12f977e66f0d078222ca95394b2f79%2C 2020-11-19T08%3A39%3A47.479Z)
OS version%3A Windows_NT x64 10.0.19042

<!-- generated by issue reporter -->

I can repro this when choosing "An extension" for the File on field:

Spot checked a few extensions and all seem to have this behavior.


Changed reference from 'eigen-latest/' to 'eigen/' in pi_examples

With 'eigen-latest/' following error occurs:
./third_party/eigen3/unsupported/Eigen/CXX11/Tensor:1:42: fatal error: unsupported/Eigen/CXX11/Tensor: No such file or directory
when changed to 'eigen/' build completes without errors.
Other mentions of this error:
https://github.com/tensorflow/tensorflow/issues/4680
https://github.com/tensorflow/tensorflow/issues/5255

Can one of the admins verify this patch?

Thanks for the fix! This looks good to me.

@tensorflow-jenkins test this please


few things I would like to see fixed

CPM (Custom Player Models) support
it isn't that important but like I want to see the Goop work properly on models that are not Steve, even if it is just using an RNG for the Goop

Quark UI coincidence
I would like to see the button moved to the right side of the pause menu due to Quark's button overlapping

tint blocks and not generate new textures for the infected blocks
This is simple but currently with the number of mods I have they use the textures of Items.

MAKE SPECIAL LATEX NOT SUMMONABLE WITH COMMANDS (for non-donators)
the special latex crashed my computer twice when messing with it but it was interesting seeing a non-specified latex though.

just don't craft or try to spawn special latex

Quark UI coincidence
I would like to see the button moved to the right side of the pause menu due to Quark's button overlapping

Fixed in ad8d265b3870f11c24ad1f75a87d1249016787fd

tint blocks and not generate new textures for the infected blocks
This is simple but currently with the number of mods I have they use the textures of Items.

This can be set in the client config with generateUniqueTexturesForAllBlocks = false

Quark UI coincidence
I would like to see the button moved to the right side of the pause menu due to Quark's button overlapping

Now fixed in ad8d265

tint blocks and not generate new textures for the infected blocks
This is simple but currently with the number of mods I have they use the textures of Items.

This can be set in the client config with generateUniqueTexturesForAllBlocks = false

oh, Thanks! also strongholds don't spawn in dark latex planes but you don't have to make them spawn if you don't want to though

Quark UI coincidence
I would like to see the button moved to the right side of the pause menu due to Quark's button overlapping

Now fixed in ad8d265

tint blocks and not generate new textures for the infected blocks
This is simple but currently with the number of mods I have they use the textures of Items.

This can be set in the client config with generateUniqueTexturesForAllBlocks = false

So I am having a similar issue now with generateUniqueTexturesForAllBlocks set to false

What issue are you running into? Is it a crash? Is it memory usage? Or is it only presentation?
I should note that the blocks aren't tinted currently due to rendering technicalities.

CPM (Custom Player Models) support

it isn't that important but like I want to see the Goop work properly on models that are not Steve, even if it is just using an RNG for the Goop

Btw can I get some clarification for what you mean by this? Are you talking about the dripping latex particles?

CPM (Custom Player Models) support

it isn't that important but like I want to see the Goop work properly on models that are not Steve, even if it is just using an RNG for the Goop

Btw can I get some clarification for what you mean by this? Are you talking about the dripping latex particles?

well I was talking about the goop texture that covers the player's skin, it's a little funky to see my player be relatively unaffected by the goop

What issue are you running into? Is it a crash? Is it memory usage? Or is it only presentation? I should note that the blocks aren't tinted currently due to rendering technicalities.

Well the Presentation,
It's still taking random textures

Oh, that sounds like a compatibility issue. What's your modlist?

Oh, that sounds like a compatibility issue. What's your modlist?

I will send you my modlist.

most of the mods work fine except for the mild issue with Quark (The texture issue) and Chisels and Bits (I don't even know why but it isn't working with the Changed mod)

CPM（自定义玩家模型）支持
并不是那么重要，但我想看到 Goop 在非 Steve 模型上正常工作，即使它只是为 Goop 使用 RNG
Quark UI 巧合
我希望看到按钮移到暂停菜单的右侧，因为 Quark 的按钮重叠
给块着色并且不为受感染的块生成新的纹理
这很简单但是目前我拥有的模块数量都使用了物品的纹理。
使特殊乳胶无法通过命令召唤（对于非捐赠者），
当我摆弄它时，特殊乳胶使我的电脑崩溃了两次，但看到非指定的乳胶很有趣。

还有：机械动力模组按钮也重合了
Also, the buttons on the mechanical power module have overlapped

Stale


Need FIFO joining example

While going through the RP2040 Datasheet https://datasheets.raspberrypi.org/rp2040/rp2040-datasheet.pdf Chapter 3 PIO, section 3.5 Functional Details, then looking for documentation and examples of FIFO joining in micropython, the only thing I've found is https://forum.micropython.org/viewtopic.php?t=9814&p=54996
It'd be convenient to have an example of FIFO joining here with all these other wonderful examples.

That forum thread you linked to says "MicroPython doesn't provide an API for this (yet)."
AFAIK the examples in this repo only illustrate using MicroPython APIs; so without MicroPython API support for joining PIO FIFOs, there won't be any pico-micropython-examples showing how to join PIO FIFOs.

Seems like a fairly valid point lurch.  Now it looks like fifo_join support has recently been added to MicroPython. Gotta figure out how to use it and test it out. fifo_join support added here

If you do figure it out, Pull Requests are always welcome :slightly_smiling_face:

@lurch @IndustrialMuffin
from MicroPython GitHub
issue:

rp2 PIO: Allow merging Tx/Rx FIFOs together #6854

pull:

rp2/rp2_pio: Add fifo_join support for PIO. #7093

@kevindawson Yes, that's related to @IndustrialMuffin 's "it looks like fifo_join support has recently been added to MicroPython" comment.
My "Pull Requests are always welcome" comment was WRT to adding an example of using FIFO joining to this pico-micropython-examples repo. Unfortunately all the RPi engineers are too busy with other stuff to have time to add new example code.

@lurch
from MicroPython GitHub
example: pio_uart_rx.py

I'm not sure if there's value in duplicating example-code between multiple repos? :shrug: (it can often lead to the situation where fixes made in one version don't appear in the other version)
Sounds like a decision for @aallan to make :smiley:

@lurch with all my reading around - example I had seen ;)
Please do not duplicate
I think it would be better just to have links

I think it would be better just to have links

Good idea, see #34 :slightly_smiling_face:

@lurch Cool ;)
@IndustrialMuffin if your a happy bunny now, please close.


fix: Clarify group claims instructions for Okta SSO

Description
We got feedback that configuring the group claims with the API incurs additional charges for users and it's only one way of doing it. This PR helps to clarify that.

https://kongstrong.slack.com/archives/CDSTDSG9J/p1729165401853309
Testing instructions
Preview link:
Checklist

[x] Review label added
[x] Conditional version tags added, if applicable.

I'm going to close this PR out because these changes were applied as part of #8118