Windows: Step-by-step test RTD & readme

I have noticed some errors in the RTD guide and also some areas that require more clarification for the benefit of readers.
In the Getting Started > Changing Nodes and Settings > Configuring node behaviour > via CLI section:

The guide suggested input.live  : {'input_dir': <directory where videos/images are stored}.
Input live node do not have input dir argument. should be replaced with input.recorded.
Also for the directory/filepath need to high light to be in apostrophe   {'input.recorded'  : {'input_dir': '<directory where videos/images are stored>'}}
When testing in windows need to suggest to use \\ rather than single \ in the filepath
The example run_config.yml did not use output.media_writer but the --node_config example used it
Should highlight that updates using --node_config in CLI can only update configs for nodes declared in run_config.yml

In the Getting Started >Building Custom Nodes to run with PeekingDuck>Step 3: Create Node Configs section:

the file path for the <node>.yml example should use filepath: '<filepath>.csv'  as the user may not have created a <results> file dir
using filepath: 'results/stats.csv'  without creating <results> file dir will raise a file do not exist error

In the Getting Started >PeekingDuck Python API>Sample Code section:

similiar to the above issue raise, input_node = recorded.Node(input_dir="data/input/t1.jpg") and output_node = media_writer.Node(output_dir="data/output") should state input_node = recorded.Node(input_dir="<file path>") and output_node = media_writer.Node(output_dir="<filepath>")
so as to avoid any error due to filepath to not exist if user copy the code as it is in the guide


Audit our operator == methods to make sure they use identical() when appropriate and not otherwise

Maybe we should instrument our operator ==s in checked mode.


added init.py

I added an __init__.py, as suggested here: https://github.com/xesscorp/WireIt/issues/11.
Tested on Fedora 32 with KiCad 5.1.6-fc32.

I'm unsure how this would work with multiple plugins since they all go into the same plugins directory. Wouldn't their individual __init__.py files overwrite each other?

Interesting point! So far I this is how I installed plugins:

cd <plugin directory> (i.e. ~/.kicad_plugins or %PRGRAMFILES\KiCad\share\kicad\scripting\plugins)
git clone <repo>

If I do this, there is automatically one folder per plugin (that's what Git does).
You are closer to plugin development than I am; does KiCad have any guidelines or best practices about this? I could not find any (but I didn't really put too much effort into this, as I simply wanted to get this handy plugin to work on my system).
I currently use two other plugins: https://github.com/easyw/RF-tools-KiCAD and https://github.com/NilujePerchut/kicad_scripts, both of which come with an init.py in its top-level. Actually that's why I was surprised when I saw the instructions of WireIt, as it says something like "just copy the files to the plugin directory".


HPKE implementation and instantiations

This PR adds a generic implementation of HPKE, with instantiations for different algorithms (elliptic curves, AEADs, and hashes). The large number of instantiations explains the large number of files added (especially in the dist/ folder) but they are all very similar to one another.
This PR also adds a spec for DH that the spec of HPKE uses.
Tests use the official test vectors from https://github.com/cfrg/draft-irtf-cfrg-hpke/blob/master/draft-irtf-cfrg-hpke.md
Our spec of AEAD for AES-GCM is currently inherited from Vale, and is not executable (as Vale axiomatized several primitives provided by Intel x64 instructions, and performs tests on implementations instead). As such, the last straightforward step of calling aead is not tested for AES-GCM
Tests for variants using P-256 are incorrect at the moment (there are length mismatches on the test vectors provided). Therefore, the machinery to add these tests is in place, but the P-256 spec is not tested yet.

The files are using the rewritten version of HPKE via the tactic to specialize many times over different triples of implementations -- in a sense they're already the minimum amount of code you can write in F* to generate a new flavor of HPKE. It's unfortunate we have to write them by hand... I guess one could write a python script, or even a tactic to generate all the flavors but this seems overkill and these files are all pretty small. Also the whole point is to have them in separate files, so I'm not sure a tactic can generate different files.
I've chatted privately with Aymeric about the usage of the v2 of the tactic with auto-inserted preconditions, and the new revision of the code looks good to me.


Use Kratos for validation

PR Template:
Describe your changes

Utilizes Kratos middleware for validation
Moves validation code from internal/biz to internal/service
Returns multiple error messages for multiple missing arguments
Example cmd:

grpcurl -plaintext -d '{"subject_relation":"member", "resource": {"type":{"name":"group"}, "id":"omni"}}' localhost:9000 kessel.relations.v0.KesselLookupService.LookupSubjects

ERROR:
  Code: InvalidArgument
  Message: invalid LookupSubjectsRequest.Relation: value length must be at least 1 runes; invalid LookupSubjectsRequest.SubjectType: value is required
  Details:
  1)    {
          "@type": "type.googleapis.com/google.rpc.ErrorInfo",
          "reason": "Invalid request"
        }

Ticket reference (if applicable)
Fixes # https://issues.redhat.com/browse/RHCLOUD-33329
Checklist

[ ] Are the agreed upon acceptance criteria fulfilled?

[ ] Was the 4-eye-principle applied? (async PR review, pairing, ensembling)

[ ] Do your changes have passing automated tests and sufficient observability?

[ ] Are the work steps you introduced repeatable by others, either through automation or documentation?

[ ] If automation is possible but not done due to other constraints, a ticket to the tech debt sprint is added
[ ] An SOP (Standard Operating Procedure) was created

[ ] The Changes were automatically built, tested, and  - if needed, behind a feature flag - deployed to our production environment. (Please check this when the new deployment is done and you could verify it.)

[ ] Are the agreed upon coding/architectural practices applied?

[ ] Are security needs fullfilled? (e.g. no internal URL)

[ ] Is the corresponding Ticket in the right state? (should be on "review" now, put to done when this change made it to production)

[ ] For changes to the public API / code dependencies: Was the whole team (or a sufficient amount of ppl) able to review?

decision: will merge this PR to basic required params check (Nil/Null checks) - and followup with another ticket to add validation rules based on regex

/lgtm


connection stalls in CuteChess

i let Caissa v1.3 play several games in CuteChess .. all went well but it lost the last game on time : "connection stalls" .. see screenshot. At that moment Caissa had a lost position anyway, maybe that was the cause, but it shouldn't happen. The CuteChess log did not show anything. I don't know what can be done to fix this, i just want to mention this incident.

again :

@tissatussa What was the time control? Can you attach log with engine output?

i didn't save the logs of those 2 games .. therefor i just let Caissa v1.3 NNUE play again (10 min. + 3 sec bonus) with SF Kayra v1.4 noNNUE .. this time it was a very short game : after the first move Caissa failed to continue and lost again on time .. see screenshot and the ZIPped log caissa_v1.3_stop_log.zip
in the right panes we see Kayra went to depth 36 / 37 while pondering, but Caissa stopped evaluating on depth 23 .. before these failures i had no problems with Caissa in CuteChess !? I can do more and differen tests.

OK, I managed to repro it. It's a bug with pondering (it's "Thinking on opponent's time" option in CuteChess). I'll try to fix it soon.

..it's "Thinking on opponent's time" option in CuteChess..

i know, indeed Caissa is pondering, CuteChess shows it.
this evening i let Caissa play another game with Black against Kayra and it had the same result : at move 32 Caissa did stop working and lost on time : "connection stalls" .. the log showed the same "stop" line.
i wonder why this happens with Caissa v1.3 (NNUE) because (as i stated) before this i never had such problem .. i hope you can solve the issue - good luck !

btw. in CuteChess i always have ponder True.

OK, i can test it .. but help me out : how to git clone that 'devel' branch ?  It was some 'checkout' line, but how exactly ?

devel branch is default branch so just sync the code

Congrats ! All seems OK !
I compiled your newest devel source .. the uci info shows a new version : "Caissa 1.3.5_pondering" .. i let this engine plays a few games, 10m+3s, with White and Black, with and without NN, always pondering ON : no "connections stalls" happened.
btw. the linux binary is only 440 Kb, compared to 3.3 Mb (!) of v1.3.0 .. i don't remember how i compiled it before, it must have the same : cmake . and then just make .. did you change the code ? Nevermind, it works.

Weird, it shouldn't change size that much. Maybe you compiled different configuration (release/debug). I've seen some debug messages in your log. Try compiling with cmake -DCMAKE_BUILD_TYPE=Release . for best performance


Make preview window scrollable

It seems like :Glow floating window only shows end of rendered output (depending on window size) and does not allow to scroll its content as pressing any button just closes the window (it always prints [Process exited 0] at the bottom of floating window, which also could be hidden if no errors were detected).
Looks very promising though, will be happy to replace iamcco/markdown-preview.nvim.

Hey @cloggier thanks for the suggestion. the [Process exited 0] msg is a little bit trickier to remove because i am using a neovim terminal to show the output and i haven't found an easy way to just remove that msg. If you have any suggestions please feel free to open a PR so we can discuss it.
Abou the scrolling part,  i can see the scroll works on my machine using up and down keys and also j,k . Do you have any way to show some steps to reproduce the issue?

Hey @cloggier thanks for the suggestion. the [Process exited 0] msg is a little bit trickier to remove because i am using a neovim terminal to show the output and i haven't found an easy way to just remove that msg. If you have any suggestions please feel free to open a PR so we can discuss it.
Abou the scrolling part,  i can see the scroll works on my machine using up and down keys and also j,k . Do you have any way to show some steps to reproduce the issue?

@ellisonleao, is it possible to scroll a preview window on an initial render to keep it in sync with the current position of a cursor if we run :Glow for the current file?
P.S. thanks for the cool pluggin.

glow has a --pager flag but the downside of using that is that you will need to do q to exit the pager then close the floating window. So two steps instead of one, in order to exit. Maybe can be an option in the plugin?

is it possible to scroll a preview window on an initial render to keep it in sync with the current position of a cursor if we run :Glow for the current file?

yeah, we can definitely grab the position and move the preview window buffer to the same line.

glow has a --pager flag but the downside of using that is that you will need to do q to exit the pager then close the floating window. So two steps instead of one, in order to exit. Maybe can be an option in the plugin?

The preview itself should be already scrollable, but i need to check it behaves on small windows, so i don't think the pager is a good default option but can definitely be a flag in the plugin command for sure

glow has a --pager flag but the downside of using that is that you will need to do q to exit the pager then close the floating window. So two steps instead of one, in order to exit. Maybe can be an option in the plugin?

The preview itself should be already scrollable, but i need to check it behaves on small windows, so i don't think the pager is a good default option but can definitely be a flag in the plugin command for sure

Yeah, I understand that, but I guess didn't read the main issue properly. @cloggier maybe you need to check your mappings. Because by default it the floating window buffer should be scrollable.
@ellisonleao can we make sure that when the buffer opens that we are always on the top? currently, it jumps to the bottom. So maybe after opening the buffer the plugin sends gg to the buffer?

currently, it jumps to the bottom

thats probably a bug..

So maybe after opening the buffer the plugin sends gg to the buffer?

I think for a good user experience it would be nice to put the cursor in the same line as the original buffer. Shouldnt be too hard to make it happen

closing this since its not an issue. For improvements or suggestions, let's create another ones

For me changing Glow's config to pager: false made ti so I could scroll in Neovim's window. Just wish i could put it in a second window and do it while editing.

@ellisonleao I got the same issue, markdown preview is not scrollable, typing any keys make preview window quit.
FYI, I'm using
:version
NVIM v0.6.0-dev
Build type: Release
LuaJIT 2.1.0-beta3
Compiled by nixbld1

Features: +acl +iconv +tui
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/nix/store/h2fxbg4yjwza4q9shz9k4rzr5ryrrmvq-neovim-unwrapped-master/share/nvim"

Run :checkhealth for more info

In cli, I also gotta use glow -p path/to/md to be able to scroll.

@babygau / @ellisonleao I am running into the exact same thing -regardless of terminal and even isolated as glow being the only plugin. I can provide more info upon request -if the ticket gets readressed.


Running into import errors

Hi Guys,
I am trying to import a .pdf which has the size of 7.7MB.
I've tried using the different settings but have been unable to import. I'm currently using the Token Chunker with 250 units and an overlap of 50.
Chunk mismatch for 3c161a37-d99a-4f2c-9c54-a7db5275e217 0 != 4527
Site Reliability Engineering.pdf

running into same thing. Not just with PDF, but anything i try with any mix of settings

Thanks for the issue! We'll look into that

my 2 cents!
Did you use docker compose?
I am able to upload files using docker compose.
This is what I did:

Stop and Delete docker containers for Verba and Weaviate
Delete the Docker images for Verba and Weaviate
I deletes volumes also
Then using git, cloned the latest version and made the required changes
ran the docker compose

It worked fine,

The newest update v1.0.0 has better ingestion support and capabilities. I was able to ingest your .pdf, let me know if this error still persists for you

I can't import the original txt document I wanted nor the PDF referenced above for what it's worth

Did you update to the latest release? What error messages are you receiving?

I am using 1.25.0 and I am unbale to import a 5mb pdf file with various chunking settings.  Using embedded Weaviate, tried both docker and pip based install but gettign the same results. I am using the default ADAEmbedder in verba.

Are you receiving any errors?

Yes, I get the chunk mismatch error, regardless of setting used with pdf larger than about ~5Mb

I tried again recently with the same error

I was able to do an import using the Ollama rather openai engine. It seems that could be an issue or possibly with my .env file. Either way this is not what I would call user friendly for someone who is only a novice when it comes to things like local servers

What size file were you able to import with ollama?
On Thu, Jun 20, 2024, 06:51 AM Sumanth Athreya Seshasayee @.***> wrote:
I was able to do an import using the Ollama rather openai engine. It seems that could be an issue or possibly with my .env file. Either way this is not what I would call user friendly for someone who is only a novice when it comes to things like local servers
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.>
[
{
@.": "http://schema.org",
@.": "EmailMessage",
"potentialAction": {
@.": "ViewAction",
"target": "https://github.com/weaviate/Verba/issues/117#issuecomment-2180381364",
"url": "https://github.com/weaviate/Verba/issues/117#issuecomment-2180381364",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
@.***": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]


Trainer: AttributeError: 'Trainer' object has no attribute '_accelerator_connector

Bug description
Loading pickled model checkpoints that use Trainer throw AttributeError: 'Trainer' object has no attribute '_accelerator_connector'  error when loaded from pickle and attempted to be used (e.g. for inference)
How to reproduce the bug
Load pickled model checkpoint and attempt to use it.
Error messages and logs
'Trainer' object has no attribute '_accelerator_connector

@gioannides what I see it hall be there, but why would you need to access the protected attribute? :otter:
Also, could you share a reproducible example to see what you are trying to achieve?

It seems that somehow the Trainer got pickled into your checkpoint. This should never happen. Would you mind sharing your code?

I encountered this issue after loading a checkpoint of a NeuralProphet model. The solution that worked for me was to use the model.restore_trainer() method on the unpickled model: https://github.com/ourownstory/neural_prophet/blob/b8d6498eedfb501b8d701b3f73c4e498423b22d0/neuralprophet/forecaster.py#L2847
Similar logic may apply for other architectures.

I encountered this issue after loading a checkpoint of a NeuralProphet model. The solution that worked for me was to use the model.restore_trainer() method on the unpickled model: https://github.com/ourownstory/neural_prophet/blob/b8d6498eedfb501b8d701b3f73c4e498423b22d0/neuralprophet/forecaster.py#L2847 Similar logic may apply for other architectures.

thank you!
i was trying to fix the same issue, none of the fixes worked but this got me right.
-> first i unpickled the model
-> before making predictions called model.restore_trainer()
.
and it went fine


Simple SDE only works with one trajectory in ensemble

Based on the DiffEq documentation, I've written this minimal example. If I set trajectories = 1, it compiles properly and everything is fine. But when trajectories = 32, say, I get errors relating to calling overdub from within the kernel. I'm very much a Julia noob, but this seems weird to me. The CUDA debugging settings aren't really helping shed any light on the situation. I've been working on this all day and can't seem to make forward progress. Hoping to get some help here!
Example code:
using CUDA
using Plots
using DifferentialEquations
using DiffEqGPU

n = 16

function μ_cox(du, u, p, t)
    du .= -1.0f0 * u
    return nothing
end

function σ_cox(du, u, p, t)
    du .= 0.1f0 * u .^ 2;
    return nothing
end

params = CUDA.zeros(Float32, 1)
initial = CUDA.ones(Float32, n)
prob = SDEProblem(μ_cox, σ_cox, initial, (0.0f0, 1.0f1), p = params)

ensembleprob = EnsembleProblem(prob, safetycopy = false)
sol = solve(ensembleprob, Tsit5(), EnsembleGPUArray(), trajectories = 32)

Example error:
InvalidIRError: compiling kernel gpu_gpu_kernel(Cassette.Context{nametype(CUDACtx), KernelAbstractions.CompilerMetadata{KernelAbstractions.NDIteration.DynamicSize, KernelAbstractions.NDIteration.DynamicCheck, Nothing, CartesianIndices{1, Tuple{Base.OneTo{Int64}}}, KernelAbstractions.NDIteration.NDRange{1, KernelAbstractions.NDIteration.DynamicSize, KernelAbstractions.NDIteration.DynamicSize, CartesianIndices{1, Tuple{Base.OneTo{Int64}}}, CartesianIndices{1, Tuple{Base.OneTo{Int64}}}}}, Nothing, KernelAbstractions.var"##PassType#257", Nothing, Cassette.DisableHooks}, typeof(DiffEqGPU.gpu_gpu_kernel), typeof(μ_cox), CuDeviceMatrix{Float32, 1}, CuDeviceMatrix{Float32, 1}, CuDeviceMatrix{SciMLBase.NullParameters, 1}, Float32) resulted in invalid LLVM IR
Reason: unsupported call to the Julia runtime (call to jl_f_tuple)
Stacktrace:
 [1] overdub
   @ ~/.julia/packages/Cassette/r4kKQ/src/overdub.jl:635
 [2] throw_inexacterror(::Symbol, ::Type{UInt64}, ::Int64)
   @ ./boot.jl:602
 [3] overdub
   @ ./boot.jl:602
 [4] overdub
   @ ~/.julia/packages/Cassette/r4kKQ/src/overdub.jl:0
 [5] multiple call sites
   @ unknown:0

KernelAbstractions.jl cannot generate kernels with broadcast expressions in them.

You might need to help me a little here, @ChrisRackauckas. du and u are the same size, so there shouldn't be any broadcasting (from what I usually think of as broadcasting, anyway). And how is that related to the number of trajectories?

At 1 trajectory it has a fallback to just serial.

du and u are the same size, so there shouldn't be any broadcasting (from what I usually think of as broadcasting, anyway)

Yes. https://github.com/SciML/DiffEqGPU.jl/issues/71


Replacing uniform with uniform_philox , and incrementing PRNG state

Before submitting

[ ] Was this discussed/approved via a Github issue? (no need for typos and docs improvements)
[ ] Did you read the contributor guideline, Pull Request section?
[ ] Did you make sure to update the docs?
[ ] Did you write any new necessary tests?

What does this PR do?
Fixes #114

Let's split replace_uniform into a separate PR.
Primitives for getting and setting the state can be tested without replace_uniform and having https://github.com/Lightning-AI/lightning-thunder/issues/231 fixed is not required for these primitives.

Hi @mruberry @jjsjann123 @IvanYashchuk , I modified it according our design review discussion, could you take a look?

merged 9 commits into rng_update_prims from uniform_rng

We had a manual stack here 😃

Yeah, I'll learn to read...


Scumblr Docker Container

Create a docker container for quickly deploying Scumblr

I volunteer as tribute!
Are you looking for something like this:
https://docs.docker.com/compose/rails/
I can do this tonight.

Hi @fergyfresh,
Anything you could provide I would probably be great as I haven't had time to put into it. Ideally it be nice to have it organized like the other Netflix docker containers (Sketchy is a good example: https://github.com/Netflix-Skunkworks/zerotodocker/tree/master/sketchy) with different containers for Rails, nginx, postgres, redis, and sidekiq. If you don't have the time for that, I should be able to tweak whatever you provide in a couple months when I plan to release some significant updates.
Only other recommendation I'd have is to use Postgres 9.4+ as the database because that will be a requirement in future versions.
There is also an existing container here that may or may not still work... https://github.com/ahoernecke/docker_scumblr
I don't know if it'd be easier to start from that or just start over.
Thanks again!

@ahoernecke I started working on a docker-compose set up for Scumblr, but I've been a bit short on time this week.
I'll continue hacking away next week.
https://github.com/oogali/docker-scumblr


Update 02-image.md

_includes/02-image.md updated. to propose these changes

Add links to Github and Twitter


Applications / List - Ready stays X (red)

Sometimes the Ready marker stays as a red cross. For the system the dealer isn't ready / passing all checks, but I can't figure out what's wrong.

It would be helpful to have checklist that shows which test isn't passed / needs attention.

It would be helpful to have checklist that shows which test isn't passed / needs attention.

Let's move this to a separate issue, there was a bug in the function that determined the readiness status of an application. :D


impl TryFrom<&str> for Value

I think it'd be useful to provide impl TryFrom<&str> for Value consider this scenario:
fn do_something_with_toml<T: TryInto<toml::Value>(value: T) -> Result<(), <T as TryInto>::Error> {
let toml = value.try_into();
// do something with toml
}

This would be a really neat signature that would allow passing &str, but also Value, if the caller happens to already have it deserialized.

I'd be willing to implement this and submit a PR if it would be accepted.

Maintenance of this crate has moved to the https://github.com/toml-rs/toml repo.  As a heads up, we plan to move toml to be on top of toml_edit, see https://github.com/toml-rs/toml/issues/340.
Closing this out.  If this is still a problem, feel free to recreate this issue in the new repo.


Does not compile with haxe 4 preview 4

Hi,
trying to compile ( haxe hide.hxml ) with haxe 4 preview 4 and latest Heaps.io
there is the following  error :
/LocalFileSystem.hx:71: characters 12-28 : Class<sys.io.File> has no field read
Thanks
DomDom

You might need GIT version of hxnodejs library, will look into making a release available on haxelib

Thanks


Change feature when touch a manga author's name

Source name
Mihon 1.16.5
Source language
Mihon1.16.5
Describe your suggested feature
Like tag's interactive, allow me to search in library or copy into cache
I'd like that take place to author name's interactive
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] If this is an issue with the app itself, I should be opening an issue in the app repository.
[X] I have updated the app to version 0.15.3.
[X] I will fill out all of the requested information in this form.

Tachiyomi? TACHIYOMI?
Are you making some joke right now? This is not the Tachiyomi Github, cause that one died 4 months ago.

Sorry sir just keep use both bcuse i have a lot of manga to migrate so i m mistaked that time 8))


Data Structures

Need to figure out how to represent the data structures. The main concern is whatever is chosen, they are able to be destructured. Whether that means using some of the destructing features in ES6 or implementing some destructing feature ourselves  We have:

Tuple
Bitstring
List
Map
Struct
Keyword
Dict
Set

I've gone back and forth on tuples. What I'm currently working on has tuples going from this in Elixir
{ value1, value2}

to this in JavaScript
{'0': value1, '1': value2 }

The reason being so that they look different than lists (currently both lists and tuples are turned into arrays) and to allow destructing using the new feature in ES6. Looking on any feedback on this change.
I still haven't figure out how bitstrings would carry over.
Maps and Structs are difficult too. Currently, maps are turned into objects and Structs turned into classes. The idea being that when you defined a struct, you could have default values and that is taken into account. I would prefer to have maps and structs both be turned into the same thing (maybe objects). If that were to happen would need a way to take into account default values set on structs. If they are both turned into objects then that makes destructuring for both an easy task.

Playing around a bit, I think I've come up with a solution to the map/struct issue. For maps, they will remain objects. For structs, if you have a struct like so
defmodule User do
  defstruct name: "john", age: 27
end

user = %User{name: "john"}

this would be turned into the following in JavaScript
const __MODULE__ = Symbol('User')

export function defstruct(name: "john", age: 27){
  return {__struct__: __MODULE__, name: name, age: 27}
}

user = defstruct(name: "john");

MODULE must be added to every module anyway.
This allows for destructuring and looks more how structs are represented in Elixir.

Personally I think {'0': value1, '1': value2 } is kind of misleading in that it looks like an array, is used like an array, but isn't an array.
How frustrating will it be the first time someone interfaces with this structure in js and tries to call .length?
I'd much prefer {'_0': value1, '_1': value2 } or {'t0': value1, 't1': value2 }

I can agree with either of those. I'll pick one at random and go with the underscore version. The key doesn't matter at all, but it's as close to the tuple structure as I can see and it helps with destructuring. And you're right and that I don't want to confuse anyone.

Saw an older issue on the LuvvieScript repo about possibly using Typed Arrays for an implementation of bitstrings. That could be at least a good thing to look into

I'm going to close this. Dict and Set are the only ones remaining and those will be implemented with the rest of the standard lib.


Add puppet-paw for Boxen

I've added a module for installing Paw via Boxen. The source repository is: https://github.com/jacobbednarz/puppet-paw
Could you please review it and let me know if it's fine to fork?
Thanks!

If it's just a simple app, it's better to just use brew cask, since there is less overhead. It's already available: https://github.com/caskroom/homebrew-cask/blob/master/Casks/paw.rb
Then you can just do this:
package { 'paw':
  provider => 'brewcask'
}

Thanks, closing this one off in favour of brewcask.


Fix: fix undefined field error in email workflowstep

Signed-off-by: huanggze<EMAIL_ADDRESS>Description of your changes

Fixes #3518
I have:

[x] Read and followed KubeVela's contribution process.
[ ] Related Docs updated properly. In a new feature or configuration option, an update to the documentation is necessary.
[x] Run make reviewable to ensure this PR is ready for review.
[ ] Added backport release-x.y labels to auto-backport this PR if necessary.

How has this code been tested

Special notes for your reviewer

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


Show notification with progress

Hi there,
I am using this plugin on ionic app.
How can I show a notification of the upload progress in Android and IOS ?
Thank you.

@Shtibel There is currently a nearly completed PR which provides progress notifications on Android:
https://github.com/spoonconsulting/cordova-plugin-background-upload/pull/32
On ios, it is not possible to show a progress bar in notification center and currently notifications are not supported for this platform.

Upload notifications are now supported on master version


No Formatting on pages/images

CentOS 6.7, Same thing happens with Ubuntu 14.04, installs perfect, but web interface has no images, or any kind of formatting.

Are you using an SSL certificate with your panel?
Go into admin/general settings and tick "Require SSL connection" so that the assets url is updated.

i am not currenclty using an ssl cert or HTTPS

This happens due to the fact that your URL settings are misconfigured.
In order to fix this:
1.Login your administrator account.
[img]http://i.imgur.com/U8xBV6D.png[/img]
2.Go to Admin Control Panel
[img]http://i.imgur.com/xLWfTin.png[/img]
3.Go to URL Settings
[img]http://i.imgur.com/kNUyW8c.png[/img]
4.Set the URLs to the appropriate URLs. If you changed the port of your panel from default 80, make sure to reflect that into your URL.
[img]http://i.imgur.com/fi2JCGi.png[/img]
Voila. It now loads the CSS.


FY24Q4 content refresh

run through all exercise steps in associated MSLearn module to validate good working order
updated steps & fixed typos where necessary
updated slides where necessary
update code samples to reflect MSLearn HOL exercise refresh & updates
any & all users/names/company names/pictures/IDs are not real people/tenants... all are from M365 demo tenants provided by Microsoft

Hi Andrew, Could you please check this issue quick. https://github.com/SharePoint/sp-dev-training-spfx-webpart-proppane/issues/85


FormBuilderDateTimePicker does not clear value

FormBuilderDateTimePicker  does not clear the value correctly, i am running the example app from master branch.

Maybe can be solved by https://github.com/danvick/flutter_form_builder/pull/1026

Closing it, since the PR that solves it is merged. Feel free to comment if it is not the case. Remember to update the package.


[SKIP CI] Post Jenkins run summary to github

This PR will add a feature to add comment to github using Jenkins.

This PR is highly illogical..

This PR is highly illogical..

This PR is highly illogical...

This PR is highly illogical...

This PR is highly illogical - 1...

This PR is highly illogical - 1...

This PR is highly illogical - 2...

This PR is highly illogical - 2...

This PR is highly illogical - 1...

This PR is highly illogical - 2...

"retest this please"

"REBUILD"

REBUILD

This PR is highly illogical - 2...

This PR is highly illogical - 2...

This PR is highly illogical - 2...

This PR is highly illogical - 2...

retest this please

test this please

test this change again

test this please

"test this please"


Jinja2 templating demo in doc file

Add doc file with demonstration of templating power - environmental dependent config in app.src for env.

Wrote and article https://justtech.blog/2017/06/01/dynamic-configuration-erlang/

Done in https://github.com/comtihon/coon/pull/50


Shopware: Register new themes and scheduled tasks during deploy

This PR will add the registering of new themes and scheduled tasks during deployment to the Shopware recipe

[ ] Bug fix #…?

[x] New feature?

[ ] BC breaks?

[ ] Tests added?

[x] Docs added?
Please, regenerate docs by running next command:
$ php bin/docgen

Very good! Thanks @M-arcus


Gradient adjoint with out parameter has same performance as standard

see https://github.com/vais-ral/CCPi-Framework/blob/power_method/Wrappers/Python/test/test_Operator.py#L352

On my workstation it is (non-out, out)

machine
non-out impl
out impl

workstation
0.2942469138652086
0.25633474066853523

jenkins
0.32791657149999764
0.2847352465000199

VM
0.32791657149999764
0.2847352465000199 -- 0.34

Windows
0.57
0.41

which is sensibly less. However on my VM sometimes it is a little larger. I guess this may be due to limited memory.


Update markdown test dependencies

PR Summary
Bumps some packages used by the static analysis to the latest version

PR Context

PR Checklist

[x] PR has a meaningful title

Use the present tense and imperative mood when describing your changes

[x] Summarized changes
[x] Change is not breaking
[x] Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header
[x] This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: or [ WIP ] to the beginning of the title (the WIP bot will keep its status check at Pending while the prefix is present) and remove the prefix when the PR is ready.

User-facing changes

[x] Not Applicable
OR
[ ] Documentation needed

[ ] Issue filed:

Testing - New and feature

[x] N/A or can only be tested interactively
OR
[x] Make sure you've added a new test if existing tests do not effectively test the code changed

[x] Add [feature] to your commit messages if the change is significant or affects feature tests

Requesting review: @JamesWTruher @markekraus

CC @adityapatwardhan

cc @TravisEz13

@TravisEz13 please review

@iSazonov I do know a bot that I think can do it by the name of Greenkeeper

@iSazonov I've done some research and I know how to set up greenkeeper to bump these dependencies automatically if you want me to set it up.

@RDIL Thanks! We use depedabot and I don't know does it make sense to add one more.

@iSazonov sadly dependabot can only do one language

We could consider to switch to greenkeeper.

@isazonov the problem with that is greenkeeper is JavaScript ONLY and dependabot can only do ONE language.  We will need to use both for it to work.

dependabot definitely supports multiple languages.

Adding a new extension is expensive process for us.  Let us see if we can get dependabot to work first.

dependabot has opened #9092, #9093 and #9094

Dependabot is stealing my commits 😡

lol

this tyranny must be stopped

@iSazonov 	if you are okay with this PR, Can you merge it and close the equivalent PRs dependabot opened?


Bug fixed: _sizing function unexpected finish before find the best size

_sizing function should not be finished when curSize == max in case when max == maxWidth.
Text may wrap, so this is not sufficient condition.

Hi @picasocro1, unless I misunderstood what you are trying to solve, I'm not convinced this pull request changes anything.
We calculate the best size (regardless of height) here, and then if we are widthOnly, we just use the value given by for max width here.
We don't need to check for this in _sizing.


A Stubmapping can be removed by ID

Proposal
Hi,
I created multiple stubmappings with a same url and define spesific Id with using '.withId(specificStubMockId)' function on MappingBuilder.
Sometimes I need to remove stubs in function and if can we remove them with Id it can be more usable for it.
right now I used it 'WireMock.removeStub(WireMock.post("").withId(specificStubMockId))'  but I hope your team will be provide better experience. thank you
References
No response

There's already an API call to do this (DELETE /__admin/mappings/<uuid>), but it's not exposed via the Java DSL so this would be a good thing to add.
It should be pretty easy to do if you feel like creating a PR?


Handle timeout OpenAI exception

https://community.openai.com/t/frequent-api-timeout-errors-recently/106903

isn't this solved with: @_retry_with_exponential_backoff() ?


Deprecate tox-monorepo

And associated docs, per issue #4917

/check-enforcer override
Will push this last release out using the template release pipeline.


Worflow items to add from HextofProcessor

These workflow items should be added as discussed today:

[ ] Sector calibration for the 8-sector DLD. I suggest to split this up into parameter generation and application function, similar as done for the other calibration/correction functions, and perform the operation on the digitized DLD bin coordinates, rather than converted ns coordinates (for compatibility with the current jitter framework, see #163)

[x] Funtion to shift the energy axis. This could include photon energy, bias voltage, a given, external offset, and potentially any other voltages that influence the energy scale. We could also place the code that swaps the energy axis from kinetic to binding energy scale here.

[ ] Code for the BAM correction

[ ] Code for shifting the delay axis. Similar interface to the shift energy axis.

[x] Add default jitter columns to the default config, that refer to the config names of the X, Y, TOF columns

* [x]  Add default jitter columns to the default config, that refer to the config names of the X, Y, TOF columns

The last point is addressed in PR #168

Funtion to shift the energy axis. This could include photon energy, bias voltage, a given, external offset, and potentially any other voltages that influence the energy scale. We could also place the code that swaps the energy axis from kinetic to binding energy scale here.

addressed in #169

Sector calibration for the 8-sector DLD. I suggest to split this up into parameter generation and application function, similar as done for the other calibration/correction functions, and perform the operation on the digitized DLD bin coordinates, rather than converted ns coordinates (for compatibility with the current jitter framework, see https://github.com/OpenCOMPES/sed/issues/163)

correction implemented in #169. Parameter generation still missing

all tasks completed


Reconsider how resource status is tracked

We currently have these fields:

Publication state (published, unpublished, draft)
Status (active, inactive*, unknown) *should be 'retired'
Date Accessioned (yyyy-mm-dd)
Date Retired (yyyy-mm-dd)
Accrual Periodicity (annually, monthly, etc.)
Accrual Method (ArcGIS Hub, Socrata, etc.; an indicator of status in that data portals are generally in flux)

Questions:
Would some of this info be useful for users? Maybe a "life cycle" box on the item page somewhere?
How could we add indicators for items that are regularly updated vs items that are complete? (this would help with OpenGeoMetadata).

Since opening this ticket, we have added a number of improvements that address this including:
Geoportal

Sort by Date Added option on the search results pages
Date Created metadata field on the item view page

GEOMG

Date Created facet (this makes finding & editing recently added items and compiling monthly reports much faster)
Blazer, an SQL dashboard tool that provides advanced querying of the database
-  This has been very useful for generating reports for the committees on things like Languages and Creators
-  an ongoing view that shows the most recent accession date for a collection/website. This helps me prioritize what needs attention.
- views that show how many items have been 'published' (new) or 'unpublished' (retired) by time period
Life Cycle section with custom fields including:
-  "Status" - this is a free text field that can be used to note administrative actions or whether or not a collection has been harvested
- "Date Accessioned" - multivalued free text field; this can show the multiple dates a collection has been harvested
- "Date Retired" - single valued free text field; this can show the date a website has been retired from our collection
- visible internal timestamps for when an item was created and last updated in Geomg


[@vscode/l10n-dev] Feature Request: Support to use a variable assigned with vscode.l10n.t.

Currently, the following patterns are supported:
import * as vscode from 'vscode';
// or:
// const vscode = require('vscode');
// import vscode = require('vscode'); // TypeScript

vscode.l10n.t("String 1");

import { l10n } from 'vscode'
// or:
// const l10n = require('vscode').l10n;
// const l10n = vscode.l10n;

l10n.t("String 2");

But the following are not:
import * as vscode from 'vscode';
const t = vscode.l10n.t;
// or:
// const { t } = l10n;

t("String 3");

import * as vscode from 'vscode';
const t_ = vscode.l10n.t;

t_("String 3");

t is not a good function name, but I think it would be nice if allowed to use short names such as t_ or tr (like Qt!). Like this:
import * as vscode from 'vscode';
const t_ = vscode.l10n.t;

export function active(context) {
    vscode.window.showInformationMessage(t_("Hello!"));
}

The difficultly here is that we cannot run your code. It has to be statically analyzed to extract the strings. I'm not against this feature, but it does blow out the complexity of this library.

I should mention, that this syntax does work:
import { l10n as _ } from 'vscode';

so you could have _.t(...)


SQS / SNS nested object parsing

Resolves https://github.com/LegNeato/aws-lambda-events/issues/102.
Adds a set of alternate structs that you can use if you are working with nested objects inside your SQS and/or SNS messages, instead of plain string messages.
For example, a common use case in AWS is to have a Lambda that subscribes to an SQS Queue that is in turn subscribed to an SNS topic. If you are posting serialized JSON objects to that SNS topic, and intending to deserialize them inside a Lambda, prior to this change you would need to manually deserialize the SNS message from within the body of an SqsMessage, and then do the same to get a deserialized instance of a custom struct out of the message field of that SnsMessage.
So whereas before you might need to do this:
#[derive(Deserialize)]
struct CustomStruct {
   foo: String,
   bar: i32
}

fn lambda_handler(e: LambdaEvent<SqsEvent>) -> Result<(), Error> {
    for sqs_msg in e.payload.records.into_iter() {
        let sns_msg: SnsMessage = serde_json::from_str(&sqs_msg.body)?;
        let obj: CustomStruct = serde_json::from_str(&sns_msg.message)?;
        msg_handler(obj);
    }

    Ok(())
}

fn message_handler(msg: CustomStruct) -> () {
    // ...
}

This PR allows you to do this much more cleanly:
#[derive(Deserialize)]
struct CustomStruct {
   foo: String,
   bar: i32
}

fn lambda_handler(e: LambdaEvent<SqsEventObj<SnsMessageObj<SolveResponse>>>) -> () {
    for sqs_msg in e.payload.records.into_iter() {
        msg_handler(sqs_msg.body.message);
    }
}

fn message_handler(msg: CustomStruct) -> () {
    // ...
 I've made serde_with optional now, and only pulled in by the sns and sqs features 👍🏼

Is it possible these should be optional? https://github.com/LegNeato/aws-lambda-events/blob/master/aws_lambda_events/src/sns/mod.rs#L136-L137
In my SNS message (being posted on SQS) I dont have these fields?
{
    "Records": [
        {
            "attributes": {
                "AWSTraceHeader": "Root=1-633375e5-6992f4381edc004f3f3beed3;Parent=7428100f69529302;Sampled=0",
                "ApproximateFirstReceiveTimestamp": "1664316902967",
                "ApproximateReceiveCount": "1",
                "MessageDeduplicationId": "9",
                "MessageGroupId": "Geert",
                "SenderId": "xxx",
                "SentTimestamp": "1664316902967",
                "SequenceNumber": "18872809200869103616"
            },
            "awsRegion": "eu-central-1",
            "body": "{\n  \"Type\" : \"Notification\",\n  \"MessageId\" : \"f5458878-95d1-5aad-82d9-d3d5edf775d9\",\n  \"SequenceNumber\" : \"10000000000000027000\",\n  \"TopicArn\" : \"arn:aws:sns:eu-central-1:xxx:dev-events.fifo\",\n  \"Message\" : \"{\\\"CustomerDepositedMoney\\\":{\\\"amount\\\":1000.0,\\\"balance\\\":9000.0}}\",\n  \"Timestamp\" : \"2022-09-27T22:15:02.834Z\",\n  \"UnsubscribeURL\" : \"https://sns.eu-central-1.amazonaws.com/?Action=Unsubscribe&SubscriptionArn=arn:aws:sns:eu-central-1:xxx:dev-events.fifo:aab561d9-73b3-4cdf-b527-9cbfa357eb47\"\n}",
            "eventSource": "aws:sqs",
            "eventSourceARN": "arn:aws:sqs:eu-central-1:xxx:dev-sqs1.fifo",
            "md5OfBody": "4fcc9a1791061d7fc91022734f84850f",
            "messageAttributes": {},
            "messageId": "bd9feb74-23c6-40b7-8b27-8af29b4c140a",
            "receiptHandle": "AQEB8m4uUDMmdKPi0AGmlyV30Eln411zJAi7GTQ0FZdkYOBzDlTwHUdEmXRBqWEa0Re3SwaOvhYx/4kj1DR5mLtJM7adYFj+ovAnUBHljr0gfaQe3WHY0l0vM9RVb/vqUI9weHH5fMCgqYXNanMjoA4KyplNewFvJo/KwxY3cF7LZIpaEZdFREJN5uU1h5u2tQKnCKvMValbToW6JU2LHuArXlo8y9VuS6mIHQVUCDYHn+QCze1JoEWC7EUuiPPaFbT2GjTmCuVr85DpYPH8WyDXvpoaujUWkWoj4rgtVp3AdCA="
        }
    ]
}

Which means my SNS message looks like:
{
  "Type" : "Notification",
  "MessageId" : "f5458878-95d1-5aad-82d9-d3d5edf775d9",
  "SequenceNumber" : "10000000000000027000",
  "TopicArn" : "arn:aws:sns:eu-central-1:xxx:dev-events.fifo",
  "Message" : "{\"CustomerDepositedMoney\":{\"amount\":1000.0,\"balance\":9000.0}}",
  "Timestamp" : "2022-09-27T22:15:02.834Z",
  "UnsubscribeURL" : "https://sns.eu-central-1.amazonaws.com/?Action=Unsubscribe&SubscriptionArn=arn:aws:sns:eu-central-1:xxx:dev-events.fifo:aab561d9-73b3-4cdf-b527-9cbfa357eb47"
}

Made a PR for it: https://github.com/LegNeato/aws-lambda-events/pull/115


[BUG] -

I'm getting the following errors any time either BetterMachines or GroundSubstation is enabled. It happens when i load into any game, regardless of if any items from the mods are used. (Including new games, which registers on load, as the prologue starts.)
This one happens when BetterMachines is enabled:
TypeLoadException: Could not resolve type with token 0100003e (from typeref, class/assembly StringTranslate, Assembly-CSharp, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null)
at CommonAPI.Systems.Patches.GameLoaderPatch+<>c.b__1_0 (System.String& text) [0x00022] in <840c60f028894a9dac784ec8a37f6647>:0
at DMD<>?1849367808.b__1_0 (System.String& ) [0x00005] in <110f82dbbbe94648be2d9b5e09b45136>:0
at GameLoader.FixedUpdate () [0x00185] in <9616c975fc514778a9ac8b3e821e9cd6>:0
This one happens when GroundSubstation is enabled:
TypeLoadException: Could not resolve type with token 01000072 (from typeref, class/assembly StringTranslate, Assembly-CSharp, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null)
at CommonAPI.Systems.Patches.GameLoaderPatch+<>c.b__1_0 (System.String& text) [0x00022] in <840c60f028894a9dac784ec8a37f6647>:0
at DMD<>?-118041856.b__1_0 (System.String& ) [0x00005] in <45b98179b4264028b7a98cf4f75d7dc2>:0
at GameLoader.FixedUpdate () [0x00185] in <9616c975fc514778a9ac8b3e821e9cd6>:0
Additionally, i've tested disabling all mods, excepting dependencies. As the errors remain unchanged, conclusion implies this is not from external incompatibilities.
While i know little about DSP modding, the only consistent differences in the errors are the token numbers. All numbers within <> change each load, including the number following "DMD<>?".

Both mods haven’t been updated. Please wait for an update.


Followed the new guide, but get these "Sys 9.2.0" Not "Emu 9.2.0" #

I followed the NEW guide, did everything he said except updating in the System Settings because I was unsure about what it meant. That was the only thing I skipped in the whole guide.
While I was downloading some games from free shop, everything was working fine, I got a bunch of them up and running, but later I got an error on one of them, and the reason was that I had to update the system.
After searching I found that I shouldnt update unless I had "Emu 9.2.0" showing in System Settings. Instead Im stuck with "Sys 9.2.0" when I go there.
What do I do? Did something change on the new guide? Is it not necessary to have it show "Emu"
How do I see if I`m on SysNand or Emunand.
Please can someone tell me how I can update....

you don't have an emunand. updating is fine.

Sys means Luma patched Sys nand. Which means if you followed the guide you have a9lh installed and booting via luma, updating is no problem as you're in a very well hacked environment. Trust the guide! c;

Thank you guys, updated and it`s working perfect! You guys are awesome! Double thanks!


Issue when drag and scroll using touch events

I try to update a container scroll while dragging and I notice that it doesn't work with the touch event type
At the bottom of the examples page, there's a demo to check this behavior, if you use the mouse it works well but it's not working with touch events, something similar to this video:
https://www.youtube.com/watch?v=SHO-s7GOS2k&feature=youtu.be

I'm having the same issue, have you found a fix for it yet?

I'm having the same issue, have you found a fix for it yet?

same here, do you guys found any solution @levanify @aqrojo ?
touchevent having different behaviour than mouseevent...


Web tests are failing as node:crypto cannot be loaded

https://github.com/microsoft/vscode-jupyter/actions/runs/3519324299/jobs/5899158708
vscode-test-web-support fs provider registers for vscode-test-web, initial content from http://localhost:3000/static/mount
%c  ERR color: #f33 Error: Cannot load module 'node:crypto'
	at h (../../../vs/workbench/api/worker/extensionHostWorker.js:85:483)
	at node:crypto (http://localhost:3000/static/devextensions/out/extension.web.bundle.js#vscode-extension:161026:18)
	at __webpack_require__ (http://localhost:3000/static/devextensions/out/extension.web.bundle.js#vscode-extension:197056:42)
	at ./src/platform/common/crypto.ts (http://localhost:3000/static/devextensions/out/extension.web.bundle.js#vscode-extension:128866:68)
	at __webpack_require__ (http://localhost:3000/static/devextensions/out/extension.web.bundle.js#vsco

@Tyriar /cc
The web tests are failing because of the change to the  crypto  module.
Looks like this PR https://github.com/microsoft/vscode-jupyter/actions/runs/3516152608

I actually fixed this in https://github.com/xtermjs/xterm.js/pull/4271, will make a separate PR.
Can at least a subset of tests for web become required so this sort of thing doesn't slip in?

I'm not able to connect to a remote jupyter server and the error said "cryptoProvider" is undefined, on github.dev.


mSoC

where i can find the code for mSoC?

You can find the following project：https://github.com/CodeMonsterPHD/GaTector-A-Unified-Framework-for-Gaze-Object-Prediction.git

For TransGOP, is it possible to publicly test the mSoC process? I can't reproduce the results you have provided.

The code details of mSoC involve a work we are submitting. We will update the code after it is accepted.


ENH: Deprecate val_set_is_dist

No need to check if validation set is distributed now that we can shard evaluation (test and val) dataloaders without duplications #743 (it will be distributed anyways)

Some changes were made in the tests related to uneven samples, could you please explain in the PR description


Update pixi to 0.22+ on TeamCity

TeamCity still has pixi 0.20.1, and the current pixi 0.22 has a higher lockfile format 5, so we cannot merge this until TeamCity is updated for Windows and Linux. @Jingru923 can you set that process in motion?
  pixi 0.20.1
13:49:27     Ã— Failed to load lock file from `D:
13:49:27     â”‚ \buildAgent\work\ecd2b8f9b25b1609\ribasim\pixi.lock`
13:49:27     â•°â”€â–¶ found newer lockfile format version 5, but only up to including version
13:49:27         4 is supported.

I'll do an update with an older version manually since we do seem to need some updates.
Originally posted by @visr in https://github.com/Deltares/Ribasim/issues/1487#issuecomment-2122542973

I see pixi v0.22 in the Windows TeamCity logs now.


New-DbatoolsSupportPackage failure message

Is this:
Just place "x" to indicate selection (e.g. "[x]")

[ ] feature
[x] bug:

Steps to Reproduce
I executed the command with the default output and a specified path and still get the error message in screen shot.  However, a file is generated and has data in it.
Attached screen shots/console output

Can you zip and upload the data that was generated?

dbatools_support_pack_2017_07_07-11_25_31.zip

This is sorta my issue. I'll fix it.


rstudio.sh is unable to get the receive keys. Maybe due to invalid repo key.

$ apt-key adv --keyserver hkp://pool.sks-keyservers.net:80 --recv-keys XXXX
Executing: /tmp/apt-key-gpghome.uDjKWqitdH/gpg.1.sh --keyserver hkp://pool.sks-keyservers.net:80 --recv-keys XXX

gpg: keyserver receive failed: Server indicated a failure

I was able to get the same repo key to work with a different keyserver.


Update NPM package?

Hi, it's me again, i'm sure you didn't miss me much? :smile:
I just set up a new Hubot and installed the module via NPM, but it seems as if the version in NPM is still the old one without your fixes. Could you update it there?
Thanks a lot & cheers!

Haha, no worries! Appreciate the feedback :)
Went ahead and bumped the version to 1.1.0 and re-published to NPM.
Thanks for the note!


[FEATURE] Statuspage update

Is your feature request related to a problem? Please describe.
Yes, once the Statuspage is updated, there is no feedback on the channel if the Statuspage has an open incident. Also it will be good to control the Statuspage incident from slack, like resolve Statuspage incident when the incident is resolved.
Describe the solution you'd like
After an incident is open on Statuspage, there should be a message on slack channel that says Statuspage incident is opened. And either automatically resolve incident on Statuspage or a button on the slack to mark the incident on statuspage as resolved when the incident status is changed to resolved.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

@shubhiguptaa release v2.0.11 is out now and fixes the issues with Statuspage. Many of your requests were already handled by the bot, but the process had a few bugs.
Please see the docs here for additional details: https://docs.incidentbot.io/integrations/#statuspage


[YUNIKORN-1027] Go: deprecation of io/ioutil

What is this PR for?
Go's ioutil package to be deprecated in 1.16
change ioutil to io or os
What type of PR is it?

[ ] - Bug Fix
[x] - Improvement
[ ] - Feature
[ ] - Documentation
[ ] - Hot Fix
[ ] - Refactoring

Todos

[ ] - Task

What is the Jira issue?
https://issues.apache.org/jira/projects/YUNIKORN/issues/YUNIKORN-1027
How should this be tested?
Screenshots (if appropriate)
Questions:

[ ] - The licenses files need update.
[ ] - There is breaking changes for older versions.
[ ] - It needs documentation.

Change looks good, not sure I understand codecov's failure, where does that 50% diff come from?


Keys for commit/reveal should be EC secp256k1 keys

When provisioning keys for a commit/reveal pair...
https://github.com/microsoft/VerifiableCredentials-Verification-SDK-Typescript/blob/851f9cfdb1de13190d1ac268f62b578cd30b1371/lib/ApiCrypto/LongFormDid.ts#L99

I believe the sidetree implementation expects these to be secp256k1 public keys, which wouldn't be compatible with a private AES-GCM key

It'll be important to return the associated private key (or maybe following the keyStore pattern, write these keys to a relevant store)

The longform will be reworked in future iterations. The sidetree longform spec is also changed and the latest spec  is implemented (https://github.com/microsoft/VerifiableCredentials-Verification-SDK-Typescript/commit/5a9b2fb917cbde72ba8f75ed513f6723b330fa37).


Psi4: Gracefully handle internal failures

Psi4 internal failures are now handled gracefully. Also does not force uks reference when reference keyword is present.

Looks like it cannot find Psi4? @loriab

failing in rdkit and torchani that don't have psi4 installed. needs something like @using_psi4 above the test to only run when psi available.


[EOC-8] Notifications (email) - investigation when to send on which events

This is only a draft PR showing the possible flow of sending notifications to the user on the particular app events.
There is also a document related to this:
https://drive.google.com/file/d/1DMtrHo5cpRcNmuiZ0F29-b5PVdVB5CL4/view
It's not gonna be merged
I have also sent email to Lukasz, to let him decide to which actions he would like to have emails.
List of actions you can find here: https://docs.google.com/document/d/1sH4axTOP8w_jCHLrHBD6L_i832nczdEQv_0Dvx3JA6M/edit?usp=sharing

Investigation marked as done


Added platform to manifests.

Signed-off-by: dblock<EMAIL_ADDRESS>Description
Continuing the effort to build on other platforms than Linux, https://github.com/opensearch-project/opensearch-build/issues/741.

Added platform to build and bundle manifests.
Expose platform in scripts that currently take architecture.
Don't alter any build paths, but get ready for fix collisions in #669.

Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #751 (e6f4037) into main (7de6526) will increase coverage by 0.03%.
The diff coverage is 97.67%.

@@            Coverage Diff             @@
##             main     #751      +/-   ##
==========================================
+ Coverage   91.17%   91.21%   +0.03%
==========================================
  Files          75       75
  Lines        1984     1992       +8
==========================================
+ Hits         1809     1817       +8
  Misses        175      175

Impacted Files
Coverage Δ

src/run_assemble.py
92.30% <ø> (ø)

src/test_workflow/integ_test/local_test_cluster.py
87.06% <87.50%> (ø)

src/assemble_workflow/bundle_recorder.py
100.00% <100.00%> (ø)

src/build_workflow/build_recorder.py
100.00% <100.00%> (ø)

src/manifests/build_manifest.py
100.00% <100.00%> (ø)

src/manifests/bundle_manifest.py
100.00% <100.00%> (ø)

src/run_integ_test.py
95.65% <100.00%> (ø)

src/test_workflow/dependency_installer.py
100.00% <100.00%> (ø)

src/test_workflow/perf_test/perf_test_cluster.py
100.00% <100.00%> (ø)

src/test_workflow/test_args.py
100.00% <100.00%> (ø)

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 7de6526...e6f4037. Read the comment docs.


Issue during installation

During installation, when i do pentestgpt-connection, i end up with this error.
#### Test connection for OpenAI api (GPT-4)
Traceback (most recent call last):
  File "/home/reed/venv/lib/python3.11/site-packages/pentestgpt/utils/APIs/chatgpt_api.py", line 81, in _chat_completion
    response = openai.ChatCompletion.create(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/reed/venv/lib/python3.11/site-packages/openai/api_resources/chat_completion.py", line 25, in create
    return super().create(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/reed/venv/lib/python3.11/site-packages/openai/api_resources/abstract/engine_api_resource.py", line 153, in create
    response, _, api_key = requestor.request(
                           ^^^^^^^^^^^^^^^^^^
  File "/home/reed/venv/lib/python3.11/site-packages/openai/api_requestor.py", line 298, in request
    resp, got_stream = self._interpret_response(result, stream)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/reed/venv/lib/python3.11/site-packages/openai/api_requestor.py", line 700, in _interpret_response
    self._interpret_response_line(
  File "/home/reed/venv/lib/python3.11/site-packages/openai/api_requestor.py", line 765, in _interpret_response_line
    raise self.handle_error_response(
openai.error.InvalidRequestError: The model `gpt-4` does not exist or you do not have access to it. Learn more: https://help.openai.com/en/articles/7102672-how-can-i-access-gpt-4.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/reed/venv/bin/pentestgpt-connection", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/home/reed/venv/lib/python3.11/site-packages/pentestgpt/test_connection.py", line 47, in main
    result, conversation_id = chatgpt.send_new_message("Hi how are you?")
                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/reed/venv/lib/python3.11/site-packages/pentestgpt/utils/llm_api.py", line 225, in send_new_message
    response = self._chat_completion(history)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/reed/venv/lib/python3.11/site-packages/pentestgpt/utils/APIs/chatgpt_api.py", line 119, in _chat_completion
    response = openai.ChatCompletion.create(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/reed/venv/lib/python3.11/site-packages/openai/api_resources/chat_completion.py", line 25, in create
    return super().create(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/reed/venv/lib/python3.11/site-packages/openai/api_resources/abstract/engine_api_resource.py", line 153, in create
    response, _, api_key = requestor.request(
                           ^^^^^^^^^^^^^^^^^^
  File "/home/reed/venv/lib/python3.11/site-packages/openai/api_requestor.py", line 298, in request
    resp, got_stream = self._interpret_response(result, stream)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/reed/venv/lib/python3.11/site-packages/openai/api_requestor.py", line 700, in _interpret_response
    self._interpret_response_line(
  File "/home/reed/venv/lib/python3.11/site-packages/openai/api_requestor.py", line 765, in _interpret_response_line
    raise self.handle_error_response(
openai.error.InvalidRequestError: The model `gpt-4` does not exist or you do not have access to it. Learn more: https://help.openai.com/en/articles/7102672-how-can-i-access-gpt-4.

Everything i've seen shows that this program worked with 3.5 API keys, why is it complaining that i don't have access to four? is there an option to only use CGPT3.5?

May you provide the complete input for running the tool? You can use gpt-3.5 only by specifying that in the flag.

I am having the same exact issue after installation. Whenever I try to test the connection I receive the same error message.

My issue was resolved. It turns out, even though you are using the GPT3.5API, you still have to enroll a payment method on the site. It does ultimately cost $5 (minimum tipup).  After supplying a payment method, the program works as it should.

Thank you for you answer. I setup a pyment method and added some credits, I created a brand new API key but I keep getting an error mesage that I exceeded my quota, but the openAI website shows no usage so far. I guess I am getting closer.

Are you setting the key as an environment variable using export
OPENAI_KEY=XXXXXX?
On Fri, Dec 1, 2023, 12:32 PM rubentimbal @.***> wrote:

Thank you for you answer. I setup a pyment method and added some credits,
I created a brand new API key but I keep getting an error mesage that I
exceeded my quota, but the openAI website shows no usage so far. I guess I
am getting closer.
—
Reply to this email directly, view it on GitHub
https://github.com/GreyDGL/PentestGPT/issues/178#issuecomment-1836509515,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BDYL4VC2EG5UPVGIDFD7RKTYHIICNAVCNFSM6AAAAAA73FDCAGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZWGUYDSNJRGU
.
You are receiving this because you authored the thread.Message ID:
@.***>

Yes, my error message is related to my account it seems. I exceeded my quota, which is false. I read in a forum that sometimes it could take up to 48 hours for the new payment method to appear. I will try again tomorrow. Thanks for your help. I will let you know if it works.


Shorthand?

[Enter feedback here]
This page states that
public override string ToString() => $"{fname} {lname}".Trim();
is a shorthand version of
public override string ToString()
{
   return $"{fname} {lname}".Trim();
}

but these are both the same length. The first form has removed the two characters '{' and '}' and added the two characters '=' and '>'. The newline characters are irrelevant - they could be removed from the second form as easily as in the first form.
Can we have a credible explanation of any benefits of the first form please? So far all I see is two ways of doing the same thing, which is a contravention of Occam's Razor and only serves to add confusion.

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

ID: a695fde2-da48-835f-423d-d34fb048d6ab
Version Independent ID: e8eab8da-72ba-991a-c011-a41d2ed9939d
Content: => operator - C# reference
Content Source: docs/csharp/language-reference/operators/lambda-operator.md
Product: dotnet-csharp
Technology: csharp-language-reference
GitHub Login: @BillWagner
Microsoft Alias: wiwagn

In my personal experience, I haven't noticed any major performance difference between the 2 methods mentioned. The "shorthand" version is using C# Expression-Bodied Members feature which was introduced with C# 6. The feature enables us to write expressions with one liners resulting in reduced boilerplate, clean and readable code.

Hi @MichaelBrooks-Informatyx
As already mentioned, the => can be used for an Expression bodied member. The two forms of methods are equivalent. The expression bodied member is shorter, because you only need to write the expression. You don't need to include the return keyword to make it a statement. The whitespace becomes significant when you have single expression methods that use pattern matching. The horizontal spacing does matter there.
All that said, there's no requirement to use expression bodied members. In docs, we use both forms. We don't make any recommendation preferring one over the other. As you say, they are equivalent.
I'll close this as an answered question.


doc: update README with support for Gnosis testnet

Motivation
Deploy and verify Seaport 1.5 and ConduitController on Gnosis testnet (Chiado).
https://twitter.com/z0age/status/1651960136389525507?s=20
Sloution

Codecov Report
Patch and project coverage have no change.

Comparison is base (8127ca3) 100.00% compared to head (ee5420b) 100.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##              main     #1202    +/-   ##
==========================================
  Coverage   100.00%   100.00%
==========================================
  Files           46        46
  Lines         2652      2414   -238
  Branches       396       354    -42
==========================================
- Hits          2652      2414   -238

Flag
Coverage Δ

foundry
?

production
100.00% <ø> (ø)

reference
100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
see 29 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Enable Tooltips for received one day view stacked bar graphs

Added tooltips for the received one day stacked bar graph. Look at this before I apply the tooltips to all the stacked bar graphs
Implementation: When one hovers on a bar graph I'll get the color of the bar and I'll use a function to look up the name of the operator that matches the color as defined in the variable operator_identity. I'll query the data for the given operator to output the number of messages on the tooltip.

Issue: having trouble accessing the relevant values of the initial dataset for a mousover tooltip
https://github.com/AfricasVoices/Operations
Reason: d is the Array[2] at this point with the values defining baseline / topline, d.data is the complete original data object but is missing the information over which stack of the series I'm currently hovering.
Solution:  Get the name of the element accessing the parent's data, and using that name to get the value
Dashboard/pull/182/commits/ba5229a175ffe228f529157a5b790d4e2ed98a13

Updated tooltip content by removing date info

Thanks @IsaackMwenda


fix 'lxc list container1'

Make it not crash if container1 doesn't exist, and show snapshots
as per the command-line-experiance spec.
Signed-off-by: Serge Hallyn<EMAIL_ADDRESS>

Thanks!


daemonset pkg: WithPodAffinity method added

@kononovn @klaskosk @trewest @cdvultur @achuzhoy PTAL

@kononovn @trewest @cdvultur @achuzhoy PTAL


Bonsai gives empty output file

Hi all,
This is Junyu. Anshuman and I have the Bonsai installed and it is running without any bugs popping up. Yet the problem is it does not export any metadata nor videos (neither streaming windows pop up as shown in the tutorial nor recordings to the root folder). Moreover, it created a folder at the root folder and 6 CSV files named by the serial number, yet each file remains empty. There is no video files created and the cmd prompt does not report anything.

Hi!,
Are the cameras acquiring frames? Are you triggering them?

This might be a dumb question but how do I know if the camera is acquiring frames?

Do we need to add some additional functions to the workflow? so far we just have the camera there as you provided us in main.bonsai and clicked start

While bonsai is running, double click Camera yellow node. IT should show you that the camera is streaming. If it is white, means the camera is not sending out data but it is connected (E.g. waiting for a trigger)

It is the same situation as you explained. It have a white window poped up

Sounds like the camera is not being triggered then

at spinview it has the trigger mode on, and not acquire any frames. May I know how to trigger them in Bonsai? I searched at the toolbox and it gives me 3 options: TriggeredBugger, BufferTrigger and WindowTrigger

I thought you had a script to trigger the camera via an arduino? Bonsai is not triggering the camera at all. If you don't want to trigger the camera, just set it to continuous mode.

Hi Bruno,
I have turned off the trigger mode and run the workflow. the window shows the image for like 5 seconds and popped up an error message (runtime error) that says pipe is broken.

What is the output of the bonsai console (black terminal window)? I suspect ffmpeg is raising an error.

The terminal is black. I believe ffmpeg is causing that problem too but not sure exactly how.

What happens if you call ffmpeg from the command line? Also what gpu are you using?

Hi Bruno,
Happy New Year! Sorry for the late reply. the GPU we are using is RTX4000. When you mentioned about calling ffmpeg, do you mean just calling the ffmpeg? or the one we sent you before with all the options. Here is the output from the terminal.
(base) PS C:\Users\as1296> ffmpeg
ffmpeg version 2023-12-18-git-be8a4f80b9-full_build-www.gyan.dev Copyright (c) 2000-2023 the FFmpeg developers
  built with gcc 12.2.0 (Rev10, Built by MSYS2 project)
  configuration: --enable-gpl --enable-version3 --enable-static --pkg-config=pkgconf --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libaribb24 --enable-libaribcaption --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libaom --enable-libjxl --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libharfbuzz --enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-dxva2 --enable-d3d11va --enable-libvpl --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libcodec2 --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
  libavutil      58. 34.100 / 58. 34.100
  libavcodec     60. 35.100 / 60. 35.100
  libavformat    60. 18.100 / 60. 18.100
  libavdevice    60.  4.100 / 60.  4.100
  libavfilter     9. 14.100 /  9. 14.100
  libswscale      7.  6.100 /  7.  6.100
  libswresample   4. 13.100 /  4. 13.100
  libpostproc    57.  4.100 / 57.  4.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

Use -h to get full help or, even better, run 'man ffmpeg'
(base) PS C:\Users\as1296>

Actually, I found the error message output from the Bonsai terminal. Hope this can help
ffmpeg version [2023-12-18-git-be8a4f80b9-full_build-www.gyan.dev](http://2023-12-18-git-be8a4f80b9-full_build-www.gyan.dev/) Copyright (c) 2000-2023 the FFmpeg developers
ffmpeg version [2023-12-18-git-be8a4f80b9-full_build-www.gyan.dev](http://2023-12-18-git-be8a4f80b9-full_build-www.gyan.dev/) Copyright (c) 2000-2023 the FFmpeg developers
  built with gcc 12.2.0 (Rev10, Built by MSYS2 project)
  configuration: --enable-gpl --enable-version3 --enable-static --pkg-config=pkgconf --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libaribb24 --enable-libaribcaption --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libaom --enable-libjxl --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libharfbuzz --enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-dxva2 --enable-d3d11va --enable-libvpl --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libcodec2 --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
  libavutil      58. 34.100 / 58. 34.100
  libavcodec     60. 35.100 / 60. 35.100
  libavformat    60. 18.100 / 60. 18.100
  libavdevice    60.  4.100 / 60.  4.100
  libavfilter     9. 14.100 /  9. 14.100
  libswscale      7.  6.100 /  7.  6.100
  libswresample   4. 13.100 /  4. 13.100
  libpostproc    57.  4.100 / 57.  4.100
  built with gcc 12.2.0 (Rev10, Built by MSYS2 project)
  configuration: --enable-gpl --enable-version3 --enable-static --pkg-config=pkgconf --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libaribb24 --enable-libaribcaption --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libaom --enable-libjxl --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libharfbuzz --enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-dxva2 --enable-d3d11va --enable-libvpl --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libcodec2 --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
  libavutil      58. 34.100 / 58. 34.100
  libavcodec     60. 35.100 / 60. 35.100
  libavformat    60. 18.100 / 60. 18.100
  libavdevice    60.  4.100 / 60.  4.100
  libavfilter     9. 14.100 /  9. 14.100
  libswscale      7.  6.100 /  7.  6.100
  libswresample   4. 13.100 /  4. 13.100
  libpostproc    57.  4.100 / 57.  4.100
-vsync is deprecated. Use -fps_mode
Passing a number to -vsync is deprecated, use a string argument as described in the manual.
Input #0, rawvideo, from '\\.\pipe\21090111':
  Duration: N/A, start: 0.000000, bitrate: 2972712 kb/s
  Stream #0:0: Video: rawvideo (BGR[24] / 0x18524742), bgr24, 2304x1792, 2972712 kb/s, 30 tbr, 30 tbn
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (h264_nvenc))
Press [q] to stop, [?] for help
[h264_nvenc @ 0000021e3cca4380] Driver does not support the required nvenc API version. Required: 12.1 Found: 11.1
[h264_nvenc @ 0000021e3cca4380] The minimum required Nvidia driver for nvenc is (unknown) or newer
[vost#0:0/h264_nvenc @ 0000021e3cca3e80] Error while opening encoder - maybe incorrect parameters such as bit_rate, rate, width or height.
[vf#0:0 @ 0000021e3ccbf7c0] Error sending frames to consumers: Function not implemented
[vf#0:0 @ 0000021e3ccbf7c0] Task finished with error code: -40 (Function not implemented)
[vf#0:0 @ 0000021e3ccbf7c0] Terminating thread with return code -40 (Function not implemented)
[vost#0:0/h264_nvenc @ 0000021e3cca3e80] Could not open encoder before EOF
[vost#0:0/h264_nvenc @ 0000021e3cca3e80] Task finished with error code: -22 (Invalid argument)
[vost#0:0/h264_nvenc @ 0000021e3cca3e80] Terminating thread with return code -22 (Invalid argument)
[out#0/mp4 @ 0000021e3cc90a80] Nothing was written into output file, because at least one of its streams received no packets.
frame=    0 fps=0.0 q=0.0 Lsize=       0kB time=N/A bitrate=N/A speed=N/A
Conversion failed!
-vsync is deprecated. Use -fps_mode
Passing a number to -vsync is deprecated, use a string argument as described in the manual.
Input #0, rawvideo, from '\\.\pipe\21090109':
  Duration: N/A, start: 0.000000, bitrate: 2972712 kb/s
  Stream #0:0: Video: rawvideo (BGR[24] / 0x18524742), bgr24, 2304x1792, 2972712 kb/s, 30 tbr, 30 tbn
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (h264_nvenc))
Press [q] to stop, [?] for help
[h264_nvenc @ 000001e1844c4380] Driver does not support the required nvenc API version. Required: 12.1 Found: 11.1
[h264_nvenc @ 000001e1844c4380] The minimum required Nvidia driver for nvenc is (unknown) or newer
[vost#0:0/h264_nvenc @ 000001e1844c3e80] Error while opening encoder - maybe incorrect parameters such as bit_rate, rate, width or height.
[vf#0:0 @ 000001e1844df7c0] Error sending frames to consumers: Function not implemented
[vf#0:0 @ 000001e1844df7c0] Task finished with error code: -40 (Function not implemented)
[vf#0:0 @ 000001e1844df7c0] Terminating thread with return code -40 (Function not implemented)
[vost#0:0/h264_nvenc @ 000001e1844c3e80] Could not open encoder before EOF
[vost#0:0/h264_nvenc @ 000001e1844c3e80] Task finished with error code: -22 (Invalid argument)
[vost#0:0/h264_nvenc @ 000001e1844c3e80] Terminating thread with return code -22 (Invalid argument)
[out#0/mp4 @ 000001e1844b0a80] Nothing was written into output file, because at least one of its streams received no packets.
frame=    0 fps=0.0 q=0.0 Lsize=       0kB time=N/A bitrate=N/A speed=N/A
Conversion failed!

The GPU version
`NVIDIA System Information report created on: 01/03/2024 14:28:16
System name: DESKTOP-AVS3ITU
[Display]
Operating System:	Windows 10 Education, 64-bit
DirectX version:	12.0
GPU processor:		Quadro RTX 4000
Driver version:		472.84
Driver Type:		Standard
Direct3D feature level:	12_1
CUDA Cores:		2304
Core clock:		1545 MHz
Memory data rate:	13.00 Gbps
Memory interface:	256-bit
Memory bandwidth:	416.06 GB/s
Total available graphics memory:	139101 MB
Dedicated video memory:	8192 MB GDDR6
System video memory:	0 MB
Shared system memory:	130909 MB
Video BIOS version:	<IP_ADDRESS>.01
IRQ:			Not used
Bus:			PCI Express x16 Gen3
Device Id:		10DE 1EB1 12A010DE
Part Number:		G160 0500
[Components]
nvui.dll		<IP_ADDRESS>84		NVIDIA User Experience Driver Component
nvxdplcy.dll		<IP_ADDRESS>84		NVIDIA User Experience Driver Component
nvxdbat.dll		<IP_ADDRESS>84		NVIDIA User Experience Driver Component
nvxdapix.dll		<IP_ADDRESS>84		NVIDIA User Experience Driver Component
nvCplUIR.dll		8.1.940.0		NVIDIA Control Panel
nvCplUI.exe		8.1.940.0		NVIDIA Control Panel
nvWSSR.dll		<IP_ADDRESS>84		NVIDIA Workstation Server
nvWSS.dll		<IP_ADDRESS>84		NVIDIA Workstation Server
nvViTvSR.dll		<IP_ADDRESS>84		NVIDIA Video Server
nvViTvS.dll		<IP_ADDRESS>84		NVIDIA Video Server
nvLicensingS.dll		<IP_ADDRESS>84		NVIDIA Licensing Server
nvDispSR.dll		<IP_ADDRESS>84		NVIDIA Display Server
nvDispS.dll		<IP_ADDRESS>84		NVIDIA Display Server
nvDevToolSR.dll		<IP_ADDRESS>84		NVIDIA Licensing Server
nvDevToolS.dll		<IP_ADDRESS>84		NVIDIA 3D Settings Server
NVCUDA64.DLL		<IP_ADDRESS>84		NVIDIA CUDA 11.4.176 driver
nvGameSR.dll		<IP_ADDRESS>84		NVIDIA 3D Settings Server
nvGameS.dll		<IP_ADDRESS>84		NVIDIA 3D Settings Server
The CUDA version:
I don't think our computer has installed CUDA but I can have it installed.
and the ffmpeg version:(base) PS C:\Users\as1296> ffmpeg -version
ffmpeg version 2023-12-18-git-be8a4f80b9-full_build-www.gyan.dev Copyright (c) 2000-2023 the FFmpeg developers
built with gcc 12.2.0 (Rev10, Built by MSYS2 project)
configuration: --enable-gpl --enable-version3 --enable-static --pkg-config=pkgconf --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libaribb24 --enable-libaribcaption --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libaom --enable-libjxl --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libharfbuzz --enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-dxva2 --enable-d3d11va --enable-libvpl --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libcodec2 --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
libavutil      58. 34.100 / 58. 34.100
libavcodec     60. 35.100 / 60. 35.100
libavformat    60. 18.100 / 60. 18.100
libavdevice    60.  4.100 / 60.  4.100
libavfilter     9. 14.100 /  9. 14.100
libswscale      7.  6.100 /  7.  6.100
libswresample   4. 13.100 /  4. 13.100
libpostproc    57.  4.100 / 57.  4.100
`

Can you update the drivers of the GPU to the latest version and try again?

Hi Bruno,
I have uploaded the GPU driver to 537.99 and the bug is resolved! I have run a test streaming but found that there is a lagging of the camera image and also a little dis-synchronized. I have attached a video showing that. I have double-checked the metadata and videos. The video remains black which seems to image and been stored into it. The metadata shows the cameras are not synchronized perfectly.
https://github.com/bruno-f-cruz/hexa_flir_demo/assets/90344626/b707dd74-a035-4949-9041-3d96710e5a21

Synchronization is never guaranteed in software, you should take care of it using a common trigger to all cameras! How were you doing it before?
Can you record video for 5minutes and keep track of the used RAM? I am wondering if the gpu is being able to encode all videos in real time. Can you check the ffmpeg status in the bonsai command window?

I have the bonsai terminal output copied down here. The size of the output video file varies a lot, and all of them remain black when I try to open them. this computer has 256g RAM, which should be enough?
ffmpeg output.txt

I want to see if the memory is accumulating during runtime not necessarily whether you have enough or not. Are all cameras the same? Do they all have the same settings? Is a common trigger being sent to all of them at the same time? I am not sure why would one expect the same frame in the two cameras to have the same timestamp. They are different cameras running on two distinct clocks. I might be missing something sorry...

Hi Bruno,
Sorry for the confusion. I am not a camera expert and still learning it. Appoligize for the confusion.
All the cameras are the same and have the same setting (except for exposure time). They are triggered from the common port on the Audrino Board so they are expected to be triggered at the same time.
I might be wrong with the timestamp but I observed from the streaming that the laser point from one camera disappears earlier than the other ones. I am trying to mark that they are not synchronized perfectly. It should be easier to solve when you have access to our computer than through text.

Do all files have the same number of frames? Do you see any dropped frames? Are you ensuring that the exposure setting of all cameras is compatible with the trigger frequency?


chore(deps): update to Angular v16 and Angular Material v16

Update to v16 of Angular and Angular Material.
Closes #77.
Closes #80,
Closes #79.

:tada: This PR is included in version 1.1.2 :tada:
The release is available on:

GitHub release
v1.1.2

Your semantic-release bot :package::rocket:


Add onRendered event

Hi,
Thank you for this project!
I have added an onRendered event to the tree view. My problem was that I have assigned some event listener to the tree nodes. These got removed whenever the tree was rendered, for example after clicking on a node.

+1

+1

This has been addressed in preparation for v2.0 release.  Please check out #228 Lifecycle Events for implementation details.
If you want to test pre-release, check out develop branch and be sure to review the README for changes.


twinbuilder.py add_q3d_dynamic_component() local variable 'list_A' referenced before assignment at line 470, Q3D dynamic link

Before submitting the issue

[X] I have searched among the existing issues
[X] I am using a Python virtual environment

Description of the bug
When attempting to create a dynamic link to a Q3D model in Simplorer, a name error occurs.  "local variable 'list_A' referenced before assignment" occurs and line 470 is identified.
Steps To Reproduce
q3d = Q3d(Q3dProjectPath,new_desktop_session=True)
tb = TwinBuilder(new_desktop_session=False)
tb.add_q3d_dynamic_component(q3d.project_name, q3d.design_name, SetupName, SweepName, coupling_matrix_name="Original", state_space_dynamic_link_type="RLGC", component_name="Q3D_RLGC")
Which Operating System are you using?
Windows
Which Python version are you using?
3.10
Installed packages
python -m pip freeze
ansys-pythonnet==3.1.0rc3
attrs==23.1.0
certifi==2023.11.17
cffi==1.16.0
charset-normalizer==3.3.2
click==8.1.7
click-plugins==1.1.1
cligj==0.7.2
clr-loader==0.2.6
colorama==0.4.6
contourpy==1.2.0
cycler==0.12.1
defusedxml==0.7.1
et-xmlfile==1.1.0
exceptiongroup==1.2.0
fiona==1.9.5
fonttools==4.46.0
fpdf2==2.7.7
geopandas==0.14.1
idna==3.6
imageio==2.33.1
iniconfig==2.0.0
jsonschema==4.21.1
jsonschema-specifications==2023.12.1
kiwisolver==1.4.5
matplotlib==3.8.0
networkx==3.2.1
numpy==1.26.0
openpyxl==3.1.2
osmnx==1.8.0
packaging==23.2
pandas==2.1.1
Pillow==10.1.0
platformdirs==4.1.0
pluggy==1.3.0
plumbum==1.8.2
pooch==1.8.0
psutil==5.9.6
pyaedt==0.7.10
pycparser==2.21
pyparsing==3.1.1
pyproj==3.6.1
pytest==7.4.3
python-dateutil==2.8.2
pytz==2023.3.post1
pyvista==0.42.2
pywin32==306
referencing==0.32.1
requests==2.31.0
rpds-py==0.17.1
rpyc==5.3.1
scikit-rf==0.30.0
scipy==1.11.4
scooby==0.9.2
shapely==2.0.2
six==1.16.0
SRTM.py==0.3.7
tomli==2.0.1
tzdata==2023.3
urllib3==2.1.0
utm==0.7.0
vtk==9.2.6

A Q3D net does not necessarily have a sink or source assigned.  If it doesn't the Q3D net loop should move on to the next net.

Hi @cmesibov, thanks for reporting this.
Would you be able to provide me an example to reproduce this issue? It would help me to better understand.
Thanks very much!
Giulia

Hi Giulia,
In the Q3D case, the design may not have sinks or sources on each net.  So when you loop thru the nets (starting at line 461) the app.net_sources(net) and app.net_sinks(net) may return nothing.

If either one of these returns an empty list the loop should continue to the next net.

If you like you can contact me at Ansys.
Chris Mesibov

Hi @cmesibov!
Thanks for reporting this!
I just created a PR that might fixes the issue: #4135.
Could you please test it and let me know?
I encountered a strange behavior while creating the component when the source design is a Q3D but this is due to the native IronPython method CreateComponent().
Could you please give me a feedback?
Thanks! :)
Giulia


Possible to add ui.update_input_file??

Is it possible to add a method that allows the user to update the path of the input file that was originally set with using ui.input_file? Or possibly allow the user to remove the uploaded file through such a method?

TIL you can programmatically set the file value (assuming you know the full contents) 🤯
I thought it was a security risk. Maybe it was in the older DOM days.
Related: https://dev.to/code_rabbi/programmatically-setting-file-inputs-in-javascript-2p7i

POC of working example: shinylive link
https://github.com/user-attachments/assets/36c0171a-0272-4bcc-8238-5dfd510fc2db

Adding the milestone so that the issue receives more eyes

Working with @schloerke, we came up with this version, where the file content is set purely on the server side (so that it doesn't need to be sent to the client browser).
Shinylive link
from shiny import App, render, ui, reactive
import os

app_ui = ui.page_fluid(
    ui.h2("File Upload and Code Display"),
    ui.input_file("file", "Choose a file to upload"),
    ui.input_action_button("create_upload", "Create and Upload Hello World"),
    ui.output_ui("file_contents"),
    ui.tags.script(
        """
    // The filename should come from the server, so this may need to be wrapped in
    // a custom message handler.
    $("#create_upload").click((e) => {
        // Get a reference to our file input
        const fileInputImpl = document.querySelector('#file');
        const fileInputPlaceholder = $("div.input-group:has(> label > span > input#file) > input").get(0)

        // Create a new File object. The content is filled in on the server.
        const myFile = new File([''], 'myFile.txt', {
            type: 'shiny/text/plain',
            lastModified: new Date(),
        });

        // Now let's create a DataTransfer to get a FileList
        const dataTransfer = new DataTransfer();
        dataTransfer.items.add(myFile);

        // Set files
        fileInputImpl.files = dataTransfer.files;

        // Submit file change even!
        fileInputImpl.dispatchEvent(new Event('change', { bubbles: true }));
    })
    """,
        type="text/javascript",
    ),
)

def server(input, output, session):
    @render.ui
    def file_contents():
        file = input.file()
        if file is not None and len(file) > 0:

            # =====================================================
            # Inject the content on disk
            # =====================================================
            if file[0]["type"].startswith("shiny/"):
                example_file_content = "Hello, world!"

                with open(file[0]["datapath"], "w") as f:
                    f.write(example_file_content)
                # Find the file size and assign it here
                file[0]["size"] = os.path.getsize(file[0]["datapath"])
                file[0]["type"] = file[0]["type"].replace("shiny/", "")
            # =====================================================

            print(file[0])

            content = file[0]["datapath"]
            with open(content, "r") as f:
                file_content = f.read()
            return ui.div(
                ui.h3(f"Contents of {file[0]['name']}:"), ui.pre(file_content)
            )
        return ui.p("No file uploaded yet.")

app = App(app_ui, server)

One modification it should have is to send the filename from the server to the client. This would require a custom message handler.

This should also be able to reset file with a "" file value
This should also be able use the session file upload manager. Essentially we are uploading the contents already on the server and can use that for the per session cache


Update email-activity-feed.md

fixed minor typos for grammar and consistency with UI text

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

Hello @JAmerkhanov,Thanks again for the PR! It's HACKTOBERFEST! We want to show our appreciation by sending                                              you some special Hacktoberfest swag. If you have not already, could you please fill out                                              this form so we can send it to you? Thanks!                                             Team SendGrid DX

Hello @JAmerkhanov,Thanks again for the PR!                                         We noticed that you have earned 1 out of the 5 points needed to receive glorious SendGrid Hacktoberfest swag.                                         Please take a moment to checkout this link to find more issues to get you past the required threshold.                                         Also, please be sure that you have officially registered here.                                         Thank you and Happy Hacktobering!                                         Team SendGrid DX

Hello @JAmerkhanov,Thanks again for the PR!                                         You have earned 1 out of the 5 points needed to receive glorious SendGrid Hacktoberfest swag.                                         Please take a moment to checkout this link to find more issues to get you past the required threshold or to simply continue the celebration.                                         Also, please be sure you have officially registered with us here by November 1, 2018 to qualify.                                         If you have any questions you can email us at<EMAIL_ADDRESS>                                        Thank you and Happy Hacktobering!                                         Team SendGrid


aws don't like underscores in names

It returns AccessDeniedException, though user has all required permissions.
botocore.exceptions.ClientError: An error occurred (AccessDeniedException) when calling the UpdateFunctionCode operation: User: arn:aws:iam::883014317556:user/dmitry.smal.zappa is not authorized to perform: lambda:UpdateFunctionCode on resource: arn:aws:lambda:us-east-1:883014317556:function:app_portal-dev

Coverage remained the same at 56.818% when pulling ebc8467da2b26a93773dd02de84f86045f0b514f on mialinx:master into 79fb936eb963ded2f331741c6d8db02357409a3c on Miserlou:master.

Ah, good catch. I'm going to change this to use Django's slugify, merging first though.